:root{--bg:#f4f7fb;--surface:#fff;--text:#172033;--muted:#6b778c;--line:#e4eaf2;--primary:#0f4c81;--primary2:#1966a5;--soft:#eaf3fb;--green:#16784c;--greenbg:#e8f7f0;--amber:#98680a;--amberbg:#fff5d8;--red:#a73333;--redbg:#fdecec;--shadow:0 10px 30px rgba(24,48,79,.07);--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}.topbar{height:72px;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:var(--text)}.brandmark,.login-logo{width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--primary),#16345e);display:grid;place-items:center;color:#fff;font-weight:800;font-size:21px;box-shadow:0 7px 18px rgba(15,76,129,.22)}.brand span:last-child{display:flex;flex-direction:column}.brand small{color:var(--muted);font-size:11px}.top-actions{display:flex;align-items:center;gap:12px}.user-chip{background:var(--soft);padding:8px 12px;border-radius:999px;font-size:13px}.icon-btn{width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:12px;cursor:pointer}.shell{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:220px;padding:24px 14px;border-right:1px solid var(--line);background:#fff;position:fixed;top:72px;bottom:0}.sidebar a{display:flex;align-items:center;gap:11px;padding:11px 13px;margin:2px 0;border-radius:12px;color:#334057;font-weight:650}.sidebar a:hover{background:var(--soft);color:var(--primary)}.sidebar a.disabled{color:#9ba5b4;pointer-events:none}.sidebar em{font-style:normal;font-size:9px;background:#eef1f5;padding:2px 6px;border-radius:10px;margin-left:auto}.main{width:calc(100% - 220px);margin-left:220px;padding:32px;max-width:1480px}.main.login-main{width:100%;margin:0;padding:0}.alert{padding:12px 16px;border-radius:12px;margin-bottom:18px;font-weight:650}.alert.success{background:var(--greenbg);color:var(--green)}.alert.error{background:var(--redbg);color:var(--red)}.hero{background:linear-gradient(120deg,#102f53,#0f4c81 62%,#2378b8);color:#fff;border-radius:24px;padding:30px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:var(--shadow);margin-bottom:20px}.hero h1,.page-head h1{margin:5px 0 4px;font-size:30px;line-height:1.15}.hero p{margin:0;opacity:.84;max-width:900px}.eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:800;color:#6a829a}.hero .eyebrow{color:#bbd7ec}.status-pill{padding:8px 12px;border-radius:999px;font-weight:700;font-size:12px}.status-pill.good{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25)}.grid{display:grid;gap:18px}.grid.stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:20px;position:relative;overflow:hidden}.card.accent{background:linear-gradient(145deg,#fff,#f4faff)}.card small,.card p{display:block;color:var(--muted);margin:0}.card b{font-size:23px;display:block;margin:7px 0 2px}.card-icon{position:absolute;right:18px;top:16px;width:38px;height:38px;border-radius:12px;background:var(--soft);display:grid;place-items:center;color:var(--primary);font-weight:900}.panel{padding:22px}.panel h2{font-size:19px;margin:0 0 14px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.panel-head h2{margin:2px 0 0}.service-list{display:grid;gap:9px}.service-list>a{display:flex;align-items:center;gap:12px;color:var(--text);padding:13px;border:1px solid var(--line);border-radius:14px;transition:.15s}.service-list>a:hover{border-color:#bfd6e9;background:#f8fbfe;transform:translateY(-1px)}.service-list>a div{display:flex;flex-direction:column;flex:1}.service-list small{color:var(--muted)}.service-list strong{font-size:25px;color:#9fb0c2}.service-icon{width:42px;height:42px;border-radius:12px;background:var(--soft);color:var(--primary);display:grid;place-items:center;font-weight:850;flex:0 0 auto}.details{margin:0}.details>div{display:grid;grid-template-columns:150px 1fr;gap:14px;padding:10px 0;border-bottom:1px dashed var(--line)}.details>div:last-child{border-bottom:0}.details dt{color:var(--muted)}.details dd{margin:0;font-weight:650;word-break:break-word}.request-list>div{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0}.request-list>div:first-child{border-top:0}.request-list div>div{display:flex;flex-direction:column}.request-list small{color:var(--muted)}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.status-new{color:#2d5f8d;background:#eaf3fb}.status-in_progress{color:var(--amber);background:var(--amberbg)}.status-ready{color:var(--green);background:var(--greenbg)}.status-delivered{color:#485465;background:#eef1f5}.status-rejected{color:var(--red);background:var(--redbg)}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-head p{margin:5px 0 0;color:var(--muted)}.back{display:block;font-size:12px;margin-bottom:10px}.forms-grid{align-items:start}.doc-type{display:flex;gap:13px;align-items:flex-start;margin-bottom:18px}.doc-type h2{margin:1px 0 2px}.doc-type p{margin:0;color:var(--muted)}.form{display:grid;gap:13px}.form label{display:grid;gap:6px;font-size:13px;font-weight:700}.form label>span{font-weight:500;color:var(--muted);font-size:11px}.form input,.form select,.form textarea{width:100%;border:1px solid #d7e0ea;background:#fff;border-radius:11px;padding:10px 11px;color:var(--text);outline:none}.form input:focus,.form select:focus,.form textarea:focus{border-color:#78a8ce;box-shadow:0 0 0 3px rgba(35,120,184,.1)}.form input:disabled{background:#f4f6f8;color:#758094}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.btn{border:1px solid #cbd7e3;background:#fff;color:var(--primary);font-weight:750;padding:10px 14px;border-radius:11px;cursor:pointer;text-align:center;display:inline-flex;justify-content:center;align-items:center}.btn:hover{background:#f4f8fc}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary2)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.small{padding:6px 10px;font-size:12px}.btn.wide{width:100%;margin:8px 0}.hidden{display:none!important}.empty{text-align:center;padding:30px;color:var(--muted);background:#f8fafc;border-radius:14px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:11px 9px;vertical-align:middle}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}td{font-size:13px}.info-strip{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;background:linear-gradient(100deg,#f8fbff,#fff)}.info-strip h2{margin:2px 0}.money{text-align:right}.money b{font-size:24px;display:block}.money small{color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:22px 0}.file-link{display:inline-block;margin-top:14px;font-weight:700}.timeline{display:grid;gap:0}.timeline>div{display:grid;grid-template-columns:18px 1fr;gap:8px;position:relative;padding-bottom:17px}.timeline>div>span{width:10px;height:10px;border-radius:50%;background:#77a6cb;margin-top:6px;position:relative}.timeline>div:not(:last-child)>span:after{content:"";position:absolute;width:2px;background:#d9e3ec;left:4px;top:10px;height:calc(100% + 20px)}.timeline b{display:block}.timeline small{color:var(--muted)}.timeline p{margin:4px 0 0}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 25% 10%,#e3f1fc,transparent 28%),linear-gradient(145deg,#f7f9fc,#eef3f9)}.login-card{width:min(470px,100%);background:#fff;border:1px solid var(--line);border-radius:26px;padding:32px;box-shadow:0 24px 70px rgba(20,47,79,.13);text-align:center}.login-logo{margin:0 auto 16px;width:54px;height:54px;border-radius:17px;font-size:26px}.login-card h1{font-size:27px;margin:0}.login-card>p{color:var(--muted);margin:10px 0 22px}.login-card>small{display:block;color:var(--muted);margin-top:18px}.demo-box{text-align:left;margin-top:18px;padding:16px;background:#f7f9fc;border-radius:14px;border:1px solid var(--line)}.demo-box p{margin:4px 0 12px;color:var(--muted);font-size:12px}.demo-grid{display:grid;grid-template-columns:1fr;gap:7px}.demo-grid .btn{width:100%}@media(max-width:900px){.sidebar{width:72px}.sidebar a{justify-content:center}.sidebar a span,.sidebar em{display:none}.main{width:calc(100% - 72px);margin-left:72px;padding:20px}.grid.stats,.grid.two{grid-template-columns:1fr}.hero{padding:22px}.hero h1,.page-head h1{font-size:24px}.user-chip{display:none}}@media(max-width:600px){.topbar{height:62px;padding:0 14px}.brandmark{width:36px;height:36px}.brand b{font-size:13px}.brand small{display:none}.shell{min-height:calc(100vh - 62px)}.sidebar{position:fixed;z-index:25;top:auto;bottom:0;left:0;width:100%;height:64px;border-top:1px solid var(--line);border-right:0;display:flex;padding:7px;background:rgba(255,255,255,.98)}.sidebar a{flex:1;flex-direction:column;gap:1px;padding:4px;font-size:18px}.sidebar a span{display:block;font-size:9px}.main{width:100%;margin-left:0;padding:14px 14px 82px}.hero{border-radius:18px;display:block}.hero .status-pill{display:inline-flex;margin-top:15px}.panel,.card{border-radius:15px}.panel{padding:17px}.form-row{grid-template-columns:1fr}.details>div{grid-template-columns:1fr;gap:2px}.page-head{align-items:flex-start}.info-strip{align-items:flex-start;gap:16px}.money{text-align:left}.login-card{padding:24px;border-radius:20px}}
.muted{color:var(--muted)}.grid.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.status-checking,.status-draft{color:var(--amber);background:var(--amberbg)}.status-submitted,.status-published{color:#2d5f8d;background:#eaf3fb}.status-produced,.status-ready_pickup,.status-issued{color:var(--green);background:var(--greenbg)}.status-closed{color:#485465;background:#eef1f5}.btn.danger{color:var(--red);border-color:#ecc}.survey-list{display:grid;gap:12px}.survey-card{display:flex;justify-content:space-between;gap:18px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:16px;color:var(--text)}.survey-card:hover{border-color:#bfd6e9;background:#f8fbfe}.survey-card.done{background:#f8fbf9}.survey-card h2{margin:3px 0 4px}.survey-card p{margin:0;color:var(--muted)}.survey-form-panel{max-width:900px}.question{border:0;border-bottom:1px solid var(--line);padding:4px 0 20px;margin:0 0 20px}.question:last-of-type{border-bottom:0}.question legend{font-size:16px;font-weight:800;margin-bottom:12px}.question legend span{color:var(--primary)}.question legend em{color:var(--red);font-style:normal}.choice{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;font-weight:500!important;padding:7px 0}.choice input{width:auto!important}.question-builder{border:1px solid var(--line);background:#f9fbfd;border-radius:14px;padding:16px;display:grid;gap:12px;margin-bottom:12px}.question-list{margin:0;padding-left:20px}.question-list li{padding:8px 0}.question-list small{display:block;color:var(--muted)}.survey-results{display:grid;gap:25px}.survey-results article{border-bottom:1px solid var(--line);padding-bottom:22px}.survey-results article:last-child{border-bottom:0}.survey-results h3{margin:0 0 14px}.result-bars{display:grid;gap:10px}.result-bars>div>div{display:flex;justify-content:space-between;gap:10px}.result-bars progress{width:100%;height:12px}.text-answers{display:grid;gap:10px}.text-answers blockquote{margin:0;background:#f7f9fc;border-left:3px solid #9ec0dc;padding:11px 13px;border-radius:0 10px 10px 0}.text-answers small{display:block;color:var(--muted);margin-top:6px}.timeline.compact>div{padding-bottom:12px}@media(max-width:1100px){.grid.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.grid.stats.four{grid-template-columns:1fr}.survey-card{align-items:flex-start;flex-direction:column}}
.form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.group-picker{max-height:210px;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:8px 12px;background:#fbfcfe}.choice.compact{padding:4px 0!important}.scale-settings{border:1px dashed var(--line);padding:12px;border-radius:12px;background:#fbfcfe}.scale-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:13px;margin-bottom:8px}.scale-options{display:grid;grid-template-columns:repeat(10,minmax(42px,1fr));gap:7px;align-items:end}.scale-options label{display:grid;gap:6px;justify-items:center;font-weight:700}.scale-options input{width:auto!important}.scale-summary{display:flex;justify-content:space-between;gap:16px;align-items:end;background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:14px}.scale-summary div{display:grid;gap:4px}.scale-summary span,.scale-summary small{color:var(--muted)}.scale-summary b{font-size:24px}.compact-bars{gap:6px}.action-stack{display:grid;gap:9px;margin-top:18px}.stat-date{font-size:18px!important}.table-sub{display:block;color:var(--muted);margin-top:2px}.deadline{margin-top:7px!important;color:var(--primary)!important}.survey-card small{display:block;color:var(--muted);margin-top:7px}@media(max-width:760px){.form-row.three{grid-template-columns:1fr}.scale-options{grid-template-columns:repeat(5,minmax(42px,1fr))}.scale-summary{align-items:flex-start;flex-direction:column}}
.field-block{display:grid;gap:7px}.field-block>span{font-size:12px;color:var(--muted)}
.audit-filter{margin-bottom:18px}.form-row.audit-five{grid-template-columns:2fr 1fr 1fr 1fr 1fr}.audit-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.audit-actions .muted{margin-left:auto}.audit-event{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.audit-event.ok{color:var(--green);background:var(--greenbg)}.audit-event.bad{color:var(--red);background:var(--redbg)}.audit-event.neutral{color:#485465;background:#eef1f5}@media(max-width:1100px){.form-row.audit-five{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.form-row.audit-five{grid-template-columns:1fr}.audit-actions .muted{margin-left:0}.sidebar{overflow-x:auto}.sidebar a{min-width:64px}}
.alert.info{background:#eaf3fb;color:#24577f;border:1px solid #cfe1ef}.support-contact{margin-top:8px!important}.settings-grid{align-items:start}.toggle-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:11px!important;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe;font-weight:500!important}.toggle-line input{width:auto!important;margin-top:3px}.toggle-line span{display:grid;gap:2px}.toggle-line small{color:var(--muted);font-weight:500}.settings-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.settings-sync-list{display:grid;gap:7px;margin-top:8px}.settings-sync-list>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.settings-sync-list>div:last-child{border-bottom:0}.settings-sync-list small{color:var(--muted)}.settings-add-staff{margin-top:6px}.table-input,.table-select{width:100%;border:1px solid #d7e0ea;border-radius:9px;padding:7px 8px;background:#fff;color:var(--text)}.switch-compact{display:flex;align-items:center;gap:7px}.switch-compact input[type=checkbox]{width:auto}.settings-note{margin:14px 0 0}.panel code{background:#f1f4f8;padding:2px 5px;border-radius:6px}@media(max-width:850px){.settings-modules{grid-template-columns:1fr}.settings-sync-list>div{grid-template-columns:1fr auto}.settings-sync-list>div .status{grid-column:1/-1;width:max-content}}

/* v0.6.0 — PWA / notification center */
.icon-btn{display:grid;place-items:center;color:var(--text);position:relative;line-height:1}
.notification-bell{font-size:21px}
.notification-bell>span{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--red);color:#fff;font-size:10px;font-weight:850;display:grid;place-items:center;border:2px solid #fff}
.mobile-app-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;background:linear-gradient(110deg,#f8fbff,#fff)}
.mobile-app-card h2{margin:2px 0 3px;font-size:18px}.mobile-app-card p,.muted{color:var(--muted);margin:0}.app-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.app-status-line{display:block;color:var(--muted);margin-top:9px}.app-device-panel{margin-bottom:18px}.notification-tabs{display:flex;gap:8px;margin-bottom:12px}.notification-center{padding:0;overflow:hidden}.notification-list{display:grid}.notification-item{margin:0;border:0;border-bottom:1px solid var(--line)}.notification-item:last-child{border-bottom:0}.notification-item button{width:100%;border:0;background:#fff;padding:16px 18px;display:grid;grid-template-columns:10px 1fr 16px;gap:12px;align-items:center;text-align:left;color:var(--text);cursor:pointer}.notification-item button:hover{background:#f8fbfe}.notification-item.unread button{background:#f4f9fd}.notification-dot{width:8px;height:8px;border-radius:50%;background:#d7e0ea}.notification-item.unread .notification-dot{background:var(--primary)}.notification-copy{display:flex;flex-direction:column;min-width:0}.notification-copy b{font-size:14px}.notification-copy span{color:#445168;margin-top:2px}.notification-copy small{color:var(--muted);margin-top:5px}.notification-item strong{font-size:24px;color:#9fb0c2}.status.status-new{color:#2d5f8d;background:#eaf3fb}
@media(max-width:600px){
  .sidebar{overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:none}.sidebar::-webkit-scrollbar{display:none}.sidebar a{flex:0 0 66px;min-width:66px}.sidebar em{display:grid!important;position:absolute;top:2px;right:8px;background:var(--red);color:#fff;min-width:16px;height:16px;place-items:center;padding:0 4px}
  .mobile-app-card{display:block}.mobile-app-card .app-actions{margin-top:14px}.app-actions .btn{flex:1 1 auto}.notification-item button{padding:14px}.notification-tabs{overflow:auto}.page-head{align-items:flex-start;gap:10px}.page-head>form{flex:0 0 auto}
}


/* v0.6.1 — consistent vector icons */
.ui-icon{width:19px;height:19px;display:block;flex:0 0 auto;color:currentColor}
.sidebar a>.ui-icon{width:18px;height:18px;stroke-width:1.9}
.icon-btn .ui-icon{width:19px;height:19px}
.notification-bell{font-size:inherit}
.notification-chevron{width:18px;height:18px}
.notification-item strong{display:grid;place-items:center;color:#9fb0c2}
@media(max-width:900px){.sidebar a>.ui-icon{width:20px;height:20px}}
@media(max-width:600px){.sidebar a{font-size:inherit}.sidebar a>.ui-icon{width:21px;height:21px;margin-bottom:2px}}

/* v0.6.6 survey images */
.survey-media-editor,.option-media-editor{border:1px dashed var(--line);border-radius:14px;padding:13px;background:#fff;display:grid;gap:10px}.survey-media-editor>div:first-child,.option-media-editor>b{display:grid;gap:2px}.survey-media-editor small,.option-media-editor small{color:var(--muted)}.media-controls{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(220px,1.3fr);gap:12px;align-items:end}.upload-field{display:flex!important;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fafc;cursor:pointer;font-weight:700!important}.upload-field input[type=file]{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none}.small-upload{min-height:36px;padding:7px 10px;font-size:13px}.media-preview{display:flex;gap:10px;flex-wrap:wrap}.media-preview img{display:block;max-width:320px;max-height:220px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#f6f8fb}.option-media-editor{margin-top:10px}.option-media-row{display:grid;grid-template-columns:minmax(160px,1fr) auto 110px;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.option-media-row:first-child{border-top:0}.option-media-label{display:flex;gap:7px;align-items:flex-start}.option-media-label span{overflow-wrap:anywhere}.option-media-actions{display:flex;gap:8px;align-items:center}.option-preview img{width:96px;height:72px;object-fit:cover}.survey-question-media{margin:12px 0 18px}.survey-question-media img,.survey-result-media img{display:block;max-width:100%;max-height:520px;object-fit:contain;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.survey-question-media figcaption{margin-top:7px;color:var(--muted);font-size:13px}.survey-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.survey-option-card{display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important;padding:0!important;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;cursor:pointer;transition:.15s ease}.survey-option-card:hover{border-color:#a9c8e1;box-shadow:0 5px 18px rgba(22,51,78,.08)}.survey-option-image-link{display:block;background:#f6f8fb}.survey-option-image-link img{display:block;width:100%;height:240px;object-fit:contain}.survey-option-control{display:flex;align-items:center;gap:10px;padding:12px 13px;font-weight:650}.survey-option-control input{flex:0 0 auto}.question-list-thumb{display:block;margin-bottom:8px}.question-list-thumb img{width:110px;height:74px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}.survey-result-media{margin:0 0 14px}.survey-result-media img{max-height:300px}.survey-lightbox{position:fixed;z-index:9999;inset:0;background:rgba(5,18,30,.88);display:flex;align-items:center;justify-content:center;padding:28px}.survey-lightbox img{max-width:min(1200px,94vw);max-height:90vh;object-fit:contain;background:#fff;border-radius:12px}.survey-lightbox button{position:fixed;right:20px;top:16px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;font-size:30px;line-height:1;cursor:pointer}.media-remove.hidden{display:none!important}
@media(max-width:760px){.media-controls{grid-template-columns:1fr}.option-media-row{grid-template-columns:1fr}.option-media-actions{justify-content:flex-start}.survey-option-grid{grid-template-columns:1fr}.survey-option-image-link img{height:auto;max-height:360px}.media-preview img{max-width:100%}}

/* v0.6.7 — student profile photos */
.profile-hero-main{display:flex;align-items:center;gap:18px;min-width:0}.profile-hero-main>div:last-child{min-width:0}.student-avatar{display:block;object-fit:cover;background:#edf3f8;border:1px solid var(--line);color:var(--primary);font-weight:850;letter-spacing:.02em;flex:0 0 auto}.hero-avatar{width:92px;height:116px;border-radius:18px;box-shadow:0 7px 20px rgba(25,57,84,.12)}.avatar-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#edf6fc,#dfeaf3)}.hero-avatar.avatar-placeholder{font-size:28px}.student-avatar.tiny{width:42px;height:52px;border-radius:10px}.student-avatar.tiny.avatar-placeholder{font-size:13px}.student-name-cell{display:flex;align-items:center;gap:10px;min-width:240px}.student-name-cell>div{min-width:0}.photo-import-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-import-stats .card b{font-size:25px}
@media(max-width:800px){.profile-hero{align-items:flex-start}.profile-hero-main{align-items:flex-start}.hero-avatar{width:74px;height:94px;border-radius:15px}.photo-import-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.profile-hero-main{gap:12px}.hero-avatar{width:64px;height:82px;border-radius:13px}.hero-avatar.avatar-placeholder{font-size:21px}.profile-hero h1{font-size:24px}.photo-import-stats{grid-template-columns:1fr 1fr}.student-name-cell{min-width:210px}}

/* v0.6.8 — compact profile photos + cache-safe sizing */
.profile-hero{align-items:center}
.profile-hero-main{gap:16px}
.student-avatar{object-position:center top;max-width:none}
.hero-avatar{width:78px!important;height:98px!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(8,35,60,.16)}
.hero-avatar.avatar-placeholder{font-size:24px}
.student-avatar.tiny{width:36px!important;height:46px!important;border-radius:9px!important}
.student-avatar.tiny.avatar-placeholder{font-size:12px}
.student-name-cell{min-width:260px;gap:11px}
.student-name-cell b{display:block;line-height:1.25}
.student-name-cell .table-sub{display:block;margin-top:3px;line-height:1.25;max-width:390px}
@media(max-width:800px){.hero-avatar{width:70px!important;height:88px!important}.profile-hero-main{gap:14px}}
@media(max-width:520px){.hero-avatar{width:60px!important;height:76px!important}.student-avatar.tiny{width:34px!important;height:43px!important}.profile-hero-main{gap:11px}}

/* v0.6.9 clearer dashboard icons */
.card-icon .card-icon-svg{width:21px;height:21px;display:block}
@media(max-width:600px){.sidebar a span{font-size:9px;line-height:1.05;white-space:nowrap}.card-icon .card-icon-svg{width:22px;height:22px}}

/* v0.7.2 — study schedule */
.schedule-tabs{display:flex;gap:8px;margin:0 0 18px}.schedule-panel{margin-bottom:16px}.schedule-panel.is-today{border-color:#bfd6e9;box-shadow:0 10px 30px rgba(15,76,129,.08)}.schedule-group-pill{padding:6px 10px;border-radius:999px;background:var(--soft);color:var(--primary);font-weight:800;font-size:12px}.schedule-lessons{display:grid;gap:9px}.schedule-lesson{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.schedule-time{display:grid;grid-template-columns:28px 1fr;gap:7px;align-items:center}.schedule-time>b{width:28px;height:28px;border-radius:9px;background:var(--soft);color:var(--primary);display:grid;place-items:center;font-size:12px}.schedule-time>span{font-size:11px;color:var(--muted);white-space:nowrap}.schedule-copy{min-width:0}.schedule-copy h3{font-size:14px;line-height:1.35;margin:0 0 2px}.schedule-copy p,.schedule-copy small{margin:0;color:var(--muted);font-size:12px}.schedule-room{justify-self:end;padding:5px 9px;border-radius:9px;background:#f3f6f9;color:#445168;font-weight:750;font-size:12px;white-space:nowrap}.schedule-day-empty{padding:15px;color:var(--muted);background:#f8fafc;border-radius:12px;text-align:center}.schedule-week{display:grid;gap:14px}.schedule-import-panel{margin-bottom:18px}.schedule-import-form{max-width:900px}.schedule-version-table td:first-child{min-width:240px}.selected-row{background:#f7fbff}.schedule-version-head{margin-top:18px}.schedule-mini-stats{margin:14px 0}.schedule-mini-stats .card b{font-size:25px}.schedule-version-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.schedule-version-actions form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.schedule-group-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;margin-bottom:10px;scrollbar-width:thin}.schedule-group-tabs a{flex:0 0 auto;display:flex;gap:7px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:11px;color:var(--text);background:#fff}.schedule-group-tabs a.active{border-color:#8eb8d8;background:var(--soft);color:var(--primary)}.schedule-group-tabs small{color:var(--muted);font-size:10px}.schedule-day-block{border-top:1px solid var(--line);padding-top:14px}.schedule-day-block:first-child{border-top:0;padding-top:0}.schedule-day-block>h3{font-size:15px;margin:0 0 9px}.staff-schedule-preview .schedule-lesson{grid-template-columns:90px minmax(0,1fr) auto auto}.schedule-edit{justify-self:end}
@media(max-width:700px){.schedule-tabs .btn{flex:1}.schedule-lesson,.staff-schedule-preview .schedule-lesson{grid-template-columns:74px minmax(0,1fr) auto;gap:10px;padding:11px}.schedule-time{grid-template-columns:24px 1fr;gap:5px}.schedule-time>b{width:24px;height:24px}.schedule-room{grid-column:2;justify-self:start}.staff-schedule-preview .schedule-edit{grid-column:2/-1;justify-self:start}.schedule-mini-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.schedule-version-actions,.schedule-version-actions form{align-items:flex-start}.schedule-version-actions form{width:100%}.schedule-version-actions .btn{width:100%}}
@media(max-width:520px){.schedule-mini-stats{grid-template-columns:1fr}.schedule-copy h3{font-size:13px}.schedule-time>span{font-size:10px}}
