.mock-account-dialog{color:var(--ink,#18222d);background:var(--surface,#fff);border:1px solid var(--line,#dce1e7);border-radius:22px;padding:30px;width:min(460px,calc(100vw - 40px));max-height:90dvh;overflow:auto;box-sizing:border-box;box-shadow:var(--mat-shadow-sheet,0 24px 90px #0003);font:14px/1.5 var(--font,system-ui,sans-serif)}.mock-account-dialog::backdrop{background:#1119;backdrop-filter:blur(8px)}.mock-account-dialog h1{font-size:27px;margin:4px 0 10px}.mock-account-dialog p{margin:10px 0}.mock-account-eyebrow{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;opacity:.65}.mock-account-dialog form{display:grid;gap:15px;margin-top:22px}.mock-account-dialog form>label{display:grid;gap:5px;font-weight:600}.mock-account-dialog input:not([type=checkbox]):not([type=radio]){width:100%;box-sizing:border-box;border:1px solid var(--line);padding:11px;border-radius:10px;background:transparent;color:inherit;font:inherit}.mock-account-dialog fieldset{border:1px solid var(--line);border-radius:10px;display:flex;flex-wrap:wrap;gap:20px;min-width:0}.mock-account-dialog button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:transparent;color:inherit}.mock-account-dialog .mock-account-primary{background:var(--accent);color:white;border:0;font-weight:700}.mock-account-dialog .mock-account-close{position:absolute;right:16px;top:12px;border:0;font-size:23px;padding:2px 8px}.mock-account-dialog .mock-account-switch{border:0;margin:16px auto 0;display:block;color:var(--accent-ink)}.mock-account-note{font-size:12px;opacity:.7}.mock-account-status{font-size:13px;min-height:20px}.mock-account-stats{display:flex;gap:35px;margin:18px 0}.mock-account-stats span{display:grid;gap:3px}.mock-account-stats b{font-size:25px}.mock-account-checkbox{display:flex!important;align-items:start;gap:8px;font-weight:400!important}.mock-account-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.mock-account-dialog :focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}#workspaceAuth[data-signed-in]{width:36px;min-width:36px;padding:7px;border-radius:50%;display:grid;place-items:center}#workspaceAuth[data-signed-in] svg{width:21px;height:21px}#workspaceAdmin[hidden]{display:none!important}.account-empty{padding:18px;opacity:.65;font-size:13px}.mock-account-load-error{padding:60px;font-family:var(--font,system-ui,sans-serif)}
.account-admin-host{position:absolute;inset:0;overflow:auto;background:var(--surface,#fff)}body[data-view=admin] #toptools{visibility:hidden}body[data-view=admin] .command{display:none}body[data-view=admin] .dock{pointer-events:none}[data-account-restoring=true]{pointer-events:none;opacity:.6}
body[data-view=admin] .top-panel{display:flex}body[data-view=admin] .dock__pane-wrap{display:none}body[data-view=admin] .shell{flex:1 1 auto;min-height:0}body[data-view=admin] .dock{flex:0 0 auto;height:auto}body[data-view=admin] .account-admin-host{position:absolute;inset:0}.account-restore-error{position:fixed;z-index:10000;bottom:50px;left:20px;max-width:min(500px,calc(100vw - 40px));box-sizing:border-box;padding:12px 18px;border:1px solid var(--danger);border-radius:10px;background:var(--danger-soft);color:var(--danger);font:13px/1.5 var(--font,system-ui,sans-serif);overflow-wrap:anywhere}
.mock-account-warnings{margin:14px 0;padding:12px;border:1px solid #b7793155;border-radius:10px;background:#b7793112;font-size:12px}.mock-account-warnings p{overflow-wrap:anywhere}.mock-account-warnings time{opacity:.65}

/* Panels donor profile button, recolored through 3Dhive's live theme tokens. */
#workspaceAuth.top-panel__profile-circle[data-signed-in]{
  --profile-ring-color:var(--accent,#2f6bff);
  --profile-ring-track:color-mix(in srgb,var(--ink,#18222d) 16%,transparent);
  /* Relative positioning anchors the ring without inheriting the standalone
     sign-in button's top/right offsets inside the shared header flex row. */
  position:relative; inset:auto; isolation:isolate; overflow:visible;
  width:24px; min-width:24px; height:24px; padding:0;
  border:1px solid var(--line,rgba(17,17,17,.18)); border-radius:50%;
  background:transparent; color:var(--icon-muted,var(--dim,#7a7d84));
  box-shadow:none;
}
#workspaceAuth.top-panel__profile-circle[data-signed-in]::before{
  content:""; position:absolute; inset:-4px; z-index:0; border-radius:50%;
  background:conic-gradient(from 0deg,var(--profile-ring-color) 0 33%,var(--profile-ring-track) 33% 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),rgba(0,0,0,.35) calc(100% - 3px),#000 calc(100% - 2.5px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),rgba(0,0,0,.35) calc(100% - 3px),#000 calc(100% - 2.5px));
  pointer-events:none;
}
#workspaceAuth.top-panel__profile-circle[data-signed-in] svg{position:relative;z-index:1;width:13px;height:13px;}
#workspaceAuth.top-panel__profile-circle[data-signed-in]:hover,
#workspaceAuth.top-panel__profile-circle[data-signed-in]:focus-visible{
  border-color:var(--ink,#18222d); color:var(--ink,#18222d); background:var(--surface-hover,transparent); box-shadow:none;
}
#workspaceAuth.top-panel__profile-circle[data-signed-in]:focus-visible{outline:2px solid var(--accent,#2f6bff);outline-offset:5px;}
html[data-theme=dark] #workspaceAuth.top-panel__profile-circle[data-signed-in]{--profile-ring-track:rgba(255,255,255,.2);}

/* Panels' centered account/settings modal, retaining its geometry and focus
   behavior while every surface and accent comes from 3Dhive. */
.mock-account-dialog.mock-account-dialog--profile{
  --hive-profile-bg:var(--surface,#fff);
  --hive-profile-fg:var(--ink,#202124);
  --hive-profile-muted:var(--dim,#70737a);
  --hive-profile-line:var(--line,#e9eaed);
  --hive-profile-soft:var(--slot,#f5f6f8);
  box-sizing:border-box; width:min(720px,calc(100vw - 32px)); max-width:none;
  max-height:min(850px,calc(100dvh - 48px)); margin:auto; padding:0;
  border:1px solid var(--hive-profile-line); border-radius:20px;
  color:var(--hive-profile-fg); background:var(--hive-profile-bg);
  box-shadow:0 24px 100px #0004; font:13px/1.45 var(--font,Inter,system-ui,sans-serif);
  overflow:auto; overscroll-behavior:contain;
}
.mock-account-dialog.mock-account-dialog--profile::backdrop{background:rgba(12,15,20,.46);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);}
.mock-account-dialog--profile *,.mock-account-dialog--profile *::before,.mock-account-dialog--profile *::after{box-sizing:border-box;}
.hive-profile__head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:23px 28px 18px;background:var(--hive-profile-bg);border-bottom:1px solid var(--hive-profile-line);}
.mock-account-dialog--profile .hive-profile__eyebrow{margin:0 0 3px;color:var(--hive-profile-muted);font-size:10px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;opacity:1;}
.mock-account-dialog--profile h1{margin:0;font-size:21px;line-height:1.3;font-weight:650;letter-spacing:-.035em;}
.mock-account-dialog--profile .hive-profile__close{position:static;right:auto;top:auto;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:var(--hive-profile-soft);color:inherit;font:23px/1 system-ui;cursor:pointer;}
.hive-profile__body{padding:0 28px 20px;}
.hive-profile__section{padding:21px 0;border-bottom:1px solid var(--hive-profile-line);}
.hive-profile__section:last-child{padding-bottom:0;border-bottom:0;}
.hive-profile__section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px;}
.mock-account-dialog--profile .hive-profile__section h2{margin:0;font-size:13px;font-weight:700;}
.hive-profile__identity strong{display:block;font-size:16px;font-weight:650;}
.mock-account-dialog--profile .hive-profile__hint{display:block;margin:5px 0 0;color:var(--hive-profile-muted);font-size:11px;line-height:1.55;overflow-wrap:anywhere;}
.hive-profile__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 12px;}
.hive-profile__stat{min-width:0;padding:13px 14px;border-radius:11px;background:var(--hive-profile-soft);}
.hive-profile__stat span{display:block;color:var(--hive-profile-muted);font-size:10px;}
.hive-profile__stat strong{display:block;margin-top:4px;font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.045em;overflow-wrap:anywhere;}
.hive-profile__row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:46px;padding:7px 0;}
.hive-profile__row> :first-child{min-width:0;}
.hive-profile__label{display:block;font-size:12px;font-weight:550;}
.hive-profile__value{max-width:65%;color:var(--hive-profile-muted);font-size:12px;text-align:right;overflow-wrap:anywhere;}
.hive-profile__control{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0;}
.mock-account-dialog--profile select{min-height:33px;max-width:210px;padding:6px 28px 6px 10px;border:1px solid var(--hive-profile-line);border-radius:8px;color:var(--hive-profile-fg);background:var(--hive-profile-soft);font:12px var(--font,Inter,system-ui,sans-serif);}
.mock-account-dialog--profile .hive-profile__button{min-height:32px;padding:6px 11px;border:1px solid var(--hive-profile-line);border-radius:8px;background:var(--hive-profile-bg);color:var(--hive-profile-fg);font:11px var(--font,Inter,system-ui,sans-serif);cursor:pointer;white-space:nowrap;}
.mock-account-dialog--profile .hive-profile__button:hover,.mock-account-dialog--profile .hive-profile__close:hover,.mock-account-dialog--profile .hive-profile__icon-button:hover{background:var(--hive-profile-soft);}
.mock-account-dialog--profile .hive-profile__button--primary{border-color:var(--accent,#2f6bff);background:var(--accent,#2f6bff);color:var(--tip-fg,#fff);}
.mock-account-dialog--profile .hive-profile__button--primary:hover{filter:brightness(.94);}
.hive-profile__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.mock-account-dialog--profile .hive-profile__icon-button{display:grid;place-items:center;width:34px;height:33px;padding:0;border:1px solid var(--hive-profile-line);border-radius:8px;background:var(--hive-profile-soft);color:var(--hive-profile-fg);cursor:pointer;}
.hive-profile__icon-button svg{width:16px;height:16px;}
.hive-profile__switch{position:relative;flex-shrink:0;width:36px;height:21px;margin:0;border:1px solid var(--hive-profile-line);border-radius:12px;appearance:none;background:#a0a2a6;cursor:pointer;transition:background .15s;}
.hive-profile__switch::before{content:"";position:absolute;left:2px;top:2px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s;}
.hive-profile__switch:checked{border-color:var(--accent,#2f6bff);background:var(--accent,#2f6bff);}
.hive-profile__switch:checked::before{transform:translateX(15px);}
.hive-profile__footer{min-height:54px;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:11px 28px;background:var(--hive-profile-soft);color:var(--hive-profile-muted);font-size:10px;}
.hive-profile__message{flex:1 1 auto;margin:0!important;min-height:15px;}
.mock-account-dialog--profile :is(button,select,input):focus-visible{outline:2px solid var(--accent,#2f6bff);outline-offset:3px;}
html[data-reduce-motion=true] .hive-profile__switch,html[data-reduce-motion=true] .hive-profile__switch::before{transition:none;}
@media (prefers-reduced-motion:reduce){.hive-profile__switch,.hive-profile__switch::before{transition:none;}}
@media (max-width:560px){
  .mock-account-dialog.mock-account-dialog--profile{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:15px;}
  .hive-profile__head{padding:18px}.hive-profile__body{padding:0 18px 15px}.hive-profile__footer{padding:10px 18px;flex-wrap:wrap;}
  .hive-profile__stats{gap:6px}.hive-profile__stat{padding:10px}.hive-profile__stat strong{font-size:18px}.hive-profile__row{align-items:flex-start;}
}
.mock-account-providers{display:grid;gap:9px;margin:18px 0 0}
.mock-account-dialog .mock-account-provider{display:grid;grid-template-columns:22px 1fr 22px;align-items:center;gap:12px;width:100%;font-weight:600;background:var(--surface,#fff)}
.mock-account-provider svg{width:22px;height:22px}
.mock-account-provider[hidden]{display:none!important}
.mock-account-provider:hover{background:color-mix(in srgb,var(--ink) 5%,var(--surface))}
.mock-account-auth-divider{display:flex;align-items:center;gap:12px;color:var(--dim,#69707a);font-size:12px;margin-top:4px}
.mock-account-auth-divider:before,.mock-account-auth-divider:after{content:"";height:1px;flex:1;background:var(--line,#dce1e7)}

/* Admin preview: the site as a buyer or seller in this tab only. */
.hive-preview-bar{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));z-index:95;display:flex;align-items:center;gap:12px;max-width:min(560px,calc(100vw - 32px));padding:8px 8px 8px 16px;border-radius:14px;background:var(--ink,#171b22);color:var(--surface,#fff);box-shadow:0 14px 34px -14px rgba(0,0,0,.55);font:500 12.5px/1.35 var(--font,system-ui,sans-serif)}
.hive-preview-bar b{font-weight:700}
.hive-preview-bar button{flex:none;min-height:32px;padding:5px 12px;border:1px solid color-mix(in srgb,var(--surface,#fff) 45%,transparent);border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}
.hive-preview-bar button:hover{background:color-mix(in srgb,var(--surface,#fff) 14%,transparent)}
.hive-preview-bar button:focus-visible{outline:2px solid var(--surface,#fff);outline-offset:2px}
.mock-account-legal{opacity:1}
.mock-account-legal a{color:var(--accent-ink,#175bc7);font-weight:600}
@media (max-width:640px){.hive-preview-bar{left:12px;right:12px;bottom:12px;max-width:none;flex-wrap:wrap}}
.hive-profile__legal a{color:var(--accent-ink,#175bc7);font-weight:600;text-underline-offset:2px}
/* Email sign-up rests folded under the provider buttons until "Create account" is pressed. */
.mock-account-dialog form[data-email-collapsed]{margin-top:16px}
.mock-account-dialog form[data-email-collapsed]>:not([type="submit"]){display:none!important}
