:root{--primary:#006747;--primary-hover:#005a3e;--primary-active:#004d35;--primary-subtle:#e6f2ee;--primary-deep:#004d35;--accent:#c9a227;--success:#16a34a;--danger:#dc2626;--info:#2563eb;--bg:#f6f8f7;--surface:#fff;--surface-low:#eef5f2;--surface-soft:#f9fafb;--border:#e5e7eb;--border-subtle:#f3f4f6;--border-strong:#d1d5db;--text:#111827;--text-label:#374151;--text-2:#6b7280;--text-3:#9ca3af;--radius:8px;--radius-card:12px;--shadow-pop:0 4px 12px #1118270f;--shadow-modal:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000000d;--sidebar-w:240px;--topbar-h:64px}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--text);font-feature-settings:"cv05" 1;-webkit-font-smoothing:antialiased;font:14px/20px Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:600;line-height:32px}h2{letter-spacing:-.01em;margin:0 0 12px;font-size:18px;font-weight:600;line-height:26px}h3{margin:0 0 8px;font-size:16px;font-weight:600;line-height:24px}.muted{color:var(--text-2)}.small{font-size:12px;line-height:16px}.strong{font-weight:600}.num,.mono,.tnum{font-feature-settings:"tnum" 1, "cv05" 1}.num{text-align:right}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px}.icon{letter-spacing:normal;text-transform:none;white-space:nowrap;-webkit-font-feature-settings:"liga";font-feature-settings:"liga";font-variation-settings:"FILL" 0, "wght" 400, "opsz" 20;-webkit-user-select:none;user-select:none;direction:ltr;flex-shrink:0;font-family:Material Symbols Outlined;font-size:20px;font-style:normal;font-weight:400;line-height:1;display:inline-block}.icon.fill{font-variation-settings:"FILL" 1, "wght" 400, "opsz" 20}.shell{min-height:100vh}.sidebar{width:var(--sidebar-w);background:var(--surface);border-right:1px solid var(--border);z-index:20;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.brand{height:var(--topbar-h);border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:0 20px;display:flex}.brand-name{color:var(--primary);font-size:15px;font-weight:700;line-height:18px}.brand-name span{color:var(--accent)}.brand-sub{color:var(--text-2);font-size:11px;line-height:14px}.nav{flex:1;padding:16px 12px;overflow-y:auto}.nav-group{letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);padding:12px 12px 6px;font-size:11px;font-weight:600}.nav>div:first-child .nav-group{padding-top:0}.nav>div+div{margin-top:12px}.nav a{border-radius:var(--radius);height:40px;color:var(--text-label);align-items:center;gap:12px;margin-bottom:2px;padding:0 12px;font-weight:500;display:flex}.nav a .icon{color:var(--text-2)}.nav a:hover{background:var(--surface-soft);text-decoration:none}.nav a.active{background:var(--primary-subtle);color:var(--primary);font-weight:600}.nav a.active .icon{color:var(--primary);font-variation-settings:"FILL" 1, "wght" 400, "opsz" 20}.sidebar-foot{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding:12px 20px 16px;display:flex}.env-pill{justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:500;display:inline-flex}.env-pill .tag{background:var(--surface-low);color:var(--primary-deep);border-radius:999px;padding:2px 10px}.dot{background:currentColor;border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.main{margin-left:var(--sidebar-w);min-width:0}.topbar{z-index:10;height:var(--topbar-h);-webkit-backdrop-filter:saturate(1.2)blur(6px);backdrop-filter:saturate(1.2)blur(6px);border-bottom:1px solid var(--border);background:#ffffffeb;align-items:center;gap:16px;padding:0 24px;display:flex;position:sticky;top:0}.search{width:360px;max-width:100%;position:relative}.search .icon{color:var(--text-3);font-size:18px;position:absolute;top:50%;left:10px;transform:translateY(-50%)}.search input{width:100%;padding-left:34px}.topbar-right{align-items:center;gap:16px;margin-left:auto;display:flex}.user-btn{font:inherit;cursor:pointer;border-radius:var(--radius);color:var(--text);text-align:right;background:0 0;border:0;align-items:center;gap:10px;padding:4px 6px;display:flex}.user-btn:hover{background:var(--surface-soft)}.user-name{font-size:13px;font-weight:600;line-height:16px}.user-role{color:var(--text-2);font-size:12px;line-height:16px}.avatar{background:var(--primary-subtle);width:36px;height:36px;color:var(--primary);border-radius:50%;place-items:center;font-size:13px;font-weight:600;display:grid}.menu{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);min-width:220px;box-shadow:var(--shadow-pop);z-index:30;padding:6px;position:absolute;top:calc(100% + 6px);right:0}.menu a,.menu button{border-radius:var(--radius);width:100%;font:inherit;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:8px 10px;display:flex}.menu a:hover,.menu button:hover{background:var(--surface-soft);text-decoration:none}.menu .danger-item{color:var(--danger)}.popover{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-pop);z-index:30;position:absolute;top:calc(100% + 6px);right:0}.content{padding:24px}.crumbs{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:6px;font-size:12px;line-height:16px;display:flex}.crumbs .icon{color:var(--text-3);font-size:14px}.crumbs a{color:var(--text-2)}.crumbs .current{color:var(--text);font-weight:600}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-head .title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-head .subtitle{color:var(--text-2);margin-top:2px}.btn{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);height:38px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-weight:500;transition:background .12s,border-color .12s,color .12s;display:inline-flex}.btn .icon{font-size:18px}.btn:hover:not(:disabled){background:var(--surface-soft);border-color:var(--border-strong);text-decoration:none}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.btn.primary:active:not(:disabled){background:var(--primary-active)}.btn.danger{color:var(--danger);background:#fef2f2;border-color:#fca5a5}.btn.danger:hover:not(:disabled){background:var(--danger);border-color:var(--danger);color:#fff}.btn.ghost{color:var(--primary);background:0 0;border-color:#0000}.btn.ghost:hover:not(:disabled){background:var(--primary-subtle);border-color:#0000}.btn.sm{height:32px;padding:0 12px;font-size:13px}.btn.block{width:100%}.icon-btn{width:36px;height:36px;color:var(--text-2);border-radius:var(--radius);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:inline-grid}.icon-btn:hover{background:var(--border-subtle);color:var(--text)}.btn:focus-visible,.input:focus-visible,.icon-btn:focus-visible,.nav a:focus-visible,.pill:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.spread{justify-content:space-between}.stack{flex-direction:column;gap:4px;display:flex}.field{flex-direction:column;gap:4px;margin-bottom:16px;display:flex}.field label{flex-direction:column;gap:4px;display:flex}.field-label{color:var(--text-label);font-size:13px;font-weight:500;line-height:18px}.field label.row{flex-direction:row;align-items:center;gap:8px}.field .help{color:var(--text-2);font-size:12px;line-height:16px}.input{border:1px solid var(--border);border-radius:var(--radius);height:38px;font:inherit;background:var(--surface);color:var(--text);min-width:0;padding:0 12px}.input::placeholder{color:var(--text-3)}.input:focus{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);outline:none}select.input{appearance:none;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 8px center;padding-right:32px}textarea.input{height:auto;padding:8px 12px;line-height:20px}input[type=checkbox],input[type=radio]{accent-color:var(--primary);width:16px;height:16px;margin:0}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;display:grid}.grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.grid4{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.split{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);margin-bottom:16px;padding:20px}.card-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.card-head h2{margin:0}.card-head .subtitle{color:var(--text-2);margin-top:2px;font-size:12px;line-height:16px}.card.flush{padding:0;overflow:hidden}.toolbar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:16px;padding:16px;display:flex}.kpi{flex-direction:column;gap:6px;margin-bottom:0;padding:16px;display:flex}.kpi-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kpi .label{color:var(--text-2);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:600;line-height:16px}.kpi .value{font-feature-settings:"tnum" 1;font-size:28px;font-weight:600;line-height:36px}.kpi .sub{color:var(--text-2);align-items:center;gap:6px;font-size:12px;line-height:16px;display:flex}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);overflow-x:auto}.card .table-wrap{border-radius:var(--radius)}table{border-collapse:collapse;width:100%;font-size:13px;line-height:18px}th{text-align:left;background:var(--surface-soft);height:38px;color:var(--text-2);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid var(--border);padding:8px 16px;font-size:12px;font-weight:600;position:sticky;top:0}td{border-bottom:1px solid var(--border-subtle);vertical-align:middle;padding:12px 16px}tbody tr{transition:background .1s}tbody tr:hover{background:#f6faf8}tbody tr.selected{background:var(--primary-subtle)}tbody tr:last-child td{border-bottom:0}td .title{color:var(--text);font-weight:600}td .title:hover{color:var(--primary)}.table-foot{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.chip{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;height:22px;padding:0 8px;font-size:12px;font-weight:500;display:inline-flex}.chip:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.chip.plain:before{display:none}.tag{background:var(--surface-low);color:var(--primary-deep);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:2px 8px;font-size:12px;font-weight:500;line-height:18px;display:inline-flex}.tag.gray{background:var(--border-subtle);color:var(--text-2)}.tag.amber{color:#b45309;background:#fffbeb}.tag.green{color:var(--success);background:#f0fdf4}.tag.red{color:var(--danger);background:#fef2f2}.tag.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.status-ribbon{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.status-tile{border-radius:var(--radius-card);font:inherit;cursor:pointer;text-align:left;color:var(--tone);background:var(--tone-bg);border:1px solid #0000;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;font-weight:500;display:flex}.status-tile:hover{border-color:color-mix(in srgb, var(--tone) 30%, transparent)}.status-tile[aria-pressed=true]{background:var(--surface);border-color:var(--tone);box-shadow:0 0 0 1px var(--tone)}.status-tile .count{background:var(--surface);font-feature-settings:"tnum" 1;border-radius:6px;padding:1px 8px;font-weight:600}.status-tile .name{align-items:center;gap:8px;display:flex}.pills{flex-wrap:wrap;gap:8px;display:flex}.pill{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);height:32px;font:inherit;color:var(--text-label);cursor:pointer;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:500;display:inline-flex}.pill:hover{background:var(--surface-soft)}.pill[aria-pressed=true]{background:var(--primary-deep);border-color:var(--primary-deep);color:#fff}.alert{border-radius:var(--radius);border:1px solid;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;display:flex}.alert .icon{font-size:20px}.alert.error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.alert.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.alert.warn{color:#92400e;background:#fffbeb;border-color:#fde68a}.alert.info{color:#1e40af;background:#eff6ff;border-color:#bfdbfe}.tabs{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);gap:4px;margin-bottom:16px;padding:0 12px;display:flex;overflow-x:auto}.tabs button{font:inherit;cursor:pointer;color:var(--text-2);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:14px 10px;font-weight:500;display:inline-flex}.tabs button:hover{color:var(--text)}.tabs button.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.tabs .count{background:var(--border-subtle);color:var(--text-2);border-radius:999px;padding:0 7px;font-size:11px;line-height:18px}.kv{grid-template-columns:180px 1fr;gap:10px 16px;margin:0;display:grid}.kv dt{color:var(--text-2)}.kv dd{margin:0}.kv.boxed{background:var(--surface-low);border-radius:var(--radius-card);grid-template-columns:auto 1fr;padding:16px}.kv.boxed dd{text-align:right;font-weight:500}.modal-backdrop{z-index:50;background:#11182773;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border-radius:var(--radius-card);width:600px;max-width:100%;max-height:90vh;box-shadow:var(--shadow-modal);flex-direction:column;display:flex;overflow:hidden}.modal-head{align-items:flex-start;gap:14px;padding:20px 24px 12px;display:flex}.modal-head h2{margin:0}.modal-head .subtitle{color:var(--text-2);margin-top:2px;font-size:13px;line-height:18px}.modal-icon{background:var(--primary-subtle);width:44px;height:44px;color:var(--primary);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.modal-icon.danger{color:var(--danger);background:#fef2f2}.modal-body{padding:8px 24px 20px;overflow:auto}.modal-foot{background:var(--surface-low);border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:14px 24px;display:flex}.option{border-radius:var(--radius-card);border:1px solid var(--border);background:var(--surface);cursor:pointer;align-items:flex-start;gap:12px;margin-bottom:8px;padding:14px 16px;display:flex}.option input{margin-top:3px}.option.selected{background:var(--surface-low);border-color:color-mix(in srgb, var(--primary) 35%, transparent)}.option.disabled{opacity:.55;cursor:not-allowed}.option .option-title{font-weight:500}.option .option-desc{color:var(--text-2);margin-top:2px;font-size:13px;line-height:18px}.confirm-box{border-radius:var(--radius-card);color:#7c2d12;cursor:pointer;background:#fff7ed;align-items:flex-start;gap:12px;padding:14px 16px;font-size:13px;line-height:20px;display:flex}.confirm-box input{margin-top:2px}.with-panel{grid-template-columns:minmax(0,1fr) 440px;align-items:start;gap:16px;display:grid}.side-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-pop);top:calc(var(--topbar-h) + 16px);max-height:calc(100vh - var(--topbar-h) - 32px);flex-direction:column;display:flex;position:sticky;overflow:hidden}.with-panel .hide-with-panel{display:none}.side-panel .panel-body{padding:20px;overflow:auto}.side-panel .panel-foot{border-top:1px solid var(--border);justify-content:space-between;gap:8px;padding:14px 20px;display:flex}.code-box{background:var(--surface-low);border-radius:var(--radius-card);margin-bottom:14px;padding:14px}.code-box-head{letter-spacing:.04em;text-transform:uppercase;color:var(--text-label);justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:12px;font-weight:600;display:flex}pre.code{color:#e5e7eb;border-radius:var(--radius);background:#111827;max-height:320px;margin:0;padding:14px;font-size:12px;line-height:18px;overflow:auto}.timeline{margin:0;padding:0;list-style:none;position:relative}.timeline li{padding:0 0 20px 28px;position:relative}.timeline li:before{content:"";background:var(--border);width:2px;position:absolute;top:18px;bottom:0;left:6px}.timeline li:last-child{padding-bottom:0}.timeline li:last-child:before{display:none}.timeline .node{background:var(--text-3);width:14px;height:14px;box-shadow:0 0 0 3px var(--surface), 0 0 0 4px var(--border);border-radius:50%;position:absolute;top:3px;left:0}.timeline li:first-child .node{background:var(--primary);box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--primary-subtle)}.timeline .t-head{justify-content:space-between;gap:8px;display:flex}.timeline .t-title{font-weight:600}.timeline li:first-child .t-title{color:var(--primary)}.check-card{margin-bottom:0}.check-card .check-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.check-card .check-name{align-items:center;gap:8px;font-size:15px;font-weight:600;display:flex}.check-card.ok .check-name .icon{color:var(--success)}.check-card.bad .check-name .icon{color:var(--danger)}.check-card.pending .check-name .icon{color:var(--text-3)}.checklist{margin:0;padding:0;list-style:none}.checklist li{border-bottom:1px solid var(--border-subtle);align-items:center;gap:10px;padding:8px 0;display:flex}.checklist li:last-child{border-bottom:0}.checklist .icon.done{color:var(--success)}.checklist .icon.todo{color:var(--text-3)}.check{color:var(--success);font-weight:600}.cross{color:var(--danger);font-weight:600}.empty{text-align:center;color:var(--text-2);flex-direction:column;align-items:center;gap:8px;padding:40px 16px;display:flex}.empty .icon{color:var(--text-3);font-size:32px}.chart-tip{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-pop);pointer-events:none;white-space:nowrap;z-index:5;padding:8px 10px;font-size:12px;line-height:18px;position:absolute;top:28px}.delta{border-radius:999px;align-items:center;gap:2px;padding:0 8px;font-size:12px;font-weight:600;line-height:20px;display:inline-flex}.delta.up{color:#15803d;background:#f0fdf4}.delta.down{color:#b91c1c;background:#fef2f2}.delta.flat{background:var(--border-subtle);color:var(--text-2)}.meter{background:#dcfce7;border-radius:3px;height:6px;overflow:hidden}.meter>span{background:var(--success);border-radius:3px;height:100%;display:block}.stepper{grid-template-columns:repeat(5,minmax(0,1fr));padding:20px 12px;list-style:none;display:grid}.stepper li{text-align:center;flex-direction:column;align-items:center;gap:2px;display:flex;position:relative}.stepper li:before{content:"";background:var(--border);height:2px;position:absolute;top:16px;left:calc(22px - 50%);right:calc(50% + 22px)}.stepper li:first-child:before{display:none}.stepper .step-no{background:var(--surface-low);width:32px;height:32px;color:var(--text-3);border-radius:50%;place-items:center;margin-bottom:6px;font-weight:600;display:grid}.stepper .step-title{color:var(--text-3);font-size:13px;font-weight:600}.stepper .step-sub{color:var(--text-3);font-size:12px}.stepper li.current .step-no{background:var(--primary-deep);color:#fff;box-shadow:0 0 0 4px var(--primary-subtle)}.stepper li.current .step-title{color:var(--primary-deep)}.stepper li.current .step-sub{color:var(--primary)}.auth-page{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;display:grid}.auth-hero{background:var(--primary);color:#fff;flex-direction:column;justify-content:space-between;padding:48px;display:flex;position:relative;overflow:hidden}.auth-hero h1{max-width:420px;font-size:30px;line-height:38px}.auth-hero p{color:#bfe3d3;max-width:420px}.auth-form{justify-content:center;align-items:center;padding:24px;display:flex}.auth-form .card{width:400px;max-width:100%;padding:28px}.center-page{justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}@media (max-width:1200px){.status-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}.with-panel{grid-template-columns:1fr}.side-panel{max-height:none;position:static}}@media (max-width:900px){.sidebar{border-right:0;border-bottom:1px solid var(--border);width:auto;position:static}.nav{flex-wrap:wrap;gap:4px;padding:8px;display:flex}.nav-group,.sidebar-foot{display:none}.main{margin-left:0}.topbar{position:static}.search{display:none}.grid2,.grid3,.grid4,.split{grid-template-columns:1fr}.status-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}.stepper{grid-template-columns:1fr;gap:8px}.stepper li{text-align:left;flex-direction:row;gap:10px}.stepper li:before,.stepper .step-sub{display:none}.stepper .step-no{margin-bottom:0}.kv,.auth-page{grid-template-columns:1fr}.auth-hero{display:none}}.portal{background:var(--bg);flex-direction:column;min-height:100vh;display:flex}.portal-top{z-index:20;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0}.portal-top-inner{align-items:center;gap:12px;height:64px;padding:0 24px;display:flex}.portal-nav{gap:2px;min-width:0;margin-left:auto;display:flex;overflow-x:auto}@media (max-width:1440px){.portal-nmid{display:none}}.portal-nav{scrollbar-width:none}.portal-nav a{border-radius:var(--radius);color:var(--text-2);white-space:nowrap;padding:8px 10px;font-weight:500;text-decoration:none}.portal-nav a:hover{background:var(--surface-soft)}.portal-nav a.active{background:var(--primary-deep);color:#fff}.portal-main{flex:1;width:100%;margin:0 auto;padding:24px}.portal-foot{border-top:1px solid var(--border);color:var(--text-3);text-align:center;padding:16px 24px;font-size:12px}.portal-narrow{max-width:920px;margin:0 auto}.stepper{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:20px 0 24px;display:grid}.stepper button{all:unset;cursor:pointer;flex-direction:column;gap:6px;display:flex}.stepper button:disabled{cursor:default}.stepper .bar{background:var(--border-subtle);border-radius:2px;height:4px}.stepper .done .bar{background:var(--primary-deep)}.stepper .current .bar{background:var(--primary)}.stepper .label{color:var(--text-2);font-size:13px;font-weight:600}.stepper .current .label{color:var(--primary)}.stepper .state{color:var(--text-3);font-size:12px}@media (max-width:760px){.portal-top-inner{flex-wrap:wrap;gap:8px;height:auto;padding:10px 16px}.portal-nav{width:100%;margin-left:0;overflow-x:auto}.portal-main{padding:16px}.stepper{grid-template-columns:repeat(5,minmax(56px,1fr));overflow-x:auto}.stepper .state{display:none}}.bsn-logo{background:var(--primary);flex-shrink:0;display:inline-block;-webkit-mask:url(/bsn-logo.svg) 50%/contain no-repeat;mask:url(/bsn-logo.svg) 50%/contain no-repeat}.bsn-logo.inverse{background:#fff}.brand-divider{background:var(--border);align-self:stretch;width:1px;margin:4px 0}.brand-name{letter-spacing:0;font-size:13px;line-height:16px}.auth-hero>*{z-index:1;position:relative}.auth-hero:before,.auth-hero:after{content:"";z-index:0;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);background:#ffffff12;position:absolute}.auth-hero:before{width:320px;height:320px;top:18%;left:-110px}.auth-hero:after{width:460px;height:460px;bottom:-150px;right:-140px}.auth-points{gap:12px;max-width:460px;margin-top:24px;display:grid}.auth-point{border-radius:var(--radius-card);background:#ffffff1a;gap:12px;padding:14px 16px;display:flex}.auth-point .icon{color:#f0d78a}.auth-point b{font-weight:600;display:block}.auth-point span.small{color:#bfe3d3}.shell .kpi{gap:8px;padding:18px 20px}.shell .kpi .label{letter-spacing:0;text-transform:none;color:var(--text-2);font-size:13px;font-weight:500;line-height:18px}.shell .kpi .kpi-head .icon{font-size:20px}.shell .kpi .value{letter-spacing:-.01em;overflow-wrap:anywhere}.shell .kpi .value .of{color:var(--text-2);letter-spacing:0;font-size:14px;font-weight:500;line-height:20px}.shell .kpi .sub{flex-wrap:wrap;row-gap:4px}.shell .kpi.accent{border-top:3px solid var(--kpi-accent,var(--primary))}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:16px;display:grid}.shell th{letter-spacing:.06em;height:44px;padding:8px 12px;font-size:11px;line-height:14px}.shell td{padding:14px 12px}.shell th:first-child,.shell td:first-child{padding-left:16px}.shell th:last-child,.shell td:last-child{padding-right:16px}.shell .page-head>div:first-child{flex:320px;min-width:0}.shell .page-head>.row{flex-wrap:nowrap}.cell-wrap{overflow-wrap:anywhere;word-break:break-all;min-width:120px;max-width:170px}.cell-date{white-space:nowrap}.cell-date span{color:var(--text-2);font-size:12px;line-height:16px;display:block}.shell .modal td,.shell .side-panel td{padding:10px 12px}.shell .tabs{box-shadow:inset 0 -1px 0 var(--border);background:0 0;border:0;border-radius:0;gap:20px;margin-bottom:20px;padding:0;overflow-y:hidden}.shell .tabs button{padding:10px 2px 12px;font-size:14px}.shell .tabs .count{background:var(--primary-subtle);color:var(--primary);font-weight:600}.pills.seg{background:var(--border-subtle);border-radius:10px;flex-wrap:nowrap;gap:2px;padding:4px}.pills.seg .pill{background:0 0;border-color:#0000;border-radius:7px;height:30px}.pills.seg .pill:hover{background:#1118270d}.pills.seg .pill[aria-pressed=true]{background:var(--primary-deep);color:#fff}.shell .status-ribbon{flex-wrap:wrap;gap:8px;display:flex}.shell .status-tile{background:var(--surface);border-color:var(--border);color:var(--text-label);border-radius:999px;gap:10px;padding:6px 8px 6px 12px;font-size:13px}.shell .status-tile .dot{color:var(--tone)}.shell .status-tile .count{background:var(--tone-bg);color:var(--tone);border-radius:999px;font-size:12px;line-height:20px}.shell .status-tile:hover{border-color:var(--tone)}.shell .status-tile[aria-pressed=true]{background:var(--primary-deep);border-color:var(--primary-deep);box-shadow:none;color:#fff}.shell .status-tile[aria-pressed=true] .dot{color:#fff}.shell .status-tile[aria-pressed=true] .count{color:#fff;background:#ffffff29}.avatar-sq{background:var(--primary-subtle);width:32px;height:32px;color:var(--primary);border-radius:8px;flex-shrink:0;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.avatar-sq.lg{border-radius:10px;width:44px;height:44px;font-size:16px}.cell-id{align-items:center;gap:12px;display:flex}.kv.stacked{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.kv.stacked>div{min-width:0}.kv.stacked dt{margin-bottom:2px;font-size:12px;line-height:16px}.kv.stacked dd{overflow-wrap:anywhere;font-weight:500}.stage-track{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;margin:0;padding:4px 0 0;list-style:none;display:grid}.stage-track li{text-align:center;color:var(--text-3);flex-direction:column;align-items:center;gap:6px;padding:0 4px;font-size:12px;line-height:16px;display:flex;position:relative}.stage-track li:before{content:"";background:var(--border);height:2px;position:absolute;top:12px;left:calc(18px - 50%);right:calc(50% + 18px)}.stage-track li:first-child:before{display:none}.stage-track .node{background:var(--border-subtle);width:26px;height:26px;color:var(--text-3);border-radius:50%;place-items:center;font-size:12px;font-weight:600;display:grid}.stage-track .node .icon{font-size:16px}.stage-track li.done{color:var(--text)}.stage-track li.done:before,.stage-track li.current:before{background:var(--primary)}.stage-track li.done .node{background:var(--primary-subtle);color:var(--primary)}.stage-track li.current{color:var(--primary);font-weight:600}.stage-track li.current .node{background:var(--primary-deep);color:#fff;box-shadow:0 0 0 4px var(--primary-subtle)}.label-caps{letter-spacing:.06em;text-transform:uppercase;color:var(--text-2);font-size:11px;font-weight:600;line-height:14px}.status-banner{border-radius:var(--radius-card);background:var(--tone-bg,var(--primary-subtle));color:var(--tone,var(--primary-deep));align-items:center;gap:12px;margin-bottom:14px;padding:12px 14px;display:flex}.status-banner .icon{font-size:28px}.status-banner b{font-weight:600;display:block}.amount-hero{color:var(--primary);font-feature-settings:"tnum" 1;font-size:28px;font-weight:600;line-height:36px}.table-note{border-bottom:1px solid var(--border);color:var(--text-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex}.table-note strong{color:var(--text)}.portal-top-inner{gap:10px}.portal-chip{background:var(--primary-subtle);max-width:420px;color:var(--primary-deep);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:500;line-height:18px;display:inline-flex}.portal-chip .dot{background:var(--primary);width:6px;height:6px}.portal-chip .name{text-overflow:ellipsis;min-width:60px;overflow:hidden}.portal-chip .portal-nmid{flex-shrink:0}.portal-nav a{color:var(--text-label);padding:8px 12px}.portal-nav a:hover{background:var(--surface-soft);text-decoration:none}.portal-nav a.active{background:var(--primary-subtle);color:var(--primary-deep);font-weight:600}.portal-top .btn.ghost.nav-more{color:var(--text-label);height:36px;padding:0 10px;font-size:14px}.portal-top .btn.ghost.nav-more.active{background:var(--primary-subtle);color:var(--primary-deep);font-weight:600}.portal-bell{width:36px;height:36px;color:var(--text-label);border-radius:50%;flex-shrink:0;place-items:center;display:inline-grid;position:relative}.portal-bell:hover{background:var(--surface-soft);text-decoration:none}.portal-bell.active{background:var(--primary-subtle);color:var(--primary-deep)}.portal-bell .badge{background:var(--danger);color:#fff;text-align:center;min-width:16px;height:16px;box-shadow:0 0 0 2px var(--surface);border-radius:999px;padding:0 4px;font-size:10px;font-weight:600;line-height:16px;position:absolute;top:-2px;right:-4px}.portal-sep{background:var(--border);flex-shrink:0;width:1px;height:28px}.portal-user{font:inherit;cursor:pointer;border-radius:var(--radius);color:var(--text);text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:4px 6px;display:flex}.portal-user:hover{background:var(--surface-soft)}.portal-user .avatar{width:32px;height:32px;font-size:12px}.portal-user .who{max-width:130px}.portal-user .who>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portal-user .user-role{color:var(--text-2)}@media (max-width:1180px){.portal-user .who,.portal-user>.icon{display:none}}.portal-foot{text-align:left;background:var(--surface);padding:0;display:block}.portal-foot-inner{color:var(--text-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;padding:16px 24px;font-size:12px;line-height:16px;display:flex}.portal-foot-inner b{color:var(--primary-deep);font-weight:600}.p-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 24px;margin-bottom:20px;display:flex}.p-head h1{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.p-head p{color:var(--text-2);max-width:640px;margin:4px 0 0}.p-banner{border-radius:var(--radius-card);background:var(--primary-subtle);color:var(--text);flex:420px;align-items:center;gap:14px;max-width:660px;padding:14px 18px;display:flex}.p-banner .p-icon{background:var(--surface)}.p-banner .cap{color:var(--text-label);font-size:12px;line-height:16px}.p-banner .amt{font-feature-settings:"tnum" 1;font-size:18px;font-weight:600;line-height:24px}.p-icon{background:var(--primary-subtle);width:40px;height:40px;color:var(--primary-deep);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.p-kpi{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);flex-direction:column;gap:10px;min-width:0;padding:20px;display:flex}.p-kpi .top{color:var(--text-2);justify-content:space-between;align-items:center;gap:8px;font-size:13px;line-height:18px;display:flex}.p-kpi .top .icon{color:var(--primary)}.p-kpi .value{letter-spacing:-.02em;font-feature-settings:"tnum" 1;overflow-wrap:anywhere;font-size:28px;font-weight:600;line-height:36px}.p-kpi .foot{color:var(--text-2);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:16px;display:flex}.portal-main .kpi{padding:20px}.portal-main .kpi .label{text-transform:none;letter-spacing:0;font-size:13px;font-weight:500}.p-cols{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:16px;display:grid}.p-qr-frame{background:var(--primary-subtle);border-radius:var(--radius-card);text-align:center;justify-items:center;gap:4px;margin-bottom:12px;padding:16px;display:grid}.p-qr-frame img{background:#fff;border-radius:8px;max-width:100%;height:auto;margin:6px 0;padding:6px}.p-live{color:var(--text-2);align-items:center;gap:6px;font-size:12px;display:inline-flex}.p-live .dot{color:var(--success)}.p-insights{border-top:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:16px;margin:16px 0 0;padding-top:16px;display:grid}.p-insights dt{color:var(--text-2);margin-bottom:4px;font-size:12px;line-height:16px}.p-insights dd{margin:0;font-size:13px;font-weight:500;line-height:18px}.p-seg{background:var(--surface-soft);border:1px solid var(--border-subtle);border-radius:10px;gap:2px;padding:3px;display:inline-flex}.p-seg .pill{background:0 0;border:0;height:30px}.p-seg .pill[aria-pressed=true]{background:var(--primary);color:#fff}.p-rank{gap:14px;display:grid}.p-rank .line{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;display:flex}.p-rank .no{background:var(--primary-subtle);width:20px;height:20px;color:var(--primary-deep);border-radius:50%;place-items:center;margin-right:8px;font-size:11px;font-weight:600;display:inline-grid}.p-rank .track{background:var(--border-subtle);border-radius:3px;height:6px;overflow:hidden}.p-rank .track>span{background:var(--primary);border-radius:3px;height:100%;display:block}.p-tx{border-top:1px solid var(--border-subtle);align-items:center;gap:12px;padding:12px 0;display:flex}.p-tx:first-child{border-top:0;padding-top:0}.p-tx[role=button]{cursor:pointer}.p-tx[role=button]:hover{background:#f6faf8}.p-tx .badge{background:var(--primary-subtle);width:36px;height:36px;color:var(--primary-deep);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.p-tx .amount{font-feature-settings:"tnum" 1;color:var(--success);font-weight:600}.p-tx .amount.neg{color:var(--danger)}.p-pos{grid-template-columns:minmax(0,3fr) minmax(340px,2fr);align-items:start;gap:16px;display:grid}.p-products{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;display:grid}.p-product{all:unset;box-sizing:border-box;cursor:pointer;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);flex-direction:column;gap:10px;min-height:104px;padding:14px;display:flex}.p-product:hover{border-color:var(--primary)}.p-product:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.p-product .name{font-size:14px;font-weight:600;line-height:20px}.p-product .bottom{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.p-product .price{color:var(--primary-deep);font-feature-settings:"tnum" 1;font-size:15px;font-weight:600}.p-product .plus{background:var(--primary-subtle);width:30px;height:30px;color:var(--primary-deep);border-radius:8px;place-items:center;display:grid}.p-cart-line{background:var(--surface-soft);border-radius:var(--radius);margin-bottom:8px;padding:10px 12px}.p-qty{background:var(--surface);border:1px solid var(--border);border-radius:8px;align-items:center;gap:2px;display:inline-flex}.p-qty button{all:unset;cursor:pointer;width:28px;height:28px;color:var(--text-label);place-items:center;display:grid}.p-qty button:focus-visible{outline:2px solid var(--primary)}.p-qty span{text-align:center;font-feature-settings:"tnum" 1;min-width:22px;font-weight:600}.p-box{background:var(--surface-soft);border-radius:var(--radius);margin-top:12px;padding:12px}.p-total{background:var(--primary-subtle);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:12px;margin:12px 0 16px;padding:12px 14px;display:flex}.p-total .cap{letter-spacing:.06em;text-transform:uppercase;color:var(--text-label);font-size:12px}.p-total .amt{color:var(--primary-deep);font-feature-settings:"tnum" 1;font-size:26px;font-weight:700;line-height:32px}.p-methods{background:var(--surface-soft);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.p-methods button{all:unset;box-sizing:border-box;cursor:pointer;color:var(--text-2);border-radius:8px;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;font-size:13px;font-weight:500;display:flex}.p-methods button[aria-pressed=true]{background:var(--primary);color:#fff;font-weight:600}.p-methods button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.btn.lg{height:48px;font-size:16px;font-weight:600}.p-dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0 0 16px;display:grid}.p-dl dt{color:var(--text-2);font-size:12px;line-height:16px}.p-dl dd{overflow-wrap:anywhere;margin:2px 0 0;font-weight:500}.p-sum{background:var(--surface-soft);border-radius:var(--radius-card);grid-template-columns:1fr auto;gap:8px 16px;margin:0;padding:14px 16px;display:grid}.p-sum dt{color:var(--text-2)}.p-sum dd{text-align:right;font-feature-settings:"tnum" 1;margin:0}.p-sum .net{color:var(--primary-deep);font-size:16px;font-weight:600}.p-hero{background:var(--surface-soft);border-radius:var(--radius-card);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:16px;display:flex}.p-hero .cap{letter-spacing:.06em;text-transform:uppercase;color:var(--text-2);font-size:12px}.p-hero .amt{font-feature-settings:"tnum" 1;font-size:28px;font-weight:600;line-height:36px}.signup{grid-template-columns:minmax(0,1fr) minmax(0,480px);align-items:start;gap:48px;max-width:1120px;margin:24px auto 0;display:grid}.signup.wide{grid-template-columns:minmax(0,1fr);max-width:760px}.signup h1.hero{letter-spacing:-.02em;margin:16px 0 10px;font-size:32px;line-height:40px}.signup .lead{color:var(--text-2);max-width:520px;margin:0 0 24px;font-size:15px;line-height:24px}.signup .points{gap:18px;display:grid}.signup .point{gap:14px;display:flex}.signup .point .icon{color:var(--primary);margin-top:2px}.signup .point b{font-size:15px;font-weight:600;display:block}.signup .point span.d{color:var(--text-2);font-size:13px;line-height:20px}.steps3{margin:20px 0 24px;padding:0;list-style:none;display:flex}.steps3 li{color:var(--text-3);text-align:center;flex-direction:column;flex:1;align-items:center;gap:6px;font-size:12px;display:flex;position:relative}.steps3 li:before{content:"";background:var(--border);height:2px;position:absolute;top:15px;left:-50%;right:50%}.steps3 li:first-child:before{display:none}.steps3 li.done:before,.steps3 li.current:before{background:var(--primary)}.steps3 .no{z-index:1;background:var(--surface);border:1px solid var(--border);border-radius:50%;place-items:center;width:32px;height:32px;font-size:13px;font-weight:600;display:grid;position:relative}.steps3 li.current{color:var(--primary-deep);font-weight:600}.steps3 li.current .no{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 0 0 4px var(--primary-subtle)}.steps3 li.done{color:var(--primary-deep)}.steps3 li.done .no{background:var(--primary-subtle);border-color:var(--primary-subtle);color:var(--primary-deep)}.otp-input{letter-spacing:.5em;text-align:center;height:52px;font-size:22px;font-weight:600}.stepper.dots{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);gap:0;margin:0 0 16px;padding:20px 8px 16px;display:flex;overflow-x:auto}.stepper.dots button{text-align:center;flex:1 1 0;align-items:center;gap:4px;min-width:96px;position:relative}.stepper.dots button:before{content:"";background:var(--border);height:2px;position:absolute;top:15px;left:-50%;right:50%}.stepper.dots button:first-child:before{display:none}.stepper.dots button.done:before,.stepper.dots button.current:before{background:var(--success)}.stepper.dots .no{z-index:1;background:var(--surface);border:1px solid var(--border);width:32px;height:32px;color:var(--text-3);border-radius:50%;place-items:center;margin-bottom:4px;font-size:13px;font-weight:600;display:grid;position:relative}.stepper.dots .done .no{background:var(--success);border-color:var(--success);color:#fff}.stepper.dots .current .no{background:var(--primary-deep);border-color:var(--primary-deep);color:#fff;box-shadow:0 0 0 4px var(--primary-subtle)}.stepper.dots .label{color:var(--text-2)}.stepper.dots .done .label{color:var(--text)}.stepper.dots .current .label{color:var(--primary-deep)}.stepper.dots .done .state{color:var(--success)}.stepper.dots .current .state{color:var(--text)}.stepper.dots button:focus-visible .no{outline:2px solid var(--primary);outline-offset:2px}.p-stages{margin:0;padding:0;list-style:none}.p-stages li{color:var(--text-3);padding:0 0 16px 30px;position:relative}.p-stages li:before{content:"";background:var(--border);width:2px;position:absolute;top:20px;bottom:0;left:9px}.p-stages li:last-child{padding-bottom:0}.p-stages li:last-child:before{display:none}.p-stages .no{background:var(--surface-soft);border:1px solid var(--border);border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;font-weight:600;display:grid;position:absolute;top:0;left:0}.p-stages b{color:var(--text-label);font-weight:500;display:block}.p-stages span.d{font-size:12px;line-height:16px}.p-stages li.done .no{background:var(--success);border-color:var(--success);color:#fff}.p-stages li.current .no{background:var(--primary-deep);border-color:var(--primary-deep);color:#fff;box-shadow:0 0 0 3px var(--primary-subtle)}.p-stages li.current b{color:var(--primary-deep);font-weight:600}.p-stages li.current span.d{color:var(--text-2)}.p-note{background:var(--primary-subtle);color:var(--text-label);border-radius:var(--radius-card);gap:10px;padding:12px 14px;font-size:13px;line-height:20px;display:flex}.p-note .icon{color:var(--primary)}@media (max-width:1000px){.p-cols,.p-pos,.signup{grid-template-columns:minmax(0,1fr)}.signup{gap:24px;margin-top:0}}@media (max-width:760px){.portal-sep{display:none}.portal-foot-inner{padding:14px 16px}.p-dl{grid-template-columns:1fr}.signup h1.hero{font-size:26px;line-height:34px}}
