.kds-timing-card{width:min(420px,100%)!important;max-height:calc(100dvh - 24px)!important;display:flex;flex-direction:column;border-radius:18px!important;overflow:hidden!important}
.kds-timing-card .auto-info-head{padding:14px 16px;flex-shrink:0}.kds-timing-card h3{font-size:17px;margin:0}
#kdsTimingForm{display:flex;flex-direction:column;min-height:0;overflow:hidden}.kds-timing-body{padding:4px 16px 12px;overflow:auto;overscroll-behavior:contain}
.kds-timing-body fieldset{border:0;padding:8px 0;margin:0;min-width:0}.kds-timing-body legend{padding:6px 0;color:#64748b;font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:750;width:100%}.kds-timing-body legend small{float:right;color:#15803d;letter-spacing:0;text-transform:none;font-size:11px}
.kds-timing-row{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:49px;border-bottom:1px solid #edf0f5;font-size:13px;font-weight:650;color:#1e293b}.kds-timing-row>span:first-child{display:flex;align-items:center;gap:8px}
.kds-minute-input{display:flex;align-items:center;gap:5px;flex:none;background:#f1f5f9;border:1px solid #dbe3ee;border-radius:9px;padding:3px 8px}.kds-minute-input input{width:55px!important;min-width:0!important;min-height:30px!important;border:0!important;background:transparent!important;padding:2px!important;font:inherit;font-weight:750;text-align:right;color:#0f172a}.kds-minute-input>span{font-size:11px;color:#64748b}
.kds-color-dot{width:10px;height:10px;border-radius:50%;background:#16a34a}.kds-color-dot.yellow{background:#eab308}.kds-color-dot.red{background:#ef4444}
.kds-timing-footer{display:flex;justify-content:space-between;gap:10px;padding:12px 16px;border-top:1px solid #e2e8f0;background:#fff}.kds-timing-footer button{padding:9px 18px;border:1px solid #dbe3ee;border-radius:9px;background:#f8fafc;color:#334155;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.kds-timing-footer button[type=submit]{background:#4f46e5;color:#fff;border-color:#4f46e5}.kds-timing-footer button:disabled{opacity:.6}
#kdsTimingMessage{font-size:12px;color:#b91c1c;min-height:0;padding-top:6px}
[data-age-active="1"]{border:1px solid #dbe3ee;border-inline-start:5px solid #94a3b8;transition:border-color .2s,box-shadow .2s}
[data-age-active="1"].age-green{border-color:#86efac!important;border-inline-start-color:#16a34a!important;box-shadow:0 2px 9px #16a34a12!important}[data-age-active="1"].age-yellow{border-color:#fde047!important;border-inline-start-color:#eab308!important;box-shadow:0 2px 9px #eab30814!important}[data-age-active="1"].age-red{border-color:#fca5a5!important;border-inline-start-color:#ef4444!important;box-shadow:0 2px 9px #ef444414!important}
.age-pill{display:inline-flex!important;align-items:center;padding:3px 7px!important;margin:5px 0 0 5px!important;border-radius:6px!important;background:#f1f5f9!important;color:#475569!important;font-size:11px!important;line-height:1.4!important;font-weight:700!important;font-variant-numeric:tabular-nums;white-space:nowrap}
.age-pill.age-green{background:#dcfce7!important;color:#166534!important}.age-pill.age-yellow{background:#fef9c3!important;color:#854d0e!important}.age-pill.age-red{background:#fee2e2!important;color:#991b1b!important}
@media(max-width:480px){#autoCompleteInfoModal{padding:12px!important}.kds-timing-card .auto-info-head{padding:12px 14px}.kds-timing-body{padding-inline:14px}.compact-summary .sum-left{min-width:0}.kds-timing-row{font-size:12px}}

/* The order header follows the same elapsed-time thresholds as its border. */
[data-age-active="1"]{--kds-header-bg:#f1f5f9;--kds-header-ink:#334155;--kds-header-chip:#e2e8f0}
[data-age-active="1"].age-green{--kds-header-bg:#15803d;--kds-header-ink:#fff;--kds-header-chip:#ffffff24}
[data-age-active="1"].age-yellow{--kds-header-bg:#facc15;--kds-header-ink:#422006;--kds-header-chip:#ffffff80}
[data-age-active="1"].age-red{--kds-header-bg:#dc2626;--kds-header-ink:#fff;--kds-header-chip:#ffffff24}
[data-age-active="1"]>.popup-head,[data-age-active="1"]>.compact-summary{background:var(--kds-header-bg)!important;color:var(--kds-header-ink)!important;transition:background-color .2s,color .2s}
[data-age-active="1"]>.compact-summary :is(.sum-left strong,.sum-left small,.sum-right,.sum-right small,.money){color:var(--kds-header-ink)!important}
[data-age-active="1"]>.compact-summary::after,[data-age-active="1"]>.compact-summary .type-pill,[data-age-active="1"]>.popup-head .x,[data-age-active="1"] :is(.popup-head,.compact-summary) .age-pill{background:var(--kds-header-chip)!important;color:var(--kds-header-ink)!important;border-color:currentColor!important;box-shadow:none!important}
[data-age-active="1"]>.compact-summary{border-radius:inherit}
