:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172026;background:#f6f8fb;font-synthesis:none;text-rendering:optimizeLegibility;--background: #f6f8fb;--card: #ffffff;--muted: #eef3f6;--border: #dbe4ea;--foreground: #172026;--muted-foreground: #667681;--primary: #0b6b64;--primary-strong: #084e49;--accent: #2f6fed;--coral: #d45a45;--warning: #9a6700;--success: #16794c;--destructive: #b42318;--shadow: 0 12px 32px rgba(20, 38, 48, .08)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;letter-spacing:0}.min-w-0{min-width:0}.app-shell{display:grid;min-height:100vh;grid-template-columns:252px minmax(0,1fr)}.sidebar{border-right:1px solid var(--border);background:#fff;padding:14px;position:sticky;top:0;height:100vh}.brand,.public-brand{display:flex;align-items:center;gap:10px;min-width:0}.brand{padding:6px 4px 16px;justify-content:center}.brand strong,.brand span{display:block;white-space:nowrap}.brand strong,.topbar-search strong,.public-brand{color:#0070b8}.brand span{color:var(--muted-foreground);font-size:12px}.brand-mark{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#0b6b64;color:#fff;font-weight:800;flex:0 0 auto}.brand-logo{display:block;width:44px;height:34px;object-fit:contain;flex:0 0 auto}.sidebar-nav{display:grid;gap:4px}.sidebar-link{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border-radius:8px;color:#34444f;font-size:14px;min-width:0}.sidebar-link span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-link svg,.sidebar-icon svg{width:18px;height:18px}.sidebar-link.active,.sidebar-link:hover{background:#e7f4f2;color:#074b45}.app-main{min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:58px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border);background:#ffffffeb;padding:0 18px;position:sticky;top:0;z-index:20}.topbar-menu{display:none}.topbar-search{color:var(--muted-foreground);font-size:13px;min-width:0;flex:1}.user-chip{border:1px solid var(--border);border-radius:999px;padding:6px 10px;background:#fff;font-size:13px}.content{min-width:0;padding:24px;flex:1;width:min(100%,1280px);margin:0 auto}.page-shell{display:grid;gap:16px}.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.page-head h1,.form-title h1,.public-intro h1,.lookup-form h1,.success-panel h1{margin:0;font-size:22px;line-height:1.18}.page-head p,.form-title p,.public-intro p,.success-panel p{margin:6px 0 0;color:var(--muted-foreground);font-size:14px}.page-actions,.public-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.button{border:1px solid transparent;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-weight:600;transition:background .14s,border .14s,color .14s}.button:disabled{cursor:not-allowed;opacity:.55}.button svg{width:16px;height:16px}.button-leading-icon{display:inline-flex;flex:0 0 auto}.button-sm{height:34px;padding:0 10px;font-size:13px}.button-md{height:38px;padding:0 12px;font-size:14px}.button-lg{height:42px;padding:0 14px}.button-icon{width:34px;height:34px;padding:0}.button-primary{color:#fff;background:var(--primary)}.button-primary:hover{background:var(--primary-strong)}.button-secondary{background:#e9f0f4;color:#23333d}.button-outline{background:#fff;border-color:var(--border);color:#263640}.button-ghost,.button-link{background:transparent;color:#263640}.button-destructive{color:#fff;background:var(--destructive)}.control{width:100%;height:38px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--foreground);padding:0 10px;outline:none;min-width:0}.control:focus{border-color:#0b6b64;box-shadow:0 0 0 3px #0b6b641f}.control[readonly]{background:#f4f8fa;color:#42535e}.textarea{height:auto;min-height:88px;padding:10px;resize:vertical}.field{display:grid;gap:5px;min-width:0;font-size:13px;color:#30414c}.field>span{color:#536571;font-size:12px;font-weight:600}.field-error{color:var(--destructive)}.list-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) repeat(3,minmax(118px,160px)) minmax(250px,340px) 36px;gap:8px;align-items:end}.toolbar-field,.toolbar-date-range label{display:grid;gap:4px;color:var(--muted-foreground);font-size:11px;font-weight:600}.toolbar-search{min-width:160px}.toolbar-date-range{display:grid;grid-template-columns:minmax(124px,1fr) minmax(124px,1fr);gap:8px}.data-view{display:grid;gap:10px}.table-scroll{overflow-x:auto;border:1px solid var(--border);border-radius:8px;background:#fff}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:10px 12px;border-bottom:1px solid #edf2f5;text-align:left;vertical-align:top}th{color:#5d6f7b;background:#f8fafc;font-size:12px;font-weight:700}td small{display:block;color:var(--muted-foreground);margin-top:2px}.actions-col{width:72px;text-align:right}.row-actions{position:relative;display:inline-flex}.row-actions summary{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;cursor:pointer;border:1px solid var(--border);list-style:none;background:#fff}.row-actions summary::-webkit-details-marker{display:none}.row-actions svg{width:16px;height:16px}.row-actions-menu{position:absolute;right:0;top:36px;z-index:50;display:grid;width:160px;padding:6px;border-radius:8px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow)}.row-action{display:flex;align-items:center;gap:8px;height:34px;border:0;background:transparent;color:#283a45;padding:0 8px;border-radius:7px;text-align:left;cursor:pointer}.row-action:hover{background:var(--muted)}.row-action.destructive{color:var(--destructive)}.status-badge{display:inline-flex;align-items:center;border-radius:999px;border:1px solid transparent;height:24px;padding:0 8px;font-size:12px;font-weight:700;white-space:nowrap}.status-info{color:#1c5d99;background:#eaf3ff}.status-success,.status-issued{color:var(--success);background:#e9f7ef}.status-warning,.status-draft{color:var(--warning);background:#fff4d6}.status-error{color:var(--destructive);background:#ffe9e7}.status-locked,.status-inactive{color:#53606a;background:#eef1f4}.data-state{border:1px dashed var(--border);border-radius:8px;background:#fff;padding:20px;color:var(--muted-foreground);text-align:center}.data-state.error{color:var(--destructive);background:#fff5f4}.pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;color:var(--muted-foreground)}.pagination div{display:flex;gap:6px}.mobile-cards{display:none}.compact-card,.panel,.program-panel,.lookup-form,.lookup-result,.success-panel,.apply-form,.metric-card{border:1px solid var(--border);background:var(--card);border-radius:8px}.compact-card{padding:11px;display:grid;gap:9px}.compact-card-head{display:flex;justify-content:space-between;gap:8px}.compact-card-head strong,.compact-card-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-card-head span{color:var(--muted-foreground);font-size:12px}.compact-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.compact-card-meta small{display:block;color:var(--muted-foreground);font-size:11px}.compact-card-meta span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.compact-card-actions{display:flex;justify-content:flex-end}.panel{padding:14px;display:grid;gap:12px}.panel h2,.form-section h3,.dialog h2{margin:0;font-size:16px;line-height:1.25}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head span{color:var(--muted-foreground);font-size:12px}.metrics-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.metric-card{display:grid;gap:6px;padding:12px}.metric-card svg{width:18px;height:18px;color:var(--primary)}.metric-card small{color:var(--muted-foreground);font-size:12px}.metric-card strong{font-size:19px}.bar-list{display:grid;gap:10px}.bar-row{display:grid;grid-template-columns:120px minmax(0,1fr) 36px;gap:10px;align-items:center;font-size:13px}.bar-row div{height:10px;border-radius:999px;background:#eef3f6;overflow:hidden}.bar-row i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b6b64,#2f6fed)}.detail-grid,.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-list{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 12px;margin:0;font-size:13px}.detail-list dt{color:var(--muted-foreground)}.detail-list dd{margin:0;min-width:0;overflow-wrap:anywhere}.score-box,.score-summary{display:flex;align-items:baseline;gap:10px}.score-box strong,.score-summary strong{font-size:30px;color:var(--primary)}.split-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:12px}.score-grid,.criteria-grid,.file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.file-upload-field{display:grid;gap:6px;min-width:0}.file-label{color:#536571;font-size:12px;font-weight:600}.file-dropzone{position:relative;display:flex;align-items:center;min-width:0;min-height:72px;border:1px dashed #b9cad4;border-radius:8px;background:#fbfdfe;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.file-dropzone:hover,.file-dropzone:focus-within{border-color:#0b7f77;background:#f2fbf9;box-shadow:0 0 0 3px #0b6b6414}.file-dropzone.has-file{border-style:solid;border-color:#0b6b6452;background:#f3fbf9}.file-input{position:absolute;inset:0;width:1px;height:1px;opacity:0;pointer-events:none}.file-dropzone-main{min-width:0;flex:1;display:flex;align-items:center;gap:10px;min-height:70px;padding:12px 44px 12px 12px;cursor:pointer}.file-dropzone-icon{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;flex:0 0 auto;background:#e7f4f1;color:#0b6b64}.file-dropzone-icon svg{width:20px;height:20px}.file-dropzone-copy{display:grid;gap:3px;min-width:0}.file-dropzone-copy strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172026;font-size:13px}.file-dropzone-copy small{color:var(--muted-foreground);font-size:12px}.file-remove{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:999px;display:grid;place-items:center;background:#fff;color:#546774;box-shadow:0 1px 4px #1720261f;cursor:pointer}.file-remove:hover{background:#ffecec;color:var(--destructive)}.file-remove svg{width:15px;height:15px}.selected-file,.file-row{display:flex;align-items:center;gap:8px;min-width:0}.selected-file{min-height:32px;border:1px solid var(--border);border-radius:8px;background:#f7fafc;padding:6px 8px;color:#364954;font-size:12px}.selected-file svg,.file-row svg{width:16px;height:16px;color:var(--primary);flex:0 0 auto}.selected-file span,.file-meta{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-file button{display:grid;place-items:center;width:24px;height:24px;margin-left:auto;border:0;border-radius:999px;background:transparent;color:#546774;cursor:pointer}.selected-file button:hover{background:#e8eff3}.detail-files-panel{grid-column:1 / -1}.files-list{display:grid;gap:8px}.file-row{min-height:44px;border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:#fff}.file-row:hover{border-color:#9fc6d8;background:#f7fbfd}.file-meta{display:grid;gap:2px;flex:1}.file-meta strong,.file-meta small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta small{color:var(--muted-foreground);font-size:12px}.criteria-grid span{border:1px solid var(--border);border-radius:8px;padding:10px;background:#f9fbfc}.public-shell{min-height:100vh;background:#f6f8fb;display:flex;flex-direction:column}.public-header{height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:0 24px;background:#fff;position:sticky;top:0;z-index:20}.public-brand{font-weight:800}.public-nav{display:flex;align-items:center;gap:14px;font-size:14px}.public-main{width:min(1120px,100%);margin:0 auto;padding:24px;flex:1}.public-stack{display:grid;gap:18px}.public-intro{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:stretch}.public-intro>div:first-child{padding:22px 0}.public-intro h1{font-size:32px;max-width:680px}.public-intro p{max-width:620px;font-size:15px}.public-actions{justify-content:flex-start;margin-top:18px}.program-panel{display:grid;padding:14px;gap:10px}.program-panel div{display:grid;grid-template-columns:34px 1fr;gap:2px 10px;align-items:center}.program-panel svg{grid-row:span 2;color:var(--primary)}.program-panel span{color:var(--muted-foreground);font-size:12px}.program-panel strong{font-size:14px}.public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.public-grid section{background:#fff;border:1px solid var(--border);border-radius:8px;padding:14px}.public-grid h2{margin:0 0 6px;font-size:16px}.public-grid p{margin:0;color:var(--muted-foreground);font-size:14px}.apply-form{padding:16px;display:grid;gap:16px}.form-section{display:grid;gap:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.check-row{display:flex;align-items:center;gap:9px;font-size:14px}.sticky-submit{position:sticky;bottom:0;display:flex;justify-content:flex-end;padding-top:8px;background:linear-gradient(180deg,#f6f8fb00,#fff 42%)}.lookup-page{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px}.lookup-form,.lookup-result,.success-panel{padding:16px;display:grid;gap:12px}.lookup-fields{display:grid;gap:10px}.lookup-result>div{display:flex;justify-content:space-between;gap:8px}.lookup-result h2{margin:0;font-size:18px}.lookup-result p{margin:0;color:var(--muted-foreground);font-size:14px}.dialog-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#0a151c5c;padding:10px}.dialog{width:min(100%,620px);max-height:calc(100vh - 16px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-radius:8px;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow)}.dialog-sm{max-width:420px}.dialog-lg{max-width:760px}.dialog-xl{max-width:940px}.dialog-wide{max-width:1080px}.dialog-full{max-width:calc(100vw - 16px)}.dialog-head,.dialog-footer{display:flex;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid var(--border)}.dialog-footer{border-top:1px solid var(--border);border-bottom:0;justify-content:flex-end}.dialog-head p{margin:4px 0 0;color:var(--muted-foreground);font-size:13px}.dialog-body{overflow:auto;padding:12px}.inline-alert{border-radius:8px;padding:10px;background:#f2f6f8;color:#34444f}.inline-alert.warning{color:var(--warning);background:#fff4d6}.inline-alert.destructive{color:var(--destructive);background:#ffe9e7}.import-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.import-step{display:grid;gap:4px;border:1px solid var(--border);border-radius:8px;padding:10px;font-size:12px}.import-step strong{color:var(--primary)}.mobile-sidebar{position:fixed;inset:0;z-index:70;background:#0a151c5c}.mobile-sidebar-panel{width:min(88vw,320px);min-height:100%;background:#fff;padding:12px}.mobile-sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.app-footer{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;color:#64737f;font-size:12px;border-top:1px solid var(--border);background:#ffffffd1;padding:8px 12px}.support-info-button{display:inline-grid;place-items:center;width:28px;height:28px;border:0;background:transparent;color:#0284c7;cursor:pointer;border-radius:999px}.support-info-button:hover{background:#e6f5fd}.support-info-button svg{width:18px;height:18px}.support-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#0a0f14b8;padding:10px}.support-modal{width:min(448px,calc(100vw - 18px));border:1px solid #b8d4e8;border-radius:6px;background:#f1f6fc;color:#1f2937;box-shadow:0 18px 38px #00000061;padding:20px 24px 26px}.support-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:26px}.support-head>div{display:flex;align-items:center;gap:10px}.support-head svg,.support-body svg{width:18px;height:18px;color:#0284c7;flex:0 0 auto}.support-head h2{margin:0;font-size:19px;line-height:1.25}.support-head .button{border-color:#0284c7;color:#111827;background:#f8fbff;height:40px;width:40px;border-radius:9px}.support-body{display:grid;gap:12px}.support-body strong{display:block;font-size:17px}.support-body span{font-size:14px}.support-body a{display:flex;align-items:center;gap:8px;color:#047fc1}.support-body a:last-of-type{color:#273746}.support-body hr{width:100%;margin:6px 0 2px;border:0;border-top:1px solid #d6dee7}.support-body p{margin:0;font-size:13px;color:#2f3b46}.login-page{min-height:100vh;display:grid;place-items:center;background:#eef3f7;padding:18px}.login-card{width:min(420px,100%);display:grid;gap:16px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow);padding:20px}.login-brand{padding:0 0 6px}.login-card h1{margin:0;font-size:22px}.login-card p{margin:4px 0 0;color:var(--muted-foreground);font-size:14px}.login-form{display:grid;gap:10px}@media(max-width:1180px){.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.list-toolbar{grid-template-columns:minmax(180px,1fr) repeat(2,minmax(118px,160px)) 36px}.toolbar-date-range{grid-column:span 2}}@media(max-width:900px){.app-shell{grid-template-columns:minmax(0,1fr)}.sidebar{display:none}.topbar-menu{display:inline-flex}.content,.public-main{padding:14px;width:100%}.public-intro,.lookup-page,.split-layout,.detail-grid,.reports-grid,.public-grid{grid-template-columns:1fr}}@media(max-width:767px){.page-head{display:grid}.page-head h1,.form-title h1,.lookup-form h1,.success-panel h1{font-size:19px}.page-actions{justify-content:stretch}.page-actions .button{flex:1}.list-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-search,.toolbar-date-range{grid-column:span 2}.list-toolbar>.button{grid-column:2;justify-self:end}.table-scroll{display:none}.mobile-cards{display:grid;gap:8px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.score-grid,.file-grid{grid-template-columns:1fr}.detail-list{grid-template-columns:110px minmax(0,1fr)}.bar-row{grid-template-columns:86px minmax(0,1fr) 28px}.public-header{padding:0 12px}.public-nav{gap:8px}.public-nav a:first-child{display:none}.public-intro h1{font-size:24px}.import-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.sticky-submit{position:static;padding-top:0;background:transparent}.sticky-submit .button{width:100%}}@media(max-width:430px){.content,.public-main{padding:10px}.topbar{padding:0 10px}.topbar-search{display:none}.user-chip{font-size:12px}.metrics-grid,.compact-card-meta,.toolbar-date-range{grid-template-columns:1fr}.toolbar-search,.toolbar-date-range{grid-column:span 2}.button span:last-child{overflow:hidden;text-overflow:ellipsis}.app-footer{align-items:flex-start;text-align:center;line-height:1.35}.support-modal{padding:18px 22px 24px}}
