@import url("/studio/gif-library.css");
@import url("/studio/my-page-empty.css");
@import url("/studio/size-motion.css");
@import url("/studio/interaction-polish.css");
:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color-scheme:light dark;--bg:#f4f6f3;--card:#fff;--ink:#19231e;--muted:#536259;--line:#d9e1da;--button:#19231e;--button-ink:#fff;color:var(--ink);background:var(--bg)}@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0b100d;--card:#141b17;--ink:#eef4ef;--muted:#afbeb2;--line:#334139;--button:#94cf9b;--button-ink:#102416}}*{box-sizing:border-box}body{margin:0;min-width:0}header{max-width:1100px;margin:auto;padding:28px 24px}header a{display:inline-flex}main{padding:28px 20px 64px;display:flex;justify-content:center;min-width:0}.card{width:min(100%,440px);min-width:0;padding:32px;border:1px solid var(--line);border-radius:18px;background:var(--card)}h1{font-size:1.7rem;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}h2{font-size:1.1rem;margin:28px 0 10px}p{line-height:1.55;color:var(--muted)}label{display:grid;gap:8px;font-size:.88rem;margin:20px 0 16px}input{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--bg)}button{font:inherit;font-weight:600;padding:13px 18px;border:1px solid transparent;border-radius:8px;cursor:pointer;color:var(--button-ink);background:var(--button);max-width:100%}form>button,#add-passkey,#enroll-passkey{width:100%}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-underline-offset:3px}summary{cursor:pointer;color:var(--muted);padding:12px 0}details{margin-top:22px;border-top:1px solid var(--line)}.hint{font-size:.85rem;margin-top:14px}#status:empty{display:none}#status{overflow-wrap:anywhere;padding:12px;border-left:3px solid #80b787;background:var(--bg)}.secondary{background:transparent;color:var(--muted);display:inline-block;margin-top:18px}.reauth{display:block;margin-top:20px;font-size:.85rem}footer{max-width:900px;margin:auto;padding:0 24px 30px;display:flex;justify-content:center;flex-wrap:wrap;gap:14px;font-size:.75rem;color:var(--muted)}[hidden]{display:none!important}opid-sign-in,opid-authenticator-setup{display:block;max-width:100%;min-width:0}#passkeys{padding:0;list-style:none}#passkeys li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}#passkeys span{overflow-wrap:anywhere;min-width:0}#passkeys button{font-size:.78rem;padding:8px 10px;background:transparent;color:var(--ink);border-color:var(--line)}:focus-visible{outline:3px solid #6aaa78;outline-offset:3px}@media(max-width:380px){main{padding:16px 12px 40px}.card{padding:24px 18px}header{padding:22px 16px}}@media(prefers-reduced-motion:no-preference){button{transition:opacity .15s,background-color .15s}details::details-content{transition:height .2s,content-visibility .2s allow-discrete;height:0;overflow:clip}details[open]::details-content{height:auto}html{interpolate-size:allow-keywords}}

.button-link{display:block;padding:13px 18px;border-radius:8px;background:var(--button);color:var(--button-ink);text-align:center;text-decoration:none;font-weight:600}#resume-app,#verify-passkey{width:100%}
/* Readable controls, a single document scroll, and no layout shifts on errors. */
label{display:block;font-size:1rem;margin:18px 0 8px}input{font-size:1rem;min-height:48px}button,summary,.text-link{min-height:44px}.primary,.passkey-button{width:100%;margin-top:18px}.passkey-button{background:var(--card);color:var(--ink);border-color:var(--line)}.secondary{display:block;width:100%;text-align:left;margin-top:8px;padding:12px 0}.text-link{display:inline-flex;align-items:center;font-size:.95rem;margin-top:6px}.hint{font-size:.9rem;margin:10px 0;line-height:1.5}.password-field{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.password-field input{border:0;background:transparent;flex:1}.reveal{color:var(--ink);background:transparent;padding:10px 14px;font-size:.9rem}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:.95rem;line-height:1.5}.checkbox input{flex:0 0 20px;width:20px;min-height:20px;margin:2px 0 0;accent-color:var(--button)}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);margin:12px 0 0}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}#password-submit{margin-top:20px}#heading:focus{outline:none}#progress{color:var(--muted);font-size:.9rem}#sessions{list-style:none;padding:0}#sessions li,#passkeys li{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}#sessions li>div,#passkeys li>div{min-width:0;flex:1}#sessions strong,#sessions small,#passkeys strong,#passkeys small{display:block;overflow-wrap:anywhere}#sessions small,#passkeys small{font-size:.85rem;color:var(--muted);line-height:1.5;margin-top:6px}#sessions button,#passkeys button{min-height:44px;font-size:.9rem;background:transparent;color:var(--ink);border:1px solid var(--line);padding:8px 12px}.codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;list-style:none;gap:12px;border:1px solid var(--line);border-radius:8px}.codes li{font-family:monospace;overflow-wrap:anywhere}footer{font-size:.85rem}h1{overflow-wrap:anywhere}button,a,summary{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}@media(max-width:380px){.codes{grid-template-columns:1fr}.card{padding:24px 18px}}@media(prefers-reduced-motion:no-preference){.card>div:not([hidden]),.card>form:not([hidden]){animation:opid-enter .15s ease-out}@keyframes opid-enter{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}}
header{padding:20px 24px}main{padding:12px 20px 36px}.card{padding:26px}h1{font-size:1.6rem}label{margin-top:14px}.hint{margin:8px 0}.primary,.passkey-button{margin-top:12px}#password-submit{margin-top:16px}details{margin-top:14px}#cancel-request{padding:8px 0;margin:0 0 12px}
/* Progressive sign-in: one primary action, secondary help on demand. */
#email-continue{margin-top:18px}
.selected-email{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 22px;color:var(--muted);font-size:.95rem}
#selected-email{min-width:0;overflow-wrap:anywhere}
.edit-email{background:transparent;color:var(--ink);padding:8px 0 8px 8px;font-size:.85rem;flex:none;text-decoration:underline;text-underline-offset:3px}
.passkey-choice{display:flex;align-items:center;gap:4px;margin-top:16px}
.passkey-choice .passkey-button{margin:0;background:transparent;border-color:transparent;font-weight:500;padding:10px 4px;flex:1}
#login-alternatives{margin-top:8px;border:0}
#login-alternatives>summary{text-align:center;list-style:none;font-size:.85rem}
#login-alternatives>summary::-webkit-details-marker{display:none}


.session-preference{display:flex;align-items:center;justify-content:space-between;gap:4px}
.session-preference .checkbox{font-size:.9rem;margin:12px 0}
.opid-brand-text{display:inline;white-space:nowrap}
.opid-brand-text opid-mark{display:inline-block;font:inherit;color:inherit;width:1em;height:1em;margin-right:.28em;vertical-align:-.125em;line-height:1;--opid-mark-size:1em}
:root[data-theme="dark"]{color-scheme:dark;--bg:#0b100d;--card:#141b17;--ink:#eef4ef;--muted:#afbeb2;--line:#334139;--button:#94cf9b;--button-ink:#102416}
:root[data-theme="light"]{color-scheme:light}
@property --opid-theme-reveal{syntax:'<percentage>';inherits:false;initial-value:0%}
@media(prefers-reduced-motion:no-preference){
  .ambient-background{view-transition-name:theme-background}
  main{view-transition-name:theme-foreground}
  ::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
  ::view-transition-group(theme-background),::view-transition-group(theme-foreground){animation:none}
  ::view-transition-group(theme-background){z-index:1}
  ::view-transition-group(theme-foreground){z-index:2}
  ::view-transition-image-pair(theme-background),::view-transition-image-pair(theme-foreground){isolation:isolate}
  ::view-transition-old(theme-background),::view-transition-old(theme-foreground){animation:none;mix-blend-mode:normal}
  /* Keep the curved boundary behind the form so it never slices through text. */
  ::view-transition-new(theme-background){mask-image:radial-gradient(ellipse max(1%,var(--opid-theme-reveal)) max(1%,var(--opid-theme-reveal)) at var(--opid-sweep-origin,-25% -20%),#000 calc(100% - 24px),transparent 100%);mask-repeat:no-repeat}
  ::view-transition-new(theme-background){animation:theme-diagonal-sweep 1.2s cubic-bezier(.42,0,.38,1) both;mix-blend-mode:normal}
  ::view-transition-new(theme-foreground){animation:theme-card-blend .42s .18s ease-in-out both;mix-blend-mode:normal}
  @keyframes theme-diagonal-sweep{
    from{--opid-theme-reveal:0%}
    to{--opid-theme-reveal:185%}
  }
  @keyframes theme-card-blend{from{opacity:0}to{opacity:1}}
  @supports not (view-transition-name:root){:root,.card,input,.password-field,.about-dialog{transition:background-color .32s ease,color .32s ease,border-color .32s ease}}
}
/* Dashboard themes blend in place, with a small cadence from chrome to content. */
@media(prefers-reduced-motion:no-preference){
  :root[data-theme-transition="dashboard"] .dashboard-topbar{view-transition-name:dashboard-header}
  :root[data-theme-transition="dashboard"] .dashboard-sidebar{view-transition-name:dashboard-navigation}
  :root[data-theme-transition="dashboard"] .dashboard-content{view-transition-name:dashboard-content}
  :root[data-theme-transition="dashboard"]::view-transition{pointer-events:none}
  :root[data-theme-transition="dashboard"]::view-transition-group(*){animation:none}
  :root[data-theme-transition="dashboard"]::view-transition-image-pair(*){isolation:isolate}
  :root[data-theme-transition="dashboard"]::view-transition-old(*){animation:none;mix-blend-mode:normal}
  :root[data-theme-transition="dashboard"]::view-transition-new(*){animation:dashboard-theme-blend .42s cubic-bezier(.22,1,.36,1) both;mix-blend-mode:normal}
  :root[data-theme-transition="dashboard"]::view-transition-new(dashboard-navigation){animation-delay:40ms}
  :root[data-theme-transition="dashboard"]::view-transition-new(dashboard-content){animation-delay:80ms}
  @keyframes dashboard-theme-blend{from{opacity:0}to{opacity:1}}
  @supports not (view-transition-name:root){
    body[data-view="dashboard"],body[data-view="dashboard"] :is(.dashboard-topbar,.dashboard-sidebar,.dashboard-panel,.dashboard-profile-menu,input,button,a){transition:background-color .32s ease,color .32s ease,border-color .32s ease}
  }
}
.options-row{position:relative}
.options-row>details:not(.info)>summary{padding-right:54px;justify-content:flex-start}
.theme-toggle{position:absolute;right:0;top:0;width:44px;height:44px;padding:10px;background:transparent;color:var(--muted);perspective:200px}
.theme-toggle svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle:hover{color:var(--ink);background:var(--bg)}
@media(prefers-reduced-motion:no-preference){.theme-toggle svg{animation:theme-flip .28s ease-out}@keyframes theme-flip{from{opacity:.3;transform:rotateY(-90deg)}to{opacity:1;transform:rotateY(0)}}}
.info{position:relative;margin:0;border:0;flex:0 0 44px}
.info>summary{display:flex;align-items:center;justify-content:center;list-style:none;padding:0;width:44px;height:44px;color:var(--muted)}
.info>summary::-webkit-details-marker{display:none}
.info>summary span{display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:18px;height:18px;font-size:12px;font-weight:600;font-family:ui-serif,Georgia,serif}
.info>p{display:block;position:absolute;right:0;bottom:calc(100% + 4px);z-index:2;width:240px;max-width:calc(100vw - 64px);margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);box-shadow:0 6px 24px #0002;font-size:.85rem;line-height:1.5}
/* Shared tooltip motion: keep the surface rendered so both entry and exit animate. */
[role="tooltip"]{opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition:opacity .18s ease,transform .18s cubic-bezier(.22,1,.36,1),visibility 0s linear .18s}
.info[open]>[role="tooltip"],.info:focus-within>[role="tooltip"],[role="tooltip"][data-open="true"]{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition-delay:0s}
.info::details-content{height:auto;overflow:visible;content-visibility:visible;transition:none}
@media(hover:hover){.info:hover>[role="tooltip"]{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition-delay:0s}}
.info.dismissed>[role="tooltip"]{opacity:0;visibility:hidden;transform:translateY(4px);pointer-events:none;transition-delay:0s,0s,.18s}
/* Equal header/footer space keeps the form centered in the viewport. */
body{min-height:100svh;min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto}
header,footer{width:100%;min-height:72px;margin:0 auto;padding:20px 24px}
header{display:flex;align-items:center}footer{align-items:center}
main{align-items:center;padding:24px 20px;min-height:0}
.card{height:auto;align-self:center}
.card-content{display:flow-root}
.card.is-resizing{overflow:clip}
@media(max-width:380px){header,footer{padding:16px;min-height:64px}main{padding:16px 12px}}
/* A restrained sheen, raised surface, and short press response. */
.primary,opid-sign-in{position:relative;isolation:isolate;overflow:hidden;border-radius:8px}
.primary::after,opid-sign-in::after{content:'';position:absolute;inset:-40% -70%;pointer-events:none;background:linear-gradient(110deg,transparent 35%,#ffffff08 42%,#ffffff55 50%,#ffffff08 58%,transparent 65%);transform:translateX(-65%);opacity:0;z-index:1}
@media(prefers-reduced-motion:no-preference){
  .card-content>div:not([hidden]),.card-content>form:not([hidden]),#password-step:not([hidden]),#email-step:not([hidden]){animation:opid-content-in .28s cubic-bezier(.22,1,.36,1) both}
  @keyframes opid-content-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
  details:not(.info)::details-content{transition:height .3s cubic-bezier(.22,1,.36,1),content-visibility .3s allow-discrete}
  .primary{transition:transform .18s ease,box-shadow .25s ease,filter .25s ease}
  .primary:not(:disabled):hover,.primary:not(:disabled):focus-visible{transform:translateY(-1px);box-shadow:0 5px 20px color-mix(in srgb,var(--button) 20%,transparent);filter:brightness(1.05)}
  .primary:not(:disabled):active{transform:translateY(0) scale(.985);box-shadow:none}
  .primary:not(:disabled):hover::after,.primary:not(:disabled):focus-visible::after,opid-sign-in:not([disabled]):not([loading]):hover::after,opid-sign-in:not([disabled]):not([loading]):focus-within::after{animation:opid-sheen .75s cubic-bezier(.2,.7,.3,1) both}
  @keyframes opid-sheen{0%{transform:translateX(-65%);opacity:0}18%{opacity:.8}80%{opacity:.6}100%{transform:translateX(65%);opacity:0}}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
header,footer{height:80px;min-height:80px}
@media(max-width:380px){header,footer{height:72px;min-height:72px}}
opid-sign-in:focus-within{outline:3px solid #6aaa78;outline-offset:3px}
/* Visible, actionable failures stay in place until the next attempt. */
:root{--error:#a83235;--error-bg:#fff3f2;--dashboard-subtle:#e9eee9}@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--error:#ff9e9e;--error-bg:#321e20;--dashboard-subtle:#24302a}}:root[data-theme="dark"]{--dashboard-subtle:#24302a}
#status[data-error]{color:var(--error);background:var(--error-bg);border:1px solid color-mix(in srgb,var(--error) 35%,transparent);border-left:3px solid var(--error);border-radius:9px;font-size:.9rem;line-height:1.5}
#status[data-error]:focus{outline:none}
.password-field:has(input[aria-invalid=true]),.code-entry:has(input[aria-invalid=true]) .code-slots>span[data-code-slot]{border-color:var(--error)}
/* Six keycaps, one accessible native input. */
.code-entry{position:relative;margin:18px 0 22px;min-height:60px}
.code-entry>input{position:absolute;inset:0;z-index:1;width:100%;height:100%;opacity:1;color:transparent;caret-color:transparent;background:transparent;border:0;box-shadow:none;padding:0;letter-spacing:0;outline:none;-webkit-text-fill-color:transparent}
.code-entry>input::selection{color:transparent;background:transparent}
.code-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 10px repeat(3,minmax(0,1fr));gap:7px;pointer-events:none}
.code-slots>span[data-code-slot]{position:relative;display:grid;place-items:center;height:60px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:1.5rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);box-shadow:inset 0 1px 2px #0001;transition:border-color .18s,box-shadow .18s,background .18s,opacity .18s}
.code-divider{display:grid;place-items:center;color:var(--muted)}.code-divider:after{content:'';width:6px;height:2px;border-radius:2px;background:currentColor;opacity:.6}
.code-slots>span.active{border-color:#6aaa78;box-shadow:0 0 0 3px #6aaa7826;background:var(--card)}
.code-slots>span.active:empty:after{content:'';height:22px;width:2px;background:#6aaa78;animation:opid-caret 1s steps(1) infinite}
.code-slots>span.filled{border-color:color-mix(in srgb,var(--ink) 35%,var(--line))}
.code-entry.recovery-mode>input{position:static;color:var(--ink);caret-color:auto;background:var(--bg);border:1px solid var(--line);padding:12px;-webkit-text-fill-color:var(--ink)}
.code-entry.recovery-mode>input:focus-visible{outline:3px solid #6aaa78;outline-offset:3px}
.code-mode{display:block;margin:8px auto 0;color:var(--muted);background:transparent;font-size:.85rem;font-weight:500;padding:12px}
@keyframes opid-caret{50%{opacity:0}}
@media(max-width:380px){.code-slots{gap:5px;grid-template-columns:repeat(3,minmax(0,1fr)) 6px repeat(3,minmax(0,1fr))}.code-slots>span[data-code-slot]{height:54px;border-radius:8px;font-size:1.35rem}}
/* A single identity unfolds into verification, then holds a quiet rhythm. */
.signing-scene{text-align:center;padding:28px 0 20px}
.identity-animation{height:172px;position:relative;display:flex;justify-content:center;align-items:flex-start;padding-top:8px}
.identity-tile{position:relative;width:78px;height:78px;border-radius:20px;display:grid;place-items:center;background:var(--bg);box-shadow:0 10px 28px #0001;overflow:hidden;z-index:1}
.identity-tile>span{font-size:2.6rem;font-weight:500;line-height:1;color:var(--ink)}
.identity-tile svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#6aaa78;stroke-width:2;stroke-linecap:round}
.tile-light{position:absolute;inset:-50%;background:linear-gradient(110deg,transparent 35%,#94cf9b44 50%,transparent 65%);transform:translateX(-100%);opacity:0}
.identity-halo{position:absolute;top:-18px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,#6aaa7829,transparent 70%)}
.identity-slots{position:absolute;bottom:18px;display:flex;gap:8px}
.identity-slots>span{height:28px;width:20px;border:1px solid var(--line);border-radius:6px;background:var(--bg);position:relative}
.identity-slots>span:nth-child(3){margin-right:7px}
.scene-label{margin:4px 0 6px;color:var(--ink);font-size:1.1rem;font-weight:600;letter-spacing:-.02em}
.scene-detail{margin:0;font-size:.85rem}
/* Verification feedback stays in the action instead of shifting the form. */
.primary.is-pending{display:inline-flex;align-items:center;justify-content:center;gap:10px;opacity:1;cursor:wait}
/* A submitted code stays in place, quietly locked, until the next page takes over. */
.code-entry>input[data-submitted]{cursor:wait}
.code-entry>input[data-submitted]~.code-slots>span[data-code-slot]{opacity:.7;border-color:var(--line)}
.code-entry>input[data-submitted]~.code-slots>span.active{box-shadow:none;background:var(--bg)}
.email-code-input[data-submitted],#totp-code[data-submitted]{opacity:.7;cursor:wait}
@media(prefers-reduced-motion:no-preference){.email-code-input,#totp-code{transition:opacity .18s ease}}
.button-spinner{width:16px;height:16px;flex:none;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;opacity:.8}
@media(prefers-reduced-motion:no-preference){.button-spinner{animation:verification-spin .85s linear infinite}@keyframes verification-spin{to{transform:rotate(360deg)}}}
@media(prefers-reduced-motion:no-preference){
  [data-phase=intro] .identity-tile{animation:identity-arrive 2.2s cubic-bezier(.22,1,.36,1) both}
  [data-phase=intro] .identity-tile svg rect{stroke-dasharray:370;animation:identity-outline 2.2s cubic-bezier(.22,1,.36,1) both}
  [data-phase=intro] .tile-light{animation:identity-light 2.2s ease both}
  [data-phase=intro] .identity-slots>span{animation:identity-slot-in .7s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(1.2s + var(--slot) * .09s)}
  .identity-slots>span:nth-child(1){--slot:0}.identity-slots>span:nth-child(2){--slot:1}.identity-slots>span:nth-child(3){--slot:2}.identity-slots>span:nth-child(4){--slot:3}.identity-slots>span:nth-child(5){--slot:4}.identity-slots>span:nth-child(6){--slot:5}
  [data-phase=waiting] .identity-halo{animation:identity-breathe 2.4s ease-in-out infinite}
  [data-phase=waiting] .identity-slots>span{animation:identity-wait 2.4s ease-in-out infinite;animation-delay:calc(var(--slot) * .12s)}
  @keyframes identity-arrive{0%{opacity:0;transform:translateY(16px) scale(.86)}35%{opacity:1;transform:translateY(0) scale(1)}70%{transform:translateY(-4px) scale(1.02)}100%{opacity:1;transform:translateY(0) scale(1)}}
  @keyframes identity-outline{0%{stroke-dashoffset:370;opacity:.2}60%,100%{stroke-dashoffset:0;opacity:1}}
  @keyframes identity-light{0%,30%{opacity:0;transform:translateX(-100%)}45%{opacity:.9}80%,100%{opacity:0;transform:translateX(100%)}}
  @keyframes identity-slot-in{from{opacity:0;transform:translateY(-20px) scale(.6)}to{opacity:1;transform:translateY(0) scale(1)}}
  @keyframes identity-breathe{0%,100%{opacity:.55;transform:scale(.95)}50%{opacity:1;transform:scale(1.1)}}
  @keyframes identity-wait{0%,70%,100%{border-color:var(--line);background:var(--bg);transform:translateY(0)}30%{border-color:#6aaa78;background:#6aaa7820;transform:translateY(-3px)}}
}
@media(prefers-reduced-motion:no-preference){[data-phase=intro] .identity-slots>span{animation-delay:calc(1s + var(--slot) * .09s)}}
/* Background session checks stay outside the document layout. */
.boot-status{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:10;display:flex;align-items:center;gap:8px;padding:9px 12px;color:var(--muted);background:var(--card);border:1px solid var(--line);border-radius:10px;box-shadow:0 3px 14px #00008;font-size:.78rem;pointer-events:none}
.boot-dot{width:5px;height:5px;border-radius:50%;background:#6aaa78}
@media(prefers-reduced-motion:no-preference){.boot-status{animation:boot-notice-in .18s ease-out both}.boot-dot{animation:boot-notice-pulse 1.6s ease-in-out infinite}@keyframes boot-notice-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes boot-notice-pulse{50%{opacity:.4}}}
#login[data-initializing] button:disabled{opacity:1}
/* Passkey first, email as an obvious fallback, compact secondary controls. */
.passkey-choice{margin-top:22px;margin-bottom:4px;gap:6px}
.passkey-choice .passkey-button{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;background:var(--button);color:var(--button-ink);border-color:transparent;font-weight:600;min-height:50px}
.passkey-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;flex:none}
.login-divider{font-size:.8rem;margin:20px 0 14px;gap:14px}
#email-step>label{font-size:.88rem;margin-top:0}
#email-continue{background:transparent;color:var(--ink);border-color:var(--line);box-shadow:none;font-weight:500}
#email-continue:hover:not(:disabled){background:var(--bg)}
details:not(.info)>summary{display:flex;align-items:center;gap:8px;list-style:none;font-size:.85rem;padding:12px 0;min-height:44px}
details:not(.info)>summary::-webkit-details-marker{display:none}
.options-chevron{display:block;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;transition:transform .2s ease}
details[open]>summary>.options-chevron{transform:rotate(180deg)}
#login-alternatives{margin-top:12px}
#login-alternatives>summary{justify-content:flex-start;text-align:left}
#login-alternatives>summary:after{content:none}
#login-alternatives .secondary{margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;text-align:left;font-size:.9rem;color:var(--ink);font-weight:500;background:var(--bg)}
#login-alternatives .secondary:hover:not(:disabled){border-color:var(--muted)}
#login-alternatives .session-preference{margin-top:8px;padding-left:2px}
#login-alternatives .session-preference .checkbox{margin:0;font-size:.85rem;align-items:center}
#login-alternatives .checkbox input{margin:0;width:17px;flex-basis:17px;min-height:17px}
#login-alternatives .session-preference .info{flex-basis:36px}
#login-alternatives .session-preference .info>summary{width:36px;height:36px;min-height:36px}
/* Once email is chosen, let the password submit be the primary action. */
#login:has(#password-step:not([hidden])) .passkey-choice .passkey-button{background:transparent;color:var(--ink);border-color:var(--line);box-shadow:none}
/* Keep the identity and About controls directly beneath the form. */
@font-face{font-family:Raleway;font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/raleway-latin-wght-normal.woff2') format('woff2')}
:root{--font:Raleway,ui-sans-serif,system-ui,sans-serif;font-family:var(--font)}
opid-sign-in,opid-lockup,opid-mark,opid-authenticator-setup{--opid-font:var(--font)}
#heading{text-align:center}
.auth-invite{text-align:center;font-size:.85rem;line-height:1.6;margin:8px 0 24px}
.auth-invite a{font-weight:600;text-decoration:none;display:inline-block;text-underline-offset:3px}
.auth-invite a:hover{text-decoration:underline}
#signup-form>label:first-child{margin-top:0}
#signup-form>.primary{margin-top:18px}
@media(prefers-reduced-motion:no-preference){
  :root[data-auth-transition] .card-content{view-transition-name:auth-content}
  :root[data-auth-transition] main,:root[data-auth-transition] .ambient-background{view-transition-name:none}
  ::view-transition-old(auth-content){animation:auth-page-out .22s ease both}
  ::view-transition-new(auth-content){animation:auth-page-in .3s cubic-bezier(.22,1,.36,1) both}
  :root{--auth-slide:18px}
  :root[data-auth-direction=back]{--auth-slide:-18px}
  @keyframes auth-page-out{to{opacity:0;transform:translateX(calc(-1 * var(--auth-slide)))}}
  @keyframes auth-page-in{from{opacity:0;transform:translateX(var(--auth-slide))}to{opacity:1;transform:none}}
}
body{display:block}
/* Soft sage light drifts behind the form without moving the page layout. */
.ambient-background{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:var(--bg)}
.ambient-background::before,.ambient-background::after{content:'';position:absolute;width:min(900px,140vw);height:min(900px,140vw);border-radius:50%;background:radial-gradient(ellipse at center,color-mix(in srgb,#6aaa78 16%,transparent),transparent 68%)}
.ambient-background::before{top:calc(50% - 600px);left:calc(50% - 650px)}
.ambient-background::after{bottom:calc(50% - 630px);right:calc(50% - 680px);background:radial-gradient(ellipse at center,color-mix(in srgb,#94cf9b 12%,transparent),transparent 68%)}
main{position:relative}
@media(prefers-reduced-motion:no-preference){
  .ambient-background::before{animation:ambient-drift 28s ease-in-out infinite alternate}
  .ambient-background::after{animation:ambient-drift 34s ease-in-out -12s infinite alternate-reverse}
  @keyframes ambient-drift{from{transform:translate(-24px,-16px) scale(.96)}to{transform:translate(42px,32px) scale(1.08)}}
}
@media(max-width:600px){.ambient-background::before{top:-120px;left:-180px}.ambient-background::after{bottom:-120px;right:-180px}}
main{min-height:100svh;min-height:100dvh;padding:80px 20px;align-items:center}
.sign-in-shell{position:relative;width:min(100%,440px);min-width:0}
.sign-in-shell .card{width:100%}
.sign-in-footer{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;min-width:0;height:auto;min-height:0;padding:14px 4px;margin:0}
.sign-in-footer-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 14px;max-width:100%;min-width:0}
.sign-in-footer-links>a,#about-open{display:inline-flex;align-items:center;min-height:30px;background:transparent;color:var(--muted);font-size:.75rem;font-weight:400;line-height:1.3;padding:6px 0;margin:0;text-align:left;white-space:nowrap;text-decoration:none}
.sign-in-footer-links>a:hover,#about-open:hover{color:var(--ink)}
.brand-link{display:block;flex:none;height:30px;text-decoration:none}
.brand-link opid-lockup{display:block;width:auto;font:650 14px/1.4 Inter,ui-sans-serif,system-ui,sans-serif;color:var(--ink)}
.about-dialog{width:min(400px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:28px;border:1px solid var(--line);border-radius:18px;background:var(--card);color:var(--ink);box-shadow:0 24px 80px #0003;margin:auto}
.about-dialog::backdrop{background:#07140d55;backdrop-filter:blur(4px)}
.about-dialog h2{font-size:1.25rem;margin:0 32px 18px 0;letter-spacing:-.025em}
.about-dialog p{font-size:.95rem;line-height:1.65;margin:12px 0}
.about-dialog>a{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem;margin-top:6px}
.about-close{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:44px;height:44px;padding:12px;background:transparent;color:var(--muted)}
.about-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.dashboard-only{display:none}
body[data-view="dashboard"]{--bg:#f5f5f7;--card:#fff;--ink:#1d1d1f;--muted:#737378;--line:#e9e9ed;--button:#1d1d1f;--button-ink:#fff;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:var(--dashboard-color-scheme);--dashboard-color-scheme:light;--dashboard-sidebar:#f0f0f3;--dashboard-subtle:#ededf1;--dashboard-hover:#ececef}
body[data-view="dashboard"] .ambient-background,body[data-view="dashboard"] .sign-in-footer,body[data-view="dashboard"] #heading,body[data-view="dashboard"] #account-email{display:none}
body[data-view="dashboard"] main{display:block;padding:0;view-transition-name:none}
body[data-view="dashboard"] .sign-in-shell{width:100%;max-width:none}
body[data-view="dashboard"] .card{border:0;border-radius:0;padding:0;background:transparent;width:100%;height:auto!important;overflow:visible}
body[data-view="dashboard"] .card-content{overflow:visible}
body[data-view="dashboard"] .dashboard-only{display:block}
body[data-view="dashboard"] .dashboard-topbar{display:flex;align-items:center;justify-content:space-between;height:88px;padding:0 48px;background:var(--card);border-bottom:1px solid var(--line)}
.dashboard-brand{font-size:17px;font-weight:650;color:var(--ink);text-decoration:none}
.dashboard-brand opid-lockup{font:600 17px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}
.dashboard-avatar-link{text-decoration:none;border-radius:50%}
.dashboard-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(140deg,#e5e7ea,#cfd3d9);color:#505760;font-size:14px;font-weight:600;overflow:hidden;letter-spacing:.03em}
.dashboard-avatar img{width:100%;height:100%;object-fit:cover}
.dashboard-avatar.large{width:64px;height:64px;font-size:21px}
body[data-view="dashboard"] .dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 236px;gap:56px;max-width:1392px;margin:auto;padding:48px}
.dashboard-content{min-width:0}
.dashboard-hero{margin:0 0 36px}
.dashboard-hero h1{font-size:36px;font-weight:600;letter-spacing:-.045em;margin:0 0 10px;line-height:1.15}
.dashboard-hero>p:last-child{font-size:15px;margin:0}
body[data-view="dashboard"] .dashboard-panel{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 3px 12px #1d1d1f03;scroll-margin-top:28px}
body[data-view="dashboard"] .dashboard-profile{display:flex;align-items:center;gap:20px;margin-bottom:24px}
.dashboard-profile h2{margin:4px 0;font-size:19px;font-weight:600;letter-spacing:-.02em}
.dashboard-profile p{margin:0;font-size:13px}
.dashboard-profile-badge{margin-left:auto;align-self:center;padding:6px 10px;border-radius:20px;background:var(--bg);font-size:11px;color:var(--muted);white-space:nowrap}
body[data-view="dashboard"] .dashboard-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}
.dashboard-panel-icon{width:40px;height:40px;padding:10px;border-radius:12px;background:var(--bg);color:var(--muted);margin-bottom:22px}
.dashboard-panel-icon svg,.dashboard-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
body[data-view="dashboard"] .dashboard-security-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:22px}
body[data-view="dashboard"] .dashboard-security-heading .dashboard-panel-icon{flex:0 0 44px;width:44px;height:44px;padding:12px;margin:0}
.dashboard-security-copy{min-width:0}
body[data-view="dashboard"] .dashboard-security-copy h2{margin:1px 0 8px}
.dashboard-security-copy p{font-size:13px;line-height:1.65;margin:0;color:var(--muted)}
.session-browser-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:var(--card);color:var(--muted)}
.session-browser-icon svg{display:block;width:28px;height:28px}
.profile-editor{width:min(820px,calc(100% - 32px));max-height:90dvh;padding:0;overflow:auto;background:var(--card);color:var(--ink)}
.profile-quick-editor{width:min(420px,calc(100% - 32px));padding:28px}
.profile-quick-editor h2{margin-bottom:24px}
.profile-quick-identity{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.profile-quick-identity p{font-size:13px;overflow-wrap:anywhere;margin:0;min-width:0}
.profile-manage-link{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border:1px solid var(--line);border-radius:10px;text-decoration:none;font-size:14px;margin-top:24px}
.profile-manage-link:hover{background:var(--bg)}
#profile-quick-status:empty{display:none}
#profile-quick-status{font-size:13px;color:#a83235}
:root[data-theme-sweep="dark"] #profile-quick-status{color:#ff9e9e}
.profile-manager{max-width:980px;margin:auto}
.profile-manager-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}
.profile-manager-heading h1{font-size:32px;margin-bottom:10px}
.profile-manager-heading p{font-size:14px;margin:0}
.profile-back-link{font-size:13px;white-space:nowrap;min-height:40px;display:flex;align-items:center}
.profile-manager form{border:1px solid var(--line);border-radius:18px;background:var(--card);overflow:hidden}
.profile-manager .profile-editor-body{padding:0 28px 24px}
.profile-manager h3{font-size:18px;font-weight:600;margin:0 0 20px}
.profile-manager label{font-size:13px}
.profile-manager input:not([type=file]),.profile-manager textarea{margin:0;background:var(--bg);border-radius:10px;width:100%;font:inherit;font-size:14px;color:var(--ink);border:1px solid var(--line);padding:12px;min-width:0}
.profile-manager textarea{resize:vertical;min-height:108px;line-height:1.6}
.profile-manager .profile-email{font-size:14px;overflow-wrap:anywhere;margin:12px 0;color:var(--muted)}
.profile-manager .profile-custom-section{border:0}
.profile-tabs{display:flex;gap:4px;padding:12px 0;border-bottom:1px solid var(--line);overflow:auto}
.profile-tabs [role=tab]{flex:none;min-height:42px;font-size:13px;font-weight:500;background:transparent;color:var(--muted);border-radius:9px;padding:10px 14px}
.profile-tabs [aria-selected=true]{color:var(--ink);background:var(--bg);font-weight:600}
.profile-tabs [role=tab]:hover{color:var(--ink)}
.profile-navigation{display:flex;align-items:center;gap:16px;margin:0 28px;border-bottom:1px solid var(--line)}
.profile-navigation .profile-tabs{border:0;min-width:0;flex:1}
.oneprofile-open{flex:none;text-decoration:none;color:var(--ink);font-size:13px;font-weight:600;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px 16px}
.oneprofile-open[aria-current=page]{background:var(--ink);color:var(--card)}
#oneprofile-builder{padding:28px}
.oneprofile-heading h2{font-size:24px;margin:0 0 8px}
.oneprofile-heading p{font-size:14px;margin:0 0 28px}
.oneprofile-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:32px;align-items:start}
.oneprofile-controls>label{margin-bottom:18px}
.oneprofile-address{font-size:13px;overflow-wrap:anywhere;margin:-10px 0 10px;color:var(--muted)}
.oneprofile-controls>a{display:inline-block;font-size:13px;color:var(--ink);margin-bottom:20px}
.oneprofile-controls label{display:block;font-size:13px}
.oneprofile-controls label input{display:block;margin-top:8px!important}
.oneprofile-add{padding:20px;border:1px solid var(--line);border-radius:14px;margin:24px 0;background:var(--bg);display:grid;gap:14px}
.oneprofile-add h3,.oneprofile-preview>h3{font-size:16px;margin:0}
.oneprofile-add select{font:inherit;font-size:14px;padding:12px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:10px;width:100%}
.oneprofile-add button{margin:0;width:auto;font-size:13px;padding:12px}
.oneprofile-block{display:flex;gap:12px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;background:var(--bg)}
.oneprofile-block.dragging{opacity:.4}
.oneprofile-drag{cursor:grab;font-size:24px;color:var(--muted);background:transparent;touch-action:none;padding:4px;margin:0;width:28px;flex:none}
.oneprofile-drag:active{cursor:grabbing}
.oneprofile-block>div:first-of-type{flex:1;min-width:0}
.oneprofile-block strong{font-size:14px}
.oneprofile-block p{font-size:12px;margin:6px 0 0;overflow-wrap:anywhere}
.oneprofile-block-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:150px}
.oneprofile-block-actions button{font-size:12px;margin:0;padding:8px;width:auto;min-height:32px}
.oneprofile-block-actions button:disabled{opacity:.35}
.oneprofile-preview{position:sticky;top:24px}
.oneprofile-preview>h3{margin-bottom:16px}
.oneprofile-canvas{border:1px solid var(--line);background:var(--bg);border-radius:24px;padding:32px 24px;text-align:center;min-height:380px}
.oneprofile-canvas>img,.oneprofile-initials{width:72px;height:72px;border-radius:50%;object-fit:cover;margin:0 auto 20px}
.oneprofile-initials{display:flex;align-items:center;justify-content:center;background:var(--card);color:var(--ink);font-size:24px}
.oneprofile-canvas h2{font-size:24px;margin:0 0 12px;overflow-wrap:anywhere}
.oneprofile-canvas>p{font-size:14px;margin:0 0 24px;overflow-wrap:anywhere}
.oneprofile-preview-block{display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);background:var(--card);border-radius:14px;padding:18px;margin:12px 0;overflow-wrap:anywhere}
a.oneprofile-preview-block{display:flex;justify-content:space-between;gap:12px;align-items:center}
.oneprofile-preview-block p{font-size:13px;margin:8px 0 0}
.oneprofile-footer{display:flex;align-items:center;gap:16px;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
.oneprofile-footer .profile-editor-actions{margin:0;flex:none}
.oneprofile-status{font-size:13px;margin:0}
@media(max-width:1000px){.profile-navigation{flex-wrap:wrap;gap:0;padding-bottom:12px}.profile-navigation .profile-tabs{flex-basis:100%}.oneprofile-open{margin-left:auto}.oneprofile-layout{grid-template-columns:1fr}.oneprofile-preview{position:static}}
@media(max-width:720px){.profile-navigation{margin:0 18px}#oneprofile-builder{padding:24px 18px}.oneprofile-footer{flex-wrap:wrap}.oneprofile-footer .profile-editor-actions{margin-left:auto}.oneprofile-block{flex-wrap:wrap}.oneprofile-block-actions{max-width:none;margin-left:auto}}
.profile-manager .profile-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;position:static}
.profile-manager .profile-editor-footer .profile-editor-actions{flex:none;margin-left:auto;align-items:center}
.profile-manager #profile-editor-status{margin:0;min-width:0;line-height:1.5}
.profile-manager #profile-editor-status[data-kind=success]{color:var(--muted)}
.profile-manager .profile-custom-row{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--bg);align-items:center}
.profile-custom-summary{min-width:0}
.profile-custom-summary strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.profile-custom-summary p{font-size:13px;margin:6px 0 0;overflow-wrap:anywhere}
.profile-custom-actions{display:flex;gap:8px;align-items:center}
.profile-custom-actions button{width:auto;min-height:36px;font-size:12px;padding:8px 12px;border-radius:8px;background:var(--card);color:var(--ink);border:1px solid var(--line)}
.profile-custom-row[data-editing=false] :is(.profile-custom-input,.profile-custom-done,.profile-custom-cancel){display:none}
.profile-custom-row[data-editing=true] :is(.profile-custom-summary,.profile-custom-edit){display:none}
.profile-manager .profile-custom-row[data-editing=true]{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);align-items:end}
.profile-custom-row[data-editing=true] .profile-custom-actions{grid-column:1/-1;justify-content:flex-end}
#profile-editor-status[data-kind=success]{color:var(--muted)}
@media(max-width:720px){.profile-manager-heading{flex-direction:column;gap:8px}.profile-manager-heading h1{font-size:27px}.profile-manager .profile-editor-body{padding:0 18px 18px}.profile-manager .profile-editor-footer{padding:16px 18px}.profile-manager .profile-field-grid{grid-template-columns:1fr}.profile-manager .profile-custom-row,.profile-manager .profile-custom-row[data-editing=true]{grid-template-columns:1fr}.profile-custom-actions{flex-wrap:wrap}.profile-custom-row[data-editing=true] .profile-custom-actions{justify-content:flex-start}.profile-manager .profile-custom-heading{flex-wrap:wrap}}
.dashboard-profile-actions{margin-left:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.profile-edit-button,.profile-add-button{background:transparent;color:var(--ink);border:1px solid var(--line);padding:10px 16px;border-radius:10px;font-size:13px;min-height:42px}
.profile-edit-button:hover,.profile-add-button:hover{background:var(--dashboard-hover)}
.profile-editor-heading{position:relative;padding:28px 32px 20px;border-bottom:1px solid var(--line)}
.profile-editor-heading h2{margin:0 40px 8px 0;font-size:24px}
.profile-editor-heading p{margin:0;font-size:14px;max-width:600px}
.profile-editor-heading .about-close{top:22px;right:22px}
.profile-editor-body{padding:0 32px 28px}
.profile-editor-body section{padding:26px 0;border-bottom:1px solid var(--line)}
.profile-editor-body section:last-child{border-bottom:0}
.profile-editor h3{font-size:16px;font-weight:600;margin:0 0 18px}
.profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.profile-field-grid>div{min-width:0}
.profile-field-wide{grid-column:1/-1}
.profile-editor .profile-field-grid label,.profile-custom-row label{margin:0 0 8px}
.profile-editor input:not([type=file]),.profile-editor textarea{margin:0;background:var(--bg);border-radius:10px;width:100%;font:inherit;font-size:14px;color:var(--ink);border:1px solid var(--line);padding:12px;min-width:0}
.profile-editor textarea{resize:vertical;line-height:1.6;min-height:104px}
.profile-email-label{font-size:13px;margin:0 0 8px;color:var(--ink)}
.profile-editor .profile-email{overflow-wrap:anywhere;margin:12px 0;color:var(--muted)}
.profile-custom-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.profile-custom-heading h3{margin-bottom:8px}
.profile-custom-heading p,.profile-custom-empty{font-size:13px;margin:0}
.profile-add-button{flex:none}
.profile-custom-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;gap:14px;align-items:end;margin:18px 0}
.profile-custom-remove{background:transparent;color:var(--muted);border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12px;min-height:43px}
.profile-custom-remove:hover{color:var(--ink)}
.profile-storage-note{font-size:12px;background:var(--bg);border-radius:10px;padding:12px 14px;margin:20px 0 0}
.profile-editor-footer{position:sticky;bottom:0;padding:16px 32px 22px;background:var(--card);border-top:1px solid var(--line);z-index:1}
.profile-editor-footer .profile-editor-actions{margin:0}
@media(max-width:600px){.profile-editor{width:calc(100% - 20px);max-height:94dvh}.profile-editor-heading{padding:24px 20px 18px}.profile-editor-body{padding:0 20px 20px}.profile-editor-footer{padding:16px 20px}.profile-field-grid{grid-template-columns:1fr}.profile-custom-row{grid-template-columns:1fr}.profile-custom-remove{justify-self:start}.dashboard-profile-actions{width:100%;justify-content:flex-start;margin:0}body[data-view="dashboard"] .dashboard-profile{flex-wrap:wrap}.profile-custom-heading{align-items:flex-start;gap:12px}}
.profile-photo-controls{display:flex;align-items:center;gap:18px;margin:24px 0}
.profile-photo-label{display:inline-flex;align-items:center;min-height:32px;margin:0;font-size:13px;font-weight:550;cursor:pointer;color:var(--ink)}
.profile-photo-controls .secondary{margin:0;padding:0;min-height:28px;font-size:12px;color:var(--muted)}
.profile-editor label{font-size:13px}
.profile-editor input:not([type=file]){font-size:14px}
.profile-editor .profile-email{font-size:14px;margin:8px 0 20px;color:var(--muted)}
.profile-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.profile-editor-actions button{width:auto;margin:0;padding:10px 18px;font-size:13px;border-radius:10px}
#profile-editor-status:empty{display:none}
#profile-editor-status{font-size:13px;color:#a83235}
:root[data-theme-sweep="dark"] #profile-editor-status{color:#ff9e9e}
.profile-photo-controls:focus-within .profile-photo-label{outline:2px solid var(--muted);outline-offset:3px;border-radius:4px}
body[data-view="dashboard"] .dashboard-panel h2{font-size:18px;font-weight:600;letter-spacing:-.02em;margin:0 0 12px}
body[data-view="dashboard"] .dashboard-panel>p{font-size:13px;line-height:1.65;margin:0 0 16px}
body[data-view="dashboard"] #passkeys li,body[data-view="dashboard"] #sessions li{gap:20px;padding:18px 0;align-items:center}
body[data-view="dashboard"] #passkeys strong,body[data-view="dashboard"] #sessions strong{font-size:13px;font-weight:550}
body[data-view="dashboard"] #passkeys small,body[data-view="dashboard"] #sessions small{font-size:11px;line-height:1.7;color:var(--muted)}
body[data-view="dashboard"] #passkeys button,body[data-view="dashboard"] #sessions button{min-height:34px;font-size:11px;border-color:var(--line);border-radius:9px;padding:7px 12px;white-space:nowrap}
body[data-view="dashboard"] details{border-color:var(--line);margin-top:14px}
body[data-view="dashboard"] summary,body[data-view="dashboard"] .secondary,body[data-view="dashboard"] .reauth{font-size:12px}
body[data-view="dashboard"] .dashboard-panel .primary{font-size:13px;border-radius:10px}
.dashboard-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dashboard-sidebar{align-self:start;position:sticky;top:36px;padding-top:14px}
.dashboard-nav{display:grid;gap:6px}
.dashboard-nav a{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:450;color:var(--muted);min-height:46px}
.dashboard-nav a[aria-current]{background:var(--card);color:var(--ink);box-shadow:0 2px 8px #00000004;font-weight:550}
.dashboard-nav a:hover{background:var(--dashboard-hover);color:var(--ink)}
.dashboard-sidebar-bottom{margin:48px 16px 12px;padding-top:20px;border-top:1px solid var(--line)}
.dashboard-sidebar-bottom button{background:transparent;color:var(--muted);font-size:11px;padding:0;min-height:36px;font-weight:400}
body[data-view="dashboard"] #logout{font-size:11px;color:var(--muted);padding:0 16px;margin:0;min-height:36px}
body[data-view="dashboard"] #status:not(:empty){max-width:1050px;margin:20px auto}
@media(prefers-reduced-motion:no-preference){body[data-view="dashboard"]{scroll-behavior:smooth}.dashboard-nav a{transition:background .2s,color .2s}.dashboard-avatar-link{transition:box-shadow .2s}.dashboard-avatar-link:hover{box-shadow:0 0 0 5px var(--dashboard-hover)}}
@media(max-width:1050px){body[data-view="dashboard"] .dashboard-layout{gap:28px;padding:32px;grid-template-columns:minmax(0,1fr) 208px}body[data-view="dashboard"] .dashboard-security-grid{grid-template-columns:1fr}}
@media(max-width:720px){body[data-view="dashboard"] .dashboard-topbar{height:76px;padding:0 22px}body[data-view="dashboard"] .dashboard-layout{display:flex;flex-direction:column;padding:24px 18px;gap:24px}.dashboard-sidebar{position:static;order:-1;width:100%;padding:0}.dashboard-sidebar-bottom{display:none}.dashboard-nav{display:flex;gap:4px}.dashboard-nav a{flex:1;justify-content:center;padding:10px 8px;font-size:11px;gap:6px;white-space:nowrap}.dashboard-nav svg{width:16px;height:16px}.dashboard-hero h1{font-size:29px}.dashboard-hero{margin-bottom:24px}.dashboard-profile-badge{display:none}body[data-view="dashboard"] .dashboard-panel{padding:22px;border-radius:16px}.dashboard-profile h2{font-size:17px}}
/* Dashboard navigation occupies the left edge from the top of the page. */
body[data-view="dashboard"] #account:not([hidden]){display:grid;grid-template-columns:248px minmax(0,1fr);grid-template-rows:88px auto;min-height:100dvh}
body[data-view="dashboard"] .dashboard-layout{display:contents}
body[data-view="dashboard"] .dashboard-topbar{grid-column:2;grid-row:1;padding:0 40px}
.dashboard-header-title{font-size:14px;font-weight:550;color:var(--muted)}
.integrations-hero{text-align:center;max-width:640px;margin:40px auto 56px}
.integrations-hero h1{font-size:36px;letter-spacing:-.04em;font-weight:550;margin:0 0 14px}
.integrations-hero>p{color:var(--muted);font-size:15px;margin:0 0 28px}
.integration-search{position:relative;max-width:520px;margin:auto}
.integration-search svg{position:absolute;left:18px;top:18px;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;pointer-events:none}
.integration-search input{margin:0;width:100%;min-height:56px;padding:16px 18px 16px 50px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);font:inherit;font-size:14px}
.integration-search input:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#integrations .integrations-hero{margin-bottom:20px}#integrations .integrations-hero>p{margin-bottom:0}.integrations-tabs{justify-content:safe center;margin-bottom:28px}#integrations-panel-apps>.integration-search{margin-bottom:40px}@media(max-width:480px){.integrations-tabs [role=tab]{padding-inline:8px}}
.integration-results-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.integration-results-heading h2{font-size:18px;font-weight:550;margin:0}
#integration-count,.integration-access-note{font-size:12px;color:var(--muted)}
.integration-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.integration-invitation{border-radius:12px;background:color-mix(in srgb,#65b787 18%,var(--card));border:1px solid color-mix(in srgb,#65b787 40%,var(--line));overflow:hidden}
.integration-invitation a{display:flex;flex-direction:column;justify-content:center;min-height:100%;padding:24px;color:var(--ink);text-decoration:none}
.integration-invitation a:hover{background:color-mix(in srgb,#65b787 9%,transparent)}
.integration-invitation h3{font-size:18px;font-weight:600;letter-spacing:-.02em;margin:0 0 10px}
.integration-invitation p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.6}
.integration-invitation span{font-size:13px;font-weight:600}
.developer-back{display:inline-flex;margin-bottom:26px;font-size:13px;color:var(--muted);text-decoration:none}
.developer-hero{max-width:700px;margin-bottom:36px}
.developer-hero h1{font-size:34px;font-weight:550;letter-spacing:-.04em;margin:0 0 16px}
.developer-hero p{font-size:15px;line-height:1.7;color:var(--muted)}
.developer-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;align-items:start}
.developer-guide,.developer-request{display:grid;gap:24px;min-width:0}
.developer-steps{padding-left:22px;margin:24px 0 0}
.developer-steps li{padding-left:8px;margin-bottom:26px}
.developer-steps li:last-child{margin-bottom:0}
.developer-steps h3{font-size:15px;margin:0 0 8px;font-weight:600}
.developer-steps p,.developer-checklist{font-size:13px;line-height:1.7;color:var(--muted)}
.developer-steps p{margin:0}
.developer-checklist{padding-left:20px}
.developer-checklist li{margin-bottom:12px}
#developer-submission-form label{font-size:13px;margin-top:20px}
#developer-submission-form input,#developer-submission-form textarea{width:100%;font:inherit;font-size:13px;line-height:1.6;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--bg);color:var(--ink)}
#developer-submission-form textarea{resize:vertical;min-height:90px}
#developer-submission-status{overflow-wrap:anywhere;font-size:13px;line-height:1.6}
.developer-refresh{font-size:12px;padding:8px 12px;background:var(--bg);color:var(--ink)}
#developer-submissions{list-style:none;margin:0;padding:0}
#developer-submissions li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:16px 0;border-top:1px solid var(--line);font-size:13px}
#developer-submissions small{flex-basis:100%;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:1050px){.developer-layout{grid-template-columns:1fr}}
@media(max-width:720px){.developer-hero h1{font-size:29px}}
body[data-view="dashboard"] .integration-card{display:flex;align-items:center;gap:18px;margin:0;padding:24px}
.integration-mark{flex:0 0 40px;width:40px;height:40px;object-fit:contain;align-self:flex-start;margin-top:3px}
.flygon-square-mark{position:relative;display:block;overflow:hidden}
.flygon-square-mark img{position:absolute;width:281.69%;height:281.69%;max-width:none;left:-16.9%;top:-90.14%}
.integration-account-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.5;margin-top:12px;color:var(--muted)}
.integration-account-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
.integration-account-status[data-state="joined"]{color:var(--ink)}
.integration-account-status[data-state="joined"]:before{background:#389969}
.integration-account-status[data-state="inactive"]:before{background:#b47a31}
.integration-card h3,.integration-empty h3{margin:0 0 7px;font-size:16px;font-weight:550}
.integration-card p,.integration-empty p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.integration-access-note{margin-top:24px}
.integration-empty{text-align:center;padding:40px}
@media(max-width:720px){.dashboard-nav{flex-wrap:wrap}.dashboard-nav a{flex:1 1 40%}.integrations-hero{margin:24px auto 36px}.integrations-hero h1{font-size:29px}.integration-list{grid-template-columns:1fr}}
.dashboard-skeleton{display:none}
.connections-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.connections-heading h1{font-size:36px;letter-spacing:-.04em;margin:0 0 8px}
.connections-heading p{margin:0;color:var(--muted);font-size:14px}
.connections-heading .primary{width:auto;margin:0;padding:12px 18px;font-size:13px;border-radius:12px}
.connections-discovery{margin:28px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.connections-discovery .checkbox{margin:0;font-size:14px}
.connections-discovery .info{flex-shrink:0}
#connections-list{list-style:none;padding:0;display:grid;gap:12px}
body[data-view="dashboard"] .connection-row{display:flex;align-items:center;gap:16px;padding:20px}
.connection-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.connection-copy strong{font-size:14px;font-weight:550}
.connection-copy p{font-size:12px;margin:6px 0;color:var(--muted)}
.connection-row .secondary{width:auto;padding:8px;margin:0;font-size:12px}
.connection-match{display:inline-block;font-size:10px;color:var(--ink);border-radius:12px;padding:4px 8px;background:var(--dashboard-subtle)}
.connections-loading{display:none;margin-top:20px}
#connections[data-loading] .connections-loading{display:block}
#connections[data-loading] #connections-list,#connections[data-loading] #connections-empty{display:none!important}
#connection-notes{width:100%;font:inherit;font-size:14px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);resize:vertical}
body[data-dashboard-loading] #connections{display:none!important}
@media(max-width:720px){.connections-heading h1{font-size:28px}.connections-heading{align-items:flex-start;flex-direction:column}.connection-row{flex-wrap:wrap}.connection-copy{flex-basis:65%}}
/* Keep transition snapshots and loading layouts at the same width when page height changes. */
:root:has(body[data-view="dashboard"]){scrollbar-gutter:stable}
/* Chromium's viewport-wide snapshot includes the scrollbar gutter. Keep it from adding a horizontal scroll range. */
:root[data-dashboard-transition]{overflow-x:clip}
body[data-dashboard-loading] .dashboard-skeleton{display:block}
/* Keep the loading placeholder and every page mutually exclusive during hydration. */
body[data-dashboard-loading] .dashboard-content>:not(.dashboard-skeleton){display:none!important}
.skeleton-bar,.skeleton-circle{display:block;background:var(--dashboard-subtle);border-radius:6px;position:relative;overflow:hidden}
.skeleton-bar{height:13px;width:85%;margin:12px 0}
.skeleton-bar:nth-child(even){width:60%}
.skeleton-circle{width:44px;height:44px;flex:none;border-radius:13px}
.skeleton-row{display:flex;align-items:center;gap:16px;margin-bottom:24px}
.skeleton-row>div{flex:1}
.skeleton-hero{margin:0 0 36px}
.skeleton-hero .skeleton-bar:first-child{height:36px;width:55%}
.skeleton-hero .skeleton-bar:last-child{width:40%;height:15px}
.skeleton-profile{margin-bottom:24px}
.skeleton-profile .skeleton-row{margin:0}
.skeleton-profile .skeleton-circle{width:64px;height:64px;border-radius:50%}
.skeleton-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}
.skeleton-panel{min-height:240px}
body[data-dashboard-page="integrations"] .dashboard-skeleton .skeleton-hero{max-width:640px;margin:40px auto 56px}
body[data-dashboard-page="integrations"] .dashboard-skeleton .skeleton-hero .skeleton-bar{margin-left:auto;margin-right:auto}
body[data-dashboard-page="integrations"] .skeleton-profile{display:none}
@media(prefers-reduced-motion:no-preference){
  .skeleton-bar::after,.skeleton-circle::after{content:'';position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(100deg,transparent,var(--card),transparent);opacity:.5;animation:skeleton-shimmer 1.8s ease-in-out infinite}
  @keyframes skeleton-shimmer{to{transform:translateX(100%)}}
  :root[data-dashboard-transition] main,:root[data-dashboard-transition] .ambient-background{view-transition-name:none}
  :root[data-dashboard-transition] .dashboard-content{view-transition-name:dashboard-page}
  /* The page snapshot paints above the root snapshot, so fixed chrome left in the root
     (the phone tab bar, the header and the message launcher) slid under the outgoing and
     incoming page on every tab switch. Capture the chrome as its own layers above the page.
     The tab bar shows only its live state, so it never fades and its indicator moves in place;
     the header and launcher keep their usual crossfade. */
  :root[data-dashboard-transition] body[data-view="dashboard"] .dashboard-sidebar{view-transition-name:dashboard-tab-bar}
  :root[data-dashboard-transition] body[data-view="dashboard"] .dashboard-profile-corner{view-transition-name:dashboard-chrome-header}
  :root[data-dashboard-transition] body[data-view="dashboard"]>.dm-launcher{view-transition-name:dashboard-chrome-launcher}
  ::view-transition-group(dashboard-tab-bar),::view-transition-new(dashboard-tab-bar){animation:none}
  ::view-transition-old(dashboard-tab-bar){display:none}
  ::view-transition-old(dashboard-page){animation:dashboard-page-out .22s ease both}
  ::view-transition-new(dashboard-page){animation:dashboard-page-in .36s cubic-bezier(.22,1,.36,1) both}
  ::view-transition-group(dashboard-page){animation-duration:.36s;animation-timing-function:cubic-bezier(.22,1,.36,1)}
  @keyframes dashboard-page-out{to{opacity:0;transform:translateY(-6px)}}
  @keyframes dashboard-page-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}
@media(max-width:1050px){.skeleton-grid{grid-template-columns:1fr}}
body[data-dashboard-loading] .dashboard-profile-control{visibility:hidden}
body[data-dashboard-loading] .dashboard-sidebar #logout{display:none}
body[data-dashboard-loading] .dashboard-panel button,body[data-dashboard-loading] .dashboard-panel details,body[data-dashboard-loading] .reauth{visibility:hidden}
body[data-dashboard-loading] #dashboard-name,body[data-dashboard-loading] #dashboard-email{min-width:160px;min-height:16px;border-radius:5px;background:var(--dashboard-sidebar)}
body[data-dashboard-loading] .dashboard-profile .dashboard-avatar{background:var(--dashboard-subtle)}
body[data-dashboard-loading] #security .dashboard-panel,body[data-dashboard-loading] #devices{min-height:240px}
body[data-view="dashboard"] .dashboard-content{grid-column:2;grid-row:2;width:100%;max-width:1192px;margin:0 auto;padding:40px}
body[data-view="dashboard"] .dashboard-sidebar{grid-column:1;grid-row:1 / 3;align-self:stretch;position:relative;top:auto;padding:0 20px 32px;background:var(--dashboard-sidebar);border-right:1px solid var(--line)}
.dashboard-sidebar .dashboard-brand{display:flex;align-items:center;height:88px;margin-bottom:32px;padding:0 12px}
.dashboard-profile-control{position:relative;display:flex;align-items:center;gap:12px}
.dashboard-profile-control .theme-toggle{position:static;flex:none;border-radius:50%}
button.dashboard-avatar-link{padding:0;background:transparent;min-height:0;width:42px;height:42px}
.dashboard-profile-menu{position:fixed;inset:76px 32px auto auto;margin:0;width:216px;padding:8px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 40px #00000016;overflow:visible}
.dashboard-profile-menu a,body[data-view="dashboard"] .dashboard-profile-menu #logout{display:flex;align-items:center;width:100%;min-height:42px;margin:0;padding:10px 12px;border:0;border-radius:9px;font-size:13px;font-weight:450;color:var(--muted);text-decoration:none;background:transparent;text-align:left}
.dashboard-profile-menu a:hover,body[data-view="dashboard"] .dashboard-profile-menu #logout:hover{background:var(--dashboard-hover);color:var(--ink)}
#dashboard-signout-slot{margin-top:4px;padding-top:4px;border-top:1px solid var(--line)}
@media(prefers-reduced-motion:no-preference){
  body[data-view="dashboard"] #dashboard-profile-menu{opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1),display .2s allow-discrete,overlay .2s allow-discrete,background-color .25s ease,color .25s ease,border-color .25s ease}
  body[data-view="dashboard"] #dashboard-profile-menu:popover-open{opacity:1;transform:translateY(0) scale(1)}
  @starting-style{body[data-view="dashboard"] #dashboard-profile-menu:popover-open{opacity:0;transform:translateY(-6px) scale(.98)}}
}
@media(max-width:1050px){body[data-view="dashboard"] #account:not([hidden]){grid-template-columns:216px minmax(0,1fr)}body[data-view="dashboard"] .dashboard-content{padding:32px}}
@media(max-width:720px){
  body[data-view="dashboard"] #account:not([hidden]){grid-template-columns:1fr;grid-template-rows:76px auto auto}
  body[data-view="dashboard"] .dashboard-topbar{grid-column:1;grid-row:1;height:76px;padding:0 22px}
  body[data-view="dashboard"] .dashboard-sidebar{grid-column:1;grid-row:2;padding:14px 18px;background:var(--bg);border-right:0;border-bottom:1px solid var(--line)}
  .dashboard-sidebar .dashboard-brand{display:none}
  body[data-view="dashboard"] .dashboard-content{grid-column:1;grid-row:3;padding:24px 18px}
  .dashboard-profile-menu{top:64px;right:18px}
}
/* All native popups keep their surface and backdrop alive through the exit. */
@media(prefers-reduced-motion:no-preference){
  dialog{opacity:0;transform:translateY(8px) scale(.98);transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1),display .2s allow-discrete,overlay .2s allow-discrete}
  dialog[open]{opacity:1;transform:translateY(0) scale(1)}
  dialog::backdrop{opacity:0;transition:opacity .2s ease,display .2s allow-discrete,overlay .2s allow-discrete}
  dialog[open]::backdrop{opacity:1}
  @starting-style{dialog[open]{opacity:0;transform:translateY(8px) scale(.98)}dialog[open]::backdrop{opacity:0}}
}
@media(max-width:380px){main{padding:72px 12px}.sign-in-footer{padding:10px 2px}.brand-link opid-lockup{font-size:13px}}

/* Dashboard surfaces follow the same saved theme as sign-in. */
:root[data-theme-sweep="dark"] body[data-view="dashboard"]{--bg:#151519;--card:#202025;--ink:#f1f1f3;--muted:#b0b0b9;--line:#35353e;--button:#f1f1f3;--button-ink:#202025;--dashboard-color-scheme:dark;--dashboard-sidebar:#1b1b20;--dashboard-subtle:#303039;--dashboard-hover:#33333d}
:root[data-theme-sweep="dark"] .dashboard-avatar{background:linear-gradient(140deg,#41414d,#30303a);color:var(--ink)}

/* Provider emblems share one lazy 3D renderer; the vector stays as a fallback. */
.passkey-emblem{position:relative;display:grid;place-items:center;width:64px;height:64px;flex:0 0 64px;isolation:isolate}
.passkey-emblem:after{content:'';position:absolute;z-index:-1;bottom:1px;width:36px;height:7px;border-radius:50%;background:var(--emblem-color);opacity:.16;filter:blur(5px)}
.passkey-emblem canvas{display:block;width:100%;height:100%}
.emblem-fallback{display:grid;place-items:center;width:100%;height:100%}
.emblem-fallback svg{display:block;width:42px;height:42px}
.passkey-emblem.has-renderer .emblem-fallback{display:none}
#passkeys li.passkey-row{flex-wrap:nowrap;gap:14px}
.passkey-preview main{min-height:100svh;padding:64px 28px;align-items:center}
.preview-wrap{width:min(100%,1040px)}
.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}
.preview-heading h1{font-size:clamp(1.7rem,4vw,2.5rem);letter-spacing:-.045em}
.preview-heading p{margin:12px 0;max-width:580px}
.preview-eyebrow{font-size:.72rem;letter-spacing:.16em;font-weight:700}
.provider-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.provider-preview{display:flex;align-items:center;gap:14px;padding:22px 16px;background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 28px #10241605}
.provider-preview .passkey-emblem{width:84px;height:84px;flex-basis:84px}
.provider-preview h2{font-size:.95rem;margin:0;line-height:1.4}
.provider-preview p{font-size:.76rem;margin:5px 0 0;line-height:1.5}
@media(max-width:850px){.provider-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.passkey-preview main{padding:32px 18px}.provider-gallery{grid-template-columns:1fr}.provider-preview{padding:14px 18px}.passkey-row .passkey-emblem{width:48px;height:48px;flex-basis:48px}#passkeys li.passkey-row{gap:10px}}
.preview-heading .theme-toggle{position:static;flex:0 0 44px;align-self:flex-start;margin-top:8px}

.remove-control{position:relative;display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;overflow:visible}
.remove-button,#passkeys .remove-button{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;color:var(--muted);background:transparent}
.remove-button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.remove-button:hover,#passkeys .remove-button:hover{color:#cc4a50;background:#cc4a5010}
.remove-tooltip{position:absolute;bottom:calc(100% + 7px);right:-8px;z-index:10;white-space:nowrap;padding:7px 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--card);box-shadow:0 5px 18px #0002;font-size:.75rem;line-height:1.4;font-weight:600}
.remove-tooltip:after{content:'';position:absolute;top:100%;right:21px;width:6px;height:6px;background:var(--card);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:translateY(-3px) rotate(45deg)}
.remove-control:focus-within .remove-tooltip{opacity:1;visibility:visible;transform:none;transition-delay:0s}
@media(hover:hover){.remove-control:hover .remove-tooltip{opacity:1;visibility:visible;transform:none;transition-delay:0s}}
.remove-control.dismissed .remove-tooltip{opacity:0;visibility:hidden;pointer-events:none}
.provider-preview>div{flex:1;min-width:0}
.provider-preview{gap:10px}
.provider-preview .passkey-emblem{width:64px;height:64px;flex-basis:64px}
@media(prefers-reduced-motion:reduce){.remove-tooltip{transition:none}}

.integration-card>div:not(.integration-actions){flex:1;min-width:0}
.integration-actions{display:flex;flex:0 0 auto;gap:4px;align-self:flex-start}
.integration-action-wrap{display:inline-flex;position:relative}
.integration-action{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted);text-decoration:none}
.integration-action svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.integration-action:hover{background:var(--bg);color:var(--ink)}
.integration-action-tooltip{position:absolute;bottom:calc(100% + 6px);right:0;z-index:5;white-space:nowrap;border:1px solid var(--line);border-radius:9px;padding:7px 10px;background:var(--card);color:var(--ink);box-shadow:0 6px 20px #0002;font-size:.75rem;font-weight:600}
.integration-action-wrap:focus-within [role="tooltip"]{visibility:visible;opacity:1;transform:none;transition-delay:0s}
@media(hover:hover){.integration-action-wrap:hover [role="tooltip"]{visibility:visible;opacity:1;transform:none;transition-delay:0s}}
.integration-action-wrap.dismissed [role="tooltip"]{visibility:hidden;opacity:0}
.integration-details{width:min(560px,calc(100vw - 32px));max-height:calc(100svh - 40px);overflow:auto;padding:32px}
.integration-details-heading{display:flex;align-items:center;gap:16px;padding-right:20px}
.integration-details-heading img{object-fit:contain;flex:0 0 48px}
.integration-details-heading h2{margin:0 0 6px;font-size:1.4rem}
.integration-details-heading p{margin:0;font-size:.85rem}
.integration-details section{padding:22px 0 0;margin-top:22px;border-top:1px solid var(--line)}
.integration-details h3{font-size:.95rem;margin:0 0 10px;font-weight:600}
.integration-details section p{font-size:.85rem;margin:10px 0 0}
.integration-details .integration-account-status{margin-top:0}
.integration-profile{margin:12px 0;font-size:.85rem}
.integration-profile>div{display:flex;gap:18px;padding:7px 0}
.integration-profile dt{width:60px;flex:0 0 60px;color:var(--muted)}
.integration-profile dd{margin:0;overflow-wrap:anywhere}
.integration-open-app{display:inline-flex;margin-top:18px;padding:11px 16px;border:1px solid var(--line);border-radius:10px;font-size:.85rem;text-decoration:none}
@media(prefers-reduced-motion:no-preference){.integration-details[open]{animation:integration-detail-enter .22s ease-out}@keyframes integration-detail-enter{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}}
@media(max-width:1050px){body[data-view="dashboard"] .integration-card{flex-wrap:wrap}.integration-actions{margin-left:auto}}
@media(pointer:coarse){.integration-action{width:44px;height:44px;min-height:44px}}
.integration-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));align-items:stretch}
body[data-view="dashboard"] .integration-card{display:block;min-width:0;padding:0;overflow:hidden}
.integration-card-surface{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:start;gap:16px;min-height:120px;padding:20px;color:var(--ink);text-decoration:none}
.integration-card-surface .integration-mark{margin:2px 0 0}
.integration-card-surface h3{overflow-wrap:anywhere}
.integration-card-surface p{max-width:46ch;overflow-wrap:anywhere}
.integration-card-arrow{align-self:center;justify-self:end;color:var(--muted);font-size:22px}
a.integration-card-surface:is(:hover,:focus-visible){background:var(--dashboard-hover)}
a.integration-card-surface:focus-visible{outline:2px solid var(--ink);outline-offset:-3px}
.integration-card-unavailable{background:color-mix(in srgb,var(--card) 75%,var(--bg))}
.integration-card-unavailable .integration-card-surface{grid-template-columns:44px minmax(0,1fr);color:var(--muted)}
.integration-card-unavailable .integration-mark{filter:grayscale(1);opacity:.55}
.integration-card-unavailable .integration-card-surface h3{color:var(--muted)}
.integration-card-unavailable .integration-card-surface p{opacity:.85}
.integration-card-unavailable .integration-account-status{margin-top:14px}
.integration-invitation{grid-column:1/-1}
.integration-invitation a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 18px;min-height:0;padding:20px 24px}
.integration-invitation h3{grid-column:1;margin:0;font-size:16px}
.integration-invitation p{grid-column:1;margin:0}
.integration-invitation span{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap}
@media(max-width:560px){.integration-card-surface{min-height:0;padding:18px;gap:12px}.integration-invitation a{display:flex;gap:10px;padding:20px}.integration-invitation span{margin-top:2px}}
.workspace-back{display:inline-block;margin-bottom:26px;color:var(--muted);text-decoration:none}
.workspace-heading{display:flex;align-items:center;gap:18px;margin-bottom:30px}.workspace-heading img{object-fit:contain;flex:none}.workspace-heading h1{font-size:30px;margin:0 0 8px;letter-spacing:-.035em}.workspace-heading p{margin:0;color:var(--muted)}.workspace-heading>a{margin-left:auto;flex:none}
.workspace-connection{padding:20px;margin-bottom:32px}.workspace-connection .hint{margin-bottom:0}
.workspace-records-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.workspace-records-heading h2{margin:0 0 8px;font-size:22px}.workspace-records-heading p{max-width:580px;margin:0}.workspace-records-heading button{flex:none}
.workspace-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.workspace-summary>div{padding:22px;display:flex;flex-direction:column;gap:10px}.workspace-summary strong{font-size:32px;font-weight:550}.workspace-summary span{color:var(--muted);font-size:13px}.workspace-summary meter{width:100%;height:8px;accent-color:var(--accent)}
.workspace-form{padding:24px;margin-bottom:24px}.workspace-form h2{margin:0 0 20px;font-size:20px}.workspace-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.workspace-fields label,.workspace-search{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--muted)}.workspace-fields input,.workspace-fields select,.workspace-fields textarea,.workspace-search input{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px;background:var(--surface);color:var(--ink);font:inherit}.workspace-fields label:has(textarea){grid-column:1/-1}.workspace-form-actions{display:flex;gap:12px;margin-top:22px}.workspace-search{max-width:480px}.workspace-feedback{font-size:14px;color:var(--muted)}
.workspace-list{list-style:none;padding:0;display:grid;gap:14px}.workspace-record{padding:24px;display:flex;justify-content:space-between;gap:24px}.workspace-record h3{margin:0;font-size:18px}.workspace-record p{color:var(--muted);font-size:14px}.workspace-notes{white-space:pre-wrap;overflow-wrap:anywhere}.workspace-record-actions{display:flex;align-items:flex-start;gap:8px;flex:none}.workspace-empty{padding:36px;text-align:center}.workspace-empty h3{margin:0 0 12px}.workspace-empty p{color:var(--muted)}
body[data-dashboard-loading] #integration-workspace{display:none!important}
@media(max-width:720px){.workspace-heading{flex-wrap:wrap}.workspace-heading>a{margin-left:0}.workspace-heading h1{font-size:25px}.workspace-records-heading{align-items:flex-start;flex-direction:column}.workspace-summary{gap:8px}.workspace-summary>div{padding:14px}.workspace-fields{grid-template-columns:1fr}.workspace-record{flex-direction:column}.workspace-record-actions{align-self:flex-end}}
.workspace-records-heading>div{flex:1;min-width:0}.workspace-records-heading .workspace-add{width:auto;margin:0;padding:12px 20px}.workspace-form-actions>button{width:auto;margin:0}.workspace-fields label{margin:0}.workspace-fields input,.workspace-fields select,.workspace-fields textarea,.workspace-search input{background:var(--card)}.workspace-summary meter{accent-color:var(--button)}
.campaign-baby-integration>section+section{margin-top:32px}
.campaign-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}
.campaign-section-heading h2{margin:0 0 6px;font-size:22px;letter-spacing:-.025em}
.campaign-section-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.campaign-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px}
.campaign-metric{display:flex;flex-direction:column;gap:8px;padding:22px}
.campaign-metric strong{font-size:30px;line-height:1.1;font-weight:600}
.campaign-metric span{font-size:13px;color:var(--muted)}
body[data-view="dashboard"] .campaign-activity-empty,body[data-view="dashboard"] .campaign-outreach-pending{padding:22px 24px}
.campaign-activity-empty h3,.campaign-outreach-pending h3{margin:0 0 9px;font-size:16px}
.campaign-activity-empty p,.campaign-outreach-pending p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
body[data-view="dashboard"] .campaign-activity-empty>p,body[data-view="dashboard"] .campaign-outreach-pending>p{margin:0}
.campaign-outreach-pending a{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:14px;font-weight:600;color:var(--ink)}
.campaign-metric-guide{margin-top:14px;border:1px solid var(--line);border-radius:18px;background:var(--card)}
body[data-view="dashboard"] .campaign-metric-guide>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;cursor:pointer;padding:12px 24px;font-weight:600;font-size:13px;color:var(--ink);list-style:none}
.campaign-metric-guide summary::-webkit-details-marker{display:none}
.campaign-metric-guide summary::after{content:"";width:7px;height:7px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.campaign-metric-guide[open] summary::after{transform:rotate(225deg)}
body[data-view="dashboard"] .campaign-activity-empty:not([hidden]){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}
.campaign-activity-empty:not([hidden])+.campaign-metric-guide{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}
.campaign-metric-guide summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.campaign-metric-guide-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0 24px;padding:0 20px 18px}
.campaign-metric-guide-list>div{padding:15px 0;border-top:1px solid var(--line)}
.campaign-metric-guide-list strong{font-size:13px}
.campaign-metric-guide-list p{margin:6px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}
.is-campaign-baby{container-type:inline-size}
.is-campaign-baby .workspace-heading>div{min-width:0}
@container(max-width:560px){.is-campaign-baby .workspace-heading{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px 14px}.is-campaign-baby .workspace-heading img{width:42px;height:42px}.is-campaign-baby .workspace-heading>a{grid-column:2;justify-self:start;width:auto;margin:0}.is-campaign-baby .workspace-heading h1{overflow-wrap:normal}}
@media(max-width:560px){.is-campaign-baby .workspace-heading{gap:12px}.is-campaign-baby .workspace-heading img{width:42px;height:42px}.is-campaign-baby .workspace-heading>a{width:100%;justify-content:center}body[data-view="dashboard"] .campaign-activity-empty,body[data-view="dashboard"] .campaign-outreach-pending{padding:20px}}
.campaign-hub-feedback{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.5}
.campaign-hub-feedback:empty{display:none}
.is-campaign-baby .workspace-back{margin-bottom:18px}
.is-campaign-baby .workspace-heading{margin-bottom:28px}
body[data-view="dashboard"] #integration-workspace.is-campaign-baby #workspace-visibility{margin-top:24px;padding:20px 24px}
#integration-workspace.is-campaign-baby #workspace-visibility .visibility-row{padding:0;border:0}
@media(prefers-reduced-motion:reduce){.campaign-metric-guide summary::after{transition:none}}
/* Native title hints use the same surface and motion as the other portal tooltips. */
.styled-control-tooltip{position:fixed;z-index:10000;width:max-content;max-width:calc(100vw - 16px);padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);box-shadow:0 6px 24px #0002;font-size:.8rem;font-weight:600;line-height:1.5;text-align:center}
.styled-control-tooltip[data-open="true"]{pointer-events:none}
@media(prefers-reduced-motion:reduce){.styled-control-tooltip{transition:none;transform:none}}

/* Discovery and the next connection share one row, with a compact recommendation card. */
.connections-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:28px 0 24px;align-items:stretch}
.connections-tools:has(.connections-recommendation[hidden]){grid-template-columns:minmax(0,1fr)}
.connections-tools .connections-discovery{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;column-gap:16px;row-gap:10px;padding:24px;border-radius:20px}
.connections-discovery .checkbox{align-items:center;grid-column:1;font-weight:600;line-height:1.5}
.connections-discovery p{grid-column:1;margin:0 0 0 30px;font-size:13px;line-height:1.6;max-width:34ch}
.connections-discovery .info{grid-column:2;grid-row:1/3;align-self:center}
.connections-recommendation{margin:0;min-width:0;border-radius:20px;padding:24px;background:color-mix(in srgb,#65b787 7%,var(--card));display:flex;flex-direction:column;gap:16px}
.connections-recommendation h2{margin:0;font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.025em}
.connections-recommendation-app{display:flex;align-items:center;gap:12px}
.connections-recommendation-mark{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;background:var(--card);border:1px solid var(--line);border-radius:50%}
.connections-recommendation img{object-fit:contain;border-radius:50%}
.connections-recommendation-app strong{display:block;font-size:14px;line-height:1.4}
.connections-recommendation-app p{margin:3px 0 0;font-size:13px;line-height:1.5}
.connections-recommendation-connect{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:999px;background:var(--button);color:var(--button-ink);text-decoration:none;font-weight:600;font-size:13px;line-height:1.4;margin-top:auto}
.connections-recommendation-connect:hover{opacity:.88}
.connections-recommendation-connect svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
@media(max-width:900px){.connections-tools{grid-template-columns:minmax(0,1fr);gap:12px}.connections-tools .connections-discovery,.connections-recommendation{padding:20px}.connections-recommendation h2{font-size:18px}}

.my-page{max-width:800px}.my-page-intro{margin:0 0 36px}.my-page-overview{display:flex;align-items:center;gap:32px;padding:12px 0 36px}.my-page-state{margin:0 0 8px;font-size:.85rem}.my-page-overview h2{margin:0 0 10px;font-size:1.6rem;overflow-wrap:anywhere}.my-page-overview p{max-width:470px}.my-page-edit{display:inline-flex;align-items:center;min-height:44px;padding:12px 20px;margin-top:10px;border-radius:9px;background:var(--button);color:var(--button-ink);font-weight:600;text-decoration:none}.my-page-published{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid var(--line)}.my-page-published h2{margin:0 0 8px;font-size:1rem}.my-page-published a{overflow-wrap:anywhere}.my-page-published>div{min-width:0;flex:1}.my-page-published .secondary{width:auto;min-height:44px;margin:0;flex:0 0 auto;padding:10px 16px;text-align:center;white-space:nowrap;border-color:var(--line)}.my-page a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}@media(max-width:600px){.my-page-overview{align-items:flex-start;gap:18px}.my-page-overview h2{font-size:1.3rem}.my-page-published{align-items:flex-start;flex-direction:column;gap:16px}.my-page-intro{margin-bottom:24px}}

#page-analytics{margin-top:28px;padding-top:28px;border-top:1px solid var(--line)}.analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.analytics-heading h2{margin:0}.analytics-heading>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.analytics-heading label{font-size:13px;margin:0}.analytics-heading select,.analytics-heading button{width:auto;min-height:44px;margin:0;padding:8px 12px;font:inherit;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink)}.analytics-totals{display:flex;gap:60px;margin:24px 0 32px}.analytics-totals dt{color:var(--muted);font-size:14px}.analytics-totals dd{font-size:32px;font-weight:650;margin:6px 0 0}#analytics-links{padding:0;list-style:none}#analytics-links li{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--line)}#analytics-links span{overflow-wrap:anywhere;min-width:0}.analytics-note,#analytics-status{font-size:13px;color:var(--muted);line-height:1.6}.analytics-daily{width:100%;border-collapse:collapse;font-size:13px;margin-top:16px}.analytics-daily td,.analytics-daily th{padding:10px 4px;text-align:right;border-bottom:1px solid var(--line)}.analytics-daily td:first-child,.analytics-daily th:first-child{text-align:left}.analytics-daily caption{text-align:left;padding:12px 0;color:var(--muted)}

.my-page-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.my-page-actions .my-page-edit{margin-top:0}.my-page-analytics-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:9px;font-size:14px;font-weight:600;text-decoration:none;color:var(--ink);transition:background-color .16s ease,border-color .16s ease}.my-page-analytics-link:hover{border-color:var(--ink)}.my-page-analytics-link svg{width:18px;height:18px}.my-page-analytics-link:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
body[data-view="dashboard"] #page-analytics{max-width:1120px;margin:0;padding:0;border:0}
.back-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0 0 12px -4px;padding:0 6px 0 2px;border-radius:8px;color:var(--muted);font-size:14px;font-weight:500;text-decoration:none;transition:color .16s ease,opacity .2s ease}.back-link svg{width:18px;height:18px;transition:transform .16s ease}.back-link:hover{color:var(--ink)}.back-link:hover svg{transform:translateX(-2px)}.back-link:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.back-link[data-pending]{visibility:hidden;opacity:0}
@media(prefers-reduced-motion:reduce){.back-link,.back-link svg,.my-page-analytics-link{transition:none}.back-link:hover svg{transform:none}}
#page-analytics .analytics-heading{align-items:flex-start;gap:24px}
#page-analytics .analytics-heading>div:first-child{display:block}
#page-analytics .analytics-heading h1{margin:0 0 10px;font-size:30px}
#page-analytics .analytics-heading p{margin:0;color:var(--muted);font-size:14px}
#page-analytics .analytics-heading .analytics-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#page-analytics .analytics-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0 32px}
#page-analytics .analytics-totals dd{font-size:32px;font-variant-numeric:tabular-nums}
#page-analytics .analytics-totals p{font-size:12px;color:var(--muted);margin:8px 0 0}
.analytics-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
#page-analytics h2{font-size:18px;margin:0 0 8px}
.analytics-section-heading p,.analytics-breakdowns section>p{font-size:13px;color:var(--muted);margin:0 0 16px}
.analytics-legend{display:flex;gap:20px;font-size:13px}.analytics-legend span:first-child{color:var(--ink)}.analytics-legend span:last-child{color:var(--muted)}
#analytics-chart svg{display:block;width:100%;height:auto;min-height:180px;overflow:visible}
#analytics-chart text{fill:var(--muted);font:12px system-ui,sans-serif}.chart-grid{stroke:var(--line);stroke-width:1}.chart-views,.chart-clicks{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-views{stroke:var(--ink)}.chart-clicks{stroke:var(--muted);stroke-dasharray:6 5}
#analytics-best-day{font-size:13px;color:var(--muted);margin:16px 0}
.analytics-breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin:32px 0;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.analytics-bars{list-style:none;padding:0;margin:20px 0}.analytics-bars li{margin:0 0 18px}.analytics-bars li>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:14px;margin-bottom:8px}.analytics-bars span:first-child{overflow-wrap:anywhere;min-width:0}.analytics-bars span:last-child{white-space:nowrap;color:var(--muted)}.analytics-bar{height:5px;background:var(--line)}.analytics-bar>div{height:100%;background:var(--ink)}
.analytics-table-wrap{overflow-x:auto}#analytics-link-table{width:100%;border-collapse:collapse;font-size:14px;margin-top:16px}#analytics-link-table th,#analytics-link-table td{padding:16px 8px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}#analytics-link-table th:first-child,#analytics-link-table td:first-child{text-align:left;overflow-wrap:anywhere;max-width:400px}
.analytics-link-performance label{display:flex;align-items:center;gap:8px;margin:0;font-size:13px}.analytics-link-performance select{width:auto;min-height:44px;padding:8px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:8px}
.analytics-daily-detail,.analytics-method{margin-top:28px;border-top:1px solid var(--line);padding-top:16px}.analytics-method p{font-size:13px;line-height:1.6;color:var(--muted);max-width:850px}#page-analytics summary{font-size:14px}
.analytics-skeleton .skeleton-bar{margin:0;width:100%}.analytics-skeleton-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0 32px}.analytics-skeleton-totals>div{display:grid;gap:10px}.analytics-skeleton-totals .skeleton-bar:nth-child(1){width:60%;height:14px}.analytics-skeleton-totals .skeleton-bar:nth-child(2){width:45%;height:32px}.analytics-skeleton-totals .skeleton-bar:nth-child(3){width:75%;height:12px}.analytics-skeleton-trend{display:grid;gap:10px}.analytics-skeleton-trend .skeleton-bar:nth-child(1){width:28%;height:18px}.analytics-skeleton-trend .skeleton-bar:nth-child(2){width:20%;height:13px}.analytics-skeleton-trend .skeleton-bar:nth-child(3){height:auto;aspect-ratio:900/250;min-height:180px;margin-top:14px}.analytics-skeleton-breakdowns{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin:32px 0;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.analytics-skeleton-breakdowns>div{display:grid;gap:14px;align-content:start}.analytics-skeleton-breakdowns .skeleton-bar:nth-child(1){width:40%;height:18px}.analytics-skeleton-breakdowns .skeleton-bar:nth-child(2){width:55%;height:13px;margin-bottom:8px}.analytics-skeleton-breakdowns .skeleton-bar:nth-child(n+3){height:22px}.analytics-skeleton-links{display:grid;gap:14px}.analytics-skeleton-links .skeleton-bar:nth-child(1){width:30%;height:18px;margin-bottom:8px}.analytics-skeleton-links .skeleton-bar:nth-child(n+2){height:20px}
@media(max-width:760px){#page-analytics .analytics-totals,.analytics-skeleton-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-skeleton-breakdowns{grid-template-columns:1fr;gap:28px}.analytics-breakdowns{grid-template-columns:1fr;gap:28px}#page-analytics .analytics-heading .analytics-toolbar{width:100%}#analytics-chart svg{min-height:140px}#analytics-link-table th,#analytics-link-table td{padding:12px 4px}}

/* Authenticator artwork uses the same compact scale as saved passkeys. */
.authenticator-card{display:flex;align-items:center;gap:18px;padding:12px 0 18px}
.authenticator-emblem{width:80px;height:80px;flex:0 0 80px;color:var(--muted)}
.authenticator-phone-edge{fill:var(--line);stroke:var(--muted);stroke-width:1.2;stroke-linejoin:round}
.authenticator-phone{fill:var(--card);stroke:var(--muted);stroke-width:1.6}
.authenticator-line{stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.authenticator-screen{fill:var(--bg)}
.authenticator-digits{fill:var(--muted)}
.authenticator-seal{fill:var(--card);stroke:var(--muted);stroke-width:1.5}
.authenticator-check,.authenticator-attention,.authenticator-question{stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.authenticator-check,.authenticator-attention,.authenticator-question{display:none}
.authenticator-card[data-state="empty"] .authenticator-attention,.authenticator-card[data-state="pending"] .authenticator-question{display:block}
.authenticator-card[data-state="ready"] .authenticator-check{display:block}
.authenticator-card[data-state="ready"] .authenticator-seal{fill:#dcebdd;stroke:#53775b}
.authenticator-card[data-state="ready"] .authenticator-check{stroke:#2e5236}
.authenticator-card[data-state="empty"] .authenticator-seal{fill:#f8dddd;stroke:#b34b4b}
.authenticator-card[data-state="empty"] .authenticator-attention{stroke:#8b2929}
.authenticator-card[data-state="pending"] .authenticator-seal{fill:#fff0ad;stroke:#95721a}
.authenticator-card[data-state="pending"] .authenticator-question{stroke:#70520b}
.authenticator-description{min-width:0}
.authenticator-description h3{margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.4;color:var(--ink)}
.authenticator-description p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
body[data-view="dashboard"] .authenticator-add,.authenticator-add{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:4px;padding:12px 0;color:var(--ink);font-size:13px;font-weight:600;border-top:1px solid var(--line);border-radius:0}
.authenticator-add:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:380px){.authenticator-card{gap:12px}.authenticator-emblem{width:64px;height:64px;flex-basis:64px}}
.my-page-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:0 0 28px}.my-page-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0 12px;color:var(--muted);text-decoration:none;font-size:14px;border-bottom:2px solid transparent;margin-bottom:-1px}.my-page-tabs a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}.my-page-tabs a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.privacy-notice{max-width:760px;line-height:1.65}.privacy-notice h1{font-size:2rem}.privacy-notice h2{margin-top:30px;font-size:1.2rem}.privacy-notice p{color:var(--muted)}.privacy-notice a{color:var(--ink);text-underline-offset:3px}

#email-addresses h2{margin-top:0}#email-addresses-list{list-style:none;padding:0;margin:18px 0}.email-add-controls{display:flex;gap:12px;align-items:center}.email-add-controls input{flex:1 1 0;min-width:0}#email-addresses .email-add-controls button{flex:0 0 auto;width:auto;min-width:0}.email-confirmation{border:1px solid var(--line);padding:18px;border-radius:10px;margin:18px 0}.email-confirmation .secondary{margin:0 0 0 10px}#email-addresses-status:empty{display:none}#email-addresses-status{font-size:.9rem;overflow-wrap:anywhere}@media(max-width:600px){.email-add-controls{align-items:stretch;flex-direction:column}.email-confirmation button{width:100%}.email-confirmation .secondary{margin:8px 0 0}}

.dashboard-bubble-anchor{position:relative;flex-shrink:0;margin-top:20px}
#bubble-open{position:absolute;bottom:calc(100% - 5px);left:0;z-index:1;min-height:36px;max-width:170px;padding:7px 12px;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--ink);font-size:13px;box-shadow:0 2px 6px #0001}
#bubble-open:after{content:'';position:absolute;bottom:-5px;left:18px;width:8px;height:8px;background:var(--bg);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
#bubble-chip{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashboard-bubble{position:fixed;inset:auto;box-sizing:border-box;margin:0;padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--ink);box-shadow:0 18px 45px #0003;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:hidden auto;overscroll-behavior:contain}
#dashboard-bubble::backdrop{background:transparent}
.dashboard-profile:has(#dashboard-bubble:popover-open) #bubble-open{visibility:hidden}
#bubble-form{display:grid;gap:12px;margin:0}#bubble-form[hidden],#bubble-loading[hidden],#bubble-create-page-prompt[hidden]{display:none}.bubble-writing{display:flex;flex-direction:column;min-width:0;min-height:184px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 2px 8px #0001;overflow:visible}
.bubble-create-page{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.bubble-create-page-choice{display:flex;align-items:center;gap:9px;margin:0;font-size:12px;line-height:1.4;font-weight:600}
#bubble-create-page{flex:none;width:17px;height:17px;min-height:17px;margin:0;accent-color:var(--ink)}
.bubble-create-page a{margin-left:auto;color:var(--muted);font-size:11px;text-underline-offset:2px;white-space:nowrap}.bubble-page-info{display:grid;place-items:center;width:24px;min-width:24px;height:24px;min-height:24px;margin:0;padding:3px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.bubble-page-info:hover{background:var(--dashboard-subtle);color:var(--ink)}.bubble-page-info svg{width:16px;height:16px}
.bubble-loading{display:grid;gap:12px}.bubble-loading span{display:block;position:relative;overflow:hidden;background:var(--dashboard-subtle);border-radius:12px}.bubble-loading-row{height:44px}.bubble-loading-message{height:184px}.bubble-loading-controls{height:40px}
@media(prefers-reduced-motion:no-preference){.bubble-loading span::after{content:'';position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(100deg,transparent,var(--card),transparent);opacity:.5;animation:skeleton-shimmer 1.8s ease-in-out infinite}}
.bubble-media-editor{display:flex;align-items:center;gap:2px}.bubble-media-editor button{display:grid;place-items:center;flex:none;min-width:32px!important;width:32px!important;min-height:32px!important;height:32px!important;margin:0!important;padding:6px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}.bubble-media-editor button:hover{background:var(--dashboard-subtle)!important;color:var(--ink)!important}.bubble-media-editor button svg{width:18px;height:18px}#bubble-media-status{margin:0;color:var(--muted);font-size:11px;line-height:1.4}#bubble-media-status:empty{display:none}#bubble-media-preview:not([hidden]){height:160px;overflow:hidden;border-radius:12px;background:#111}.bubble-media-preview{display:block;width:100%;height:100%;object-fit:contain}
.bubble-writing:after{content:none}
#bubble-text{display:block;flex:1;resize:none;box-sizing:border-box;width:100%;height:126px;min-height:126px;padding:16px 18px 8px;border:0;border-radius:18px 18px 0 0;font-weight:500;font-family:inherit;font-size:15px;line-height:1.4;color:var(--ink);background:transparent;box-shadow:none}
.bubble-writing:focus-within{border-color:var(--ink);box-shadow:0 0 0 2px color-mix(in srgb,var(--ink) 13%,transparent)}#bubble-text:focus-visible{outline:none}
.bubble-writing-tools{display:flex;align-items:center;gap:4px;min-width:0;padding:8px}
.bubble-audience,.bubble-duration{flex:0 1 120px;min-width:0}.bubble-audience .opid-select,.bubble-duration .opid-select{width:100%}.bubble-media-editor{flex:none;margin-left:auto}.bubble-writing-tools .opid-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bubble-duration .opid-select-trigger{min-height:32px;padding:5px 8px;font-size:11px;border-color:transparent;background:transparent}.bubble-duration .opid-select-trigger:hover{background:var(--dashboard-subtle)}.page-switcher .opid-select{flex:1;min-width:180px;max-width:100%}#bubble-page-select+.opid-select-trigger{font-size:13px}
.bubble-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.bubble-actions button{width:auto!important;min-height:40px!important;margin:0!important;padding:9px 16px!important;border-radius:10px!important;font-size:12px!important;box-shadow:none!important}.bubble-actions .primary{flex:1}.bubble-actions #bubble-clear[hidden]{display:none}
#bubble-feedback:empty{display:none}#bubble-feedback:not(:empty),#bubble-unavailable:not([hidden]){font-size:12px;margin:0;padding:10px;background:var(--card);border:1px solid var(--line);border-radius:8px;color:var(--ink)}
.bubble-first-dialog{box-sizing:border-box;width:min(360px,calc(100vw - 40px));max-width:none;margin:auto;padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--card);color:var(--ink);box-shadow:0 24px 70px #0005;text-align:center}.bubble-first-dialog::backdrop{background:#0008;backdrop-filter:blur(5px)}.bubble-first-dialog h2{margin:12px 0 8px;font-size:22px;line-height:1.2}.bubble-first-dialog p{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.5}.bubble-first-dialog button{width:100%;min-height:42px;margin:0;border-radius:11px}.bubble-first-art{position:relative;display:grid;place-items:center;width:88px;height:88px;margin:auto}.bubble-first-mark{display:block;width:52px;height:52px;--opid-mark-size:52px}.bubble-first-art>span:not(.bubble-first-mark){position:absolute;width:7px;height:7px;border-radius:50%;background:#e8ba63}.bubble-first-art>span:nth-child(1){top:5px;left:12px;background:#8ac8a4}.bubble-first-art>span:nth-child(2){top:4px;right:8px;background:#bba8ea}.bubble-first-art>span:nth-child(3){bottom:7px;left:7px;background:#f1a7a5}.bubble-first-art>span:nth-child(4){bottom:5px;right:10px}.bubble-celebration-burst{position:fixed;z-index:10000;pointer-events:none}.bubble-celebration-burst span{position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:var(--spark-color)}.bubble-celebration-burst span:nth-child(3n){border-radius:2px;rotate:24deg}
@media(prefers-reduced-motion:no-preference){
#bubble-open{animation:bubble-float 6s ease-in-out infinite;transform-origin:24px bottom}
#dashboard-bubble{opacity:0;transform:translateY(6px) scale(.97);transform-origin:top left;transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1),display .2s allow-discrete,overlay .2s allow-discrete}
#dashboard-bubble:popover-open{opacity:1;transform:none}
@starting-style{#dashboard-bubble:popover-open{opacity:0;transform:translateY(6px) scale(.97)}}
#dashboard-bubble:popover-open .bubble-writing{transform-origin:24px bottom;animation:bubble-pop .22s cubic-bezier(.2,.8,.2,1) both}
#dashboard-bubble:popover-open .bubble-duration{animation:bubble-tools .16s ease-out .06s both}
.bubble-celebration-burst span{animation:bubble-celebration-spark .78s cubic-bezier(.18,.7,.25,1) both}.bubble-first-dialog[open]{animation:bubble-first-in .34s cubic-bezier(.16,1.15,.32,1) both}.bubble-first-dialog[open]::backdrop{animation:bubble-first-backdrop-in .25s ease-out both}.bubble-first-dialog.is-closing{animation:bubble-first-out .18s ease-in both}.bubble-first-dialog.is-closing::backdrop{animation:bubble-first-backdrop-out .18s ease-in both}
@keyframes bubble-celebration-spark{0%{opacity:0;transform:translate(0,0) scale(.35)}18%{opacity:1}100%{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) scale(.7)}}
@keyframes bubble-first-in{from{opacity:0;transform:translateY(14px) scale(.91)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bubble-first-out{to{opacity:0;transform:translateY(8px) scale(.97)}}
@keyframes bubble-first-backdrop-in{from{opacity:0}to{opacity:1}}@keyframes bubble-first-backdrop-out{to{opacity:0}}
@keyframes bubble-float{0%,100%{translate:0 0;rotate:-1deg}25%{translate:3px -4px;rotate:.5deg}50%{translate:1px -7px;rotate:1deg}75%{translate:-2px -3px;rotate:-.5deg}}
@keyframes bubble-pop{from{opacity:0;scale:.88;translate:0 5px}to{opacity:1;scale:1;translate:0 0}}
@keyframes bubble-tools{from{opacity:0;translate:0 -3px}to{opacity:1;translate:0 0}}
}

.connections-switch{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:28px}
.connections-switch button{width:auto;margin:0;padding:12px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);font:inherit;cursor:pointer;min-height:44px}
.connections-switch button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}
#people-panel>label{display:block;margin-bottom:10px;font-weight:600}
#people-status{color:var(--muted);font-size:14px;line-height:1.5;margin:16px 0}
#people-results{list-style:none;padding:0;margin:0}
.person-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.person-row .dashboard-avatar{width:48px;height:48px;flex-shrink:0;font-size:16px}
.person-row .connection-copy strong{font-size:16px}
.person-row .connection-copy p{font-size:14px;line-height:1.5}
.person-profile{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex-shrink:0;padding:8px 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);text-decoration:none;font-size:14px}
.person-profile:hover{background:var(--dashboard-subtle)}
.person-actions .person-icon-action{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:10px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;list-style:none}
.person-actions .person-icon-action svg{width:24px;height:24px;flex:none}
.person-actions .person-icon-action:hover,.person-more[open]>summary.person-icon-action{background:var(--dashboard-subtle);color:var(--ink)}
.person-actions .person-icon-action:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.person-actions .person-icon-action:disabled{opacity:.4;cursor:wait}
.person-actions .person-icon-action::after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);font-size:12px;white-space:nowrap;box-shadow:0 4px 16px #0002;opacity:0;pointer-events:none;z-index:5}
.person-actions .person-icon-action[data-tooltip]:is(:hover,:focus-visible)::after{opacity:1}
.person-actions .person-more{position:relative;flex:none;margin:0;padding:0;border:0}
.person-actions .person-more>summary::-webkit-details-marker{display:none}
.person-actions .person-more-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:10;width:min(280px,calc(100vw - 48px));padding:14px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 36px #0003}
.person-actions .person-more-menu p{margin:0 0 10px}
.person-actions .person-more-menu button{display:block;width:100%;margin:4px 0;text-align:left}
.connections-switch button:focus-visible,.person-profile:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:480px){.person-row{gap:12px;flex-wrap:wrap}.person-row .connection-copy{flex-basis:calc(100% - 60px)}.person-profile{margin-left:60px}.connections-switch{gap:20px}}
.connections-heading>div{flex:1;min-width:0}
.connections-heading .secondary{width:auto;flex:0 0 auto;margin:0;padding:10px 16px;min-height:44px}
#people-panel .integration-search{max-width:none;margin:0;width:100%}
#connections .connections-tools .connections-discovery{padding:20px;border-radius:10px}
#connections .connections-discovery p{max-width:none}
.person-actions{display:flex;gap:8px;align-items:center}.person-actions button{width:auto;margin:0;background:var(--button);color:var(--button-ink);font:inherit;font-size:14px}.person-actions .person-profile{margin-left:0}.connections-switch{overflow-x:auto}.connections-switch button{white-space:nowrap}#people-search-fields>label{display:block;margin-bottom:10px;font-weight:600}@media(max-width:480px){.person-actions{margin-left:60px}}
#notifications-toggle{position:relative;flex-shrink:0}#notifications-badge{position:absolute;top:0;right:-3px;min-width:16px;padding:1px 3px;border-radius:5px;background:var(--ink);color:var(--bg);font-size:10px;line-height:14px;font-weight:700}
#notifications-panel{position:fixed;inset:74px 24px auto auto;margin:0;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow:auto;padding:20px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 8px #0002}
.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.notifications-heading h2{margin:0;font-size:20px}.notifications-heading .secondary{width:auto;margin:0;padding:8px;font-size:12px;min-height:44px}
#notifications-status,.notifications-note{font-size:13px;color:var(--muted);line-height:1.5}#notifications-list{list-style:none;padding:0;margin:12px 0}#notifications-list a{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}#notifications-list a:hover strong{text-decoration:underline}#notifications-list strong{font-size:14px;font-weight:600;flex:1 1 75%;overflow-wrap:anywhere}#notifications-list time{font-size:12px;color:var(--muted)}.notification-unread{font-size:11px;font-weight:600;margin-left:auto}#notifications-list a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media(max-width:600px){#notifications-panel{right:12px;top:66px}}
#friends-bubbles{margin:28px 0 36px}.friends-bubbles-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.friends-bubbles-heading h2{font-size:20px;margin:0}.friends-bubbles-heading a{font-size:13px;color:var(--ink)}#friends-bubbles-status{font-size:14px;color:var(--muted);line-height:1.5}#friends-bubbles-list{list-style:none;display:flex;gap:20px;overflow-x:auto;margin:20px 0 0;padding:6px 4px 12px}#friends-bubbles-list li{flex:0 0 148px}#friends-bubbles-list a{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--ink);text-decoration:none}#friends-bubbles-list a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.friend-bubble{position:relative;display:grid;place-items:center;min-height:58px;width:148px;padding:12px;background:var(--card);border:1px solid var(--line);border-radius:18px;font-size:13px;text-align:center;overflow-wrap:anywhere}.friend-bubble:after{content:'';position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:var(--card);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}.friend-name{font-size:13px;text-align:center;overflow-wrap:anywhere}.person-actions{flex-wrap:wrap;justify-content:flex-end}.person-more{max-width:260px}.person-more summary{cursor:pointer;padding:10px;font-size:13px;min-height:44px}.person-more p{font-size:12px;line-height:1.5;color:var(--muted)}.person-more button{margin:4px;padding:8px;min-height:44px;border:1px solid var(--line);border-radius:8px}
.friend-bubble:has(.friend-bubble-preview){padding:6px 6px 10px;gap:7px}.friend-bubble-preview{display:block;width:100%;height:90px;border-radius:12px;object-fit:cover;background:var(--bg)}.friend-bubble-play{position:absolute;top:34px;left:calc(50% - 17px);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#111c;color:#fff;font-size:13px;box-shadow:0 2px 8px #0003}
.friend-bubble-open{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;padding:0;border:0;background:none;color:var(--ink);cursor:pointer;font:inherit}.friend-bubble-open:hover .friend-bubble{border-color:var(--ink)}.friend-bubble-open:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}.friend-bubble-foot{display:flex;justify-content:space-between;align-items:center;gap:6px;width:100%;padding-top:7px;margin-top:4px;border-top:1px solid var(--line);font-size:11px;line-height:1.2}.friend-bubble-foot-reactions,.friend-bubble-foot-comments{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.friend-bubble-foot-comments svg{width:14px;height:14px}#friend-bubble-dialog{position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 24px));max-height:min(760px,calc(100dvh - 24px));overflow:auto;padding:24px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 80px #0005}#friend-bubble-dialog::backdrop{background:#0009}.friend-bubble-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.friend-bubble-dialog-head h2{font-size:22px;margin:0}.friend-bubble-dialog-head button{width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--ink);font-size:24px;cursor:pointer}#friend-bubble-content{margin:20px 0;overflow-wrap:anywhere}#friend-bubble-content img,#friend-bubble-content video{display:block;width:100%;max-height:380px;object-fit:contain;border-radius:12px;background:var(--bg)}#friend-bubble-content p{margin:14px 0 0;line-height:1.5}#friend-bubble-reactions{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 18px;border-bottom:1px solid var(--line)}.friend-bubble-reaction{display:flex;align-items:center;gap:4px;width:auto;min-width:45px;min-height:40px;padding:7px 9px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-size:20px;cursor:pointer}.friend-bubble-reaction.selected{border-color:var(--ink);background:var(--card)}.friend-bubble-reaction span{font-size:12px;color:var(--muted)}#friend-bubble-comment-count{font-size:15px;margin:18px 0 8px}#friend-bubble-comments{list-style:none;padding:0;margin:0;max-height:220px;overflow:auto}#friend-bubble-comments li{padding:10px 0;border-bottom:1px solid var(--line)}#friend-bubble-comments li div{display:flex;justify-content:space-between;gap:8px;font-size:12px}#friend-bubble-comments time{color:var(--muted)}#friend-bubble-comments p{margin:5px 0;line-height:1.45;overflow-wrap:anywhere}.friend-bubble-comment-delete{width:auto;min-height:28px;padding:3px 6px;border:0;background:none;color:var(--muted);font-size:12px;cursor:pointer}#friend-bubble-comment-form{margin:18px 0 8px}#friend-bubble-comment-form label{display:block;font-size:13px;margin-bottom:8px}#friend-bubble-comment-form>div{display:flex;gap:8px}#friend-bubble-comment-form input{min-width:0;flex:1}#friend-bubble-comment-form button{width:auto;margin:0}#friend-bubble-detail-status{font-size:13px;color:var(--muted)}#friend-bubble-page-link{font-size:13px;color:var(--ink)}
#friends-bubbles-list li{transition:flex-basis .34s cubic-bezier(.16,1,.3,1)}#friends-bubbles-list li.expanded{flex-basis:min(300px,calc(100vw - 64px))}#friends-bubbles-list li.expanded .friend-bubble{width:100%}.friend-bubble-inline{margin-top:14px;padding:15px;background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:0 14px 34px #0002;color:var(--ink);font-size:12px;line-height:1.45}.friend-bubble-inline-totals{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted);white-space:nowrap}.friend-bubble-inline-totals span{display:inline-flex;align-items:center;gap:3px}.friend-bubble-inline-totals svg{width:14px;height:14px}.friend-bubble-inline-latest{margin:12px 0 0;padding:11px 12px;border-radius:12px;background:var(--bg);color:var(--ink);overflow-wrap:anywhere}.friend-bubble-inline-latest strong{font-weight:650}.friend-bubble-inline-form{display:flex;gap:7px;margin:13px 0 10px}.friend-bubble-inline-form input{flex:1;min-width:0;min-height:38px;padding:8px 10px;border-radius:10px;font-size:12px}.friend-bubble-inline-form button{width:auto;min-height:38px;margin:0;padding:7px 11px;border-radius:10px;font-size:12px}.friend-bubble-inline-actions{display:flex;flex-wrap:wrap;gap:5px}.friend-bubble-inline-actions button{width:auto;min-height:32px;margin:0;padding:5px 7px;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:600}.friend-bubble-inline-actions button:hover{background:var(--bg);color:var(--ink)}.friend-reaction-wheel{position:fixed;z-index:9999;width:204px;height:204px;transform:translate(-50%,-50%);border:1px solid var(--line);border-radius:50%;background:radial-gradient(circle,var(--card) 0 34px,transparent 35px),conic-gradient(from -30deg,var(--card),var(--bg),var(--card),var(--bg),var(--card));box-shadow:0 18px 55px #0006,0 0 0 5px #8cc79920;touch-action:none}.friend-reaction-wheel:before{content:'';position:absolute;inset:38px;border:1px solid var(--line);border-radius:50%;pointer-events:none}.friend-reaction-wheel-center{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.02em;pointer-events:none}.friend-reaction-wheel button{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:46px;height:46px;min-height:46px;padding:0;transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y)));border:1px solid var(--line);border-radius:50%;background:var(--card);box-shadow:0 3px 10px #0003;font-size:23px;line-height:1;touch-action:none}.friend-reaction-wheel button:hover,.friend-reaction-wheel button.is-selected,.friend-reaction-wheel button:focus-visible{background:var(--bg);border-color:var(--ink);scale:1.15;box-shadow:0 5px 18px #0005}#friend-bubble-dialog.bubble-entering::backdrop{animation:friend-bubble-backdrop-in .44s both}#friend-bubble-dialog.bubble-closing::backdrop{animation:friend-bubble-backdrop-out .3s both}@keyframes friend-bubble-backdrop-in{from{background:#0000}to{background:#0009}}@keyframes friend-bubble-backdrop-out{from{background:#0009}to{background:#0000}}@media(max-width:520px){#friend-bubble-dialog{padding:18px}.friend-bubble-inline-totals{font-size:11px}}@media(prefers-reduced-motion:reduce){#friends-bubbles-list li{transition:none}#friend-bubble-dialog.bubble-entering::backdrop,#friend-bubble-dialog.bubble-closing::backdrop{animation:none}}
.friend-bubble-identity{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:12px}
.friend-bubble-shell{position:relative;width:148px;min-height:58px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 2px 8px #0001}.friend-bubble-shell:after{content:'';position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:var(--card);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}#friends-bubbles-list li.expanded .friend-bubble-shell{width:min(300px,calc(100vw - 64px));border-radius:22px;box-shadow:0 16px 38px #0003}.friend-bubble-shell .friend-bubble{width:100%;min-height:56px;border:0;border-radius:inherit;background:transparent}.friend-bubble-shell .friend-bubble:after{display:none}.friend-bubble-shell .friend-bubble-inline{margin:0;padding:12px 14px 14px;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}.friend-bubble-shell .friend-bubble-open:hover .friend-bubble{border:0;background:var(--bg)}#friends-bubbles-list li.expanded .friend-bubble-foot{display:none}
.friend-bubble-inline-media{display:block;width:100%;max-height:320px;margin-bottom:12px;object-fit:contain;border-radius:12px;background:var(--bg)}#friends-bubbles-list li.expanded .friend-bubble-preview,#friends-bubbles-list li.expanded .friend-bubble-play{display:none}
#friends-bubbles-list li.expanded[data-bubble-type="gif"] .friend-bubble-preview{display:block;width:100%;height:auto;max-height:230px;object-fit:contain}
#friends-bubbles-list{height:315px;box-sizing:border-box;align-items:center;overflow-y:hidden}
#friends-bubbles-list li{align-self:stretch;display:grid;grid-template-columns:148px;grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);justify-items:center}
#friends-bubbles-list li .friend-bubble-shell{grid-column:1;grid-row:2;justify-self:start}
#friends-bubbles-list li .friend-bubble-identity{grid-column:1;grid-row:3;align-self:start}
#friends-bubbles-list li.expanded{grid-template-columns:minmax(0,300px) 72px;column-gap:12px;flex-basis:390px}
#friends-bubbles-list li.expanded .friend-bubble-identity{grid-column:2;grid-row:2;align-self:center;min-width:72px;margin-top:0}
#friends-bubbles-list li.expanded .friend-bubble-shell:after{left:auto;right:-5px;top:calc(50% - 4px);bottom:auto;border-top:1px solid var(--line);border-bottom:0;transform:rotate(45deg)}
.friend-bubble-shell:hover{border-color:var(--ink);background:var(--bg)}
.friend-bubble-shell .friend-bubble-open:hover .friend-bubble{background:transparent}
.friend-bubble-inline-comments{max-height:90px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.friend-bubble-inline-comments:empty{display:none}
@media(max-width:640px){#friends-bubbles-list{height:430px}#friends-bubbles-list li.expanded{grid-template-columns:minmax(0,1fr);flex-basis:min(300px,calc(100vw - 64px))}#friends-bubbles-list li.expanded .friend-bubble-identity{grid-column:1;grid-row:3;align-self:start;margin-top:12px}#friends-bubbles-list li.expanded .friend-bubble-shell:after{left:calc(50% - 4px);right:auto;top:auto;bottom:-5px;border-top:0;border-bottom:1px solid var(--line)}}
button.dashboard-avatar-link{display:grid;place-items:center;flex:none;padding:0;border:0;line-height:0}
#notifications-badge{display:grid;place-items:center;width:18px;height:18px;min-width:18px;padding:0;text-align:center;line-height:1}
#friends-bubbles-list{padding-left:20px;padding-right:20px}
#friends-bubbles-list li.expanded{grid-template-columns:minmax(0,300px);flex-basis:min(300px,calc(100vw - 64px))}
#friends-bubbles-list li.expanded .friend-bubble-identity{grid-column:1;grid-row:2;align-self:start;justify-self:start;display:flex;flex-direction:row;gap:7px;min-width:0;margin:0;transform:translate(-14px,-17px);pointer-events:none;z-index:2}
#friends-bubbles-list li.expanded .friend-bubble-identity .dashboard-avatar{flex:none;box-shadow:0 0 0 3px var(--card)}
#friends-bubbles-list li.expanded .friend-name{padding:5px 8px;border:1px solid var(--line);border-radius:99px;background:var(--card);font-size:11px;white-space:nowrap}
#friends-bubbles-list li.expanded .friend-bubble-shell:after{display:none}
#friends-bubbles-list li.expanded .friend-bubble{padding-top:32px}
.friend-bubble-shell .friend-bubble-foot,#friends-bubbles-list li.expanded .friend-bubble-shell .friend-bubble-foot{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:34px;margin:0;padding:3px 8px 6px;border-top:1px solid var(--line)}
.friend-bubble-foot button{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-height:28px;margin:0;padding:2px 4px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:11px;line-height:1}
.friend-bubble-foot button:hover,.friend-bubble-foot button:focus-visible{background:var(--bg);color:var(--ink)}
.friend-bubble-reaction-stack{display:inline-flex;align-items:center;gap:2px}
.friend-bubble-reaction-emoji{display:grid;place-items:center;width:20px;height:23px;font-size:14px;line-height:1;animation:friend-reaction-float 3.2s ease-in-out infinite;animation-delay:calc(var(--i,0)*-.55s)}
.friend-bubble-reaction-actions{display:flex;align-items:center;gap:8px}
.public-bubble-card .friend-bubble-reaction-actions{margin-left:auto}
.public-bubble-card .friend-bubble-foot>.public-bubble-source{pointer-events:auto}
.friend-reaction-error{margin:22px 0 0;font-size:12px;color:var(--muted);line-height:1.5}
.friend-reaction-error button{display:inline;width:auto;min-height:32px;margin:0 0 0 4px;padding:3px 6px;font:inherit}
.friend-bubble-reaction-actions .public-bubble-source{pointer-events:auto;background:var(--card);border-radius:50%}
.friend-bubble-reaction-emoji.is-empty{font-size:17px;color:var(--muted)}
.friend-bubble-reaction-emoji.is-empty svg{display:block;width:21px;height:21px;overflow:visible}
.public-bubble-text,.public-bubble-media{cursor:pointer;-webkit-touch-callout:none;user-select:none}
.friend-bubble-reaction-count{position:relative;top:-6px;display:inline-block;min-width:0;height:auto;margin-left:-2px;padding:0;border:0;background:transparent;color:var(--muted);font-size:10px;font-weight:600;line-height:1;box-shadow:none}
.friend-bubble-comment-glyph{position:relative;display:inline-block;width:22px;height:22px;flex:none;container-type:size}
.friend-bubble-comment-glyph svg{display:block;width:100%;height:100%}
/* Every Bubble count sits inside its glyph, centered on the round body (12, 11.5 of 24) rather than the box with its tail. Type scales with the glyph and the digit count. */
.friend-bubble-comment-number{position:absolute;top:47.9%;left:50%;transform:translate(-50%,-50%);font-size:40cqw;font-weight:700;line-height:1;letter-spacing:0;font-variant-numeric:tabular-nums;white-space:nowrap;text-box:trim-both cap alphabetic;pointer-events:none}
.friend-bubble-comment-number[data-digits="2"]{font-size:31cqw;letter-spacing:-.02em}
.friend-bubble-comment-number[data-digits="3"]{font-size:23cqw;letter-spacing:-.04em}
@supports not (text-box:trim-both cap alphabetic){.friend-bubble-comment-number{transform:translate(-50%,-45%)}}
@keyframes friend-reaction-float{0%,100%{transform:translateY(0) rotate(-5deg)}45%{transform:translateY(-3px) rotate(6deg)}70%{transform:translateY(1px) rotate(-2deg)}}
@media(max-width:640px){#friends-bubbles-list{height:315px}}
@media(prefers-reduced-motion:reduce){.friend-bubble-reaction-emoji{animation:none}}
#friends-bubbles-list li.is-morphing .friend-bubble-foot,#friends-bubbles-list li.is-morphing .friend-bubble-inline{pointer-events:none}
#friends-bubbles-list li.is-morphing .friend-bubble-reaction-emoji{animation-play-state:paused}
#dashboard-copy-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;margin:0;min-height:40px;padding:8px 10px;background:transparent;border:0;border-radius:8px;color:var(--muted);font-size:13px;font-weight:500;white-space:nowrap}#dashboard-copy-link svg{width:16px;height:16px;flex-shrink:0}#dashboard-copy-link:hover{background:var(--bg);color:var(--ink)}#dashboard-copy-link:focus-visible{outline:2px solid var(--ink);outline-offset:2px}#dashboard-copy-fallback{max-width:220px;font-size:12px;overflow-wrap:anywhere;color:var(--ink)}

/* Fixed branded share card; the white QR surface remains readable in dark mode. */
#dashboard-qr{width:auto;min-height:40px;margin:0;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;white-space:nowrap}#dashboard-qr:hover{background:var(--bg);color:var(--ink)}
#profile-qr-dialog{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--ink)}
#profile-qr-dialog::backdrop{background:#0008}#profile-qr-close{display:block;width:44px;height:44px;min-height:44px;margin:0 0 8px auto;padding:0;border:0;background:transparent;color:var(--ink);font-size:28px}
.profile-qr-card{background:#fff;color:#194737;text-align:center;border-radius:16px;padding:24px 12px;font-family:Raleway,sans-serif}.profile-qr-card #profile-qr-avatar{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;overflow:hidden;background:#e9ede7;color:#194737;font-size:22px;font-weight:600}#profile-qr-avatar img{width:100%;height:100%;object-fit:cover}
.profile-qr-card h2{margin:0 0 6px;font-size:24px;color:#194737;overflow-wrap:anywhere}.profile-qr-card p{margin:0;color:#63746b;font-size:14px;overflow-wrap:anywhere}#profile-qr-code{display:block;width:100%;height:auto;margin:12px auto} .profile-qr-card .profile-qr-brand{font-weight:700;color:#194737;font-size:16px;margin:0 0 8px}#profile-qr-address{font-size:12px;color:#63746b;overflow-wrap:anywhere}#profile-qr-download{width:100%;margin-top:16px}#profile-qr-status{font-size:13px;margin:10px 0 0}#profile-qr-dialog button:focus-visible,#dashboard-qr:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

#dashboard-profile-menu .dashboard-version-link{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:0;border:0;margin-top:4px;padding:0 12px;font-size:10px;font-weight:400;line-height:1.6;color:var(--muted);font-variant-numeric:tabular-nums}
#dashboard-profile-menu .dashboard-version-link>span:first-child{font-variant-caps:small-caps}
.devlog-dialog{box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:80dvh;padding:0;overflow:hidden;flex-direction:column}
.devlog-dialog[open]{display:flex}
.devlog-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 16px 14px 28px;border-bottom:1px solid var(--line);flex:none}
.devlog-dialog .devlog-dialog-header h2{margin:0}
.devlog-dialog .devlog-dialog-close{position:static;flex:none}
.devlog-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 28px 8px;outline:none}
.devlog-dialog .devlog-heading{margin-bottom:22px}
.devlog-dialog .devlog-heading p{margin:0;font-size:.95rem}
.devlog-dialog .devlog-current{text-align:right;white-space:nowrap}
.devlog-dialog .devlog-search{padding-bottom:20px}
.devlog-dialog .devlog-entry{padding:20px}
.devlog-dialog .devlog-entry h2{font-size:1rem;margin:14px 0 16px}
.devlog-dialog .devlog-history-note{margin:22px 0 20px}
.devlog-dialog-skeleton .skeleton-bar{margin:0}
.devlog-dialog-skeleton-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}
.devlog-dialog-skeleton-heading .skeleton-bar:first-child{width:200px;height:15px}
.devlog-dialog-skeleton-heading .skeleton-bar:last-child{width:96px;height:36px}
.devlog-dialog-skeleton .devlog-dialog-skeleton-label{width:110px;height:12px;margin-bottom:10px}
.devlog-dialog-skeleton .devlog-dialog-skeleton-search{width:100%;height:44px;border-radius:10px}
.devlog-dialog-skeleton .devlog-dialog-skeleton-count{width:90px;height:11px;margin:42px 0 22px}
.devlog-dialog-skeleton-entry{border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:16px}
.devlog-dialog-skeleton-entry>div{display:flex;justify-content:space-between;align-items:center;gap:16px}
.devlog-dialog-skeleton-entry>div:first-child .skeleton-bar:first-child{width:64px;height:30px;border-radius:99px}
.devlog-dialog-skeleton-entry>div:first-child .skeleton-bar:last-child{width:110px}
.devlog-dialog-skeleton-entry>.skeleton-bar{width:78%;height:16px;margin:18px 0 20px}
.devlog-dialog-skeleton-entry>div:last-child .skeleton-bar{height:10px}
.devlog-dialog-skeleton-entry>div:last-child .skeleton-bar:first-child{width:96px}
.devlog-dialog-skeleton-entry>div:last-child .skeleton-bar:last-child{width:60px}
.devlog-dialog-error{padding:24px 0 28px}
.devlog-dialog-error p{margin:0 0 16px;line-height:1.6}
.devlog-dialog-error button{display:inline-flex;align-items:center;width:auto;margin:0;padding:10px 16px;color:var(--ink);border:1px solid var(--line);border-radius:10px}
@media(prefers-reduced-motion:no-preference){
 .devlog-dialog[open]{animation:issue-report-in .26s cubic-bezier(.16,1,.3,1) both}
 .devlog-dialog[open]::backdrop{animation:issue-report-fade-in .22s ease-out both}
 .devlog-dialog.is-closing{animation:issue-report-out .18s ease-in both}
 .devlog-dialog.is-closing::backdrop{animation:issue-report-fade-out .18s ease-in both}
 .devlog-dialog-content{animation:issue-report-rise .22s ease-out both}
}
@media(max-width:600px){
 .devlog-dialog-header{padding:12px 8px 10px 20px}
 .devlog-dialog-body{padding:18px 20px 4px}
 .devlog-dialog .devlog-entry,.devlog-dialog-skeleton-entry{padding:16px}
 .devlog-dialog .devlog-heading{align-items:flex-start;gap:12px}
}
.page-handle-panel{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.my-page:not([data-page-view="ready"]) .page-handle-panel{display:none}
.page-handle-panel label{display:block;margin:0 0 12px;font-size:15px;font-weight:600}
.page-handle-controls{display:flex;align-items:center;gap:12px}
.page-handle-input{display:flex;align-items:center;gap:4px;flex:1;min-width:0;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--muted)}
.page-handle-input:focus-within{border-color:var(--ink)}
.page-handle-input input{width:100%;min-width:0;min-height:42px;margin:0;padding:10px 0;border:0;outline:none;background:transparent;color:var(--ink);font-size:14px}
.page-handle-controls button{width:auto;margin:0;padding:10px 16px;min-height:42px;border-radius:10px;white-space:nowrap;font-size:13px}
.page-handle-panel[data-loading="true"] .page-handle-input{background:linear-gradient(var(--dashboard-subtle) 0 0) 14px center/140px 12px no-repeat,var(--bg);color:transparent}
.page-handle-panel[data-loading="true"] input{opacity:0;pointer-events:none}
.page-handle-panel[data-loading="true"] button{color:transparent;background:var(--dashboard-subtle);border-color:transparent}
#page-handle-help,#page-handle-status{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
#page-handle-status:empty{display:none}
@media(max-width:480px){.page-handle-controls{align-items:stretch;flex-direction:column}.page-handle-controls button{align-self:flex-start}.page-handle-panel{padding:16px}}

/* Compact dashboard chrome and account controls. */
body[data-view="dashboard"] #account:not([hidden]){grid-template-rows:64px auto}
body[data-view="dashboard"] .dashboard-topbar{height:64px;padding:0 24px}
body[data-view="dashboard"] .dashboard-content{padding:32px 36px}
.dashboard-profile-control{gap:8px}
button#notifications-toggle{position:relative;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:7px;border-radius:9px}
button#notifications-toggle svg{width:18px;height:18px}
button.dashboard-avatar-link{width:34px;height:34px}
.dashboard-avatar-link .dashboard-avatar{width:34px;height:34px;font-size:11px}
.dashboard-profile-menu{inset:56px 20px auto auto}
body[data-view="dashboard"] .dashboard-sidebar{display:flex;flex-direction:column;align-self:start;position:sticky;top:0;height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 16px}
.dashboard-sidebar-top{position:relative;height:64px;min-height:64px;margin-bottom:20px}
.dashboard-sidebar .dashboard-brand{position:absolute;top:0;left:0;right:36px;display:flex;align-items:center;min-width:0;height:64px;margin:0;padding:0 8px;overflow:hidden;white-space:nowrap}
.dashboard-sidebar .dashboard-brand opid-lockup{display:block}
.dashboard-compact-brand{position:absolute;top:8px;left:5px;display:block;width:28px;height:28px;opacity:0;--opid-mark-size:28px;pointer-events:none}
#dashboard-sidebar-toggle{position:absolute;top:16px;right:0;display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:5px;border:0;border-radius:8px;background:transparent;color:var(--muted)}
#dashboard-sidebar-toggle:hover,.dashboard-sidebar-footer .theme-toggle:hover{background:var(--dashboard-hover);color:var(--ink)}
#dashboard-sidebar-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dashboard-sidebar-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:12px 8px 0;background:var(--dashboard-sidebar)}
.dashboard-sidebar-footer .theme-toggle{position:static;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:7px;border-radius:9px}
.dashboard-sidebar-footer .theme-toggle svg{width:20px;height:20px}
body[data-view="dashboard"] .dashboard-sidebar-footer #logout{width:auto;min-height:32px;margin:0;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:11px;font-weight:500;white-space:nowrap}
body[data-view="dashboard"] .dashboard-sidebar-footer #logout:hover{background:var(--dashboard-hover);color:var(--ink)}
body[data-view="dashboard"] .dashboard-profile-menu .dashboard-menu-signout{display:flex;align-items:center;width:100%;min-height:42px;margin:0;padding:10px 12px;border:0;border-radius:9px;font-size:13px;font-weight:450;color:var(--muted);background:transparent;text-align:left}
body[data-view="dashboard"] .dashboard-profile-menu .dashboard-menu-signout:hover{background:var(--dashboard-hover);color:var(--ink)}
body[data-dashboard-sidebar="collapsed"] #account:not([hidden]){grid-template-columns:72px minmax(0,1fr)}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar{padding-left:12px;padding-right:12px}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar-top{height:112px;min-height:112px;margin-bottom:12px}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar .dashboard-brand{left:5px;right:5px;height:44px;padding:6px 5px}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar .dashboard-brand opid-lockup{opacity:0;pointer-events:none}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar .dashboard-brand .dashboard-compact-brand{opacity:1}
body[data-dashboard-sidebar="collapsed"] #dashboard-sidebar-toggle{top:60px;right:8px}
body[data-dashboard-sidebar="collapsed"] #dashboard-sidebar-toggle svg{transform:rotate(180deg)}
body[data-dashboard-sidebar="collapsed"] .dashboard-nav a{justify-content:center;gap:0;padding:10px;min-height:44px}
body[data-view="dashboard"][data-dashboard-sidebar="collapsed"] .dashboard-nav-label{max-width:0;opacity:0}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar-footer{justify-content:center;padding:12px 0 0}
body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar-footer #logout{display:none}
body[data-view="dashboard"] .dashboard-nav-label{display:inline-block;max-width:180px;overflow:hidden;white-space:nowrap}
@media(min-width:721px) and (prefers-reduced-motion:no-preference){
  body[data-view="dashboard"] #account:not([hidden]){transition:grid-template-columns .32s cubic-bezier(.22,1,.36,1)}
  body[data-view="dashboard"] .dashboard-sidebar{transition:padding .32s cubic-bezier(.22,1,.36,1)}
  .dashboard-sidebar-top,.dashboard-sidebar .dashboard-brand,#dashboard-sidebar-toggle{transition:height .32s cubic-bezier(.22,1,.36,1),min-height .32s cubic-bezier(.22,1,.36,1),margin-bottom .32s cubic-bezier(.22,1,.36,1),top .32s cubic-bezier(.22,1,.36,1),left .32s cubic-bezier(.22,1,.36,1),right .32s cubic-bezier(.22,1,.36,1),padding .32s cubic-bezier(.22,1,.36,1)}
  .dashboard-sidebar .dashboard-brand opid-lockup,.dashboard-compact-brand{transition:opacity .18s ease}
  #dashboard-sidebar-toggle svg{transition:transform .32s cubic-bezier(.22,1,.36,1)}
  .dashboard-nav a{transition:background .2s,color .2s,gap .32s cubic-bezier(.22,1,.36,1),padding .32s cubic-bezier(.22,1,.36,1)}
  .dashboard-nav-label{transition:max-width .32s cubic-bezier(.22,1,.36,1),opacity .18s ease}
}
body[data-view="dashboard"] .dashboard-profile{gap:16px;min-height:120px}
body[data-view="dashboard"] .dashboard-profile-actions{gap:6px;flex-wrap:nowrap;align-self:center}
body[data-view="dashboard"] .dashboard-profile-badge{display:none}
body[data-view="dashboard"] .dashboard-profile-actions :is(#dashboard-copy-link,#dashboard-qr,#profile-edit-open){display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;margin:0;padding:7px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted)}
body[data-view="dashboard"] .dashboard-profile-actions :is(#dashboard-copy-link,#dashboard-qr,#profile-edit-open):hover{background:var(--dashboard-hover);color:var(--ink)}
body[data-view="dashboard"] .dashboard-profile-actions :is(#dashboard-copy-link,#dashboard-qr,#profile-edit-open) svg{width:18px;height:18px;flex:none}
body[data-view="dashboard"] .dashboard-profile-actions #profile-edit-open{width:auto;gap:6px;padding:7px 10px;border-color:var(--line);color:var(--ink);font-size:12px}
body[data-view="dashboard"] .dashboard-profile-actions :is(#dashboard-copy-link,#dashboard-qr)[hidden]{display:none}
body[data-view="dashboard"] .dashboard-profile-actions #dashboard-copy-fallback:not([hidden]){max-width:150px}
#email-addresses{margin-bottom:24px}
#email-addresses-list{margin:20px 0 24px}
/* Email rows: the address with its status and hint underneath, actions in a
   right-aligned column. The list's own width decides when actions drop below,
   so a narrow card on a wide screen stacks as cleanly as a phone. */
#email-addresses-list{container-type:inline-size}
#email-addresses-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;min-height:56px;padding:14px 0;border-bottom:1px solid var(--line)}
#email-addresses-list li:first-child{border-top:1px solid var(--line)}
.email-address-copy{display:grid;gap:6px;min-width:0}
#email-addresses-list .email-address-name{display:block;min-width:0;font-size:14px;font-weight:600;line-height:1.4;color:var(--ink);overflow-wrap:break-word}
.email-address-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
#email-addresses-list .email-address-status{flex:none;padding:2px 8px;border-radius:999px;background:var(--dashboard-subtle);color:var(--ink);font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap}
#email-addresses-list .email-address-status[data-state="verified"]{background:color-mix(in srgb,#3f8a4d 18%,var(--card))}
#email-addresses-list .email-address-status[data-state="pending"]{background:color-mix(in srgb,#d4a21c 24%,var(--card))}
.email-address-hint{flex:1 1 220px;min-width:0}
.email-address-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
#email-addresses-list :is(.email-verify-control,.email-remove-control){display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;margin:0;padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap}
#email-addresses-list .email-remove-control:is(:hover,:focus-visible){color:var(--error);border-color:color-mix(in srgb,var(--error) 45%,var(--line));background:color-mix(in srgb,var(--error) 7%,transparent)}
#email-addresses-list .email-verify-control:hover{border-color:color-mix(in srgb,var(--ink) 35%,var(--line))}
@container (max-width:480px){#email-addresses-list li{grid-template-columns:minmax(0,1fr)}.email-address-actions{justify-content:flex-start}}
#email-add-form{padding-top:20px;border-top:1px solid var(--line)}
#email-add-form label{display:block;margin:0 0 10px;font-size:13px;font-weight:600}
.email-add-controls input{margin:0}
#email-addresses .email-add-controls button{min-height:44px;padding:9px 14px;font-size:12px;white-space:nowrap}
#email-addresses .hint{margin:12px 0 0;line-height:1.55}
@media(max-width:1050px){body[data-view="dashboard"] .dashboard-content{padding:28px}}
@media(max-width:720px){
  body[data-view="dashboard"] #account:not([hidden]),body[data-dashboard-sidebar="collapsed"] #account:not([hidden]){grid-template-columns:1fr;grid-template-rows:60px auto auto}
  body[data-view="dashboard"] .dashboard-topbar{height:60px;padding:0 16px}
  body[data-view="dashboard"] .dashboard-sidebar{position:static;height:auto;overflow:visible;padding:10px 16px;background:var(--bg)}
  .dashboard-sidebar-top,#dashboard-sidebar-toggle{display:none}
  .dashboard-sidebar-footer{position:static;margin:8px 0 0;padding:4px 0 0;background:transparent}
  body[data-view="dashboard"][data-dashboard-sidebar="collapsed"] .dashboard-nav-label{max-width:180px;opacity:1}
  body[data-dashboard-sidebar="collapsed"] .dashboard-nav a{justify-content:center;gap:6px;padding:10px 8px}
  body[data-dashboard-sidebar="collapsed"] .dashboard-sidebar-footer{justify-content:space-between;padding:4px 0 0}
  body[data-view="dashboard"][data-dashboard-sidebar="collapsed"] .dashboard-sidebar-footer #logout{display:inline-flex}
  body[data-view="dashboard"] .dashboard-content{padding:24px 18px}
  .dashboard-profile-menu{top:54px;right:12px}
}
@media(max-width:600px){
  body[data-view="dashboard"] .dashboard-profile{flex-wrap:wrap;gap:12px}
  body[data-view="dashboard"] .dashboard-profile-actions{width:100%;margin:4px 0 0;justify-content:flex-end}
  .email-add-controls{align-items:stretch;flex-direction:column}
  #email-addresses .email-add-controls button{width:100%}
}


body[data-view="dashboard"] #account:not([hidden]){grid-template-rows:auto}
body[data-view="dashboard"] .dashboard-profile-corner{position:fixed;top:22px;right:32px;z-index:20}
body[data-view="dashboard"] .dashboard-content{grid-row:1;padding-top:88px}
body[data-view="dashboard"] .dashboard-sidebar{grid-row:1}
.dashboard-profile-menu #dashboard-theme-toggle{position:static;display:flex;align-items:center;gap:10px;width:100%;height:auto;min-height:42px;padding:10px 12px;border:0;border-radius:9px;font-size:13px;font-weight:450;text-align:left;color:var(--muted);background:transparent}
.dashboard-profile-menu #dashboard-theme-toggle:hover{background:var(--dashboard-hover);color:var(--ink)}
.dashboard-profile-menu #dashboard-theme-toggle svg{width:18px;height:18px;flex:none}
@media(max-width:720px){
 body[data-view="dashboard"] #account:not([hidden]){grid-template-rows:auto auto;align-content:start}
 body[data-view="dashboard"] .dashboard-profile-corner{top:16px;right:18px}
 body[data-view="dashboard"] .dashboard-sidebar{grid-row:1;padding-top:76px}
 body[data-view="dashboard"] .dashboard-content{grid-row:2;padding-top:24px}
}

/* Dashboard controls blend in place, preserving the browser's top-layer order. */
body[data-view="dashboard"],body[data-view="dashboard"] :is(.dashboard-sidebar,.dashboard-panel,.dashboard-profile-menu,input,select,button,a,dialog){transition:background-color .25s ease,color .25s ease,border-color .25s ease}
#dashboard-signout-slot{display:flex;align-items:center;gap:4px}
body[data-view="dashboard"] .dashboard-profile-menu #logout{flex:1;width:auto}
.dashboard-profile-menu :is(#dashboard-theme-toggle,#dashboard-sound-toggle){flex:0 0 38px;display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:10px;justify-content:center;border:0;border-radius:50%;background:transparent;color:var(--muted)}
.dashboard-profile-menu :is(#dashboard-theme-toggle,#dashboard-sound-toggle):is(:hover,:focus-visible){background:var(--dashboard-hover);color:var(--ink)}
.dashboard-profile-menu #dashboard-sound-toggle svg{width:18px;height:18px}
.styled-control-tooltip[popover]{margin:0;inset:auto;border:0;pointer-events:none;overflow:visible}
#dashboard-settings>h1{margin-bottom:8px}#dashboard-settings>p{margin-bottom:28px}
body[data-view="dashboard"] .passkeys-open{display:block;width:100%;color:var(--ink);text-align:left;font-weight:400;cursor:pointer}
.passkeys-open:hover{border-color:var(--muted)}.passkeys-action{display:block;font-size:13px;color:var(--muted);margin-top:20px}
.passkeys-dialog{width:min(620px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:32px;color:var(--ink);background:var(--card)}
.passkeys-dialog h2{margin-top:0}.passkeys-dialog #passkeys{margin:24px 0}.passkeys-dialog::backdrop{background:#0006;backdrop-filter:blur(4px)}
.activity-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:32px 0 16px}.activity-feed-heading h2{font-size:22px;margin:0}.activity-feed-heading p{margin:8px 0 0;font-size:14px}.activity-feed-heading button{margin:0}
#activity-feed-status{font-size:12px;color:var(--muted)}.activity-card{margin:16px 0}.activity-person{display:flex;align-items:center;gap:12px}.activity-person a{font-weight:600;text-decoration:none}.activity-person small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.activity-card>p{color:var(--ink);font-size:17px}.activity-card time{font-size:12px;color:var(--muted)}
.visibility-settings{margin-top:24px}.visibility-settings h2{margin-top:0}.visibility-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:6px 16px;padding:14px 0;margin:0;border-bottom:1px solid var(--line)}.visibility-row small{grid-column:1/-1;color:var(--muted);font-size:12px;font-weight:400}.visibility-row select{width:100%;font:inherit;padding:10px;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:10px}
.integration-sharing{padding:18px 0;border-top:1px solid var(--line)}.integration-sharing:first-child{border-top:0}.integration-sharing h3{margin:0 0 12px;font-size:16px}.integration-sharing-toggle{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:600}.integration-sharing-toggle input{width:18px;height:18px;accent-color:var(--ink)}.integration-sharing-details{display:grid;gap:0;margin-top:8px;opacity:1;transform:translateY(0);transition:opacity .25s ease,transform .25s cubic-bezier(.2,.7,.2,1)}.integration-sharing-details[data-enabled="false"]{opacity:.48;transform:translateY(-3px)}.integration-sharing-details .visibility-row:last-child{border-bottom:0}#workspace-visibility .integration-sharing{padding:0;border:0}
.integration-sharing-status{min-height:1em;margin:4px 0 0;color:var(--muted);font-size:12px}
.integration-sharing-skeleton{display:grid;gap:14px;padding:4px 0}.integration-sharing-skeleton span{display:block;height:18px;border-radius:8px;background:var(--dashboard-subtle,var(--line));animation:integration-sharing-pulse 1.4s ease-in-out infinite}.integration-sharing-skeleton-title{width:36%}.integration-sharing-skeleton-toggle{width:52%}.integration-sharing-skeleton-row{width:100%;height:42px!important}@keyframes integration-sharing-pulse{50%{opacity:.46}}
@media(prefers-reduced-motion:reduce){.integration-sharing-details{transition:none}}
@media(prefers-reduced-motion:reduce){.integration-sharing-skeleton span{animation:none}}
@media(max-width:720px){.dashboard-nav{flex-wrap:wrap}.dashboard-nav a{flex:1 1 28%}.passkeys-dialog{padding:24px}.visibility-row{grid-template-columns:minmax(0,1fr) 130px}}
@media(prefers-reduced-motion:reduce){body[data-view="dashboard"],body[data-view="dashboard"] *{transition:none!important}}

body[data-view="dashboard"] .activity-feed-heading>div{flex:1;min-width:0}
body[data-view="dashboard"] #activity-refresh{width:auto;flex:none;text-align:center;padding:10px 14px}
body[data-view="dashboard"] .activity-card>p{font-size:16px;line-height:1.6;margin:18px 0;color:var(--ink)}

body[data-view="dashboard"] .dashboard-notifications-button{display:flex;align-items:center;gap:10px}body[data-view="dashboard"] .dashboard-notifications-button svg{width:20px;height:20px}body[data-view="dashboard"] .dashboard-account-badge{font-size:12px;opacity:.7}

body[data-view="dashboard"] .dashboard-profile-control #notifications-toggle{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;margin:0;padding:10px;color:var(--muted);background:transparent;border:0;border-radius:50%;cursor:pointer}
body[data-view="dashboard"] .dashboard-profile-control #notifications-toggle:hover{color:var(--ink);background:var(--dashboard-hover)}
body[data-view="dashboard"] #notifications-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
body[data-view="dashboard"] #notifications-badge{top:-1px;right:-3px;width:auto;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--ink);color:var(--card);font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px var(--card)}
#notifications-badge[hidden]{display:none}
#notifications-panel{border-radius:20px;box-shadow:0 16px 48px #0002;overscroll-behavior:contain}
#notifications-panel{overflow:hidden;max-height:calc(100dvh - 90px)}
#notifications-panel[data-all="true"]{width:min(640px,calc(100vw - 24px))}
.notifications-heading h2{flex:1;min-width:0}
#notifications-status:empty{display:none}
#notifications-list{margin:12px 0 0;overflow:hidden;min-height:0}
#notifications-panel[data-all="true"] #notifications-list{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable}
#notifications-list a{display:grid;grid-template-columns:40px minmax(0,1fr) max-content;column-gap:12px;row-gap:4px;align-items:start;padding:12px 0}
#notifications-list .notification-avatar{grid-column:1;grid-row:1 / span 2;width:40px;height:40px;align-self:center;border-radius:50%;overflow:hidden;font-size:13px;background:var(--dashboard-subtle)}
#notifications-list .notification-avatar img{display:block;width:100%;height:100%;object-fit:cover}
#notifications-list strong{grid-column:2;grid-row:1 / span 2;min-width:0;line-height:1.45}
#notifications-list time{grid-column:3;grid-row:1;text-align:right;white-space:nowrap;line-height:1.7;font-variant-numeric:tabular-nums}
#notifications-list .notification-unread{grid-column:3;grid-row:2;text-align:right;margin:0}
#notifications-more{width:100%;margin:12px 0 0;min-height:40px;font-size:13px}
#notifications-more[hidden],#notifications-back[hidden],#notifications-list li[hidden]{display:none}
#notifications-back{flex:none;width:32px;min-width:32px;font-size:20px;padding:4px}
@media(max-width:420px){#notifications-panel{padding:16px}.notifications-heading{gap:6px}.notifications-heading h2{font-size:18px}#notifications-list a{grid-template-columns:36px minmax(0,1fr) max-content;column-gap:10px}#notifications-list .notification-avatar{width:36px;height:36px}#notifications-list strong{grid-column:2 / span 2;grid-row:1}#notifications-list time{grid-column:2;grid-row:2;text-align:left;font-size:11px}}
.notifications-loading{display:grid;gap:4px;margin-top:16px}.notifications-loading[hidden]{display:none}.notifications-loading span{display:block;position:relative;height:64px}.notifications-loading span:before{content:'';position:absolute;left:0;top:12px;width:40px;height:40px;border-radius:50%;background:var(--dashboard-subtle)}.notifications-loading span:after{content:'';position:absolute;left:52px;right:0;top:16px;height:32px;border-radius:4px;background:linear-gradient(var(--dashboard-subtle) 0 12px,transparent 12px 22px,var(--dashboard-subtle) 22px)}
@media(prefers-reduced-motion:no-preference){.notifications-loading span{animation:opid-skeleton-pulse 1.6s ease-in-out infinite alternate}#notifications-panel{opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .2s ease,transform .2s ease,display .2s allow-discrete,overlay .2s allow-discrete}#notifications-panel:popover-open{opacity:1;transform:none}@starting-style{#notifications-panel:popover-open{opacity:0;transform:translateY(-6px) scale(.98)}}}
/* The composer keeps progress inside the control while the server acknowledges a comment. */
@property --comment-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
.friend-bubble-inline .friend-bubble-inline-form{display:flex;flex-direction:column;gap:6px;margin:16px 0 4px}
.friend-comment-composer{position:relative;border:1px solid var(--line);border-radius:16px;background:var(--bg);transition:border-color .2s,box-shadow .2s}
.friend-comment-composer:focus-within{border-color:var(--muted);box-shadow:0 0 0 3px color-mix(in srgb,var(--ink) 5%,transparent)}
.friend-comment-composer textarea{display:block;width:100%;min-height:48px;max-height:120px;margin:0;padding:14px 48px 12px 14px;resize:none;border:0;border-radius:16px;outline:0;background:transparent;box-shadow:none;color:var(--ink);font:inherit;font-size:13px;line-height:20px;scrollbar-width:thin}
.friend-comment-composer textarea:focus{outline:0;box-shadow:none}
.friend-bubble-inline-form .friend-comment-send{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:7px;border:0;border-radius:50%;background:var(--ink);color:var(--bg);cursor:pointer;transition:opacity .2s,transform .2s}
.friend-comment-send svg{width:20px;height:20px}
.friend-bubble-inline-form .friend-comment-send:disabled{opacity:.3;cursor:default}
.friend-bubble-inline-form .friend-comment-send:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.friend-comment-spinner{display:none;width:16px;height:16px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.is-sending .friend-comment-send svg{display:none}.is-sending .friend-comment-spinner{display:block;animation:comment-spin .8s linear infinite}
.friend-bubble-inline-form.is-sending .friend-comment-send{opacity:1;background:transparent;color:var(--ink)}
.is-sending .friend-comment-composer::before{content:'';position:absolute;inset:-1px;padding:2px;border-radius:inherit;background:conic-gradient(from var(--comment-angle),transparent 55%,var(--muted) 78%,var(--ink),transparent);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;animation:comment-light 1.5s linear infinite}
.friend-comment-status{font-size:11px;line-height:1.4;color:var(--muted);padding:0 5px}.friend-comment-status:empty{display:none}
.friend-bubble-inline-latest{white-space:pre-wrap}
.friend-bubble-inline-latest.comment-arriving{animation:comment-arrive .42s cubic-bezier(.16,1,.3,1) both}
.friend-bubble-inline-latest.is-own-comment{position:relative;padding-right:32px}
.friend-bubble-inline-latest .friend-bubble-comment-delete{position:absolute;right:2px;top:4px;display:grid;place-items:center;width:28px;height:28px;min-height:28px;margin:0;padding:5px;border:0;border-radius:50%;background:transparent;color:var(--muted);opacity:0;pointer-events:none;transition:opacity .15s,background-color .15s}
.friend-bubble-comment-delete svg{width:18px;height:18px}
.is-own-comment:is(:hover,:focus-within) .friend-bubble-comment-delete,.is-own-comment.is-deleting .friend-bubble-comment-delete{opacity:1;pointer-events:auto}
.friend-bubble-inline-latest .friend-bubble-comment-delete:hover{background:var(--dashboard-subtle);color:var(--ink)}
.friend-bubble-inline-latest .friend-bubble-comment-delete:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.friend-bubble-inline-latest.is-deleting{overflow:hidden;color:var(--muted);animation:comment-delete-pulse 1s ease-in-out infinite alternate}
.friend-comment-delete-spinner{display:none;width:13px;height:13px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:comment-spin .8s linear infinite}
.is-deleting .friend-comment-delete-spinner{display:block}.is-deleting .friend-bubble-comment-delete svg{display:none}
.friend-comment-delete-status:not(.visually-hidden){display:block;margin-top:7px;font-size:11px;line-height:1.4;color:var(--muted)}
@keyframes comment-delete-pulse{to{opacity:.55}}
@media(hover:none){.is-own-comment .friend-bubble-comment-delete{opacity:.7;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.friend-bubble-inline-latest.is-deleting,.friend-comment-delete-spinner{animation:none}}
@keyframes comment-spin{to{transform:rotate(360deg)}}
@keyframes comment-light{to{--comment-angle:360deg}}
@keyframes comment-arrive{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.is-sending .friend-comment-spinner,.is-sending .friend-comment-composer::before,.friend-bubble-inline-latest.comment-arriving{animation:none}}
/* Bubbles home: page actions, a friends strip, and a fluid public feed. */
body[data-view="dashboard"] .dashboard-profile-corner{left:276px;right:32px;top:22px;display:flex;align-items:center;justify-content:flex-end;gap:24px;pointer-events:none}
body[data-view="dashboard"] .dashboard-profile-corner>*{pointer-events:auto}
body[data-view="dashboard"] .dashboard-profile-corner #dashboard-title{font-size:24px;line-height:1.25;letter-spacing:-.7px;margin:0;font-weight:650}
body[data-view="dashboard"][data-dashboard-sidebar="collapsed"] .dashboard-profile-corner{left:108px}
body[data-view="dashboard"] .dashboard-nav .opid-nav-icon{width:24px;height:24px;stroke-width:1.6;flex:none}
body[data-view="dashboard"][data-dashboard-page="account"] .dashboard-content{max-width:none;width:100%;min-width:0}
body[data-view="dashboard"] #friends-bubbles{margin:12px 0 40px;min-width:0}
.friends-bubbles-actions{display:flex;align-items:center;gap:8px}
body[data-view="dashboard"] .friends-bubbles-actions #bubble-open{position:static;transform:none;max-width:200px;min-height:36px;width:auto;margin:0 6px 0 0;padding:8px 14px;border:1px solid var(--line);border-radius:99px;background:var(--card);color:var(--ink);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-view="dashboard"] .friends-bubbles-actions #bubble-chip{display:block;overflow:hidden;text-overflow:ellipsis}
.friends-bubbles-actions .bubble-scroll{width:36px;height:36px;min-height:36px;padding:0;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:24px;line-height:1;margin:0}
.friends-bubbles-actions .bubble-scroll:disabled{opacity:.3;cursor:default}
body[data-view="dashboard"] #friends-bubbles-list{display:flex;flex-wrap:nowrap;align-items:flex-start;height:auto;min-height:0;gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain;padding:18px 8px 18px;margin:12px 0 0}
body[data-view="dashboard"] #friends-bubbles-list:empty{display:none}
body[data-view="dashboard"] #friends-bubbles-list li{scroll-snap-align:start;align-self:center;height:auto;min-height:0;grid-template-rows:max-content max-content max-content}
body[data-view="dashboard"] #friends-bubbles-list li.expanded{flex-basis:min(300px,calc(100vw - 64px))}
body[data-view="dashboard"] #friends-bubbles-status:empty{display:none}
body[data-view="dashboard"] #friends-bubbles-list:focus-visible,.bubble-scroll:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
#public-bubbles{min-width:0;padding-bottom:40px}
.public-bubbles-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.public-bubbles-heading h2{font-size:26px;letter-spacing:-.6px;margin:0 0 8px}
.public-bubbles-heading p{font-size:14px;color:var(--muted);margin:0;line-height:1.5}
body[data-view="dashboard"] #public-bubbles-refresh,body[data-view="dashboard"] #public-bubbles-more{width:auto;margin:0;padding:9px 16px;min-height:40px;flex:none;border-radius:99px;font-size:13px}
#public-bubbles-status{color:var(--muted);font-size:14px;line-height:1.6}
#public-bubbles-status:empty{display:none}
#public-bubbles-list{columns:280px;column-gap:20px}
.public-bubble-card{break-inside:avoid;display:inline-block;width:100%;margin:0 0 20px;padding:22px;border:1px solid var(--line);border-radius:22px;background:var(--card);box-shadow:0 4px 16px #00000004;overflow:hidden}
.public-bubble-person{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);min-width:0}
.public-bubble-person>.dashboard-avatar{width:38px;height:38px;flex:none;font-size:13px}
.public-bubble-identity{min-width:0}
.public-bubble-person strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.public-bubble-person small{display:block;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.public-bubble-media{display:block;width:calc(100% + 44px);max-width:none;height:auto;max-height:360px;object-fit:cover;margin:22px -22px 0}
.public-bubble-card .public-bubble-text{font-size:24px;font-weight:500;line-height:1.45;letter-spacing:-.4px;margin:30px 0;overflow-wrap:anywhere;color:var(--ink);white-space:pre-wrap}
.public-bubble-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--line);font-size:11px;line-height:1.5;color:var(--muted)}
.public-bubble-footer a{color:var(--ink);text-decoration:none;font-weight:600;white-space:nowrap}
.public-bubble-footer a:hover{text-decoration:underline}
.public-bubble-source{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:7px;cursor:help;color:var(--muted)}
.public-bubble-source img,.public-bubble-source svg,.public-bubble-source opid-mark{display:block;width:24px;height:24px;object-fit:contain}
.public-bubble-source:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.styled-control-tooltip{white-space:pre-line}
.styled-control-tooltip .tooltip-source-name{display:block;font-size:13px;font-weight:600;line-height:1.4}
.styled-control-tooltip .tooltip-source-date{display:block;margin-top:3px;font-size:10px;font-weight:400;line-height:1.4;color:var(--muted)}
.styled-control-tooltip[data-variant="titled"]{text-align:left;max-width:min(300px,calc(100vw - 16px))}
.styled-control-tooltip[data-variant="titled"] .tooltip-source-date{font-size:12px}
/* Tooltips fade and lift in, and fade out before the popover leaves the top layer. */
@media(prefers-reduced-motion:no-preference){
.styled-control-tooltip[popover]{opacity:0;transform:translateY(3px);transition:opacity .14s ease,transform .14s ease,overlay .14s allow-discrete,display .14s allow-discrete}
.styled-control-tooltip[popover]:popover-open{opacity:1;transform:none}
@starting-style{.styled-control-tooltip[popover]:popover-open{opacity:0;transform:translateY(3px)}}
}
.public-bubble-card a:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:5px}
@media(min-width:1700px){#public-bubbles-list{columns:320px}}
@media(max-width:720px){
 body[data-view="dashboard"] .dashboard-profile-corner,body[data-view="dashboard"][data-dashboard-sidebar="collapsed"] .dashboard-profile-corner{left:18px;right:18px;top:18px;gap:16px}
 body[data-view="dashboard"] .dashboard-profile-corner #dashboard-title{font-size:20px;letter-spacing:-.5px}
 body[data-view="dashboard"] #friends-bubbles{margin-top:4px;margin-bottom:28px}
 .friends-bubbles-heading{gap:12px;flex-wrap:wrap}.friends-bubbles-heading h2{font-size:18px}
 .friends-bubbles-actions{margin-left:auto}
 .public-bubbles-heading h2{font-size:24px}
 .public-bubble-card{padding:20px;border-radius:18px}.public-bubble-media{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}
 #public-bubbles-list{columns:260px}
}

/* Give the expanded Bubble's overlapping controls room inside the scrollport. */
body[data-view="dashboard"] #friends-bubbles-list{padding:32px 28px 38px}
#friends-bubbles-list li.expanded .friend-bubble-identity{z-index:4}
#friends-bubbles-list li .friend-bubble-shell .friend-bubble-foot,#friends-bubbles-list li.expanded .friend-bubble-shell .friend-bubble-foot{position:absolute;left:0;right:0;bottom:-18px;z-index:4;width:100%;min-height:36px;padding:0 10px;border:0;pointer-events:none}
#friends-bubbles-list li .friend-bubble-foot button{min-height:36px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:var(--card);box-shadow:0 5px 14px #0002;pointer-events:auto}
#friends-bubbles-list li:not(.expanded) .friend-bubble{min-height:56px;padding:11px 12px}
#friends-bubbles-list li:not(.expanded) .friend-bubble-identity{margin-top:30px}
#friends-bubbles-list li:not(.expanded) .friend-bubble-foot{gap:4px;padding-left:4px;padding-right:4px}
#friends-bubbles-list li:not(.expanded) .friend-bubble-foot button{padding-left:6px;padding-right:6px}
#friends-bubbles-list li.expanded .friend-bubble-inline{padding-bottom:29px}
/* The composer grows left from the comment glyph, outside the Bubble content. */
body[data-view="dashboard"] #friends-bubbles-list:has(li.expanded){padding-bottom:116px}
#friends-bubbles-list li.expanded .friend-bubble-shell{overflow:visible}
#friends-bubbles-list li.expanded .friend-bubble-inline{padding-bottom:26px}
#friends-bubbles-list li.expanded .friend-bubble-inline-form{position:absolute;top:calc(100% - 20px);left:44px;right:42px;z-index:6;margin:0;gap:4px;transform-origin:right center}
#friends-bubbles-list .friend-bubble-inline-comments{max-height:240px}
#friends-bubbles-list .friend-comment-composer{border-radius:22px;background:var(--card);box-shadow:0 6px 18px #0002}
#friends-bubbles-list .friend-comment-composer textarea{min-height:40px;max-height:80px;padding:10px 38px 10px 12px;border-radius:22px;font-size:12px;line-height:20px}
#friends-bubbles-list .friend-bubble-inline-form .friend-comment-send{right:5px;bottom:5px;width:28px;height:28px;min-height:28px;padding:5px}
#friends-bubbles-list .friend-comment-send svg{width:18px;height:18px}
#friends-bubbles-list .friend-comment-status:not(.visually-hidden){padding:4px 10px;border-radius:10px;background:var(--card);box-shadow:0 3px 12px #0001}
@media(prefers-reduced-motion:no-preference){#friends-bubbles-list li.expanded .friend-bubble-inline-form{animation:friend-strip-comment-dock-in .2s cubic-bezier(.16,1,.3,1) backwards}@keyframes friend-strip-comment-dock-in{from{opacity:0;clip-path:inset(-8px -8px -28px 100%);translate:12px 0}to{opacity:1;clip-path:inset(-8px -8px -28px -8px);translate:0 0}}}
body[data-view="dashboard"] .friends-bubbles-actions #bubble-open{display:inline-flex;align-items:center;justify-content:center;min-height:36px;height:36px;margin-right:0;line-height:1}
.friends-bubbles-actions .bubble-scroll{display:grid;place-items:center;line-height:0}
.friends-bubbles-actions .bubble-scroll svg{display:block;width:18px;height:18px}
.public-bubbles-heading h2{margin-bottom:0}
body[data-view="dashboard"] #public-bubbles-refresh{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;line-height:0}
#public-bubbles-refresh svg{display:block;width:19px;height:19px;transition:transform .36s cubic-bezier(.2,.8,.2,1)}
#public-bubbles-refresh:hover svg,#public-bubbles-refresh:focus-visible svg{transform:rotate(45deg)}
@media(prefers-reduced-motion:reduce){#public-bubbles-refresh svg{transition:none}}

.bubble-page-actions{display:none}
body[data-dashboard-page="account"] .bubble-page-actions{display:flex;min-width:0;margin-right:auto}
body[data-dashboard-page="account"] #dashboard-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-view="dashboard"] .bubble-page-actions #bubble-open{animation:none;max-width:min(200px,calc(100vw - 225px));box-shadow:none}
.bubble-page-actions #bubble-open::after{display:none}
/* A plus at rest. The word slides out on hover or keyboard focus. */
body[data-view="dashboard"] .bubble-page-actions #bubble-open{min-width:36px;padding:0 10px}
body[data-view="dashboard"] .bubble-page-actions #bubble-chip{display:inline-flex;align-items:center;overflow:visible}
#bubble-chip svg{flex:none;width:16px;height:16px}
.bubble-chip-label{display:inline-block;max-width:0;margin-left:0;overflow:hidden;opacity:0;font-weight:600;transition:max-width .28s cubic-bezier(.22,1,.36,1),margin-left .28s cubic-bezier(.22,1,.36,1),opacity .18s ease}
#bubble-open:focus-visible .bubble-chip-label{max-width:60px;margin-left:6px;opacity:1}
@media(hover:hover){#bubble-open:hover .bubble-chip-label{max-width:60px;margin-left:6px;opacity:1}}
@media(prefers-reduced-motion:reduce){.bubble-chip-label{transition:none}}
.bubble-page-actions #public-bubbles-refresh,.bubble-page-actions #public-bubbles-refresh:hover{border:0;background:transparent;box-shadow:none}
body[data-view="dashboard"] #friends-bubbles{position:relative}
.friends-bubbles-heading{justify-content:flex-end}
#friends-bubbles-title{position:absolute;bottom:0;right:12px;margin:0;font-size:14px;font-weight:450;font-variant-caps:all-small-caps;letter-spacing:.16em;line-height:1.5;color:var(--muted);opacity:0;transform:translateY(5px);transition:opacity .2s ease,transform .2s cubic-bezier(.2,.8,.2,1);pointer-events:none}
#friends-bubbles:hover #friends-bubbles-title,#friends-bubbles:focus-within #friends-bubbles-title{opacity:.58;transform:none}
#friends-bubbles-list .friend-profile-link{gap:0;min-width:0;border-radius:8px;pointer-events:auto}
#friends-bubbles-list .friend-profile-avatar{border-radius:50%;flex:none}
#friends-bubbles-list .friend-profile-name{align-items:center;line-height:1.4}
#friends-bubbles-list .friend-name{font-weight:600}
#friends-bubbles-list .friend-handle{display:block;font-size:11px;font-weight:400;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
#friends-bubbles-list .friend-profile-name:hover .friend-name{text-decoration:underline;text-underline-offset:3px}
#friends-bubbles-list li[data-own="true"] .friend-bubble-shell{background:color-mix(in srgb,var(--card) 87%,#a8bce6 13%);border-color:color-mix(in srgb,var(--line) 75%,#a8bce6 25%)}
#friends-bubbles-list li[data-own="true"] .friend-bubble-shell::after{background:inherit;border-color:inherit}
#friends-bubbles-list li[data-own="true"] .friend-name{color:var(--ink)}
#friends-bubbles-list li .friend-own-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px}
#friends-bubbles-list li .friend-own-actions .friend-bubble-edit-trigger{display:grid;place-items:center;width:32px;min-width:32px;min-height:36px;padding:5px 3px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--muted)}
.friend-bubble-edit-trigger svg{width:16px;height:16px}
.friend-bubble-edit-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
#friends-bubbles-list li.expanded .friend-profile-name{padding:4px 8px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
#friends-bubbles-list li.expanded .friend-name{padding:0;border:0;border-radius:0;background:transparent}
#friends-bubbles-list li.expanded .friend-handle{font-size:10px}
@media(max-width:720px){.bubble-page-actions.friends-bubbles-actions{margin-left:0}}
@media(hover:none){#friends-bubbles-title{opacity:.58;transform:none}}
@media(prefers-reduced-motion:reduce){#friends-bubbles-title{transition:none}}

.bubble-nav-actions[popover]{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid var(--line);border-radius:13px;background:var(--card);color:var(--ink);box-shadow:0 8px 26px #0002;overflow:visible;opacity:0;transform:translateX(-6px);transition:opacity .16s ease,transform .2s cubic-bezier(.2,.8,.2,1),display .2s allow-discrete,overlay .2s allow-discrete}
.bubble-nav-actions[popover]:popover-open{opacity:1;transform:none}
.bubble-nav-actions button{display:flex;align-items:center;gap:10px;width:auto;min-height:38px;margin:0;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:var(--ink);font:inherit;font-size:13px;white-space:nowrap;cursor:pointer;transition:background .16s ease}
.bubble-nav-actions button:hover,.bubble-nav-actions button:focus-visible{background:var(--dashboard-hover)}
.bubble-nav-actions button:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.bubble-nav-actions button svg{display:block;flex:none;width:20px;height:20px}
@starting-style{.bubble-nav-actions[popover]:popover-open{opacity:0;transform:translateX(-6px)}}
@media(prefers-reduced-motion:reduce){.bubble-nav-actions[popover],.bubble-nav-actions button{transition:none;transform:none}}

/* Content loading uses the same shapes as the content it will replace. */
#friends-bubbles:not([data-loaded]) #friends-bubbles-status,
#public-bubbles:not([data-loaded]) #public-bubbles-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-view="dashboard"] #friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty{display:flex;position:relative;min-height:180px}
#friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty::before{content:'';position:absolute;top:26px;left:28px;width:148px;height:78px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(var(--dashboard-subtle) 0 0) center 20px/92px 12px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) center 42px/110px 10px no-repeat,var(--card)}
#friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty::after{content:'';position:absolute;top:114px;left:81px;width:42px;height:42px;border-radius:50%;background:var(--dashboard-subtle)}
#public-bubbles:not([data-loaded]) #public-bubbles-list:empty{min-height:240px}
#public-bubbles:not([data-loaded]) #public-bubbles-list:empty::before{content:'';display:inline-block;width:100%;height:220px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle,var(--dashboard-subtle) 98%,transparent) 22px 22px/38px 38px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) 72px 27px/42% 12px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) 72px 47px/28% 9px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) 22px 100px/70% 22px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) 22px 145px/45% 10px no-repeat,var(--card)}
@media(prefers-reduced-motion:no-preference){#friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty::before,#friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty::after,#public-bubbles:not([data-loaded]) #public-bubbles-list:empty::before{animation:opid-skeleton-pulse 1.6s ease-in-out infinite alternate}@keyframes opid-skeleton-pulse{to{opacity:.55}}}

.bubble-privacy{display:inline-grid;place-items:center;flex:none;width:26px;height:26px;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--muted)}
.bubble-privacy svg{display:block;width:15px;height:15px}
.bubble-privacy:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.public-bubble-person>.bubble-privacy{margin-left:auto}
.friend-bubble-name-line{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%}
.friend-bubble-name-line .bubble-privacy{width:21px;height:21px}
.friend-bubble-name-line .bubble-privacy svg{width:13px;height:13px}
.activity-bubble-card .public-bubble-text{font-size:18px;line-height:1.5;margin:22px 0}
.public-bubble-card{position:relative;overflow:visible;margin-bottom:38px;padding-bottom:30px}
.public-bubble-card .public-bubble-footer{border:0;padding-top:0;justify-content:flex-end}
.public-bubble-card>.friend-bubble-foot{position:absolute;left:0;right:0;bottom:-18px;width:100%;padding:0 14px;margin:0;border:0;pointer-events:none}
.public-bubble-card>.friend-bubble-foot button{min-height:36px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:var(--card);box-shadow:0 5px 14px #0002;pointer-events:auto}
#friends-bubbles-list li .friend-bubble-foot button.friend-bubble-reaction-trigger,.public-bubble-card>.friend-bubble-foot button.friend-bubble-reaction-trigger{min-width:32px;min-height:36px;padding:5px 3px;gap:3px;border:0;border-radius:0;background:transparent;box-shadow:none}
#friends-bubbles-list li .friend-bubble-foot button.friend-bubble-comment-trigger,.public-bubble-card>.friend-bubble-foot button.friend-bubble-comment-trigger{min-width:32px;min-height:36px;padding:5px 3px;border:0;border-radius:0;background:transparent;box-shadow:none}
.friend-bubble-reaction-trigger .friend-bubble-reaction-emoji{width:22px;font-size:18px;animation:none}
.friend-bubble-reaction-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.public-bubble-card>.friend-bubble-inline{margin:20px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.public-bubble-card .friend-bubble-inline-comments{max-height:280px}
.public-bubble-card .friend-bubble-inline.is-loading{min-height:140px;border-radius:12px;background:linear-gradient(var(--dashboard-subtle) 0 0) 0 8px/75% 14px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) 0 34px/90% 14px no-repeat,linear-gradient(var(--dashboard-subtle) 0 0) 0 90px/100% 44px no-repeat}
.friend-bubble-reaction-trigger.is-reacting{opacity:.55}
@media(prefers-reduced-motion:no-preference){.public-bubble-card .friend-bubble-inline.is-loading,.friend-bubble-reaction-trigger.is-reacting{animation:opid-skeleton-pulse .9s ease-in-out infinite alternate}}
.bubble-audience{min-width:0;font-size:11px;color:var(--muted)}
.bubble-audience .opid-select{width:100%}.bubble-audience .opid-select-trigger{justify-content:flex-start;gap:6px;min-height:32px;padding:5px 7px;border-color:transparent;background:transparent;font-size:11px}.bubble-audience .opid-select-trigger:hover{background:var(--dashboard-subtle)}.bubble-audience .opid-select-value{flex:1}.bubble-audience .opid-select-audience-icon,.opid-select-audience-option svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bubble-audience .opid-select-trigger[aria-expanded=true] .opid-select-audience-icon{transform:none}.opid-select-audience-option{display:flex;align-items:center;gap:10px}.opid-select-menu[data-select="bubble-audience"]{width:180px!important}
@media(max-width:410px){#dashboard-bubble{padding:14px}.bubble-writing-tools{gap:2px;padding:6px}.bubble-create-page a{margin-left:26px}}

/* A published profile keeps its own visual system inside the dashboard shell. */
body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-content{max-width:none;width:100%;padding:0}
body[data-dashboard-page="public-profile"] .dashboard-profile-corner{justify-content:flex-end}
#dashboard-profile-page{position:relative;min-height:100dvh;background:var(--card);overflow:hidden}
#profile-view-frame{display:block;width:100%;height:100dvh;min-height:560px;border:0;background:#fff;opacity:0}
#dashboard-profile-page[data-loaded="true"] #profile-view-frame{opacity:1}
#dashboard-profile-page[data-loaded="error"] #profile-view-frame{display:none}
#dashboard-profile-page[data-loaded="error"] #profile-view-status{position:static;width:auto;height:auto;margin:32px;padding:24px;border:1px solid var(--line);border-radius:18px;clip-path:none;white-space:normal;color:var(--ink)}
.profile-view-skeleton{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;gap:18px;padding:100px 24px 24px;background:var(--card);pointer-events:none}
.profile-view-skeleton-avatar{width:96px;height:96px;border-radius:50%;background:var(--dashboard-subtle)}
.profile-view-skeleton-line{width:min(280px,65%);height:18px;border-radius:8px;background:var(--dashboard-subtle)}
.profile-view-skeleton-line:nth-of-type(3){width:min(420px,80%);height:12px}
.profile-view-skeleton-card{width:min(560px,90%);height:128px;margin-top:42px;border-radius:22px;background:var(--dashboard-subtle)}
#dashboard-profile-page[data-loaded] .profile-view-skeleton{display:none}
@media(prefers-reduced-motion:no-preference){
 #profile-view-frame{transition:opacity .45s cubic-bezier(.22,1,.36,1)}
 #dashboard-profile-page[data-loaded="true"] #profile-view-frame{animation:profile-view-enter .45s cubic-bezier(.22,1,.36,1) both}
 @keyframes profile-view-enter{from{transform:translateY(8px)}to{transform:translateY(0)}}
 .profile-view-skeleton>*{animation:opid-skeleton-pulse 1.6s ease-in-out infinite alternate}
}
@media(max-width:720px){
 body[data-view="dashboard"][data-dashboard-page="public-profile"] #account:not([hidden]){display:block}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-sidebar{position:fixed;inset:0 auto 0 0;z-index:24;width:72px;height:100dvh;padding:0 12px 16px;overflow-y:auto;background:var(--dashboard-sidebar);border-right:1px solid var(--line);box-shadow:none}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-sidebar-top{display:block;height:112px;min-height:112px;margin-bottom:12px}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-sidebar .dashboard-brand{display:flex}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] #dashboard-sidebar-toggle{display:grid}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-nav{display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-nav a{display:flex;flex:none;justify-content:center;min-height:44px;padding:10px;gap:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] .dashboard-nav-label{max-width:0;opacity:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-sidebar-footer{margin-top:auto;background:var(--dashboard-sidebar)}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] .dashboard-sidebar-footer #logout{display:none}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-content{margin-left:72px;width:calc(100% - 72px);padding:0;min-height:100dvh}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-profile-corner{left:88px;right:16px;top:16px}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-sidebar{width:min(236px,80vw);padding-left:16px;padding-right:16px;box-shadow:12px 0 32px #0002}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-sidebar-top{height:64px;min-height:64px;margin-bottom:20px}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-sidebar .dashboard-brand{left:0;right:36px;height:64px}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-sidebar .dashboard-brand opid-lockup{opacity:1;pointer-events:auto}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-compact-brand{opacity:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] #dashboard-sidebar-toggle{top:16px;right:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-nav a{justify-content:flex-start;gap:12px}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-nav-label{max-width:180px;opacity:1}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-sidebar-footer{justify-content:space-between}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="expanded"] .dashboard-sidebar-footer #logout{display:inline-flex}
 @media(prefers-reduced-motion:no-preference){body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-sidebar{transition:width .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease}}
}
/* Collapsed profile navigation floats over the profile's own background. */
body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] .dashboard-content{grid-column:1 / -1;margin-left:0;width:100%}
body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] .dashboard-sidebar{position:fixed;inset:0 auto 0 0;width:72px;z-index:24;background:transparent;border:0;box-shadow:none}
body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] .dashboard-sidebar-footer{background:transparent;border:0}
body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] :is(.dashboard-nav a,#dashboard-sidebar-toggle){color:var(--profile-nav-ink,var(--muted));background:transparent;box-shadow:none}
body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] :is(.dashboard-nav a,#dashboard-sidebar-toggle):hover{opacity:.65}
body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar="collapsed"] .dashboard-compact-brand{filter:var(--profile-nav-brand,none)}
body[data-view="dashboard"][data-dashboard-page="public-profile"] .dashboard-sidebar-top{height:64px;min-height:64px}

/* Reveal the rail control without leaving a permanent button on the canvas. */
body[data-view="dashboard"] .dashboard-sidebar #dashboard-sidebar-toggle{position:absolute;top:auto;right:auto;bottom:max(16px,env(safe-area-inset-bottom));left:20px;margin:0;opacity:0;translate:0 6px;pointer-events:none}
body[data-view="dashboard"] .dashboard-sidebar:hover #dashboard-sidebar-toggle,
body[data-view="dashboard"] .dashboard-sidebar:has(:focus-visible) #dashboard-sidebar-toggle{opacity:1;translate:0 0;pointer-events:auto}
body[data-view="dashboard"] #dashboard-sidebar-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(min-width:721px){
 body[data-view="dashboard"][data-dashboard-sidebar="collapsed"] .dashboard-sidebar-top{height:64px;min-height:64px}
}
body[data-view="dashboard"] .dashboard-sidebar-footer{display:none}
@media(hover:none){body[data-view="dashboard"] .dashboard-sidebar #dashboard-sidebar-toggle{opacity:1;translate:0 0;pointer-events:auto}}
@media(prefers-reduced-motion:no-preference){body[data-view="dashboard"] .dashboard-sidebar #dashboard-sidebar-toggle{transition:opacity .18s ease,translate .22s cubic-bezier(.22,1,.36,1),background-color .2s ease,color .2s ease}}

.gif-credit{font-size:10px;line-height:1.4;color:var(--muted);text-decoration:underline;text-underline-offset:2px;margin:4px 0;display:inline-block}

.bubble-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}.bubble-editor-heading h2{font-size:18px;margin:0}.bubble-editor-heading button{margin:0;font-size:12px;min-height:34px;padding:6px 10px}.bubble-quota{font-size:12px;color:var(--muted);line-height:1.5;margin:0}.bubble-posts{list-style:none;padding:0;margin:0;max-height:230px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.bubble-post{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.bubble-post>div{min-width:0;flex:1}.bubble-post p{font-size:13px;margin:0 0 3px;overflow-wrap:anywhere}.bubble-post small{color:var(--muted);font-size:10px}.bubble-post button{flex:none;min-height:34px;margin:0;padding:5px 8px;font-size:11px}.bubble-posts:empty{display:none}#dashboard-bubble[data-posts-bound] #bubble-feedback{font-size:12px;margin:0}#dashboard-bubble[data-posts-bound] #bubble-feedback:empty{display:none}#dashboard-bubble[data-posts-bound] #bubble-form[hidden]{display:none}
.bubble-editor-heading h2{white-space:nowrap}.bubble-editor-heading button,.bubble-post button{width:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center}.bubble-posts{overflow-x:hidden}#dashboard-bubble[data-posts-bound]{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--ink) 25%,transparent) transparent}#dashboard-bubble[data-posts-bound] .bubble-media-preview{max-height:160px}
.bubble-editor-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}.bubble-slot-dots{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:20px}.bubble-slot-dots[hidden],.bubble-quota[hidden]{display:none}.bubble-slot-dot{display:block;width:8px;height:8px;flex:none;border:1.5px solid color-mix(in srgb,var(--ink) 42%,transparent);border-radius:50%;background:transparent}.bubble-slot-dot[data-filled="true"]{background:var(--ink);border-color:var(--ink)}.bubble-slot-dot[data-current="true"]{outline:2px solid color-mix(in srgb,var(--ink) 13%,transparent);outline-offset:3px}
@media(prefers-reduced-motion:no-preference){#dashboard-bubble:popover-open .bubble-slot-dot[data-current="true"]{animation:bubble-slot-breathe 1.8s ease-in-out infinite}@keyframes bubble-slot-breathe{0%,100%{transform:scale(1);opacity:.6}50%{transform:scale(1.2);opacity:1}}}
/* One 12px rhythm between every part of the Bubbles panel. Collapsed rows cancel their gap. */
#dashboard-bubble[data-posts-bound]:popover-open{display:flex;flex-direction:column;gap:12px}#dashboard-bubble[data-posts-bound]>*{flex:none;min-width:0}#dashboard-bubble[data-posts-bound]>#bubble-retry,#dashboard-bubble[data-posts-bound]>button{margin:0}
.bubble-reveal{display:grid;grid-template-rows:1fr;min-width:0}.bubble-reveal>*{min-height:0;min-width:0;overflow:clip;overflow-clip-margin:6px}.bubble-reveal[data-collapsed]{grid-template-rows:0fr;margin-top:-12px;opacity:0}#bubble-composer[data-collapsed]{visibility:hidden}
.bubble-post-ghost{position:fixed;z-index:3;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0 14px;border:1px solid var(--ink);background:var(--card);color:var(--ink);box-shadow:0 10px 26px #0002;font-size:13px;font-weight:500;pointer-events:none}.bubble-post-ghost span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(prefers-reduced-motion:no-preference){.bubble-reveal{transition:grid-template-rows .28s var(--opid-size-easing,cubic-bezier(.22,1,.36,1)),margin-top .28s var(--opid-size-easing,cubic-bezier(.22,1,.36,1)),opacity .2s ease,visibility .28s}#bubble-composer{transition-duration:.36s,.36s,.24s,.36s;transition-timing-function:cubic-bezier(.45,0,.2,1),cubic-bezier(.45,0,.2,1),ease,linear}}

.bubble-countdown-control{position:relative;display:flex;align-items:center;justify-content:flex-end;width:max-content;margin:6px 0 0 auto;flex:none;color:var(--muted)}
button.bubble-expiry-clock{display:grid;place-items:center;width:22px;height:22px;min-height:22px;flex:none;padding:3px;margin:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:help;box-shadow:none}
.bubble-expiry-clock svg{display:block;pointer-events:none}.bubble-expiry-clock:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.bubble-countdown{position:absolute;right:calc(100% + 4px);top:50%;width:max-content;margin:0;padding:3px 6px;border-radius:6px;background:var(--card,#fff);color:inherit;font:400 10px/1.3 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transform:translate(3px,-50%);transition:opacity .16s ease,transform .16s ease,visibility .16s}
.bubble-countdown-control:hover .bubble-countdown,.bubble-countdown-control:focus-within .bubble-countdown{opacity:1;visibility:visible;transform:translate(0,-50%)}
.friend-bubble-foot>.bubble-countdown-control{margin:0;order:1;pointer-events:auto}.friend-bubble-foot>.friend-own-actions,.friend-bubble-foot>.friend-bubble-comment-trigger{order:2}
#friends-bubbles-list li .friend-bubble-foot button.bubble-expiry-clock{width:22px;height:28px;min-height:28px;padding:3px;border:0;background:transparent;box-shadow:none}
.friend-bubble-foot .bubble-countdown{top:auto;bottom:calc(100% + 4px);right:50%;transform:translate(50%,3px)}.friend-bubble-foot .bubble-countdown-control:hover .bubble-countdown,.friend-bubble-foot .bubble-countdown-control:focus-within .bubble-countdown{transform:translate(50%,0)}
.bubble-post>.bubble-countdown-control{margin:0 0 0 2px}.public-bubble-card>.bubble-countdown-control{margin-top:4px}
@media(prefers-reduced-motion:reduce){.bubble-countdown{transition:none}}

/* Five primary destinations stay within thumb reach on mobile. */
.dashboard-header-brand{display:none}
#notifications-read{flex:none;width:auto;min-height:36px;margin:0;padding:7px 9px;border-radius:8px;font-size:12px;white-space:nowrap;color:var(--ink);background:var(--dashboard-subtle);text-align:center}
#notifications-read:disabled{opacity:1;color:var(--muted);background:transparent;cursor:default}
#notifications-list li[data-unread="true"]{background:color-mix(in srgb,var(--dashboard-subtle) 60%,transparent);border-radius:10px}
@media(prefers-reduced-motion:no-preference){#notifications-list li{transition:background-color .2s ease}}
body[data-view="dashboard"] #friends-bubbles-list{scrollbar-width:none}
#friends-bubbles-list::-webkit-scrollbar{display:none}
@media(max-width:720px){
 body[data-view="dashboard"] .dashboard-header-brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:10px;text-decoration:none;color:var(--ink)}
 .dashboard-header-brand opid-mark{display:block;width:30px;height:30px;--opid-mark-size:30px}
 .dashboard-header-brand:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar]{--mobile-nav-height:calc(60px + max(4px,env(safe-area-inset-bottom,0px)));scroll-padding-bottom:calc(var(--mobile-nav-height) + 16px)}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] #account:not([hidden]){display:block;padding-bottom:var(--mobile-nav-height);animation-name:mobile-dashboard-in}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-sidebar{position:fixed;inset:auto 0 0;z-index:30;width:100%;height:var(--mobile-nav-height);min-height:0;margin:0;padding:4px max(4px,env(safe-area-inset-right,0px)) max(4px,env(safe-area-inset-bottom,0px)) max(4px,env(safe-area-inset-left,0px));overflow:visible;border:0;border-top:1px solid var(--line);background:var(--card);box-shadow:0 -4px 20px #00000005}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] :is(.dashboard-sidebar-top,#dashboard-sidebar-toggle,.dashboard-sidebar-footer){display:none}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;flex-wrap:nowrap;width:100%;height:56px}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:56px;margin:0;padding:6px 0;border-radius:12px;font-size:10px;line-height:1.2;font-weight:500;color:var(--muted);box-shadow:none}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a[aria-current]{background:var(--dashboard-subtle);color:var(--ink);font-weight:650}
 /* The sliding indicator is the only pill, so the old tab does not keep its own fading copy. */
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav.moving-tabs a[aria-current]{background:transparent}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav>.active-tab-indicator{border-radius:12px;background:var(--dashboard-subtle)}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav svg{width:27px;height:27px;flex:none}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav-label{display:none}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a{gap:0;-webkit-touch-callout:none;user-select:none;touch-action:manipulation}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-content{grid-row:auto;width:100%;margin:0;padding:80px 16px 24px}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-profile-corner{left:0;right:0;top:0;min-height:72px;padding:12px 16px;gap:16px;pointer-events:auto;background:var(--bg);background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid color-mix(in srgb,var(--line) 75%,transparent)}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar]{height:100dvh;overflow:hidden}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar] #account:not([hidden]){height:100dvh;min-height:0;padding:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar] .dashboard-content{height:calc(100dvh - var(--mobile-nav-height));min-height:0;padding:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] #profile-view-frame{height:100%;min-height:0}
 body[data-view="dashboard"][data-dashboard-page="public-profile"] #dashboard-profile-page{height:100%;min-height:0}
 /* The bottom nav sits on the dashboard card colour, not over the profile, so it keeps the dashboard ink. */
 body[data-view="dashboard"][data-dashboard-page="public-profile"][data-dashboard-sidebar] :is(.dashboard-nav a,#dashboard-sidebar-toggle){color:var(--muted)}
}
@keyframes mobile-dashboard-in{from{opacity:0}to{opacity:1}}

@media(max-width:720px){
 body[data-view="dashboard"] #friends-bubbles{margin:0 0 20px}
 body[data-view="dashboard"] #friends-bubbles-list,body[data-view="dashboard"] #friends-bubbles-list:has(li.expanded){height:auto;min-height:0;gap:12px;padding:8px 2px 12px;margin:4px 0 0;align-items:flex-start}
 body[data-view="dashboard"] #friends-bubbles-list>li,body[data-view="dashboard"] #friends-bubbles-list>li.expanded{display:flex;flex-direction:column;align-items:center;align-self:flex-start;flex:0 0 104px;width:104px;min-height:122px;gap:0}
 #friends-bubbles-list>li>.friend-bubble-shell{width:104px;height:64px;min-height:64px;border-radius:14px}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble-open{display:block;width:100%;height:100%;min-height:0;padding:0}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble{display:grid;align-content:center;place-items:center;width:100%;height:62px;min-height:0;padding:8px;font-size:11px;line-height:1.35;overflow:hidden}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble>span:not(.friend-bubble-play){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble:has(img){padding:3px}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble:has(img)>span{display:none}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble-preview{width:96px;height:56px;border-radius:10px;object-fit:cover}
 body[data-view="dashboard"] #friends-bubbles-list>li .friend-bubble-identity,body[data-view="dashboard"] #friends-bubbles-list>li.expanded .friend-bubble-identity{display:flex;flex-direction:column;align-items:center;align-self:auto;justify-self:auto;gap:5px;width:104px;min-width:0;margin:10px 0 0;transform:none;pointer-events:auto}
 #friends-bubbles-list .friend-bubble-identity .dashboard-avatar{width:28px;height:28px;font-size:10px}
 #friends-bubbles-list .friend-bubble-identity .friend-name{display:block;max-width:88px;padding:0;border:0;border-radius:0;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent}
 #friends-bubbles-list .friend-bubble-identity .friend-handle{display:none}
 #friends-bubbles-title{display:block}
}

/* Keep person details together above each preview, with quiet carousel controls. */
body[data-view="dashboard"] #friends-bubbles{display:flex;flex-direction:column}
#friends-bubbles-list{order:0}
#friends-bubbles-status{order:1}
#friends-bubbles-retry{order:3}
#friends-bubbles .friends-bubbles-heading{order:2;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:10px;margin:2px 0 0}
#friends-bubbles .friends-bubbles-heading .friends-bubbles-actions{order:0;display:flex;gap:2px;margin:0;opacity:0;pointer-events:none}
#friends-bubbles #friends-bubbles-title{position:static;order:1;display:block;margin:0;font-size:12px;line-height:1.4;font-weight:450;font-variant-caps:normal;letter-spacing:0;opacity:0;transform:none;color:var(--muted)}
#friends-bubbles:is(:hover,:focus-within) .friends-bubbles-actions,#friends-bubbles:is(:hover,:focus-within) #friends-bubbles-title{opacity:1;pointer-events:auto}
#friends-bubbles .bubble-scroll{width:28px;height:28px;min-height:28px;border:0;font-size:18px}
body[data-view="dashboard"] #friends-bubbles-list>li{display:flex;flex-direction:column;align-items:stretch;gap:8px}
body[data-view="dashboard"] #friends-bubbles-list>li>.friend-bubble-identity,body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-identity{order:-1;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:7px;align-self:stretch;justify-self:auto;width:100%;min-width:0;margin:0;transform:none;pointer-events:auto}
#friends-bubbles-list>li>.friend-bubble-identity .dashboard-avatar{width:28px;height:28px;font-size:10px}
#friends-bubbles-list>li>.friend-bubble-identity .friend-bubble-name-line{position:relative;display:block;width:100%;min-width:0;padding-right:20px;text-align:left}
#friends-bubbles-list>li>.friend-bubble-identity .friend-profile-name{display:block;align-items:flex-start;text-align:left;padding:0;border:0;background:transparent}
#friends-bubbles-list>li>.friend-bubble-identity .friend-name{display:block;max-width:100%;font-size:11px;line-height:1.35;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;border:0;background:transparent}
#friends-bubbles-list>li>.friend-bubble-identity .friend-handle{display:block;max-width:100%;font-size:10px;line-height:1.4;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#friends-bubbles-list>li>.friend-bubble-identity .bubble-privacy{position:absolute;top:0;right:0;width:17px;height:17px;border:0;background:transparent}
#friends-bubbles-list>li>.friend-bubble-identity .bubble-privacy svg{width:13px;height:13px}
@media(prefers-reduced-motion:no-preference){#friends-bubbles .friends-bubbles-heading :is(.friends-bubbles-actions,h2){transition:opacity .18s ease}}
@media(max-width:720px){
 body[data-view="dashboard"] #friends-bubbles-list>li,body[data-view="dashboard"] #friends-bubbles-list>li.expanded{flex-basis:120px;width:120px;min-height:106px;gap:8px}
 #friends-bubbles-list>li>.friend-bubble-shell{width:120px}
 #friends-bubbles-list>li>.friend-bubble-shell .friend-bubble-preview{width:112px}
 body[data-view="dashboard"] #friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty{min-height:116px}
 #friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty::before{left:0;top:44px;width:120px;height:64px}
 #friends-bubbles:not([data-loaded]) #friends-bubbles-list:empty::after{left:0;top:8px;width:28px;height:28px}
}

/* Bubble tails connect to the portrait above, including expanded previews. */
body[data-view="dashboard"] #friends-bubbles-list>li .friend-bubble-shell::after,
body[data-view="dashboard"] #friends-bubbles-list>li.expanded .friend-bubble-shell::after{display:block;left:9px;right:auto;top:-6px;bottom:auto;width:10px;height:10px;border-top:1px solid var(--line);border-left:1px solid var(--line);border-right:0;border-bottom:0;transform:rotate(45deg)}
@media(max-width:720px){
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded{flex-basis:min(340px,calc(100vw - 40px));width:min(340px,calc(100vw - 40px))}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell{display:flex;flex-direction:column;width:100%;height:auto;min-height:64px;border-radius:18px;box-shadow:0 6px 18px #0000000a}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell .friend-bubble-open{height:auto;flex:none}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell .friend-bubble{display:block;height:auto;min-height:64px;padding:16px 14px 12px;text-align:left;font-size:15px;line-height:1.5;overflow:visible}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell .friend-bubble>span:not(.friend-bubble-play){display:block;-webkit-line-clamp:unset;overflow:visible}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded[data-bubble-type="gif"]>.friend-bubble-shell .friend-bubble-preview{display:block;width:100%;height:auto;max-height:220px;object-fit:contain}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell .friend-bubble-foot{position:static;order:1;display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:0 10px;pointer-events:auto}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell .friend-bubble-inline{order:2;padding:10px 12px 12px;margin:0}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell .friend-bubble-inline-form{position:static;inset:auto;margin:10px 0 0;transform:none}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded .friend-bubble-inline-comments{max-height:180px}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded .friend-comment-composer{box-shadow:none;border:1px solid var(--line)}
}

/* A continuous, compact feed keeps people and content ahead of card chrome. */
body[data-view="dashboard"] #public-bubbles-list{columns:auto;display:flex;flex-direction:column;gap:0;max-width:800px;margin-inline:auto}
body[data-view="dashboard"] #public-bubbles .public-bubbles-heading{max-width:800px;margin:0 auto 8px}
body[data-view="dashboard"] #public-bubbles-list>.public-bubble-card{position:relative;display:block;break-inside:auto;width:100%;margin:0;padding:14px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
#public-bubbles-list .public-bubble-surface{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#public-bubbles-list .public-bubble-person{gap:9px}
#public-bubbles-list .public-bubble-person>.dashboard-avatar{width:32px;height:32px;font-size:11px}
#public-bubbles-list .public-bubble-identity strong{font-size:13px;line-height:1.35}
#public-bubbles-list .public-bubble-identity small{margin-top:1px;font-size:11px;line-height:1.35}
#public-bubbles-list .public-bubble-text{font-size:16px;line-height:1.5;letter-spacing:0;margin:10px 0;white-space:pre-wrap}
#public-bubbles-list .public-bubble-media{width:100%;max-width:100%;max-height:360px;margin:10px 0;border-radius:14px;object-fit:contain;background:var(--dashboard-subtle)}
#public-bubbles-list .public-bubble-surface>.friend-bubble-foot{position:relative;inset:auto;min-height:32px;margin:8px 0 0;padding:0;border:0;pointer-events:auto}
#public-bubbles-list .friend-bubble-foot .friend-bubble-reaction-actions{margin-left:auto;order:2}
#public-bubbles-list .friend-bubble-foot .friend-bubble-comment-trigger{min-width:36px;min-height:32px;padding:5px 3px;border:0;border-radius:0;background:transparent;box-shadow:none}
#public-bubbles-list .public-bubble-surface>.friend-bubble-inline{position:relative;inset:auto;margin:10px 0 0;padding:0;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#public-bubbles-list .public-bubble-card>.friend-bubble-thread{margin:10px 0 0}
#public-bubbles-list .public-bubble-source{width:24px;height:24px}
#public-bubbles-list .public-bubble-source :is(img,svg,opid-mark){width:20px;height:20px}
#public-bubbles-list .friend-bubble-foot>.bubble-countdown-control{position:relative;inset:auto;height:32px;margin:0 0 0 4px}
@media(prefers-reduced-motion:no-preference){#public-bubbles-list .public-bubble-surface{transition:background-color .2s ease}}

/* One continuous outline, with an outlined tail joining the avatar side. */
body[data-view="dashboard"] #friends-bubbles-list>li>.friend-bubble-shell{--friend-bubble-fill:var(--card);--friend-bubble-edge:var(--line);background:var(--friend-bubble-fill);border:1px solid var(--friend-bubble-edge);overflow:visible}
body[data-view="dashboard"] #friends-bubbles-list>li[data-own="true"]>.friend-bubble-shell{--friend-bubble-fill:color-mix(in srgb,var(--card) 87%,#a8bce6 13%)}
body[data-view="dashboard"] #friends-bubbles-list>li>.friend-bubble-shell::before{content:'';position:absolute;z-index:2;left:7px;top:-10px;width:0;height:0;border:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:10px solid var(--friend-bubble-edge);pointer-events:none}
body[data-view="dashboard"] #friends-bubbles-list>li>.friend-bubble-shell::after,
body[data-view="dashboard"] #friends-bubbles-list>li.expanded>.friend-bubble-shell::after{content:'';position:absolute;display:block;z-index:3;left:8px;top:-8px;right:auto;bottom:auto;width:0;height:0;border:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:9px solid var(--friend-bubble-fill);background:transparent;transform:none;pointer-events:none}
#friends-bubbles-list .friend-bubble-open:focus-visible{outline:none;border-radius:inherit}
#friends-bubbles-list .friend-bubble-shell:has(.friend-bubble-open:focus-visible){--friend-bubble-edge:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
@media(max-width:720px){
 body[data-view="dashboard"] #friends-bubbles-list,body[data-view="dashboard"] #friends-bubbles-list:has(li.expanded){padding:12px 8px 16px}
 body[data-view="dashboard"] #friends-bubbles-list[data-expanded]{overflow-x:hidden;touch-action:pan-y;scroll-snap-type:none;scroll-behavior:auto;overflow-anchor:none}
 body[data-view="dashboard"] #friends-bubbles-list>li.expanded{position:sticky;left:0;right:0;z-index:5;flex-basis:var(--friend-expanded-width);width:var(--friend-expanded-width);scroll-snap-align:none;background:var(--bg)}
 body[data-view="dashboard"] #friends-bubbles-list[data-expanded]>li:not(.expanded){opacity:0;pointer-events:none}
}
@media(max-width:720px) and (prefers-reduced-motion:no-preference){#friends-bubbles-list>li{transition:opacity .16s ease}}

/* Reserve a compact footer so controls never cover the preview text or image. */
body[data-view="dashboard"] #friends-bubbles-list>li:not(.expanded)>.friend-bubble-shell .friend-bubble-foot{position:static;display:flex;justify-content:flex-end;gap:0;left:auto;right:auto;bottom:auto;width:100%;height:20px;min-height:20px;margin:0;padding:0 2px 2px;border:0}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-foot button{min-width:24px;min-height:18px;height:18px;padding:2px 4px;border:0;border-radius:4px;background:transparent;box-shadow:none;gap:1px}
#friends-bubbles-list>li:not(.expanded) .friend-own-actions{gap:0}
#friends-bubbles-list>li:not(.expanded) .friend-own-actions .friend-bubble-edit-trigger{display:none}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-reaction-stack{gap:0}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-reaction-emoji{width:12px;height:12px;font-size:10px;animation:none}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-reaction-emoji.is-empty svg{width:12px;height:12px}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-foot button.friend-bubble-comment-trigger{padding:1px 3px}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-comment-glyph{width:16px;height:16px}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-reaction-count{top:-4px;font-size:8px;margin-left:0}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-edit-trigger svg{width:12px;height:12px}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-foot .bubble-countdown-control{display:none}
@media(max-width:720px){
 body[data-view="dashboard"] #friends-bubbles-list>li:not(.expanded)>.friend-bubble-shell .friend-bubble-open{height:42px}
 body[data-view="dashboard"] #friends-bubbles-list>li:not(.expanded)>.friend-bubble-shell .friend-bubble{height:42px;min-height:0;padding:5px 10px}
 #friends-bubbles-list>li:not(.expanded) .friend-bubble>span:not(.friend-bubble-play){-webkit-line-clamp:2}
 body[data-view="dashboard"] #friends-bubbles-list>li:not(.expanded)>.friend-bubble-shell .friend-bubble:has(img){padding:3px}
 body[data-view="dashboard"] #friends-bubbles-list>li:not(.expanded)>.friend-bubble-shell .friend-bubble-preview{height:36px}
}

@media(max-width:720px){
 body[data-view="dashboard"] #public-bubbles-refresh{display:none}
 body[data-view="dashboard"] .dashboard-header-brand::after{content:'';position:absolute;top:0;left:0;width:5px;height:5px;background:currentColor;border-radius:50%;box-shadow:0 0 5px currentColor;offset-path:inset(7.75px round 7.5px);offset-distance:0%;offset-anchor:center;animation:mobile-bubble-refresh-orbit 1.4s linear infinite paused;opacity:0;scale:0;transition:scale .32s cubic-bezier(.5,-.65,.7,1),opacity .2s ease .08s;pointer-events:none}
 body[data-view="dashboard"]:has(#public-bubbles[aria-busy="true"]) .dashboard-header-brand::after{animation-play-state:running;opacity:1;scale:1;transition:scale .16s ease-out,opacity .12s ease-out}
}
@keyframes mobile-bubble-refresh-orbit{to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){body[data-view="dashboard"] .dashboard-header-brand::after{animation:none;box-shadow:none;scale:1;transition:opacity .12s ease}body[data-view="dashboard"]:has(#public-bubbles[aria-busy="true"]) .dashboard-header-brand::after{opacity:.7;transition:opacity .12s ease}}

/* Campaign Baby owns the embedded workspace; this shell only selects and reveals it. */
.campaign-outreach{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--card)}
.campaign-embed-heading{display:flex;align-items:center;gap:16px;padding-right:24px}
body[data-view="dashboard"] .campaign-embed-toggle{display:flex;align-items:center;justify-content:space-between;flex:1;gap:24px;width:auto;min-width:0;margin:0;padding:24px;border:0;border-radius:0;background:transparent;color:var(--ink);text-align:left;box-shadow:none}
.campaign-embed-toggle h2{margin:0 0 6px;font-size:22px;letter-spacing:-.025em}
.campaign-embed-description{display:block;color:var(--muted);font-size:13px;font-weight:400;line-height:1.6}
.campaign-embed-toggle svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .28s ease}
.campaign-embed-expanded .campaign-embed-toggle svg{transform:rotate(180deg)}
body[data-view="dashboard"] .campaign-hub-campaign{flex:none;width:auto;max-width:40%;min-height:42px;margin:0;padding:9px 34px 9px 14px;border:1px solid var(--line);border-radius:10px;background-color:var(--dashboard-subtle);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.campaign-embed-heading :is(button,select):focus-visible{outline:2px solid var(--ink);outline-offset:-4px}
.campaign-embed-reveal{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1),visibility .32s}
.campaign-embed-expanded .campaign-embed-reveal{grid-template-rows:1fr;visibility:visible}
.campaign-embed-inner{min-height:0;overflow:hidden}
.campaign-embed-content{padding:20px;border-top:1px solid var(--line)}
.campaign-embed-frames{position:relative}
.campaign-embed-frame{display:block;width:100%;height:760px;max-height:85dvh;min-height:440px;border:0;border-radius:12px;background:var(--card)}
.campaign-embed-frame[hidden],.campaign-embed-frames[aria-busy="true"]{display:none}
.campaign-embed-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.campaign-embed-actions:has(:not([hidden])){margin-top:16px}
.campaign-embed-open{color:var(--ink);font-size:13px;font-weight:600}
body[data-view="dashboard"] .campaign-embed-actions button{width:auto;min-height:40px;margin:0;padding:8px 14px}
.campaign-loading-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.campaign-metric-skeleton i,.campaign-embed-skeleton>div,.campaign-embed-skeleton-columns>div{display:block;background:var(--dashboard-subtle);border-radius:10px;animation:campaign-skeleton-pulse 1.5s ease-in-out infinite alternate}
.campaign-metric-skeleton i:first-child{width:120px;height:33px}.campaign-metric-skeleton i:last-child{width:95px;height:16px}
.campaign-embed-skeleton{display:grid;gap:16px;min-height:620px}.campaign-embed-skeleton[hidden]{display:none}
.campaign-embed-skeleton-banner{height:130px}.campaign-embed-skeleton-toolbar{height:64px}
.campaign-embed-skeleton .campaign-embed-skeleton-columns{display:grid;grid-template-columns:1fr 1.7fr;gap:16px;background:none;animation:none}.campaign-embed-skeleton-columns>div{min-height:390px}
@keyframes campaign-skeleton-pulse{from{opacity:.5}to{opacity:1}}
@container(max-width:560px){.campaign-embed-heading{gap:4px;padding-right:16px}body[data-view="dashboard"] .campaign-embed-toggle{padding:20px 12px 20px 16px;gap:10px}.campaign-embed-toggle h2{font-size:20px}.campaign-embed-description{font-size:12px;max-width:180px}.campaign-embed-content{padding:12px}.campaign-embed-skeleton-columns{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.campaign-embed-reveal,.campaign-embed-toggle svg{transition:none}.campaign-metric-skeleton i,.campaign-embed-skeleton>div,.campaign-embed-skeleton-columns>div{animation:none}}

.admin-page{width:min(100%,1100px);margin:0 auto}.admin-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}.admin-search label{width:100%;margin:0}.admin-search input{flex:1;min-width:160px}.admin-search button{width:auto;margin:0}.admin-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.admin-pagination button{width:auto;margin:0}#admin-results{overflow:auto;min-height:220px;height:clamp(280px,calc(100dvh - 360px),680px)}#admin-results table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}#admin-results th,#admin-results td{padding:7px 11px;line-height:20px;border-bottom:1px solid var(--line);white-space:nowrap}#admin-results th{padding-block:6px;font-size:12px;line-height:18px;color:var(--muted);font-weight:600}.admin-skeleton>div{display:grid;grid-template-columns:2fr 3fr 1fr 1fr 1fr;gap:22px;padding:12px 11px;border-bottom:1px solid var(--line)}.admin-skeleton-integrations>div{grid-template-columns:2fr 2fr 1fr 1fr 1fr}.admin-skeleton .skeleton-bar{height:12px;width:100%}@media(max-width:720px){body[data-view="dashboard"] .dashboard-nav:has([data-admin-navigation]:not([hidden])){grid-template-columns:repeat(6,minmax(0,1fr))}#admin-results td{padding:7px 9px;font-size:13px}#admin-results th{padding:6px 9px}}
/* Email path: collapse the passkey entry, pair recovery with the password label, keep session choice visible. */
.collapsible{display:grid;grid-template-rows:1fr;transition:grid-template-rows .28s cubic-bezier(.22,1,.36,1),opacity .2s ease,visibility 0s}
.collapsible>div{min-height:0;overflow:hidden;margin:-4px;padding:4px}
#login:has(#password-step:not([hidden])) #passkey-entry{grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .28s cubic-bezier(.22,1,.36,1),opacity .16s ease,visibility 0s .28s}
#login:has(#password-step:not([hidden])) .selected-email{margin-top:4px}
#login:not(:has(#password-step:not([hidden]))) #passkey-login-alt{display:none}
.selected-email{padding:8px 8px 8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);margin:0 0 18px}
.selected-email .edit-email{min-height:36px;padding:6px 10px;font-size:.85rem;font-weight:500;color:var(--ink);background:transparent;border-radius:7px}
.selected-email .edit-email:hover{background:var(--card)}
.field-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 8px}
.field-label-row label{margin:0;font-size:.88rem}
.field-label-row .text-link{min-height:0;margin:0;font-size:.85rem;color:var(--muted)}
.field-label-row .text-link:hover{color:var(--ink)}
#password-form>.session-preference{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
#password-form>.session-preference .checkbox{margin:0;font-size:.85rem;align-items:center}
#password-form>.session-preference .checkbox input{margin:0;width:17px;flex-basis:17px;min-height:17px}
#password-form>.session-preference .info>summary{width:36px;height:36px;min-height:36px}
#login-alternatives .alternative-actions{display:grid;gap:8px}
#login-alternatives{margin-top:4px}
@media(prefers-reduced-motion:reduce){.collapsible,#login:has(#password-step:not([hidden])) #passkey-entry{transition:none}}
#admin-results tr.admin-integration-editor>td{padding:0}.admin-integration-panel{overflow:hidden;padding:12px 11px 14px;background:var(--dashboard-subtle)}.admin-rename-error{margin:0;color:var(--error);font-size:13px}.admin-rename-error:empty{display:none}.admin-rename-actions{display:flex;gap:10px;flex-wrap:wrap}.admin-rename-actions button{width:auto;margin:0;display:inline-flex;align-items:center;gap:8px}.admin-integration-panel h3{margin:0 0 8px;font-size:13px;font-weight:600}.admin-history-list,.admin-history-skeleton{list-style:none;margin:0;padding:0;display:grid;gap:10px}.admin-history-list li{display:grid;gap:2px;font-size:13px}.admin-history-list small{color:var(--muted)}.admin-history-skeleton li .skeleton-bar{height:12px;margin:4px 0}.admin-history-skeleton li .skeleton-bar:last-child{width:35%}.admin-integration-history>button{width:auto;margin:8px 0 0}.integration-card-skeleton .integration-card-surface{grid-template-columns:44px minmax(0,1fr)}.integration-card-skeleton .skeleton-bar:first-child{width:45%;height:16px;margin-top:4px}
.admin-user-status:empty,.admin-user-message:empty{display:none}.admin-user-facts{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:10px 20px;margin:20px 0;font-size:14px}.admin-user-facts dt{color:var(--muted);font-weight:600}.admin-user-facts dd{margin:0;overflow-wrap:anywhere}.admin-user-form{margin:28px 0;max-width:560px}.admin-user-field label{margin-top:14px}.admin-user-field input{width:100%}.admin-user-hint{color:var(--muted);font-size:14px;line-height:1.5}.admin-user-check-hint{margin:-4px 0 10px 30px;font-size:13px}.admin-user-actions{display:flex;gap:12px;flex-wrap:wrap}.admin-user-actions button{width:auto;display:inline-flex;align-items:center;gap:8px}.admin-user-error{color:var(--error)}.admin-danger{background:var(--error);color:#fff}.admin-user-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;margin-bottom:12px}.admin-user-table th,.admin-user-table td{padding:10px 8px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.admin-user-table th{color:var(--muted);font-weight:600}.admin-user-empty{color:var(--muted);font-size:14px}.admin-merge-result:not(:empty){margin-top:18px}.admin-merge-result{overflow:auto}.admin-merge-confirm{margin-top:16px}.admin-user-open{all:unset;cursor:pointer;color:inherit;text-decoration:underline;text-underline-offset:3px;min-height:0;overflow-wrap:anywhere}.admin-user-open:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:2px}.admin-user-skeleton{padding-top:20px}.admin-user-skeleton .admin-user-skeleton-title{height:26px;width:40%;margin:12px 0 20px}.admin-user-skeleton-rows>div{display:grid;grid-template-columns:minmax(120px,160px) 1fr;gap:20px}.admin-user-skeleton-rows .skeleton-bar{height:14px;width:100%;margin:8px 0}
@media(prefers-reduced-motion:no-preference){.admin-merge-result>*{animation:admin-merge-in .22s ease-out}@keyframes admin-merge-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}
@media(max-width:720px){.admin-user-facts{grid-template-columns:1fr;gap:2px}.admin-user-facts dd{margin-bottom:10px}}
/* Account drawer: beside the user list on wide screens, a full-height sheet on narrow ones. It overlays the list, so the table never moves. */
.admin-drawer{position:fixed;z-index:60;top:0;right:0;bottom:0;box-sizing:border-box;display:flex;flex-direction:column;width:min(500px,calc(100vw - 24px));background:var(--card);color:var(--ink);border-left:1px solid var(--line);box-shadow:-18px 0 48px -24px #0005;transform:translateX(104%);visibility:hidden}
.admin-drawer[hidden]{display:none}.admin-drawer[data-open="true"]{transform:none;visibility:visible}
.admin-drawer,.admin-filter-popover{--status-active:#1d7f41;--status-inactive:#c3302b;--status-pending:#9c6400;--status-off:#c3302b;--status-merged:#6e6e76;--status-test:#6a4bc4}
:root[data-theme-sweep="dark"] body[data-view="dashboard"] :is(.admin-drawer,.admin-filter-popover){--status-active:#4fc57f;--status-inactive:#ff7b72;--status-pending:#e6b13f;--status-off:#ff7b72;--status-merged:#a4a4ae;--status-test:#b4a2ff}
.admin-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 16px 24px;border-bottom:1px solid var(--line)}
.admin-drawer-identity{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.admin-drawer-avatar{flex:none;width:52px;height:52px;border-radius:50%;font-size:17px}
.admin-drawer-avatar{position:relative}.admin-drawer-avatar img{position:absolute;inset:0;opacity:0}.admin-drawer-avatar img.is-loaded{opacity:1}.admin-drawer-avatar.has-photo{color:transparent}
@media(prefers-reduced-motion:no-preference){.admin-drawer-avatar img{transition:opacity .25s ease}}
.admin-drawer-names{display:grid;gap:3px;min-width:0;flex:1}
.admin-drawer-names h2{margin:0;font-size:1.2rem;line-height:1.3;overflow-wrap:anywhere}.admin-drawer-names h2:focus{outline:none}
.admin-drawer-email{margin:0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.admin-drawer-names .admin-status{justify-self:start;font-size:14px;margin-top:3px}
.admin-drawer-close{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;margin:-4px -6px 0 0;padding:0;border-radius:10px;color:var(--muted);background:transparent}
.admin-drawer-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.admin-drawer-close:hover{color:var(--ink);background:var(--dashboard-hover)}
.admin-drawer>.admin-user-status{margin:12px 24px 0}
.admin-drawer-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 24px calc(32px + env(safe-area-inset-bottom))}
.admin-drawer-section{margin:24px 0}.admin-drawer-section h3,.admin-drawer .admin-user-form h3{margin:0 0 10px;font-size:15px}
.admin-drawer .admin-user-facts{margin:0}.admin-drawer .admin-user-form{margin:24px 0;max-width:none}
.admin-drawer .admin-user-lists .admin-drawer-section{margin:20px 0}
.admin-danger-zone{margin-top:32px;padding-top:20px;border-top:1px solid var(--line)}
.admin-danger-zone h4{margin:0 0 4px;font-size:14px}
.admin-danger-zone .admin-danger-item+.admin-danger-item{margin-top:22px;padding-top:18px;border-top:1px dashed var(--line)}
.admin-danger-zone .admin-user-form{margin:0}
body[data-view="dashboard"] .admin-inline-button{display:inline-flex;align-items:center;width:auto;margin:0;padding:10px 16px;text-align:center;border:1px solid var(--line);border-radius:10px;font-size:15px;font-weight:600;color:var(--ink)}
.admin-reveal{display:grid;grid-template-rows:0fr;opacity:0}.admin-reveal[hidden]{display:none}.admin-reveal[data-open="true"]{grid-template-rows:1fr;opacity:1}.admin-reveal-inner{min-height:0;overflow:hidden}
#admin-results tbody tr[data-user-id]{cursor:pointer}
#admin-results .admin-table tbody tr[data-user-id]:hover>td,#admin-results .admin-table tbody tr[data-user-id]:not(.admin-integration-editor):hover>td:first-child{background:var(--dashboard-hover)}
#admin-results .admin-table tbody tr.is-selected>td,#admin-results .admin-table tbody tr.is-selected:not(.admin-integration-editor)>td:first-child{background:color-mix(in srgb,var(--ink) 8%,var(--bg))}
#admin-results .admin-table tbody tr.is-selected:not(.admin-integration-editor)>td:first-child{box-shadow:inset 3px 0 0 var(--ink)}
.admin-drawer .admin-user-skeleton{padding-top:20px}
.admin-drawer-identity.admin-user-skeleton{padding:0}
.admin-drawer .admin-user-skeleton .skeleton-bar.admin-drawer-avatar{display:block;width:52px;height:52px;margin:0;border-radius:50%}
.admin-drawer-identity.admin-user-skeleton .admin-drawer-names{gap:8px}
.admin-drawer .admin-user-skeleton .skeleton-bar.admin-user-skeleton-name{height:20px;width:60%;margin:0}.admin-drawer .admin-user-skeleton .skeleton-bar.admin-user-skeleton-email{height:13px;width:75%;margin:0}.admin-drawer .admin-user-skeleton .skeleton-bar.admin-user-skeleton-status{height:13px;width:35%;margin:0}
.admin-user-skeleton-fields>div{display:grid;gap:10px;margin:16px 0}.admin-drawer .admin-user-skeleton .skeleton-bar.admin-user-skeleton-label{height:13px;width:30%;margin:0}.admin-drawer .admin-user-skeleton .skeleton-bar.admin-user-skeleton-input{height:48px;width:100%;margin:0;border-radius:10px}
@media(prefers-reduced-motion:no-preference){
.admin-drawer{transition:transform .32s cubic-bezier(.22,1,.36,1),visibility 0s linear .32s}
.admin-drawer[data-open="true"]{transition:transform .32s cubic-bezier(.22,1,.36,1),visibility 0s}
.admin-drawer-header>*,.admin-drawer-body>*{animation:admin-drawer-swap .22s ease-out}
.admin-reveal{transition:grid-template-rows .24s ease,opacity .2s ease}
#admin-results .admin-table tbody tr>td{transition:background-color .18s ease,opacity .16s ease}
@keyframes admin-drawer-swap{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
}
@media(max-width:720px){
.admin-drawer{top:0;left:0;width:100%;border-left:0;box-shadow:none;transform:translateY(100%);padding-top:env(safe-area-inset-top)}
.admin-drawer-header{padding:16px 16px 14px 18px}.admin-drawer-body{padding:4px 18px calc(32px + env(safe-area-inset-bottom))}.admin-drawer>.admin-user-status{margin:12px 18px 0}
.admin-drawer-close{width:44px;height:44px;min-height:44px}
}

/* Admin tables: one line per cell, horizontal scroll inside #admin-results, sticky header and first column. */
#admin-results{container-type:inline-size;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
#admin-results table.admin-table{width:max-content;min-width:100%}
#admin-results .admin-table thead th{position:sticky;top:0;z-index:2;background:var(--bg)}
#admin-results .admin-table tbody tr:not(.admin-integration-editor)>td:first-child,#admin-results .admin-table thead th:first-child{position:sticky;left:0;z-index:1;background:var(--bg)}
#admin-results.is-scrolled-x .admin-table tbody tr:not(.admin-integration-editor)>td:first-child,#admin-results.is-scrolled-x .admin-table thead th:first-child{box-shadow:inset -1px 0 0 var(--line),6px 0 10px -8px #0003}
#admin-results .admin-table thead th:first-child{z-index:3}
#admin-results tr.admin-integration-editor>td{white-space:normal}
.admin-integration-panel{position:sticky;left:0;box-sizing:border-box;max-width:100cqw}
.admin-th-with-key{display:inline-flex;align-items:center;gap:6px}
.admin-status-legend{display:grid;place-items:center;width:22px;height:22px;min-height:22px;padding:0;margin:-4px 0;border-radius:50%;color:var(--muted);background:transparent}
.admin-status-legend svg{width:15px;height:15px}
.admin-status-legend:hover{color:var(--ink);background:var(--dashboard-hover)}
.styled-control-tooltip[data-align="start"]{text-align:left;max-width:min(340px,calc(100vw - 16px));font-weight:500}
.admin-table{--status-active:#1d7f41;--status-inactive:#c3302b;--status-pending:#9c6400;--status-off:#c3302b;--status-merged:#6e6e76;--status-test:#6a4bc4}
:root[data-theme-sweep="dark"] body[data-view="dashboard"] .admin-table{--status-active:#4fc57f;--status-inactive:#ff7b72;--status-pending:#e6b13f;--status-off:#ff7b72;--status-merged:#a4a4ae;--status-test:#b4a2ff}
.admin-status{display:inline-flex;align-items:center;gap:7px;border-radius:5px;cursor:default}
.admin-status:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.admin-status-icon{width:12px;height:12px;flex:none}
.admin-status[data-status="active"] .admin-status-icon{color:var(--status-active)}
.admin-status[data-status="inactive"] .admin-status-icon{color:var(--status-inactive)}
.admin-status:is([data-status="unverified"],[data-status="setup"]) .admin-status-icon{color:var(--status-pending)}
.admin-status[data-status="disabled"] .admin-status-icon{color:var(--status-off)}
.admin-status[data-status="merged"]{color:var(--muted)}.admin-status[data-status="merged"] .admin-status-icon{color:var(--status-merged)}
.admin-merged-count{display:inline-flex;align-items:center;gap:3px;margin-left:8px;padding:1px 6px;border-radius:999px;border:1px solid var(--line);color:var(--muted);font-size:12px;line-height:1.4;vertical-align:1px;cursor:default}.admin-merged-count .admin-status-icon{width:10px;height:10px;color:var(--status-merged)}.admin-merged-count:focus-visible{outline:2px solid currentColor;outline-offset:2px}.admin-merged-match{margin-left:8px;color:var(--muted);font-size:12px}.admin-merged-into{margin:20px 0;font-size:15px}
.admin-status[data-status="test"] .admin-status-icon{color:var(--status-test)}

/* Integrations: inline rename. The pencil and history buttons slide in on hover of the name cell. */
#admin-results .admin-table-integrations th:first-child{min-width:16rem}
.admin-name-view{display:flex;align-items:center;gap:6px}
.admin-name-text{cursor:text;border-radius:5px}
.admin-name-tools{display:inline-flex;gap:2px;flex:none;margin:-6px 0}
.admin-name-tool{display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:0;margin:0;border-radius:7px;color:var(--muted);background:transparent;opacity:0;transform:translateX(-6px)}
.admin-name-tool svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.admin-name-tool:hover,.admin-name-tool[aria-expanded="true"]{color:var(--ink);background:var(--dashboard-hover)}
.admin-name-cell:hover .admin-name-tool,.admin-table tr:focus-within .admin-name-tool,.admin-table tr.has-history .admin-name-tool{opacity:1;transform:none}
@media(pointer:coarse){#admin-results td{padding-block:11px}.admin-name-field input{font-size:16px}.admin-skeleton>div{padding-block:16px}.admin-name-tool{opacity:1;transform:none;width:36px;height:36px;min-height:36px}.admin-name-tools{margin:-8px 0}}
.admin-name-form{display:grid;margin:-7px 0 -7px -9px}
.admin-name-field{position:relative;display:block}
.admin-name-field input{width:100%;min-width:14rem;min-height:0;height:34px;margin:0;padding:6px 34px 6px 8px;font-size:14px;border-radius:7px;background:var(--card);color:var(--ink)}
.admin-name-field input:focus-visible{outline:2px solid #6aaa78;outline-offset:-2px}.admin-name-field input[aria-invalid="true"]{border-color:var(--error)}
.admin-name-form[aria-busy="true"] input{color:var(--muted)}
.admin-name-spinner{position:absolute;right:10px;top:50%;margin-top:-8px;opacity:0;color:var(--muted)}
.admin-name-form[aria-busy="true"] .admin-name-spinner{opacity:1}
.admin-name-error{display:grid;grid-template-rows:0fr;opacity:0}
.admin-name-error[data-open="true"]{grid-template-rows:1fr;opacity:1}
.admin-name-error p{min-height:0;overflow:hidden;margin:0;padding:0 0 0 2px;font-size:12px;line-height:1.5;color:var(--error);white-space:normal;max-width:24rem}
.admin-name-error[data-open="true"] p{padding-top:5px}
code.admin-app-id{font-family:ui-monospace,SFMono-Regular,'SF Mono',Menlo,Consolas,'Liberation Mono',monospace;font-size:12.5px;color:var(--muted);user-select:all;-webkit-user-select:all;cursor:text;padding:2px 5px;margin:0 -5px;border-radius:5px}
code.admin-app-id:hover{background:var(--dashboard-subtle);color:var(--ink)}
@media(prefers-reduced-motion:no-preference){
.admin-name-tool{transition:opacity .18s ease,transform .24s cubic-bezier(.22,1,.36,1),background-color .15s,color .15s}
.admin-name-tool+.admin-name-tool{transition-delay:.04s}
.admin-name-form{animation:admin-name-field-in .18s cubic-bezier(.22,1,.36,1)}
.admin-name-error{transition:grid-template-rows .22s cubic-bezier(.22,1,.36,1),opacity .18s ease}
.admin-name-error p{transition:padding-top .22s cubic-bezier(.22,1,.36,1)}
.admin-name-spinner{transition:opacity .15s ease}
.admin-name-text.is-saved{animation:admin-name-saved .9s cubic-bezier(.22,1,.36,1)}
@keyframes admin-name-field-in{from{opacity:0;transform:scale(.985)}}
@keyframes admin-name-saved{0%{opacity:0;transform:translateY(3px);background-color:var(--dashboard-subtle)}30%{opacity:1;transform:none;background-color:var(--dashboard-subtle)}100%{background-color:transparent}}
}
@media(prefers-reduced-motion:reduce){.admin-name-tool{transform:none;transition:none}}
.passkey-panel-status{margin:12px 0 0;font-size:.9rem;overflow-wrap:anywhere}.passkey-panel-status:empty{display:none}
@media(prefers-reduced-motion:no-preference){.device-cancel:not([hidden]),.passkey-panel-status:not(:empty){animation:opid-device-wait .18s ease-out}@keyframes opid-device-wait{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}}

/* Users filters: an icon button at the end of the search row and a compact popover. */
.admin-search .admin-filter-button{position:relative;display:grid;place-items:center;width:48px;height:48px;min-height:48px;margin:0;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink)}
.admin-filter-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.admin-filter-button:hover,.admin-filter-button[aria-expanded="true"]{background:var(--dashboard-hover)}
.admin-filter-button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.admin-filter-dot{position:absolute;top:9px;right:9px;width:8px;height:8px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 2px var(--card);transform:scale(0)}
.admin-filter-button[data-filtered="true"] .admin-filter-dot{transform:none}
.admin-filter-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);box-shadow:0 14px 40px -12px #0004}
.admin-filter-popover h2{margin:0 0 4px;font-size:16px}
.admin-filter-popover fieldset{margin:12px 0 0;padding:0;border:0;min-width:0}
.admin-filter-popover legend{padding:0;margin:0 0 8px;font-size:13px;font-weight:600;color:var(--muted)}
.admin-chips{display:flex;flex-wrap:wrap;gap:6px}
.admin-chip{position:relative;display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 11px;border:1px solid var(--line);border-radius:999px;font-size:13px;line-height:1.3;cursor:pointer;user-select:none}
.admin-chip input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;pointer-events:none}
.admin-chip:has(input:checked){border-color:var(--ink);background:color-mix(in srgb,var(--ink) 9%,transparent);font-weight:600}
.admin-chip:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.admin-chip .admin-status-icon{width:10px;height:10px}
.admin-filter-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.admin-filter-switch label{margin:0;font-size:14px;font-weight:600}
.admin-filter-switch input{appearance:none;flex:none;position:relative;width:40px;height:24px;min-height:24px;margin:0;border-radius:999px;background:var(--line);cursor:pointer}
.admin-filter-switch input::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--card);box-shadow:0 1px 3px #0003}
.admin-filter-switch input:checked{background:var(--ink)}.admin-filter-switch input:checked::after{transform:translateX(16px)}
.admin-filter-switch input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.admin-filter-note{margin:6px 0 0;font-size:12px;color:var(--muted)}
.admin-filter-actions{display:flex;justify-content:flex-end;margin-top:14px}
.admin-filter-popover .admin-filter-reset{width:auto;min-height:36px;margin:0;padding:6px 12px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:13px;font-weight:600}
.admin-filter-reset:disabled{opacity:.45;cursor:default}
.admin-list-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px}.admin-list-summary #admin-status{margin:0 0 16px}
.admin-list-summary .admin-text-button{width:auto;min-height:0;margin:0 0 16px;padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#admin-results.is-refreshing table{opacity:.6}
#admin-results tr.is-leaving>td{opacity:0}
@media(prefers-reduced-motion:no-preference){
.admin-filter-popover{opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top right;transition:opacity .16s ease,transform .18s cubic-bezier(.22,1,.36,1),overlay .18s allow-discrete,display .18s allow-discrete}
.admin-filter-popover:popover-open{opacity:1;transform:none}
@starting-style{.admin-filter-popover:popover-open{opacity:0;transform:translateY(-6px) scale(.98)}}
.admin-filter-dot,.admin-filter-switch input::after,.admin-chip{transition:transform .18s cubic-bezier(.22,1,.36,1),background-color .15s ease,border-color .15s ease}
#admin-results table{transition:opacity .15s ease}
#admin-results tr>td{transition:opacity .16s ease,background-color .18s ease}
#admin-results tr.is-entering>td{animation:admin-row-in .24s ease-out both}
#admin-results.is-resizing{overflow-y:hidden;transition:height .24s cubic-bezier(.22,1,.36,1)}
@keyframes admin-row-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
}
/* Tagging people with @ in Bubbles and comments. */
.mention-suggest{position:fixed;inset:auto;z-index:2147483000;box-sizing:border-box;max-height:min(316px,calc(100dvh - 32px));margin:0;padding:6px;overflow:hidden auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);box-shadow:0 14px 36px #0003;transform-origin:top left;text-align:left}
.mention-suggest[data-placement="above"]{transform-origin:bottom left}
.mention-suggest[data-placement="dock"]{transform-origin:bottom center}
.mention-option{display:flex;align-items:center;gap:10px;min-height:48px;padding:7px 9px;border-radius:9px;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none}
.mention-option[aria-selected="true"]{background:var(--dashboard-subtle,var(--bg))}
.mention-avatar{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;overflow:hidden;background:var(--dashboard-subtle,var(--bg));color:var(--muted);font-size:11px;font-weight:600;letter-spacing:.03em}
.mention-avatar img{width:100%;height:100%;object-fit:cover}
.mention-names{display:grid;min-width:0;flex:1;line-height:1.3}
.mention-names strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mention-names small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mention-tag{flex:none;padding:2px 7px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:10.5px;font-weight:500;line-height:1.4}
.mention-tag[data-tier="friend"]{border-color:color-mix(in srgb,#5fa86d 45%,var(--line));color:color-mix(in srgb,#3f8a4e 70%,var(--ink))}
.mention-empty{margin:0;padding:14px 10px;color:var(--muted);font-size:13px;line-height:1.4}
.mention-skeleton{cursor:default}
.mention-skeleton .mention-names{gap:5px}
.mention-skeleton .mention-names span{display:block;height:10px;width:62%;border-radius:5px;background:var(--dashboard-subtle,var(--bg))}
.mention-skeleton .mention-names span+span{width:38%;height:8px}
.mention-link{color:inherit;font-weight:600;text-decoration:none;border-radius:4px}
.mention-link:hover{text-decoration:underline;text-underline-offset:2px}
@media(prefers-reduced-motion:no-preference){.mention-skeleton .mention-avatar,.mention-skeleton .mention-names span{animation:opid-skeleton-pulse .9s ease-in-out infinite alternate}}
@media(pointer:coarse){.mention-option{min-height:52px}}
/* Direct messages with friends: launcher bottom right, panel above it. */
.dm-launcher{display:none}
body[data-view="dashboard"]:not([data-dashboard-loading])>.dm-launcher:not([hidden]){position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:26;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);box-shadow:0 10px 30px #0000001f;cursor:pointer}
.dm-launcher svg{width:20px;height:20px}
.dm-launcher:hover{background:var(--dashboard-hover,var(--card))}
.dm-launcher:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.dm-launcher[aria-expanded="true"]{background:var(--ink);color:var(--card);border-color:var(--ink)}
.dm-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:9px;background:var(--ink);color:var(--card);font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1;box-shadow:0 0 0 2px var(--card)}
.dm-badge[hidden]{display:none}
.dm-launcher[aria-expanded="true"] .dm-badge{background:var(--card);color:var(--ink);box-shadow:0 0 0 2px var(--ink)}
.dm-panel{position:fixed;inset:auto max(24px,env(safe-area-inset-right)) calc(max(24px,env(safe-area-inset-bottom)) + 56px) auto;box-sizing:border-box;margin:0;padding:0;width:min(370px,calc(100vw - 24px));height:min(560px,calc(100dvh - 120px));overflow:hidden;flex-direction:column;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--ink);box-shadow:0 16px 48px #0002;overscroll-behavior:contain}
.dm-panel:popover-open{display:flex}
.dm-header{display:flex;align-items:center;gap:8px;min-height:60px;padding:10px 12px 10px 18px;border-bottom:1px solid var(--line);flex:none}
.dm-panel[data-view="thread"] .dm-header{padding-left:8px}
.dm-header h2{flex:1;min-width:0;margin:0;font-size:17px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-header h2:focus{outline:none}.dm-header h2:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
.dm-icon-button{display:grid;place-items:center;flex:none;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.dm-icon-button:hover{background:var(--dashboard-subtle,var(--line))}.dm-icon-button:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.dm-icon-button svg{width:20px;height:20px}
.dm-icon-button[hidden],.dm-avatar[hidden]{display:none}
.dm-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--dashboard-subtle,var(--line));color:var(--ink);font-size:14px;font-weight:600}
.dm-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.dm-header-avatar{width:32px;height:32px;font-size:12px}
.dm-view{flex:1;min-height:0;display:flex;flex-direction:column}
.dm-view[hidden]{display:none}
#dm-list-view{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.dm-list,.dm-list-skeleton{list-style:none;margin:0;padding:6px}
.dm-list:empty{display:none}
.dm-list-skeleton[hidden]{display:none}
.dm-list-skeleton li{display:flex;align-items:center;gap:12px;padding:10px 12px}
.dm-list-skeleton .skeleton-circle{width:44px;height:44px;border-radius:50%;flex:none}
.dm-list-skeleton li>span:last-child{flex:1}
.dm-list-skeleton .skeleton-bar{margin:6px 0;height:12px}
.dm-list-skeleton .skeleton-bar:first-child{width:45%}.dm-list-skeleton .skeleton-bar:last-child{width:75%}
.dm-conversation{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:10px 12px;border:0;border-radius:14px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.dm-conversation:hover{background:var(--dashboard-hover,var(--dashboard-subtle,var(--line)))}
.dm-conversation:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.dm-conversation-copy{display:grid;gap:2px;flex:1;min-width:0}
.dm-conversation strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-preview{font-size:13px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-conversation[data-unread] .dm-preview{color:var(--ink);font-weight:600}
.dm-preview[data-typing]{color:var(--ink)}
.dm-meta{display:grid;justify-items:end;gap:4px;flex:none;font-size:11px;color:var(--muted)}
.dm-unread{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--ink);color:var(--card);font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}
.dm-note{margin:0;padding:24px 22px;font-size:14px;line-height:1.5;color:var(--muted);text-align:center}
.dm-note[hidden]{display:none}
.dm-error p{margin:0 0 12px;color:var(--error,var(--ink))}
.dm-error button[hidden]{display:none}
.dm-thread-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:12px 14px;display:flex;flex-direction:column;container-type:inline-size}
.dm-older{align-self:center;margin:0 0 10px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}
.dm-older[hidden]{display:none}.dm-older:disabled{color:var(--muted);cursor:default}
.dm-thread-skeleton{display:flex;flex-direction:column;gap:12px;margin-top:auto}
.dm-thread-skeleton[hidden]{display:none}
.dm-thread-skeleton .skeleton-bar{margin:0;height:34px;border-radius:18px;width:62%}
.dm-thread-skeleton .skeleton-bar:nth-child(even){align-self:flex-end;width:48%}
.dm-messages{list-style:none;margin:auto 0 0;padding:0;display:flex;flex-direction:column}
.dm-messages:empty{display:none}
.dm-time-separator{margin:14px 0 8px;text-align:center;font-size:11px;line-height:1.3;color:var(--muted)}
.dm-time-separator:first-child{margin-top:0}
.dm-message{position:relative;display:flex;flex-direction:column;align-items:flex-start;max-width:82%;margin-top:2px;border-radius:18px}
.dm-message[data-group="first"],.dm-message[data-group="single"]{margin-top:10px}
.dm-time-separator+.dm-message,.dm-message:first-child{margin-top:0}
.dm-message:focus{outline:none}
.dm-message:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dm-message:hover,.dm-message:focus-visible,.dm-message:has(:focus-visible),.dm-message[data-time-open]{z-index:1}
.dm-message[data-mine]{align-self:flex-end;align-items:flex-end}
.dm-message p{margin:0;padding:8px 13px;border-radius:18px;background:var(--dashboard-subtle,var(--line));color:var(--ink);font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.dm-message[data-mine] p{background:var(--ink);color:var(--card)}
/* The bubble edge facing the rest of its group tucks in, on the sender's side. */
.dm-message[data-group="first"]:not([data-mine]) p,.dm-message[data-group="first"]:not([data-mine]) .dm-doc{border-bottom-left-radius:5px}
.dm-message[data-group="middle"]:not([data-mine]) p,.dm-message[data-group="middle"]:not([data-mine]) .dm-doc{border-top-left-radius:5px;border-bottom-left-radius:5px}
.dm-message[data-group="last"]:not([data-mine]) p,.dm-message[data-group="last"]:not([data-mine]) .dm-doc{border-top-left-radius:5px}
.dm-message[data-mine][data-group="first"] p,.dm-message[data-mine][data-group="first"] .dm-doc{border-bottom-right-radius:5px}
.dm-message[data-mine][data-group="middle"] p,.dm-message[data-mine][data-group="middle"] .dm-doc{border-top-right-radius:5px;border-bottom-right-radius:5px}
.dm-message[data-mine][data-group="last"] p,.dm-message[data-mine][data-group="last"] .dm-doc{border-top-right-radius:5px}
/* Exact time: floats over its neighbours so opening it moves nothing. It stays in the accessibility tree while transparent. */
.dm-message-time{position:absolute;bottom:calc(100% + 4px);left:0;z-index:1;width:max-content;max-width:calc(100cqw - 8px);box-sizing:border-box;padding:3px 9px;border:1px solid var(--line);border-radius:11px;background:var(--card);color:var(--ink);box-shadow:0 2px 8px rgb(0 0 0 / .14);font-size:11px;line-height:1.35;text-wrap:balance;opacity:0;pointer-events:none}
.dm-message[data-mine] .dm-message-time{left:auto;right:0}
.dm-message[data-time-below] .dm-message-time{bottom:auto;top:calc(100% + 4px)}
.dm-message:focus-visible .dm-message-time,.dm-message:has(:focus-visible) .dm-message-time,.dm-message[data-time-open] .dm-message-time{opacity:1}
@media(hover:hover){.dm-message:hover .dm-message-time{opacity:1}}
.dm-typing{display:flex;flex:none;box-sizing:border-box;padding-top:10px}
.dm-typing[hidden]{display:none}
.dm-typing-bubble{display:inline-flex;align-items:center;gap:4px;padding:11px 13px;border-radius:18px;background:var(--dashboard-subtle,var(--line))}
.dm-typing-bubble span{width:6px;height:6px;border-radius:50%;background:var(--muted)}
@media(prefers-reduced-motion:no-preference){.dm-typing-bubble span{animation:dm-typing-dot 1.2s ease-in-out infinite}.dm-typing-bubble span:nth-child(2){animation-delay:.16s}.dm-typing-bubble span:nth-child(3){animation-delay:.32s}@keyframes dm-typing-dot{0%,60%,100%{opacity:.4;transform:none}30%{opacity:1;transform:translateY(-3px)}}}
.dm-seen{display:block;overflow:hidden;height:16px;margin:0 4px;padding-top:2px;box-sizing:border-box;font-size:11px;line-height:14px;color:var(--muted)}
#dm-thread-empty{margin-top:auto}
.dm-composer{display:flex;align-items:flex-end;gap:8px;flex:none;padding:10px 12px;border-top:1px solid var(--line)}
.dm-composer textarea{flex:1;box-sizing:border-box;min-height:40px;max-height:120px;margin:0;padding:9px 14px;border:1px solid var(--line);border-radius:20px;background:var(--bg);color:var(--ink);font:inherit;font-size:14px;line-height:20px;resize:none;overflow-y:auto}
.dm-composer textarea:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.dm-composer textarea:disabled{opacity:.6}
.dm-send{position:relative;display:grid;place-items:center;flex:none;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:var(--ink);color:var(--card);cursor:pointer}
.dm-send:disabled{opacity:.45;cursor:default}
.dm-send:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dm-send svg{width:20px;height:20px}
.dm-spinner{display:none;width:18px;height:18px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.dm-composer[data-sending] .dm-send{opacity:1}
.dm-composer[data-sending] .dm-send svg{display:none}
.dm-composer[data-sending] .dm-spinner{display:block}
.dm-attach{align-self:flex-end;width:40px;height:40px}
.dm-attach:disabled{opacity:.45;cursor:default}
.dm-attachment{display:flex;align-items:center;gap:10px;flex:none;margin:0 12px;padding:8px 6px 8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.dm-attachment[hidden]{display:none}
.dm-attachment-icon svg{width:22px;height:22px;display:block}
.dm-attachment-copy{display:grid;gap:1px;flex:1;min-width:0;font-size:13px}
.dm-attachment-copy strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-attachment-copy span{color:var(--muted);font-size:12px}
#dm-thread-view{position:relative}
.dm-drop{position:absolute;inset:8px;z-index:2;display:grid;place-items:center;border:2px dashed var(--ink);border-radius:16px;background:color-mix(in srgb,var(--card) 88%,transparent);pointer-events:none}
.dm-drop[hidden]{display:none}.dm-drop p{margin:0;font-weight:600;font-size:14px}
.dm-doc{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:220px;max-width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink)}
.dm-message[data-mine] .dm-doc{border-color:var(--ink)}
.dm-message .dm-doc+p{margin-top:4px}
.dm-doc-copy{display:grid;gap:2px;min-width:0}
.dm-doc-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:14px;font-weight:600;line-height:1.3;overflow:hidden;overflow-wrap:anywhere}
.dm-doc-copy span{font-size:12px;color:var(--muted)}
.dm-doc[data-open]{background:var(--dashboard-subtle,var(--bg))}
.dm-doc-open{box-sizing:border-box;min-width:80px;text-align:center;padding:6px 12px;border-radius:999px;background:var(--ink);color:var(--card);font-size:13px;font-weight:600;text-decoration:none}
.dm-doc-open:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dm-docs-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.dm-docs,.dm-docs-skeleton{list-style:none;margin:0;padding:6px}
.dm-docs:empty{display:none}.dm-docs-skeleton[hidden]{display:none}
.dm-docs-skeleton li{display:grid;gap:8px;padding:12px}
.dm-docs-skeleton .skeleton-bar{margin:0;height:12px}.dm-docs-skeleton .skeleton-bar:first-child{width:60%}.dm-docs-skeleton .skeleton-bar:last-child{width:40%}
.dm-doc-row[aria-current="true"]{background:var(--dashboard-subtle,var(--bg))}
.dm-doc-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;color:var(--ink);text-decoration:none}
.dm-doc-row:hover{background:var(--dashboard-hover,var(--dashboard-subtle,var(--line)))}
.dm-doc-row:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.dm-send-error{margin:0;padding:0 16px 10px;font-size:12px;color:var(--error,var(--ink))}
.dm-send-error[hidden]{display:none}
@media(max-width:720px){
 body[data-view="dashboard"]:not([data-dashboard-loading])>.dm-launcher:not([hidden]){right:max(14px,env(safe-area-inset-right));bottom:calc(var(--mobile-nav-height,0px) + 14px);width:44px;height:44px}
 .dm-panel{inset:auto max(8px,env(safe-area-inset-right)) calc(var(--mobile-nav-height,0px) + 68px) max(8px,env(safe-area-inset-left));width:auto;height:min(560px,calc(100dvh - var(--mobile-nav-height,0px) - 96px))}
}
/* The expanded chat box: a shared doc beside the conversation. Sizes here are
   the end state; messages.js animates the panel's real box between them. */
.dm-retry{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:36px;margin:0 auto;padding:6px 16px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-size:13px;font-weight:600}
.dm-retry:hover:not(:disabled){background:var(--dashboard-subtle,var(--line))}
.dm-retry:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dm-retry[aria-busy="true"]{display:inline-flex;align-items:center;gap:8px;opacity:.75;cursor:default}
.dm-retry[aria-busy="true"]::before{content:"";width:12px;height:12px;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.dm-scrim{position:fixed;inset:0;z-index:2000;background:#00000057;opacity:0;pointer-events:none}
.dm-scrim[data-open]{opacity:1;pointer-events:auto}
body:has(.dm-panel[data-expanded])>.dm-launcher{opacity:0;visibility:hidden}
.dm-panel[data-expanded]{inset:24px;width:auto;height:auto;max-width:none;max-height:none}
.dm-doc-pane{position:absolute;z-index:3;top:0;right:368px;width:calc(100% - 368px);height:100%;display:flex;flex-direction:column;box-sizing:border-box;border-right:1px solid var(--line);background:var(--card);overflow:hidden}
.dm-doc-pane[hidden]{display:none}
.dm-panel[data-doc-open]>.dm-header,.dm-panel[data-doc-open]>.dm-view{box-sizing:border-box;width:368px;margin-left:auto}
.dm-panel[data-expanded] #dm-docs-button,.dm-panel[data-expanded] #dm-close{opacity:0;visibility:hidden}
.dm-panel[data-expanded] #dm-back{width:0;margin-right:-8px;opacity:0;visibility:hidden;overflow:hidden}
.dm-doc-bar{display:flex;align-items:center;gap:6px;flex:none;min-height:60px;padding:10px 12px 10px 8px;box-sizing:border-box;border-bottom:1px solid var(--line)}
.dm-doc-bar h3{flex:1;min-width:0;margin:0;font-size:16px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-doc-bar h3:focus{outline:none}
.dm-doc-bar a.dm-icon-button{color:var(--ink)}
.dm-doc-tabs{display:none}
.dm-doc-stage{position:relative;flex:1;min-height:0;background:var(--card)}
.dm-doc-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:var(--card);opacity:0}
.dm-doc-frame[data-loaded]{opacity:1}
.dm-doc-skeleton{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden}
.dm-doc-skeleton[data-leaving]{opacity:0}
.dm-doc-skeleton[hidden]{display:none}
.dm-doc-skeleton .skeleton-bar{display:block;margin:0;height:12px}
.dm-doc-skeleton>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:6px 14px;box-sizing:border-box}
.dm-doc-skeleton>div:first-child .skeleton-bar:first-child{width:min(240px,50%)}.dm-doc-skeleton>div:first-child .skeleton-bar:last-child{width:84px;height:26px;border-radius:13px}
.dm-doc-skeleton>.skeleton-bar{width:min(440px,70%);height:9px;margin:0 14px 12px}
.dm-doc-skeleton>div:last-child{display:grid;align-content:start;gap:14px;flex:1;padding:32px;border-top:1px solid var(--line)}
.dm-doc-skeleton>div:last-child .skeleton-bar:first-child{width:45%;height:28px}.dm-doc-skeleton>div:last-child .skeleton-bar:nth-child(2){width:90%}.dm-doc-skeleton>div:last-child .skeleton-bar:nth-child(3){width:80%}.dm-doc-skeleton>div:last-child .skeleton-bar:nth-child(4){width:85%}.dm-doc-skeleton>div:last-child .skeleton-bar:nth-child(5){width:60%}
#dm-doc-error{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;background:var(--card)}
#dm-doc-error[hidden]{display:none}
@media(max-width:959px){
 /* No room to sit side by side: the doc and the chat take turns. */
 .dm-panel[data-expanded]{inset:16px;padding-top:104px}
 .dm-doc-pane{top:0;left:0;right:auto;width:100%;border-right:0;background:transparent;pointer-events:none}
 .dm-doc-bar,.dm-doc-tabs,.dm-doc-stage{pointer-events:auto;background:var(--card)}
 .dm-doc-bar{min-height:56px;padding:8px 10px 8px 6px;border-bottom:0}
 .dm-doc-tabs{display:grid;grid-template-columns:1fr 1fr;flex:none;gap:4px;height:48px;padding:0 10px 8px;box-sizing:border-box;border-bottom:1px solid var(--line)}
 .dm-doc-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
 .dm-doc-tabs button[aria-selected="true"]{background:var(--dashboard-subtle,var(--line));color:var(--ink)}
 .dm-doc-tabs button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
 .dm-doc-tab-dot{width:8px;height:8px;border-radius:50%;background:var(--ink)}
 .dm-doc-tab-dot[hidden]{display:none}
 .dm-panel[data-doc-open]>.dm-header,.dm-panel[data-doc-open]>.dm-view{width:auto;margin-left:0}
 .dm-panel[data-expanded]>.dm-header{height:0;min-height:0;padding-block:0;border-bottom-width:0;opacity:0;overflow:hidden}
 .dm-panel[data-doc-tab="chat"] .dm-doc-stage{opacity:0;visibility:hidden}
 .dm-panel[data-expanded][data-doc-tab="doc"]>.dm-view{visibility:hidden}
}
@media(max-width:720px){
 .dm-panel[data-expanded]{inset:0;border-color:transparent;border-radius:0}
}
@media(prefers-reduced-motion:no-preference){
 .dm-scrim{transition:opacity .34s ease}
 body:has(.dm-panel[data-doc-open])>.dm-launcher{transition:opacity .2s ease,visibility .2s!important}
 .dm-doc-frame{transition:opacity .28s ease}
 .dm-doc-skeleton{transition:opacity .28s ease}
 .dm-doc-open{transition:opacity .18s ease,transform .18s ease}
 .dm-doc-open:hover{opacity:.86}.dm-doc-open:active{transform:scale(.96)}
 .dm-doc{transition:background-color .24s ease}
 .dm-panel>.dm-header{transition:height .34s cubic-bezier(.22,1,.36,1),min-height .34s cubic-bezier(.22,1,.36,1),padding .34s cubic-bezier(.22,1,.36,1),opacity .2s ease}
 .dm-panel[data-doc-open]>.dm-header #dm-back,.dm-panel[data-doc-open]>.dm-header #dm-docs-button,.dm-panel[data-doc-open]>.dm-header #dm-close{transition:opacity .2s ease,visibility .2s,width .34s cubic-bezier(.22,1,.36,1),margin .34s cubic-bezier(.22,1,.36,1)}
 .dm-doc-stage{transition:opacity .22s ease,visibility .22s}
 .dm-doc-tabs button{transition:background-color .18s ease,color .18s ease}
 .dm-retry{transition:background-color .18s ease,opacity .18s ease}
 .dm-panel>.dm-view{transition:visibility 0s}
 .dm-panel[data-expanded][data-doc-tab="doc"]>.dm-view{transition:visibility 0s .34s}
 .dm-retry[aria-busy="true"]::before{animation:dm-spin .8s linear infinite}
}
@media(prefers-reduced-motion:no-preference){
 body[data-view="dashboard"]:not([data-dashboard-loading])>.dm-launcher:not([hidden]){transition:transform .18s ease,background-color .18s ease,color .18s ease}
 @starting-style{body[data-view="dashboard"]:not([data-dashboard-loading])>.dm-launcher:not([hidden]){transform:scale(.6);opacity:0}}
 .dm-launcher:active{transform:scale(.94)}
 .dm-panel{opacity:0;transform:translateY(10px) scale(.97);transform-origin:bottom right;transition:opacity .22s ease,transform .22s cubic-bezier(.22,1,.36,1),display .22s allow-discrete,overlay .22s allow-discrete}
 .dm-panel:popover-open{opacity:1;transform:none}
 @starting-style{.dm-panel:popover-open{opacity:0;transform:translateY(10px) scale(.97)}}
 .dm-message[data-entering],.dm-time-separator[data-entering]{animation:dm-message-in .24s cubic-bezier(.22,1,.36,1)}
 .dm-seen[data-entering]{animation:dm-seen-in .2s ease}
 .dm-message p,.dm-message .dm-doc{transition:border-radius .16s ease}
 .dm-message-time{transform:translateY(3px);transition:opacity .14s ease,transform .14s ease}
 .dm-message[data-time-below] .dm-message-time{transform:translateY(-3px)}
 .dm-message:focus-visible .dm-message-time,.dm-message:has(:focus-visible) .dm-message-time,.dm-message[data-time-open] .dm-message-time{transform:none}
 @media(hover:hover){
  .dm-message:hover .dm-message-time{transform:none;transition-delay:.18s}
 }
 .dm-spinner{animation:dm-spin .8s linear infinite}
 .dm-conversation{transition:background-color .15s ease}
}
@keyframes dm-message-in{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes dm-seen-in{from{opacity:0;height:0;padding-top:0}to{opacity:1;height:16px;padding-top:2px}}
@keyframes dm-spin{to{transform:rotate(360deg)}}
/* Connected apps and API keys */
#api-access{margin-top:24px}#api-access h2{margin-top:0}#api-access h3{margin:24px 0 8px;font-size:15px}
.api-list,.api-activity,.consent-scopes{list-style:none;padding:0;margin:8px 0 0}
.api-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.api-list li:first-child{border-top:1px solid var(--line)}
.api-list li>div{display:grid;gap:4px;min-width:0}.api-list strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.api-list small{color:var(--muted);font-size:12px}
.api-scope-chips{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:4px 0 0}
.api-scope-chips li{padding:3px 8px;border:0;border-radius:999px;background:var(--dashboard-subtle);font-size:11px;line-height:1.3}
.api-keys-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.api-keys-heading h3{margin:0}
.api-key-form,.api-key-created{display:grid;gap:8px;margin:12px 0;padding:16px;border:1px solid var(--line);border-radius:12px}
.api-key-form fieldset{border:0;margin:8px 0 0;padding:0}.api-key-form legend{font-weight:600;font-size:13px;margin-bottom:6px}
.api-key-scopes{display:grid;gap:8px}
.api-scope-option{display:flex;align-items:flex-start;gap:10px;font-size:13px;cursor:pointer}.api-scope-option input{margin-top:3px}
.api-scope-option>span{display:grid;gap:2px}.api-scope-option small{color:var(--muted);font-size:12px}
.api-key-actions,.consent-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.api-key-created h4{margin:0;font-size:14px}.api-key-created p{margin:0;color:var(--muted);font-size:13px}
.api-key-created code{display:block;padding:10px 12px;border-radius:8px;background:var(--dashboard-subtle);font-size:13px;overflow-wrap:anywhere;user-select:all}
.api-activity li{display:grid;gap:2px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.api-activity small{color:var(--muted);font-size:12px}
.api-activity li[data-outcome="refused"] span{color:var(--muted)}
.api-busy{display:inline-flex;align-items:center;gap:6px}.api-busy .button-spinner{display:inline-block;width:12px;height:12px}
.api-access-error{color:var(--error)}
.api-access-reauth{margin:12px 0;padding:12px 16px;border-left:3px solid #80b787;background:var(--dashboard-subtle)}.api-access-reauth p{margin:0 0 4px}.api-access-reauth .secondary{margin-top:6px}
.api-access-skeleton .api-skeleton-heading{width:30%;height:15px;margin-top:24px}
.api-skeleton-row{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.api-skeleton-row .skeleton-bar{margin:6px 0}.api-skeleton-row .api-skeleton-button{width:96px;height:32px;border-radius:999px}
.consent-scopes li{display:grid;gap:2px;padding:10px 0;border-bottom:1px solid var(--line)}.consent-scopes li:first-child{border-top:1px solid var(--line)}
.consent-scopes small{color:var(--muted)}.consent-intro-skeleton{width:70%}
#consent .button-spinner{display:inline-block;width:14px;height:14px;margin-right:6px;vertical-align:-2px}
/* Emailed-code sign-up and sign-in (docs/outside-sign-up.md). */
.email-code-input{width:100%;letter-spacing:.4em;font-variant-numeric:tabular-nums;text-align:center;font-size:1.25rem}
.email-code-actions{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:8px}
.email-code-actions .text-link,.email-code-instead{background:transparent;border:0;padding:0;color:var(--muted);font-size:.9rem;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.email-code-instead{display:flex;margin:12px auto 0}
.email-code-actions .text-link:hover,.email-code-instead:hover{color:var(--ink)}
.email-code-actions .text-link:disabled{opacity:.6;cursor:default;text-decoration:none}
/* First-visit quick start on My Page. */
.quick-start{position:relative;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:0 0 20px;background:var(--card)}
.quick-start h2{font-size:1.05rem;margin:0 32px 6px 0}
.quick-start p{margin:0 0 10px;color:var(--muted);font-size:.92rem}
.quick-start ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.quick-start li a{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--ink);text-decoration:none;border-radius:8px;padding:4px 6px}
.quick-start li a:hover,.quick-start li a:focus-visible{background:var(--bg)}
.quick-start li a span[aria-hidden]{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);font-size:.8rem;flex:none}
.quick-start-dismiss{position:absolute;top:10px;right:10px;width:36px;min-height:36px;padding:0;border:0;background:transparent;color:var(--muted);font-size:1.2rem;line-height:1;border-radius:50%;cursor:pointer}
.quick-start-dismiss:hover{color:var(--ink);background:var(--bg)}

/* Bug report: header button, dialog and the admin Issues tab. */
body[data-view="dashboard"] .dashboard-profile-control #issue-report-open{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;margin:0;padding:10px;color:var(--muted);background:transparent;border:0;border-radius:50%;cursor:pointer}
body[data-view="dashboard"] .dashboard-profile-control #issue-report-open:hover{color:var(--ink);background:var(--dashboard-hover)}
body[data-view="dashboard"] #issue-report-open:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
body[data-view="dashboard"] #issue-report-open svg{width:20px;height:20px}
/* Icon-to-icon spacing matches the bell to the profile photo: both buttons carry 10px of padding around their icons. */
body[data-view="dashboard"] .dashboard-profile-control #issue-report-open{margin-right:-10px;opacity:.5;transition:opacity .15s ease,color .15s ease,background .15s ease}
body[data-view="dashboard"] .dashboard-profile-control #issue-report-open:is(:hover,:focus-visible){opacity:1}
@media (prefers-reduced-motion:reduce){body[data-view="dashboard"] .dashboard-profile-control #issue-report-open{transition:none}}
.issue-report-dialog{box-sizing:border-box;width:min(460px,calc(100% - 32px))}
.issue-report-dialog h2:focus{outline:none}
.issue-report-dialog .hint{margin:-8px 0 4px;font-size:13px;line-height:1.5;color:var(--muted)}
.issue-report-dialog label{margin:16px 0 6px;font-size:14px;font-weight:600}
.issue-report-dialog :is(input,select,textarea){box-sizing:border-box;display:block;width:100%;font:inherit;font-size:15px;padding:11px 12px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:10px}
.issue-report-dialog textarea{resize:vertical;min-height:132px;line-height:1.5}
.issue-report-dialog [aria-invalid="true"]{border-color:var(--error)}
.issue-report-dialog .issue-report-error{margin:14px 0 0;font-size:14px;line-height:1.5;color:var(--error)}
.issue-report-error[hidden]{display:none}
.issue-report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.issue-report-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;margin:0;padding-inline:18px}
.issue-report-spinner{display:none}.is-sending .issue-report-spinner{display:block}
.issue-report-done{text-align:center;padding:12px 0 4px}.issue-report-done[hidden]{display:none}
.issue-report-dialog .issue-report-done h2{margin:0 0 8px}
.issue-report-done p{margin:0 0 4px}
.admin-tab-count{display:inline-grid;place-items:center;box-sizing:border-box;min-width:18px;height:18px;margin-left:7px;padding:0 5px;border-radius:9px;background:var(--ink);color:var(--card);font-size:11px;font-weight:600;line-height:1;vertical-align:1px}
.admin-tab-count[hidden]{display:none}
.admin-issue-filters{display:flex;flex-wrap:wrap;gap:12px;margin:-6px 0 18px}.admin-issue-filters[hidden]{display:none}
.admin-issue-filters>div{flex:1 1 150px;min-width:0}
.admin-issue-filters label{margin:0 0 6px;font-size:13px;font-weight:600}
:is(.admin-issue-filters,.admin-issue-form) select,.admin-issue-form textarea{box-sizing:border-box;width:100%;font:inherit;font-size:14px;padding:10px 12px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:10px}
.admin-issue-form textarea{display:block;resize:vertical;line-height:1.5}
.admin-issue-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.admin-issue-form .admin-user-actions{margin-top:16px}
.admin-issue-form .admin-user-message{margin:12px 0 0;font-size:14px;line-height:1.5;color:var(--error)}
.admin-drawer .admin-issue-description{margin:0;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.55}
.admin-skeleton-issues>div{grid-template-columns:3fr 2fr 1fr 1fr 1fr 1fr}
#admin-results .admin-table-issues th:first-child{min-width:16rem}
#admin-results tbody tr[data-issue-id]{cursor:pointer}
#admin-results .admin-table tbody tr[data-issue-id]:hover>td,#admin-results .admin-table tbody tr[data-issue-id]:not(.admin-integration-editor):hover>td:first-child{background:var(--dashboard-hover)}
#admin-results td:is([data-severity="high"],[data-severity="critical"]){font-weight:600;color:var(--status-inactive)}
#admin-results td:is([data-status="resolved"],[data-status="dismissed"]){color:var(--muted)}
@media(prefers-reduced-motion:no-preference){
 .issue-report-dialog[open]{animation:issue-report-in .26s cubic-bezier(.16,1,.3,1) both}
 .issue-report-dialog[open]::backdrop{animation:issue-report-fade-in .22s ease-out both}
 .issue-report-dialog.is-closing{animation:issue-report-out .18s ease-in both}
 .issue-report-dialog.is-closing::backdrop{animation:issue-report-fade-out .18s ease-in both}
 .issue-report-done,.issue-report-error,.admin-issue-filters{animation:issue-report-rise .22s ease-out both}
 .admin-tab-count{animation:issue-report-fade-in .22s ease-out both}
 @keyframes issue-report-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
 @keyframes issue-report-out{from{opacity:1;transform:none}to{opacity:0;transform:translateY(6px) scale(.985)}}
 @keyframes issue-report-fade-in{from{opacity:0}to{opacity:1}}
 @keyframes issue-report-fade-out{from{opacity:1}to{opacity:0}}
 @keyframes issue-report-rise{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
}

/* OneBrain page */
#onebrain .connections-heading{margin-bottom:20px}
.onebrain-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:16px;align-items:start}
.onebrain-map-card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;padding:12px 12px 64px}
#onebrain-map{display:block;width:100%;height:clamp(360px,44vh,480px);overflow:hidden;color:var(--ink)}
.onebrain-map-skeleton{display:grid;place-items:center;height:clamp(360px,44vh,480px)}
.onebrain-map-skeleton .skeleton-circle{width:80px;height:80px;border-radius:50%}
.onebrain-library{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:14px;min-width:0}
.onebrain-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.onebrain-scope{display:flex;flex-wrap:wrap;gap:4px}
.onebrain-scope button,.onebrain-person-clear{min-height:32px;padding:5px 11px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:13px;font-weight:550;cursor:pointer}
.onebrain-scope button[aria-pressed="true"],.onebrain-person-clear{background:var(--ink);border-color:var(--ink);color:var(--card)}
.onebrain-docs{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:2px;max-height:min(58vh,560px);overflow:auto}
.onebrain-docs a{display:grid;gap:3px;padding:10px;border-radius:12px;color:var(--ink);text-decoration:none}
.onebrain-docs strong{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.onebrain-docs span{font-size:12px;color:var(--muted);line-height:1.4}
.onebrain-docs li[data-lit] a,.onebrain-docs a:hover,.onebrain-docs a:focus-visible{background:var(--dashboard-subtle,var(--bg))}
.onebrain-note{margin:0;padding:18px 14px;color:var(--muted);font-size:14px}
.onebrain-legend{position:absolute;left:16px;bottom:12px;display:flex;gap:14px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--muted)}
.onebrain-legend li{display:flex;align-items:center;gap:6px}
.onebrain-key{width:9px;height:12px;border-radius:2px;border:1.5px solid var(--ink);box-sizing:border-box}.onebrain-key.is-mine{background:var(--ink)}
.onebrain-link{fill:none;stroke:var(--line);stroke-width:1.5}
.onebrain-link.is-person{stroke:color-mix(in srgb,var(--ink) 35%,var(--line));stroke-width:2}
.onebrain-link.is-also{stroke-dasharray:.015 .015;stroke:color-mix(in srgb,var(--ink) 30%,var(--line))}
.onebrain-page{fill:var(--card);stroke:var(--ink);stroke-width:1.75}
.is-mine .onebrain-page{fill:var(--ink)}
.onebrain-hit{fill:transparent}
.onebrain-label,.onebrain-name{paint-order:stroke;stroke:var(--card);stroke-width:5px;stroke-linejoin:round}
.onebrain-label{font-size:17px;fill:var(--muted);opacity:0;pointer-events:none}.onebrain-label.is-always{opacity:1}
.onebrain-name{font-size:17px;font-weight:600;fill:var(--ink)}
.onebrain-initials{font-size:16px;font-weight:650;fill:var(--ink)}
.onebrain-disc{fill:var(--dashboard-subtle,var(--bg));stroke:var(--ink);stroke-width:2}
.onebrain-core{fill:var(--card);stroke:var(--ink);stroke-width:2}
.onebrain-person,.onebrain-self,.onebrain-leaf{cursor:pointer;outline:none}
.onebrain-person[aria-pressed="true"] .onebrain-disc{stroke-width:4}
.onebrain-leaf[data-lit] .onebrain-label,.onebrain-leaf:focus-visible .onebrain-label{opacity:1;fill:var(--ink)}
.onebrain-leaf:focus-visible .onebrain-hit,.onebrain-person:focus-visible .onebrain-disc,.onebrain-self:focus-visible .onebrain-core{stroke:var(--ink);stroke-width:3}
#onebrain-map[data-highlighting="true"] .onebrain-link[data-lit]{stroke:var(--ink)}
#onebrain-map[data-highlighting="true"] .onebrain-link:not([data-lit]),#onebrain-map [data-dim]{opacity:.22}
#onebrain-map[data-highlighting="true"] .onebrain-leaf:not([data-lit]) .onebrain-label.is-always{opacity:.3}
.onebrain-viewer-bar{display:flex;align-items:center;gap:14px;margin-bottom:12px;min-width:0}
.onebrain-back{display:inline-flex;align-items:center;gap:3px;flex:none;min-height:40px;padding:0 12px 0 6px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);font-size:13px;font-weight:600;text-decoration:none}
.onebrain-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#onebrain-viewer-title{margin:0;min-width:0;font-size:18px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#onebrain-viewer-title:focus{outline:none}
.onebrain-viewer-stage{position:relative;height:calc(100dvh - 150px);min-height:420px;background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.onebrain-frame{display:block;width:100%;height:100%;border:0}
.onebrain-viewer-skeleton{padding:28px}
@media (prefers-reduced-motion:no-preference){
 .onebrain-link,.onebrain-leaf,.onebrain-person,.onebrain-label,.onebrain-page,.onebrain-disc{transition:opacity .18s ease,stroke .18s ease}
 .onebrain-scope button,.onebrain-person-clear,.onebrain-docs a{transition:background-color .18s ease,color .18s ease,border-color .18s ease}
 #onebrain-map[data-arrived="true"] .onebrain-link:not(.is-also){stroke-dasharray:1;stroke-dashoffset:1;animation:onebrain-draw .7s cubic-bezier(.22,1,.36,1) forwards;animation-delay:calc(var(--i)*16ms)}
 #onebrain-map[data-arrived="true"] .onebrain-leaf,#onebrain-map[data-arrived="true"] .onebrain-person{animation:onebrain-appear .36s ease both;animation-delay:calc(180ms + var(--i)*16ms)}
 #onebrain-viewer:not([hidden]){animation:onebrain-appear .24s ease both}
}
@keyframes onebrain-draw{to{stroke-dashoffset:0}}
@keyframes onebrain-appear{from{opacity:0}to{opacity:1}}
@media (max-width:560px){.onebrain-name{font-size:30px}.onebrain-initials{font-size:24px}.onebrain-hit{r:44px}}
@media (max-width:900px){.onebrain-grid{grid-template-columns:minmax(0,1fr)}.onebrain-docs{max-height:none}}

/* Pages area: one header, flat rows, and details in their own view. */
.pages-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px}
.pages-header h1{margin:0}
.pages-header button.org-new{width:auto;min-height:40px;margin:0;padding:8px 16px;border-radius:9px;font-size:14px}
button.org-new[hidden],.my-page:not([data-page-view="organizations"]) #pages-header-action{display:none}
.my-page-tabs{margin-bottom:8px}
.my-page-overview{align-items:center;justify-content:space-between;gap:16px 24px;padding:20px 0}
.my-page-identity{min-width:0}
.my-page-overview h2{margin:0;font-size:1.35rem}
.my-page .my-page-state{margin:4px 0 0;color:var(--muted);font-size:.875rem}
.my-page-actions{flex:none;flex-direction:row-reverse;margin:0}
.my-page-actions .my-page-edit,.my-page-actions .my-page-analytics-link{min-height:40px;padding:8px 16px;font-size:14px}
.page-handle-panel,.my-page-published,.my-page-visibility{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:8px 16px;margin:0;padding:14px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.my-page-published h2,.my-page-visibility h2,.page-handle-panel label{margin:0;font-size:14px;font-weight:600}
.my-page-address-value{display:flex;align-items:center;gap:4px;min-width:0}
.my-page-address-value a{overflow-wrap:anywhere;font-size:14px}
.my-page-published .secondary{min-height:40px;padding:8px 14px;color:var(--ink);font-size:14px}
.my-page-visibility>div:first-child{display:contents}
.my-page-visibility p{margin:0;color:var(--muted);font-size:14px}
.my-page-visibility p.my-page-visibility-status{grid-column:2;grid-row:2;margin:0}
.my-page-visibility .visibility-switch{grid-column:3;grid-row:1}
.visibility-switch span{min-width:76px;min-height:34px;padding:4px 12px}
.page-handle-panel{display:block}
#page-handle-form{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:6px 16px}
.page-handle-controls button{min-height:36px}
.page-handle-controls button:disabled{display:none}
#page-handle-form:not(:has(#page-handle-save:not(:disabled))) #page-handle-help{display:none}
#page-handle-help,#page-handle-status{grid-column:2;margin:0}
.page-handle-input input{min-height:36px;padding:6px 0}
.my-page-start{margin:20px 0;padding:40px 24px;border:1px solid var(--line);border-radius:12px;text-align:center}
.my-page-start h2{margin:0;font-size:1.15rem}
.my-page-start p{margin:6px 0 16px;color:var(--muted)}
.my-page-start .my-page-edit{margin:0}
.my-page-loading{margin-top:20px}

.my-page-organizations{padding-top:20px}
.org-status{margin:0;color:var(--muted);font-size:14px}
.org-status:not(:empty){margin:0 0 16px}
.org-status a{color:var(--ink)}
.org-empty{margin:0;padding:48px 24px;border:1px solid var(--line);border-radius:12px;color:var(--muted);text-align:center}
.org-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.org-row{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px;color:var(--ink);text-decoration:none;transition:background-color .14s ease}
.org-row+.org-row,.org-row-item+.org-row-item{border-top:1px solid var(--line)}
.org-row:hover{background:var(--dashboard-hover)}
.org-row:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.org-tile{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:var(--dashboard-subtle,var(--bg));color:var(--ink);font-size:15px;font-weight:600}
.org-row-copy{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}
.org-row-name{overflow:hidden;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.org-row-meta,.org-row-role{color:var(--muted);font-size:13px}
.org-row-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.org-row-role{flex:none}
.org-row-chevron{flex:none;width:16px;height:16px;color:var(--muted)}
.org-row-chevron svg{display:block;width:100%;height:100%}
.org-skeleton{display:grid;gap:8px}
.org-skeleton span{display:block;height:64px;border-radius:12px;background:var(--line)}
.org-skeleton[data-kind="detail"] span:first-child{width:220px;height:24px}
.org-skeleton[data-kind="detail"] span:nth-child(2){height:56px;margin-bottom:24px}
.org-skeleton[data-kind="detail"] span:nth-child(n+3){height:52px}
.org-invitation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin:0 0 16px;padding:14px 16px;border:1px solid var(--line);border-radius:12px}
.org-invitation p{flex:1 1 240px;margin:0;font-size:14px}
.org-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.my-page-organizations .org-actions button,.my-page-organizations .org-dialog-actions button,.org-copy-row button{width:auto;min-height:40px;margin:0;padding:8px 16px;border-radius:9px;font-size:14px}
.my-page-organizations button.org-secondary{width:auto;min-height:40px;margin:0;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);font-size:14px;font-weight:600;transition:border-color .14s ease}
.my-page-organizations button.org-secondary:hover,.org-link-button:hover{border-color:var(--ink)}
.org-link-button{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;transition:border-color .14s ease}
.org-detail .my-page-edit{min-height:40px;margin:0;padding:8px 16px;font-size:14px}
.org-detail .back-link{margin-bottom:8px}
.org-detail-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-bottom:20px}
.org-detail-head .org-tile{width:48px;height:48px;border-radius:12px;font-size:18px}
.org-detail-head h2{margin:0;overflow-wrap:anywhere;font-size:1.25rem}
.org-detail-meta{margin:0;color:var(--muted);font-size:13px}
.org-detail-actions{flex:none}
.org-people-section{padding-top:16px;border-top:1px solid var(--line)}
.org-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.org-section-head h3{margin:0;font-size:1rem}
.org-people{margin:0;padding:0;list-style:none}
.org-person{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 0}
.org-person+.org-person{border-top:1px solid var(--line)}
.my-page-organizations button.org-quiet{width:auto;min-height:36px;margin:0;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;font-weight:500}
.my-page-organizations button.org-quiet:hover{background:var(--dashboard-hover);color:var(--ink)}
.org-dialog{width:min(420px,calc(100% - 32px));padding:24px;text-align:left}
.org-dialog h2{margin:0 0 16px;font-size:1.15rem;outline:none}
.org-dialog label{display:grid;gap:6px;margin:0 0 14px;font-size:14px;font-weight:600}
.org-dialog input,.org-dialog select{width:100%;min-height:42px;margin:0;font-weight:400}
.org-dialog select{padding:8px 10px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:8px;font-size:14px}
.org-optional{color:var(--muted);font-weight:400}
.org-handle-input{display:flex;align-items:center;gap:2px;padding-left:12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-weight:400}
.org-handle-input:focus-within{border-color:var(--ink)}
.org-handle-input input{flex:1;min-width:0;padding-left:0;border:0;outline:none;background:transparent}
.org-dialog p.org-dialog-note{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.5}
.org-dialog p.org-dialog-status{margin:0;font-size:13px;line-height:1.5}
.org-dialog p.org-dialog-status:not(:empty){margin-bottom:14px}
.org-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
.org-copy-row{display:flex;gap:8px;margin-bottom:14px}
.org-copy-row input{flex:1;min-width:0;font-size:13px}
.org-person-field{position:relative;margin:0 0 14px}
.org-dialog .org-person-field label{margin:0 0 6px}
.org-combo{display:flex;align-items:center;min-height:42px}
.org-combo input{flex:1}
.org-chip{display:flex;align-items:center;gap:10px;width:100%;min-height:42px;padding:4px 4px 4px 6px;border:1px solid var(--ink);border-radius:8px;background:var(--card)}
.org-chip-copy{display:flex;flex:1;align-items:baseline;gap:6px;min-width:0;overflow:hidden;white-space:nowrap}
.org-chip-name{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis}
.org-chip-handle{overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis}
.org-dialog button.org-chip-remove{display:grid;place-items:center;flex:none;width:32px;height:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted)}
.org-dialog button.org-chip-remove:hover{background:var(--dashboard-hover);color:var(--ink)}
.org-chip-remove svg{width:16px;height:16px}
.org-avatar{display:grid;place-items:center;flex:none;width:28px;height:28px;overflow:hidden;border-radius:50%;background:var(--dashboard-subtle,var(--bg));color:var(--ink);font-size:11px;font-weight:600}
.org-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.org-options{margin-top:6px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.org-options ul{max-height:232px;margin:0;padding:4px;overflow:auto;list-style:none}
.org-options ul:empty{display:none}
.org-option{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 8px;border-radius:7px;cursor:pointer}
.org-option[aria-selected="true"]{background:var(--dashboard-hover)}
.org-option-copy{display:flex;flex:1;flex-direction:column;min-width:0}
.org-option-name{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.org-option-handle{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.org-option-tag{flex:none;padding:2px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px;font-weight:600}
.org-dialog p.org-options-message{margin:0;padding:12px;color:var(--muted);font-size:13px;line-height:1.5}
.org-dialog p.org-field-hint{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.org-received{margin-bottom:16px}
/* Organization photos: tiles show the photo or initial, and owners and editors get a camera button. */
.org-tile{position:relative;overflow:hidden;isolation:isolate}
.org-tile-layer{grid-area:1/1;display:grid;place-items:center;width:100%;height:100%}
img.org-tile-layer{object-fit:cover}
.org-row-item{position:relative}
.org-tile-wrap{position:relative;display:inline-flex;flex:none}
.org-photo-slot{position:absolute;left:14px;top:50%;width:40px;height:40px;margin-top:-20px;pointer-events:none}
.org-tile-wrap .org-photo-slot{inset:0;width:auto;height:auto;margin:0}
.my-page-organizations button.org-photo-edit{position:absolute;left:calc(100% - 15px);top:calc(100% - 15px);z-index:1;display:inline-flex;align-items:center;width:max-content;max-width:none;min-height:0;height:22px;margin:0;padding:0 3px;border:2px solid var(--card);border-radius:999px;background:var(--ink);color:var(--card);font-size:12px;font-weight:600;line-height:1;white-space:nowrap;pointer-events:auto;opacity:0;transform:scale(.6);transform-origin:11px 11px;box-shadow:0 2px 8px #0003;transition:opacity .16s ease,transform .18s cubic-bezier(.22,1,.36,1),padding .22s cubic-bezier(.22,1,.36,1)}
.org-photo-edit svg{flex:none;width:14px;height:14px}
.org-photo-edit-label{display:inline-block;max-width:0;overflow:hidden;opacity:0;transition:max-width .24s cubic-bezier(.22,1,.36,1),opacity .16s ease,margin .24s cubic-bezier(.22,1,.36,1)}
.org-row-item:has(.org-tile:hover) .org-photo-edit,.org-tile-wrap:hover .org-photo-edit,.my-page-organizations button.org-photo-edit:hover,.my-page-organizations button.org-photo-edit:focus-visible{opacity:1;transform:none}
.my-page-organizations button.org-photo-edit:hover,.my-page-organizations button.org-photo-edit:focus-visible{padding:0 8px 0 4px}
.org-photo-edit:hover .org-photo-edit-label,.org-photo-edit:focus-visible .org-photo-edit-label{max-width:80px;margin-left:4px;opacity:1}
.my-page-organizations button.org-photo-edit:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media(hover:none){.my-page-organizations button.org-photo-edit{opacity:1;transform:none;height:24px;padding:0 4px}.my-page-organizations button.org-photo-edit::before{content:'';position:absolute;inset:-10px}}
.org-photo-dialog{width:min(440px,calc(100% - 32px))}
.org-photo-current{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.org-photo-current .org-tile{width:64px;height:64px;border-radius:14px;font-size:24px}
.org-photo-name{min-width:0;overflow-wrap:anywhere;font-weight:600}
.org-photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.org-photo-actions button[hidden]{display:none}
.org-photo-library{margin:0 0 14px}
.org-photo-library h3{margin:0 0 10px;font-size:14px}
.org-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px}
.org-photo-skeleton{display:block;aspect-ratio:1;border-radius:10px;background:var(--line)}
.org-dialog button.org-photo-choice{display:block;width:100%;min-height:0;aspect-ratio:1;margin:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--dashboard-subtle,var(--bg));transition:border-color .14s ease,transform .14s ease}
.org-dialog button.org-photo-choice:hover{border-color:var(--ink)}
.org-dialog button.org-photo-choice:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.org-dialog button.org-photo-choice:disabled{opacity:.55;cursor:default}
.org-photo-choice img{display:block;width:100%;height:100%;object-fit:cover}
.org-photo-choice-label{display:grid;place-items:center;height:100%;padding:4px;overflow:hidden;color:var(--muted);font-size:11px;line-height:1.3}
.org-dialog p.org-photo-empty{grid-column:1/-1;margin:0 0 8px;color:var(--muted);font-size:13px;line-height:1.5}
.org-dialog p.org-dialog-status.is-busy{display:flex;align-items:center;gap:8px;color:var(--muted)}
.org-dialog p.org-dialog-status .button-spinner{width:14px;height:14px}
@media(prefers-reduced-motion:no-preference){.org-photo-skeleton{animation:my-page-loading-pulse 1.5s ease-in-out infinite}.org-dialog button.org-photo-choice:active{transform:scale(.97)}}
@media(prefers-reduced-motion:reduce){.my-page-organizations button.org-photo-edit,.org-photo-edit-label,.org-dialog button.org-photo-choice{transition:none}}
.org-received-row .org-actions{flex:none}
@media(prefers-reduced-motion:no-preference){.org-skeleton span{animation:my-page-loading-pulse 1.5s ease-in-out infinite}}
@media(prefers-reduced-motion:reduce){.org-row,.org-link-button,.my-page-organizations button.org-secondary{transition:none}}
@media(max-width:600px){
 .my-page-overview{align-items:stretch;flex-direction:column}
 .my-page-actions{flex-direction:row-reverse;justify-content:flex-end}
 .page-handle-panel,.my-page-published,.my-page-visibility{grid-template-columns:minmax(0,1fr) auto}
 .my-page-published h2,.my-page-visibility h2{grid-column:1/-1}
 .my-page-visibility p{grid-column:1;grid-row:auto}
 .my-page-visibility p.my-page-visibility-status{grid-column:1/-1;grid-row:auto}
 .my-page-visibility .visibility-switch{grid-column:2;grid-row:2}
 #page-handle-form{grid-template-columns:1fr}
 #page-handle-help,#page-handle-status{grid-column:1}
 .org-row-role{display:none}
 .org-detail-actions{flex:1 1 100%}
 .org-received-row{flex-wrap:wrap}
 .org-received-row .org-row-copy{flex:1 1 calc(100% - 52px)}
 .org-received-row .org-actions{flex:1 1 100%;justify-content:flex-end}
}

/* Phone feedback: shared account navigation and focused composition. */
.connections-options{margin-top:24px;border-top:1px solid var(--line);padding-top:12px}
.connections-options>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted)}
.connections-options .connections-tools{margin-top:12px}
.bubble-editor-close{display:none}
.bubble-history{margin:0 0 12px}.bubble-history>summary{cursor:pointer;min-height:44px;align-content:center;color:var(--muted)}
#people-results[aria-busy=true]::before{content:'';display:block;height:96px;background:var(--dashboard-subtle,var(--line));border-radius:12px;animation:my-page-loading-pulse 1.5s ease-in-out infinite}
.page-overview-analytics{padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:16px}
.page-overview-analytics h2{margin:0;font-size:20px}.page-overview-analytics header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.page-overview-analytics header p{margin:0;color:var(--muted);font-size:14px}
.page-overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 0}
.page-overview-metrics dt{color:var(--muted);font-size:14px}.page-overview-metrics dd{margin:4px 0 0;font-size:26px;font-weight:600;font-variant-numeric:tabular-nums}
.page-overview-settings>summary{min-height:44px;align-content:center;cursor:pointer;font-weight:600}
@media(max-width:600px){
 body[data-view=dashboard] .dashboard-nav a[aria-current],body[data-view=dashboard][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a[aria-current]{background:transparent;box-shadow:none;border-color:transparent;color:var(--ink)}
 body[data-view=dashboard] .dashboard-nav a{border-radius:0;min-height:44px}
 #dashboard-bubble{box-sizing:border-box;margin:0!important;border:0!important;border-radius:0!important;padding:18px 18px max(18px,env(safe-area-inset-bottom))!important;overflow-y:auto;overscroll-behavior:contain}
 #dashboard-bubble .bubble-editor-close{display:block;width:auto;min-height:44px}
 #dashboard-bubble .bubble-editor-heading{position:sticky;top:-18px;background:var(--card);z-index:2;padding:8px 0}
 #dashboard-bubble .bubble-editor-heading h2{font-size:22px}
 #dashboard-bubble #bubble-text{min-height:160px;font-size:17px}
 #dashboard-bubble :is(input,textarea,select){font-size:16px}
 #dashboard-bubble .bubble-controls{display:flex;flex-wrap:wrap;gap:12px}
 #dashboard-bubble .bubble-controls>*{min-width:0;min-height:44px}
 .connections-heading h1{font-size:28px}.connections-heading p{margin-top:6px}
 .connections-switch{display:flex;flex-wrap:wrap;overflow:visible;gap:4px}
 .connections-switch button{min-height:44px}
 .person-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:20px 0}
 .person-row .person-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:12px}
 .person-row .person-actions :is(a,button,summary){min-height:44px;align-content:center}
 html[data-keyboard-visible] body[data-view=dashboard] .dashboard-nav,html[data-keyboard-visible] body[data-view=dashboard] .dashboard-sidebar,html[data-keyboard-visible] body[data-view=dashboard]>.dm-launcher{display:none!important}
 html[data-keyboard-visible],html[data-keyboard-visible] body[data-view=dashboard],html[data-keyboard-visible] body[data-view=dashboard][data-dashboard-page][data-dashboard-sidebar]{--mobile-nav-height:0px!important}
 html[data-keyboard-visible] body[data-view=dashboard],html[data-keyboard-visible] body[data-view=dashboard] #account:not([hidden]){padding-bottom:0!important}
 html[data-keyboard-visible] body[data-view=dashboard] .dm-panel{bottom:max(8px,env(safe-area-inset-bottom))!important;height:calc(var(--mobile-viewport-height,100dvh) - 72px)!important;max-height:calc(100dvh - 72px)}
 .my-page-overview{flex-direction:row;align-items:center;gap:12px}.my-page-identity{min-width:0}.my-page-identity h2{font-size:18px;overflow-wrap:anywhere}
 .my-page-actions{flex-shrink:0}.my-page-actions a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){#people-results[aria-busy=true]::before{animation:none}}

@media(max-width:600px){
 .public-bubbles-heading{margin-bottom:12px}
 .public-bubbles-heading h2{font-size:12px;line-height:1.3;letter-spacing:normal;margin:0}
 body[data-view=dashboard] .dashboard-nav>.active-tab-indicator{display:none}
 .connections-switch{gap:8px 20px;margin-bottom:16px}
 .person-row .person-actions{margin-left:0}
 .person-row .dashboard-avatar{align-self:start}
 .connections-options [data-connections-secondary]{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
 .connections-options [data-connections-secondary] button{width:auto;min-height:44px;margin:0}
}
@media(max-width:600px){
 #dashboard-bubble{max-width:none!important;right:0!important}
 #dashboard-bubble :is(button,.opid-select-trigger){min-height:44px;font-size:16px}
 #dashboard-bubble .bubble-editor-heading{gap:12px;justify-content:space-between}
 #dashboard-bubble:has(#bubble-composer:not([data-collapsed])) .bubble-new-action{display:none}
 #dashboard-bubble .bubble-writing-tools{display:flex;flex-wrap:wrap;gap:8px}
 #dashboard-bubble .bubble-writing-tools .bubble-audience,#dashboard-bubble .bubble-writing-tools .bubble-duration{flex:1 1 110px;min-width:0}
 #dashboard-bubble .bubble-media-editor{margin-left:0;display:flex;gap:8px}
 #dashboard-bubble .bubble-media-editor button{min-width:44px}
}
#my-page:not([data-page-view=ready])>.page-overview-analytics,#my-page:not([data-page-view=ready])>.page-overview-settings{display:none}
@media(max-width:600px){#dashboard-bubble #bubble-form button[type=submit]{min-height:44px!important;font-size:16px!important}#dashboard-bubble .bubble-history{margin-top:20px}}

/* Account menu: navigation, a compact OneProfileID card, and quick controls.
   Popover on larger screens; a full-height side panel on phones. */
.profile-menu-close{display:none}
.profile-menu-nav{display:flex;flex-direction:column;gap:1px}
.dashboard-profile-menu .profile-menu-nav a{gap:10px}
.dashboard-profile-menu .profile-menu-nav a[hidden]{display:none}
.profile-menu-nav svg{width:18px;height:18px;flex:none;color:var(--muted)}
.profile-menu-nav a[aria-current]{color:var(--ink);background:var(--dashboard-subtle)}
.profile-menu-nav a[aria-current] svg{color:var(--ink)}
.profile-menu-nav .profile-menu-extra{padding-left:40px!important}
.profile-menu-footer{display:flex;flex-direction:column;margin-top:4px;padding-top:4px;border-top:1px solid var(--line)}
.profile-menu-card{position:relative;display:flex;align-items:center;gap:10px;margin:2px 0 0;padding:8px 10px;border-radius:10px;min-width:0}
.profile-menu-card:has(.dashboard-handle-row:hover){background:var(--dashboard-hover)}
.profile-menu-card .profile-menu-card-avatar{width:30px;height:30px;flex:none;font-size:11px}
.profile-menu-card-copy{flex:1;min-width:0}
.profile-menu-card-name{margin:0;font-size:13px;font-weight:600;line-height:1.3;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-view=dashboard] #dashboard-profile-menu .dashboard-handle-row{display:block;width:auto;min-height:0;margin:0;padding:0;border-radius:0;background:transparent;font-size:12px;font-weight:450;line-height:1.4;color:var(--muted);font-variant-numeric:tabular-nums;letter-spacing:.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The whole card opens My Page, where the handle is managed. */
body[data-view=dashboard] #dashboard-profile-menu .dashboard-handle-row::after{content:'';position:absolute;inset:0;border-radius:inherit}
body[data-view=dashboard] #dashboard-profile-menu .dashboard-handle-row:focus-visible{outline:none}
.profile-menu-card:has(.dashboard-handle-row:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
body[data-view=dashboard] #dashboard-profile-menu .dashboard-handle-row.is-loading{color:transparent;background:linear-gradient(var(--dashboard-subtle) 0 0) 0 center/96px 10px no-repeat;border-radius:4px}
.profile-menu-card-mark{display:block;flex:none;width:16px;height:16px;opacity:.75}
.profile-menu-footer #dashboard-signout-slot{margin-top:4px}

@media(max-width:600px){
 body[data-view=dashboard] #dashboard-profile-menu{position:fixed!important;inset:0 0 0 auto!important;box-sizing:border-box;width:min(86vw,360px)!important;height:100dvh;max-height:100dvh!important;margin:0!important;padding:max(10px,env(safe-area-inset-top)) 16px max(14px,env(safe-area-inset-bottom))!important;border:0;border-left:1px solid var(--line);border-radius:22px 0 0 22px!important;box-shadow:-18px 0 56px #00000024;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;opacity:1;transform:none;translate:0 0}
 body[data-view=dashboard] #dashboard-profile-menu:popover-open{display:flex;flex-direction:column}
 body[data-view=dashboard] #dashboard-profile-menu::backdrop{background:#0000}
 body[data-view=dashboard] #dashboard-profile-menu:popover-open::backdrop{background:#0000004d}
 .dashboard-profile-menu .profile-menu-close{display:grid;place-items:center;flex:none;align-self:flex-end;width:44px;height:44px;min-height:44px;margin:0 -6px 8px 0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted)}
 .dashboard-profile-menu .profile-menu-close:focus-visible{background:var(--dashboard-hover);color:var(--ink)}
 @media(hover:hover){.dashboard-profile-menu .profile-menu-close:hover{background:var(--dashboard-hover);color:var(--ink)}}
 .dashboard-profile-menu .profile-menu-close svg{width:22px;height:22px}
 .profile-menu-nav{gap:2px}
 body[data-view=dashboard] .dashboard-profile-menu .profile-menu-nav a{gap:14px;min-height:50px;padding:0 14px;border-radius:14px;font-size:16px;font-weight:500;color:var(--ink)}
 .profile-menu-nav svg{width:22px;height:22px}
 .profile-menu-nav .profile-menu-extra{padding-left:50px!important}
 .profile-menu-footer{flex:none;margin-top:auto;padding-top:20px;border-top:0;gap:12px}
 .profile-menu-card{gap:14px;margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:var(--bg)}
 .profile-menu-card:has(.dashboard-handle-row:hover){background:var(--dashboard-hover)}
 .profile-menu-card .profile-menu-card-avatar{width:48px;height:48px;font-size:16px}
 .profile-menu-card-name{font-size:16px}
 body[data-view=dashboard] #dashboard-profile-menu .dashboard-handle-row{font-size:14px;margin-top:2px}
 .profile-menu-card-mark{width:22px;height:22px;align-self:flex-start;opacity:.85}
 .profile-menu-footer #dashboard-signout-slot{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0}
 body[data-view=dashboard] .dashboard-profile-menu .dashboard-menu-signout{flex:1;justify-content:center;min-height:48px;padding:0 16px;border:1px solid var(--line);border-radius:14px;font-size:16px;font-weight:500;color:var(--ink);background:transparent}
 body[data-view=dashboard] .dashboard-profile-menu .dashboard-menu-signout:is(:hover,:focus-visible){background:var(--dashboard-hover)}
 .dashboard-profile-menu .profile-menu-footer :is(#dashboard-theme-toggle,#dashboard-sound-toggle){flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;border:1px solid var(--line);border-radius:14px}
 .dashboard-profile-menu .profile-menu-footer :is(#dashboard-theme-toggle,#dashboard-sound-toggle) svg{width:20px;height:20px}
 body[data-view=dashboard] #dashboard-profile-menu .dashboard-version-link{justify-content:center;gap:6px;min-height:24px;margin:0;padding:0;font-size:11px}
}
@media(max-width:600px) and (prefers-reduced-motion:no-preference){
 /* Closing eases out quickly; opening glides in from the right edge. */
 body[data-view=dashboard] #dashboard-profile-menu{translate:100% 0;transition:translate .22s cubic-bezier(.4,0,1,1),display .22s allow-discrete,overlay .22s allow-discrete,background-color .25s ease,color .25s ease,border-color .25s ease}
 body[data-view=dashboard] #dashboard-profile-menu:popover-open{translate:0 0;transition:translate .34s cubic-bezier(.22,1,.36,1),display .34s allow-discrete,overlay .34s allow-discrete,background-color .25s ease,color .25s ease,border-color .25s ease}
 body[data-view=dashboard] #dashboard-profile-menu::backdrop{transition:background-color .22s ease,display .22s allow-discrete,overlay .22s allow-discrete}
 body[data-view=dashboard] #dashboard-profile-menu:popover-open::backdrop{transition:background-color .34s ease,display .34s allow-discrete,overlay .34s allow-discrete}
 @starting-style{
  body[data-view=dashboard] #dashboard-profile-menu:popover-open{translate:100% 0}
  body[data-view=dashboard] #dashboard-profile-menu:popover-open::backdrop{background:#0000}
 }
}
@media(max-width:600px) and (prefers-reduced-motion:reduce){
 /* No sliding: a short crossfade keeps the change readable. */
 body[data-view=dashboard] #dashboard-profile-menu{opacity:0;transition:opacity .14s ease,display .14s allow-discrete,overlay .14s allow-discrete}
 body[data-view=dashboard] #dashboard-profile-menu:popover-open{opacity:1}
 @starting-style{body[data-view=dashboard] #dashboard-profile-menu:popover-open{opacity:0}}
}
/* Message camera and galleries. Holding the paperclip widens the options track inside the flex row, so the field eases inward while the buttons spring out of the paperclip. */
.dm-attach{position:relative;z-index:2;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;transition:background-color .15s,transform .16s ease-out}
.dm-attach svg{pointer-events:none}
.dm-attach[data-gesture="open"]{background:var(--dashboard-subtle,var(--line))}
.dm-attach[data-aim="true"]{transform:scale(1.08);transition:background-color .15s,transform .18s cubic-bezier(.34,1.56,.64,1)}
.dm-camera-options{position:relative;z-index:1;display:flex;align-items:center;flex:none;align-self:flex-end;width:0;height:40px;margin-inline-start:-8px;pointer-events:none;transition:width .18s cubic-bezier(.4,0,.2,1),margin .18s cubic-bezier(.4,0,.2,1)}
.dm-camera-options[data-open="true"]{width:40px;margin-inline-start:0;pointer-events:auto;transition:width .18s cubic-bezier(.34,1.3,.64,1),margin .18s cubic-bezier(.34,1.3,.64,1)}
.dm-camera-options button{flex:none;display:grid;place-items:center;width:40px;height:40px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:var(--dashboard-subtle,var(--line));color:var(--ink);opacity:0;transform:translateX(-40px) scale(.4);transition:opacity .12s ease-out,transform .18s cubic-bezier(.4,0,.2,1),background-color .12s,color .12s;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.dm-camera-options[data-open="true"] button{opacity:1;transform:none;transition:opacity .1s ease-out,transform .18s cubic-bezier(.34,1.56,.64,1),background-color .12s,color .12s}
.dm-camera-options[data-open="true"] button[data-aim="true"]{background:var(--ink);color:var(--bg);transform:scale(1.18)}
.dm-camera-options button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dm-camera-options svg{width:22px;height:22px;pointer-events:none}
.dm-composer textarea{min-width:0}
.dm-photo-tray{display:flex;gap:8px;padding-inline:12px;flex:none}
.dm-photo-tray:not(:empty){padding-block:8px}
.dm-photo-tray>div{position:relative;width:64px;height:64px}
.dm-photo-tray img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.dm-photo-tray button{position:absolute;top:-5px;right:-5px;border:0;border-radius:50%;width:28px;height:28px;background:var(--ink);color:var(--bg)}
.dm-photo-grid{display:grid;width:min(320px,65vw);gap:3px;border-radius:16px;overflow:hidden;aspect-ratio:1.2}
.dm-photo-grid button{min-width:0;min-height:0;border:0;padding:0;background:var(--line);overflow:hidden;animation:dm-photo-pulse 1.4s infinite}
.dm-photo-grid button.loaded{animation:none}
.dm-photo-grid img{display:block;width:100%;height:100%;object-fit:cover}
.dm-photo-grid-2,.dm-photo-grid-3,.dm-photo-grid-4{grid-template-columns:repeat(2,1fr)}
.dm-photo-grid-3,.dm-photo-grid-4{grid-template-rows:repeat(2,1fr)}
.dm-photo-grid-3>:first-child{grid-row:span 2}
.dm-camera{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:max(20px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));border:0;background:#09090b;color:#fff;overflow:auto}
.dm-camera[open]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px}
.dm-camera::backdrop{background:#09090b}
.dm-camera video,.dm-camera canvas,.dm-camera>img{width:100%;height:70%;object-fit:contain;border-radius:20px}
.dm-camera button{min-height:44px;min-width:44px;border:1px solid #ffffff40;border-radius:24px;padding:10px 18px;background:#ffffff18;color:#fff;font:inherit}
.dm-camera-close{position:absolute;top:max(16px,env(safe-area-inset-top));right:16px;z-index:1}
.dm-camera-controls{display:flex;align-items:center;justify-content:space-around;gap:10px;width:100%}
.dm-camera-status{flex-basis:100%;text-align:center;margin:0}
.dm-camera[data-loading="true"]::after{content:"";width:85%;height:65%;border-radius:20px;background:#27272a;animation:dm-photo-pulse 1.4s infinite}
.dm-camera-controls[aria-busy="true"]::after{content:"";width:16px;height:16px;border:2px solid #fff4;border-top-color:white;border-radius:50%;animation:dm-photo-spin .7s linear infinite}
@keyframes dm-photo-pulse{50%{opacity:.55}}
@keyframes dm-photo-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.dm-camera-options,.dm-camera-options[data-open="true"],.dm-attach,.dm-attach[data-aim="true"]{transition:none}.dm-attach[data-aim="true"]{transform:none}.dm-camera-options button,.dm-camera-options[data-open="true"] button,.dm-camera-options[data-open="true"] button[data-aim="true"]{transform:none;transition:opacity .12s ease-out,background-color .12s,color .12s}.dm-photo-grid button,.dm-camera[data-loading="true"]::after,.dm-camera-controls[aria-busy="true"]::after{animation:none}}
.dm-photo-viewer[data-loading="true"]::after{position:absolute;inset:15% 8%;width:auto;height:auto;z-index:-1}
.dm-photo-viewer[data-loading="true"]>img{visibility:hidden}
.dm-photo-grid{max-width:100%}

@media(max-width:600px){
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav:has([data-admin-navigation]){grid-template-columns:repeat(5,minmax(0,1fr))}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a[data-admin-navigation]{display:none}
}
/* Bubble threads, post numbers, rebubbles and the details sheet. Class names keep the friend- prefix so profile pages copy them (profile-bubble.js). */
.friend-comment-thread{display:grid;gap:6px;margin:12px 0 0}
.friend-comment-thread>.friend-bubble-inline-latest{margin:0}
.friend-comment-replies{display:grid;gap:6px}
.friend-comment-replies[hidden]{display:none}
.friend-comment-replies>.friend-bubble-inline-latest.is-reply{margin:0 0 0 calc(var(--comment-indent,1)*14px);border-left:2px solid var(--line);border-top-left-radius:4px;border-bottom-left-radius:4px}
.friend-comment-thread .friend-bubble-inline-latest.is-removed{color:var(--muted);background:transparent;border:1px dashed var(--line);box-shadow:none;padding-top:7px;padding-bottom:7px}
.friend-bubble-inline-latest.is-removed em{font-size:11px}
.friend-comment-replying{color:var(--muted);font-size:11px;font-weight:600}
.friend-comment-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:3px 0 -4px -6px;white-space:normal;color:var(--muted);font-size:11px;line-height:1.2}
.friend-comment-meta button,.friend-bubble-info-trigger,.friend-bubble-rebubble-trigger,.friend-comment-thread-toggle,.friend-comment-reply-cancel{width:auto;min-height:28px;margin:0;padding:3px 6px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--muted);font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;cursor:pointer}
.friend-comment-meta button:hover,.friend-bubble-info-trigger:hover,.friend-bubble-rebubble-trigger:hover:not(:disabled),.friend-comment-thread-toggle:hover{background:var(--dashboard-subtle,var(--bg));color:var(--ink)}
.friend-comment-meta button:focus-visible,.friend-bubble-info-trigger:focus-visible,.friend-bubble-rebubble-trigger:focus-visible,.friend-comment-thread-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.friend-comment-info,.friend-bubble-info-trigger{display:inline-flex;align-items:center;gap:3px}
.friend-post-number{font-variant-numeric:tabular-nums;font-weight:600;opacity:.85}
.friend-post-more{display:inline-grid;place-items:center}.friend-post-more svg{width:14px;height:14px}
.friend-bubble-rebubble-trigger{display:inline-flex;align-items:center;gap:3px}
.friend-bubble-rebubble-trigger svg{width:17px;height:17px}
.friend-bubble-rebubble-trigger.is-mine{color:var(--ink)}
.friend-bubble-rebubble-trigger:disabled{opacity:.7;cursor:default}
.friend-bubble-rebubble-count{font-size:11px;font-variant-numeric:tabular-nums}
.friend-bubble-rebubbled-label{font-size:11px;font-weight:600}
/* Rebubble sits left of the comment button in the card's action row. */
.friend-bubble-foot>.friend-bubble-rebubble-trigger{order:2}
#friends-bubbles-list li .friend-bubble-foot button.friend-bubble-rebubble-trigger,.public-bubble-card>.friend-bubble-foot button.friend-bubble-rebubble-trigger,#public-bubbles-list .friend-bubble-foot button.friend-bubble-rebubble-trigger{min-width:40px;min-height:40px;margin:-2px 0;padding:5px 4px;border:0;border-radius:10px;background:transparent;box-shadow:none}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-foot .friend-bubble-rebubble-trigger{display:none}
/* The post number sits left of the visibility marker, quiet and tabular. */
.public-bubble-head{display:flex;align-items:center;gap:6px;min-width:0}
.public-bubble-head>.public-bubble-person{flex:1 1 auto;min-width:0}
.public-bubble-meta{display:inline-flex;align-items:center;gap:0;flex:none;margin-left:auto}
.friend-bubble-info-trigger.is-beside-visibility{justify-content:flex-end;min-width:40px;min-height:40px;margin:-7px 0;padding:0 6px;border-radius:10px;color:var(--ink);font-size:12px}
.is-beside-visibility .friend-post-number{opacity:.45;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:0;transition:opacity .16s ease}
.is-beside-visibility:hover .friend-post-number,.is-beside-visibility:focus-visible .friend-post-number{opacity:.8}
#friends-bubbles-list>li:not(.expanded) .friend-bubble-name-line .friend-bubble-info-trigger{display:none}
#friends-bubbles-list>li.expanded>.friend-bubble-identity .friend-bubble-name-line{padding-right:60px}
#friends-bubbles-list>li>.friend-bubble-identity .friend-bubble-name-line .friend-bubble-info-trigger{position:absolute;top:-11.5px;right:17px;margin:0;font-size:11px}
@media(prefers-reduced-motion:no-preference){#friends-bubbles-list>li.expanded .friend-bubble-name-line .friend-bubble-info-trigger,#friends-bubbles-list>li.expanded .friend-bubble-foot .friend-bubble-rebubble-trigger{animation:friend-control-in .22s cubic-bezier(.22,1,.36,1) both}@keyframes friend-control-in{from{opacity:0;translate:0 3px}to{opacity:1;translate:0 0}}}
@media(prefers-reduced-motion:reduce){.is-beside-visibility .friend-post-number{transition:none}}
.friend-comment-thread-toggle{justify-self:start;display:inline-flex;align-items:center;gap:8px;margin-left:14px}
.friend-comment-thread-toggle:before{content:'';width:18px;height:1px;background:var(--line)}
.friend-comment-reply-chip{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;padding:2px 2px 2px 12px;border-radius:999px;background:var(--dashboard-subtle,var(--bg));color:var(--muted);font-size:11px;font-weight:600}
.friend-comment-reply-cancel{display:grid;place-items:center;width:28px;padding:4px;border-radius:50%}.friend-comment-reply-cancel svg{width:16px;height:16px}
.public-bubble-rebubbled{display:flex;align-items:center;gap:6px;margin:0 0 10px;color:var(--muted);font-size:12px;font-weight:600}
.public-bubble-rebubbled svg{width:15px;height:15px;flex:none}
.public-bubble-rebubbled a{color:inherit}
/* A long press opens details on touch, so it must not start a text selection or the browser's callout. */
@media(pointer:coarse){
 .public-bubble-card,.friend-bubble-open,.friend-bubble-inline-latest{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
 .friend-comment-meta button,.friend-bubble-info-trigger,.friend-bubble-rebubble-trigger,.friend-comment-thread-toggle{min-height:32px}
}
.friend-info-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:560px;max-height:min(86dvh,720px);margin:auto auto 0;padding:0;border:0;background:transparent;color:var(--ink);overflow:visible}
.friend-info-sheet::backdrop{background:rgb(0 0 0 / .32)}
.friend-info-sheet-panel{display:flex;flex-direction:column;max-height:min(86dvh,720px);padding:6px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;background:var(--card);box-shadow:0 -14px 44px #0003;touch-action:pan-y;-webkit-touch-callout:none}
.friend-info-sheet-handle{flex:none;width:38px;height:5px;margin:4px auto 6px;border-radius:999px;background:var(--line);cursor:grab}
.friend-info-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 10px;cursor:grab}
.friend-info-sheet-title{margin:0;font-size:18px;line-height:1.3}
.friend-info-sheet-close{display:grid;place-items:center;width:36px;height:36px;min-height:36px;margin:0;padding:6px;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--ink)}
.friend-info-sheet-close svg{width:18px;height:18px}
.friend-info-sheet-body{overflow:auto;overscroll-behavior:contain;margin:0 -18px;padding:0 18px}
.friend-info-list{display:grid;margin:0}
.friend-info-row{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--line);font-size:13px;line-height:1.45}
.friend-info-label{color:var(--muted);font-weight:600}
.friend-info-value{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.friend-info-detail{color:var(--muted);font-size:12px}
.friend-info-when,.friend-info-rebubblers{display:grid;gap:2px}
.friend-info-number{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.friend-info-number-link{font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
.friend-info-copy,.friend-info-rebubble{width:auto;min-height:32px;margin:0;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink);font-family:inherit;font-size:12px;font-weight:600;line-height:1.2}
.friend-info-rebubble{display:inline-flex;align-items:center;gap:6px;justify-self:start}.friend-info-rebubble svg{width:16px;height:16px}
.friend-info-rebubbler-list{display:grid;gap:2px;margin:4px 0 0;padding:0;list-style:none}
.friend-info-actions{display:grid;gap:12px;padding:2px 0 14px}
.friend-info-reactions{display:flex;justify-content:space-between;gap:6px}
.friend-info-reactions button{display:grid;place-items:center;width:46px;height:46px;min-height:46px;margin:0;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--bg);font-size:23px;line-height:1}
.friend-info-reactions button.is-selected{border-color:var(--ink);background:var(--card)}
.friend-info-skeleton-label,.friend-info-skeleton-value{display:block;height:12px;border-radius:6px;background:var(--dashboard-subtle,var(--bg))}
.friend-info-skeleton-label{width:64px}.friend-info-skeleton-value{width:min(220px,80%);height:14px}
.friend-info-error{margin:0 0 8px;padding:12px 0;border-top:1px solid var(--line);color:var(--ink);font-size:13px}
/* The rebubble popover: a narrow dark tooltip column that rises out of the Rebubble icon, its caret on the icon. The active row pokes out sideways to show its unit. */
.friend-rebubble-pop{--pop-bg:var(--ink);--pop-fg:#fff;--pop-muted:rgb(255 255 255 / .62);--pop-hover:rgb(255 255 255 / .15);--pop-sel-bg:#fff;--pop-sel-fg:var(--ink);--pop-rule:rgb(255 255 255 / .16);--pop-shadow:drop-shadow(0 10px 16px rgb(0 0 0 / .2)) drop-shadow(0 1px 3px rgb(0 0 0 / .18));position:fixed;inset:auto;left:0;top:0;z-index:10001;width:48px;height:auto;max-width:none;margin:0;padding:4px;border:0;border-radius:24px;background:var(--pop-bg);color:var(--pop-fg);box-shadow:none;filter:var(--pop-shadow);overflow:visible;font-family:inherit;-webkit-touch-callout:none;user-select:none;-webkit-tap-highlight-color:transparent}
.friend-rebubble-pop:not(.is-open){pointer-events:none}
.friend-rebubble-pop-caret{position:absolute;top:calc(100% - .5px);left:var(--caret-x,50%);width:16px;height:8px;margin-left:-8px;background:var(--pop-bg);clip-path:path('M0 0H16L9.4 7.2Q8 8.6 6.6 7.2Z');pointer-events:none}
.friend-rebubble-pop[data-placement="bottom"] .friend-rebubble-pop-caret{top:auto;bottom:calc(100% - .5px);clip-path:path('M0 8H16L9.4 .8Q8 -.6 6.6 .8Z')}
.friend-rebubble-pop-menu{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:40px}
.friend-rebubble-pop[data-side="left"] .friend-rebubble-pop-menu{align-items:flex-end}
/* Each row is a 40px tab in the tooltip's own color, so when it widens the tooltip itself pokes out. */
.friend-rebubble-pop .friend-rebubble-length,.friend-rebubble-pop .friend-rebubble-remove{position:relative;display:flex;flex:none;width:max-content;min-width:40px;max-width:none;height:40px;min-height:40px;margin:0;padding:3px;border:0;border-radius:20px;background:var(--pop-bg);box-shadow:none;color:var(--pop-fg);font-family:inherit;font-size:13.5px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.01em;line-height:1;cursor:pointer;outline:none}
.friend-rebubble-pop :is(.friend-rebubble-length,.friend-rebubble-remove)::before,.friend-rebubble-pop :is(.friend-rebubble-length,.friend-rebubble-remove)::after{content:"";position:absolute;left:44px;width:8px;height:8px;opacity:0;pointer-events:none}
.friend-rebubble-pop :is(.friend-rebubble-length,.friend-rebubble-remove)::before{top:-8px;background:radial-gradient(circle at 100% 0,transparent 7.5px,var(--pop-bg) 8px)}
.friend-rebubble-pop :is(.friend-rebubble-length,.friend-rebubble-remove)::after{bottom:-8px;background:radial-gradient(circle at 100% 100%,transparent 7.5px,var(--pop-bg) 8px)}
.friend-rebubble-pop[data-side="left"] :is(.friend-rebubble-length,.friend-rebubble-remove)::before,.friend-rebubble-pop[data-side="left"] :is(.friend-rebubble-length,.friend-rebubble-remove)::after{left:auto;right:44px}
.friend-rebubble-pop[data-side="left"] :is(.friend-rebubble-length,.friend-rebubble-remove)::before{background:radial-gradient(circle at 0 0,transparent 7.5px,var(--pop-bg) 8px)}
.friend-rebubble-pop[data-side="left"] :is(.friend-rebubble-length,.friend-rebubble-remove)::after{background:radial-gradient(circle at 0 100%,transparent 7.5px,var(--pop-bg) 8px)}
.friend-rebubble-pop .is-active:not(:first-child)::before,.friend-rebubble-pop .is-active:not(:last-child)::after{opacity:1}
.friend-rebubble-face{display:flex;align-items:center;height:34px;min-width:34px;border-radius:17px;background:transparent;color:inherit}
.friend-rebubble-length-label,.friend-rebubble-remove-icon{position:relative;display:grid;place-items:center;flex:none;width:34px;height:34px}
.friend-rebubble-remove-icon svg{width:16px;height:16px}
.friend-rebubble-pop .friend-rebubble-remove{color:var(--pop-muted)}
/* The unit slides out from behind the number: its track grows from 0fr to 1fr. */
.friend-rebubble-unit{display:grid;grid-template-columns:minmax(0,0fr);margin-left:0;overflow:hidden}
.friend-rebubble-unit-text{min-width:0;overflow:hidden;padding-right:12px;white-space:nowrap;font-size:12.5px;font-weight:600;letter-spacing:0;opacity:0}
.friend-rebubble-pop .is-active .friend-rebubble-unit{grid-template-columns:minmax(0,1fr);margin-left:-9px}
.friend-rebubble-pop .friend-rebubble-remove.is-active .friend-rebubble-unit{margin-left:-5px}
.friend-rebubble-pop .is-active .friend-rebubble-unit-text{opacity:.82}
.friend-rebubble-pop .is-active .friend-rebubble-face{background:var(--pop-hover);color:var(--pop-fg)}
.friend-rebubble-pop .friend-rebubble-length.is-selected .friend-rebubble-face{background:var(--pop-sel-bg);color:var(--pop-sel-fg)}
.friend-rebubble-pop .friend-rebubble-length[aria-current="true"]:not(.is-selected) .friend-rebubble-face{box-shadow:inset 0 0 0 1.5px var(--pop-fg)}
.friend-rebubble-pop button:focus-visible .friend-rebubble-face{outline:2px solid var(--pop-fg);outline-offset:1px}
.friend-rebubble-pop-divider{flex:none;align-self:center;width:18px;height:1px;margin:3px 0;background:var(--pop-rule)}
.friend-rebubble-pop.is-sending .friend-rebubble-length:not(.is-sending),.friend-rebubble-pop.is-sending .friend-rebubble-remove:not(.is-sending){opacity:.45}
.friend-rebubble-pop [aria-disabled="true"]{cursor:default}
.friend-rebubble-spinner{display:none;position:absolute;inset:0;width:12px;height:12px;margin:auto;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.friend-rebubble-length.is-sending .friend-rebubble-length-label{-webkit-text-fill-color:transparent}
.friend-rebubble-length.is-sending .friend-rebubble-spinner{display:block;animation:friend-rebubble-spin .8s linear infinite}
.friend-rebubble-remove.is-sending svg{animation:friend-rebubble-spin .8s linear infinite reverse}
@keyframes friend-rebubble-spin{to{rotate:360deg}}
/* A failure reads in a small bubble past the column's far end, kept on screen by --status-shift. */
.friend-rebubble-pop-status{margin:0}
.friend-rebubble-pop-status:not(.visually-hidden){position:absolute;bottom:calc(100% + 8px);left:50%;width:max-content;max-width:min(220px,calc(100vw - 16px));padding:7px 10px;border-radius:12px;background:var(--pop-bg);color:var(--pop-fg);font-size:12px;font-weight:500;line-height:1.4;translate:calc(-50% + var(--status-shift,0px)) 0}
.friend-rebubble-pop[data-placement="bottom"] .friend-rebubble-pop-status:not(.visually-hidden){top:calc(100% + 8px);bottom:auto}
.friend-rebubble-pop-status:empty{display:none}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .friend-rebubble-pop{--pop-bg:color-mix(in srgb,var(--card) 78%,#fff);--pop-hover:rgb(255 255 255 / .14);--pop-sel-bg:var(--ink);--pop-sel-fg:var(--card);--pop-rule:rgb(255 255 255 / .18);--pop-shadow:drop-shadow(0 10px 18px rgb(0 0 0 / .5)) drop-shadow(0 1px 3px rgb(0 0 0 / .4))}}
:root[data-theme="dark"] .friend-rebubble-pop,:root[data-theme-sweep="dark"] .friend-rebubble-pop{--pop-bg:color-mix(in srgb,var(--card) 78%,#fff);--pop-hover:rgb(255 255 255 / .14);--pop-sel-bg:var(--ink);--pop-sel-fg:var(--card);--pop-rule:rgb(255 255 255 / .18);--pop-shadow:drop-shadow(0 10px 18px rgb(0 0 0 / .5)) drop-shadow(0 1px 3px rgb(0 0 0 / .4))}
/* The active row widens with a quick spring; after a pick the icon spins once and its count ticks up. Reduced motion shows the unit without the width change and fades the icon instead. */
@media(prefers-reduced-motion:no-preference){
.friend-rebubble-unit{transition:grid-template-columns .15s cubic-bezier(.34,1.45,.64,1),margin-left .15s cubic-bezier(.34,1.45,.64,1)}
.friend-rebubble-unit-text{transition:opacity .12s ease}
.friend-rebubble-face{transition:background-color .14s ease,color .14s ease,scale .14s ease}
.friend-rebubble-pop :is(.friend-rebubble-length,.friend-rebubble-remove)::before,.friend-rebubble-pop :is(.friend-rebubble-length,.friend-rebubble-remove)::after{transition:opacity .1s ease}
.friend-rebubble-pop button:active .friend-rebubble-face{scale:.94}
.friend-bubble-rebubble-trigger.is-confirmed svg,.friend-info-rebubble.is-confirmed svg{animation:friend-rebubble-pulse .56s cubic-bezier(.34,1.56,.64,1)}
.friend-bubble-rebubble-trigger.is-confirmed .friend-bubble-rebubble-count{animation:friend-rebubble-tick .36s cubic-bezier(.22,1,.36,1) .08s both}
@keyframes friend-rebubble-pulse{0%{scale:1;rotate:0deg}45%{scale:1.32}100%{scale:1;rotate:180deg}}
@keyframes friend-rebubble-tick{from{opacity:0;translate:0 70%}to{opacity:1;translate:0 0}}
}
@media(prefers-reduced-motion:reduce){.friend-rebubble-length.is-sending .friend-rebubble-spinner,.friend-rebubble-remove.is-sending svg{animation-duration:2.4s}.friend-rebubble-unit-text{transition:opacity .1s ease-out}.friend-bubble-rebubble-trigger.is-confirmed,.friend-info-rebubble.is-confirmed{animation:friend-rebubble-fade .4s ease-out}@keyframes friend-rebubble-fade{from{opacity:.35}to{opacity:1}}}
@media(prefers-reduced-motion:no-preference){.friend-info-skeleton-label,.friend-info-skeleton-value{animation:friend-info-pulse 1.2s ease-in-out infinite alternate}@keyframes friend-info-pulse{from{opacity:.55}to{opacity:1}}}
@media(min-width:721px){.friend-info-sheet{bottom:24px}.friend-info-sheet-panel{border-bottom:1px solid var(--line);border-radius:22px}}
.friend-bubble-inline-latest.comment-indent-1{--comment-indent:1}.friend-bubble-inline-latest.comment-indent-2{--comment-indent:2}.friend-bubble-inline-latest.comment-indent-3{--comment-indent:3}
.friend-bubble-inline-latest.is-target{box-shadow:0 0 0 2px var(--ink);scroll-margin:96px}
@media(prefers-reduced-motion:no-preference){.friend-bubble-inline-latest.is-target{animation:post-number-target 1.6s ease-out .2s both}@keyframes post-number-target{from{box-shadow:0 0 0 6px color-mix(in srgb,var(--ink) 35%,transparent)}to{box-shadow:0 0 0 2px var(--ink)}}}
.post-number-body{min-height:100dvh;background:var(--bg)}
.post-number-header{display:flex;justify-content:center;padding:18px 20px 0}
.post-number-home{color:var(--ink);font-weight:700;text-decoration:none;letter-spacing:-.01em}
.post-number-page{padding:16px 14px 48px}
.post-number-page .card{width:min(100%,560px);padding:20px 18px}
.post-number-rebubbles{display:flex;align-items:center;gap:6px;margin:0 0 12px;color:var(--muted);font-size:12px;font-weight:600}
.post-number-rebubbles svg{width:15px;height:15px;flex:none}
.post-number-person{display:flex;align-items:center;justify-content:space-between;gap:12px}
.post-number-who{display:grid;min-width:0}.post-number-who strong{font-size:16px;overflow-wrap:anywhere}.post-number-who small{color:var(--muted)}
.post-number-media{display:block;width:100%;max-height:420px;margin:14px 0 0;object-fit:contain;border-radius:14px;background:var(--bg)}
.post-number-text{margin:12px 0 0;color:var(--ink);font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.post-number-times{display:flex;flex-wrap:wrap;gap:4px 14px;margin:12px 0 0;color:var(--muted);font-size:12px}
.post-number-comments{margin-top:18px;padding-top:4px;border-top:1px solid var(--line)}
.post-number-comments h2{margin:12px 0 0;font-size:14px}
.post-number-comments .friend-bubble-inline-comments{max-height:none;overflow:visible;font-size:13px;line-height:1.45}
.post-number-when{padding:0 6px;color:var(--muted)}
.post-number-quiet{margin:16px 0 0;font-size:13px}
.post-number-action{display:inline-flex;align-items:center;min-height:40px;margin-top:20px;padding:8px 16px;border-radius:999px;background:var(--button);color:var(--button-ink);font-weight:600;text-decoration:none}
.post-number-empty h1{font-size:1.4rem}

.bubble-photo-count{position:absolute;right:8px;top:8px;padding:2px 6px;border-radius:12px;background:#000b;color:white;font-size:12px}

.public-bubble-card .dm-photo-grid,.friend-bubble-inline .dm-photo-grid,.profile-status .dm-photo-grid{width:100%;max-width:480px}.dm-photo-grid{grid-template-rows:minmax(0,1fr)}.dm-photo-grid-3,.dm-photo-grid-4{grid-template-rows:repeat(2,minmax(0,1fr))}

#friends-bubbles-list li.expanded:has(.dm-photo-grid) .friend-bubble-preview{display:none}
.onebrain-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin:16px 0 20px}
.onebrain-stat{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:54px;padding:10px 6px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);font:inherit;cursor:help}
.onebrain-stat strong{font-size:20px;font-weight:650}.onebrain-stat span{font-size:12px;color:var(--muted)}
.onebrain-stat:hover,.onebrain-stat:focus-visible{border-color:var(--ink);background:var(--bg)}
#onebrain-map{touch-action:none;cursor:grab}#onebrain-map:active{cursor:grabbing}
.onebrain-map-layer{transform-origin:0 0;will-change:transform}
.onebrain-map-controls{position:absolute;right:14px;bottom:14px;display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--card) 82%,transparent);backdrop-filter:blur(8px);box-shadow:0 2px 10px #0000000d}
.onebrain-map-controls button{display:grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:18px;cursor:pointer}
.onebrain-map-controls button:hover{background:var(--bg);color:var(--ink)}
.onebrain-map-controls svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(prefers-reduced-motion:no-preference){.onebrain-stat{transition:background .18s,border-color .18s}}
#onebrain .connections-heading>div{width:100%}
.onebrain-stat.skeleton{pointer-events:none;position:relative;overflow:hidden;background:var(--line);opacity:.45}


@media(max-width:560px){
 #onebrain-map{height:min(60vh,460px)}
 .onebrain-map-skeleton{height:min(60vh,460px)}
 .onebrain-label{font-size:32px}.onebrain-name{font-size:32px}
 .onebrain-page{stroke-width:3}
 .onebrain-legend{flex-direction:column;gap:4px;bottom:16px;font-size:11px}
}

.own-profile-wall{position:relative;margin:16px 0 24px;border:1px solid var(--line);border-radius:20px;overflow:hidden}.own-profile-wall iframe{display:block;width:100%;height:800px;border:0}.own-profile-wall-skeleton{position:absolute;inset:0;z-index:1;background:var(--card);padding:24px;display:grid;align-content:start;gap:18px}.own-profile-wall-skeleton i{width:80px;height:80px;border-radius:50%;background:var(--dashboard-subtle)}.own-profile-wall-skeleton span{width:70%;height:18px;border-radius:6px;background:var(--dashboard-subtle)}.own-profile-wall-skeleton div{height:220px;border-radius:18px;background:var(--dashboard-subtle)}.own-profile-wall [hidden]{display:none!important}

/* My Connections: a title row with its add icon, then compact person cards. */
#connections .connections-title-row{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;margin-bottom:14px}
#connections .connections-title-row h1{margin:0;font-size:30px;line-height:1.15}
#connections .connections-add{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer;transition:background-color .15s ease,transform .15s ease}
#connections .connections-add svg{width:22px;height:22px}
#connections .connections-add:hover{background:var(--dashboard-subtle)}
#connections .connections-add:active{transform:scale(.94)}
#connections .connections-add:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
#connections .connections-switch{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:22px;margin-bottom:12px}
#connections .connections-switch::-webkit-scrollbar{display:none}
#connections .connections-switch button{flex:none;min-height:40px;padding:8px 0}
#connections #people-status{margin:10px 0;font-size:13px}
#people-panel{container-type:inline-size}
#people-results{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}
#people-results[aria-busy=true]::before{content:none}
@container (min-width:640px){#people-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
#people-results .person-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 10px 10px 12px;background:var(--card);border:1px solid var(--line);border-radius:16px}
#people-results .person-card:has(.person-more[open]){position:relative;z-index:3}
#people-results .person-top{display:flex;align-items:center;gap:8px;min-width:0}
#people-results .person-link{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:2px;margin:-2px;border-radius:12px;color:var(--ink);text-decoration:none}
#people-results .person-link:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
#people-results .person-link .dashboard-avatar{width:40px;height:40px;flex:none;font-size:14px}
#people-results .person-link .dashboard-avatar img{width:100%;height:100%;object-fit:cover}
#people-results .person-names{display:flex;flex-direction:column;min-width:0;gap:1px}
#people-results .person-name{font-size:15px;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#people-results .person-link:hover .person-name{text-decoration:underline;text-underline-offset:2px}
#people-results .person-handle-line{display:flex;align-items:center;gap:6px;min-width:0;font-size:13px;line-height:1.3;color:var(--muted)}
#people-results .person-handle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#people-results .person-relationship{flex:none;padding:1px 7px;border-radius:999px;background:var(--dashboard-subtle);color:var(--ink);font-size:11px;font-weight:550}
#people-results .person-relationship[hidden]{display:none}
#people-results .person-actions{display:flex;align-items:center;gap:2px;flex:none;margin:0}
#people-results .person-actions .person-icon-action{width:40px;height:40px;min-height:40px;padding:9px}
#people-results .person-actions .person-icon-action svg{width:22px;height:22px}
#people-results .person-actions .person-icon-action::after{content:none}
#people-results .person-actions .person-message{color:var(--ink)}
#people-results .person-follow-pill{display:inline-flex;align-items:center;gap:5px;width:auto;min-height:32px;margin:0 4px 0 2px;padding:5px 12px 5px 9px;border:0;border-radius:999px;background:var(--button);color:var(--button-ink);font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
#people-results .person-follow-pill svg{width:17px;height:17px;flex:none}
#people-results .person-follow-pill:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
#people-results .person-follow-pill:disabled{opacity:.5;cursor:wait}
#people-results .person-bubble{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 10px;border-radius:12px;background:var(--dashboard-subtle);color:var(--ink);text-decoration:none;transition:background-color .15s ease}
#people-results a.person-bubble:hover{background:color-mix(in srgb,var(--dashboard-subtle) 82%,var(--ink))}
#people-results .person-bubble:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
#people-results .person-bubble-thumb{position:relative;flex:none;width:44px;height:44px;border-radius:9px;overflow:hidden;background:var(--line)}
#people-results .person-bubble-thumb img{display:block;width:100%;height:100%;object-fit:cover}
#people-results .person-bubble-count,#people-results .person-bubble-play{position:absolute;right:3px;bottom:3px;padding:0 4px;border-radius:6px;background:#000a;color:#fff;font-size:10px;font-weight:600;line-height:15px}
#people-results .person-bubble-body{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
#people-results .person-bubble-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:13.5px;line-height:1.4;overflow-wrap:anywhere}
#people-results .person-bubble-text[data-placeholder]{color:var(--muted)}
#people-results .person-bubble-meta{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.2;color:var(--muted);font-variant-numeric:tabular-nums}
#people-results .person-bio{margin:0;padding-left:50px;font-size:13px;line-height:1.4;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#people-results .person-skeleton .person-names{flex:1}
#people-results .person-skeleton .person-names .skeleton-bar{height:11px;margin:3px 0;width:55%}
#people-results .person-skeleton .person-names .skeleton-bar+.skeleton-bar{width:35%}
#people-results .person-skeleton .dashboard-avatar.skeleton-circle{border-radius:50%;background:var(--dashboard-subtle)}
#people-results .person-skeleton .person-actions .skeleton-circle{width:28px;height:28px;margin:6px;border-radius:50%}
#people-results .person-skeleton .person-bubble{height:52px;box-sizing:border-box}
#people-results .person-skeleton .person-bubble .skeleton-bar{height:10px;margin:3px 0;background:var(--card);opacity:.7}
#people-results .person-more-menu{padding:8px;border-radius:14px}
#people-results .person-more-menu p{margin:4px 8px 8px;font-size:12.5px;line-height:1.45;color:var(--muted)}
#people-results .person-actions .person-more-menu button{display:flex;align-items:center;width:100%;min-height:40px;margin:0;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:14px;font-weight:550;text-align:left;cursor:pointer}
#people-results .person-actions .person-more-menu button:hover{background:var(--dashboard-subtle)}
#people-results .person-actions .person-more-menu button:last-child{color:#d0353f}
#people-results .person-actions .person-more-menu button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
@media(prefers-reduced-motion:no-preference){
 #people-results .person-card:not(.person-skeleton){animation:person-card-in .26s cubic-bezier(.22,1,.36,1) backwards}
 #people-results .person-card:nth-child(2){animation-delay:25ms}#people-results .person-card:nth-child(3){animation-delay:50ms}#people-results .person-card:nth-child(4){animation-delay:75ms}#people-results .person-card:nth-child(n+5){animation-delay:100ms}
 #people-results .person-more[open] .person-more-menu{animation:person-menu-in .16s cubic-bezier(.22,1,.36,1)}
 #people-results .person-follow-pill,#people-results .person-actions .person-icon-action{transition:background-color .15s ease,color .15s ease}
 @keyframes person-card-in{from{opacity:0;transform:translateY(6px)}}
 @keyframes person-menu-in{from{opacity:0;transform:translateY(-4px) scale(.98)}}
}
@media(max-width:600px){
 #connections .connections-title-row h1{font-size:26px}
 #connections .connections-switch{gap:18px;margin-bottom:8px}
 #connections .connections-switch button{font-size:15px}
 #people-results{gap:8px}
}

/* Launch usability: keep destinations legible and page actions easy to reach. */
@media(max-width:600px){
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav-label{display:block;font-size:clamp(10px,2.8vw,11px);letter-spacing:-.02em;line-height:1.2}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav a{gap:3px}
 body[data-view="dashboard"][data-dashboard-page][data-dashboard-sidebar] .dashboard-nav svg{width:22px;height:22px}
 .my-page-overview{flex-direction:column;align-items:stretch;gap:16px}
 .my-page-actions{display:flex;flex-wrap:wrap;gap:10px}
 .my-page-actions a{flex:1;justify-content:center}
}
/* Password panel and in-page confirmations (account-password.js, confirm-dialog.js). */
#account-password{margin-bottom:24px}
#password-change-form{display:grid;gap:6px;margin-top:12px}
#password-change-form .hint{margin:0 0 6px}
#password-change-form .primary{margin-top:12px}
#password-change-form input[aria-invalid="true"]{border-color:var(--error)}
#password-change-status:empty{display:none}
.confirm-dialog #confirm-dialog-message{color:var(--muted)}
.confirm-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px}
.confirm-dialog-actions button{width:auto;min-height:44px;margin:0;padding:10px 18px}
.confirm-dialog .danger{background:var(--error);border-color:var(--error);color:var(--error-bg)}
.password-reauth{margin:12px 0;padding:12px 16px;border-left:3px solid #80b787;background:var(--dashboard-subtle)}.password-reauth p{margin:0 0 4px}.password-reauth .secondary{margin-top:6px}
.legal-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:34px;padding-top:18px;border-top:1px solid var(--line);font-size:.9rem}.legal-links a{display:inline-flex;align-items:center;min-height:44px}
/* /account is the security page: the dashboard's Bubble strips stay on the dashboard. */
body:not([data-view="dashboard"]) :is(#friends-bubbles,#public-bubbles){display:none}
/* Report dialog and Report buttons (web/content-report.js). */
.content-report-reasons{margin:12px 0 0;padding:0;border:0;min-width:0}
.content-report-reasons legend{padding:0;margin:0 0 8px;font-size:14px;font-weight:600;color:var(--ink)}
.content-report-reason{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.content-report-reason:last-child{border-bottom:0}
.content-report-dialog .content-report-reason input{flex:0 0 20px;width:20px;min-height:20px;margin:2px 0 0;padding:0;accent-color:var(--button)}
.content-report-dialog .content-report-reason label{display:grid;gap:2px;margin:0;font-weight:500;font-size:14px;line-height:1.4;color:var(--ink)}
.content-report-reason small{font-size:12px;line-height:1.4;color:var(--muted)}
.content-report-urgent{margin:12px 0 0;padding:10px 12px;border-left:3px solid var(--error,#b3261e);border-radius:6px;background:var(--bg);font-size:13px;line-height:1.5;color:var(--ink)}
.content-report-urgent[hidden]{display:none}
.friend-info-report{width:auto;min-height:32px;margin:14px 0 0;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font-family:inherit;font-size:12px;font-weight:600;line-height:1.2}
.friend-info-report:hover{color:var(--ink)}
.dm-report{width:auto;min-height:28px;margin:2px 0 0;padding:2px 8px;border:0;background:transparent;color:var(--muted);font-family:inherit;font-size:12px;font-weight:500;opacity:.75}
.dm-report:is(:hover,:focus-visible){opacity:1;color:var(--ink);text-decoration:underline}
.dm-doc-report{align-self:center;flex:none}
.dm-message p.dm-attachment-removed{font-style:italic;color:var(--muted)}
@media (prefers-reduced-motion:no-preference){.dm-report,.friend-info-report{transition:opacity .15s ease,color .15s ease}}
.gif-report{justify-self:start;width:auto;min-height:28px;margin:2px 0 0;padding:2px 0;border:0;background:transparent;color:var(--muted);font-family:inherit;font-size:12px;font-weight:500;opacity:.75}
.gif-report:is(:hover,:focus-visible){opacity:1;color:var(--ink);text-decoration:underline}
@media (prefers-reduced-motion:no-preference){.gif-report{transition:opacity .15s ease,color .15s ease}}
#dm-docs>li:has(.dm-doc-report){display:flex;align-items:center;gap:4px}#dm-docs>li>.dm-doc-row{flex:1;min-width:0}
/* Admin Reports tab (web/admin-content-reports.js). */
.admin-skeleton-content-reports>div{grid-template-columns:3fr 2fr 1fr 2fr 1fr}
#admin-results .admin-table-content-reports th:first-child{min-width:16rem}
#admin-results .admin-table-content-reports tr[data-priority="urgent"] td:first-child{box-shadow:inset 3px 0 0 var(--error,#b3261e)}
.admin-tab-count[data-urgent="true"]{background:var(--error,#b3261e);color:#fff}
/* Admin Moderation tab (web/admin-moderation.js). */
.admin-skeleton-moderation-alerts>div{grid-template-columns:3fr 2fr 2fr 1fr 2fr}
#admin-results .admin-table-moderation-alerts tr[data-unread="true"] td{font-weight:600}
#admin-results .admin-table-moderation-alerts tr[data-priority="urgent"] td:first-child{box-shadow:inset 3px 0 0 var(--error,#b3261e)}
.admin-alert-actions{display:flex;flex-wrap:wrap;gap:8px}
.admin-alert-actions button{min-height:32px;padding:4px 12px;font-size:13px}
.admin-skeleton-support>div{grid-template-columns:3fr 3fr 2fr 1fr 1fr}
#admin-results .admin-table-support tr[data-unread="true"] td{font-weight:600}
.admin-support-messages{display:grid;gap:12px}
.admin-support-message{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--card)}
.admin-support-message.is-outgoing{background:var(--dashboard-subtle)}
.admin-support-message header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin-bottom:8px;font-size:13px}
.admin-support-message header span{color:var(--muted)}
.admin-support-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto}
.admin-support-note{margin:6px 0 0;font-size:13px;color:var(--muted)}
.admin-support-orders{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.admin-support-orders li{display:grid;gap:2px;font-size:14px}
.admin-support-orders code{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.admin-support-check{display:flex;align-items:center;gap:8px;margin:4px 0 8px}
.admin-support-skeleton{display:grid;gap:12px}
.admin-support-skeleton>div{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px}
.admin-support-skeleton>div .skeleton-bar:nth-child(2){width:80%}
.admin-support-skeleton>div .skeleton-bar:nth-child(3){width:55%}
.dashboard-nav .admin-nav-count{margin-left:auto}
.admin-report-related{margin:0;padding-left:18px;font-size:14px;line-height:1.6}
.admin-report-withheld{padding:10px 12px;border-left:3px solid var(--error,#b3261e);background:var(--bg);font-size:14px}
.admin-report-actions{flex-wrap:wrap;gap:10px}
.admin-report-actions .danger{background:var(--error);border-color:var(--error);color:var(--error-bg,#fff)}
.admin-report-notify{display:flex;align-items:center;gap:10px}
.admin-report-notify input{flex:0 0 20px;width:20px;min-height:20px;margin:0}
.admin-report-notify label{margin:0;font-weight:500}
/* Public request forms (public-requests.mjs): TAKE IT DOWN and copyright. */
.public-request{width:min(100%,640px)}
.public-request-form fieldset{margin:20px 0 0;padding:0;border:0;min-width:0}
.public-request-form legend{padding:0;font-weight:600;color:var(--ink)}
.public-request-form label{margin:18px 0 6px;color:var(--ink)}
.public-request-form .checkbox{margin:12px 0 0}
.public-request-form textarea{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--bg);resize:vertical}
.public-request-form [aria-invalid="true"]{border-color:var(--error,#b3261e)}
.public-request-form .primary{margin-top:24px}
.public-request-error{margin:4px 0;font-size:.9rem;color:var(--error,#b3261e)}
.public-request-summary{margin:20px 0;padding:14px 16px;border-left:3px solid var(--error,#b3261e);background:var(--bg)}
.public-request-summary h2{margin:0 0 8px;font-size:1rem}
.public-request-summary ul{margin:0;padding-left:18px}
.public-request-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.admin-report-link-row{display:flex;gap:8px;align-items:center}
.admin-report-link-row input{flex:1;min-width:0}
.admin-report-link-row button{width:auto;margin:0}
.admin-report-urls li{overflow-wrap:anywhere}
.admin-report-ncmec{padding:12px 14px;border-left:3px solid var(--error,#b3261e);background:var(--bg)}
.admin-report-flag{color:var(--error,#b3261e)}
/* Delete your account (account-delete.js). */
#account-delete{margin-bottom:24px}
.account-delete h3{margin:16px 0 6px;font-size:1rem}
.account-delete-list{margin:0;padding-left:20px;line-height:1.55;color:var(--muted)}
.account-delete-list li+li{margin-top:4px}
.account-delete form label{margin-top:18px}
.account-delete .danger{width:100%;margin-top:16px;background:var(--error,#b3261e);border-color:var(--error,#b3261e);color:#fff}
.account-delete-error{margin:8px 0 0;color:var(--error,#b3261e);font-size:.9rem}
.account-delete-blocked{margin-top:16px;padding:12px 14px;border-left:3px solid var(--error,#b3261e);background:var(--bg)}
.account-delete-blocked h3{margin-top:0}
.account-delete-skeleton{display:grid;gap:10px;padding:12px 0}
.account-delete-done:focus{outline:none}
/* Political committee mode in the organizer's checkout questions (paid-organizer.js). */
.paid-political{margin:16px 0 8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;min-width:0}
.paid-political legend{padding:0 4px;font-weight:600}
.paid-political label:not(.event-manage-check){display:block;margin:12px 0 4px;font-size:14px;font-weight:600}
.paid-political :is(input:not([type=checkbox]),select){box-sizing:border-box;width:100%;font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink)}
.paid-political-attest{align-items:flex-start;margin-top:12px;line-height:1.45}
/* /account (auth-client.js sets body data-view="account"): the security page,
   in a wider card than the 440px sign-in form. Sections run sign-in methods,
   password, email addresses, devices, then deleting the account on its own. */
body[data-view="account"] .sign-in-shell{width:min(100%,720px)}
@media(prefers-reduced-motion:no-preference){body[data-view="account"] .sign-in-shell{transition:width .32s cubic-bezier(.22,1,.36,1)}}
body[data-view="account"] .card{padding:40px 48px 32px}
body[data-view="account"] #account-email{margin:0 0 28px;text-align:center;font-size:15px;overflow-wrap:anywhere}
body[data-view="account"] :is(#security>.dashboard-panel,#account-password,#email-addresses,#devices){margin:0;padding:28px 0;border-top:1px solid var(--line)}
body[data-view="account"] :is(.dashboard-security-copy h2,#email-addresses h2,#devices h2){margin:0 0 6px;font-size:1.15rem;line-height:1.35}
body[data-view="account"] .dashboard-security-heading{margin:0}
body[data-view="account"] :is(.dashboard-security-copy p,#email-addresses-intro,#devices>.hint){margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
body[data-view="account"] #passkeys{margin:16px 0 0}
body[data-view="account"] #passkeys li:last-child{border-bottom:0}
body[data-view="account"] details{margin-top:16px}
body[data-view="account"] .dashboard-panel summary{padding:14px 0 0;color:var(--ink);font-size:14px;font-weight:600}
body[data-view="account"] .authenticator-card{margin-top:20px}
body[data-view="account"] :is(.authenticator-add,#account-verify-code){display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:44px;margin-top:20px;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none}
body[data-view="account"] .authenticator-add span{order:-1;font-size:20px;font-weight:400;line-height:1}
body[data-view="account"] :is(.authenticator-add,#account-verify-code):hover{text-decoration:none;border-color:color-mix(in srgb,var(--ink) 35%,var(--line))}
body[data-view="account"] :is(#add-passkey-details,#password-change-details){border-top:0;margin-top:20px}
body[data-view="account"] :is(#add-passkey-details,#password-change-details)>summary{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:44px;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);font-size:14px;font-weight:600;list-style:none}
body[data-view="account"] :is(#add-passkey-details,#password-change-details)>summary::-webkit-details-marker{display:none}
body[data-view="account"] :is(#add-passkey-details,#password-change-details)>summary:hover{border-color:color-mix(in srgb,var(--ink) 35%,var(--line))}
body[data-view="account"] :is(#add-passkey-details,#password-change-details)[open]>summary{margin-bottom:8px}
body[data-view="account"] #email-addresses-list{margin:20px 0 24px}
body[data-view="account"] #sessions{margin:16px 0 0;padding:0}
body[data-view="account"] #sessions li:last-child{border-bottom:0}
body[data-view="account"] #reauth-link{display:none}
body[data-view="account"] #account-delete{margin:12px 0 8px;padding:24px;border:1px solid color-mix(in srgb,var(--error) 32%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--error) 4%,var(--card))}
body[data-view="account"] #account-delete h2{margin:0 0 6px;font-size:1.15rem;color:var(--error)}
body[data-view="account"] #account-delete details{border-top-color:color-mix(in srgb,var(--error) 22%,var(--line))}
body[data-view="account"] #account-delete summary{color:var(--error)}
@media(max-width:600px){body[data-view="account"] .card{padding:28px 20px 24px}body[data-view="account"] #account-delete{padding:20px 16px}}
/* Verify again: at the top of /account once the 5-minute window has passed. */
.account-reauth{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:0 0 24px;padding:14px 16px;border:1px solid var(--line);border-left:3px solid #c99a1e;border-radius:10px;background:var(--dashboard-subtle)}
.account-reauth p{flex:1 1 300px;margin:0;font-size:14px;line-height:1.55;color:var(--ink)}
.account-reauth .secondary{display:inline-flex;align-items:center;width:auto;min-height:40px;margin:0;padding:8px 16px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
/* Layout-matched loading rows. JS replaces them with the real rows. */
.account-skeleton-row{display:flex;align-items:center;gap:14px;min-height:64px;padding:14px 0;border-bottom:1px solid var(--line);list-style:none}
.account-skeleton-row .skeleton-circle{flex:0 0 36px;width:36px;height:36px;border-radius:50%}
.account-skeleton-lines{display:grid;flex:1;gap:9px;min-width:0}
.account-skeleton-lines .skeleton-bar{width:42%;height:12px;margin:0}
.account-skeleton-lines .skeleton-bar+.skeleton-bar{width:68%;height:10px}
#email-addresses-list li.account-skeleton-row{display:flex;min-height:72px}
#security[aria-busy="true"] :is(#passkey-summary,#recovery-summary):empty{display:grid;gap:8px;padding:5px 0}
#security[aria-busy="true"] :is(#passkey-summary,#recovery-summary):empty::before,#security[aria-busy="true"] :is(#passkey-summary,#recovery-summary):empty::after{content:'';display:block;width:92%;height:11px;border-radius:6px;background:var(--dashboard-subtle)}
#security[aria-busy="true"] :is(#passkey-summary,#recovery-summary):empty::after{width:58%}
#security[aria-busy="true"] .authenticator-card{border-radius:14px;background:var(--dashboard-subtle)}
#security[aria-busy="true"] .authenticator-card>*,#security[aria-busy="true"] #account-authenticator>*{visibility:hidden}
#security[aria-busy="true"] #account-authenticator{color:transparent;background:var(--dashboard-subtle);border-color:transparent;pointer-events:none}
/* Admin: place accounts (admin-places.js) */
.admin-places{margin-top:32px;padding-top:16px;border-top:1px solid var(--line)}
.admin-places h2{margin:0;font-size:1.1rem}
.admin-places-status:empty{display:none}
.admin-place-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:12px 0 20px}
.admin-place-form label{display:grid;gap:4px;font-weight:600}
.admin-place-form .org-dialog-note,.admin-place-form .org-actions{grid-column:1/-1}
/* Admin: moderators (admin-moderators.js) */
.admin-moderators .org-person{display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-place-form label.admin-moderator-confirm{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;font-weight:400}
.admin-moderator-history{margin-top:12px}
.admin-moderator-history summary{cursor:pointer;font-weight:600}
.admin-place-skeleton .org-row-name,.admin-place-skeleton .org-row-meta{display:block;border-radius:6px;background:var(--line);animation:admin-place-pulse 1.4s ease-in-out infinite}
.admin-place-skeleton .org-row-name{width:40%;margin-bottom:6px}.admin-place-skeleton .org-row-meta{width:25%}
@keyframes admin-place-pulse{50%{opacity:.5}}
@media (prefers-reduced-motion:reduce){.admin-place-skeleton .org-row-name,.admin-place-skeleton .org-row-meta{animation:none}}
/* Sign-in card layout: one shared column edge, an even spacing scale, and an inline passkey wait state. */
.sign-in-shell #heading{margin-bottom:6px}
.sign-in-shell .auth-invite{margin:0 0 4px}
.auth-invite a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-decoration-thickness:1px}
.auth-invite a:hover{text-decoration-color:currentColor}
#passkey-entry .passkey-choice{position:relative;margin:24px 0 0;gap:0}
#passkey-entry .passkey-choice .passkey-button{padding-inline:44px;white-space:nowrap}
#passkey-entry .passkey-choice>.info{position:absolute;top:50%;right:3px;margin-top:-22px;color:var(--button-ink)}
#passkey-entry .passkey-choice>.info>summary{color:inherit;opacity:.75}
#passkey-entry .passkey-choice>.info>summary:hover{opacity:1}
#login:has(#password-step:not([hidden])) #passkey-entry .passkey-choice>.info{color:var(--muted)}
#login:not(:has(#password-step:not([hidden]))) #passkey-entry>div{overflow:visible}
#login .login-divider{margin:16px 0}
#email-step .primary{margin-top:12px}
#password-form>.session-preference{margin-top:8px}
#password-form>.session-preference>.info{margin-right:-13px;flex-basis:44px}
#password-form>.session-preference .info>summary{width:44px;height:44px;min-height:44px}
#login .options-row{margin-bottom:-10px}
#login .options-row .theme-toggle{right:-13px}
@media(max-width:360px){.sign-in-shell .card{padding:24px 20px}}
.sign-in-footer{left:50%;right:auto;width:min(600px,calc(100vw - 24px));transform:translateX(-50%)}
.sign-in-footer-links{gap:0 12px}
.sign-in-footer .brand-link{opacity:.8}
#status:focus{outline:none}
#passkey-login.is-pending{opacity:1;cursor:progress}
.passkey-choice:has(.is-pending) .info{opacity:.45}
#login:has(#passkey-login.is-pending) .login-divider{display:none}
.passkey-cancel{display:block;width:fit-content;min-height:44px;margin:4px auto 0;padding:10px 16px;border-radius:10px;background:transparent;color:var(--ink);font-size:.9rem;font-weight:500;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.passkey-cancel:hover{text-decoration-color:currentColor}
#login:has(#passkey-login.is-pending) :is(#password-form,#login-alternatives){opacity:.38;pointer-events:none}
@media(prefers-reduced-motion:no-preference){
  #login :is(#password-form,#login-alternatives){transition:opacity .22s ease}
  .passkey-cancel:not([hidden]){animation:opid-enter .2s ease-out}
  #status:not(:empty){animation:opid-enter .18s ease-out}
}
