/* Approved pale-blue surfaces: opaque cards, restrained decoration, real data. */
body.record-sea,body.evidence-sea{background:#edf6ff;color:#08184f}
body.record-sea .top,body.evidence-sea .top{position:relative!important;inset:auto!important;height:76px!important;padding:12px max(4vw,20px)!important;margin:0!important;display:flex;align-items:center;background:#f7fbff;pointer-events:auto}
body.record-sea .top .brand,body.evidence-sea .top .brand{position:static!important;font-size:30px!important;color:#07164f!important;text-shadow:none!important;flex:none}
.vali-wordmark{display:inline-flex;align-items:center;gap:1px;color:#08184f;text-decoration:none;font-weight:800;letter-spacing:-.045em;line-height:1}
.vali-wordmark img{width:auto;height:1.1em;object-fit:contain;display:block}.vali-wordmark>span{display:inline-block}
body.record-sea .top .nav,body.evidence-sea .top .nav{position:absolute!important;left:50%!important;right:auto!important;top:12px!important;transform:translateX(-50%)!important;width:620px;max-width:calc(100% - 430px);height:52px!important;margin:0!important;background:#eef6ff!important;backdrop-filter:none;border:1px solid #fff!important;box-shadow:0 3px 15px #70a2dc15}
body.record-sea .top .nav button,body.evidence-sea .top .nav button{color:#09194e!important;gap:8px;font-size:14px!important}
body.record-sea .top .nav button.active,body.evidence-sea .top .nav button.active{background:#0757fb!important;color:white!important;box-shadow:0 4px 12px #0055f625}
.app-avatar{width:42px;height:42px;margin-left:auto;border:0;border-radius:50%;background:#e4efff;color:#0757fb;display:grid;place-items:center}.app-avatar svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}.top:has(~#app) .app-avatar{flex:none}
body:has(.app-signin:not([hidden])) .app-avatar{visibility:hidden}
.calculate-stage{background:linear-gradient(125deg,#dfedff,#eef7ff 58%,#e1f0ff)!important;padding:20px max(4vw,20px) 38px;min-height:calc(100svh - 76px);font-family:Inter,system-ui,sans-serif}
.calculate-stage .evidence-heading{max-width:1440px;text-shadow:none;margin:0 auto 20px}.calculate-stage .evidence-heading small{font-size:14px;color:#526994}.calculate-stage .evidence-heading h1{font-size:42px;margin:6px 0}.calculate-stage .evidence-heading p{font-size:18px;color:#526994;max-width:none;margin:0}
.calculate-scenery{position:static;display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1440px;height:auto;margin:0 auto 18px}
.calculate-panel{background:#fff;backdrop-filter:none;border:1px solid #fff;border-radius:20px;padding:20px;box-shadow:0 5px 16px #5d8ed915;color:#09194e;min-width:0}
.calculate-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}.calculate-panel h2{font-size:21px;font-weight:750;margin:0}.calculate-panel h2>span{font-size:15px;color:#7a8bb7;margin-left:4px}.calculate-panel header>button{border:0;background:none;color:#0757fb;white-space:nowrap;font-size:13px}
.calculate-range{position:relative;font-size:11px;color:#465d96;flex:none}.calculate-range summary{cursor:pointer;padding:8px 10px;background:#f7faff;border:1px solid #deebff;border-radius:20px;list-style:none}.calculate-range summary::-webkit-details-marker{display:none}.calculate-range>div{position:absolute;right:0;top:40px;width:265px;z-index:10;background:white;padding:16px;border-radius:14px;border:1px solid #d7e5f5;box-shadow:0 12px 30px #34569133}.calculate-range input{font-size:14px;margin-bottom:10px}.calculate-range label{font-size:12px}.calculate-range button,.calculate-empty button{padding:8px 13px;border:0;border-radius:20px;background:#0757fb;color:white;font:600 13px system-ui;margin-right:5px}.calculate-range [data-calculate-range-reset]{background:#edf5ff;color:#25468f}.calculate-range p{font-size:12px;margin:8px 0 0;color:#a33a4d}
.calculate-trend-chart{display:block;width:100%;height:240px;overflow:visible}.calculate-trend-chart text{fill:#526994;font:12px system-ui}.calculate-legend{display:flex;gap:25px;font-size:12px;color:#50618e;margin-left:28px}.calculate-legend span{display:flex;align-items:center;gap:8px}.calculate-legend i{width:11px;height:11px;background:#0bb66f;border-radius:50%}.calculate-legend span+span i{background:#fb5663}
.calculate-empty{min-height:240px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#647a9e;padding:20px}.calculate-empty>span{font-size:40px;color:#78a9e8}.calculate-empty p{max-width:265px;font-size:15px;line-height:1.6}.calculate-empty button{margin:0}
.calculate-ledger-scroll{overflow-x:auto;border:1px solid #e4eefb;border-radius:12px}.calculate-ledger-panel table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.calculate-ledger-panel .calculate-ledger-row{display:table-row;font-size:12px;padding:0;border:0}.calculate-ledger-panel th,.calculate-ledger-panel td{padding:13px 12px;text-align:left;border-bottom:1px solid #e8eff9;border-right:1px solid #e8eff9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calculate-ledger-panel th{background:#edf4ff;font-weight:650}.calculate-ledger-panel th:nth-child(1){width:70px}.calculate-ledger-panel th:nth-child(2){width:85px}.calculate-ledger-panel th:nth-child(4){width:103px}.calculate-ledger-panel tr:last-child td{border-bottom:0}.calculate-ledger-panel td:last-child{font-weight:600}.calculate-category{display:inline-block;border-radius:16px;padding:3px 10px;background:#dff8ee;color:#078c57}.calculate-category.cost{background:#ffe9ed;color:#df334b}.calculate-no-records{height:260px;text-align:center!important;color:#7588a5}
.calculate-stage .evidence-stations{max-width:1440px;margin:0 auto;gap:18px}.calculate-stage .evidence-station{position:relative;overflow:hidden;background:#fff;backdrop-filter:none;border-radius:20px;padding:20px 22px;min-height:134px;box-shadow:0 5px 16px #5d8ed915;border:1px solid white;gap:20px}.calculate-stage .evidence-station>svg{width:68px;height:68px;padding:15px;background:#f0f7ff;border:1px solid #cde5ff;color:#0757fb}.calculate-stage .evidence-station:last-child>svg{color:#00a5b8;background:#effdff;border-color:#bcecf2}.calculate-stage .evidence-station:after{content:'▥';position:absolute;right:28px;bottom:-30px;font-size:150px;color:#d6e8fc;opacity:.25;line-height:1;pointer-events:none}.calculate-stage .evidence-station:last-child:after{content:'▤'}.calculate-stage .evidence-station>span{position:relative;z-index:1}.calculate-stage .evidence-station strong{font-size:23px}.calculate-stage .evidence-station small{font-size:13px;color:#526994;margin:4px 0 12px}.calculate-stage .evidence-station em{font-size:13px;background:#0757fb;padding:9px 25px}.calculate-stage .evidence-station:last-child em{background:#00a9bd}
.calculate-overview{max-width:1440px;margin:18px auto 0;background:white;backdrop-filter:none;border-radius:20px;padding:18px 20px}.calculate-overview>header{margin-bottom:16px}.calculate-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0}.calculate-card{display:flex;flex-direction:row;gap:14px;align-items:center;text-align:left;min-width:0;padding:0 16px;background:white;border:0;border-right:1px solid #d9e5f7;border-radius:0;box-shadow:none;color:#09194e;font:inherit}.calculate-card:first-child{padding-left:0}.calculate-card:last-child{border:0}.calculate-card>i{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:50%;background:#e5f9f2;color:#00a887;font:36px system-ui}.calculate-card>span{display:flex;flex-direction:column;gap:5px;min-width:0}.calculate-card-label{font-size:12px;font-weight:500;white-space:nowrap}.calculate-card strong{font-size:27px;white-space:nowrap;color:#06955a}.calculate-card small{font-size:10px;color:#8190ad}.calculate-card.cost strong,.calculate-card.cost>i{color:#f03245}.calculate-card.cost>i{background:#fff0f3}.calculate-card.hidden-gain strong,.calculate-card.hidden-gain>i{color:#0757fb}.calculate-card.hidden-gain>i{background:#e9f2ff}.calculate-card.hidden-cost strong,.calculate-card.hidden-cost>i{color:#fa721c}.calculate-card.hidden-cost>i{background:#fff3e9}.calculate-card.ledger strong,.calculate-card.ledger>i{color:#6a19eb}.calculate-card.ledger>i{background:#eee6ff}.calculate-card:hover{transform:none;background:#f7fbff}.calculate-card:focus-visible{outline:3px solid #0757fb;outline-offset:4px}
@media(max-width:1200px){.calculate-panel h2{font-size:18px}.calculate-range{font-size:10px}.calculate-card{padding:0 8px;gap:8px}.calculate-card>i{width:38px;height:38px;font-size:27px}.calculate-card strong{font-size:22px}.calculate-card-label{font-size:11px}}
@media(max-width:760px){
 body.record-sea .app-signin,body.evidence-sea .app-signin{top:11px;right:16px;min-height:42px;padding:7px 12px}
 body.record-sea .app-signin.app-signup,body.evidence-sea .app-signin.app-signup{right:100px}
 body.record-sea .top,body.evidence-sea .top{height:66px!important;padding:12px 18px!important}body.record-sea .top .brand,body.evidence-sea .top .brand{font-size:27px!important}
 body.record-sea:not(.reaction-active) .top .nav,body.evidence-sea .top .nav{position:fixed!important;inset:auto 0 0!important;transform:none!important;width:100%!important;max-width:none!important;height:66px!important;border-radius:0!important;margin:0!important;padding:5px 5px max(5px,env(safe-area-inset-bottom))!important;background:#fff!important;box-shadow:0 -3px 20px #325ca516;border:0!important;border-top:1px solid #dce7f8!important;z-index:45}
 body.record-sea .top .nav button,body.evidence-sea .top .nav button{font-size:10px!important;gap:4px;flex-direction:column!important;padding:6px 2px!important;border-radius:12px!important}.top .nav .account-nav-icon{display:block!important;width:20px!important;height:20px!important}
 .calculate-stage{padding:20px 16px 92px;min-height:calc(100svh - 66px)}.calculate-stage .evidence-heading h1{font-size:33px}.calculate-stage .evidence-heading small{font-size:12px}.calculate-stage .evidence-heading p{font-size:14px;line-height:1.6;max-width:310px}.calculate-scenery{grid-template-columns:1fr;gap:16px}.calculate-panel{padding:16px;border-radius:18px}.calculate-panel h2{font-size:18px}.calculate-trend-panel>header{flex-wrap:wrap;gap:12px}.calculate-range{font-size:10px;width:100%}.calculate-range summary{width:max-content;max-width:100%}.calculate-range>div{left:0;right:auto;max-width:calc(100vw - 65px)}.calculate-trend-chart{height:auto;min-height:185px}.calculate-legend{font-size:10px;margin:0;gap:20px}.calculate-ledger-panel th,.calculate-ledger-panel td{padding:12px 7px;font-size:10px}.calculate-ledger-panel th:nth-child(1){width:54px}.calculate-ledger-panel th:nth-child(2){width:62px}.calculate-ledger-panel th:nth-child(4){width:74px}.calculate-category{padding:3px 7px}.calculate-no-records{height:160px}.calculate-stage .evidence-stations{grid-template-columns:1fr;gap:16px}.calculate-stage .evidence-station{padding:18px;min-height:130px;gap:16px}.calculate-stage .evidence-station>svg{width:54px;height:54px;padding:11px}.calculate-stage .evidence-station strong{font-size:21px}.calculate-stage .evidence-station small{font-size:11px}.calculate-stage .evidence-station em{font-size:12px;padding:8px 20px}.calculate-cards{grid-template-columns:1fr 1fr;gap:18px 8px}.calculate-card,.calculate-card:first-child{border:0;padding:0;gap:10px}.calculate-card>i{width:40px;height:40px;font-size:28px}.calculate-card strong{font-size:23px}.calculate-card-label{font-size:11px}.calculate-card:last-child{grid-column:1/-1}.calculate-overview h2{font-size:17px}.app-avatar{width:36px;height:36px}
}
