@charset "UTF-8";
/* 亿聪：本机字体、清晰数据层级、手机优先操作。 */
:root{--bg:#f5f6f3;--panel:#fff;--sidebar:#12251e;--ink:#243b30;--text:#26372f;--muted:#607263;--line:#dde5db;--green:#28634b;--mint:#eef5e9;--lime:#c3ed86;--amber:#9d711d;--red:#ad5142;--blue:#6c82a5;--radius:12px;font-family:"PingFang SC","Hiragino Sans GB",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-synthesis:none;color:var(--text);background:var(--bg);font-size:14px;line-height:1.5}

*{box-sizing:border-box}
body{margin:0}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button,a{touch-action:manipulation}
button{color:inherit}
a{color:inherit;text-decoration:none}
button{border:0;background:none}
h1,h2,h3,p{margin:0}
h1{font-size:27px;letter-spacing:-.8px;line-height:1.4;font-weight:650}
h2{font-size:16px;font-weight:650;letter-spacing:-.2px}
h3{font-size:14px;font-weight:600}
svg{flex-shrink:0;vertical-align:middle}
small,.small{font-size:13px}
.muted{color:var(--muted)}
.block{display:block}
.number{font-variant-numeric:tabular-nums;font-family:Inter,"SF Pro Text",sans-serif;letter-spacing:-.15px}
.positive{color:var(--green)!important}
.negative{color:var(--red)!important}
.push-right{margin-left:auto}
.break-all{overflow-wrap:anywhere}
.full{width:100%}
.span-two{grid-column:1/-1}
.dot,.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}
.green-dot{background:#5d8c61}
.amber-dot{background:#bb9650}
.slate-dot{background:#8c9eac}
button:focus-visible,a:focus-visible{outline:2px solid #91b761;outline-offset:4px}
input:focus,select:focus,textarea:focus{border-color:#759b69;outline:3px solid #dceacb66}
button:disabled{opacity:.45;cursor:not-allowed}
.skip-link{position:fixed;top:-50px;left:20px;background:var(--sidebar);color:#fff;padding:12px;z-index:200}
.skip-link:focus{top:10px}
.app-shell{display:flex;min-height:100vh}
.sidebar{width:224px;background:var(--sidebar);color:#607263;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:32px 17px 0;z-index:40}
.brand{display:flex;align-items:center;gap:12px;color:#f4f7ef;padding:0 14px;font-size:21px;font-weight:650;letter-spacing:-.7px}
.brand small{display:block;font-size:12px;font-weight:400;color:#607263;letter-spacing:1.8px;margin-top:3px}
.brand-mark{font-family:Georgia,serif;font-size:29px;font-weight:700;letter-spacing:-4px;line-height:1;background:var(--lime);color:var(--sidebar);width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;padding-right:4px;position:relative}
.brand-mark>span{width:5px;height:5px;background:var(--sidebar);position:absolute;bottom:8px;right:8px;border-radius:50%}
.workspace-selector{display:flex;align-items:center;gap:10px;border:1px solid #34473a;border-radius:7px;padding:10px;margin:31px 6px 25px;font-size:13px;color:#e2eadc}
.workspace-selector small{display:block;color:#607263;font-size:12px;margin-top:2px}
.workspace-selector>svg{margin-left:auto;color:#607263}
.workspace-icon{width:27px;height:28px;display:grid;place-items:center;background:#314735;color:#607263;border-radius:5px}
.nav-caption{color:#607263;font-size:12px;letter-spacing:1.6px;padding:0 17px;margin-bottom:11px;font-weight:600}
.nav-item{display:flex;align-items:center;gap:13px;height:43px;padding:0 16px;margin:5px 0;border-radius:7px;font-size:13px;transition:background .15s,color .15s}
.nav-item:hover{background:#1e3328;color:#607263}
.nav-item.active{background:var(--lime);color:#263e28;font-weight:650}
.nav-item.active svg{stroke-width:2}
.nav-active-dot{display:none;margin-left:auto;width:5px;height:5px;border-radius:50%;background:#294b2c}
.nav-item.active .nav-active-dot{display:block}
.nav-count{font-size:12px;margin-left:auto;background:#384c3b;color:#607263;padding:1px 6px;border-radius:4px}
.system-caption{margin-top:31px}
.sidebar-bottom{margin-top:auto;padding-top:25px}
.local-status{padding:17px 14px;background:#1c3225;border:1px solid #2e4533;border-radius:7px;margin:16px 7px;color:#607263;font-size:12px}
.live-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;background:#94bd71;border-radius:50%;box-shadow:0 0 0 3px #95c37313;margin-right:8px}
.local-status p{color:#607263;font-size:12px;margin-top:8px}
.developer-link{display:flex;align-items:center;gap:8px;font-size:12px;padding:5px 17px 18px;color:#607263}
.developer-link>svg:last-child{margin-left:auto}
.sidebar-profile{display:flex;align-items:center;gap:10px;border-top:1px solid #2b3e31;margin:0 -17px;padding:19px 25px;color:#607263;font-size:13px}
.sidebar-profile>span:first-child{width:30px;height:30px;display:grid;place-items:center;border:1px solid #5b6d51;border-radius:50%;font-size:12px;background:#43553b}
.sidebar-profile small{display:block;font-size:12px;color:#607263;margin-top:3px}
.profile-dot{width:5px;height:5px;background:#9cbd82;border-radius:50%;margin-left:auto}
.workspace{width:calc(100% - 224px);margin-left:224px}
.topbar{height:69px;background:#fff;border-bottom:1px solid var(--line);padding:0 35px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.breadcrumb{display:flex;gap:13px;align-items:center;font-size:13px;color:#607263}
.breadcrumb strong{color:#4b5e50;font-weight:500}
.topbar-actions{display:flex;align-items:center;gap:16px}
.local-chip{font-size:12px;color:#607263;padding:5px 9px;background:#f3f7ef;border-radius:5px}
.local-chip .live-dot{width:5px;height:5px;margin-right:6px}
.avatar{width:28px;height:28px;background:#d9e5c7;border:3px solid #f5f8ef;outline:1px solid #e6eadf;display:grid;place-items:center;border-radius:50%;font-size:12px;color:#61744b}
.icon-button{padding:5px;display:inline-flex;align-items:center;justify-content:center;color:#607263;border-radius:5px}
.icon-button:hover{background:#eef2e8;color:var(--ink)}
.menu-button{display:none}
.data-banner{min-height:35px;padding:8px 35px;display:flex;align-items:center;gap:8px;background:#edf0e8;color:#607263;font-size:12px;border-bottom:1px solid #e4e9df}
.data-banner strong{font-weight:600}
.data-banner button{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:12px;padding:0;color:#5d7350;white-space:nowrap}
.demo-banner{background:#fcf0d8;border-color:#f3e4c6;color:#8a601e}
.demo-banner button{color:#89611e}
main{max-width:1660px;margin:0 auto;padding:30px 35px 10px;outline:none}
.page-heading{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:25px}
.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:600;color:#607263;margin-bottom:8px}
.page-heading p{font-size:13px;color:#607263;margin-top:8px}
.heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 15px;border-radius:6px;font-size:13px;font-weight:500;line-height:1.4;border:1px solid transparent;transition:background .15s}
.button.primary{background:#294d38;color:#f0f6e7;border-color:#294d38;box-shadow:0 2px 2px #1833220b}
.button.primary:hover{background:#1b3b29}
.button.secondary{background:#fff;color:#62705f;border-color:#e0e5da}
.button.secondary:hover{background:#f5f8ef}
.button.subtle{background:#f4f6f2;color:#607263}
.button.subtle:hover{background:#ede7e1;color:#607263}
.small-button{font-size:12px;padding:7px 10px}
.welcome-strip{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid #e1e6dc;font-size:12px;color:#607263}
.welcome-strip>div{display:flex;align-items:center}
.welcome-strip strong{color:#5b7355;font-weight:500}
.strip-divider{height:11px;width:1px;background:#d9dfd3;margin:0 13px}
.snapshot-time{display:flex;align-items:center;gap:6px;color:#607263;white-space:nowrap}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px 16px;min-width:0}
.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#607263}
.stat-icon{display:flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:7px;background:#f4f7ef;color:#607263}
.stat-value{font-size:27px;font-weight:550;letter-spacing:-.8px;margin:9px 0 7px;color:#2d4433;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.25}
.stat-value small{font-size:14px;color:#607263;letter-spacing:0;font-weight:400}
.stat-meta{font-size:12px;line-height:1.5;color:#607263;white-space:nowrap}
.stat-meta>span{padding:0 4px}
.overview-main{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-bottom:22px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:22px;min-width:0;overflow:hidden}
.overview-main .panel,.bottom-grid .panel,.two-grid>.panel,.three-grid>.panel{margin-bottom:0}
.section-heading{padding:20px 22px 15px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.section-heading h2{font-size:14px}
.section-heading p{font-size:12px;color:#607263;margin-top:5px}
.segmented{background:#f5f6f1;padding:3px;border:1px solid #e9ecdf;border-radius:6px;display:flex}
.segmented button{font-size:12px;padding:5px 9px;color:#607263;white-space:nowrap;border-radius:4px}
.segmented button.active{background:white;box-shadow:0 1px 3px #2333210f;color:#596f47}
.bar-chart{height:212px;display:flex;padding:16px 26px 0 21px;position:relative}
.chart-grid{font-size:12px;color:#607263;display:flex;flex-direction:column;justify-content:space-between;width:35px;padding-bottom:39px;flex-shrink:0}
.chart-bars{display:flex;align-items:flex-end;flex:1;justify-content:space-around;border-top:1px dashed #eef0e9;background:repeating-linear-gradient(to top,transparent 0px,transparent 75px,#f2f4ee 76px,#f2f4ee 77px);gap:12px}
.bar-column{display:flex;flex:1;max-width:68px;height:100%;flex-direction:column;align-items:center;justify-content:flex-end;position:relative}
.bar-slot{height:145px;width:42px;display:flex;align-items:flex-end;position:relative}
.chart-bar{position:relative;width:100%;background:#c7ddb7;border-radius:5px 5px 1px 1px;min-height:2px;transition:height .25s}
.chart-bar.eth{background:#3c7256}
.chart-bar.btc{background:#a8c787}
.chart-bar.mstrx{background:#acb8cc}
.chart-bar.loss{background:#ca988d}
.bar-stripe{height:100%;background:linear-gradient(110deg,#ffffff0a,#ffffff2e)}
.bar-value{font-size:12px;margin-bottom:6px;white-space:nowrap;color:#607263}
.bar-label{text-align:center;height:39px;font-size:12px;padding-top:9px;line-height:1.3;color:#607263}
.bar-label strong{font-weight:500;display:block}
.bar-label small{font-size:12px;color:#607263}
.chart-caption{display:flex;align-items:center;gap:7px;font-size:12px;color:#607263;border-top:1px solid #f0f2eb;margin:5px 22px 0;padding:12px 0}
.chart-caption .legend-dot{width:5px;height:5px}
.chart-caption-right{margin-left:auto}
.allocation-body{display:flex;align-items:center;justify-content:center;gap:25px;padding:22px 21px 25px;min-height:208px}
.donut{width:136px;height:136px;border-radius:50%;padding:16px;transform:rotate(-90deg);flex-shrink:0}
.donut>div{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:100%;border-radius:50%;background:#fff;transform:rotate(90deg)}
.donut span{font-size:12px;color:#607263}
.donut strong{font-size:25px;font-weight:500;letter-spacing:-1px}
.donut strong small{font-size:12px;color:#607263;font-weight:400;letter-spacing:0}
.allocation-legend{min-width:115px;flex:1;max-width:170px}
.allocation-legend>div{display:flex;align-items:flex-start;gap:8px;margin:12px 0;font-size:12px;color:#607263}
.allocation-legend strong{margin-left:auto;font-weight:500;font-size:12px}
.allocation-legend .legend-dot{width:6px;height:6px;margin-top:4px}
.allocation-legend small{display:block;color:#607263;font-size:12px;margin-top:3px}
.panel-foot{padding:12px 22px;border-top:1px solid #eff1ea;font-size:12px;color:#607263}
.text-link{font-size:12px;color:#607263;display:inline-flex;align-items:center;gap:7px;font-weight:500;white-space:nowrap}
.text-link:hover{color:#285b3b}
.table-scroll{width:100%;overflow-x:auto}
table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}
th{background:#f9faf6;border-top:1px solid #eef1e8;border-bottom:1px solid #edf0e7;color:#607263;font-size:12px;font-weight:400;padding:11px 17px}
th:first-child,td:first-child{padding-left:22px}
th:last-child,td:last-child{padding-right:18px}
td{padding:17px;border-bottom:1px solid #f0f2ec;color:#607263}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fcfdf9}
td small{font-size:12px;color:#607263;margin-top:4px}
th small{display:block;font-size:12px;color:#607263}
.position-link{display:flex;align-items:center;gap:10px;text-align:left;padding:0}
.position-link strong{display:block;font-size:13px;color:#3d5639;line-height:1.3;font-weight:550}
.position-link small{display:block;font-size:12px;color:#607263;margin-top:5px}
.position-link small i{font-style:normal;color:#607263;padding:0 3px}
.coin{width:29px;height:29px;display:inline-grid;place-items:center;border-radius:50%;font-size:17px;font-family:Georgia,serif;font-weight:600;flex-shrink:0;border:3px solid #fff;box-shadow:0 0 0 1px #eeeee8}
.coin.btc{background:#f4e2c2;color:#8a601e}
.coin.eth{background:#e6eaf3;color:#586d90}
.coin.mstr{background:#e7e4ed;color:#607263;font-size:13px}
.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid #e8ebe2;background:#f6f7f1;color:#607263;border-radius:4px;padding:3px 7px;font-size:12px;font-weight:400;line-height:1.3;white-space:nowrap}
.badge.green{color:#607263;background:#f1f7e9;border-color:#e5eed9}
.badge.green::before{content:'';width:4px;height:4px;background:#9ebd7d;border-radius:50%}
.badge.amber{background:#fbf4e7;color:#8a601e;border-color:#f0e5cc}
.badge.blue{background:#edf1f7;color:#586d90;border-color:#e0e6ef}
.range{width:138px}
.range-track{height:4px;background:#e9efdf;border-radius:4px;position:relative;margin-top:4px}
.range-fill{position:absolute;inset:0 12%;background:#a9c68a;border-radius:4px}
.range-pin{position:absolute;height:12px;width:3px;top:-4px;transform:translateX(-50%);border:1px solid white;background:#48683c;border-radius:2px;box-shadow:0 0 0 1px #637f50}
.range-pin.outside{background:#bd8a4c;box-shadow:0 0 0 1px #d8b68a}
.range-labels{display:flex;justify-content:space-between;font-size:12px;color:#607263;margin-top:7px;font-variant-numeric:tabular-nums}
.help{cursor:help;font-size:12px}
.bottom-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}
.quiet-state{display:flex;align-items:center;gap:13px;margin:1px 22px 22px;padding:17px 0;color:#607263}
.quiet-state strong{font-size:13px;font-weight:500;color:#607263}
.quiet-state p{font-size:12px;color:#607263;margin-top:6px}
.quiet-state .text-link{margin-left:auto;font-size:12px}
.next-card{padding:21px 24px;background:#e8eedc;border:1px solid #e1e9d3;border-radius:12px;color:#5c7447;position:relative;overflow:hidden}
.next-card:after{content:'';width:170px;height:170px;border:1px solid #cddbbb;border-radius:50%;position:absolute;right:-110px;bottom:-110px;box-shadow:0 0 0 22px #cfdbbd44,0 0 0 45px #cfdbbd22}
.next-top{display:flex;align-items:center;justify-content:space-between}
.next-top .eyebrow{color:#607263;margin:0;font-size:12px}
.next-top>svg{color:#607263}
.next-card h2{font-size:17px;margin-top:12px}
.next-card p{font-size:12px;line-height:1.9;color:#607263;max-width:280px;margin-top:8px}
.next-link{display:inline-flex;align-items:center;gap:20px;font-size:12px;color:#607263;margin-top:17px;font-weight:600}
.event-mini{display:flex;align-items:center;gap:12px;width:calc(100% - 44px);margin:0 22px;padding:14px 0;text-align:left;border-bottom:1px solid var(--line)}
.event-mini:last-child{border:0;margin-bottom:8px}
.event-mini strong{font-size:13px;display:block;font-weight:500}
.event-mini small{font-size:12px;color:#607263;display:block;margin-top:5px}
.event-mini>svg{margin-left:auto;color:#607263}
.event-icon{display:grid;place-items:center;background:#eff2e9;color:#607263;width:35px;height:35px;border-radius:8px;flex-shrink:0}
.event-icon.high{background:#faf1df;color:#8a601e}
.event-icon.medium{background:#eaf0f6;color:#586d90}
.page-footer{font-size:12px;display:flex;justify-content:space-between;color:#607263;margin-top:30px;padding:18px 0 12px;border-top:1px solid #e8ece1}
.page-footer i{font-style:normal;color:#607263;margin:0 10px}
.summary-inline{display:flex;gap:23px;align-items:center;font-size:13px;color:#607263;margin-bottom:22px;padding:16px 0;border-block:1px solid #e5e9df;flex-wrap:wrap}
.summary-inline>span{display:inline-flex;align-items:center;gap:8px}
.summary-inline strong{font-size:14px;color:#58754a}
.summary-inline .push-right{font-size:12px;color:#607263}
.filter-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-bottom:1px solid var(--line)}
.tabs{display:flex;gap:4px;align-items:center}
.tabs button{padding:7px 11px;font-size:13px;border-radius:5px;color:#607263;white-space:nowrap}
.tabs button.active{background:#ecf2e4;color:#607263;font-weight:500}
.tabs button span{font-size:12px;background:#d9e5c9;color:#607263;padding:0px 4px;margin-left:5px;border-radius:3px}
.search-box{display:flex;align-items:center;gap:9px;border:1px solid #e7ebdf;border-radius:5px;padding:7px 10px;color:#607263}
.search-box input{border:0;padding:0;width:175px;background:transparent;font-size:12px;outline:none;color:#607263}
.search-box input:focus{outline:0}
.three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:22px}
.two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:22px}
.exposure-card{padding:22px}
.exposure-top{display:flex;gap:10px;align-items:center}
.exposure-top h3{font-size:13px}
.exposure-top small{font-size:12px;color:#607263;display:block;margin-top:3px}
.exposure-top>.badge{margin-left:auto;font-size:12px}
.exposure-value{display:block;font-size:24px;margin:22px 0;color:#527143;font-weight:500;letter-spacing:-.7px}
.split-label{display:flex;justify-content:space-between;font-size:12px;color:#607263;margin-bottom:8px}
.split-label strong{font-weight:500;color:#607263}
.progress-track{height:5px;background:#f1f4ea;border-radius:4px;overflow:hidden;margin-bottom:15px}
.progress-track span{display:block;height:100%;background:#b0c68d;border-radius:4px}
.notice{display:flex;align-items:flex-start;gap:9px;font-size:13px;padding:14px 17px;border:1px solid #e3e9da;border-radius:7px;background:#f0f3eb;color:#607263;line-height:1.8;margin-top:15px}
.notice>svg{margin-top:2px}
.notice.warning{background:#fcf4e3;color:#8a601e;border-color:#f0e5ca}
.principle-strip{border-radius:10px;padding:20px 25px;background:#e5eddb;border:1px solid #dae5cd;margin-bottom:22px}
.principle-strip>div{display:flex;align-items:center;gap:14px;color:#607263}
.principle-strip strong{font-size:17px;font-weight:500}
.principle-strip p{font-size:13px;color:#607263;margin-top:9px;margin-left:36px}
.method-card{padding:24px}
.method-card>span{font-family:Georgia,serif;font-size:30px;color:#607263}
.method-card h3{margin:12px 0 8px;font-size:14px;color:#607263}
.method-card p{font-size:13px;line-height:1.9;color:#607263}
.three-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.event-list{padding:0 22px}
.event-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line)}
.event-row:last-child{border:0}
.event-row.acked .event-card{opacity:.78}
.event-card{padding:24px 0;display:flex;gap:16px;flex:1;min-width:0;text-align:left;align-items:flex-start}
.event-check{display:inline-flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}
.event-check input{width:18px;height:18px}
.event-ack-cell{flex:0 0 auto;display:flex;justify-content:flex-end;min-width:88px}
.event-ack-text{display:grid;justify-items:end;gap:4px;max-width:180px;text-align:right}
.event-ack-text small{font-size:11px;line-height:1.35}
.event-ack-button{min-height:36px;padding-inline:18px}
.event-bulk-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:12px 22px;border-bottom:1px solid var(--line)}
.event-ack-detail{margin-top:20px}
@media (max-width:780px){.event-row{flex-wrap:wrap;gap:8px}.event-card{flex-basis:calc(100% - 34px)}.event-ack-cell{width:100%;justify-content:flex-end;padding-bottom:14px}.event-ack-text{max-width:none}.event-bulk-bar{padding-inline:18px}}
.event-card>.event-icon{width:43px;height:43px}
.event-card-body{flex:1}
.event-meta{display:flex;gap:12px;align-items:center;color:#607263;font-size:12px;margin-bottom:10px;flex-wrap:wrap}
.event-card h3{color:#587345;font-size:14px;font-weight:550}
.event-card p{font-size:12px;color:#607263;margin:7px 0}
.event-card>.badge{margin-top:4px}
.event-card>svg{margin-top:8px;color:#607263}
.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center;padding:55px 25px}
.empty-icon{width:55px;height:55px;border-radius:15px;background:#f0f4e9;display:grid;place-items:center;color:#607263;margin-bottom:17px;border:1px solid #e6ecdc;box-shadow:0 0 0 8px #fafbf7}
.empty-state h3{font-size:14px;font-weight:500;color:#607263;margin-bottom:9px}
.empty-state p{font-size:13px;color:#607263;max-width:430px;line-height:1.9;white-space:normal}
.empty-state>.button{margin-top:20px}
.decision-toolbar{display:flex;align-items:center;gap:25px;margin-bottom:22px;color:#607263;font-size:13px}
.decision-toolbar label{display:flex;align-items:center;gap:12px}
.decision-toolbar>span{display:flex;align-items:center;gap:8px}
.decision-toolbar select{min-width:195px}
.qualification-banner{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid #ede5d1;background:#fbf5e7;border-radius:10px;margin-bottom:23px;color:#8a601e}
.qualification-banner strong{font-size:14px;font-weight:550;color:#8a601e}
.qualification-banner p{font-size:12px;color:#8a601e;margin-top:6px}
.qualification-banner>.badge{margin-left:auto}
.candidate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:22px}
.candidate{padding:22px;margin:0}
.candidate.baseline{border-color:#b9cba1;border-top:3px solid #9ab67b;padding-top:20px}
.candidate-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:20px}
.candidate-top .eyebrow{margin:0;font-size:12px;letter-spacing:1.2px}
.candidate h2{font-size:15px;color:#607263}
.candidate-range{font-size:19px;color:#57713f;margin-top:19px;font-weight:500;letter-spacing:-.4px}
.candidate-range span{font-size:13px;color:#607263;margin:0 4px}
.candidate-metrics{margin:23px 0 17px;border-top:1px solid #eff1e8;padding-top:15px;font-size:12px}
.candidate-metrics>div{display:flex;align-items:center;justify-content:space-between;margin:13px 0;gap:8px}
.candidate-metrics dt{color:#607263}
.candidate-metrics dd{margin:0;color:#607263;font-weight:500}
.candidate-note{font-size:12px;background:#f6f7f0;border-radius:5px;padding:11px 12px;color:#607263;line-height:1.8;min-height:57px;margin-bottom:18px}
.candidate-add{border:1px dashed #ced8bf;border-radius:12px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:330px;color:#607263;gap:18px}
.candidate-add>span{width:45px;height:45px;border-radius:50%;background:#eaf0df;display:grid;place-items:center}
.candidate-add h3{font-size:14px;font-weight:500}
.candidate-add p{font-size:13px;max-width:220px;line-height:1.9;color:#607263}
.candidate-add:hover{background:#eff4e7}
.review-panel .section-heading{padding-bottom:22px}
.compact-grid{margin:0;padding:0 22px 22px;gap:20px}
.review-type{display:flex;gap:13px;background:#fafbf7;border:1px solid #eef1e5;padding:20px;border-radius:7px;color:#607263}
.review-type h3{font-size:13px;color:#607263}
.review-type p{font-size:12px;color:#607263;margin:8px 0 13px;line-height:1.9}
.record-list{border-top:1px solid var(--line);padding:5px 22px}
.record-list>div{padding:14px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;border-bottom:1px solid var(--line)}
.record-list strong{color:#607263;font-weight:500}
.record-list>div>span{flex:1;min-width:180px;overflow-wrap:anywhere;color:#607263}
.record-list small{color:#607263}
.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}
.report-paper{background:white;border:1px solid #e6eadd;box-shadow:0 4px 15px #23352004;padding:40px 42px;border-radius:3px}
.report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}
.report-brand{font-family:Georgia,serif;color:#577448;font-weight:600;font-size:27px;letter-spacing:-2px}
.report-brand>span{font-family:Inter,sans-serif;font-size:12px;letter-spacing:1.7px;color:#607263;margin-left:10px;font-weight:400}
.report-paper>h2{font-size:23px;color:#577145;font-weight:500}
.report-dateline{font-size:12px;color:#607263;margin-top:10px}
.report-summary{display:flex;justify-content:space-between;gap:15px;background:#f3f6ed;padding:17px 20px;margin:26px 0;font-size:12px;color:#607263}
.report-summary strong{display:block;font-size:14px;color:#607263;margin-top:6px;font-weight:500}
.report-body{font-family:inherit;font-size:13px;color:#607263;line-height:2.2;white-space:pre-wrap;word-break:break-word}
.report-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;letter-spacing:1px;color:#607263;padding-top:25px;margin-top:25px;border-top:1px solid var(--line)}
.report-footer span{letter-spacing:0}
.report-aside .panel{margin:0}
.checklist{list-style:none;padding:0 22px 18px;margin:0}
.checklist li{display:flex;align-items:center;gap:9px;color:#607263;font-size:12px;padding:10px 0}
.checklist svg{width:15px;height:15px;color:#607263}
.checklist .incomplete{color:#607263}
.checklist .incomplete svg{color:#607263}
.source-card{display:flex;gap:25px;align-items:center;padding:27px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:23px}
.source-identity{display:flex;gap:18px;align-items:center}
.source-logo{width:55px;height:55px;background:#edf2e5;border:1px solid #e6eddc;border-radius:12px;display:grid;place-items:center;color:#607263}
.source-identity .eyebrow{font-size:12px;margin-bottom:5px}
.source-identity h2{color:#607263;font-size:16px}
.source-identity p{font-size:12px;color:#607263;margin-top:5px}
.source-card>dl{margin:0 0 0 auto;font-size:12px}
.source-card dl>div{display:flex;justify-content:space-between;gap:22px;margin:7px 0}
.source-card dt{color:#607263}
.source-card dd{margin:0;color:#607263}
.integration-list{padding:0 23px}
.integration-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.integration-row:last-child{border:0}
.integration-icon{width:39px;height:39px;border:1px solid #e8eddf;background:#f6f8f0;border-radius:8px;display:grid;place-items:center;color:#607263}
.integration-row h3{font-size:13px;color:#607263;font-weight:500}
.integration-row p{font-size:12px;color:#607263;margin-top:5px}
.integration-row>.badge{margin-left:auto}
.gap-list{padding:0 23px 7px}
.gap-list>div{display:flex;gap:13px;padding:15px 0;border-top:1px solid #f0f3e8;color:#607263}
.gap-list strong{font-size:13px;font-weight:500;color:#607263}
.gap-list p{font-size:12px;color:#607263;line-height:1.9;margin-top:5px}
.developer-note{display:flex;gap:16px;align-items:center;background:#eaf0df;border:1px solid #e0e8d3;border-radius:10px;padding:21px;color:#607263}
.developer-note h3{font-size:14px;color:#607263}
.developer-note p{font-size:12px;color:#607263;margin-top:7px;line-height:1.9}
.developer-note>.button{flex-shrink:0;margin-left:auto}
code{font-family:"SFMono-Regular",Consolas,monospace;color:#607263;font-size:.94em;background:#eef2e7;border-radius:3px;padding:2px 4px}
.form-panel>.section-heading{padding-bottom:21px}
.risk-table{padding:0 23px 15px}
.risk-table-head,.risk-table-row{display:grid;grid-template-columns:1fr 1.4fr 1.4fr 1.4fr;gap:22px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}
.risk-table-head{font-size:12px;color:#607263;padding-top:15px}
.risk-table-row strong{display:flex;gap:13px;align-items:center;font-size:13px;color:#607263;font-weight:500}
.risk-table input{width:100%}
.mobile-label{display:none}
input,select,textarea{border:1px solid #e1e8d7;background:#fdfefa;border-radius:5px;padding:9px 11px;line-height:1.4;color:#607263;font-size:13px;min-width:0}
input::placeholder,textarea::placeholder{color:#607263}
textarea{resize:vertical}
input[readonly]{background:#f3f6ed;color:#607263}
label{font-size:12px;color:#607263;display:flex;flex-direction:column;gap:8px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.form-panel>.form-grid{padding:0 23px 24px}
.policy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 23px}
.policy-grid>div{display:flex;align-items:center;gap:9px;padding:13px 12px;border:1px solid #e9eedf;border-radius:5px;color:#607263;font-size:12px}
.form-panel>.notice{margin:20px 23px 23px}
.form-footer{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:20px}
.form-footer p{display:flex;align-items:center;gap:8px;color:#607263;font-size:12px}
.modal-open{overflow:hidden}
.modal-backdrop{position:fixed;inset:0;z-index:100;background:#12211b66;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:30px}
.modal{background:#fff;border-radius:13px;width:580px;max-height:calc(100dvh - 60px);overflow:auto;box-shadow:0 20px 70px #112d1b33;outline:none}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:23px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}
.modal-header h2{font-size:17px;color:#607263}
.modal-header .eyebrow{font-size:12px;margin-bottom:5px}
.modal-content{padding:25px 27px}
.modal-content form{display:flex;flex-direction:column;gap:20px}
.form-intro{display:flex;align-items:center;gap:12px;color:#607263;margin-bottom:15px}
.form-intro+.small{margin-bottom:20px;line-height:1.9}
.form-error:empty{display:none}
.form-error{color:var(--red);font-size:13px}
.drawer{border-radius:0;height:100dvh;max-height:100dvh;margin-left:auto;width:470px}
.modal-backdrop:has(.drawer){padding:0;justify-content:flex-end}
.detail-identity{display:flex;align-items:center;gap:13px;margin-bottom:28px}
.detail-identity h2{font-size:17px;color:#607263}
.detail-identity p{font-size:12px;color:#607263;margin-top:5px}
.detail-identity>.badge{margin-left:auto;font-size:12px}
.large-coin{width:38px;height:38px;font-size:23px}
.detail-price{display:flex;justify-content:space-between;align-items:center;color:#607263;font-size:13px;margin-bottom:23px}
.detail-price strong{font-size:24px;font-weight:500;color:#607263;letter-spacing:-.7px}
.detail-price small{display:block;font-size:12px;color:#607263;margin-top:4px}
.range.large{width:100%}
.range.large .range-track{height:7px}
.range.large .range-pin{height:17px;width:4px;top:-5px}
.range.large .range-labels{font-size:12px;margin-top:12px}
.detail-bounds{display:flex;justify-content:space-between;font-size:12px;color:#607263;margin-top:10px}
.drawer-section{font-size:13px;font-weight:550;color:#607263;margin-top:29px;margin-bottom:14px;border-top:1px solid #edf1e5;padding-top:22px}
.detail-list{margin:0}
.detail-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin:14px 0;font-size:12px}
.detail-list dt{color:#607263;flex-shrink:0}
.detail-list dd{margin:0;text-align:right;color:#607263;max-width:250px;font-variant-numeric:tabular-nums}
.drawer .small.muted{line-height:1.9;margin-top:14px}
.event-detail-title{font-size:22px;color:#607263;line-height:1.6;margin:18px 0 10px}
.event-detail-title+p{font-size:12px;color:#607263}
.evidence-list{padding:0 0 0 19px;color:#607263;font-size:13px;line-height:2}
.evidence-list>li{margin:10px 0;padding-left:5px}
.body-copy{color:#607263;font-size:13px;line-height:2}
.drawer label{font-size:13px}
.drawer #event-form{gap:17px}
#toast{position:fixed;bottom:28px;left:calc(50% + 70px);transform:translate(-50%,15px);z-index:200;background:#243f2e;color:#e1ead4;box-shadow:0 5px 30px #142c2430;border:1px solid #486441;padding:13px 22px;font-size:13px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100vw - 40px);width:max-content}
#toast.visible{opacity:1;transform:translate(-50%,0)}
.boot{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;color:#607263;font-size:14px}
.boot-error{margin:80px auto;text-align:center}
.boot-error>p{font-size:13px;color:#607263}
.nav-scrim{display:none}

/* Contrast is intentionally stronger for working data than decorative annotations. */
.stat-meta,.section-heading p,.page-heading p,.panel-foot,.chart-caption,.page-footer,.report-dateline{color:#607263}
.range-labels,.position-link small,td small,th{color:#607263}
.small.muted{color:#607263}
label{color:#607263}
.report-body{color:#607263}
.integration-row p,.gap-list p{color:#607263}
.candidate-metrics dt{color:#607263}
.tabs button{color:#607263}


/* Account access: reuse the workspace palette and the 780px navigation boundary. */
.auth-shell {min-height:100dvh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(380px,1fr);background:var(--bg);}
.auth-story {background:var(--sidebar);color:#fff;padding:clamp(32px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;gap:64px;}
.auth-story h1 {font-size:clamp(32px,3.3vw,52px);line-height:1.35;font-weight:600;letter-spacing:-1px;margin:20px 0;}
.auth-story p {max-width:390px;font-size:16px;line-height:1.8;color:#c4d2ca;}
.auth-story>small,.auth-kicker {color:#b7c9bd;line-height:1.8;}
.auth-panel {width:100%;max-width:520px;justify-self:center;align-self:center;padding:44px 48px;}
.auth-panel h2 {font-size:28px;color:var(--sidebar);margin:0 0 12px;}
.auth-panel>.muted {line-height:1.7;margin-bottom:28px;}
.auth-form {display:grid;gap:18px;}
.auth-form label {display:grid;gap:8px;font-weight:500;color:var(--text);}
.auth-form input {width:100%;min-height:48px;font:inherit;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;}
.auth-form .form-error:empty {display:none;}
.auth-form .field-hint {margin:0;line-height:1.7;}
.auth-panel>.button {margin-top:12px;}
.auth-note {display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.7;color:var(--muted);margin-top:28px;}
.auth-note svg {flex-shrink:0;margin-top:3px;}
.auth-mobile-brand {display:none;}
.auth-checking {padding:40px 0;line-height:1.8;}
.account-menu {position:relative;}
.account-menu summary {list-style:none;display:flex;gap:9px;align-items:center;cursor:pointer;min-height:44px;border-radius:8px;padding:3px 5px;max-width:240px;}
.account-menu summary::-webkit-details-marker {display:none;}
.account-initial {width:34px;height:34px;border-radius:50%;background:#e6eee7;color:var(--green);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:600;}
.mobile-account-role {display:none;}
.account-name {max-width:140px;overflow-wrap:anywhere;font-size:13px;line-height:1.45;}
.account-name small {display:block;color:var(--muted);font-size:11px;}
.account-options {position:absolute;right:0;top:calc(100% + 8px);z-index:90;min-width:190px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 28px #12251e1a;border-radius:10px;padding:7px;}
.account-options a,.account-options button {font:inherit;border:0;background:none;color:var(--text);display:flex;align-items:center;width:100%;padding:10px 12px;min-height:44px;border-radius:6px;text-align:left;cursor:pointer;}
.account-options a:hover,.account-options button:hover {background:var(--bg);}
.shared-conflict {border:1px solid #d9c393;background:#fcf8ee;padding:14px;border-radius:8px;display:grid;gap:12px;margin:16px 0;overflow-wrap:anywhere;}
.shared-conflict pre {white-space:pre-wrap;font-size:12px;max-height:240px;overflow:auto;margin-top:10px;}
.shared-conflict summary {cursor:pointer;min-height:44px;display:flex;align-items:center;}
.readonly-note {padding:12px 16px;background:#edf3ee;color:var(--green);border-radius:8px;font-size:13px;line-height:1.7;}
.users-panel {padding-bottom:0;}
.users-list {padding:0 24px;}
.user-row {display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:22px 0;border-top:1px solid var(--line);}
.user-identity {display:flex;align-items:center;gap:12px;flex:1;min-width:160px;overflow-wrap:anywhere;}
.user-identity strong {font-size:15px;}
.user-identity small {display:block;color:var(--muted);margin-top:5px;}
.user-state,.user-actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.user-actions .button {min-height:44px;}
@media (max-width:780px) {
  .auth-shell {display:block;min-height:100dvh;}
  .auth-story {display:none;}
  .auth-panel {max-width:460px;padding:32px 22px max(32px,env(safe-area-inset-bottom));}
  .auth-mobile-brand {display:flex;align-items:center;gap:10px;font-weight:600;color:var(--sidebar);margin-bottom:56px;}
  .auth-panel h2 {font-size:25px;}
  .auth-form input {font-size:16px;min-height:48px;}
  .account-name {display:none;}
  .mobile-account-role {display:block;font-size:11px;color:var(--muted);}
  .topbar-actions>a[href="#notifications"] {display:none;}
  .account-menu summary {gap:3px;}
  .topbar-actions {gap:4px;}
  .users-list {padding:0 16px;}
  .user-row {gap:14px;}
  .user-actions {width:100%;}
  .user-actions .button {flex:1;font-size:12px;padding-left:8px;padding-right:8px;}
}
@media (max-height:500px) and (max-width:780px) {.auth-mobile-brand {margin-bottom:20px;}.auth-panel {padding-top:18px;}.auth-shell {min-height:100dvh;}}

@media(min-width:1600px){main{padding-top:35px}
.stat-value{font-size:31px}
.bar-chart{height:245px}
.bar-slot{height:178px}
.allocation-body{min-height:241px;gap:40px}
.donut{width:160px;height:160px;padding:20px}
.position-table td{padding-top:21px;padding-bottom:21px}
.sidebar{width:240px}
.workspace{width:calc(100% - 240px);margin-left:240px}
}

@media(max-width:1250px){.sidebar{width:200px;padding-inline:12px}
.workspace{margin-left:200px;width:calc(100% - 200px)}
.brand{font-size:19px;padding:0 12px}
.sidebar-profile{margin-inline:-12px;padding-inline:22px}
.topbar{padding-inline:25px}
.data-banner{padding-inline:25px}
main{padding:25px}
.page-heading{gap:12px}
.page-heading h1{font-size:23px}
.button{padding:9px 12px;font-size:12px}
.stats-grid{gap:12px}
.stat-card{padding:15px}
.stat-value{font-size:24px}
.stat-meta{font-size:12px}
.overview-main,.bottom-grid{grid-template-columns:1.45fr 1fr;gap:16px}
.allocation-body{gap:17px;padding-inline:18px}
.donut{width:113px;height:113px;padding:14px}
.donut strong{font-size:23px}
.allocation-legend{min-width:98px}
.section-heading{padding:18px}
.section-heading h2{font-size:14px}
.range{width:110px}
td,th{padding-inline:12px}
.position-link{gap:7px}
.position-link strong{font-size:12px}
.position-link small{font-size:12px}
.position-link small i{padding:0 1px}
.position-table .coin{width:25px;height:25px}
.quiet-state{margin-inline:18px}
.quiet-state .text-link{display:none}
.heading-actions{gap:6px}
.risk-table-head,.risk-table-row{gap:15px}
.policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.report-layout{grid-template-columns:minmax(0,1fr) 240px;gap:18px}
.report-paper{padding:30px}
.source-card{gap:15px;padding:22px}
.source-card>dl{font-size:12px}
.source-card dl>div{gap:10px}
.source-identity h2{font-size:14px}
.developer-note>.button{font-size:12px}
.decision-toolbar{gap:15px}
.decision-toolbar .push-right{font-size:12px}
.exposure-top{gap:7px}
.exposure-top>.badge{font-size:12px}
.exposure-top h3{font-size:12px}
}

@media(max-width:1050px){.overview-main{grid-template-columns:1.4fr 1fr}
.allocation-body{flex-direction:column;padding:18px;gap:5px;min-height:220px}
.donut{width:115px;height:115px}
.allocation-legend{display:flex;justify-content:space-between;gap:12px;max-width:none;width:100%;min-width:0}
.allocation-legend>div{gap:4px;font-size:12px;flex-wrap:wrap;position:relative;flex:1}
.allocation-legend strong{font-size:12px}
.allocation-legend small{font-size:12px}
.panel-foot{font-size:12px}
.section-heading p{font-size:12px}
.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.stat-card{padding:18px}
.stat-meta{font-size:12px}
.snapshot-time{font-size:12px}
.welcome-strip>div>span:last-child{display:none}
.bottom-grid{grid-template-columns:1.4fr 1fr}
.next-card{padding:20px}
.next-card h2{font-size:15px}
.three-grid{gap:12px}
.exposure-card{padding:17px}
.exposure-top{flex-wrap:wrap}
.exposure-top>.badge{margin-left:0}
.exposure-value{margin-top:18px}
.two-grid{gap:16px}
.form-grid{gap:15px}
.form-panel>.form-grid{padding:0 18px 20px}
.risk-table{padding-inline:18px}
.risk-table-head{font-size:12px}
.decision-toolbar{flex-wrap:wrap}
.three-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.three-stats .stat-value{font-size:21px}
.report-layout{grid-template-columns:1fr}
.report-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:flex-start}
.source-card{flex-wrap:wrap}
.source-card>dl{margin-left:0;width:100%;display:flex;justify-content:space-between}
.developer-note{flex-wrap:wrap}
.developer-note>.button{margin-left:38px}
.page-heading{flex-wrap:wrap}
.heading-actions{margin-top:8px}
.event-card{gap:13px}
.event-card h3{font-size:13px}
.event-card>.badge{font-size:12px}
}

@media(max-width:780px){.sidebar{width:214px;transform:translateX(-100%);transition:transform .2s}
.workspace{margin-left:0;width:100%}
.nav-open .sidebar{transform:translateX(0)}
.nav-open .nav-scrim{display:block;position:fixed;inset:0;background:#152d1e55;z-index:39;backdrop-filter:blur(2px)}
.menu-button{display:inline-flex;padding:0}
.topbar{height:59px;padding-inline:20px}
.topbar-actions{gap:13px}
.topbar-actions>.local-chip{display:none}
.data-banner{padding:9px 20px;font-size:12px;gap:6px}
.data-banner button{font-size:12px}
.data-banner>span{max-width:75%}
main{padding:24px 20px 8px}
.page-heading h1{font-size:25px}
.page-heading p{font-size:13px}
.welcome-strip{font-size:12px}
.overview-main{grid-template-columns:1.5fr 1fr}
.bottom-grid{grid-template-columns:1.5fr 1fr}
.page-footer{font-size:12px}
.page-footer span:last-child{display:none}
#toast{left:50%}
.summary-inline{gap:16px}
.summary-inline>.push-right{display:none}
.three-grid{grid-template-columns:1fr}
.exposure-top{flex-wrap:nowrap}
.exposure-top>.badge{margin-left:auto}
.exposure-top h3{font-size:14px}
.exposure-value{font-size:28px;margin:18px 0}
.exposure-card .progress-track{margin-bottom:10px}
.two-grid{grid-template-columns:1fr}
.policy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.three-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.three-stats .stat-card{padding:14px}
.three-stats .stat-top{font-size:12px}
.three-stats .stat-meta{white-space:normal;font-size:12px}
.risk-table-head,.risk-table-row{gap:10px;grid-template-columns:.8fr 1fr 1fr 1fr}
.risk-table-row strong{gap:5px;font-size:12px}
.risk-table-row strong .coin{width:22px;height:22px;font-size:13px}
.risk-table input{font-size:12px;padding:9px 7px}
.form-footer{align-items:flex-start}
.form-footer p{font-size:12px}
.source-card>.badge{margin-left:auto}
.source-card>dl{font-size:12px}
.filter-row{padding:13px 17px;flex-wrap:wrap}
.search-box input{width:190px}
.candidate-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.report-aside{grid-template-columns:1fr}
.decision-toolbar>label{width:100%}
.qualification-banner{padding:18px;gap:12px}
.qualification-banner p{line-height:1.8}
.qualification-banner>.badge{display:none}
.form-footer .button{flex-shrink:0}
}

@media(max-width:520px){main{padding:22px 15px 6px}
.topbar{padding-inline:16px}
.breadcrumb{gap:9px;font-size:12px}
.topbar-actions{gap:9px}
.data-banner{padding:9px 15px;align-items:flex-start;line-height:1.6}
.data-banner>svg{margin-top:2px}
.data-banner>span{max-width:none;flex:1}
.data-banner button{max-width:80px;white-space:normal;font-size:12px;gap:3px;line-height:1.8}
.data-banner button>svg{display:none}
.page-heading{margin-bottom:21px}
.page-heading h1{font-size:22px}
.page-heading p{font-size:12px;line-height:1.9}
.page-heading .eyebrow{font-size:12px}
.heading-actions{width:100%;justify-content:flex-start;margin-top:5px}
.welcome-strip{font-size:12px;margin-bottom:17px}
.snapshot-time{font-size:12px;gap:4px}
.snapshot-time svg{display:none}
.strip-divider{display:none}
.stats-grid{gap:10px;margin-bottom:18px}
.stat-card{padding:13px}
.stat-top{font-size:12px}
.stat-icon{width:24px;height:24px}
.stat-value{font-size:23px;margin-top:12px}
.stat-meta{font-size:12px}
.stat-value small{font-size:13px}
.overview-main{grid-template-columns:1fr;gap:16px;margin-bottom:18px}
.section-heading{padding:18px}
.section-heading h2{font-size:14px}
.section-heading p{font-size:12px}
.bar-chart{height:225px}
.bar-slot{height:158px}
.allocation-body{flex-direction:row;min-height:195px;padding:18px 25px;gap:27px}
.donut{width:128px;height:128px;padding:15px}
.allocation-legend{display:block;max-width:150px}
.allocation-legend>div{display:flex;font-size:12px;gap:8px;margin:14px 0}
.allocation-legend strong{font-size:12px}
.allocation-legend small{font-size:12px}
.allocation-legend .legend-dot{width:6px;height:6px}
.panel{margin-bottom:18px}
.panel-foot{font-size:12px}
.bottom-grid{grid-template-columns:1fr;gap:17px}
.next-card{padding:21px 23px}
.next-card h2{font-size:19px}
.next-card p{font-size:13px;max-width:280px}
.next-link{font-size:13px}
.quiet-state{margin-bottom:18px}
.quiet-state strong{font-size:13px}
.quiet-state p{font-size:12px}
.position-table{min-width:730px}
.summary-inline{font-size:12px;gap:14px;padding-block:13px}
.summary-inline>span{gap:6px}
.summary-inline>span:nth-child(3){display:none}
.tabs{gap:1px;flex-wrap:wrap}
.tabs button{font-size:12px;padding:7px 9px}
.search-box{width:100%}
.search-box input{width:100%}
.filter-row>select{width:100%;padding:9px;font-size:12px}
.three-stats{grid-template-columns:1fr}
.three-stats .stat-card{display:grid;grid-template-columns:1fr 1fr;align-items:center;column-gap:15px}
.three-stats .stat-top{grid-column:1}
.three-stats .stat-top>.stat-icon{display:none}
.three-stats .stat-value{grid-column:2;grid-row:1/3;text-align:right;font-size:20px;margin:5px 0}
.three-stats .stat-meta{font-size:12px}
.event-card{gap:10px;position:relative;padding:20px 0}
.event-card>.event-icon{width:30px;height:30px}
.event-card>.event-icon svg{width:16px;height:16px}
.event-card>.badge{position:absolute;right:0;bottom:15px}
.event-card h3{font-size:13px;line-height:1.8}
.event-card>svg{display:none}
.event-card .small.muted{max-width:200px;display:block;padding-bottom:20px;font-size:12px}
.event-meta{gap:6px;font-size:12px}
.event-meta .badge{font-size:12px}
.principle-strip{padding:21px}
.principle-strip>div{align-items:flex-start;gap:10px}
.principle-strip strong{font-size:16px;line-height:1.8}
.principle-strip svg{margin-top:4px}
.principle-strip p{font-size:12px;margin-left:0;line-height:1.9}
.candidate-grid{grid-template-columns:1fr}
.candidate-add{min-height:220px}
.candidate-top .eyebrow{font-size:12px}
.candidate{padding:23px}
.candidate-metrics{font-size:13px}
.decision-toolbar{gap:14px}
.decision-toolbar>label{justify-content:space-between}
.decision-toolbar select{min-width:180px}
.decision-toolbar>span{font-size:12px}
.decision-toolbar .push-right{margin-left:0}
.review-type{padding:18px}
.compact-grid{padding:0 18px 20px}
.source-card{gap:16px;padding:20px}
.source-logo{width:40px;height:40px}
.source-logo svg{width:22px}
.source-identity{gap:12px}
.source-identity h2{font-size:14px}
.source-identity p{font-size:12px}
.source-card>.badge{margin-left:0}
.source-card>dl{display:block}
.source-card dl>div{justify-content:space-between}
.integration-list{padding:0 18px}
.integration-row{gap:11px}
.integration-row h3{font-size:13px}
.integration-row p{font-size:12px;line-height:1.8}
.integration-icon{width:32px;height:32px}
.integration-icon svg{width:18px}
.integration-row .badge{font-size:12px}
.gap-list{padding-inline:18px}
.developer-note{padding:18px;gap:10px}
.developer-note>div{flex:1}
.developer-note h3{font-size:13px}
.developer-note>.button{margin-left:31px}
.form-panel .section-heading p{line-height:1.9}
.risk-table-head{display:none}
.risk-table-row{grid-template-columns:1fr 1fr 1fr;border-top:1px solid #edf1e5;padding:20px 0}
.risk-table-row strong{grid-column:1/-1;font-size:13px;margin-bottom:4px;gap:8px}
.risk-table-row strong .coin{width:25px;height:25px;font-size:14px}
.mobile-label{display:block;font-size:12px;white-space:nowrap;letter-spacing:-.3px}
.risk-table-row label{gap:6px}
.risk-table input{font-size:12px}
.form-grid{gap:15px}
.policy-grid{gap:10px;padding-inline:18px}
.policy-grid>div{font-size:12px;line-height:1.8;padding:10px}
.policy-grid svg{width:15px}
.form-panel>.notice{margin-inline:18px;font-size:12px}
.form-footer{flex-direction:column}
.form-footer .button{width:100%}
.report-paper{padding:25px 21px}
.report-header{margin-bottom:25px}
.report-paper>h2{font-size:21px}
.report-dateline{font-size:12px}
.report-body{font-size:12px;line-height:2.3}
.report-summary{padding:15px 13px;gap:9px}
.report-summary strong{font-size:13px}
.report-footer{font-size:12px}
.report-footer span{max-width:120px;line-height:1.8}
.modal-backdrop{padding:12px}
.modal{max-height:calc(100dvh - 24px);border-radius:10px}
.modal-header{padding:20px}
.modal-content{padding:22px 20px}
.drawer{width:100%;max-height:100dvh;height:100dvh}
.drawer .modal-content{padding:23px}
.detail-identity{gap:9px}
.detail-identity h2{font-size:15px}
.detail-identity p{font-size:12px}
.detail-identity>.badge{font-size:12px}
.detail-list dd{max-width:210px}
.event-detail-title{font-size:20px}
.page-footer{margin-top:25px}
#toast{font-size:13px;padding:12px 17px;line-height:1.8}
}

.event-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0;padding:18px 0;border-block:1px solid var(--line)}
.event-facts>div{padding:7px 0}
.event-facts span{font-size:12px;color:#607263;display:block}
.event-facts strong{font-size:16px;color:#607263;display:block;font-weight:500;margin-top:7px;font-variant-numeric:tabular-nums}
.event-facts+.detail-list{margin-top:15px}

@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}
}

/* Working controls and responsive cards share the same interaction rules. */
.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}
.workspace,main,.page-heading>div,.event-card-body,.source-identity,.source-identity>div,.developer-note>div{min-width:0}
.brand{gap:10px;padding-inline:12px;letter-spacing:0;line-height:1.25}
.brand-mark{font-family:inherit;font-size:25px;letter-spacing:0;padding:0;flex-shrink:0;line-height:1}
.brand-name{min-width:0}
.brand-name strong{font-size:23px;font-weight:650;letter-spacing:2px}
.brand .brand-name small{font-size:12px;color:#bdd0bf;letter-spacing:.8px;margin-top:5px}
.brand-mark>span{display:none}
.sidebar{padding-top:28px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3f5b46 transparent}
.workspace-selector{margin-top:25px;margin-bottom:23px;font-size:13px}
.workspace-selector small,.sidebar-profile small{color:#a5baa9;font-size:12px}
.workspace-selector>div{min-width:0;overflow-wrap:anywhere}
.nav-caption{font-size:12px;letter-spacing:0;color:#94af9b;margin-bottom:10px}
.nav-item{min-height:46px;font-size:14px;gap:12px;margin-block:4px}
.nav-item span{min-width:0}
.system-caption{margin-top:24px}
.sidebar-bottom{padding-top:16px}
.local-status{font-size:12px;color:#d1dfc9;margin:16px 7px 10px;padding:14px 12px}
.local-status p{font-size:12px;color:#a7bda5;line-height:1.7}
.developer-link{min-height:44px;padding-bottom:8px;color:#b0c6b5;font-size:12px}
.sidebar-profile{font-size:13px;padding-block:16px}
.sidebar-profile>span:first-child{font-size:13px;background:#3c573e}
.sidebar-profile small{margin-top:4px}
.nav-count{font-size:12px;line-height:1.4}
.topbar{min-height:68px;gap:12px}
.breadcrumb{color:#607263;font-size:13px;min-width:0;gap:10px}
.breadcrumb strong{color:#385440;font-weight:600}
.topbar-actions{gap:8px;flex-shrink:0}
.local-chip{font-size:12px;color:#486143}
.icon-button{min-width:44px;min-height:44px;color:#53675a;border-radius:8px;padding:10px}
.mobile-brand,.mobile-nav{display:none}
.button,.small-button{min-height:44px;padding:11px 15px;font-size:13px;border-radius:8px;font-weight:550}
.button.secondary{color:#38523e;border-color:#cdd9ca}
.button.subtle{color:#6c7469}
.tabs button,.segmented button{min-height:44px;font-size:13px;padding:10px 13px;color:#607263}
.tabs button.active{color:#2d573c}
.segmented{border-color:#dbe3d5;padding:2px}
.segmented button{font-size:12px;padding-inline:11px}
.segmented button.active{color:#305739}
.text-link,.next-link{min-height:44px;font-size:13px;align-items:center}
.heading-actions{flex-wrap:wrap}
.page-heading p{font-size:13px;color:#607263;line-height:1.8;max-width:65ch}
.section-heading h2{font-size:16px;color:#2f4939}
.section-heading p{font-size:12px;line-height:1.8;max-width:58ch}
.section-heading{padding-block:20px 16px;align-items:flex-start}
.eyebrow{font-size:12px;letter-spacing:0}
.stat-top{font-size:13px;color:#607263}
.stat-value{font-weight:600;letter-spacing:-.6px}
.stat-meta{font-size:12px;white-space:normal;line-height:1.7;min-height:1.7em}
.stat-value small{color:#607263}
.data-banner{font-size:12px;color:#53674d;padding-block:11px;line-height:1.7;align-items:flex-start}
.data-banner>svg{margin-top:3px}
.data-banner>span{min-width:0}
.data-banner button{font-size:12px;min-height:44px;margin-block:-7px;padding:5px 0 5px 8px;flex-shrink:0}
.demo-banner{color:#815b18}
.connection-banner{display:flex;align-items:center;gap:10px;background:#fff1e9;color:#894330;border-block-end:1px solid #e9ccb8;padding:12px 35px;font-size:13px;line-height:1.7}
.connection-banner>svg{flex-shrink:0}
.connection-banner>span,.connection-banner>div{min-width:0;overflow-wrap:anywhere}
.connection-banner button{margin-left:auto;white-space:nowrap;flex-shrink:0;min-height:44px;font-size:13px;font-weight:600}
.badge{font-size:12px;line-height:1.5;padding:3px 8px;white-space:normal;color:#53674d;border-color:#dbe2d5}
.badge.green{color:#3e7042;border-color:#cedfc0;background:#eff6e7}
.badge.amber{color:#8a601e;border-color:#e6d4ae}
.badge.blue{color:#536b8d;border-color:#d2dce9}
.badge.red{color:#994338;background:#fff0ed;border-color:#e9cbc5}
.welcome-strip{font-size:12px;align-items:flex-start;color:#607263}
.welcome-strip>div{min-width:0;flex-wrap:wrap;row-gap:8px}
.snapshot-time{font-size:12px;white-space:normal;max-width:48%;text-align:right;align-items:flex-start}
.snapshot-time>svg{margin-top:2px}
.summary-inline{font-size:13px}
.summary-inline>.push-right{font-size:12px}
.panel-foot,.chart-caption,.page-footer{font-size:12px;color:#607263;line-height:1.8}
.chart-caption{flex-wrap:wrap;row-gap:5px}
.chart-caption-right{font-size:11px}
.chart-grid{font-size:11px;width:46px}
.bar-value{font-size:11px}
.bar-label{font-size:12px;height:47px}
.bar-label small{font-size:11px;color:#607263}
.bar-chart{padding-right:22px}
.chart-bars{gap:8px;min-width:0}
.bar-column{min-width:0}
.bar-slot{max-width:100%;width:38px}
.allocation-body{gap:24px}
.donut span{font-size:12px}
.donut strong small{font-size:11px}
.allocation-legend>div,.allocation-legend strong{font-size:13px}
.allocation-legend small{font-size:12px;color:#607263}
.allocation-legend{min-width:120px}
.allocation-legend .legend-dot{margin-top:7px}
.position-table{font-size:13px}
.position-table th{font-size:12px;color:#607263;padding-block:13px;font-weight:500}
.position-table th small{font-size:11px}
.position-table td{font-size:13px;padding-block:16px;color:#475f4b}
.position-table .position-link{min-height:44px}
.position-table .position-link strong{font-size:13px;color:#2b4c33;font-weight:600}
.position-table .position-link small{font-size:11px;color:#607263}
.position-table .position-link small i{padding-inline:2px}
.position-link{border-radius:6px;min-width:0;max-width:100%}
.position-link>span:last-child{min-width:0}
.range-labels{font-size:11px;color:#607263}
.position-cards{display:none}
.position-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.position-card-heading .position-link{min-height:48px;flex:1}
.position-card-heading .position-link strong{font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.position-card-heading .position-link small{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.position-card-heading>.badge{flex-shrink:0;margin-top:5px;font-size:11px}
.position-card-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:18px 0}
.position-card-values>div{min-width:0}
.position-card-values dt{font-size:12px;color:#607263;margin-bottom:5px}
.position-card-values dd{font-size:17px;line-height:1.5;color:#2c4935;font-weight:550;margin:0;overflow-wrap:anywhere}
.position-card-values>div:nth-child(even){text-align:right}
.position-card-range{padding-top:15px;border-top:1px solid #e5eade}
.position-card-range>span{display:flex;justify-content:space-between;font-size:12px;color:#53675a;margin-bottom:12px}
.position-card-range>span small{font-size:11px}
.position-card-range .range{width:100%}
.position-card-range .range-track{height:5px}
.position-card-range .range-labels{font-size:12px;margin-top:10px}
.position-card-action{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:46px;border-top:1px solid #e5eade;margin-top:16px;padding:12px 0 0;font-size:13px;color:#2d5b3e;font-weight:550}
.position-empty .empty-state{padding-block:40px}
.filter-row{gap:12px;align-items:stretch}
.search-box{flex-direction:row;align-items:center;padding-block:0;min-height:44px;color:#607263;border-color:#cdd9ca}
.search-box input{height:42px;font-size:13px;color:#38523e}
.search-box:focus-within{outline:3px solid #c3ed86;outline-offset:2px}
.filter-row select{min-height:44px;font-size:13px}
.event-mini{min-height:76px}
.event-mini strong,.quiet-state strong{font-size:13px}
.event-mini small,.quiet-state p{font-size:12px;line-height:1.7}
.quiet-state{align-items:flex-start}
.quiet-state .text-link{font-size:12px}
.next-card p{font-size:13px;color:#53674c;max-width:40ch}
.next-top .eyebrow{font-size:12px;color:#60774c}
.event-card{gap:15px;line-height:1.8}
.event-card h3{font-size:15px;color:#35553b}
.event-card p,.event-meta{font-size:12px;color:#607263}
.event-card .small.muted{font-size:12px;line-height:1.8}
.event-meta .badge{font-size:11px}
.empty-state h3{font-size:16px;color:#37563b;font-weight:600}
.empty-state p{font-size:13px;color:#607263}
.notice{font-size:13px;line-height:1.85;color:#53674c;border-color:#d8e2ce}
.notice.warning{color:#815e25;border-color:#e6d7b5}
.principle-strip strong{font-size:18px;color:#3f603d}
.principle-strip p{font-size:13px;line-height:1.85;color:#53674c}
.exposure-top h3{font-size:15px}
.exposure-top small,.split-label{font-size:12px}
.method-card h3,.review-type h3{font-size:14px}
.method-card p,.review-type p,.candidate-note,.candidate-add p{font-size:13px;color:#607263}
.candidate-top .eyebrow{font-size:12px;letter-spacing:0}
.candidate-metrics{font-size:13px}
.candidate-metrics>div{align-items:flex-start}
.candidate-metrics dd{overflow-wrap:anywhere;text-align:right}
.qualification-banner strong{font-size:14px;color:#815e25}
.qualification-banner p{font-size:13px;color:#816d46;line-height:1.85}
.candidate .small.muted{font-size:12px}
.decision-toolbar{font-size:13px;flex-wrap:wrap}
.decision-toolbar .push-right{font-size:12px}
.source-identity h2{font-size:16px;color:#36533b;overflow-wrap:anywhere}
.source-identity p,.source-identity .eyebrow{font-size:12px;overflow-wrap:anywhere;line-height:1.8}
.source-card>dl{font-size:12px}
.source-card dl>div{gap:20px;align-items:flex-start}
.source-card dt{color:#607263;flex-shrink:0}
.source-card dd{color:#3f5d43;overflow-wrap:anywhere;text-align:right}
.integration-row>div{min-width:0}
.integration-row h3{font-size:14px;color:#3f5d43}
.integration-row p,.gap-list p,.developer-note p{font-size:13px;color:#607263;line-height:1.8;overflow-wrap:anywhere}
.integration-row>.badge{max-width:150px;text-align:center;justify-content:center;flex-shrink:0}
.gap-list strong{font-size:14px;color:#48613e}
.developer-note h3{font-size:15px;color:#3f5d43}
code{color:#49633c;overflow-wrap:anywhere}
label,.drawer label{font-size:13px;line-height:1.7;color:#53674c}
input,select,textarea{min-height:44px;font-size:14px;color:#345139;border-color:#c9d6c2;background:#fff;border-radius:7px}
input::placeholder,textarea::placeholder{color:#71806b;opacity:1}
input[readonly]{color:#607263}
input[type=checkbox],input[type=radio]{min-height:20px;min-width:20px;accent-color:#28634b}
.risk-table-head{font-size:12px;color:#607263}
.risk-table-row strong{font-size:14px;color:#3f603d}
.risk-table input{font-size:14px;padding:10px}
.policy-grid>div{font-size:12px;line-height:1.8;color:#53674c}
.form-footer p{font-size:12px;line-height:1.85;color:#607263}
.form-error{font-size:13px;line-height:1.8;color:#a24234;overflow-wrap:anywhere}
.form-intro{font-size:13px;color:#53674c;flex-wrap:wrap}
.modal-header h2{font-size:19px;color:#35553b}
.modal-header .eyebrow{font-size:12px}
.modal-content .small{font-size:13px;color:#607263}
.detail-identity h2{font-size:18px;color:#35553b;overflow-wrap:anywhere}
.detail-identity>div{min-width:0}
.detail-identity p{font-size:12px;line-height:1.7;color:#607263;overflow-wrap:anywhere}
.detail-identity>.badge{font-size:11px}
.detail-price{font-size:13px;color:#53674c}
.detail-price strong{font-size:27px;color:#36583b}
.detail-price small,.detail-bounds{font-size:12px;line-height:1.7;color:#607263}
.detail-bounds{gap:15px}
.detail-list>div{font-size:13px;gap:16px;line-height:1.8}
.detail-list dt{color:#607263}
.detail-list dd{color:#3e5b43;min-width:0;overflow-wrap:anywhere}
.drawer-section{font-size:14px;color:#4d6742}
.body-copy,.evidence-list,.event-detail-title+p{font-size:13px;color:#607263}
.event-detail-title{color:#36583b}
.event-facts span{font-size:12px;color:#607263}
.event-facts strong{font-size:17px;color:#36583b;overflow-wrap:anywhere}
.report-brand{font-family:inherit;font-size:23px;letter-spacing:0;color:#36533b}
.report-brand>span{font-family:inherit;font-size:12px;letter-spacing:0;color:#607263}
.report-summary,.report-dateline{font-size:12px;color:#607263}
.report-summary strong{font-size:16px;color:#36533b}
.report-body{font-size:13px;color:#53674c;line-height:2.1}
.report-footer{font-size:12px;letter-spacing:0;color:#607263}
.checklist li{font-size:13px;color:#53674c;line-height:1.75;align-items:flex-start}
.checklist svg{margin-top:4px;flex-shrink:0}
.checklist .incomplete{color:#6b735d}
.report-paper>h2{color:#36533b}
.record-list>div{font-size:13px;line-height:1.8}
.record-list small{font-size:12px;color:#607263}
button:focus-visible,a:focus-visible{outline:3px solid #709c4c;outline-offset:3px}
.sidebar button:focus-visible,.sidebar a:focus-visible{outline-color:#c3ed86;outline-offset:2px}
input:focus,select:focus,textarea:focus{border-color:#4e7b42;outline:3px solid #cde6ab99;outline-offset:1px}
.boot{font-size:14px;color:#53674c;gap:16px}
.boot>strong{color:#243b30;font-size:20px}
.boot .brand-mark{width:50px;height:50px;font-size:30px}
.notification-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.85fr);gap:22px;align-items:start}
.notification-layout>*{min-width:0}
.notification-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;min-width:0;margin-bottom:22px}
.notification-panel h2{font-size:17px;line-height:1.7;color:#35553b}
.notification-panel>p,.notification-panel .muted{font-size:13px;line-height:1.85;color:#607263}
.notification-panel .form-grid{margin-block:18px}
.notification-panel label{font-size:13px;color:#53674c}
.notification-panel input,.notification-panel select,.notification-panel textarea{width:100%;font-size:14px}
.notification-panel input[type=checkbox],.notification-panel input[type=radio]{width:20px;flex-shrink:0}
.notification-status{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#f1f5eb;border:1px solid #dbe5ce;border-radius:9px;color:#48613e;line-height:1.8;font-size:13px;margin-bottom:18px}
.notification-status>div{min-width:0}
.notification-status strong{display:block;font-size:14px;color:#35553b}
.notification-status p{font-size:13px;margin-top:4px;color:#607263}
.notification-status.warning,.notification-status.error{background:#fff5e6;border-color:#e8d6b2;color:#815b21}
.notification-status.error{background:#fff0eb;border-color:#eacfc4;color:#994638}
.notification-status>svg{margin-top:3px}
.notification-option{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:13px 0;min-height:48px;line-height:1.8;cursor:pointer;color:#3f5d43}
.notification-option>input{margin-top:3px;accent-color:#28634b}
.notification-option>span,.notification-option>div{min-width:0}
.notification-option small{font-size:12px;line-height:1.8;color:#607263;display:block;margin-top:3px}
.notification-options{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;margin-block:16px}
.notification-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}
.notification-preview{padding:19px;background:#f4f7ef;border:1px solid #dbe4d2;border-left:4px solid #56804a;border-radius:8px;color:#35553b;overflow-wrap:anywhere;font-size:13px;line-height:1.95}
.notification-preview h3{font-size:15px;margin-bottom:8px}
.notification-preview pre{white-space:pre-wrap;font:inherit;margin:0;overflow-wrap:anywhere}
.notification-preview p+p{margin-top:7px}
.notification-log{list-style:none;margin:0;padding:0;overflow-wrap:anywhere}
.notification-log>li,.notification-log>div{padding-block:16px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.8;display:flex;align-items:flex-start;gap:10px}
.notification-log>li:last-child,.notification-log>div:last-child{border-bottom:0}
.notification-log strong{font-size:13px;color:#35553b}
.notification-log p{font-size:12px;color:#607263;margin-top:4px}
.notification-log .badge{margin-left:auto;flex-shrink:0;font-size:11px}
.notification-log small{display:block;color:#607263;font-size:12px}
.notification-callout{padding:16px;border:1px solid #dbe4d2;border-radius:8px;color:#53674c;line-height:1.9;font-size:13px;background:#f7f9f3}
.notification-help{font-size:12px;line-height:1.85;color:#607263;overflow-wrap:anywhere}
.notification-steps{padding-left:20px;color:#53674c;font-size:13px;line-height:1.9}
.notification-steps li+li{margin-top:8px}
@media(min-width:781px) and (max-width:1180px){
  .sidebar{width:210px;padding-inline:12px}
  .workspace{width:calc(100% - 210px);margin-left:210px}
  .brand{padding-inline:10px}
  .brand-name strong{font-size:22px}
  .overview-main,.bottom-grid{grid-template-columns:minmax(0,1fr)}
  .allocation-body{flex-direction:row;gap:38px;min-height:210px}
  .allocation-legend{display:block;width:auto;max-width:210px}
  .allocation-legend>div{font-size:13px;gap:8px;flex-wrap:nowrap}
  .allocation-legend strong{font-size:13px}
  .allocation-legend small{font-size:12px}
  .donut{width:136px;height:136px;padding:17px}
  .notification-layout{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:780px){
  .workspace{margin:0;width:100%;padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  main{padding:24px 20px 12px}
  .sidebar{width:min(288px,calc(100vw - 46px));height:100dvh;padding:24px 18px 0;overscroll-behavior:contain;z-index:50}
  .nav-open .nav-scrim{z-index:49}
  .sidebar-profile{margin-inline:-18px;padding-inline:28px}
  .brand-name strong{font-size:23px}
  .workspace-selector{margin-top:23px;margin-bottom:20px}
  .nav-item{min-height:48px;font-size:14px}
  .sidebar-bottom{padding-top:14px}
  .local-status{margin-top:12px}
  .topbar{height:64px;padding-inline:14px;gap:6px;position:sticky;top:0;z-index:30}
  .breadcrumb{gap:6px;font-size:12px;flex:1;overflow:hidden}
  .breadcrumb .menu-button{margin-left:-5px}
  .breadcrumb>span:not(.mobile-brand){display:none}
  .breadcrumb>svg{display:none}
  .breadcrumb>strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#607263;font-weight:500}
  .mobile-brand{display:block;font-size:17px;font-weight:650;color:#243f2e;white-space:nowrap;letter-spacing:-.4px}
  .topbar-actions{gap:0}
  .topbar-actions>.avatar{display:none}
.topbar-actions .icon-button{min-width:44px;padding:10px}
  .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:35;background:#fff;border-top:1px solid #d7e1d1;padding:7px 8px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -4px 15px #17332206;min-height:72px}
  .mobile-nav>a,.mobile-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:51px;min-width:0;padding:5px 0;border-radius:8px;color:#607263;font-size:11px;line-height:1.4;text-align:center}
  .mobile-nav>a svg,.mobile-nav>button svg{width:21px;height:21px}
  .mobile-nav .active,.mobile-nav [aria-current=page]{color:#2d5b3e;background:#edf5e3;font-weight:650}
  .mobile-nav .active svg{stroke-width:2}
  .data-banner{padding:12px 20px;font-size:12px;gap:8px;align-items:flex-start}
  .data-banner>span{max-width:none;flex:1;min-width:0}
  .data-banner button{font-size:12px;line-height:1.6;max-width:96px;white-space:normal;text-align:left}
  .data-banner button>svg{display:none}
  .connection-banner{padding:12px 20px;font-size:12px;flex-wrap:wrap}
  .connection-banner>span,.connection-banner>div{flex:1;min-width:180px}
  .connection-banner button{margin-left:26px}
  .page-heading{gap:12px;align-items:flex-start;margin-bottom:22px;flex-wrap:wrap}
  .page-heading h1{font-size:25px;letter-spacing:-.6px;line-height:1.6;overflow-wrap:anywhere}
  .page-heading p{font-size:13px;line-height:1.8}
  .heading-actions{gap:8px;margin-top:0;width:100%}
  .heading-actions .button{font-size:13px;min-height:44px}
  .welcome-strip{font-size:12px;gap:10px;flex-direction:column;align-items:stretch;padding-bottom:16px}
  .welcome-strip>div>span:last-child{display:inline}
  .welcome-strip .strip-divider{display:none}
  .snapshot-time{font-size:12px;text-align:left;max-width:100%;white-space:normal}
  .snapshot-time>svg{display:block}
  .overview-main,.bottom-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .stat-top{font-size:13px}
  .stat-card{padding:17px}
  .stat-value{font-size:25px;white-space:normal;overflow-wrap:anywhere}
  .stat-meta{font-size:12px;white-space:normal}
  .section-heading{padding:18px;gap:10px;flex-wrap:wrap}
  .section-heading h2{font-size:16px}
  .section-heading p{font-size:12px;line-height:1.8}
  .section-heading .button,.section-heading .text-link{font-size:12px}
  .allocation-body{flex-direction:row;gap:28px;min-height:210px;padding:18px 25px}
  .donut{width:132px;height:132px;padding:16px}
  .donut strong{font-size:26px}
  .allocation-legend{min-width:0;max-width:180px;display:block}
  .allocation-legend>div{font-size:13px;gap:8px;flex-wrap:nowrap;margin-block:14px}
  .allocation-legend strong{font-size:13px}
  .allocation-legend small{font-size:12px}
  .panel-foot{font-size:12px;padding:12px 18px}
  .position-desktop{display:none}
  .position-cards{display:grid;gap:0;padding:0 18px}
  .position-card{padding:20px 0;border-top:1px solid #dde5d7;min-width:0}
  .position-card:first-child{border-top:0}
  .position-card+.position-card{border-top:4px solid #f0f4eb}
  .position-card .coin{width:33px;height:33px}
  .filter-row{padding:14px 18px;gap:12px;flex-wrap:wrap}
  .tabs{gap:2px;flex-wrap:wrap;width:100%}
  .tabs button{font-size:13px;min-height:44px;padding:10px 12px}
  .tabs button span{font-size:11px;margin-left:5px}
  .search-box{width:100%;min-height:46px}
  .search-box input{width:100%;font-size:16px;height:44px}
  .filter-row select{width:100%;font-size:16px}
  .summary-inline{gap:14px;font-size:12px;line-height:1.8}
  .summary-inline strong{font-size:14px}
  .summary-inline>span:nth-child(3){display:inline-flex}
  .quiet-state{margin:0 18px 18px;gap:12px}
  .quiet-state .text-link{display:none}
  .quiet-state strong{font-size:14px}
  .quiet-state p{font-size:12px}
  .next-card{padding:22px}
  .next-card h2{font-size:19px}
  .next-card p{font-size:13px}
  .next-link{font-size:13px}
  .three-stats{grid-template-columns:minmax(0,1fr)}
  .three-stats .stat-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;padding:18px}
  .three-stats .stat-top{font-size:13px;grid-column:1}
  .three-stats .stat-top>.stat-icon{display:none}
  .three-stats .stat-value{grid-column:2;grid-row:1/3;font-size:25px;margin:0;text-align:right}
  .three-stats .stat-meta{font-size:12px}
  .event-list{padding-inline:18px}
  .event-card{gap:12px;padding-block:20px}
  .event-card>.event-icon{width:32px;height:32px}
  .event-card h3{font-size:15px;line-height:1.8}
  .event-card p{font-size:12px}
  .event-card>.badge{font-size:11px;bottom:20px}
  .event-card .small.muted{font-size:12px;max-width:none;padding-bottom:25px;line-height:1.8}
  .event-meta{font-size:12px;gap:8px}
  .event-meta .badge{font-size:11px}
  .event-mini{gap:10px;margin-inline:18px;width:calc(100% - 36px)}
  .event-mini strong{font-size:14px;line-height:1.7}
  .event-mini small{font-size:12px}
  .principle-strip{padding:20px}
  .principle-strip strong{font-size:18px;line-height:1.8}
  .principle-strip p{font-size:13px;margin-left:0;line-height:1.85}
  .exposure-top h3{font-size:15px}
  .exposure-top small,.exposure-top>.badge{font-size:12px}
  .exposure-top{flex-wrap:wrap}
  .decision-toolbar{gap:12px;font-size:13px;align-items:stretch}
  .decision-toolbar label{font-size:13px;display:flex;flex-direction:column;align-items:stretch;gap:8px}
  .decision-toolbar select{min-width:0;width:100%;font-size:16px}
  .decision-toolbar>span,.decision-toolbar .push-right{font-size:12px;margin-left:0}
  .qualification-banner{font-size:13px}
  .qualification-banner p{font-size:13px}
  .candidate-grid{grid-template-columns:minmax(0,1fr)}
  .candidate{padding:22px}
  .candidate-metrics{font-size:13px}
  .candidate-top .eyebrow{font-size:12px}
  .candidate-note,.candidate-add p{font-size:13px}
  .review-type{padding:18px}
  .review-type p{font-size:13px}
  .source-card{padding:20px;gap:16px;align-items:flex-start}
  .source-identity{gap:12px;max-width:100%}
  .source-logo{width:42px;height:42px;flex-shrink:0}
  .source-identity h2{font-size:16px;line-height:1.7}
  .source-identity p,.source-identity .eyebrow{font-size:12px}
  .source-card>dl{width:100%;font-size:12px;display:block}
  .source-card dl>div{gap:12px}
  .source-card dl dd{max-width:64%}
  .source-card>.badge{margin-left:0}
  .integration-row{gap:12px;flex-wrap:wrap;align-items:flex-start}
  .integration-row>div{flex:1;min-width:150px}
  .integration-row>.badge{margin-left:44px;max-width:none}
  .integration-row h3{font-size:14px}
  .integration-row p,.gap-list p,.developer-note p{font-size:13px}
  .gap-list strong{font-size:14px}
  .developer-note{align-items:flex-start;gap:12px}
  .developer-note h3{font-size:15px}
  .developer-note>.button{margin-left:0;width:100%}
  .risk-table{padding:0 18px 8px}
  .risk-table-head{display:none}
  .risk-table-row{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding-block:20px}
  .risk-table-row strong{font-size:15px;grid-column:1;margin-bottom:0}
  .risk-table-row label{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,45%);gap:12px;align-items:center}
  .mobile-label{display:block;font-size:13px;white-space:normal;letter-spacing:0}
  .risk-table input{font-size:16px;padding:11px;min-width:0}
  .form-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  label,.drawer label{font-size:13px}
  input,select,textarea{font-size:16px;min-height:46px}
  .form-panel>.section-heading p,.form-panel>.notice{font-size:13px;line-height:1.85}
  .form-panel>.form-grid{padding-inline:18px}
  .policy-grid{grid-template-columns:minmax(0,1fr);padding-inline:18px;gap:10px}
  .policy-grid>div{font-size:13px;min-height:48px;padding:13px;line-height:1.8}
  .policy-grid svg{width:18px;height:18px;flex-shrink:0}
  .form-footer{flex-direction:column;align-items:stretch;gap:14px}
  .form-footer p{font-size:12px;align-items:flex-start;line-height:1.8}
  .form-footer p>svg{margin-top:3px}
  .form-footer .button{width:100%;min-height:48px}
  .modal-backdrop{padding:12px}
  .modal{width:100%;max-height:calc(100dvh - 24px)}
  .modal-header{padding:16px 18px}
  .modal-header h2{font-size:18px}
  .modal-header .eyebrow{font-size:12px}
  .modal-content{padding:22px 18px}
  .drawer{height:100dvh;max-height:100dvh;width:100%;padding-bottom:env(safe-area-inset-bottom)}
  .drawer .modal-content{padding:23px 20px}
  .detail-identity{gap:10px;flex-wrap:wrap;margin-bottom:25px}
  .detail-identity>.badge{margin-left:0;font-size:11px}
  .detail-identity>div{flex:1;min-width:150px}
  .detail-identity h2{font-size:18px}
  .detail-identity p{font-size:12px}
  .detail-price{font-size:13px;gap:12px;align-items:flex-start}
  .detail-price strong{font-size:27px;overflow-wrap:anywhere;min-width:0;text-align:right}
  .detail-list>div{font-size:13px;gap:12px}
  .detail-list dt{max-width:47%;flex-shrink:1}
  .detail-list dd{max-width:57%}
  .detail-bounds{font-size:12px}
  .event-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .event-facts span{font-size:12px}
  .event-facts strong{font-size:18px}
  .event-detail-title{font-size:21px}
  .body-copy,.evidence-list{font-size:13px;line-height:1.9}
  .report-paper{padding:25px 21px}
  .report-brand{font-size:20px}
  .report-brand>span{font-size:12px;margin-left:6px}
  .report-header{gap:12px;flex-wrap:wrap}
  .report-paper>h2{font-size:23px}
  .report-dateline{font-size:12px;line-height:1.8}
  .report-summary{font-size:12px;gap:12px;flex-wrap:wrap;padding:16px}
  .report-summary strong{font-size:15px}
  .report-body{font-size:13px;line-height:2.1}
  .report-footer{font-size:12px;line-height:1.8;flex-wrap:wrap}
  .report-footer span{max-width:none}
  .page-footer{font-size:11px;margin-top:24px;line-height:1.9;display:block}
  .page-footer span:last-child{display:none}
  #toast{font-size:13px;bottom:calc(90px + env(safe-area-inset-bottom));left:50%;max-width:calc(100vw - 32px);padding:13px 17px;line-height:1.8}
  .notification-layout{grid-template-columns:minmax(0,1fr);gap:0}
  .notification-panel{padding:20px 18px;margin-bottom:18px}
  .notification-panel h2{font-size:17px}
  .notification-panel input,.notification-panel select,.notification-panel textarea{font-size:16px}
  .notification-options{grid-template-columns:minmax(0,1fr);gap:0}
  .notification-option{padding-block:14px;min-height:48px}
  .notification-option small{font-size:12px}
  .notification-status{padding:15px;gap:10px;flex-wrap:wrap}
  .notification-status>div{flex:1;min-width:160px}
  .notification-status p{font-size:13px}
  .notification-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .notification-actions>.button{width:100%;min-height:46px}
  .notification-preview{font-size:13px;padding:16px}
  .notification-log>li,.notification-log>div{flex-wrap:wrap}
  .notification-log .badge{margin-left:0}
}
@media(max-width:360px){
  main{padding-inline:14px}
  .topbar{padding-inline:10px}
  .mobile-brand{font-size:15px}
  .breadcrumb>strong{display:none}
.topbar-actions .icon-button{min-width:44px;padding:10px}
  .data-banner{padding-inline:14px}
  .data-banner button{max-width:76px;font-size:11px}
  .connection-banner{padding-inline:14px}
  .page-heading h1{font-size:24px;line-height:1.6}
  .heading-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .heading-actions>.button{width:100%}
  .stats-grid{gap:9px}
  .stat-card{padding:14px 12px}
  .stat-top{font-size:12px;gap:5px;align-items:flex-start}
  .stat-icon{width:23px;height:23px;flex-shrink:0}
  .stat-value{font-size:23px;letter-spacing:-.8px}
  .stat-value small{font-size:12px}
  .stat-meta{font-size:12px;line-height:1.8}
  .allocation-body{gap:17px;padding-inline:18px;min-height:190px}
  .donut{width:112px;height:112px;padding:13px}
  .donut span{font-size:11px}
  .donut strong{font-size:23px}
  .donut strong small{font-size:10px}
  .allocation-legend>div,.allocation-legend strong{font-size:12px;gap:6px}
  .allocation-legend small{font-size:11px}
  .bar-chart{padding-inline:14px;height:229px}
  .bar-value{font-size:10px}
  .bar-slot{width:31px}
  .chart-bars{gap:6px}
  .chart-grid{font-size:10px;width:42px}
  .chart-caption{margin-inline:18px;font-size:11px;gap:5px}
  .chart-caption-right{margin-left:0;display:block;width:100%}
  .position-cards{padding-inline:15px}
  .position-card-heading{gap:7px;flex-wrap:wrap}
  .position-card-heading .position-link{flex:1;min-width:155px}
  .position-card-heading>.badge{font-size:10px;padding-inline:6px}
  .position-card-values{gap:13px 11px}
  .position-card-values dd{font-size:16px}
  .position-card-heading .position-link strong{font-size:14px}
  .position-card-heading .position-link small{font-size:11px}
  .filter-row{padding-inline:14px}
  .tabs button{padding-inline:9px;font-size:12px}
  .source-card{padding:18px}
  .source-card dl dd{max-width:58%}
  .risk-table-row label{grid-template-columns:minmax(0,1fr) 46%}
  .mobile-label{font-size:12px}
  .notification-panel{padding:18px 15px}
  .report-paper{padding:22px 17px}
}
/* Notification center: status first, preferences on the left, setup on the right. */
.qa-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 35px;background:#e8edf7;border-bottom:1px solid #d0daea;color:#445e85;font-size:12px;line-height:1.8}
.qa-banner>a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;white-space:nowrap;font-weight:600}
.loading-state{padding:48px 25px;display:flex;flex-direction:column;align-items:center;gap:14px;color:#53674c;text-align:center;font-size:13px}
.loading-state>svg{color:#4d7447}
.loading-state h3{font-size:16px;color:#35553b}
.loading-state p{font-size:13px;line-height:1.8;color:#607263;max-width:45ch}
.field-hint{font-size:12px;color:#607263;line-height:1.85;margin-top:10px;overflow-wrap:anywhere}
.notification-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}
.notification-status-grid .notification-status{padding:18px;display:flex;margin:0;gap:12px;min-height:130px;align-items:flex-start;background:#fff;border-color:var(--line);flex-wrap:wrap}
.notification-status-grid .notification-status>div{flex:1;min-width:130px}
.notification-status-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:10px;background:#edf4e6;color:#4f7544}
.notification-status p{font-size:12px;color:#607263;margin:0 0 5px}
.notification-status strong{font-size:17px;color:#35553b;font-weight:600;margin:0 0 5px}
.notification-status small{display:block;font-size:12px;line-height:1.8;color:#607263}
.notification-status>.badge{font-size:11px;margin-top:4px}
.notification-panel{padding:0}
.notification-panel>.section-heading{padding:22px 23px 18px}
.notification-form-body{padding:0 23px 23px}
.notification-form-body>.form-grid{margin-block:20px 0}
.toggle-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;min-height:76px;cursor:pointer;border-bottom:1px solid var(--line)}
.toggle-row>span{min-width:0}
.toggle-row strong{font-size:14px;color:#3f5d43;font-weight:600}
.toggle-row small{display:block;font-size:12px;line-height:1.85;color:#607263;margin-top:5px}
.notification-panel .toggle-row>input[role=switch]{appearance:none;-webkit-appearance:none;position:relative;width:44px;height:26px;min-height:26px;min-width:44px;flex-shrink:0;background:#c1cdbb;border:1px solid #b3c2ac;border-radius:20px;padding:0;margin:0;cursor:pointer}
.notification-panel .toggle-row>input[role=switch]::before{content:'';width:18px;height:18px;position:absolute;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #18332230;transition:transform .15s}
.notification-panel .toggle-row>input[role=switch]:checked{background:#366c49;border-color:#366c49}
.notification-panel .toggle-row>input[role=switch]:checked::before{transform:translateX(18px)}
.notification-section-label{font-size:14px;color:#3f5d43;margin:24px 0 3px;font-weight:600}
.notification-options{grid-template-columns:minmax(0,1fr);gap:0;margin:0}
.notification-option{border-bottom:1px solid #e8ede3;padding:15px 0;min-height:72px;gap:12px}
.notification-option strong{font-size:13px;font-weight:600;color:#3f5d43}
.notification-privacy{gap:8px}
.checkbox-line{min-height:44px;display:flex;flex-direction:row;align-items:center;gap:10px;font-size:13px;color:#3f5d43;cursor:pointer}
.checkbox-line input{margin:0;flex-shrink:0}
.notification-quiet{background:#f8faf5;border:1px solid #dde6d5;border-radius:9px;padding:0 16px 16px;margin:22px 0}
.notification-quiet .toggle-row{border:0;padding-bottom:5px}
.notification-quiet .form-grid{margin-block:13px 0}
.notification-aside{display:flex;flex-direction:column;gap:20px;min-width:0}
.notification-aside>.panel{margin:0}
.setup-steps{list-style:none;margin:0;padding:0 23px 8px}
.setup-steps>li{display:flex;align-items:flex-start;gap:12px;padding:12px 0 16px}
.setup-steps>li>span{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border-radius:50%;background:#edf4e5;border:1px solid #d5e2c7;color:#4a6c3d;font-size:12px}
.setup-steps>li>div{min-width:0}
.setup-steps strong{font-size:13px;font-weight:600;color:#3f5d43;line-height:1.9}
.setup-steps p{font-size:12px;line-height:1.85;color:#607263;margin-top:5px;overflow-wrap:anywhere}
.credential-checks{display:flex;flex-wrap:wrap;gap:10px 18px;padding:15px 23px;background:#f8faf5;border-top:1px solid var(--line);font-size:12px;color:#607263}
.credential-checks>span{display:flex;align-items:center;gap:6px}
.notification-aside .notification-actions{display:block;margin:0;padding:0}
.notification-actions>.section-heading{padding:20px 23px 15px}
.preview-choice{display:flex;align-items:center;gap:12px;min-height:81px;width:calc(100% - 46px);margin:0 23px;padding:14px 0;text-align:left;border-top:1px solid var(--line);color:#4f7544}
.preview-choice>span{flex:1;min-width:0}
.preview-choice strong{font-size:14px;font-weight:550;color:#3f5d43;display:block}
.preview-choice small{font-size:12px;color:#607263;display:block;margin-top:5px;line-height:1.8}
.preview-choice:hover{color:#2d5b3e}
.notification-actions>.field-hint{margin:0;padding:2px 23px 22px}
.notification-log{padding:0}
.notification-log>.section-heading{padding:20px 23px 16px;border:0;display:flex;gap:12px;font-size:inherit}
.notification-log>.table-scroll{padding:0;display:block;border:0}
.notification-log table{font-size:12px;white-space:normal;line-height:1.8;min-width:600px}
.notification-log th{font-size:12px;color:#607263;font-weight:500}
.notification-log td{font-size:12px;overflow-wrap:anywhere;vertical-align:top}
.notification-log th:first-child{min-width:140px}
.notification-log td:nth-child(2){min-width:90px}
.notification-log td:nth-child(3){min-width:125px}
.notification-log td:last-child{min-width:210px}
.notification-log .empty-state{min-width:0}
.notification-preview-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#607263;line-height:1.9}
.notification-preview-meta>span{overflow-wrap:anywhere;min-width:0}
.notification-preview-title{font-size:17px;line-height:1.85;color:#35553b;margin:18px 0 12px;overflow-wrap:anywhere}
.notification-message{background:#f4f7ee;border:1px solid #dce5d2;border-left:4px solid #56804a;border-radius:7px;font:inherit;font-size:13px;line-height:2;color:#3f5d43;padding:18px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow-y:auto;margin:0 0 20px}
.notification-confirm{display:flex;flex-direction:row;align-items:flex-start;gap:12px;min-height:60px;padding:18px 0 4px;font-size:13px;line-height:1.9;color:#3f5d43;cursor:pointer}
.notification-confirm>input{margin:3px 0 0;flex-shrink:0}
.notification-confirm>span{min-width:0}
#notification-send-form{margin-top:10px}
@media(max-width:1180px){.notification-status-grid{grid-template-columns:minmax(0,1fr);gap:12px}.notification-status-grid .notification-status{min-height:100px}.notification-status-grid .notification-status>div{min-width:0}}
@media(max-width:780px){
  .qa-banner{padding:12px 20px;display:block;font-size:12px}
  .qa-banner>a{display:flex;width:max-content;margin-top:3px}
  .notification-status-grid{gap:12px;margin-bottom:18px}
  .notification-status-grid .notification-status{min-height:98px;padding:18px;flex-wrap:nowrap}
  .notification-status-grid .notification-status>div{min-width:0}
  .notification-status strong{font-size:17px}
  .notification-status p,.notification-status small{font-size:12px}
  .notification-status-grid .notification-status>.badge{max-width:68px;font-size:11px}
  .notification-panel{padding:0}
  .notification-panel>.section-heading{padding:20px 18px 14px}
  .notification-form-body{padding:0 18px 20px}
  .notification-form-body>.form-grid{margin-block:18px 0}
  .notification-form-body .form-grid{grid-template-columns:minmax(0,1fr)}
  .notification-quiet{padding-inline:14px}
  .notification-quiet .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .notification-quiet input[type=time]{padding-inline:8px}
  .toggle-row{gap:14px;min-height:82px}
  .toggle-row strong{font-size:14px}
  .toggle-row small{font-size:12px}
  .notification-section-label{font-size:14px;line-height:1.8}
  .notification-option{min-height:72px;gap:12px;padding-block:16px}
  .notification-option strong{font-size:14px}
  .notification-option small{font-size:12px}
  .notification-form-body>.button{min-height:48px}
  .notification-aside{gap:18px}
  .setup-steps{padding:0 18px 6px}
  .setup-steps strong{font-size:14px}
  .setup-steps p{font-size:13px}
  .credential-checks{padding:15px 18px;gap:10px;font-size:12px}
  .notification-actions>.section-heading{padding:20px 18px 14px}
  .preview-choice{width:calc(100% - 36px);margin-inline:18px;min-height:86px}
  .preview-choice strong{font-size:14px}
  .preview-choice small{font-size:12px}
  .notification-actions>.field-hint{padding-inline:18px}
  .notification-log>.section-heading{padding-inline:18px;flex-wrap:wrap}
  .notification-log table{min-width:575px}
  .notification-message{font-size:13px;padding:16px;max-height:38dvh}
  .notification-preview-title{font-size:17px}
  .notification-preview-meta{font-size:12px;gap:9px}
  .notification-confirm{font-size:13px;line-height:1.9}
  .notification-message+.notice,.notification-message~.notice{font-size:12px}
  #notification-send-form{gap:16px}
}
@media(max-width:360px){.qa-banner{padding-inline:14px}.notification-status-grid .notification-status{padding:15px 14px;gap:9px}.notification-status-icon{width:32px;height:32px;border-radius:8px}.notification-status-grid .notification-status>.badge{max-width:56px;font-size:10px;padding-inline:6px}.notification-quiet .form-grid{grid-template-columns:minmax(0,1fr)}.notification-form-body{padding-inline:15px}.notification-panel>.section-heading{padding-inline:15px}.notification-log>.section-heading{padding-inline:15px}}
/* Keep focus and form actions clear when space is limited or the keyboard opens. */
html{scroll-padding-block:24px 28px}
input,select,textarea{scroll-margin-block:100px 96px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #28634b;outline-offset:2px}
.table-scroll,.notification-message{overscroll-behavior:contain}
.modal{overscroll-behavior:contain;scroll-padding-block:96px 24px}
.modal-header{gap:14px}
.modal-header>div{min-width:0}
.modal-header h2{overflow-wrap:anywhere}
.modal-header>.icon-button{flex-shrink:0}
.modal-content{min-width:0;overflow-wrap:anywhere}
.modal-content input,.modal-content select,.modal-content textarea{max-width:100%}
.draft-status{padding:11px 14px;margin:0;border-left:3px solid #ae8128;background:#fff8e9;color:#79551a;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.confirmation-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.confirmation-actions>.button{min-width:120px}
.button.danger{background:#9b4133;border-color:#9b4133;color:#fff}
.button.danger:hover:not(:disabled){background:#7d3228;border-color:#7d3228}
.nav-close{display:none}
@media(max-width:780px){
  html{scroll-padding-block:80px calc(100px + env(safe-area-inset-bottom))}
  body.nav-open{overflow:hidden}
  .sidebar .brand{padding-right:36px}
  .sidebar .nav-close{display:inline-flex;position:absolute;top:20px;right:8px;color:#d1dfc9}
  .sidebar .nav-close:hover{background:#294333}
  .modal-backdrop{padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .modal{max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))}
  .drawer{max-height:100dvh}
  .modal-content{padding-bottom:max(24px,env(safe-area-inset-bottom))}
  .modal-content .confirmation-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .modal-content .confirmation-actions>.button{width:100%}
  .draft-status{font-size:13px}
}
@media(max-width:780px) and (max-height:500px){
  .modal-header{padding-block:10px}
  .modal-header .eyebrow{display:none}
  .modal-header h2{font-size:17px}
  .modal-content{padding-top:16px}
  .modal{scroll-padding-top:76px}
}
@media(forced-colors:active){
  button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid Highlight}
  .draft-status{border:1px solid CanvasText}
}
/* Keep the last safe action within reach, with its save state beside it. */
[data-sticky-form]{position:relative;min-width:0}
.notification-panel[data-sticky-form]{overflow:visible}
.form-action-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;background:#f5f6f3;border-top:1px solid #d7e1d1;min-width:0}
.form-save-state{font-size:12px;line-height:1.8;color:#53674c;min-width:0;overflow-wrap:anywhere}
.form-save-state[data-dirty=true]{color:#79551a;font-weight:550}
.form-actions-buttons{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex-shrink:0}
.form-actions-buttons>.button{width:auto;min-height:44px;margin:0}
.form-actions-buttons>.primary{min-width:160px}
.form-actions-buttons>.draft-discard{color:#53674c;background:#fff;border-color:#d7e1d1}
.form-actions-buttons>.draft-discard:hover:not(:disabled){background:#edf2e8}
.notification-panel>.form-action-bar{padding-inline:23px;border-radius:0 0 12px 12px;background:#fff}
.notification-panel>.draft-status{margin-inline:23px;margin-bottom:16px}
.modal-content .form-action-bar{position:sticky;bottom:0;z-index:3;padding-block:14px;background:#fff;box-shadow:0 -8px 12px #fff}
.modal-content .form-actions-buttons{flex:1}
.modal-content .form-actions-buttons>.primary{flex:1}
.modal-content .form-save-state{max-width:42%}
.draft-discard-confirm{padding:16px;background:#fff8e9;border:1px solid #e5d1a7;border-radius:8px;display:flex;flex-direction:column;gap:12px;color:#6f501f;line-height:1.9;font-size:13px;scroll-margin-block:100px 180px}
.draft-discard-confirm h3,.draft-discard-confirm strong{color:#6f501f;font-size:14px}
.draft-discard-confirm p{font-size:13px;overflow-wrap:anywhere}
.draft-discard-confirm .confirmation-actions{gap:8px}
.draft-discard-confirm .confirmation-actions>.button{min-width:0;min-height:44px}
.draft-discard-confirm[hidden],.form-action-bar[hidden],.form-save-state[hidden]{display:none}
.notification-panel>.draft-discard-confirm{margin:0 23px 16px}
.field-error{display:block;font-size:12px;line-height:1.8;color:#9b4133;overflow-wrap:anywhere;margin-top:1px;font-weight:400}
.field-error:empty{display:none}
.risk-table-row .field-error{grid-column:1/-1}
input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:#b34e3e;background-color:#fff9f6}
input[aria-invalid=true]:focus-visible,select[aria-invalid=true]:focus-visible,textarea[aria-invalid=true]:focus-visible{outline-color:#9b4133}
.form-error:not(:empty){padding:11px 14px;background:#fff4ee;border-left:3px solid #b34e3e;border-radius:0 5px 5px 0}
.undo-notice{position:fixed;z-index:80;bottom:96px;left:calc(50% + 112px);transform:translateX(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100vw - 280px);width:max-content;box-shadow:0 8px 30px #16362220;border:1px solid #c6d4bd;border-radius:9px;padding:12px 14px;background:#fff;color:#35553b;font-size:13px;line-height:1.8}
.undo-notice>p,.undo-notice>span{min-width:0;overflow-wrap:anywhere}
.undo-notice [data-action=undo-candidate-removal]{min-height:44px;flex-shrink:0;font-weight:600;color:#28634b;text-decoration:underline;text-underline-offset:3px;padding:8px}
.undo-notice [data-action=dismiss-undo]{min-width:44px;min-height:44px;flex-shrink:0;border-radius:6px}
.undo-notice[hidden],#undo-notice[hidden],.modal-open .undo-notice{display:none}
.nav-open .undo-notice{display:none}
.undo-notice small{display:block;font-size:12px;color:#607263}
/* Age is context about a snapshot, never an assertion about trading safety. */
.freshness-note{display:flex;flex-direction:column;gap:5px;margin-block:14px 18px;padding:13px 15px;background:#f2f5ed;border:1px solid #dce4d6;border-radius:7px;color:#53674c;font-size:12px;line-height:1.9;overflow-wrap:anywhere;min-width:0}
.freshness-label{font-size:13px;font-weight:600;color:#435f43}
.freshness-detail{font-size:12px;color:#607263;overflow-wrap:anywhere}
.freshness-issues{font-size:12px;color:#825e21;line-height:1.9;overflow-wrap:anywhere}
.freshness-issues:empty{display:none}
.freshness-inline{font-size:12px;line-height:1.9;overflow-wrap:anywhere;white-space:normal}
.freshness-pending{color:#825e21}
.data-banner .freshness-inline{display:block;margin-top:4px}
.data-banner .freshness-inline .badge{margin-right:6px;vertical-align:baseline;white-space:normal}
@media(max-width:1180px){.undo-notice{left:50%;max-width:calc(100vw - 40px)}}
@media(max-width:780px){
  html{scroll-padding-bottom:calc(220px + env(safe-area-inset-bottom))}
  input,select,textarea{scroll-margin-bottom:180px}
  [data-sticky-form]>.form-action-bar{position:sticky;bottom:calc(72px + env(safe-area-inset-bottom));z-index:32;display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-top:12px;padding:10px 12px 12px;border:1px solid #d1ddc9;border-radius:9px;background:#fff;box-shadow:0 -5px 18px #1733220b}
  .form-save-state{font-size:12px;min-height:22px;line-height:1.8}
  .form-actions-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;width:100%}
  .form-actions-buttons>.button,.form-actions-buttons>.primary{width:100%;min-width:0;min-height:46px;padding:11px 9px;font-size:13px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
  .notification-panel>.form-action-bar{margin:12px 12px 0}
  .notification-panel>.draft-status{margin-inline:18px}
  .notification-panel>.draft-discard-confirm{margin-inline:18px}
  .modal{scroll-padding-bottom:160px}
  .modal-content [data-sticky-form]>.form-action-bar{bottom:0;z-index:3;margin-top:0;gap:7px}
  .modal-content .form-save-state{max-width:none}
  .modal-content .form-actions-buttons{display:grid;flex:initial}
  .modal-content .form-actions-buttons>.primary{flex:initial}
  .draft-discard-confirm{padding:14px;gap:10px}
  .draft-discard-confirm .confirmation-actions{display:flex;flex-wrap:wrap}
  .draft-discard-confirm .confirmation-actions>.button{flex:1;min-width:100px;width:auto;font-size:13px;padding-inline:10px}
  .field-error{font-size:13px}
  .undo-notice{bottom:calc(158px + env(safe-area-inset-bottom));left:50%;max-width:calc(100vw - 28px);gap:7px;padding:10px 12px;font-size:13px;align-items:center}
  .undo-notice [data-action=undo-candidate-removal]{padding-inline:6px}
  body.keyboard-open .mobile-nav{display:none}
  body.keyboard-open .modal-backdrop{inset:var(--visible-viewport-top,0px) 0 auto;height:var(--visible-viewport-height,100dvh)}
  body.keyboard-open .modal{max-height:calc(var(--visible-viewport-height,100dvh) - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))}
  body.keyboard-open .drawer{height:var(--visible-viewport-height,100dvh);max-height:var(--visible-viewport-height,100dvh)}
  body.keyboard-open [data-sticky-form]>.form-action-bar{bottom:var(--keyboard-inset,0px)}
  body.keyboard-open .modal-content [data-sticky-form]>.form-action-bar{bottom:0}
  body.keyboard-open .undo-notice{bottom:calc(var(--keyboard-inset,0px) + 90px)}
  body.keyboard-open #toast{bottom:calc(var(--keyboard-inset,0px) + 20px)}
  .freshness-note{margin-block:12px 16px;padding:12px 14px}
  .freshness-label,.freshness-detail,.freshness-issues{font-size:12px}
  .freshness-inline{line-height:1.9}
}
@media(max-width:780px) and (max-height:500px){
  [data-sticky-form]>.form-action-bar{padding-block:7px;gap:3px}
  .form-actions-buttons>.button{min-height:44px;padding-block:8px}
  .modal-content .form-action-bar{padding-block:7px}
  .modal-content form{gap:15px}
}
@media(max-width:360px){
  [data-sticky-form]>.form-action-bar{padding-inline:9px}
  .form-actions-buttons{gap:6px}
  .form-actions-buttons>.button{padding-inline:7px;font-size:12px}
  .notification-panel>.draft-status,.notification-panel>.draft-discard-confirm{margin-inline:15px}
  .undo-notice{padding-inline:10px;gap:4px}
}
@media(forced-colors:active){
  .form-action-bar,.freshness-note,.undo-notice,.draft-discard-confirm{border:1px solid CanvasText}
  input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border:2px solid Mark}
  .field-error{color:MarkText}
}
@media print{.sidebar,.topbar,.data-banner,.connection-banner,.page-heading,.page-footer,.report-aside,.mobile-nav{display:none}
.form-action-bar,.draft-discard-confirm,.draft-status,.undo-notice,#undo-notice,#toast{display:none!important}
.workspace{margin:0;width:100%}
main{padding:0}
.report-layout{display:block}
.report-paper{border:0;box-shadow:none;padding:0}
.report-body{font-size:12px;color:#111}
.report-paper h2{color:#111}
}
