*{box-sizing:border-box}body{margin:0;background:#f2f5f8;color:#192b3c;font:15px system-ui}main{max-width:1100px;margin:auto;padding:36px 22px}header{display:flex;align-items:center;justify-content:space-between;gap:15px}h1{font-size:30px;margin:8px 0}h2{font-size:21px}small,.muted,footer{color:#637487}header span{background:#fff0c8;border-radius:20px;padding:9px 16px;white-space:nowrap}.notice{background:#e2ebf4;padding:18px;border-radius:12px}section{background:white;border:1px solid #dfe6ee;padding:24px;border-radius:14px;margin:22px 0}label{display:block;font-size:13px;font-weight:600;margin:15px 0}input,select{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #bdcad7;border-radius:7px;font:inherit}button{background:#efb83f;color:#192b3c;border:0;border-radius:7px;padding:12px 17px;cursor:pointer;font:inherit;font-weight:600}button.secondary{background:#eaf0f6;margin:6px 0}button:disabled{opacity:.5;cursor:wait}nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}nav button{background:#eaf0f6}nav button.active{background:#193149;color:white}.row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.table{overflow:auto}table{width:100%;border-collapse:collapse}td,th{padding:13px 10px;border-bottom:1px solid #e6ebf0;text-align:left;font-size:13px}th{color:#637487}p{line-height:1.6}#status,#resultStatus{min-height:24px}footer{font-size:12px}[hidden]{display:none!important}@media(max-width:650px){header{align-items:flex-start;flex-direction:column}.row{grid-template-columns:1fr}main{padding:20px 12px}section{padding:18px}h1{font-size:25px}}

details{padding:15px;background:#f3f6fa;border-radius:9px;margin:18px 0}summary{cursor:pointer;font-weight:600}#draftBasket{margin:18px 0}#draftDocument{margin-top:24px;padding:18px;background:#f3f6fa;border-radius:10px}#draftStatus{min-height:24px}
.product-picker{position:relative}.product-picker>label{margin-bottom:7px}.product-picker>input{margin-top:0}.product-picker #draftSuggestions{position:absolute;left:0;right:0;top:88px;z-index:20;max-height:330px;overflow:auto;background:white;border:1px solid #bdcad7;border-radius:9px;box-shadow:0 10px 25px #19314924}.product-option{display:block;width:100%;padding:12px 14px;text-align:left;font-size:13px;line-height:1.5;background:white;border-radius:0;font-weight:500;border-bottom:1px solid #e6ebf0}.product-option:hover,.product-option:focus,.product-option.selected{background:#fff0c8;outline:2px solid #efb83f;outline-offset:-2px}#draftBasket input{min-width:100px;max-width:160px;margin:0;padding:9px}#draftBasket select{min-width:155px;margin:0;padding:9px}#draftClientTotal{font-size:23px;font-weight:700;max-width:380px}#draftBasket{overflow:auto}#draftBasket td:first-child{min-width:200px}#draftSearch{font-size:17px}

.preflight{background:#f6f8fb;margin:24px 0;padding:18px}.preflight h4{margin:22px 0 10px}.preflight p{font-size:13px}#draftCheckStatus{font-weight:600}

.settings-badge{padding:16px;border-radius:9px;background:#eaf0f6;margin:22px 0 12px;font-weight:600;line-height:1.6}.settings-badge.saved{background:#e1f4eb;color:#176649}.settings-badge.unsaved{background:#fff0c8;color:#76570e}.invoice-summary{padding:12px;background:#e1f4eb;border-radius:8px}

.workspace-sync{padding:16px;background:#f3f6fa;border-radius:10px;margin:15px 0 22px}.sync-good{color:#176649;font-weight:600}.sync-warning{color:#8a4d08;font-weight:600}

textarea{display:block;width:100%;font:inherit;padding:12px;border:1px solid #bdcad7;border-radius:7px;margin-top:7px;resize:vertical}.reopen-panel{padding:16px;border:1px solid #e8c978;background:#fff8e8;border-radius:9px;margin:18px 0}#journalRows td{white-space:nowrap}#shiftAuditRows td:last-child{min-width:250px;white-space:normal}

#adminQueue{border:1px solid #bfd5e9;background:#f4f8fc}#adminPackage{border-top:1px solid #cbd9e6;margin-top:20px;padding-top:15px}#adminMarketLabel{padding:14px;background:#fff1ce;border-radius:8px;line-height:1.6}#adminMarketAck{display:inline;width:auto;margin-right:8px}#adminQueueRows td{white-space:nowrap}#adminPackageStatus{font-weight:650}
