/* =========================================================
   Chef Asili Ordering System — design system
   Mobile-first. Light + dark. No external dependencies.
   ========================================================= */

:root {
  --brand-50:  #ecfdf5;
  --brand-100: #d1fae5;
  --brand-200: #a7f3d0;
  --brand-300: #6ee7b7;
  --brand-400: #34d399;
  --brand-500: #10b981;
  --brand-600: #0d9268;
  --brand-700: #0b7355;
  --brand-800: #0a5c46;
  --brand-900: #064e3b;

  --accent:      #f59e0b;
  --accent-soft: #fef3c7;

  --bg:          #f4f6f8;
  --surface:     #ffffff;
  --surface-2:   #f8fafc;
  --surface-3:   #eef2f6;
  --text:        #0f172a;
  --text-2:      #334155;
  --muted:       #64748b;
  --muted-2:     #94a3b8;
  --border:      #e2e8f0;
  --border-2:    #cbd5e1;

  --green:  #059669;  --green-bg:  #d1fae5;
  --amber:  #b45309;  --amber-bg:  #fef3c7;
  --blue:   #1d4ed8;  --blue-bg:   #dbeafe;
  --red:    #b91c1c;  --red-bg:    #fee2e2;
  --slate:  #475569;  --slate-bg:  #e2e8f0;
  --violet: #6d28d9;  --violet-bg: #ede9fe;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow:    0 4px 16px rgba(15, 23, 42, .08), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .16);

  --sidebar-w: 252px;
  --header-h:  60px;
  --bottom-h:  62px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;
}

html[data-theme="dark"] {
  --bg:        #0b1017;
  --surface:   #131a24;
  --surface-2: #1a222e;
  --surface-3: #222c3a;
  --text:      #e8eef6;
  --text-2:    #c3cedb;
  --muted:     #8b9bad;
  --muted-2:   #6b7c90;
  --border:    #26313f;
  --border-2:  #354356;

  --green:  #34d399;  --green-bg:  #06341f;
  --amber:  #fbbf24;  --amber-bg:  #3a2a05;
  --blue:   #60a5fa;  --blue-bg:   #0d2547;
  --red:    #f87171;  --red-bg:    #3d1414;
  --slate:  #a2b1c2;  --slate-bg:  #222c3a;
  --violet: #a78bfa;  --violet-bg: #2a1f4d;
  --accent-soft: #3a2a05;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow:    0 6px 20px rgba(0, 0, 0, .5);
  --shadow-lg: 0 20px 46px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.015em; }
p  { margin: 0 0 .6em; }
img { max-width: 100%; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 24px; height: 24px; }

/* ---------------- App shell ---------------- */

.shell { min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 60;
  transform: translateX(-100%);
  transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}
.sidebar.open { transform: none; }

.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; letter-spacing: -.02em;
  box-shadow: 0 4px 12px rgba(13, 146, 104, .35);
}
.brand-text { min-width: 0; }
.brand-text b { display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; }
.brand-text span { display: block; font-size: 11.5px; color: var(--muted); }

