/* SIGNATURE 30. Generated background is decorative; all figures stay in live UI. */
:root{--signature-background:url('/web/quant-core-v30.webp');--bg:#080e18;--line:#324a60;--gold:#d4be91;--mint:#a3d9e4}
body{background:#080e18}main{background:linear-gradient(100deg,#0b1421f5,#0b1421ec),var(--signature-background) right top/1400px auto no-repeat,#080e18}
body:not(.login):not(:has(.admin-main))>aside{background:linear-gradient(155deg,#1b2c4180,#101c2dbf),#0b1423;border-right:1px solid #5c789244;box-shadow:10px 0 35px #0002}.brand b,.brand>span{color:#f1eadc}.brand small{color:#8ba6c2!important;letter-spacing:.14em}
.brand{position:relative}.brand:after{content:'';position:absolute;bottom:-1px;left:22px;width:44px;height:1px;background:#d4be91}
.top,main>header{background:linear-gradient(105deg,#17273aeb,#101f32eb);border-bottom-color:#53718b55;box-shadow:0 6px 24px #0002;backdrop-filter:blur(18px)}
.heading,.headline:has(#title){min-height:182px;border-radius:16px;background:linear-gradient(90deg,#0b192b77,#09132216),var(--signature-background) center 54%/cover no-repeat;border:1px solid #6e8a9b65;box-shadow:inset 0 1px #b0cbd218,0 16px 40px #0003;padding:30px 32px}
.heading:before,.heading:after,.headline:has(#title):before,.headline:has(#title):after{display:none}
.heading h1,.headline:has(#title) h1{font-size:36px;font-weight:550;letter-spacing:.07em;color:#f3f7fc;text-shadow:0 2px 25px #0009}.heading .eyebrow,.headline:has(#title) .eyebrow{color:#d8c498!important;letter-spacing:.22em}.heading p{color:#b8cbdf}.heading .btn{background:#132e43dc;border-color:#94b2c17a;color:#e0f1fb;backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff0e}
.panel,.card,.hero,.kpi,.factor-card,.review-task,.watch-card,.priority-grid article,.indicator-card{background:linear-gradient(140deg,#20334b88,#122135ef),#101d30;border:1px solid #59788f50;border-radius:12px;box-shadow:inset 0 1px #d8eaf812,0 10px 30px #0002}.panelhead{background:linear-gradient(90deg,#91b9d10b,transparent);border-bottom-color:#5b7c9350}.panelhead h2:before{background:#d3c096;box-shadow:0 0 12px #c3a86e24}.panelhead small{color:#879fb6}
nav button.active,#nav button.active{background:linear-gradient(110deg,#6e665b25,#26445980);border-color:#a8ae9c77;color:#fff0d3;box-shadow:inset 3px 0 #d4be91,0 5px 20px #0003}.module-icon{color:#9bb9cc}#nav button.active .module-icon{color:#dfcda6}.sidefoot,.aside-foot{color:#8a9fb7}
.btn,button.quiet,.tabs button,.top .btn,.admin-main button:not(.quiet){border:1px solid #698b9e72;background:linear-gradient(160deg,#2b4358,#182c42);color:#d2e5f2;box-shadow:inset 0 1px #d5eefa18,0 4px 10px #0003;border-radius:8px;min-height:42px;font-weight:550;padding:10px 16px;letter-spacing:.02em}
.btn:hover,button.quiet:hover,.top .btn:hover,.admin-main button:hover{border-color:#a2c7d4;background:linear-gradient(150deg,#38596d,#274259);color:#f1fcff;box-shadow:0 7px 20px #0004,inset 0 1px #daf9ff22}
.btn.primary,body:has(.aside-foot) button:not(.quiet):not([data-page]):not(.active){background:linear-gradient(130deg,#b8e2e7,#82bbca);border-color:#d4eef1;color:#123446;font-weight:650;box-shadow:0 6px 20px #82bec720,inset 0 1px #fff8}.btn.primary:hover{background:linear-gradient(130deg,#d0eef0,#99d0dc)}
input,select,textarea{background:linear-gradient(#0d1b2c,#102035);border-color:#526e886b;border-radius:8px;box-shadow:inset 0 2px 7px #0003;color:#d9e7f5}input:focus,select:focus,textarea:focus{border-color:#9ac8d8;box-shadow:0 0 0 3px #88c3d415,inset 0 2px 4px #0002}.search{background:linear-gradient(110deg,#162b3e,#122337);border-color:#61839966;box-shadow:inset 0 1px #cde6f011,0 8px 25px #0002}
.strategy-book,.strategy-book.tn{background:linear-gradient(150deg,#20334a,#142438);border-color:#607d9360;border-radius:14px;box-shadow:0 12px 30px #0003,inset 0 1px #d8ebf611}.book-head{background:linear-gradient(110deg,#2b475b,#21394f);border-color:#7190a35c}.strategy-book.tn .book-head{background:linear-gradient(110deg,#343e55,#26394e)}.book-head small{color:#ccb98e}.book-head h2{font-weight:550}.book-performance{background:linear-gradient(130deg,#c0d9e606,transparent);border-color:#54728955}.book-allocation{background:#19324840;border-color:#56758944}.book-head>span{background:#0a1c2d30;border-color:#aec4d344;color:#c4ddeb}
.hold-tabs{border-color:#64839955;background:#14293dcf;box-shadow:inset 0 1px #bfd9e710}.hold-tabs .primary{background:linear-gradient(120deg,#35596a,#2c465b);border-color:#9dbcc873;color:#e8f8fb;box-shadow:0 3px 12px #0003}.kpi:first-child{background:linear-gradient(140deg,#274359,#172d43);border-color:#9bbcb76b}.kpi strong,.card strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em}.kpi{border-color:#5c7f985c}
#performance15{background:linear-gradient(120deg,#253c50,#162a40);border-color:#7392a56b;box-shadow:inset 0 1px #d7edf310,0 12px 30px #0003}.market-home-grid article{background:linear-gradient(140deg,#263f53,#192f45)!important;border-color:#6b8c9f66!important}.market-home-grid strong{color:#f0f7fc}.ambient-ai{background:linear-gradient(110deg,#234053,#142b40);border-color:#749ca66b}.ambient-heading{background:#d5edee05;border-color:#7b9da541}.ambient-mark{border-color:#a4c7ca85;background:#6c919c13;border-radius:10px;color:#d5edea}
.market-home-hero,.desk-hero,.welcome,.market-daily-hero{background:linear-gradient(90deg,#102137d9,#10213788),var(--signature-background) center 54%/cover no-repeat;border-color:#7897a965;border-radius:14px;box-shadow:inset 0 1px #effbff0b,0 12px 35px #0003}.market-home-hero .eyebrow,.welcome .eyebrow{color:#d6c197!important}.admin-rail{background:linear-gradient(155deg,#1b3247,#0e2134);border-color:#587b924f}.admin-rail .rail-title{color:#c8ba99}.admin-main .panel{border-color:#6b879e60}.admin-main fieldset{background:#13283c7a;border-color:#65859875}.admin-main .card{box-shadow:inset 0 1px #d1e6f912,0 8px 25px #0003}
/* A single panoramic artwork joins the login cover and credential area. */
body.login{background:linear-gradient(90deg,#08132138,#08132115),var(--signature-background) center/cover no-repeat;grid-template-columns:minmax(0,1.45fr) minmax(390px,1fr)}.login-art{background:linear-gradient(90deg,#07132322,transparent);border-right:0;min-height:100vh}.login-art:after{display:none}.login-art h1{font-size:clamp(38px,4.1vw,64px);line-height:1.35;font-weight:500;letter-spacing:.05em;text-shadow:0 4px 35px #0008;color:#f1f5fa}.login-art .eyebrow{color:#d5c398!important}.login-art p{color:#b5c8dc}.login-edition span{border-color:#bfa97b;color:#a7c1d0}.login-art>small{border-color:#9cb7c338;color:#a5bace}.login-card{background:linear-gradient(140deg,#1b3045d9,#0e2036ee);border:1px solid #b5c5c174;box-shadow:inset 0 1px #edeee221,0 30px 80px #0006;border-radius:18px;backdrop-filter:blur(20px);padding:38px;max-width:420px}.login-card h2{color:#f1e8d5;font-size:27px;font-weight:500}.login-card>p,.login-card label,.login-card small{color:#a6bbd0}.login-card input{background:#0b1c2fbd;border-color:#7896ac6b;min-height:46px}.login-card button{background:linear-gradient(120deg,#cfdfdb,#8eb8c7);border-color:#d5e8e7;color:#143545;min-height:48px;box-shadow:0 8px 20px #95ccd329,inset 0 1px #fff7;letter-spacing:.1em}.login-card button:hover{background:linear-gradient(120deg,#e1eeeb,#a3ccd7)}
@media(max-width:1100px){.heading h1,.headline:has(#title) h1{font-size:30px}.heading,.headline:has(#title){min-height:160px;padding:25px}}
@media(max-width:700px){main{background:linear-gradient(#101f30f2,#0c1a2cf9),var(--signature-background) 70% top/auto 650px no-repeat}.heading,.headline:has(#title){padding:24px;min-height:158px;background-position:60% 50%;border-radius:12px}.heading h1,.headline:has(#title) h1{font-size:27px}.heading .actions{gap:8px}.panel,.card{border-radius:11px}.btn,button.quiet{min-height:42px;padding:10px 13px}.login-art{display:none}body.login{background:linear-gradient(#07162920,#0b1e3555),var(--signature-background) 65% center/cover no-repeat;min-height:100dvh;padding:28px 18px}.login-card{padding:32px 25px;border-radius:16px;background:linear-gradient(140deg,#193147e0,#0e2338f2);max-width:420px;box-shadow:0 20px 60px #0006}.login-card h2{font-size:26px}.mobile-dock{background:#10283af2;border-color:#7a9aac70;box-shadow:0 -8px 30px #0003}.book-head{padding:21px}.book-performance{padding:21px}}
/* V31: typography, control hierarchy, compact records, and small-screen rhythm. */
.heading,.headline:has(#title){min-height:164px;padding:26px 30px}.heading h1,.headline:has(#title) h1{font-size:32px;line-height:1.3}.heading p{font-size:13px;line-height:1.85;max-width:680px}.heading .actions{gap:10px}.heading .btn{white-space:normal;line-height:1.4;min-height:42px}
.panelhead{padding:18px 22px}.panelhead h2{font-size:15px;line-height:1.5}.panelhead small{font-size:10px;letter-spacing:.07em}.source,.tiny,.audit{font-size:11px;line-height:1.85}.book-performance small,.book-months p,.book-allocation span{font-size:11px;line-height:1.8}.book-performance strong{font-size:36px;line-height:1.25}.book-head h2{font-size:22px;line-height:1.4}.book-head small{letter-spacing:.16em}.book-head{padding:21px 23px}.book-performance{padding:23px}.book-months{padding:12px 23px}.book-months p{margin:8px 0}.strategy-book .empty{min-height:118px;padding:22px}.empty b{font-size:14px;line-height:1.6}.empty p{font-size:11px;line-height:1.8}.strategy-book .pad.actions{margin:0;padding:19px 23px;border-top:1px solid #67879b20;gap:10px}
.btn,button.quiet{line-height:1.4;white-space:normal}.top .btn,.hold-tabs .btn,.tabs .btn{white-space:nowrap}.btn.danger{background:linear-gradient(#473244,#30273b);border-color:#9d6b7c70;color:#ffc0ca}.btn.danger:hover{border-color:#ce92a2;color:#ffdde3}.btn:disabled,button:disabled{cursor:not-allowed;opacity:.45;transform:none;box-shadow:none}.btn:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #dfc697;outline-offset:4px}
button[aria-pressed="true"]{background:linear-gradient(125deg,#385a68,#2b475d)!important;border-color:#c7c6a286!important;color:#f5e8cd!important;box-shadow:inset 0 1px #fff1,0 4px 14px #0002}
summary{padding:12px 0;cursor:pointer;color:#bcd6e7;font-size:12px;line-height:1.6}details[open]>summary{color:#e4ce9d}details{scroll-margin-top:16px}details>p{line-height:1.85}.ambient-findings p,.ambient-conclusion p{line-height:1.9;font-size:13px}.ambient-wait p{font-size:11px;line-height:1.8}.ambient-heading h2{line-height:1.5}.ambient-controls{flex-wrap:wrap;gap:8px}.ambient-controls .btn{min-height:34px;font-size:11px;padding:7px 11px}
.scroll{overscroll-behavior-x:contain;scrollbar-width:thin;border-radius:0 0 10px 10px}th{padding:12px 16px;font-size:11px;letter-spacing:.03em}td{padding:13px 16px;font-size:12px;line-height:1.65}table button{min-height:32px;padding:6px 10px;font-size:11px}table td small{font-size:10px;line-height:1.65}table td.num,table td .num{font-variant-numeric:tabular-nums}.table-actions{flex-wrap:wrap;gap:7px}#users table th,#audit table th{position:sticky;top:0;z-index:1}.admin-main .scroll{max-width:100%}.admin-main .panel{padding:24px}.admin-main .panel>h2:first-child{font-size:16px;line-height:1.55;margin-bottom:20px}.admin-main small{font-size:11px;line-height:1.8}.admin-rail a{line-height:1.65;padding:11px 10px}.admin-rail a:focus-visible{background:#29495d}
.search{align-items:center;gap:8px}.search input{min-height:42px}.search button{min-height:42px}.watch-card,.indicator-card{min-width:0}.watch-actions,.smart-actions{gap:8px}.watch-price strong,.market-home-grid strong{font-variant-numeric:tabular-nums}.indicator-card p,.news-row p{font-size:13px;line-height:1.85}.news-row h3{line-height:1.7}.country-card small{font-size:11px;line-height:1.6}.country-card strong{font-size:26px;line-height:1.4}.region-tabs{gap:8px}.region-tabs button{min-height:40px}.login-card label{font-size:12px;line-height:1.65}.login-card small{line-height:1.9}.login-card input{min-height:48px}
@media(max-width:1100px){.heading,.headline:has(#title){min-height:150px;padding:24px}.heading h1,.headline:has(#title) h1{font-size:29px}}
@media(max-width:700px){.heading,.headline:has(#title){min-height:145px;padding:22px}.heading h1,.headline:has(#title) h1{font-size:26px;letter-spacing:.03em}.heading p{font-size:12px}.heading .actions{width:100%;gap:8px}.heading .actions .btn{flex:1;min-width:120px}.hold-tabs{gap:3px;padding:4px}.hold-tabs .btn{font-size:11px;line-height:1.5;padding:9px 8px;min-height:40px}.strategy-books{gap:16px}.book-head{padding:19px}.book-head h2{font-size:20px}.book-performance{gap:10px;padding:19px}.book-performance strong{font-size:29px}.book-performance b{font-size:17px}.book-months{padding:12px 19px}.book-allocation{padding:12px 19px;gap:6px}.book-allocation span{font-size:10px}.strategy-book .empty{min-height:108px;padding:19px}.strategy-book .pad.actions{padding:16px 19px}.strategy-book .pad.actions .btn{flex:1}.panel{margin-bottom:17px}.panelhead{padding:15px 16px}.panelhead h2{font-size:14px}.panelhead small{font-size:9px}.source{font-size:10px}.ambient-heading{gap:11px}.ambient-controls{width:100%;justify-content:flex-end}.ambient-controls .btn{min-height:36px}.admin-main .panel{padding:20px 16px}.admin-rail a{padding:8px 11px}.search button{padding:10px 12px;font-size:12px}.search input{font-size:16px}.login-card{padding:29px 24px}.mobile-dock button{min-height:46px!important;font-size:11px!important}.workspace-identity{padding-top:13px!important;font-size:8px}footer{font-size:10px;line-height:1.9}}
@media(max-width:440px){#performance15>.market-home-grid{grid-template-columns:1fr;gap:10px}#performance15>.market-home-grid article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:16px}#performance15>.market-home-grid article>strong{grid-column:2;grid-row:1/3;font-size:clamp(20px,6vw,27px);margin:0}#performance15>.market-home-grid article>small{grid-column:1;font-size:10px;line-height:1.7}#performance15>.market-home-grid article>small:first-child{white-space:nowrap}.admin-main>.cards .card strong{font-size:27px}.admin-main>.cards .card{padding:15px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
