:root{--bg:#f7f8fa;--paper:#fff;--ink:#222b3a;--muted:#7a8493;--line:#e6eaf0;--navy:#202f49;--red:#d95750;--red-soft:#fff1ef;--teal:#19816f;--amber:#ac741f;--blue:#3b6cce;--shadow:0 8px 34px rgba(23,38,60,.04);--sidebar:244px;--radius:15px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.44;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9cb8fa;outline-offset:2px}h1,h2,h3,p{margin-top:0}.skip{position:fixed;left:12px;top:-80px;z-index:1000;background:#fff;padding:12px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;align-self:flex-start;width:var(--sidebar);height:100vh;flex:0 0 var(--sidebar);background:var(--paper);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 15px 22px;z-index:15}.brand{display:flex;align-items:center;gap:11px;padding:2px 15px 56px}.brand strong{display:block;font:800 17px/1.3 'Manrope',sans-serif;letter-spacing:-.7px}.brand small{display:block;margin-top:4px;font-size:9px;font-weight:800;color:#8f98a5;letter-spacing:1.1px}.brand-icon{width:32px;height:32px;background:var(--navy);border-radius:10px;display:grid;grid-template-columns:repeat(2,6px);grid-template-rows:repeat(2,6px);align-content:center;justify-content:center;gap:4px;flex:none;transform:rotate(-7deg)}.brand-icon span{background:#fff;border-radius:2px}.brand-icon span:nth-child(3){background:#e97670}.sidebar-label{padding:0 15px;margin-bottom:13px;color:#9ba5b2;letter-spacing:1.8px;font:800 9px 'Manrope',sans-serif}.sidebar-label.divider{margin-top:37px}.nav{display:flex;flex-direction:column;gap:3px}.nav-item{border:none;background:transparent;color:#7b8795;min-height:42px;text-align:left;padding:0 13px;border-radius:9px;display:flex;gap:13px;align-items:center;font-weight:700;position:relative;transition:background .18s,color .18s,transform .18s}.nav-item:hover{background:#f4f6f9;color:var(--ink);transform:translateX(2px)}.nav-item.active{background:#f0f3f7;color:var(--navy)}.nav-icon{font-size:18px;display:inline-flex;width:20px;justify-content:center;font-weight:500}.nav-indicator{display:none;margin-left:auto;width:4px;height:15px;border-radius:4px;background:var(--red)}.nav-item.active .nav-indicator{display:block}.source-card{margin:0 5px;background:#f8f9fb;border:1px solid #eff1f4;min-height:68px;padding:12px;display:flex;gap:10px;align-items:center;border-radius:10px}.source-icon{width:30px;height:30px;flex:none;background:#e9f0e7;color:#218153;border-radius:8px;display:grid;place-items:center;font:800 16px 'Manrope',sans-serif}.source-card strong{display:block;font-size:11px}.source-card small{color:#929ba8;font-size:10px;display:block;margin-top:4px}.source-chevron{margin-left:auto;color:#a9b3bf}.sidebar-spacer{flex:1}.sidebar-foot{display:flex;align-items:flex-start;padding:16px 14px 12px;gap:10px;border-top:1px solid var(--line)}.sidebar-foot strong{display:block;font-size:11px}.sidebar-foot span:not(.tiny-orb){color:#98a1ad;font-size:10px;line-height:1.7}.tiny-orb{width:8px;height:8px;flex:none;margin-top:5px;border-radius:99px;background:#dda447}.sidebar-settings{border:0;background:none;text-align:left;color:#7f8997;font-weight:700;font-size:11px;padding:9px 14px}.sidebar-settings span{font-size:17px;margin-right:8px;vertical-align:middle}
.workspace{min-width:0;width:calc(100% - var(--sidebar))}.topbar{height:68px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.82);display:flex;align-items:center;justify-content:space-between;padding:0 40px;backdrop-filter:blur(12px);position:sticky;top:0;z-index:10}.breadcrumb{font:800 10px 'Manrope',sans-serif;letter-spacing:1.2px;color:#a1aab6}.breadcrumb strong{color:#637081}.breadcrumb span{padding:0 11px;color:#bec6d0}.topbar-right{display:flex;align-items:center;gap:15px}.sync-state{display:flex;align-items:center;gap:8px;font-size:11px;color:#687687;font-weight:700}.state-dot{display:block;width:7px;height:7px;border-radius:99px;background:#c9953d}.sync-state.live .state-dot{background:#26a17b;box-shadow:0 0 0 4px #e9f7f2}.sync-state.error .state-dot{background:#dc645d}.topbar-sync{border:1px solid var(--line);border-radius:8px;background:#fff;padding:9px 12px;color:#435168;font-weight:700;font-size:11px;transition:background .2s}.topbar-sync:hover{background:#f5f7fa}.avatar{background:var(--navy);border:none;border-radius:9px;color:white;width:31px;height:31px;font-size:10px;font-weight:800}.mobile-menu{display:none}
main{max-width:1530px;margin:0 auto;padding:39px 43px 30px}.eyebrow,.panel-kicker{font:800 10px 'Manrope',sans-serif;letter-spacing:2px;color:#9da6b4}.eyebrow{display:flex;align-items:center;gap:10px}.eyebrow-line{background:var(--red);width:23px;height:2px;display:block}.eyebrow-sep{color:#d8dde4}.hero{margin-bottom:23px}.hero-line{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.hero h1{font:800 clamp(30px,3.4vw,48px)/1.16 'Manrope',sans-serif;letter-spacing:-2.4px;color:var(--navy);margin:14px 0 10px}.hero em{font-style:normal;color:var(--red)}.hero p{color:#7a8797;font-size:13px;margin-bottom:0}.hero-actions{display:flex;gap:9px;margin-bottom:4px}.btn-secondary,.btn-primary{border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;font-size:11px;text-decoration:none;min-height:38px;padding:0 15px;white-space:nowrap;transition:transform .16s,box-shadow .16s,background .16s}.btn-secondary{border:1px solid #dce2e9;background:#fff;color:#506072}.btn-primary{border:1px solid var(--navy);background:var(--navy);color:white}.btn-secondary:hover,.btn-primary:hover{transform:translateY(-2px);box-shadow:0 7px 15px rgba(19,37,59,.12)}.btn-primary:disabled:hover{transform:none;box-shadow:none}.data-banner{background:#fff;border:1px solid #e7eaf0;box-shadow:var(--shadow);border-radius:10px;min-height:69px;display:flex;align-items:center;gap:13px;padding:14px 17px;margin-bottom:19px}.data-banner.live{background:#f5fbf8;border-color:#e0f1e9}.data-banner.error{background:#fff8f6;border-color:#f9e3e0}.data-banner-icon{background:#fff1dc;color:#a36b25;border-radius:8px;width:30px;height:30px;display:grid;place-items:center;font-weight:800;flex:none}.data-banner.live .data-banner-icon{background:#dff5e9;color:#217a57}.data-banner strong{display:block;font-size:11px;margin-bottom:3px}.data-banner p{color:#8692a0;font-size:11px;margin:0}.text-link{border:0;background:none;color:#4c6da5;text-decoration:none;font-weight:800;font-size:11px;white-space:nowrap;margin-left:auto}.text-link:hover{text-decoration:underline}
.scope-row{display:flex;align-items:stretch;gap:11px;margin-bottom:19px}.scope-field{background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;flex:1;max-width:350px;flex-direction:column;gap:4px;padding:10px 13px;box-shadow:var(--shadow)}.scope-field>span{color:#a8b1bd;font-size:9px;font-weight:800;letter-spacing:1.35px}.scope-field select{font-size:12px;color:#283c54;font-weight:800;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2355677c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center;border:0;padding:1px 20px 2px 0;width:100%;outline-offset:5px}.reset-btn{background:transparent;border:0;color:#87919e;font-size:11px;font-weight:800;padding:0 11px;white-space:nowrap}.reset-btn:hover{color:var(--red)}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.metric{position:relative;overflow:hidden;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px 20px 18px;min-height:142px;box-shadow:var(--shadow);transition:transform .18s,border .18s,box-shadow .18s}.metric:hover,.metric.selected{transform:translateY(-3px);border-color:#b8c7d5;box-shadow:0 12px 29px rgba(28,48,70,.08)}.metric.selected:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--red)}.metric-top{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;font-weight:800;color:#8d9aa9;letter-spacing:1px;text-transform:uppercase}.metric-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#f3f5f8;color:#7d8ca0;font-size:15px;font-weight:500}.metric-value{font:800 clamp(29px,3vw,40px)/1.3 'Manrope',sans-serif;letter-spacing:-1.8px;color:var(--navy);display:block;margin-top:14px}.metric-foot{display:flex;align-items:center;justify-content:space-between;color:#9aa6b3;font-size:10px;font-weight:700;margin-top:3px}.metric-foot b{font-size:14px;font-weight:500;color:#9dadc0}.metric[data-type="attention"] .metric-icon{background:#fff0ed;color:var(--red)}.metric[data-type="closed"] .metric-icon{background:#edf7f3;color:var(--teal)}.metric[data-type="recon"] .metric-icon{background:#eaf1fe;color:var(--blue)}
.overview-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,1fr);gap:14px;margin-bottom:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.progress-panel,.attention-panel{padding:23px 22px;min-height:256px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-head h2,.register-head h2{font:800 17px/1.3 'Manrope',sans-serif;color:var(--navy);letter-spacing:-.6px;margin:5px 0 0}.mini-tag{background:#f3f5f8;color:#8a95a4;border-radius:99px;padding:7px 10px;font-size:10px;font-weight:800}.panel-desc{font-size:11px;color:#9ba6b3;margin:12px 0 29px}.stacked-bar{display:flex;height:14px;background:#f1f3f7;border-radius:9px;overflow:hidden;gap:2px}.stacked-bar span{display:block;height:100%;transition:width .5s cubic-bezier(.2,.8,.2,1)}.stacked-bar .bar-closed{background:#3e8a75}.stacked-bar .bar-active{background:#dfa24c}.stacked-bar .bar-done{background:#739bd5}.stacked-bar .bar-canceled{background:#b4bfcb}.stacked-bar .bar-empty{background:#dc756f}.status-legend{margin-top:30px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 12px}.legend-line{display:flex;align-items:center;gap:7px;min-width:0}.legend-dot{height:7px;width:7px;border-radius:2px;flex:none}.legend-line .legend-label{color:#808d9e;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.legend-line b{font-size:11px;color:var(--navy);margin-left:auto}.pulse-mark{height:9px;width:9px;background:var(--red);border-radius:99px;box-shadow:0 0 0 5px #fff0ee}.attention-list{margin-top:16px;display:flex;flex-direction:column;gap:0}.attention-item{background:transparent;border:0;border-bottom:1px solid #f0f2f5;padding:14px 0;text-align:left;display:flex;gap:9px;align-items:center;justify-content:space-between;transition:padding .2s}.attention-item:last-child{border-bottom:0}.attention-item:hover{padding-left:5px}.attention-item b{display:block;font-size:11px;color:#324054;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:350px}.attention-item small{font-size:10px;color:#9ba7b2}.attention-arrow{color:#b2bbc5}
.table-panel{overflow:hidden}.register-head{padding:22px 22px 18px;display:flex;align-items:center;justify-content:space-between}.register-head p{font-size:11px;color:#9aa6b4;margin:7px 0 0}.button-minimal{border:1px solid var(--line);background:#fff;color:#506174;border-radius:8px;padding:10px 13px;font-size:11px;font-weight:800}.button-minimal:hover{background:#f6f8fa}.table-toolbar{background:#fcfcfd;border-top:1px solid #f1f3f5;border-bottom:1px solid var(--line);padding:13px 22px;display:flex;gap:11px;align-items:center}.search-wrap{display:flex;align-items:center;gap:10px;border:1px solid #e5e9ee;background:white;border-radius:8px;padding:0 12px;min-height:37px;flex:1;max-width:580px}.search-wrap>span{font-size:22px;color:#9ba6b4}.search-wrap input{outline:none;border:0;width:100%;color:#34445a;font-size:11px;background:transparent;min-width:50px}.search-wrap input::placeholder{color:#a9b1bb}.search-wrap kbd{border:1px solid #e7ebef;background:#f7f8f9;color:#a9b3bf;border-radius:3px;padding:2px 5px;font-size:10px}.filter-wrap{border:1px solid #e6eaf0;border-radius:8px;display:flex;align-items:center;gap:8px;background:#fff;padding:0 9px;min-height:37px}.filter-wrap span{color:#a1abb8;font-size:10px}.filter-wrap select{border:0;min-width:80px;max-width:160px;font-weight:700;background:#fff;color:#536478;font-size:10px}.table-scroll{overflow:auto;scrollbar-width:thin;max-height:680px}table{width:100%;border-collapse:collapse;min-width:980px;table-layout:fixed}th{position:sticky;top:0;z-index:1;text-align:left;font:800 9px 'Manrope',sans-serif;letter-spacing:1.3px;color:#a6b0bd;background:#fff;padding:16px 15px;border-bottom:1px solid var(--line)}td{border-bottom:1px solid #f0f2f5;padding:14px 15px;color:#687688;font-size:11px;vertical-align:middle;line-height:1.5}tr:hover td{background:#fcfdfd}tr:last-child td{border-bottom:0}.col-no{width:58px}.col-title{width:31%}.col-action{width:22%}th:nth-child(3){width:70px}th:nth-child(4){width:112px}th:nth-child(5){width:105px}th:nth-child(6){width:122px}th:last-child{width:54px}.cr-title{font-weight:800;color:#2a3c52;font-size:11px;display:block;line-height:1.4}.cr-sub{display:block;color:#9ba5b0;margin-top:4px;font-size:10px}.cell-truncate{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.status-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:5px;font-weight:800;font-size:9px;letter-spacing:.2px;background:#f4f5f8;color:#708093;white-space:nowrap}.status-pill.closed{background:#e9f6ef;color:#258166}.status-pill.active{background:#fff5e4;color:#9b741d}.status-pill.done{background:#edf1fd;color:#5079b0}.status-pill.cancel{background:#f1f3f6;color:#81909e}.status-pill.unknown{background:#fff0ef;color:#be5d56}.progress-meter{display:flex;align-items:center;gap:8px;color:#7d8b9b;font-weight:800}.progress-track{width:55px;height:5px;border-radius:99px;background:#ebeff2;overflow:hidden;flex:none}.progress-track span{display:block;height:100%;background:#6488ad;border-radius:99px}.recon-copy{display:block;color:#627489;font-weight:700;font-size:10px}.recon-copy.missing{color:#a4adb9;font-weight:500}.open-row{border:0;background:#f4f6f8;color:#75869b;width:27px;height:27px;border-radius:7px;font-size:16px;transition:transform .2s,background .2s}.open-row:hover{transform:translateX(3px);background:#e9f0f7}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-top:1px solid var(--line);color:#98a4b1;font-size:11px}.pagination{display:flex;gap:12px;align-items:center;color:#67798d;font-weight:700}.pagination button{background:#fff;border:1px solid #e3e8ef;border-radius:7px;width:29px;height:29px;color:#66798d}.empty-state{padding:70px 10px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}.empty-state[hidden]{display:none}.empty-symbol{font-size:40px;color:#c2cad2}.empty-state strong{font-size:15px}.empty-state span{color:#99a3af}.empty-state button{margin-top:8px}.app-footer{display:flex;justify-content:space-between;color:#b1b9c2;font:800 9px 'Manrope',sans-serif;letter-spacing:1.1px;padding:27px 4px 0}.app-footer b{color:var(--red)}
.scrim,.modal-scrim{position:fixed;inset:0;background:rgba(26,38,56,.42);z-index:50;animation:fade .2s}.scrim[hidden],.modal-scrim[hidden],.drawer[hidden],.settings-dialog[hidden]{display:none}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(520px,100%);z-index:51;background:#fff;box-shadow:-18px 0 60px rgba(16,31,51,.16);display:flex;flex-direction:column;animation:enterRight .28s cubic-bezier(.2,.7,.25,1)}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:28px 31px 15px;border-bottom:1px solid var(--line)}.drawer-ref{display:block;color:#a2adba;font-size:11px;margin-top:5px}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:9px;color:#617187;font-size:20px;width:34px;height:34px;display:grid;place-items:center}.drawer-scroll{overflow:auto;flex:1;padding:25px 31px 20px}.drawer-scroll h2{font:800 23px/1.3 'Manrope',sans-serif;letter-spacing:-.7px;color:var(--navy);margin:0 0 16px}.drawer-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.drawer-meta span{padding:6px 9px;border:1px solid #e4e9ef;border-radius:6px;background:#f8f9fb;color:#8190a0;font-weight:800;font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label,.settings-label{display:flex;flex-direction:column;gap:8px;color:#56667a;font-size:11px;font-weight:800}.form-grid input,.form-grid select,.form-grid textarea,.settings-label input{width:100%;background:#fff;border:1px solid #dfe5ec;border-radius:8px;padding:11px 12px;color:#2a3d51;font-size:12px;line-height:1.5;resize:vertical;outline-offset:1px}.form-grid .span-2{grid-column:1/-1}.form-grid textarea{min-height:90px}.drawer-notice{background:#fff7e8;color:#946b2f;padding:12px;border-radius:8px;font-size:11px;line-height:1.6;margin-top:22px}.drawer-notice.live{background:#ecf8f1;color:#27785c}.drawer-excel{display:inline-block;color:#5677a1;font-weight:800;font-size:11px;margin-top:18px;text-decoration:none}.drawer-bottom{border-top:1px solid var(--line);padding:17px 31px;display:flex;gap:10px;justify-content:flex-end}
.modal-scrim{z-index:60}.settings-dialog{position:fixed;z-index:61;width:min(560px,calc(100vw - 24px));max-height:calc(100vh - 36px);left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;box-shadow:0 30px 95px rgba(17,28,43,.25);border:1px solid var(--line);border-radius:17px;display:flex;flex-direction:column;animation:fade .18s}.settings-dialog header{display:flex;justify-content:space-between;align-items:center;padding:23px 26px;border-bottom:1px solid var(--line)}.settings-dialog h2{font:800 21px 'Manrope',sans-serif;letter-spacing:-.7px;margin:5px 0 0}.settings-content{overflow:auto;padding:22px 26px}.connection-card{display:flex;gap:13px;align-items:center;background:#f7f9fb;border:1px solid #e8edf1;border-radius:10px;padding:14px}.connection-icon{width:33px;height:33px;border-radius:8px;background:#243750;color:#fff;display:grid;place-items:center;font-weight:800;font-size:15px}.connection-card strong{font-size:12px}.connection-card p{font-size:11px;margin:4px 0 0;color:#8391a0}.small-copy{line-height:1.7;color:#8693a2;font-size:11px;margin:17px 0 21px}.settings-label{margin-bottom:14px}.settings-label input{margin-top:0}.config-note{color:#8b97a7;font-size:10px;line-height:1.7}.config-actions{display:flex;gap:9px;margin-top:16px}.separator{height:1px;background:var(--line);margin:22px 0 5px}.settings-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #f1f3f5;color:#8a96a4;font-size:11px}.settings-row strong,.settings-row a{color:#495d75;text-align:right;font-weight:800;text-decoration:none}.settings-error{color:#b84c40;background:#fff0ef;padding:12px;border-radius:7px;font-size:11px;line-height:1.6}.toast-stack{position:fixed;right:25px;bottom:24px;z-index:200;display:flex;flex-direction:column;gap:8px}.toast{background:#26374c;color:#fff;padding:13px 17px;border-radius:9px;box-shadow:0 9px 28px #1b2f4633;max-width:350px;font-size:11px;line-height:1.7;animation:toastIn .2s}.toast.error{background:#ad514b}.toast.success{background:#24775c}.mobile-menu{border:0;background:transparent}
@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes enterRight{from{transform:translateX(25px);opacity:.7}to{transform:translateX(0);opacity:1}}@keyframes toastIn{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:1240px){main{padding:35px 28px}.topbar{padding:0 26px}.metric{padding:19px 16px}.metric-value{font-size:31px}.overview-layout{grid-template-columns:minmax(0,1.15fr) minmax(270px,1fr)}}
@media(max-width:1030px){:root{--sidebar:210px}.sidebar{padding-left:10px;padding-right:10px}.brand{padding:2px 8px 50px}.scope-row{flex-wrap:wrap}.scope-field{min-width:150px}.metric-grid{gap:9px}.metric{min-height:130px}.metric-top{font-size:9px}.status-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){:root{--sidebar:0px}.sidebar{position:fixed;left:0;top:0;width:250px;flex-basis:250px;height:100vh;transform:translateX(-110%);box-shadow:15px 0 40px #162c4220;transition:transform .23s;z-index:40}.sidebar.open{transform:translateX(0)}.workspace{width:100%}.mobile-menu{display:grid;place-items:center;margin-left:-9px}.breadcrumb{margin-right:auto;margin-left:12px}.topbar{height:59px}.sync-state{font-size:10px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-layout{grid-template-columns:1fr}.progress-panel,.attention-panel{min-height:auto}.attention-list{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.hero-line{align-items:flex-start}.hero-actions{flex-direction:column;gap:7px}.table-toolbar{flex-wrap:wrap}.search-wrap{max-width:none;flex-basis:100%}}
@media(max-width:560px){main{padding:27px 16px}.topbar{padding:0 15px}.topbar-sync{padding:8px}.topbar-sync span{display:none}.sync-state{max-width:135px;text-align:right}.hero-line{flex-direction:column;gap:18px}.hero h1{letter-spacing:-1.7px;font-size:36px}.hero-actions{width:100%;flex-direction:row}.hero-actions .btn-primary,.hero-actions .btn-secondary{flex:1}.data-banner{align-items:flex-start;padding:13px}.data-banner p{line-height:1.6}.text-link{font-size:10px}.scope-row{gap:8px}.scope-field{width:calc(50% - 5px);min-width:0;flex:none;max-width:none}.scope-field:first-child{width:100%}.reset-btn{width:100%;padding:4px}.metric-grid{gap:8px}.metric{min-height:127px;padding:15px 13px}.metric-value{font-size:31px;margin-top:11px}.metric-foot{font-size:9px}.metric-top{letter-spacing:.2px}.progress-panel,.attention-panel{padding:18px 16px}.status-legend{gap:12px 10px}.attention-list{display:block}.register-head{padding:19px 16px}.table-toolbar{padding:12px 16px;gap:8px}.filter-wrap{flex:1}.filter-wrap select{max-width:90px}.table-footer{padding:14px 16px}.app-footer{font-size:8px;gap:10px}.drawer-head,.drawer-scroll,.drawer-bottom{padding-left:19px;padding-right:19px}.drawer-scroll h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

 .sync-state.manual{color:#a36c26}.data-banner.manual{background:#fff9ed;border-color:#efe2c7}.manual-import-card{padding:16px;border:1px solid #e2e8ef;border-radius:11px;background:#f8fafc}.manual-import-card strong{font-size:13px;color:#263c55}.manual-import-card p{font-size:11px;line-height:1.7;color:#617289}.manual-import-button{color:#2e618f;font-weight:800}
[hidden],#overviewSection[hidden],#crTable[hidden],.form-grid label[hidden]{display:none!important}

/* Responsive register QA: compact laptop, tablet, and handheld layouts. */
.topbar .mobile-menu{display:none}
.overview-layout,.overview-layout>.panel,.attention-list,.attention-item{min-width:0}
.attention-item{width:100%}
.attention-item>div{min-width:0;flex:1}
.attention-item b{max-width:100%}
.table-panel,.table-scroll{min-width:0}
.table-scroll{overscroll-behavior-x:contain}
.data-banner>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
.settings-row a{overflow-wrap:anywhere}
@media (max-width:1170px){
 .overview-layout{grid-template-columns:minmax(0,1fr)}
 .status-legend{grid-template-columns:repeat(3,minmax(0,1fr))}
 .attention-item b{max-width:100%}
}
@media (max-width:800px){
 .topbar .mobile-menu{display:grid;min-width:44px;min-height:44px}
 .sidebar{height:100dvh;overflow-y:auto}
}
@media (max-width:820px){
 /* Every CR field remains visible; no 980px-wide table on phones or tablets. */
 .table-scroll{max-height:none;overflow-x:hidden;padding:12px;background:#f8f9fb}
 #crTable{display:block;min-width:0;width:100%;border-collapse:separate}
 #crTable thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
 #crTable tbody{display:grid;gap:12px}
 #crTable tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'title open' 'number year' 'status progress' 'recon recon' 'action action';column-gap:12px;row-gap:12px;align-items:start;padding:16px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 14px rgba(23,38,60,.035)}
 #crTable tbody tr:hover td{background:transparent}
 #crTable tbody td{display:block;min-width:0;width:auto;padding:0;border:0;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
 #crTable tbody td:nth-child(1){grid-area:number;color:var(--muted);font-size:12px}
 #crTable tbody td:nth-child(1)::before{content:'NO. ';font-size:10px;font-weight:800;letter-spacing:.07em;color:#8997a7}
 #crTable tbody td:nth-child(2){grid-area:title;align-self:center}
 #crTable tbody td:nth-child(3){grid-area:year;justify-self:end;color:#536478;font-weight:700}
 #crTable tbody td:nth-child(3)::before{content:'TAHUN ';font-size:10px;color:#8c98a8}
 #crTable tbody td:nth-child(4){grid-area:status;align-self:center}
 #crTable tbody td:nth-child(5){grid-area:progress;justify-self:end;align-self:center}
 #crTable tbody td:nth-child(6){grid-area:recon;border-top:1px solid #eef1f5;padding-top:12px}
 #crTable tbody td:nth-child(6)::before{content:'REKON';display:block;font-size:10px;font-weight:800;color:#8c98a8;letter-spacing:.07em;margin-bottom:5px}
 #crTable tbody td:nth-child(7){grid-area:action;border-top:1px solid #eef1f5;padding-top:12px}
 #crTable tbody td:nth-child(7)::before{content:'TINDAK LANJUT';display:block;font-size:10px;font-weight:800;color:#8c98a8;letter-spacing:.07em;margin-bottom:5px}
 #crTable tbody td:nth-child(8){grid-area:open;justify-self:end}
 #crTable .cr-title{font-size:14px;line-height:1.48;overflow-wrap:anywhere}
 #crTable .cell-truncate{display:block;overflow:visible;-webkit-line-clamp:unset;white-space:normal}
 #crTable .cr-sub{font-size:11px;margin-top:7px}
 #crTable .status-pill{font-size:11px;line-height:1.4}
 #crTable .recon-copy{font-size:12px;line-height:1.5}
 #crTable .open-row{width:44px;height:44px;font-size:20px;background:#eef3f8;color:#415e80}
 #crTable .progress-track{width:48px}
 .table-footer{gap:8px;flex-wrap:wrap}
 .pagination button{width:44px;height:44px}
}
@media(max-width:560px){
 .hero-actions{flex-direction:column}
 .hero-actions .btn-primary,.hero-actions .btn-secondary{width:100%;min-height:44px}
 .topbar{gap:4px;padding:0 12px}
 .topbar-right{gap:7px;min-width:0}
 .breadcrumb{font-size:9px;margin-left:4px;letter-spacing:.04em;min-width:0}
 .sync-state{font-size:10px;max-width:120px;min-width:0}
 .topbar-sync,.avatar{min-width:44px;min-height:44px}
 .data-banner{flex-wrap:wrap}
 .data-banner .text-link{margin-left:43px;min-height:34px}
 .overview-layout>.panel{min-width:0}
 .status-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 8px}
 .legend-line{min-width:0;overflow:hidden}
 .register-head{gap:10px;align-items:flex-start;flex-wrap:wrap}
 .register-head>div{min-width:0}
 .table-actions{display:flex;flex-wrap:wrap;gap:6px;max-width:100%}
 .table-actions .button-minimal{min-height:44px;padding:10px;font-size:11px}
 .search-wrap{min-width:0}
 .filter-wrap{min-width:0}
 .filter-wrap select{min-width:0;max-width:100%}
 .scope-field select{font-size:16px}
 .search-wrap input,.filter-wrap select,.form-grid input,.form-grid select,.form-grid textarea,.settings-label input{font-size:16px}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .form-grid .span-2{grid-column:auto}
 .drawer{height:100dvh}
 .drawer-scroll{overscroll-behavior-y:contain}
 .drawer-bottom{padding-bottom:max(17px,env(safe-area-inset-bottom))}
 .drawer-bottom button{min-height:44px}
 .drawer-notice,.settings-content{overflow-wrap:anywhere}
 .settings-dialog{max-height:calc(100dvh - 16px)}
 .settings-dialog header{padding:17px}
 .settings-content{padding:16px}
 .settings-row{flex-wrap:wrap}
 .settings-row strong,.settings-row a{text-align:left}
 .toast-stack{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom))}
 .toast{max-width:100%}
}
@media(max-width:360px){
 main{padding:22px 12px}
 .hero h1{font-size:32px;letter-spacing:-1.4px}
 .breadcrumb{font-size:9px}
 .metric{padding:13px 11px}
 .metric-top{font-size:9px}
 .metric-foot{font-size:10px}
 .progress-panel,.attention-panel{padding:16px 13px}
 .table-scroll{padding:8px}
 #crTable tbody tr{padding:12px;column-gap:6px}
 .topbar-sync{padding:7px}
}
/* Constrain attention text as a flex item; long CR names must never widen the page. */
.attention-item>span:first-child{min-width:0;flex:1;overflow:hidden}
.attention-arrow{flex:0 0 auto}
@media(min-width:821px) and (max-width:1360px){
 #crTable{min-width:900px}
 td{font-size:12px}
 .cr-title{font-size:12px}
}
@media(max-width:560px){
 .filter-wrap{flex-direction:column;align-items:stretch;justify-content:center;gap:4px;padding:8px 11px}
 .filter-wrap select{max-width:none;width:100%;font-size:15px;min-width:0}
 .breadcrumb{font-size:0;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
 .breadcrumb span{display:none}
 .breadcrumb strong{font-size:11px;line-height:1.2;letter-spacing:.01em}
}