.nav { flex: 1; overflow-y: auto; padding: 12px 10px 20px; }
.nav-group { margin-top: 16px; }
.nav-group:first-child { margin-top: 0; }
.nav-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted-2); padding: 0 10px 7px;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9.5px 11px; border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 14.2px; font-weight: 520;
  margin-bottom: 2px; position: relative;
  transition: background .13s, color .13s;
}
.nav-item:hover { background: var(--surface-3); color: var(--text); }
.nav-item.active { background: var(--brand-600); color: #fff; box-shadow: 0 3px 10px rgba(13, 146, 104, .3); }
.nav-item.active .ic { color: #fff; }
.nav-item .ic { color: var(--muted); }
.nav-item:hover .ic { color: var(--text); }
.nav-count {
  margin-left: auto; font-size: 11px; font-weight: 700; min-width: 20px;
  height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--red); color: #fff; display: grid; place-items: center;
}
.nav-item.active .nav-count { background: rgba(255, 255, 255, .25); }

.sidebar-foot { border-top: 1px solid var(--border); padding: 10px; }

.user-chip {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer; text-align: left;
}
.user-chip:hover { background: var(--surface-3); }
.user-chip .meta { min-width: 0; flex: 1; }
.user-chip .meta b { display: block; font-size: 13.4px; font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .meta span { display: block; font-size: 11.4px; color: var(--muted); }

.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
}
.avatar-sm { width: 26px; height: 26px; font-size: 10.5px; }
.avatar-lg { width: 56px; height: 56px; font-size: 19px; }
.avatar-xl { width: 76px; height: 76px; font-size: 26px; }

.scrim {
  position: fixed; inset: 0; background: rgba(2, 6, 23, .5);
  backdrop-filter: blur(2px); z-index: 55; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.scrim.show { opacity: 1; pointer-events: auto; }

.main { min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar h1 { font-size: 16.5px; font-weight: 680; letter-spacing: -.02em; }
.topbar .sub { font-size: 11.8px; color: var(--muted); font-weight: 450; letter-spacing: 0; }
.topbar-spacer { flex: 1; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; position: relative;
  background: transparent; border: 1px solid transparent; color: var(--text-2);
  cursor: pointer; transition: background .13s, border-color .13s;
}
.icon-btn:hover { background: var(--surface-3); }
.icon-btn .dot {
  position: absolute; top: 7px; right: 7px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--surface);
}

.content { flex: 1; padding: 16px 14px calc(var(--bottom-h) + 26px); }
.container { max-width: 1240px; margin: 0 auto; }
.container-narrow { max-width: 820px; margin: 0 auto; }

/* ---------------- Bottom nav (phones) ---------------- */

.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-top: 1px solid var(--border);
  display: flex; align-items: stretch;
}
.bn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative;
}
.bn-item.active { color: var(--brand-600); }
html[data-theme="dark"] .bn-item.active { color: var(--brand-400); }
.bn-item .ic { width: 21px; height: 21px; }
.bn-item .dot {
  position: absolute; top: 6px; left: 50%; margin-left: 5px;
  min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 9px; font-weight: 800;
  display: grid; place-items: center;
}
.bn-fab {
  flex: none; width: 62px; display: grid; place-items: center;
}
.bn-fab a {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700)); color: #fff;
  box-shadow: 0 6px 18px rgba(13, 146, 104, .45); margin-top: -14px;
  border: 3px solid var(--surface);
}
.bn-fab a .ic { width: 24px; height: 24px; }

/* ---------------- Cards & layout ---------------- */

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-xs);
}
.card-pad { padding: 16px; }
.card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.card-head h3 { font-size: 14.5px; font-weight: 650; }
.card-head .sub { font-size: 12px; color: var(--muted); }
.card-foot { padding: 12px 16px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }

.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.row { display: flex; align-items: center; gap: 10px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 7px; }

.page-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head h2 { font-size: 21px; letter-spacing: -.03em; }
.page-head .sub { color: var(--muted); font-size: 13.2px; margin-top: 2px; }

/* ---------------- Stat tiles ---------------- */

