:root{--brand:var(--business-accent,#92113e);--brand-dark:var(--business-accent-dark,#6d0d30);--ink:#172033;--muted:#667488;--line:#e4e8ef;--surface:#fff;--canvas:#f4f6fa;--shadow:0 3px 14px #25304706;color-scheme:light}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--canvas);color:var(--ink);line-height:1.45;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b9597b;outline-offset:3px}button:disabled{cursor:default;opacity:.5}
.side{width:238px;padding:20px 15px;background:linear-gradient(165deg,var(--business-side-start,#780c32) 0%,var(--business-side-end,#580924) 100%);border-right:1px solid #ffffff18;box-shadow:4px 0 20px #3d0a1908}
.side .brand{padding:12px 10px;background:#fff;border-radius:10px;margin:0 5px 20px}.side .brand img{width:100%;height:auto;max-height:64px;object-fit:contain;filter:none!important;mix-blend-mode:normal!important}
.menu{padding-right:4px}.menu-link{font-size:14px;font-weight:500;min-height:42px;padding:9px 11px;margin:3px 0;border-radius:8px;gap:11px;transition:background .16s}.menu-link.active{background:#ffffff1f;box-shadow:inset 3px 0 #fff;color:#fff}.menu-link:hover{background:#ffffff16}.menu-icon{width:19px;height:19px;opacity:.94}.offline{margin:16px 5px 0;padding-top:14px;font-size:12px;color:#f0dbe4}.offline small{color:#d3a7b8}
.main{margin-left:238px;padding:28px 30px;min-width:0;max-width:1800px}.top{min-height:84px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--line);align-items:center;gap:16px}.page-eyebrow{font-size:11px;font-weight:600;letter-spacing:.07em;color:var(--muted);margin:0 0 5px}.page-heading h1{font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:0 0 9px}.page-meta{display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:12px;color:var(--muted)}.page-meta time{font-variant-numeric:tabular-nums}.user-name{font-weight:500}.page-meta time:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#a1abba;margin-right:12px;vertical-align:middle}
.top-actions{gap:10px}.logout-btn{margin:0;border:1px solid var(--line);border-radius:9px;background:white;width:42px;height:42px;box-shadow:var(--shadow)}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;font-weight:600;font-size:13px;line-height:1.25;padding:10px 16px;border-radius:8px;background:var(--brand);box-shadow:0 2px 5px #92113e13;text-decoration:none}.btn:hover{background:var(--business-accent-hover,#7d0d35)}.navbtn{min-height:36px;padding:8px 11px;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-size:13px;background:#fff;line-height:1.2}.navbtn:hover{background:var(--business-accent-hover-tint,#f8edf2);border-color:var(--business-accent-border,#e1c5d0)}
.card,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:18px}.panel{min-width:0}.panel h2{font-size:17px;font-weight:650;margin:0 0 14px;letter-spacing:-.15px}.panel p{font-size:14px}.cards{gap:13px;margin:18px 0}.card{font-size:13px;color:#596477;text-align:left}.card b{font-size:25px;line-height:1.2;font-weight:700;letter-spacing:-.5px;color:var(--ink);margin-top:9px;font-variant-numeric:tabular-nums}.card.status-positive{border-color:#bedfc8;background:#e6f6eb!important}.card.status-negative{border-color:#efcaca;background:#fde9e9!important}.summary-card:hover{transform:none;box-shadow:0 4px 16px #92113e0a}.summary-card.active{border:1px solid #bd7893;box-shadow:inset 0 0 0 1px #bd7893;background:#fff5f9}
.summary-grid{gap:16px;margin-top:0;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.summary-grid>.panel>h2{padding-bottom:12px;border-bottom:1px solid #edf0f5;color:#263145}.summary-grid>.panel>h2:before{content:"";display:inline-block;width:4px;height:15px;border-radius:2px;background:var(--brand);margin-right:9px;vertical-align:-2px}.summary-grid b{font-size:24px;margin:10px 0}.summary-grid>.panel:not(.dashboard-payments):not(.dashboard-turnover) p{margin:7px 0;font-size:13px}.summary-grid>.panel>a{margin-top:12px}.turnover-chart-section h3{font-size:13px;font-weight:500;color:var(--muted);margin:0 0 12px}.turnover-chart-wrap svg{width:100%;aspect-ratio:2/1}.turnover-chart-tooltip{border-color:var(--line);border-radius:10px;box-shadow:0 8px 25px #17203317;line-height:1.45}.turnover-chart-tooltip strong{font-size:13px}.ciro-stack-legend{font-size:12px;gap:15px;min-height:20px;margin-top:9px}.ciro-stack-legend i{width:14px;height:14px;min-width:14px;min-height:14px;flex-basis:14px}
.toolbar{margin:14px 0;gap:8px}.toolbar input,.toolbar select,.form-field input,.form-field select,.form-field textarea,.login-box input{border:1px solid #dce2eb;border-radius:7px;padding:10px 11px;background:#fff;color:var(--ink);font-size:14px;min-height:40px}.form-field>span:first-child{font-size:13px;font-weight:600;color:#49566a;margin-bottom:7px}.form-field{margin:14px 0}.date-pair{gap:7px}.date-pair .date-input{font-variant-numeric:tabular-nums}.date-pair .native-date{border:1px solid #dce2eb;border-radius:7px;background:#fafbfd;width:40px;height:40px;min-width:40px}.form-field .date-pair .native-date{width:44px;flex:0 0 44px}.muted{font-size:13px;color:var(--muted)}.notice{font-size:14px;border:1px solid #bfdfca;border-radius:9px}.notice.error{border-color:#ebc3c3}
.layout,.cash-grid,.sheet-grid{gap:16px;align-items:start}.payment-layout>.panel{padding:16px}.calhead{gap:10px;margin-bottom:12px}.calhead .monthtitle{font-size:17px;font-weight:650}.calnav{gap:6px}.calnav button{min-width:34px}.weekday{font-size:11px;color:#718095;padding:7px 2px}.calendar{background:#edf0f5;border-color:#e5e9f0;gap:1px;border-radius:9px;overflow:hidden;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar .day{min-width:0;background:#fff;padding:7px;color:#344055;font-size:13px;min-height:83px;display:flex;flex-direction:column;justify-content:flex-start}.calendar .day>strong{display:inline-grid;place-items:center;align-self:flex-start;flex:0 0 28px;width:28px;height:28px;line-height:1;font-weight:600;margin:0}.calendar .day.other{background:#fafbfd;color:#a0a8b5}.calendar .day.today strong{background:var(--brand);color:#fff;border-radius:50%}.calendar .day.selected{outline:2px solid var(--business-accent-outline,#ad436a);outline-offset:-2px}.calendar .day.payments-pending{background:#fde9e9}.calendar .day.payments-complete{background:#e6f6eb}.calendar .day.saved{background:var(--business-accent-soft,#fff2f7)}.calendar .dot{font-size:11px;line-height:1.35;margin-top:6px;color:var(--business-accent-text,#8d2447);overflow-wrap:anywhere}.calendar .day:hover{filter:brightness(.98)}
.pay{border:1px solid var(--line);border-radius:9px;padding:12px;margin:8px 0;box-shadow:none}.payhead{font-size:14px;line-height:1.35}.payhead b{font-weight:650}.pay>small{font-size:12px;color:#667488}.payment-status-line{gap:7px;margin-top:7px}.status{font-size:11px;padding:4px 8px;font-weight:500;background:#fff0cf;color:#805d13}.status.paid{background:#d3eddd;color:#2a7049}.pay.payment-paid{background:#e6f6eb;border-color:#bfdfcb}.pay.payment-overdue{background:#fde9e9;border-color:#edc9c9}.payment-actions{margin-top:8px}.payment-actions button{font-size:12px;padding:6px 8px;border-radius:6px;background:#ffffff9c;border:1px solid #17203312}.pagination{gap:6px;margin:14px 0 0}.pagination .current{background:var(--brand);border-color:var(--brand)}
.data-table{font-size:13px}.data-table th{background:#f6f8fb;color:#667488;font-size:12px;font-weight:600;padding:11px 12px;border-bottom:1px solid #dfe5ee}.data-table td{padding:9px 12px;border-bottom:1px solid #edf0f5;line-height:1.4}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fafbfd}.table-wrap{border-radius:8px}.table-wrap:focus-visible{outline-offset:2px}.data-table .actions{gap:6px;align-items:center}.data-table .actions button{font-size:12px;padding:7px 9px;border-radius:6px;border:1px solid var(--line);background:#fff;color:#49556a;min-height:30px}.data-table .actions button:hover{background:var(--business-accent-hover-tint,#f8edf2);color:var(--brand)}.compact-lists .panel{padding:12px 16px}.compact-lists .data-table th,.compact-lists .data-table td{padding:8px 10px}
.cash-devir-layout .cash-rows{margin:16px 0;border-radius:8px}.cash-devir-layout .cash-rows td,.cash-devir-layout .cash-rows th{border-color:#d4dce7;padding:10px}.cash-devir-layout .cash-rows th{font-size:15px;background:#fbf0f5;color:#7d2143}.cash-devir-layout .cash-rows td:first-child{color:#586477;font-size:13px}.cash-devir-layout .cash-rows input{border-color:#dce2eb;border-radius:6px;font-variant-numeric:tabular-nums}.cash-devir-layout .cash-rows input:read-only{border-color:transparent}.cash-devir-layout .cash-rows input.zero-amount{color:#8a929e}.cash-devir-layout .cash-rows textarea{font-size:14px;border-color:#dce2eb}.cash-hint{font-size:13px!important}.shift-summary{background:#f7f9fc!important;border-color:var(--line)!important}.cash-devir-layout .shift-summary strong{font-size:18px}.turnover-summary{background:#fff5f9!important;border-color:#ebd6df!important}.turnover-summary time{font-size:14px}.turnover-summary output{font-size:21px}.ledger-table td{padding:5px 7px}.ledger-table input{font-size:14px;background:transparent}.ledger-total{border:1px solid #ecd6df;border-radius:8px;background:#fff4f8}.ledger-note{font-size:12px}.label-value strong{font-variant-numeric:tabular-nums}
.schedule{table-layout:fixed}.schedule th:first-child{width:140px}.schedule th{position:sticky;top:0;z-index:1}.schedule .person-tag{background:#e6f4eb;border:1px solid #c4e1cd;font-size:13px;padding:6px 8px;border-radius:6px}.schedule tr.selected-shift-day>td,.schedule tr.selected-shift-day:hover>td{background:#fff8d6}.schedule tr.selected-shift-day>td:first-child{box-shadow:inset 3px 0 #d5aa30}.schedule .weekend:not(.selected-shift-day){background:#faf7f9}.icon-btn{width:32px;height:32px;border:1px solid var(--line);border-radius:6px;background:white}.icon-btn:hover{background:var(--business-accent-soft,#fff2f7)}.person-tags{gap:6px}.permissions{border-color:var(--line);padding-top:16px}.permission-row{border-bottom:1px solid #edf0f5;padding:8px 0}.permission-row strong{font-size:13px}.permission-row label{font-size:13px}.check input[type=checkbox],.permission-row input[type=checkbox]{accent-color:var(--brand)}
dialog{padding:24px;border:1px solid #e6e9ef;border-radius:14px;box-shadow:0 20px 90px #17203330;width:min(620px,94vw);max-height:90dvh}dialog::backdrop{background:#16203466;backdrop-filter:blur(3px)}dialog h2{font-size:22px;letter-spacing:-.4px;border-bottom:1px solid var(--line);padding-bottom:14px;margin:0 0 16px}dialog .toolbar{gap:8px;border-top:1px solid var(--line);padding-top:15px;margin-top:20px;margin-bottom:0}.check-list{padding:4px;max-height:330px}.check-list .check{font-size:14px;padding:6px 0;border-bottom:1px solid #edf0f5}.check-list .qty{padding:8px;border:1px solid #dce2eb;border-radius:6px}.login-wrap{background:radial-gradient(ellipse at 50% 20%,#f5e9ef 0%,#f4f6fa 65%);min-height:100dvh}.login-box{max-width:420px;border-radius:14px;padding:32px;box-shadow:0 12px 50px #4911260b;border-color:#e5e8ef}.login-brand{background:white;margin-bottom:27px;padding:0}.login-brand img{filter:none!important;mix-blend-mode:normal!important}.login-box h1{font-size:28px;margin-bottom:24px;letter-spacing:-.5px}.login-box label{font-size:13px;font-weight:600;color:#5a6577}.login-box input{font-size:15px;margin:7px 0 16px}.login-box .btn{width:100%;margin-top:5px;min-height:43px}
@media(min-width:1500px){.main{padding-left:38px;padding-right:38px}.calendar .day{min-height:90px}}
@media(max-width:1150px) and (min-width:701px){.side{width:210px;padding:18px 12px}.main{margin-left:210px;padding:24px 20px}.menu-link{font-size:13px;padding-left:9px}.payment-layout,.cash-devir-layout,.sheet-grid,.cash-grid{grid-template-columns:1fr}.summary-grid{gap:13px}.status-cards,.turnover-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule{min-width:740px}}
@media(max-width:700px){
.side{position:relative;top:auto;width:100%;height:auto;padding:12px 14px;border:0;box-shadow:none}.side .brand{width:175px;max-width:80%;margin:0 0 10px;padding:9px 10px}.side .brand img{max-height:42px}.mobile-menu-toggle{font-size:14px;min-height:44px;padding:11px 12px;border-radius:8px;background:#ffffff13}.side .menu{max-height:280px;margin-top:9px;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.menu-link{font-size:13px;min-height:44px;margin:0;padding:10px 9px}.side .offline{display:none}.main{margin-left:0;width:100%;padding:17px 14px 28px}.top{min-height:0;padding-bottom:15px;margin-bottom:16px;gap:12px;align-items:center}.page-eyebrow{display:none}.page-heading h1{font-size:23px;margin-bottom:7px}.page-meta{font-size:12px;gap:9px}.page-meta time:before{margin-right:8px}.top-actions{gap:7px}.top-actions .btn{font-size:12px;padding:10px 11px;min-height:44px}.logout-btn{width:44px;height:44px;flex-shrink:0}.btn,.navbtn{min-height:44px}.btn{font-size:14px}.panel,.card,.payment-layout>.panel{padding:14px;border-radius:10px}.panel h2{font-size:16px}.summary-grid{grid-template-columns:1fr;gap:13px}.cards{gap:10px;margin:15px 0}.status-cards,.turnover-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{font-size:12px}.card b{font-size:22px;margin-top:8px}.summary-grid>.panel>h2{margin-bottom:12px}.summary-grid b{font-size:22px}.turnover-chart-wrap{overflow-x:auto}.turnover-chart-wrap svg,.dashboard-payments .turnover-chart-wrap svg{min-width:0;width:100%;aspect-ratio:2/1}.turnover-chart-tooltip,.dashboard-payments .payment-bars-tooltip{max-width:95%;max-height:230px;font-size:12px}.ciro-stack-legend{gap:13px;font-size:12px}.layout,.cash-grid,.sheet-grid,.payment-layout,.cash-devir-layout{grid-template-columns:minmax(0,1fr);gap:13px}.calhead .monthtitle{font-size:16px}.calnav button{min-width:44px}.calendar .day,.payment-layout .calendar .day{min-height:80px;padding:5px}.calendar .day>strong,.payment-layout .calendar .day>strong{width:27px;height:27px;flex-basis:27px;font-size:13px}.calendar .dot,.payment-layout .calendar .dot{font-size:10px;line-height:1.35;margin-top:5px}.weekday{font-size:10px}.pay,.payment-layout .pay{padding:12px;margin:8px 0}.payhead{font-size:14px;gap:8px}.pay>small{font-size:12px}.payment-status-line small{font-size:12px}.payment-actions button,.payment-layout .payment-actions button{min-height:44px;padding:8px 10px;font-size:13px}.pagination .navbtn{min-width:44px;min-height:44px}.toolbar{gap:7px;margin:12px 0}.toolbar input,.toolbar select,.form-field input,.form-field select,.form-field textarea,.cash-devir-layout .cash-rows input,.login-box input{font-size:16px;min-height:44px}.date-pair .native-date{width:44px;height:44px}.form-field{margin:13px 0}.form-field .date-pair .date-input{width:100%;min-width:0}.cash-devir-layout .cash-rows th{font-size:14px}.cash-devir-layout .cash-rows td{padding:8px 6px}.cash-devir-layout .cash-rows td:first-child{font-size:12px;width:48%}.cash-devir-layout .cash-rows textarea{font-size:16px}.cash-devir-layout .shift-summary{padding:12px}.cash-devir-layout .shift-summary strong{font-size:17px}.cash-devir-layout .shift-summary .label-value{font-size:13px}.turnover-summary{padding:12px!important}.turnover-summary output{font-size:20px}.label-value{gap:8px;flex-wrap:wrap}.compact-lists .panel{padding:10px}.data-table{font-size:13px;min-width:480px}.compact-lists .data-table th,.compact-lists .data-table td{padding:8px}.data-table .actions button,.compact-lists .data-table .actions button{min-height:44px;font-size:13px;padding:8px 10px}.data-table .actions{gap:5px}.schedule{min-width:670px}.schedule th:first-child{width:120px}.person-tag{font-size:12px!important}.icon-btn{min-width:44px;min-height:44px;width:44px;height:44px}.ledger-table{min-width:360px}.ledger-table input{font-size:16px}.check input[type=checkbox],.permission-row input[type=checkbox]{min-width:20px;min-height:20px;accent-color:var(--brand)}.permission-row label{min-height:44px}.permission-row strong{width:100%}.check-list .check{min-height:44px}.check-list .qty{font-size:16px;width:90px;min-height:44px}.order-edit-list .qty{flex-basis:90px}.login-wrap{padding:18px}.login-box{padding:26px;max-width:420px}.login-box h1{font-size:25px}.login-box .btn{min-height:46px}.login-box label{font-size:14px}dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:20px;border-radius:12px;overflow:auto}dialog h2{font-size:21px}dialog .toolbar{position:sticky;bottom:-20px;background:white;padding:13px 0;z-index:2}dialog .toolbar .btn,dialog .toolbar .navbtn{flex:1}
}
@media(max-width:380px){.main{padding:14px 10px}.top{align-items:flex-start}.top-actions{margin-left:auto}.page-heading h1{font-size:21px}.status-cards,.turnover-cards{grid-template-columns:1fr}.side .menu{grid-template-columns:1fr}.payment-layout>.panel{padding:10px}.calendar .dot,.payment-layout .calendar .dot{font-size:9px}.calendar .day,.payment-layout .calendar .day{min-height:76px}.card b{font-size:23px}.login-box{padding:22px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.side,.top-actions,.page-eyebrow,.page-meta,.toolbar,.actions,.mobile-menu-toggle{display:none!important}.main{margin:0;padding:0}.panel,.card{box-shadow:none;border:0}.table-wrap{overflow:visible}.data-table{min-width:0}.top{border:0}.btn{box-shadow:none}}
.form-field .date-pair{display:flex;align-items:center;flex-wrap:nowrap;gap:7px}.form-field .date-pair .date-input{flex:1;min-width:0;width:auto}.form-field .date-pair .native-date{flex:0 0 44px;width:44px}.dashboard-payments .turnover-chart-section:after{content:"";display:block;height:29px}
@media(max-width:700px){.turnover-chart-wrap svg,.dashboard-payments .turnover-chart-wrap svg{min-width:520px}.turnover-chart-wrap:after{content:"Grafiği sağa–sola kaydırabilirsiniz";display:block;color:#718095;font-size:11px;margin-top:7px}.table-wrap:before{content:"Tabloyu sağa–sola kaydırabilirsiniz";display:block;padding:3px 2px 9px;font-size:11px;color:#718095}.form-field .date-pair .date-input{width:auto;flex:1}.date-pair .native-date{max-width:44px;min-width:44px}}
@media print{.turnover-chart-wrap:after,.table-wrap:before{display:none!important}}

/* Örnek 1: üstte iki grafik, altta üç kompakt özet kartı */
.home-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.home-chart-card{min-width:0;padding:18px}.home-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.home-card-heading>a{display:flex;align-items:center;gap:9px;min-width:0;text-decoration:none}.home-card-heading .menu-icon{width:20px;height:20px;flex:0 0 20px;color:var(--business-accent,#92113e)}.home-card-heading h2{font-size:16px;line-height:1.2;margin:0;padding:0;border:0}.home-card-heading time{font-size:10px;white-space:nowrap;color:#718095;font-variant-numeric:tabular-nums}.home-card-heading>a:hover h2{color:var(--business-accent,#92113e)}.home-chart-card .turnover-chart-section h3{font-size:12px;margin:0 0 8px}.home-chart-card .turnover-chart-wrap svg{aspect-ratio:2/1}.home-chart-card.dashboard-payments .turnover-chart-section:after{height:29px}.home-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:16px}.home-summary-card{padding:16px;min-width:0}.home-summary-card .home-card-heading{margin-bottom:15px}.home-summary-card .home-card-heading h2{font-size:14px}.home-summary-body{display:flex;align-items:flex-start;gap:13px}.home-metric{min-width:0;flex:1}.home-metric>span{display:block;font-size:11px;color:#6a7689;line-height:1.35;min-height:29px}.home-metric>strong{display:block;font-size:19px;font-weight:700;line-height:1.25;color:#172033;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.home-summary-body>.home-metric+.home-metric{border-left:1px solid #edf0f5;padding-left:12px}.home-cash-details{flex:1.2;min-width:0;border-left:1px solid #edf0f5;padding-left:12px}.home-cash-details>div{display:flex;justify-content:space-between;gap:7px;font-size:11px;margin:0 0 8px}.home-cash-details span{color:#6a7689}.home-cash-details b{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.home-summary-card:has(.home-cash-details) .home-metric>strong{font-size:18px}.home-summary-card .home-card-heading time{font-size:9px}
@media(max-width:1150px){.home-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-summary-body{gap:10px}.home-card-heading time{font-size:9px}}
@media(max-width:700px){.home-charts,.home-summary-cards{grid-template-columns:1fr;gap:13px}.home-chart-card,.home-summary-card{padding:14px}.home-card-heading h2{font-size:16px}.home-card-heading time{font-size:10px}.home-summary-body{gap:12px}.home-metric>strong{font-size:20px}.home-metric>span{font-size:12px}.home-cash-details>div,.home-cash-details b{font-size:12px}.home-summary-card .home-card-heading h2{font-size:16px}.home-summary-card .home-card-heading time{font-size:10px}.home-chart-card .turnover-chart-section h3{font-size:12px}}

/* Bugün: tüm takvimlerde açık sarı hücre */
.calendar .day.today,.payment-layout .calendar .day.today,.cash-devir-layout .calendar .day.today,.calendar .day.today.payments-pending,.calendar .day.today.payments-complete,.calendar .day.today.saved{background:#fff8d6}
.calendar .day.today:hover{background:#fff1b8;filter:none}.calendar .day.today>strong{background:#f1d474;color:#6d5010}.calendar .day.today.selected{outline-color:#c19a22}.pdf-share-dialog p{font-size:14px;line-height:1.5}.pdf-share-dialog .toolbar{flex-wrap:wrap}

/* Ürün stok ve fiyat tablosu */
.product-table{min-width:1000px}.product-table th{white-space:nowrap}.product-table .product-number{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}.product-table .actions{flex-wrap:nowrap;white-space:nowrap}.product-price-field{display:flex;align-items:center;gap:10px}.product-price-field input{min-width:0;flex:1;font-variant-numeric:tabular-nums}.product-price-field>span{color:#667085;font-weight:600}.product-money input{color:#667085}.product-money input:focus{color:#182230}

.product-table th:nth-child(4),.product-table th:nth-child(5),.product-table th:nth-child(6),.product-table th:nth-child(7){text-align:center}
.import-preview{max-height:360px;overflow:auto;margin-top:12px}.import-preview table{min-width:720px}.import-preview td{white-space:nowrap}.import-preview th{position:sticky;top:0;z-index:1;background:#f5f7fa}#importResult{margin-top:14px}

.product-table .product-sale-price{color:#c62828}.product-table .product-profit{font-weight:700}

.product-search-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:4px;margin-left:4px;border:1px solid #dce2eb;border-radius:7px;background:#fff;color:#7c1238;vertical-align:middle;cursor:pointer}.product-search-toggle:hover,.product-search-toggle[aria-expanded="true"]{background:#f9eaf0}.product-search-fields{display:flex;flex-wrap:wrap;gap:12px}.product-search-fields .form-field{flex:1;min-width:220px;max-width:380px}.product-search-fields [hidden]{display:none}.product-search-input{display:flex;gap:6px}.product-search-input input{min-width:0;flex:1}.product-search-input button{width:40px;border:1px solid #dce2eb;border-radius:8px;background:#fff;font-size:22px;color:#667085;cursor:pointer}.product-search-summary{margin:8px 0}.product-search-empty{text-align:center;padding:24px!important}@media(max-width:600px){.product-search-toggle{width:40px;height:40px}.product-search-fields .form-field{max-width:none}}
.mixture-selector{margin-bottom:16px}.mixture-selector .form-field{max-width:460px;margin:0}.mixture-form>.panel{margin-bottom:16px}.mixture-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.mixture-heading .form-field{width:240px}.mixture-table{min-width:1180px}.mixture-table th{white-space:nowrap}.mixture-table td:first-child{min-width:140px;font-weight:600}.mixture-table td:not(:first-child),.mixture-table tfoot{text-align:center;font-variant-numeric:tabular-nums}.mixture-input{display:flex;align-items:center;gap:6px}.mixture-input input{width:110px;min-width:0;text-align:center}.mixture-input>span{font-size:12px;color:#667085}.mixture-table input[name^="percentage"]{width:85px}.mixture-table td[data-result^="sale"]{color:#c62828}.mixture-reference{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:620px}.mixture-reference .mixture-input input{flex:1;width:100%}.mixture-comparison .cards{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px}.mixture-table tfoot{background:#f6f8fb;font-weight:700}.mixture-form input[readonly]{background:#f8fafc;color:#475467}@media(max-width:900px){.mixture-comparison .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.mixture-heading{display:block}.mixture-heading .form-field{width:100%}.mixture-reference{grid-template-columns:1fr}.mixture-comparison .cards{grid-template-columns:1fr 1fr}.mixture-comparison .card{font-size:12px}.mixture-comparison .card b{font-size:18px}}
.mixture-table{min-width:1080px}.mixture-table th{white-space:normal;line-height:1.4}.mixture-table .mixture-input input{width:90px}.mixture-table td[data-result]{white-space:nowrap}.mixture-table input[name^="percentage"]{width:70px}

.mixture-table{min-width:1280px}.mixture-table td:first-child{min-width:100px;font-weight:500}.mixture-table td:nth-child(2){min-width:190px;max-width:230px;text-align:left;font-weight:600}.mixture-stock-code{white-space:normal}.mixture-stock-code small{display:block;max-width:140px;margin-top:4px;font-size:11px;font-weight:400;line-height:1.4;color:#667085}

.product-sort-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;padding:4px 0;min-height:30px;cursor:pointer;white-space:nowrap}.product-sort-toggle:hover{color:#9d1743}.product-sort-toggle:focus-visible{outline:2px solid #9d1743;outline-offset:3px;border-radius:4px}.product-sort-toggle>span:last-child{font-size:15px;color:#9d1743}.product-table th[aria-sort="ascending"],.product-table th[aria-sort="descending"]{color:#9d1743}@media(max-width:600px){.product-sort-toggle{min-height:40px}}
.sales-date-bar{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:16px}.sales-date-bar>button{min-width:44px;min-height:44px;font-size:25px}.sales-date-centre{display:flex;align-items:center;gap:16px}.sales-date-centre .form-field{margin:0}.sales-date-centre .form-field>span:first-child{display:none}.sales-date-centre .date-pair{width:170px}.sales-weekday{font-weight:600;color:#475467}.sales-table{min-width:600px}.sales-table th:nth-child(3),.sales-table th:nth-child(4),.sales-table td:nth-child(3),.sales-table td:nth-child(4){text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}.sales-table tfoot{background:#f6f8fb;font-weight:700}.sales-empty{text-align:center;padding:26px!important}.sales-issues{margin-top:14px}.sales-issues summary{cursor:pointer;font-weight:600}.sales-issues ul{max-height:220px;overflow:auto;padding-left:22px;line-height:1.7}@media(max-width:600px){.sales-date-bar{gap:10px;padding:12px}.sales-date-centre{flex-direction:column;gap:6px}.sales-date-centre .date-pair{width:160px}.sales-weekday{font-size:13px}}
.sales-date-centre .date-pair{width:190px}@media(max-width:600px){.sales-date-bar{gap:6px;padding:10px}.sales-date-centre .date-pair{width:170px}.sales-date-centre .date-input{padding-left:6px;padding-right:6px;font-size:14px}}

.sales-table tfoot .sales-total-number{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}

.sales-table th[aria-sort="ascending"],.sales-table th[aria-sort="descending"]{color:#9d1743}

.sales-summary-panel{margin-bottom:16px}.sales-summary-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.sales-summary-tabs .current{background:var(--business-accent,#92113e);color:#fff;border-color:var(--business-accent,#92113e)}.sales-summary-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.sales-month-fields,.sales-range-fields{display:flex;gap:12px;flex-wrap:wrap}.sales-month-fields[hidden],.sales-range-fields[hidden]{display:none}.sales-summary-form .form-field{margin:0;min-width:140px}.sales-summary-form input[type=number]{width:110px}.sales-range-fields .date-pair{width:190px}.sales-summary-result{margin-top:16px}.sales-summary-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sales-summary-cards>div{padding:15px;background:#f6f8fb;border-radius:10px}.sales-summary-cards span{display:block;color:#667085;font-size:13px;margin-bottom:7px}.sales-summary-cards strong{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}@media(max-width:600px){.sales-summary-form,.sales-month-fields,.sales-range-fields{width:100%}.sales-summary-form .form-field{flex:1;min-width:0}.sales-range-fields .form-field{flex-basis:100%}.sales-range-fields .date-pair{width:100%}.sales-summary-cards{grid-template-columns:1fr}.sales-summary-form input[type=number]{width:100%}}

/* Kompakt dönem toplamları araç çubuğu */
.sales-summary-panel{padding:14px 16px}.sales-summary-scroll{overflow-x:auto;padding:2px 0 5px;scrollbar-width:thin}.sales-summary-panel .sales-summary-form{display:flex;flex-wrap:nowrap;align-items:center;width:max-content;min-width:0;gap:12px}.sales-summary-panel .sales-summary-tabs{flex-wrap:nowrap;margin:0;padding:4px;background:#f1f3f7;border-radius:9px;gap:3px;flex:none}.sales-summary-tabs .navbtn{border:0;background:transparent;box-shadow:none;white-space:nowrap;padding:9px 12px;font-size:13px;border-radius:7px;min-height:38px}.sales-summary-tabs .navbtn.current{background:#fff;color:var(--business-accent,#92113e);box-shadow:0 1px 4px #17203318;font-weight:700}.sales-summary-panel .sales-month-fields,.sales-summary-panel .sales-range-fields{flex-wrap:nowrap;width:auto;gap:8px;align-items:center;flex:none}.sales-summary-panel .sales-summary-form .form-field{display:flex;align-items:center;gap:7px;min-width:0;flex:none;margin:0}.sales-summary-form .form-field>span:first-child{font-size:12px;white-space:nowrap;color:#667085;margin:0}.sales-summary-form .form-field input,.sales-summary-form .form-field select{min-height:40px;height:40px;margin:0;padding:7px 9px;font-size:14px}.sales-summary-panel .sales-summary-form input[type=number]{width:85px}.sales-summary-form .form-field select{width:110px}.sales-summary-panel .sales-range-fields .date-pair{width:175px}.sales-summary-form .date-pair .native-date{height:40px;min-height:40px;flex-basis:40px;min-width:40px;width:40px}.sales-summary-form .btn{min-height:40px;white-space:nowrap;padding:9px 15px;font-size:13px}.sales-summary-panel .sales-summary-result{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:20px;overflow-x:auto;margin-top:9px;border-top:1px solid #edf0f5;padding-top:11px}.sales-summary-result>p{font-size:12px;white-space:nowrap;margin:0}.sales-summary-panel .sales-summary-cards{display:flex;gap:22px;flex:none}.sales-summary-cards>div{display:flex;align-items:baseline;gap:9px;padding:0;background:none;border-radius:0;white-space:nowrap}.sales-summary-cards span{font-size:12px;margin:0}.sales-summary-cards strong{font-size:18px;overflow-wrap:normal}@media(max-width:600px){.sales-summary-panel{padding:12px}.sales-summary-panel .sales-summary-form{width:max-content;gap:9px}.sales-summary-panel .sales-summary-form .form-field{flex:none}.sales-summary-panel .sales-range-fields .form-field{flex-basis:auto}.sales-summary-form .form-field>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sales-summary-panel .sales-summary-result{gap:15px}.sales-summary-panel .sales-summary-cards{gap:16px}.sales-summary-cards strong{font-size:16px}}
.sales-summary-panel,.sales-summary-scroll,.sales-summary-result{min-width:0;max-width:100%;box-sizing:border-box}.sales-summary-panel{width:100%;overflow:hidden}
.sales-summary-form .form-field{position:relative}@media(max-width:600px){.sales-summary-form .form-field>span:first-child{left:0;top:0}}

.sales-period-details{margin-top:16px}.sales-period-details h3{font-size:14px;margin:0 0 10px;color:#475467}.sales-period-table{min-width:650px}

.sales-date-bar>.sales-day-show{font-size:13px;min-width:74px}.sales-summary-result:empty,.sales-period-details:empty{display:none}@media(max-width:600px){.sales-date-bar{flex-wrap:wrap}.sales-date-bar>.sales-day-show{flex-basis:100%;max-width:150px}}

.order-estimated-cost{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:#667085;margin-left:8px}.order-estimated-cost strong{color:#172033;font-size:13px;font-variant-numeric:tabular-nums}@media(max-width:600px){.order-estimated-cost{margin-left:0}}
.database-settings{margin-bottom:16px}.database-settings .toolbar{flex-wrap:wrap}.database-settings p{line-height:1.55}.database-message:empty{display:none}#backupPreview{margin:14px 0}#backupPreview ul{padding-left:20px;line-height:1.8}

.product-category-toolbar{align-items:center;flex-wrap:wrap}.product-category-filter{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#667085;margin-left:4px}.product-category-filter select{border:1px solid #dce2eb;border-radius:8px;background:white;padding:9px 12px;min-height:40px;font:inherit;color:#172033;min-width:165px}@media(max-width:600px){.product-category-filter{margin-left:0}.product-category-filter select{min-height:44px;font-size:16px}}
.import-category-bulk{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin:12px 0}.import-category-bulk .form-field{margin:0}.import-preview select[data-import-category]{min-width:175px;min-height:40px;border:1px solid #dce2eb;border-radius:7px;background:#fff;padding:8px;font:inherit}.import-category-bulk select{min-width:190px}

.import-preview select[data-import-unit]{min-width:85px;min-height:40px;border:1px solid #dce2eb;border-radius:7px;background:#fff;padding:8px;font:inherit}

.sales-category-filter{display:flex;align-items:center;gap:8px;font-size:13px;color:#667085}.sales-category-filter select{min-height:42px;min-width:165px;border:1px solid #dce2eb;border-radius:8px;background:white;padding:9px 12px;color:#172033;font:inherit}@media(max-width:600px){.sales-date-bar>.sales-category-filter{flex-basis:100%;justify-content:center;margin-bottom:6px}.sales-category-filter select{font-size:16px;min-height:44px}}

.product-stock-footer th,.product-stock-footer td{background:#f6f8fb;border-top:1px solid #dfe5ee;padding:12px;font-weight:700}.product-stock-footer th{text-align:left;white-space:normal}.product-stock-footer .product-number>span{display:block;line-height:1.7}

.order-purchase-cell{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}.order-purchase-footer th,.order-purchase-footer td{background:#f6f8fb;border-top:1px solid #dfe5ee;font-weight:700;padding:12px}.order-purchase-footer th{text-align:left}

.sales-table .actions{display:flex;gap:6px;flex-wrap:nowrap}.sales-table:has([data-sale-edit]),.sales-table:has([data-sale-delete]){min-width:760px}

.product-detail-stats{display:flex;gap:24px;flex-wrap:wrap}.product-detail-stats p{margin:8px 0}.product-detail-stats strong{display:inline-block;margin-top:6px}

.order-picker-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.order-picker-info{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;align-items:center;font-size:13px;margin:8px 0}.order-product-list{max-height:340px;overflow:auto;overscroll-behavior:contain}.order-product-list .order-pick-row{display:grid;grid-template-columns:20px minmax(0,1fr) 95px;gap:10px;align-items:center}.order-product-list .order-pick-row[hidden]{display:none}.order-pick-row strong{font-weight:600;overflow-wrap:anywhere}.order-pick-row small{display:block;color:#687385;margin-top:3px}.order-product-list .qty{width:100%;min-width:0}.order-picker-info input{width:auto}@media(max-width:480px){.order-picker-filters{grid-template-columns:1fr}.order-product-list .order-pick-row{grid-template-columns:18px minmax(0,1fr) 76px;gap:6px}}

.sales-period-cost{margin-top:12px;border-top:1px solid #dfe5ee;padding-top:10px}.sales-period-cost>div{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin:6px 0}.sales-period-cost b{white-space:nowrap}
.sales-summary-cards>div:last-child{display:grid;grid-template-columns:auto auto;column-gap:9px;row-gap:0}.sales-summary-cards .sales-period-cost{grid-column:1/-1}.sales-period-cost>div{align-items:baseline}

.shift-person{cursor:help}.shift-person:focus-visible{outline:2px solid var(--business-accent,#92113e);outline-offset:3px}.shift-added-tooltip{position:fixed;z-index:1100;max-width:min(320px,calc(100vw - 16px));padding:10px 13px;border-radius:9px;background:#182234;color:white;font-size:13px;line-height:1.5;box-shadow:0 6px 20px #17203330;overflow-wrap:anywhere;pointer-events:none}.shift-added-tooltip[hidden]{display:none}

.schedule .shift-leave{min-width:160px;max-width:260px;white-space:normal}.shift-leave-label{font-weight:600;color:var(--business-accent,#92113e)}.shift-leave-name{overflow-wrap:anywhere}

.cash-card-heading{display:block;line-height:1.5;overflow-wrap:anywhere}.cash-card-staff{font-weight:500;font-size:.9em}

.cash-calendar-column{display:flex;flex-direction:column;gap:16px;min-width:0}.cash-staff-summary h2{margin-bottom:8px}.cash-staff-totals{display:grid;gap:8px}.cash-staff-total{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:11px 12px;border:1px solid #e0e5ed;border-radius:9px;background:#fff}.cash-staff-total span{overflow-wrap:anywhere;min-width:0}.cash-staff-total strong{white-space:nowrap;font-variant-numeric:tabular-nums}.cash-staff-total.staff-positive{background:#e8f6eb;border-color:#c5e6ce}.cash-staff-total.staff-negative{background:#fdebec;border-color:#f0c8cd}.cash-staff-note{font-size:12px;line-height:1.5;margin-bottom:0}

.mixture-heading .mixture-stock-button{align-self:center;white-space:nowrap}.mixture-heading{flex-wrap:wrap;gap:12px}

.product-stock-history{margin:16px 0}.stock-movement-table{min-width:650px}.stock-movement-table .stock-movement-quantity{font-weight:700;white-space:nowrap}.stock-decrease{color:#b42332}.stock-increase{color:#187344}

/* Compact mixture table and right-aligned preparation controls. */
.mixture-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.mixture-heading h2{flex:1 1 220px;min-width:0;margin:0;overflow-wrap:anywhere}.mixture-batch-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;margin-left:auto;max-width:100%}.mixture-heading .mixture-batch-actions .form-field{width:180px;min-width:0;margin:0}.mixture-batch-actions .mixture-input input{width:100%}.mixture-heading .mixture-stock-button{align-self:flex-end;flex-shrink:0;margin:0;min-height:42px}.mixture-form .mixture-table{width:100%;min-width:820px;font-size:12px}.mixture-form .mixture-table th,.mixture-form .mixture-table td{padding:6px 4px;line-height:1.25}.mixture-form .mixture-table th{white-space:normal}.mixture-form .mixture-table td:first-child{min-width:70px}.mixture-form .mixture-table td:nth-child(2){min-width:140px;max-width:180px}.mixture-form .mixture-table .mixture-input{gap:3px;justify-content:center}.mixture-form .mixture-table .mixture-input input{width:74px;padding:6px 4px;font-size:13px;min-height:34px}.mixture-form .mixture-table input[name^="percentage"]{width:58px}.mixture-form .mixture-table .mixture-input>span{font-size:11px}.mixture-form .mixture-table .mixture-stock-code small{max-width:100px;font-size:10px}@media(max-width:600px){.mixture-batch-actions{width:100%}.mixture-heading .mixture-batch-actions .form-field{flex:1;max-width:220px;width:auto}.mixture-heading .mixture-stock-button{min-height:44px}.mixture-form .mixture-table .mixture-input input{min-height:40px;font-size:14px}}
.leave-request-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.leave-request-filter{display:flex;align-items:center;gap:8px;margin-left:auto}.leave-request-filter select{min-height:40px}.leave-request-table{min-width:760px}.leave-request-table small{display:block;color:#667085;font-size:11px;margin-top:5px}.leave-request-table .leave-request-note,.leave-request-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:300px}.leave-request-table .actions{display:flex;gap:6px;flex-wrap:nowrap}.leave-status{display:inline-block;padding:5px 9px;border-radius:7px;font-weight:600;white-space:nowrap}.leave-status-pending{background:#fff2cc;color:#805b00}.leave-status-approved{background:#e5f5e9;color:#176a35}.leave-status-rejected{background:#fde7e9;color:#a42134}.leave-status-cancelled{background:#eef0f4;color:#586174}@media(max-width:600px){.leave-request-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.leave-request-filter{margin-left:0;width:100%;justify-content:space-between}.leave-request-filter select{flex:1;min-width:0}}

.menu-link .menu-pending-badge{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;flex-shrink:0;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#fff0b7;color:#743600;font-size:12px;font-weight:800;line-height:1}.menu-link .menu-pending-badge[hidden]{display:none}
.message-btn{position:relative}.message-badge{position:absolute;top:-5px;right:-5px;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#b51943;color:white;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}.message-badge[hidden]{display:none}.chat-dialog{width:min(1000px,calc(100vw - 24px));max-width:1000px;padding:18px;border:0;border-radius:14px;height:min(760px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden}.chat-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-dialog-heading h2{margin:0;font-size:21px}.chat-dialog-heading button{font-size:23px;line-height:1}.chat-error{color:#ae203a;font-size:13px;margin:6px 0;max-height:45px;overflow:auto}.chat-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:14px;height:calc(100% - 55px);min-height:0}.chat-sidebar{min-width:0;display:flex;flex-direction:column;gap:10px;min-height:0}.chat-room-list{overflow:auto;min-height:0}.chat-room{display:block;text-align:left;width:100%;padding:11px;border:1px solid #e0e5ed;border-radius:9px;background:white;margin-bottom:7px;color:#172033}.chat-room.current{border-color:var(--business-accent,#92113e);background:#fff1f5}.chat-room-title{font-weight:650;overflow-wrap:anywhere}.chat-room small{display:block;color:#687385;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-room-unread{display:inline-block;background:var(--business-accent,#92113e);color:white;padding:2px 5px;border-radius:5px;font-size:10px;margin-left:5px}.chat-main{min-width:0;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden}.chat-room-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.chat-room-heading>div{min-width:0}.chat-room-heading h3{margin:0;overflow-wrap:anywhere;font-size:17px}.chat-room-heading p{font-size:12px;color:#687385;overflow-wrap:anywhere;margin:5px 0}.chat-room-status{color:var(--business-accent,#92113e)}.chat-close-room{font-size:12px;flex-shrink:0}.chat-close-room[hidden],.chat-older[hidden]{display:none}.chat-older{align-self:center;font-size:12px;padding:6px 10px}.chat-timeline{overflow:auto;flex:1;min-height:80px;background:#f5f7fb;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:9px}.chat-bubble{background:white;border:1px solid #e2e6ee;border-radius:10px;padding:10px 12px;max-width:88%;align-self:flex-start;overflow-wrap:anywhere}.chat-mine{align-self:flex-end;background:#fcebf1;border-color:#f1d4df}.chat-bubble strong{font-size:12px;color:var(--business-accent,#92113e)}.chat-bubble p{white-space:pre-wrap;margin:6px 0;font-size:14px;line-height:1.45}.chat-bubble time{font-size:10px;color:#687385;display:block;text-align:right}.chat-send{display:flex;gap:8px;align-items:flex-end}.chat-send textarea{flex:1;min-width:0;max-height:110px;resize:vertical;padding:10px;font-size:14px}.chat-create{overflow:auto;padding-right:4px}.chat-create h3{margin:0}.chat-user-list{max-height:220px;overflow:auto;border:1px solid #e0e5ed;border-radius:8px;padding:8px}.chat-user-list .check{min-height:38px}.chat-user-list [hidden]{display:none}.chat-user-list small{display:block;font-size:11px;color:#687385}.chat-create .muted{font-size:12px;line-height:1.4}.chat-send .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(max-width:600px){.chat-dialog{padding:12px;width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.chat-layout{grid-template-columns:1fr;grid-template-rows:145px minmax(0,1fr);gap:9px}.chat-sidebar{border-bottom:1px solid #e0e5ed;padding-bottom:7px}.chat-sidebar>.btn{padding:8px}.chat-room-list{display:flex;gap:7px}.chat-room{width:190px;min-width:170px;margin:0}.chat-room-heading h3{font-size:15px}.chat-room-heading p{font-size:11px;max-height:34px;overflow:auto}.chat-close-room{padding:7px;font-size:11px;min-height:38px}.chat-timeline{padding:8px}.chat-bubble{max-width:94%;padding:8px}.chat-send textarea{font-size:16px}.chat-send .btn{padding:10px}.chat-user-list{max-height:150px}.chat-create .form-field{margin:8px 0}.chat-create .form-field input,.chat-create textarea{font-size:16px}.chat-error{margin:4px 0}}

.chat-page{height:calc(100dvh - 180px);min-height:440px;padding:16px;overflow:hidden}.chat-page .chat-layout{height:calc(100% - 45px)}.chat-room-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.chat-delete-room{color:#b51943;font-size:12px}.chat-delete-room[hidden],.chat-send[hidden]{display:none}@media(max-width:600px){.chat-page{height:calc(100dvh - 200px);min-height:510px;padding:10px}.chat-room-actions{max-width:110px}.chat-delete-room{padding:7px;font-size:11px}}

/* Collapsible sidebar; the original links remain available to mobile/native navigation. */
.sidebar-group{margin:5px 0;min-width:0}.sidebar-group-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;line-height:1.4;text-align:left;cursor:pointer;min-height:42px}.sidebar-group-toggle>span{flex:1;min-width:0}.sidebar-group-toggle:hover,.sidebar-group-toggle.contains-active{background:#ffffff18}.sidebar-group-toggle:focus-visible{outline:2px solid white;outline-offset:-2px}.sidebar-chevron{width:16px;height:16px;flex-shrink:0;transition:transform .24s ease}.sidebar-group-toggle[aria-expanded=true] .sidebar-chevron{transform:rotate(180deg)}.sidebar-group-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .26s ease,opacity .2s ease}.sidebar-group.is-open>.sidebar-group-panel{grid-template-rows:1fr;opacity:1}.sidebar-group-links{min-height:0;overflow:hidden}.sidebar-group-links>.menu-link{margin:2px 0 2px 13px;padding:8px 9px;font-size:12px;min-height:38px}.sidebar-group-links>.menu-link .menu-icon{width:17px;height:17px;flex-basis:17px}.sidebar-group-links>.menu-link.active{background:#ffffff24}.sidebar-group-toggle .menu-icon{flex-shrink:0}
@media(max-width:700px){.side .menu{display:block}.sidebar-group-toggle{font-size:14px}.sidebar-group-links>.menu-link{font-size:13px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.sidebar-group-panel,.sidebar-chevron{transition:none}}

/* Match all sidebar typography to the Home link at each viewport size. */
.menu{--sidebar-font-size:14px}
.menu .menu-link,.menu .sidebar-group-toggle{font-family:inherit;font-size:var(--sidebar-font-size);font-weight:500;line-height:1.45;letter-spacing:normal}
@media(max-width:1150px){.menu{--sidebar-font-size:13px}}

.dashboard-payments .payment-bars-tooltip{pointer-events:auto;overflow-y:auto;overflow-x:hidden;max-height:min(300px,60dvh);overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.dashboard-payments .payment-bars-tooltip:focus-visible{outline:2px solid var(--business-accent,#92113e);outline-offset:2px}

.profile-header{position:relative;flex-shrink:0}#profileButton{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:50%}.profile-avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden;background:#f5dce5;color:var(--business-accent,#92113e);font-size:14px;font-weight:600;vertical-align:middle}.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}.profile-avatar.large{width:80px;height:80px;flex-basis:80px;font-size:26px}.profile-menu{position:absolute;right:0;top:50px;z-index:110;width:210px;max-width:80vw;background:white;border:1px solid #e4e8ef;border-radius:12px;padding:8px;box-shadow:0 8px 28px #17203325}.profile-menu[hidden]{display:none}.profile-menu strong{display:block;padding:10px;font-size:13px;overflow-wrap:anywhere}.profile-menu button{display:block;width:100%;text-align:left;border:0;border-radius:7px;padding:12px;background:white;font:inherit;color:#172033;cursor:pointer}.profile-menu button:hover{background:var(--business-accent-tint,#fff0f5)}.profile-user-cell{display:flex;align-items:center;gap:9px}.profile-preview{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-preview p{font-size:13px;color:#687385}.profile-settings form{margin-bottom:12px}.profile-settings input[type=file]{max-width:100%}.profile-member-preview{margin:12px 0}.profile-header:focus-within #profileButton{outline:2px solid var(--business-accent,#92113e);outline-offset:2px}
@media(max-width:700px){html.komsu-web-mobile body[data-page=sales] #topActions{grid-template-columns:repeat(2,minmax(0,1fr)) repeat(3,44px)}.ios-user-info>.profile-avatar{float:left;margin:0 10px 6px 0}}

.top-actions{align-self:flex-start;margin-left:auto}.profile-header{order:10}.profile-menu{width:160px;top:46px;padding:5px;border-radius:9px}.profile-menu strong{font-size:12px;padding:6px 8px;line-height:1.35}.profile-menu button{font-size:13px;padding:8px;line-height:1.3;min-height:34px}
@media(max-width:700px){html.komsu-web-mobile body[data-page=sales] #topActions{grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,44px)}}

.top{min-height:0;padding-bottom:0;margin-bottom:12px;border-bottom:0}.page-heading h1{margin-bottom:0}

.chat-page .chat-layout{grid-template-columns:190px minmax(0,1fr)}.chat-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.chat-participants{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.chat-participants>span{display:inline-flex}.profile-avatar.chat-member{width:30px;height:30px;flex-basis:30px;font-size:11px}.chat-page .chat-room{padding:9px 10px}.chat-page .chat-room-title{font-size:13px}.chat-page .chat-room-unread{width:7px;height:7px;padding:0;border-radius:50%;vertical-align:middle}.chat-page .chat-new{padding:9px;font-size:13px}
@media(max-width:600px){.chat-page .chat-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:105px minmax(0,1fr)}.chat-page .chat-room{min-width:130px;width:150px}.chat-title-line{gap:6px}.profile-avatar.chat-member{width:27px;height:27px;flex-basis:27px}}

.chat-bubble-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.chat-bubble-heading strong{min-width:0;overflow-wrap:anywhere}.chat-bubble .chat-bubble-heading time{display:inline;white-space:nowrap;font-size:10px;text-align:left}.chat-bubble>p{margin-bottom:0}

.chat-page{height:calc(100dvh - 120px)}@media(max-width:600px){.chat-page{height:calc(100dvh - 160px)}}

/* Pointer/touch clicks do not add focus boxes; keyboard navigation stays visible. */
html[data-focus-mode=pointer] :focus{outline:none!important;box-shadow:none!important}
html[data-focus-mode=pointer] .profile-header:focus-within #profileButton,html[data-focus-mode=pointer] .date-control:focus-within .date-picker-icon{outline:none!important}
html[data-focus-mode] input:focus,html[data-focus-mode] textarea:focus,html[data-focus-mode] select:focus{border-color:var(--line,#e0e3e9)}
html[data-focus-mode=keyboard] :focus-visible{outline:2px solid #64748b!important;outline-offset:2px}

/* Compact, consistent sales report filters. */
body[data-page=sales] .sales-date-bar{justify-content:flex-start;gap:8px;padding:10px;margin-bottom:10px;text-align:left}
body[data-page=sales] .sales-date-centre{gap:6px;align-items:flex-start;text-align:left}
body[data-page=sales] .sales-category-filter{justify-content:flex-start;text-align:left;gap:6px}
body[data-page=sales] .sales-summary-panel{padding:10px;margin-bottom:10px;text-align:left}
body[data-page=sales] .sales-summary-form,body[data-page=sales] .sales-summary-tabs,body[data-page=sales] .sales-month-fields,body[data-page=sales] .sales-range-fields{justify-content:flex-start;gap:8px;text-align:left}
body[data-page=sales] .sales-summary-tabs{margin:0}
body[data-page=sales] .sales-summary-form .form-field{margin:0;gap:4px}
body[data-page=sales] .sales-date-bar,body[data-page=sales] .sales-date-bar :is(input,select,button,label,span),body[data-page=sales] .sales-summary-form,body[data-page=sales] .sales-summary-form :is(input,select,button,label,span){font-size:13px!important;line-height:1.35;font-weight:400;text-align:left}
body[data-page=sales] .sales-date-bar input,body[data-page=sales] .sales-date-bar select,body[data-page=sales] .sales-summary-form input,body[data-page=sales] .sales-summary-form select{padding:7px 8px}
body[data-page=sales] .sales-summary-form .navbtn,body[data-page=sales] .sales-summary-form .btn,body[data-page=sales] .sales-date-bar>.sales-day-show{padding:8px 10px}
@media(max-width:700px){
 html.komsu-web-mobile body[data-page=sales] .sales-date-bar{gap:6px;padding:10px}
 html.komsu-web-mobile body[data-page=sales] .sales-date-centre{gap:4px;align-items:flex-start}
 html.komsu-web-mobile body[data-page=sales] .sales-summary-panel .sales-summary-form,html.komsu-web-mobile body[data-page=sales] .sales-summary-panel .sales-month-fields,html.komsu-web-mobile body[data-page=sales] .sales-summary-panel .sales-range-fields{gap:7px}
 html.komsu-web-mobile body[data-page=sales] .sales-summary-panel .sales-summary-form .form-field{gap:3px}
}

body[data-page=sales] .sales-date-bar{align-items:center}body[data-page=sales] .sales-date-centre{align-items:center}body[data-page=sales] .sales-weekday{align-self:center;margin:0}
@media(max-width:700px){html.komsu-web-mobile body[data-page=sales] .sales-date-centre{align-items:center}html.komsu-web-mobile body[data-page=sales] .sales-weekday{align-self:center}}

body[data-page=sales]{--sales-filter-width:180px;--sales-filter-height:40px}
body[data-page=sales] .sales-date-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
body[data-page=sales] .sales-category-filter,body[data-page=sales] .sales-date-centre .form-field,body[data-page=sales] .sales-summary-form .form-field{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:auto;min-width:0;margin:0}
body[data-page=sales] .sales-date-centre{display:flex;flex-direction:row;align-items:flex-end;gap:8px}
body[data-page=sales] .sales-weekday{display:inline-flex;align-items:center;height:var(--sales-filter-height);align-self:flex-end}
body[data-page=sales] :is(.sales-date-bar,.sales-summary-form) :is(select,input:not(.native-date),button){height:var(--sales-filter-height)!important;min-height:var(--sales-filter-height)!important;box-sizing:border-box}
body[data-page=sales] :is(.sales-date-bar,.sales-summary-form) .date-pair{width:100%!important;height:var(--sales-filter-height)}
body[data-page=sales] :is(.sales-date-bar,.sales-summary-form) :is(select,input[type=number]){width:100%!important}
body[data-page=sales] :is(.sales-date-bar,.sales-summary-form) .date-input{width:100%!important;min-width:0}
body[data-page=sales] .sales-summary-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}
body[data-page=sales] .sales-summary-tabs,body[data-page=sales] .sales-month-fields,body[data-page=sales] .sales-range-fields{display:flex;align-items:flex-end;gap:8px;min-width:0}
body[data-page=sales] .sales-summary-tabs button,body[data-page=sales] .sales-summary-form>button,body[data-page=sales] .sales-day-show{width:auto;justify-content:flex-start}
body[data-page=sales] .sales-summary-scroll{overflow:visible}
body[data-page=sales] .sales-summary-form :is(.sales-month-fields,.sales-range-fields)[hidden]{display:none!important}
@media(max-width:700px){
 body[data-page=sales]{--sales-filter-height:44px}
 html.komsu-web-mobile body[data-page=sales] .sales-date-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
 html.komsu-web-mobile body[data-page=sales] .sales-category-filter{grid-column:1/-1;grid-row:1}
 html.komsu-web-mobile body[data-page=sales] .sales-date-centre{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;width:100%}
 html.komsu-web-mobile body[data-page=sales] .sales-date-centre .sales-weekday{align-self:flex-start;height:auto;margin:2px 0}
 html.komsu-web-mobile body[data-page=sales] .sales-date-bar>button:not(.sales-day-show){grid-row:3;width:100%}
 html.komsu-web-mobile body[data-page=sales] .sales-date-bar>.sales-day-show{grid-column:1/-1;grid-row:4}
 html.komsu-web-mobile body[data-page=sales] .sales-summary-panel .sales-summary-form,html.komsu-web-mobile body[data-page=sales] .sales-summary-panel :is(.sales-month-fields,.sales-range-fields){display:grid;grid-template-columns:minmax(0,1fr);width:100%}
 html.komsu-web-mobile body[data-page=sales] .sales-summary-panel .sales-summary-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 html.komsu-web-mobile body[data-page=sales] :is(.sales-category-filter,.sales-date-centre .form-field,.sales-summary-form .form-field){width:100%;min-width:0}
 html.komsu-web-mobile body[data-page=sales] :is(.sales-date-bar,.sales-summary-form) :is(select,input[type=number],.date-pair){width:100%!important}
 html.komsu-web-mobile body[data-page=sales] .sales-summary-tabs button,html.komsu-web-mobile body[data-page=sales] .sales-summary-form>button{width:100%}
}
body[data-page=sales] .sales-date-centre{align-self:flex-end!important;margin:0}
body[data-page=sales] :is(.sales-date-bar,.sales-summary-form) :is(input,select,button,.date-pair){margin-top:0!important;margin-bottom:0!important}
body[data-page=sales] .sales-summary-form .form-field{align-self:flex-end}

body[data-page=sales] .sales-category-filter{width:auto;min-width:170px}
body[data-page=sales] .sales-date-centre .form-field{width:170px}
body[data-page=sales] .sales-summary-form .form-field{width:auto;min-width:0}
body[data-page=sales] .sales-summary-form .sales-month-fields .form-field:first-child{width:145px}
body[data-page=sales] .sales-summary-form .sales-month-fields .form-field:last-child{width:100px}
body[data-page=sales] .sales-range-fields .form-field{width:170px}
body[data-page=sales] .sales-summary-tabs button,body[data-page=sales] .sales-summary-form>button,body[data-page=sales] .sales-day-show{width:auto}
@media(max-width:700px){html.komsu-web-mobile body[data-page=sales] :is(.sales-category-filter,.sales-date-centre .form-field,.sales-summary-form .form-field){width:100%;min-width:0}}

.gs1-table td:nth-child(3){text-align:center;font-variant-numeric:tabular-nums}.gs1-table td:nth-child(4){font-variant-numeric:tabular-nums;overflow-wrap:anywhere}@media(max-width:700px){.gs1-table{min-width:0;width:100%;table-layout:fixed}.gs1-table th,.gs1-table td{padding:8px 4px;white-space:normal;overflow-wrap:anywhere;font-size:12px}.gs1-table th:first-child{width:32px}.gs1-table th:nth-child(3){width:55px}}

.gs1-table th,.gs1-table td,.gs1-table td:nth-child(3){text-align:left}

.gs1-table{table-layout:fixed;width:650px;max-width:100%;min-width:0}.gs1-table .gs1-col-no{width:45px}.gs1-table .gs1-col-name{width:290px}.gs1-table .gs1-col-grams{width:85px}.gs1-table .gs1-col-barcode{width:230px}.gs1-table th,.gs1-table td{padding:8px 7px;white-space:normal;overflow-wrap:anywhere;text-align:left}
@media(max-width:700px){.gs1-table{width:100%}.gs1-table .gs1-col-no{width:10%}.gs1-table .gs1-col-name{width:40%}.gs1-table .gs1-col-grams{width:15%}.gs1-table .gs1-col-barcode{width:35%}.gs1-table th,.gs1-table td{padding:7px 4px}}

.gs1-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.gs1-columns>.panel{min-width:0;padding:12px}.gs1-columns .table-wrap{min-width:0}.gs1-columns .gs1-table{width:100%;max-width:100%;min-width:0}.gs1-columns .gs1-col-no{width:8%}.gs1-columns .gs1-col-name{width:42%}.gs1-columns .gs1-col-grams{width:14%}.gs1-columns .gs1-col-barcode{width:36%}
@media(max-width:700px){.gs1-columns{grid-template-columns:minmax(0,1fr)}}

.gs1-columns .gs1-col-no{width:7%}.gs1-columns .gs1-col-name{width:57%}.gs1-columns .gs1-col-grams{width:12%}.gs1-columns .gs1-col-barcode{width:24%}.gs1-columns .gs1-table th,.gs1-columns .gs1-table td{padding-left:5px;padding-right:5px}

.gs1-columns .gs1-col-grams{width:calc(4ch + 12px)}.gs1-columns .gs1-col-name{width:auto}.gs1-columns .gs1-table th:nth-child(3),.gs1-columns .gs1-table td:nth-child(3),.gs1-columns .gs1-table th:nth-child(4),.gs1-columns .gs1-table td:nth-child(4){text-align:center;font-variant-numeric:tabular-nums}

.gs1-table tr[tabindex]{cursor:pointer}.gs1-table tr[tabindex]:hover{background:#fff7fa}

.order-edit-search{display:flex;align-items:flex-end;gap:8px;margin:12px 0}.order-edit-search .form-field{flex:1;min-width:0;margin:0}.order-edit-search input{width:100%;min-width:0}.order-edit-list>[hidden],#orderEditEmpty[hidden]{display:none!important}

.payment-balance{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px;margin:8px 0}.payment-balance b{font-size:12px}.payment-history{font-size:12px;margin:8px 0}.payment-history summary{cursor:pointer}.payment-history ul{padding-left:18px;margin:6px 0}.payment-history li{margin:4px 0}

.chart-month-nav{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin:0 0 12px}.chart-month-nav h3{margin:0;min-width:105px;text-align:center;line-height:1.3}.chart-month-nav .navbtn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:0;font-size:20px}.ciro-extreme-dot{pointer-events:none}
@media(max-width:700px){.chart-month-nav .navbtn{width:40px;height:40px;min-height:40px}}

.chart-month-nav{gap:3px}.chart-month-nav h3{min-width:0;margin:0 2px;flex:0 0 auto}

.chart-month-nav{align-items:center;gap:2px}.chart-month-nav h3{display:flex;align-items:center;justify-content:center;align-self:center;margin:0;line-height:1.3;padding:0}.chart-month-nav .navbtn,.chart-month-nav .navbtn:hover,.chart-month-nav .navbtn:active,.chart-month-nav .navbtn:disabled{background:transparent;border:0;box-shadow:none;border-radius:0;color:inherit}.chart-month-nav .navbtn{width:28px;height:32px;min-height:32px;flex:0 0 28px;padding:0;line-height:1}.chart-month-nav .navbtn svg{display:block;flex:none}.chart-month-nav .navbtn:disabled{opacity:.35}
@media(max-width:700px){.chart-month-nav .navbtn{width:32px;height:40px;min-height:40px;flex-basis:32px}}

.chart-month-nav h3{position:relative;top:3px}

.receiving-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.receiving-heading h2{margin:0 0 5px}.receiving-heading p{margin:0}.receiving-tools{flex-wrap:wrap}.receiving-count{font-size:13px;color:#687283}.receiving-table{table-layout:fixed;min-width:800px}.receiving-table th:first-child{width:80px}.receiving-table th:nth-child(2){width:38%}.receiving-table th:nth-child(3){width:23%}.receiving-table td{padding:8px;vertical-align:top}.receiving-source{overflow-wrap:anywhere}.receiving-source span{display:inline-block;margin-right:12px;margin-bottom:3px}.receiving-table input{width:100%;min-width:0;font-size:13px}.receiving-tools a{display:inline-flex;align-items:center;text-decoration:none;padding:8px 10px;border:1px solid #dce0e8;border-radius:8px;font-size:13px}
@media(max-width:700px){.receiving-panel{padding:12px}.receiving-table{min-width:720px}.receiving-heading h2{font-size:16px;overflow-wrap:anywhere}.receiving-tools{gap:5px}.receiving-tools .btn,.receiving-tools .navbtn{padding:8px;font-size:12px}}

.receiving-table{min-width:950px}.receiving-table th:first-child{width:65px}.receiving-table th:nth-child(2){width:29%}.receiving-table th:nth-child(3){width:15%}.receiving-table th:nth-child(4){width:30%}.receiving-table th:nth-child(5){width:150px}.receiving-cost{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}.receiving-price-wrap{display:flex;align-items:center;gap:5px}.receiving-price-wrap span{font-size:12px;color:#687283}.receiving-price input{text-align:right;font-variant-numeric:tabular-nums}

.receiving-table{min-width:1050px}.receiving-table th:nth-child(2){width:28%}.receiving-table th:nth-child(3){width:115px}.receiving-table th:nth-child(4){width:27%}.receiving-table th:nth-child(6){width:120px}.receiving-price-wrap input{width:85px;max-width:100%;flex:0 1 85px;padding:8px 6px}.receiving-difference{white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}.receiving-difference.is-positive{background:#fde9e9;color:#182133}.receiving-difference.is-negative{background:#e6f6eb;color:#182133}

.receiving-table tr.receiving-positive>td{background:#fde9e9;color:#182133}.receiving-table tr.receiving-negative>td{background:#e6f6eb;color:#182133}

.receiving-product-picker{min-width:0}.receiving-product-options{max-height:190px;overflow:auto;border:1px solid #dce0e8;border-radius:8px;background:#fff;margin-top:4px;padding:3px}.receiving-product-options[hidden]{display:none}.receiving-product-options [role=option]{display:block;width:100%;padding:8px;text-align:left;border:0;background:transparent;border-radius:5px;color:#182133;font:inherit;font-size:12px;white-space:normal;cursor:pointer}.receiving-product-options [role=option]:hover,.receiving-product-options [role=option][aria-selected=true]{background:var(--business-accent-tint,#fff0f5)}.receiving-product-options>.muted{padding:8px;font-size:12px}

.receiving-send-prices{display:flex;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #e5e8ef}.product-price-history td{white-space:nowrap}.product-price-history td:nth-child(5){white-space:normal;min-width:140px}

#editor .data-table tr.receiving-preview-positive>td{background:#fde9e9;color:#182133}#editor .data-table tr.receiving-preview-negative>td{background:#e6f6eb;color:#182133}

.receiving-send-prices{align-items:center;gap:10px;flex-wrap:wrap}.receiving-sent-status{color:#238047;font-weight:600;font-size:13px}.receiving-send-prices button:disabled{opacity:.5;cursor:default}

.receiving-invoice-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:#687283;margin-top:8px}.receiving-invoice-meta b{color:#182133;font-weight:600}.receiving-heading>div:first-child{min-width:0}.receiving-heading h2{overflow-wrap:anywhere}@media(max-width:700px){.receiving-invoice-meta{gap:6px 12px}}

.business-brand{position:relative;margin:0 5px 18px;flex-shrink:0}.business-brand-row{display:flex;align-items:center;gap:5px}.side .business-brand-row .brand{margin:0;width:auto;max-width:none;min-width:0;flex:1;padding:10px}.business-brand-row>button{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:36px;border:0;border-radius:7px;background:#ffffff16;color:#fff;padding:0}.business-current-name{color:#f0dbe4;font-size:12px;margin-top:7px;overflow-wrap:anywhere}.business-switch-menu{position:absolute;top:100%;left:0;right:0;z-index:100;background:#fff;border:1px solid #e4e8ef;border-radius:9px;padding:5px;box-shadow:0 6px 18px #17203325;margin-top:4px}.business-switch-menu[hidden]{display:none}.business-switch-menu button{display:block;width:100%;text-align:left;background:transparent;border:0;border-radius:5px;padding:10px 8px;color:#182133;font-size:13px;white-space:normal}.business-switch-menu button:hover,.business-switch-menu button[aria-current=true]{background:var(--business-accent-tint,#fff0f5);color:var(--business-accent,#92113e)}.business-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.business-settings-heading h2{margin:0}.business-settings .check-list small{color:#687283}@media(max-width:700px){.business-brand{max-width:300px;margin-bottom:5px}.business-current-name{margin-top:5px}.business-settings .data-table{min-width:320px}}

.side:has(.business-switch-menu:not([hidden])){overflow:visible;z-index:100}.business-switch-menu{max-height:min(360px,60vh);overflow:auto}

.cash-saved-time{display:block;margin-top:3px;color:var(--muted);font-size:11px;font-weight:400;line-height:1.3}

.pet-products-table th,.pet-products-table td{padding:7px 10px}.pet-products-table th:nth-child(2),.pet-products-table td:nth-child(2){width:75px;text-align:center;white-space:nowrap}.pet-products-table th:last-child,.pet-products-table td:last-child{width:160px}.pet-products-table input{width:100%;min-width:80px;max-width:145px;min-height:36px;padding:6px 8px}.pet-products-table td:first-child{overflow-wrap:anywhere}@media(max-width:600px){.pet-products-table{min-width:0!important;width:100%;table-layout:fixed}.pet-products-table th,.pet-products-table td{padding:7px 5px}.pet-products-table th:nth-child(2),.pet-products-table td:nth-child(2){width:44px}.pet-products-table th:last-child,.pet-products-table td:last-child{width:105px}.pet-products-table input{min-width:0;max-width:100%}}

.pet-products-table th:nth-child(3),.pet-products-table td:nth-child(3){width:145px}.pet-products-table th:last-child,.pet-products-table td:last-child{width:280px}.pet-products-table select{width:100%;min-height:36px;max-width:100%;font:inherit;font-size:12px}.pet-products-table input{max-width:120px}@media(max-width:600px){.pet-products-table{min-width:640px!important;table-layout:auto}.pet-products-table th:last-child,.pet-products-table td:last-child{width:220px}.pet-products-table th:nth-child(3),.pet-products-table td:nth-child(3){width:110px}}

.pet-source-control{display:flex;align-items:center;gap:5px}.pet-source-control select{min-width:0;flex:1}.pet-source-edit{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-height:34px;padding:5px}.pet-source-control select:disabled{opacity:1;color:var(--ink);background:#f4f6fa;cursor:default}

.pet-source-control{flex-wrap:wrap}.pet-source-control .pet-source-search{flex:0 0 100%;width:100%;max-width:100%;min-width:0;min-height:34px;font-size:12px}.pet-source-search[hidden]{display:none}

.pet-source-control select[hidden]{display:none}.pet-source-control .pet-source-combo{flex:1;min-width:0;width:100%;max-width:100%;padding-right:20px;font-size:12px}.pet-source-combo[readonly]{background:#f4f6fa;cursor:default}.pet-source-options{position:fixed;z-index:1000;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #17203325;overflow-y:auto;padding:4px}.pet-source-options[hidden]{display:none}.pet-source-options button{display:block;text-align:left;width:100%;border:0;border-radius:5px;background:white;color:var(--ink);padding:9px;font:inherit;font-size:12px}.pet-source-options button:hover,.pet-source-options button[aria-selected=true]{background:var(--business-accent-tint,#fff0f5)}.pet-source-options>.muted{padding:8px;font-size:12px}

.ciro-stack-legend .ciro-average-legend>i{height:0;width:22px;min-width:22px;border-top:2px dashed #d73545;background:transparent;border-radius:0;box-shadow:none}.ciro-average-legend{color:#b52a39}

body[data-page=dashboard] .home-summary-card .home-metric>strong{font-size:16px;line-height:1.35;font-weight:600}

/* Pet products retain their original fields and handlers in mobile cards. */
@media(max-width:700px){
#mixtureDetails>.panel{min-width:0}
.pet-products-table{display:block;width:100%!important;min-width:0!important;table-layout:auto}
.pet-products-table thead{display:none}
.pet-products-table tbody{display:grid;gap:12px;width:100%}
.pet-products-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:white;min-width:0}
.pet-products-table td{display:flex;flex-direction:column;gap:6px;width:auto!important;min-width:0;padding:0!important;border:0;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
.pet-products-table td:first-child,.pet-products-table td:last-child{grid-column:1/-1}
.pet-products-table td:first-child{font-size:15px;font-weight:600}
.pet-products-table td:not(:first-child)::before{content:attr(data-label);font-size:12px;font-weight:500;color:var(--muted,#667488)}
.pet-products-table input{min-width:0!important;width:100%;max-width:100%;font-size:16px!important;min-height:44px}
.pet-source-control{flex-wrap:nowrap;min-width:0;width:100%}
.pet-source-edit{flex-basis:44px;width:44px;min-height:44px}
.pet-source-options button{white-space:normal;overflow-wrap:anywhere;min-height:44px;font-size:14px}
}

@media(max-width:700px){.table-wrap:has(>.pet-products-table)::before{display:none}}
