/* === KitchenPilot readability pass (append at END of styles.css). Brand colors untouched. === */
body{font-family:"IBM Plex Sans Arabic","DM Sans",system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
html[lang="en"] body{font-family:"DM Sans","IBM Plex Sans Arabic",system-ui,sans-serif}
input,select,button,textarea{font-family:inherit;font-size:14px}
.nav-item{font-size:14px;min-height:48px}
.crumb,.outline-btn,.primary-btn,.date-chip,.select-chip{font-size:13px}
.welcome-row h1,.page-title h1{font-size:28px;line-height:1.4;letter-spacing:0}
.section-head h2{font-size:19px;letter-spacing:0}
.section-head p,.panel-heading p,.notice small,.kpi-top,.kpi-foot,.chart-legend,.chart-hours,.chart-insight,.recommendation b{font-size:13px;line-height:1.7}
.panel-heading h3{font-size:16px;letter-spacing:0}
.eyebrow{font-size:12px;letter-spacing:.6px}
.kpi-value{letter-spacing:0}
.panel{padding:22px}
label span{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:var(--ink)}
input,select{min-height:42px;padding:8px 12px;border-radius:10px}
.live-sales-status,.live-forecast-status,.live-prep-status,.live-waste-status,.live-inventory-status{font-size:13px;line-height:1.8;color:#5b6a7e}
table{font-size:13px}
th{font-size:12px;font-weight:700}
td,th{padding:11px 12px}
@media (max-width:760px){.content{padding:20px 16px}.welcome-row h1,.page-title h1{font-size:24px}}

/* Foodics sales form: fix wrapped branch field and unstyled branch select */
.live-sales-form{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;align-items:end}
.live-sales-form label{min-width:0}
.live-sales-form select{width:100%;min-width:0;height:42px;border:1px solid #dfe5ec;border-radius:10px;padding:0 10px;background:#fff;color:#24364e;font:inherit;text-overflow:ellipsis}
.live-sales-form button{width:100%;white-space:normal}
.api-connection-check{margin-top:14px}
@media (min-width:1100px){.live-sales-form{grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(150px,1fr))}.live-sales-form button{grid-column:span 2}}

/* === Auth forms: password eye toggle + polish === */
.kp-pw{position:relative;display:block}
.kp-pw input{padding-right:46px!important}
.kp-pw-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#6b7a90;cursor:pointer;padding:0}
.kp-pw-toggle:hover{background:#f2f5f8;color:#17243a}
.kp-pw-toggle:focus-visible{outline:3px solid #8bb8e8;outline-offset:1px}
.kp-pw-toggle[aria-pressed="true"]{color:#e87924}
.kp-auth-screen .kp-auth-form label{font-size:13px;gap:7px}
.kp-auth-screen .kp-auth-form input,.kp-auth-screen .kp-auth-form select{font-size:15px;transition:border-color .15s ease,box-shadow .15s ease}
.kp-auth-screen .kp-auth-form input:focus,.kp-auth-screen .kp-auth-form select:focus{border-color:#e87924;box-shadow:0 0 0 3px #e8792426;outline:none}
.kp-auth-screen .kp-auth-submit{font-size:15px;min-height:48px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.kp-auth-screen .kp-auth-submit:hover{transform:translateY(-1px)}
.kp-auth-screen .kp-auth-submit:disabled{opacity:.65;cursor:wait;transform:none}
.kp-auth-screen .kp-auth-heading{font-size:28px;letter-spacing:0}
.kp-auth-screen .kp-auth-copy{font-size:14px;line-height:1.8}
.kp-auth-screen .kp-auth-tabs button{font-size:14px;min-height:40px}
.kp-auth-screen .kp-auth-link,.kp-auth-screen .kp-auth-back,.kp-auth-screen .kp-auth-remember{font-size:13px!important}
.kp-auth-screen .kp-auth-message{font-size:13px}
.kp-auth-screen .kp-auth-footer{font-size:12px}
