:root{--navy:#142d52;--navy-2:#1b3964;--blue:#2563eb;--blue-dark:#1d4ed8;--blue-soft:#dbeafe;--ink:#19283b;--muted:#64748b;--muted2:#8793a6;--line:#e7edf5;--bg:#f5f8fd;--white:#fff;--radius:14px;--shadow:0 4px 20px rgba(20,45,82,.035);font-synthesis:none}
*{box-sizing:border-box}
html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-width:320px;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--blue)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:absolute;top:-50px;left:10px;background:var(--blue);color:white;padding:9px;z-index:999}.skip:focus{top:5px}.ic{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.ic.mini{width:14px;height:14px}.icon-sprite{position:absolute;height:0;width:0;overflow:hidden}.shell{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:100vh}
.sidebar{background:var(--navy);color:#d3e1f3;min-height:100vh;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:26px 14px 22px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#40608b transparent;z-index:20}.brand{display:flex;gap:11px;align-items:center;padding:0 13px 28px}.brand-logo{height:38px;width:38px;border-radius:11px;background:linear-gradient(135deg,#3986fa,#2162d8);display:grid;place-items:center;box-shadow:0 8px 18px #081b3a30;color:#fff}.brand-logo .ic{width:22px;height:22px}.brand strong{font-size:20px;letter-spacing:-.7px;color:#fff;display:block;line-height:1.1}.brand strong span{color:#90bbff}.brand small{display:block;letter-spacing:1.2px;font-weight:800;font-size:9px;color:#8caace;margin-top:6px}.org-card{background:#243f66;border:1px solid #385277;border-radius:11px;margin:0 6px 25px;display:flex;align-items:center;gap:10px;padding:12px}.org-avatar{background:#4775b4;color:#e2efff;border-radius:9px;font-weight:800;width:33px;height:33px;display:grid;place-items:center;font-size:12px;flex:none}.org-card strong{display:block;font-size:12px;color:#fff}.org-card small{display:block;color:#abbed8;font-size:10px;margin-top:2px}.nav-kicker{font-size:10px;color:#8cadd5;font-weight:800;letter-spacing:1.2px;padding:0 16px 11px}.nav{display:grid;gap:3px}.nav-btn{display:flex;align-items:center;text-align:left;gap:11px;padding:11px 12px;border:0;border-radius:10px;background:none;color:#b6c9e2;width:100%;min-height:42px;transition:background .15s,color .15s}.nav-btn .ic{width:17px;height:17px;color:#a4bfdf}.nav-btn span.nav-label{flex:1;min-width:0;font-size:12px;line-height:1.33;font-weight:550}.nav-btn:hover{background:#2c4972;color:#fff}.nav-btn.active{background:#3461a0;color:white;font-weight:800}.nav-btn.active .ic{color:#fff}.nav-count{font-size:10px;color:#b2c9e6;background:#0e2c5233;border-radius:6px;padding:3px 5px;flex:none}.nav-btn.active .nav-count{background:#ffffff25;color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid #315077;padding:19px 12px 0;color:#a5bcdb}.sidebar-version{font-size:11px;font-weight:700;display:flex;gap:9px;align-items:center;color:#e2efff}.online-dot{width:7px;height:7px;border-radius:99px;background:#55c9a7;box-shadow:0 0 0 4px #55c9a722}.sidebar-bottom p{font-size:11px;line-height:1.7;margin:9px 0}.sidebar-bottom a{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#b9d5ff;text-decoration:none}.sidebar-bottom a:hover{text-decoration:underline}
.app{min-width:0}.topbar{height:69px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3vw,50px);gap:18px;position:sticky;top:0;z-index:10}.topbar-left,.topbar-right{display:flex;align-items:center;gap:13px}.topbar-right{gap:10px}.crumb{font-size:12px;color:#94a0b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crumb span{margin:0 9px;color:#bec9d7}.crumb strong{font-weight:700;color:#4a5870}.sync-chip{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;background:#eff9f6;color:#16816d;border:1px solid #d7efe8;border-radius:30px;font-size:11px;font-weight:750;white-space:nowrap}.sync-chip .signal{width:7px;height:7px;background:#10b981;border-radius:50%}.sync-chip[data-state="offline"],.sync-chip[data-state="error"]{background:#fff7ed;color:#a9560a;border-color:#ffedd5}.sync-chip[data-state="offline"] .signal,.sync-chip[data-state="error"] .signal{background:#f59e0b}.sync-chip[data-state="auth"]{background:#fee2e2;color:#991b1b;border-color:#fecaca}.sync-chip[data-state="auth"] .signal{background:#dc2626}.sync-chip[data-state="local"]{background:#f1f5f9;border-color:#e2e8f0;color:#64748b}.sync-chip[data-state="local"] .signal{background:#94a3b8}.top-action{border:1px solid var(--line);background:white;color:#4a5b73;display:inline-flex;gap:7px;align-items:center;justify-content:center;border-radius:9px;font-size:12px;font-weight:700;padding:9px 11px}.top-action:hover,.btn-outline:hover{border-color:#bbd5ff;background:#f5f9ff;color:var(--blue-dark)}.user-avatar{border-radius:50%;width:35px;height:35px;background:#dbeafe;color:#1d4ed8;font-size:12px;font-weight:800;display:grid;place-items:center;margin-left:3px;border:2px solid white;box-shadow:0 0 0 1px #d4e3f7}.plain-icon{border:0;background:none;color:inherit;display:grid;place-items:center;width:33px;height:33px;border-radius:9px}.plain-icon:hover{background:#edf3fc}.only-mobile{display:none}
.content{max-width:1510px;margin:0 auto;padding:35px clamp(20px,3vw,50px) 20px}.headline{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{display:flex;align-items:center;gap:9px;color:var(--blue);font-size:10px;font-weight:850;letter-spacing:1.3px}.eyebrow span{width:19px;height:2px;background:var(--blue)}.eyebrow small{font-size:10px;letter-spacing:0;font-weight:550;color:#a0abbc;margin-left:7px}.headline h1{font-size:clamp(25px,3vw,33px);line-height:1.17;margin:13px 0 9px;letter-spacing:-1.4px;font-weight:800}.blue-period{color:var(--blue)}.headline p{font-size:13px;line-height:1.6;color:var(--muted);margin:0;max-width:700px}.headline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;border:1px solid transparent;border-radius:9px;padding:8px 13px;font-size:12px;font-weight:750;white-space:nowrap;transition:background .12s,transform .12s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--blue);color:white;box-shadow:0 4px 13px #2563eb20}.btn-primary:hover{background:var(--blue-dark)}.btn-outline{background:#fff;border-color:#dce5f0;color:#45586d}.btn-soft{background:#eaf2ff;color:#1d4ed8}.btn-soft:hover{background:#dce9ff}.btn .ic{height:15px;width:15px}
.hero{background:linear-gradient(112deg,#173762 0%,#14325c 55%,#17467e 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:26px;border-radius:17px;padding:30px 41px;min-height:222px;position:relative;overflow:hidden}.hero:before{content:'';position:absolute;width:320px;height:320px;border:1px solid #ffffff17;border-radius:50%;right:84px;top:-122px}.hero:after{content:'';position:absolute;width:220px;height:220px;border:1px solid #ffffff14;border-radius:50%;right:143px;top:-73px}.hero-info{position:relative;z-index:1;max-width:620px}.hero-label{font-size:10px;font-weight:800;letter-spacing:1.25px;color:#aacbff;display:flex;align-items:center;gap:8px}.hero-lamp{width:6px;height:6px;background:#69ddf6;border-radius:50%;box-shadow:0 0 0 4px #69ddf625}.hero h2{font-size:clamp(21px,2.4vw,27px);line-height:1.3;font-weight:750;letter-spacing:-.7px;max-width:570px;margin:13px 0 10px}.hero p{color:#b9d0f2;max-width:530px;font-size:12px;line-height:1.65;margin:0}.hero-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:19px}.hero-pills span{border:1px solid #ffffff30;background:#ffffff0b;color:#deedff;border-radius:50px;padding:6px 11px;font-size:10px;font-weight:650}.hero-progress{text-align:center;min-width:145px;position:relative;z-index:1}.ring{width:131px;height:131px;display:grid;place-items:center;border-radius:50%;margin:0 auto 12px;background:conic-gradient(#72baff 0%,#ffffff20 0%);transition:background .2s}.ring>div{background:#173961;width:105px;height:105px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring strong{font-size:27px;font-weight:800;letter-spacing:-1px}.ring span{font-size:10px;color:#c7daef}.hero-progress small{font-size:10px;color:#c7daef}
.notice{background:#fff9eb;border:1px solid #f7dfad;display:flex;align-items:flex-start;gap:11px;padding:14px 17px;border-radius:11px;margin-top:15px;color:#865b12}.notice>.ic{width:19px;margin-top:2px}.notice>div{flex:1}.notice strong{font-size:12px}.notice p{font-size:11px;margin:4px 0 0;line-height:1.55}.notice .plain-icon{margin:-5px -6px;color:#8b6017}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0 23px}.stat{min-height:137px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:start}.stat-symbol{border-radius:9px;width:34px;height:34px;display:grid;place-items:center;margin-bottom:12px}.stat-symbol .ic{width:17px}.stat-symbol.good{color:#16855a;background:#e9f9f0}.stat-symbol.caution{color:#b58122;background:#fff6e3}.stat-symbol.danger{color:#cb4449;background:#fff0f0}.stat-symbol.neutral{color:#5e7392;background:#edf2f9}.stat>span:nth-child(2){font-size:11px;color:#70829a;font-weight:650}.stat strong{font-size:26px;letter-spacing:-.7px;line-height:1.1;margin:5px 0 7px}.stat small{color:#9aa8ba;font-size:10px}.group-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.group-shortcut{background:white;border:1px solid var(--line);box-shadow:var(--shadow);padding:15px;border-radius:12px;display:flex;flex-direction:column;gap:10px;text-align:left;min-height:130px;transition:border .13s,transform .13s}.group-shortcut:hover{border-color:#a9cafd;transform:translateY(-1px)}.group-shortcut-top{display:flex;justify-content:space-between;align-items:center}.group-shortcut-icon{width:32px;height:32px;background:#eaf1ff;color:#3570d4;display:grid;place-items:center;border-radius:8px}.group-shortcut-icon .ic{width:16px}.group-shortcut-number{font-size:10px;font-weight:800;color:#b0bfd0}.group-shortcut strong{font-size:12px;line-height:1.4;min-height:35px;color:#263c55}.group-shortcut-sub{display:flex;justify-content:space-between;font-size:10px;color:#8798ac}.mini-progress{width:100%;height:4px;background:#e6eef9;border-radius:8px;overflow:hidden}.mini-progress>div{height:100%;background:var(--blue);border-radius:8px}
.work-area{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.work-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 23px 16px}.section-overline{font-size:10px;letter-spacing:1px;color:var(--blue);font-weight:850}.work-header h2{font-size:19px;margin:5px 0 6px;letter-spacing:-.5px}.work-header p{font-size:12px;color:#8493a6;margin:0}.result-count{background:#edf3fc;color:#61748e;padding:6px 11px;border-radius:8px;font-size:10px;font-weight:750;white-space:nowrap}.source-tabs{display:flex;gap:5px;padding:0 23px 0;border-bottom:1px solid var(--line);overflow-x:auto}.source-tab{background:none;border:0;border-bottom:3px solid transparent;padding:13px 14px 11px;color:#8391a5;font-size:12px;font-weight:800;white-space:nowrap}.source-tab.active{color:var(--blue);border-color:var(--blue)}.source-tab span{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:6px;background:#eef3fa;color:#8194b0;font-size:10px}.source-tab.active span{background:#dbeafe;color:#1d4ed8}.toolbar{padding:18px 23px 11px;display:flex;gap:9px;flex-wrap:wrap;align-items:center}.toolbar select,.search{height:39px;border-radius:9px;border:1px solid #dfe7f2;background:#fff;color:#45576d;font-size:11px;font-weight:650;padding:0 10px;max-width:100%}.toolbar select{cursor:pointer}.search{flex:1 1 255px;min-width:180px;display:flex;align-items:center;gap:8px;padding:0 11px;color:#8594a8}.search .ic{width:15px}.search input{width:100%;height:100%;border:0;outline:0;font-size:12px;background:transparent;color:var(--ink)}.search input::placeholder{color:#9aa8b8}.helper-strip{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:2px 24px 15px;font-size:10px;color:#8a97a8}.helper-strip span{display:flex;align-items:center;gap:5px}.helper-strip strong{color:#4d617c}.items-root{padding:0 16px 20px}.control-group{border:1px solid #e5ecf5;border-radius:11px;margin:0 6px 12px;background:#fff;overflow:hidden}.group-head{display:flex;align-items:center;text-align:left;gap:14px;padding:16px 17px;border:0;background:#fbfdff;width:100%;color:var(--ink)}.group-head:hover{background:#f5f9ff}.group-code{font-size:10px;font-weight:850;color:#2161c3;background:#e5f0ff;border-radius:7px;min-width:45px;text-align:center;padding:8px}.group-head-main{flex:1;min-width:0}.group-head-main strong{display:block;font-size:13px;line-height:1.45}.group-head-main small{display:block;color:#8191a6;font-size:10px;margin-top:3px}.group-head-count{color:#73869f;font-size:11px;font-weight:700;white-space:nowrap}.group-head>.ic{width:16px;color:#8495aa;transition:transform .15s}.group-head[aria-expanded="true"]>.ic{transform:rotate(180deg)}.group-bar{height:3px;background:#eaf1fc}.group-bar>div{height:100%;background:#2c71f1;transition:width .3s}.group-rows{border-top:1px solid var(--line)}.audit-item{padding:14px 17px;border-bottom:1px solid #ecf0f7}.audit-item:last-child{border-bottom:0}.audit-item:hover{background:#fcfdff}.audit-item-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.audit-title{display:flex;align-items:flex-start;gap:10px;min-width:0}.item-index{color:#2b65b2;font-size:10px;font-weight:850;background:#eff5ff;border-radius:6px;white-space:nowrap;padding:4px 6px;margin-top:1px}.item-details{min-width:0}.item-details strong{font-size:12px;font-weight:720;line-height:1.55;display:block;color:#293d56}.item-short{font-size:11px;line-height:1.55;color:#768aa3;margin:6px 0 0;max-width:960px}.item-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}.tag{border-radius:6px;padding:2px 6px;font-size:9px;font-weight:750;white-space:nowrap}.tag.source{background:#eff4fb;color:#647c9e}.tag.ig{background:#f1efff;color:#6956aa}.tag.p1{background:#fef2f2;color:#c0262d}.tag.p2{background:#fff7ed;color:#c57021}.tag.p3{background:#e8f1ff;color:#3063b9}.tag.p4{background:#eef2f7;color:#718198}.control-selects{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.control-selects label{display:grid;gap:3px}.control-selects label span{font-size:9px;color:#9aa7b6;font-weight:750;padding-left:2px}.control-selects select{border:1px solid #dce6f2;border-radius:8px;height:31px;padding:0 8px;background:#fff;color:#455b74;font-size:10px;font-weight:750;max-width:152px;cursor:pointer}.control-selects .priority-choice{min-width:102px}.control-selects .status-choice{min-width:126px}.item-footer{display:flex;gap:9px;align-items:center;margin:10px 0 0 36px;flex-wrap:wrap}.micro-btn{border:0;background:none;color:#406ca5;font-size:10px;font-weight:790;padding:4px 0;display:flex;align-items:center;gap:5px}.micro-btn:hover{text-decoration:underline;color:var(--blue-dark)}.micro-btn .ic{width:13px;height:13px}.item-updated{font-size:10px;color:#96a6ba;margin-left:auto}.guide-panel{background:#f7faff;border:1px solid #e4edfc;border-radius:9px;margin:11px 0 0 36px;padding:15px}.guide-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.guide-head strong{font-size:11px;color:#24456f}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 17px}.guide-box{min-width:0}.guide-box h4{margin:0 0 5px;font-size:10px;letter-spacing:.1px;color:#3368a6}.guide-box p{margin:0;font-size:11px;color:#5c6f86;line-height:1.65}.guide-box.wide{grid-column:1/-1}.guide-source{padding-top:10px;margin-top:13px;border-top:1px solid #dce8fa;display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:10px}.guide-source a{font-size:10px;font-weight:700;text-decoration:none}.guide-source a:hover{text-decoration:underline}.notes-panel{margin:11px 0 0 36px;padding:14px;background:#fff;border:1px solid #dde7f5;border-radius:9px}.notes-panel label{display:block;font-size:11px;font-weight:750;margin-bottom:7px}.notes-panel textarea{width:100%;min-height:94px;resize:vertical;border:1px solid #dce6f2;border-radius:8px;padding:11px;font-size:12px;line-height:1.5;color:var(--ink)}.note-hint{font-size:10px;color:#91a1b5;margin-top:7px}.links-preview{display:flex;flex-wrap:wrap;gap:9px;margin-top:9px}.links-preview a{font-size:10px;text-decoration:none;border:1px solid #dce8f8;border-radius:6px;padding:5px 8px;background:#f6faff;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-conflict{border:1px solid #f3c58e;background:#fff8e9;border-radius:9px;margin:10px 0 0 36px;padding:13px}.item-conflict strong{font-size:11px;color:#9a5717}.item-conflict p{font-size:11px;color:#955b28;margin:5px 0 10px}.conflict-actions{display:flex;gap:8px;flex-wrap:wrap}.conflict-actions .btn{font-size:10px;min-height:30px}.empty{text-align:center;padding:60px 12px;color:#9cabc0;display:flex;align-items:center;flex-direction:column;gap:10px}.empty .ic{width:32px;height:32px}.empty strong{color:#53677f;font-size:14px}.empty p{font-size:12px;margin:0}.footer{display:flex;justify-content:space-between;gap:12px;padding:23px 0 10px;font-size:10px;color:#a0adc0;flex-wrap:wrap}
.drawer-overlay{position:fixed;inset:0;background:#071d35a0;z-index:40}.history-drawer{position:fixed;z-index:41;top:0;right:0;width:min(500px,100vw);height:100vh;background:#fff;box-shadow:-20px 0 40px #071d3522;display:flex;flex-direction:column;transform:translateX(105%);visibility:hidden;transition:transform .2s,visibility .2s}.history-drawer.open{transform:translateX(0);visibility:visible}.drawer-top{padding:24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:start;gap:12px}.drawer-top small{font-size:10px;color:var(--blue);font-weight:800;letter-spacing:1px}.drawer-top h2{font-size:19px;letter-spacing:-.5px;margin:4px 0}.drawer-top p{font-size:11px;color:var(--muted);margin:3px 0}.drawer-top .plain-icon{color:#70839c}.history-content{padding:17px 23px;flex:1;overflow-y:auto}.history-event{border-left:2px solid #d3e4fc;padding:0 0 17px 15px;margin:0 0 4px;position:relative}.history-event:before{content:'';width:8px;height:8px;background:#3b82f6;border:3px solid #e2edff;border-radius:50%;position:absolute;left:-6px;top:2px}.history-event strong{font-size:12px;display:block;margin-bottom:3px;color:#233a58}.history-event p{font-size:11px;color:#5c718c;margin:4px 0}.history-event small{display:block;font-size:10px;color:#8fa0b4}.history-event details{margin-top:8px;font-size:10px;background:#f5f8fd;border-radius:6px;padding:8px;color:#60738e}.history-event details summary{cursor:pointer;font-weight:750}.history-event pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.5}.drawer-footer{padding:13px 23px;border-top:1px solid var(--line)}.drawer-footer .btn{width:100%}.history-empty{text-align:center;padding:40px 15px;font-size:12px;color:#8091a7}.toast{position:fixed;bottom:24px;right:24px;z-index:55;background:#203b61;color:white;border-radius:10px;padding:12px 16px;max-width:350px;box-shadow:0 7px 28px #17345a35;font-size:12px}.install-banner{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);width:min(460px,calc(100vw - 28px));z-index:36;box-shadow:0 9px 30px #142d5230;background:#fff;border:1px solid #d9e6f8;border-radius:12px;padding:13px;display:flex;gap:12px;align-items:center}.install-banner>div{flex:1;min-width:0}.install-banner strong,.install-banner small{display:block}.install-banner strong{font-size:12px}.install-banner small{color:#899bb2;font-size:10px}.install-banner .plain-icon{color:#9cabc0}
@media(max-width:1370px){.group-cards{grid-template-columns:repeat(3,1fr)}.content{padding:30px 26px}.topbar{padding:0 26px}}
@media(max-width:1080px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-left:9px;padding-right:9px}.stats{gap:8px}.stat{padding:14px}.group-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:27px}.item-short{font-size:10px}.work-header{padding:19px}.toolbar{padding:15px 19px}.source-tabs{padding:0 18px}.item-updated{width:100%;margin-left:0}}
@media(max-width:860px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:270px;transform:translateX(-105%);transition:transform .2s;z-index:31;height:100vh}.sidebar.open{transform:translateX(0)}.sidebar-shade{position:fixed;inset:0;background:#091e39a1;z-index:30}.only-mobile{display:grid}.brand .only-mobile{margin-left:auto;color:#c5d6ee}.topbar{height:63px}.hero{min-height:205px}.group-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.content{padding:26px}.sidebar-bottom{margin-top:30px}}
@media(max-width:670px){body{font-size:13px}.content{padding:22px 14px}.topbar{height:60px;padding:0 14px}.topbar-right{gap:6px}.sync-chip{font-size:10px;padding:6px 8px}.top-action{height:32px;width:32px;padding:0}.hide-mobile{display:none}.user-avatar{height:30px;width:30px}.crumb{font-size:11px}.headline{align-items:start;flex-direction:column;gap:14px;margin-bottom:18px}.headline h1{font-size:27px;margin:10px 0 7px}.headline p{font-size:12px}.headline-actions{width:100%;justify-content:flex-start}.headline-actions .btn{flex:1}.hero{padding:22px;min-height:0;gap:15px}.hero h2{font-size:18px}.hero p{font-size:11px}.hero-progress{min-width:90px}.ring{width:88px;height:88px;margin-bottom:7px}.ring>div{height:70px;width:70px}.ring strong{font-size:19px}.ring span{font-size:8px}.hero-progress small{font-size:9px}.hero-pills{margin-top:10px}.hero-pills span{font-size:9px;padding:4px 7px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 16px}.stat{min-height:122px;padding:13px}.stat-symbol{width:28px;height:28px;margin-bottom:8px}.stat strong{font-size:24px}.group-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.group-shortcut{padding:12px;min-height:120px}.work-header{padding:16px;align-items:start}.work-header h2{font-size:17px}.work-header p{font-size:11px}.result-count{font-size:9px;padding:5px 7px}.source-tabs{padding:0 10px}.source-tab{font-size:10px;padding:12px 8px}.toolbar{padding:13px 12px;gap:7px}.toolbar select,.search{height:36px}.toolbar label:not(.search){flex:1}.toolbar select{width:100%}.search{flex:1 1 100%;min-width:0}.helper-strip{padding:0 14px 12px}.items-root{padding:0 8px 15px}.control-group{margin:0 0 9px}.group-head{padding:13px;gap:8px}.group-head-main strong{font-size:12px}.group-code{padding:7px;min-width:38px}.audit-item{padding:13px 11px}.audit-item-main{grid-template-columns:1fr;gap:10px}.audit-title{gap:8px}.item-short{font-size:11px}.control-selects{justify-content:flex-start;margin-left:33px}.control-selects label{flex:1;max-width:calc(50% - 5px)}.control-selects select{width:100%;max-width:100%;min-width:0!important}.item-footer{margin-left:33px}.guide-panel,.notes-panel,.item-conflict{margin-left:0}.guide-grid{grid-template-columns:1fr}.guide-box.wide{grid-column:auto}.item-updated{width:100%}.footer{font-size:9px}.history-content{padding:15px}.drawer-top{padding:17px}}
@media(max-width:365px){.sync-chip{max-width:115px;overflow:hidden;text-overflow:ellipsis}.topbar-right{gap:4px}.hero{padding:16px}.hero-progress{min-width:78px}.ring{height:72px;width:72px}.ring>div{height:58px;width:58px}.ring strong{font-size:16px}.ring span{font-size:7px}.hero h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
/* Evita rolagem lateral em celulares e mantém ações superiores acessíveis. */
html,body{overflow-x:clip}
@media(max-width:670px){
  .topbar{gap:9px}
  .topbar-left{flex:1 1 0;min-width:0;gap:8px}
  .topbar-right{flex:0 0 auto;min-width:0}
  .crumb{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:405px){
  .sync-chip{max-width:98px;overflow:hidden;text-overflow:ellipsis;gap:5px}
  .topbar-right{gap:4px}
  .user-avatar{width:27px;height:27px}
}

/* 2.1: visão conjunta CIS + colégio, navegação dos 18 controles e Android */
.cis-nav-divider{border-top:1px solid #38577d;margin:16px 11px 12px}
.cis-nav-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#243f66;border:1px solid #3b5782;color:#d9e8ff;border-radius:10px;padding:12px 14px;font-size:10px;font-weight:800;letter-spacing:.5px;text-align:left}
.cis-nav-toggle:hover,.cis-nav-toggle.opened{background:#315582;color:#fff}
.cis-nav-toggle .ic{transition:transform .18s}
.cis-nav-toggle.opened .ic{transform:rotate(180deg)}
.cis-nav{margin-top:9px;padding-left:5px}.cis-nav .nav-btn{min-height:38px;padding:8px 8px;gap:8px}
.cis-nav-index{font-size:10px;font-weight:850;background:#31527c;border-radius:6px;width:25px;min-width:25px;padding:5px 0;text-align:center;color:#dcecff}
.scope-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:17px 0 18px}
.scope-card{padding:18px 20px;border:1px solid #dce7f7;border-radius:14px;background:#fff;box-shadow:var(--shadow);color:var(--ink);text-align:left;min-width:0;display:flex;flex-direction:column;gap:6px;transition:background .15s,border .15s}
.scope-card:hover{background:#f8fbff;border-color:#a4c5f9}
.scope-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#2662b7;font-weight:850;font-size:10px;letter-spacing:.6px}
.scope-card strong{font-size:27px;letter-spacing:-1px;color:#192f50;line-height:1.2}
.scope-card strong span{font-size:14px;letter-spacing:0;color:#3e5f8d}
.scope-card small{font-size:11px;color:#7c8da5}
.scope-progress{margin-top:6px;font-size:11px;color:#476c9a;font-weight:750}
.scope-track{display:block;width:100%;height:6px;border-radius:20px;background:#e6edf8;overflow:hidden}
.scope-track>span{height:100%;display:block;background:#3478e8;width:0;transition:width .2s}
.group-cards-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:19px 0 10px}
.group-cards-heading strong{font-size:14px;color:#254264}.group-cards-heading span{font-size:11px;color:#8292a8}
.cis-catalog-shortcuts{margin:0 0 20px;padding:0;border:1px solid #dbe6f4;border-radius:12px;background:#fff;overflow:hidden}
.cis-catalog-shortcuts summary{cursor:pointer;padding:16px 18px;font-weight:800;color:#27476f;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px;list-style:inside}
.cis-catalog-shortcuts summary:hover{background:#f8fbff}
.cis-catalog-shortcuts summary span{font-size:10px;font-weight:750;background:#eaf2ff;color:#3163a4;padding:5px 8px;border-radius:20px}
.cis-control-cards{padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;border-top:1px solid #e5ecf5}
.cis-shortcut{border:1px solid #e2eafa;border-radius:10px;background:#fafdff;display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:12px;text-align:left;min-width:0}
.cis-shortcut:hover{border-color:#acc8f5;background:#eff6ff}
.cis-shortcut .cis-num{font-size:10px;color:#3269ae;font-weight:850}
.cis-shortcut strong{font-size:11px;line-height:1.4;color:#234166}
.cis-shortcut small{font-size:10px;color:#7a8da8}
.source-tabs .source-tab{flex:1;min-width:0;text-align:center}
@media(max-width:860px){.cis-control-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.scope-overview{gap:8px;margin:12px 0}.scope-card{padding:12px 11px;gap:5px}.scope-card strong{font-size:23px}.scope-card strong span{display:block;font-size:11px;margin-top:2px}.scope-card-top{font-size:8px;letter-spacing:0}.scope-card small{font-size:9px;min-height:28px}.scope-progress{font-size:9px}.group-cards-heading{flex-direction:column;align-items:flex-start;gap:3px}.source-tab{font-size:10px;padding:11px 3px}.source-tab span{margin-left:4px}.cis-control-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}.cis-shortcut{padding:10px}.cis-catalog-shortcuts summary{font-size:12px;padding:13px}}
@media(max-width:355px){.scope-card{padding:10px 9px}.scope-card strong{font-size:21px}.source-tab{font-size:9px}}

/* Versão sem login: botão de aparelho no menu lateral. */
.device-button{display:block;width:100%;border:1px solid rgba(185,208,248,.24);background:rgba(255,255,255,.07);color:#d6e6fc;text-align:left;border-radius:10px;padding:10px 12px;font-size:11px;line-height:1.5;cursor:pointer;margin:9px 0}
.device-button:hover{background:rgba(255,255,255,.13)}
@media(max-width:405px){.topbar-right .top-action{width:30px;height:30px}.topbar-right{gap:3px}}
