*{box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;margin:0;background:#f4f6f8;color:#1c2733}
header{background:#16456e;color:#fff;padding:14px 22px;display:flex;justify-content:space-between;align-items:center}
header .brand{font-weight:700;font-size:20px;display:flex;align-items:center;gap:10px}header nav a{color:#cfe3f5;margin-left:14px;text-decoration:none}header nav .nav-user{opacity:.85}
.brand-name{white-space:nowrap}
.logo-mark{display:block;flex:none}
main{max-width:880px;margin:26px auto;padding:0 16px}footer{text-align:center;color:#6b7a89;font-size:13px;padding:22px}
footer p{margin:4px 0}.footer-copy{font-weight:600;color:#44586c}
.stats{display:flex;gap:14px;flex-wrap:wrap}
.stat{flex:1;min-width:150px;background:#f4f6f8;border:1px solid #dde4ea;border-radius:10px;padding:16px 12px;text-align:center}
.stat-num{display:block;font-size:30px;font-weight:700;color:#16456e;line-height:1.1}
.stat-label{display:block;margin-top:4px;font-size:13.5px;font-weight:600;color:#5b7186}
.login-brand{text-align:center;margin-bottom:8px}
.login-brand .logo-mark{margin:0 auto}
.login-brand-name{font-size:24px;font-weight:700;color:#16456e;margin-top:10px}
.tagline{color:#5b7186;margin:6px 0 0}
.card{background:#fff;border:1px solid #dde4ea;border-radius:10px;padding:20px;margin:16px 0}.card.narrow{max-width:440px;margin:40px auto}
#sigpad{border:1.5px solid #9db4c6;border-radius:8px;background:#fff;width:100%;max-width:640px;height:auto;touch-action:none;display:block}
.sig-preview img{max-width:320px;max-height:90px;border:1px solid #dde4ea;border-radius:6px;background:#fff;padding:6px}
.sig-error{color:#a12622;font-weight:bold}

.muted-card{color:#445}
.success{border-color:#2e7d32;background:#f1f8f1}
label{display:block;margin:12px 0;font-weight:600;font-size:14px}
input,textarea{width:100%;padding:10px;margin-top:5px;border:1px solid #b9c6d2;border-radius:7px;font:inherit;font-weight:400}
select{width:100%;padding:10px;margin-top:5px;border:1px solid #b9c6d2;border-radius:7px;font:inherit;font-weight:400;background:#fff}
input[type=radio],input[type=checkbox]{width:auto;margin:0 6px 0 0;padding:0}
label.choice{font-weight:400}
.field-group{margin:12px 0}
.field-label{display:block;font-weight:600;font-size:14px;margin-bottom:4px}
.field-group label.choice{margin:6px 0}
.cond-heading{margin:16px 0 0;font-size:14px}
button,.button{background:#16456e;color:#fff;border:0;padding:11px 18px;border-radius:7px;font:inherit;cursor:pointer;text-decoration:none;display:inline-block;margin-top:10px}
button.secondary,.button.secondary{background:#5b7186;margin-right:8px}
button.danger,.button.danger{background:#a12622}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:9px 8px;border-bottom:1px solid #e3e9ee;font-size:14.5px}
.flash{padding:12px 16px;border-radius:8px;margin:10px 0}.flash.ok{background:#e5f3e5}.flash.error{background:#fbe7e7}
.muted{color:#5b7186}.progress{background:#e3e9ee;border-radius:99px;height:12px;overflow:hidden;margin:10px 0}
details.add-hire>summary{margin-top:0}
details.add-hire>summary::-webkit-details-marker{display:none}
.hire-section{margin-top:14px;border-top:1px solid #e3e9ee;padding-top:12px}
.hire-section>summary{font-size:17px;font-weight:700;cursor:pointer;padding:4px 0}
.hire-section table{margin-top:6px}
.progress>div{background:#2e7d32;height:100%}
.steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0}
.step{padding:5px 12px;border-radius:99px;font-size:13.5px;font-weight:600;background:#e3e9ee;color:#5b7186}
.step.done{background:#e5f3e5;color:#2e7d32}
.step.current{background:#16456e;color:#fff}
.step-arrow{color:#9db4c6}
.next-button{font-size:16px;padding:13px 22px}
.hint{display:block;font-weight:400;font-size:12.5px;color:#5b7186;margin-top:4px}
tr.continue-row{background:#eef5fb}
.lock-note{font-weight:600;color:#5b7186}
.continue-tag{display:inline-block;background:#16456e;color:#fff;border-radius:99px;font-size:12px;font-weight:700;padding:2px 9px;margin-left:6px}
.pill{display:inline-block;padding:2px 10px;border-radius:99px;font-size:12.5px;font-weight:700;white-space:nowrap}
.pill-not-started{background:#e3e9ee;color:#5b7186}
.pill-in-progress{background:#dcebf7;color:#16456e}
.pill-waiting{background:#e8590c;color:#fff}
.pill-complete{background:#e5f3e5;color:#2e7d32}
tr.row-waiting{background:#fff3e2}
.form-heading{margin:22px 0 6px;font-size:16px;color:#16456e;border-bottom:1px solid #e3e9ee;padding-bottom:4px}
/* Admin agencies table: identity cell (name + muted detail lines) and a
   consistent grouped-actions cell, Delete kept apart from safe actions */
.agencies-table td{vertical-align:top}
.agency-name{display:block;font-weight:700;font-size:15.5px;color:#16456e}
.agency-meta{display:block;font-size:13px;color:#5b7186;margin-top:2px;overflow-wrap:anywhere}
.agency-actions{width:196px}
.action-group{display:flex;flex-direction:column;gap:6px}
.action-group form{margin:0}
.action-group .button,.action-group button{width:100%;margin:0;text-align:center}
.action-danger{margin-top:10px;padding-top:10px;border-top:1px solid #e3e9ee}
.action-danger .button{width:100%;margin:0;text-align:center}
@media (max-width:680px){
.agencies-table,.agencies-table tbody,.agencies-table tr,.agencies-table td{display:block;width:100%}
.agencies-table thead{display:none}
.agencies-table tr{border-bottom:2px solid #dde4ea;padding:8px 0}
.agencies-table td{border-bottom:0;padding:5px 8px}
.agencies-table td[data-label]::before{content:attr(data-label);display:block;font-weight:700;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:#5b7186;margin-bottom:1px}
.agency-actions{margin-top:6px}
}
/* Header nav: on desktop the account items sit inline in the bar and the
   hamburger button is hidden. On small screens the bar shows only the
   brand and the hamburger; the account name, Change password and Log out
   move into a dropdown panel under the bar. */
.nav-toggle{display:none}
.nav-menu{display:flex;align-items:center}
@media (max-width:680px){
header{position:relative;padding:12px 16px}
header .brand{flex:none}
.nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:transparent;padding:10px 6px;margin:0}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:2px}
.nav-menu{display:none;position:absolute;top:100%;right:0;z-index:50;flex-direction:column;align-items:stretch;background:#16456e;min-width:220px;max-width:calc(100vw - 16px);padding:6px 0;border-top:1px solid rgba(255,255,255,.18);box-shadow:0 10px 24px rgba(0,0,0,.28)}
.nav-menu.open{display:flex}
.nav-menu .nav-user{padding:10px 18px 6px;overflow-wrap:anywhere;word-break:break-word}
.nav-menu a{display:block;margin-left:0;padding:11px 18px}
}
/* Public landing page (signed-out /): the numbered "How it works" steps
   and the sign-in card. Everything stacks in normal flow, so it stays
   clean at phone width; the header's hamburger rules above only apply
   to signed-in pages. */
.landing-steps{margin:8px 0;padding-left:22px}
.landing-steps li{margin:10px 0;line-height:1.45}
.landing-login{margin-top:16px}
.landing-login h2{margin-top:0}

/* ── Client pages refresh ─────────────────────────────────────────
   Dashboard (templates/client.html) and hire detail
   (templates/hire_detail.html): the dashboard hire table becomes
   stacked hire cards, and the hire page's forms/documents tables
   become item rows. Everything is scoped to .client-dash /
   .hire-detail so admin and employee pages are untouched; the
   header nav and landing sections above are unchanged. */
.client-dash .card h2,.hire-detail .card h2{margin-top:0}
.welcome-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px 14px;flex-wrap:wrap}
.welcome-top h2{margin:0}
.client-chip{background:#eef5fb;border:1px solid #cfe0ef;color:#16456e;border-radius:99px;padding:5px 13px;font-size:13.5px;white-space:nowrap}
.setup-card{border-color:#f0c48c;background:#fffaf2;border-left:5px solid #e8590c}
.search-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.search-form label{flex:1;min-width:200px;margin:0}
.search-form button{margin-top:0}
.search-clear{padding:11px 4px}
.hire-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.hire-row{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fbfcfd;border:1px solid #dde4ea;border-radius:10px;padding:13px 15px}
.hire-row.row-waiting{background:#fff3e2;border-color:#f0c48c}
.hire-row-main{min-width:0}
.hire-row-top{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap}
.hire-name{font-weight:700;font-size:16px;color:#16456e;overflow-wrap:anywhere}
.hire-meta{margin:4px 0 0;color:#5b7186;font-size:13.5px;display:flex;gap:3px 14px;flex-wrap:wrap}
.hire-progress{margin:4px 0 0;font-size:14px}
.hire-view{margin-top:0;white-space:nowrap}
.detail-status{margin:0 0 4px}
.status-chip{display:inline-block;padding:5px 14px;border-radius:99px;font-size:13.5px;font-weight:700}
.chip-progress{background:#dcebf7;color:#16456e}
.chip-waiting{background:#e8590c;color:#fff}
.chip-complete{background:#e5f3e5;color:#2e7d32}
.profile-rows p{margin:8px 0}
.item-list{display:flex;flex-direction:column}
.item-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 2px;border-bottom:1px solid #e3e9ee}
.item-row:last-child{border-bottom:0}
.item-name{font-weight:600;font-size:14.5px}
.item-side{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap;justify-content:flex-end}
.item-btn{margin-top:0;padding:8px 13px;font-size:14px}
.doc-file{font-size:14px;overflow-wrap:anywhere}
.s2-group{background:#fbfcfd;border:1px solid #e3e9ee;border-radius:10px;padding:6px 16px 14px;margin:12px 0}
.s2-group h3{color:#16456e}
@media (max-width:680px){
.hire-row{flex-direction:column;align-items:stretch}
.hire-view{display:block;text-align:center;padding:13px 18px}
.hire-detail .card button{width:100%;margin-right:0}
.item-row{flex-direction:column;align-items:flex-start;gap:7px}
.item-side{justify-content:flex-start}
.search-form{flex-direction:column;align-items:stretch}
.search-form button{width:100%}
.welcome-top{flex-direction:column}
}

/* ── Landing v2, demo-request leads, compact admin client list ──
   Feature cards and the Request-a-demo form on the public landing
   page, the admin inquiries page, and the admin agencies list as
   collapsed one-line <details> rows with a text filter. Appended
   only; the sections above are unchanged. */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:12px}
.feature{background:#fbfcfd;border:1px solid #dde4ea;border-radius:10px;padding:14px 16px}
.feature h3{margin:0 0 6px;color:#16456e;font-size:15.5px}
.feature p{margin:0;font-size:14.5px;line-height:1.45}
.hp-field{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.landing-contact p{margin:6px 0;font-size:15px}
.lead-list{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.lead-row{display:flex;justify-content:space-between;gap:14px;background:#fbfcfd;border:1px solid #dde4ea;border-radius:10px;padding:13px 15px}
.lead-main{min-width:0}
.lead-top{display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;font-size:15.5px}
.lead-meta{margin:4px 0 0;color:#5b7186;font-size:13.5px;overflow-wrap:anywhere}
.lead-msg{margin:6px 0 0;font-size:14.5px;overflow-wrap:anywhere}
.lead-actions{display:flex;flex-direction:column;gap:6px;flex:none}
.lead-actions form{margin:0}
.lead-actions button{width:100%;margin:0;white-space:nowrap}
.agency-list{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.agency-row{border:1px solid #dde4ea;border-radius:10px;background:#fbfcfd}
.agency-summary{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap;cursor:pointer;padding:12px 15px}
.agency-summary::-webkit-details-marker{display:none}
.agency-summary::after{content:"▾";color:#5b7186;margin-left:auto;font-size:13px}
.agency-summary .agency-name{display:inline;font-size:16px}
.agency-sum-meta{font-size:13.5px;color:#5b7186}
.agency-body{border-top:1px solid #e3e9ee;background:#fff;border-radius:0 0 10px 10px;padding:12px 15px}
.agency-lines{margin:0 0 6px}
.agency-row .agency-actions{width:100%;max-width:340px}
@media (max-width:680px){
.feature-grid{grid-template-columns:1fr}
.lead-row{flex-direction:column}
.lead-actions{flex-direction:row;flex-wrap:wrap}
.lead-actions button{width:auto}
}

/* ══ Landing v3 — Modern Web Guidance preview build ══════════════
   Hero with an inline-SVG illustration panel, "How it works" step
   cards, an icon feature grid (exactly 2 columns on desktop, 1 on
   phones), the federal-forms / Minnesota duo panels, and an
   alternating section tint rhythm. Appended only: every rule above
   is unchanged; the .feature-grid column behaviour is overridden
   here, inside this section, as the one allowed exception. */
.section-tint{background:#f2f7fb}
.landing-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center}
.landing-hero .login-brand{text-align:left}
.landing-hero .login-brand .logo-mark{margin:0}
.landing-hero p{line-height:1.55}
.hero-art{background:linear-gradient(160deg,#eef5fb,#dcebf7);border:1px solid #cfe0ef;border-radius:12px;padding:14px}
.hero-art svg{width:100%;height:auto;display:block}
.steps-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.step-card{background:#fff;border:1px solid #dde4ea;border-radius:10px;padding:14px 16px}
.step-num{display:block;font-size:30px;font-weight:800;color:#16456e;line-height:1}
.step-card p{margin:8px 0 0;font-size:14.5px;line-height:1.45}
.feature-grid{grid-template-columns:repeat(2,1fr)}
.feature{border-left:4px solid #16456e}
.feature:nth-child(3n+2){background:#f3f8f3;border-left-color:#2e7d32}
.feature:nth-child(3n){background:#fffaf2;border-left-color:#e8590c}
.feature-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#dcebf7;color:#16456e;margin-bottom:8px}
.feature-icon svg{width:22px;height:22px}
.feature:nth-child(3n+2) .feature-icon{background:#e5f3e5;color:#2e7d32}
.feature:nth-child(3n) .feature-icon{background:#fdeeda;color:#c2510a}
.duo-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.duo-panel{border:1px solid #dde4ea;border-radius:10px;padding:18px 20px}
.duo-panel h3{margin:0 0 6px;font-size:16.5px}
.duo-panel p{margin:0;font-size:14.5px;line-height:1.5}
.duo-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;margin-bottom:8px}
.duo-icon svg{width:22px;height:22px}
.duo-blue{background:#16456e;border-color:#16456e;color:#fff}
.duo-blue h3{color:#fff}
.duo-blue .duo-icon{background:rgba(255,255,255,.16);color:#fff}
.duo-amber{background:#fdf0dc;border-color:#f0c48c;color:#4a3205}
.duo-amber h3{color:#8a5a00}
.duo-amber .duo-icon{background:#f7dcb0;color:#8a5a00}
@media (max-width:680px){
.landing-hero{grid-template-columns:1fr}
.steps-row{grid-template-columns:1fr}
.duo-row{grid-template-columns:1fr}
.feature-grid{grid-template-columns:1fr}
}
/* ══ Landing v3.1 — two-across features on phones + tinted band ══
   Kamal's phone feedback on v3: the "What EZ Onboard MN does for
   your agency" features collapsed to one long white column. This
   section (appended only; it overrides the v3 phone rule above)
   keeps the features TWO side by side down to 360px with compact
   card sizing, and gives that section a soft tinted band so the
   cards stand out against a background instead of plain white. */
.features-band{background:linear-gradient(180deg,#e8f1f8,#f4f8fb);border-color:#c9dcee}
.features-band>h2{color:#16456e}
@media (max-width:680px){
.feature-grid{grid-template-columns:1fr 1fr;gap:9px}
.feature{padding:10px 11px;border-left-width:3px}
.feature h3{font-size:15px;line-height:1.25;overflow-wrap:break-word}
.feature p{font-size:13.5px;line-height:1.4;overflow-wrap:break-word}
.feature-icon{width:32px;height:32px;margin-bottom:6px}
.feature-icon svg{width:18px;height:18px}
}
@media (max-width:359px){
.feature-grid{grid-template-columns:1fr}
}

/* ══ Next Updates batch — Items 1–5 (Nov 29 review list) ═════════
   Landing: sticky in-page nav with an amber Log in button, a
   stronger hero (headline, CTAs, trust line), a mid-page CTA bar,
   a factual trust strip, feature-card shadows/hover lift, and
   larger demo-form inputs with visible focus states. Admin:
   stacked agency summaries, stat icons, the inquiries stat card,
   a search-icon filter, collapsible action help, and the Add new
   client button in the Agencies card header. Client dashboard:
   live search + per-hire progress bars. Employee home: an obvious
   current step, a packet-progress strip, a bigger Next button and
   tighter card spacing. Appended only — the rules above are
   unchanged; where a rule here repeats an earlier selector it is
   the intended override. */
.card{box-shadow:0 1px 4px rgba(22,69,110,.05)}
.landing-nav{position:sticky;top:8px;z-index:30;display:flex;align-items:center;gap:6px 20px;flex-wrap:wrap;background:#fff;border:1px solid #dde4ea;border-radius:10px;padding:10px 16px;margin:0 0 16px;box-shadow:0 2px 8px rgba(22,69,110,.08)}
.landing-nav a{color:#16456e;font-weight:600;text-decoration:none;font-size:15px}
.landing-nav a:hover{text-decoration:underline}
.landing-nav .landing-login-btn{margin-left:auto;background:#f2b33d;color:#3a2a05;font-weight:700;padding:9px 20px;border-radius:7px}
.landing-nav .landing-login-btn:hover{text-decoration:none;background:#eaa923}
.hero-headline{font-size:30px;line-height:1.2;color:#16456e;margin:14px 0 8px}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.hero-cta .button{margin-top:0;font-size:16px;padding:12px 22px}
.hero-trust{margin:12px 0 0;font-weight:600;color:#5b7186;font-size:13.5px}
.cta-bar{display:flex;justify-content:space-between;align-items:center;gap:10px 16px;flex-wrap:wrap;background:#16456e;color:#fff;border-radius:10px;padding:18px 22px;margin:16px 0}
.cta-bar p{margin:0;font-size:17.5px;font-weight:700}
.cta-bar .cta-btn{background:#f2b33d;color:#3a2a05;font-weight:700;margin-top:0}
.cta-bar .cta-btn:hover{background:#eaa923}
.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.trust-item{background:#fff;border:1px solid #dde4ea;border-radius:10px;padding:12px 13px;display:flex;gap:9px;align-items:center;font-weight:600;font-size:13.5px;color:#16456e;line-height:1.3}
.trust-icon{display:inline-flex;flex:none;color:#16456e}
.trust-icon svg{width:21px;height:21px}
.feature{box-shadow:0 1px 3px rgba(22,69,110,.07)}
@media (hover:hover){
.feature{transition:transform .15s ease,box-shadow .15s ease}
.feature:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(22,69,110,.12)}
}
#demo input,#demo textarea{padding:12px;font-size:16px}
#demo input:focus,#demo textarea:focus{border-color:#16456e;outline:3px solid #dcebf7}
/* Admin — overview stats */
.stat-icon{display:flex;justify-content:center;color:#16456e;margin-bottom:6px}
.stat-icon svg{width:22px;height:22px}
.stat-num{font-weight:800}
a.stat{display:block;text-decoration:none;color:inherit}
.stat-clickable{cursor:pointer}
.stat-clickable:hover,.stat-link:hover{border-color:#16456e}
/* Admin — agencies header + stacked summaries */
.agencies-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px 14px;flex-wrap:wrap}
.agencies-head h2{margin:6px 0}
.add-client-top{flex:0 1 auto;min-width:0}
.add-client-top[open]{flex:1 1 100%}
.add-client-top>summary{margin-top:0}
.add-client-top[open]>summary{margin-bottom:8px}
.agency-summary{flex-direction:column;align-items:flex-start;gap:4px;position:relative;padding-right:42px}
.agency-summary:hover{background:#eef5fb}
.agency-summary::after{font-size:19px;position:absolute;right:16px;top:50%;transform:translateY(-50%);margin-left:0}
.agency-summary .agency-name{display:block}
.agency-sum-line{display:flex;align-items:center;font-size:13.5px;color:#5b7186}
/* Search fields with an icon (admin filter + client search) */
.search-field{position:relative;display:block}
.search-field .search-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:#5b7186;pointer-events:none}
.search-field input{padding-left:37px}
/* Admin — collapsible action help + completion-log empty state */
.help-details{margin-top:14px}
.help-details>summary{cursor:pointer;font-weight:600;color:#16456e;font-size:14.5px;padding:6px 0}
.help-details p{margin:6px 0 0}
.empty-state{display:flex;align-items:center;gap:9px}
.empty-icon{display:inline-flex;color:#5b7186}
.empty-icon svg{width:20px;height:20px}
/* Client dashboard — progress bars, live search, section summaries */
.hire-progress-track{height:8px;margin:6px 0 2px;max-width:340px}
.search-form.live .search-submit{display:none}
.live-no-match{margin:10px 0 0}
.hire-section>summary{padding:9px 8px;border-radius:8px}
.hire-section>summary:hover{background:#f2f7fb}
.hire-section>summary::marker{color:#16456e}
/* Employee packet home — current step, progress strip, Next, spacing */
.step.current{padding:7px 14px;box-shadow:0 0 0 3px #dcebf7}
.step-here{display:block;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;opacity:.85;line-height:1.3;text-align:center}
.hire-home .card{margin:10px 0}
.progress-strip{background:#fff;border:1px solid #dde4ea;border-radius:10px;padding:12px 16px;margin:10px 0;box-shadow:0 1px 4px rgba(22,69,110,.05)}
.progress-strip-line{margin:0}
.progress-strip .progress{margin:8px 0 2px}
.next-step .next-button{font-size:17px;padding:15px 28px}
@media (max-width:680px){
.trust-strip{grid-template-columns:1fr 1fr}
.hero-headline{font-size:25px}
.next-step .next-button{display:block;text-align:center}
}
@media (max-width:359px){
.trust-strip{grid-template-columns:1fr}
}

/* ══ Landing follow-up — Items 6+7 ═══════════════════════════════
   Item 6: the Request-a-demo card starts collapsed, applied by the
   landing page's own script only (progressive enhancement — with
   JavaScript off the form simply stays visible; the server never
   renders it hidden). Any "Request a demo" link reveals it, and
   the server-rendered expanded states (demo error, ?sent=1
   thank-you) carry data-demo-open and are never collapsed.
   Item 7: at phone widths the landing nav's section links move
   behind a hamburger toggle — a brand-blue dropdown panel in the
   spirit of the signed-in header menu — while the amber Log in
   button stays visible at every width. Desktop is unchanged.
   Appended only; the rules above are unchanged. */
.demo-collapsed{display:none}
.landing-nav-toggle{display:none}
.landing-nav-links{display:flex;align-items:center;gap:6px 20px;flex-wrap:wrap}
@media (max-width:680px){
.landing-nav{flex-wrap:nowrap}
.landing-nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:transparent;padding:10px 6px;margin:0;flex:none}
.landing-nav-toggle span{display:block;width:24px;height:2px;background:#16456e;border-radius:2px}
.landing-nav-links{display:none;position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:50;flex-direction:column;align-items:stretch;background:#16456e;border-radius:10px;padding:6px 0;box-shadow:0 10px 24px rgba(0,0,0,.28)}
.landing-nav-links.open{display:flex}
.landing-nav .landing-nav-links a{display:block;color:#fff;padding:11px 18px}
.landing-nav .landing-nav-links a:hover{text-decoration:none;background:rgba(255,255,255,.08)}
}

/* ══ Item 10 — header sandwich menu at ALL widths ════════════════
   The signed-in header nav now uses the hamburger toggle and its
   dropdown panel on desktop too (the old inline desktop nav is
   retired); the panel also carries the client Settings link and
   the Need help? contact block. These rules come after the
   original header rules above and override them by order; the
   landing nav strip (Items 6+7 classes) is untouched. */
header{position:relative}
.nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:transparent;padding:10px 6px;margin:0}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:2px}
.nav-menu{display:none;position:absolute;top:100%;right:0;z-index:50;flex-direction:column;align-items:stretch;background:#16456e;min-width:250px;max-width:min(330px,calc(100vw - 16px));padding:6px 0;border-top:1px solid rgba(255,255,255,.18);border-radius:0 0 10px 10px;box-shadow:0 10px 24px rgba(0,0,0,.28)}
.nav-menu.open{display:flex}
.nav-menu .nav-user{padding:10px 18px 6px;overflow-wrap:anywhere;word-break:break-word}
.nav-menu a{display:block;margin-left:0;padding:11px 18px}
.nav-menu a:hover{background:rgba(255,255,255,.08);text-decoration:none}
.nav-help{border-top:1px solid rgba(255,255,255,.18);margin-top:6px;padding:12px 18px 10px;color:#dbe9f5;font-size:13.5px;line-height:1.5;overflow-wrap:anywhere}
.nav-help p{margin:0}
.nav-help a{display:inline;margin:0;padding:0;color:#fff;text-decoration:underline}
.nav-help a:hover{background:transparent;text-decoration:underline}

/* ══ Item 13 — logo icon in the brand tile ═══════════════════════
   The inline-SVG "EZ" monogram is retired: the brand tile now holds
   the two-people-and-checkmark icon (static/logo-icon.png). The
   tile keeps the monogram's footprint and corner radius (the SVG
   rounded its 40-unit square by 9, about 22.5%); the icon sits
   inside at 88% with contain fit so it is never distorted. The
   image's own white background blends into the light (white) tile;
   inside the dark (navy) tile it reads as a small white card. */
.logo-tile{display:inline-flex;align-items:center;justify-content:center;border-radius:22.5%}
.logo-tile-light{background:#ffffff}
.logo-tile-dark{background:#16456e}
.logo-tile .logo-icon{display:block;width:88%;height:88%;object-fit:contain;border-radius:14%;background:#ffffff}
