/* Tutor cabinets continue the established paper, olive and clay palette. */
:root{color-scheme:only light}
.tutor-public-role-host{max-width:1600px;margin-inline:auto;padding:8px 22px;background:var(--paper)}
.tutor-role-host .demo-role-bar{margin:0;padding:0;border:0;background:none;justify-content:flex-end}
.tutor-role-host .demo-role-note{display:none}.tutor-role-host .demo-role-trigger{font-size:12px;min-height:40px;background:var(--paper);border-color:var(--line);color:var(--clay)}
.tutor-portal{max-width:1600px;margin:auto;background:var(--paper);min-height:100dvh;font-family:var(--sans)}
.portal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 30px;border-bottom:1px solid var(--line)}
.portal-brand{display:flex;align-items:center;gap:12px;flex:none}.portal-brand img{object-fit:contain}.portal-brand bdi{display:block;font:29px/1 var(--serif)}.portal-brand small{display:block;color:var(--muted);font-size:10px;margin-top:6px;letter-spacing:1.4px}
.portal-header-right,.portal-languages{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.portal-languages{gap:8px}.portal-languages button{border:0;background:none;min-height:36px;min-width:32px;padding:5px;font-size:12px}.portal-languages button[aria-pressed=true]{color:var(--clay);border-bottom:1px solid var(--clay)}
.portal-layout{display:grid;grid-template-columns:230px minmax(0,1fr)}.portal-sidebar{padding:25px 18px;background:#f2ece2;border-inline-end:1px solid var(--line)}.portal-main{min-width:0;padding:30px 36px 50px}.portal-identity{display:flex;gap:10px;align-items:center;margin-bottom:26px;font-size:13px}.portal-identity div{min-width:0}.portal-identity strong,.portal-identity span:not(.portal-avatar){display:block;overflow-wrap:anywhere}.portal-identity div>span{font-size:11px;color:var(--muted);margin-top:5px}.portal-avatar{display:grid;place-items:center;background:var(--olive);color:#536044;border-radius:50%;width:42px;height:42px;flex:none;font:24px/1 var(--serif)}
.portal-navigation summary{display:none}.portal-navigation nav{display:grid;gap:4px}.portal-navigation nav a{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:8px;min-height:44px;font-size:13px}.portal-navigation nav a:hover{background:#e8ded0}.portal-navigation nav a[aria-current=page]{background:#e1d3c2;color:#723923;font-weight:600}.portal-nav-icon{font-size:18px;width:23px;text-align:center;color:var(--clay)}.portal-sidebar-note{color:var(--muted);font-size:11px;line-height:1.6;margin-top:28px}
.portal-toolbar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:14px}.portal-toolbar h1{font-size:37px;line-height:1.2;overflow-wrap:anywhere}.portal-eyebrow,.portal-kicker{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--clay);line-height:1.6}.portal-eyebrow{margin-bottom:5px}.tutor-demo-notice{font-size:11px;line-height:1.6;color:var(--muted);padding-bottom:15px;border-bottom:1px solid var(--line)}.portal-demo-date{font-size:11px;color:var(--muted);margin-top:14px;margin-bottom:16px}
#portal-content{display:grid;gap:22px;margin-top:24px}.portal-grid,.portal-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portal-student-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-card{min-width:0;padding:24px;background:#fffaf5;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;gap:14px}.portal-card h2{font-size:27px;line-height:1.2}.portal-card h3{font-size:23px;line-height:1.3;overflow-wrap:anywhere}.portal-card p{font-size:13px;line-height:1.65}.portal-card-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}.portal-feature{background:linear-gradient(130deg,#eee8d9,#fbf4e9);position:relative}.portal-feature .button{align-self:flex-start;margin-top:9px}.portal-soft{background:#efeddf}.portal-welcome{padding:22px 28px;background:#ecebdc;border-radius:13px;position:relative;overflow:hidden;padding-inline-end:110px}.portal-welcome h2{font:37px/1.2 var(--serif);margin:5px 0 12px}.portal-welcome p{font-size:13px;line-height:1.6}.portal-welcome img{position:absolute;inset-inline-end:22px;top:22px;object-fit:contain}
.portal-muted{color:var(--muted);font-size:12px;line-height:1.6}.portal-date{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:12px;line-height:1.6}.portal-date time{color:var(--ink);font-weight:600}.portal-date bdi{margin-inline-start:7px}.portal-badge{font:11px/1.4 var(--sans);border-radius:20px;padding:5px 10px;background:#ebe1d2;color:#665443;white-space:nowrap}.status-planned,.status-new{background:#f1e0cb;color:#82532f}.status-completed,.status-reviewed,.status-visible,.status-active{background:#e1e8d7;color:#4c633b}.status-cancelled,.status-hidden{background:#efdfd9;color:#855d50}.status-done{background:#dce8e7;color:#406765}.status-in_progress{background:#eee5cd;color:#7b652f}
.portal-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portal-four{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-stat{padding:17px 16px;border:1px solid var(--line);border-radius:10px;background:#fffaf5;min-width:0}.portal-stat strong{display:block;font:31px/1.1 var(--serif);margin-bottom:8px}.portal-stat span{display:block;color:var(--muted);font-size:11px;line-height:1.5}
.portal-summary{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-bottom:1px solid #eaded0;font-size:13px;line-height:1.6}.portal-summary>span{color:var(--muted);font-size:11px}.portal-summary>strong{font-weight:500;overflow-wrap:anywhere}.portal-text-link,.portal-text-button{color:var(--clay);text-decoration:none;font:13px/1.5 var(--sans);padding:8px 0;display:inline-flex;gap:8px;align-items:center;min-height:38px;background:none;border:0;text-align:start;align-self:flex-start;overflow-wrap:anywhere}.portal-text-link:hover,.portal-text-button:hover{text-decoration:underline}.portal-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:9px}.portal-action-link{display:inline-flex;padding:12px 15px;border:1px solid #cabaa6;border-radius:8px;background:#fcf7ee;color:#744a32;font:12px/1.5 var(--sans);min-height:44px;align-items:center;text-align:start}
.portal-progress{display:grid;gap:16px}.portal-progress progress{width:100%;height:10px;border:0;border-radius:10px;overflow:hidden;background:#e8ddce;accent-color:#7b8859}.portal-progress progress::-webkit-progress-bar{background:#e8ddce}.portal-progress progress::-webkit-progress-value{background:#7b8859;border-radius:10px}.portal-topic-list{display:grid;gap:9px;font-size:13px;line-height:1.6}.portal-progress-card{max-width:820px}.portal-section-title{margin:12px 0 0;font-size:25px}.portal-feedback{background:#f1ecdf;border-radius:8px;padding:13px}.portal-feedback>span{font-size:11px;color:var(--muted)}.portal-feedback p{margin-top:6px}.portal-internal{background:#f4e9df;border-inline-start:2px solid #b78d6d;padding:8px 12px;color:var(--muted);font-size:11px!important}.portal-empty{padding:25px;color:var(--muted)}
.portal-field{display:flex;flex-direction:column;gap:8px;margin-bottom:15px;min-width:0;font-size:12px;line-height:1.5}.portal-field>span{font-weight:500;color:#5c493c}.portal-field input,.portal-field select,.portal-field textarea,.portal-inline-field select{width:100%;min-width:0;font:13px/1.5 var(--sans);border:1px solid #cdbca8;border-radius:7px;padding:10px 11px;min-height:44px;background:#fffdf8;color:var(--ink);text-align:start}.portal-field input[readonly]{color:var(--muted);background:#f1ece3}.portal-field textarea{resize:vertical}.portal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.portal-form-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;grid-column:1/-1}.portal-form-error{color:#a14230;font-size:12px}.portal-inline-field{display:flex;align-items:center;gap:15px;justify-content:space-between;font-size:12px}.portal-inline-field select{max-width:180px}.portal-checkbox{display:flex;align-items:center;gap:8px;min-height:40px}.portal-checkbox input{width:18px;min-height:18px;accent-color:var(--clay)}.portal-field fieldset,fieldset.portal-field,.portal-content-form fieldset{border:1px solid var(--line);padding:15px;border-radius:8px}.portal-content-form{display:grid;gap:15px}.portal-content-form>h2{margin-top:15px}.portal-content-form fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.portal-content-form legend{font-size:12px;color:var(--muted);padding:0 5px}.portal-add{justify-self:start;margin-bottom:2px}
.portal-student-heading{display:flex;flex-direction:row;gap:20px;align-items:center}.portal-student-heading .portal-avatar{width:65px;height:65px;font-size:34px}.portal-student-heading p{margin-top:7px}.portal-review{font:20px/1.65 var(--serif)}.portal-footer-note{color:var(--muted);font-size:11px;line-height:1.6;margin-top:30px}.portal-toast{font-size:12px;color:#52653e;margin-top:12px}
.portal-dialog{width:min(680px,calc(100vw - 26px));max-height:calc(100dvh - 32px);overflow-y:auto;margin:auto;padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:15px;color:var(--ink)}.portal-dialog::backdrop{background:#28201577;backdrop-filter:blur(3px)}.portal-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px}.portal-close{width:36px;height:36px;border:0;border-radius:50%;background:var(--cream);color:var(--ink);font-size:25px}.portal-material-text{font:16px/1.9 var(--sans);white-space:pre-wrap;margin:18px 0;overflow-wrap:anywhere}.portal-dialog .portal-form-grid{margin-bottom:18px}
.tutor-entry{display:grid;grid-template-columns:1fr 1fr;gap:0;max-width:1450px;min-height:100dvh;margin:auto;background:var(--paper)}.entry-copy{padding:70px 65px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:24px}.entry-copy h1{font:47px/1.2 var(--serif)}.entry-copy p{line-height:1.7;font-size:14px}.entry-copy .portal-eyebrow{color:var(--clay);letter-spacing:2px;margin-top:40px}.entry-photo{height:100%;min-height:100dvh;object-fit:cover;object-position:53% center;width:100%}.entry-copy .tutor-demo-notice{margin-top:25px;font-size:11px}
@media(max-width:1200px){.portal-student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-main{padding:25px}.portal-header-right{gap:12px}.portal-four{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-copy{padding:40px}}
@media(max-width:899px){.portal-layout{display:block}.portal-sidebar{border-inline-end:0;border-bottom:1px solid var(--line);padding:14px 20px}.portal-identity{margin-bottom:12px}.portal-sidebar-note{display:none}.portal-navigation summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;min-height:44px;color:var(--clay);font-size:13px}.portal-navigation nav{margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-main{padding:22px}.portal-header{padding:16px 20px;gap:15px;align-items:flex-start}.portal-header-right{justify-content:flex-end;gap:6px 12px}.portal-brand bdi{font-size:25px}.portal-brand img{width:27px;height:40px}.portal-brand small{font-size:9px;letter-spacing:0}.portal-header-right>.portal-text-link{display:none}.portal-toolbar h1{font-size:32px}.portal-toolbar{gap:10px;flex-wrap:wrap}.portal-role-slot{margin-inline-start:auto}.portal-welcome{padding-inline-end:75px}.portal-welcome img{width:45px;inset-inline-end:15px}.portal-welcome h2{font-size:31px}}
@media(max-width:600px){.portal-grid,.portal-home-grid,.portal-student-grid{grid-template-columns:minmax(0,1fr)}.portal-card{padding:20px}.portal-main{padding:19px 16px 30px}.portal-card h2{font-size:26px}.portal-card h3{font-size:22px}.portal-form-grid,.portal-content-form fieldset{grid-template-columns:minmax(0,1fr)}.portal-dialog{padding:20px}.portal-card-heading .portal-badge{font-size:10px}.portal-identity{font-size:12px}.portal-navigation nav a{font-size:12px;padding:9px 10px}.portal-student-heading{align-items:flex-start}.portal-student-heading .portal-avatar{width:46px;height:46px;font-size:27px}.portal-header-right{max-width:150px}.portal-header-right .portal-text-button{font-size:11px;min-height:28px}.portal-languages button{min-height:32px}.tutor-entry{display:block}.entry-copy{padding:40px 25px;min-height:100dvh}.entry-photo{display:none}.entry-copy h1{font-size:38px}.portal-form-actions .button{width:100%}.tutor-public-role-host{padding:7px 15px}.portal-welcome p{font-size:12px}.portal-inline-field{align-items:flex-start;flex-direction:column;gap:7px}.portal-inline-field select{max-width:100%}}