.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 15px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.stat .label { font-size: 11.6px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat .value { font-size: 25px; font-weight: 720; letter-spacing: -.035em; margin-top: 5px; line-height: 1.12; }
.stat .value small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.stat .foot { font-size: 12px; color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.stat .glyph {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  border-radius: 10px; display: grid; place-items: center;
}
.stat.t-green  .glyph { background: var(--green-bg);  color: var(--green); }
.stat.t-amber  .glyph { background: var(--amber-bg);  color: var(--amber); }
.stat.t-blue   .glyph { background: var(--blue-bg);   color: var(--blue); }
.stat.t-red    .glyph { background: var(--red-bg);    color: var(--red); }
.stat.t-violet .glyph { background: var(--violet-bg); color: var(--violet); }
.stat.t-slate  .glyph { background: var(--slate-bg);  color: var(--slate); }

.delta { display: inline-flex; align-items: center; gap: 3px; font-weight: 650; }
.delta.up   { color: var(--green); }
.delta.down { color: var(--red); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 40px; padding: 0 15px; border-radius: 11px;
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid var(--border-2); background: var(--surface); color: var(--text);
  cursor: pointer; white-space: nowrap;
  transition: background .14s, border-color .14s, transform .08s, box-shadow .14s;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.disabled { opacity: .5; pointer-events: none; }
.btn .ic { width: 17px; height: 17px; }

.btn-primary {
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  border-color: transparent; color: #fff;
  box-shadow: 0 3px 10px rgba(13, 146, 104, .3);
}
.btn-primary:hover { filter: brightness(1.06); background: linear-gradient(140deg, var(--brand-500), var(--brand-700)); }

.btn-dark { background: var(--text); border-color: transparent; color: var(--surface); }
.btn-dark:hover { filter: brightness(1.25); background: var(--text); }

.btn-danger { background: var(--red); border-color: transparent; color: #fff; }
.btn-danger:hover { filter: brightness(1.08); background: var(--red); }

.btn-soft { background: var(--surface-3); border-color: transparent; color: var(--text-2); }
.btn-soft:hover { background: var(--border); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-3); }

.btn-ok   { background: var(--green); border-color: transparent; color: #fff; }
.btn-warn { background: var(--accent); border-color: transparent; color: #3b2500; }

.btn-sm { height: 33px; padding: 0 11px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 36px; padding: 0; }

.btn-group { display: inline-flex; }
.btn-group .btn { border-radius: 0; margin-left: -1px; }
.btn-group .btn:first-child { border-radius: 11px 0 0 11px; margin-left: 0; }
.btn-group .btn:last-child  { border-radius: 0 11px 11px 0; }

/* ---------------- Badges & chips ---------------- */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 680; letter-spacing: .01em; white-space: nowrap;
}
.badge-green  { background: var(--green-bg);  color: var(--green); }
.badge-amber  { background: var(--amber-bg);  color: var(--amber); }
.badge-blue   { background: var(--blue-bg);   color: var(--blue); }
.badge-red    { background: var(--red-bg);    color: var(--red); }
.badge-slate  { background: var(--slate-bg);  color: var(--slate); }
.badge-violet { background: var(--violet-bg); color: var(--violet); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 550; color: var(--text-2);
  cursor: pointer; white-space: nowrap; transition: all .13s;
}
.chip:hover { border-color: var(--brand-400); color: var(--text); }
.chip.active { background: var(--brand-600); border-color: transparent; color: #fff; font-weight: 620; }
.chip .n { font-size: 11px; opacity: .75; font-weight: 700; }

.chiprow { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chiprow::-webkit-scrollbar { display: none; }

.pill-urgent {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px;
  border-radius: 999px; background: var(--red-bg); color: var(--red);
  font-size: 10.8px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}

/* ---------------- Forms ---------------- */

.field { display: block; margin-bottom: 14px; }
.field > label, .lbl {
  display: block; font-size: 12.6px; font-weight: 620; color: var(--text-2); margin-bottom: 6px;
}
.field .hint { font-size: 11.8px; color: var(--muted); margin-top: 5px; }
.req { color: var(--red); }

.input, .select, .textarea {
  width: 100%; height: 42px; padding: 0 12px;
  font-family: inherit; font-size: 14.5px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 11px; outline: none;
  transition: border-color .14s, box-shadow .14s;
  -webkit-appearance: none; appearance: none;
}
.textarea { height: auto; min-height: 84px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--brand-500) 18%, transparent);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 17px;
  padding-right: 34px;
}
html[data-theme="dark"] .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9bad' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
}

.input-icon { position: relative; }
.input-icon .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 38px; }

.checkline { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; cursor: pointer; }
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }
.checkline .t { font-size: 13.8px; font-weight: 550; }
.checkline .d { font-size: 12px; color: var(--muted); }

.switch { position: relative; display: inline-block; width: 44px; height: 25px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0; background: var(--border-2); border-radius: 999px;
  transition: background .18s; cursor: pointer;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px;
  background: #fff; border-radius: 50%; transition: transform .18s; box-shadow: var(--shadow-sm);
}
.switch input:checked + .track { background: var(--brand-600); }
.switch input:checked + .track::after { transform: translateX(19px); }

.seg { display: inline-flex; background: var(--surface-3); padding: 3px; border-radius: 11px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: block; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: all .14s; white-space: nowrap;
}
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }

