.editor-launch{display:none}
.auth-admin .editor-launch:not([hidden]){display:block}
body:not(.auth-admin) .edit-toolbar,body:not(.auth-admin) .editor-panel,body:not(.auth-admin) .panel-backdrop{display:none!important}
.account-button{display:inline-flex;align-items:center;gap:7px;max-width:160px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(3,26,49,.62);color:#fff;padding:10px 14px;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-button:before{content:"";width:8px;height:8px;border-radius:50%;background:#8ba3b9;box-shadow:0 0 0 3px rgba(139,163,185,.15)}
.auth-signed-in .account-button:before{background:#52d58a;box-shadow:0 0 0 3px rgba(82,213,138,.16)}
.auth-admin .account-button:before{background:#62b7ff;box-shadow:0 0 0 3px rgba(98,183,255,.18)}
.auth-modal{position:fixed;z-index:140;inset:0;display:grid;place-items:center;padding:18px;background:rgba(0,14,29,.7);backdrop-filter:blur(10px)}
.auth-modal[hidden]{display:none}
.auth-dialog{position:relative;width:min(440px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid rgba(117,183,244,.28);border-radius:22px;background:#fff;box-shadow:0 30px 100px rgba(0,18,38,.42)}
.auth-modal.signup-view .auth-dialog{width:min(630px,100%)}
.auth-modal.signup-view .auth-dialog-head{padding:13px 20px 10px}.auth-modal.signup-view .auth-dialog-head h2{font-size:20px;margin-top:2px}.auth-modal.signup-view .auth-dialog-head p{font-size:12px;line-height:1.35}.auth-modal.signup-view .auth-body{padding:12px 20px 16px}.auth-modal.signup-view .auth-tabs{margin-bottom:10px}.auth-modal.signup-view #signUpForm{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 11px}.auth-modal.signup-view #signUpForm>.required-notice,.auth-modal.signup-view #signUpForm>.consent-box,.auth-modal.signup-view #signUpForm>.auth-submit{grid-column:1/-1}.auth-modal.signup-view .auth-field{gap:3px}.auth-modal.signup-view .auth-field label{font-size:12px}.auth-modal.signup-view .auth-field input{padding:7px 9px;font-size:13px}.auth-modal.signup-view .username-help{font-size:10px}.auth-modal.signup-view .auth-choice{gap:8px;padding:6px 8px}.auth-modal.signup-view .auth-choice label{font-size:11px}.auth-modal.signup-view .consent-box{grid-template-columns:130px 1fr;gap:6px 10px;padding:8px 9px}.auth-modal.signup-view .consent-heading,.auth-modal.signup-view .consent-all{grid-column:1}.auth-modal.signup-view .consent-list{grid-column:2;grid-row:1/span 2;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}.auth-modal.signup-view .consent-all,.auth-modal.signup-view .consent-item label{font-size:11px}.auth-modal.signup-view .consent-item details{margin-left:22px}.auth-modal.signup-view .consent-item p{padding:6px;line-height:1.35}.password-match-status,.password-rule-status{min-height:15px;font-size:11px;font-weight:700}.password-match-status.success,.password-rule-status.success{color:#16814f}.password-match-status.error,.password-rule-status.error{color:#b23440}
.auth-dialog-head{padding:26px 28px 19px;background:linear-gradient(145deg,#031a31,#0a5188);color:#fff}
.auth-dialog-head small{display:block;color:#7fc4ff;font-size:11px;font-weight:800;letter-spacing:.18em}
.auth-dialog-head h2{margin:7px 38px 5px 0;font-size:26px}
.auth-dialog-head p{margin:0;color:#bdd5e9;font-size:13px;line-height:1.6}
.auth-close{position:absolute;top:17px;right:18px;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:25px;line-height:1}
.auth-body{padding:24px 28px 28px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:20px;padding:4px;border-radius:12px;background:#edf4fa}
.auth-tab{border:0;border-radius:9px;background:transparent;padding:10px;color:#587188;font-weight:700}
.auth-tab.active{background:#fff;color:#095ea8;box-shadow:0 4px 14px rgba(10,62,108,.1)}
.auth-form{display:grid;gap:15px}
.auth-field{display:grid;gap:7px}
.auth-field label{color:#314b63;font-size:13px;font-weight:700}
.auth-field input{width:100%;border:1px solid #c9d8e5;border-radius:10px;padding:12px 13px;background:#fbfdff;color:#102b43;outline:none}
.auth-field input:focus{border-color:#4c9ee3;box-shadow:0 0 0 3px rgba(76,158,227,.14)}
.required-notice{margin:0;border-radius:8px;background:#fff5f5;padding:9px 11px;color:#5e6f7e;font-size:12px}.required-notice b,.required-mark{color:#df2638}.auth-choice{display:flex;gap:16px;border:1px solid #d7e3ec;border-radius:10px;padding:11px 13px}.auth-choice legend{padding:0 5px;color:#314b63;font-size:13px;font-weight:700}.auth-choice label{display:flex;align-items:center;gap:5px;color:#405c73;font-size:13px}.auth-choice input{accent-color:#0b67b7}
.username-check-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.username-check-row button{border:1px solid #0b67b7;border-radius:10px;background:#eef7ff;color:#0b67b7;padding:0 13px;font-size:12px;font-weight:800;white-space:nowrap}.username-check-row button:disabled{opacity:.55;cursor:wait}.username-help{color:#7890a3;font-size:11px;line-height:1.5}.username-status{min-height:16px;font-size:12px;font-weight:700}.username-status.success{color:#16814f}.username-status.error{color:#b23440}
.auth-submit,.auth-secondary{width:100%;border-radius:10px;padding:12px 14px;font-weight:800}
.auth-submit{border:1px solid #0b67b7;background:#0b67b7;color:#fff}
.auth-submit:disabled{opacity:.55;cursor:wait}
.auth-secondary{border:1px solid #c8d8e5;background:#f2f7fb;color:#274a68}
.auth-link{border:0;background:transparent;color:#0b67b7;padding:2px;font-size:13px;font-weight:700;text-align:left}
.auth-message{display:none;margin:0 0 16px;padding:11px 13px;border-radius:9px;background:#eaf6ff;color:#164e76;font-size:13px;line-height:1.55}
.auth-message.show{display:block}
.auth-message.error{background:#fff0f1;color:#a12d37}
.account-card{display:grid;gap:15px}
.account-identity{display:grid;gap:4px;padding:15px;border-radius:12px;background:#edf6fd}
.account-identity strong{font-size:16px;color:#123a5d;overflow-wrap:anywhere}
.account-identity span{font-size:13px;color:#587188}
.account-role{display:inline-flex;width:max-content;border-radius:999px;background:#dbeeff;color:#075ca8;padding:5px 9px;font-size:11px;font-weight:800}
.marketing-setting{display:grid;gap:9px;border:1px solid #d7e4ed;border-radius:12px;background:#f8fbfd;padding:13px}.marketing-setting>strong{color:#173d5d;font-size:14px}.marketing-setting label{display:flex;align-items:flex-start;gap:8px;color:#435f75;font-size:13px;line-height:1.5}.marketing-setting input{width:17px;height:17px;margin-top:1px;accent-color:#0b67b7}.marketing-setting small{color:#7890a3;font-size:11px}
.auth-help{margin:0;color:#6a7e91;font-size:12px;line-height:1.65}
.login-help-links{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:-2px}.login-help-links button{border:0;background:transparent;color:#356b94;padding:3px 2px;font-size:12px;font-weight:700}.login-help-links button:hover,.login-help-links button:focus{text-decoration:underline}.login-help-links span{width:1px;height:12px;background:#cedbe5}.recovery-notice{margin:0;border-radius:10px;background:#eef6fc;padding:11px 13px;color:#526d82;font-size:12px;line-height:1.6}.recovery-contact-form .optional-mark{font-weight:600}
.turnstile-wrap{display:grid;justify-items:center;gap:7px;min-height:76px}.turnstile-status{color:#61798d;font-size:12px}.id-lookup-result{display:grid;gap:5px;border-radius:11px;padding:14px;text-align:center}.id-lookup-result.success{border:1px solid #a8dfc0;background:#edf9f2;color:#155f39}.id-lookup-result.not-found{border:1px solid #efd0d4;background:#fff4f5;color:#8c2b35}.id-lookup-result span{font-size:12px}.id-lookup-result strong{font-size:18px;letter-spacing:.06em}
.consent-box{display:grid;gap:11px;border:1px solid #d5e3ed;border-radius:13px;padding:14px;background:#f8fbfd}
.consent-heading{display:grid;gap:3px}.consent-heading strong{color:#173d5d;font-size:14px}.consent-heading span{color:#718697;font-size:12px}
.consent-all,.consent-item label{display:flex;align-items:flex-start;gap:9px;color:#314b63;font-size:14px;line-height:1.45;cursor:pointer}.consent-all{border-bottom:1px solid #dce7ef;padding:3px 0 11px;font-weight:800}
.consent-box input[type="checkbox"]{width:17px;height:17px;margin:1px 0 0;accent-color:#0b67b7;flex:0 0 auto}.consent-item b{color:#0b67b7}.consent-item.optional b{color:#6d7f8f}
.consent-list{display:grid;gap:11px}.consent-item{display:grid;gap:5px}.consent-item details{margin-left:26px}.consent-item summary{width:max-content;color:#3975a6;font-size:11px;cursor:pointer}.consent-item p{margin:7px 0 0;border-radius:8px;background:#edf4f9;padding:10px;color:#536b7e;font-size:11px;line-height:1.65}
.member-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.member-toolbar strong{color:#173d5d;font-size:15px}.member-toolbar b{color:#0870c7}
.member-refresh{border:1px solid #c8d8e5;border-radius:8px;background:#f3f8fc;color:#24506f;padding:7px 10px;font-size:12px;font-weight:800}
.member-tools{display:flex;gap:8px;margin-bottom:14px}.member-tools button,.member-meta button{border:1px solid #bcd3e4;border-radius:8px;background:#fff;color:#17669f;padding:7px 10px;font-size:11px;font-weight:800}
.member-search{display:grid;gap:7px;margin-bottom:14px}.member-search span{color:#314b63;font-size:13px;font-weight:700}
.member-search input{width:100%;border:1px solid #c9d8e5;border-radius:10px;padding:11px 13px;background:#fbfdff;color:#102b43;outline:none}
.member-search input:focus{border-color:#4c9ee3;box-shadow:0 0 0 3px rgba(76,158,227,.14)}
.member-list{display:grid;gap:9px;max-height:330px;margin-bottom:16px;overflow:auto;padding-right:3px}
.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe7f0;border-radius:11px;padding:12px;background:#f9fcff}
.member-main{display:grid;gap:3px;min-width:0}.member-main strong{color:#173d5d;font-size:14px}.member-main span{color:#60788d;font-size:12px;overflow-wrap:anywhere}.member-main small{color:#7890a3;font-size:10px;line-height:1.45}
.member-meta{display:grid;justify-items:end;gap:5px;flex:0 0 auto}.member-meta>span{color:#7a8d9d;font-size:11px}
.member-role{border-radius:999px;background:#e7f0f7;color:#47637a;padding:4px 8px;font-size:10px;font-weight:800;font-style:normal}.member-role.admin{background:#dbeeff;color:#075ca8}
.member-loading,.member-empty{margin-bottom:16px;border-radius:11px;background:#f1f6fa;color:#587188;padding:22px;text-align:center;font-size:13px}.member-empty.error{background:#fff0f1;color:#a12d37}
.consent-member-head{display:grid;gap:4px;border-radius:11px;background:#edf6fd;padding:14px;margin-bottom:14px}.consent-member-head strong{color:#173d5d}.consent-member-head span{color:#60788d;font-size:12px;overflow-wrap:anywhere}
.consent-history-list{display:grid;gap:9px;max-height:390px;overflow:auto;margin-bottom:14px}.consent-history-row{border:1px solid #dbe7f0;border-radius:10px;padding:11px;background:#fbfdff}.consent-history-row>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.consent-history-row strong{color:#234862;font-size:13px}.consent-history-row>span{display:block;margin-top:4px;color:#7890a3;font-size:11px}.consent-history-row details{margin-top:7px}.consent-history-row summary{color:#3474a3;font-size:11px;cursor:pointer}.consent-history-row p{white-space:pre-wrap;margin:7px 0 0;background:#eff5f9;border-radius:7px;padding:9px;color:#526b7e;font-size:11px;line-height:1.55}.consent-action{border-radius:999px;padding:4px 7px;font-size:10px;font-style:normal;font-weight:800}.consent-action.granted{background:#ddf5e8;color:#167044}.consent-action.declined,.consent-action.withdrawn{background:#f1f3f5;color:#687782}
@media(max-width:1100px){.account-button{max-width:112px;padding:9px 11px}.b2b-button{display:none}}
@media(max-width:680px){.account-button{max-width:94px;font-size:12px}.auth-dialog-head,.auth-body{padding-left:21px;padding-right:21px}.auth-dialog-head h2{font-size:23px}.auth-modal.signup-view #signUpForm{grid-template-columns:1fr}.auth-modal.signup-view #signUpForm>*{grid-column:1!important}.auth-modal.signup-view .consent-box{display:grid;grid-template-columns:1fr}.auth-modal.signup-view .consent-heading,.auth-modal.signup-view .consent-all,.auth-modal.signup-view .consent-list{grid-column:1;grid-row:auto}.auth-modal.signup-view .consent-list{grid-template-columns:1fr}.member-row{align-items:flex-start;flex-direction:column}.member-meta{justify-items:start;grid-template-columns:auto auto;align-items:center}}

/* Keep every sign-up text field, including the name field, exactly uniform. */
.auth-modal.signup-view #signUpForm .auth-field input{
  width:100%;
  height:34px;
  min-height:34px;
  box-sizing:border-box;
  padding:7px 9px;
}

/* Align paired sign-up fields and controls on the same horizontal lines. */
.auth-modal.signup-view #signUpForm{
  align-items:start;
}
.auth-modal.signup-view #signUpForm .auth-field{
  align-content:start;
}
.auth-modal.signup-view #signUpForm .auth-field>label{
  display:flex;
  align-items:center;
  height:17px;
  line-height:17px;
  box-sizing:border-box;
}
.auth-modal.signup-view #signUpForm .auth-field>input,
.auth-modal.signup-view #signUpForm .username-check-row,
.auth-modal.signup-view #signUpForm .username-check-row>input,
.auth-modal.signup-view #signUpForm .username-check-row>button{
  height:34px;
  min-height:34px;
  box-sizing:border-box;
}

/* Gender uses the same outside label and 34px bordered control as phone fields. */
.auth-modal.signup-view #signUpForm .gender-field .auth-choice{
  width:100%;
  height:34px;
  min-height:34px;
  margin:0;
  box-sizing:border-box;
  align-items:center;
  padding:6px 9px;
}
.auth-modal.signup-view #signUpForm .gender-field .auth-choice input[type="radio"]{
  width:auto;
  height:auto;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  box-shadow:none;
  background:transparent;
}
.optional-mark{color:#7890a3;font-size:11px;font-weight:600}
.password-recovery-guide{color:#60788d;font-size:10px;line-height:1.45}
.auth-modal.signup-view .consent-list{align-items:start}
.auth-modal.signup-view .consent-group{display:grid;align-content:start;gap:7px}
.auth-modal.signup-view .consent-item{gap:3px}
.auth-modal.signup-view .consent-item>label{min-height:18px;align-items:center;line-height:18px;white-space:nowrap}
.auth-modal.signup-view .consent-box input[type="checkbox"]{margin:0}
@media(max-width:680px){
  .auth-modal.signup-view .consent-list{grid-template-columns:1fr}
  .auth-modal.signup-view .consent-item>label{white-space:normal}
}
.auth-modal.signup-view #signUpForm>.signup-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px}
.auth-modal.signup-view .signup-actions .auth-secondary,
.auth-modal.signup-view .signup-actions .auth-submit{height:40px;padding:9px 12px}
@media(max-width:680px){
  .auth-modal.signup-view{align-items:start;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
  .auth-modal.signup-view .auth-dialog{max-height:calc(100dvh - 16px);border-radius:16px}
  .auth-modal.signup-view .auth-body{padding-bottom:8px}
  .auth-modal.signup-view #signUpForm>.signup-actions{position:sticky;bottom:0;z-index:3;margin-top:2px;padding:8px 0 calc(4px + env(safe-area-inset-bottom));background:#fff}
  .auth-modal.signup-view .signup-actions .auth-secondary,
  .auth-modal.signup-view .signup-actions .auth-submit{display:flex;align-items:center;justify-content:center;min-width:0;height:44px;min-height:44px;padding:6px 8px;font-size:13px;line-height:1.25;text-align:center;white-space:nowrap;overflow:visible}
}
.profile-edit-form{display:grid;gap:13px}
.profile-edit-form .profile-id{margin:0;border-radius:8px;background:#eef5fa;padding:11px 13px;color:#60788d;font-size:13px}
.profile-edit-form .profile-id strong{margin-left:10px;color:#193c58}
.profile-edit-form .auth-field select{width:100%;min-height:40px;border:1px solid #d6e1e9;border-radius:7px;background:#fff;padding:8px;color:#173b58;font:inherit}
.profile-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:7px}
.notification-button{appearance:none;border:1px solid #5d94bd;border-radius:8px;background:#092f50;color:#fff;padding:9px 11px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.notification-button b{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:4px;border-radius:99px;background:#526d83;font-size:10px}.notification-button.has-new b{background:#e83b36}.notification-tools{display:flex;justify-content:flex-end;margin-bottom:10px}.notification-tools button{border:1px solid #bcd3e4;border-radius:8px;background:#fff;color:#17669f;padding:7px 10px}.notification-list{display:grid;gap:8px;max-height:390px;overflow:auto;margin-bottom:14px}.notification-item{display:flex;gap:10px;border:1px solid #dce6ed;border-radius:10px;padding:11px;background:#f8fafc}.notification-item.unread{border-color:#72b6ec;background:#eef8ff}.notification-item>span{height:max-content;border-radius:99px;background:#dce8f1;color:#335d7a;padding:4px 7px;font-size:10px;font-weight:800}.notification-item div{min-width:0}.notification-item strong,.notification-item p,.notification-item time{display:block}.notification-item p{margin:4px 0;color:#587087;font-size:12px}.notification-item time{color:#8093a2;font-size:10px}
.notification-item[data-action="open-notification"]{width:100%;align-items:flex-start;text-align:left;color:inherit;cursor:pointer;font:inherit}.notification-item[data-action="open-notification"]:hover,.notification-item[data-action="open-notification"]:focus-visible{border-color:#268bd2;background:#f0f8ff;outline:none}.notification-item[data-action="open-notification"] div{flex:1}.notification-item[data-action="open-notification"]>em{align-self:center;color:#1571ad;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}
