/* V3.4: common public and protected navigation, readable forms and narrow layouts. */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { overflow-wrap: break-word; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #0072cf; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 1000; padding: 12px 18px; border-radius: 8px; color: #fff; background: #063650; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.skip-target { display: block; scroll-margin-top: 1rem; }
.publicnav.nf-public-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 20px clamp(18px, 5vw, 72px); }
.nf-public-nav .publicbrand { flex: 0 0 auto; }
.nf-public-nav .publicbrand img { display: block; width: 205px; height: auto; max-width: 100%; }
.nf-public-nav .publicmenu { display: flex; align-items: center; gap: 22px; min-width: 0; }
.nf-public-nav nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.nf-public-nav nav a, .nf-public-nav .publicactions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.3; }
.nf-public-nav nav a[aria-current="page"] { color: #087c78; font-weight: 800; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { min-height: 44px; padding: 9px 15px; background: #fff; color: #12384c; border: 1px solid #b1c9d4; border-radius: 9px; font: 700 14px/1.4 Inter, system-ui, sans-serif; cursor: pointer; }
.app-menu-bar { display: none; }
.publicsite p, .subpage p, .lookup-main p, .policybody p, .legalreview p { font-size: 16px; line-height: 1.7; }
.publicsite h1, .subpage h1 { overflow-wrap: break-word; }
.publicsite label, .contactform label, .publicsite .contactconsent span { font-size: 14px; line-height: 1.5; }
.publicsite input, .publicsite select, .publicsite textarea, .lookup-form input { font-size: 16px; min-height: 44px; }
.publicsite button, .publicsite .primary-action, .publicsite .secondary-action { min-height: 44px; font-size: 14px; }
.publicfooter p, .publicfooter a, .publicfooter strong, .footerlinks nav a, .footerlinks nav strong { font-size: 14px; line-height: 1.6; }
.app-shell { grid-template-columns: 240px minmax(0, 1fr); min-height: 100svh; }
.app-sidebar { position: sticky; top: 0; align-self: start; height: 100svh; overflow-y: auto; }
.app-sidebar nav a { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
.app-main { min-width: 0; padding: 30px clamp(18px, 3vw, 42px); }
.app-topbar { gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.app-topbar h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; overflow-wrap: anywhere; }
.app-topbar small { font-size: 12px; }
.workspace-panel p, .workspace-panel li { line-height: 1.65; }
.action-form label, .billing-choice label { font-size: 14px; line-height: 1.5; }
.action-form input, .action-form select, .action-form textarea, .billing-choice select, .row-actions input, .row-actions select { font-size: 16px; min-height: 44px; max-width: 100%; }
.action-form textarea { min-height: 100px; resize: vertical; }
.primary-action, .secondary-action, .danger-action { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1.4; text-align: center; }
.record-list article, .section-heading, .access-list p { gap: 16px; }
.record-list article > div, .message-bubble, .section-heading > div { min-width: 0; }
.record-list small { font-size: 13px; line-height: 1.55; }
code, .record-list code, .access-list span, .message-bubble p { overflow-wrap: anywhere; white-space: normal; max-width: 100%; }
.responsive-table { overflow-x: auto; width: 100%; overscroll-behavior-x: contain; }
table th, table td { font-size: 14px; line-height: 1.5; }
.workspace-panel details, .vault-create { border: 1px solid #d5e3eb; border-radius: 10px; padding: 14px 16px; }
.workspace-panel summary, .vault-create > summary { cursor: pointer; min-height: 34px; font-weight: 700; line-height: 1.5; }
.workspace-panel details[open] > summary, .vault-create[open] > summary { margin-bottom: 16px; }
.vault-toolbar, .handoff-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.review-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.review-checklist li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.review-checklist .status-badge { white-space: nowrap; }
.evidence-reference { margin: 0; font-size: 13px; color: #506a7a; }
.feedback-notice { max-width: 1100px; margin: 16px auto; padding: 14px 18px; border: 1px solid #87c8b8; border-radius: 12px; color: #0d4e43; background: #eafaF4; }
.feedback-notice p { margin: 0; }
.launch-checks { display: grid; gap: 18px; }
.launch-check { scroll-margin-top: 24px; }
.launch-check h3 { margin: 0; }
.workflow-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.workflow-links a { min-height: 44px; padding: 10px 14px; border: 1px solid #b4cbd8; border-radius: 9px; font-weight: 700; }
.read-only-note { border-left: 4px solid #0072cf; padding: 12px 16px; background: #f0f7ff; }
.print-action { margin-bottom: 16px; }
@media (max-width: 1120px) { .nf-public-nav .publicmenu { gap: 12px; } .nf-public-nav nav { gap: 6px 12px; } .nf-public-nav .publicbrand img { width: 180px; } }
@media (max-width: 960px) {
  .nf-public-nav .publicmenu { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; }
  .nf-public-nav nav { flex-direction: column; align-items: stretch; }
  .nf-public-nav nav a { padding: 9px 8px; border-bottom: 1px solid #e0e9ee; }
  .nf-public-nav .publicactions { flex-wrap: wrap; gap: 12px; }
  .app-shell { display: block; }
  .app-sidebar { position: static; height: auto; max-height: 70svh; overflow-y: auto; }
  .app-menu-bar:has(button:not([hidden])) { display: flex; margin-bottom: 18px; }
  .app-main { padding: 20px 18px; }
  .operations-grid, .billing-summary, .dashboard-grid, .commercial-grid { grid-template-columns: 1fr; }
  .publicfooter { grid-template-columns: 1fr; }
  .app-topbar { margin-bottom: 24px; }
}
@media (max-width: 640px) {
  .nf-public-nav { gap: 12px !important; }
  .nf-public-nav .publicbrand img { width: 176px; }
  .metric-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid article { padding: 18px; }
  .metric-grid strong { font-size: 28px; }
  .workspace-panel { padding: 20px 16px; }
  .action-form.form-grid, .form-grid, .contactfields { grid-template-columns: minmax(0, 1fr); }
  .action-form.inline, .section-heading, .record-list article, .access-list p, .row-actions, .demo-banner { flex-direction: column; align-items: stretch; }
  .access-list p { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .row-actions { display: flex; }
  .billing-choice, .action-form label, .action-form .wide { min-width: 0; width: 100%; }
  .form-grid .wide { grid-column: auto; }
  .publicsite h1, .subpage h1 { font-size: clamp(30px, 9vw, 44px); line-height: 1.15; }
  .publicsite h2 { font-size: clamp(23px, 7vw, 32px); }
  .footerlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
  .lookup-form > div { flex-direction: column; }
  .lookup-form input, .lookup-form button { width: 100%; }
  .form-notice, .feedback-notice { margin: 12px; }
  .handoff-actions > a, .handoff-actions > form, .handoff-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print {
  .app-sidebar, .app-menu-bar, .publicnav, .skip-link, .print-action, .workflow-links, .form-notice, .feedback-notice { display: none !important; }
  .app-shell, .dashboard-grid { display: block; }
  .app-main { padding: 0; }
  .workspace-panel { break-inside: avoid; box-shadow: none; border: 1px solid #bbb; margin-bottom: 16px; }
  body { background: #fff; color: #111; }
  a { color: #111; text-decoration: underline; }
}
.v34-home { color: #103448; }
.v34-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); padding: 64px clamp(18px, 6vw, 88px); background: #f2f8fb; }
.v34-hero h1 { font: 750 clamp(34px, 4.1vw, 58px)/1.12 Georgia, serif; letter-spacing: -.035em; margin: 20px 0; }
.v34-hero p { max-width: 620px; }
.v34-search-card { background: #fff; border: 1px solid #c9dfe7; border-radius: 18px; padding: clamp(20px, 3vw, 36px); align-self: center; box-shadow: 0 14px 34px #17384909; min-width: 0; }
.v34-search-card h2 { font: 700 28px/1.25 Georgia, serif; margin: 16px 0; }
.v34-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.v34-small { font-size: 14px !important; line-height: 1.6; }
.v34-section { padding: 52px clamp(18px, 6vw, 88px); }
.v34-section h2 { font: 750 clamp(28px, 3vw, 40px)/1.2 Georgia, serif; margin: 14px 0; }
.v34-section-muted { background: #f5f9fb; }
.v34-section-title { max-width: 760px; }
.v34-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 28px 0; }
.v34-steps article { min-width: 0; padding: 24px; border: 1px solid #d4e2e9; border-radius: 14px; background: #fff; }
.v34-steps article > span { color: #087b78; font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.v34-steps h3 { font-size: 21px; line-height: 1.3; margin: 14px 0; }
.v34-start { background: #eaf5f4; }
.public-search-area .lookup-form > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.public-search-area .lookup-form input { width: 100%; min-width: 0; }
.faqgrid summary { font-size: 17px; min-height: 44px; }
.faqgrid details p { font-size: 16px; }
@media (max-width: 960px) { .v34-hero, .v34-steps { grid-template-columns: minmax(0, 1fr); } .v34-hero { padding-top: 40px; padding-bottom: 40px; } }
.billing-plans article:target { outline: 3px solid #008e89; outline-offset: 4px; scroll-margin-top: 24px; }
.app-sidebar .sidebar-group { border-top: 1px solid #284453; padding-top: 12px; }
.app-sidebar .sidebar-group summary { cursor: pointer; min-height: 44px; padding: 10px 4px; font-size: 14px; font-weight: 700; color: #bed3dd; }
.app-sidebar .sidebar-group[open] summary { margin-bottom: 8px; }
body .policybody article p { font-size: 16px; line-height: 1.7; }
.publicsite .primary-action { padding: 12px 18px; background: #007e79; color: #fff; border: 1px solid #007e79; border-radius: 10px; font-weight: 700; text-decoration: none; }
.publicsite .secondary-action { padding: 12px 18px; background: #fff; color: #12384c; border: 1px solid #b4cbd8; border-radius: 10px; font-weight: 700; text-decoration: none; }
.publicsite .publiceyebrow { font-size: 12px; }
.public-search-area .lookup-form label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.public-search-area .lookup-form input { padding: 12px; border: 1px solid #b8cdd7; border-radius: 9px; font: inherit; }
.public-search-area .lookup-form button { min-height: 44px; padding: 12px 16px; background: #007e79; color: #fff; border: 0; border-radius: 9px; font-weight: 700; cursor: pointer; }