/* ---------------- Tables ---------------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.8px; }
table.tbl th {
  text-align: left; padding: 10px 12px; font-size: 11.4px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--surface-2); }
table.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl .nowrap { white-space: nowrap; }
.tbl-compact td, .tbl-compact th { padding: 8px 10px; }

.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.tiny { font-size: 11.8px; }
.small { font-size: 13px; }
.strong { font-weight: 650; }
.tnum { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.center { text-align: center; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- List rows (mobile friendly) ---------------- */

.lrow {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.lrow:last-child { border-bottom: 0; }
.lrow:hover { background: var(--surface-2); }
.lrow .body { flex: 1; min-width: 0; }
.lrow .t1 { font-size: 14.3px; font-weight: 620; letter-spacing: -.01em; }
.lrow .t2 { font-size: 12.4px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.lrow .end { text-align: right; flex: none; }

.sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

/* ---------------- Empty / loading ---------------- */

.empty { padding: 44px 20px; text-align: center; }
.empty .ring {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--surface-3); display: grid; place-items: center; color: var(--muted);
}
.empty .ring .ic { width: 27px; height: 27px; }
.empty h4 { font-size: 15.5px; margin-bottom: 5px; }
.empty p { color: var(--muted); font-size: 13.4px; max-width: 380px; margin: 0 auto 14px; }

.skel { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 37%, var(--surface-3) 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 7px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.spin { animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ---------------- Alerts ---------------- */

.alert {
  display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 13.6px; border: 1px solid transparent; margin-bottom: 14px; align-items: flex-start;
}
.alert .ic { margin-top: 1px; }
.alert-info    { background: var(--blue-bg);  color: var(--blue);  border-color: color-mix(in srgb, var(--blue) 22%, transparent); }
.alert-success { background: var(--green-bg); color: var(--green); border-color: color-mix(in srgb, var(--green) 22%, transparent); }
.alert-warning { background: var(--amber-bg); color: var(--amber); border-color: color-mix(in srgb, var(--amber) 22%, transparent); }
.alert-error   { background: var(--red-bg);   color: var(--red);   border-color: color-mix(in srgb, var(--red) 22%, transparent); }

/* ---------------- Toasts ---------------- */

.toasts {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--bottom-h) + 16px); z-index: 200;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none; width: calc(100% - 28px); max-width: 420px;
}
.toast {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 12px 15px; border-radius: 13px;
  background: var(--text); color: var(--surface);
  font-size: 13.8px; font-weight: 550; box-shadow: var(--shadow-lg);
  animation: toastin .25s cubic-bezier(.2, .9, .3, 1.3);
}
.toast.ok  { background: var(--green); color: #fff; }
.toast.err { background: var(--red); color: #fff; }
@keyframes toastin { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ---------------- Modal / sheet ---------------- */

.modal {
  position: fixed; inset: 0; z-index: 150; display: none;
  align-items: flex-end; justify-content: center;
}
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(2, 6, 23, .55); backdrop-filter: blur(3px); }
.modal-box {
  position: relative; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg); animation: sheetin .26s cubic-bezier(.2, .9, .3, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
@keyframes sheetin { from { transform: translateY(26px); opacity: .6; } }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; }
.modal-body { padding: 16px 18px; }
.modal-foot { padding: 12px 18px 18px; display: flex; gap: 9px; }
.modal-foot .btn { flex: 1; }
.grab { width: 38px; height: 4px; border-radius: 999px; background: var(--border-2); margin: 9px auto 0; }

/* ---------------- Timeline ---------------- */

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -22px; top: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--surface); border: 2.5px solid var(--border-2);
}
.tl-item.done::before { background: var(--brand-500); border-color: var(--brand-500); }
.tl-item .t { font-size: 13.6px; font-weight: 620; }
.tl-item .m { font-size: 12.2px; color: var(--muted); }

/* Horizontal progress stepper */
.stepper { display: flex; align-items: center; gap: 0; margin: 4px 0 2px; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.step .dot {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); color: var(--muted-2); border: 2px solid var(--border);
  font-size: 12px; font-weight: 700; z-index: 1;
}
.step .dot .ic { width: 15px; height: 15px; }
.step .lb { font-size: 10.8px; font-weight: 640; color: var(--muted); text-align: center; }
.step::before, .step::after { content: ""; position: absolute; top: 13px; height: 2.5px; background: var(--border); width: 50%; }
.step::before { left: 0; }
.step::after  { right: 0; }
.step:first-child::before, .step:last-child::after { display: none; }
.step.done .dot { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.step.done .lb  { color: var(--text); }
.step.done::before, .step.done::after { background: var(--brand-500); }
.step.now .dot { background: var(--surface); border-color: var(--brand-600); color: var(--brand-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 18%, transparent); }
.step.now .lb  { color: var(--brand-700); font-weight: 720; }
.step.now::after { background: var(--border); }
.step.bad .dot { background: var(--red); border-color: var(--red); color: #fff; }
.step.bad .lb  { color: var(--red); }

/* ---------------- PIN login ---------------- */

.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  background:
    radial-gradient(1100px 640px at 12% -10%, color-mix(in srgb, var(--brand-500) 22%, transparent), transparent 60%),
    radial-gradient(900px 560px at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    var(--bg);
}
.login-card {
  width: 100%; max-width: 400px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 24px 22px 22px; position: relative; overflow: hidden;
}
.login-head { text-align: center; margin-bottom: 18px; }
.login-head .brand-mark { width: 54px; height: 54px; border-radius: 17px; font-size: 21px; margin: 0 auto 12px; }
.login-head h1 { font-size: 20px; letter-spacing: -.03em; }
.login-head p  { font-size: 13.2px; color: var(--muted); margin: 4px 0 0; }

.who-search { margin-bottom: 12px; }
.who-list { max-height: 300px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }
.who {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 10px 11px; border-radius: 13px; border: 1px solid var(--border);
  background: var(--surface); margin-bottom: 7px; cursor: pointer;
  transition: border-color .13s, background .13s, transform .08s;
  font-family: inherit;
}
.who:hover { border-color: var(--brand-400); background: var(--surface-2); }
.who:active { transform: scale(.985); }
.who .m { flex: 1; min-width: 0; }
.who .m b { display: block; font-size: 14.2px; font-weight: 620; }
.who .m span { display: block; font-size: 11.8px; color: var(--muted); }

.pin-dots { display: flex; justify-content: center; gap: 13px; margin: 20px 0 22px; }
.pin-dot {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--surface-3); border: 2px solid var(--border-2);
  transition: transform .14s, background .14s, border-color .14s;
}
.pin-dot.on { background: var(--brand-600); border-color: var(--brand-600); transform: scale(1.16); }
.pin-dots.err { animation: shake .38s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); } 40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); } 80% { transform: translateX(4px); }
}

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.key {
  height: 62px; border-radius: 17px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
  font-family: inherit; font-size: 24px; font-weight: 620; letter-spacing: -.02em;
  cursor: pointer; display: grid; place-items: center;
  transition: background .1s, transform .07s, border-color .1s;
  user-select: none; -webkit-user-select: none;
}
.key:hover  { background: var(--surface-3); border-color: var(--border-2); }
.key:active { transform: scale(.94); background: var(--brand-100); border-color: var(--brand-400); }
html[data-theme="dark"] .key:active { background: var(--brand-900); }
.key.act { background: transparent; border-color: transparent; color: var(--muted); }
.key.act .ic { width: 24px; height: 24px; }
.key.ok { background: linear-gradient(140deg, var(--brand-500), var(--brand-700)); border-color: transparent; color: #fff; }

/* ---------------- Order builder ---------------- */

.builder { display: grid; gap: 12px; }

.psearch { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); padding: 8px 0 10px; margin: -8px 0 0; }

