:root { --bg: #080f14; --card: #101b22; --primary: #a3e635; --muted: #97abb7; --border-strong: #26363f; --shadow-soft: 0 12px 40px #0002; }
body { background: #080f14; }
.shell { width: min(1360px, calc(100% - 64px)); }
.topbar { margin-bottom: 16px; }
.brand-icon { background: #a3e635; color: #142008; border-radius: 9px; box-shadow: none; }
.auth-controls { border: 0; background: transparent; box-shadow: none; padding: 0; flex-wrap: wrap; }
.auth-email { width: 136px; padding: 9px 12px; border-radius: 8px; }
.auth-controls .btn { padding: 9px 12px; font-size: .8rem; }
.topbar-right { flex-wrap: wrap; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; text-align: left; padding: 70px 0 72px; }
.hero h2 { font-size: clamp(3rem, 5vw, 5.1rem); line-height: 1.05; letter-spacing: -.06em; }
.hero p { font-size: 1.08rem; line-height: 1.8; max-width: 540px; margin-left: 0; }
.gradient-text { color: #bef264; background: none; }
.eyebrow { padding: 0; border: 0; background: none; color: #bef264; font-size: .78rem; letter-spacing: .035em; }
.signal-dot { display: inline-block; width: 7px; height: 7px; background: #a3e635; border-radius: 50%; }
.hero-actions { justify-content: flex-start; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; font-size: .72rem; color: var(--muted); margin-top: 20px; }
.edge-preview { background: linear-gradient(145deg, #17282d, #10191f); border: 1px solid #354b44; border-radius: 16px; padding: 26px; box-shadow: 0 24px 80px #0004; position: relative; }
.preview-top { display: flex; gap: 10px; align-items: center; font-size: .7rem; letter-spacing: .12em; }
.preview-label { margin-left: auto; color: #97abb7; font-size: .65rem; letter-spacing: 0; }
.preview-context { font-size: .76rem; color: #a6b8c0; margin-top: 36px; }
.edge-preview h3 { font-size: 1.35rem; font-weight: 600; margin: 10px 0 22px; letter-spacing: -.025em; }
.preview-row { display: grid; grid-template-columns: 1.15fr 1.2fr auto; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid #2a3b40; font-size: .72rem; }
.preview-row code { color: #d9f99d; font-size: .88rem; }
.risk-tag { font-size: .6rem; border: 1px solid #3b4e48; border-radius: 5px; padding: 5px 7px; color: #c9dcbe; }
.preview-footer { color: #b4c4c8; padding-top: 18px; font-size: .75rem; border-top: 1px solid #2a3b40; }
.btn { border-radius: 8px; background: #15242c; border-color: #30414b; box-shadow: none; }
.btn-primary { background: #a3e635; color: #17250b; border-color: #a3e635; box-shadow: none; }
.btn-primary:hover:not(:disabled) { background: #bef264; border-color: #bef264; color: #17250b; }
.btn::after { display: none; }
.landing-section { margin: 30px 0 50px; }
.section-heading { text-align: left; max-width: none; }
.section-heading h3 { font-size: 1.7rem; letter-spacing: -.035em; }
.saas-card { border-radius: 12px; background: #101b22; padding: 24px; }
.saas-card h4 { font-size: .97rem; }
.saas-card p { font-size: .85rem; margin-bottom: 0; }
.cta-section { display: none; }
.layout { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; scroll-margin-top: 24px; }
.card, .glass-card { border-radius: 14px; background: #101b22; backdrop-filter: none; }
.input-card { background: #111e26; border: 0; padding: 0; box-shadow: none; }
.mode-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; border: 0; margin: 22px 0 8px; }
.mode-selector legend { font-size: .8rem; color: #a8bcc5; margin-bottom: 12px; }
.mode-selector label { position: relative; cursor: pointer; }
.mode-selector input { position: absolute; left: 12px; top: 15px; accent-color: #a3e635; }
.mode-selector span { display: block; padding: 14px 12px 14px 34px; border: 1px solid #30414b; border-radius: 9px; background: #0a141b; }
.mode-selector strong { display: block; font-size: .85rem; }
.mode-selector small { display: block; margin-top: 6px; font-size: .68rem; color: #9eb1bb; line-height: 1.4; }
.mode-selector input:checked + span { border-color: #a3e635; background: #a3e6350d; }
.mode-selector input:focus-visible + span { outline: 2px solid #e2fbb9; outline-offset: 3px; }
.field select, .field input, textarea, .history-search { border-radius: 8px; background: #0a141b; }
textarea { margin-top: 16px; }
.analytics-panel { background: #0a141b; border: 1px solid #273b44; border-radius: 10px; padding: 20px; scroll-margin-top: 24px; }
.analytics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.analytics-grid span, .analytics-grid small { display: block; color: #a4b8c2; font-size: .73rem; line-height: 1.6; }
.analytics-grid strong { display: block; font-size: 2.1rem; color: #d9f99d; margin: 9px 0; }
.dimension-list { display: flex; gap: 7px; flex-wrap: wrap; margin: 20px 0 10px; }
.dimension { font-size: .68rem; border: 1px solid #30414b; border-radius: 5px; padding: 6px 9px; color: #97abb7; }
.dimension.detected { background: #a3e63512; border-color: #a3e63566; color: #d9f99d; }
.analytics-panel .hint { font-size: .7rem; margin-bottom: 0; }
.empty-state { animation: none; }
.history-card { top: 24px; }
.table-shell, .empty { border-radius: 10px; }
.output-exports { margin: 16px 0; }
.output-exports .btn:first-child, .output-exports .btn:nth-child(2), .output-exports .btn:nth-child(3) { border-color: #6f994c; color: #d9f99d; }
body.light-mode { --text: #14222b; --muted: #526670; --muted-strong: #425661; background: #f5f7f4; }
.light-mode .gradient-text { color: #437414; }
.light-mode .eyebrow { color: #437414; }
.light-mode .edge-preview, .light-mode .analytics-panel, .light-mode .input-card, .light-mode .mode-selector span, .light-mode textarea, .light-mode .field input, .light-mode .field select, .light-mode .history-search, .light-mode .history-item, .light-mode .empty { background: #fff; color: #14222b; }
.light-mode .field label, .light-mode .history-item p, .light-mode .preview-row code, .light-mode .analytics-grid strong { color: #365f13; }
.light-mode .preview-context, .light-mode .preview-label, .light-mode .preview-footer, .light-mode .risk-tag, .light-mode .analytics-grid span, .light-mode .analytics-grid small, .light-mode .mode-selector small { color: #526670; }
.light-mode .dimension.detected { color: #365f13; }
@media (max-width: 1100px) { .hero { gap: 32px; } .layout { grid-template-columns: 1fr; } .history-card { order: 2; position: static; } }
@media (max-width: 800px) { .shell { width: calc(100% - 32px); } .hero { grid-template-columns: 1fr; padding: 32px 0; } .hero h2 { font-size: 3rem; } .hero-actions { display: flex; } .hero-actions .btn { width: auto; } .analytics-grid { gap: 12px; } .mode-selector { gap: 6px; } .mode-selector span { padding-left: 27px; } .mode-selector input { left: 7px; } }
@media (max-width: 480px) { .edge-preview { padding: 18px; } .preview-row { gap: 7px; } .mode-selector, .analytics-grid { grid-template-columns: 1fr; } .mode-selector small { margin-top: 3px; } .analytics-grid > div + div { border-top: 1px solid #273b44; padding-top: 12px; } .hero h2 { font-size: 2.7rem; } }

/* Reference-inspired editorial sections retain TestPilot's own identity. */
.section-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 16px 24px; background: #152127; border-bottom: 2px solid #a3e635; }
.section-nav a { color: #e5ecef; font-size: .8rem; text-decoration: none; }
.section-nav a:hover { text-decoration: underline; }
.section-nav .section-nav-cta { margin-left: auto; background: #a3e635; color: #17250b; padding: 12px 18px; font-weight: 700; }
.landing-section { background: #fff; color: #17262e; padding: 48px 36px; margin: 0; }
.landing-section .section-kicker, .landing-section .section-heading p, .landing-section .saas-card p { color: #526771; }
.landing-section .saas-card { background: #f8faf8; border-color: #d8e0dd; box-shadow: none; }
.overview-section { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; scroll-margin-top: 80px; }
.overview-section h3 { font-size: 2.4rem; letter-spacing: -.04em; margin: 16px 0; line-height: 1.15; }
.overview-section p, .overview-section li { color: #526771; line-height: 1.8; font-size: .95rem; }
.overview-section aside { border-left: 1px solid #d8e0dd; padding-left: 32px; }
.overview-section ul { padding-left: 18px; }
.overview-section a { color: #386313; font-weight: 700; font-size: .85rem; }
#how-it-works, #use-cases { scroll-margin-top: 80px; border-top: 1px solid #e3e8e5; }
.use-case-art { min-height: 110px; display: flex; flex-direction: column; justify-content: center; gap: 12px; margin: -24px -24px 24px; padding: 24px; background: linear-gradient(120deg, #14282b, #283e31); border-radius: 12px 12px 0 0; }
.use-case-art code { font-size: 1.35rem; color: #d9f99d; }
.use-case-art span { font-size: .65rem; letter-spacing: .12em; color: #bbceca; }
.use-case-link { padding: 0; margin-top: 20px; border: 0; background: none; color: #386313; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.use-case-link:hover { text-decoration: underline; }
.get-started { text-align: center; background: #edf2eb; }
.get-started h3 { font-size: 1.8rem; letter-spacing: -.04em; }
.get-started p { color: #526771; margin-bottom: 24px; }
.layout { margin-top: 48px; scroll-margin-top: 80px; }
.site-footer { margin-top: 60px; padding: 36px 0; border-top: 1px solid #30414b; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; }
.site-footer div { display: grid; gap: 12px; font-size: .82rem; }
.site-footer div a { color: var(--muted); text-decoration: none; }
.site-footer div a:hover { text-decoration: underline; }
.site-footer p { color: var(--muted); grid-column: 1 / -1; font-size: .8rem; }
@media (max-width: 800px) { .overview-section { grid-template-columns: 1fr; gap: 20px; } .overview-section aside { border-left: 0; padding-left: 0; } .landing-section { padding: 32px 20px; } .section-nav { gap: 16px; flex-wrap: wrap; padding: 12px; } .section-nav .section-nav-cta { margin-left: 0; } .site-footer { grid-template-columns: 1fr 1fr; } .site-footer > .brand { grid-column: 1 / -1; } }

/* Final direction: quiet glow, precise cards and clear editorial contrast. */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0 -16px; background: radial-gradient(ellipse at 65% 35%, #8ab33b20, transparent 48%), radial-gradient(ellipse at 35% 60%, #377ad71c, transparent 45%); z-index: -1; pointer-events: none; }
.edge-preview { background: linear-gradient(145deg, #18282ee6, #0c171de6); border-color: #49605c; }
.saas-card { transition: border-color .2s ease, transform .2s ease; }
.landing-section .saas-card:hover { border-color: #7b9e52; transform: translateY(-3px); }
.data-example { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; background: #111a21; color: #f1f6f8; scroll-margin-top: 110px; }
.data-example h3 { font-size: 2rem; line-height: 1.2; letter-spacing: -.04em; }
.data-example p { font-size: .92rem; color: #b1c0ca; line-height: 1.8; margin-bottom: 24px; }
.data-example .section-kicker { color: #b0c6d4; }
.json-example { margin: 0; border: 1px solid #46606b; border-radius: 10px; overflow: hidden; background: #09131d; min-width: 0; }
.json-example figcaption { display: flex; align-items: center; gap: 8px; background: #24343f; color: #c3d6e2; font-size: .68rem; padding: 14px; }
.json-example figcaption > span:last-child { margin-left: auto; color: #bdccd4; }
.json-example pre { padding: 20px; margin: 0; overflow-x: auto; font-size: .8rem; line-height: 1.9; color: #d9e8f1; }
.json-key { color: #9fc7f7; }
.json-value { color: #d5ed9e; }
.capability-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; background: #111a21; color: #eef5f7; padding-top: 0; }
.capability-notes h4 { font-size: .95rem; }
.capability-notes p { color: #b1c0ca; font-size: .82rem; line-height: 1.8; }
.light-mode .data-example { color: #f1f6f8; }
@media (max-width: 800px) { .data-example { grid-template-columns: 1fr; gap: 24px; } .capability-notes { grid-template-columns: 1fr; gap: 10px; } .json-example figcaption { flex-wrap: wrap; } .json-example figcaption > span:last-child { margin-left: 0; } .section-nav { position: static; } }

/* Aligned navigation and account dialogs. */
.topbar-right { align-items: center; gap: 24px; }
.auth-controls { flex-wrap: nowrap; }
.auth-panel { justify-content: center; }
.modal-backdrop { position: fixed; inset: 0; align-items: center; padding: 24px; overflow-y: auto; }
.modal { text-align: left; width: min(480px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 32px; border-color: #354b55; }
.modal h2 { font-size: 1.8rem; }
.signup-form { display: grid; gap: 10px; margin: 24px 0 16px; }
.modal label { display: block; color: #cbd5e1; font-size: .85rem; }
.modal .auth-email { width: 100%; border-radius: 8px; padding: 13px 14px; }
.modal .modal-actions { margin-top: 18px; }
.password-toggle { display: flex !important; align-items: center; gap: 8px; }
#checkoutError { color: #fecaca; margin-top: 12px; }
#openLoginBtn { white-space: nowrap; }
.light-mode .modal { color: #f8fafc; }
@media (max-width: 760px) { .auth-controls { flex-wrap: wrap; } .auth-controls .btn { width: auto; flex: 1; } .modal { padding: 24px; } }

/* Keep the workspace focused; optional tools use native keyboard-accessible disclosures. */
#app { display: block; max-width: 960px; margin: 56px auto; scroll-margin-top: 90px; }
#app [hidden] { display: none !important; }
#app .app-card, #app .input-card { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
#app .generator-heading { margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.2; letter-spacing: -.045em; }
#app .generator-intro { margin: 12px 0 28px; color: var(--muted-strong); line-height: 1.6; }
#app .mode-selector { max-width: 560px; gap: 4px; padding: 4px; border-radius: 10px; background: #152127; }
#app .mode-selector legend { padding: 0; margin-bottom: 10px; }
#app .mode-selector span { padding: 12px 8px; text-align: center; border: 0; background: transparent; border-radius: 7px; }
#app .mode-selector input { width: 1px; height: 1px; opacity: 0; }
#app .mode-selector input:checked + span { color: #17250b; background: #a3e635; }
#app .mode-selector input:focus-visible + span { outline: 2px solid #d9f99d; outline-offset: 2px; }
#app #modeDescription { margin: 12px 0 28px; min-height: 1.5em; }
#app .requirement-label { margin-bottom: 10px; font-size: .9rem; }
#app .char-count { color: var(--muted); font-weight: 400; }
#app textarea { margin: 0; min-height: 230px; border: 1px solid #35444d; border-radius: 10px; padding: 20px; background: #0d171d; font-size: 1rem; }
#app textarea:focus { border-color: #a3e635; box-shadow: 0 0 0 3px #a3e63518; }
#app .generator-disclosure { margin-top: 24px; border: 0; border-top: 1px solid var(--border); padding-top: 18px; }
#app .generator-disclosure > summary { width: fit-content; cursor: pointer; color: var(--muted-strong); font-size: .9rem; font-weight: 600; padding: 4px 0; }
#app summary:focus-visible, #app button:focus-visible { outline: 2px solid #a3e635; outline-offset: 4px; }
#app .disclosure-content { padding: 20px 0 4px; }
#app .workflow-grid { margin: 0; }
#app .synthetic-option { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: .9rem; }
#app .synthetic-option input { accent-color: #a3e635; }
#app .advanced-actions { margin-top: 20px; }
#app .advanced-actions .btn { font-size: .8rem; padding: 10px 14px; }
#app .generation-actions { margin-top: 24px; }
#app #generateBtn { padding: 15px 28px; min-height: 50px; }
#app .usage-cta-row { margin-top: 14px; }
#app .usage { color: var(--muted); }
#app .generator-results { margin-top: 44px; }
#app .output-toolbar { gap: 20px; align-items: center; margin-bottom: 20px; }
#app .result-actions { display: flex; gap: 10px; align-items: center; }
#app .result-actions .btn { width: auto; font-size: .85rem; padding: 10px 16px; }
#app .export-dropdown { position: relative; }
#app .export-dropdown > summary { list-style: none; display: flex; gap: 14px; cursor: pointer; }
#app .export-dropdown > summary::-webkit-details-marker { display: none; }
#app .export-options { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 180px; padding: 6px; border: 1px solid #35444d; border-radius: 10px; background: #152127; box-shadow: 0 12px 32px #0005; }
#app .export-options button { display: block; width: 100%; padding: 11px 12px; text-align: left; border: 0; border-radius: 5px; background: transparent; color: var(--text); font: inherit; font-size: .85rem; cursor: pointer; }
#app .export-options button:hover { background: #a3e63512; }
#app .export-options button:disabled { opacity: .45; cursor: not-allowed; }
#app .analytics-panel { margin-top: 32px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
#app .history-card { position: static; margin-top: 32px; }
#app .history-list { max-height: 360px; overflow-y: auto; }
#app .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.light-mode #app .mode-selector, .light-mode #app .export-options { background: #e5ebe2; }
.light-mode #app textarea { background: #fff; }
@media (max-width: 600px) {
  #app { margin: 36px auto; }
  #app .mode-selector { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #app .mode-selector strong { font-size: .8rem; }
  #app textarea { min-height: 210px; padding: 16px; }
  #app .workflow-grid { grid-template-columns: 1fr; }
  #app #generateBtn { width: 100%; }
  #app .output-toolbar { align-items: flex-start; flex-direction: column; }
  #app .result-actions { width: 100%; justify-content: flex-end; }
  #app .advanced-actions { display: grid; grid-template-columns: 1fr 1fr; }
}
.template-column { display: grid; grid-template-columns: 22px minmax(0,1fr) 40px 40px; align-items: center; gap: 8px; margin: 10px 0; }
.template-column input:not([type=checkbox]) { min-width: 0; padding: 10px; background: #0a141b; border: 1px solid #354b55; border-radius: 6px; color: #f8fafc; font: inherit; }
.template-column .btn { padding: 8px; }
#caseEditorFields textarea { min-height: 65px; margin: 0 0 14px; font-size: .9rem; }
#app .edit-case { display: block; padding: 6px 10px; margin-top: 8px; font-size: .75rem; }
#savedCasesList .history-item { width: 100%; text-align: left; }
#templateError { color: #fecaca; }
#caseEditorFields select { width: 100%; margin-bottom: 14px; padding: 12px; background: #0a141b; color: #f8fafc; border: 1px solid #354b55; border-radius: 8px; font: inherit; }
#app .jira-connection { margin-top: 22px; }
#app .jira-connection select { max-width: 100%; padding: 10px; margin-bottom: 12px; border: 1px solid #354b55; border-radius: 8px; background: #0a141b; color: var(--text); font: inherit; }
#app .jira-connection .btn { padding: 10px 14px; font-size: .85rem; }
.google-signin-section { margin: 18px 0; }
.google-signin-section .hint { margin-top: 18px; text-align: center; }
#googleLinkError { color: #fecaca; }
/* Auth forms share a compact rhythm and browser-recognizable credential fields. */
.modal [hidden] { display: none !important; }
.auth-modal { width: min(460px, 100%); padding: 28px; scrollbar-gutter: stable; border-radius: 20px; }
.auth-modal .auth-header { text-align: center; margin-bottom: 22px; }
.auth-modal h2 { font-size: clamp(1.5rem, 4vw, 1.85rem); line-height: 1.2; }
.auth-modal .auth-header p { margin: 8px 0 0; font-size: .95rem; line-height: 1.5; }
.auth-modal .google-signin-section { margin: 0 0 20px; }
.auth-modal .google-button-container { display: flex; justify-content: center; min-width: 0; }
.auth-modal .auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: .8rem; color: #a8b7c3; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #35444e; }
.auth-form { display: grid; gap: 14px; margin: 0; }
.auth-field { display: grid; gap: 6px; }
.auth-modal .auth-field label { margin: 0; font-size: .85rem; }
.auth-modal .auth-email { min-height: 44px; padding: 11px 12px; font-size: .95rem; }
.auth-modal .auth-email:focus { border-color: #a3e635; box-shadow: 0 0 0 3px #a3e63518; }
.auth-preferences { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.auth-modal .password-toggle { margin: 0; font-size: .8rem; }
.auth-modal .password-toggle input { width: 16px; height: 16px; margin: 0; accent-color: #a3e635; }
.auth-modal .auth-trial-note { margin: 0; font-size: .8rem; line-height: 1.5; color: #a8b7c3; }
.auth-modal .auth-message { min-height: 0; margin: 0; padding: 0; text-align: left; font-size: .85rem; line-height: 1.5; }
.auth-modal .auth-message:empty { display: none; }
.auth-modal .modal-actions { margin: 2px 0 0; gap: 8px; }
.auth-modal .modal-actions .btn { min-height: 44px; padding: 11px 14px; width: 100%; }
.auth-close { min-height: 36px; border: 0; padding: 8px; background: transparent; color: #a8b7c3; font: inherit; font-size: .85rem; cursor: pointer; }
.auth-close:hover { color: #f8fafc; }
.auth-close:focus-visible { outline: 2px solid #a3e635; outline-offset: 2px; border-radius: 6px; }
@media (max-width: 480px) { .auth-modal { padding: 20px; border-radius: 16px; } }
/* Make optional generator controls easy to discover without expanding them. */
#app #advancedOptions { border:1px solid #a3e63555; border-radius:12px; padding:0; background:linear-gradient(110deg, #a3e6350d, #152127); }
#app #advancedOptions > summary { display:flex; align-items:center; gap:14px; width:100%; box-sizing:border-box; padding:18px 20px; list-style:none; color:var(--text); }
#app #advancedOptions > summary::-webkit-details-marker { display:none; }
#app #advancedOptions > summary:hover { background:#a3e6350c; border-radius:12px; }
#app #advancedOptions > summary:focus-visible { outline-offset:3px; border-radius:12px; }
#app .advanced-icon { display:grid; place-items:center; flex:0 0 40px; height:40px; border-radius:10px; background:#a3e6351a; color:#bef264; }
#app .advanced-icon svg, #app .advanced-chevron svg { width:22px; height:22px; }
#app .advanced-copy { display:grid; gap:6px; min-width:0; flex:1; }
#app .advanced-title { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:1rem; font-weight:700; }
#app .advanced-badge { padding:3px 8px; border-radius:20px; background:#a3e63518; color:#bef264; font-size:.7rem; font-weight:600; }
#app .advanced-hint { color:var(--muted-strong); font-size:.8rem; font-weight:400; line-height:1.5; }
#app .advanced-chevron { flex:0 0 22px; color:#bef264; }
#app #advancedOptions[open] .advanced-chevron { transform:rotate(180deg); }
#app #advancedOptions[open] > summary { border-bottom:1px solid #a3e63533; }
#app #advancedOptions > .disclosure-content { padding:20px; }
.light-mode #app #advancedOptions { background:#f0f6e9; border-color:#759c44; }
.light-mode #app .advanced-icon, .light-mode #app .advanced-badge, .light-mode #app .advanced-chevron { color:#365f13; }
@media (max-width:480px) { #app #advancedOptions > summary { padding:14px; gap:10px; } #app #advancedOptions > .disclosure-content { padding:16px; } #app .advanced-badge { display:none; } }

/* Reserve the GIS button slot while its script/nonce load; keep the real button during verification. */
.google-button-container, #googleLinkButton { min-height:44px; display:flex; align-items:center; justify-content:center; }
.google-loading { font-size:.85rem; color:#a8b7c3; }
.google-verifying { pointer-events:none; }
