/* Portfolio Development — connected schools visual refresh. No external assets. */
:root{--forest:#123d32;--leaf:#248866;--mint:#dff3e8;--navy:#172c3e;--text:#213c39;--soft:#6e8580;--line:#e2eae6;--paper:#f4f7f5;--shadow:0 8px 30px #123d3207}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}svg{width:22px;height:22px;flex-shrink:0}.button{border-radius:10px;font-weight:600;transition:background .18s,transform .18s,box-shadow .18s}.button:hover{transform:translateY(-1px);box-shadow:0 5px 14px #143d3210}.button.primary{background:var(--forest);border-color:var(--forest);color:#fff}.button.primary:hover{background:#20644e}.card{border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow)}input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid #d9e4de;border-radius:9px;min-height:44px;background:#fcfdfc;color:var(--text);padding:11px 13px}input:focus,select:focus{outline:2px solid #78bea0;outline-offset:2px}label{color:#4c665e;font-weight:600}p{color:#657c73;line-height:1.65}.notice{background:#eaf5ed;color:#275b42;border:1px solid #c9e3cf;border-radius:12px;padding:18px}.eyebrow{color:#6c8879;font-weight:700;letter-spacing:2px;font-size:10px}summary{cursor:pointer;font-weight:650}.platform-shell{max-width:none;min-height:100vh}.platform-shell .mother-sidebar{background:var(--forest);width:246px;position:fixed;inset:0 auto 0 0;padding:34px 24px;color:#eaf5ef;display:flex;flex-direction:column;border-right:0}.mother-brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;font-weight:750;letter-spacing:2px;font-size:15px}.mother-brand small{display:block;font-size:9px;letter-spacing:3.2px;color:#a5c7b5;margin-top:5px}.brand-symbol{width:42px;height:47px;border-radius:13px;background:#ffffff12;display:grid;place-items:center;color:#b7dfc9}.brand-symbol svg{width:26px;height:26px}.nav-caption{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#8cac9c;margin-top:52px}.mother-sidebar nav{margin-top:16px;display:flex;flex-direction:column;gap:8px}.mother-sidebar nav a,.mother-sidebar nav button{display:flex;gap:13px;align-items:center;color:#bad0c4;background:none;border:0;border-radius:9px;padding:13px 12px;text-decoration:none;font-size:12px;font-weight:600;cursor:pointer;text-align:left;width:100%}.mother-sidebar nav .active,.mother-sidebar nav a:hover,.mother-sidebar nav button:hover{background:#ffffff10;color:white}.mother-sidebar nav svg{width:18px;height:18px}.mother-identity{display:flex;gap:10px;align-items:center;margin-top:auto;border-top:1px solid #ffffff16;padding-top:25px}.identity-circle{border:1px solid #739b85;background:#305d49;color:#d9eddf;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-size:13px}.mother-identity strong{font-size:12px}.mother-identity small{display:block;color:#a4c2b0;font-size:10px;margin-top:4px}.sidebar-signout{border:0;background:none;color:#c2d8cc;padding:18px 0 0;font-size:11px;cursor:pointer}.platform-main{margin-left:246px}.platform-shell .platform-topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#ffffffc9;border-bottom:1px solid var(--line);font-size:11px;color:#8ba094}.platform-topbar b{font-weight:400;margin:0 12px;color:#b7c6bb}.top-role{display:flex;align-items:center;gap:7px;color:#5b7d67}.top-role svg{width:15px;height:15px}.platform-main main{padding:34px 42px;max-width:1510px;margin:auto}.platform-hero{background:var(--forest);color:#fff;position:relative;overflow:hidden;border-radius:22px;min-height:290px;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;padding:37px 42px;margin-bottom:27px;background-image:radial-gradient(ellipse at 100% 100%,#417b4e88,transparent 65%)}.hero-eyebrow{font-size:9px;letter-spacing:2.2px;font-weight:700;color:#aacdb3}.platform-hero h1{color:#fff;font-size:43px;font-weight:550;line-height:1.12;margin:16px 0;letter-spacing:-1.6px}.platform-hero p{font-size:12px;color:#b8d2c2;max-width:430px;margin-bottom:23px}.hero-add{display:inline-flex;align-items:center;gap:8px;background:#e7f1cf;color:#294b35;border:0;font-size:11px;padding:12px 17px}.hero-add svg{width:15px;height:15px}.hero-visual{height:240px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #bad5b61a;border-radius:50%;width:230px;height:230px}.orbit-two{width:176px;height:176px}.hero-centre{width:130px;height:130px;border-radius:30px;border:1px solid #d1e8c52b;background:linear-gradient(135deg,#ffffff16,#ffffff05);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 12px 40px #061d2720}.hero-centre svg{width:29px;height:29px;color:#d6e7ae}.hero-centre strong{font-size:30px;color:#fff;margin:7px 0}.hero-centre span{font-size:6px;letter-spacing:1.4px;color:#bad2be}.hero-node{position:absolute;width:41px;height:41px;border:1px solid #e0eacb40;border-radius:12px;background:#47705c;display:grid;place-items:center;color:#deead5;box-shadow:0 10px 25px #0d2b3222}.hero-node svg{width:19px;height:19px}.node-one{top:18px;left:24%}.node-two{right:12%;top:83px}.node-three{left:21%;bottom:21px}.platform-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.metric-card{padding:22px;border:1px solid var(--line);border-radius:15px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:7px;box-shadow:var(--shadow)}.metric-icon{grid-column:2;grid-row:1 / span 2;width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#eaf1e8;color:#557c4c}.metric-1 .metric-icon{background:#e5f1f1;color:#50838b}.metric-2 .metric-icon{background:#fbefdf;color:#aa8151}.metric-3 .metric-icon{background:#eceaf7;color:#8379b0}.metric-label{font-size:10px;font-weight:600;color:#768b7c}.metric-card>strong{font-size:29px;font-weight:600;color:#29483c;letter-spacing:-1px}.metric-card>small{grid-column:1 / -1;font-size:9px;color:#93a397}.distribution{display:grid;grid-template-columns:1fr 1.8fr;gap:40px;padding:25px 30px;margin-bottom:36px}.distribution h2{font-size:18px;margin:10px 0}.distribution p{font-size:11px;max-width:220px}.distribution-bars{display:flex;flex-direction:column;justify-content:center;gap:13px;max-height:240px;overflow:auto}.school-bar{display:grid;grid-template-columns:minmax(95px,1fr) 1.2fr 40px;gap:16px;align-items:center;font-size:10px}.school-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6d8175}.school-bar strong{font-size:10px;text-align:right}.bar-track{height:7px;border-radius:10px;background:#edf3ed;overflow:hidden}.bar-track span{display:block;height:100%;background:linear-gradient(90deg,#6e9b6b,#b4c99d);border-radius:10px}.directory-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.directory-heading h2{font-size:24px;font-weight:550;margin:8px 0}.directory-heading p{font-size:11px;margin:0}.directory-filters{display:flex;gap:10px}.directory-filters input{max-width:230px;font-size:11px}.directory-filters select{font-size:11px}.school-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}.school-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);min-width:0;align-self:start}.school-card-top{display:flex;align-items:center;justify-content:space-between}.school-avatar{width:51px;height:55px;border-radius:14px;display:grid;place-items:center;background:#edf2e4;color:#76936b;font-weight:600;font-size:19px;overflow:hidden}.tone-1 .school-avatar{background:#e7eef5;color:#648399}.tone-2 .school-avatar{background:#f8ede4;color:#b08b68}.tone-3 .school-avatar{background:#eeebf7;color:#8b7ba7}.school-avatar img{width:100%;height:100%;object-fit:contain;padding:4px}.school-status{display:flex;align-items:center;gap:5px;font-size:8px;border-radius:20px;padding:5px 8px;background:#edf5ed;color:#4b8d61}.school-status>span{width:4px;height:4px;border-radius:50%;background:currentColor}.school-status.is-paused{background:#fbf0e5;color:#b28650}.school-card h2{font-size:16px;line-height:1.4;color:#2c493c;margin:19px 0 5px;overflow-wrap:anywhere}.school-code{font-size:9px;color:#98a699;margin:0}.school-code strong{font-weight:500;color:#748a78;margin-left:8px}.school-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:25px 0;padding-bottom:20px;border-bottom:1px solid #eef2ed}.school-metrics strong{display:block;font-size:21px;font-weight:550}.school-metrics span{display:block;font-size:8px;color:#93a193;margin-top:5px}.school-open{width:100%;font-size:10px;display:flex;align-items:center;justify-content:space-between;padding:12px 13px}.school-open svg{width:15px;height:15px}.school-settings{margin-top:17px}.school-settings details{border-bottom:1px solid #edf1eb}.school-settings summary{font-size:10px;color:#7b8f7e;padding:12px 0;font-weight:500}.school-settings details[open] summary{color:#2b6046;margin-bottom:10px}.school-settings label{font-size:10px}.school-settings p{font-size:10px}.school-settings .fields{display:block}.school-settings input{font-size:11px;max-width:100%}.school-settings .button{font-size:10px}.admin-list small{display:block;color:#93a098;overflow-wrap:anywhere}.school-link{display:inline-block;margin-top:15px;text-decoration:none;color:#6c8b74;font-size:9px}.add-school-card{margin-top:25px}.add-school-card summary{display:flex;align-items:center;gap:10px}.add-school-card summary svg{width:18px;height:18px}.platform-main details[open]>summary{margin-bottom:23px}.platform-main details form{margin-top:18px}.platform-main #mother-account{margin-top:22px}.platform-main footer{margin-top:36px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.super-access{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;background:linear-gradient(110deg,#e7f1df,#edf6ef);border:1px solid #cbdcc5;border-left:4px solid #6b9061;border-radius:13px;margin-bottom:28px}.super-access strong{font-size:14px;display:inline-block;margin-left:12px;color:#35583d}.super-access p{font-size:10px;margin:8px 0 0}.super-badge{font-size:8px;letter-spacing:1.3px;font-weight:700;color:#fff;background:#537b4b;border-radius:5px;padding:5px 8px}.super-access .button{font-size:11px;white-space:nowrap;background:#fff}.shell>aside{background:var(--forest);color:#d6e9df;border:0}.shell .brand,.shell aside .workspace,.shell aside .aside-bottom strong{color:#e6f2eb}.shell aside nav button{color:#b7d1c2;border-radius:9px}.shell aside nav button.active,.shell aside nav button:hover{background:#ffffff12;color:#fff}.shell .aside-bottom p,.shell .aside-bottom small{color:#a3bfae}.shell .stats{gap:18px}.shell .stat{background:#fff;border-radius:15px;border:1px solid var(--line);box-shadow:var(--shadow);border-top:3px solid #a9c3a0}.shell .stat:nth-child(2){border-top-color:#8ebcbb}.shell .stat:nth-child(3){border-top-color:#d9bc91}.shell .stat:nth-child(4){border-top-color:#b9add5}.shell .stat strong{color:#224d3a}.shell .heading h1{letter-spacing:-1px}.shell .table-card{overflow:hidden}.shell .group th{background:#edf3e9;color:#4d714f}.shell th{font-size:9px;letter-spacing:1px}.shell tbody tr:not(.group):hover{background:#f8fbf7}.shell .badge.ready{background:#e5f4e9;color:#4d8a61}.shell .login .tabs{border-radius:10px;overflow:hidden}.shell .intro{border-radius:22px;background:linear-gradient(135deg,#e9f1e0,#e0efea);padding:36px}.shell .folder-art{color:#6b9775}.shell .upload-row{transition:background .15s}.shell .finished{background:#e3f2e7;color:#4d8c64}@media(min-width:1650px){.school-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1250px){.school-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-main main{padding:28px}.platform-stats{gap:12px}.metric-card{padding:18px}.platform-hero{padding:30px}.hero-visual{transform:scale(.85)}.platform-hero h1{font-size:37px}}@media(max-width:950px){.platform-shell .mother-sidebar{width:206px;padding:28px 18px}.platform-main{margin-left:206px}.platform-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.distribution{grid-template-columns:1fr;gap:10px}.distribution p{max-width:none}.directory-heading{align-items:start;flex-direction:column}.hero-visual{display:none}.platform-hero{grid-template-columns:1fr}.platform-hero h1 br{display:none}.platform-topbar .top-role{font-size:9px}.platform-shell .platform-topbar{padding:0 28px}.super-access{align-items:start;flex-direction:column}}@media(max-width:760px){.platform-shell .mother-sidebar{position:relative;width:100%;padding:20px;display:block}.mother-brand{font-size:13px}.brand-symbol{width:34px;height:38px}.nav-caption,.mother-identity{display:none}.mother-sidebar nav{flex-direction:row;flex-wrap:wrap;gap:6px;margin-top:22px}.mother-sidebar nav a,.mother-sidebar nav button{width:auto;padding:10px;font-size:10px}.mother-sidebar nav svg{width:15px;height:15px}.sidebar-signout{padding:12px 0 0}.platform-main{margin-left:0}.platform-main main{padding:20px 16px}.platform-shell .platform-topbar{height:54px;padding:0 18px;font-size:10px}.platform-hero{padding:28px 24px;min-height:0;border-radius:17px}.platform-hero h1{font-size:32px}.platform-hero p{font-size:11px}.platform-stats{gap:10px}.metric-card{padding:16px;gap:8px}.metric-card>strong{font-size:26px}.metric-icon{width:30px;height:30px}.metric-icon svg{width:17px;height:17px}.metric-label{font-size:9px}.school-grid{grid-template-columns:1fr}.distribution{padding:22px}.school-bar{grid-template-columns:1fr 1fr 32px;gap:12px}.directory-filters{width:100%;flex-wrap:wrap}.directory-filters input{max-width:none;flex:1;min-width:140px}.directory-filters select{max-width:125px}.school-card{padding:23px}.school-settings .fields{display:block}.super-access strong{display:block;margin:12px 0 0}.platform-main .fields{grid-template-columns:1fr}.platform-main main{width:100%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}

/* Readable secondary labels at desktop and phone sizes. */
.metric-label{font-size:11px}.metric-card>small{font-size:10px}.school-status{font-size:10px}.school-code{font-size:11px}.school-metrics span{font-size:10px}.school-open{font-size:12px}.school-settings summary{font-size:12px}.school-settings label,.school-settings p{font-size:12px}.school-settings input{font-size:12px}.school-link{font-size:11px}.directory-heading p{font-size:12px}.school-bar{font-size:11px}.super-access p{font-size:12px}.super-badge{font-size:10px}

/* Sidebar visibility and contrast fix. Keep every item reachable on short screens. */
@media(min-width:761px){
 .shell>aside,.platform-shell .mother-sidebar{height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#769d88 #123d32;scrollbar-gutter:stable;padding-bottom:28px}
 .shell>aside>*,.platform-shell .mother-sidebar>*{flex-shrink:0;min-width:0}
 .shell>aside>nav{margin-bottom:24px}
 .platform-shell .mother-identity{margin-top:auto;padding-top:25px}
}
.shell .aside-bottom{background:#ffffff0d;border:1px solid #ffffff24;padding:18px 16px;flex-shrink:0;max-width:100%;overflow:visible}
.shell .aside-bottom strong{display:block;color:#f1f8f3;font-size:12px;line-height:1.5}
.shell .aside-bottom p{color:#c4d9cd;font-size:12px;line-height:1.65;margin:8px 0 16px}
.shell .aside-bottom small{display:block;color:#d2e4d9;font-size:12px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.shell .brand{min-width:0;align-items:flex-start}
.shell .brand>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.shell .brand img{flex-shrink:0}
.platform-shell .mother-identity>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){
 .shell>aside,.platform-shell .mother-sidebar{height:auto;max-height:none;overflow:visible}
 .shell .aside-bottom{display:block;margin-top:20px;padding:16px}
 .shell .aside-bottom p{margin-bottom:10px}
}

.checklist-editor-row{display:grid;grid-template-columns:34px minmax(160px,1fr) minmax(185px,.8fr) auto;gap:16px;align-items:start;border-top:1px solid #e3ebe5;padding:22px 0}.checklist-editor-row label{margin:0}.checklist-editor-row small{display:block;color:#819587;font-size:11px;line-height:1.6;margin-top:8px}.checklist-controls{display:flex;gap:5px;padding-top:24px}.checklist-controls .button{font-size:11px;padding:9px}.checklist-editor-row .number{margin-top:26px}@media(max-width:1100px){.checklist-editor-row{grid-template-columns:34px 1fr}.checklist-controls{grid-column:2;padding-top:0}.checklist-editor-row label{grid-column:2}.checklist-editor-row .number{grid-row:1/3}}

@media(min-width:1101px){.checklist-editor-row{grid-template-columns:34px minmax(160px,1fr) minmax(165px,.7fr) 110px auto}.checklist-editor-row input[type=number]{width:100%}}

/* Full checklist descriptions: wrap and grow instead of horizontal clipping. */
.checklist-editor-row>label{min-width:0}.checklist-editor-row textarea[data-requirement-title]{display:block;width:100%;max-width:100%;min-height:68px;height:auto;box-sizing:border-box;line-height:1.6;font-family:inherit;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;overflow-x:hidden;overflow-y:hidden;resize:vertical;padding:12px 13px;border:1px solid #d9e4de;border-radius:9px;background:#fcfdfc;color:#213c39}.item-label{min-width:0;overflow-wrap:anywhere}.item-label strong{white-space:normal;overflow-wrap:anywhere}

/* School management actions: clear, colourful and keyboard accessible. */
.school-settings{display:grid;gap:10px;margin-top:20px}
.school-settings details{border:1px solid #d9e6dd;border-radius:12px;overflow:hidden;background:#fff;transition:border-color .18s,box-shadow .18s}
.school-settings summary{display:flex;align-items:center;gap:10px;list-style:none;padding:13px 14px;font-size:12px;font-weight:650;line-height:1.45;color:#315b43;background:linear-gradient(120deg,#edf5e9,#f6faf3);cursor:pointer;user-select:none;transition:background .18s,color .18s}
.school-settings summary::-webkit-details-marker{display:none}
.school-settings summary::marker{content:''}
.school-settings summary::before{content:'⚙';width:29px;height:29px;flex:0 0 29px;border-radius:9px;display:grid;place-items:center;background:#dcebd5;color:#4b7542;font-size:16px;font-weight:500}
.school-settings summary::after{content:'+';margin-left:auto;flex-shrink:0;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#ffffffc9;color:inherit;font-size:18px;font-weight:400;line-height:1}
.school-settings details:nth-child(2){border-color:#dce4ef}
.school-settings details:nth-child(2) summary{color:#3b5e83;background:linear-gradient(120deg,#eaf1fa,#f6f9fd)}
.school-settings details:nth-child(2) summary::before{content:'♙';background:#dbe7f6;color:#466d9b;font-size:20px}
.school-settings details:nth-child(3){border-color:#e5dff0}
.school-settings details:nth-child(3) summary{color:#77568d;background:linear-gradient(120deg,#f2ecf8,#faf7fc)}
.school-settings details:nth-child(3) summary::before{content:'⌘';background:#e8dcf2;color:#8963a1;font-size:18px}
.school-settings summary:hover{filter:brightness(.97);color:#173d2a}
.school-settings details:hover{box-shadow:0 4px 12px #153a2b0b}
.school-settings details[open]{border-color:#aac4ad;box-shadow:0 6px 18px #173d2b09}
.school-settings details[open]>summary{border-bottom:1px solid #dce8dc;margin-bottom:0!important}
.school-settings details[open]>summary::after{content:'−'}
.school-settings details[open]>form,.school-settings details[open]>p{margin:16px 14px}
.school-settings summary:focus-visible,.school-link:focus-visible{outline:3px solid #81b98e;outline-offset:3px}
.school-link{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:16px;padding:12px 15px;border-radius:11px;background:#fff;border:1px solid #ceded2;color:#4f7457;font-size:12px;font-weight:650;line-height:1.5;text-decoration:none;transition:background .18s,border-color .18s,box-shadow .18s}
.school-link:hover{background:#eef5ea;border-color:#a6c1aa;color:#234a30;box-shadow:0 4px 12px #123d320b}
.school-open{border-radius:12px;min-height:45px;background:linear-gradient(115deg,#194b39,#2e7453)!important;border:1px solid #21583f!important;box-shadow:0 5px 12px #1c50381a;font-weight:650;letter-spacing:.1px}
.school-open:hover{background:linear-gradient(115deg,#245d44,#3b865f)!important;box-shadow:0 7px 17px #1c50382b}
@media(prefers-reduced-motion:reduce){.school-settings details,.school-settings summary,.school-link{transition:none}}

.school-settings summary::before{display:none}.school-settings .action-icon{width:29px;height:29px;flex:0 0 29px;border-radius:9px;display:grid;place-items:center;background:#dcebd5;color:#4b7542}.school-settings .action-icon svg{width:17px;height:17px}.school-settings details:nth-child(2) .action-icon{background:#dbe7f6;color:#466d9b}.school-settings details:nth-child(3) .action-icon{background:#e8dcf2;color:#8963a1}

/* Mother account control matches the school management action buttons. */
.platform-main #mother-account{padding:0;overflow:hidden;border:1px solid #dcdfee;border-radius:15px;background:#fff}
#mother-account>details{margin:0}
#mother-account>details>summary{display:flex;align-items:center;gap:13px;list-style:none;padding:20px 23px;background:linear-gradient(115deg,#eeedf8,#f6f7fc);color:#514c7a;font-size:14px;font-weight:650;line-height:1.5;cursor:pointer;transition:background .18s,box-shadow .18s}
#mother-account summary::-webkit-details-marker{display:none}
#mother-account summary::marker{content:''}
#mother-account .account-action-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#dedcf0;color:#71659b;display:grid;place-items:center}
#mother-account .account-action-icon svg{width:21px;height:21px}
#mother-account>details>summary::after{content:'+';margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#ffffffce;color:#71659b;font-size:22px;font-weight:400}
#mother-account>details>summary:hover{background:linear-gradient(115deg,#e5e3f4,#f0f1fa)}
#mother-account>details>summary:focus-visible{outline:3px solid #9386bc;outline-offset:-4px}
#mother-account>details[open]>summary{margin-bottom:0;border-bottom:1px solid #dedfeb}
#mother-account>details[open]>summary::after{content:'−'}
#mother-account>details>form{padding:22px 24px;margin:0}
@media(max-width:760px){#mother-account>details>summary{padding:16px;font-size:12px;gap:10px}#mother-account>details>form{padding:18px}}
@media(prefers-reduced-motion:reduce){#mother-account>details>summary{transition:none}}

/* Welcoming school-aware sign-in page. */
.auth-shell>aside{display:none}.auth-shell>.main{width:100%;margin-left:0}.auth-shell>.main>header{height:64px;padding:0 5%;background:#fff;border-bottom:1px solid #e2e9e3;font-size:11px}.auth-shell>.main>main{max-width:1260px;margin:0 auto;padding:32px 30px 20px}.auth-shell main>.eyebrow,.auth-shell main>.heading{display:none}.auth-shell footer{margin-top:24px;padding-top:18px;font-size:10px;text-align:center}.auth-layout{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #dce7de;border-radius:25px;overflow:hidden;box-shadow:0 20px 65px #183f2e09}.auth-story{position:relative;padding:36px 40px;background:radial-gradient(ellipse at 95% 55%,#66884a66,transparent 65%),linear-gradient(155deg,#123d32,#214e3b);color:#f0f7ef;overflow:hidden;display:flex;flex-direction:column}.auth-school-brand{display:flex;align-items:center;gap:12px}.auth-school-brand>img{width:45px;height:57px;object-fit:contain;flex-shrink:0}.auth-school-brand>span{font-size:12px;font-weight:650;line-height:1.5;color:#ecf4e9;overflow-wrap:anywhere}.auth-school-brand small{display:block;font-size:8px;letter-spacing:1.8px;font-weight:500;color:#a7c4ae;margin-top:5px}.auth-brand-icon{width:44px;height:49px;display:grid;place-items:center;border-radius:12px;background:#ffffff12}.auth-welcome{margin-top:44px}.auth-kicker{font-size:8px;font-weight:650;letter-spacing:1.8px;color:#b3cfad}.auth-welcome h1{font-size:39px;line-height:1.14;letter-spacing:-1.4px;font-weight:550;color:#fff;margin:18px 0}.auth-welcome p{font-size:12px;color:#b8cdbb;line-height:1.8;max-width:350px;margin-bottom:0}.auth-document-art{position:relative;min-height:175px;display:grid;place-items:center;margin:12px 0 18px}.auth-art-halo{position:absolute;width:190px;height:160px;border:1px solid #d0e7bc20;border-radius:50%;transform:rotate(-15deg)}.auth-art-sheet{width:142px;height:146px;border-radius:15px;background:linear-gradient(135deg,#f2f5df,#ddeacb);padding:20px;transform:rotate(-8deg);box-shadow:14px 15px 0 -5px #73965d42,0 12px 35px #0c2d2c22}.auth-art-symbol{color:#749067}.auth-art-symbol svg{width:29px;height:29px}.auth-art-line{display:block;width:86px;height:5px;background:#b9cbaa;border-radius:5px;margin:13px 0 7px}.auth-art-line.short{width:59px;margin-top:0}.auth-art-check{display:flex;gap:7px;align-items:center;margin-top:15px;color:#608353;font-size:14px}.auth-art-check span{font-size:8px;font-weight:650}.auth-art-float{position:absolute;right:20%;bottom:23px;width:41px;height:41px;background:#729768;border:1px solid #c8dbb254;border-radius:12px;display:grid;place-items:center;transform:rotate(9deg);box-shadow:0 8px 20px #193c2324}.auth-art-float svg{width:21px;height:21px;color:#f1f6df}.auth-steps{list-style:none;padding:0;margin:0;display:grid;gap:18px}.auth-steps li{display:flex;align-items:center;gap:13px;margin:0}.auth-steps li>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #8bad7e50;border-radius:9px;font-size:9px;color:#bdd6ae;background:#ffffff06}.auth-steps strong{font-size:11px;font-weight:550;color:#e0eedc}.auth-steps small{display:block;font-size:9px;color:#9fbaa3;margin-top:4px}.auth-secure{display:flex;gap:8px;align-items:center;color:#9fbaa4;font-size:9px;letter-spacing:.15px;margin-top:30px;padding-top:22px;border-top:1px solid #d7e3cb18}.auth-secure svg{width:14px;height:14px}.auth-panel{padding:0;min-width:0;display:flex;flex-direction:column}.auth-school-picker{padding:27px 35px 20px;background:#fafcf8;border-bottom:1px solid #e6eee3}.auth-section-label{display:flex;align-items:center;gap:7px;font-size:8px;letter-spacing:1.6px;font-weight:700;color:#78906c;margin-bottom:15px}.auth-section-label svg{width:15px;height:15px}.auth-school-picker label{display:block;font-size:10px;color:#6d8065;margin-bottom:8px}.auth-picker-row{display:flex;gap:9px;align-items:stretch}.auth-picker-row select{flex:1;min-width:0;width:100%;max-width:100%;font-size:11px!important;background:#fff!important;white-space:normal}.auth-picker-row .button{flex-shrink:0;display:flex;align-items:center;gap:6px;font-size:10px;padding:10px 12px}.auth-picker-row .button svg{width:14px;height:14px}.auth-selected{display:flex;align-items:baseline;gap:6px;margin:12px 0 0;font-size:9px;line-height:1.65;color:#83927b;overflow-wrap:anywhere}.auth-status-dot{width:5px;height:5px;background:#74a169;border-radius:50%;flex-shrink:0;position:relative;top:-1px}.auth-signin{padding:26px 35px 30px}.auth-tabs{display:flex;gap:4px;background:#f0f4ed;border:1px solid #e4eae0;border-radius:11px;padding:4px;margin-bottom:30px}.auth-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;border-radius:8px;padding:11px 5px;font-size:9px;font-weight:650;color:#8a9783;cursor:pointer;white-space:nowrap}.auth-tabs svg{width:14px;height:14px}.auth-tabs .active{background:white;color:#375c3b;box-shadow:0 2px 7px #2643260d}.auth-tabs button:hover{color:#355737;background:#ffffff85}.auth-form-kicker{font-size:8px;letter-spacing:1.7px;font-weight:650;color:#9ba38e}.auth-signin h2{font-size:24px;line-height:1.25;font-weight:550;letter-spacing:-.6px;margin:10px 0;color:#2c4939}.auth-form-description{font-size:11px;line-height:1.8;color:#8a9783;margin:0 0 24px}.auth-signin form>label{font-size:11px;margin-bottom:17px;display:block;color:#617658}.auth-signin form input{font-size:12px;width:100%;min-height:47px;background:#fcfdfb!important;margin-top:8px}.auth-signin input::placeholder{color:#a3ad9b;font-size:11px}.auth-submit{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:24px;padding:14px 18px;font-size:12px;min-height:48px;background:linear-gradient(110deg,#1c4b35,#34714d)!important;box-shadow:0 5px 12px #264d3612}.auth-submit svg{width:17px;height:17px}.auth-register-note{text-align:center;font-size:10px;color:#8a9783;margin-top:21px}.auth-register-note .text-button{font-size:10px;font-weight:650;color:#557545}.auth-privacy{display:flex;gap:8px;align-items:start;color:#9ba58f;font-size:9px;line-height:1.8;margin-top:26px;padding-top:20px;border-top:1px solid #eef1e9}.auth-privacy svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}.auth-shell .notice{margin-bottom:20px}@media(max-width:1050px){.auth-story{padding:32px 28px}.auth-welcome h1{font-size:34px}.auth-school-picker,.auth-signin{padding-left:25px;padding-right:25px}.auth-picker-row{flex-direction:column}.auth-picker-row .button{justify-content:center}.auth-tabs{gap:1px}.auth-tabs button{font-size:8px}}@media(max-width:760px){.auth-shell>.main>main{padding:18px 14px}.auth-layout{grid-template-columns:1fr;border-radius:18px}.auth-story{padding:25px}.auth-welcome{margin-top:24px}.auth-welcome h1{font-size:30px}.auth-welcome h1 br{display:none}.auth-welcome p{max-width:none;font-size:11px}.auth-document-art,.auth-steps{display:none}.auth-secure{margin-top:20px;padding-top:16px}.auth-school-picker{padding:22px 23px 18px}.auth-signin{padding:24px 23px}.auth-picker-row{flex-direction:row}.auth-picker-row .button{font-size:9px}.auth-tabs button{font-size:9px}.auth-tabs svg{width:13px;height:13px}.auth-signin h2{font-size:23px}.auth-shell>.main>header{padding:0 20px;height:52px}.auth-tabs{margin-bottom:25px}}@media(max-width:380px){.auth-picker-row{flex-direction:column}.auth-tabs svg{display:none}.auth-story{padding:22px}.auth-signin,.auth-school-picker{padding-left:18px;padding-right:18px}}

.auth-school-brand>img.portfolio-brand-logo{width:72px;height:72px;object-fit:contain}.auth-school-brand>span{font-size:13px;letter-spacing:.4px}.mother-brand .brand-symbol{width:50px;height:50px;background:transparent}.mother-brand .brand-symbol img{width:50px;height:50px;object-fit:contain}.auth-submit:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.auth-submit:disabled:hover{transform:none}@media(max-width:760px){.auth-school-brand>img.portfolio-brand-logo{width:60px;height:60px}.auth-school-brand>span{font-size:12px}}

/* Login panel: richer school selector, role tabs and field styling. */
.auth-panel{background:linear-gradient(160deg,#ffffff 35%,#f7faf5);position:relative}
.auth-school-picker{position:relative;background:radial-gradient(circle at 95% 10%,#dae8cd80,transparent 48%),linear-gradient(120deg,#edf5e8,#f7faf3);border-bottom:1px solid #dce8d5;padding:29px 35px 23px}
.auth-section-label{font-size:9px;letter-spacing:1.8px;color:#658158;margin-bottom:19px;gap:9px}
.auth-section-label svg{box-sizing:content-box;width:17px;height:17px;padding:8px;border:1px solid #cddfc3;border-radius:10px;background:#ffffffaf;color:#668653;box-shadow:0 3px 8px #35503005}
.auth-school-picker label{font-size:11px;font-weight:650;color:#526e48;margin-bottom:10px}
.auth-picker-row select{border:1px solid #cbdcc2!important;min-height:48px;background:#fff!important;border-radius:11px!important;color:#3e5b36!important;box-shadow:0 3px 10px #3b5c3205;font-weight:550;padding-left:15px!important}
.auth-picker-row select:focus{outline-color:#87b16e}
.auth-picker-row .button{border:1px solid #2e6341;background:linear-gradient(115deg,#204b34,#438258);box-shadow:0 5px 12px #31583918;min-height:48px;padding:11px 15px;border-radius:11px;color:#fff;font-weight:650}
.auth-picker-row .button:hover{background:linear-gradient(115deg,#2d6142,#4b9060)}
.auth-selected{color:#7b916e;font-size:10px;margin-top:14px;line-height:1.7}
.auth-signin{padding:28px 35px 32px}
.auth-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border:0;background:transparent;padding:0;margin-bottom:31px;border-radius:0}
.auth-tabs button{flex-direction:column;gap:9px;min-height:80px;padding:13px 7px;border:1px solid #e2e9dc;background:#f7faf4;border-radius:13px;color:#8d9a81;font-size:10px;position:relative;white-space:normal;line-height:1.4;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.auth-tabs button svg{width:19px;height:19px;padding:7px;box-sizing:content-box;border-radius:10px;background:#eaf1e2;color:#899d73}
.auth-tabs button[data-mode=admin]{border-color:#e1e7ef;background:#f6f9fc;color:#8497ab}
.auth-tabs button[data-mode=admin] svg{background:#e7eef7;color:#829bb7}
.auth-tabs button[data-mode=mother]{border-color:#e8e2ef;background:#faf7fc;color:#9a87aa}
.auth-tabs button[data-mode=mother] svg{background:#efe7f6;color:#9a7daf}
.auth-tabs button.active{color:#385e30;border-color:#98bd81;background:linear-gradient(135deg,#e7f2db,#f6fbf0);box-shadow:0 5px 15px #3d693b0e}
.auth-tabs button.active svg{background:#d6e8c4;color:#5c8446}
.auth-tabs button[data-mode=admin].active{color:#3d6088;border-color:#9fb9d5;background:linear-gradient(135deg,#e9f1fa,#f5f9ff);box-shadow:0 5px 15px #40608d0e}
.auth-tabs button[data-mode=admin].active svg{background:#d8e6f6;color:#5c83ae}
.auth-tabs button[data-mode=mother].active{color:#795797;border-color:#bea6d3;background:linear-gradient(135deg,#f0e7f9,#faf6ff);box-shadow:0 5px 15px #72528a0e}
.auth-tabs button[data-mode=mother].active svg{background:#e5d6f2;color:#9671b0}
.auth-tabs button.active::after{content:'';position:absolute;bottom:-1px;left:32%;right:32%;height:3px;border-radius:5px 5px 0 0;background:currentColor;opacity:.65}
.auth-tabs button:hover{transform:translateY(-2px);box-shadow:0 5px 13px #3c60350b}
.auth-form-kicker{display:inline-flex;align-items:center;gap:6px;background:#edf4e6;border:1px solid #e0ead6;border-radius:20px;padding:5px 9px;color:#7b9368;font-size:8px;letter-spacing:1.3px}
.auth-form-kicker::before{content:'';width:4px;height:4px;border-radius:50%;background:#94b779}
.auth-signin h2{font-size:25px;margin:13px 0 10px;line-height:1.3;color:#294735}
.auth-form-description{font-size:12px;line-height:1.7;color:#89967e;margin-bottom:26px}
.auth-signin form>label{position:relative;color:#5b7250;font-size:11px;font-weight:650;margin-bottom:20px}
.auth-signin form input{padding:13px 15px 13px 43px!important;border:1px solid #dde7d7!important;border-radius:11px!important;min-height:50px;background-color:#fcfdfb!important;background-position:15px center!important;background-repeat:no-repeat!important;background-size:16px 16px!important;box-shadow:inset 0 1px 2px #2c4a2c03;transition:border-color .18s,box-shadow .18s}
.auth-signin form input[name=index],.auth-signin form input[name=name]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238b9e7d' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E")!important}
.auth-signin form input[type=email]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238b9e7d' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E")!important}
.auth-signin form input[type=password]{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238b9e7d' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='11' rx='3'/%3E%3Cpath d='M8 10V6a4 4 0 0 1 8 0v4M12 14v3'/%3E%3C/svg%3E")!important}
.auth-signin form input:hover{border-color:#c2d5b4!important}
.auth-signin form input:focus{border-color:#9bbe82!important;outline:2px solid #dfeecd;outline-offset:1px;box-shadow:0 0 0 4px #eaf3e140}
.auth-signin input::placeholder{color:#a4b097;font-size:11px;font-weight:400}
.auth-submit{margin-top:26px;border-radius:12px;min-height:51px;padding:15px 18px;background:linear-gradient(110deg,#224f36,#4c885b)!important;border-color:#386b45!important;box-shadow:0 6px 14px #325d3b18}
.auth-submit:hover{box-shadow:0 8px 20px #325d3b24;background:linear-gradient(110deg,#2c6142,#599965)!important}
.auth-privacy{border-top:0;border-radius:11px;background:#f2f6ed;border:1px solid #e7eedf;padding:13px;margin-top:23px;font-size:9px;color:#8a9c79}
.auth-privacy svg{padding:5px;box-sizing:content-box;border-radius:8px;background:#e6efdc;color:#7b9664}
.auth-register-note{margin-top:22px}.auth-register-note .text-button{border-radius:7px;padding:4px 7px;background:#edf4e6}
@media(max-width:1050px){.auth-school-picker,.auth-signin{padding-left:25px;padding-right:25px}.auth-tabs button{font-size:9px;min-height:79px}}
@media(max-width:760px){.auth-school-picker{padding:23px}.auth-signin{padding:25px 23px}.auth-tabs{gap:7px;margin-bottom:27px}.auth-tabs button{min-height:77px;font-size:9px}.auth-tabs button svg{width:18px;height:18px;padding:6px}.auth-signin h2{font-size:23px}.auth-privacy{font-size:10px}.auth-form-description{font-size:11px}}
@media(max-width:380px){.auth-school-picker,.auth-signin{padding-left:18px;padding-right:18px}.auth-tabs button{padding:12px 3px;font-size:8px;min-height:70px}.auth-tabs button svg{display:block;width:16px;height:16px}.auth-tabs{gap:5px}}
@media(prefers-reduced-motion:reduce){.auth-tabs button,.auth-signin form input{transition:none}.auth-tabs button:hover{transform:none}}

/* Student workspace: profile, progress and individual document cards. */
.student-shell>.main>main{max-width:1620px;margin:0 auto;padding:34px 38px}.student-shell .heading{margin-bottom:25px;align-items:center}.student-shell .heading h1{font-size:32px;font-weight:550;margin:10px 0}.student-shell .heading p{font-size:12px}.student-shell .heading [data-logout]{border-radius:10px;padding:10px 15px;font-size:11px}.student-shell main>.notice{padding:13px 17px;margin-bottom:22px;font-size:12px}.student-shell aside nav a{display:flex;gap:11px;align-items:center;border-radius:9px;padding:13px 12px;margin:5px 0;color:#b8d0c0;font-size:12px;text-decoration:none;line-height:1.4;transition:background .18s,color .18s}.student-shell aside nav a svg{width:17px;height:17px}.student-shell aside nav a:hover,.student-shell aside nav a.student-nav-active{background:#ffffff13;color:#f1f7ed}.student-shell .workspace{font-size:10px;letter-spacing:1.5px}.student-shell .brand{letter-spacing:.5px}.student-shell .brand span{font-size:13px}.student-shell .brand img{width:46px;height:58px}.student-security{padding:0;overflow:hidden;border:1px solid #dce2ef;border-radius:14px;margin-bottom:23px}.student-security details{margin:0}.student-security summary{display:flex;align-items:center;gap:12px;padding:15px 20px;list-style:none;background:linear-gradient(120deg,#eeedf8,#f7f8fc);color:#645784;font-size:12px;font-weight:650}.student-security summary::-webkit-details-marker{display:none}.student-security summary::marker{content:''}.student-security summary::after{content:'+';display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff9;font-size:20px;font-weight:400;margin-left:auto}.student-security details[open]>summary{margin-bottom:0!important;border-bottom:1px solid #e4dfef}.student-security details[open]>summary::after{content:'−'}.student-security summary small{display:block;font-size:9px;font-weight:400;color:#9a8fab;margin-top:3px}.student-security-icon{width:34px;height:34px;border-radius:10px;background:#e2dcf1;display:grid;place-items:center;color:#8e74aa}.student-security-icon svg{width:18px;height:18px}.student-security-content{padding:20px 24px}.student-security-content p{font-size:12px}.student-security-content label{font-size:12px}.student-security-content form>label{display:block}.student-security-content input{font-size:12px}.student-profile{position:relative;display:flex;justify-content:space-between;align-items:center;gap:30px;padding:32px 36px;background:radial-gradient(ellipse at 100% 90%,#5b884a77,transparent 65%),linear-gradient(120deg,#153f32,#285d40);border:1px solid #234c36;border-radius:20px;box-shadow:0 8px 25px #1b4d3012;margin-bottom:21px;overflow:hidden;color:white}.student-profile-main{min-width:0;max-width:75%}.student-profile-kicker{font-size:8px;letter-spacing:1.9px;font-weight:650;color:#abcba2}.student-profile-person{display:flex;align-items:center;gap:16px;margin:21px 0 11px}.student-avatar{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;background:linear-gradient(130deg,#e3eccc,#c1d7ac);color:#567845;border:1px solid #eef6d966;border-radius:17px;font-size:20px;font-weight:650;box-shadow:0 5px 15px #102f2510}.student-profile h2{margin:0 0 7px;font-size:23px;font-weight:550;line-height:1.4;color:#f2f7ec;overflow-wrap:anywhere;letter-spacing:-.4px}.student-index{font-size:11px;letter-spacing:1.1px;color:#b8d0ab;font-weight:550}.student-programme{font-size:11px!important;color:#b6ccb1!important;line-height:1.7;margin:15px 0 18px!important}.student-practice{display:flex;gap:10px;align-items:center;padding:12px 14px;background:#ffffff0a;border:1px solid #c6ddba22;border-radius:10px;color:#cde0c2;max-width:530px}.student-practice svg{width:18px;height:18px;color:#a1c28e;flex-shrink:0}.student-practice small{display:block;font-size:7px;letter-spacing:1.3px;color:#94b48e;margin-bottom:5px}.student-practice strong{font-size:10px;font-weight:550;line-height:1.6;overflow-wrap:anywhere;display:block}.student-progress-area{text-align:center;min-width:153px;flex-shrink:0}.student-progress-ring{width:123px;height:123px;padding:7px;background:conic-gradient(#c1dc99 var(--progress),#ffffff1a 0);border-radius:50%;display:grid;place-items:center;margin:auto}.student-progress-ring>div{width:109px;height:109px;background:#25563b;border:1px solid #cbe3b51c;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.student-progress-ring strong{font-size:29px;color:#edf5dd;font-weight:550}.student-progress-ring span{color:#a7c291;font-size:7px;font-weight:550;letter-spacing:1.4px;margin-top:6px}.student-progress-area>p{font-size:10px;color:#b1cba4;line-height:1.6;margin:14px 0 9px}.student-profile-status{display:inline-block;border-radius:20px;background:#e4eecb16;border:1px solid #d0e3b92b;color:#b9d1a8;font-size:8px;padding:5px 9px}.student-profile-status.is-complete{background:#c7df9f22;color:#d9edb8}.student-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:23px}.student-stat{display:flex;align-items:center;gap:16px;padding:21px 23px;background:#fff;border:1px solid #e0e8da;border-radius:14px;box-shadow:0 4px 18px #2d4d2804}.student-stat-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:13px;background:#edf4e6;color:#82a169}.student-stat-1 .student-stat-icon{background:#e5f1f2;color:#6f9d9f}.student-stat-2 .student-stat-icon{background:#faf0df;color:#bf9a61}.student-stat>div>span{display:block;font-size:10px;color:#7a8d6e}.student-stat strong{display:block;font-size:27px;font-weight:550;color:#3e5e35;line-height:1.5}.student-stat small{display:block;font-size:8px;line-height:1.6;color:#a0ad93}.student-preview{display:flex;align-items:center;gap:19px;padding:23px 25px;background:linear-gradient(110deg,#f4f6ef,#eff4e9);border:1px solid #dfe8d5;border-radius:15px;margin-bottom:33px}.student-preview-icon{display:grid;place-items:center;width:49px;height:53px;flex-shrink:0;border:1px solid #dfe8d2;border-radius:13px;background:#fff9;color:#8fa678}.student-preview-icon svg{width:25px;height:25px}.student-preview>div{flex:1;min-width:0}.student-preview .eyebrow{font-size:7px;letter-spacing:1.6px;color:#91a17f}.student-preview h2{font-size:17px;line-height:1.4;font-weight:550;color:#4a643d;margin:8px 0}.student-preview p{font-size:10px;line-height:1.7;margin:0;color:#94a287}.student-preview .button{display:flex;align-items:center;gap:8px;font-size:10px;white-space:nowrap;padding:12px 16px}.student-preview .button svg{width:14px;height:14px}.student-preview .button:disabled{background:#e1e8d8!important;color:#a4b096!important;border-color:#dce5d1;box-shadow:none;cursor:not-allowed;opacity:1}.student-preview.preview-ready{border-color:#b9d29f;background:linear-gradient(110deg,#edf5e3,#f3f8ec)}.student-documents-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:17px}.student-documents-heading .eyebrow{font-size:8px;letter-spacing:1.8px}.student-documents-heading h2{font-size:24px;font-weight:550;color:#365a37;letter-spacing:-.5px;margin:9px 0}.student-documents-heading p{font-size:11px;line-height:1.7;color:#98a58c;margin:0}.student-count-badge{flex-shrink:0;display:inline-block;padding:8px 13px;background:#eaf1e2;border:1px solid #dce6d1;border-radius:20px;font-size:10px;color:#81986c}.student-upload-tip{display:flex;align-items:center;gap:9px;color:#98a588;font-size:9px;line-height:1.7;margin-bottom:20px}.student-upload-tip svg{width:15px;height:15px;flex-shrink:0;color:#a0b28a}.student-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.student-document.upload-row{display:block;border:1px solid #e2e9da;border-radius:16px;padding:22px;background:#fff;box-shadow:0 5px 18px #28482604;align-self:start;transition:border-color .18s,box-shadow .18s}.student-document.upload-row:hover{border-color:#bfd4aa;box-shadow:0 7px 20px #28482609;background:#fff}.student-document.document-complete{border-color:#c4dbb3;background:linear-gradient(150deg,#fff,#fcfef9)}.student-document-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.student-document .number{width:32px;height:32px;border-radius:10px;background:#f0f4e8;border:1px solid #e9eedf;color:#9aaf86;font-size:11px}.student-document .number.finished{background:#e3f1d9;color:#7ca45e;border-color:#d8e9ca}.student-document-status{padding:5px 8px;border:1px solid #ebe9dd;border-radius:16px;background:#faf8f0;color:#b2a67c;font-size:8px}.student-document-status.status-done{background:#ecf5e4;color:#8bab71;border-color:#deebd2}.student-document-status.status-replace{background:#fcf0e7;color:#b58b69;border-color:#efdcc9}.student-document .item-label{min-width:0;max-width:100%}.student-document .item-label>strong{display:block;font-size:13px;font-weight:600;line-height:1.8;color:#4c6941;overflow-wrap:anywhere;white-space:normal}.student-file-spec{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0 0}.student-file-spec>span{display:flex;gap:4px;align-items:center;background:#f3f6ed;color:#a0ad8f;border:1px solid #eaf0e1;border-radius:6px;padding:4px 6px;font-size:8px;line-height:1.5}.student-file-spec svg{width:11px;height:11px}.student-document .student-uploaded-note{display:block;color:#9ab087;font-size:9px;line-height:1.7;margin:9px 0 0}.student-document.upload-row form{display:block;margin:17px 0 0;width:100%}.student-file-picker{display:block;padding:14px;border:1px dashed #cbdcb9;border-radius:10px;background:#fbfdf8}.student-file-picker input[type=file]{display:block;width:100%;max-width:100%;font-size:10px;color:#9ba98b;overflow-wrap:anywhere;min-width:0}.student-file-picker input[type=file]::file-selector-button{background:#ecf3e2;color:#78955e;border:1px solid #dce8cd;border-radius:7px;padding:8px 10px;margin-right:10px;font-size:9px;font-weight:600;cursor:pointer}.student-file-picker input[type=file]::file-selector-button:hover{background:#e2edcf}.student-file-picker small{display:block;color:#a5b097;font-size:8px;line-height:1.7;margin-top:8px}.student-file-picker small[data-file-count-label]{font-size:9px;color:#88a172}.student-upload-actions{display:flex;gap:9px;align-items:center;margin-top:14px;flex-wrap:wrap}.student-upload-actions .primary{flex:1;font-size:10px;padding:11px 13px;background:linear-gradient(115deg,#28553a,#50835b);border-color:#416e47}.student-upload-actions .danger{padding:11px 12px;font-size:9px;background:#fff9f4;border-color:#efdfd0;color:#bc977d}.student-empty{grid-column:1/-1;text-align:center;padding:30px;font-size:12px;color:#96a78a}.student-shell footer{font-size:9px;margin-top:35px;padding-top:22px}.student-shell [id^=student-]{scroll-margin-top:25px}.student-shell button:focus-visible,.student-shell summary:focus-visible{outline:3px solid #9ebc86;outline-offset:3px}
@media(max-width:1200px){.student-shell>.main>main{padding:28px}.student-profile{padding:28px}.student-profile h2{font-size:20px}.student-stat{padding:17px;gap:12px}.student-stat-icon{width:37px;height:37px;flex-basis:37px}.student-preview{flex-wrap:wrap}.student-preview .button{margin-left:auto}.student-document-grid{gap:16px}.student-document.upload-row{padding:18px}}
@media(max-width:950px){.student-document-grid{grid-template-columns:1fr}.student-profile-main{max-width:none}.student-profile{gap:20px}.student-avatar{width:45px;height:45px;flex-basis:45px;border-radius:13px;font-size:17px}.student-profile-person{gap:11px}.student-profile h2{font-size:18px}.student-progress-ring{width:102px;height:102px;padding:6px}.student-progress-ring>div{width:90px;height:90px}.student-progress-ring strong{font-size:24px}.student-progress-area{min-width:120px}.student-stat{padding:16px 12px;gap:10px}.student-stat small{font-size:7px}.student-stat>div>span{font-size:9px}.student-stats{gap:10px}}
@media(max-width:760px){.student-shell>.main>main{padding:24px 17px}.student-shell .heading h1{font-size:27px}.student-shell .heading p{font-size:11px}.student-shell aside nav{display:flex;flex-wrap:wrap;margin-top:18px;gap:6px}.student-shell aside nav a{font-size:10px;padding:10px;margin:0}.student-security summary{padding:14px 15px;font-size:11px}.student-security-content{padding:18px}.student-profile{padding:24px;align-items:flex-start;flex-wrap:wrap;gap:22px;border-radius:16px}.student-profile-main{width:100%}.student-profile h2{font-size:20px}.student-profile-person{margin:18px 0 10px}.student-progress-area{width:100%;display:flex;align-items:center;gap:16px;text-align:left;flex-wrap:wrap;border-top:1px solid #b6d29c22;padding-top:18px}.student-progress-ring{width:76px;height:76px;padding:5px;margin:0}.student-progress-ring>div{width:66px;height:66px}.student-progress-ring strong{font-size:19px}.student-progress-ring span{font-size:5px;letter-spacing:.8px;margin-top:4px}.student-progress-area>p{font-size:11px;margin:0;flex:1}.student-profile-status{font-size:9px}.student-stats{gap:9px}.student-stat{display:block;padding:15px 11px}.student-stat-icon{width:32px;height:32px;margin-bottom:10px;border-radius:10px}.student-stat-icon svg{width:17px;height:17px}.student-stat strong{font-size:24px}.student-stat small{display:none}.student-stat>div>span{font-size:9px}.student-preview{padding:20px;gap:12px}.student-preview-icon{width:38px;height:42px;border-radius:10px}.student-preview-icon svg{width:20px;height:20px}.student-preview h2{font-size:16px}.student-preview p{font-size:10px}.student-preview .button{width:100%;justify-content:center;margin-top:5px;font-size:11px}.student-documents-heading{align-items:flex-start;gap:10px}.student-documents-heading h2{font-size:21px}.student-documents-heading p{font-size:10px}.student-count-badge{font-size:8px;padding:6px 9px}.student-document.upload-row{padding:20px}.student-upload-actions .primary{font-size:11px}.student-file-picker input[type=file]{font-size:10px}.student-file-picker small{font-size:9px}.student-file-spec>span{font-size:9px}.student-document .item-label>strong{font-size:13px}.student-document-status{font-size:9px}.student-upload-tip{font-size:10px;align-items:flex-start}.student-upload-tip svg{margin-top:2px}.student-security-content .fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.student-document.upload-row,.student-shell aside nav a{transition:none}}

/* Student page welcome strip. */
.student-shell main>.eyebrow,.student-shell main>.heading{display:none}.student-welcome-header{display:flex;align-items:center;gap:18px;padding:25px 28px;margin-bottom:24px;background:radial-gradient(ellipse at 100% 50%,#e5eddb99,transparent 55%),linear-gradient(110deg,#fff,#f7faf3);border:1px solid #dce7d4;border-radius:17px;box-shadow:0 5px 20px #2d4f2805;position:relative;overflow:hidden}.student-welcome-header::before{content:'';position:absolute;top:20px;bottom:20px;left:0;width:4px;border-radius:0 5px 5px 0;background:linear-gradient(#9ab77c,#638951)}.student-welcome-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:58px;border-radius:15px;background:linear-gradient(135deg,#edf4e2,#dfeccf);border:1px solid #d9e7c9;color:#7a9a5f;box-shadow:0 4px 10px #4a6b3610}.student-welcome-icon svg{width:28px;height:28px}.student-welcome-copy{flex:1;min-width:0}.student-welcome-label{display:inline-block;font-size:8px;font-weight:650;letter-spacing:1.8px;color:#8da17a}.student-welcome-header h1{color:#355a38;font-size:29px;font-weight:550;letter-spacing:-.8px;line-height:1.25;margin:8px 0}.student-welcome-header p{font-size:11px;line-height:1.7;color:#9aa88b;margin:0}.student-signout.button{display:flex;align-items:center;justify-content:center;gap:16px;flex-shrink:0;border:1px solid #d7e3cb;border-radius:11px;background:#fff;color:#799365;font-size:11px;padding:12px 16px;box-shadow:0 3px 8px #30502305}.student-signout span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#eff5e7;color:#86a26e;font-size:16px}.student-signout.button:hover{background:#eef5e6;border-color:#b6cea1;color:#4f743e}.student-welcome-header .student-signout:focus-visible{outline:3px solid #8dab75;outline-offset:3px}@media(max-width:760px){.student-welcome-header{padding:20px;gap:13px;flex-wrap:wrap;border-radius:14px}.student-welcome-icon{width:43px;height:47px;flex-basis:43px;border-radius:12px}.student-welcome-icon svg{width:23px;height:23px}.student-welcome-header h1{font-size:24px;margin:6px 0}.student-welcome-label{font-size:7px;letter-spacing:1.3px}.student-welcome-header p{font-size:10px}.student-signout.button{padding:8px 12px;font-size:10px;gap:9px;margin-left:auto}.student-signout span{width:20px;height:20px}.student-welcome-header::before{top:17px;bottom:17px}}

/* Student cover portrait and camera capture. */
.student-photo-card{display:flex;gap:24px;align-items:center;padding:25px;background:#fff;border:1px solid #dde7d4;border-radius:16px;margin-bottom:23px;box-shadow:0 4px 16px #31532605}.student-photo-frame{display:grid;place-items:center;flex:0 0 96px;width:96px;height:128px;border-radius:12px;border:1px dashed #c7d8b7;background:linear-gradient(135deg,#f4f8ec,#e8f1df);overflow:hidden;color:#9fb78b}.student-photo-frame>svg{width:34px;height:34px}.student-photo-frame img{width:100%;height:100%;object-fit:cover}.student-photo-copy{min-width:0}.student-photo-copy h2{font-size:18px;font-weight:550;color:#44643a;margin:8px 0}.student-photo-copy p{font-size:11px;line-height:1.7;color:#96a487;max-width:650px}.student-photo-actions{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0 10px}.student-photo-actions .button{font-size:10px;padding:10px 13px}.student-photo-copy>small{display:block;color:#a0ae92;font-size:9px;line-height:1.6}.student-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}#student-camera-dialog{width:min(600px,94vw);height:auto;max-height:92vh;overflow:auto;padding:24px;border-radius:18px;background:#fbfdf8}.camera-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.camera-heading h2{font-size:20px;margin:0;color:#365a38}.camera-heading .button{font-size:11px}.camera-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.camera-actions .button{font-size:11px}#camera-message{font-size:12px;line-height:1.7}#student-camera-video{display:block;width:100%;height:auto;max-height:55vh;min-height:170px;background:#143a2c;border-radius:12px;object-fit:contain;transform:scaleX(-1)}#student-camera-dialog>.muted{font-size:10px;line-height:1.7;margin-top:16px}@media(max-width:760px){.student-photo-card{padding:20px;gap:17px;align-items:start}.student-photo-frame{width:72px;height:96px;flex-basis:72px;border-radius:9px}.student-photo-copy h2{font-size:16px}.student-photo-copy p{font-size:10px}.student-photo-actions{gap:7px}.student-photo-actions .button{font-size:9px;padding:9px 10px}}@media(max-width:420px){.student-photo-card{flex-wrap:wrap}.student-photo-copy{width:100%}.student-photo-frame{width:84px;height:112px;flex-basis:84px}}

.photo-required{display:inline-block;vertical-align:middle;font-size:9px;font-weight:650;letter-spacing:.3px;padding:4px 8px;border-radius:20px;background:#fbefdb;border:1px solid #eddbb6;color:#b29157;margin-left:7px}
