:root{
  --ivory:#f7f3e9;
  --paper:#fffdf8;
  --olive:#2f4735;
  --olive-2:#48634e;
  --sage:#96a58e;
  --sage-soft:#dfe6da;
  --gold:#b8964f;
  --gold-soft:#efe2bd;
  --ink:#253027;
  --muted:#718074;
  --line:#ded9ca;
  --danger:#a9564b;
  --success:#4f7358;
  --shadow:0 10px 28px rgba(55,68,52,.09);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--ivory);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.app-shell{min-height:100vh;display:grid;grid-template-columns:265px 1fr}
.sidebar{background:linear-gradient(180deg,#263d2d 0%,#203328 100%);color:#f8f3e7;padding:24px 18px;position:sticky;top:0;height:100vh;overflow:auto}
.brand{display:flex;align-items:center;gap:12px;padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.12)}
.brand-mark{width:54px;height:54px;border:1px solid rgba(224,196,126,.7);border-radius:50%;display:grid;place-items:center;color:#e2c47e;font-family:Georgia,serif;font-style:italic;font-size:22px;box-shadow:inset 0 0 0 4px rgba(255,255,255,.03)}
.brand-title{font-family:Georgia,serif;letter-spacing:.08em;font-size:17px;line-height:1.25}.brand-sub{font-size:11px;color:#cdd7ce;margin-top:4px;letter-spacing:.14em;text-transform:uppercase}
.nav{display:flex;flex-direction:column;gap:5px;margin-top:18px}.nav-btn{border:0;background:transparent;color:#dfe7df;border-radius:12px;text-align:left;padding:11px 12px;display:flex;align-items:center;gap:10px;font-size:14px}.nav-btn:hover{background:rgba(255,255,255,.06)}.nav-btn.active{background:#f5edda;color:#2b402f;font-weight:700;box-shadow:0 5px 15px rgba(0,0,0,.14)}.nav-icon{width:20px;text-align:center;opacity:.9}
.sidebar-footer{margin-top:20px;padding:15px 10px;border-top:1px solid rgba(255,255,255,.12);font-size:12px;color:#cdd7ce}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#8eb292;margin-right:6px}
.main{min-width:0}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid rgba(126,120,102,.15);background:rgba(247,243,233,.85);backdrop-filter:blur(12px);position:sticky;top:0;z-index:5}.page-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.16em;color:var(--gold);font-weight:800}.page-title{font-family:Georgia,serif;font-size:29px;margin-top:3px}.top-actions{display:flex;gap:10px;align-items:center}.search{width:280px;border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:10px 13px}.user-chip{border:1px solid var(--line);background:var(--paper);border-radius:999px;padding:8px 12px;font-size:13px}
.content{padding:28px 30px 45px}.hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px}.hero p{margin:6px 0 0;color:var(--muted);max-width:720px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:10px 14px;border-radius:11px;font-weight:700;box-shadow:none}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--gold);border-color:var(--gold);color:white}.btn.olive{background:var(--olive);border-color:var(--olive);color:white}.btn.ghost{background:transparent}.btn.danger{background:#fff5f3;border-color:#ebc7c1;color:var(--danger)}.btn.small{padding:7px 10px;font-size:12px}
.grid{display:grid;gap:16px}.grid.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.grid.two{grid-template-columns:1.3fr 1fr}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--paper);border:1px solid rgba(181,173,149,.36);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.card h3{font-family:Georgia,serif;margin:0 0 12px;font-size:20px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.card-head h3{margin:0}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);font-weight:800}.metric{font-family:Georgia,serif;font-size:31px;margin-top:5px}.metric-note{font-size:12px;color:var(--muted);margin-top:6px}.metric.positive{color:var(--success)}.metric.gold{color:#98772f}
.production-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.prod-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fff}.prod-card.active{border-color:#afc0ab;background:#f7fbf5}.prod-title{font-weight:800}.prod-meta{font-size:12px;color:var(--muted);margin-top:6px}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800;background:var(--sage-soft);color:var(--olive)}.badge.gold{background:var(--gold-soft);color:#7e6329}.badge.red{background:#f3d7d2;color:#8e493f}.badge.gray{background:#ecebe6;color:#6d716c}.badge.green{background:#dcebdc;color:#41634a}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px;background:white}table{width:100%;border-collapse:collapse;min-width:720px}th,td{padding:12px 14px;border-bottom:1px solid #ece8dd;text-align:left;font-size:13px;vertical-align:top}th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6f776f;background:#faf8f2}tr:last-child td{border-bottom:0}.muted{color:var(--muted)}.money{font-variant-numeric:tabular-nums;font-weight:800}.link-btn{border:0;background:transparent;color:#31543c;font-weight:800;padding:0;text-decoration:underline;text-decoration-color:#b9c3b7;text-underline-offset:3px}
.filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.filter{border:1px solid var(--line);background:white;border-radius:10px;padding:9px 11px}.segmented{display:flex;gap:4px;background:#ece9df;border-radius:11px;padding:4px}.segmented button{border:0;background:transparent;border-radius:8px;padding:7px 10px;font-size:12px}.segmented button.active{background:white;box-shadow:0 2px 8px rgba(0,0,0,.08);font-weight:800}
.list{display:flex;flex-direction:column;gap:10px}.list-item{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #ece8dd}.list-item:last-child{border-bottom:0}.list-title{font-weight:800}.list-meta{font-size:12px;color:var(--muted);margin-top:4px}.right{text-align:right}.empty{padding:34px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:14px;background:#fcfbf7}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:800;color:#5a675d}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:10px;background:white;padding:10px 11px;color:var(--ink)}.field textarea{min-height:90px;resize:vertical}.modal-backdrop{position:fixed;inset:0;background:rgba(21,29,23,.45);display:grid;place-items:center;z-index:30;padding:20px}.modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:var(--paper);border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.25);padding:22px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{margin:0;font-family:Georgia,serif}.close{border:0;background:#efeee9;width:34px;height:34px;border-radius:50%;font-size:18px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
.bar-chart{display:flex;align-items:flex-end;gap:10px;height:180px;padding-top:15px}.bar-col{flex:1;text-align:center}.bar{background:linear-gradient(180deg,#8fa48f,#46624e);border-radius:8px 8px 2px 2px;min-height:8px}.bar-label{font-size:10px;color:var(--muted);margin-top:7px}.bar-value{font-size:10px;font-weight:800;margin-bottom:5px}.donut{width:150px;height:150px;border-radius:50%;background:conic-gradient(#47644e 0 72%, #c7a85e 72% 86%, #9eaf98 86% 94%, #d9d5cb 94% 100%);position:relative;margin:12px auto}.donut:after{content:"";position:absolute;inset:28px;background:var(--paper);border-radius:50%}.legend{display:grid;gap:7px;font-size:12px}.legend-row{display:flex;justify-content:space-between;gap:10px}.swatch{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;background:var(--olive-2)}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden}.cal-head{background:#f0ede3;padding:10px;font-size:11px;text-transform:uppercase;font-weight:800;color:#657064}.cal-day{min-height:112px;background:white;border-top:1px solid var(--line);border-right:1px solid var(--line);padding:8px;font-size:12px}.cal-day:nth-child(7n){border-right:0}.cal-num{font-weight:800}.cal-event{margin-top:6px;padding:5px 7px;border-radius:7px;background:#e7eee4;color:#35503d;font-size:10px;font-weight:700}
.toast{position:fixed;right:24px;bottom:24px;background:#263d2d;color:white;padding:12px 16px;border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.24);z-index:50;font-size:13px}
.mobile-menu{display:none}
@media(max-width:1100px){.grid.kpis{grid-template-columns:repeat(2,1fr)}.production-cards{grid-template-columns:repeat(2,1fr)}.grid.two{grid-template-columns:1fr}.search{display:none}}
@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-280px;z-index:20;width:265px;transition:left .2s}.sidebar.open{left:0}.mobile-menu{display:inline-flex}.topbar{padding:0 16px;height:74px}.content{padding:20px 16px 35px}.grid.kpis,.grid.three,.production-cards,.form-grid{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.page-title{font-size:24px}.top-actions .user-chip{display:none}.field.full{grid-column:auto}}

/* Customers: search-first experience */
.customer-search-card{background:var(--paper);border:1px solid rgba(181,173,149,.36);border-radius:18px;box-shadow:var(--shadow);padding:14px;margin-bottom:18px}
.customer-search-wrap{position:relative;display:flex;align-items:center}.customer-search-icon{position:absolute;left:16px;color:var(--olive);font-size:24px;line-height:1}.customer-search-input{width:100%;border:1px solid var(--line);background:white;border-radius:14px;padding:16px 48px 16px 48px;font-size:16px;outline:none}.customer-search-input:focus{border-color:#9caf9a;box-shadow:0 0 0 4px rgba(72,99,78,.08)}.customer-clear{position:absolute;right:12px;border:0;background:transparent;font-size:25px;color:var(--muted);padding:6px 10px}.customer-clear.hidden{display:none}.customer-search-hint{padding:15px 8px 5px;color:var(--muted);font-size:13px}.customer-results{margin-top:8px;border:1px solid #ece8dd;border-radius:13px;overflow:hidden}.customer-result{width:100%;display:grid;grid-template-columns:44px minmax(180px,1.35fr) minmax(130px,.8fr) minmax(180px,1fr) 20px;align-items:center;gap:12px;border:0;border-bottom:1px solid #ece8dd;background:white;text-align:left;padding:11px 13px;color:var(--ink)}.customer-result:last-child{border-bottom:0}.customer-result:hover,.customer-result.selected{background:#f6f0df}.customer-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--gold-soft);color:#7f6327;font-weight:900;font-size:12px;flex:0 0 auto}.customer-avatar.large{width:64px;height:64px;font-size:20px}.customer-result-name{display:flex;flex-direction:column;gap:3px}.customer-result-name small{color:var(--muted)}.result-arrow{font-size:25px;color:var(--gold)}.customer-search-empty{padding:50px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:18px;background:rgba(255,253,248,.6)}.customer-search-empty h3{font-family:Georgia,serif;color:var(--ink);font-size:23px;margin:12px 0 6px}.customer-search-empty p{max-width:520px;margin:0 auto}.search-empty-mark{margin:auto;width:76px;height:76px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;font-family:Georgia,serif;font-style:italic;color:var(--gold);font-size:19px}.customer-profile{margin-top:4px}.customer-profile-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.customer-identity{display:flex;align-items:center;gap:15px}.customer-identity h2{font-family:Georgia,serif;font-size:27px;margin:4px 0}.customer-contact-line{color:var(--muted);font-size:13px}.customer-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.customer-stat-row>div,.history-stats>div{border:1px solid #eadfbe;background:#faf5e7;border-radius:13px;padding:12px}.customer-stat-row span,.history-stats span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800;margin-bottom:5px}.customer-stat-row strong,.history-stats strong{font-family:Georgia,serif;font-size:20px}.customer-detail-grid{border-top:1px solid #ece8dd;padding-top:18px}.customer-info-list{display:grid;gap:10px;margin-top:12px}.customer-info-list div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #f0ede4;padding-bottom:9px}.customer-info-list span{color:var(--muted);font-size:12px}.customer-notes{line-height:1.55;margin:12px 0 0;color:#536057}.history-modal{width:min(1050px,100%)}.history-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}
@media(max-width:900px){.customer-result{grid-template-columns:42px 1fr 20px}.customer-result>span:nth-child(3),.customer-result>span:nth-child(4){display:none}.customer-profile-head{align-items:flex-start;flex-direction:column}.customer-stat-row,.history-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.customer-stat-row,.history-stats{grid-template-columns:1fr}.customer-profile-head .hero-actions{width:100%}.customer-profile-head .hero-actions .btn{flex:1}.customer-identity{align-items:flex-start}}

/* Customer add/edit enhancements */
.customer-modal{width:min(820px,100%)}
.segmented{display:flex;gap:10px;flex-wrap:wrap}.segmented label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:10px;background:white;padding:10px 14px;font-weight:700;color:var(--ink)}.segmented input{accent-color:var(--olive)}
.optional{font-weight:500;color:var(--muted)}.check-field label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink)}.check-field input{width:auto;accent-color:var(--olive)}

/* Inventory-driven product builds */
.recipe-add{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:8px;align-items:center}.recipe-add select,.recipe-add input{border:1px solid var(--line);border-radius:10px;background:white;padding:10px 11px}.recipe-list{margin-top:10px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.recipe-row{display:grid;grid-template-columns:minmax(0,1fr) 110px auto;gap:12px;align-items:center;padding:11px 12px;border-bottom:1px solid #ece8dd;background:white}.recipe-row:last-child{border-bottom:0}.recipe-row small{display:block;color:var(--muted);margin-top:3px}.customer-profile-head h2{font-family:Georgia,serif;margin:5px 0}
@media(max-width:650px){.recipe-add{grid-template-columns:1fr}.recipe-row{grid-template-columns:1fr auto}.recipe-row .link-btn{grid-column:1/-1;text-align:left}}

/* v1.4.11 — Olive + Lily boutique aesthetic system */
:root{--ivory:#fbf8f1;--paper:#fffefa;--olive:#34472f;--olive-2:#52684a;--sage:#9daa91;--sage-soft:#edf0e8;--gold:#b88b3f;--gold-soft:#f3ead9;--ink:#24261f;--muted:#73766e;--line:#e7e0d4;--shadow:0 8px 24px rgba(52,71,47,.07);--radius:14px}
body{background:linear-gradient(135deg,#fbf8f1 0%,#f8f5ed 100%)}
.app-shell{grid-template-columns:220px 1fr}
.sidebar{background:linear-gradient(180deg,#3c4d34 0%,#2f412b 100%);padding:18px 12px;box-shadow:8px 0 28px rgba(31,47,29,.08)}
.brand{display:block;text-align:center;padding:0 5px 18px;border-bottom:1px solid rgba(255,255,255,.12)}
.brand-logo{display:block;width:142px;height:142px;object-fit:cover;border-radius:50%;margin:0 auto 10px;mix-blend-mode:screen;filter:contrast(1.03)}
.brand-tagline{font-size:8px;letter-spacing:.22em;color:#e9dfca;white-space:nowrap}
.nav{gap:3px;margin-top:13px}.nav-btn{padding:10px 11px;border-radius:9px;color:#f4f0e7;font-size:13px}.nav-btn:hover{background:rgba(255,255,255,.08)}.nav-btn.active{background:rgba(189,199,163,.32);color:white;box-shadow:none}.nav-icon{font-size:16px;color:#f5efe1}
.sidebar-footer{text-align:center;border-top:0;margin-top:18px;padding:18px 8px 4px}.sidebar-script{font-family:Georgia,serif;font-style:italic;font-size:18px;line-height:1.35;color:#d9bd7c}.sidebar-values{margin-top:14px;font-size:8px;letter-spacing:.12em;line-height:1.6;color:#d9dfd3;text-transform:uppercase}
.topbar{height:92px;padding:0 26px;background:rgba(255,253,248,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.topbar-brand{display:flex;align-items:center;gap:12px}.topbar-script{font-family:Georgia,serif;font-style:italic;color:#a47735;font-size:25px}.topbar-sub{font-size:8px;letter-spacing:.28em;color:#8d7655;margin-top:4px}.today-chip{font-size:12px;color:#55594f;padding-right:14px;border-right:1px solid var(--line)}
.content{padding:22px 26px 42px;max-width:1500px}.hero{margin-bottom:16px;align-items:center}.hero h2{font-size:38px!important;font-weight:500;letter-spacing:-.03em}.hero p{font-size:13px}.hero-actions .btn{min-width:100px}
.btn{border-radius:8px;padding:9px 13px}.btn.primary{background:var(--olive);border-color:var(--olive)}.btn.olive{background:linear-gradient(180deg,#526746,#3e5338);border-color:#40543a;box-shadow:0 5px 14px rgba(52,71,47,.16)}
.card{border-radius:12px;border-color:#ebe5da;box-shadow:0 4px 14px rgba(52,71,47,.055);padding:15px;background:rgba(255,254,250,.96)}.card h3{font-size:18px}.grid{gap:10px}.grid.kpis{gap:10px;margin-bottom:12px}.grid.kpis>.card{min-height:108px;position:relative;overflow:hidden}.grid.kpis>.card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--gold),#d8c295);opacity:.75}.eyebrow{font-size:10px;letter-spacing:.08em}.metric{font-size:27px}.metric-note{font-size:11px}.list-item{padding:10px 0}.list-title{font-size:13px}.list-meta{font-size:11px}.badge{border-radius:6px;padding:4px 7px}
.table-wrap{border-radius:10px;box-shadow:0 3px 12px rgba(52,71,47,.04)}th{background:#f7f3ea;color:#6d7168}tr:hover td{background:#fdfaf4}
.modal{border:1px solid #e7dfd1;border-radius:16px;box-shadow:0 35px 90px rgba(31,45,29,.24)}.modal-head{padding-bottom:13px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:24px}.field input,.field select,.field textarea{border-radius:8px;background:#fffefa}.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:#a7b39b;box-shadow:0 0 0 3px rgba(82,104,74,.08)}
.customer-search-card{border-radius:12px;box-shadow:0 4px 14px rgba(52,71,47,.055)}.customer-search-input{border-radius:9px}.calendar{border-radius:10px}.cal-head{background:#f4efe5}.cal-event{background:#e9eee4}
@media(max-width:1100px){.app-shell{grid-template-columns:205px 1fr}.brand-logo{width:126px;height:126px}.today-chip{display:none}}
@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{width:230px;left:-245px}.topbar{height:76px;padding:0 14px}.topbar-script{font-size:19px}.topbar-sub{display:none}.content{padding:18px 14px 32px}.hero h2{font-size:31px!important}.brand-logo{width:120px;height:120px}}

/* v1.4.12 — unified sidebar line icons */
.nav-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px}.nav-icon svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-btn.active .nav-icon svg{stroke-width:2}
.badge.amber{background:#f4e5bf;color:#7a5b1f}

/* v1.4.14 — Trade Show Order Form */
.order-form-wrap{max-width:1180px;margin:0 auto}.order-form-wrap .card{overflow:visible}.order-form-kiosk{grid-template-columns:1fr}.order-form-kiosk .sidebar,.order-form-kiosk .topbar{display:none}.order-form-kiosk .main{width:100%;min-height:100vh}.order-form-kiosk .content{max-width:1220px;margin:0 auto;padding-top:34px}.order-form-kiosk .order-form-wrap>.hero{background:linear-gradient(135deg,#fbf7ee,#f0eadc);border:1px solid rgba(164,119,53,.18);border-radius:22px;padding:24px}.order-form-kiosk .order-form-wrap .card{box-shadow:0 10px 28px rgba(46,65,43,.08)}
@media(max-width:780px){.order-form-kiosk .content{padding:18px 12px 32px}.order-form-wrap .table-wrap{overflow-x:auto}.trade-show-details{min-width:180px!important}}

/* v1.4.17 — authenticated multi-user console */
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 20% 10%,rgba(197,167,92,.18),transparent 30%),linear-gradient(145deg,#1f3426,#314a35 55%,#24382a);position:relative;overflow:hidden}.auth-screen:after{content:"";position:absolute;inset:auto -120px -170px auto;width:420px;height:420px;border:1px solid rgba(220,196,132,.28);border-radius:50%}.auth-card{width:min(440px,92vw);background:#fbf8f1;border:1px solid rgba(159,125,54,.22);border-radius:28px;padding:30px;box-shadow:0 28px 70px rgba(0,0,0,.28);position:relative;z-index:1;text-align:center}.auth-logo{width:160px;height:160px;object-fit:contain;border-radius:50%;margin:-4px auto 8px}.auth-kicker{font-size:11px;letter-spacing:.24em;color:#8a6a29;margin-bottom:14px}.auth-card h1{font:700 32px/1.1 Georgia,serif;color:#263b2b;margin:0 0 8px}.auth-sub{color:#6f756f;margin:0 auto 20px;max-width:330px}.auth-form{display:grid;gap:14px;text-align:left}.auth-form label,.account-modal label{display:grid;gap:7px;font-weight:700;color:#344438;font-size:13px}.auth-form input,.account-modal input{width:100%;box-sizing:border-box;border:1px solid #d9d2c4;background:white;border-radius:12px;padding:13px 14px;font:inherit;outline:none}.auth-form input:focus,.account-modal input:focus{border-color:#7f936d;box-shadow:0 0 0 3px rgba(87,111,73,.1)}.auth-submit{width:100%;justify-content:center;margin-top:4px;padding:13px 16px}.auth-error{min-height:18px;color:#a53a35;font-size:13px;font-weight:600}.auth-message{background:#f1ead9;border:1px solid #e1d2af;color:#6e5728;border-radius:12px;padding:10px 12px;margin-bottom:14px;font-size:13px}.auth-userline{display:inline-block;background:#edf0e8;color:#334d37;border-radius:999px;padding:7px 12px;font-weight:800;margin:0 0 18px}.auth-foot{border-top:1px solid #e5dece;margin-top:20px;padding-top:16px;color:#8b846f;font-size:11px;letter-spacing:.16em;text-transform:uppercase}.user-chip{border:1px solid #e0dacd;background:#fffaf2;border-radius:14px;padding:6px 10px 6px 6px;display:flex;align-items:center;gap:8px;cursor:pointer;color:#2d3e31}.user-chip:hover{background:#f4efe5}.user-chip span:last-child{display:grid;text-align:left;line-height:1.05}.user-chip strong{font-size:12px}.user-chip small{font-size:10px;color:#7b807b;margin-top:4px}.user-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#314a35;color:#fff;font-weight:800;font-size:12px}.account-modal{max-width:460px}.account-modal .stack{display:grid;gap:13px}.sync-pill{font-size:11px;color:#708070}@media(max-width:820px){.user-chip span:last-child{display:none}.user-chip{padding-right:6px}.auth-card{padding:24px}.auth-logo{width:135px;height:135px}}

.auth-link{border:0;background:transparent;color:#6b7f60;text-decoration:underline;cursor:pointer;font:600 12px/1.2 inherit;padding:2px 0 0}.auth-link:hover{color:#314a35}.sync-pill{font-weight:700}

.v-library{max-height:220px;overflow:auto;display:flex;flex-wrap:wrap;gap:12px;padding:12px}.v-library label{display:flex;align-items:center;gap:7px}.v-library label[hidden]{display:none}.v-library input{width:auto}.v-qty,.v-cost,.v-pack-qty{min-width:80px;max-width:110px}

/* Variant and fulfillment controls follow the existing Console palette. */
.v-search,input[id^="v-"],select[id^="v-"],textarea[id^="v-"],.v-qty,.v-cost,.v-pack-qty{font:inherit;border:1px solid #ddd8cc;border-radius:8px;background:#fffdf8;color:#292b27;padding:9px 11px;margin:5px 0;min-height:38px}
.v-search{width:100%}.v-library{border:1px solid #ebe5d8;border-radius:10px;margin:8px 0 14px;background:#faf8f2}.v-library label{padding:5px}.v-pack-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.v-pack-fields label{display:grid;gap:5px;font-weight:600;color:#3e5738}.v-pack-fields label:last-child{grid-column:1/-1}.v-pack-fields textarea{min-height:75px}.v-pack-fields input{width:100%}@media(max-width:600px){.v-pack-fields{grid-template-columns:1fr}.v-pack-fields label:last-child{grid-column:auto}}
/* October 24: keep status at the top and messages above all modal layers. */
#olCloudBadge{top:8px!important;bottom:auto!important;right:14px!important;cursor:pointer}
.toast{bottom:22px;right:22px;z-index:2147483001;max-width:min(520px,calc(100vw - 44px));white-space:normal}
.customer-results{max-height:480px;overflow-y:auto}
.stock-matrix{max-height:55vh;overflow:auto}.stock-matrix th{position:sticky;top:0;background:#f8f5ed;z-index:1}.stock-matrix th:first-child{left:0;z-index:2}.stock-matrix input{min-width:85px;width:100%}.stock-matrix td{min-width:115px}.stock-matrix summary{font-size:12px;cursor:pointer;margin-top:6px}
#olSyncReview{position:fixed;top:50px;right:14px;z-index:2147482999;background:#fffdf8;border:2px solid #b58d40;border-radius:12px;padding:16px;max-width:min(480px,calc(100vw - 28px));box-shadow:0 6px 24px #0003;max-height:70vh;overflow:auto}
@media(max-width:600px){#olCloudBadge{font-size:10px!important;padding:5px 8px!important}.topbar{padding-top:36px}}
#olCloudBadge{left:50%!important;right:auto!important;transform:translateX(-50%)}
