/* Nisu World Market — shared design system (green + white, soft shadows, gentle motion) */
:root {
  --green-950: #0b2f25;
  --green-900: #124436;   /* logo background */
  --green-800: #17594a;
  --green-700: #1d6b4f;
  --green-600: #1f8a55;
  --green-500: #2ecc71;   /* leaf */
  --green-400: #4fdc8b;
  --green-200: #bdeccf;
  --green-100: #e3f6ea;
  --green-50:  #f2fbf5;
  --white: #ffffff;
  --ink: #12332a;
  --ink-2: #3f5f55;
  --muted: #7c958c;
  --line: #e2ece6;
  --bg: #f5f9f6;
  --tomato: #e5533d;
  --carrot: #f08a24;
  --sun: #f5b82e;
  --sky: #2f8fd8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(18, 68, 54, .06);
  --shadow: 0 10px 30px rgba(18, 68, 54, .09);
  --shadow-lg: 0 24px 60px rgba(18, 68, 54, .18);
  --ring: 0 0 0 4px rgba(46, 204, 113, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; color: var(--green-900); }
h1 { font-size: 26px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
img { max-width: 100%; }
::selection { background: var(--green-200); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.bold { font-weight: 600; }
.grow { flex: 1; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; } .mt-s { margin-top: 8px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
/* Page layouts with a main + side column (inline grid-template-columns) stack on phones and small tablets. */
@media (max-width: 860px) { .grid[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; } .grid [style*="position:sticky"] { position: static !important; } }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 83, 61, .45); } 50% { box-shadow: 0 0 0 7px rgba(229, 83, 61, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes leaf { 0% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } 100% { transform: rotate(-8deg); } }
.fade-up { animation: fadeUp .5s var(--ease) both; }
.stagger > * { animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Ethiopian triangle band (from the logo) ---------- */
.tri-band {
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Cpath d='M2 17 L14 2 L26 17 Z' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3Cpath d='M10 13 L14 8 L18 13 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 28px 18px;
  opacity: .55;
}
.tri-band.green {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18' viewBox='0 0 28 18'%3E%3Cpath d='M2 17 L14 2 L26 17 Z' fill='none' stroke='%23124436' stroke-width='1.6'/%3E%3Cpath d='M10 13 L14 8 L18 13 Z' fill='%23124436'/%3E%3C/svg%3E");
  opacity: .25;
}

/* ---------- buttons ---------- */
.btn {
  --b: var(--white);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--b); color: var(--ink); font: 500 14px var(--font);
  cursor: pointer; user-select: none; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--green-200); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .ripple { position: absolute; border-radius: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s ease-out; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(31, 138, 85, .32); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(31, 138, 85, .4); border-color: transparent; color: #fff; }
.btn-leaf { background: linear-gradient(135deg, var(--green-400), var(--green-600)); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(46, 204, 113, .35); }
.btn-dark { background: var(--green-900); color: #fff; border-color: transparent; }
.btn-danger { background: var(--tomato); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(229, 83, 61, .28); }
.btn-warn { background: var(--carrot); color: #fff; border-color: transparent; }
.btn-ghost { background: transparent; box-shadow: none; border-color: transparent; color: var(--green-700); }
.btn-ghost:hover { background: var(--green-50); box-shadow: none; }
.btn-soft { background: var(--green-50); border-color: var(--green-100); color: var(--green-800); box-shadow: none; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.btn-xl { padding: 20px 28px; font-size: 20px; font-weight: 600; border-radius: 18px; }
.btn-icon { padding: 8px; border-radius: 10px; }
.btn-block { width: 100%; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner.dark { border-color: var(--green-100); border-top-color: var(--green-600); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font: 400 14px var(--font); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--green-500); box-shadow: var(--ring); }
.input::placeholder { color: #a9bdb4; }
.input-lg { padding: 15px 18px; font-size: 18px; border-radius: 14px; }
textarea.input { min-height: 80px; resize: vertical; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--green-600); }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cfdcd5; border-radius: 99px; transition: .25s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s var(--ease); box-shadow: var(--shadow-sm); }
.switch input:checked + span { background: var(--green-500); }
.switch input:checked + span::before { transform: translateX(20px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.segmented { display: inline-flex; background: var(--green-50); border: 1px solid var(--green-100); border-radius: 12px; padding: 4px; gap: 4px; }
.segmented button { border: 0; background: transparent; padding: 8px 14px; border-radius: 9px; font: 500 13px var(--font); color: var(--ink-2); cursor: pointer; transition: .2s; }
.segmented button.active { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }

/* ---------- cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(18,68,54,.04);
  padding: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.stat { display: flex; gap: 14px; align-items: center; }
.stat .ico { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--green-100); color: var(--green-700); }
.stat .ico svg { width: 24px; height: 24px; }
.stat .val { font-size: 22px; font-weight: 700; color: var(--green-900); line-height: 1.1; }
.stat .lbl { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat.orange .ico { background: #fff1e3; color: var(--carrot); }
.stat.red .ico { background: #fdeceA; color: var(--tomato); }
.stat.blue .ico { background: #e6f2fc; color: var(--sky); }
.stat.sun .ico { background: #fff7df; color: #c98d00; }

/* ---------- tables ---------- */
.table-wrap { overflow: auto; border-radius: var(--radius-sm); }
table.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.table th { position: sticky; top: 0; background: var(--green-50); color: var(--green-800); font-weight: 600; text-align: left; padding: 11px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); z-index: 1; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: #f8fcf9; }
.table tbody tr.clickable { cursor: pointer; }
.table tfoot td { font-weight: 700; background: var(--green-50); }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: var(--green-200); margin-bottom: 8px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--green-100); color: var(--green-800); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.badge.plain::before { display: none; }
.badge.gray { background: #eef2f0; color: #61766d; }
.badge.red { background: #fde9e5; color: #c63a24; }
.badge.orange { background: #fff0df; color: #c46a0d; }
.badge.blue { background: #e4f1fc; color: #1f6fae; }
.badge.sun { background: #fff6da; color: #a77600; }
.badge.purple { background: #efe8fb; color: #6c43b3; }
.badge.dark { background: var(--green-900); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); cursor: pointer; font-weight: 500; transition: .2s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--green-400); transform: translateY(-1px); }
.chip.active { background: var(--green-900); color: #fff; border-color: var(--green-900); }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11, 47, 37, .42); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 900; padding: 16px; animation: fadeIn .2s ease both; }
.modal { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; animation: popIn .28s var(--ease) both; }
.modal.lg { width: min(860px, 100%); }
.modal.xl { width: min(1100px, 100%); }
.modal.sm { width: min(400px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: 20px 22px; overflow: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fbfdfc; border-radius: 0 0 22px 22px; }

/* ---------- toast ---------- */
.toasts { position: fixed; right: 18px; top: 18px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg); border-left: 5px solid var(--green-500); animation: slideIn .35s var(--ease) both; }
.toast.error { border-left-color: var(--tomato); }
.toast.warn { border-left-color: var(--carrot); }
.toast.info { border-left-color: var(--sky); }
.toast .t-title { font-weight: 600; color: var(--green-900); }
.toast .t-msg { font-size: 13px; color: var(--ink-2); }
.toast svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green-600); }
.toast.error svg { color: var(--tomato); }
.toast.leaving { transition: .3s; opacity: 0; transform: translateX(30px); }

/* ---------- skeleton ---------- */
.skel { background: linear-gradient(90deg, #edf3ef 0, #f7faf8 40px, #edf3ef 80px); background-size: 800px 100%; animation: shimmer 1.3s linear infinite; border-radius: 10px; height: 14px; }
.loader { display: grid; place-items: center; padding: 50px; }

/* ---------- app shell (staff dashboard) ---------- */
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, var(--green-900), var(--green-950)); color: #d6eee1;
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden;
}
.sidebar .brand { display: flex; align-items: center; gap: 12px; padding: 20px 20px 12px; }
.sidebar .brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.sidebar .brand b { display: block; color: #fff; font-size: 18px; letter-spacing: .02em; }
.sidebar .brand small { color: var(--green-400); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.sidebar nav { flex: 1; overflow-y: auto; padding: 10px 12px 20px; }
.sidebar nav::-webkit-scrollbar { width: 6px; } .sidebar nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 3px; }
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: rgba(214,238,225,.45); padding: 16px 12px 6px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #cfe6da; font-weight: 500; transition: background .2s, color .2s, transform .2s var(--ease); position: relative; }
.nav-link svg { width: 19px; height: 19px; opacity: .85; }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(3px); }
.nav-link.active { background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: #fff; box-shadow: 0 8px 20px rgba(46,204,113,.3); }
.nav-link .count { margin-left: auto; background: var(--tomato); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; font-weight: 600; }
.sidebar .side-foot { padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 14px 28px; background: rgba(245,249,246,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar h1 { font-size: 20px; margin: 0; }
.content { padding: 24px 28px 48px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff; font-weight: 600; flex: none; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--tomato); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; animation: pulse 1.8s infinite; }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 300; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .shell.nav-open .sidebar { transform: none; box-shadow: var(--shadow-lg); }
  .menu-toggle { display: inline-flex; }
  .content { padding: 18px 16px 40px; }
  .topbar { padding: 12px 16px; }
}
.page-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font: 500 14px var(--font); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: .2s; }
.tabs button:hover { color: var(--green-700); }
.tabs button.active { color: var(--green-800); border-bottom-color: var(--green-500); }
.pager { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 14px; }

/* ---------- auth screens ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-art { position: relative; background: radial-gradient(circle at 30% 20%, var(--green-700), var(--green-900) 55%, var(--green-950)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; overflow: hidden; }
.auth-art img.logo { width: min(340px, 70%); border-radius: 50%; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: float 6s ease-in-out infinite; }
.auth-art h2 { color: #fff; margin-top: 28px; font-weight: 600; letter-spacing: .02em; text-align: center; }
.auth-art p { color: var(--green-200); text-align: center; max-width: 380px; }
.auth-art .tri-band { position: absolute; left: 0; right: 0; bottom: 26px; }
.auth-art .blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .18; background: var(--green-500); }
.auth-form { display: grid; place-items: center; padding: 32px 20px; background: #fff; }
.auth-form .box { width: min(400px, 100%); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-art { min-height: 260px; padding: 28px; } .auth-art img.logo { width: 150px; } .auth-art h2, .auth-art p { display: none; } }

/* ---------- product tiles (shop / pickers) ---------- */
.ptile { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; display: grid; place-items: center; overflow: hidden; font-size: 54px; }
.ptile img { width: 100%; height: 100%; object-fit: cover; }
.ptile span { filter: drop-shadow(0 8px 10px rgba(0,0,0,.12)); transition: transform .35s var(--ease); }
.pcard:hover .ptile span { transform: scale(1.12) rotate(-4deg); }
.hue-0 { background: linear-gradient(145deg, #e3f6ea, #c7eed6); }
.hue-1 { background: linear-gradient(145deg, #fff3e0, #ffe0b8); }
.hue-2 { background: linear-gradient(145deg, #fdecea, #f9d1cb); }
.hue-3 { background: linear-gradient(145deg, #e8f3fc, #cfe5f8); }
.hue-4 { background: linear-gradient(145deg, #f3edfb, #e2d6f6); }
.hue-5 { background: linear-gradient(145deg, #fff8dc, #fdebb0); }

/* ---------- misc ---------- */
.kbd { display: inline-block; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 600; color: var(--ink-2); box-shadow: 0 1px 0 var(--line); }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 4px 0 16px; }
.tl-item::before { content: ""; position: absolute; left: -24px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green-200); }
.tl-item.done::before { background: var(--green-500); border-color: var(--green-100); }
.tl-item.current::before { background: var(--green-500); border-color: var(--green-200); animation: pulse 1.8s infinite; box-shadow: 0 0 0 0 rgba(46,204,113,.5); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keypad button { height: 62px; border-radius: 16px; border: 1px solid var(--line); background: #fff; font: 600 22px var(--font); color: var(--green-900); cursor: pointer; box-shadow: var(--shadow-sm); transition: .12s var(--ease); }
.keypad button:hover { background: var(--green-50); }
.keypad button:active { transform: scale(.95); background: var(--green-100); }
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 16px 0 22px; }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--green-600); transition: .2s var(--ease); }
.pin-dots i.on { background: var(--green-600); transform: scale(1.15); }
.shake { animation: shake .4s; }
@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.chart-bar { transition: height .6s var(--ease), y .6s var(--ease); }
.scroll-x { overflow-x: auto; scrollbar-width: none; } .scroll-x::-webkit-scrollbar { display: none; }
.pill-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--green-100); color: var(--green-800); font-size: 12px; font-weight: 700; padding: 0 6px; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); font-size: 13px; }
.notice.warn { background: #fff6e8; border-color: #ffe2b8; color: #8a560b; }
.notice.error { background: #fdeeea; border-color: #f8cfc6; color: #a83420; }