.plist { max-height: 460px; overflow-y: auto; }
.pitem {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 11px 14px; border: 0; border-bottom: 1px solid var(--border);
  background: transparent; font-family: inherit; cursor: pointer; color: var(--text);
}
.pitem:hover { background: var(--surface-2); }
.pitem.in { background: color-mix(in srgb, var(--brand-500) 9%, transparent); }
.pitem .b { flex: 1; min-width: 0; }
.pitem .n { font-size: 14px; font-weight: 570; }
.pitem .s { font-size: 11.7px; color: var(--muted); margin-top: 1px; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.pitem .add { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-600); color: #fff; display: grid; place-items: center; flex: none; }
.pitem.in .add { background: var(--green); }

.cart-item { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .b { flex: 1; min-width: 0; }
.cart-item .n { font-size: 13.8px; font-weight: 590; }
.cart-item .s { font-size: 11.6px; color: var(--muted); }

.qty-ctl { display: flex; align-items: center; gap: 0; flex: none; }
.qty-ctl button {
  width: 33px; height: 33px; border: 1px solid var(--border-2); background: var(--surface);
  color: var(--text-2); cursor: pointer; display: grid; place-items: center;
  transition: background .12s;
}
.qty-ctl button:hover { background: var(--surface-3); }
.qty-ctl button:first-child { border-radius: 9px 0 0 9px; }
.qty-ctl button:last-child  { border-radius: 0 9px 9px 0; }
.qty-ctl input {
  width: 58px; height: 33px; border: 1px solid var(--border-2); border-left: 0; border-right: 0;
  text-align: center; font-family: inherit; font-size: 14px; font-weight: 650;
  background: var(--surface); color: var(--text); outline: none;
  font-variant-numeric: tabular-nums;
}
.qty-ctl input:focus { border-color: var(--brand-500); }

.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, .1);
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
  transform: translateY(105%); transition: transform .25s cubic-bezier(.2, .9, .3, 1);
}
.cart-bar.show { transform: none; }
.cart-bar .info > b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.cart-bar .info > span { display: block; font-size: 11.8px; color: var(--muted); }

