@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#eef2f8;--panel:#fff;--ink:#14213a;--muted:#71809a;--line:#dce4f0;--navy:#071a38;--blue:#174ea6;--blue2:#e6eefb;--green:#16865c;--red:#c33d4b;--amber:#b87913;--radius:18px; font-family:Inter,system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}
.topbar{height:72px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:5;box-shadow:0 3px 15px #10182722}
.brand{border:0;background:none;color:white;display:flex;align-items:center;gap:11px;text-align:left}.brand-icon{width:42px;height:42px}.brand b{display:block;font-size:16px}.brand small{display:block;color:#aeb9cb;font-size:11px;margin-top:3px}.top-actions{display:flex;align-items:center;gap:10px}.sync-pill{font-size:11px;color:#c7d4e8;background:#ffffff14;padding:8px 11px;border-radius:30px}.icon-btn{border:1px solid #ffffff28;background:#ffffff12;color:inherit;border-radius:10px;padding:9px 12px}
.layout{display:flex;min-height:calc(100vh - 72px)}.sidebar{width:238px;background:#fff;border-right:1px solid var(--line);padding:18px 12px;display:flex;flex-direction:column;justify-content:space-between;flex-shrink:0}
#navigation{display:grid;gap:5px}.nav-item{border:0;background:transparent;color:#657087;text-align:left;padding:13px 14px;border-radius:12px;font-weight:600;display:flex;gap:13px;align-items:center}.nav-item span{font-size:13px}.nav-item.active,.nav-item:hover{background:var(--blue2);color:var(--blue)}.sidebar-foot{padding:14px 10px;color:#9aa3b4;display:grid;gap:5px;font-size:11px}
.main{flex:1;max-width:1500px;margin:0 auto;padding:28px;width:100%;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.page-heading h1{margin:0;font-size:25px;letter-spacing:-.7px}.page-heading p{margin:6px 0 0;color:var(--muted);font-size:13px}
.grid{display:grid;gap:15px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.stat,.panel,.tile,.table-wrap{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 18px #1c2c4b06}.stat{padding:18px}.stat label{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:25px;margin-top:9px;letter-spacing:-.8px}.stat small{color:var(--muted);font-size:11px}.panel{padding:19px;margin-bottom:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.panel h2,.panel-head h2{font-size:15px;margin:0}.muted{color:var(--muted)}.small{font-size:12px}
.tiles{grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0 22px;gap:17px}.tile{padding:21px 18px;text-align:left;border:1px solid #d8e1ef;color:var(--ink);min-height:132px;border-radius:14px;transition:.15s;box-shadow:0 5px 18px #102b5010}.tile:hover{border-color:#b9c9ff;transform:translateY(-2px)}.tile .tile-icon{width:44px;height:44px;border-radius:12px;background:var(--blue2);color:var(--blue);display:grid;place-items:center;font-size:22px;margin-bottom:14px}.tile b{display:block;font-size:13px}.tile small{display:block;color:var(--muted);font-size:11px;margin-top:5px}
.btn{border:0;background:var(--blue);color:white;border-radius:11px;padding:11px 15px;font-size:13px;font-weight:700}.btn.secondary{background:#eef1f6;color:#344056}.btn.danger{background:#fff0f1;color:var(--red)}.btn.success{background:var(--green)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-row{display:flex;gap:8px;flex-wrap:wrap}
.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.search{flex:1;min-width:180px}.field{display:grid;gap:6px;margin-bottom:13px}.field label{font-size:12px;color:#59657a;font-weight:600}.field input,.field select,.field textarea,.search input{width:100%;border:1px solid #dfe4ec;border-radius:10px;padding:11px 12px;background:white;color:var(--ink);outline:none}.field input:focus,.field select:focus,.field textarea:focus,.search input:focus{border-color:#8aa6ff;box-shadow:0 0 0 3px #3569e814}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:620px}.data-table th,.data-table td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--line);font-size:12px;white-space:nowrap}.data-table th{color:#8992a3;font-weight:600;background:#fafbfc}.data-table tr:last-child td{border-bottom:0}.data-table td strong{font-weight:700}.empty{text-align:center;color:var(--muted);padding:30px!important}.pill{display:inline-block;padding:5px 8px;border-radius:30px;background:#eef1f6;color:#647087;font-size:10px}.pill.good{background:#e8f7f0;color:var(--green)}.pill.warn{background:#fff5df;color:var(--amber)}.pill.bad{background:#fff0f1;color:var(--red)}
.pos-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:16px}.product-pick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-card{border:1px solid var(--line);border-radius:13px;padding:12px;background:white;text-align:left}.product-card b{display:block;font-size:12px}.product-card small{color:var(--muted);font-size:10px}.product-card strong{display:block;margin-top:8px;color:var(--blue);font-size:13px}.cart-line{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.cart-line:last-child{border:0}.qty-controls{display:flex;align-items:center;gap:7px}.qty-controls button{border:1px solid var(--line);background:white;border-radius:7px;width:25px;height:25px}.total-line{display:flex;justify-content:space-between;padding:8px 0;font-size:13px}.total-line.final{border-top:1px solid var(--line);margin-top:8px;padding-top:14px;font-size:17px;font-weight:800}
.mobile-nav{display:none}dialog{border:0;border-radius:18px;padding:0;width:min(560px,calc(100% - 28px));box-shadow:0 20px 80px #0d172b55}dialog::backdrop{background:#0d172b88}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:17px;margin:0}.modal-head .icon-btn{color:#59657a;background:#f3f5f9;border:0}#modalBody{padding:20px;max-height:75vh;overflow:auto}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:#172033;color:white;padding:12px 17px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.notice{background:#fff8e8;border:1px solid #f4e1b5;padding:13px;border-radius:12px;color:#805a18;font-size:12px;line-height:1.55;margin-bottom:14px}.profile-preview{display:flex;gap:12px;align-items:center}.profile-preview img{width:55px;height:55px}.receipt{font-family:monospace;color:#111;background:white;padding:18px;max-width:360px;margin:auto}.receipt h2{text-align:center}.right{text-align:right}
@media(max-width:1000px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.product-pick{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.topbar{height:62px;padding:0 13px}.brand-icon{width:36px;height:36px}.brand b{font-size:14px}.sync-pill{font-size:10px;padding:7px}.top-actions{gap:6px}.icon-btn{padding:8px;font-size:11px}.layout{min-height:calc(100vh - 62px)}.sidebar{display:none}.main{padding:20px 13px 90px}.page-heading h1{font-size:22px}.stats{gap:9px}.stat{padding:14px}.stat strong{font-size:21px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tile{min-height:105px;padding:13px}.pos-layout{grid-template-columns:1fr}.product-pick{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:7px 4px max(7px,env(safe-area-inset-bottom));justify-content:space-around;z-index:8}.mobile-nav button{border:0;background:none;color:#8791a3;display:grid;gap:3px;justify-items:center;font-size:19px;min-width:52px}.mobile-nav small{font-size:9px}.mobile-nav button.active{color:var(--blue)}.form-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.table-wrap{margin-left:-2px;margin-right:-2px}}

/* Deep navy professional theme */
.topbar{background:#071a38}
.nav-item.active,.nav-item:hover{background:#e6eefb;color:#174ea6}
.btn{background:#174ea6}
.tile:hover{border-color:#8eabd8;box-shadow:0 8px 24px #102b5018}
@media(max-width:720px){.tiles{gap:11px}.tile{min-height:124px;padding:16px 14px}}

/* Playstore POS dark navy dashboard theme */
:root{--bg:#101116;--panel:#1b1d24;--ink:#f4f5f8;--muted:#a6a9b3;--line:#343741;--navy:#090b10;--blue:#1265df;--blue2:#152b4c;--green:#23b879;--red:#ef5968;--amber:#e3a83b;--radius:20px;color-scheme:dark}
body{background:#101116;color:var(--ink)}
.topbar{background:#090b10;border-bottom:1px solid #30333b;box-shadow:none}.brand small{color:#a9acb5}.brand-icon{border-radius:50%;object-fit:cover;border:1px solid #343944}
.sidebar{background:#111319;border-color:#292c34}.nav-item{color:#b8bdc8}.nav-item.active,.nav-item:hover{background:#1d2a43;color:#70adff}
.main{padding:26px}.page-heading h1{color:#f7f8fa}.page-heading p,.muted{color:#a5a9b4}
.stat,.panel,.tile,.table-wrap{background:#1b1d24;border:1px solid #353943;box-shadow:0 5px 15px #0005}.stat{border-radius:22px;padding:20px}.stat label{color:#aeb2bc}.stat strong{color:#f7f8fb}.panel{border-radius:20px}.tiles{gap:15px}.tile{background:linear-gradient(145deg,#222630,#1b1e26);border:1px solid #414653;border-radius:20px;min-height:125px;padding:20px;color:#f5f6f8;box-shadow:0 5px 0 #090a0d}.tile .tile-icon{background:#172b4b;color:#78b4ff}.tile small{color:#a8adba}.tile:hover{border-color:#3988ef;box-shadow:0 6px 0 #090a0d,0 0 18px #1265df25}
.btn{background:#1265df;color:white}.btn.secondary{background:#252a35;color:#e3e7ef;border:1px solid #424957}.btn.danger{background:#4a2029;color:#ffb6bf}.btn.success{background:#137b54}.field label{color:#c2c6d0}.field input,.field select,.field textarea,.search input{background:#11141b;border:1px solid #3b414d;color:#f4f5f8}.field input:focus,.field select:focus,.field textarea:focus,.search input:focus{border-color:#3689f3;box-shadow:0 0 0 3px #1265df30}.data-table th{background:#20232b;color:#b3bac7}.data-table td,.data-table th{border-color:#343842;color:#e7e9ee}.data-table td strong{color:#fff}.product-card{background:#20242e;border-color:#414958;color:#fff}.product-card strong{color:#79b7ff}.product-card small{color:#b1b6c1}.pill{background:#292e39;color:#cbd1dc}.pill.good{background:#143e31;color:#7ce0b5}.pill.warn{background:#49381b;color:#ffd27c}.pill.bad{background:#4b222b;color:#ff9eaa}.mobile-nav{background:#090b10;border-color:#30343d}.mobile-nav button{color:#a6adbb}.mobile-nav button.active{color:#70adff}
dialog{background:#1b1d24;color:#f4f5f8}dialog::backdrop{background:#000b}.modal-head{border-color:#343842}.modal-head .icon-btn{color:#e5e8ee;background:#292d37}.notice{background:#352c1a;border-color:#66512b;color:#f2cf85}.profile-preview img{width:64px;height:64px;object-fit:cover;border-radius:16px;border:1px solid #424958}.person-link{border:0;background:none;color:#8fc1ff;padding:0;text-align:left;font:inherit;cursor:pointer}.person-link:hover{text-decoration:underline}.person-summary{display:flex;justify-content:space-between;align-items:center;gap:12px}.person-summary h2{margin:0 0 6px}.person-summary p{margin:0 0 4px;color:#c4c9d3}.history-stats{margin-top:18px}.receipt{color:#111}
@media(max-width:720px){.main{padding:20px 13px 90px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tile{min-height:112px;padding:16px 14px;border-radius:18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:15px}.person-summary{align-items:flex-start;flex-direction:column}.mobile-nav{background:#090b10}.data-table{min-width:580px}}

/* Unified glossy midnight-blue UI — applied to every module */
:root{--bg:#050b18;--panel:#0b1730;--ink:#f3f7ff;--muted:#a8bad6;--line:#243d68;--navy:#030916;--blue:#0878f9;--blue2:#102c57;--green:#12c879;--red:#ff6377;--amber:#f5b544;--radius:19px;color-scheme:dark}
html{background:#050b18}body{background:radial-gradient(ellipse at 50% -20%,#12366c 0,#07152d 38%,#050b18 78%);color:#f3f7ff;min-height:100vh}
.topbar{background:linear-gradient(105deg,#030916,#071a38 65%,#06142a);border-bottom:1px solid #254778;box-shadow:0 8px 30px #0008}.brand-icon{width:48px;height:48px;border-radius:15px;border:1px solid #287fe8;box-shadow:0 0 18px #0878f955}.brand b{font-size:17px;letter-spacing:-.3px}.brand small{color:#a9c2e8}
.sync-pill{background:#092a32;border:1px solid #17634f;color:#72edb6}.icon-btn{background:#0c1d3a;border:1px solid #315486;color:#e8f2ff}
.sidebar{background:#061127;border-color:#1e3964}.nav-item{color:#b6c8e4;border:1px solid transparent;border-radius:13px}.nav-item.active,.nav-item:hover{background:linear-gradient(120deg,#075dd1,#073b91);color:white;border-color:#278bff;box-shadow:0 5px 18px #006dff38}
.main{max-width:1600px;padding:25px}.page-heading{margin-bottom:20px}.page-heading h1{color:#f5f8ff;font-size:26px}.page-heading p{color:#9fb4d5}
.stat,.panel,.tile,.table-wrap{background:linear-gradient(145deg,#102345 0%,#0a1730 70%,#081326 100%);border:1px solid #294875;box-shadow:0 8px 22px #0005,inset 0 1px #ffffff0b}.stat{border-radius:19px;padding:18px}.stat label{color:#a9bfdf}.stat strong{color:#fff;font-size:25px}.stat small{color:#8fa9ce}.panel{border-radius:19px;padding:19px}.panel h2,.panel-head h2{color:#f0f6ff;font-size:16px}.tiles{gap:13px}.tile{background:linear-gradient(145deg,#142b50,#0a1933 75%);border:1px solid #355783;color:#f5f8ff;border-radius:20px;min-height:126px;padding:18px;box-shadow:0 5px 0 #020817,0 10px 22px #0005;transition:transform .16s,border-color .16s,box-shadow .16s}.tile:hover{transform:translateY(-2px);border-color:#1688ff;box-shadow:0 5px 0 #020817,0 0 22px #0878f944}.tile .tile-icon{background:linear-gradient(145deg,#0879f5,#0646b1);color:#fff;border:1px solid #399bff;border-radius:13px;box-shadow:0 5px 16px #006dff44}.tile b{font-size:14px;color:#f6f9ff}.tile small{color:#a9bfdf}
.btn{background:linear-gradient(120deg,#087cf8,#0752c7);border:1px solid #278dff;color:white;border-radius:11px;box-shadow:0 4px 12px #006dff30}.btn:hover{filter:brightness(1.12)}.btn.secondary{background:#122747;border:1px solid #31527e;color:#dceaff;box-shadow:none}.btn.danger{background:#4a1b2c;border-color:#a33a56;color:#ffdce3}.btn.success{background:linear-gradient(120deg,#0eaa70,#087b59);border-color:#27d99a}
.toolbar{gap:11px}.field label{color:#b4c8e7}.field input,.field select,.field textarea,.search input{background:#07152c;color:#f2f7ff;border:1px solid #294875;border-radius:11px}.field input::placeholder,.search input::placeholder,.field textarea::placeholder{color:#728bad}.field input:focus,.field select:focus,.field textarea:focus,.search input:focus{border-color:#1688ff;box-shadow:0 0 0 3px #0878f928}.field select option{background:#0b1930;color:#f4f7ff}
.table-wrap{border-radius:15px}.data-table{min-width:600px}.data-table th,.data-table td{border-bottom:1px solid #1d3559;color:#dce8fb}.data-table th{background:#10264a;color:#9db8df;font-size:11px;text-transform:uppercase;letter-spacing:.45px}.data-table tr:hover td{background:#10264a66}.data-table td strong{color:#fff}.empty{color:#93aaca!important}.pill{background:#172d4d;color:#bdd2f1;border:1px solid #2c4d78}.pill.good{background:#073d32;color:#72e9b5;border-color:#126d54}.pill.warn{background:#483514;color:#ffd37c;border-color:#8a6421}.pill.bad{background:#481d2a;color:#ff9cac;border-color:#8b354a}
.product-card{background:linear-gradient(145deg,#142b50,#0a1933);border:1px solid #31527e;color:#f4f8ff;border-radius:14px}.product-card:hover{border-color:#1688ff}.product-card small{color:#9eb6d9}.product-card strong{color:#66adff}.cart-line{border-color:#29436a;color:#e6efff}.qty-controls button{background:#102747;border:1px solid #31527e;color:#fff}.total-line{color:#dce9ff}.total-line.final{border-color:#31527e;color:#fff}
.person-link{background:transparent;border:0;color:#70b5ff;padding:0;text-align:left}.person-link:hover{text-decoration:underline}.notice{background:#102b4d;border:1px solid #315b8d;color:#c7dcfb}.profile-preview img{width:64px;height:64px;object-fit:cover;border-radius:16px;border:1px solid #328aff;background:#0c2345}.receipt{background:#fff;color:#111}.receipt *{color:#111!important}
dialog{background:#0a1730;color:#f2f7ff;border:1px solid #31527e}dialog::backdrop{background:#010611c9}.modal-head{border-color:#294875}.modal-head .icon-btn{color:#e4efff;background:#142b4e;border:1px solid #31527e}#modalBody{color:#e9f2ff}#toast{background:#10284a;border:1px solid #3674b9;color:#fff;box-shadow:0 8px 30px #0008}
.mobile-nav{background:#030b1b;border-top:1px solid #24436f;box-shadow:0 -8px 24px #0006}.mobile-nav button{color:#8da9d1}.mobile-nav button.active{color:#58aaff}.mobile-nav button.active:before{content:"";width:28px;height:3px;border-radius:5px;background:#1688ff;position:absolute;top:0}
.history-stats{margin-top:17px}.person-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.person-summary h2{font-size:20px;margin:0 0 6px}.person-summary p{margin:0 0 4px;color:#a9bfdf}.history-stats .stat{background:linear-gradient(145deg,#12315a,#0a1b35)}
@media(max-width:1000px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.topbar{height:68px;padding:0 12px}.brand-icon{width:43px;height:43px}.brand b{font-size:15px}.main{padding:20px 13px 94px}.page-heading h1{font-size:23px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:15px}.stat strong{font-size:21px}.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.tile{min-height:110px;padding:12px 9px;border-radius:15px;text-align:center}.tile .tile-icon{width:38px;height:38px;margin:0 auto 9px;font-size:19px}.tile b{font-size:11px}.tile small{display:none}.panel{padding:14px}.data-table{min-width:560px}.form-grid{grid-template-columns:1fr}.person-summary{align-items:flex-start}.history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{padding-top:10px}}
@media(max-width:390px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{min-height:105px}.top-actions .sync-pill{max-width:90px;white-space:nowrap;overflow:hidden}}

/* V5 visual refresh: charcoal canvas, glossy graphite cards and warm champagne active state */
:root{
 --bg:#111216;--panel:#1b1c21;--ink:#f4f4f5;--muted:#a5a7b0;--line:#34363e;
 --navy:#101115;--blue:#d9c8a2;--blue2:#292b33;--green:#7cc8a0;--red:#ff858d;--amber:#e6c27a;
 --radius:20px;color-scheme:dark;
}
html{background:var(--bg)}
body{background:radial-gradient(ellipse at 50% -15%,#252833 0%,#15161b 38%,#101115 78%);color:var(--ink);min-height:100vh}
.topbar{
 background:linear-gradient(180deg,#1b1c21 0%,#111216 100%);
 border-bottom:1px solid #383a42;box-shadow:0 8px 26px #0009,inset 0 1px #ffffff12;
 min-height:82px
}
.brand-icon{width:54px;height:54px;object-fit:cover;border-radius:50%;border:1px solid #ffffff2b;box-shadow:0 3px 14px #0009}
.brand b{font-size:17px;letter-spacing:-.35px}.brand small{font-size:12px;color:#b8bac2}
.sync-pill{background:linear-gradient(135deg,#244c3d,#18362c);color:#a8e2c4;border:1px solid #5d8d7555;padding:9px 13px;font-size:12px}
.icon-btn{background:linear-gradient(145deg,#30323b,#1b1d24);border:1px solid #555862;color:#f3f3f5;box-shadow:0 3px 0 #08090c, inset 0 1px #ffffff16}
.sidebar{background:linear-gradient(180deg,#191a1f,#121318);border-right:1px solid #34363e}
.nav-item{color:#c4c5cb;border:1px solid transparent}
.nav-item.active,.nav-item:hover{background:linear-gradient(145deg,#e7d7b5,#cbb991);color:#171717;border-color:#f0e1c2;box-shadow:0 4px 0 #786b53,inset 0 1px #fff9}
.main{padding:26px}
.page-heading h1{font-size:27px;color:#f5f5f6;letter-spacing:-.9px}
.page-heading p{color:#a4a6af}
.stat,.panel,.tile,.table-wrap{
 background:linear-gradient(145deg,#24262e 0%,#1b1c22 55%,#17181d 100%);
 border:1px solid #41434c;border-radius:21px;
 box-shadow:0 7px 0 #090a0d,0 12px 25px #0005,inset 0 1px 0 #ffffff17,inset 0 -1px 0 #0008;
}
.stat{padding:20px}.stat label{color:#b1b2ba}.stat strong{color:#fafafa;font-size:27px}
.panel{padding:20px}.panel h2,.panel-head h2{color:#f1f1f2}
.tiles{gap:16px}.tile{
 min-height:116px;padding:20px 18px;color:#f1f1f3;
 background:linear-gradient(145deg,#292c35,#1c1e25 70%);
 border-color:#4a4d58;transition:transform .18s,box-shadow .18s,border-color .18s
}
.tile:hover{transform:translateY(-3px);border-color:#b8a783;box-shadow:0 9px 0 #090a0d,0 15px 28px #0008,inset 0 1px #ffffff20}
.tile .tile-icon{background:linear-gradient(145deg,#393c47,#252731);color:#e3d1ad;border:1px solid #555967;box-shadow:inset 0 1px #ffffff18}
.btn{background:linear-gradient(145deg,#e6d5b2,#c9b58d);color:#171717;border:1px solid #f0e2c5;box-shadow:0 3px 0 #796c55,inset 0 1px #fff9}
.btn:hover{filter:brightness(1.07);transform:translateY(-1px)}
.btn.secondary{background:linear-gradient(145deg,#30333d,#20222a);color:#f0f0f2;border:1px solid #51545f;box-shadow:0 3px 0 #090a0d,inset 0 1px #ffffff16}
.btn.danger{background:linear-gradient(145deg,#56272e,#321a20);color:#ffd9dc;border-color:#81424b}
.btn.success{background:linear-gradient(145deg,#245d48,#17402f);color:#e4fff0;border-color:#4d8b70}
.field label{color:#c5c6cc}
.field input,.field select,.field textarea,.search input,
input,select,textarea{
 background:linear-gradient(180deg,#202229,#191a20);color:#f4f4f5;border:1px solid #484b55;border-radius:12px;
}
.field input:focus,.field select:focus,.field textarea:focus,.search input:focus,input:focus,select:focus,textarea:focus{
 border-color:#cbb991;box-shadow:0 0 0 3px #d9c8a21c;outline:none
}
.field input::placeholder,.search input::placeholder,textarea::placeholder{color:#858894}
.data-table th{background:linear-gradient(180deg,#2b2d36,#22242b);color:#c0c1c8}
.data-table td{color:#e5e5e8;border-bottom-color:#383a43}
.data-table tr:hover td{background:#ffffff08}
.data-table td a,.person-link{color:#e6d5b2}
.person-link{background:none;border:0;padding:0;text-align:left}
.pill{background:#30323b;color:#d1d2d7;border:1px solid #454852}
.pill.good{background:#1e3d31;color:#9fe0bd;border-color:#396b54}
.pill.warn{background:#46391f;color:#f0d28e;border-color:#76603a}
.pill.bad{background:#48262c;color:#ffb2b8;border-color:#75434b}
.toolbar{gap:11px}.category-search{margin:0 0 16px}
.category-search .search{max-width:520px;min-width:min(100%,240px)}
.category-search input{min-height:47px;padding:12px 16px;font-size:13px;box-shadow:inset 0 1px #ffffff10,0 3px 8px #0004}
.notice{background:linear-gradient(145deg,#292a31,#1d1e24);border:1px solid #41434c;color:#d0d1d6;border-radius:16px}
.modal-head{background:#202229;border-bottom:1px solid #41434c}
dialog{background:#1b1c22;color:#f4f4f5;border:1px solid #51545f;box-shadow:0 20px 70px #000b}
dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}
.profile-preview{background:linear-gradient(145deg,#292b33,#1b1c22);border:1px solid #444752;border-radius:18px;padding:15px}
.mobile-nav{background:linear-gradient(180deg,#202127,#111216);border-top:1px solid #41434c;box-shadow:0 -7px 22px #0008}
.mobile-nav button{color:#bfc0c7}.mobile-nav button.active{color:#e8d7b6}
#toast{background:#e5d3ae;color:#171717;box-shadow:0 8px 28px #0009}
.empty{color:#a6a8b1!important}
@media(max-width:900px){
 .sidebar{display:none}.main{padding:20px 16px 95px}
 .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .tile{min-height:108px;padding:17px 15px}
 .topbar{padding:0 16px;height:auto;min-height:78px}
 .page-heading h1{font-size:24px}
}
@media(max-width:420px){
 .main{padding:18px 14px 92px}.stat{padding:16px}.stat strong{font-size:23px}
 .tiles{gap:11px}.tile{min-height:102px;border-radius:17px}
 .brand-icon{width:48px;height:48px}.brand b{font-size:16px}
 .sync-pill{font-size:11px;padding:7px 9px}
 .category-search .search{max-width:none;width:100%}
}
