:root{--bg:#121017;--c:#1c1924;--b:#302a3b;--m:#aaa2b8;--p:#ae82fa;--l:#30213f;--sh:none;--space:16px}
body{font-family:Arial,sans-serif;font-size:14px}.top{height:64px;padding:0 24px}.shell{margin-top:64px;grid-template-columns:232px minmax(0,1fr)}.side{top:64px;height:calc(100dvh - 64px);padding:16px 12px;gap:4px}.side-label{padding:8px 12px;margin-bottom:8px}.side .nav,.navgroup summary{font-size:14px!important;min-height:42px;font-weight:400;line-height:1.4;padding:10px 12px;border-radius:8px}.navgroup{margin:0!important;padding:0!important;border:0!important}.navgroup summary{display:flex;justify-content:space-between;gap:8px}.navgroup summary::before{content:none}.navgroup summary::after{content:'›';font-size:20px;color:var(--m);line-height:1;transform:rotate(0)}.navgroup[open] summary::after{transform:rotate(90deg)}.side .navgroup .nav{margin:2px 0 2px 12px!important;width:calc(100% - 12px)!important;padding-left:16px;font-size:13px!important;border-left:1px solid var(--b);border-radius:0 7px 7px 0}.side .navgroup .nav.active{border-left-color:var(--p)}.navgroup[open] summary{font-weight:500}.side-note{display:none}.main{padding:24px}.head{margin:0 0 16px;align-items:center;gap:16px}.head h1{font-size:25px;font-weight:600;letter-spacing:-.03em}.head #subtitle{display:none}.search{width:240px}.btn,input,select{min-height:40px;height:40px;border-radius:8px}.btn{padding:0 14px;font-weight:500}.iconbtn{border-radius:7px}.btn.primary{background:#9964e7;border-color:#9964e7}.btn.primary:hover{background:#aa78ef}.card{padding:16px;border-radius:12px}.card h2{font-size:18px}.cardhead{margin-bottom:16px}.inventory-tabs,.section-tabs,.toolbar{gap:12px;margin-bottom:16px}.toolbar{display:flex;align-items:center;flex-wrap:wrap}.toolbar>input[type=month]{width:180px}.toolbar>label{margin:0;min-width:160px}.toolbar>span:first-child{color:var(--m);margin-right:auto}.group-toolbar{margin:0 0 16px;padding:12px 16px;gap:16px;align-items:center}.group-toolbar>label{display:flex;gap:12px;align-items:center;min-width:240px}.group-toolbar select{width:200px}.group-toolbar details{padding:0;margin:0}.group-toolbar summary{font-size:13px}.group-toolbar .group-controls{margin:12px 0 0}.card+.card{margin-top:16px}.tablewrap{margin:0}table{font-size:13px}th,td{padding:12px 14px}th{font-size:11px;letter-spacing:.02em;border-bottom:1px solid var(--b);color:var(--m)}td{height:56px}tbody tr:hover{background:#ffffff03}td .btn{min-height:32px;height:32px;font-size:12px}.empty{min-height:100px;height:auto;padding:24px;color:var(--m)}.dish-group{margin:0 0 16px;border:1px solid var(--b);border-radius:12px;padding:0;background:var(--c);overflow:hidden}.dish-group>summary{padding:14px 16px;font-size:14px;font-weight:600;color:var(--t);background:#ffffff02}.dish-group>summary>span{color:var(--m);font-size:12px;margin-left:8px}.dish-group table{min-width:780px}.dish-group th:first-child{width:28%}.modal{padding:24px;border-radius:14px}.modalhead{margin-bottom:20px}.modalhead h2{font-size:21px}.modal .hint{font-size:12px}.modal p:not(.step-caption):not(#dishCost){line-height:1.5}.modal label{font-size:12px;margin-bottom:16px}.modal .formgrid{gap:0 16px}.modal .check{margin-bottom:12px}.modal .check input{height:18px;min-height:18px;width:18px}.inventory-dialog .inventory-tabs{background:var(--c);padding-top:0}.catalog-group-field .group-controls input{min-width:0}.schedule-wrap{max-height:65vh}.schedule-table{font-size:11px}.schedule-table th:first-child,.schedule-table td:first-child{position:sticky;left:0;z-index:2;background:var(--c);min-width:180px}.schedule-table th{position:sticky;top:0;background:var(--c);z-index:1}.schedule-table td,.schedule-table th{padding:6px;white-space:nowrap;text-align:center;min-width:56px}.schedule-table td:first-child{text-align:left}.schedule-table small{display:block;font-size:10px;margin-top:3px;color:var(--m)}.shift-cell{width:48px;min-height:52px;border-radius:7px;background:transparent;color:#6d637c;font-size:11px;line-height:1.6}.shift-cell:hover{background:var(--l);color:var(--p)}.shift-cell.filled{background:#30213f;color:#dbbcff}.adjustment-list>div{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--b);font-size:12px}.adjustment-list small{display:block;color:var(--m);margin-top:6px}.choice-list{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;margin:16px 0}.combo-line,.cart-line{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) 32px;gap:12px;align-items:center}.import-mapping{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}.file-picker{position:relative;border:1px solid var(--b);padding:12px;border-radius:8px;cursor:pointer}.file-picker input{width:100%;font-size:12px}.purchase-kpis{gap:16px}.toolbar+.tablewrap{margin-top:0}input:focus-visible,select:focus-visible{outline:none;box-shadow:0 0 0 2px #ae82fa44;border-color:var(--p)}button:focus-visible,summary:focus-visible{outline:2px solid var(--p);outline-offset:2px}
@media(max-width:1000px){.main{padding:20px}.import-mapping{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.shell{display:block}.side{top:64px;height:calc(100dvh - 64px);width:232px;left:-250px}.side.open{left:0}.top{padding:0 16px}.main{padding:16px}.head h1{font-size:23px}.head{display:block}.tools{margin-top:12px}.search{width:100%}.toolbar{gap:10px}.modal{padding:18px}.choice-list{grid-template-columns:1fr}.import-mapping{grid-template-columns:1fr}.group-toolbar>label{min-width:0;width:100%}.group-toolbar select{width:auto;flex:1}.group-toolbar details{width:100%}.section-tabs .btn{flex:1}.document-fields>label{gap:8px}.schedule-table td:first-child,.schedule-table th:first-child{min-width:150px}.topend{gap:8px}}

.payroll-summary{margin-top:20px;border-top:1px solid var(--b)}.payroll-summary th:last-child,.payroll-summary td:last-child{text-align:right}.modal p.hint:not(#dishCost){display:none}.cardhead:empty{display:none}

.record-toolbar{justify-content:flex-start;padding:12px 0;margin-bottom:12px}.record-toolbar .btn:last-child{margin-left:auto}td:has(>[data-record-check]),th:has(>[data-record-all]){width:36px;padding:8px}.record-toolbar input,[data-record-check],[data-record-all]{width:17px;height:17px;min-height:17px;padding:0;accent-color:var(--p)}.deleted-row{background:#733a3a18;color:var(--m)}.deleted-row td s{color:#d4a6ae}.form-actions .danger{margin-right:auto}.record-toolbar+.section-tabs{display:none}.dish-group td:last-child{white-space:nowrap}#recordBulk select{margin-bottom:16px}@media(max-width:760px){.record-toolbar{gap:8px}.record-toolbar .btn{font-size:11px}.record-toolbar .btn:last-child{margin-left:0}}

.sortable-record{cursor:grab}.sortable-record:active{cursor:grabbing}.record-toolbar .danger{color:var(--r)}

.record-groups{background:transparent!important;border:0!important;padding:0!important}.record-group-list>.dish-group:last-child{margin-bottom:0}
