/* Customer-facing light theme, scoped away from administration. */
body.w3 {
  color-scheme: light;
  --bg: #f7f9f8; --card: #fff; --text: #202c29; --text-2: #55645f;
  --muted: #66756f; --line: #dfe7e3; --soft: #eef3f0; --hover: #e7eeea;
  --primary: #18775e; --primary-h: #12614c; --on-primary: #fff;
  --accent: #18775e; --v1: #18775e; --v2: #18775e; --v3: #12614c;
  --danger: #b93838; --info: #3263a5; --warn: #906714;
  --grad: linear-gradient(#18775e, #18775e);
  --shadow: 0 4px 20px rgba(29, 56, 44, .04);
  background: var(--bg);
}
body.w3 .bg { display: none; }
body.w3 .container { max-width: 1120px; }
body.w3 .topnav, body.w3 .topnav.scrolled { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
body.w3 .topnav .logo::before { box-shadow: none; width: 18px; height: 18px; border-radius: 5px; }
body.w3 .topnav .logo { font-size: 19px; }
body.w3 .hero { padding-top: 58px; }
body.w3 .hero h1 { font-size: 46px; line-height: 1.25; margin: 20px 0 16px; font-weight: 650; }
body.w3 .hero p { font-size: 16px; line-height: 1.8; }
body.w3 .pill { background: #eaf3ee; border: none; color: #34634f; font-size: 12px; padding: 6px 12px; }
body.w3 .perks { font-size: 13px; gap: 10px 24px; }
body.w3 .plan, body.w3 .plan.featured { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: none; }
body.w3 .plan.featured { border-color: #93b9a7; }
body.w3 .plan:not(.disabled):hover { transform: translateY(-2px); border-color: #93b9a7; box-shadow: 0 8px 26px rgba(29,56,44,.07); }
body.w3 .plan .hot { background: #eaf3ee; color: #18775e; box-shadow: none; }
body.w3 .gpt-logo, body.w3 .plan.featured .gpt-logo { background: #edf5f0; color: #18775e; box-shadow: none; border-radius: 10px; }
body.w3 .plan .price .num, body.w3 .plan.featured .price .num { font-size: 44px; color: var(--text); background: none; }
body.w3 .plan .tagline { font-size: 14px; }
body.w3 .plan .buy { background: #fff; color: #18775e; border: 1px solid #b9cdc2; border-radius: 10px; box-shadow: none; }
body.w3 .plan .buy:hover { background: #f0f6f2; }
body.w3 .plan.featured .buy { background: #18775e; color: #fff; border: 1px solid #18775e; box-shadow: none; }
body.w3 .plan.featured .buy:hover { background: #12614c; filter: none; }
body.w3 .plan .buy:disabled { background: #f3f5f4; color: var(--muted); border-color: var(--line); }
body.w3 .plan ul { border-top: 1px solid var(--line); }
body.w3 .plan li svg { background: #edf5f0; }
body.w3 .sec-h { margin-top: 64px; }
body.w3 .sec-h h2 { font-size: 26px; }
body.w3 .steps4 .s, body.w3 .faq details, body.w3 .faq details[open] { background: #fff; }
body.w3 .steps4 .ic { background: #edf5f0; color: #18775e; border: none; }
body.w3 .notice a { background: #fff; }
body.w3 .notice .dot { box-shadow: none; }
body.w3 .support-dlg { background: #fff; max-height: calc(100dvh - 32px); overflow-y: auto; }
body.w3 .support-fab { background: #18775e; box-shadow: 0 4px 16px rgba(29,56,44,.15); border-radius: 12px; }
body.w3 textarea, body.w3 input, body.w3 select { background: #fff; }
body.w3 .foot { border-top: 1px solid var(--line); margin-top: 56px; }
body.w3 :is(a,button,input,textarea,select):focus-visible { outline: 3px solid #89b9a4; outline-offset: 3px; }
.human-check { width: min(100%, 360px); margin: 22px auto 0; padding: 0 8px; }
.human-status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 28px; font-size: 12px; color: var(--muted); }
.human-dot { width: 12px; height: 12px; border: 1.5px solid #d2dfd8; border-top-color: #18775e; border-radius: 50%; animation: human-spin .9s linear infinite; }
.human-check[data-state="verified"] .human-dot { animation: none; border: 0; border-radius: 0; width: 11px; height: 7px; border-left: 1.5px solid #18775e; border-bottom: 1.5px solid #18775e; transform: rotate(-45deg); margin-bottom: 3px; }
.human-check[data-state="interactive"] { padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.human-check[data-state="interactive"] .human-status { justify-content: flex-start; margin-bottom: 8px; }
.human-check[data-state="interactive"] .human-dot, .human-check[data-state="error"] .human-dot { animation: none; border-top-color: #d2dfd8; }
.human-check[data-state="error"] .human-status { color: var(--danger); }
#humanWidgetBox { width: 100%; display: grid; justify-items: center; }
@keyframes human-spin { to { transform: rotate(360deg); } }
.checkout-challenge { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
.checkout-card { width: min(400px,calc(100vw - 32px)); padding: 24px; position: relative; }
.checkout-card h2, .checkout-card p, .checkout-close { display: none; }
#checkoutWidget { width: 100%; display: grid; justify-items: center; }
.checkout-challenge[data-open="true"] { pointer-events: auto; background: rgba(20,32,26,.32); backdrop-filter: blur(3px); }
.checkout-challenge[data-open="true"] .checkout-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 60px rgba(20,40,30,.18); max-height: calc(100dvh - 32px); overflow-y: auto; }
.checkout-challenge[data-open="true"] h2 { display: block; margin: 4px 0 8px; font-size: 22px; }
.checkout-challenge[data-open="true"] p { display: block; margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.checkout-challenge[data-open="true"] .checkout-close { display: block; position: absolute; top: 10px; right: 10px; padding: 4px 10px; background: transparent; color: var(--muted); font-size: 24px; }
body.checkout-challenging { overflow: hidden; }
.account-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 18px 0 0; padding: 18px 0; border-top: 1px solid var(--line); }
.account-details dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.account-details dd { margin: 0; color: var(--text); font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.member-notice { margin: 12px 0; padding: 12px 14px; border: 1px solid #ead6a2; border-radius: 10px; background: #fcf8ee; color: #775b24; font-size: 13px; line-height: 1.8; }
.cancel-dialog { width: min(420px,calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--text); }
.cancel-dialog::backdrop { background: rgba(20,32,26,.32); backdrop-filter: blur(3px); }
.cancel-dialog p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.cancel-actions { display: flex; gap: 12px; margin-top: 20px; }.cancel-actions button { flex: 1; border-radius: 10px; }
@media (max-width: 420px) { .account-details { grid-template-columns: 1fr; gap: 14px; } .confirm .acc-row { flex-wrap: wrap; } .confirm .acc { overflow-wrap: anywhere; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .human-dot { animation: none; } }
@media (max-width: 600px) {
  body.w3 .hero { padding-top: 32px; }
  body.w3 .hero h1 { font-size: 32px; }
  body.w3 .hero p { font-size: 14px; }
  body.w3 .topnav .logo { font-size: 16px; }
  body.w3 .plan .price .num { font-size: 40px; }
  body.w3 .support-fab { right: 16px; bottom: 16px; }
}
