/* Three "looks" for comparing design directions. Each is hand-written CSS that imitates the visual style of a
   public component library, from its own site (read 17 Nov 2026). None of their code is used.
   - coss:   coss ui (coss.com/ui, MIT): neutral-800 primary, 10px radius, translucent borders mixed with bottom shadows.
   - apple:  applecn (applecn.vercel.app, MIT): iOS grouped lists on rgb(242,242,247), 17px type, system blue and green.
   - shadcn: shadcn/ui (ui.shadcn.com, MIT): neutral oklch palette, solid hairline borders, 10px radius.
   The default look (no class) is the original mock-up. */

/* ---------------- coss ---------------- */
html.theme-coss { --ink: #262626; --muted: #6b6b6b; --line: rgba(0,0,0,.08); --bg: #fafafa; --brand: #262626; --brand-d: #171717; --ok: #059669; }
html.theme-coss body { font-family: Inter, "Segoe UI", system-ui, sans-serif; background: #eeeeee; }
html.theme-coss .top { background: #fff; color: var(--ink); border-bottom: 1px solid rgba(0,0,0,.08); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
html.theme-coss .top .sub { color: var(--muted); opacity: 1; }
html.theme-coss .top .who { background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.1); box-shadow: 0 1px 2px rgba(0,0,0,.06); border-radius: 10px; font-weight: 500; }
html.theme-coss .card, html.theme-coss .list, html.theme-coss .tbl { border: 1px solid rgba(0,0,0,.08); border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 2px 4px -2px rgba(0,0,0,.04); }
html.theme-coss .tbl { border-collapse: separate; border-spacing: 0; }
html.theme-coss h3 { color: var(--ink); font-weight: 600; font-size: 14px; }
html.theme-coss .btn { border-radius: 10px; background: #262626; color: #fafafa; font-weight: 600; font-size: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12); }
html.theme-coss .btn.ghost { background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.1); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
html.theme-coss .wa-btn { background: #059669; color: #fff; }
html.theme-coss .pm { border-radius: 10px; border: 1px solid rgba(0,0,0,.1); box-shadow: 0 1px 2px rgba(0,0,0,.06); width: 40px; height: 40px; font-size: 20px; }
html.theme-coss .pm.plus { background: #262626; border-color: #262626; color: #fafafa; box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.12); }
html.theme-coss .badge { background: rgba(0,0,0,.04); color: var(--ink); border: 1px solid rgba(0,0,0,.08); border-radius: 10px; }
html.theme-coss .badge.okb { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
html.theme-coss .tabs { border-top: 1px solid rgba(0,0,0,.08); }
html.theme-coss .tabs a { font-weight: 500; }
html.theme-coss .tabs a.on { color: var(--ink); box-shadow: inset 0 2px 0 #262626; font-weight: 600; }
html.theme-coss .status { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; border-radius: 10px; font-weight: 500; }
html.theme-coss .status.ok { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
html.theme-coss .pill.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
html.theme-coss .pill.no { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
html.theme-coss .seg { background: rgba(0,0,0,.04); border-radius: 10px; }
html.theme-coss .seg a { border-radius: 8px; font-weight: 500; }
html.theme-coss .seg a.on { box-shadow: 0 1px 2px rgba(0,0,0,.08); border: 1px solid rgba(0,0,0,.08); }
html.theme-coss select, html.theme-coss input[type=number], html.theme-coss input[type=time], html.theme-coss input[type=date], html.theme-coss input.name, html.theme-coss input[type=email], html.theme-coss input.note { border: 1px solid rgba(0,0,0,.1); border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
html.theme-coss input.num { border-color: transparent; box-shadow: none; }
html.theme-coss .switch input:checked + span { background: #262626; }
html.theme-coss .lowbox { border-radius: 10px; }
html.theme-coss pre.wa { border-radius: 10px; }
html.theme-coss .key { box-shadow: 0 1px 2px rgba(0,0,0,.1); border: 1px solid rgba(0,0,0,.08); border-radius: 16px; }
html.theme-coss .dot { border-color: #262626; } html.theme-coss .dot.on { background: #262626; }

/* ---------------- apple (iOS idiom) ---------------- */
html.theme-apple { --ink: #000; --muted: rgba(60,60,67,.6); --line: rgba(60,60,67,.29); --bg: rgb(242,242,247); --brand: rgb(0,122,255); --brand-d: rgb(0,122,255); --ok: rgb(52,199,89); }
html.theme-apple body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; font-size: 17px; background: #d9d9de; }
html.theme-apple .top { position: sticky; top: 0; z-index: 4; background: rgba(249,249,249,.8); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); color: #000; border-bottom: .5px solid rgba(60,60,67,.29); }
html.theme-apple .top .brand { font-size: 17px; font-weight: 600; }
html.theme-apple .top .sub { color: var(--muted); opacity: 1; }
html.theme-apple .top .who { background: rgba(118,118,128,.12); color: rgb(0,122,255); font-weight: 500; }
html.theme-apple h1 { font-size: 34px; line-height: 41px; font-weight: 700; }
html.theme-apple h2 { font-size: 22px; line-height: 28px; font-weight: 700; }
html.theme-apple h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); font-weight: 400; margin: 22px 16px 6px; }
html.theme-apple .card, html.theme-apple .list, html.theme-apple .tbl { border: 0; border-radius: 22px; box-shadow: none; }
html.theme-apple .card { padding: 0 16px; }
html.theme-apple .svc, html.theme-apple .stock, html.theme-apple .price, html.theme-apple .row { border-bottom: .5px solid rgba(60,60,67,.29); min-height: 52px; }
html.theme-apple .row { padding: 11px 16px; }
html.theme-apple .svcname { font-weight: 400; }
html.theme-apple .btn { border-radius: 999px; background: rgb(0,122,255); color: #fff; font-weight: 600; font-size: 17px; padding: 14px; }
html.theme-apple .btn.ghost { background: rgba(118,118,128,.12); color: rgb(0,122,255); border: 0; }
html.theme-apple .btn.light { background: rgba(255,255,255,.2); color: #fff; }
html.theme-apple .wa-btn { background: rgb(52,199,89); color: #fff; }
html.theme-apple .pm { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(118,118,128,.12); color: rgb(0,122,255); font-size: 22px; }
html.theme-apple .pm.plus { background: rgb(0,122,255); color: #fff; }
html.theme-apple .num { font-weight: 600; }
html.theme-apple .badge { border-radius: 8px; background: rgb(0,122,255); color: #fff; min-width: 32px; height: 32px; font-size: 12px; }
html.theme-apple .badge.okb { background: rgb(52,199,89); }
html.theme-apple .chev { color: rgba(60,60,67,.3); }
html.theme-apple .tabs { background: rgba(249,249,249,.8); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-top: .5px solid rgba(60,60,67,.29); }
html.theme-apple .tabs a { font-size: 12px; font-weight: 500; color: rgba(60,60,67,.6); }
html.theme-apple .tabs a.on { color: rgb(0,122,255); box-shadow: none; }
html.theme-apple .status { background: #fff; color: rgb(201,105,0); border-radius: 14px; font-weight: 500; }
html.theme-apple .status.ok { color: rgb(36,138,61); }
html.theme-apple .pill { border-radius: 999px; }
html.theme-apple .pill.ok { background: rgba(52,199,89,.15); color: rgb(36,138,61); }
html.theme-apple .pill.no { background: rgba(255,141,40,.15); color: rgb(201,105,0); }
html.theme-apple .seg { background: rgba(118,118,128,.12); border-radius: 999px; padding: 2px; }
html.theme-apple .seg a { border-radius: 999px; font-weight: 500; color: #000; padding: 6px; }
html.theme-apple .seg a.on { font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04); }
html.theme-apple select, html.theme-apple input[type=number], html.theme-apple input[type=time], html.theme-apple input[type=date], html.theme-apple input.name, html.theme-apple input[type=email], html.theme-apple input.note { border: 0; background: rgba(118,118,128,.12); border-radius: 10px; }
html.theme-apple input.num { background: transparent; }
html.theme-apple .switch { width: 51px; height: 31px; }
html.theme-apple .switch span::before { width: 27px; height: 27px; left: 2px; top: 2px; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
html.theme-apple .switch input:checked + span { background: rgb(52,199,89); }
html.theme-apple .switch input:checked + span::before { transform: translateX(20px); }
html.theme-apple .lowbox { background: #fff; border: 0; border-radius: 14px; color: rgb(201,105,0); }
html.theme-apple pre.wa { border-radius: 18px; }
html.theme-apple .key { background: rgba(118,118,128,.12); box-shadow: none; font-weight: 400; font-size: 32px; }
html.theme-apple .dot { border-color: #000; } html.theme-apple .dot.on { background: #000; }
html.theme-apple .sheet { border-radius: 26px 26px 0 0; }
html.theme-apple .tbl th { text-transform: uppercase; font-weight: 400; }
html.theme-apple .lbl { text-transform: uppercase; font-weight: 400; }

/* ---------------- shadcn ---------------- */
html.theme-shadcn { --ink: #0a0a0a; --muted: #737373; --line: #e5e5e5; --bg: #fff; --brand: #171717; --brand-d: #171717; --ok: #16a34a; }
html.theme-shadcn body { font-family: Geist, Inter, "Segoe UI", system-ui, sans-serif; background: #f5f5f5; }
html.theme-shadcn .top { background: #fff; color: #0a0a0a; border-bottom: 1px solid #e5e5e5; }
html.theme-shadcn .top .brand { font-weight: 600; letter-spacing: -.01em; }
html.theme-shadcn .top .sub { color: #737373; opacity: 1; }
html.theme-shadcn .top .who { background: #fff; color: #0a0a0a; border: 1px solid #e5e5e5; border-radius: 8px; font-weight: 500; }
html.theme-shadcn h1, html.theme-shadcn h2 { letter-spacing: -.02em; font-weight: 600; }
html.theme-shadcn h3 { color: #0a0a0a; font-weight: 500; font-size: 14px; }
html.theme-shadcn .card, html.theme-shadcn .list, html.theme-shadcn .tbl { border: 1px solid #e5e5e5; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
html.theme-shadcn .tbl { border-collapse: separate; border-spacing: 0; }
html.theme-shadcn .btn { border-radius: 8px; background: #171717; color: #fafafa; font-weight: 500; font-size: 15px; padding: 12px; }
html.theme-shadcn .btn.ghost { background: #fff; color: #0a0a0a; border: 1px solid #e5e5e5; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
html.theme-shadcn .wa-btn { background: #16a34a; color: #fff; }
html.theme-shadcn .pm { border-radius: 8px; border: 1px solid #e5e5e5; width: 38px; height: 38px; font-size: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
html.theme-shadcn .pm.plus { background: #171717; border-color: #171717; color: #fafafa; }
html.theme-shadcn .num { font-weight: 600; }
html.theme-shadcn .badge { background: #f5f5f5; color: #171717; border-radius: 8px; border: 1px solid #e5e5e5; }
html.theme-shadcn .badge.okb { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
html.theme-shadcn .tabs { border-top: 1px solid #e5e5e5; }
html.theme-shadcn .tabs a { font-weight: 500; color: #737373; }
html.theme-shadcn .tabs a.on { color: #0a0a0a; box-shadow: inset 0 2px 0 #171717; }
html.theme-shadcn .status { background: #fff; color: #0a0a0a; border: 1px solid #e5e5e5; border-left: 3px solid #f59e0b; border-radius: 8px; font-weight: 500; }
html.theme-shadcn .status.ok { border-left-color: #16a34a; }
html.theme-shadcn .pill { border-radius: 6px; font-weight: 500; }
html.theme-shadcn .pill.ok { background: #171717; color: #fafafa; }
html.theme-shadcn .pill.no { background: #fff; color: #0a0a0a; border: 1px solid #e5e5e5; }
html.theme-shadcn .seg { background: #f5f5f5; border-radius: 10px; }
html.theme-shadcn .seg a { border-radius: 8px; font-weight: 500; }
html.theme-shadcn .seg a.on { box-shadow: 0 1px 3px rgba(0,0,0,.1); }
html.theme-shadcn select, html.theme-shadcn input[type=number], html.theme-shadcn input[type=time], html.theme-shadcn input[type=date], html.theme-shadcn input.name, html.theme-shadcn input[type=email], html.theme-shadcn input.note { border: 1px solid #e5e5e5; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
html.theme-shadcn input.num { border-color: transparent; box-shadow: none; }
html.theme-shadcn .switch input:checked + span { background: #171717; }
html.theme-shadcn .lowbox { background: #fff; border: 1px solid #e5e5e5; border-left: 3px solid #f97316; border-radius: 8px; color: #0a0a0a; }
html.theme-shadcn pre.wa { border-radius: 10px; }
html.theme-shadcn .key { box-shadow: none; border: 1px solid #e5e5e5; }
html.theme-shadcn .dot { border-color: #171717; } html.theme-shadcn .dot.on { background: #171717; }
html.theme-shadcn .lbl { text-transform: none; color: #0a0a0a; font-weight: 500; font-size: 14px; }
html.theme-apple .svc:last-child, html.theme-apple .stock:last-child, html.theme-apple .price:last-child, html.theme-apple .row:last-child { border-bottom: 0; }
html.theme-apple .status.bad { color: rgb(215,0,21); }
