:root{color-scheme:light;--navy:#102c4c;--ink:#182b40;--muted:#68798c;--line:#dce4eb;--bg:#f4f7fa;--teal:#087e82;--white:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.55}header{background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:14px max(20px,calc((100vw - 1120px)/2));gap:16px}header nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}header form{margin:0}a{color:#12696e;text-decoration:none}a:hover{text-decoration:underline}.brand{font-weight:800;font-size:27px;color:var(--navy);display:flex;align-items:center;gap:7px;letter-spacing:-1px}.brand img{width:32px;height:32px}.brand span{color:var(--teal);margin-left:-7px}main{max-width:1120px;margin:auto;padding:32px 20px 60px;min-height:75vh}footer{border-top:1px solid var(--line);padding:24px max(20px,calc((100vw - 1120px)/2));font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}h1,h2,h3{line-height:1.2;margin:0 0 15px;letter-spacing:-.025em}h1{font-size:clamp(26px,4vw,42px);color:var(--navy)}h2{font-size:21px}h3{font-size:16px}p{margin:0 0 14px}small,.muted{color:var(--muted);font-size:13px}small{display:block;margin-top:4px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;padding:40px;background:var(--navy);color:white;border-radius:18px;margin-bottom:24px;align-items:center}.hero h1{font-size:clamp(35px,5vw,58px);color:white;line-height:1.06}.hero p{color:#d2e1ef;max-width:560px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.13em;color:var(--teal);margin-bottom:10px}.hero .eyebrow{color:#7edbd4}.hero .button{background:#087e82}.hero .secondary{color:var(--navy);background:white}.trust{margin-top:20px;font-size:12px;color:#c2d4e5}.mock{background:white;color:var(--ink);padding:25px;border-radius:13px}.grid{display:grid;gap:16px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.panel,article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:18px;min-width:0}.grid article{margin-bottom:0}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.heading p{color:var(--muted);margin:0}.stats{display:flex;gap:14px;margin:18px 0}.stats>div{flex:1;background:var(--bg);padding:14px;border-radius:8px}.stats b{font-size:26px;display:block;color:var(--navy)}.line{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:14px 0;overflow-wrap:anywhere}.line:last-child{padding-bottom:0}.line>div{min-width:0}.line form{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.status{display:inline-block;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:650;background:#edf0f4;white-space:nowrap}.status.passed{background:#e3f4e9;color:#17673d}.status.circulating{background:#e6f2fb;color:#155b91}.status.not_passed,.status.withdrawn,.status.expired{background:#fbe9e7;color:#a1372d}.button,button{display:inline-block;padding:10px 16px;border:1px solid transparent;border-radius:8px;background:var(--navy);color:white;font:inherit;font-size:14px;font-weight:650;cursor:pointer;text-align:center;min-height:42px;text-decoration:none}.button:hover,button:hover{filter:brightness(1.09);text-decoration:none}.secondary{background:#fff;color:var(--navy);border-color:#c7d3e0}.ghost{background:transparent;color:var(--navy)}.danger{background:#a1372d}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}label{display:block;font-weight:600;font-size:14px;margin:13px 0}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;margin-top:5px;border:1px solid #c7d3e0;background:#fff;color:var(--ink);border-radius:8px;padding:10px 12px;font:inherit;font-size:16px;min-width:0}textarea{resize:vertical;line-height:1.5}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #82d9d3;outline-offset:2px}.check{display:flex;gap:10px;align-items:flex-start;font-weight:500}.check input{margin-top:5px;flex:none;width:18px;height:18px;accent-color:var(--teal)}fieldset{border:1px solid var(--line);border-radius:8px;padding:8px 15px;margin:15px 0}legend{font-weight:650;font-size:14px}.notice{background:#e9f3f5;color:#184f57;border:1px solid #c5e3e5;padding:14px 16px;border-radius:9px;margin:12px 0}.auth{max-width:480px;margin:20px auto}.auth button{width:100%}details{border-top:1px solid var(--line);padding:12px 0}summary{font-weight:650;cursor:pointer}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.hash{overflow-wrap:anywhere;font-family:monospace}.strong{font-weight:700}.filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:15px}.filters label{margin:0}.sign-wrap{max-width:710px;margin:auto}.signature-box{position:relative;background:#fff;border:2px dashed #a8b8c9;border-radius:10px;overflow:hidden}.signature-box canvas{width:100%;height:185px;display:block;touch-action:none;cursor:crosshair}.signature-box.expanded canvas{height:clamp(240px,55vh,450px)}#signature-hint{position:absolute;top:45%;width:100%;text-align:center;color:var(--muted);font-size:13px;pointer-events:none}.position-preview{position:relative;aspect-ratio:210/297;width:min(100%,230px);border:1px solid #9bafbf;background:repeating-linear-gradient(0deg,#fff,#fff 19px,#eaf0f5 20px)}#field-preview{position:absolute;left:10%;top:70%;width:35%;height:10%;background:#cce9e8;border:1px dashed #087e82;font-size:9px;text-align:center;overflow:hidden}[hidden]{display:none!important}hr{border:0;border-top:1px solid var(--line);margin:20px 0}@media(max-width:700px){header{padding:12px 15px}header nav{gap:8px;font-size:13px}main{padding:20px 14px 40px}.hero{grid-template-columns:1fr;padding:25px;gap:24px}.three,.two{grid-template-columns:1fr}.panel,article{padding:17px}.heading{align-items:flex-start;flex-wrap:wrap}.line{align-items:flex-start}.line form{max-width:45%}.stats>div{padding:10px}.sign-wrap .panel>form>button{width:100%}.mock .line{font-size:13px}}

.support-thread article{margin:12px 0;overflow-wrap:anywhere}.support-thread .preserve{margin-bottom:4px}footer a{color:inherit;text-decoration:underline}

/* Reso 4 · clean corporate workspace */
:root{--navy:#142e46;--ink:#1e293b;--muted:#64748b;--teal:#087e82;--line:#e2e8f0;--bg:#f5f7fa;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}html{scroll-behavior:smooth;scroll-padding-top:24px}header{padding:18px max(28px,calc((100vw - 1260px)/2));min-height:76px}header nav{gap:22px;font-size:14px;font-weight:550}main{max-width:1260px;padding:36px 28px 64px}h1{font-size:clamp(28px,3vw,38px);letter-spacing:-.045em}h2{font-size:20px;letter-spacing:-.025em}h3{font-size:16px}a{color:#076e73}.panel,article{border-radius:12px;padding:26px}.heading{margin:10px 0 24px}.heading h2{margin:0}.button,button{border-radius:7px;min-height:44px;padding:10px 17px}button:disabled{opacity:.48;cursor:not-allowed;filter:none}.button.secondary,button.secondary{background:#fff;color:var(--navy);border-color:#cbd5e1}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.overview-grid>div{padding:20px;background:white;border:1px solid var(--line);border-radius:10px}.overview-grid b{font-size:32px;display:block;color:var(--navy);font-variant-numeric:tabular-nums}.overview-grid small{margin:0;font-weight:550}.setup-steps{display:grid;gap:0;margin:18px 0}.setup-steps>div{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:14px 0}.setup-steps>div>div{flex:1}.step-number,.company-avatar{display:grid;place-items:center;background:#e7f2f3;color:#076e73;font-weight:750;border-radius:10px;width:38px;height:38px;flex:none}.company-avatar{width:48px;height:48px;margin-bottom:14px}.company-card .stats{gap:8px}.stats>div{padding:12px}.stats b{font-size:23px}.auth{padding:32px;max-width:480px;margin:26px auto}.auth h1{font-size:29px}.hero{border-radius:12px;padding:46px}.hero h1{font-size:clamp(35px,5vw,56px)}.hero .mock{border-radius:10px}.status.closed{background:#e8f3ed;color:#14663c}footer{padding:24px max(28px,calc((100vw - 1260px)/2))}.hash,code{overflow-wrap:anywhere}#directors{scroll-margin-top:20px}@media(max-width:760px){header{flex-wrap:wrap;padding:14px 18px;gap:10px}header nav{gap:12px;font-size:13px}main{padding:20px 16px 40px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.overview-grid>div{padding:15px}.overview-grid b{font-size:26px}.panel,article{padding:18px}.setup-steps>div{flex-wrap:wrap}.setup-steps>div>a{margin-left:52px}.heading{gap:10px}.hero{padding:24px}.auth{padding:22px}.button,button{min-height:44px}}
/* Reso 4.0.11 — billing and portal refinements */
header{padding-block:16px}header nav{gap:14px}header nav>a{font-weight:600;font-size:14px}.language-switch{border:1px solid var(--line);border-radius:7px;padding:7px 11px;color:var(--navy);white-space:nowrap}main{max-width:1280px}.hero{border-radius:12px;padding:clamp(24px,4vw,48px)}.billing-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px;background:white;align-items:center}.billing-summary h2{margin:5px 0 0;font-size:26px}.billing-summary strong{display:block;margin-top:7px}.billing-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;margin-bottom:24px}.billing-plan{margin:0}.billing-plan-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.billing-plan-options>div{border:1px solid var(--line);border-radius:9px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.billing-price{font-size:24px;color:var(--navy);letter-spacing:-.04em}.billing-plan-options .button{margin-top:8px;width:100%}.billing-history{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.billing-history .status{margin-top:6px}.billing-history .actions{margin:0}.status.paid{color:#17673d;background:#e3f4e9}.status.pending,.status.review{color:#825500;background:#fff4d8}.status.failed{color:#a1372d;background:#fbe9e7}@media(max-width:680px){.billing-summary{grid-template-columns:1fr;gap:12px}.billing-history{grid-template-columns:1fr auto}.billing-history .actions{grid-column:1/-1}.billing-plan-options>div{padding:10px}header nav{gap:8px}header nav>a{font-size:13px}}
/* v4.0.16: aligned responsive plan choices */
.billing-plan{display:flex;flex-direction:column;min-width:0}.billing-plan-options{margin-top:auto}.billing-plan-options>div{min-width:0}.billing-plan-options .button{white-space:normal;text-align:center;margin-top:auto;min-height:44px;display:flex;align-items:center;justify-content:center}.billing-plan-options .billing-price{overflow-wrap:anywhere}.billing-plan h2{overflow-wrap:anywhere}#plan-catalogue{scroll-margin-top:24px}

/* Flat presentation: thin borders instead of elevated boxes. Focus outlines remain intact. */
*,*::before,*::after{box-shadow:none!important;text-shadow:none!important}

/* Flat interface: no decorative shadows. */
*,*::before,*::after{box-shadow:none!important;text-shadow:none!important}

.onboarding,.billing-summary,.invoice-panel{border:1px solid var(--line)}
.mi-field-note{font-size:.88rem;color:var(--muted);margin:4px 0 12px}.mi-code-tools{display:grid;gap:12px;margin-bottom:18px}.mi-qr{display:block;width:128px;height:128px;margin:12px 0}.authenticator-help{border:1px solid var(--line);padding:14px;border-radius:8px;margin:16px 0}.setup-steps .step-number.done{background:#e5f3ed;color:#17643d}.setup-steps .step-number.next{background:var(--navy);color:white}.mi-search{margin-bottom:8px}

/* Reso v4.0.24: wide desktop login, scoped to the password login form.
   Other account screens retain their existing widths. */
.auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) {
  max-width: 520px;
}
@media (min-width: 800px) {
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 36px;
    row-gap: 0;
    align-items: start;
    width: 100%;
    max-width: 920px;
    padding: 32px;
    margin: 20px auto;
  }
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) > h1 { grid-area: 1 / 1; margin: 0 0 8px; }
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) > form { grid-area: 2 / 1; min-width: 0; margin: 0; }
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) > .authenticator-help {
    grid-area: 1 / 2 / 5 / 3;
    min-width: 0;
    margin: 0;
    padding: 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-wrap: anywhere;
  }
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) > p { grid-column: 1; margin: 14px 0 0; }
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) > .authenticator-help > strong { display: block; font-size: 18px; color: var(--navy); }
  .auth.panel:has(> form > input[name="action"][value="login"]):has(> .authenticator-help) > .authenticator-help > p { margin: 10px 0 16px; }
}
