:root{font-family:Segoe UI,Arial,sans-serif;color:#24324b;background:#f3f5fa;font-size:15px}*{box-sizing:border-box}body{margin:0;display:flex}aside{width:238px;background:#14213b;color:#b5c4df;position:fixed;inset:0 auto 0 0;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;color:white;font-size:30px;font-weight:750;margin:0 6px 36px}.brand span{font-size:17px}.brand small{display:block;font-size:11px;color:#8fa3c5;font-weight:400;margin-top:5px}nav{display:grid;gap:6px}nav button{color:#adbedb;background:transparent;text-align:left;padding:15px 18px;font-size:15px}nav button.active{background:#293e64;color:white}.aside-foot{margin-top:auto;line-height:1.8;padding:15px;color:#b6c6de}main{margin-left:238px;padding:36px 42px;width:calc(100% - 238px);max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2px;color:#8b98ae}h1{font-size:30px;margin:8px 0 0;letter-spacing:-.7px}h2{font-size:18px;margin:0 0 18px}h3{font-size:15px;margin:0}button{border:0;border-radius:10px;padding:11px 16px;background:#eaf0f8;color:#3c4e6b;font:inherit;cursor:pointer;transition:background .15s}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:default}.primary{background:#4263eb;color:white}.danger{background:#ffebee;color:#bc4058}.quiet{background:transparent}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #90aaff;outline-offset:2px}.pill,.tag{display:inline-block;background:#e9eeff;color:#4b63b8;border-radius:99px;padding:8px 13px;font-size:12px}.tag{padding:5px 10px}.green{background:#def7e9;color:#147448}.pink{background:#fee6ed;color:#b03b5e}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.card{background:white;border:1px solid #e8edf5;border-radius:17px;padding:24px;margin-bottom:20px;box-shadow:0 3px 14px #20315504}.cards .card{margin:0}.value{font-size:34px;font-weight:700;letter-spacing:-1px;margin:4px 0 7px;color:#4263eb}.label,.muted{color:#8390a6;font-size:13px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:16px 0 0}.module{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f0f3f8;gap:12px}.module .tag{margin-left:auto}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#8b98ae;font-weight:500;font-size:12px;padding:12px 14px;border-bottom:1px solid #edf0f6}td{padding:17px 14px;border-bottom:1px solid #f1f4f9;font-size:14px}tbody tr:last-child td{border-bottom:0}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.schedule td{text-align:center;padding:8px}.schedule td:first-child{text-align:left;min-width:170px}.schedule button{min-width:95px;font-size:12px}.empty{text-align:center;padding:48px;color:#8b98ae}input,select,textarea{width:100%;padding:12px;border:1px solid #dce3ef;border-radius:9px;font:inherit;background:#fff;color:#24324b}label{display:block;font-size:13px;margin:15px 0 6px;color:#66758f}dialog{border:1px solid #e1e7f2;border-radius:18px;width:620px;max-width:94vw;padding:26px;max-height:90vh}dialog::backdrop{background:#14213b66;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0}.description{white-space:pre-wrap;line-height:1.65;font-size:14px;background:#f6f8fc;padding:16px;border-radius:12px;max-height:230px;overflow:auto}.log{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 Consolas,monospace;background:#17243e;color:#d2dbed;border-radius:12px;padding:20px;max-height:65vh;overflow:auto}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}#toast{position:fixed;bottom:25px;right:26px;background:#243b61;color:white;padding:15px 22px;border-radius:12px;box-shadow:0 5px 25px #0002;display:none;max-width:90vw}#toast.error{background:#ad3454}@media(max-width:1050px){aside{width:190px}main{margin-left:190px;width:calc(100% - 190px);padding:25px}.brand{font-size:22px;gap:8px}.brand span{font-size:14px}.cards{gap:10px}.card{padding:18px}.value{font-size:29px}}@media(max-width:700px){body{display:block}aside{position:static;width:100%;padding:15px 18px}.brand{margin:0 0 14px;font-size:25px}.brand span{font-size:17px}nav{display:flex;overflow:auto;gap:4px}nav button{white-space:nowrap;padding:10px 14px;font-size:13px}.aside-foot{display:none}main{margin:0;width:100%;padding:22px 16px}header{margin-bottom:23px}h1{font-size:25px}.cards{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}.card{border-radius:14px}.module{flex-wrap:wrap}button{font-size:13px}}
/* Shared desktop and Telegram Mini App */
:root{--accent:#345de8;--ink:#182b49;background:#f5f7fc;color:var(--ink)}
button{min-height:42px;touch-action:manipulation;transition:background .15s,transform .15s}button:active{transform:translateY(1px)}button.primary{background:var(--accent);box-shadow:0 4px 12px #345de820}button.danger{color:#ba3a54;background:#fff1f3;border-color:#ffe0e7}.entity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.entity-grid .card{margin:0;min-width:0}.entity-head{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.entity-head h2{font-size:18px;margin:0 0 4px;line-height:1.35;overflow-wrap:anywhere}.entity-head>.tag{margin-left:auto}.entity .actions{margin-top:20px}.avatar{width:44px;height:44px;flex-shrink:0;border-radius:14px;display:grid;place-items:center;background:#edf1ff;color:var(--accent);font-size:22px;font-weight:700}.job-address{font-size:16px;font-weight:600;line-height:1.5;margin-bottom:6px}.job-master{margin-top:15px;color:#52627e}.tag{white-space:normal;line-height:1.45}.error-text{font-size:13px;color:#b83b58}.entity[hidden]{display:none}.module{flex-wrap:wrap}.module button{padding:9px 12px}.log{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}dialog{padding:24px;overscroll-behavior:contain}input,select{min-height:45px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8ea8ff;outline-offset:2px}
@media(max-width:700px){.entity-grid{grid-template-columns:1fr;gap:12px}.entity .card{padding:18px}main{padding-bottom:100px;padding-top:18px}nav{position:fixed;z-index:10;inset:auto 0 0;background:#fff;display:grid;grid-template-columns:repeat(6,1fr);padding:8px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e6ebf4;box-shadow:0 -4px 22px #1a2d4e08;gap:0;overflow:visible}nav button{font-size:10px;min-width:0;white-space:normal;padding:10px 2px;text-align:center;color:#7a89a3;border-radius:10px}nav button.active{background:#edf2ff;color:#345de8}aside{padding:13px 16px;background:#fff;border-bottom:1px solid #e8edf5}.brand{margin:0;color:#345de8;font-size:25px;gap:9px}.brand span{font-size:16px}.brand small{display:none}header{gap:12px;align-items:flex-start;margin-bottom:18px}header .pill{font-size:11px;max-width:155px;white-space:normal;line-height:1.4}h1{font-size:24px}.card{padding:18px;box-shadow:0 4px 18px #1a2d4e04}.actions{gap:8px}.actions button{flex-grow:1;min-height:44px}.toolbar input{max-width:none!important}dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);padding:20px;max-height:88dvh}dialog .description{max-height:28dvh}.module{gap:8px}.module h3{flex-basis:40%;font-size:15px}.module .tag{font-size:11px}.log{max-height:62dvh;padding:14px;font-size:12px}.cards{gap:10px}.value{font-size:29px}.schedule th:first-child,.schedule td:first-child{position:sticky;left:0;background:white;z-index:1;min-width:120px;max-width:145px;white-space:normal}.schedule button{min-width:76px}}
/* Refreshed control room */
:root{--accent:#5262db;--ink:#202b45;background:#f4f6fa;color:var(--ink);font-family:'Segoe UI',sans-serif}aside{background:#fff;color:#63708a;border-right:1px solid #e5e9f1;width:244px;padding:30px 16px}.brand{color:#26334e;font-size:25px;gap:10px;margin:0 8px 40px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#5262db;color:#fff;font-style:normal;font-size:23px;box-shadow:0 6px 18px #5262db24}.brand span{font-size:16px;letter-spacing:-.3px}.brand small{color:#929bad;font-size:11px}nav{gap:8px}nav button{display:flex;align-items:center;gap:13px;background:transparent;color:#738099;font-weight:500;border-radius:12px;padding:13px 16px}nav button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}nav button.active{background:#eef0ff;color:#4c5dce}nav button:hover{background:#f2f4fa}.aside-foot{color:#8b95a7;font-size:13px;border-top:1px solid #eef0f5;padding-top:22px}main{margin-left:244px;width:calc(100% - 244px);padding:32px 38px}header{margin-bottom:26px}.eyebrow{font-size:10px;color:#929caf;letter-spacing:1.2px}h1{font-size:28px;font-weight:650}h2{font-weight:650}.overview-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 28px;margin-bottom:22px;background:linear-gradient(110deg,#e9edff,#eff5fb);border:1px solid #e0e6f5;border-radius:19px}.intro-kicker{font-size:10px;letter-spacing:1.5px;color:#7786b7;margin-bottom:10px}.overview-intro h2{font-size:25px;letter-spacing:-.6px;margin:0 0 8px}.overview-intro p{color:#7c88a1;font-size:13px;margin:0;line-height:1.6}.intro-date{font-size:12px;color:#647399;padding:10px 14px;background:#ffffffa8;border-radius:10px;white-space:nowrap}.card{border-color:#e7ebf2;border-radius:16px;box-shadow:0 3px 14px #1f355004;padding:24px}.cards .card{position:relative;padding:20px 23px;overflow:hidden}.cards .card:after{content:'';position:absolute;width:52px;height:52px;border-radius:18px;background:#f2f4fc;right:-12px;top:-12px}.cards .card:nth-child(2) .value{color:#238e75}.cards .card:nth-child(3) .value{color:#c18c35}.cards .card:nth-child(4) .value{color:#8060c6}.value{font-size:33px;color:#5366d9}.label{font-size:12px;color:#8a95a9}.pill{border:1px solid #e7ebf3;background:#fff;color:#7b89a2}.pill.green{background:#e8f7f0;border-color:#d5eee1;color:#278564}button{background:#eef1f7;color:#5a6881;font-size:13px;border-radius:10px;font-weight:500}button.primary{background:#5262db;box-shadow:0 3px 10px #5262db20}.module{padding:16px 0}.module:last-child{border:0;padding-bottom:0}.module h3{font-size:14px}.module button{font-size:12px}.tag{font-size:11px;background:#edf0fc;color:#6878b1}.tag.green,.green{background:#e4f5ed;color:#2c8967}.pink{background:#fcebef;color:#bd6382}.avatar{background:#edf0ff;color:#6370cf}.entity-head h2{font-size:17px}.job-address{font-size:15px}.job-master{padding-top:13px;border-top:1px solid #f0f2f7}.schedule th{background:#f9fafe}.schedule button{border:1px solid transparent}.schedule button.green{border-color:#cfebde}.schedule button.pink{border-color:#f1d7e0}.log{background:#202c43;color:#c5d1e6;border:1px solid #2d3b55}.toolbar{gap:14px}.toolbar input{background:white}dialog{box-shadow:0 20px 100px #172b5429}input,select{border-color:#dfe5ef;border-radius:10px}input:hover,select:hover{border-color:#b9c4de}#toast{z-index:30;background:#314366}
@media(max-width:1050px) and (min-width:701px){aside{width:205px}main{margin-left:205px;width:calc(100% - 205px);padding:25px}.brand{margin-left:0}.brand span{font-size:13px}.brand-mark{width:34px;height:34px}.intro-date{display:none}}
@media(max-width:700px){aside{width:100%;padding:14px 18px;border-right:0}.brand{margin:0;font-size:20px}.brand-mark{width:32px;height:32px;border-radius:10px;font-size:20px}.brand span{font-size:15px}main{margin:0;width:100%;padding:21px 16px 110px}nav{gap:0;padding:8px 5px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #e5e9f1}nav button{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:8px 1px;font-size:9px;min-height:54px;border-radius:10px}nav button svg{width:20px;height:20px}nav button.active{background:#eff1fe;color:#5262db}.eyebrow{font-size:8px;letter-spacing:.8px}h1{font-size:25px}.overview-intro{padding:20px;border-radius:16px;align-items:flex-start;margin-bottom:16px;flex-direction:column;gap:12px}.overview-intro h2{font-size:23px}.intro-kicker{font-size:9px}.intro-date{padding:6px 10px;font-size:11px}.card{padding:18px}.cards .card{padding:17px 18px}.value{font-size:30px}.label{font-size:11px}.actions button{min-height:44px}.module h3{flex-basis:38%}.module .tag{max-width:57%}.module button{flex:1}.entity-grid{gap:12px}.pill{font-size:10px!important;max-width:140px!important}.schedule th:first-child{background:#f9fafe}.log{max-height:60dvh}#toast{bottom:95px;right:16px;left:16px;max-width:none;font-size:13px}}

.closure-panel{margin:18px 0;padding:18px;background:#f4f6ff;border:1px solid #e0e5f6;border-radius:14px}.closure-panel h3{margin:0 0 12px}.closure-panel dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;font-size:13px}.closure-panel dd{margin:0;text-align:right;overflow-wrap:anywhere}.closure-panel dt{color:#71809a}.closure-panel a{display:inline-block;padding:10px 0;color:#5262db;min-height:44px}.closure-panel p{overflow-wrap:anywhere}
.cash-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(115deg,#ebefff,#eef8f5);border:1px solid #dfe8f4;border-radius:19px;padding:25px 28px;margin-bottom:20px}.cash-intro h2{font-size:24px;margin:5px 0 7px}.cash-intro p{color:#78869e;font-size:13px;margin:0}.cash-total{display:grid;gap:4px;background:#fff;border:1px solid #e3e9f1;border-radius:15px;padding:15px 19px;min-width:180px}.cash-total span,.cash-total small,.cash-master-amount span{font-size:12px;color:#8290a6}.cash-total strong{font-size:25px;color:#5262db}.cash-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:16px}.cash-master{margin:0}.cash-master-head,.cash-row,.cash-row>div,.cash-row-right{display:flex;align-items:center;justify-content:space-between;gap:10px}.cash-master-head{padding-bottom:15px;border-bottom:1px solid #edf0f5}.cash-master-head h2{margin:0 0 5px}.cash-master-amount{display:grid;gap:3px;text-align:right}.cash-master-amount strong{font-size:19px;color:#5262db}.cash-row{padding:16px 0;border-bottom:1px solid #f0f2f6}.cash-row:last-child{border:0;padding-bottom:0}.cash-row>div{flex-wrap:wrap}.cash-row-right{flex-direction:column;align-items:flex-end}.cash-row-right button{white-space:nowrap}
@media(max-width:700px){nav{grid-template-columns:repeat(4,1fr)}nav button{font-size:10px;min-height:43px;gap:2px;padding:5px 1px}nav button svg{width:17px;height:17px}main{padding-bottom:150px}#toast{bottom:130px}.cash-intro{padding:18px;align-items:stretch;flex-direction:column;gap:15px}.cash-total{min-width:0}.cash-list{grid-template-columns:1fr}.cash-row{align-items:flex-start}.cash-row>div:first-child{display:grid;justify-content:start}.cash-row-right button{font-size:12px}.cash-master-head h2{font-size:17px}}
.sd-link{display:inline-flex;align-items:center;min-height:42px;padding:10px 12px;border-radius:10px;background:#eef1f7;color:#5262db;text-decoration:none;font-size:13px}
.sd-report{margin-top:16px;padding:15px;border-radius:12px;background:#f6f8fc;line-height:1.5;overflow-wrap:anywhere}.sd-report strong{font-size:13px}.sd-report p{white-space:pre-wrap;font-size:13px;margin:9px 0 0}.sd-report details{margin-top:12px}.sd-report summary{cursor:pointer;color:#5262db;font-size:13px}.sd-preview{display:block;max-width:100%;max-height:70dvh;margin:auto;object-fit:contain}

[hidden]{display:none!important}.ops-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border:1px solid #e1e7f5;background:linear-gradient(110deg,#eef1ff,#f0faf7);border-radius:18px;margin-bottom:20px}.issue{border-left:4px solid #9aa8f5}.issue.danger{border-left-color:#ef6e86}.issue p{overflow-wrap:anywhere}.queue-current{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:15px;background:#f3f6fc;border-radius:13px;margin:15px 0}.queue-item{padding:17px 0;border-top:1px solid #e9edf5}.queue-number{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#edf0ff;color:#5967df;margin-right:10px}.history-search{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:15px 0}.history-list{padding-left:14px;border-left:2px solid #e3e8f8}.history-event{position:relative;padding:0 0 23px 15px;overflow-wrap:anywhere}.history-event:before{content:'';position:absolute;left:-20px;top:6px;width:9px;height:9px;border:3px solid #fff;border-radius:50%;background:#7886ed}.history-event strong{display:block;margin-top:6px}.history-event p{font-size:13px;margin:7px 0;white-space:pre-wrap}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.compare-grid>div{padding:16px;background:#f2f5fc;border-radius:12px;overflow-wrap:anywhere}
@media(max-width:700px){nav{grid-template-columns:repeat(4,minmax(0,1fr))}main{padding-bottom:215px}.ops-summary{align-items:flex-start;flex-direction:column}.compare-grid{grid-template-columns:1fr}.queue-item .actions{display:grid;grid-template-columns:1fr 1fr}.queue-item button{min-height:44px}#toast{bottom:205px}}

.job-filters{display:flex;flex-wrap:wrap;gap:12px}.job-filters input,.job-filters select{width:auto;min-width:180px;flex:1}.job-filters>span{width:100%}@media(max-width:700px){.job-filters input,.job-filters select{width:100%;min-width:0;flex-basis:100%}}
/* Calm surfaces, expressive colour and a compact Mini App dock. */
:root{--accent:#6355e8;--ink:#23304b;--muted:#697893;background:#f5f6fc;color:var(--ink)}
body{background:radial-gradient(ellipse at 80% 0,#eae8ff66,transparent 48%),#f5f6fc;min-height:100dvh}aside{background:#ffffffed;border-right:1px solid #e7e8f3}.brand-mark{background:linear-gradient(140deg,#7365f3,#4b70ea);box-shadow:0 7px 20px #6455e82a}nav button.active{color:#6152d5;background:#eeebff}nav button:hover{background:#f1effb}.aside-foot{line-height:1.7}main{padding-top:30px}header{align-items:center;gap:20px}.header-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.mode-switch{background:#fff;border:1px solid #dedff1;color:#6255c7;min-height:40px;padding:9px 13px}.eyebrow{color:#7a85a0;letter-spacing:1.4px}h1{font-weight:750;letter-spacing:-.9px}h2{letter-spacing:-.35px}.muted{color:var(--muted)}.card{border-radius:20px;border-color:#e6e9f3;box-shadow:0 5px 20px #34406705}.card.entity{position:relative;overflow:hidden}.entity:before{content:'';position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#9b8df1,#8ac5df)}body[data-page="СД"] .entity:before{background:linear-gradient(90deg,#b09be9,#e6b8d0)}body[data-page="Мастера"] .entity:before{background:linear-gradient(90deg,#67c6b2,#9bd5e6)}.primary,button.primary{background:linear-gradient(120deg,#6a58df,#586de6);box-shadow:0 4px 12px #6355e824}.tag{background:#eeebff;color:#7161b0}.green,.tag.green{background:#e2f6ee;color:#227a62}.pink,.tag.pink{background:#fff0f3;color:#ac4568}.pill.green:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#28a27b;margin-right:6px}.avatar{background:linear-gradient(135deg,#eeebff,#e7f1fc);color:#7762cd}input,select,textarea{border-radius:12px;min-height:46px}button{min-height:44px}.cash-intro,.overview-intro{background:linear-gradient(115deg,#efebff,#eaf6fa);border-color:#e5e4f4;border-radius:22px}.ops-summary{background:linear-gradient(110deg,#f2edff,#eaf6f6);border-color:#e4e4f4}dialog{border-radius:24px;padding:25px;box-shadow:0 22px 100px #1b21463b}dialog::backdrop{background:#19213d66;backdrop-filter:blur(5px)}.header-tools .pill{max-width:200px}.mobile-hero{padding:28px 30px;background:linear-gradient(115deg,#6551d8,#526ce3 65%,#4b8acf);border-radius:26px;color:white;box-shadow:0 12px 32px #5c5bce26;margin-bottom:20px;position:relative;overflow:hidden}.mobile-hero:after{content:'';position:absolute;width:220px;height:220px;border:36px solid #ffffff09;border-radius:50%;right:-70px;bottom:-120px;pointer-events:none}.mobile-hero.paused{background:linear-gradient(115deg,#a77534,#bf9160)}.mobile-hero.offline{background:linear-gradient(115deg,#785678,#a25e7e)}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.hero-label{font-size:10px;letter-spacing:1.7px;color:#fff9}.live-dot{font-size:11px;background:#ffffff20;border:1px solid #ffffff25;border-radius:30px;padding:7px 11px;white-space:nowrap}.live-dot:before{content:'';display:inline-block;width:6px;height:6px;background:#96f1d0;border-radius:50%;margin-right:6px}.mobile-hero h2{font-size:30px;margin:0 0 9px;color:#fff;letter-spacing:-1px}.mobile-hero p{font-size:14px;color:#e7e7ff;margin:0;line-height:1.6}.hero-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero-button{background:#fff;color:#5c53bc;padding:12px 20px;font-weight:650}.hero-secondary{background:#ffffff20;color:#fff;border:1px solid #ffffff30;padding:12px 20px}.simple-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.stat-tile{position:relative;text-align:left;background:white;border:1px solid #e5e8f3;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:9px;color:#475571;box-shadow:0 4px 16px #39406204}.stat-tile strong{font-size:32px;letter-spacing:-1px;line-height:1}.stat-tile>span:not(.stat-icon):not(.stat-arrow){font-size:12px}.stat-icon{display:grid;place-items:center;border-radius:12px;width:32px;height:32px;font-size:19px;margin-bottom:2px}.stat-arrow{position:absolute;right:20px;bottom:18px;color:#9aa4ba;font-size:23px}.stat-tile.amber .stat-icon{background:#fff1db;color:#b37a29}.stat-tile.amber strong{color:#9c742f}.stat-tile.blue .stat-icon{background:#e8efff;color:#5575c9}.stat-tile.blue strong{color:#496abd}.stat-tile.violet .stat-icon{background:#f0eafe;color:#9b70c4}.stat-tile.violet strong{color:#8a66ae}.stat-tile.mint .stat-icon{background:#e0f4ee;color:#359c80}.stat-tile.mint strong{color:#27866e}.focus-card{display:flex;align-items:center;gap:16px;padding:20px 22px;margin-bottom:28px;border-radius:20px;background:#fff8ee;border:1px solid #f3e6d1}.focus-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#f8e8cf;color:#a77529;font-size:21px;flex-shrink:0}.focus-card h2{font-size:16px;margin:0 0 5px}.focus-card p{font-size:12px;line-height:1.5;color:#8a795d;margin:0}.focus-card button{margin-left:auto;background:#f7ead5;color:#966c31}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-heading h2{font-size:18px;margin:0}.section-heading>span{font-size:11px;color:#7c879d}.quick-grid,.section-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.section-tile{background:#fff;border:1px solid #e5e7f1;border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;text-align:left;min-width:0;color:#44516e;font-size:13px}.section-tile>span:nth-child(2){flex:1}.section-tile>span:last-child{color:#a5adc1;font-size:21px}.tile-icon{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center;border-radius:11px;background:#eeebff;color:#7c6ac5;font-size:19px}.section-tile:nth-child(2n) .tile-icon{background:#e6f4f0;color:#4d9e8e}.section-tile:nth-child(3n) .tile-icon{background:#fff0e3;color:#b68c55}.connection-strip{display:flex;gap:14px;padding:17px 20px;background:#fff;border:1px solid #e6e9f2;border-radius:17px}.connection-strip>div{flex:1;display:grid;grid-template-columns:7px 1fr;gap:5px 7px;align-items:center;min-width:0}.connection-strip strong{font-size:11px;font-weight:600}.connection-strip small{grid-column:2;font-size:10px;color:#8590a7;overflow-wrap:anywhere}.connection-dot{width:6px;height:6px;background:#e2b46b;border-radius:50%}.connection-dot.ok{background:#44b18c}.simple-footer{text-align:center;font-size:11px;color:#8b95ac;padding:19px 0}.mode-note{display:flex;flex-direction:column;gap:12px;border-radius:16px;padding:17px;background:#f4f2fb;color:#7a7097;font-size:12px}.mode-note button{align-self:flex-start}.section-grid{margin-top:20px}body[data-mode="simple"] .history-search{display:none}#nav-more svg circle{fill:currentColor;stroke:none}
@media(min-width:701px){body[data-mode="simple"] main{max-width:1180px}body[data-mode="simple"] #nav-more{justify-content:flex-start}}
@media(max-width:700px){aside{position:sticky;top:0;z-index:12;padding:12px 16px;background:#ffffffed;backdrop-filter:blur(18px)}.brand-mark{width:32px;height:32px;border-radius:11px;font-size:19px}.brand span{font-size:14px}main{margin:0;width:100%;padding:20px 16px calc(112px + env(safe-area-inset-bottom))}header{align-items:flex-start;gap:10px;margin-bottom:20px}.eyebrow{font-size:8px;letter-spacing:1px;max-width:160px;line-height:1.7}h1{font-size:25px}.header-tools{gap:7px;max-width:150px}.header-tools .pill{font-size:10px;padding:6px 9px;line-height:1.4}.mode-switch{font-size:10px;min-height:34px;padding:6px 10px;border-radius:10px}nav{grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #e9e9f5;background:#ffffffed;backdrop-filter:blur(20px);z-index:22;padding:7px 8px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #40346b08;border-radius:20px 20px 0 0}nav button{min-height:58px;font-size:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px 2px;border-radius:14px}nav button.active{background:#eeebff;color:#6f58c9}nav button svg{width:20px;height:20px}.mobile-hero{padding:23px 22px;border-radius:23px;margin-bottom:16px}.mobile-hero h2{font-size:25px;max-width:270px}.mobile-hero p{font-size:12px}.hero-top{margin-bottom:21px}.hero-label{font-size:9px}.hero-links{margin-top:21px}.hero-links button{flex:1;min-height:46px;font-size:12px}.simple-stats{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:16px}.stat-tile{padding:17px 18px;gap:7px;border-radius:18px}.stat-tile strong{font-size:29px}.stat-icon{width:29px;height:29px;font-size:18px;border-radius:10px}.stat-tile>span:not(.stat-icon):not(.stat-arrow){font-size:11px}.focus-card{padding:17px 15px;gap:11px;margin-bottom:25px;border-radius:18px}.focus-icon{width:32px;height:36px;font-size:18px;border-radius:11px}.focus-card h2{font-size:14px}.focus-card p{font-size:11px}.focus-card button{padding:9px 10px;font-size:11px;min-height:40px;flex-shrink:0}.section-heading h2{font-size:17px}.section-heading>span{font-size:9px}.quick-grid{gap:10px;margin-bottom:16px}.quick-grid .section-tile{font-size:12px;padding:15px 12px;gap:9px;line-height:1.4}.quick-grid .tile-icon{width:28px;height:31px;font-size:18px;border-radius:10px}.quick-grid .section-tile>span:last-child{display:none}.connection-strip{padding:15px 12px;gap:7px}.connection-strip strong{font-size:10px}.connection-strip small{font-size:9px}.card{border-radius:18px;padding:19px}.cash-intro{padding:22px}.cash-intro h2{font-size:22px}.entity-head h2{font-size:18px}.actions button{min-height:46px}.section-grid{grid-template-columns:1fr 1fr;gap:9px}.section-grid .section-tile{padding:13px 9px;font-size:12px;gap:8px}.section-grid .tile-icon{width:28px;height:30px;border-radius:9px}.section-grid .section-tile>span:last-child{display:none}dialog{max-height:86dvh;padding:20px;border-radius:22px}.dialog-head h2{font-size:20px}#toast{bottom:calc(90px + env(safe-area-inset-bottom));right:12px;left:12px;max-width:none;font-size:12px;border-radius:14px}.simple-footer{line-height:1.5}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:700px){aside{backdrop-filter:none;-webkit-backdrop-filter:none}.mode-switch{min-height:44px}nav{position:fixed;top:auto;bottom:0}}

@media(min-width:701px){aside{height:100dvh;overflow-y:auto}aside nav{flex-shrink:0}.aside-foot{margin-top:24px}}@media(max-width:700px){aside{overflow:visible}input,select,textarea{font-size:16px}}

.bugreport-button{border:1px solid #cdd4ff;border-radius:12px;padding:10px 14px;background:#eef0ff;color:#4438a5;cursor:pointer;font:inherit}.bugreport-button:hover{background:#e0e5ff}#bugreport-text{width:100%;box-sizing:border-box;font:12px monospace}@media(max-width:700px){.bugreport-button{font-size:12px;padding:9px;max-width:120px}}

.cash-branch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:20px 0}.cash-branch-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px;border:2px solid transparent;border-radius:20px;text-align:left;cursor:pointer;color:#243451;background:#eaf0ff}.cash-branch-card.mint{background:#dff6ed;color:#17604c}.cash-branch-card strong{font-size:28px}.cash-branch-card.selected{border-color:#6868e8}.cash-branch-section{margin-top:24px}.cash-branch-section>.section-heading{flex-wrap:wrap;gap:8px}@media(max-width:480px){.cash-branch-grid{grid-template-columns:1fr 1fr;gap:8px}.cash-branch-card{padding:14px;min-width:0}.cash-branch-card strong{font-size:21px}.cash-branch-card small{font-size:11px}}

.job-facts{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:12px;color:#647399;margin:5px 0 14px}.job-time{font-weight:600;color:#5262a3;margin-top:8px}.job-client{font-size:13px;margin-top:12px;color:#5a6881}.job-description{font-size:14px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere;margin:12px 0;background:#f6f8fc;padding:12px;border-radius:10px}.job-base-status{font-size:12px;color:#7c88a1;margin-top:8px}.job-error{font-size:12px;overflow-wrap:anywhere;margin-top:8px}.job-address{overflow-wrap:anywhere}

.section-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:24px;border:1px solid #dfe5fc;background:linear-gradient(120deg,#eef1ff,#f1faf7);border-radius:20px}.section-banner h2{margin:6px 0 0;font-size:25px;letter-spacing:-.6px}.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;padding:4px 8px;margin-left:6px;border-radius:10px;background:#fff;font-size:17px;color:#5262db}.sd-owners{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:#f4f6fc;border-radius:12px;margin:12px 0 16px}.sd-owners>div{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}.sd-owners small,.sd-base-note small{color:#8892aa;font-size:11px}.sd-owners strong{color:#3f54b6;font-size:14px}.sd-owners span{color:#647089;font-size:13px}.sd-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid #edf0f7;font-size:12px}.sd-links a{color:#6677b6;text-decoration:none}.sd-report{border-left:3px solid #9aa9e8;background:#f8f9fd;border-radius:0 10px 10px 0;padding:12px;margin:14px 0}.sd-report p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin-bottom:0}.sd-report small{font-size:11px;color:#7c88a1}.sd-base-note{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:12px;background:#f4f6fc;margin-top:18px}.sd-toolbar select{min-width:180px}.sd-card{border-top:3px solid #b4bff0}.entity-head{align-items:flex-start}.card.entity{transition:border-color .15s,box-shadow .15s}.card.entity:hover{border-color:#ccd5ed;box-shadow:0 6px 22px #344e7a0a}@media(max-width:700px){.section-banner{padding:18px;align-items:flex-start;flex-direction:column}.section-banner h2{font-size:23px}.section-banner>button{width:100%}.sd-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sd-toolbar select{min-width:0;width:100%;font-size:13px}.card.entity{padding:18px}.sd-owners{gap:10px}.sd-owners strong{font-size:13px}.sd-links button{font-size:11px;padding:8px}.entity-head .tag{max-width:55%;white-space:normal}}

[hidden]{display:none!important}#nav-more{display:inline-flex;align-items:center;gap:7px}#nav-more svg{width:18px;height:18px;fill:currentColor}.header-tools{min-width:0}.eyebrow{max-width:260px}@media(max-width:700px){aside{position:static;height:0;min-height:0;padding:0;border:0;background:transparent}aside .brand{display:none}main{padding-top:20px}header{align-items:center;gap:12px;margin-bottom:24px}.header-tools{max-width:none;display:flex;flex-wrap:nowrap;gap:8px}.header-tools .pill{max-width:105px;font-size:10px;white-space:nowrap}.header-tools #nav-more{min-height:40px;padding:10px 12px;flex-shrink:0}.eyebrow{display:none}h1{margin:0}.section-banner{margin-bottom:16px}.mode-note{flex-wrap:wrap}}
