/* Task 7 polish (14 Oct 2026). Loaded last on every page.
   1. Sample-job note visible on phones.
   2. No visible text under 11px (the hero phone mock-up countdown excepted). */

/* 1. Sample-job note: visible on every screen size */
.so-reports .so-report-note{display:block;font-size:13px;line-height:1.45}
.so-reports .so-report-view-only{display:block;font-size:11px;line-height:1.5}
@media(max-width:650px){
  .so-reports .so-report-note,.so-reports .so-report-view-only{display:block}
  .so-reports .so-report-note{margin:12px 0 0}
}

/* 2. 11px minimum. !important because the source rules are spread across
   brand-sync, report-viewer and media queries with higher specificity. */
.so-job-types,
.price-popular,
.so-recommend-tag,
.so-calc-result-label,
.so-calc-seat-tiers span,
.billing-save,
.so-extra-users,
.ent-note,
.rv-caption,
.rv-switcher-label,
.rv-switcher-label span,
.rv-switch-mark,
.rv-switch-mark>span,
.rv-switch-action,
#features .wf-chips li,
#features .wf-toggle button{font-size:11px!important}
/* The plan label must not overflow its column at 11px */
#pricing #roiPlan + .so-calc-result-label{white-space:normal!important}

/* 3. SWIPE STANDARD (locked 14 Oct 2026). Every swipe section on phones uses:
      - cards at 84% width so the next one peeks in, snapping to centre
      - square dots underneath (copper outline, current one filled, 44px tap target)
      - one mono hint line: "SWIPE TO ..." in capitals, 11px
   Used by: pricing cards, workflow steps, report pages. Don't invent new swipe styles. */