/* ---------------- Charts (inline SVG) ---------------- */

.chart { width: 100%; overflow: visible; }
.chart .bar { fill: var(--brand-500); transition: fill .15s; }
.chart .bar:hover { fill: var(--brand-700); }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .axis-txt { fill: var(--muted); font-size: 10.5px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--brand-600); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .area { fill: url(#chartFade); }
.chart .pt { fill: var(--surface); stroke: var(--brand-600); stroke-width: 2.5; }

.hbar { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.hbar .lb { width: 34%; font-size: 12.8px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .tr { flex: 1; height: 9px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.hbar .fl { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); }
.hbar .vl { width: 62px; text-align: right; font-size: 12.6px; font-weight: 680; font-variant-numeric: tabular-nums; }

/* ---------------- Misc ---------------- */

.divider { height: 1px; background: var(--border); margin: 14px 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.6px; border-bottom: 1px dashed var(--border); }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; text-align: right; }

.pagination { display: flex; gap: 5px; justify-content: center; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px;
  display: grid; place-items: center; font-size: 13.4px; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
}
.pagination a:hover { border-color: var(--brand-400); }
.pagination .cur { background: var(--brand-600); border-color: transparent; color: #fff; }
.pagination .gap { border: 0; background: transparent; color: var(--muted); }

.sticky-actions {
  position: sticky; bottom: calc(var(--bottom-h) + 10px); z-index: 30;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px; display: flex; gap: 8px; box-shadow: var(--shadow);
  margin-top: 14px;
}
.sticky-actions .btn { flex: 1; }

.tag {
  display: inline-block; padding: 1.5px 7px; border-radius: 6px;
  background: var(--surface-3); color: var(--muted); font-size: 11px; font-weight: 620;
}

.color-swatch { width: 30px; height: 30px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; }
.color-swatch.on { border-color: var(--text); box-shadow: 0 0 0 2px var(--surface) inset; }

/* ---------------- Responsive ---------------- */

@media (min-width: 900px) {
  .sidebar { transform: none; }
  .scrim { display: none; }
  .main { margin-left: var(--sidebar-w); }
  .bottomnav { display: none; }
  .content { padding: 22px 24px 40px; }
  .topbar { padding: 0 24px; }
  .menu-btn { display: none; }
  .toasts { bottom: 22px; }
  .cart-bar { left: var(--sidebar-w); }
  .builder { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .modal { align-items: center; }
  .modal-box { border-radius: var(--radius-lg); max-height: 86vh; }
  .grab { display: none; }
  .content { padding-bottom: 40px; }
}

@media (max-width: 899px) {
  .hide-sm { display: none !important; }
  .page-head h2 { font-size: 19px; }
  .builder-cart { position: static; }
}

@media (min-width: 900px) {
  .hide-lg { display: none !important; }
}

/* ---------------- Print ---------------- */

@media print {
  .sidebar, .topbar, .bottomnav, .toasts, .no-print, .cart-bar, .scrim { display: none !important; }
  .main { margin: 0 !important; }
  .content { padding: 0 !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12px; }
  .card { border: 0 !important; box-shadow: none !important; }
  @page { margin: 12mm; }
}

.print-only { display: none; }
@media print { .print-only { display: block; } }

html[data-theme="dark"] .step.now .lb { color: var(--brand-400); }
html[data-theme="dark"] .btn-warn { color: #241700; }

/* Theme toggle icon swap */
html[data-theme="dark"] .th-moon { display: none; }
html:not([data-theme="dark"]) .th-sun { display: none; }
.th-moon, .th-sun { display: grid; place-items: center; }

/* Order detail: give the line-item table more room than the side panel */
.detail-grid { grid-template-columns: 1fr; }
@media (min-width: 1100px) {
  .detail-grid { grid-template-columns: 1.55fr 1fr; }
}
.detail-grid table.tbl { min-width: 460px; }

/* Grid children default to min-width:auto, which lets wide content (scrolling chip
   rows, tables) push the page sideways. Let them shrink instead. */
.grid > *,
.builder > *,
.detail-grid > * { min-width: 0; }

/* Our components set an explicit display, which beats the UA rule for [hidden]. */
[hidden] { display: none !important; }

/* On desktop the action bar can simply sit at the end of the column — sticking it
   to the viewport bottom made it float over the fields below. */
@media (min-width: 900px) {
  .sticky-actions { position: static; backdrop-filter: none; }
}

/* Name and meta line stack; without this they run together on one line. */
.cart-item .n, .cart-item .s,
.pitem .n,
.lrow .t1 { display: block; }
.cart-item .b, .pitem .b { display: block; }
.cart-item .s { margin-top: 1px; }

/* Phone grids: two KPI tiles per row, one full-width panel per row. */
@media (max-width: 700px) {
  .g2 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g3 { grid-template-columns: 1fr; }
  .stat .value { font-size: 21px; }
  .stat .label { font-size: 10.6px; }
  .stat .glyph { width: 28px; height: 28px; top: 10px; right: 10px; }
}

/* Keep the KPI label clear of the corner glyph. */
.stat .label, .stat .value { padding-right: 42px; }
@media (max-width: 700px) { .stat .label, .stat .value { padding-right: 34px; } }

/* ============================================================
   Dialogs — the styled replacement for window.confirm / alert
   ============================================================ */

.modal.closing .modal-bg { opacity: 0; transition: opacity .15s; }
.modal.closing .modal-box { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .15s, transform .15s; }

.dlg-box { max-width: 420px; }
.dlg-body { padding: 22px 22px 6px; text-align: center; }
.dlg-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center;
}
.dlg-icon svg { width: 26px; height: 26px; }
.dlg-icon.t-ask     { background: var(--brand-100); color: var(--brand-700); }
.dlg-icon.t-danger  { background: var(--red-bg);    color: var(--red); }
.dlg-icon.t-warn    { background: var(--amber-bg);  color: var(--amber); }
.dlg-icon.t-info    { background: var(--blue-bg);   color: var(--blue); }
.dlg-icon.t-success { background: var(--green-bg);  color: var(--green); }
html[data-theme="dark"] .dlg-icon.t-ask { background: var(--brand-900); color: var(--brand-300); }

.dlg-title { font-size: 17px; letter-spacing: -.02em; line-height: 1.35; }
.dlg-msg {
  margin: 8px 0 0; font-size: 13.8px; color: var(--muted);
  line-height: 1.55; white-space: pre-line;
}
.dlg .modal-foot { padding-top: 16px; }
.dlg .modal-foot .btn { height: 44px; }

/* ============================================================
   Date picker
   ============================================================ */

.dp { position: relative; display: block; min-width: 172px; }

.dp-trigger {
  width: 100%;
  display: flex; align-items: center; gap: 9px;
  text-align: left; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 500;
}
.dp-trigger > svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.dp-trigger .dp-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-trigger.empty .dp-val { color: var(--muted-2); font-weight: 450; }
.dp-trigger:hover { border-color: var(--border-2); }
.dp-trigger.open {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--brand-500) 18%, transparent);
}
.dp-trigger.open > svg { color: var(--brand-600); }

.dp-clear {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--muted);
  transition: background .12s, color .12s;
}
.dp-clear svg { width: 13px; height: 13px; }
.dp-clear:hover { background: var(--red-bg); color: var(--red); }

.dp-pop {
  position: fixed; z-index: 300; width: 302px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px;
  animation: dpin .16s cubic-bezier(.2, .9, .3, 1);
}
@keyframes dpin { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.dp-pop.closing { opacity: 0; transform: translateY(-4px); transition: opacity .14s, transform .14s; }

.dp-head { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.dp-nav {
  width: 32px; height: 32px; flex: none; border-radius: 9px;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--text-2);
  transition: background .12s, border-color .12s;
}
.dp-nav svg { width: 16px; height: 16px; }
.dp-nav:hover { background: var(--surface-3); border-color: var(--border-2); }

.dp-sel {
  height: 32px; padding: 0 24px 0 8px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-family: inherit; font-size: 13.2px; font-weight: 620; cursor: pointer;
  -webkit-appearance: none; appearance: none; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center; background-size: 14px;
}
.dp-month { flex: 1; }
.dp-year { width: 82px; }
.dp-sel:focus { border-color: var(--brand-500); }
html[data-theme="dark"] .dp-sel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9bad' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
}

.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-wd {
  font-size: 10.2px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted-2); text-align: center; padding: 2px 0 6px;
}
.dp-day {
  height: 36px; border: 0; border-radius: 10px; background: transparent;
  font-family: inherit; font-size: 13.4px; font-weight: 550; color: var(--text);
  cursor: pointer; transition: background .1s, color .1s;
}
.dp-day:hover:not(:disabled) { background: var(--surface-3); }
.dp-day.other { color: var(--muted-2); opacity: .5; }
.dp-day.today { box-shadow: inset 0 0 0 1.6px var(--brand-400); font-weight: 700; }
.dp-day.sel {
  background: var(--brand-600); color: #fff; font-weight: 700; opacity: 1;
  box-shadow: 0 3px 9px rgba(13, 146, 104, .35);
}
.dp-day.sel:hover { background: var(--brand-700); }
.dp-day:disabled { opacity: .25; cursor: not-allowed; }

.dp-foot {
  display: flex; align-items: center; gap: 7px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}

/* On a phone the calendar becomes a bottom sheet, like the other dialogs. */
.dp-pop.sheet {
  left: 0; right: 0; bottom: 0; top: auto; width: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  animation: sheetin .22s cubic-bezier(.2, .9, .3, 1);
}
.dp-pop.sheet .dp-day { height: 42px; font-size: 15px; }
.dp-pop.sheet .dp-nav { width: 38px; height: 38px; }
.dp-pop.sheet .dp-sel { height: 38px; font-size: 14px; }
