/* One phone presentation shared by browsers and embedded clients. Desktop and print
   retain their existing styles. No answer clipping, semantic hiding or control changes. */
@media screen and (max-width:700px), screen and (max-height:500px) and (pointer:coarse) {
  [hidden] {display:none!important}
  body {background:#f5f7f8;color:#193246;font-size:15px;line-height:1.8}
  .topline {background:#102c40;color:#dce6eb;font-size:10px;line-height:1.5;padding:6px 12px;letter-spacing:0}
  header {background:#fff;border-bottom:1px solid #e3e9ec}
  header .header-inner,header.business-header {display:flex;flex-direction:column;align-items:stretch;gap:5px;min-height:0;padding:14px 0 10px;width:calc(100% - 28px);margin-inline:auto}
  header.business-header {border-bottom:1px solid #e3e9ec}
  .rta-mobile-brand-row {display:flex;align-items:center;gap:8px;width:100%;direction:ltr}
  .rta-mobile-brand-row .brand {display:flex;align-items:center;justify-content:flex-start;gap:7px;margin:0;flex:1 1 auto;min-width:0;width:auto}
  .rta-mobile-brand-row .brand>div {min-width:0}
  .rta-mobile-brand-row .brand img {width:24px;height:24px;flex:0 0 24px}
  .rta-mobile-brand-row .brand strong {font-size:14px;line-height:1.4;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;color:#102c40}
  .rta-mobile-brand-row .locale {display:flex;flex:0 0 96px;width:96px;gap:0;margin:0}
  .rta-mobile-brand-row .locale span[aria-hidden=true] {display:none}
  .rta-mobile-brand-row select,header.business-header .rta-mobile-brand-row select,header.business-header .rta-mobile-brand-row :is(#business-language,#operations-language) {width:96px;max-width:96px;min-width:0;flex:0 0 96px;font-size:16px;font-weight:400;padding:4px 0;height:44px;min-height:44px;border:1px solid #dce2e5;background:#f8fafb;color:#193246;border-radius:8px}
  header .rta-mobile-caption,header.business-header .rta-mobile-caption {display:block;font-size:14px;line-height:1.5;margin:0;width:100%;text-align:center;font-weight:400;color:#826322;letter-spacing:0;overflow-wrap:anywhere}
  .header-inner .nav {display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;width:100%;font-size:12px;line-height:1.5;margin:8px 0 0;padding-top:8px;border-top:1px solid #edf0f2}
  .header-inner .nav a {min-height:44px;display:inline-flex;align-items:center;padding:8px 2px}
  .header-inner .nav button {min-height:44px;padding:8px 12px;font-size:12px;border-radius:9px;border:1px solid #dce3e7;gap:6px}
  .unified-intro {padding:24px 0 4px;width:calc(100% - 32px);text-align:center}
  .unified-intro>p:not(.verification-note) {font-size:16px;line-height:1.75;color:#193246;margin:0 auto 14px;max-width:36em}
  .unified-intro .verification-note {font-size:12px;line-height:1.8;color:#506370;background:#eaf0f3;padding:12px 14px;border-radius:12px;margin:0 auto 8px;text-align:start}
  .weather-indicator {color:#506370;background:#fff;border:1px solid #e0e6e9;border-radius:10px;font-size:12px;padding:8px 12px}
  .weather-indicator small {color:#506370}
  .audience-gate {display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:16px 0 28px;width:calc(100% - 32px)}
  .audience-gate>a {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:20px;min-height:124px;border-radius:16px;border:1px solid #dce4e8;background:#fff;color:#193246;font-size:19px;font-weight:600;line-height:1.5;box-shadow:0 6px 20px #102c4008}
  .audience-gate>a:first-child {background:#102c40;color:#fff;border:1px solid #102c40;box-shadow:0 8px 22px #102c4014}
  .audience-gate>a small {font-size:13px;font-weight:400;line-height:1.8;color:#536975}
  .audience-gate>a:first-child small {color:#dce6eb}
  /* Prioritize the single consultation on the dark phone landing page. */
  .unified-home .unified-intro>p:not(.verification-note) {color:#dce6eb}
  .unified-home .audience-gate>a {border:1px solid #526675;background:#102c40;color:#fff}
  .unified-home .audience-gate>a small {color:#dce6eb}
  .unified-home .audience-gate>a:first-child {border:2px solid #D4AF37}
  .hero-grid {gap:24px;padding:28px 0 32px}
  .hero h1 {font-size:28px;line-height:1.5;margin:0 0 14px}
  .hero p {font-size:15px;line-height:1.85}
  .question-card {padding:22px 18px;border-radius:16px;box-shadow:0 8px 24px #00000014;min-width:0}
  .question-card h2 {font-size:22px}
  .question-card textarea {font-size:16px;line-height:1.8;padding:14px;min-height:150px;border-radius:10px}
  .question-card .btn {min-height:48px;border-radius:10px;font-size:15px;padding:12px 16px}
  .answer-wrap {width:calc(100% - 32px);padding:24px 16px 32px;overflow-wrap:anywhere}
  .business-main .answer-wrap {width:100%;padding:20px 16px}
  .answer-wrap h1 {font-size:27px;line-height:1.5}
  .answer-wrap h2 {font-size:21px;line-height:1.6;margin-top:28px}
  .answer-wrap p {font-size:16px;line-height:1.95}
  .footer {background:#fff;color:#193246;border-top:1px solid #e0e7eb;padding:24px 0 18px;font-size:12px}
  .footer p {color:#586d79;line-height:1.85}
  .footer a {min-height:44px;display:inline-flex;align-items:center}
  html[data-rta-page="/individual"] .header-inner .nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:stretch;font-size:11px}
  html[data-rta-page="/individual"] .header-inner .nav>* {min-width:0;min-height:44px;white-space:normal;text-align:center;justify-content:center;line-height:1.6;padding:8px 6px;font-size:11px}
  html[data-rta-page="/individual"] .hero-grid {grid-template-columns:minmax(0,1fr);gap:20px;padding:20px 0 28px;width:calc(100% - 32px)}
  html[data-rta-page="/individual"] .hero .eyebrow {font-size:11px;line-height:1.6;letter-spacing:0;margin:0 0 8px}
  html[data-rta-page="/individual"] .hero h1 {font-size:24px;line-height:1.45;margin:0 0 10px;letter-spacing:0}
  html[data-rta-page="/individual"] .hero h1 span {margin-top:3px}
  html[data-rta-page="/individual"] .hero p:not(.sub) {font-size:14px;line-height:1.75;margin:0}
  html[data-rta-page="/individual"] .question-card {order:0;border-radius:16px;padding:20px 18px}
  html[data-rta-page="/individual"] .hero-grid>div:first-child {order:1;padding-top:4px}
  html[data-rta-page="/individual"] .question-card .sub {font-size:13px;line-height:1.7;margin:8px 0 16px}
  .question-card .hint-row {flex-wrap:wrap;gap:6px;font-size:11px}
  .question-card .hint {max-width:100%;flex:1 1 200px}
  .steps-inner {padding:20px 0;gap:12px;width:calc(100% - 32px)}
  .section {padding:28px 0}
  .section-title h2 {font-size:24px;line-height:1.5}
  .info-card {border-radius:14px;padding:18px;border:1px solid #dce4e8;box-shadow:0 4px 16px #102c4006}
  .info-card h3 {font-size:18px;line-height:1.6}
  .info-card p {font-size:14px;line-height:1.85}
  .teaser {border-radius:16px;margin-bottom:28px;overflow:hidden}
  .teaser-copy {padding:22px}
  .teaser h2 {font-size:24px;line-height:1.6}
  .teaser p {font-size:15px;line-height:1.85}
  .page-hero {padding:28px 0;background:#102c40;color:#fff}
  .page-hero h1 {font-size:28px;line-height:1.5;margin:0 0 12px}
  .page-hero p {font-size:15px;line-height:1.9;color:#dce6eb;margin:0}
  .article-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 0}
  .toc {position:static;display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:#fff;border:1px solid #dce4e8;border-radius:14px}
  .toc a {min-height:44px;padding:8px 10px;font-size:13px;line-height:1.6}
  .article-section,.prose {font-size:16px;line-height:1.95;overflow-wrap:anywhere}
  .article-section {padding:20px 0;border-bottom:1px solid #dce4e8}
  .article-section h2,.prose h2,#faq h2 {font-size:22px;line-height:1.6}
  .prose {padding:24px 0 32px}
  .example,.next-steps,.question-preview {border-radius:12px;padding:14px;overflow-wrap:anywhere}
  main details,#business-app details,.operations-main details {background:#fff;border-radius:12px;padding:14px;margin-block:12px;max-width:100%}
  main summary,#business-app summary,.operations-main summary {min-height:44px;line-height:1.8;font-size:15px;cursor:pointer}
  .business-shell {grid-template-columns:minmax(0,1fr);min-height:0}
  .business-nav {display:flex;flex-wrap:wrap;flex-direction:row;gap:8px;padding:16px;background:#fff;color:#193246;overflow:visible;border-bottom:1px solid #e3e9ec}
  .business-nav>strong {width:100%;font-size:16px;overflow-wrap:anywhere;margin-bottom:4px}
  .business-nav button {flex:1 1 calc(50% - 8px);min-width:0;max-width:100%;min-height:44px;padding:10px;background:#f5f7f8;color:#193246;border:1px solid #dce4e8;border-radius:9px;font-size:13px;line-height:1.6;white-space:normal}
  .business-main,.operations-main {width:100%;max-width:100%;min-width:0;padding:22px 16px 32px}
  .business-main h1,.operations-main h1 {font-size:26px;line-height:1.6;overflow-wrap:anywhere;letter-spacing:0}
  .business-portal-title {font-size:26px!important}
  .business-main h2,.operations-main h2 {font-size:22px;line-height:1.6;overflow-wrap:anywhere}
  .workspace-top {gap:12px;padding:0 0 16px;margin:0 0 20px;border-bottom:1px solid #dce4e8}
  .business-metrics,.operation-metrics {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
  .business-metrics>div,.operation-metrics>div,.business-record,.operation-card {background:#fff;color:#193246;border:1px solid #dce4e8;border-radius:14px;padding:16px;min-width:0;overflow-wrap:anywhere;box-shadow:0 4px 16px #102c4006}
  .business-metrics strong,.operation-metrics strong {font-size:25px;line-height:1.6;color:#102c40}
  .business-list {gap:12px}
  .business-login {width:calc(100% - 32px);margin:24px auto;padding:22px 18px;border:1px solid #dce4e8;border-radius:16px;background:#fff;box-shadow:0 6px 20px #102c4008}
  .business-main form,.business-login,.operations-main form,.answer-wrap form,dialog[open] form {display:grid;gap:14px;min-width:0;max-width:100%}
  .business-main label,.business-login label,.operations-main label,dialog[open] label {font-size:14px;line-height:1.8;max-width:100%;overflow-wrap:anywhere}
  :is(.business-main,.business-login,.operations-main,.answer-wrap,dialog[open]) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select) {width:100%;max-width:100%;min-width:0;min-height:48px;padding:12px;font-size:16px;line-height:1.6;border:1px solid #cbd6dd;border-radius:10px;background:#fff;color:#193246;box-sizing:border-box}
  :is(.business-main,.business-login,.operations-main,.answer-wrap,dialog[open]) textarea {min-height:140px;resize:vertical}
  :is(.business-main,.business-login,.operations-main,.answer-wrap,dialog[open]) :is(input,textarea,select):disabled {background:#eef1f3;color:#6b7b86}
  :is(.business-main,.business-login,.operations-main,.answer-wrap,dialog[open]) :is(input,textarea):read-only:not(:disabled) {background:#f8fafb}
  .business-main button,.business-login button,.business-actions a,.operations-main button,.operation-link,.answer-wrap button,dialog[open] button:not(.close) {min-height:48px;max-width:100%;min-width:0;padding:11px 14px;font-size:14px;line-height:1.6;border-radius:10px;white-space:normal;overflow-wrap:anywhere;background:#fff;color:#193246;border:1px solid #cbd6dd}
  .business-login .btn,.business-main .btn,.operations-main button[type=submit],.operations-main form>button:not([type]),dialog[open] .btn,dialog[open] button[type=submit] {background:#102c40;color:#fff;border:1px solid #102c40}
  .business-actions,.operation-actions,.operations-nav,.modal-actions {display:flex;flex-wrap:wrap;gap:10px;max-width:100%;margin-block:16px}
  .operations-nav>*,.operation-actions>* {flex:1 1 130px;text-align:center}
  .business-filter {display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px}
  .business-filter label {min-width:0;width:100%}
  .pricing-grid {grid-template-columns:minmax(0,1fr);gap:14px}
  .pricing-card {border-radius:16px;padding:20px;border:1px solid #526675;box-shadow:0 6px 20px #102c4008}
  .business-notes,.recovery-result,.recovery-kit,.secret {white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;border-radius:12px;padding:14px;font-size:14px;line-height:1.9;max-width:100%}
  .table-scroll {max-width:100%;overflow:auto;border-radius:12px}
  .operation-table td,.operation-table th {min-width:0;overflow-wrap:anywhere}
  .notice,.operation-message,.business-error {font-size:14px;line-height:1.9;overflow-wrap:anywhere;border-radius:10px}
  dialog[open] {width:calc(100% - 24px);max-width:520px;max-height:85vh;max-height:85dvh;overflow:auto;padding:24px 18px;border:1px solid #dce4e8;border-radius:18px;color:#193246;background:#fff;box-shadow:0 16px 56px #102c4030;box-sizing:border-box}
  dialog[open] h2 {font-size:23px;line-height:1.6;padding-inline-end:28px}
  dialog[open] .close {min-width:44px;min-height:44px;font-size:25px;border-radius:10px}
  dialog[open] input[type=checkbox],.operations-main input[type=checkbox] {width:22px;height:22px;min-width:22px;flex:0 0 22px;margin-block:3px 0}
}

/* Make the individual question the main writing surface on phones. */
@media screen and (max-width:700px), screen and (max-height:500px) and (pointer:coarse) {
  html[data-rta-page="/individual"] .hero-grid {width:calc(100% - 16px);gap:16px;padding:12px 0 24px}
  html[data-rta-page="/individual"] #question-form {padding:16px 12px 18px}
  html[data-rta-page="/individual"] #question-form h2 {font-size:24px;line-height:1.5}
  html[data-rta-page="/individual"] #question-form .sub {margin:6px 0 10px}
  html[data-rta-page="/individual"] #question-form .field-label {font-size:16px;font-weight:600}
  html[data-rta-page="/individual"] #question-form #question {
    width:100%;max-width:100%;min-height:320px;min-height:clamp(280px,44svh,420px);
    padding:16px;font-size:17px;line-height:1.9;border:2px solid #bb985c;
    border-radius:12px;background:#fffdf8;resize:vertical;box-sizing:border-box;
  }
  html[data-rta-page="/individual"] #question-form #question::placeholder {font-size:16px;line-height:1.8;color:#607482}
}
@media screen and (max-height:500px) and (pointer:coarse) {
  html[data-rta-page="/individual"] #question-form #question {min-height:220px}
}

/* Single-consultation identity followed directly by the writing card. */
@media screen and (max-width:700px), screen and (max-height:500px) and (pointer:coarse){
  html[data-rta-page="/individual"] header .header-inner{padding:10px 0 8px;gap:6px}
  html[data-rta-page="/individual"] .rta-mobile-brand-row .locale{flex:0 0 auto;width:auto}
  html[data-rta-page="/individual"] .rta-mobile-brand-row #language{width:var(--rta-language-width,9em);max-width:none;flex:0 0 auto;padding:4px 6px}
  html[data-rta-page="/individual"] #question-form #question{min-height:320px;min-height:clamp(320px,50svh,480px)}
}
@media screen and (max-height:500px) and (pointer:coarse){
  html[data-rta-page="/individual"] #question-form #question{min-height:220px}
}
