/* Base layout. Structure/metrics follow a Fastwork-style study; colors are the user's palette. */
:root {
  /* Brand palette (user) */
  --teal: #17B8A6;          /* primary: accents, active states, icons, borders */
  --teal-600: #0B7A6E;      /* primary on white text/buttons: AA contrast (white on #17B8A6 is ~2.6:1) */
  --teal-50: #EEF9F7; --teal-100: #D5F2EE;
  --blue: #244B86;          /* header/text accent: section titles, footer */
  --blue-900: #1A365F;
  --green: #82C66A;         /* success / positive */
  --coral: #FF6575;         /* alert / negative */
  /* Neutrals */
  --ink: #2B323B; --ink-2: rgb(43 50 59 / .6); --ink-3: rgb(43 50 59 / .4);
  --line: #D6DAE1; --line-2: #E8EAEE; --gray-50: #FBFBFD; --gray-100: #F5F6F8; --ph: #DCE0E6;
  --star: #F2B705;
  --shadow-1: 0 1px 2px rgb(20 30 50 / .08);
  --shadow-2: 0 2px 4px rgb(20 30 50 / .05), 0 6px 12px rgb(20 30 50 / .07), 0 14px 24px rgb(20 30 50 / .06);
  --shadow-menu: 0 0 24px rgb(36 75 134 / .15);
  --container: 1216px;
  --font: "Noto Sans Thai", "IBM Plex Sans Thai", "Sarabun", "Leelawadee UI", system-ui, -apple-system, "Segoe UI", sans-serif;
}
/* Self-hosted Thai fallback, so Thai renders the same on machines without Noto Sans Thai */
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 400; font-display: swap; src: url(../vendor/fonts/ibm-plex-sans-thai-thai-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 600; font-display: swap; src: url(../vendor/fonts/ibm-plex-sans-thai-thai-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans Thai"; font-weight: 700; font-display: swap; src: url(../vendor/fonts/ibm-plex-sans-thai-thai-700-normal.woff2) format("woff2"); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--gray-50); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img, svg { display: block; }
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.ph { background: var(--ph); color: var(--ink-2); display: grid; place-items: center; font-size: 12px; text-align: center; }
.muted { color: var(--ink-2); } .small { font-size: 12px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 4px; border: 1px solid transparent; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; background: none; color: var(--ink); overflow: hidden; }
.btn::before { content: ""; position: absolute; inset: 0; background: transparent; transition: background .12s; }
.btn:hover::before { background: rgb(0 0 0 / .05); }
.btn:active::before { background: rgb(0 0 0 / .1); }
.btn > * { position: relative; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-white { background: #fff; color: var(--teal-600); border-color: var(--line-2); }
.btn-gray { background: var(--gray-100); color: var(--ink); }
.btn-dark { background: var(--blue); color: #fff; border-radius: 999px; }
.btn-sm { height: 32px; padding: 0 12px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: inline-grid; place-items: center; color: var(--ink); }
.icon-btn:hover { background: var(--gray-100); }

/* ---------- Top promo banner ---------- */
.promo-bar { height: 52px; display: flex; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(90deg, var(--blue), var(--teal)); color: #fff; font-size: 14px; position: relative; }
.promo-bar .close { position: absolute; right: 24px; background: none; border: 0; color: #fff; opacity: .8; font-size: 18px; }

/* ---------- Header / nav ---------- */
.site-header { background: #fff; position: relative; z-index: 40; }
.site-header.is-fixed { position: sticky; top: 0; }
.navbar { height: 72px; display: flex; align-items: center; gap: 24px; padding: 0 24px; box-shadow: var(--shadow-1); background: #fff; }
.logo { display: flex; align-items: center; height: 46px; flex: none; }
.logo img { height: 46px; width: auto; }
.foot-logo { width: 96px; height: 96px; border-radius: 12px; background: #fff; margin-bottom: 16px; }
.modal-logo { display: block; width: 120px; height: 120px; margin: 0 auto 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a, .nav-links button { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 12px; border: 0; background: none; font-weight: 600; font-size: 15px; color: #485261; border-radius: 8px; white-space: nowrap; }
.nav-links a:hover, .nav-links button:hover { color: var(--ink); background: var(--gray-100); }
.nav-links .is-active { color: var(--teal-600); }
.nav-links .is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--teal); }
.me-chip { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); max-width: 200px; }
.me-chip .avatar-btn { display: grid; place-items: center; flex: none; }
.me-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Bottom tab bar: phone + tablet (<1024px); the same items as the header links. z: above header (40) and mobile CTA (70), below backdrop (90) and drawers (100) */
.ic-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgb(255 255 255 / .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); box-shadow: 0 -4px 18px rgb(16 38 46 / .06); }
.ic-bottom-nav a, .ic-bottom-nav button { min-height: 52px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px; border: 0; background: none; border-radius: 12px; font-size: 12px; font-weight: 600; line-height: 1.3; color: #485261; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ic-bottom-nav span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-bottom-nav .is-active { color: var(--teal-600); background: var(--teal-50); }
@media (hover: hover) { .ic-bottom-nav a:hover, .ic-bottom-nav button:hover { color: var(--ink); } }
.ic-bottom-nav :is(a, button):active { transform: scale(.96); }
@media (min-width: 1024px) { .ic-bottom-nav { display: none; } }
@media (max-width: 1023px) {
  .has-bottom-nav { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .has-bottom-nav .mobile-cta { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .has-bottom-nav .nav-right .nav-logout, .has-bottom-nav .me-name { display: none; } /* beats body[data-role] .btn */
}
.nav-search { flex: 0 1 368px; transition: opacity .15s; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-right .divider { width: 1px; height: 40px; background: var(--line-2); }
.lang { width: 24px; height: 24px; border-radius: 50%; }
.site-header.hide-search .nav-search, .site-header.hide-search .catbar { display: none; }

/* Search field (pill) */
.searchbox { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.searchbox:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: none; color: var(--ink); }
.searchbox .ai-toggle { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); }
.switch { width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; border: 0; padding: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: left .15s; }
.switch[aria-checked="true"] { background: var(--teal); }
.switch[aria-checked="true"]::after { left: 18px; }

/* Category bar + mega menu */
.catbar { position: relative; background: #fff; box-shadow: var(--shadow-1); }
.catbar ul { list-style: none; margin: 0; padding: 0 80px 0 8px; display: flex; overflow-x: auto; scrollbar-width: none; }
.catbar ul::-webkit-scrollbar { display: none; }
.catbar li > a { display: flex; align-items: center; height: 56px; padding: 0 8px; margin: 0 6px; white-space: nowrap; color: #485261; position: relative; border-radius: 4px; }
.catbar li > a:hover { background: var(--gray-100); }
.catbar li.is-active > a, .catbar li.is-open > a { color: var(--teal-600); }
.catbar li.is-active > a::after, .catbar li.is-open > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--teal); border-radius: 2px 2px 0 0; }
.catbar .scroll-arrow { position: absolute; right: 12px; top: 8px; }
.mega { position: absolute; top: 56px; z-index: 50; display: none; grid-template-columns: repeat(3, 192px); gap: 16px; padding: 24px 16px; background: #fff; box-shadow: var(--shadow-menu); max-height: 70vh; overflow-y: auto; border-bottom: 3px solid var(--teal); }
.mega.is-open { display: grid; }
.mega h4 { margin: 0 0 8px; padding: 0 8px; font-size: 16px; font-weight: 600; color: var(--blue); }
.mega a { display: block; padding: 8px; font-size: 14px; color: var(--ink-2); border-radius: 4px; }
.mega a:hover { background: var(--teal-50); color: var(--teal-600); }

/* ---------- Home ---------- */
.hero { padding: 64px 0; background: radial-gradient(ellipse at 50% 20%, var(--teal-100), transparent 60%), linear-gradient(180deg, #E9F1FB, var(--gray-50)); text-align: center; }
.hero .over { font-size: 24px; color: var(--ink-2); margin: 0; }
.hero .type { font-size: 48px; font-weight: 600; color: var(--ink); margin: 8px 0 48px; min-height: 64px; }
.hero .type::after { content: "|"; margin-left: 4px; animation: blink 1s steps(1) infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }
.hero .searchbox { width: min(624px, 100%); margin: 0 auto; }

.cat-panel { margin-top: -0px; padding: 0 0 40px; }
.cat-panel .panel { background: #fff; border-radius: 16px; box-shadow: var(--shadow-2); padding: 24px 28px 24px; }
.cat-tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line-2); }
.cat-tab { flex: 0 0 128px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 4px 16px; background: none; border: 0; font-size: 14px; font-weight: 600; color: var(--ink); position: relative; }
.cat-tab .ph { width: 48px; height: 48px; border-radius: 12px; }
.cat-tab.is-active::after { content: ""; position: absolute; bottom: -1px; left: 24px; right: 24px; height: 4px; border-radius: 4px; background: var(--teal); }
.sub-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
.sub-tile { height: 80px; border-radius: 4px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 12px 16px; color: #fff; font-weight: 600; background: linear-gradient(180deg, #9AA3AF, #6B7480); }
.sub-tile:hover { filter: brightness(1.08); }
.more-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-600); font-weight: 600; float: right; margin-top: 16px; }
.more-link:hover { text-decoration: underline; }
.cat-panel .panel::after { content: ""; display: block; clear: both; }

.banner-ph { height: 160px; border-radius: 8px; }
section.block { padding: 64px 0 0; }
.sec-over { font-size: 24px; color: var(--ink-2); margin: 0 0 4px; }
.sec-title { font-size: 36px; line-height: 1.25; font-weight: 600; color: var(--blue); margin: 0 0 32px; }
.sec-title em { font-style: normal; color: var(--teal-600); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why .ph { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px; background: var(--teal-50); color: var(--teal-600); }
.why h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 48px; }
.step { display: flex; gap: 24px; }
.step .ph { width: 28px; height: 28px; border-radius: 6px; flex: none; background: var(--teal-50); }
.step h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); }
.campaign { display: grid; grid-template-columns: 820px 1fr; gap: 20px; align-items: end; }
.campaign .slide { height: 428px; border-radius: 8px; position: relative; }
.dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgb(255 255 255 / .6); }
.dots button.on { width: 24px; background: var(--teal); }
.campaign .side { height: 196px; border-radius: 8px; }

/* Card rows (horizontal) */
.row-wrap { position: relative; }
.card-row { display: grid; grid-auto-flow: column; grid-auto-columns: 224px; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 10px 16px; }
.card-row::-webkit-scrollbar { display: none; }
.card-row > * { scroll-snap-align: start; }
.row-arrow { position: absolute; top: 170px; right: 2px; z-index: 2; box-shadow: var(--shadow-2); }
.row-arrow.prev { right: auto; left: 2px; }

/* Product card */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .16s ease-in-out; min-height: 360px; }
.pcard:hover { box-shadow: var(--shadow-2); }
.pcard-head { display: flex; align-items: center; gap: 8px; padding: 12px 8px 8px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ph); flex: none; }
.pcard-head b { display: block; font-size: 12px; font-weight: 700; }
.pcard-head span { display: block; font-size: 10px; color: var(--ink-2); }
.pcard .cover { aspect-ratio: 3 / 2; width: 100%; }
.pcard-body { padding: 8px; flex: 1; }
.pcard h3 { font-size: 14px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard:hover h3 { color: var(--teal-600); }
.meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.sep { width: 1px; height: 12px; background: var(--line); }
.star { color: var(--star); }
.badges { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--gray-100); color: var(--ink); }
.badge.ok { background: #EDF7E9; color: #3D7A2A; }
.pcard-foot { padding: 4px 8px 12px; text-align: right; font-size: 12px; color: var(--ink-2); }
.pcard-foot b { display: block; color: var(--teal-600); }

/* Testimonials, about, directory, app */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border-radius: 8px; padding: 24px; box-shadow: var(--shadow-1); }
.quote .avatar { width: 48px; height: 48px; margin-top: 16px; }
.stats-bar { background: var(--gray-100); padding: 48px 0; margin-top: 64px; text-align: center; }
.stats-bar h2 { margin: 0; color: var(--blue); font-size: 28px; }
.about { padding: 96px 0 64px; }
.about h2 { color: var(--blue); font-size: 24px; margin: 0 0 16px; }
.about p { color: var(--ink-2); margin: 0; max-width: 1000px; }
.dir { border-top: 1px solid var(--line-2); padding: 48px 0 64px; display: grid; gap: 24px; }
.dir h3 { margin: 0 0 6px; font-size: 16px; }
.dir p { margin: 0; font-size: 14px; color: var(--ink-2); }
.dir a:hover { color: var(--teal-600); text-decoration: underline; }
.app-dl { background: linear-gradient(180deg, var(--gray-50), #E6EEF9); padding: 64px 0 120px; }
.app-dl .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-dl h2 { color: var(--blue); font-size: 36px; margin: 0 0 12px; }
.store-btns { display: flex; gap: 12px; margin-top: 24px; }
.store-btns .ph { width: 140px; height: 44px; border-radius: 8px; }
.app-dl .mock { height: 300px; border-radius: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: rgb(255 255 255 / .95); padding: 48px 0; }
.site-footer .cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 48px; }
.site-footer strong { display: block; margin-bottom: 12px; }
.site-footer a { display: block; font-size: 14px; line-height: 24px; color: rgb(255 255 255 / .95); }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { color: rgb(255 255 255 / .8); line-height: 22px; }
.foot-bottom { background: var(--blue-900); color: rgb(255 255 255 / .95); font-size: 14px; }
.foot-bottom .container { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.socials { display: flex; gap: 8px; align-items: center; }
.socials .ph { width: 18px; height: 18px; border-radius: 4px; background: rgb(255 255 255 / .3); }

/* ---------- Listing (category + search) ---------- */
.page-top { padding: 32px 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.breadcrumb a { color: var(--teal-600); }
.breadcrumb a:hover { text-decoration: underline; }
.page-h1 { font-size: 32px; font-weight: 600; line-height: 1.25; margin: 0 0 24px; }
.toolbar { display: flex; align-items: center; gap: 8px; background: #fff; padding: 12px; border-radius: 8px; margin: 0 -12px; }
.toolbar .toggles { margin-left: auto; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.toggle-chip { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 8px; border-radius: 999px; background: var(--gray-100); font-size: 14px; font-weight: 600; white-space: nowrap; }
.toggle-chip .ph { width: 20px; height: 20px; border-radius: 50%; }
.dropdown { position: relative; }
.menu { position: absolute; top: 44px; left: 0; z-index: 30; min-width: 200px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-2); padding: 8px 0; display: none; }
.menu.is-open { display: block; }
.menu button { display: block; width: 100%; text-align: left; padding: 10px 16px; border: 0; background: none; font-size: 14px; }
.menu button:hover { background: var(--teal-50); }
.menu button[aria-checked="true"] { color: var(--teal-600); font-weight: 600; }
.result-head { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 24px; }
.result-head h2 { font-size: 16px; font-weight: 400; margin: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .pcard { min-height: 404px; }
.promo-card { border-radius: 8px; background: linear-gradient(160deg, var(--blue), var(--teal)); color: #fff; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.promo-card .btn { align-self: flex-start; background: #fff; color: var(--blue); border-radius: 999px; }
.pagination { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 48px 0 0; padding: 0; }
.pagination a, .pagination span { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; font-size: 14px; color: #8793A6; }
.pagination a:hover { background: var(--gray-100); }
.pagination a.is-current { background: var(--teal-600); color: #fff; }
.pagination a.edge { border: 1px solid var(--line-2); }
.pagination a[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.sub-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.sub-chips a { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; background: #fff; }
.sub-chips a:hover { border-color: var(--teal); color: var(--teal-600); }

/* Drawer + modal */
.backdrop { position: fixed; inset: 0; z-index: 90; background: rgb(255 255 255 / .75); display: none; }
.backdrop.dark { background: rgb(0 0 0 / .56); }
.backdrop.is-open { display: block; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(560px, 100%); background: #fff; box-shadow: var(--shadow-2); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .2s ease; visibility: hidden; }
.drawer.right { left: auto; right: 0; width: min(382px, 100%); transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: flex-end; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line-2); min-height: 56px; gap: 12px; }
.drawer-head h3 { margin: 0 auto 0 12px; font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 48px; }
.drawer-body h4 { margin: 0 0 16px; font-size: 16px; }
.drawer-body hr { border: 0; border-top: 1px solid var(--line-2); margin: 24px 0; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range input { height: 40px; border: 1px solid var(--line); border-radius: 4px; padding: 0 12px; font: inherit; text-align: right; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { height: 32px; border: 1px solid var(--line-2); border-radius: 4px; background: #fff; font-size: 14px; }
.opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-50); color: var(--teal-600); font-weight: 600; }
.drawer-foot { display: flex; justify-content: flex-end; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line-2); }
.link-btn { background: none; border: 0; color: var(--teal-600); font-weight: 600; font-size: 14px; }
.modal { position: fixed; z-index: 100; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(420px, 100% - 24px); background: #fff; border-radius: 12px; padding: 24px; box-shadow: var(--shadow-2); display: none; }
.modal.is-open { display: block; }
.modal h3 { margin: 0 0 8px; }

/* ---------- Service page ---------- */
.svc-top { display: flex; justify-content: space-between; align-items: center; padding: 32px 0 24px; }
.svc-top .breadcrumb { margin: 0; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 840px) 336px; gap: 40px; justify-content: space-between; align-items: start; }
.svc-grid > aside { align-self: stretch; } /* full-height column so the sticky price box can travel */
.gallery .main { aspect-ratio: 16 / 9; border-radius: 8px; position: relative; }
.gallery .count { position: absolute; top: 12px; left: 12px; background: rgb(0 0 0 / .4); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 164px; aspect-ratio: 16 / 9; border-radius: 6px; border: 2px solid transparent; padding: 0; }
.thumbs button.on { border-color: var(--teal); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-bottom: 1px solid var(--line-2); margin-top: 32px; }
.tabs.two { grid-template-columns: 1fr 1fr; margin-top: 0; position: static; }
.tab { height: 48px; padding: 12px 20px; background: none; border: 0; font-size: 16px; font-weight: 600; color: var(--ink-2); position: relative; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--teal-600); }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--teal); }
.svc-title { font-size: 24px; font-weight: 600; line-height: 1.25; color: var(--teal-600); margin: 24px 0 12px; }
.svc-meta { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-2); }
.note-box { display: flex; align-items: center; gap: 12px; background: var(--gray-100); border-radius: 8px; padding: 12px; margin: 24px 0; font-size: 14px; }
.note-box .ph { width: 32px; height: 32px; border-radius: 50%; }
.svc-section { padding: 24px 0; border-top: 1px solid var(--line-2); scroll-margin-top: 56px; }
.svc-section h2 { font-size: 20px; margin: 0 0 16px; }
.text-ph { display: grid; gap: 10px; }
.text-ph span { height: 14px; border-radius: 4px; background: var(--ph); }
.text-ph span:nth-child(3n) { width: 70%; }
.pkg-wrap { overflow-x: auto; }
.pkg-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14px; }
.pkg-table th, .pkg-table td { border: 1px solid var(--line-2); padding: 12px; text-align: left; }
.pkg-table th { background: var(--gray-100); }
.seller-box { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line-2); border-radius: 8px; }
.seller-box .avatar { width: 64px; height: 64px; }
.seller-box .btn { margin-left: auto; }
.seller-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; text-align: center; font-size: 14px; }
.seller-stats div { background: var(--gray-100); border-radius: 8px; padding: 12px; }
.rv-summary { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; margin-bottom: 16px; }
.rv-score { font-size: 32px; font-weight: 700; }
.bars { display: grid; gap: 8px; font-size: 14px; }
.bar { display: grid; grid-template-columns: 160px 1fr 40px; gap: 12px; align-items: center; }
.bar i { height: 6px; border-radius: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.review { padding: 16px 0; border-top: 1px solid var(--line-2); }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head .avatar { width: 40px; height: 40px; }
.reply { margin: 12px 0 0 52px; padding: 12px; background: var(--gray-100); border-radius: 8px; font-size: 14px; }
.aside-sticky { position: sticky; top: 75px; display: grid; gap: 16px; }
.price-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow-2); padding: 16px; display: grid; gap: 16px; }
.price-card .row { display: flex; justify-content: space-between; align-items: center; }
.price-card .price { color: var(--teal-600); font-weight: 700; font-size: 18px; }
.price-card label { display: flex; justify-content: space-between; align-items: center; color: var(--ink-2); }
.price-card input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--teal-600); }
.info-card { border-radius: 8px; background: var(--teal-50); padding: 16px; display: flex; gap: 12px; font-size: 13px; }
.info-card .ph { width: 44px; height: 44px; border-radius: 8px; flex: none; }
.save-share { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; }
.save-share > span { height: 32px; background: var(--line-2); }
.save-share button { background: none; border: 0; height: 40px; color: var(--ink-2); font-weight: 600; display: flex; gap: 6px; align-items: center; justify-content: center; }
.save-share button[aria-pressed="true"] { color: var(--coral); }
.side-tab { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 60; writing-mode: vertical-rl; background: #fff; border: 1px solid var(--line-2); border-right: 0; border-radius: 8px 0 0 8px; padding: 12px 8px; font-weight: 600; color: var(--teal-600); box-shadow: var(--shadow-1); }
.how-step { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.how-step b { color: var(--teal-600); }
.mobile-cta { display: none; }

/* ---------- Profile page ---------- */
.profile-page { background: linear-gradient(180deg, #CDE9F6, #EEF4F7 75%, var(--gray-50)); padding: 24px 16px 64px; }
.profile-card { width: min(500px, 100%); margin: 0 auto; background: #fff; border-radius: 16px; overflow: hidden; }
.p-head { padding: 16px; background: linear-gradient(135deg, var(--teal-50), #fff 60%); }
.p-top { display: flex; justify-content: space-between; align-items: center; }
.p-top .logo, .p-top .logo img { height: 24px; }
.p-top .acts { display: flex; gap: 8px; }
.p-id { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.p-id h1 { font-size: 18px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.verified { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }
.rating-chip { font-size: 12px; font-weight: 700; background: #FFF4CC; border-radius: 999px; padding: 1px 8px; }
.p-avatar { width: 90px; height: 90px; border-radius: 50%; flex: none; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tags span { font-size: 12px; background: var(--gray-100); padding: 2px 8px; border-radius: 6px; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0; }
.p-stats b { display: block; font-size: 20px; }
.p-stats span { font-size: 12px; color: var(--ink-2); }
.p-reply { text-align: center; font-size: 12px; color: var(--ink-2); margin: 8px 0 0; }
.p-section { padding: 24px 16px; border-top: 8px solid var(--gray-100); }
.p-section h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.svc-item { display: block; padding: 12px; background: var(--gray-50); border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 8px; }
.svc-item:hover { border-color: var(--teal); }
.svc-item .top { display: flex; gap: 12px; align-items: center; }
.svc-item .ph { width: 60px; height: 40px; border-radius: 4px; flex: none; }
.svc-item .meta { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.acc { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; font-size: 20px; font-weight: 700; }
.acc .chev { transition: transform .15s; }
.acc[aria-expanded="true"] .chev { transform: rotate(180deg); }
.chips-list { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-list span { border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } /* honeypot field */

/* ---------- Responsive (breakpoints from Fastwork CSS: 1280 / 1024 / 768 / 480) ---------- */
@media (max-width: 1279px) {
  .campaign { grid-template-columns: 1fr; }
  .campaign .side { display: none; }
  .svc-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .sub-tiles { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: 1fr; gap: 24px; }
  .quotes { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky { position: static; }
  .svc-grid aside .price-card { display: none; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; box-shadow: 0 -2px 8px rgb(0 0 0 / .08); padding: 12px 16px; gap: 12px; align-items: center; }
  .mobile-cta .btn { flex: 1; }
  .has-mobile-cta { padding-bottom: 72px; }
  .side-tab { display: none; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 32px); }
  .promo-bar { font-size: 12px; height: 44px; padding: 0 40px 0 12px; }
  .navbar { padding: 12px 16px; gap: 12px; height: auto; min-height: 64px; flex-wrap: wrap; }
  .logo, .logo img { height: 38px; }
  .nav-search { order: 3; flex: 1 0 100%; }
  .nav-search .searchbox { height: 40px; }
  .nav-right { gap: 8px; }
  .nav-right .divider, .nav-right .lang, .nav-right .btn-white { display: none; }
  .hero { padding: 40px 0; }
  .hero .over { font-size: 18px; }
  .hero .type { font-size: 32px; margin-bottom: 24px; min-height: 44px; }
  .cat-panel .panel { padding: 16px; border-radius: 12px; }
  .cat-tab { flex-basis: 96px; font-size: 12px; }
  .sec-over { font-size: 18px; }
  .sec-title { font-size: 24px; margin-bottom: 20px; }
  section.block { padding-top: 40px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .campaign .slide { height: 200px; }
  .card-row { grid-auto-columns: 170px; gap: 12px; padding-inline: 0; }
  .row-arrow { display: none; }
  .pcard { min-height: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-4 .pcard { min-height: 0; }
  .page-h1 { font-size: 24px; }
  .toolbar { flex-wrap: wrap; margin: 0; }
  .toolbar .toggles { margin-left: 0; width: 100%; }
  .result-head { margin: 24px 0 16px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .app-dl .container { grid-template-columns: 1fr; }
  .app-dl .mock { display: none; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .foot-bottom .container { height: auto; padding: 12px 0; flex-direction: column; }
  .drawer-body { padding: 24px 16px; }
  .thumbs button { width: 96px; }
  .tab { padding: 12px 8px; font-size: 14px; }
  .svc-top { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 0; }
  .seller-stats { grid-template-columns: 1fr 1fr; }
  .rv-summary { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 110px 1fr 32px; }
  .profile-page { padding: 0 0 64px; }
  .profile-card { border-radius: 0; }
}
@media (max-width: 479px) {
  .card-row { grid-auto-columns: 156px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- iCare app flow (login, employer, agent, job, chat, patient, tools) ---------- */
.form { display: grid; gap: 14px; }
.form h2 { font-size: 18px; margin: 12px 0 0; color: var(--blue); }
.form label { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; font-size: 14px; font-weight: 600; }
.form input:not([type=radio]):not([type=checkbox]), .form select, .form textarea { min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 4px; padding: 0 12px; font: inherit; font-weight: 400; background: #fff; }
.form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 8px; background: #FFECEE; color: #B3261E; font-size: 14px; }
.form-error.ok { background: #EDF7E9; color: #2F6B1F; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.panel-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 20px; }
.panel-card > h2 { margin: 0 0 12px; font-size: 20px; color: var(--blue); }
.chip-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; margin: 2px; }
.chip-btn:hover { border-color: var(--teal); color: var(--teal-600); }
.range-cal { border: 1px solid var(--line-2); border-radius: 8px; padding: 12px; max-width: 360px; min-width: 0; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-head .icon-btn { width: 32px; height: 32px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-grid i { font-style: normal; font-size: 12px; color: var(--ink-2); padding: 4px 0; }
.cal-grid button { height: 36px; border: 0; background: none; border-radius: 6px; font-size: 14px; }
.cal-grid button:hover:not(:disabled) { background: var(--teal-50); }
.cal-grid button:disabled { color: var(--ink-3); cursor: not-allowed; }
.cal-grid button.in { background: var(--teal-100); }
.cal-grid button.edge { background: var(--teal-600); color: #fff; font-weight: 700; }
.consent-text { max-height: 40vh; overflow: auto; background: var(--gray-100); border-radius: 8px; padding: 12px; margin: 8px 0 12px; white-space: pre-wrap; }
.check { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.row-end { display: flex; justify-content: flex-end; gap: 8px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.job-row { padding: 12px 0; border-top: 1px solid var(--line-2); display: grid; gap: 4px; }
.chat-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tier { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--gray-100); }
.tier i { width: 10px; height: 10px; border-radius: 50%; }
.avatar-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--teal); background: var(--teal-50); color: var(--teal-600); font-weight: 700; }
.job-card { min-height: 0; }
.job-card .pcard-body h3 { font-size: 16px; }
.pcard-head .rank, .rank { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-600); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.job-row-feed { grid-auto-columns: 260px; }
.his { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 12px 0 0; }
.his dt { color: var(--ink-2); } .his dd { margin: 0; } .his ul { margin: 0; padding-left: 18px; }
.pre { white-space: pre-wrap; }
.patients .drawer-body { padding: 16px; display: grid; gap: 8px; align-content: start; }
.patient-item { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; }
.patient-item:hover { border-color: var(--teal); }
.patients.pinned { transform: none; visibility: visible; top: auto; bottom: 0; height: calc(100vh - 128px); box-shadow: var(--shadow-1); z-index: 30; }
body.has-side-panel main { margin-right: 400px; }
.chat-wrap { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.chat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chat-wrap > * { min-width: 0; }
#conn.ok { background: #EDF7E9; color: #2F6B1F; }
.price-banner { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 8px; padding: 12px 16px; }
.price-banner b { color: var(--teal-600); font-size: 20px; }
.chat-log { height: 420px; overflow-y: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 75%; align-self: flex-start; background: var(--gray-100); border-radius: 12px 12px 12px 4px; padding: 8px 12px; white-space: pre-wrap; word-break: break-word; }
.bubble.me { align-self: flex-end; background: var(--teal-100); border-radius: 12px 12px 4px 12px; }
.bubble .who { display: block; font-size: 11px; color: var(--ink-2); }
.chat-input { display: flex; gap: 8px; }
.chat-input input { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; }
.chat-actions { display: flex; justify-content: flex-end; gap: 12px; }
.locked { background: #EDF7E9; border-radius: 8px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.big-price { font-size: 32px; font-weight: 700; color: var(--teal-600); margin: 8px 0; }
@media (max-width: 1023px) { .app-grid { grid-template-columns: 1fr; } body.has-side-panel main { margin-right: auto; } .patients.pinned { position: static; width: auto; height: auto; } }
@media (max-width: 767px) { .his { grid-template-columns: 1fr; } .chat-log { height: 55vh; } .bubble { max-width: 90%; } }
.svc-grid aside.app-aside .price-card { display: grid; } /* app pages keep the action box on mobile */

/* HIS / OCR source badges and OCR fallback UI */
.src-his { background: #e8f5f3; color: #0B7A6E; border: 1px solid #b6e3dd; }
.src-ocr { background: #eef3fb; color: #244B86; border: 1px solid #c5d6f2; }
.ocr-fallback { border: 1.5px dashed #244B86; background: #f7faff; border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; }
.ocr-fallback h3 { margin: 0; font-size: 15px; color: #244B86; }
.ocr-warn { background: #fff8e6; border: 1px solid #f2cf7e; color: #6b4e00; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 8px 0 12px; }
.ocr-page { border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: #fff; }
.ocr-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 6px; border-radius: 4px; font-size: 14px; }
.ocr-line small { color: #64748b; white-space: nowrap; font-size: 12px; }
.ocr-line.ocr-low { background: #fff4d6; border-left: 3px solid #d97706; }

/* Clinical triage (Axis 1 intake + Axis 2 daily check-in & escalation ladder) */
.triage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 10px 0 12px; }
.triage-item { border: 1px solid var(--border, #e5e7eb); border-radius: 8px; padding: 10px 12px; background: #fff; font-size: 14px; }
.triage-item b { display: block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
.med-warn { color: #b45309; font-weight: 600; }
.doctor-plan { border: 1.5px solid #244B86; background: #f7faff; border-radius: 10px; padding: 12px 14px; margin: 10px 0 14px; }
.checkin-card { border-top: 2px solid #e5e7eb; padding-top: 16px; }
.esc-box { border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; border: 1.5px solid #cbd5e1; }
.esc-green { background: #f0fdf4; border-color: #82C66A; }
.esc-yellow { background: #fffbeb; border-color: #F2B705; }
.esc-red { background: #fff1f2; border-color: #FF6575; }
.esc-list { margin: 8px 0 4px 18px; padding: 0; font-size: 14px; }
.btn-1669 { background: #dc2626 !important; color: #fff !important; font-weight: 700; display: inline-block; }

/* Caretaker star ratings (plain amber) & rating prompt */
.stars { color: #d97706; font-weight: 600; white-space: nowrap; }
.stars.muted { color: #64748b; font-weight: 400; }
.rate-box { border: 1.5px solid #f59e0b; background: #fffbeb; border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; margin: 6px 0; }
.star-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.star-pick label { cursor: pointer; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick span { display: inline-block; padding: 4px 8px; border-radius: 6px; border: 1px solid #e5e7eb; background: #fff; color: #d97706; font-size: 13px; }
.star-pick input:checked + span { border-color: #d97706; background: #fef3c7; font-weight: 700; }
.rate-done { padding: 4px 8px; background: #fffbeb; border-radius: 6px; display: inline-block; margin: 4px 0; }

/* For You cert badges, invasive checkboxes, and PDPA+MCP+RAG+Ollama Price Guide panel */
.inv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 12px; margin: 4px 0 10px; }
.pg-box { border: 1.5px solid #17B8A6; background: #f2fbfa; border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.pg-range { font-size: 17px; color: #0B7A6E; margin: 6px 0 2px; }
.pg-pdpa { background: #e8f5f3; color: #0B7A6E; border: 1px solid #99dcd3; }
.pg-factors { margin: 6px 0 6px 18px; padding: 0; font-size: 13px; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Assisting Tools, Care Notes & Patient Demo Panel (SOS, Voice, Fall Countdown) */
.demo-panel { border: 2px solid #FF6575; }
.sos-btn { width: 100%; background: #dc2626 !important; color: #fff !important; font-size: 20px; font-weight: 800; padding: 18px 20px; border-radius: 14px; margin: 12px 0 6px; min-height: 60px; box-shadow: 0 6px 18px rgba(220,38,38,.25); }
.sos-btn:hover { background: #b91c1c !important; }
.sub-card { border: 1px solid var(--border, #e5e7eb); border-radius: 12px; padding: 12px 14px; background: #fff; }
.countdown-box { margin-top: 10px; padding: 14px; border-radius: 12px; background: #fff1f2; border: 2px solid #dc2626; color: #991b1b; }
.countdown-pill { background: #e8f5f3; color: #0B7A6E; border: 1px solid #99dcd3; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 14px; margin: 8px 0; }
.slot-list { display: grid; gap: 8px; margin-top: 12px; }
.reminder-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.reminder-row.is-done { background: #f0fdf4; border-color: #82C66A; }
.reminder-row.is-missed { background: #fffbeb; border-color: #F2B705; }
.row-gap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nut-box { border: 1.5px solid #82C66A; background: #f7fdf5; border-radius: 12px; padding: 12px 14px; }
.note-item { border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px; margin: 6px 0; background: #fff; }
