@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#172033;--muted:#7b8496;--line:#e9edf3;--bg:#f5f7fb;--navy:#111827;--blue:#5269e8;--blue2:#4055d6;--green:#15966b;--red:#d64b5c;--amber:#b7791f;--shadow:0 12px 35px rgba(20,34,65,.07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:#111827;color:#c4cada;padding:25px 17px;display:flex;flex-direction:column;z-index:5}.brand,.login-brand{display:flex;align-items:center;gap:11px;color:white;margin:0 7px 48px}.brand b,.login-brand strong{font:800 19px Manrope,sans-serif;display:block;letter-spacing:-.5px}.brand small,.login-brand small{display:block;color:#8d98ad;font-size:11px;margin-top:2px}.brand-mark{width:39px;height:39px;border-radius:13px;background:linear-gradient(135deg,#8290ff,#4d5de2);display:grid;place-items:center;color:white;font:800 21px Manrope;box-shadow:0 6px 18px #5364e455}.nav-label,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.35px;color:#909bad}.nav-label{padding:0 12px 13px}.sidebar nav{display:grid;gap:5px}.sidebar nav a{height:45px;border-radius:9px;padding:0 12px;display:flex;align-items:center;gap:12px;color:#aeb8ca;font-weight:500}.sidebar nav a span{font-size:17px;width:18px;text-align:center}.sidebar nav a.active,.sidebar nav a:hover{background:#283249;color:white}.nav-count{margin-left:auto;background:#dc5968;color:white;border-radius:20px;font-size:10px;padding:2px 7px;font-style:normal}.sidebar-bottom{margin-top:auto}.admin-chip{display:flex;align-items:center;gap:10px;border-top:1px solid #293347;padding:20px 5px 13px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e8ebff;color:#485bd9;font-weight:700}.admin-chip b{display:block;color:#f2f4f8;font-size:12px}.admin-chip small{display:block;color:#8792a7;font-size:11px;margin-top:3px}.logout{display:block;padding:11px;color:#aeb8ca}.main{margin-left:250px;min-height:100vh}.topbar{height:94px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.topbar .eyebrow{color:#9aa3b3}.topbar h1{font:700 22px Manrope;margin:5px 0 0;letter-spacing:-.5px;text-transform:capitalize}.top-actions{display:flex;align-items:center;gap:17px}.today{color:#7e8798;font-size:12px}.icon-btn{border:1px solid var(--line);background:white;border-radius:10px;width:37px;height:37px;color:#65718a;cursor:pointer}.content{padding:30px 38px 15px;max-width:1600px;margin:auto}.welcome{background:linear-gradient(112deg,#273b82,#5869e8 70%,#7480f0);border-radius:16px;padding:27px 30px;color:white;display:flex;justify-content:space-between;align-items:center;box-shadow:0 13px 28px #5368d52b}.welcome .eyebrow{color:#c5ccff}.welcome h2{font:700 23px Manrope;margin:9px 0 5px}.welcome p{margin:0;color:#dce1ff}.btn{border:0;border-radius:8px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700;cursor:pointer;font-size:12px;white-space:nowrap}.btn.primary{background:var(--blue);color:white}.btn.primary:hover{background:var(--blue2)}.btn.white{background:white;color:#465bd8}.btn.secondary{background:#f0f2f8;color:#526078;border:1px solid #e5e9f1}.btn.full{width:100%}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.stat-card{background:white;border:1px solid var(--line);border-radius:13px;padding:18px 19px;min-height:130px;position:relative;box-shadow:0 3px 12px #24365a05}.stat-card small{display:block;color:#788397;font-size:12px}.stat-card strong{display:block;font:800 25px Manrope;letter-spacing:-.7px;margin:8px 0 3px}.stat-card em{font-size:10px;color:#a1a9b7;font-style:normal}.stat-icon{position:absolute;right:17px;top:17px;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:15px}.purple{background:#f0edff;color:#7563dc}.blue{background:#eaf0ff;color:#5371df}.green{background:#e7f7f0;color:#17966c}.red{background:#fff0f1;color:#d65b67}.two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:17px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:19px;box-shadow:0 3px 12px #24365a05;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panel-head h3{font:700 15px Manrope;margin:0}.panel-head p,.page-actions p{color:#8b94a5;font-size:11px;margin:5px 0 0}.text-link{color:var(--blue);font-size:11px;font-weight:700;white-space:nowrap}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#929bac;font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:700;background:#fafbfe}th,td{padding:12px 11px;border-bottom:1px solid #edf0f5;white-space:nowrap}td{color:#4c576b}td b{color:#29344a}.subcell{display:block;color:#9aa3b2;font-size:10px;margin-top:4px}.pill{display:inline-flex;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:700}.pill.success{background:#e8f7f0;color:#16865f}.pill.warning{background:#fff4df;color:#a76d12}.pill.danger{background:#ffedef;color:#c84b5c}.muted-pill{background:#eef0f4;color:#697386}.quick-actions{display:grid}.quick{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f5}.quick:last-child{border:0}.quick>span{width:36px;height:36px;border-radius:10px;background:#eef1ff;color:#5368df;display:grid;place-items:center;font-size:17px}.quick b{display:block;font-size:12px}.quick small{display:block;color:#929bac;font-size:10px;margin-top:4px}.quick i{margin-left:auto;color:#9ba4b4;font-style:normal}.page-actions{display:flex;justify-content:space-between;align-items:center;margin:0 0 19px}.page-actions h2{font:700 17px Manrope;margin:0}.search,select,input,textarea{border:1px solid #e1e6ef;border-radius:8px;padding:10px 11px;color:#344056;background:white;outline:none}.search{width:min(300px,100%);font-size:12px}.search:focus,input:focus,select:focus,textarea:focus{border-color:#8290ed;box-shadow:0 0 0 3px #6579e51a}.table-toolbar{margin-bottom:12px}.group-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.group-card{background:white;border:1px solid var(--line);border-radius:13px;padding:19px;box-shadow:0 3px 12px #24365a05}.group-top{display:flex;justify-content:space-between;align-items:center}.group-symbol{width:38px;height:38px;border-radius:11px;background:#eef1ff;color:#5368df;display:grid;place-items:center;font-size:18px}.group-card h3{font:700 15px Manrope;margin:17px 0 5px}.group-card p{color:#919aaa;font-size:11px;min-height:15px}.group-amount{font:800 24px Manrope;margin:16px 0 14px}.group-amount small{display:block;font:400 10px 'DM Sans';color:#919aaa;margin-top:3px}.group-meta{display:flex;justify-content:space-between;gap:5px;color:#818b9c;font-size:10px;border-top:1px solid #edf0f5;padding:12px 0 15px}.register-summary{display:flex;align-items:center;justify-content:space-between;background:#edf1ff;border:1px solid #e0e6ff;padding:14px 17px;border-radius:11px;margin-bottom:15px}.register-summary b{display:block;font:700 14px Manrope}.register-summary small{display:block;color:#7683a7;font-size:10px;margin-top:5px}.register-panel{padding:0;overflow:hidden}.register-scroll{max-height:65vh}.register-table{min-width:1050px}.register-table th,.register-table td{text-align:center;padding:9px 6px}.register-table th:first-child,.register-table td:first-child{text-align:left}.sticky-client{position:sticky;left:0;background:white;z-index:1;min-width:160px;box-shadow:4px 0 8px #1b2a4a08}.register-table thead .sticky-client{background:#fafbfe;z-index:2}.week-cell{width:69px;min-height:46px;border:1px solid transparent;border-radius:7px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#fff3f3;color:#bd5361}.week-cell b{font-size:10px}.week-cell small{font-size:9px;opacity:.8}.week-cell.paid{background:#eaf8f1;color:#18835e}.week-cell.rescheduled{background:#fff5df;color:#a66d19}.week-cell:hover{border-color:#9aa6ef;transform:translateY(-1px)}.register-legend{display:flex;align-items:center;gap:17px;padding:13px 17px;color:#7f899b;font-size:10px;border-top:1px solid #edf0f5}.register-legend small{margin-left:auto}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:4px}.dot.paid{background:#2ca878}.dot.pending{background:#d66b78}.dot.rescheduled{background:#d59a36}.empty{text-align:center;padding:30px;color:#98a1b0;font-size:12px}.modal{display:none;position:fixed;inset:0;background:#11182788;z-index:20;align-items:center;justify-content:center;padding:18px}.modal.open{display:flex}.modal-card{background:white;width:min(460px,100%);max-height:90vh;overflow:auto;border-radius:15px;padding:22px;box-shadow:0 25px 80px #11182744}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.modal-head h3{font:700 17px Manrope;margin:0}.close{border:0;background:#f0f2f6;border-radius:50%;width:29px;height:29px;font-size:19px;color:#6c7587;cursor:pointer}.modal-card label,.login-card label{display:block;color:#596579;font-size:11px;font-weight:700;margin:12px 0}.modal-card input,.modal-card textarea,.modal-card select,.login-card input{display:block;width:100%;margin-top:6px;font-weight:400;font-size:12px}.modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.divider-text{text-align:center;color:#a2a9b6;font-size:9px;font-weight:700;letter-spacing:1px;margin:18px 0}.alert{padding:12px 15px;border-radius:9px;margin-bottom:15px;font-size:12px}.alert.success{background:#eaf8f1;color:#147b57}.alert.error{background:#fff0f1;color:#b43e50}.alert.info{background:#eef2ff;color:#485bc1}.footer{padding:25px 0 10px;color:#a0a8b6;font-size:10px}.footer span{float:right}.login-body{min-height:100vh;background:radial-gradient(circle at 20% 15%,#e5eaff,transparent 35%),#f5f7fb;display:grid;place-items:center;padding:22px}.login-wrap{width:min(420px,100%)}.login-brand{color:var(--ink);margin:0 0 24px}.login-brand small{color:#8a94a5}.login-card{background:white;border:1px solid var(--line);border-radius:17px;padding:30px;box-shadow:var(--shadow)}.login-card .eyebrow{color:#6878df}.login-card h1{font:800 25px Manrope;margin:9px 0 5px;letter-spacing:-.7px}.muted{color:#8c96a7;font-size:12px}.login-card form{margin-top:22px}.login-card label{font-size:11px}.login-card .check{display:flex;align-items:center;gap:8px;font-weight:400}.login-card .check input{width:auto;margin:0}.login-foot{text-align:center;color:#a3abba;font-size:10px;margin:20px 0 0}.login-card .btn{margin-top:12px}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(2,1fr)}.group-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{width:68px;padding:19px 9px}.brand{margin:0 auto 38px}.brand>span:last-child,.nav-label,.sidebar nav a:not(.active) span~*,.sidebar nav a{font-size:0}.sidebar nav a{justify-content:center;padding:0}.sidebar nav a span{font-size:18px}.sidebar nav a.active{font-size:0}.nav-count{display:none}.admin-chip{justify-content:center;padding:15px 0}.admin-chip>div:last-child,.logout{display:none}.main{margin-left:68px}.topbar{height:78px;padding:0 17px}.topbar h1{font-size:18px}.today{display:none}.content{padding:19px 14px}.welcome{padding:20px;align-items:flex-start;gap:14px;flex-direction:column}.welcome h2{font-size:19px}.stat-grid{gap:10px;margin:14px 0}.stat-card{padding:14px;min-height:115px}.stat-card strong{font-size:19px}.stat-icon{width:26px;height:26px;right:12px;top:12px}.group-grid{grid-template-columns:1fr}.page-actions{gap:10px;align-items:flex-start}.page-actions .btn{padding:9px}.register-summary{gap:12px;align-items:flex-start;flex-direction:column}.register-legend{flex-wrap:wrap}.register-legend small{width:100%;margin:0}.panel{padding:14px}.register-panel{padding:0}.footer span{float:none;display:block;margin-top:5px}}@media(max-width:420px){.stat-grid{grid-template-columns:1fr 1fr}.stat-card strong{font-size:17px}.modal-grid{grid-template-columns:1fr}.page-actions h2{font-size:15px}}
/* Client-first responsive refinements */
:root{--safe-bottom:env(safe-area-inset-bottom,0px)}.app-shell{min-height:100vh}.main{min-width:0}.content{width:100%;max-width:1800px}.panel,.stat-card,.group-card{min-width:0}.table-wrap{max-width:100%;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:760px}.money-good{color:#16865f;font-weight:700}.money-pending{color:#c84b5c;font-weight:700}.compact-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-8px}.profile-head{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:18px}.profile-head h2{font:800 23px Manrope;margin:6px 0}.profile-head p{font-size:12px;color:#7f899b;margin:0}.chit-card{border:1px solid #e8ecf3;border-radius:12px;padding:16px;margin:12px 0}.chit-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.chit-card-head b{display:block;font:700 14px Manrope}.chit-card-head small{display:block;color:#8993a4;font-size:11px;margin-top:5px}.chit-progress{height:7px;background:#edf0f5;border-radius:20px;margin:15px 0 8px;overflow:hidden}.chit-progress span{display:block;height:100%;background:#5869e8;border-radius:20px}.chit-meta{display:flex;justify-content:space-between;gap:12px;color:#7e899b;font-size:11px;margin-bottom:12px}.weekly-table{min-width:850px!important}.weekly-table th,.weekly-table td{padding:10px 9px}.weekly-table .btn{padding:7px 10px}.page-actions,.panel-head{min-width:0}.btn,.icon-btn{touch-action:manipulation;min-height:38px}
@media(min-width:1500px){.content{padding-left:48px;padding-right:48px}.stat-grid{gap:20px}.panel{padding:24px}.welcome{padding:34px}.table-wrap table{font-size:13px}th,td{padding:14px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:sticky;top:0;z-index:15;width:100%;height:auto;min-height:0;padding:9px 12px;display:flex;align-items:center;gap:12px;background:#111827}.brand{margin:0;flex-shrink:0}.brand-mark{width:34px;height:34px}.brand>span:last-child{display:block}.brand small{display:block}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;flex:1;overflow-x:auto;gap:5px;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.sidebar nav a,.sidebar nav a.active{font-size:11px;white-space:nowrap;padding:9px 10px;display:flex;gap:6px;border-radius:8px}.sidebar nav a span{font-size:14px}.sidebar nav a:not(.active){color:#c2c9d7}.main{margin:0}.topbar{height:auto;min-height:68px;padding:10px 15px}.topbar h1{font-size:18px}.content{padding:15px 12px calc(22px + var(--safe-bottom))}.welcome{padding:19px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px;min-height:100px}.stat-card strong{font-size:19px;overflow-wrap:anywhere}.stat-card small{max-width:85%}.two-col{grid-template-columns:1fr}.panel{padding:14px}.page-actions{flex-wrap:wrap}.page-actions>div{min-width:0;flex:1}.profile-head{padding:16px;align-items:flex-start;flex-direction:column}.profile-head .btn{width:100%}.chit-card{padding:11px}.chit-meta{flex-wrap:wrap}.table-wrap table{min-width:720px}.weekly-table{min-width:850px!important}.modal{padding:10px;align-items:flex-end}.modal-card{max-height:90dvh;border-radius:16px 16px 10px 10px;padding:18px}.footer{padding-bottom:8px}}
@media(max-width:420px){.sidebar{gap:7px;padding:8px}.brand>span:last-child{display:none}.sidebar nav a,.sidebar nav a.active{padding:9px 8px;font-size:10px}.sidebar nav a span{display:none}.top-actions{gap:8px}.topbar{padding:9px 12px}.stat-card strong{font-size:16px}.compact-stats{grid-template-columns:1fr 1fr}.chit-card-head{flex-direction:column}.page-actions .btn{width:100%}}
@media(min-width:761px) and (max-width:1100px){.sidebar{width:205px}.main{margin-left:205px}.content{padding:24px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-head{align-items:flex-start}}
.profile-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:760px){.profile-actions{width:100%}.profile-actions .btn{flex:1}}

/* Spreadsheet-first register */
.sheet-table{min-width:1650px!important;border-collapse:separate;border-spacing:0;font-family:Arial,sans-serif;font-size:12px}.sheet-table th,.sheet-table td{border-right:1px solid #e2e7ed;border-bottom:1px solid #e2e7ed;padding:6px 5px;text-align:center}.sheet-table thead th{position:sticky;top:0;z-index:3;background:#eaf1e8;color:#354a35;text-transform:none;font-size:11px;letter-spacing:0;font-weight:700}.sheet-table .sticky-client{min-width:170px;max-width:190px;text-align:left;background:#f7faf7;z-index:2}.sheet-table thead .sticky-client{z-index:4;background:#dfeadd}.sheet-table tbody tr:nth-child(even) td{background:#fbfcfb}.sheet-table tbody tr:nth-child(even) .sticky-client{background:#f4f8f3}.sheet-table .week-cell{margin:auto;min-width:65px;min-height:42px;padding:5px 3px;border:1px solid #e3e8e2;border-radius:3px}.sheet-table .week-cell b{font-size:9px;letter-spacing:.2px}.sheet-table .week-cell small{font-size:9px}.danger-btn{background:#fff0f1;color:#b83e4d;border:1px solid #f4cbd0}.register-scroll{max-height:72vh;overflow:auto}.sidebar nav{max-height:calc(100vh - 220px);overflow-y:auto}.sidebar nav a{font-size:12px}.sidebar nav a span{font-size:16px}
@media(max-width:760px){.sidebar nav{max-height:none}.sidebar nav a{font-size:11px}.sheet-table{min-width:1550px!important}.register-scroll{max-height:70vh}.sheet-table .sticky-client{min-width:135px}.sheet-table .week-cell{min-width:60px}}

/* ChitFlow refinement: modern spreadsheet register + mobile workspace */
.register-toolbar{display:flex;align-items:stretch;justify-content:space-between;gap:14px;margin:14px 0 16px;flex-wrap:wrap}
.register-toolbar .register-summary{flex:1;margin:0;min-width:260px;background:linear-gradient(120deg,#172554,#263d78);color:#fff;border:1px solid #30477e;border-radius:16px;padding:17px 20px;box-shadow:0 10px 26px rgba(25,45,91,.12)}
.register-toolbar .register-summary small{display:block;color:#c6d3ef;font-size:11px;margin-top:5px;line-height:1.5}
.register-total{margin-left:auto;text-align:right;align-self:center;white-space:nowrap}.register-total b{display:block;font-size:21px;color:#fff;margin-top:3px}.register-search{width:min(330px,100%);align-self:center;min-height:44px;border-radius:11px;border:1px solid #dfe5ef;background:#fff;padding:0 14px;box-shadow:0 4px 15px rgba(25,35,60,.04)}
.register-panel{border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 8px 30px rgba(25,35,60,.055)}
.register-scroll{max-height:calc(100vh - 300px);min-height:260px;overscroll-behavior:contain;scrollbar-color:#aab6c9 #f1f4f8;scrollbar-width:thin}
.sheet-table{min-width:1780px!important;font-size:12px!important;border-collapse:separate!important;border-spacing:0!important;background:#fff}
.sheet-table th,.sheet-table td{padding:9px 7px!important;border-right:1px solid #e8edf3!important;border-bottom:1px solid #e8edf3!important;vertical-align:middle}
.sheet-table thead th{top:0;background:#edf3ff!important;color:#33466c!important;height:46px;font-size:11px!important;letter-spacing:.25px!important;text-transform:uppercase!important;box-shadow:0 2px 5px rgba(30,50,80,.04)}
.sheet-table .sticky-client{position:sticky;left:0;min-width:190px;max-width:210px;background:#f8faff!important;text-align:left!important;z-index:2;font-weight:700}
.sheet-table thead .sticky-client{z-index:5;background:#e2eaff!important}
.sheet-table tbody tr:hover td{background:#f5f8ff!important}.sheet-table tbody tr:hover .sticky-client{background:#edf3ff!important}
.sheet-table .week-cell{width:100%;min-width:76px;min-height:66px;border:1px solid #e3e9f2!important;border-radius:10px!important;padding:7px 4px!important;gap:4px!important;box-shadow:0 2px 5px rgba(25,35,60,.035);transition:transform .15s,box-shadow .15s,border-color .15s}
.sheet-table .week-cell b{font-size:10px!important;font-weight:800;letter-spacing:.55px}.sheet-table .week-cell small{font-size:9px!important;line-height:1.25;white-space:nowrap}
.sheet-table .week-cell.pending{background:linear-gradient(160deg,#fff7f7,#ffeded)!important;color:#b54757!important;border-color:#f4d6db!important}
.sheet-table .week-cell.paid{background:linear-gradient(160deg,#effbf5,#e1f6eb)!important;color:#147a55!important;border-color:#ccebd9!important}
.sheet-table .week-cell.rescheduled{background:linear-gradient(160deg,#fff9ec,#fff0d4)!important;color:#986316!important;border-color:#f2dfb8!important}
.sheet-table .week-cell:hover{transform:translateY(-2px);box-shadow:0 7px 15px rgba(25,35,60,.1);border-color:#9aadd2!important}
.sheet-table .subcell{font-weight:500;color:#8792a5}.register-actions{display:flex;gap:6px;align-items:center}.register-actions form{margin:0}.register-actions .btn{font-size:10px;padding:7px 9px;min-height:32px;white-space:nowrap}
.register-legend{background:#fbfcfe;padding:14px 18px!important;font-size:11px!important}.register-legend small{font-size:10px}
.chit-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chit-head-actions form{margin:0}.chit-head-actions .btn{min-height:32px;padding:7px 10px;font-size:10px}
.danger-btn{border-radius:8px!important;font-weight:700!important}

/* Readable mobile navigation: brand row + two rows of module shortcuts */
@media(max-width:760px){
 .sidebar{position:sticky;top:0;display:block!important;width:100%!important;height:auto!important;min-height:0!important;padding:10px 12px 9px!important;z-index:30;box-shadow:0 5px 18px rgba(10,20,40,.16)}
 .brand{display:flex!important;margin:0 0 10px!important;gap:9px}.brand>span:last-child{display:block!important}.brand small{display:block!important}
 .sidebar nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important;width:100%;overflow:visible!important;max-height:none!important}
 .sidebar nav a,.sidebar nav a.active{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:0;padding:7px 3px!important;min-height:49px;border:1px solid rgba(255,255,255,.08);border-radius:9px!important;font-size:10px!important;line-height:1.15;text-align:center;white-space:normal!important;color:#d6deed!important;background:rgba(255,255,255,.035)}
 .sidebar nav a span,.sidebar nav a.active span{display:block!important;font-size:16px!important;line-height:1.1}
 .sidebar nav a.active{background:#34466c!important;border-color:#7186b5!important;color:#fff!important;font-weight:700}
 .nav-count{display:none!important}.sidebar-bottom{display:none!important}
 .main{margin:0!important;min-width:0}.topbar{position:relative;padding:11px 14px!important;min-height:66px}.topbar h1{font-size:18px!important}.top-actions{gap:8px}.today{display:none}
 .content{padding:14px 11px calc(24px + var(--safe-bottom))!important}
 .register-toolbar{display:block}.register-toolbar .register-summary{min-width:0;padding:14px;border-radius:13px}.register-total{margin:10px 0 0;text-align:left}.register-total b{font-size:19px}.register-search{width:100%;margin-top:10px}
 .register-scroll{max-height:68vh;min-height:220px}.sheet-table{min-width:1660px!important}.sheet-table .sticky-client{min-width:150px!important;max-width:150px!important}.sheet-table .week-cell{min-width:70px;min-height:62px}
 .register-legend{gap:10px;padding:12px!important}.register-legend small{width:100%;margin:0}
 .profile-head{gap:12px}.chit-head-actions{width:100%;justify-content:space-between}.chit-head-actions form{margin-left:auto}
}
@media(max-width:390px){.sidebar{padding:8px 9px!important}.sidebar nav{gap:4px!important}.sidebar nav a,.sidebar nav a.active{font-size:9px!important;min-height:46px;padding:6px 2px!important}.sidebar nav a span{font-size:15px!important}.brand b{font-size:14px}.brand small{font-size:9px}.topbar h1{font-size:16px!important}.register-total b{font-size:17px}}
@media(min-width:761px) and (max-width:1100px){.register-toolbar .register-summary{min-width:300px}.register-search{width:260px}.sheet-table{min-width:1750px!important}}
@media(min-width:1500px){.register-scroll{max-height:calc(100vh - 320px)}.sheet-table .week-cell{min-height:70px}.register-toolbar .register-summary{padding:21px 24px}}