.ss-dots,.ss-hint{display:none}
@media(max-width:699px){
  .ss-dots{display:flex;justify-content:center;gap:0;margin:6px 0 0}
  .ss-dots button{width:44px;height:44px;padding:0;border:0;background:transparent;position:relative;cursor:pointer}
  .ss-dots button::after{content:"";position:absolute;inset:18px;border:1px solid var(--cu)}
  .ss-dots button[aria-current="true"]::after{background:var(--cu)}
  .ss-dots button:focus-visible{outline:2px solid var(--cu);outline-offset:-6px}
  .ss-hint{display:block;margin:0;text-align:center;font:500 11px/1.4 var(--ff-m);letter-spacing:.12em;text-transform:uppercase;color:#55524C}

  /* Workflow: five step cards */
  #features .wf-steps{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-padding-inline:8%;padding:2px 8% 3px 0;align-items:stretch}
  #features .wf-steps::-webkit-scrollbar{display:none}
  #features .wf-step{flex:0 0 84%;width:84%;min-width:0;scroll-snap-align:center;justify-content:flex-start;border:1px solid var(--line-l);padding:18px 16px 20px!important}
  #features .wf-step:first-child{border-top:1px solid var(--line-l)}
  #features .wf-step h3{font-size:36px!important;margin-bottom:10px}
  #features .wf-step p{margin-bottom:12px}
  #features .wf-mobile-phone{width:200px;height:340px;margin:16px auto 0!important;border-width:8px;border-radius:28px}
  #features .wf-mobile-shot{border-radius:20px}
  #features .wf-step[data-step="5"] .wf-mobile-phone{display:none}
  #features .wf-mobile-report{width:100%;margin:16px 0 0}
  #features .wf-dots{margin-top:8px}

  /* Pricing already follows the standard; keep its hint the same size */
  #pricing .so-pricing-swipe{font-size:11px}
}
/* Report pages: dots replace the arrows and page counter on phones */
@media(max-width:650px){
  .so-reports .rv-dots{display:flex}
  .so-reports .rv-swipe-hint{display:block;color:#C5BCAE}
  .so-reports .rv-controls button{display:none}
  .so-reports .rv-page-count{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
/* Desktop: show both the existing page-turn arrows and clickable page dots.
   Mobile keeps its standard square-dot/swipe presentation. */
@media(min-width:651px){
  .so-reports .rv-controls button{display:grid}
  .so-reports .rv-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:0;margin:9px 0 0}
  .so-reports .rv-dots button{position:relative;width:30px;height:34px;flex:none;padding:0;border:0;background:transparent;cursor:pointer}
  .so-reports .rv-dots button::after{content:"";position:absolute;inset:13px 11px;border:1px solid var(--cu)}
  .so-reports .rv-dots button[aria-current="true"]::after{background:var(--cu)}
  .so-reports .rv-dots button:focus-visible{outline:2px solid var(--cu);outline-offset:-2px}
  .so-reports .rv-swipe-hint.ss-hint{display:none}
}

/* 4. Light cards on dark subpages (contact page, billing sign-in).
   brand-sync turns these cards bone but left their text light, so headings,
   labels and help text were near-invisible. Dark text on the bone cards. */
body:not(.site-setout) :is(.contact-info,.contact-form-wrap,.login-card) :is(h2,h3,h4){color:var(--ink)!important}
body:not(.site-setout) :is(.contact-info,.contact-form-wrap,.login-card) :is(p,li,label,span,div){color:#4A463F!important}
body:not(.site-setout) :is(.contact-info,.contact-form-wrap,.login-card) a{color:#86521B!important}
body:not(.site-setout) :is(.contact-info,.contact-form-wrap,.login-card) .req{color:#86521B!important}
body:not(.site-setout) :is(.contact-info,.contact-form-wrap,.login-card) button,
body:not(.site-setout) :is(.contact-info,.contact-form-wrap,.login-card) button *{color:var(--ink)!important}
body:not(.site-setout) :is(.contact-form-wrap,.login-card) .form-error{color:#A3341F!important}
body:not(.site-setout) .login-card :is(input,textarea,select){background:#F8F7F3!important;color:var(--ink)!important;border:1px solid #CFC9BE!important}
body:not(.site-setout) :is(.contact-form-wrap,.login-card) :is(input,textarea)::placeholder{color:#77736B!important}

/* 5. Terms: plan allowances table */
.terms-table-wrap{overflow-x:auto;margin:0 0 18px}
.terms-table{width:100%;border-collapse:collapse;font-size:14px;color:var(--ink)}
.terms-table caption{text-align:left;font:500 11px/1.5 var(--ff-m);letter-spacing:.08em;text-transform:uppercase;color:#4A463F;padding:0 0 8px}
.terms-table th,.terms-table td{padding:8px 10px;border-bottom:1px solid #D6D0C5;text-align:left;white-space:nowrap}
.terms-table thead th{font-weight:700;border-bottom:1px solid #8C867B}
.terms-table tbody th{font-weight:500}
@media(max-width:520px){
  .terms-table{font-size:12px}
  .terms-table th,.terms-table td{padding:7px 4px;white-space:normal}
  .terms-table td{text-align:center}
}

/* 6. Voice → Reports: the hairline separates the two dark sections; the extra
   120px gap from brand-sync made it look like dead space. */
#reports.so-reports{margin-top:0}

/* 7. Workflow step labels: copper darkened slightly to pass 4.5:1 on bone */
#features .wf-step.is-active .wf-label,#features .wf-label{color:#86521B}
@media(min-width:1160px){#features .wf-step:not(.is-active) .wf-label{color:#625d55}}

/* 8. Small copper/grey text on the light sections: darker so it passes 4.5:1.
   Large copper headlines keep the brand copper. */
#pricing .billing-save,
#pricing .price-card:not(.price-featured) .so-extra-users,
#pricing #roiJobCount,#pricing #roiLoginsValue,#pricing #roiHoursValue,#pricing #roiRateValue,
#faq .eyebrow.so-mono{color:#86521B!important}
#pricing #plan-comparison caption{color:#4A463F!important}
