:root{--navy:#142638;--navy-soft:#1e364b;--teal:#087f8c;--teal-hover:#066b76;--mint:#e5f3ec;--yellow:#f3cd72;--bg:#f5f7fa;--white:#fff;--text:#17283d;--muted:#63738a;--line:#e2e8ef;--danger:#ad3546;--radius:13px;--shadow:0 8px 30px #14263808;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:var(--teal);text-decoration:none}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #087f8c70}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:730;margin-bottom:10px}h2{font-size:19px;line-height:1.35;letter-spacing:-.45px;margin-bottom:0}h3{font-size:16px;line-height:1.4;margin-bottom:7px}p{line-height:1.7}small{font-size:12px}.icon{width:23px;height:23px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;flex-shrink:0}.icon.small{width:17px;height:17px}.logo-icon{width:43px;height:43px;stroke-width:1.4}.muted{color:var(--muted)}.body-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.skip-link{position:fixed;top:-80px;left:16px;padding:12px 18px;background:white;border:2px solid var(--teal);z-index:100}.skip-link:focus{top:12px}.brand{display:flex;align-items:center;gap:13px;color:var(--navy);min-width:0}.brand strong{font-size:25px;letter-spacing:-.7px;font-weight:720;overflow-wrap:anywhere}.brand small{display:block;font-size:10px;font-weight:400;margin-top:4px;letter-spacing:.15px}.brand-light{color:#fff}.brand-light small{color:#c3ced9}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:11px 17px;border-radius:8px;font-size:13px;font-weight:650;border:1px solid transparent;transition:background .15s,transform .15s;text-align:center}.button:hover{transform:translateY(-1px)}.button.primary{color:white;background:var(--teal)}.button.primary:hover{background:var(--teal-hover)}.button.secondary{color:var(--teal);background:white;border-color:var(--teal)}.button.ghost{color:var(--muted);background:#f7f9fb;border-color:var(--line)}.button.danger{color:var(--danger);background:#fff3f4;border-color:#f1d1d6}.button.full{width:100%}.button.small{min-height:34px;padding:7px 11px;font-size:12px}.button .icon{width:18px;height:18px}.icon-button{display:inline-grid;place-items:center;width:39px;height:39px;border:0;background:transparent;border-radius:9px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:#edf3f6;color:var(--teal)}.icon-button.active{color:var(--teal);background:var(--mint)}.icon-button.active .icon{fill:#087f8c15}.icon-button.danger:hover{color:var(--danger);background:#fff0f2}.text-button{background:none;border:0;color:var(--teal);padding:0;line-height:1.5;font-size:13px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:30px;font-size:11px;font-weight:550;padding:5px 9px;line-height:1.3;white-space:nowrap}.badge .icon{width:15px;height:15px}.badge.mint{color:#067781;background:var(--mint)}.badge.amber{color:#715115;background:#fff1cf}.badge.blue{color:#345c91;background:#eaf1fc}.badge.red{color:var(--danger);background:#fdecef}.badge.neutral{background:#edf1f5;color:#607086}.eyebrow{font-size:12px;letter-spacing:1.6px;text-transform:uppercase}.loading-screen{position:fixed;inset:0;display:flex;flex-direction:column;gap:18px;align-items:center;justify-content:center;background:var(--bg);padding:30px;text-align:center}.loading-screen strong{font-size:26px}.loading-screen span{font-size:14px;color:var(--muted)}.loader{width:25px;height:25px;border:2px solid #d7e6e9;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}.loading-error{max-width:470px}.noscript{position:fixed;inset:0;display:grid;place-content:center;background:var(--bg);padding:30px;z-index:200}
.auth-screen{min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(360px,46%) 1fr}.auth-story{background:var(--navy);color:white;padding:42px 10%;display:flex;flex-direction:column;overflow:hidden;position:relative}.auth-story:after{content:"";position:absolute;inset:55% -60% -60% 10%;background:radial-gradient(ellipse,#087f8c30,transparent 65%);pointer-events:none}.auth-story-main{margin:auto 0;padding-block:60px 20px;position:relative;z-index:1}.auth-story-main .eyebrow{color:#aaccc7;font-size:10px;letter-spacing:1.25px}.auth-story h1{font-size:clamp(36px,3.8vw,56px);line-height:1.18;letter-spacing:-2px;margin-top:22px}.auth-story h1 span{color:#bde4d5}.auth-story-main p{max-width:360px;color:#b8c9d7;font-size:14px;margin-top:24px}.auth-art{display:block;width:86%;max-width:350px;height:auto;margin:20px auto 0}.auth-independent{color:#a9bdcb;font-size:11px;position:relative;z-index:1;margin-bottom:0}.auth-content{display:flex;flex-direction:column;align-items:center;padding:64px 36px 28px;background:#fbfcfd;min-width:0}.auth-center{width:100%;max-width:400px;margin:auto 0}.auth-center>.badge{margin-bottom:25px}.auth-center h1{font-size:29px;margin-bottom:9px}.auth-intro{font-size:14px;color:var(--muted);margin-bottom:30px}.auth-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:27px;box-shadow:var(--shadow)}.auth-card h2{font-size:21px;margin-bottom:22px}.auth-card .button.full{margin-top:14px}.auth-footer{font-size:11px;text-align:center;color:var(--muted);line-height:1.7;margin-top:45px}.auth-links{display:flex;justify-content:space-between;gap:16px;font-size:12px;margin-top:21px;line-height:1.7;flex-wrap:wrap}.auth-register-link{text-align:center;font-size:12px;margin:22px 0 0;color:var(--muted)}.auth-information{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;display:flex;gap:10px;color:var(--muted);font-size:11px;line-height:1.6}.auth-information .icon{width:18px;height:18px}.mobile-brand{display:none}.auth-success{background:var(--mint);padding:18px;border-radius:9px;color:#186258;line-height:1.7;font-size:14px}.field{display:block;margin-bottom:18px}.field>span,.field-label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.field input,.field select,.field textarea,.filter-select{width:100%;padding:11px 12px;min-height:42px;border:1px solid #d7e0e9;border-radius:7px;background:#fbfcfe;color:var(--text);font-size:13px}.field textarea{resize:vertical;min-height:105px;line-height:1.6}.field input::placeholder,.field textarea::placeholder{color:#8894a4}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);background:white}.field small{display:block;color:var(--muted);font-size:11px;line-height:1.65;margin-top:7px}.password-wrap{position:relative}.password-wrap input{padding-right:45px}.password-wrap .icon-button{position:absolute;right:3px;top:2px;width:36px;height:36px}.password-wrap .icon{width:18px;height:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-error{border:1px solid #efced5;background:#fff3f5;padding:11px 13px;border-radius:7px;color:var(--danger);font-size:12px;line-height:1.6;margin-bottom:16px}.form-error:empty{display:none}.checkbox-field{display:flex;gap:10px;align-items:flex-start;line-height:1.6;font-size:13px;margin:10px 0 25px}.checkbox-field input{accent-color:var(--teal);width:17px;height:17px;margin-top:2px}.form-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}
.app-screen{min-height:100vh}.sidebar{width:246px;position:fixed;left:0;top:0;bottom:0;z-index:30;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:35px 21px 23px}.sidebar .brand{padding:0 8px;gap:12px}.sidebar .brand strong{font-size:23px}.sidebar .logo-icon{width:40px;height:40px}.navigation{display:flex;flex-direction:column;gap:9px;margin-top:44px;overflow-y:auto}.navigation a{display:flex;align-items:center;gap:13px;color:#e6eef4;min-height:47px;padding:11px 13px;border-radius:8px;font-size:13px;line-height:1.5}.navigation a:hover{background:#ffffff0a}.navigation a.active{background:var(--mint);color:var(--navy);font-weight:650}.navigation .icon{width:22px;height:22px}.nav-label{display:block;color:#8fa7bb;text-transform:uppercase;letter-spacing:1.3px;font-size:9px;margin:24px 14px 10px}.nav-count{margin-left:auto;border-radius:50%;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;background:var(--yellow);color:var(--navy);font-size:10px}.sidebar-footer{display:flex;gap:9px;margin-top:auto;padding:22px 9px 0;border-top:1px solid #ffffff20;color:#bfd0dc}.sidebar-footer>.icon{width:17px;height:17px;margin-top:3px}.sidebar-footer p{font-size:10px;margin:0;line-height:1.8}.sidebar-footer span{display:block;font-size:9px;color:#8fa7bb}.app-main{margin-left:246px;display:flex;flex-direction:column;min-height:100vh}.topbar{display:flex;align-items:center;gap:18px;min-height:86px;padding:18px 35px;background:#ffffffeb;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.global-search{display:flex;align-items:center;gap:11px;width:min(100%,540px);padding:0 13px;background:#f7f9fc;border:1px solid #dce4ec;border-radius:8px;height:41px}.global-search .icon{width:19px;height:19px;color:#61738a}.global-search input{flex:1;min-width:0;background:transparent;border:0;color:var(--text);font-size:12px;height:100%;outline:none}.global-search:focus-within{outline:2px solid #087f8c55}.global-search input::placeholder{color:#78869a}.global-search kbd{color:#a1adba;font-size:14px}.topbar-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.topbar-divider{width:1px;height:25px;background:var(--line)}.account-button{display:flex;align-items:center;gap:10px;background:none;border:0;color:var(--muted);padding:0}.avatar{display:grid;place-items:center;width:36px;height:36px;background:var(--teal);border-radius:50%;color:#fff;font-size:11px;font-weight:650}.main-content{padding:34px 35px 45px;width:100%;max-width:1420px;margin:0 auto;flex:1;outline:none}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:27px}.page-heading p{margin:0;color:var(--muted);font-size:14px}.page-heading>.button{flex-shrink:0;margin-top:2px}.welcome{margin-bottom:25px}.hero-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--mint);border-radius:var(--radius);padding:32px;min-height:208px;overflow:hidden}.hero-panel h2{font-size:31px;letter-spacing:-1.1px;margin-bottom:9px}.hero-panel p{font-size:14px;line-height:1.6;margin-bottom:23px;color:#3b5865}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.hero-panel img{width:240px;height:160px;object-fit:contain;flex-shrink:0}.subjects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-block:17px 23px}.subject-card{display:flex;align-items:center;gap:13px;background:white;padding:15px 17px;border:1px solid var(--line);border-radius:11px;color:var(--text);text-align:left;min-width:0}.subject-card:hover{border-color:#087f8c70;box-shadow:var(--shadow)}.subject-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:10px;background:var(--mint);color:var(--teal);flex-shrink:0}.subject-icon .icon{width:28px;height:28px}.subject-card>span:nth-child(2){font-size:12px;font-weight:650;overflow-wrap:anywhere}.subject-card>.icon{margin-left:auto;width:15px;height:15px;color:var(--muted)}[data-color=blue] .subject-icon{background:#eaf1fc;color:#345c91}[data-color=amber] .subject-icon{background:#fff1cf;color:#9d761a}[data-color=violet] .subject-icon{background:#eeebfa;color:#7460a7}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:20px;align-items:start}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:var(--shadow);padding:22px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-header a,.panel-header>.text-button{font-size:11px;white-space:nowrap}.panel-header a .icon{width:13px;height:13px}.resource-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.resource-row:last-child{border-bottom:0;padding-bottom:4px}.resource-row:first-child{padding-top:1px}.file-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:39px;height:48px;border-radius:7px;background:#fff0f2;color:#c14b5c;flex-shrink:0}.file-badge .icon{width:20px;height:20px}.file-badge span{font-size:7px;font-weight:700}.file-badge[data-type=txt],.file-badge[data-type=md]{background:#eaf2fd;color:#476dbb}.file-badge[data-type=png],.file-badge[data-type=jpg],.file-badge[data-type=jpeg]{background:#e4f4eb;color:#438265}.resource-info{min-width:0;flex:1}.resource-title{display:block;color:var(--text);font-size:13px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.resource-title:hover{color:var(--teal)}.resource-info p{font-size:11px;color:var(--muted);line-height:1.5;margin:5px 0 0}.resource-actions{display:flex;align-items:center;gap:3px;flex-shrink:0}.resource-actions .icon-button{width:31px;height:33px}.resource-actions .icon{width:17px;height:17px}.resource-description{font-size:12px;color:var(--muted);margin:7px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.board-item{display:flex;align-items:flex-start;gap:12px;padding:18px 0;border-top:1px solid var(--line)}.board-item:first-child{border-top:0;padding-top:0}.board-item:last-child{padding-bottom:0}.board-item .subject-icon{width:36px;height:36px;border-radius:9px}.board-item .subject-icon .icon{width:22px;height:22px}.board-item .badge{font-size:9px;padding:3px 8px;margin-bottom:7px}.board-item h3{font-size:12px;margin-bottom:5px}.board-item p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.board-item .text-button{font-size:12px;color:var(--text);text-align:left;font-weight:600}.board-item .text-button:hover{color:var(--teal)}.section-spacer{margin-top:24px}.empty-state{padding:34px 20px;text-align:center;color:var(--muted)}.empty-state>.icon{width:34px;height:34px;color:#9fb7be;margin-bottom:14px}.empty-state h3{font-size:15px;color:var(--text)}.empty-state p{font-size:12px;max-width:330px;margin:0 auto 17px}.empty-state .button{font-size:12px}.filter-bar{display:flex;align-items:center;gap:12px;margin-bottom:21px;flex-wrap:wrap}.filter-select{width:auto;max-width:280px;min-height:38px;font-size:12px;background:white}.filter-note{color:var(--muted);font-size:12px;margin-left:auto}.question-list{display:grid;gap:13px}.question-card{display:block;width:100%;padding:21px 23px;border:1px solid var(--line);border-radius:11px;background:white;text-align:left;color:var(--text)}.question-card:hover{border-color:#087f8c70}.question-top{display:flex;align-items:center;gap:9px;margin-bottom:11px}.question-card h3{font-size:16px;margin-bottom:9px}.question-preview{color:var(--muted);font-size:12px;line-height:1.7;margin-bottom:14px;overflow-wrap:anywhere}.meta-line{display:flex;gap:15px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.6}.meta-line>.reply-count{margin-left:auto;color:var(--teal)}.meta-line .icon{width:14px;height:14px}.event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.event-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px}.event-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.event-date{display:flex;align-items:center;gap:12px;color:var(--teal);margin-bottom:15px}.event-date>.icon{width:32px;height:32px}.event-date strong{display:block;color:var(--text);font-size:14px}.event-date span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.event-card .body-text{font-size:13px;color:var(--muted)}.event-card>.meta-line{border-top:1px solid var(--line);padding-top:16px;margin-top:17px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;color:var(--muted);font-size:12px}.search-title{margin-top:30px;margin-bottom:17px}.app-footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#8190a2;padding:18px 35px;border-top:1px solid var(--line)}.tabs{display:flex;gap:8px;margin-bottom:23px;flex-wrap:wrap}.tabs button{border:1px solid var(--line);background:white;color:var(--muted);border-radius:25px;font-size:11px;padding:9px 13px}.tabs button.active{background:var(--mint);border-color:#bedbce;color:var(--teal)}.user-list{display:grid;gap:13px}.user-card{background:#fff;padding:21px;border:1px solid var(--line);border-radius:11px;display:flex;align-items:flex-start;gap:15px}.user-content{flex:1;min-width:0}.user-content h3{font-size:14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.user-email{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-bottom:10px}.user-content .meta-line{font-size:10px}.user-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:260px;margin-left:auto}.settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,1fr);gap:22px;align-items:start}.settings-grid .panel-header{margin-bottom:25px}.info-note{display:flex;align-items:flex-start;gap:10px;background:#f0f6f8;border:1px solid #deeaee;padding:13px;border-radius:8px;font-size:12px;line-height:1.65;color:#526d7c;margin-bottom:22px}.info-note .icon{width:18px;height:18px;margin-top:2px}.subject-edit-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.subject-edit-row:last-child{border:0}.subject-edit-row .subject-icon{width:35px;height:35px}.subject-edit-row .subject-icon .icon{width:20px;height:20px}.subject-edit-row strong{font-size:12px;flex:1}.subject-edit-row button{font-size:11px}.menu-toggle{display:none}.sidebar-overlay{position:fixed;inset:0;background:#14263870;z-index:25;border:0}
dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(640px,calc(100% - 32px));max-height:90vh;max-height:90svh;color:var(--text);box-shadow:0 25px 90px #14263830;background:white}dialog::backdrop{background:#14263877;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-header h2{font-size:19px;overflow-wrap:anywhere}.modal-body{padding:25px}.modal-body>.body-text{font-size:14px}.modal-body .form-actions{margin-bottom:0}.question-body{font-size:14px;margin:23px 0}.answer-list{margin-top:25px}.answer-card{background:#f5f8fb;padding:18px;border:1px solid var(--line);border-radius:9px;margin-bottom:13px}.answer-card .meta-line{margin-bottom:12px;justify-content:space-between}.answer-card .body-text{font-size:13px;margin:0}.question-controls{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);z-index:100;background:var(--navy);color:white;padding:14px 20px;border-radius:10px;box-shadow:0 10px 40px #14263830;font-size:13px;line-height:1.6;text-align:center;pointer-events:none}.toast.error{background:#913549}.upload-hint{font-size:11px;color:var(--muted);line-height:1.7;padding:13px;border:1px dashed #cedce1;border-radius:8px;background:#f8fbfc}.account-info{display:flex;align-items:center;gap:14px;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:23px}.account-info .avatar{width:50px;height:50px;font-size:15px}.account-info strong{display:block}.account-info p{font-size:12px;color:var(--muted);margin:6px 0 0;overflow-wrap:anywhere}.account-links{display:flex;gap:12px;flex-wrap:wrap}.skeleton{height:95px;border-radius:12px;border:1px solid var(--line);background:linear-gradient(90deg,#fff,#edf2f6,#fff);background-size:200% 100%;animation:shimmer 1.4s ease infinite;margin-bottom:16px}.page-loading{padding-top:10px}.skeleton:first-child{height:140px}.result-count{font-weight:400;color:var(--muted);font-size:12px;letter-spacing:0;margin-left:8px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(min-width:1600px){.main-content{padding-top:43px}.hero-panel{padding:40px}.hero-panel img{width:285px;height:190px}}
@media(max-width:1200px){.sidebar{width:220px;padding-inline:15px}.sidebar .brand{gap:9px}.sidebar .brand strong{font-size:21px}.app-main{margin-left:220px}.main-content{padding-inline:25px}.topbar{padding-inline:25px}.hero-panel{padding:27px}.hero-panel img{width:185px;height:145px}.hero-panel h2{font-size:27px}.hero-panel p{font-size:13px}.subject-card{padding:13px;gap:9px}.subject-card .subject-icon{width:38px;height:38px}.subject-card>span:nth-child(2){font-size:11px}.panel{padding:19px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.resource-actions .favorite-button{display:none}.settings-grid{grid-template-columns:1fr}.auth-story{padding-inline:9%}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.hero-panel img{width:210px;height:150px}.resource-actions .favorite-button{display:grid}.subjects-grid{gap:10px}.subject-card>.icon{display:none}.auth-screen{grid-template-columns:minmax(330px,43%) 1fr}.auth-content{padding-inline:30px}.auth-story h1{font-size:37px}.auth-story-main p{font-size:13px}.user-card{flex-wrap:wrap}.user-actions{margin-left:51px;max-width:none;justify-content:flex-start}.event-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:248px;transition:transform .2s}.sidebar.open{transform:translateX(0)}.app-main{margin-left:0}.menu-toggle{display:grid}.topbar{min-height:72px;padding:14px 18px;gap:10px}.global-search{height:39px;gap:7px;padding:0 10px}.global-search input{font-size:11px}.global-search kbd,.topbar-divider,.account-button>.icon{display:none}.topbar-actions{gap:5px}.topbar-actions>.icon-button{width:33px}.avatar{width:32px;height:32px}.main-content{padding:28px 20px 35px}.page-heading h1,h1{font-size:26px}.page-heading p{font-size:12px}.page-heading{gap:15px}.page-heading>.button{font-size:11px;padding:10px 12px;gap:6px}.hero-panel{padding:27px 23px;gap:0}.hero-panel h2{font-size:28px}.hero-panel img{width:155px;height:140px;margin-right:-10px}.hero-panel p{max-width:270px}.subjects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.subject-card{flex-direction:column;gap:9px;text-align:center;padding:15px 7px}.subject-card>span:nth-child(2){font-size:10px}.subject-card .subject-icon{width:37px;height:37px}.subject-card .subject-icon .icon{width:24px;height:24px}.app-footer{padding-inline:20px;font-size:9px}.auth-screen{display:block;background:#f5f8fb}.auth-story{display:none}.auth-content{min-height:100vh;min-height:100svh;padding:35px 24px 24px;background:radial-gradient(ellipse at 50% 100%,#e5f3ec 0,transparent 50%),#f9fbfd}.mobile-brand{display:flex;justify-content:center;margin-bottom:35px}.mobile-brand strong{font-size:28px}.auth-center{margin:0 auto}.auth-center>.badge{display:flex;width:max-content;margin:0 auto 25px}.auth-center h1{text-align:center;font-size:27px}.auth-intro{text-align:center}.auth-card{padding:25px}.auth-footer{margin-top:auto;padding-top:35px}.filter-bar{gap:10px}.filter-select{max-width:100%;flex:1}.filter-note{width:100%;margin-left:0}.form-row{grid-template-columns:1fr;gap:0}.modal-body{padding:21px}.modal-header{padding:16px 20px}.modal-header h2{font-size:17px}.user-card{padding:18px}.tabs{gap:6px}.tabs button{font-size:10px;padding:9px 10px}}
@media(max-width:430px){.topbar{padding-inline:12px;gap:5px}.global-search input::placeholder{color:transparent}.global-search input{font-size:12px}.topbar .menu-toggle{width:32px}.global-search{padding-inline:9px}.topbar-actions{gap:2px}.main-content{padding-inline:16px}.hero-panel{position:relative;padding:25px 20px}.hero-panel>div{position:relative;z-index:1}.hero-panel img{position:absolute;right:-40px;bottom:25px;width:150px;opacity:.17;z-index:0}.hero-panel h2{font-size:27px}.hero-panel p{max-width:260px;font-size:12px}.hero-buttons{gap:9px}.hero-buttons .button{font-size:11px;padding:10px 13px}.welcome p{font-size:12px}.welcome h1{font-size:26px}.page-heading{flex-wrap:wrap}.page-heading>.button{margin:0}.resource-row{gap:10px}.resource-title{font-size:12px}.resource-info p{font-size:10px}.resource-actions .icon-button{width:28px}.file-badge{width:33px;height:43px}.panel{padding:18px}.resource-actions .delete-button{display:none}.question-card{padding:19px}.question-card h3{font-size:14px}.subject-card>span:nth-child(2){font-size:9px}.subject-card .subject-icon{width:32px;height:32px}.subject-card .subject-icon .icon{width:21px;height:21px}.app-footer{gap:12px;font-size:8px}.auth-center h1{font-size:25px}.auth-card{padding:23px}.auth-links{font-size:11px;gap:10px}.user-card>.avatar{display:none}.user-actions{margin-left:0}.user-content{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.material-title-button{border:0;background:none;padding:0;text-align:left}
.material-file-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid var(--line)}
.material-file-row:last-child{border-bottom:0}
.material-file-row>div{flex:1;min-width:0}
.material-file-row strong{display:block;font-size:13px;overflow-wrap:anywhere;line-height:1.5}
.material-file-row small{display:block;color:var(--muted);margin-top:5px;font-size:11px}
.upload-settings{border-top:1px solid var(--line);padding-top:23px;margin:24px 0}
.upload-settings>h3{font-size:16px}
.upload-types-group{border:1px solid var(--line);border-radius:8px;padding:13px;margin:15px 0}
.upload-types-group legend{font-size:12px;font-weight:600;padding:0 6px}
.upload-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.upload-choice{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;cursor:pointer;min-width:0}
.upload-choice input{accent-color:var(--teal);width:16px;height:16px;margin:1px 0 0;flex-shrink:0}
.upload-choice span{overflow-wrap:anywhere}
.selected-upload-files{margin-bottom:20px;padding:14px;background:#f3f8f7;border:1px solid #d8e6df;border-radius:8px}
.selected-upload-files>p{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:0 0 10px;flex-wrap:wrap}
.selected-upload-files ul{padding:0;margin:0;list-style:none}
.selected-upload-files li{display:flex;align-items:center;gap:8px;padding:7px 0;font-size:12px;border-top:1px solid #d8e6df}
.selected-upload-files li>span{flex:1;min-width:0;overflow-wrap:anywhere}
.selected-upload-files small{font-size:10px;color:var(--muted);white-space:nowrap}
@media(max-width:430px){.upload-type-options{grid-template-columns:1fr}.selected-upload-files{padding:12px}}

.form-error{overflow-wrap:anywhere}
.upload-health{border:1px solid var(--line);border-radius:8px;padding:14px;margin-top:18px}
.upload-health h4{font-size:12px;margin:0 0 12px}
.upload-health ul{list-style:none;margin:0;padding:0}
.upload-health li{display:flex;align-items:flex-start;gap:8px;font-size:11px;margin:9px 0}
.upload-health li.ok>.icon{color:var(--teal)}
.upload-health li.failed>.icon{color:var(--danger)}
.upload-health strong{font-weight:500}
.upload-health small{display:block;font-size:11px;color:var(--danger);line-height:1.6;margin-top:4px}

/* Materialordner und Unterkategorien */
.material-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-8px 0 24px;font-size:12px;color:var(--muted)}
.material-breadcrumb .text-button{font-size:12px;text-align:left;overflow-wrap:anywhere}
.material-breadcrumb>span{overflow-wrap:anywhere}
.material-breadcrumb>.icon{width:13px;height:13px}
.material-filters>label{min-width:0;max-width:100%}
.material-filters .filter-select{width:100%;max-width:330px}
.material-folders{margin-bottom:27px}
.folder-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;flex-wrap:wrap}
.folder-heading h2{font-size:17px}
.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:13px}
.category-card{display:flex;align-items:center;gap:13px;min-width:0;padding:21px 18px;text-align:left;color:var(--text);background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.category-card:hover{border-color:var(--teal);background:#fcfefe}
.category-icon{display:grid;place-items:center;width:45px;height:45px;flex-shrink:0;border-radius:10px;background:var(--mint);color:var(--teal)}
.category-card-content{flex:1;min-width:0}
.category-card strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.category-card small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}
.category-card>.icon{color:var(--muted);width:15px;height:15px}
.category-help{color:var(--muted);font-size:12px;margin:12px 0 0;line-height:1.7}
.uncategorized-heading{font-size:17px;margin:26px 0 15px}
.settings-side{display:grid;gap:22px;min-width:0}
.category-subject{border-top:1px solid var(--line)}
.category-subject summary{cursor:pointer;padding:15px 0;font-size:12px;overflow-wrap:anywhere}
.category-subject summary>span{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:12px;background:var(--mint);color:var(--teal);font-size:10px}
.category-subject-content{padding:0 0 18px 9px}
.category-edit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);margin-bottom:9px}
.category-edit-row>span{display:flex;align-items:center;gap:9px;min-width:0;font-size:12px}
.category-edit-row strong{overflow-wrap:anywhere}
.category-edit-row>div{display:flex;align-items:center;gap:10px;flex-shrink:0}
.category-edit-row .text-button{font-size:11px}
.category-edit-row .icon{color:var(--teal)}
@media(max-width:760px){.material-filters>label{flex:1 1 180px}.material-filters .filter-select{max-width:100%}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{padding:17px 13px;gap:10px}.category-icon{width:36px;height:36px}.category-card strong{font-size:12px}.category-card>.icon{display:none}}
@media(max-width:480px){.category-grid{grid-template-columns:1fr}.material-filters>label{flex-basis:100%}.resource-row{display:grid;grid-template-columns:33px minmax(0,1fr);align-items:start}.resource-actions{grid-column:2;justify-content:flex-end;gap:7px}.resource-actions .icon-button{width:36px;height:36px}.resource-actions .delete-button{display:grid}.folder-heading .button{font-size:11px}.category-edit-row{flex-wrap:wrap}.category-edit-row>div{margin-left:auto}}

/* Ankündigungen und eigene Bildsymbole */
.announcement-section{margin:26px 0}
.announcement-section>.folder-heading h2{font-size:19px}
.announcement-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}
.announcement-card{min-width:0;padding:21px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.announcement-card.is-pinned{border-top:3px solid var(--yellow);padding-top:19px}
.announcement-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:13px}
.announcement-meta .badge{font-size:10px}
.announcement-title{color:var(--text);font-size:16px;font-weight:700;text-align:left;overflow-wrap:anywhere}
.announcement-title:hover{color:var(--teal)}
.announcement-card h3{margin-bottom:10px}
.announcement-preview{font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:14px}
.announcement-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.announcement-actions .text-button{font-size:12px}
.announcement-list{display:grid;gap:17px;max-width:1000px}
.announcement-list .announcement-card{padding:25px}
.announcement-list .announcement-card.is-pinned{padding-top:23px}
.announcement-body{font-size:14px;margin:23px 0;line-height:1.85}
.custom-symbol{display:block;width:100%;height:100%;object-fit:contain;padding:3px;border-radius:inherit}
.file-badge.has-custom-symbol{background:#f6f9fc;border:1px solid var(--line)}
.file-badge .custom-symbol{height:30px;min-height:0}
.category-row-symbol{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0}
.category-edit-row>.category-row-symbol{width:26px}
.symbol-editor-preview{display:flex;align-items:center;gap:18px;margin-bottom:25px;min-width:0}
.symbol-editor-preview>div{min-width:0}
.symbol-editor-preview strong{font-size:14px;overflow-wrap:anywhere}
.symbol-editor-preview p{margin:5px 0 0}
.symbol-preview{display:grid;place-items:center;width:86px;height:86px;flex-shrink:0;background:#f6f9fc;border:1px solid var(--line);border-radius:13px;color:var(--teal)}
.symbol-preview>.icon{width:42px;height:42px}
.symbol-preview>.custom-symbol{padding:10px}
@media(max-width:760px){.announcement-grid{grid-template-columns:1fr}.announcement-section>.folder-heading{align-items:flex-start}.announcement-list .announcement-card{padding:20px}.announcement-section .announcement-actions .button{font-size:11px}.symbol-editor-preview{gap:13px}.symbol-preview{width:70px;height:70px}}

/* Verschachtelte Ordner, Bildansicht und Lehrerbereich */
.category-tile{min-width:0;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.category-tile .category-card{width:100%;border:0;box-shadow:none;border-radius:11px 11px 0 0;background:transparent}
.category-tile .category-card:hover{background:#f6fbf9}
.category-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 17px;border-top:1px solid var(--line);flex-wrap:wrap}
.category-card-actions .text-button{font-size:11px}
.current-folder-tools{display:flex;align-items:center;gap:14px;margin:-10px 0 17px}
.current-folder-tools .text-button{font-size:12px}
.current-folder-tools .icon{margin-right:6px}
.material-picture{padding:15px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.material-picture:last-child{border-bottom:0}
.material-picture>div{flex:1;min-width:0}
.material-picture strong{display:block;font-size:13px;overflow-wrap:anywhere}
.material-picture small{display:block;color:var(--muted);font-size:11px;margin-top:6px}
.image-thumbnail{display:grid;place-items:center;width:100%;height:180px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#f5f8fb;padding:8px}
.image-thumbnail>img{max-width:100%;max-height:162px;object-fit:contain}

.image-caption{font-size:12px;color:var(--muted);text-align:center;overflow-wrap:anywhere;margin:16px 0}
.image-navigation{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:var(--muted);margin:15px 0}
.material-image-view>.text-button{display:block;margin:20px auto 0;font-size:12px}
.teacher-search{display:flex;align-items:flex-end;gap:12px;margin-bottom:20px;max-width:650px;flex-wrap:wrap}
.teacher-search>.form-error{flex-basis:100%;margin:0}
.teacher-search>label{flex:1;min-width:180px}
.teacher-search input{width:100%;border:1px solid var(--line);border-radius:8px;background:white;padding:11px 13px;font-size:13px;color:var(--text)}
.teacher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:17px}
.teacher-card{min-width:0;background:white;border:1px solid var(--line);border-radius:13px;padding:23px;box-shadow:var(--shadow)}
.teacher-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.teacher-card-heading .subject-icon{width:41px;height:41px}
.teacher-card-heading h3{margin:0;min-width:0}
.teacher-title{font-size:16px;font-weight:700;color:var(--text);text-align:left;overflow-wrap:anywhere}
.teacher-title:hover{color:var(--teal)}
.teacher-subjects{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}
.teacher-subjects .badge{white-space:normal}
.teacher-summary{font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:20px}
.teacher-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted);flex-wrap:wrap}
.teacher-card-footer .text-button{font-size:12px}
.teacher-description{font-size:14px;line-height:1.85;margin:20px 0}
.teacher-profile-meta{color:var(--muted);font-size:11px;line-height:1.7;padding-bottom:18px;border-bottom:1px solid var(--line)}
.teacher-profile-meta .announcement-actions{margin-top:12px}
.teacher-note{background:#f7f9fc;border:1px solid var(--line);border-radius:10px;padding:18px;margin:14px 0}
.teacher-note .badge{white-space:normal}
.teacher-note .body-text{font-size:13px;margin:15px 0;line-height:1.85}
.teacher-note-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px}
.teacher-note-compose{margin-top:27px;border-top:1px solid var(--line);padding-top:22px}
.teacher-note-compose>h3{margin-bottom:20px}
.user-class{color:var(--muted);font-size:11px;margin-bottom:12px}
@media(max-width:760px){.teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-card{padding:19px}.teacher-card-heading{align-items:flex-start}.teacher-title{font-size:14px}.teacher-search>.button{font-size:12px}}
@media(max-width:480px){.teacher-grid{grid-template-columns:1fr}.teacher-search{gap:10px}.teacher-search>label{min-width:0;flex-basis:100%}.teacher-note{padding:16px}.teacher-profile-meta .announcement-actions{gap:12px}.material-picture>.button{font-size:11px}}

.category-tile{display:flex;flex-direction:column}.category-tile .category-card{flex:1}.teacher-card{display:flex;flex-direction:column}.teacher-card-footer{margin-top:auto}

/* Bildnamen, Kommentare und vergrößerbare Ansicht. */
dialog.image-view-modal{width:min(1040px,calc(100% - 36px));max-width:1040px}
.material-picture>.picture-description{flex:1 1 220px;min-width:0}
.material-picture>.picture-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;gap:13px}
.image-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:9px 0 0;color:var(--text)}
.image-edit-button{font-size:12px;display:inline-flex;align-items:center;gap:6px}
.image-details{margin-bottom:16px}
.image-details h3{font-size:16px;overflow-wrap:anywhere;margin:0}
.image-details .image-edit-button{margin-top:10px}
.image-zoom{min-width:0}
.image-zoom-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:10px}
.image-zoom-toolbar output{font-size:12px;text-align:center;min-width:58px;font-variant-numeric:tabular-nums;color:var(--muted)}
.image-zoom-toolbar .zoom-step{width:35px;padding:4px;font-size:21px;line-height:1}
.image-zoom-viewport{height:clamp(240px,53vh,570px);overflow:auto;background:#edf1f5;border:1px solid var(--line);border-radius:9px;touch-action:none;overscroll-behavior:contain;position:relative;scroll-behavior:auto}
.image-zoom-viewport.can-pan{cursor:grab}
.image-zoom-viewport.is-dragging{cursor:grabbing;user-select:none}
.image-zoom-stage{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;width:100%;height:100%}
.zoom-image{display:block;flex:none;max-width:none;max-height:none;visibility:hidden;user-select:none}
.image-zoom[data-ready="true"] .zoom-image{visibility:visible}
.image-zoom-hint{font-size:11px;color:var(--muted);line-height:1.65;margin:9px 0 0}
.upload-image-details{min-width:0;margin:18px 0 0;padding:15px;border:1px solid var(--line);border-radius:8px;background:#fff}
.upload-image-details legend{font-size:12px;font-weight:600;overflow-wrap:anywhere;max-width:100%;padding:0 5px}
.upload-image-details .field:last-child{margin-bottom:0}
.upload-image-details .field textarea{min-height:75px}
@media(max-width:600px){dialog.image-view-modal{width:calc(100% - 20px)}.image-view-modal .modal-body{padding:16px}.image-zoom-viewport{height:44vh;min-height:230px}.image-zoom-toolbar .button{min-height:38px}.picture-actions{width:100%}}

/* Profil- und Inhaltsverwaltung. */
.content-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.content-actions .text-button{font-size:12px}
.user-pending-email{font-size:11px;color:var(--muted);overflow-wrap:anywhere;margin:7px 0}
.user-actions{flex-wrap:wrap;max-width:310px;justify-content:flex-end}
.user-card .user-content{min-width:0}
.user-email{overflow-wrap:anywhere}
.account-links{display:flex;gap:10px;flex-wrap:wrap}
.account-info p{overflow-wrap:anywhere}
.event-header>.text-button{margin-left:auto;font-size:11px}
.material-file-row>.danger{flex:none}
@media(max-width:760px){.user-actions{max-width:none;justify-content:flex-start}.user-card{flex-wrap:wrap}.user-card .user-content{flex:1 1 180px}.user-actions{width:100%;margin-left:0}.resource-actions{flex-wrap:wrap;max-width:145px}.account-links .button{flex:1 1 180px}}
