:root{--ink:#1e3338;--muted:#718180;--green:#b5e0bf;--dark:#173038;--line:#e0e6e2;--bg:#f5f7f4;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #64a486;outline-offset:4px}h1,h2,p{margin-top:0}h1{font-size:clamp(32px,3vw,46px);letter-spacing:-1.8px;line-height:1.12;font-weight:550;margin-bottom:14px}h2{font-size:23px;font-weight:550;letter-spacing:-.6px}p{line-height:1.65}.muted{color:var(--muted);font-size:14px}.overline,.sidebar-caption,.metric-label{font-size:10px;font-weight:600;letter-spacing:1.7px}.overline{display:block;margin-bottom:17px;color:#6f8b7c}.wordmark{font-size:24px;font-weight:650;letter-spacing:-1px;display:flex;align-items:center;gap:6px}.wordmark b{font-weight:350}.wordmark-mark{font-size:20px;color:#88caa4;margin-left:auto}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:1px solid transparent;border-radius:6px;min-height:43px;padding:11px 17px;font-size:12px;font-weight:550;white-space:nowrap}.primary{background:var(--dark);color:#fff}.primary:hover{background:#2a4c4c}.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.danger{background:#a5473e;color:#fff}.text-button{border:0;background:transparent;color:#47685b;font-size:12px;padding:10px 0}.wide{width:100%;justify-content:space-between}.status-dot{display:inline-block;width:6px;height:6px;flex:none;background:#9dd9b3;border-radius:50%;margin-right:9px}label{display:block;font-size:12px;font-weight:500;margin-bottom:19px}input:not([type=file]),select{min-width:0;background:#fff;border:1px solid #dce3df;border-radius:5px;padding:12px;color:var(--ink);outline:none}label input{display:block;width:100%;margin-top:8px}input:focus,select:focus{border-color:#73aa8a;box-shadow:0 0 0 3px #73aa8a15}input[readonly]{background:#f5f7f4;color:#7a8580}.hint{color:#819089;font-size:11px;margin-top:-8px;line-height:1.6}.error,.notice{padding:13px 16px;border-radius:5px;line-height:1.6;font-size:13px;background:#fff0eb;color:#913f32;border:1px solid #ebd2c9}.notice{background:#e9f5eb;border-color:#cce1cf;color:#2f6349}#loading{padding:50px;color:#6f8b7c}.auth-screen{display:grid;grid-template-columns:47% 53%;min-height:100svh}.auth-story{background:var(--dark);color:#fff;padding:50px 12%;display:flex;flex-direction:column;overflow:hidden}.auth-story .wordmark{margin-bottom:100px}.auth-story .overline{color:#8cb69e}.auth-story h1{font-size:clamp(28px,3.4vw,49px);line-height:1.2;font-weight:450;letter-spacing:-1.8px}.auth-story p{font-size:14px;color:#a8bcb9}.pattern-art{width:115%;margin:15px -7% 20px;max-height:370px;flex:1}.story-bottom{font-size:10px;color:#98b1aa;letter-spacing:.3px;margin-top:auto;white-space:nowrap}.auth-main{padding:40px 8%;display:flex;flex-direction:column;background:#fbfcfa}.back-link{font-size:12px;color:#7c8b84}.auth-card{max-width:350px;width:100%;margin:auto;align-self:center;padding:55px 0}.auth-card h2{font-size:32px;letter-spacing:-1px;margin-bottom:10px}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:28px 0}.auth-tabs button{width:50%;padding:13px;border:0;border-bottom:2px solid transparent;background:transparent;color:#85918a;font-size:13px}.auth-tabs [aria-selected=true]{border-bottom-color:#1e3b31;color:#1e3b31}.auth-note{font-size:11px;text-align:center;color:#8b968e;line-height:1.8;margin:22px 0 0}.auth-footer{text-align:center;font-size:10px;color:#a0aaa3;letter-spacing:.3px}.cabinet{display:flex;min-height:100svh}.sidebar{width:234px;flex:none;background:#fff;border-right:1px solid var(--line);padding:32px 24px;display:flex;flex-direction:column;position:sticky;top:0;height:100svh}.sidebar .wordmark{margin:0 4px 58px}.sidebar-caption{font-size:8px;color:#a0aaa3;letter-spacing:1.3px;margin:0 10px 17px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;padding:13px 12px;margin-bottom:6px;background:none;border:0;border-radius:5px;color:#7a8983;font-size:12px;text-align:left;white-space:nowrap}.nav-item>span{font-size:17px;width:18px}.nav-item small{margin-left:auto;font-size:10px}.nav-item.active{background:#edf4ec;color:#345541}.nav-item.active small{background:#d7e9d6;padding:3px 6px;border-radius:3px}.editor-link{display:flex;justify-content:space-between;border:1px solid var(--line);padding:13px;font-size:11px;margin-top:25px;border-radius:5px}.sidebar-bottom{margin-top:auto;font-size:9px;color:#93a095;line-height:1.7}.sidebar-bottom p{font-size:10px;margin:10px 0 0;color:#b4beb7}.cabinet-body{min-width:0;flex:1;display:flex;flex-direction:column}.cabinet-header{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 4.7%;font-size:11px;color:#89958e;gap:20px}#breadcrumb span{padding:0 15px;color:#c1c9c2}.header-user{display:flex;align-items:center;gap:10px;color:#475b50}.avatar{width:30px;height:30px;display:grid;place-items:center;background:#e8eee6;border-radius:50%;font-size:11px}.header-user .text-button{margin-left:14px;color:#98a198}.content{padding:43px 4.7% 20px;max-width:1600px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.page-heading .overline{font-size:9px;margin-bottom:14px}.page-heading p{font-size:12px;margin:0}.heading-dot{color:#70a588}.overview{display:grid;grid-template-columns:1fr 1fr 2.2fr;background:#fff;border:1px solid var(--line);border-radius:7px;margin-bottom:32px;padding:25px 0}.overview>div{padding:0 27px}.overview>div+div{border-left:1px solid var(--line)}.metric-label{font-size:8px;color:#98a298;display:block;margin-bottom:10px}.overview strong{display:block;font-size:28px;font-weight:450;letter-spacing:-1px;margin-bottom:5px}.overview small{font-size:10px;color:#9ba69b}.overview-note{display:flex;align-items:center;gap:20px}.overview-note b{font-size:12px;font-weight:550}.overview-note p{font-size:11px;color:#95a094;line-height:1.6;margin:7px 0 0;max-width:320px}.mini-pattern{color:#90b49c;font-size:48px;font-family:serif}.project-toolbar{display:flex;gap:10px;margin-bottom:24px}.search-wrap{flex:1;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:5px;padding-left:12px}.search-wrap span{color:#a6b0a6;font-size:23px}.search-wrap input{border:0;box-shadow:none;flex:1;width:100%;font-size:11px}.project-toolbar select{font-size:11px;max-width:180px}.project-toolbar .button{font-size:11px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{border:1px solid var(--line);border-radius:7px;background:#fff;overflow:hidden}.project-preview{background:#eaf0e8;height:150px;display:grid;place-items:center;position:relative;background-image:linear-gradient(#7181710a 1px,transparent 1px),linear-gradient(90deg,#7181710a 1px,transparent 1px);background-size:20px 20px}.project-preview svg{width:65%;height:115px;color:#7e9b85}.project-preview .project-format{position:absolute;top:13px;left:13px;font-size:8px;letter-spacing:1.1px;color:#78927d}.project-info{padding:20px}.project-info h2{font-size:16px;margin-bottom:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.2px}.project-info p{font-size:10px;color:#9ba599;margin-bottom:17px}.project-actions{display:flex;gap:12px;align-items:center;border-top:1px solid #f0f2ee;padding-top:13px}.project-actions a{font-size:11px;color:#3f614a;margin-right:auto}.project-actions button{padding:4px 0;font-size:10px;background:none;border:0;color:#99a293}.project-actions button:hover{color:#365740}.project-actions .delete-project{color:#aa8980}.empty{text-align:center;background:#fff;border:1px dashed #d9e1d8;border-radius:7px;padding:54px 20px}.empty-icon{display:grid;place-items:center;width:55px;height:55px;margin:0 auto 22px;border:1px solid #dce9da;border-radius:50%;background:#f3f7ef;font-size:24px;color:#7a9b78}.empty h2{font-size:21px;margin-bottom:10px}.empty p{font-size:12px;color:#95a08f}.empty .text-button{display:block;margin:10px auto 0}.storage-note{font-size:10px;color:#9da696;margin:25px 0}.settings-grid,.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.settings-card{background:#fff;border:1px solid var(--line);border-radius:7px;padding:28px}.settings-card h2{font-size:19px;margin-bottom:24px}.settings-card p{font-size:13px;color:#819080}.step-number{font-size:32px;display:block;color:#adc4ac;margin-bottom:20px}.content-footer{display:flex;justify-content:space-between;padding:25px 4.7%;font-size:9px;color:#a1aa9b}.content-footer span:first-child{font-weight:600;letter-spacing:1px}dialog{max-width:440px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:10px;padding:30px;color:var(--ink)}dialog::backdrop{background:#142a2c66;backdrop-filter:blur(3px)}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}#delete-name{overflow-wrap:anywhere} @media(min-width:1550px){.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.sidebar{width:205px;padding:30px 16px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-note{gap:8px}.overview>div{padding:0 18px}.project-toolbar{flex-wrap:wrap}.search-wrap{min-width:180px}.page-heading .button{font-size:11px}}@media(max-width:760px){.cabinet{display:block}.sidebar{position:static;width:100%;height:auto;padding:20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .wordmark{margin:0 0 20px;font-size:23px}.sidebar .wordmark-mark{margin-left:0}.sidebar-caption,.sidebar-bottom,.editor-link{display:none}.sidebar nav{display:flex;gap:6px;overflow-x:auto}.nav-item{width:auto;flex:none;font-size:11px;padding:10px;margin:0}.nav-item>span{display:none}.cabinet-header{height:64px;padding:0 20px}#breadcrumb{font-size:10px}.header-user{font-size:11px}.header-user .text-button{margin-left:4px}#user-name{max-width:90px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content{padding:30px 20px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:33px}.page-heading p{max-width:240px}.overview{grid-template-columns:1fr 1fr}.overview-note{display:none}.project-grid{gap:14px}.project-info{padding:15px}.project-toolbar select{max-width:145px}.project-toolbar .button{padding:10px}.project-toolbar .search-wrap{flex-basis:100%}.settings-grid,.help-grid{grid-template-columns:1fr}.auth-screen{grid-template-columns:1fr}.auth-story{display:none}.auth-main{min-height:100svh;padding:28px 25px}.auth-card{padding:55px 0}.content-footer{padding:20px}}@media(max-width:430px){.project-grid{grid-template-columns:1fr}.page-heading{display:block}.page-heading>.button{margin-top:20px}.project-toolbar{gap:8px}.project-toolbar select{max-width:137px;font-size:10px}.project-toolbar .button{font-size:10px}.header-user .avatar{display:none}.overview>div{padding:0 20px}.overview strong{font-size:25px}#breadcrumb{max-width:150px;line-height:1.6}.project-preview{height:170px}}

.role-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}.role-guide>div{background:#fff;border:1px solid var(--line);border-radius:7px;padding:20px}.role-guide b{font-size:13px}.role-guide p{font-size:12px;color:var(--muted);margin:8px 0 0}.user-search{margin:0;font-weight:400}.users-list{display:grid;gap:12px}.user-row{display:flex;align-items:center;gap:20px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:7px}.user-details{flex:1;min-width:0}.user-details h2{font-size:16px;margin:0 0 6px;overflow-wrap:anywhere}.user-details p{margin:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.user-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.role-badge{padding:5px 8px;border-radius:4px;background:#edf4ec;color:#345541;font-size:10px}.role-badge[data-role=administrator]{background:#e6edf4;color:#325473}.role-badge[data-role=teacher]{background:#f4eddf;color:#7d6135}.users-pagination{display:flex;justify-content:flex-end;align-items:center;gap:15px;margin-top:20px;font-size:12px;color:var(--muted)}.role-options{border:0;margin:20px 0 0;padding:0;min-width:0}.role-options legend{font-size:12px;margin-bottom:14px}.role-options label{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid var(--line);border-radius:5px;margin:0 0 9px;cursor:pointer}.role-options input[type=checkbox]{display:block;flex:none;width:18px;height:18px;padding:0;margin:1px 0 0;accent-color:var(--dark)}.role-options small{display:block;font-size:11px;color:var(--muted);margin-top:5px;font-weight:400}#user-dialog{max-width:520px;max-height:calc(100svh - 32px);overflow:auto}#user-edit-label{overflow-wrap:anywhere}#user-form .dialog-actions{position:sticky;bottom:-30px;background:#fff;padding:14px 0 0;margin-bottom:0}#user-form .dialog-actions .button{white-space:normal}#user-dialog-error{margin-top:20px}#user-role-filter{max-width:220px}@media(max-width:900px){.role-guide{grid-template-columns:1fr;gap:10px}.role-guide>div{padding:16px}.user-row{align-items:flex-start}}@media(max-width:500px){.user-row{flex-direction:column;gap:14px;padding:16px}.user-row>.button{align-self:flex-end}.users-pagination{justify-content:space-between;gap:8px}.users-pagination .button{padding:10px}.role-guide p{font-size:11px}#user-dialog{padding:22px}#user-form .dialog-actions{bottom:-22px}}

.billing-overline{display:block;font-size:9px;line-height:1.6;letter-spacing:1.5px;font-weight:600;color:#829276}.subscription-summary{display:grid;grid-template-columns:1fr 1.2fr auto;gap:25px;align-items:center;margin:0 0 34px;padding:25px 28px;border:1px solid #d7e2cd;background:#edf3e5;border-radius:8px;min-width:0}.subscription-summary h2{font-size:22px;margin:8px 0}.subscription-summary p{font-size:12px;color:#69805b;margin:0;line-height:1.6}.subscription-summary-period{min-width:0}.subscription-summary-period>strong{display:block;font-size:21px;font-weight:500;letter-spacing:-.5px;margin:9px 0}.subscription-summary-period>span:last-child{font-size:10px;line-height:1.8;color:#7a8e6b;display:block}.subscription-summary-actions{display:flex;align-items:flex-end;flex-direction:column;gap:15px}.subscription-summary-actions .button{font-size:11px}.subscription-badge{display:inline-flex;align-items:center;white-space:normal;line-height:1.5;font-size:10px;font-weight:550;padding:6px 10px;border-radius:4px;background:#e3edda;color:#50723b}.subscription-badge[data-status=trial]{background:#e2edfa;color:#365e80}.subscription-badge[data-status=paused]{background:#faf0d7;color:#8c6c2b}.subscription-badge[data-status=trial_expired],.subscription-badge[data-status=expired],.subscription-badge[data-status=cancelled]{background:#f4e4e0;color:#a05145}.subscription-detail-card{padding:32px;border:1px solid var(--line);border-radius:8px;background:white;max-width:920px}.subscription-detail-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.subscription-detail-heading h2{margin:12px 0;font-size:30px}.subscription-detail-heading p{font-size:15px;color:#6c805e}.subscription-countdown{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0}.subscription-countdown>strong{font-size:23px;font-weight:500;display:block;line-height:1.4}.subscription-countdown progress{appearance:none;width:100%;height:7px;border:0;border-radius:5px;margin-top:17px;background:#eaf0e4}.subscription-countdown progress::-webkit-progress-bar{background:#eaf0e4;border-radius:5px}.subscription-countdown progress::-webkit-progress-value{background:#89ab65;border-radius:5px}.subscription-countdown progress::-moz-progress-bar{background:#89ab65;border-radius:5px}.subscription-dates{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:25px 0}.subscription-dates dt{font-size:10px;color:#8a987e;line-height:1.7}.subscription-dates dd{font-size:12px;line-height:1.8;margin:9px 0 0}.subscription-detail-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:26px}.subscription-detail-actions .button{white-space:normal;text-align:left}.subscription-summary h2,.subscription-detail-card h2{overflow-wrap:anywhere}
@media(max-width:1000px){.subscription-summary{grid-template-columns:1fr 1fr;padding:22px;gap:20px}.subscription-summary-actions{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.subscription-dates{grid-template-columns:1fr}}
@media(max-width:500px){.subscription-summary{grid-template-columns:1fr;padding:20px;gap:18px;margin-bottom:25px}.subscription-summary-period>strong{font-size:22px}.subscription-summary-actions{grid-column:auto}.subscription-detail-card{padding:22px}.subscription-detail-heading{flex-direction:column}.subscription-detail-heading h2{font-size:27px}.subscription-detail-actions{flex-direction:column}.subscription-detail-actions .button{justify-content:space-between}.subscription-countdown>strong{font-size:21px}}
