/* LabaCloud POS - counter app. Layout: fixed left rail + scrolling work area; status colors carry meaning. */
:root {
  --ink: #1D2B45;
  --ink-2: #3E4F6E;
  --ink-3: #7D8BA3;
  --bg: #F4F8FF;
  --card: #ffffff;
  --line: #DCE6F5;
  --brand: #1565F0;
  --brand-2: #0A8BFF;
  --brand-ink: #ffffff;
  --grad: linear-gradient(135deg, #1565F0 0%, #0A8BFF 55%, #38B6FF 100%);
  --received: #2f80ed;  --received-bg: #e7f0fe;
  --washing: #8b3cf0;   --washing-bg: #f1e9fe;
  --ready: #0ea56b;     --ready-bg: #e2f7ee;
  --partly: #e08a00;    --partly-bg: #fff2dc;
  --hold: #e0335b;      --hold-bg: #fde7ec;
  --claimed: #5c6b80;   --claimed-bg: #eceff4;
  --cancelled: #8a8f99; --cancelled-bg: #f0f0f2;
  --good: #0ea56b; --warn: #e08a00; --bad: #e0335b;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,40,90,.06), 0 8px 24px rgba(16,40,90,.07);
  --font: Poppins, "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Poppins, "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
.num, td.num, .money { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: 26px; font-weight: 750; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
a { color: var(--brand); }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 232px 1fr; height: 100vh; }
.rail { background: #0B1F44; color: #E6EEFF; display: flex; flex-direction: column; padding: 18px 14px; gap: 6px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(21,101,240,.45); }
.brand-name { font-family: var(--font-display); font-weight: 750; font-size: 18px; line-height: 1.1; }
.brand-sub { font-size: 11.5px; color: #9FB3D6; letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #C7D5EE; text-decoration: none; font-weight: 600; border: 0; background: none; text-align: left; cursor: pointer; width: 100%; }
.nav:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav.active { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 #8FCBFF; }
.nav svg { width: 20px; height: 20px; flex: none; }
.rail-spacer { flex: 1; }
.who { margin-top: 8px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 13px; }
.who b { display: block; font-size: 14px; color: #fff; }
.who button { margin-top: 8px; }
.main { overflow-y: auto; display: flex; flex-direction: column; }
.content { padding: 22px 28px 40px; display: flex; flex-direction: column; gap: 18px; max-width: 1400px; width: 100%; }

/* ---------- banners ---------- */
.banner { display: flex; align-items: center; gap: 12px; padding: 10px 28px; font-weight: 600; font-size: 14px; }
.banner.sync-ok { background: #e2f7ee; color: #07603e; }
.banner.sync-bad { background: var(--hold); color: #fff; }
.banner.recovery { background: #fff2dc; color: #7a4a00; }
.banner.viewer { background: #e7f0fe; color: #1a4c94; }
.banner .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.banner button { margin-left: auto; }

/* ---------- common pieces ---------- */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; min-width: 0; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.label { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.big-money { font-family: var(--font-display); font-size: 30px; font-weight: 750; font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--line); margin: 4px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 700; cursor: pointer; background: #E6EEFA; color: var(--ink); transition: transform .06s ease, filter .15s; white-space: nowrap; }
.btn:hover { filter: brightness(.97); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .nav:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .pin-key:focus-visible, .ocard:focus-visible { outline: 3px solid #8FCBFF; outline-offset: 2px; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(21,101,240,.3); }
.btn.go { background: var(--ready); color: #fff; }
.btn.warn { background: var(--partly); color: #fff; }
.btn.danger { background: var(--hold); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); padding: 8px 10px; }
.btn.light { background: rgba(255,255,255,.14); color: #fff; }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 9px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }

label.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 650; color: var(--ink-2); min-width: 0; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=email], input[type=date], input[type=search], select, textarea {
  border: 1.5px solid var(--line); background: #FAFCFF; border-radius: 11px; padding: 10px 12px; font-size: 15px; width: 100%; min-width: 0;
}
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); background: #fff; outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.seg { display: inline-flex; background: #E6EEFA; border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(16,40,90,.12); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 750; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.plain::before { display: none; }
.st-received { color: var(--received); background: var(--received-bg); }
.st-washing { color: var(--washing); background: var(--washing-bg); }
.st-ready { color: var(--ready); background: var(--ready-bg); }
.st-partly_claimed { color: var(--partly); background: var(--partly-bg); }
.st-hold { color: var(--hold); background: var(--hold-bg); }
.st-claimed { color: var(--claimed); background: var(--claimed-bg); }
.st-cancelled { color: var(--cancelled); background: var(--cancelled-bg); }
.tag-late { color: #fff; background: var(--hold); }
.tag-due { color: #7a4a00; background: var(--partly-bg); }
.tag-paid { color: #07603e; background: var(--ready-bg); }
.tag-pending { color: #1a4c94; background: var(--received-bg); }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t td.num, table.t th.num { text-align: right; }
table.t tr.total td { font-weight: 800; border-bottom: 0; }
.tablewrap { overflow-x: auto; }

/* ---------- board ---------- */
.board-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.board-top .search { flex: 1; min-width: 240px; position: relative; }
.board-top .search input { padding-left: 40px; height: 48px; border-radius: 14px; background: #fff; }
.board-top .search svg { position: absolute; left: 13px; top: 14px; width: 20px; height: 20px; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stat { border-radius: var(--radius); padding: 14px 16px; color: #fff; position: relative; overflow: hidden; }
.stat .n { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1; }
.stat .l { font-size: 13px; font-weight: 700; opacity: .92; margin-top: 4px; }
.stat::after { content: ""; position: absolute; right: -18px; top: -18px; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.16); }
.stat.received { background: linear-gradient(135deg, #2f80ed, #56a8ff); }
.stat.washing { background: linear-gradient(135deg, #7b2ff0, #b06bff); }
.stat.ready { background: linear-gradient(135deg, #0a9d63, #2fd18f); }
.stat.partly_claimed { background: linear-gradient(135deg, #e07a00, #ffb23f); }
.stat.hold { background: linear-gradient(135deg, #d8204b, #ff6a8a); }
.columns { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.col { background: rgba(255,255,255,.55); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 10px; min-height: 140px; }
.col-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; }
.col-head .count { font-weight: 800; color: var(--ink-3); }
.ocard { background: #fff; border-radius: 13px; padding: 12px; box-shadow: var(--shadow); cursor: pointer; border: 0; text-align: left; display: flex; flex-direction: column; gap: 6px; border-left: 5px solid var(--accent, var(--line)); width: 100%; }
.ocard:hover { transform: translateY(-1px); }
.ocard .no { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.ocard .cust { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ocard .meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.empty { color: var(--ink-3); font-size: 13px; text-align: center; padding: 18px 6px; }

/* ---------- order ---------- */
.hero { border-radius: 20px; padding: 20px 22px; color: #fff; background: var(--grad); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; box-shadow: 0 12px 30px rgba(21,101,240,.25); }
.hero .no { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }
.hero .chip { background: rgba(255,255,255,.95); }
.hero .meta { opacity: .95; font-weight: 600; }
.hero .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 18px; align-items: start; }
.bag { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; }
.bag .bagno { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--received-bg); color: var(--received); flex: none; }
.bag.out .bagno { background: var(--claimed-bg); color: var(--claimed); }
.bag.redo .bagno { background: var(--hold-bg); color: var(--hold); }
.bag .grow { flex: 1; min-width: 0; }
.moneyline { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-variant-numeric: tabular-nums; }
.moneyline.strong { font-weight: 800; font-size: 17px; border-top: 1.5px solid var(--line); padding-top: 10px; margin-top: 4px; }
.moneyline.due { color: var(--bad); }
.moneyline.credit { color: var(--good); }
.timeline { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.timeline .ti { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.timeline .ti .when { color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- drop-off ---------- */
.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink-3); font-weight: 700; font-size: 13px; }
.step .k { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #E6EEFA; color: var(--ink-2); font-size: 12px; }
.step.on { color: var(--brand); }
.step.on .k { background: var(--grad); color: #fff; }
.step.done .k { background: var(--ready); color: #fff; }
.line-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bag-row { display: grid; grid-template-columns: 80px 1fr 1.4fr auto; gap: 10px; align-items: center; }
.cust-hit { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; width: 100%; text-align: left; }
.cust-hit:hover, .cust-hit.on { border-color: var(--brand); background: #EEF5FF; }
.summary-bar { position: sticky; bottom: 0; background: #fff; border-radius: 16px; box-shadow: 0 -6px 24px rgba(16,40,90,.09); padding: 14px 18px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; }
.photos img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--line); }

/* ---------- modal, toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(11,31,68,.45); display: grid; place-items: center; z-index: 50; padding: 20px; backdrop-filter: blur(2px); }
.modal { background: #fff; border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: 0 30px 70px rgba(11,31,68,.35); display: flex; flex-direction: column; }
.modal.wide { width: min(820px, 100%); }
.modal-head { padding: 18px 22px 8px; display: flex; align-items: center; gap: 12px; }
.modal-body { padding: 8px 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { padding: 14px 22px 18px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); flex-wrap: wrap; }
.error { background: var(--hold-bg); color: #9b1235; padding: 10px 12px; border-radius: 10px; font-weight: 650; font-size: 14px; }
.note-box { background: #F5F8FE; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.toasts { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.toast { background: #0B1F44; color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 650; box-shadow: var(--shadow); max-width: 380px; }
.toast.bad { background: var(--hold); }

/* ---------- lock / setup ---------- */
.splash { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 10% -10%, #CFE2FF 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #DCEBFF 0%, transparent 55%), var(--bg); }
.splash-card { background: #fff; border-radius: 24px; padding: 30px; width: min(480px, 100%); box-shadow: 0 30px 70px rgba(11,31,68,.18); display: flex; flex-direction: column; gap: 16px; }
.splash-card.wide { width: min(760px, 100%); }
.users { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.user-btn { border: 2px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; }
.user-btn.on { border-color: var(--brand); background: #EEF5FF; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; }
.pin-dots { display: flex; gap: 12px; justify-content: center; padding: 6px 0; }
.pin-dots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--brand); }
.pin-dots span.f { background: var(--brand); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pin-key { border: 0; background: #EEF3FB; border-radius: 14px; padding: 16px 0; font-size: 22px; font-weight: 750; cursor: pointer; }
.pin-key:hover { background: #E1EAF8; }

/* ---------- print (hidden in app) ---------- */
#printframe { position: fixed; width: 0; height: 0; border: 0; left: -9999px; }

@media (max-width: 1100px) {
  .layout-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .rail { flex-direction: row; overflow-x: auto; padding: 10px; }
  .brand, .rail-spacer, .who { display: none; }
  .content { padding: 16px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .bag-row { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.btn { text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.lg svg { width: 20px; height: 20px; }

/* ---------- shop sign-in page (Owner and cashiers) ---------- */
.signin-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px 16px;
  background: radial-gradient(1000px 520px at 0% -10%, #CFE2FF 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #DCEBFF 0%, transparent 55%), var(--bg); }
.signin-card { background: #fff; border-radius: 24px; padding: 32px 30px; width: min(420px, 100%); box-shadow: 0 30px 70px rgba(11,31,68,.16); display: flex; flex-direction: column; gap: 12px; }
.signin-card h1 { font-size: 26px; margin: 6px 0 0; line-height: 1.2; }
.signin-brand { display: flex; align-items: center; gap: 10px; }
.brand-name.dark { color: var(--ink); }
.signin-card .field input { height: 48px; font-size: 16px; }
.signin-foot a { color: #5B6B85; }
.known { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.known .user-btn { flex-direction: row; justify-content: flex-start; padding: 8px 10px; gap: 8px; text-align: left; font-size: 13px; }
.known .avatar { width: 32px; height: 32px; font-size: 13px; flex: none; }
.block { display: block; width: 100%; }
.btn.block { display: flex; justify-content: center; }
.center { text-align: center; }
.banner.trial { background: #E6F0FF; color: #0F4CB8; }

/* ---------- SariCloud POS (Zen Store) app theme: mint sidebar, green accent, warm light background ---------- */
:root {
  --ink: #14211B; --ink-2: #33433A; --ink-3: #68786F;
  --bg: #F7F6F1; --card: #FFFFFF; --line: #E4E1D8;
  --brand: #0F7F40; --brand-2: #0B6532; --accent-d: #0B6532;
  --side: #E8F2EA; --side-active: #C5E0CB;
  --grad: linear-gradient(135deg, #0F7F40 0%, #13924B 100%);
  --radius: 8px; --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20,33,27,.05);
}
.rail { background: var(--side); color: var(--ink); border-right: 1px solid #D6E6DA; padding: 14px 0; gap: 2px; }
.brand { padding: 4px 16px 14px; }
.brand-mark { box-shadow: none; border-radius: 10px; }
.brand-name { color: var(--ink); letter-spacing: .04em; }
.brand-sub { color: var(--ink-3); }
.nav { color: var(--ink); font-weight: 500; border-radius: 0 8px 8px 0; padding: 10px 16px; margin-right: 8px; width: auto; }
.nav svg { color: #4E6457; }
.nav:hover { background: rgba(15,127,64,.08); color: var(--ink); }
.nav.active { background: var(--side-active); color: var(--ink); font-weight: 700; box-shadow: none; }
.nav.active svg { color: var(--brand); }
.who { margin: 8px 12px 0; background: #fff; border: 1px solid #D6E6DA; color: var(--ink-2); }
.who b { color: var(--ink); }
.who .btn.light { background: var(--brand); color: #fff; }
.card { border: 1px solid var(--line); box-shadow: none; }
.btn { background: #fff; color: var(--ink); border: 1px solid #CFCBBF; border-radius: 6px; font-weight: 600; }
.btn:hover { background: #F2F1EC; filter: none; }
.btn.primary { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: none; }
.btn.primary:hover { background: var(--brand-2); }
.btn.go { border-color: transparent; }
.btn.warn, .btn.danger { border-color: transparent; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--brand); }
.btn.lg { border-radius: 8px; }
.btn.sm { border-radius: 5px; }
.btn:focus-visible, .nav:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .pin-key:focus-visible, .ocard:focus-visible { outline-color: #7CC496; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=email], input[type=date], input[type=search], select, textarea { background: #fff; border: 1px solid #D3CFC4; border-radius: 6px; }
.seg { background: #ECEFEE; border-radius: 8px; }
.seg button.on { color: var(--brand); box-shadow: 0 1px 3px rgba(20,33,27,.12); }
.step .k, .pin-key { background: #ECEFEE; }
.pin-key:hover { background: #E1E6E3; }
.cust-hit:hover, .cust-hit.on, .user-btn.on { background: #E3F4EA; }
.note-box { background: #F3F6F2; }
.hero { background: linear-gradient(135deg, #0F7F40 0%, #13924B 100%); box-shadow: none; border-radius: 10px; }
.toast { background: #14211B; }
.overlay { background: rgba(20,33,27,.45); }
.banner.trial { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.banner.sync-ok { background: #E3F4EA; color: #0B6532; }
.splash, .signin-page { background: radial-gradient(1000px 520px at 0% -10%, #DCEFE1 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #E8F2EA 0%, transparent 55%), var(--bg); }
.splash-card, .signin-card { box-shadow: 0 20px 50px rgba(20,33,27,.12); border: 1px solid var(--line); }
.board-top .search input { border-radius: 8px; }
.ocard { border-radius: 8px; box-shadow: 0 1px 2px rgba(20,33,27,.06); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.col { background: rgba(255,255,255,.6); border-radius: 10px; }
.stat { border-radius: 10px; }
@media (max-width: 760px) { .rail { padding: 8px; } .nav { margin-right: 0; border-radius: 8px; } }
.btn.light { border-color: rgba(255,255,255,.35); }

/* ---------- sign-in: split screen like SariCloud (brand on the left, form on the right) ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; }
.login-art { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 40px 64px; text-align: center;
  background: radial-gradient(700px 420px at 20% 15%, #DDF1E3 0%, transparent 65%), radial-gradient(640px 420px at 85% 90%, #DCEBFF 0%, transparent 65%), linear-gradient(160deg, #F3FAF5 0%, #EEF5FB 100%); }
.login-art::after { content: ""; position: absolute; top: 8%; bottom: 8%; right: 0; width: 1px; background: linear-gradient(transparent, #D6E2DA, transparent); }
.login-brand { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 460px; }
.lc-logo svg { width: 230px; height: auto; filter: drop-shadow(0 14px 22px rgba(15,76,184,.18)); animation: lc-float 6s ease-in-out infinite; }
.lc-word { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: baseline; gap: 2px; margin-top: -4px; }
.lc-word .w1 { color: #18325C; } .lc-word .w2 { color: #0F7F40; } .lc-word small { font-size: 16px; color: #18325C; font-weight: 700; margin-left: 2px; }
.login-shop { margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.login-tag { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; color: var(--ink); margin-top: 6px; }
.login-sub { color: var(--ink-3); font-size: 15px; max-width: 360px; margin-top: 8px; }
.login-powered { position: absolute; bottom: 22px; left: 0; right: 0; font-size: 12px; color: var(--ink-3); letter-spacing: .03em; }
.login-bubbles span { position: absolute; border-radius: 50%; border: 2px solid rgba(46,155,255,.25); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(220,235,255,.25)); animation: lc-rise 14s linear infinite; bottom: -80px; }
.login-bubbles .b1 { left: 8%; width: 46px; height: 46px; animation-delay: 0s; }
.login-bubbles .b2 { left: 22%; width: 22px; height: 22px; animation-delay: 3s; animation-duration: 11s; }
.login-bubbles .b3 { left: 38%; width: 64px; height: 64px; animation-delay: 6s; animation-duration: 17s; border-color: rgba(15,127,64,.2); }
.login-bubbles .b4 { left: 60%; width: 30px; height: 30px; animation-delay: 1.5s; }
.login-bubbles .b5 { left: 74%; width: 52px; height: 52px; animation-delay: 8s; animation-duration: 15s; }
.login-bubbles .b6 { left: 88%; width: 18px; height: 18px; animation-delay: 4.5s; animation-duration: 10s; border-color: rgba(15,127,64,.22); }
.login-bubbles .b7 { left: 50%; width: 14px; height: 14px; animation-delay: 10s; animation-duration: 9s; }
@keyframes lc-rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .9; } 100% { transform: translateY(-115vh); opacity: 0; } }
@keyframes lc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.login-side { display: flex; align-items: center; justify-content: center; padding: 40px 32px; }
.login-form { width: min(400px, 100%); display: flex; flex-direction: column; gap: 12px; }
.login-kicker { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.login-form h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.login-form .field select, .login-form .field input { height: 48px; font-size: 15.5px; }
.login-form a { color: var(--brand); }
.login-btn { justify-content: space-between !important; height: 52px; letter-spacing: .08em; font-size: 15px; padding: 0 20px; box-shadow: 0 8px 18px rgba(15,127,64,.25); }
.login-btn span:last-child { font-size: 20px; transition: transform .15s; }
.login-btn:hover span:last-child { transform: translateX(4px); }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 30px 20px 46px; }
  .login-art::after { display: none; }
  .lc-logo svg { width: 150px; }
  .lc-word { font-size: 32px; }
  .login-shop { margin-top: 14px; }
  .login-tag { font-size: 24px; }
  .login-sub, .login-powered { display: none; }
  .login-side { padding: 26px 16px 40px; }
}
@media (prefers-reduced-motion: reduce) { .login-bubbles span, .lc-logo svg { animation: none; } .login-bubbles { display: none; } }

/* ---------- compact layout for 17-inch counter monitors (1366x768 / 1440x900): smaller type, tighter spacing ---------- */
body { font-size: 13.5px; line-height: 1.4; }
h1 { font-size: 20px; } h2 { font-size: 16px; } h3 { font-size: 14px; }
.shell { grid-template-columns: 196px 1fr; }
.rail { padding: 10px 0; gap: 0; }
.brand { padding: 2px 12px 10px; gap: 8px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-name { font-size: 15px; } .brand-sub { font-size: 10px; }
.nav { padding: 7px 12px; gap: 9px; font-size: 13px; margin-right: 6px; }
.nav svg { width: 16px; height: 16px; }
.who { margin: 6px 8px 0; padding: 8px 10px; font-size: 12px; } .who b { font-size: 12.5px; } .who button { margin-top: 6px; }
.content { padding: 12px 16px 24px; gap: 10px; max-width: none; }
.banner { padding: 6px 16px; font-size: 12.5px; gap: 8px; }
.row { gap: 8px; } .stack { gap: 8px; } .grid2, .grid3 { gap: 10px; }
.card { padding: 12px 14px; border-radius: 6px; }
.label { font-size: 10.5px; }
.big-money { font-size: 22px; }
.muted.small, .small { font-size: 12px; }
.btn { padding: 6px 12px; font-size: 13px; border-radius: 5px; gap: 6px; }
.btn.lg { padding: 9px 16px; font-size: 14px; border-radius: 6px; }
.btn.sm { padding: 3px 8px; font-size: 12px; border-radius: 4px; }
.btn svg { width: 15px; height: 15px; } .btn.lg svg { width: 16px; height: 16px; }
label.field { gap: 3px; font-size: 12px; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=email], input[type=date], input[type=search], input[type=month], select, textarea { padding: 6px 9px; font-size: 13.5px; border-radius: 5px; }
textarea { min-height: 54px; }
.check { font-size: 13px; gap: 8px; } .check input { width: 16px; height: 16px; }
.seg { padding: 3px; border-radius: 6px; } .seg button { padding: 5px 10px; font-size: 12.5px; border-radius: 4px; }
.chip { padding: 1px 8px; font-size: 11.5px; }
table.t { font-size: 13px; }
table.t th { font-size: 10.5px; padding: 5px 8px; }
table.t td { padding: 5px 8px; }
/* status board */
.board-top { gap: 10px; }
.board-top .search input { height: 36px; padding-left: 34px; border-radius: 6px; }
.board-top .search svg { left: 10px; top: 9px; width: 17px; height: 17px; }
.stats { gap: 8px; }
.stat { padding: 8px 12px; border-radius: 6px; }
.stat .n { font-size: 22px; } .stat .l { font-size: 12px; margin-top: 2px; }
.stat::after { width: 54px; height: 54px; right: -14px; top: -14px; }
.columns { gap: 8px; grid-template-columns: repeat(5, minmax(190px, 1fr)); }
.col { padding: 6px; gap: 6px; border-radius: 6px; min-height: 100px; }
.col-head { padding: 2px 4px; }
.ocard { padding: 7px 9px; gap: 3px; border-radius: 6px; border-left-width: 4px; }
.ocard .no { font-size: 14.5px; } .ocard .meta { font-size: 11.5px; gap: 4px; }
.empty { padding: 10px 4px; font-size: 12px; }
/* order, drop-off */
.hero { padding: 12px 16px; gap: 12px; border-radius: 8px; }
.hero .no { font-size: 24px; }
.layout-2 { gap: 10px; }
.bag { padding: 6px 9px; gap: 9px; border-radius: 6px; }
.bag .bagno { width: 32px; height: 32px; border-radius: 6px; }
.moneyline { padding: 3px 0; } .moneyline.strong { font-size: 15px; padding-top: 6px; }
.timeline { font-size: 12.5px; gap: 5px; } .timeline .ti { grid-template-columns: 105px 1fr; }
.steps { gap: 6px; } .step { padding: 5px 10px; font-size: 12px; } .step .k { width: 20px; height: 20px; font-size: 11px; }
.line-card { padding: 9px; gap: 7px; border-radius: 6px; }
.bag-row { gap: 7px; }
.cust-hit { padding: 6px 9px; border-radius: 5px; }
.summary-bar { padding: 8px 12px; gap: 12px; border-radius: 6px; }
.photos img { width: 56px; height: 56px; border-radius: 6px; }
/* modal, toast */
.overlay { padding: 12px; }
.modal { border-radius: 8px; }
.modal-head { padding: 12px 16px 4px; } .modal-body { padding: 6px 16px 12px; gap: 10px; } .modal-foot { padding: 10px 16px 12px; gap: 8px; }
.note-box { padding: 8px 10px; font-size: 12.5px; border-radius: 6px; }
.error { padding: 7px 10px; font-size: 13px; }
.toast { padding: 9px 13px; font-size: 13px; }
/* setup, PIN */
.splash-card { padding: 20px; border-radius: 10px; gap: 12px; }
.user-btn { padding: 8px 6px; border-radius: 8px; }
.avatar { width: 34px; height: 34px; font-size: 14px; }
.pin-key { padding: 10px 0; font-size: 18px; border-radius: 8px; }
/* sign-in */
.login-art { padding: 28px 28px 44px; }
.lc-logo svg { width: 170px; }
.lc-word { font-size: 34px; } .lc-word small { font-size: 13px; }
.login-shop { margin-top: 16px; font-size: 11px; }
.login-tag { font-size: clamp(22px, 2.4vw, 30px); }
.login-sub { font-size: 13.5px; }
.login-side { padding: 24px; }
.login-form { width: min(360px, 100%); gap: 8px; }
.login-form h1 { font-size: 23px; }
.login-kicker { font-size: 11px; }
.login-form .field select, .login-form .field input { height: 38px; font-size: 14px; }
.login-btn { height: 42px; font-size: 13.5px; }
@media (max-width: 760px) { .content { padding: 10px; } .columns { grid-template-columns: repeat(5, minmax(200px, 1fr)); } }

/* ---------- LabaCloud POS logo (from the owner's artwork) ---------- */
.brand-mark { background: #fff; border: 1px solid #D6E6DA; overflow: hidden; padding: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lc-logo img { width: min(380px, 80%); height: auto; display: block; margin: 0 auto; border-radius: 18px; mix-blend-mode: multiply; animation: lc-float 6s ease-in-out infinite; }
.login-art { background: radial-gradient(700px 420px at 50% 40%, #FFFFFF 0%, #FFFFFF 35%, transparent 75%), radial-gradient(640px 420px at 15% 10%, #DDF1E3 0%, transparent 65%), radial-gradient(640px 420px at 85% 95%, #DCEBFF 0%, transparent 65%), #F6FAF8; }
.login-shop { margin-top: 10px; }
@media (max-width: 860px) { .lc-logo img { width: 230px; } }
@media (prefers-reduced-motion: reduce) { .lc-logo img { animation: none; } }
.brand.brand-logo { padding: 0 10px 8px; display: block; }
.brand.brand-logo img { width: 100%; height: auto; display: block; border-radius: 10px; mix-blend-mode: multiply; }
@media (max-width: 760px) { .brand.brand-logo { display: none; } }

/* ======================= LabaCloud design v2 (owner's mockups) ======================= */
:root {
  --ink: #0F1B2D; --ink-2: #334155; --ink-3: #64748B;
  --bg: #F3F7F6; --card: #FFFFFF; --line: #E6ECEA;
  --brand: #16A34A; --brand-2: #15803D; --side: #F8FBFA; --side-active: #DCF3E4;
  --grad: linear-gradient(135deg, #18A957 0%, #15803D 100%);
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,27,45,.04), 0 4px 14px rgba(15,27,45,.05);
  --t-blue: #2563EB; --t-blue-bg: #E3EDFF; --t-green: #16A34A; --t-green-bg: #DCF7E5; --t-orange: #F59E0B; --t-orange-bg: #FFF0D6;
  --t-purple: #7C3AED; --t-purple-bg: #EEE6FF; --t-gray: #475569; --t-gray-bg: #EEF2F6;
}
body { background: linear-gradient(180deg, #F6FAF9 0%, #F1F6F5 100%); }
.main { background: transparent; }
.content { padding: 14px 20px 28px; gap: 12px; }

/* sidebar */
.shell { grid-template-columns: 214px 1fr; }
.rail { background: var(--side); border-right: 1px solid #E6EEEB; padding: 14px 10px; gap: 2px; color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; }
.brand-ic { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; mix-blend-mode: multiply; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.brand-sub { font-size: 10.5px; color: var(--ink-3); letter-spacing: .06em; }
.nav { margin: 0; border-radius: 10px; padding: 9px 12px; color: var(--ink-2); font-weight: 500; font-size: 13.5px; width: 100%; }
.nav svg { width: 18px; height: 18px; color: #475569; }
.nav:hover { background: #EEF6F1; color: var(--ink); }
.nav.active { background: var(--side-active); color: #15803D; font-weight: 700; box-shadow: none; }
.nav.active svg { color: #16A34A; }
.who { margin: 8px 2px 0; padding: 12px; background: #fff; border: 1px solid #E6EEEB; border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.who-row { display: flex; align-items: center; gap: 10px; }
.who-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #22B45E, #15803D); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.who-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.who-txt b { font-size: 13.5px; color: var(--ink); } .who-txt span { font-size: 12px; color: var(--ink-3); }
.who-out { width: 100%; justify-content: center; background: #fff !important; color: var(--ink) !important; border: 1px solid #E3E8EF !important; }

/* banners */
.banner { padding: 8px 20px; font-size: 13px; }
.banner.trial { background: #E8F7EE; color: #14532D; border-bottom: 1px solid #D3EEDC; font-weight: 600; }
.banner.trial .gift { width: 18px; height: 18px; color: #16A34A; flex: none; }
.banner.trial .trial-price { font-weight: 500; }
.banner .upgrade { margin-left: auto; text-decoration: none; }
.banner .upgrade svg { order: 2; }

/* page titles */
.ph { display: grid !important; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.ph > .ph-ic { grid-row: span 3; }
.ph-ic, .h2-ic, .mc-ic, .ic-tile { display: inline-grid; place-items: center; flex: none; }
.ph-ic { width: 46px; height: 46px; border-radius: 12px; }
.ph-ic svg { width: 26px; height: 26px; }
.ph h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.tone-green { background: var(--t-green-bg); color: var(--t-green); } .tone-blue { background: var(--t-blue-bg); color: var(--t-blue); }
.tone-orange { background: var(--t-orange-bg); color: var(--t-orange); } .tone-purple { background: var(--t-purple-bg); color: var(--t-purple); }
.tone-gray { background: var(--t-gray-bg); color: var(--t-gray); }
.h2-ic { width: 28px; height: 28px; border-radius: 8px; margin-right: 8px; vertical-align: middle; }
.h2-ic svg { width: 16px; height: 16px; }
.card h2, .card h3 { display: flex; align-items: center; color: var(--ink); }

/* cards */
.card { background: #fff; border: 1px solid #EBF0EE; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; }
.label { color: var(--ink-3); font-weight: 700; letter-spacing: .05em; }
.mcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.mc-ic { width: 52px; height: 52px; border-radius: 14px; }
.mc-ic svg { width: 28px; height: 28px; }
.mcard .big-money { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.grid3 > .mcard:nth-child(3n+1) { background: #F7FAFF; border-color: #E3ECFB; } .grid3 > .mcard:nth-child(3n+1) .mc-ic { background: var(--t-blue-bg); color: var(--t-blue); }
.grid3 > .mcard:nth-child(3n+1) .label { color: var(--t-blue); } .grid3 > .mcard:nth-child(3n+1) .big-money { color: #1D4ED8; }
.grid3 > .mcard:nth-child(3n+2) { background: #F4FBF6; border-color: #DDF1E4; } .grid3 > .mcard:nth-child(3n+2) .mc-ic { background: var(--t-green-bg); color: var(--t-green); }
.grid3 > .mcard:nth-child(3n+2) .label { color: #15803D; }
.grid3 > .mcard:nth-child(3n) { background: #FFFAF2; border-color: #F8E9CF; } .grid3 > .mcard:nth-child(3n) .mc-ic { background: var(--t-orange-bg); color: var(--t-orange); }
.grid3 > .mcard:nth-child(3n) .label { color: #D97706; } .grid3 > .mcard:nth-child(3n) .big-money { color: #EA580C; }
.mcard .big-money.bad { color: var(--bad) !important; }

/* buttons and fields */
.btn { background: #fff; color: var(--ink); border: 1px solid #E1E7EF; border-radius: 10px; font-weight: 600; padding: 7px 13px; box-shadow: 0 1px 1px rgba(15,27,45,.03); }
.btn:hover { background: #F6F9FB; }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(22,163,74,.25); }
.btn.primary:hover { filter: brightness(1.04); background: var(--grad); }
.btn.lg { border-radius: 12px; padding: 10px 18px; }
.btn.sm { border-radius: 8px; padding: 4px 10px; }
.btn.danger, .btn.danger-o { background: #FFF1F2; color: #E11D48; border-color: #FBC7D0; box-shadow: none; }
.btn.danger:hover, .btn.danger-o:hover { background: #FFE4E8; }
.btn.go { background: var(--grad); border-color: transparent; color: #fff; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick .btn { border-radius: 999px; padding: 6px 14px; }
.quick .btn.on { background: var(--grad); color: #fff; border-color: transparent; }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=email], input[type=date], input[type=search], input[type=month], select, textarea {
  background: #fff; border: 1px solid #DCE3EA; border-radius: 10px; padding: 7px 11px; }
input:focus, select:focus, textarea:focus { border-color: #22B45E; box-shadow: 0 0 0 3px rgba(34,180,94,.14); }
.in-ic { position: relative; display: block; }
.in-ic svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.in-ic input { padding-left: 32px; }
.seg { background: #EEF3F1; border-radius: 10px; }
.seg button.on { background: #fff; color: #15803D; }

/* tables */
table.t { border-collapse: separate; border-spacing: 0; }
table.t th { background: #F6F8FA; color: var(--ink-3); font-weight: 700; border-bottom: 1px solid #E8EDF2; padding: 8px 10px; }
table.t th:first-child { border-top-left-radius: 10px; } table.t th:last-child { border-top-right-radius: 10px; }
table.t td { border-bottom: 1px solid #EEF2F4; padding: 8px 10px; }
table.t tr:hover td { background: #FAFCFB; }
.chip.tag-late { background: #E11D48; color: #fff; } .chip.tag-paid { background: #DCF7E5; color: #15803D; }

/* status board */
.board-top .search input { height: 42px; border-radius: 12px; background: #fff; }
.stat { border-radius: 14px; padding: 12px 16px; min-height: 78px; box-shadow: 0 6px 16px rgba(15,27,45,.08); }
.stat .n { font-size: 28px; } .stat .l { font-size: 13px; font-weight: 700; }
.stat::after { width: 90px; height: 90px; right: -22px; top: auto; bottom: -34px; background: rgba(255,255,255,.14); }
.stat-ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.stat-ic svg { width: 26px; height: 26px; color: #fff; }
.stat.received { background: linear-gradient(135deg, #2F7BF5, #5AA2FF); } .stat.washing { background: linear-gradient(135deg, #7C3AED, #A770FF); }
.stat.ready { background: linear-gradient(135deg, #16A34A, #3BCB7A); } .stat.partly_claimed { background: linear-gradient(135deg, #F28C0F, #FFB648); }
.stat.hold { background: linear-gradient(135deg, #E5355B, #FF6F8E); }
.columns { gap: 10px; }
.col { background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55)); border: 1px solid #EBF0EE; border-radius: 14px; padding: 8px; }
.col-head .chip { background: transparent; padding-left: 2px; }
.ocard { position: relative; border-radius: 12px; padding: 10px 30px 10px 12px; border: 1px solid #EBF0EE; border-left: 4px solid var(--accent, var(--line)); box-shadow: 0 2px 8px rgba(15,27,45,.05); }
.ocard .no { font-size: 16px; }
.ocard .cust { font-size: 14px; }
.ocard .meta span { display: inline-flex; align-items: center; gap: 3px; }
.ocard .meta svg { width: 13px; height: 13px; color: var(--ink-3); }
.oc-chev { position: absolute; right: 8px; top: 14px; color: var(--ink-3); } .oc-chev svg { width: 16px; height: 16px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 8px; text-align: center; color: var(--ink-3); }
.empty b { color: var(--ink); font-size: 13.5px; }
.empty-ic { width: 52px; height: 52px; border-radius: 50%; background: #EEF2F6; display: grid; place-items: center; margin-bottom: 4px; }
.empty-ic svg { width: 26px; height: 26px; color: #94A3B8; }

/* order page */
.hero { background: linear-gradient(120deg, #128A42 0%, #18A957 100%); border-radius: 16px; box-shadow: 0 10px 24px rgba(21,128,61,.22); }
.hero .btn.light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.bag { border-radius: 12px; border-color: #E6ECEA; }
.moneyline.due { background: #FFF1F3; border-radius: 8px; padding: 6px 8px; margin: 2px -8px; }

/* modals and toasts */
.modal { border-radius: 16px; }
.toast { background: #0F1B2D; border-radius: 12px; }

@media (max-width: 760px) { .shell { grid-template-columns: 1fr; } .rail { padding: 8px; } .who { display: none; } .banner .upgrade { display: none; } }

/* sign-in v2 */
.login { background: linear-gradient(135deg, #F3FAF6 0%, #EEF5FD 100%); }
.login-art { background: radial-gradient(520px 360px at 50% 32%, #FFFFFF 0%, rgba(255,255,255,.85) 40%, transparent 75%), radial-gradient(500px 380px at 0% 100%, #D7ECFF 0%, transparent 70%), radial-gradient(420px 300px at 100% 0%, #DDF5E6 0%, transparent 70%), #F4F9F7; }
.login-tag span { color: #16A34A; }
.login-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; width: min(440px, 100%); }
.lf { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.2; }
.lf-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(15,27,45,.06); }
.lf-ic svg { width: 24px; height: 24px; }
.login-side { background: transparent; }
.login-card { background: #fff; border-radius: 22px; padding: 28px 30px; box-shadow: 0 24px 60px rgba(15,27,45,.10); border: 1px solid #EAF0EE; width: min(420px, 100%); }
.login-form h1 { font-size: 26px; font-weight: 800; color: #0F1B2D; }
.lin { position: relative; display: block; }
.lin-ic { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #DCF7E5; color: #16A34A; display: grid; place-items: center; pointer-events: none; }
.lin-ic svg { width: 16px; height: 16px; }
.login-form .lin select, .login-form .lin input { padding-left: 44px; height: 46px; border-radius: 12px; }
.login-form .lin input[type=password], .login-form .lin input[type=text] { padding-right: 42px; }
.lin-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 6px; border-radius: 8px; }
.lin-eye svg { width: 18px; height: 18px; } .lin-eye.on { color: #16A34A; }
.lin-date { display: flex; align-items: center; gap: 6px; } .lin-date svg { width: 15px; height: 15px; }
.login-btn { height: 48px; border-radius: 12px; font-size: 14.5px; }
.login-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid #EEF2F1; padding-top: 10px; }
.login-links span, .login-links a { display: inline-flex; align-items: center; gap: 5px; } .login-links svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .login-feats { display: none; } .login-card { padding: 20px; border-radius: 16px; } }

/* ---------- New drop-off: compact two-column layout ---------- */
.dropoff { gap: 10px; }
.do-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.do-head .ph { margin: 0; }
.do-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, 1fr); gap: 10px; align-items: start; }
.do-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.do-side { position: sticky; top: 0; }
.do-card { padding: 10px 12px !important; display: flex; flex-direction: column; gap: 7px; }
.do-card .field { gap: 3px; }
.do-card .field > .muted.small { display: none; }
.do-card input[type=text], .do-card input[type=tel], .do-card input[type=search], .do-card input[type=date], .do-card input[type=number], .do-card select { height: 34px; padding-top: 4px; padding-bottom: 4px; }
.do-card textarea { min-height: 34px; height: 34px; resize: vertical; }
.do-card .grid2, .do-card .grid3 { gap: 8px; }
.do-card .seg button { padding: 6px 12px; }
.do-step { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; color: var(--brand); }
.do-step .k { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 11px; }
.do-card .line-card { padding: 8px 10px; gap: 6px; }
.do-card .line-card h3 { font-size: 14px; margin: 0; }
.do-card .bag-row { grid-template-columns: 56px 1fr 1.3fr auto; gap: 6px; }
.do-card .btn { min-height: 32px; }
.do-card .cust-hit { padding: 6px 10px; }
.do-rules { font-size: 11.5px; line-height: 1.4; padding: 7px 10px !important; max-height: 74px; overflow: auto; }
.do-sum { border: 1.5px solid #CDEBD6; }
.do-summary { display: flex; flex-direction: column; gap: 8px; }
.do-totals { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: flex-end; }
.do-totals .label { font-size: 10.5px; }
.do-totals .big-money { font-size: 22px; }
.do-totals .money { font-size: 14px; }
.do-totals .strong { font-weight: 800; }
.do-actions { display: flex; gap: 8px; justify-content: flex-end; }
.do-actions .btn.primary { flex: 1; justify-content: center; }
@media (max-width: 1100px) { .do-grid { grid-template-columns: 1fr; } .do-side { position: static; } }
.chat-badge { margin-left: auto; background: #DC2626; color: #fff; border-radius: 999px; font-size: 11px; line-height: 18px; min-width: 18px; padding: 0 5px; text-align: center; font-weight: 700; }
