/* 2K visual layer. Database keys and application behavior remain unchanged. */
.card:after,.card:before,.menu button:before,.menu button:after{display:none!important}
body .side-logo h2,body .value{font-family:"Segoe UI",Arial,sans-serif!important}
body #dashboardTab .cards .card:nth-child(3) .value{color:#292109!important;-webkit-text-fill-color:#292109!important}
body .sidebar .menu button{box-shadow:none!important;background-image:none!important;outline:none}
:root{--bg:#0e0e0e!important;--panel:#191918!important;--panel-2:#191918!important;--panel-3:#111110!important;--line:#343127!important;--line-soft:#343127!important;--txt:#f2f0e9!important;--text:#f2f0e9!important;--muted:#aaa698!important;--gold:#d8ae35!important;--gold-2:#edc74e!important;--alien:#edc74e!important;--yellow:#edc74e!important}
body{font-family:"Segoe UI",Arial,sans-serif;font-size:13px}body:before,body:after,.login-box:before,.side-logo:before,.side-logo:after{display:none!important}
.app{grid-template-columns:218px minmax(0,1fr)}
.sidebar{background:#191918!important;padding:20px 13px!important;border-right:1px solid var(--line)!important}
.brand-mark{flex-shrink:0;width:58px;height:58px;border-radius:50%;background-image:url('/assets/images/brand-reference.png');background-size:2282.142857% 1129.761905%;background-position:50.08183% 19.19075%;background-repeat:no-repeat}
.side-logo{padding:8px 4px 20px!important;gap:13px!important;background:none!important;border-bottom:1px solid var(--line)!important;min-height:84px!important}
.side-logo h2{font-size:26px!important;letter-spacing:-1px!important;color:var(--gold-2)!important}.side-logo small{font-size:9px!important;letter-spacing:0!important}
.menu-label{font-size:9px;letter-spacing:1.4px;color:var(--muted);padding:5px 12px 15px}
.sidebar .menu{gap:4px}.sidebar .menu button{border:0!important;background:transparent!important;color:#bcb5a3!important;min-height:41px!important;font-size:13px!important;font-weight:500!important;padding:10px 12px!important}.sidebar .menu button.active,.sidebar .menu button:hover{background:#342b15!important;color:#f2c533!important}.nav-icon{font-size:19px;width:20px;font-weight:400;color:inherit}
.sidebar .side-user{background:none!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;padding:20px 10px!important;margin-top:26px!important}.side-user b{color:var(--text)!important}.side-user .status-dot{background:#b5cba2}
.main{padding:0 50px 60px}.workspace-bar{height:71px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:#c7ba95;font-size:12px;gap:12px}.workspace-bar .btn{font-weight:400!important}.eyebrow{font-size:12px;letter-spacing:2.5px;color:#c4ab70;margin-top:37px;margin-bottom:14px}
.topbar{align-items:center;margin-bottom:36px}.page-title h1{font-size:30px!important;letter-spacing:-1px;color:var(--text)!important}.page-title p{font-size:12px!important;color:#c2b594!important;margin-top:10px}.top-actions{font-size:10px}.pill{font-size:10px!important;background:none!important;border-color:var(--line)!important}.operation-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.operation-heading h3{font-size:14px}.operation-heading small{font-size:10px}
.panel,.card,.dashboard-filter,.notes-panel,.turn-panel,.modal-content,.table-wrap{background:#191918!important;border:1px solid var(--line)!important;border-radius:16px!important}.panel{padding:24px!important}.panel-title h2,.panel-title h3{font-size:16px!important;color:var(--text)!important;letter-spacing:-.4px!important}
.dashboard-filter{padding:14px 18px!important;margin-bottom:18px;gap:8px!important}.dashboard-filter label{font-size:9px;text-transform:uppercase;color:#bfb18b}.dashboard-filter input{height:36px}.cards{gap:12px}.card{padding:22px 18px!important;min-height:130px}.card h3{font-size:10px!important;color:#bdb49e!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important}.card .value{font-size:29px!important;letter-spacing:-1px;font-weight:600!important;color:var(--text)!important;margin-top:22px}.cards .card:nth-child(3){background:#edc74e!important;border-color:#edc74e!important}.cards .card:nth-child(3) h3,.cards .card:nth-child(3) .value{color:#292109!important}.owner-insights{gap:18px!important;margin-bottom:24px}.owner-insights .card{min-height:112px;padding:18px!important}.owner-insights .value{font-size:21px!important;margin-top:14px}.owner-insights small{font-size:11px}
input,select,textarea{background:#111110!important;border-color:var(--line)!important;color:var(--text)!important;border-radius:10px!important}input:focus,textarea:focus,select:focus{outline:2px solid #d3ab3d!important;outline-offset:2px}button:focus-visible,a:focus-visible{outline:2px solid #edc74e!important;outline-offset:3px}.btn{border-radius:9px!important;background:linear-gradient(100deg,#b98720,#efcc4e)!important;color:#171307!important;border:1px solid transparent!important}.btn.ghost,.btn.dark{background:transparent!important;border-color:var(--line)!important;color:var(--text)!important}.btn.small{font-size:11px!important;padding:9px 11px!important}table th{color:#c7b98e!important;background:#141413!important}table td{border-color:var(--line)!important}
.sidebar .turn-panel{display:none;position:fixed;right:28px;top:76px;width:330px;max-height:75vh;overflow:auto;z-index:70;padding:18px!important}.turns-open .sidebar .turn-panel{display:block}.sidebar .notes-panel{position:fixed!important;inset:auto 28px 22px auto!important;width:370px!important;height:282px!important;z-index:60!important;margin:0!important;overflow:hidden}.sidebar .notes-panel textarea{height:220px!important;border:0!important;border-radius:0!important;background:#191918!important;padding:22px 18px!important;resize:none}.sidebar .notes-head{height:56px;padding:14px 17px!important;border-bottom:1px solid var(--line)}.notes-footer,.sidebar .notes-mini{display:none!important}
.login-screen{min-height:100vh!important;padding:190px 24px 100px!important;background:radial-gradient(ellipse at 50% 0,rgba(155,116,22,.09),transparent 35%),#0c0e10!important}.login-box{width:448px!important;max-width:100%;padding:32px!important;margin-top:90px;overflow:visible!important;background:linear-gradient(125deg,#17181b,#101214)!important;border:1px solid #292b30!important;border-radius:18px!important;box-shadow:none!important}.login-top{position:absolute;bottom:calc(100% + 32px);left:0;width:100%;margin:0!important}.login-top .brand-mark{width:84px;height:84px;margin:0 auto 22px}.login-top .brand{font-size:28px!important;font-weight:700;letter-spacing:-1px!important;line-height:1.3;color:#f3cb54!important;display:block!important}.login-top p{font-size:14px!important;margin-top:14px!important;color:#a6b0c4!important}.login-intro h2{font-size:20px;letter-spacing:-.5px;margin:0 0 7px}.login-intro p{font-size:13px;color:#a6b0c4;margin-bottom:32px}.login-box .grid{gap:22px!important}.login-box label{color:#f3f4f7;font-weight:600;font-size:14px}.login-box input{height:44px;background:#e9eefc!important;border:1px solid #d3d7e0!important;color:#202837!important;padding:12px 16px!important}.login-box input::placeholder{color:#7d879b}.login-box .btn{height:46px;margin:0!important;font-weight:700;background:linear-gradient(100deg,#b88723,#f0cb49)!important}.login-copyright{position:fixed;bottom:calc(50% - 310px);width:100%;text-align:center;font-size:11px;color:#a6b0c4;pointer-events:none}body:has(#loginScreen.hidden) .login-copyright{display:none}
@media(min-width:1500px){.login-screen{padding-top:140px!important}.login-box{margin-top:75px}}
@media(max-width:1200px){.main{padding:0 24px 40px}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{flex-wrap:wrap}}
@media(max-width:800px){.app{grid-template-columns:1fr}.sidebar{height:auto;position:relative;overflow:visible}.side-logo{margin-bottom:8px!important}.sidebar .menu{display:flex;overflow:auto;gap:6px}.sidebar .menu button{white-space:nowrap;flex-shrink:0}.menu-label,.side-user{display:none}.main{padding:0 18px 32px}.workspace-bar{height:64px}.eyebrow{margin-top:24px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2,.grid-3{grid-template-columns:1fr!important}.dashboard-filter{flex-wrap:wrap}.top-actions{flex-wrap:wrap}.operation-heading small{display:none}.sidebar .notes-panel{right:14px!important;bottom:14px!important;width:min(370px,calc(100vw - 28px))!important}.sidebar .turn-panel{right:14px;width:min(330px,calc(100vw - 28px))}.login-copyright{position:static;background:#0c0e10;padding:0 12px 24px}.login-screen{padding:200px 20px 40px!important}.login-box{margin-top:35px}.login-top .brand{font-size:25px!important}.workspace-bar>span{font-size:10px}.workspace-bar .btn{font-size:10px!important}}

[hidden]{display:none!important}


.theme-switcher{margin-top:16px;display:grid;gap:8px}
.theme-switcher label{font-size:12px;color:#c8c8d0;margin:0}
.theme-switcher select{height:42px}
body[data-theme="pink"]{--bg:#13060d;--panel:#180a12;--panel-2:#23101b;--panel-3:#0e060b;--line:#5a1d3f;--line-soft:rgba(255,103,180,.18);--txt:#fff1f7;--muted:#d7a7bd;--muted-2:#b67b96;--red:#ff72b2;--red-2:#ff87bf;--blue:#ff9ed0;--yellow:#ffd2ea;--green:#ff9ac3;--purple:#ff87bf;--orange:#ffb0d8;--alien:#ff87bf;--gold:#ff72b2;--gold-2:#ffd2ea}
body[data-theme="pink"]{background:radial-gradient(circle at 50% 18%, rgba(255,111,180,.16), transparent 24%),radial-gradient(circle at 12% 0%, rgba(255,188,227,.08), transparent 24%),radial-gradient(circle at 92% 88%, rgba(255,111,180,.10), transparent 31%),linear-gradient(145deg,#090206 0%,#12050b 42%,#090206 100%)}
body[data-theme="blueblack"]{--bg:#02050c;--panel:#09111d;--panel-2:#101a2a;--panel-3:#060a12;--line:#18385f;--line-soft:rgba(70,142,255,.16);--txt:#eef6ff;--muted:#9cb6d6;--muted-2:#7690af;--red:#5fa0ff;--red-2:#76b3ff;--blue:#9accff;--yellow:#badbff;--green:#84c4ff;--purple:#6cb5ff;--orange:#8bcaff;--alien:#76b3ff;--gold:#4e9aff;--gold-2:#badbff}
body[data-theme="blueblack"]{background:radial-gradient(circle at 50% 18%, rgba(78,154,255,.17), transparent 24%),radial-gradient(circle at 12% 0%, rgba(186,219,255,.08), transparent 24%),radial-gradient(circle at 92% 88%, rgba(78,154,255,.10), transparent 31%),linear-gradient(145deg,#01050b 0%,#07101b 42%,#01050b 100%)}
body[data-theme="light"]{--bg:#f4f6fa;--panel:#ffffff;--panel-2:#f7f9fd;--panel-3:#eef2f8;--line:#d1d9e6;--line-soft:rgba(18,55,110,.10);--txt:#172033;--muted:#66758e;--muted-2:#8c9ab1;--red:#3268bd;--red-2:#2c77de;--blue:#2c77de;--yellow:#5a8fe3;--green:#39816b;--purple:#7050b9;--orange:#bd7a2e;--alien:#2c77de;--gold:#2c77de;--gold-2:#548de6;--shadow:0 18px 50px rgba(14,32,67,.10)}
body[data-theme="light"]{background:linear-gradient(180deg,#f6f9ff 0%,#eef3fb 100%);color:var(--txt)}
body[data-theme="light"]:before{opacity:.22}
body[data-theme="light"] input,body[data-theme="light"] select,body[data-theme="light"] textarea{background:#fff;color:#172033;border-color:#c8d3e2}
body[data-theme="light"] label{color:#31425f}
body[data-theme="light"] .sidebar{background:rgba(250,252,255,.96);border-right:1px solid rgba(20,38,66,.08)}
body[data-theme="light"] .menu button{background:#fff;color:#172033;border-color:#d6deea}
body[data-theme="light"] .workspace-bar,body[data-theme="light"] .card,body[data-theme="light"] .panel,body[data-theme="light"] .turn-panel,body[data-theme="light"] .notes-panel{box-shadow:var(--shadow)}
