:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#10212a;background:#f6fafc;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,a{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #129cc5;outline-offset:3px}.muted{color:#607783}.eyebrow{font-size:.7rem;letter-spacing:.15em;font-weight:800;color:#0c96bf}.login-screen{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem 5rem;position:relative;background:radial-gradient(circle at 15% 15%,#e5f7fc 0,transparent 28%),#f7fbfd}.login-topline{position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,#10212a,#0697c3,#81d6e5)}.login-card{width:min(100%,490px);background:#fff;border:1px solid #e2edf2;border-radius:22px;padding:clamp(1.4rem,4vw,2.6rem);box-shadow:0 20px 65px #123b5010;text-align:center}.login-logo{display:block;width:min(100%,375px);height:auto;margin:0 auto 1.5rem}.login-rule{height:1px;background:#e8eef2;margin:0 0 1.7rem}.login-card h1{font-size:clamp(1.55rem,4vw,1.9rem);letter-spacing:-.035em;line-height:1.2;margin:.6rem 0}.login-subtitle{font-size:.94rem;line-height:1.65;margin:0 auto 1.6rem}.login-pending{background:#eff8fb;border:1px solid #cfeaf2;display:flex;align-items:flex-start;gap:.7rem;text-align:left;padding:1rem;border-radius:12px;color:#315768;font-size:.89rem;line-height:1.5}.login-pending svg{flex:none;color:#058ab3}.subtle-link{display:inline-flex;align-items:center;gap:.5rem;color:#326174;text-decoration:none;font-size:.86rem;margin-top:1.55rem}.subtle-link:hover{text-decoration:underline}.login-footer{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;flex-direction:column;padding-bottom:.7rem;color:#7a919d;font-size:.68rem;letter-spacing:.04em}.login-footer img{width:230px;height:auto;opacity:.68}.shell{--sidebar:244px;min-height:100svh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);grid-template-rows:80px minmax(0,1fr) auto;background:#f6fafc}.shell.collapsed{--sidebar:78px}.shell-header{grid-column:1/-1;grid-row:1;position:relative;z-index:5;background:#fff;border-bottom:1px solid #e6eef2;display:flex;align-items:center;gap:1rem;padding:0 clamp(1rem,3vw,2rem)}.header-logo{width:215px;max-height:70px;object-fit:contain;object-position:left}.preview-chip{font-size:.74rem;color:#367188;background:#e8f7fa;border-radius:30px;padding:.4rem .75rem}.user-menu{position:relative;margin-left:auto}.user-trigger{display:flex;align-items:center;gap:.7rem;background:#fff;border:1px solid #dfeaf0;border-radius:13px;padding:.4rem .6rem .4rem .4rem;color:#233e4b}.avatar{border-radius:50%;background:#d9f3fa;display:grid;place-items:center;width:35px;height:35px;color:#087ca3}.user-label{font-size:.85rem;font-weight:600}.user-dropdown{position:absolute;right:0;top:calc(100% + .5rem);width:245px;background:#fff;border:1px solid #e1eaf0;border-radius:12px;box-shadow:0 15px 40px #122d3d20;padding:.5rem}.user-note{font-size:.75rem;color:#667d89;padding:.6rem}.dropdown-row{display:flex;gap:.6rem;align-items:center;padding:.7rem .55rem;color:#273f4b;font-size:.85rem}.sidebar{grid-column:1;grid-row:2;background:#102431;color:#d3e1e7;display:flex;flex-direction:column;min-height:calc(100svh - 145px);transition:width .2s}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;font-size:.64rem;font-weight:750;letter-spacing:.11em;color:#91aab5;padding:1.45rem 1rem .9rem}.icon-button{display:grid;place-items:center;padding:.4rem;border:0;border-radius:8px;background:transparent;color:inherit}.icon-button:hover{background:#ffffff1a}.sidebar-nav{display:grid;gap:.25rem;padding:0 .7rem}.nav-item{width:100%;display:flex;align-items:center;gap:1rem;padding:.9rem .85rem;background:transparent;color:#bed3dc;border:0;border-radius:10px;text-align:left;font-size:.88rem}.nav-item:hover{background:#203947}.nav-item.selected{color:#fff;background:#147b9d}.nav-item span{white-space:nowrap}.collapsed .sidebar-heading{justify-content:center}.collapsed .sidebar-nav{padding:0 .5rem}.collapsed .nav-item{justify-content:center}.collapsed .nav-item span,.collapsed .sidebar-heading>span{display:none}.shell-main{grid-column:2;grid-row:2;padding:clamp(1.2rem,4vw,3rem);max-width:1200px;width:100%;margin:auto}.page-heading h1{font-size:clamp(1.8rem,3vw,2.4rem);margin:.35rem 0 .3rem;letter-spacing:-.04em}.page-heading>p:last-child{color:#667d89;font-size:.9rem}.placeholder-panel{margin-top:2rem;min-height:320px;background:#fff;border:1px solid #e0ebf0;border-radius:18px;padding:3rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 8px 25px #183c4d08}.placeholder-icon{width:65px;height:65px;display:grid;place-items:center;background:#e9f9fc;color:#0788b1;border-radius:18px}.placeholder-panel h2{margin:1.1rem 0 .4rem}.placeholder-panel p{max-width:510px;line-height:1.65;color:#687f8a;font-size:.93rem}.shell-footer{grid-column:2;grid-row:3;display:flex;align-items:center;justify-content:center;gap:.75rem;border-top:1px solid #e3ebef;padding:.65rem 1rem;color:#8aa0aa;background:#fff}.shell-footer img{width:170px;height:auto;opacity:.7}.menu-mobile,.close-mobile,.mobile-scrim{display:none}@media(max-width:720px){.shell{display:flex;flex-direction:column}.shell-header{height:72px;position:sticky;top:0}.header-logo{width:145px}.preview-chip,.user-label{display:none}.menu-mobile{display:grid;color:#123d4f}.sidebar{position:fixed;left:0;top:0;bottom:0;width:min(82vw,280px);z-index:11;transform:translate(-100%);transition:transform .2s;min-height:100svh}.sidebar.mobile-open{transform:translate(0)}.mobile-scrim{display:block;position:fixed;inset:0;border:0;background:#0b1f2b88;z-index:10}.collapse-button{display:none}.close-mobile{display:grid}.shell-main{flex:1}.placeholder-panel{min-height:300px;padding:1.6rem}.shell-footer{min-height:65px}.shell-footer img{width:120px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}.google-login{display:flex;justify-content:center;min-height:44px}.google-login>div{min-height:44px}.auth-error{font-size:.88rem;color:#a62033;background:#fff0f2;border:1px solid #f5c8ce;border-radius:10px;padding:.8rem;line-height:1.45}.auth-status{font-size:.86rem;color:#315768}.invite-form{display:grid;gap:.8rem;text-align:left}.invite-form h1{text-align:center}.invite-form p{color:#607783;font-size:.88rem;line-height:1.5}.invite-form label{font-weight:700;font-size:.84rem}.invite-form input{width:100%;border:1px solid #b9ced8;border-radius:9px;font:inherit;padding:.8rem;letter-spacing:.12em;text-transform:uppercase}.primary-button{background:#067eaa;color:#fff;border:0;padding:.85rem;border-radius:9px;font-weight:700}.primary-button:disabled{opacity:.55}.text-button{border:0;background:transparent;color:#326174;padding:.55rem}.dropdown-action{display:flex;width:100%;gap:.6rem;align-items:center;padding:.7rem .55rem;color:#273f4b;font-size:.85rem;background:transparent;border:0;text-align:left;border-radius:8px}.dropdown-action:hover{background:#eaf4f8}.page-loading{min-height:100vh;display:grid;place-items:center;color:#315768}.feature-stack{display:grid;gap:1.2rem;min-width:0}.feature-card{background:#fff;border:1px solid #dfeaf0;border-radius:16px;padding:clamp(1rem,2vw,1.7rem);box-shadow:0 8px 30px #102a3908;min-width:0}.feature-card h2{margin:0 0 1.1rem;font-size:1.2rem;color:#102431}.feature-card p{line-height:1.55}.feature-form{display:grid;gap:1rem;max-width:550px}.form-field{display:grid;gap:.45rem;font-size:.85rem;font-weight:650;color:#294856}.form-field input,.form-field select,.admin-nested input,.admin-nested select{width:100%;border:1px solid #d0e2ea;border-radius:10px;background:#fff;color:#193744;padding:.7rem .75rem;font:inherit;min-width:0}.feature-primary,.feature-secondary,.admin-tabs button{border:1px solid #0a7b9f;border-radius:10px;padding:.65rem 1rem;background:#0c83a9;color:#fff;font-weight:700;width:max-content;max-width:100%}.feature-secondary{background:#fff;color:#087a9d;margin:.5rem .4rem .2rem 0}.feature-link{display:inline-block;margin-top:.4rem;color:#086c97;font-weight:700;text-decoration:underline;text-underline-offset:3px}.form-error{background:#fff0ef;color:#a62728;border:1px solid #f1b1b0;padding:.8rem;border-radius:10px}.form-success{background:#edf8f1;color:#20643c;border:1px solid #9bdab0;padding:.8rem;border-radius:10px;overflow-wrap:anywhere}.feature-hint{font-size:.82rem;color:#607783}.parameter-grid,.resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:1rem;margin-bottom:1rem}.dashboard-frame{width:100%;height:clamp(440px,75vh,900px);border:1px solid #dce7ec;border-radius:12px;overflow:hidden}.dashboard-frame iframe{height:100%;width:100%;border:0}.admin-tabs{display:flex;gap:.45rem;flex-wrap:wrap}.admin-tabs button{background:#fff;color:#1b5266;border:1px solid #d6e7ed}.admin-tabs button.selected{background:#0c83a9;color:#fff}.admin-top{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;justify-content:space-between}.admin-table{max-width:100%;overflow:auto;border:1px solid #dfeaf0;border-radius:12px;background:#fff}.admin-table table{width:100%;border-collapse:collapse;font-size:.85rem}.admin-table th,.admin-table td{padding:.8rem;text-align:left;border-bottom:1px solid #eef2f5;vertical-align:middle}.admin-table th{background:#f2f8fa;color:#486777}.admin-table td button,.admin-nested button{background:#eaf5f8;border:0;padding:.4rem .6rem;margin-right:.3rem;border-radius:7px;color:#146988}.admin-form{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));max-width:none}.admin-form button{align-self:end}.admin-actions{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:1rem}.admin-nested{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.5rem;align-items:center;margin:.6rem 0}.admin-nested button{margin:0;justify-self:start}@media(max-width:720px){.admin-table th,.admin-table td{padding:.5rem}.dashboard-frame{height:65vh}}.admin-checkboxes{display:flex;flex-wrap:wrap;gap:.5rem;border:1px solid #d0e2ea;border-radius:10px;padding:.7rem;max-height:145px;overflow:auto}.admin-checkboxes label{display:flex;align-items:center;gap:.4rem;min-width:100px}.admin-checkboxes input{width:auto}.admin-editor{scroll-margin-top:1rem}.resource-embed-frame{width:100%;min-height:320px;aspect-ratio:16 / 9;border:0;border-radius:10px;background:#f0f2f4}.shell-main:has(.dashboard-wide){max-width:none;margin:0;width:100%;padding:8px 10px 12px;min-width:0}.dashboard-wide{gap:8px;min-width:0}.dashboard-picker{max-width:360px}.dashboard-content{padding:8px;border-radius:8px;box-shadow:none}.dashboard-content h2{margin:0 0 8px;font-size:1.05rem}.dashboard-content .parameter-grid{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}.dashboard-content .parameter-grid .form-field{min-width:160px;max-width:260px;flex:1 1 180px}.dashboard-content .form-field select{padding:.42rem .55rem}.dashboard-content .feature-hint{margin:.45rem 0}.dashboard-frame{height:max(560px,calc(100svh - 240px));border-radius:3px}.resource-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap}.resource-toolbar .form-field{width:min(340px,100%)}.resource-counter{font-size:.8rem;color:#607783;padding-bottom:.6rem}.resource-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:9px;align-items:start}.resource-tile{min-width:0;border:1px solid #dfeaf0;background:#fff;border-radius:9px;overflow:hidden}.resource-tile-trigger{display:flex;flex-direction:column;text-align:left;width:100%;padding:0;border:0;background:#fff;color:#183a49}.resource-tile-trigger:hover,.resource-tile-trigger:focus-visible{background:#eff8fb}.resource-tile-preview{height:auto;aspect-ratio:16/9;width:100%;display:grid;place-items:center;position:relative;background:#e8f1f5;overflow:hidden}.resource-tile-preview img{width:100%;height:100%;object-fit:cover;display:block}.resource-tile-icon{font-size:2rem;color:#4d7c90}.resource-tile-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:8px;background:#102431cc;color:#fff;padding:5px 11px;font-size:1rem}.resource-tile-name{font-size:.82rem;font-weight:700;line-height:1.3;padding:7px 8px 1px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.55rem;overflow-wrap:anywhere}.resource-tile-kind{padding:2px 8px 8px;font-size:.7rem;color:#577482}.resource-tile-inactive{padding:0 8px 7px;display:block;color:#805d48}.resource-dialog{border:0;border-radius:14px;padding:0;width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);background:#fff;box-shadow:0 25px 80px #071b2c60}.resource-dialog::backdrop{background:#081926c7}.resource-dialog-content{padding:14px;display:grid;gap:10px;min-width:0}.resource-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.resource-dialog-header h2{font-size:1.1rem;margin:0;overflow-wrap:anywhere}.resource-dialog-close{border:1px solid #d0e2ea;background:#fff;border-radius:8px;padding:7px 12px;color:#183a49;flex-shrink:0}.resource-dialog-description{font-size:.85rem;color:#607783;line-height:1.4;margin:0}.resource-modal-frame{display:block;width:100%;height:min(70dvh,720px);border:0;border-radius:8px;background:#eff4f6}@media(max-width:720px){.shell-main:has(.dashboard-wide){padding:6px}.resource-gallery{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:7px}.resource-dialog-content{padding:8px}.resource-modal-frame{height:min(68dvh,600px)}.dashboard-frame{height:max(460px,70dvh)}}.resource-toolbar .form-field{width:min(290px,100%)}.admin-csv-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:9px 0 18px}.admin-csv-actions .form-field{min-width:180px;max-width:330px;flex:1 1 200px}.people-csv-tools h2:not(:first-child){margin-top:18px}.admin-csv-result{padding:8px 0 16px}
