:root {
      --fk-blue: #2874f0;
      --text-main: #1e293b;
      --text-sub: #475569;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, sans-serif; }
    body { background: #dce1e7; color: var(--text-main); line-height: 1.45; -webkit-font-smoothing: antialiased; }
    .app-shell { max-width: 460px; margin: 0 auto; min-height: 100vh; padding-bottom: 32px; background: #f1f3f6; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14); }
    .app-header { position: sticky; top: 0; z-index: 50; padding: 12px 14px 14px; background: var(--fk-blue); color: #ffffff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16); }
    .header-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
    .brand-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
    .menu-icon { border: 0; background: transparent; color: inherit; font-size: 20px; cursor: pointer; }
    .app-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 3px; border-radius: 10px; background: #ffffff; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
    .app-logo img { width: 100%; height: 100%; object-fit: contain; }
    .brand-info h1 { font-size: 18px; font-weight: 800; line-height: 1.15; }
    .brand-info .sub { font-size: 11.5px; font-weight: 600; color: #ffe500; }
    .lang-toggle { display: inline-flex; flex: 0 0 auto; padding: 2px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; background: rgba(0, 0, 0, 0.25); }
    .lang-btn { padding: 3px 8px; border: 0; border-radius: 999px; background: transparent; color: #ffffff; font-size: 11px; font-weight: 700; cursor: pointer; }
    .lang-btn.active { background: #ffe500; color: #111827; }
    .search-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; background: #ffffff; color: #64748b; font-size: 13px; text-decoration: none; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); }
    .form-subheader { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 16px 14px 12px; }
    .back-button { width: 40px; height: 40px; border: 1px solid #dbe3ee; border-radius: 12px; background: #ffffff; color: var(--text-main); font-size: 23px; cursor: pointer; }
    .form-title h2 { font-size: 17px; font-weight: 800; line-height: 1.4; }
    .form-title p { font-size: 12px; color: var(--text-sub); }
    .step-badge { padding: 5px 9px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: 11px; font-weight: 700; white-space: nowrap; }
    .survey-card { margin: 0 10px; padding: 18px 16px; border: 1px solid #d7e6ff; border-radius: 14px; background: #ffffff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06); }
    .form-intro { margin-bottom: 16px; color: var(--text-sub); font-size: 13px; }
    .survey-fields { min-width: 0; border: 0; }
    .form-field { margin-bottom: 14px; }
    .form-field > label, .product-field legend { display: block; margin-bottom: 6px; color: var(--text-main); font-size: 13px; font-weight: 700; }
    .form-field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid transparent; border-radius: 9px; background: #f1f3f5; color: var(--text-main); font-size: 16px; }
    .form-field input:focus { outline: none; border-color: var(--fk-blue); box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.14); }
    .product-field { min-width: 0; margin-bottom: 16px; border: 0; }
    .field-hint { margin-bottom: 8px; color: var(--text-sub); font-size: 12px; }
    .product-option { display: flex; align-items: center; gap: 10px; min-height: 46px; margin-top: 6px; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 9px; background: #f1f3f5; font-size: 13px; cursor: pointer; }
    .product-option input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #1d4ed8; }
    .privacy-note { margin: 0 0 16px; color: var(--text-sub); font-size: 12px; line-height: 1.65; }
    .submit-button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 14px; border: 0; border-radius: 10px; background: #1d4ed8; color: #ffffff; font-size: 14px; font-weight: 700; cursor: pointer; }
    .submit-button svg { width: 19px; height: 19px; }
    .submit-button:disabled { opacity: 0.72; cursor: wait; }
    button:focus-visible, a:focus-visible, input[type="checkbox"]:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
    .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.7s linear infinite; }
    .submit-button.is-loading .submit-icon { display: none; }
    .submit-button.is-loading .spinner { display: inline-block; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .form-message { margin-top: 14px; padding: 11px 12px; border-radius: 9px; font-size: 13px; line-height: 1.55; }
    .form-message:empty { display: none; }
    .form-message.success { background: #ecfdf5; color: #166534; }
    .form-message.error { background: #fef2f2; color: #b91c1c; }
    .app-footer { margin-top: 20px; padding: 20px 16px 16px; background: #14223b; color: #cbd5e1; text-align: center; font-size: 12px; }
    .footer-brand { color: #ffffff; font-size: 14px; font-weight: 800; }
    .footer-addr { margin-top: 4px; color: #94a3b8; font-size: 11.5px; }
    .footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 12px 0; }
    .footer-nav button { border: 0; background: none; color: #ffe500; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; }
    .copyright-line { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #94a3b8; font-size: 11px; }
    dialog { width: calc(100% - 32px); max-width: 420px; max-height: 80vh; margin: auto; padding: 18px; border: 0; border-radius: 10px; color: var(--text-main); }
    dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
    .modal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
    .modal-top h3 { color: var(--fk-blue); font-size: 16px; }
    .modal-x { width: 28px; height: 28px; flex: 0 0 28px; border: 0; border-radius: 50%; cursor: pointer; }
    dialog p { margin-bottom: 10px; font-size: 13px; }
    @media (max-width: 360px) {
      .form-subheader { grid-template-columns: 36px minmax(0, 1fr); }
      .step-badge { grid-column: 2; justify-self: start; }
    }
    @media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
