[hidden]{display:none!important}
:root{--ink:#073847;--teal:#0a796f;--line:#d8e2df;--bg:#f3f5f1;--gold:#efbd4f;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,Arial,sans-serif}.portal-head{height:78px;padding:0 max(24px,calc((100vw - 1220px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{text-decoration:none;color:var(--ink);font-weight:900;letter-spacing:.14em;display:flex;flex-direction:column}.brand small{font-size:10px;letter-spacing:.55em}.portal-head nav{display:flex;gap:16px;align-items:center}.portal-head a,.portal-head button{color:var(--ink);text-decoration:none;background:none;border:0;font:inherit;font-weight:750;cursor:pointer}.portal-wrap{max-width:1220px;margin:auto;padding:34px 24px 70px}.auth-card{display:grid;grid-template-columns:1.15fr .85fr;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 50px #07384712}.auth-copy{padding:56px;background:var(--ink);color:#fff}.auth-copy h1{font-family:Georgia,serif;font-size:46px;line-height:1.04;margin:12px 0 22px}.auth-copy p{line-height:1.7}.eyebrow{letter-spacing:.18em;font-weight:850;font-size:12px;color:#b98a22}.auth-forms{padding:42px}.tabs{display:flex;gap:8px;margin-bottom:22px}.tabs button{flex:1;padding:11px;border:1px solid var(--line);background:#fff;border-radius:10px;font-weight:800}.tabs button.active{background:var(--ink);color:#fff}.auth-form{display:none}.auth-form.active{display:grid;gap:14px}.auth-form label{font-weight:750}.auth-form input,.auth-form select,.google-row select{width:100%;margin-top:6px;padding:13px;border:1px solid #cbd8d4;border-radius:10px;font:inherit}.auth-form button,#googleLogin,.dash-actions button,.btn,#refreshDash{padding:13px 18px;border:0;border-radius:11px;background:var(--ink);color:#fff;font-weight:850;cursor:pointer;text-decoration:none;display:inline-flex;justify-content:center;align-items:center}.or{text-align:center;color:#789;margin:18px 0;border-top:1px solid var(--line)}.or span{background:#fff;padding:0 10px;position:relative;top:-10px}.google-row{display:grid;grid-template-columns:1fr 1.5fr;gap:10px}.status{min-height:22px;color:#a53e2c}.dash-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start}.dash-top h1{font-family:Georgia,serif;font-size:44px;margin:5px 0}.dash-actions{display:flex;flex-wrap:wrap;gap:10px}.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.dash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:26px 0}.metric{background:#fff;border:1px solid var(--line);padding:22px;border-radius:16px}.metric span{display:block;color:#687b80}.metric strong{font-size:30px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-top:16px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.work-list,.notification-list{display:grid;gap:10px;margin-top:14px}.work-item,.notice-item{display:grid;grid-template-columns:1.3fr .8fr .8fr auto;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:12px}.work-item a{color:var(--ink);font-weight:850}.notice-item{grid-template-columns:1fr auto}.notice-item.new{border-left:5px solid var(--gold);background:#fff9e9}.info-note{margin-top:18px;padding:18px;border-radius:14px;background:#e9f4f1}.info-note p{margin:8px 0 0;line-height:1.55}@media(max-width:800px){.auth-card{grid-template-columns:1fr}.auth-copy{padding:32px}.auth-copy h1{font-size:36px}.dash-top{flex-direction:column}.dash-grid{grid-template-columns:1fr}.work-item{grid-template-columns:1fr 1fr}.portal-head{padding:0 14px}.portal-head nav a:first-child{display:none}.google-row{grid-template-columns:1fr}.portal-wrap{padding:22px 14px}}

/* V7.20.4 account UI / language / notification state */
.portal-head nav{flex-wrap:wrap}.portal-language{display:flex;gap:3px;align-items:center;border-left:1px solid var(--line);padding-left:10px}.portal-language button{min-width:30px;padding:7px 6px;border-radius:8px;font-size:12px;font-weight:850;color:#62777d}.portal-language button.active{background:var(--ink);color:#fff}.auth-benefits{display:grid;gap:9px;margin-top:24px;font-size:14px;opacity:.94}.auth-method-title{font-weight:850;margin-bottom:10px}.method-btn{width:100%;display:flex;gap:10px;align-items:center;justify-content:center;padding:14px 18px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:11px;font:inherit;cursor:pointer}.method-btn.active{border-color:#8fb4ad;background:#eef7f4}.email-auth-panel{margin-top:14px;padding-top:4px}.hint{font-size:13px;line-height:1.45;background:#fff7de;border:1px solid #efd58d;padding:10px 12px;border-radius:10px;color:#76551c}.google-row #googleLogin{display:flex;gap:9px;align-items:center}.google-row #googleLogin>span{background:#fff;color:#4285f4;border-radius:50%;width:25px;height:25px;display:inline-grid;place-items:center;font-weight:900}.dash-actions #enableAlerts.on{background:#087c6d;box-shadow:0 0 0 3px #d8f1eb inset}.status:not(:empty){padding:10px 12px;border-radius:10px;background:#fff1ed;border:1px solid #efc3b8}
@media(max-width:1040px){.portal-head{height:auto;min-height:78px;padding-top:10px;padding-bottom:10px}.portal-head nav{justify-content:flex-end}.portal-language{order:3;width:100%;justify-content:flex-end;border-left:0;padding-left:0;margin-top:4px}}
@media(max-width:650px){.portal-language{overflow-x:auto;justify-content:flex-start;max-width:70vw}.portal-head nav{gap:8px}.portal-head nav>a{font-size:13px}.auth-forms{padding:26px 22px}}

/* V7.20.5 auth flow hardening */
#googleLogin:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
.auth-success{padding:10px 12px;border-radius:10px;background:#e8f5ef;border:1px solid #b7dbc9;color:#12634e}

/* V7.20.7 auth reliability */
#authStatus{margin:0 0 14px;min-height:0}
#authStatus:empty{display:none}
.auth-form button:disabled{opacity:.65;cursor:wait}
.email-auth-panel{scroll-margin-top:100px}

/* V7.20.8 role-first account entry */
.auth-forms h2{margin:4px 0 8px;font-size:28px}.auth-step{min-height:420px}.step-kicker{margin:0 0 4px;color:#8a6a1f;font-weight:900;letter-spacing:.12em;font-size:12px}.step-help{color:#6b7d82;line-height:1.55;margin:0 0 20px}.role-stack,.method-stack{display:grid;gap:12px;margin-top:18px}.role-choice{width:100%;display:grid;grid-template-columns:54px 1fr 24px;gap:14px;align-items:center;text-align:left;padding:18px;border:1px solid #c9d8d3;background:#fff;border-radius:15px;color:var(--ink);cursor:pointer;transition:.18s ease}.role-choice:hover{border-color:#6aa699;box-shadow:0 8px 28px #07384712;transform:translateY(-1px)}.role-choice .role-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#eaf4f0;font-size:22px}.role-choice strong{display:block;font-size:18px}.role-choice small{display:block;margin-top:5px;color:#6c7d82;line-height:1.4}.role-choice b{font-size:24px}.method-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.text-btn{border:0!important;background:transparent!important;color:#087569!important;padding:7px 0!important;font-weight:800!important;cursor:pointer}.selected-role{background:#eaf4f0;border:1px solid #c4ded6;border-radius:12px;padding:12px 14px;font-weight:850;margin:12px 0 18px}.method-stack .method-btn{min-height:58px;justify-content:flex-start;padding-inline:18px;font-size:16px}.method-stack .method-btn.google{background:#fff;color:var(--ink);border-color:#cddbd7}.method-stack .method-btn.outline{background:#fff;color:var(--ink);border-style:dashed}.google-g{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d8e2df;color:#4285f4;font-weight:950}.email-auth-panel{margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfcfb}.back-methods{margin-bottom:10px}.register-note{display:block;color:#6e8085;line-height:1.45;margin-top:-3px}.portal-language{order:0}.portal-head nav{row-gap:6px}
@media(max-width:800px){.role-choice{grid-template-columns:46px 1fr 18px;padding:15px}.role-choice .role-icon{width:42px;height:42px}.role-choice strong{font-size:16px}.method-head{flex-direction:column}.auth-step{min-height:0}}

/* V7.20.9 — simplified first registration */
.auth-form textarea,.basic-profile-form input,.basic-profile-form textarea{width:100%;margin-top:6px;padding:13px;border:1px solid #cbd8d4;border-radius:10px;font:inherit;background:#fff;color:var(--ink)}
.auth-form textarea,.basic-profile-form textarea{min-height:88px;resize:vertical}
.basic-profile-card{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 50px #07384712}
.basic-profile-copy{padding:48px;background:var(--ink);color:#fff}.basic-profile-copy h1{font-family:Georgia,serif;font-size:38px;line-height:1.08;margin:10px 0 18px}.basic-profile-copy p{line-height:1.65}
.basic-profile-form{padding:42px;display:grid;gap:14px}.basic-profile-form label{font-weight:750}.basic-profile-form button{padding:14px 18px;border:0;border-radius:11px;background:var(--ink);color:#fff;font:inherit;font-weight:850;cursor:pointer}.basic-profile-form button:disabled{opacity:.65;cursor:wait}
@media(max-width:800px){.basic-profile-card{grid-template-columns:1fr}.basic-profile-copy{padding:32px}.basic-profile-copy h1{font-size:32px}.basic-profile-form{padding:28px 22px}}


/* V7.20.16 — mobile auth fit, language separation and responder 3% notice */
.role-fee-summary{margin-top:7px!important;color:#8a6a1f!important;font-weight:750!important;font-size:12px!important;line-height:1.35!important}
.fee-acceptance-note{margin:-6px 0 14px;padding:12px 14px;border:1px solid #e3c875;background:#fff8df;border-radius:12px;color:#6c521b;font-size:12.5px;line-height:1.48}
.fee-acceptance-note strong{font-weight:760}
@media(max-width:700px){
  .portal-head{position:sticky;top:0;height:auto;min-height:0;padding:7px 12px;display:grid;grid-template-columns:1fr;gap:5px;align-items:center}
  .portal-head .brand{justify-self:center;font-size:13px;line-height:1.05}
  .portal-head .brand small{font-size:8px;letter-spacing:.42em}
  .portal-head nav{width:100%;display:grid;grid-template-columns:repeat(3,auto);justify-content:center;align-items:center;gap:4px 10px}
  .portal-language{grid-column:1/-1;order:0;width:100%;max-width:none!important;overflow-x:auto;justify-content:center!important;flex-wrap:nowrap;border:0;padding:0;margin:0}
  .portal-language button{min-width:30px;padding:5px 4px;font-size:11px}
  .portal-head nav>a,.portal-head nav>button{font-size:11px;white-space:nowrap;text-align:center;padding:2px 3px}
  .portal-wrap{padding:8px 8px 24px}
  .auth-card{grid-template-columns:1fr;border-radius:16px;min-height:0}
  .auth-copy{padding:13px 17px 11px}
  .auth-copy .eyebrow{font-size:9px;margin:0 0 3px;letter-spacing:.13em}
  .auth-copy h1{font-size:24px;line-height:1.02;margin:3px 0 7px}
  .auth-copy>p:not(.eyebrow){font-size:11.5px;line-height:1.35;margin:0}
  .auth-benefits{display:none}
  .auth-forms{padding:12px 14px 16px}
  .auth-forms h2{font-size:21px;line-height:1.08;margin:2px 0 4px}
  .step-kicker{font-size:10px;margin:0 0 2px}
  .step-help{font-size:11.5px;line-height:1.3;margin:0 0 8px}
  .role-stack{gap:7px;margin-top:7px}
  .role-choice{grid-template-columns:34px 1fr 14px;gap:8px;padding:9px 10px;border-radius:12px}
  .role-choice .role-icon{width:32px;height:32px;font-size:16px}
  .role-choice strong{font-size:13px;line-height:1.18}
  .role-choice small{font-size:10px;line-height:1.25;margin-top:2px}
  .role-choice b{font-size:16px}
  .role-fee-summary{font-size:9px!important;line-height:1.22!important;margin-top:4px!important}
  .selected-role{padding:9px 11px;margin:7px 0 10px;font-size:13px}
  .method-head{gap:4px}
  .method-stack{gap:8px;margin-top:8px}
  .method-stack .method-btn{min-height:44px;padding:10px 12px;font-size:13px}
  .fee-acceptance-note{margin:-2px 0 10px;padding:9px 10px;font-size:10.5px;line-height:1.35}
}
@media(max-width:390px){
  .portal-head nav{gap:3px 7px}
  .portal-language button{min-width:27px;font-size:10px;padding-inline:3px}
  .auth-copy h1{font-size:22px}
  .auth-copy>p:not(.eyebrow){font-size:11px}
  .role-choice strong{font-size:12.5px}
  .role-choice small{font-size:9.5px}
}
