/* Ploen Water — หน้าเว็บบริษัท + หน้าพนักงาน (โทนเดียวกับฟอร์มขายหน้าร้านเดิม) */
:root {
  --bg: #F3F8F8; --surface: #FFFFFF; --ink: #10262B; --muted: #5C7580; --line: #E1EBEC;
  --deep: #0B4F6C; --deep2: #083A50; --aqua: #00B4D8; --aqua-light: #DEF6FB;
  --teal: #0d9488; --teal-dark: #0f766e; --teal-light: #DDF3F0;
  --amber: #E8871E; --red: #D64550; --green: #1E8E5A;
  --line-green: #06C755;
  --radius: 16px; --shadow: 0 1px 2px rgba(8,58,80,.06), 0 8px 24px rgba(8,58,80,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Sarabun', system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
h1, h2, h3, .brand, .btn, .kanit { font-family: 'Kanit', 'Sarabun', sans-serif; line-height: 1.25; }
img { max-width: 100%; display: block; }
a { color: var(--deep); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ปุ่ม */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--deep2); }
.btn-light { background: #fff; color: var(--deep2); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }

/* ---------- แถบบน ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep2); font-weight: 700; font-size: 19px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(145deg, var(--aqua), var(--deep)); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: 'Sarabun'; font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--aqua-light); color: var(--deep2); }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; margin-left: 6px; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
@media (min-width: 880px) { .nav { display: flex; } .menu-btn, .mobile-nav, .mobile-nav.open { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--deep2); }
.hero-bg { position: absolute; inset: 0; background-image: url('/img/pl-cover.jpg'); background-size: cover; background-position: center 40%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,58,80,.94) 0%, rgba(11,79,108,.82) 45%, rgba(11,79,108,.25) 100%); }
.hero .wrap { position: relative; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 7vw, 56px); margin: 18px 0 14px; font-weight: 700; max-width: 14ch; }
.hero h1 span { color: #9BE7F7; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 20px); max-width: 34em; opacity: .92; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 36px; max-width: 560px; }
.hero-facts b { white-space: nowrap; }
.hero-facts div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 12px; }
.hero-facts b { display: block; font-family: 'Kanit'; font-size: 22px; }
.hero-facts span { font-size: 13px; opacity: .85; }

/* ---------- ส่วนเนื้อหา ---------- */
section { padding: 64px 0; }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head .tag { color: var(--aqua); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.sec-head h2 { font-size: clamp(26px, 4.5vw, 36px); margin: 6px 0 10px; color: var(--deep2); }
.sec-head p { color: var(--muted); margin: 0; }

.products { display: grid; gap: 20px; }
@media (min-width: 820px) { .products { grid-template-columns: 1fr 1fr; } }
.product { background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product.plearn .product-media { background: linear-gradient(180deg, #EAF6FB 0%, #CFE9F4 100%); display: grid; place-items: center; }
.product.plearn .product-media::before { content: ''; position: absolute; inset: 0; background: url('/img/pl-cover.jpg') center / cover; opacity: .28; filter: blur(2px); }
.product.plearn .product-media .pl-bottles { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: auto; height: 90%; max-width: none; object-fit: contain; border-radius: 18px 18px 0 0; box-shadow: 0 10px 30px rgba(8,58,80,.2); }
.product.kaidee .product-media { background: linear-gradient(180deg, #F4F9FD 0%, #E3EEF8 100%); display: grid; place-items: center; }
.product.kaidee .product-media .kd-banner { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; object-fit: cover; object-position: center bottom; }
.product.kaidee .product-media .kd-bottle { position: relative; width: min(44%, 200px); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(8,58,80,.25); object-fit: cover; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-body h3 { margin: 0; font-size: 24px; color: var(--deep2); }
.product-body h3 small { display: block; font-family: 'Sarabun'; font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.product-body p { margin: 0; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--aqua-light); color: var(--deep2); font-weight: 600; font-size: 14px; }
.size svg { width: 14px; height: 14px; }
.product-body .btn { margin-top: auto; align-self: flex-start; }

.features { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 559px) {
  .feature { padding: 14px; }
  .feature .ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 14px; }
  .hero-facts b { font-size: 17px; }
  .hero-facts span { font-size: 12px; }
  .hero-facts div { padding: 10px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 52px; }
  section { padding: 48px 0; }
}
@media (min-width: 980px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--aqua-light); color: var(--deep); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; color: var(--deep2); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.band { background: linear-gradient(135deg, var(--deep) 0%, var(--deep2) 100%); color: #fff; }
.band .sec-head h2 { color: #fff; } .band .sec-head p { color: rgba(255,255,255,.8); } .band .sec-head .tag { color: #9BE7F7; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; } .gallery .wide { grid-column: span 2; } .gallery .tall { grid-row: span 2; } }
@media (max-width: 819px) { .gallery figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; } .gallery figure { aspect-ratio: 3 / 4; } }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; min-height: 160px; background: rgba(255,255,255,.08); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(8,58,80,.78); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 13px; }

.delivery { display: grid; gap: 20px; align-items: center; }
@media (min-width: 880px) { .delivery { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
.delivery-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.delivery-img img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
.branches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.branches span { background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--deep2); }

.contact { display: grid; gap: 16px; }
@media (min-width: 820px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.contact-card h3 { margin: 0 0 4px; font-size: 22px; color: var(--deep2); }
.contact-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.contact-list { display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; min-height: 52px; }
.contact-list a:hover { background: var(--aqua-light); }
.contact-list svg { width: 22px; height: 22px; color: var(--deep); flex: none; }
.contact-list .line svg { color: var(--line-green); }
.contact-list small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

footer.site { background: var(--deep2); color: rgba(255,255,255,.82); padding: 36px 0 28px; font-size: 14px; }
footer.site .wrap { display: grid; gap: 18px; }
@media (min-width: 820px) { footer.site .wrap { grid-template-columns: 2fr 1fr; align-items: end; } }
footer.site b { color: #fff; font-family: 'Kanit'; font-size: 16px; }
footer.site a { color: #9BE7F7; }
footer.site .staff-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; }
@media (min-width: 820px) { footer.site .staff-link { justify-self: end; } }
footer.site .staff-link svg { width: 18px; height: 18px; }

/* ---------- หน้าพนักงาน ---------- */
.staff-head { background: linear-gradient(135deg, var(--deep) 0%, var(--deep2) 100%); color: #fff; padding: 22px 0 64px; }
.staff-head .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.staff-head .brand { color: #fff; }
.staff-head .brand small { color: rgba(255,255,255,.75); }
.staff-head h1 { font-size: 26px; margin: 26px 0 6px; }
.staff-head p { margin: 0; opacity: .85; }
.staff-head .clock { font-family: 'Kanit'; font-size: 14px; background: rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.staff-main { margin-top: -44px; padding-bottom: 40px; }
.sys-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .sys-grid { grid-template-columns: 1fr 1fr; } }
.sys { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 14px; border-top: 5px solid var(--deep); }
.sys.teal { border-top-color: var(--teal); }
.sys.line { border-top-color: var(--line-green); }
.sys-top { display: flex; gap: 14px; align-items: center; }
.sys-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--aqua-light); color: var(--deep); flex: none; }
.sys.teal .sys-ico { background: var(--teal-light); color: var(--teal-dark); }
.sys.line .sys-ico { background: #E2F8EA; color: #0A8A3E; }
.sys-ico svg { width: 30px; height: 30px; }
.sys h2 { margin: 0; font-size: 20px; color: var(--deep2); }
.sys .who { font-size: 14px; color: var(--muted); }
.sys ul { margin: 0; padding-left: 20px; color: var(--ink); font-size: 15px; }
.sys .btn { width: 100%; min-height: 56px; font-size: 18px; }
.sys .btn[aria-disabled="true"] { background: #B7C7CB; pointer-events: none; }
.template { background: #F6FAF7; border: 1.5px dashed #9FD9B4; border-radius: 12px; padding: 12px 14px; font-family: 'Sarabun'; font-size: 15px; white-space: pre-wrap; margin: 0; line-height: 1.7; }
.tips { margin-top: 18px; background: #FFF8EE; border: 1px solid #F5D9B5; border-radius: 16px; padding: 16px 18px; }
.tips h3 { margin: 0 0 8px; font-size: 17px; color: #8A4B0B; }
.tips ol { margin: 0; padding-left: 22px; }
.tips li { margin: 4px 0; }
.staff-foot { text-align: center; color: var(--muted); font-size: 14px; padding: 8px 0 28px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(20px); background: var(--deep2); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; opacity: 0; pointer-events: none; transition: .2s; z-index: 99; max-width: 90%; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- หน้ากรอกสต็อก (/staff/<ระบบ>) ---------- */
.sf-head { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); padding-bottom: 60px; }
.sf-head h1 { font-size: 24px; margin-top: 22px; }
.sf-main { max-width: 680px; display: grid; gap: 14px; }
.sf-card { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 16px; }
.sf-card label, .sf-label { font-weight: 600; font-size: 15px; color: var(--deep2); }
.sf-label small, .sf-when legend small { font-weight: 500; color: var(--muted); }
.sf-field { display: grid; gap: 6px; min-width: 0; }
.sf-2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 479px) { .sf-card > .sf-2 { grid-template-columns: 1fr; } }
.sf-when { border: 1px solid #CDEBE6; background: var(--teal-light); border-radius: 14px; padding: 10px 14px 14px; margin: 0; }
.sf-when legend { padding: 0 6px; font-weight: 700; font-size: 14px; color: var(--teal-dark); }
.sf-when label { display: grid; gap: 4px; font-size: 14px; }
.sf input[type=text], .sf input[type=number], .sf input[type=date], .sf input[type=time], .sf select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #C9D9DC; border-radius: 12px; background: #fff; color: var(--ink);
  font: 500 16px 'Sarabun', sans-serif; -webkit-appearance: none; appearance: none; }
.sf select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C7580' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.sf select:disabled { background-color: #F1F5F6; color: var(--muted); }
.sf input:focus, .sf select:focus { border-color: var(--teal); outline: 3px solid rgba(13,148,136,.18); outline-offset: 0; }
.sf-qty { font-family: 'Kanit' !important; font-size: 26px !important; text-align: center; min-height: 58px !important; }
.sf-types { display: grid; gap: 8px; }
.sf-type { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 76px; padding: 8px 4px; border: 1.5px solid #C9D9DC;
  border-radius: 14px; background: #fff; cursor: pointer; text-align: center; font-size: 15px !important; color: var(--ink) !important; }
.sf-type .ico { font-size: 24px; line-height: 1; }
.sf-type:has(input:checked) { border-width: 2.5px; }
.sf-in:has(input:checked) { border-color: var(--green); background: #E7F6EE; color: #11603B !important; }
.sf-out:has(input:checked) { border-color: var(--red); background: #FCEBEC; color: #9B2730 !important; }
.sf-reserve:has(input:checked) { border-color: var(--amber); background: #FDF1E3; color: #8A4B0B !important; }
.sf-type:has(input:focus-visible) { outline: 3px solid var(--aqua); outline-offset: 2px; }
.sf-photo { display: grid; place-items: center; gap: 8px; min-height: 120px; border: 2px dashed #9CC9C3; border-radius: 14px; background: #F7FBFB; cursor: pointer;
  color: var(--teal-dark) !important; padding: 12px; text-align: center; }
.sf-photo svg { width: 30px; height: 30px; display: block; margin: 0 auto 4px; }
.sf-photo img { max-height: 260px; border-radius: 10px; }
.sf-photo.has { border-style: solid; border-color: var(--teal); }
.sf-err { margin: 0; background: #FCEBEC; color: #9B2730; border: 1px solid #F2C4C8; border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.sf-submit { width: 100%; min-height: 58px; font-size: 19px; }
.sf-submit:disabled { background: #9BB8B4; }
.sf-recent h2 { margin: 0; font-size: 18px; color: var(--deep2); }
.sf-recent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sf-recent li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.sf-recent .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.sf-recent .sub { font-size: 13px; color: var(--muted); }
.sf-recent .sf-empty { color: var(--muted); text-align: center; border-style: dashed; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: #E7F6EE; color: #11603B; } .badge.wait { background: #FDF1E3; color: #8A4B0B; } .badge.bad { background: #FCEBEC; color: #9B2730; }
.sf-done { position: fixed; inset: 0; background: rgba(8,38,43,.55); display: grid; place-items: center; padding: 16px; z-index: 100; }
.sf-done[hidden] { display: none; }
.sf-done-box { background: #fff; border-radius: 22px; padding: 26px 22px; max-width: 360px; width: 100%; text-align: center; display: grid; gap: 10px; justify-items: center; }
.sf-done-box h2 { margin: 0; color: var(--green); font-size: 24px; }
.sf-done-box p { margin: 0 0 6px; color: var(--muted); }
.sf-done-box .btn { width: 100%; }
.sf-done-ico { width: 64px; height: 64px; border-radius: 50%; background: #E7F6EE; color: var(--green); display: grid; place-items: center; }
.sf-done-ico svg { width: 34px; height: 34px; }
.sf [hidden] { display: none !important; }
.sf-when, .sf-2 > *, .sf-when label { min-width: 0; }
.sf input[type=date], .sf input[type=time] { min-width: 0; max-width: 100%; }

/* ---------- หน้าขายหน้าร้าน (/staff/sales-main) ---------- */
.ss-head { background: linear-gradient(135deg, var(--deep) 0%, var(--deep2) 100%); }
.ss .sf-submit.btn-primary:disabled { background: #9DB4BF; }
.ss-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 8px; font-weight: 600; }
.ss-chip { border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.14); color: #fff; border-radius: 999px; padding: 4px 12px; font: 600 13px 'Sarabun', sans-serif; cursor: pointer; min-height: 32px; }
.ss-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ss-tool { min-height: 46px; border-radius: 12px; border: 1.5px solid #C9D9DC; background: var(--aqua-light); color: var(--deep2); font: 600 15px 'Sarabun', sans-serif; cursor: pointer; }
.ss-types { grid-template-columns: repeat(3, 1fr); }
.ss-t:has(input:checked), .ss-branch:has(input:checked) { border-color: var(--deep); background: var(--aqua-light); color: var(--deep2) !important; }
.ss textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #C9D9DC; border-radius: 12px; font: 500 16px 'Sarabun', sans-serif; resize: vertical; }
.ss textarea:focus { border-color: var(--deep); outline: 3px solid rgba(11,79,108,.15); }
.ss input:focus, .ss select:focus { border-color: var(--deep); outline-color: rgba(11,79,108,.15); }
.ss .sf-photo { border-color: #9DBFCC; background: #F5FAFC; color: var(--deep) !important; }
.ss .sf-photo.has { border-color: var(--deep); }
.ss-amount { display: flex; justify-content: space-between; align-items: center; background: var(--aqua-light); border-radius: 14px; padding: 12px 16px; color: var(--deep2); font-weight: 600; }
.ss-amount b { font: 700 26px 'Kanit', sans-serif; }
.ss [data-show][hidden] { display: none !important; }
.ss-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; padding: 16px; display: grid; gap: 12px; align-content: start; }
.ss-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: sticky; top: -16px; background: #fff; padding: 4px 0; }
.ss-modal-head h2 { margin: 0; font-size: 18px; color: var(--deep2); }
.ss-x { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; }
.ss-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ss-list li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; }
.ss-list .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; color: var(--deep2); }
.ss-list .ss-main { font-weight: 600; }
.ss-list .sub { font-size: 13px; color: var(--muted); }
.ss-list .sf-empty { color: var(--muted); text-align: center; border-style: dashed; }
.ss-link { font-size: 14px; font-weight: 600; }
.ss-cancel { justify-self: start; margin-top: 4px; border: 1px solid #F2C4C8; background: #FCEBEC; color: #9B2730; border-radius: 10px; padding: 6px 12px; font: 600 14px 'Sarabun', sans-serif; cursor: pointer; min-height: 36px; }
.ss-cancel-form { display: grid; gap: 8px; }
.ss-cancel-form[hidden] { display: none; }
.ss-cancel-state { justify-self: start; }
.ss-summary { white-space: pre-wrap; background: var(--bg); border-radius: 12px; padding: 12px 14px; font: 12.5px/1.7 'Sarabun', monospace; margin: 0; overflow-x: auto; }
@media (max-width: 479px) { .ss-types { grid-template-columns: 1fr 1fr; } }
