/* Conversational product language: quiet chrome, one primary input, readable answers. */
#page-people .toolbar [hidden] { display:none; }
.network-record.network-record-unlinked { grid-template-columns:minmax(0,1fr) auto; }
.network-record-unlinked>div:after { display:none; }
[data-edit-conflict] { margin:16px 0; line-height:1.7; }
@media(max-width:800px) {
  #page-people .toolbar [data-action="clear-filter"] { grid-column:2; grid-row:3; min-height:44px; justify-content:center; }
  #page-people .toolbar:has([data-action="clear-filter"]:not([hidden])) .toolbar-right>span { grid-column:1; align-self:center; }
}
.company-badge { display:inline-flex; align-items:center; width:fit-content; border-radius:6px; padding:3px 7px; font-size:11px; line-height:1.5; margin-top:5px; color:var(--ink-soft); background:var(--silver-2); }
.company-badge.company-warning { color:var(--titanium-gold); background:var(--titanium-gold-soft); font-weight:600; }
.company-badge.company-clear { color:var(--tech-blue-deep); background:var(--tech-blue-soft); }
.company-check { margin:16px 0; padding:16px; border:1px solid var(--silver-3); border-radius:12px; background:var(--silver-2); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.company-check.company-warning { border-color:var(--titanium-gold-bright); background:var(--titanium-gold-soft); }
.company-check-head { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.company-check-head .company-badge { margin:0; }
.company-check p { margin:10px 0; color:var(--ink-soft); }
.company-facts { margin:12px 0; font-size:12px; }
.company-facts>div { display:grid; grid-template-columns:72px minmax(0,1fr); gap:10px; margin:5px 0; }
.company-facts dt { color:var(--muted); }.company-facts dd { margin:0; }
.company-risks { padding-left:20px; }.company-risks li { margin:8px 0; }.company-risks small { display:block; }
.company-check .company-evidence { font-size:11px; color:var(--muted); }
.company-check-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; }
.company-check-actions a { display:inline-flex; align-items:center; min-height:44px; color:var(--tech-blue-deep); font-size:12px; text-decoration:underline; }
.company-check-actions button { min-height:44px; }
.company-check .company-ack { display:flex; flex-direction:row; align-items:center; gap:10px; margin-top:12px; min-height:44px; font-size:12px; color:var(--ink); }
.company-ack input { width:20px; height:20px; flex-shrink:0; }
:root { --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
html,body { background:var(--silver-1); }
.app-view { --surface:var(--silver-1); --shadow:0 6px 24px rgba(23,27,29,.04); }
.sidebar { --muted:var(--silver-6); position:sticky; top:0; width:248px; height:100dvh; overflow-y:auto; padding:24px 14px 16px; background:var(--silver-2); border-right:0; box-shadow:none; }
.sidebar-head { gap:10px; padding:0 10px 30px; }
.sidebar-head strong { font-weight:600; font-size:15px; letter-spacing:.01em; }
.sidebar-head small { font-family:inherit; font-size:9px; letter-spacing:.1em; color:var(--muted); }
.sidebar-head .brand-mark { width:32px; height:32px; box-shadow:none; border-color:var(--silver-3); }
.event-switcher { margin:0 4px 24px; padding:0 10px 0 0; gap:9px; border:0; border-radius:0; box-shadow:none; background:none; }
.event-dot { background:var(--tech-blue); box-shadow:none; width:5px; height:5px; margin:0 6px; }
.event-switcher b { font-size:12px; font-weight:500; }
.event-switcher small { font-size:10px; color:var(--muted); margin-top:5px; }
.nav-label { font-family:inherit; font-size:11px; letter-spacing:.04em; color:var(--muted); padding:0 13px; margin:12px 0 9px; }
.nav-label-spaced { margin-top:32px; }
.nav-group { margin:0 0 6px; }
.nav-group-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:46px; padding:11px 12px; border-radius:9px; list-style:none; color:var(--ink-soft); font-size:13px; font-weight:600; cursor:pointer; touch-action:manipulation; }
.nav-group-toggle::-webkit-details-marker { display:none; }
.nav-group-toggle:hover { background:var(--silver-3); color:var(--ink); }
.nav-group-toggle:focus-visible { outline:2px solid var(--tech-blue); outline-offset:2px; }
.nav-group-chevron { width:15px; height:15px; flex-shrink:0; transition:transform .18s ease; }
.nav-group[open] > .nav-group-toggle .nav-group-chevron { transform:rotate(90deg); }
.nav-group.has-active-page:not([open]) > .nav-group-toggle { background:var(--tech-blue-soft); color:var(--tech-blue-deep); }
.nav-group-items { padding:4px 0 2px 10px; }
@media(prefers-reduced-motion:reduce) { .nav-group-chevron { transition:none; } }
.nav-item { min-height:46px; padding:11px 12px; font-size:13px; border:0; border-radius:9px; gap:12px; margin-bottom:4px; }
.nav-item:hover { border:0; background:var(--silver-3); color:var(--ink); }
.nav-item.active { background:var(--tech-blue-soft); color:var(--tech-blue-deep); border:0; box-shadow:none; font-weight:600; }
.nav-icon { width:18px; height:18px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; color:inherit; }
.nav-item.active .nav-icon { color:var(--tech-blue); }
.nav-count { background:var(--silver-3); color:var(--ink-soft); font-size:10px; }
#page-people .pagination { gap:12px; flex-wrap:wrap; }
#page-people .page-buttons { align-items:center; gap:8px; }
#page-people .page-buttons button { width:44px; height:44px; flex:none; }
#page-people .page-buttons button:disabled { opacity:.4; cursor:not-allowed; }
#page-people .people-page-status { min-width:64px; text-align:center; white-space:nowrap; font-variant-numeric:tabular-nums; }
#page-people .people-page-status:focus-visible { outline:2px solid var(--tech-blue); outline-offset:2px; border-radius:4px; }
.assistant-entry.nav-item { width:100%; margin:0 0 6px; min-height:46px; padding:11px 12px; border:0; background:transparent; color:var(--ink-soft); }
.assistant-entry.nav-item:hover { background:var(--silver-3); color:var(--ink); }
.assistant-entry.nav-item.active,.assistant-entry.nav-item.active:hover { background:var(--tech-blue-soft); color:var(--tech-blue-deep); box-shadow:none; }
.assistant-entry.nav-item:focus-visible { outline:2px solid var(--tech-blue); outline-offset:2px; }
.assistant-entry.nav-item,.nav-group-toggle { font-family:var(--font); font-weight:600; line-height:1.5; letter-spacing:normal; }
.assistant-entry svg { width:20px; height:20px; }
/* The mascot-inspired, filled flame is the entire assistant navigation icon. */
.assistant-entry .ai-entry-icon { --ai-fire-red:#e74724; --ai-fire-orange:#ff7b20; --ai-fire-gold:#ffcb57; overflow:visible; flex:none; pointer-events:none; }
.ai-entry-fire { stroke:none; opacity:.95; animation:ai-fire-breathe 2.6s ease-in-out infinite; }
.ai-entry-fire-outer { fill:url(#assistantFireOuter); transform-origin:12px 24px; animation:ai-fire-rise 2.4s ease-in-out infinite; }
.ai-entry-fire-inner { fill:url(#assistantFireInner); transform-origin:12px 24px; animation:ai-fire-rise 1.9s -.6s ease-in-out infinite reverse; }
.ai-entry-fire-core { fill:var(--ai-fire-gold); opacity:.8; transform-origin:12px 24px; animation:ai-fire-rise 2.8s -.9s ease-in-out infinite; }
.ai-entry-fire-tongue { fill:url(#assistantFireOuter); transform-origin:12px 8px; animation:ai-fire-tongue 2.1s -.5s ease-in-out infinite; }
@keyframes ai-fire-breathe { 0%,100% { opacity:.86; } 45% { opacity:1; } 72% { opacity:.92; } }
@keyframes ai-fire-rise {
  0%,100% { transform:scale(1,1) skewX(0deg); }
  30% { transform:scale(.97,1.08) skewX(-2deg); }
  65% { transform:scale(1.02,.96) skewX(2deg); }
  82% { transform:scale(.99,1.04) skewX(-1deg); }
}
@keyframes ai-fire-tongue { 0%,100% { transform:rotate(-5deg) scaleY(.92); } 48% { transform:rotate(7deg) scaleY(1.12); } 75% { transform:rotate(-2deg) scaleY(1.03); } }
.ai-entry-ember { fill:var(--ai-fire-orange); stroke:none; opacity:0; transform-origin:center; transform-box:fill-box; animation:ai-fire-ember 2.6s ease-out infinite; }
.ai-entry-ember-secondary { animation-delay:-1.3s; animation-duration:3.1s; }
@keyframes ai-fire-ember {
  0%,18%,100% { transform:translate(0,0) scale(.5); opacity:0; }
  32% { opacity:.55; }
  78% { transform:translate(1px,-5px) scale(.2); opacity:0; }
}
.ai-motion-paused .ai-entry-icon [data-ai-flame],
.sidebar[aria-hidden="true"] .ai-entry-icon [data-ai-flame],
.app-view.hidden .ai-entry-icon [data-ai-flame],
.app-view.sidebar-collapsed .ai-entry-icon [data-ai-flame] { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) {
  .ai-entry-icon [data-ai-flame] { animation:none; transform:none; }
  .ai-entry-ember { opacity:0; }
}
.sync-status { padding:16px 10px; border:0; color:var(--muted); }
.status-pulse { width:5px; height:5px; box-shadow:none; }
.profile-mini { padding:12px 8px 0; border-top:1px solid var(--silver-3); }
.profile-mini small { color:var(--muted); }
.profile-mini button { width:44px; height:44px; border-radius:8px; }
.profile-mini button:hover { background:var(--silver-3); }
.main-content { background:var(--silver-1); }
.topbar { height:64px; padding:0 28px; background:var(--silver-1); border-bottom:0; backdrop-filter:none; }
.topbar-leading { display:flex; min-width:0; align-items:center; gap:14px; }
.crumb { font-size:13px; white-space:nowrap; color:var(--ink-soft); }
.crumb span { padding:0 7px; }
.topbar-actions { gap:16px; }
.top-user { border:0; margin:0; padding:0; }
.top-user .avatar { width:30px; height:30px; font-size:11px; background:var(--person-avatar-bg); color:var(--person-avatar-ink); border-color:var(--person-avatar-border); box-shadow:none; }
.top-user span { font-size:12px; color:var(--ink-soft); }
.icon-button,.mobile-menu { display:grid; place-items:center; border-radius:9px; }
.icon-button svg,.mobile-menu svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.mobile-menu { display:none; }
.sidebar-backdrop { position:fixed; inset:0; z-index:18; padding:0; border:0; background:rgba(23,27,29,.3); }
.sidebar-backdrop[hidden] { display:none; }
.page-wrap { padding:20px 32px 40px; }
.main-content[data-view="assistant"] .page-wrap { max-width:none; padding:0 32px 20px; }
/* Keep conversation actions in reach after automatic answer scrolling, below the
   workspace header and above the composer, but below navigation and dialogs. */
#page-assistant { --assistant-topbar-height:64px; --assistant-toolbar-height:52px; }
.assistant-toolbar { min-height:48px; position:sticky; top:var(--assistant-topbar-height); z-index:7; background:var(--desktop-surface,var(--silver-1)); border-bottom:1px solid var(--line); }
.assistant-toolbar :is(.assistant-new,.mascot-motion-toggle) { min-height:44px; }
#page-assistant :is(.assistant-question,.assistant-reply,.assistant-error,.assistant-pending,.assistant-contact-draft input,.assistant-contact-draft select,.assistant-contact-draft textarea,.assistant-contact-actions) { scroll-margin-top:calc(var(--assistant-topbar-height) + var(--assistant-toolbar-height) + 16px); }
.assistant-wordmark { display:none; font-size:12px; color:var(--muted); font-weight:400; }
.assistant-wordmark b { font-size:12px; font-weight:500; }
.assistant-wordmark svg { width:16px; height:16px; }
.assistant-wordmark>span { border:0; padding:0; font-size:11px; }
.assistant-new { border:0; border-radius:9px; background:transparent; color:var(--ink-soft); padding:10px 12px; }
.assistant-new:hover:not(:disabled) { background:var(--silver-2); }
.assistant-toolbar-actions { gap:8px; }
.platform-toolbox { display:grid; gap:24px; min-width:0; }
.platform-toolbox h3 { margin:0 0 12px; font-size:14px; color:var(--ink-soft); }
.platform-tool-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.platform-tool-grid .button { min-height:44px; white-space:normal; overflow-wrap:anywhere; padding:10px 8px; font-size:13px; }
.assistant-platform-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.assistant-platform-actions .button { min-height:44px; white-space:normal; }
.assistant-toolbar { justify-content:flex-end; }
.mascot-motion-toggle { font-size:11px; color:var(--muted); }
.assistant-stage { width:min(740px,100%); min-height:calc(100dvh - 152px); justify-content:center; }
.assistant-welcome { padding:20px 0 26px; }
.assistant-emblem,.building-mascot-welcome { width:112px; height:112px; margin:0 auto; }
.building-mascot-welcome { filter:none; }
.assistant-welcome .eyebrow,.assistant-topics { display:none; }
.assistant-welcome h1 { font-size:clamp(27px,2.7vw,36px); font-weight:500; letter-spacing:-.025em; line-height:1.35; margin:18px 0 10px; }
.assistant-welcome>p:not(.eyebrow) { color:var(--muted); font-size:14px; line-height:1.75; }
.assistant-mobile-break { display:none; }
.assistant-composer { padding:20px 20px 14px; border:1px solid var(--silver-3); border-radius:24px; background:var(--silver-1); box-shadow:0 3px 16px rgba(23,27,29,.045); }
.assistant-composer:focus-within { border-color:var(--silver-4); box-shadow:0 4px 20px rgba(23,27,29,.06); }
.assistant-composer:has(textarea:focus-visible) { outline:2px solid var(--tech-blue); outline-offset:3px; }
.assistant-input-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.assistant-composer textarea { min-height:62px; max-height:180px; font-size:16px; line-height:1.75; background:transparent; resize:vertical; }
.assistant-composer textarea:focus-visible { outline:0; }
.assistant-composer textarea::placeholder { color:var(--muted); opacity:1; }
.assistant-composer-bottom { margin-top:10px; gap:8px; }
.assistant-mode { border:1px solid var(--silver-3); padding:6px 9px; min-height:30px; border-radius:18px; gap:5px; font-size:11px; color:var(--ink-soft); }
.assistant-mode svg { width:14px; height:14px; }
#assistantSend { background:var(--tech-blue); border:0; width:40px; height:40px; min-height:40px; }
#assistantSend:disabled { background:var(--silver-3); color:var(--silver-5); opacity:1; }
#assistantSend svg { width:20px; height:20px; }
#assistantCharCount { color:var(--muted); font-size:10px; }
.assistant-prompts { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin:18px 0 0; }
.assistant-prompts button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:9px 13px; border:1px solid var(--silver-3); border-radius:22px; background:transparent; font-size:12px; color:var(--ink-soft); }
.assistant-prompts button:hover { background:var(--silver-2); border-color:var(--silver-4); }
.assistant-prompt-icon { display:flex; color:var(--tech-blue); }
.assistant-prompt-icon svg { width:15px; height:15px; }
.assistant-scope { justify-content:center; gap:10px; margin:18px 0 0; font-size:10px; color:var(--muted); }
.assistant-scope small { font-size:10px; }
.assistant-scope svg { width:13px; height:13px; color:var(--muted); }
.assistant-about { margin:8px 0 0; text-align:center; font-size:10px; color:var(--muted); }
.assistant-about summary { display:inline-flex; align-items:center; min-height:32px; cursor:pointer; list-style:none; gap:5px; }
.assistant-about summary::after { content:'⌄'; font-size:13px; }
.assistant-about[open] summary::after { content:'⌃'; }
.assistant-about summary::-webkit-details-marker { display:none; }
.assistant-disclosure { max-width:580px; margin:4px auto 8px; font-size:11px; line-height:1.8; }
.has-conversation .assistant-stage { padding-top:24px; min-height:calc(100dvh - 152px); }
.has-conversation .assistant-messages { flex:1; padding-bottom:24px; }
.has-conversation .assistant-compose-zone { position:sticky; bottom:0; z-index:4; padding-top:12px; padding-bottom:max(10px,env(safe-area-inset-bottom)); margin-top:auto; background:var(--silver-1); }
/* Quick questions remain available for every turn, using the responsive layout above. */
.has-conversation .assistant-scope { margin-top:10px; }
.has-conversation .assistant-about { margin:0; }
.assistant-question { margin:0 0 32px 48px; }
.assistant-question>span { display:none; }
.assistant-question p { background:var(--silver-2); color:var(--ink); border-radius:20px; padding:12px 18px; font-size:15px; line-height:1.7; }
.assistant-reply { margin-bottom:36px; scroll-margin-top:88px; }
.assistant-reply-label { gap:9px; margin-bottom:12px; font-size:12px; }
.assistant-reply-label b { font-weight:600; }
.building-mascot-avatar { width:30px; height:30px; }
.assistant-answer { font-size:15px; line-height:1.95; color:var(--ink-soft); }
.assistant-citations { border:0; padding-top:0; margin-top:18px; }
.assistant-citations>p { font-size:11px; }
.assistant-source { background:transparent; padding:12px; border-radius:12px; }
.assistant-source:hover { background:var(--silver-2); }
.assistant-source>span { background:var(--tech-blue-soft); border:0; border-radius:9px; }
.assistant-answer-foot { margin-top:12px; }
.building-mascot-pending { width:64px; height:64px; }
.assistant-pending { gap:12px; margin:12px 0 28px; }
.button { border-radius:9px; font-weight:500; box-shadow:none; }
.button-primary { background:var(--tech-blue); border-color:var(--tech-blue); box-shadow:none; }
.button-primary:hover { background:var(--tech-blue-deep); box-shadow:none; }
.button-outline { border-color:var(--silver-3); color:var(--ink-soft); background:transparent; }
.button:hover { box-shadow:none; }
.button:active { transform:none; }
.panel,.metric { box-shadow:none; background:var(--silver-1); border-color:var(--silver-3); }
.metric:after { display:none; }
.page-head h1 { font-weight:600; font-size:30px; letter-spacing:-.025em; }
.page-head .eyebrow { display:none; }
.page-head p { color:var(--muted); }
.permission-note,.account-security { background:var(--silver-2); }
.personal-account-heading { display:flex; align-items:center; gap:12px; }
.personal-account-heading h3 { margin:0; }.personal-account-heading .eyebrow { margin:0 0 6px; }
.personal-account dd { overflow-wrap:anywhere; }
#page-permissions [data-action="change-password"] { min-height:44px; }
.permission-scope-note { margin:0; padding:16px 24px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.8; }
.login-view,.login-panel { background:var(--silver-1); }
.login-aside { background:var(--tech-blue-deep); }
.login-aside:before,.login-aside:after { display:none; }
.login-panel .button-primary { background:var(--tech-blue); box-shadow:none; }
.person-action-label { display:none; }
.person-owner { font-size:11px; color:var(--silver-6); }
.person-contact { font:10px 'DM Mono',monospace; color:var(--silver-6); }
@media(min-width:801px) {
  .sidebar-collapsed .sidebar { width:0; padding-left:0; padding-right:0; overflow:hidden; visibility:hidden; transform:translateX(-100%); }
  .sidebar-backdrop { display:none; }
}
@media(max-width:800px) {
  body.drawer-open { overflow:hidden; }
  .sidebar { position:fixed; width:248px; max-width:calc(100vw - 48px); box-shadow:8px 0 32px rgba(23,27,29,.12); }
  .sidebar-head { padding-bottom:28px; }
  .mobile-close { width:36px; height:44px; min-width:36px; background:none; border:0; border-radius:8px; }
  .topbar { height:60px; padding:0 12px; }
  .topbar-leading { gap:6px; }
  .topbar-actions { gap:6px; }
  .topbar .crumb { font-size:12px; }
  .topbar .crumb span { padding:0 3px; }
  .desktop-sidebar-toggle { display:none; }
  .mobile-menu { display:grid; margin:0; flex-shrink:0; }
  .top-user { padding:0; }
  .page-wrap { padding:24px 16px 32px; }
  .main-content[data-view="assistant"] .page-wrap { padding:0 16px 12px; }
  #page-assistant { --assistant-topbar-height:60px; --assistant-toolbar-height:48px; }
  .assistant-toolbar { min-height:44px; gap:4px; background:var(--mobile-surface,var(--silver-1)); }
  .assistant-wordmark { display:none; }
  .assistant-toolbar-actions { margin-left:auto; gap:4px; }
  .assistant-new,.mascot-motion-toggle { font-size:11px; padding:8px 10px; }
  .assistant-stage { width:min(640px,100%); min-height:calc(100dvh - 116px); }
  .assistant-welcome { padding:10px 0 24px; }
  .assistant-emblem,.building-mascot-welcome { width:96px; height:96px; }
  .assistant-welcome h1 { font-size:28px; margin:14px 0 8px; }
  .assistant-welcome>p:not(.eyebrow) { font-size:13px; }
  .assistant-composer { padding:16px 16px 12px; border-radius:22px; }
  .assistant-composer textarea { min-height:64px; max-height:140px; font-size:16px; }
  .assistant-mode { font-size:10px; gap:4px; }
  .assistant-prompts { display:grid; grid-template-columns:1fr 1fr; max-width:320px; margin:16px auto 0; gap:8px; }
  .assistant-prompts button { padding:8px 12px; font-size:11px; }
  .assistant-scope { margin-top:16px; gap:4px; font-size:10px; }
  .assistant-scope small { display:none; }
  .assistant-about { margin-top:2px; }
  .has-conversation .assistant-stage { min-height:calc(100dvh - 116px); padding-top:18px; }
  .has-conversation .assistant-compose-zone { bottom:0; padding-top:10px; }
  .assistant-answer { font-size:15px; }
  .assistant-question { margin-left:24px; }
  .assistant-citations>div { grid-template-columns:1fr; }
  #assistantSend { width:44px; height:44px; }
  .page-head h1 { font-size:27px; }
  /* The resource library uses the same content edges for every mobile control. */
  #page-people .page-head { margin-bottom:24px; }
  #page-people .page-head p { line-height:1.7; }
  #page-people .head-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:20px; }
  #page-people .head-actions > :only-child { grid-column:1 / -1; }
  #page-people .head-actions .button { width:100%; justify-content:center; padding:12px 8px; }
  #page-people .toolbar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-bottom:16px; }
  #page-people .toolbar-left,#page-people .toolbar-right { display:contents; }
  #page-people .search-wrap { grid-column:1 / -1; width:100%; min-width:0; }
  #page-people #statusFilter { grid-column:1; grid-row:2; width:100%; min-width:0; height:44px; font-size:13px; }
  #page-people [data-action="export"] { grid-column:2; grid-row:2; width:100%; justify-content:center; padding:10px 8px; }
  #page-people .toolbar-right > span { grid-column:1 / -1; grid-row:3; padding:4px 0 0; font-size:12px !important; }
  #page-people .table-panel { overflow:visible; background:transparent; border:0; border-radius:0; }
  #page-people .people-table { display:block; width:100%; min-width:0; }
  #page-people .people-table thead { display:none; }
  #page-people .people-table tbody { display:grid; gap:12px; }
  #page-people .people-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; padding:16px; min-width:0; border:1px solid var(--silver-3); border-radius:14px; background:var(--silver-1); }
  #page-people .people-table td { display:block; min-width:0; padding:0; border:0; overflow-wrap:anywhere; }
  #page-people .person-identity,#page-people .person-company,#page-people .person-tags,#page-people .person-contact,#page-people .person-actions,#page-people td[colspan] { grid-column:1 / -1; }
  #page-people .person-cell { min-width:0; gap:12px; }
  #page-people .person-cell > div { min-width:0; flex:1; }
  #page-people .person-cell .avatar { flex:none; }
  #page-people .person-cell b { font-size:16px; line-height:1.5; }
  #page-people .person-cell small { font-size:12px; line-height:1.5; }
  #page-people .company-cell b { display:block; font-size:14px; line-height:1.6; }
  #page-people .company-cell small { font-size:12px; line-height:1.5; }
  #page-people .company-badge { max-width:100%; white-space:normal; }
  #page-people .person-tags { display:flex; flex-wrap:wrap; gap:6px; }
  #page-people .person-tags:empty { display:none; }
  #page-people .person-tags .tag { margin:0; font-size:12px; }
  #page-people td[data-label] { font-size:12px; line-height:1.6; }
  #page-people td[data-label]::before { content:attr(data-label); display:block; margin-bottom:5px; color:var(--muted); font-family:inherit; font-size:12px; line-height:1.5; }
  #page-people .person-contact { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px; font-family:inherit; }
  #page-people .person-contact::before { margin:0; }
  #page-people .person-actions { padding-top:12px; border-top:1px solid var(--silver-3); }
  #page-people .table-actions { display:flex; gap:10px; }
  #page-people .table-action { display:flex; align-items:center; justify-content:center; gap:6px; flex:1; width:auto; min-width:0; height:auto; min-height:44px; padding:10px 6px; border-radius:8px; font-size:13px; }
  #page-people .person-action-label { display:inline; }
  #page-people .pagination { gap:12px; flex-wrap:wrap; padding:16px 0 0; margin-top:4px; border:0; }
  #page-people .empty-state { padding:24px 0; }
}
@media(max-height:620px) {
  .assistant-stage,.has-conversation .assistant-stage { min-height:0; justify-content:flex-start; }
  .assistant-welcome { padding:14px 0 20px; }
  .assistant-emblem,.building-mascot-welcome { width:72px; height:72px; }
  .has-conversation .assistant-compose-zone { position:static; }
}

/* Mobile system: shared scale and surfaces across every product flow. */
.mobile-network-edges { display:none; }
.metric-today { display:none; }
.network-node { border:0; padding:0; background:transparent; color:inherit; font:inherit; }
.crumb b,.crumb small { font:inherit; }
.person-summary { display:flex; gap:14px; align-items:center; margin-bottom:19px; }
.person-summary-copy { min-width:0; }
.person-summary-copy b { display:block; font-size:16px; }
.person-summary-copy small { display:block; font-size:11px; margin-top:4px; color:var(--ink-soft); overflow-wrap:anywhere; }
.person-summary > .status-pill { margin-left:auto; flex-shrink:0; }
@media(max-width:800px) {
  :root { --mobile-canvas:#f2f4f6; --mobile-surface:#fff; --mobile-border:#e0e5e9; --mobile-muted:#5c6871; --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","WenQuanYi Zen Hei",sans-serif; }
  html,body { background:var(--mobile-canvas); font-size:14px; line-height:1.5; }
  .app-view,.main-content { background:var(--mobile-canvas); }
  .page-wrap { padding:20px 16px max(32px,env(safe-area-inset-bottom)); }
  .page,.panel,.metric,.qr-copy,.page-head > div { min-width:0; }
  .topbar { height:60px; padding:0 12px 0 8px; background:var(--mobile-surface); border-bottom:1px solid var(--mobile-border); gap:8px; }
  .topbar-leading { flex:1; min-width:0; gap:8px; }
  .topbar .crumb { font-size:15px; font-weight:600; overflow:hidden; text-overflow:ellipsis; }
  .topbar .crumb span,.topbar .crumb small { display:none; }
  .topbar-actions { gap:8px; flex:none; }
  .top-user .avatar { width:32px; height:32px; font-size:13px; }
  .icon-button,.mobile-menu { flex:none; width:44px; min-width:44px; height:44px; }
  .sidebar { width:min(304px,calc(100vw - 48px)); max-width:none; padding:24px 16px max(20px,env(safe-area-inset-bottom)); background:var(--mobile-surface); }
  .sidebar-head { padding:0 4px 24px; gap:12px; }
  .sidebar-head strong { font-size:17px; }
  .sidebar-head small { font-size:10px; }
  .sidebar-head .brand-mark { width:36px; height:36px; }
  .mobile-close { width:44px; min-width:44px; height:44px; font-size:24px; }
  .event-switcher { margin:0 0 24px; padding:14px 12px; border:1px solid var(--mobile-border); border-radius:12px; background:var(--mobile-canvas); }
  .event-switcher b { font-size:14px; }.event-switcher small { font-size:12px; }
  .nav-group-toggle,.nav-item { min-height:48px; font-size:15px; border-radius:10px; }
  .assistant-entry.nav-item { min-height:48px; margin-bottom:16px; font-size:15px; }
  .nav-group-items { padding:4px 0 8px 12px; }
  .sync-status { font-size:12px; padding:16px 4px; }
  .profile-mini b { font-size:14px; }.profile-mini small { font-size:12px; }
  .page-head,#page-people .page-head { margin-bottom:20px; }
  .page-head h1 { font-size:24px; line-height:1.35; letter-spacing:0; margin-bottom:8px; font-weight:650; }
  .page-head p,#page-people .page-head p { font-size:14px; line-height:1.65; color:var(--mobile-muted); }
  .head-actions,#page-people .head-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:16px; }
  .head-actions > :only-child { grid-column:1 / -1; }
  .head-actions .button,#page-people .head-actions .button { width:100%; padding:11px 8px; min-height:46px; font-size:14px; gap:6px; }
  .head-actions:empty { display:none; }
  .button { min-height:44px; padding:11px 16px; border-radius:10px; font-size:14px; font-weight:500; line-height:1.5; }
  .button-outline { background:var(--mobile-surface); border-color:var(--silver-3); }
  .button-quiet { background:var(--tech-blue-soft); }
  .button:active,.nav-item:active,.text-link:active { filter:brightness(.96); }
  .panel,.metric,.qr-card { border:1px solid var(--mobile-border); border-radius:16px; background:var(--mobile-surface); box-shadow:0 2px 6px rgba(23,27,29,.025); }
  .panel-head { padding:16px; gap:12px; align-items:flex-start; }
  .panel-head > div { min-width:0; }
  .panel-head h3 { font-size:16px; line-height:1.5; letter-spacing:0; font-weight:600; }
  .panel-head p { font-size:12px; line-height:1.6; margin-top:4px; color:var(--mobile-muted); }
  .text-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 2px; font-size:13px; font-weight:500; text-decoration:none; flex-shrink:0; }
  .small-help { font-size:12px; line-height:1.75; color:var(--mobile-muted); overflow-wrap:anywhere; }
  .empty-state { padding:32px 16px; font-size:14px; line-height:1.7; }
  .avatar { width:36px; height:36px; font-size:14px; box-shadow:none; }
  .tag,.status-pill,.role-badge { font-size:11px; line-height:1.5; border-radius:6px; }
  .tag { padding:4px 8px; }
  .status-pill { white-space:normal; }
  .metrics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
  .metric { padding:16px; min-height:128px; }
  .metric-top { font-size:13px; color:var(--mobile-muted); }
  .metric-badge { display:none; }
  .metric-value { font-size:30px; line-height:1.2; font-weight:650; letter-spacing:-.03em; margin-top:12px; font-variant-numeric:tabular-nums; }
  .metric-help { font-size:12px; line-height:1.5; margin-top:8px; color:var(--mobile-muted); }
  .dashboard-grid,.network-layout,.invite-layout,.permission-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
  .activity-list,.chart-area,.relation-list,.suggestions { padding:0 16px 16px; }
  .chart-area .bars { display:grid; height:auto; gap:16px; padding:0; border:0; margin:4px 0 20px; }
  .bars::before,.bars::after { display:none; }
  .bar-col { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px; gap:12px; height:auto; align-items:center; }
  .bar-col small { position:static; grid-column:1; grid-row:1; font-size:12px; line-height:1.6; color:var(--ink-soft); white-space:normal !important; overflow-wrap:anywhere; text-overflow:clip !important; }
  .bar-col::before { content:''; grid-column:2; grid-row:1; height:8px; background:var(--silver-2); border-radius:4px; }
  .bar-col .bar { grid-column:2; grid-row:1; width:var(--bar-width); height:8px !important; min-height:0; max-width:none; border:0; border-radius:4px; background:var(--silver-4); }
  .bar-col .bar.current { background:var(--tech-blue); }
  .bar-col::after { content:attr(data-count); grid-column:3; grid-row:1; text-align:right; font-size:12px; color:var(--ink-soft); }
  .chart-legend { font-size:12px; padding-top:0; gap:16px; }
  .metric-today { display:inline; }
  .metric-desktop { display:none; }
  .activity-row { align-items:flex-start; gap:10px; padding:14px 0; }
  .activity-row .avatar { width:36px; height:36px; font-size:14px; }
  .activity-copy b { font-size:14px; }.activity-copy b span { display:inline; font-size:12px; margin-left:6px; }
  .activity-copy > span { font-size:12px; margin-top:5px; white-space:normal; line-height:1.6; }
  .activity-time { font:11px/1.7 var(--font); margin-top:2px; white-space:nowrap; }
  .focus-panel { margin-top:16px; }.focus-list { padding:0 16px 16px; }
  .focus-card,.focus-card:not(:nth-child(3n+1)) { padding:14px 0; }
  .focus-card:last-child { padding-bottom:0; }.focus-card .focus-name { font-size:14px; }.focus-card .focus-company { font-size:12px; margin-top:4px; }
  #page-people .toolbar { gap:10px; margin-bottom:16px; }
  #page-people .toolbar-right > span { font-size:12px !important; color:var(--mobile-muted) !important; }
  #peopleSearch { background:var(--mobile-surface); min-height:46px; }
  #page-people #statusFilter,#page-people [data-action="export"] { font-size:14px; min-height:44px; }
  #page-people #statusFilter { background:var(--mobile-surface); font-size:16px; }
  #page-people .people-table tr { background:var(--mobile-surface); border-color:var(--mobile-border); border-radius:16px; gap:10px 16px; box-shadow:0 2px 6px rgba(23,27,29,.025); }
  #page-people .person-cell b { font-size:16px; }.person-cell small { color:var(--mobile-muted); }
  #page-people .company-cell { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; align-items:center; }
  #page-people .company-cell b { grid-column:1/-1; }
  #page-people .company-cell small { margin:0; font-size:13px; }
  #page-people .company-badge { margin:0; font-size:11px; }
  #page-people .person-tags .tag { font-size:11px; }
  #page-people td[data-label] { font-size:13px; }
  #page-people td[data-label]::before { font-size:12px; color:var(--mobile-muted); }
  #page-people .person-contact { justify-content:space-between; padding-top:8px; border-top:1px solid var(--mobile-border); }
  #page-people .person-actions { border:0; padding-top:2px; }
  #page-people .table-action { font-size:13px; }
  .page-buttons { display:flex; gap:8px; }.page-buttons button { width:44px; height:44px; border-radius:8px; }
  .network-canvas { min-height:510px; background:radial-gradient(ellipse at 50% 45%,var(--tech-blue-soft),transparent 75%),var(--mobile-surface); border-color:var(--mobile-border); border-radius:16px; box-shadow:none; }
  .network-canvas::before { background-size:24px 24px; opacity:.18; }
  .desktop-network-edges { display:none; }.mobile-network-edges { display:block; }
  .network-node { left:var(--mobile-x) !important; top:var(--mobile-y) !important; width:72px; padding:4px 0; border:0; background:none; color:var(--ink); font-family:var(--font); line-height:1.4; }
  .network-node .avatar { width:40px; height:40px; border:2px solid var(--mobile-surface); box-shadow:0 2px 8px rgba(23,27,29,.08); }
  .network-node b { font-size:12px; margin-top:4px; }.network-node small { font-size:11px; margin-top:3px; }
  .network-legend { left:12px; right:12px; bottom:12px; padding:10px 8px; gap:16px; justify-content:center; font-size:11px; background:var(--mobile-surface); border-color:var(--mobile-border); }
  .relation-item { padding:14px 0; }.relation-item b { font-size:14px; line-height:1.6; }.relation-type { font-size:12px; white-space:nowrap; padding:4px 8px; }
  .relation-item small,.relation-line { font-size:12px; }
  .invite-hero { min-height:0; padding:20px; border:1px solid var(--mobile-border); background:var(--mobile-surface); color:var(--ink); border-radius:16px; box-shadow:none; }
  .invite-hero::after { display:none; }.invite-hero .eyebrow { color:var(--tech-blue); font-size:11px; margin-bottom:12px; }
  .invite-hero h2 { max-width:none; font-size:22px; font-weight:600; line-height:1.5; letter-spacing:0; margin:0 0 10px; }.invite-hero h2 br { display:none; }
  .invite-hero p { font-size:14px; color:var(--mobile-muted); line-height:1.75; margin-bottom:16px; max-width:none; }
  .theme-search { margin-top:0; max-width:none; }.theme-search > label { font-size:13px; color:var(--ink-soft); margin-bottom:8px; }
  .theme-search-row { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; padding:0; background:none; border:0; box-shadow:none; }
  .theme-search-row input,.theme-search-row input:focus { min-height:48px; border:1px solid var(--silver-3); border-radius:10px; padding:12px; background:var(--mobile-canvas); }
  .theme-search-row button { min-height:44px; padding:10px 16px; border-radius:10px; background:var(--tech-blue); font-size:14px; box-shadow:none; }
  .theme-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; font-size:12px; color:var(--mobile-muted); }
  .theme-examples > span { grid-column:1/-1; }.theme-examples button { padding:8px 4px; min-height:44px; border:1px solid var(--mobile-border); background:var(--mobile-surface); color:var(--ink-soft); border-radius:10px; font-size:12px; }
  .invite-stat { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:20px; padding-top:16px; border-top:1px solid var(--mobile-border); text-align:center; }
  .invite-stat b { font-size:24px; font-weight:600; line-height:1.3; }.invite-stat span { display:block; font-size:12px; color:var(--mobile-muted); margin-top:5px; }
  .qr-card { max-width:none; padding:20px 16px; flex-direction:column; align-items:center; gap:16px; }
  .qr-placeholder { width:152px; height:152px; padding:4px; border:1px solid var(--mobile-border); background:var(--mobile-surface); border-radius:10px; }
  .qr-copy { width:100%; text-align:center; }.qr-copy h3 { font-size:16px; line-height:1.5; }.qr-copy p { font-size:13px; line-height:1.75; color:var(--mobile-muted); }
  .qr-url { display:grid; grid-template-columns:minmax(0,1fr) 64px; gap:8px; }.qr-url input { min-width:0; font-size:12px; min-height:44px; padding:10px; }.qr-url button { font-size:13px; min-height:44px; white-space:nowrap; }
  .suggestion { padding:16px 0; gap:10px; }.suggestion .avatar { width:36px; height:36px; font-size:13px; }
  .suggestion-copy b { display:block; font-size:14px; line-height:1.6; }.suggestion-copy b > span { display:block; font-size:12px; }
  .suggestion-copy small { font-size:13px; line-height:1.75; margin-top:6px; }.suggestion button { min-height:44px; width:100%; border-radius:8px; font-size:13px; margin-top:12px; padding:10px; }
  .score { flex:none; min-width:32px; text-align:center; font-size:12px; padding:5px; border-radius:8px; background:var(--tech-blue-soft); border-color:transparent; color:var(--tech-blue-deep); }
  .match-term { font-size:11px; padding:4px 6px; }.invite-table { margin-top:16px; }
  .invite-row { grid-template-columns:minmax(0,1fr) auto; padding:16px; gap:12px; font-size:13px; }.invite-row > div:first-child { grid-column:1/-1; }.invite-row small { font-size:12px; margin-top:6px; color:var(--mobile-muted); }
  .invite-row .copy-link { grid-column:2; grid-row:2/4; align-self:center; min-height:44px; font-size:13px; padding:10px 12px; border-radius:8px; }
  .role-table { table-layout:fixed; }.role-table th,.role-table td { padding:12px 6px; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
  .role-table th { font-size:11px; text-align:center; background:var(--mobile-canvas); }.role-table th:first-child,.role-table td:first-child { width:38%; text-align:left; padding-left:16px; }
  .check { width:24px; height:24px; border-radius:6px; }.role-table tr:last-child td { border-bottom:0; }
  .account-security { padding:16px; background:var(--mobile-surface); }.account-security .eyebrow { font-size:11px; margin-bottom:8px; }.account-security h3 { font-size:18px; line-height:1.5; }
  .account-security > p:not(.eyebrow),.account-security dd { font-size:13px; }.account-security dt { font-size:13px; }.account-security dl { margin-top:12px; }
  .accounts-panel { margin-top:16px; }.accounts-panel .panel-head { flex-wrap:wrap; }.account-list { padding:0 16px 4px; }
  .account-item { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 12px; padding:16px 0; }.account-person b,.account-login b { font-size:14px; }.account-person small,.account-login > span { font-size:12px; color:var(--mobile-muted); }
  .account-state { grid-column:1/-1; }.account-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-column:1/-1; gap:8px; }.account-actions .button { font-size:12px; padding:10px 4px; border-radius:8px; }
  .permission-note { font-size:12px; line-height:1.8; margin-top:16px; padding:14px 16px; background:var(--tech-blue-soft); border:0; border-radius:12px; }
  input,textarea,select { min-width:0; min-height:46px; padding:12px; font-size:16px; border-radius:10px; background:var(--mobile-surface); line-height:1.5; }
  input[type=checkbox] { min-height:0; padding:0; }.form-grid { grid-template-columns:minmax(0,1fr); gap:0; }
  .stack-form label,.form-grid label { font-size:14px; font-weight:500; gap:8px; margin-bottom:18px; line-height:1.5; }
  .form-grid label > div { min-width:0; }textarea { min-height:112px; }
  body:has(.modal-backdrop) { overflow:hidden; }
  .modal-backdrop { place-items:end center; padding:20px 0 0; background:rgba(23,27,29,.42); backdrop-filter:blur(3px); }
  .modal,.modal.capture-modal { width:100%; max-width:640px; max-height:92dvh; border:0; border-radius:22px 22px 0 0; background:var(--mobile-surface); box-shadow:0 -8px 40px rgba(23,27,29,.12); overscroll-behavior:contain; scroll-padding:100px 0 24px; }
  .modal-head { position:sticky; top:0; z-index:6; gap:12px; padding:20px 16px 16px; background:var(--mobile-surface); border-bottom:1px solid var(--mobile-border); }
  .modal-head > div { min-width:0; }.modal-head h2 { font-size:20px; line-height:1.4; letter-spacing:0; }.modal-head p { font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
  .modal-close { flex:none; width:44px; height:44px; border:0; border-radius:12px; background:var(--mobile-canvas); font-size:24px; }
  .modal-body { padding:20px 16px max(24px,env(safe-area-inset-bottom)); }
  .modal-foot { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding-top:16px; border-top:1px solid var(--mobile-border); margin-top:16px; }
  .modal-foot > :only-child { grid-column:1/-1; }.modal-foot .button { width:100%; padding:11px 8px; }
  .person-summary { display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; padding:16px; border-radius:12px; background:var(--mobile-canvas); }.person-summary-copy small { font-size:12px; line-height:1.7; }.person-summary > .status-pill { grid-column:2; margin:0; justify-self:start; }
  .capture-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); padding:4px; gap:4px; margin-bottom:20px; border-color:var(--mobile-border); background:var(--mobile-canvas); border-radius:12px; }
  .capture-tabs button { min-height:44px; font-size:14px; padding:10px 8px; font-weight:500; border-radius:8px; }
  .capture-upload { padding:24px 16px; gap:12px; border-radius:12px; background:var(--mobile-canvas); }.capture-upload strong { font-size:16px; line-height:1.6; }.capture-upload > span { font-size:12px; line-height:1.75; }
  .capture-upload input { font-size:13px; padding:10px 6px; width:100%; }.capture-source-actions { flex-direction:column; align-items:stretch; gap:12px; }.capture-source-actions > span { font-size:12px; }
  .capture-edit-grid { grid-template-columns:minmax(0,1fr); gap:16px; }.capture-edit-grid label { font-size:14px; font-weight:500; }.capture-candidate summary { flex-wrap:wrap; }.capture-row-state { white-space:normal; }
  .capture-import-footer { flex-direction:column; align-items:stretch; gap:16px; }.capture-import-footer > div { text-align:left; }.capture-import-footer .button { width:100%; }.capture-import-footer > label { font-size:14px; }
  .company-check { padding:14px; border-radius:12px; font-size:13px; }.company-check-head { align-items:flex-start; gap:10px; }.company-facts { font-size:13px; }.company-check .company-ack { font-size:13px; }.company-ack input { width:20px; height:20px; min-height:0; }
  .main-content[data-view="assistant"] { background:var(--mobile-surface); }.main-content[data-view="assistant"] .page-wrap { padding:0 16px 16px; }
  .assistant-toolbar { min-height:48px; }.assistant-new,.mascot-motion-toggle { font-size:12px; min-height:44px; padding:8px 10px; }
  .assistant-stage { width:min(600px,100%); min-height:calc(100dvh - 124px); justify-content:center; }.assistant-welcome { padding:12px 0 24px; }
  .assistant-emblem,.building-mascot-welcome { width:80px; height:80px; }.assistant-welcome h1 { font-size:26px; font-weight:600; line-height:1.4; margin:16px 0 8px; letter-spacing:0; }.assistant-welcome > p:not(.eyebrow) { font-size:14px; color:var(--mobile-muted); }
  .assistant-composer { padding:16px; border-radius:18px; background:var(--mobile-surface); box-shadow:0 3px 16px rgba(23,27,29,.04); }.assistant-composer textarea { min-height:72px; max-height:160px; line-height:1.75; }
  .assistant-composer-bottom { margin-top:8px; }.assistant-mode { font-size:11px; padding:6px 8px; gap:4px; }.assistant-mode svg { width:14px; height:14px; }
  .assistant-prompts { width:100%; max-width:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:16px 0 0; }.assistant-prompts button { min-height:44px; padding:10px 8px; font-size:13px; border-radius:10px; background:var(--mobile-surface); }
  .assistant-scope { font-size:12px; margin-top:16px; gap:6px; }.assistant-about { font-size:12px; margin-top:4px; }.assistant-about summary { min-height:44px; }.assistant-disclosure { font-size:12px; }
  .has-conversation .assistant-stage { padding-top:16px; min-height:calc(100dvh - 124px); }.has-conversation .assistant-compose-zone { background:var(--mobile-surface); padding-bottom:max(8px,env(safe-area-inset-bottom)); }
  .assistant-question { margin:0 0 24px 24px; }.assistant-question p { background:var(--mobile-canvas); font-size:15px; border-radius:16px; padding:12px 16px; }.assistant-answer { font-size:16px; line-height:1.85; }.assistant-reply { margin-bottom:28px; }
  .assistant-reply-label { font-size:13px; }.assistant-citations > p { font-size:12px; line-height:1.7; }.assistant-source { padding:12px; background:var(--mobile-canvas); border:1px solid var(--mobile-border); }.assistant-source b { font-size:14px; }.assistant-source small { font-size:12px; }.assistant-answer-foot,.assistant-notice { font-size:12px; line-height:1.7; }
  .login-view { display:block; background:var(--mobile-canvas); }.login-panel { min-height:100dvh; max-width:480px; margin:auto; justify-content:center; padding:36px 24px max(32px,env(safe-area-inset-bottom)); background:var(--mobile-canvas); }
  .mobile-brand { gap:12px; margin-bottom:36px; font-size:18px; }.mobile-brand .brand-mark { width:40px; height:40px; border-radius:12px; }.login-heading .eyebrow { font-size:11px; margin-bottom:10px; }.login-heading h2 { font-size:26px; font-weight:600; letter-spacing:0; line-height:1.4; margin-bottom:10px; }.login-heading > p:last-child { font-size:14px; line-height:1.75; margin-bottom:28px; }.stack-form { max-width:none; }.password-wrap input { padding-right:52px; }.plain-icon { top:2px; right:2px; height:44px; width:44px; }.login-panel .button-wide { min-height:48px; }.login-foot { margin-top:24px; font-size:12px; color:var(--mobile-muted); }
  .toast { top:72px; left:16px; right:16px; width:fit-content; max-width:calc(100% - 32px); margin:0 auto; padding:12px 16px; border-radius:12px; font-size:13px; line-height:1.6; box-shadow:0 4px 18px rgba(23,27,29,.1); }
  .register-body { background:var(--mobile-canvas); }.register-shell { display:block; max-width:600px; padding:16px; margin:auto; }.register-card { width:100%; background:var(--mobile-surface); border-color:var(--mobile-border); border-radius:18px; box-shadow:0 3px 12px rgba(23,27,29,.035); }
  .register-top { padding:24px 20px; background:var(--tech-blue); }.register-top::after { display:none; }.register-top .brand-mark { margin-bottom:20px; }.register-top .eyebrow { font-size:10px; line-height:1.7; margin-bottom:8px; }.register-top h1 { font-size:24px; line-height:1.4; letter-spacing:0; }.register-top p { font-size:13px; line-height:1.75; }
  .register-body-inner { padding:24px 20px; }.register-body-inner h2 { font-size:20px; line-height:1.4; letter-spacing:0; }.register-body-inner > p { font-size:14px; line-height:1.75; margin-bottom:20px; }.register-body-inner > .small-help { font-size:12px; }.register-foot { padding:16px 20px; gap:8px; flex-wrap:wrap; font-size:12px; line-height:1.6; }.register-success { padding:40px 20px; }.register-success h2 { font-size:22px; }.register-success p { font-size:14px; line-height:1.8; }
}
@media(max-width:360px) {
  .metric { padding:14px; }.metric-help { font-size:11px; }
  .panel-head { flex-wrap:wrap; gap:4px 12px; }.panel-head > .text-link { margin-top:-4px; }
  .activity-time { font-size:10px; }.invite-hero { padding:16px; }.role-table th { font-size:10px; }
}
@media(max-width:800px) and (max-height:620px) {
  .assistant-stage,.has-conversation .assistant-stage { min-height:0; justify-content:flex-start; }
  .assistant-welcome { padding:12px 0 20px; }.assistant-emblem,.building-mascot-welcome { width:64px; height:64px; }
  .has-conversation .assistant-compose-zone { position:static; }
}

/* Desktop workspace: bounded canvas, readable density, consistent grid rhythm. */
@media(min-width:801px) {
  :root { --desktop-canvas:#f2f4f6; --desktop-surface:#fff; --desktop-border:#e0e5e9; --desktop-muted:#5c6871; --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","WenQuanYi Zen Hei",sans-serif; }
  html,body { font-size:15px; line-height:1.5; background:var(--desktop-canvas); }
  .app-view,.main-content { background:var(--desktop-canvas); }
  .sidebar { width:232px; padding:24px 14px 20px; background:var(--desktop-surface); border-right:1px solid var(--desktop-border); }
  .sidebar-head { padding:0 8px 24px; gap:10px; }.sidebar-head strong { font-size:17px; }.sidebar-head small { font-size:10px; letter-spacing:.04em; }.sidebar-head .brand-mark { width:34px; height:34px; }
  .event-switcher { margin:0 0 20px; padding:14px 10px; border:1px solid var(--desktop-border); border-radius:12px; background:var(--desktop-canvas); }
  .event-switcher b { font-size:14px; }.event-switcher small { font-size:12px; line-height:1.6; }
  .nav-item,.nav-group-toggle { font-size:14px; min-height:46px; }.assistant-entry.nav-item { margin-bottom:16px; font-size:14px; }
  .nav-group-items { padding-left:8px; }.nav-count { font-size:11px; }.sync-status { font-size:11px; padding:16px 6px; gap:6px; }.sync-status time { font-size:11px; }
  .profile-mini { padding:16px 2px 0; gap:8px; }.profile-mini b { font-size:14px; }.profile-mini small { font-size:12px; line-height:1.5; }.profile-mini button { flex:none; width:36px; height:40px; }
  .topbar { height:64px; padding:0 28px; background:var(--desktop-surface); border-bottom:1px solid var(--desktop-border); }
  .crumb { font-size:14px; }.crumb b { font-weight:500; }.crumb small { color:var(--desktop-muted); }.top-user span { font-size:14px; }.top-user .avatar { width:32px; height:32px; font-size:13px; }
  .page-wrap { width:100%; max-width:1440px; padding:28px 32px 48px; margin:0 auto; }
  .page,.page-head > div,.panel,.metric { min-width:0; }
  .page-head { gap:20px 24px; flex-wrap:wrap; align-items:center; margin-bottom:24px; }
  .page-head > div:first-child { flex:1; min-width:260px; }
  .page-head h1 { font-size:28px; line-height:1.35; letter-spacing:0; margin-bottom:8px; font-weight:600; }.page-head p { font-size:14px; line-height:1.7; color:var(--desktop-muted); }
  .head-actions { gap:10px; flex:none; margin:0; }.button { min-height:42px; padding:10px 16px; font-size:14px; line-height:1.5; border-radius:9px; font-weight:500; }
  .button-outline { background:var(--desktop-surface); }.button-quiet { background:var(--tech-blue-soft); }
  .panel,.metric,.qr-card { border:1px solid var(--desktop-border); border-radius:14px; background:var(--desktop-surface); box-shadow:0 2px 8px rgba(23,27,29,.025); }
  .panel-head { padding:20px 24px 16px; gap:16px; align-items:flex-start; }.panel-head > div { min-width:0; }.panel-head h3 { font-size:16px; line-height:1.5; font-weight:600; letter-spacing:0; }.panel-head p { font-size:13px; line-height:1.65; margin-top:5px; color:var(--desktop-muted); }
  .text-link { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:4px 0; font-size:13px; font-weight:500; text-decoration:none; flex-shrink:0; }
  .avatar { width:36px; height:36px; font-size:14px; box-shadow:none; }.tag,.role-badge { font-size:12px; line-height:1.5; padding:4px 7px; border-radius:6px; }
  .status-pill { font-size:11px; line-height:1.5; padding:5px 7px; }.company-badge { font-size:11px; max-width:100%; white-space:normal; }
  .metrics-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
  .metric { min-height:148px; padding:20px; }.metric-top { font-size:13px; gap:8px; flex-wrap:wrap; }.metric-badge { font-size:11px; padding:4px 6px; border-radius:5px; }
  .metric-value { margin-top:16px; font-size:34px; font-weight:600; line-height:1.15; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }.metric-help { font-size:12px; line-height:1.6; color:var(--desktop-muted); margin-top:8px; }
  .dashboard-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }.dashboard-grid > .panel { display:flex; flex-direction:column; }
  .activity-list { padding:0 24px 12px; }.activity-row { gap:12px; padding:14px 0; align-items:flex-start; }.activity-row .avatar { width:36px; height:36px; font-size:14px; }
  .activity-copy b { font-size:14px; }.activity-copy b > span { display:inline; margin-left:6px; font-size:12px; }.activity-copy > span { font-size:13px; line-height:1.6; margin-top:4px; white-space:normal; }.activity-time { font:12px/1.7 var(--font); white-space:nowrap; margin-top:2px; }
  .chart-area { flex:1; padding:24px 24px 24px; display:flex; flex-direction:column; justify-content:center; }
  .bars { display:grid; flex:none; height:auto; min-height:0; max-height:none; gap:20px; padding:0; margin-bottom:24px; border:0; }.bars::before,.bars::after { display:none; }
  .bar-col { display:grid; grid-template-columns:minmax(104px,.8fr) minmax(0,1.4fr) 28px; gap:14px; align-items:center; height:auto; min-height:24px; }
  .bar-col small { position:static; grid-column:1; grid-row:1; font-size:13px; line-height:1.6; color:var(--ink-soft); white-space:normal !important; text-overflow:clip !important; overflow-wrap:anywhere; }
  .bar-col::before { content:''; grid-column:2; grid-row:1; height:10px; background:var(--silver-2); border-radius:5px; }
  .bar-col .bar { grid-column:2; grid-row:1; width:var(--bar-width); height:10px !important; min-height:0; max-width:none; border:0; border-radius:5px; background:var(--silver-4); }.bar-col .bar.current { background:var(--tech-blue); }
  .bar-col::after { content:attr(data-count); grid-column:3; grid-row:1; text-align:right; font-size:13px; color:var(--ink-soft); }
  .chart-legend { font-size:12px; padding-top:0; gap:20px; }
  .focus-panel { margin-top:20px; }.focus-list { padding:0 24px 24px; }.focus-card,.focus-card:not(:nth-child(3n+1)) { padding-top:16px; }.focus-card .focus-name { font-size:14px; }.focus-card .focus-company { font-size:13px; margin-top:5px; }.focus-card .focus-top { gap:10px; }
  #page-people .toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; margin-bottom:16px; }
  #page-people .toolbar-left { display:flex; flex-wrap:nowrap; min-width:0; gap:10px; }.toolbar-right { gap:12px; flex-wrap:nowrap; }.toolbar-right > span { font-size:13px !important; white-space:nowrap; }
  #page-people .search-wrap { width:auto; max-width:380px; min-width:140px; flex:1; }.search-wrap input { min-height:42px; padding-left:38px; font-size:14px; background:var(--desktop-surface); }.search-symbol { top:8px; left:13px; }
  .select-compact { flex:0 0 140px; width:140px; min-width:140px; min-height:42px; font-size:14px; padding:10px 28px 10px 12px; background:var(--desktop-surface); }
  .table-panel { max-width:100%; }.people-table { table-layout:fixed; min-width:900px; width:100%; }
  .people-table th,.people-table td { padding:14px 12px; overflow-wrap:anywhere; }.people-table th { font-size:12px; background:var(--desktop-canvas); line-height:1.5; }.people-table td { line-height:1.6; }
  .people-table th:nth-child(1) { width:23%; }.people-table th:nth-child(2) { width:21%; }.people-table th:nth-child(3) { width:15%; }.people-table th:nth-child(4) { width:11%; }.people-table th:nth-child(5) { width:7%; }.people-table th:nth-child(6) { width:12%; }.people-table th:nth-child(7) { width:11%; }
  .person-cell { min-width:0; gap:10px; }.person-cell > div:not(.avatar) { min-width:0; flex:1; }.person-cell .avatar { flex:none; }.person-cell b,.company-cell b { font-size:14px; font-weight:600; }.person-cell small,.company-cell small { font-size:12px; line-height:1.6; color:var(--desktop-muted); overflow-wrap:anywhere; }.company-cell { min-width:0; }
  .person-owner { font-size:13px; }.person-contact { font:12px/1.6 var(--font); }.person-tags .tag { margin:3px 4px 3px 0; max-width:100%; font-size:12px; padding:4px 6px; }.person-status .status-pill { white-space:normal; }
  .table-actions { gap:6px; }.table-action { flex-shrink:0; display:grid; place-items:center; width:36px; height:36px; border-radius:8px; font-size:16px; }
  .pagination { padding:16px 20px; font-size:13px; }.page-buttons { gap:8px; }.page-buttons button { width:36px; height:36px; border-radius:8px; font-size:13px; }
  .network-layout { grid-template-columns:minmax(0,1fr) 320px; gap:20px; align-items:start; }.network-canvas { min-height:580px; background:radial-gradient(ellipse at 50% 45%,var(--tech-blue-soft),transparent 75%),var(--desktop-surface); border-color:var(--desktop-border); box-shadow:none; }
  .network-canvas::before { opacity:.18; background-size:28px 28px; }.network-node { width:100px; padding:4px 0; line-height:1.4; }.network-node .avatar { width:48px; height:48px; border:3px solid var(--desktop-surface); }.network-node b { font-size:13px; margin-top:6px; }.network-node small { font-size:12px; margin-top:3px; }.network-legend { font-size:12px; padding:10px 12px; background:var(--desktop-surface); border-color:var(--desktop-border); }
  .relation-list { padding:0 20px 12px; }.relation-item { padding:16px 0; }.relation-item b { font-size:13px; line-height:1.6; }.relation-type { font-size:11px; padding:4px 6px; white-space:nowrap; }.relation-item small,.relation-line { font-size:12px; }
  .invite-layout { grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr); gap:20px; }
  .invite-hero { min-height:0; padding:28px; background:var(--desktop-surface); color:var(--ink); border-color:var(--desktop-border); box-shadow:none; }.invite-hero::after { display:none; }.invite-hero > .eyebrow { font-size:11px; color:var(--tech-blue); margin-bottom:14px; }
  .invite-hero h2 { font-size:26px; line-height:1.45; letter-spacing:0; font-weight:600; max-width:none; margin:0 0 12px; }.invite-hero p { font-size:14px; color:var(--desktop-muted); line-height:1.75; margin-bottom:20px; max-width:66ch; }
  .theme-search { max-width:none; margin-top:0; }.theme-search > label { font-size:13px; color:var(--ink-soft); margin-bottom:8px; }.theme-search-row { padding:5px; border-color:var(--desktop-border); background:var(--desktop-canvas); box-shadow:none; border-radius:12px; gap:8px; }.theme-search-row input { font-size:14px; min-height:42px; padding:10px; }.theme-search-row button { font-size:14px; min-height:42px; padding:10px 16px; background:var(--tech-blue); box-shadow:none; border-radius:8px; }
  .theme-examples { font-size:12px; gap:8px; color:var(--desktop-muted); margin-top:12px; }.theme-examples button { font-size:12px; min-height:36px; padding:7px 10px; background:var(--desktop-surface); color:var(--ink-soft); border-color:var(--desktop-border); border-radius:8px; }
  .invite-stat { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:24px; padding-top:20px; border-top:1px solid var(--desktop-border); }.invite-stat b { font-size:26px; font-weight:600; line-height:1.3; }.invite-stat span { display:block; font-size:12px; margin-top:5px; color:var(--desktop-muted); }
  .qr-card { max-width:none; padding:24px; flex-direction:column; justify-content:center; align-items:center; gap:20px; }.qr-placeholder { width:168px; height:168px; padding:4px; background:var(--desktop-surface); border-color:var(--desktop-border); border-radius:10px; }.qr-copy { min-width:0; width:100%; text-align:center; }.qr-copy h3 { font-size:16px; line-height:1.5; }.qr-copy p { font-size:13px; line-height:1.75; color:var(--desktop-muted); }.qr-url { display:grid; grid-template-columns:minmax(0,1fr) 60px; gap:8px; }.qr-url input { min-width:0; min-height:40px; font-size:12px; padding:10px; }.qr-url button { min-height:40px; font-size:13px; white-space:nowrap; }
  .suggestions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; padding:0 24px 12px; }.suggestion { min-width:0; padding:20px 0; gap:12px; }.suggestion .avatar { width:36px; height:36px; font-size:13px; }.suggestion-copy b { font-size:14px; line-height:1.6; }.suggestion-copy small { font-size:13px; line-height:1.7; margin-top:6px; }.suggestion button { min-height:36px; font-size:13px; padding:8px 12px; margin-top:12px; border-radius:8px; }.score { flex:none; min-width:32px; font-size:12px; text-align:center; background:var(--tech-blue-soft); border-color:transparent; color:var(--tech-blue-deep); border-radius:8px; }.match-term { font-size:11px; padding:4px 6px; }
  .invite-table { margin-top:20px; }.invite-row { grid-template-columns:minmax(0,1fr) 110px 80px 120px; padding:16px 24px; font-size:13px; gap:16px; }.invite-row small { font-size:12px; line-height:1.6; margin-top:5px; }.invite-row .copy-link { min-height:36px; font-size:13px; padding:8px 12px; border-radius:8px; }
  .permission-grid { grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr); gap:20px; }.role-table { table-layout:fixed; }.role-table th,.role-table td { padding:16px 14px; font-size:13px; line-height:1.6; }.role-table th { font-size:12px; text-align:center; background:var(--desktop-canvas); }.role-table th:first-child,.role-table td:first-child { width:38%; text-align:left; padding-left:24px; }.role-table tr:last-child td { border-bottom:0; }.check { width:24px; height:24px; border-radius:6px; }
  .account-security { padding:24px; background:var(--desktop-surface); }.account-security .eyebrow { font-size:11px; }.account-security h3 { font-size:20px; line-height:1.5; }.account-security > p:not(.eyebrow),.account-security dd { font-size:13px; line-height:1.75; }.account-security dt { font-size:13px; }.account-security dl { margin-top:16px; }
  .accounts-panel { margin-top:20px; }.account-list { padding:0 24px 8px; }.account-item { grid-template-columns:minmax(0,1fr) minmax(0,.7fr) minmax(0,.8fr) auto; gap:20px; padding:20px 0; }.account-person b,.account-login b { font-size:14px; }.account-person small,.account-login > span { font-size:13px; line-height:1.6; }.account-actions { grid-column:auto; display:flex; gap:8px; flex-wrap:nowrap; }.account-actions .button { min-height:40px; font-size:13px; padding:9px 12px; }.account-state { min-width:0; }.account-status { font-size:12px; }.permission-note { background:var(--tech-blue-soft); border:0; border-radius:12px; padding:16px 20px; margin-top:20px; font-size:13px; line-height:1.8; }
  input,select,textarea { min-height:44px; font-size:14px; line-height:1.5; padding:11px 12px; border-radius:9px; background:var(--desktop-surface); }input[type=checkbox] { min-height:0; padding:0; }textarea { min-height:112px; }
  .stack-form label,.form-grid label { font-size:14px; font-weight:500; line-height:1.5; gap:8px; margin-bottom:20px; }.form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }.form-grid label { min-width:0; }
  .small-help { font-size:13px; line-height:1.75; color:var(--desktop-muted); }.empty-state { font-size:14px; line-height:1.7; padding:40px 24px; }.link-box { font-size:13px; line-height:1.6; padding:14px; background:var(--desktop-canvas); }
  body:has(.modal-backdrop) { overflow:hidden; }.modal-backdrop { padding:24px; background:rgba(23,27,29,.42); backdrop-filter:blur(3px); }.modal { width:min(640px,100%); max-height:min(88dvh,960px); background:var(--desktop-surface); border:0; border-radius:18px; box-shadow:0 20px 80px rgba(23,27,29,.16); scroll-padding-top:112px; overscroll-behavior:contain; }.modal.capture-modal { width:min(880px,100%); }
  .modal-head { position:sticky; top:0; z-index:6; padding:24px; gap:20px; background:var(--desktop-surface); border-bottom:1px solid var(--desktop-border); }.modal-head > div { min-width:0; }.modal-head h2 { font-size:22px; line-height:1.4; letter-spacing:0; }.modal-head p { font-size:13px; line-height:1.7; overflow-wrap:anywhere; }.modal-close { flex:none; border:0; background:var(--desktop-canvas); border-radius:10px; width:44px; height:44px; font-size:22px; }.modal-body { padding:24px; }.modal-foot { border-top:1px solid var(--desktop-border); margin-top:20px; padding-top:20px; gap:10px; }.modal-foot .button { min-width:128px; }
  .person-summary { padding:16px; border-radius:12px; background:var(--desktop-canvas); gap:12px; }.person-summary-copy small { font-size:13px; line-height:1.7; }.person-summary-copy { flex:1; }.person-summary .status-pill { white-space:normal; }
  .capture-tabs { margin-bottom:24px; background:var(--desktop-canvas); border-color:var(--desktop-border); border-radius:12px; gap:6px; }.capture-tabs button { font-size:14px; font-weight:500; }.capture-upload { padding:28px 20px; border-radius:12px; background:var(--desktop-canvas); gap:12px; }.capture-upload > span,.capture-source-actions > span { font-size:13px; }.capture-edit-grid label { font-size:14px; font-weight:500; }.capture-import-footer > label { font-size:14px; }.capture-preview-head h3 { font-size:20px; }.capture-text-label { font-size:14px; }.capture-upload input { font-size:14px; }.capture-row-help,.capture-notices { font-size:13px; }
  .company-check { font-size:14px; padding:16px; border-radius:12px; }.company-facts { font-size:13px; }.company-check-actions a { font-size:13px; }.company-check .company-evidence { font-size:12px; }.company-check .company-ack { font-size:13px; }.company-ack input { width:20px; height:20px; min-height:0; }
  .main-content[data-view="assistant"] { background:var(--desktop-surface); }.main-content[data-view="assistant"] .page-wrap { max-width:1440px; padding:0 32px 20px; }.assistant-toolbar { min-height:52px; }.assistant-new,.mascot-motion-toggle { font-size:13px; min-height:40px; }.assistant-stage { width:min(800px,100%); min-height:calc(100dvh - 156px); }.assistant-welcome { padding:16px 0 28px; }.assistant-welcome h1 { font-size:32px; line-height:1.4; font-weight:600; margin:20px 0 10px; letter-spacing:0; }.assistant-welcome > p:not(.eyebrow) { font-size:16px; }.assistant-emblem,.building-mascot-welcome { width:104px; height:104px; }
  .assistant-composer { padding:20px; border-radius:20px; background:var(--desktop-surface); }.assistant-composer textarea { min-height:72px; font-size:16px; line-height:1.75; }.assistant-mode { font-size:12px; }.assistant-composer-bottom { margin-top:12px; }#assistantSend { width:44px; height:44px; }#assistantCharCount { font-size:12px; }.assistant-prompts { gap:10px; margin-top:20px; }.assistant-prompts button { min-height:42px; font-size:14px; padding:10px 16px; border-radius:10px; }.assistant-scope,.assistant-scope small { font-size:12px; }.assistant-about { font-size:12px; }.assistant-about summary { min-height:36px; }.assistant-disclosure { font-size:13px; }
  .has-conversation .assistant-compose-zone { background:var(--desktop-surface); }.has-conversation .assistant-stage { min-height:calc(100dvh - 156px); }.assistant-question p { font-size:16px; background:var(--desktop-canvas); border-radius:16px; }.assistant-answer { font-size:16px; line-height:1.85; }.assistant-reply-label { font-size:14px; }.assistant-citations > p { font-size:13px; }.assistant-source { background:var(--desktop-canvas); border:1px solid var(--desktop-border); border-radius:12px; }.assistant-source b { font-size:14px; }.assistant-source small { font-size:13px; }.assistant-answer-foot,.assistant-notice { font-size:12px; line-height:1.7; }
  .login-view { grid-template-columns:repeat(2,minmax(0,1fr)); background:var(--desktop-canvas); }.login-aside { padding:clamp(40px,5vw,88px); background:var(--tech-blue-deep); }.login-aside h1 { font-size:clamp(36px,3.2vw,52px); line-height:1.35; font-weight:600; margin:64px 0 24px; letter-spacing:-.02em; }.login-intro { font-size:16px; line-height:1.9; max-width:420px; }.login-proof { margin-top:48px; font-size:13px; }.login-panel { padding:clamp(32px,5vw,80px); background:var(--desktop-surface); }.login-panel > * { width:min(100%,440px); margin-left:auto; margin-right:auto; }.login-heading h2 { font-size:30px; line-height:1.4; letter-spacing:0; font-weight:600; }.login-heading > p:last-child { font-size:15px; line-height:1.7; margin-bottom:32px; }.login-heading .eyebrow { font-size:11px; }.stack-form { max-width:440px; }.login-panel .button-wide { min-height:46px; }.login-foot { font-size:12px; margin-top:24px; }.plain-icon { top:1px; width:44px; height:44px; }
  .register-body { background:var(--desktop-canvas); }.register-shell { padding:40px 24px; }.register-card { width:min(680px,100%); background:var(--desktop-surface); border-color:var(--desktop-border); box-shadow:0 6px 24px rgba(23,27,29,.04); border-radius:18px; }.register-top { padding:28px 32px; background:var(--tech-blue); }.register-top::after { display:none; }.register-top h1 { font-size:28px; letter-spacing:0; line-height:1.4; }.register-top p { font-size:14px; line-height:1.7; }.register-top .eyebrow { font-size:11px; margin-bottom:10px; }.register-top .brand-mark { margin-bottom:20px; }.register-body-inner { padding:28px 32px 32px; }.register-body-inner h2 { font-size:22px; letter-spacing:0; line-height:1.5; }.register-body-inner > p { font-size:14px; line-height:1.75; }.register-body-inner > .small-help { font-size:13px; }.register-foot { padding:16px 32px; font-size:12px; }.register-success { padding:48px 32px; }.register-success p { font-size:14px; line-height:1.8; }
  .toast { font-size:14px; line-height:1.6; padding:12px 18px; border-radius:10px; }
}
@media(min-width:801px) and (max-width:1199px) {
  .sidebar { width:216px; padding-left:10px; padding-right:10px; }.sidebar-head { padding-left:4px; padding-right:4px; }.sidebar-head strong { font-size:16px; }
  .page-wrap { padding:24px; }.main-content[data-view="assistant"] .page-wrap { padding-left:24px; padding-right:24px; }
  .metrics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-grid,.network-layout,.invite-layout,.permission-grid { grid-template-columns:minmax(0,1fr); }
  .network-canvas { min-height:560px; }.qr-card { flex-direction:row; }.qr-copy { text-align:left; }.qr-placeholder { flex:none; }.suggestions { grid-template-columns:minmax(0,1fr); }
  .account-item { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }.account-actions { grid-column:1/-1; justify-content:flex-end; }
}
@media(min-width:801px) and (max-height:650px) {
  .assistant-stage,.has-conversation .assistant-stage { min-height:0; justify-content:flex-start; }.assistant-welcome { padding:12px 0 20px; }.assistant-emblem,.building-mascot-welcome { width:72px; height:72px; }.assistant-welcome h1 { font-size:28px; margin-top:12px; }.has-conversation .assistant-compose-zone { position:static; }
}

/* Voice and explicit contact creation share the assistant's compact input rhythm. */
.assistant-voice-actions { display:flex; align-items:center; gap:4px; flex-shrink:0; }
.assistant-voice-actions button { display:grid; place-items:center; width:44px; height:44px; padding:10px; border:0; border-radius:12px; background:transparent; color:var(--ink-soft); cursor:pointer; }
.assistant-voice-actions button:hover:not(:disabled) { background:var(--silver-2); color:var(--tech-blue-deep); }
.assistant-voice-actions button[aria-pressed=true] { background:var(--tech-blue-soft); color:var(--tech-blue-deep); box-shadow:inset 0 0 0 1px var(--tech-blue); }
.assistant-voice-actions svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.assistant-voice-actions button:disabled { opacity:.4; cursor:default; }
.assistant-voice-status { display:flex; align-items:center; gap:12px; padding:12px 0 0; margin-top:8px; border-top:1px solid var(--silver-3); color:var(--ink-soft); font-size:12px; line-height:1.7; }
.assistant-voice-status[hidden] { display:none; }.assistant-voice-status > span { flex:1; min-width:0; overflow-wrap:anywhere; }
.assistant-voice-status button { background:var(--silver-2); border:0; border-radius:8px; min-height:44px; min-width:56px; padding:8px 12px; color:var(--ink-soft); cursor:pointer; }
.assistant-contact-draft { margin:20px 0; padding:24px; background:var(--silver-1); border:1px solid var(--silver-3); border-radius:16px; }
.assistant-contact-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:20px; }.assistant-contact-heading b { font-size:16px; font-weight:600; }.assistant-contact-heading span { font-size:12px; color:var(--tech-blue-deep); background:var(--tech-blue-soft); padding:4px 8px; border-radius:6px; }
.assistant-contact-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; }.assistant-contact-fields label { display:grid; gap:8px; font-size:14px; min-width:0; color:var(--ink-soft); }.assistant-contact-fields .full { grid-column:1/-1; }.assistant-contact-fields input,.assistant-contact-fields select,.assistant-contact-fields textarea { width:100%; min-width:0; min-height:44px; padding:11px 12px; font-size:14px; background:#fff; }.assistant-contact-fields textarea { min-height:80px; resize:vertical; }
.assistant-contact-help { margin:16px 0 8px; font-size:12px; line-height:1.8; color:var(--silver-6); }.assistant-contact-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:16px; }.assistant-contact-actions .button { min-height:44px; min-width:110px; }
.has-contact-draft .assistant-compose-zone { position:static; }.assistant-contact-draft input,.assistant-contact-draft select,.assistant-contact-draft textarea,.assistant-contact-actions { scroll-margin-block:100px 24px; }
.assistant-update-identity { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:16px; font-size:14px; }.assistant-update-identity span { color:var(--muted); overflow-wrap:anywhere; }
.assistant-update-diff { border-top:1px solid var(--silver-3); }.assistant-update-row { display:grid; grid-template-columns:72px minmax(0,1fr) minmax(0,1fr); gap:16px; padding:16px 0; border-bottom:1px solid var(--silver-3); font-size:14px; }.assistant-update-row>b { font-weight:500; padding-top:3px; }.assistant-update-row>div { min-width:0; padding:0 12px; }.assistant-update-row small { color:var(--muted); font-size:12px; }.assistant-update-row p { margin:6px 0 0; line-height:1.75; white-space:pre-wrap; overflow-wrap:anywhere; }.assistant-update-after { border-left:2px solid var(--person-avatar-border); color:var(--tech-blue-deep); }
.assistant-update-candidates { display:grid; gap:10px; margin-top:16px; }.assistant-update-candidates button { display:grid; gap:6px; min-height:64px; padding:14px 16px; text-align:left; border:1px solid var(--silver-3); border-radius:10px; background:var(--silver-1); color:var(--ink); }.assistant-update-candidates button:hover:not(:disabled) { border-color:var(--person-avatar-border); background:var(--tech-blue-soft); }.assistant-update-candidates span { color:var(--muted); font-size:13px; overflow-wrap:anywhere; }.assistant-update-candidates small { color:var(--tech-blue); font-size:12px; }
@media(max-width:800px) { .assistant-update-row { grid-template-columns:minmax(0,1fr); gap:12px; padding:16px 0; }.assistant-update-row>div { padding-left:12px; }.assistant-update-row>b { padding:0; }.assistant-update-after { padding-bottom:4px; } }
@media(max-width:800px) {
  .assistant-contact-draft { padding:16px; border-radius:12px; margin:16px 0; }.assistant-contact-fields { grid-template-columns:minmax(0,1fr); gap:16px; }.assistant-contact-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.assistant-contact-actions .button { min-width:0; padding:10px; font-size:14px; }
  .assistant-contact-fields input,.assistant-contact-fields select,.assistant-contact-fields textarea { font-size:16px; }
}
@media(max-width:480px) {
  .assistant-composer-bottom { flex-wrap:wrap; }.assistant-composer-bottom .assistant-mode { order:3; flex-basis:100%; padding:0; border:0; min-height:20px; justify-content:center; font-size:11px; }.assistant-composer-bottom > div:not(.assistant-voice-actions) { margin-left:auto; gap:8px; }
  #assistantCharCount { font-size:10px; }.assistant-voice-actions { gap:0; }
}

