/* Shared entry screens: readable controls, one action row, consistent page margins. */
.auth-page{margin:0;padding:0;background:#f8f7fc;color:#201a35;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.auth-page *{box-sizing:border-box}
.auth-page .marketing-header{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1180px,calc(100% - 40px));max-width:none;height:auto;min-height:76px;margin:0 auto;padding:16px 0}
.auth-page .marketing-header .logo{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none}
.auth-page .marketing-header .button{flex:0 0 auto;font-size:.85rem}
.auth-page .auth-logo{position:static;display:flex;width:fit-content;align-items:center;gap:10px;margin:24px auto}
.auth-page .auth-wrap{display:block;width:min(540px,calc(100% - 32px));max-width:none;min-height:0;margin:32px auto 64px;padding:0}
.auth-page .auth-card{width:100%;min-width:0;padding:32px;border:1px solid #e3deef;border-radius:22px;background:#fff;box-shadow:0 16px 44px rgba(38,24,80,.06)}
.auth-page .auth-card h1{margin:12px 0 16px;font-size:clamp(1.8rem,5vw,2.2rem);line-height:1.15;letter-spacing:-.03em}
.auth-page .auth-card p{font-size:.96rem;line-height:1.6;color:#625b73}
.auth-page .auth-card form{display:grid;gap:18px;margin-top:24px}
.auth-page .auth-card label:not(.consent){display:grid;gap:7px;min-width:0;font-size:.9rem;font-weight:650}
.auth-page .auth-card input:not([type="checkbox"]){width:100%;min-width:0;min-height:46px;border:1px solid #dcd6eb;border-radius:11px;padding:11px 13px;background:#fff;font:inherit;font-size:16px}
.auth-page .auth-card .consent{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;font-weight:400;line-height:1.6}
.auth-page .auth-card .consent input{flex:0 0 18px;width:18px;height:18px;margin:4px 0 0;accent-color:#5b42dc}
.auth-support-links,.auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 22px;margin-top:22px;padding-top:20px;border-top:1px solid #eeeaf6;font-size:.88rem;line-height:1.5}
.auth-support-links a,.auth-links a{font-weight:650;text-decoration:none;color:#5238c9}
.auth-notice{margin-bottom:20px;padding:14px 16px;border:1px solid #dcd4fa;border-radius:12px;background:#f4f1ff;font-size:.92rem;line-height:1.5}
.password-field{position:relative;display:block;width:100%;min-width:0}
.password-field input{box-sizing:border-box;width:100%;padding-right:88px!important}
.password-field .password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:auto;min-width:76px;min-height:38px;height:auto;margin:0;padding:8px;border:0;border-radius:8px;background:transparent;color:#5238c9;box-shadow:none;font:600 13px/1.2 system-ui;cursor:pointer}
.password-field .password-toggle:hover{background:#f1edff}
.auth-page :is(a,button,input,select,textarea):focus-visible,.password-toggle:focus-visible{outline:3px solid #b0a0ed;outline-offset:3px}
.auth-page .button,.public-body .button,.error-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;height:auto;white-space:normal;text-align:center;line-height:1.4;overflow-wrap:anywhere}
.public-body .hero-actions,.error-actions,.recovery-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.public-body .hero-actions .button{margin:0}
.public-body :is(.section-heading,.office-public-hero) h2{font-size:clamp(1.65rem,3.5vw,2.5rem);line-height:1.18;letter-spacing:-.03em}
.public-body .marketing-header{max-width:none;margin:0}
.auth-wrap:has(>.office-request-page){width:min(1180px,calc(100% - 40px));max-width:none}
.office-request-layout>*{min-width:0}
.office-request-form fieldset{min-width:0}
.office-request-form .office-addon-card input{flex:0 0 20px;width:20px;height:20px;padding:0}
.office-request-form select{white-space:normal;text-overflow:ellipsis;font-size:16px}
.office-request-form textarea{resize:vertical;font-size:16px}
.office-request-form .button{width:100%}
.office-request-head h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.15}
.error-card{max-width:100%;overflow-wrap:anywhere}
.error-actions{justify-content:center}
@media(max-width:900px){
  .office-request-layout{grid-template-columns:minmax(0,1fr)}
  .office-request-summary{position:static}
  .office-request-summary ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .auth-page .marketing-header{width:calc(100% - 28px);gap:10px}
  .auth-page .marketing-header .button{padding:10px;font-size:.78rem}
  .auth-page .auth-wrap{margin-top:20px}
  .auth-page .auth-card{padding:24px 20px;border-radius:18px}
  .auth-support-links,.auth-links{display:grid;grid-template-columns:1fr;gap:16px}
  .public-body .hero-actions,.error-actions,.recovery-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
  .public-body .hero-actions>*{width:100%;text-align:center}
  .office-request-grid,.office-request-form .office-addon-grid,.office-request-summary ol{grid-template-columns:minmax(0,1fr)}
  .office-request-form,.office-request-summary{padding:22px 18px;border-radius:18px}
  .office-addon-total{grid-template-columns:1fr}
  .office-request-success{flex-direction:column;align-items:flex-start}
  .auth-wrap:has(>.office-request-page){width:calc(100% - 28px)}
}

.office-request-head>.text-link{display:block;width:fit-content;margin:0 auto 16px;line-height:1.5}
.office-request-head>.eyebrow{display:block}
.office-request-grid label{align-content:start}
.office-plan-choice{display:block;padding:10px 12px;border-radius:10px;background:#f3f0fd;color:#4a377d;font-size:.85rem;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