/* Relationship explorer: calm canvas, meaningful connections, progressive detail. */
#page-network { --graph-surface:#fff; --graph-canvas:var(--silver-1); --graph-emphasis:var(--silver-7); --graph-line:var(--silver-4); --graph-muted:var(--silver-5); }
#page-network .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.network-summary { display:flex; align-items:center; flex-wrap:wrap; gap:12px 28px; margin:-4px 0 24px; color:var(--graph-muted); font-size:13px; }
.network-summary>span { display:flex; gap:7px; align-items:baseline; }.network-summary b { font-size:20px; color:var(--ink); font-weight:550; font-variant-numeric:tabular-nums; }.network-summary small { margin-left:auto; font-size:12px; }
.network-workspace { display:grid; grid-template-columns:minmax(0,1fr) 292px; gap:20px; align-items:start; }
.network-main { min-width:0; border:1px solid var(--silver-3); border-radius:12px; background:var(--graph-surface); overflow:hidden; box-shadow:none; }
.network-toolbar { display:flex; gap:12px; padding:16px; border-bottom:1px solid var(--silver-3); background:linear-gradient(180deg,#fff,var(--silver-1)); }
.network-search { display:flex; align-items:center; gap:10px; flex:1; min-width:0; padding-left:12px; background:#fff; border:1px solid var(--silver-3); border-radius:10px; }
.network-search:focus-within { border-color:var(--silver-5); box-shadow:0 0 0 3px var(--silver-2); }
.network-search>svg { width:18px; height:18px; flex:none; color:var(--graph-muted); }.network-search input { width:100%; min-width:0; border:0; box-shadow:none; background:none; min-height:44px; padding:10px 10px 10px 0; font-size:14px; }
.network-search input:focus { outline:none; box-shadow:none; }.network-filter { flex:none; }.network-filter select { background:#fff; min-height:46px; font-size:13px; width:152px; border-radius:10px; }
.network-scene-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:16px 20px 12px; }
.network-scene-heading>div:first-child { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }.network-scene-heading b { font-size:14px; font-weight:600; }.network-scene-heading [role=status] { color:var(--graph-muted); font-size:12px; }
.network-live-dot { width:6px; height:6px; background:var(--silver-5); border-radius:50%; box-shadow:0 0 0 3px var(--silver-2); margin:0 3px; }
.network-view-tabs { display:flex; gap:2px; padding:3px; border:1px solid var(--silver-3); background:var(--silver-1); border-radius:9px; }
.network-view-tabs button { display:flex; gap:6px; align-items:center; min-height:36px; border:0; padding:6px 10px; background:transparent; color:var(--graph-muted); border-radius:6px; font-size:12px; cursor:pointer; }
.network-view-tabs button[aria-pressed=true] { background:#fff; color:var(--ink); box-shadow:0 1px 4px rgba(22,39,52,.1); }.network-view-tabs svg { width:16px; height:16px; }
.network-scope-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 20px 12px; font-size:12px; color:var(--graph-emphasis); }.network-scope-bar[hidden] { display:none; }.network-scope-bar button,.network-empty button { border:1px solid var(--silver-3); border-radius:8px; padding:8px 10px; min-height:36px; background:var(--silver-1); color:var(--ink-soft); cursor:pointer; font-size:12px; }
#page-network .network-canvas { position:relative; min-height:0; border:0; border-radius:0; box-shadow:none; background:var(--graph-canvas); overflow:hidden; cursor:grab; isolation:isolate; }
#page-network .network-canvas::before { display:none; }#page-network .network-canvas.is-dragging { cursor:grabbing; }
.network-world { position:relative; transform-origin:0 0; will-change:transform; }#page-network .network-world,#page-network .network-viewport { transition-property:none; }.network-world>.network-edge-svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
#page-network .network-viewport { touch-action:pan-y pinch-zoom; }
#page-network .network-viewport.touch-pan-enabled { touch-action:none; }
#page-network .network-viewport.touch-pan-enabled:not(.sphere-viewport) .network-node { pointer-events:none; }
.network-data-note { margin:0; padding:12px 16px; border-top:1px solid var(--silver-3); background:var(--tech-blue-soft); color:var(--ink-soft); font-size:12px; line-height:1.7; }
.network-data-note[hidden] { display:none; }
.network-zoom-controls .network-pan-toggle { width:auto; min-width:44px; font-size:12px; }
.network-pan-toggle[aria-pressed=true] { background:var(--tech-blue-soft); color:var(--tech-blue); }
.network-edge,.network-edge-label { transition:opacity .18s ease; }.network-edge path { fill:none; stroke:var(--graph-line); stroke-width:1.2; stroke-linecap:round; }.network-edge.strong path { stroke:var(--silver-5); stroke-width:1.5; }.network-edge.general path { stroke-dasharray:3 5; }
.network-edge-label rect { fill:var(--graph-surface); stroke:var(--silver-3); stroke-width:.8; }.network-edge-label text { font-size:11px; fill:var(--ink-soft); font-family:var(--font); font-weight:450; }.network-edge.is-active path { stroke:var(--tech-blue); stroke-width:2.5; opacity:.85; }.network-edge-label.is-active rect { stroke:var(--person-avatar-border); fill:var(--graph-surface); }.network-edge-label.is-active text { fill:var(--tech-blue); }
.network-edge.is-dimmed,.network-edge-label.is-dimmed { opacity:.12; }.network-edge-label.is-suppressed { display:none; }
.network-test-badge { border:1px solid var(--silver-3); color:var(--graph-muted); background:var(--graph-surface); padding:3px 7px; border-radius:5px; font-size:10px; line-height:1.4; }.network-test-badge[hidden] { display:none; }
.network-trail { display:flex; align-items:center; gap:6px; flex-wrap:wrap; padding:12px 16px; border-top:1px solid var(--silver-3); background:var(--graph-surface); color:var(--graph-muted); font-size:12px; }
.network-trail[hidden] { display:none; }.network-trail-label { margin-right:4px; font-weight:550; }
.network-trail button { max-width:150px; min-height:36px; padding:6px 10px; border:1px solid var(--silver-3); border-radius:7px; color:var(--ink-soft); background:var(--silver-1); font:inherit; cursor:pointer; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.network-trail button[aria-current=step] { color:var(--tech-blue); background:var(--tech-blue-soft); border-color:var(--person-avatar-border); }.network-trail small { flex-basis:100%; font-size:11px; line-height:1.7; }
@media(max-width:800px) { .network-trail { padding:12px; }.network-trail button { min-height:44px; }#networkAllLinks { grid-column:1/-1; } }
#page-network .network-node { position:absolute; width:108px; height:100px; padding:6px 0 0; left:revert !important; top:revert !important; border:0; border-radius:12px; background:transparent; color:var(--ink); font-family:var(--font); line-height:1.4; transform:translate(-50%,-50%); cursor:pointer; transition:opacity .18s ease; display:flex; flex-direction:column; align-items:center; }
/* Inline pixel coordinates intentionally override the former percentage mobile grid. */
#page-network .network-node[style] { left:var(--node-x) !important; top:var(--node-y) !important; }
.network-node-avatar { position:relative; display:grid; place-items:center; width:48px; height:48px; flex:none; border:1px solid var(--person-avatar-border); border-radius:50%; font-size:18px; font-weight:550; background:var(--person-avatar-bg); color:var(--person-avatar-ink); box-shadow:0 0 0 4px var(--graph-canvas); }
.node-focus .network-node-avatar,.network-profile-avatar.node-focus,.network-mini-avatar.node-focus { background:var(--person-focus-bg); border-color:var(--person-focus-bg); color:var(--person-focus-ink); }
.node-pending .network-node-avatar,.network-profile-avatar.node-pending,.network-mini-avatar.node-pending { background:var(--person-pending-bg); border-color:var(--person-avatar-border); color:var(--person-avatar-ink); }
.node-connected .network-node-avatar,.network-profile-avatar.node-connected,.network-mini-avatar.node-connected { background:var(--person-avatar-bg); border-color:var(--person-avatar-border); color:var(--person-avatar-ink); }
.network-node-count { display:grid; place-items:center; position:absolute; bottom:-3px; right:-5px; width:20px; height:20px; background:#fff; border:1px solid var(--silver-3); border-radius:50%; font-size:10px; font-weight:500; color:var(--graph-muted); }
#page-network .network-node b { display:block; margin:9px 0 2px; padding:0 4px; background:var(--graph-canvas); border-radius:4px; font-size:13px; font-weight:550; max-width:108px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#page-network .network-node small { display:block; margin:0; font-size:11px; color:var(--graph-muted); max-width:104px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; background:var(--graph-canvas); padding:0 4px; }
#page-network .network-node:hover .network-node-avatar { box-shadow:0 0 0 4px var(--graph-canvas),0 0 0 5px var(--person-avatar-border); }#page-network .network-node.is-selected .network-node-avatar { box-shadow:0 0 0 4px var(--graph-canvas),0 0 0 6px var(--tech-blue); }
#page-network .network-node.is-selected b { color:var(--tech-blue); font-weight:650; }#page-network .network-node.is-neighbor:not(.is-selected) .network-node-avatar { box-shadow:0 0 0 4px var(--graph-canvas); }#page-network .network-node.is-match:not(.is-selected) .network-node-avatar { box-shadow:0 0 0 4px var(--graph-canvas),0 0 0 5px var(--person-avatar-border); }#page-network .network-node.is-dimmed { opacity:.3; }
.network-canvas-footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:12px 16px; border-top:1px solid var(--silver-3); }
#page-network .network-legend { position:static; border:0; border-radius:0; padding:0; margin:0; display:flex; gap:14px; background:none; font-size:11px; color:var(--graph-muted); }
#page-network .network-legend i { border-color:var(--silver-5); width:18px; }#page-network .network-legend i.dotted { border-color:var(--graph-line); }
.network-zoom-controls { display:flex; gap:2px; align-items:center; padding:2px; border:1px solid var(--silver-3); border-radius:8px; background:#fff; }.network-zoom-controls button { width:32px; min-height:32px; padding:7px; border:0; border-radius:5px; background:transparent; color:var(--graph-muted); display:grid; place-items:center; cursor:pointer; }.network-zoom-controls svg { width:17px; height:17px; }.network-zoom-controls button:hover:not(:disabled) { background:var(--silver-2); color:var(--ink); }.network-zoom-controls button:disabled { opacity:.35; cursor:default; }.network-zoom-controls output { font-size:11px; width:40px; text-align:center; font-variant-numeric:tabular-nums; }
.network-interaction-hint { margin:0; padding:0 16px 14px; color:var(--graph-muted); font-size:11px; line-height:1.7; }
.network-selection-shortcut { display:none; }
@media(max-width:800px) {
  .network-selection-shortcut:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 12px; border-top:1px solid var(--person-avatar-border); background:var(--tech-blue-soft); color:var(--tech-blue-deep); font-size:13px; }
  .network-selection-shortcut button { flex:none; min-height:44px; border:0; border-radius:8px; padding:8px 12px; background:transparent; color:inherit; font:inherit; font-weight:600; }
}
.network-inspector { min-width:0; border:1px solid var(--silver-3); border-radius:12px; background:var(--graph-surface); overflow:hidden; }.network-inspector-heading { display:flex; justify-content:space-between; align-items:center; min-height:62px; padding:16px 20px; font-size:13px; font-weight:550; border-bottom:1px solid var(--silver-3); }.network-panel-label { color:var(--graph-muted); font-size:11px; font-weight:400; }.network-inspector-heading button { border:0; background:var(--silver-1); border-radius:7px; width:30px; height:30px; font-size:20px; color:var(--graph-muted); cursor:pointer; }
.network-inspector-heading button span { display:none; }.network-inspector-heading button i { font-style:normal; }.network-main,.network-inspector { scroll-margin-top:80px; }
.network-insight { padding:24px 20px 20px; background:var(--graph-surface); }.network-insight-symbol { display:grid; place-items:center; width:38px; height:38px; background:var(--silver-1); color:var(--ink-soft); border:1px solid var(--silver-3); border-radius:10px; margin-bottom:16px; }.network-insight-symbol svg { width:22px; height:22px; }.network-insight h2 { margin:0 0 12px; font-weight:500; font-size:21px; line-height:1.65; letter-spacing:-.5px; }.network-insight p { margin:0; color:var(--graph-muted); font-size:12px; line-height:1.9; }
.network-inspector-section { padding:20px; border-top:1px solid var(--silver-3); }.network-inspector-section h3 { display:flex; justify-content:space-between; margin:0 0 12px; font-size:13px; font-weight:600; }.network-inspector-section h3>span { color:var(--graph-muted); font-weight:400; }
.network-neighbor { display:flex; align-items:center; gap:10px; width:100%; min-height:62px; border:0; border-radius:9px; background:none; text-align:left; padding:10px 0; color:var(--ink); cursor:pointer; }.network-neighbor:hover { background:var(--silver-1); }.network-neighbor>span:nth-child(2) { flex:1; min-width:0; }.network-neighbor b,.network-neighbor small { display:block; font-weight:500; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.network-neighbor small { font-size:11px; font-weight:400; color:var(--graph-muted); margin-top:4px; }.network-neighbor em { font-size:11px; font-style:normal; color:var(--graph-muted); flex:none; }.network-neighbor>svg { width:16px; height:16px; color:var(--graph-muted); flex:none; }
.network-mini-avatar { display:grid; place-items:center; width:34px; height:34px; flex:none; border:1px solid var(--silver-3); border-radius:50%; background:var(--silver-1); color:var(--graph-muted); font-size:13px; }
.network-help p,.network-note { color:var(--graph-muted); font-size:12px; line-height:1.9; margin:0; }.network-status-legend { display:flex; flex-wrap:wrap; gap:10px 16px; font-size:11px; color:var(--graph-muted); margin-top:16px; }.network-status-legend span { display:flex; align-items:center; gap:6px; }.network-status-legend i { width:12px; height:10px; border:1px solid var(--person-avatar-border); border-radius:3px; background:var(--person-pending-bg); }.network-status-legend .focus { background:var(--person-focus-bg); border-color:var(--person-focus-bg); }.network-status-legend .connected { background:var(--person-avatar-bg); }
.network-person-profile { padding:24px 20px 20px; text-align:center; }.network-profile-avatar { margin:auto auto 12px; width:58px; height:58px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--silver-3); background:var(--silver-1); font-size:24px; color:var(--graph-muted); }.network-person-profile h2 { font-size:20px; font-weight:550; margin:0 0 8px; }.network-person-profile p { font-size:13px; margin:0 0 6px; overflow-wrap:anywhere; }.network-person-profile>small { font-size:12px; color:var(--graph-muted); }.network-person-tags { display:flex; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:16px; }.network-person-tags span { padding:4px 8px; background:var(--silver-1); border:1px solid var(--silver-3); border-radius:5px; color:var(--graph-muted); font-size:11px; }
.network-person-meta { margin:0 20px 16px; padding:12px; background:var(--silver-1); border-radius:8px; display:grid; gap:8px; }.network-person-meta span { display:flex; justify-content:space-between; gap:10px; font-size:12px; color:var(--graph-muted); }.network-person-meta b { color:var(--ink); font-weight:450; }.network-inspector-actions { display:grid; gap:8px; padding:0 20px 20px; }.network-inspector-actions .button { width:100%; justify-content:center; gap:8px; min-height:40px; font-size:12px; }.network-inspector-actions svg { width:16px; height:16px; }
.network-list-view[hidden],#networkGraph[hidden] { display:none; }.network-list-view { padding:8px 20px 20px; max-height:660px; overflow:auto; }.network-record { display:grid; grid-template-columns:minmax(0,1fr) minmax(80px,.7fr) minmax(0,1fr); gap:10px; align-items:center; padding:14px 0; border-bottom:1px solid var(--silver-3); }.network-record>button { min-width:0; text-align:left; background:transparent; border:0; color:var(--ink); min-height:44px; cursor:pointer; padding:0; }.network-record>div { text-align:center; }.network-record b,.network-record small { display:block; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.network-record small { font-size:11px; color:var(--graph-muted); font-weight:400; margin-top:4px; }.network-record>div>span { font-size:11px; padding:4px 8px; border:1px solid var(--silver-3); border-radius:5px; color:var(--ink-soft); background:var(--silver-1); }.network-record>div:after { content:''; display:block; margin-top:8px; border-top:1px solid var(--silver-3); }
.network-pagination[hidden] { display:none; }.network-pagination { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; padding:12px 16px; border-top:1px solid var(--silver-3); font-size:12px; color:var(--graph-muted); }.network-pagination>div { display:flex; gap:8px; }.network-pagination button { border:1px solid var(--silver-3); background:#fff; min-height:36px; border-radius:7px; color:var(--ink); padding:6px 10px; cursor:pointer; }.network-pagination button:disabled { opacity:.4; cursor:default; }
.network-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:320px; gap:12px; padding:32px 24px; text-align:center; width:100%; }.network-empty b { font-size:16px; font-weight:500; }.network-empty p { max-width:300px; margin:0; font-size:13px; color:var(--graph-muted); line-height:1.9; }#page-network .network-empty-symbol svg { position:static; width:46px; height:46px; color:var(--graph-line); }.network-empty-symbol { margin-bottom:8px; }
#page-network button:focus-visible,#page-network .network-viewport:focus-visible { outline:2px solid var(--graph-emphasis); outline-offset:3px; }#page-network button:active:not(:disabled) { filter:brightness(.96); }
@media(max-width:1150px) { .network-workspace { grid-template-columns:minmax(0,1fr); }.network-inspector { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }.network-inspector-heading { grid-column:1/-1; }.network-insight { border-right:1px solid var(--silver-3); }.network-inspector-section { border-top:0; }.network-help { grid-column:1/-1; border-top:1px solid var(--silver-3); }.network-person-profile { grid-row:span 2; }.network-inspector-actions { grid-column:2; }.network-person-meta { margin:20px 20px 16px 0; }.network-inspector:has(.network-person-profile) .network-inspector-section { grid-column:1/-1; border-top:1px solid var(--silver-3); } }
@media(max-width:800px) {
  .network-summary { gap:10px 20px; margin:0 0 20px; font-size:12px; }.network-summary b { font-size:18px; }.network-summary small { width:100%; margin:0; font-size:11px; }
  .network-workspace { gap:16px; }.network-main,.network-inspector { border-radius:12px; }.network-toolbar { padding:12px; flex-wrap:wrap; gap:10px; }.network-search { flex-basis:100%; }.network-search input { font-size:16px; }.network-filter { width:100%; }.network-filter select { width:100%; font-size:16px; min-height:44px; }
  .network-scene-heading { padding:12px; align-items:flex-start; }.network-scene-heading>div:first-child { gap:6px; padding-top:4px; }.network-scene-heading [role=status] { width:100%; font-size:11px; padding-left:15px; }.network-view-tabs button { width:44px; min-height:44px; padding:10px; justify-content:center; }.network-view-tabs button span { display:none; }.network-view-tabs svg { width:18px; height:18px; }
  .network-scope-bar { padding:0 12px 12px; }.network-scope-bar button { flex:none; min-height:44px; }.network-canvas-footer { padding:12px; gap:10px; }#page-network .network-legend { justify-content:flex-start; gap:12px; font-size:11px; }.network-zoom-controls { margin-left:auto; }.network-zoom-controls button { width:44px; min-height:44px; padding:10px; }.network-zoom-controls output { width:38px; }.network-interaction-hint { padding:0 12px 12px; }
  .network-inspector { display:block; }.network-inspector-heading { min-height:60px; padding:12px 16px; }.network-inspector-heading button { width:44px; height:44px; }.network-insight { padding:20px 16px; border:0; }.network-insight h2 { font-size:20px; }.network-inspector-section { padding:20px 16px; border-top:1px solid var(--silver-3); }.network-neighbor { min-height:64px; }.network-neighbor b { font-size:14px; }.network-neighbor small { font-size:12px; }.network-person-meta { margin:0 16px 16px; }.network-inspector-actions { padding:0 16px 20px; grid-template-columns:1fr 1fr; }.network-inspector-actions .button { min-height:44px; font-size:13px; }.network-person-profile { padding:20px 16px; }.network-person-profile h2 { font-size:22px; }.network-list-view { padding:0 12px 16px; }.network-record { gap:6px; }.network-record b { font-size:13px; }.network-record>div>span { font-size:10px; padding:4px; }.network-pagination button { min-height:44px; }.network-empty button { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { .network-edge,#page-network .network-node { transition:none; } }
@media(max-width:800px) {
  .network-inspector:not(.has-selection) { display:none; }.network-inspector-heading button { display:flex; align-items:center; gap:8px; width:auto; min-width:44px; padding:8px 12px; }.network-inspector-heading button span { display:inline; font-size:12px; }
}

/* Original building identity: transparent artwork, optical spacing, no stretched mark. */
.brand-identity { min-width:0; }
.brand-logo { display:block; width:100%; max-width:100%; height:auto; object-fit:contain; }
.sidebar-head { align-items:center; }
.sidebar-head .brand-identity { flex:0 1 184px; width:184px; max-width:100%; }
.sidebar-head .mobile-close { flex-shrink:0; }
.brand-identity-plate { background:var(--silver-1); border:1px solid var(--silver-3); border-radius:12px; padding:14px 18px; }
.login-aside .login-brand { position:relative; width:272px; max-width:100%; }
.mobile-brand .brand-logo { width:208px; max-width:100%; }
.register-top .brand-identity-plate { width:228px; max-width:100%; padding:12px 16px; margin-bottom:24px; border-radius:10px; }
@media(max-width:800px) {
  .sidebar-head { gap:12px; padding-bottom:24px; }
  .mobile-brand { margin-bottom:32px; }
  .register-top .brand-identity-plate { width:216px; padding:12px 14px; margin-bottom:20px; }
}

/* Quiet brand context and three consistent primary navigation entries. */
.sidebar .event-switcher { display:flex; align-items:center; gap:12px; margin:0 0 24px; padding:0 12px; background:transparent; border:0; border-radius:0; box-shadow:none; }
.sidebar .resource-library-icon { width:20px; height:20px; color:var(--silver-6); }
.sidebar .event-switcher>div { min-width:0; }
.sidebar .event-switcher b { font-size:13px; line-height:1.5; font-weight:600; color:var(--ink-soft); }
.sidebar .event-switcher small { display:block; margin-top:3px; font-size:11px; line-height:1.6; color:var(--muted); }
.sidebar .assistant-entry.nav-item { margin-bottom:6px; gap:12px; }
.sidebar .assistant-entry>span { flex:1; min-width:0; text-align:left; }
.sidebar .main-nav { padding-top:0; border-top:0; }
.sidebar .nav-group-toggle { gap:12px; }
.sidebar .nav-group-toggle>.nav-icon { width:20px; height:20px; }
.sidebar .nav-group-toggle>span { flex:1; }
.sidebar .nav-group-items { margin:4px 0 10px 22px; padding:0 0 0 10px; border-left:1px solid var(--silver-4); }
.sidebar .nav-group-items .nav-item { min-height:44px; padding:10px; gap:10px; }
@media(max-width:800px) {
  .sidebar .event-switcher { margin-bottom:24px; }
}

/* Contact library: hierarchy through type and spacing, not competing colors. */
#page-people { color:var(--ink); }
#page-people .table-panel { box-shadow:none; }
#page-people [data-action="export"] { background:var(--silver-1); color:var(--ink-soft); border:1px solid var(--silver-3); box-shadow:none; }
#page-people [data-action="export"]:hover { background:var(--silver-2); color:var(--ink); }
#page-people .people-table th { font-weight:500; color:var(--muted); background:var(--silver-1); }
#page-people .people-table td { color:var(--ink-soft); }
#page-people .person-cell .avatar,.contact-details .avatar { width:36px; height:36px; border-radius:11px; border:1px solid var(--person-avatar-border); background:var(--person-avatar-bg); color:var(--person-avatar-ink); box-shadow:none; font:500 14px/1 var(--font); }
#page-people .person-cell b { font-size:15px; font-weight:600; color:var(--ink); line-height:1.6; }
#page-people .company-cell b { font-size:14px; font-weight:500; color:var(--ink-soft); line-height:1.6; }
#page-people .person-cell small,#page-people .company-cell small { font-size:12px; color:var(--muted); line-height:1.6; }
#page-people .person-tags .tag,.contact-details .tag { background:var(--silver-1) !important; color:var(--ink-soft) !important; border:1px solid var(--silver-3); box-shadow:none; border-radius:5px; padding:3px 7px; font-size:12px; line-height:1.6; font-weight:400; }
#page-people .status-pill,.contact-details .status-pill { background:var(--silver-1); color:var(--ink-soft); border:1px solid var(--silver-3); border-radius:6px; padding:4px 8px; gap:7px; font-size:12px; line-height:1.5; white-space:nowrap; }
#page-people .status-pill::before,.contact-details .status-pill::before { width:6px; height:6px; box-sizing:border-box; flex:none; border:1px solid currentColor; border-radius:50%; background:transparent; }
#page-people .status-follow,.contact-details .status-follow { background:var(--silver-6); color:var(--silver-1); border-color:var(--silver-6); font-weight:500; }
#page-people .status-pending,.contact-details .status-pending { background:var(--silver-3); color:var(--ink-soft); border-color:var(--silver-3); }
#page-people .status-follow::before,.contact-details .status-follow::before { background:currentColor; }
#page-people .status-done::before,.contact-details .status-done::before { width:5px; height:8px; border:0; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; border-radius:0; transform:translateY(-1px) rotate(45deg); }
#page-people .company-badge { border:0; border-radius:0; background:transparent; color:var(--muted); font-size:11px; line-height:1.6; padding:0; margin-top:5px; font-weight:400; }
#page-people .company-badge.company-warning { color:var(--titanium-gold); font-weight:600; }
#page-people .person-owner { font-size:13px; color:var(--ink-soft); }
#page-people .person-contact { font:12px/1.6 var(--font); font-variant-numeric:tabular-nums; color:var(--muted); }
#page-people .table-actions { gap:8px; }
#page-people .table-action { display:flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; min-height:44px; padding:10px; border:1px solid transparent; border-radius:8px; background:transparent; color:var(--ink-soft); box-shadow:none; cursor:pointer; transition:background .16s ease,border-color .16s ease; }
.contact-action-icon { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
#page-people .table-action:hover { background:var(--silver-2); border-color:var(--silver-3); color:var(--ink); }
#page-people .table-action:focus-visible { outline:2px solid var(--tech-blue); outline-offset:2px; }
#page-people .table-action:active { background:var(--silver-3); }
#page-people .page-buttons button.active { background:var(--silver-7); color:var(--silver-1); border-color:var(--silver-7); }
@media(min-width:801px) {
  #page-people .people-table th:nth-child(1) { width:22%; }
  #page-people .people-table th:nth-child(2) { width:23%; }
  #page-people .people-table th:nth-child(3) { width:14%; }
  #page-people .people-table th:nth-child(4) { width:13%; }
  #page-people .people-table th:nth-child(5) { width:8%; }
  #page-people .people-table th:nth-child(6) { width:12%; }
  #page-people .people-table th:nth-child(7) { width:120px; }
  #page-people .people-table td { padding-top:18px; padding-bottom:18px; }
  #page-people .person-row:hover,#page-people .person-row:focus-within { background:var(--silver-1); }
}
@media(max-width:800px) {
  #page-people .people-table tr { border-radius:12px; box-shadow:none; gap:12px 16px; }
  #page-people .person-cell b { font-size:16px; }
  #page-people .person-company { padding-top:12px; border-top:1px solid var(--silver-3); }
  #page-people .company-cell { row-gap:5px; }
  #page-people .company-cell small { font-size:13px; }
  #page-people .company-badge { margin-top:0; }
  #page-people .person-actions { padding-top:4px; }
  #page-people .table-action { flex:1; width:auto; height:auto; min-width:0; padding:10px 8px; border-color:var(--silver-3); border-radius:8px; font:500 13px/1.5 var(--font); }
}
@media(prefers-reduced-motion:reduce) { #page-people .table-action { transition:none; } }
.batch-account-preview { padding:14px 16px; border:1px solid var(--silver-3); border-radius:12px; background:var(--tech-blue-soft); color:var(--ink); line-height:1.7; overflow-wrap:anywhere; }
.batch-account-list { display:grid; gap:0; max-height:36dvh; overflow:auto; border:1px solid var(--silver-3); border-radius:12px; }
.batch-account-list > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; padding:12px 16px; border-bottom:1px solid var(--silver-3); }
.batch-account-list > div:last-child { border-bottom:0; }
.batch-account-list b { overflow-wrap:anywhere; }
.batch-account-list span,.batch-account-list p { font-size:13px; line-height:1.6; }
.batch-account-list p { grid-column:1/-1; margin:0; overflow-wrap:anywhere; }
#batchAccountProgress:not(:empty) { padding:12px 0; color:var(--ink); line-height:1.6; }
