.u-mt0{margin-top:0!important}
.u-mt8{margin-top:8px!important}
.u-mt9{margin-top:9px!important}
.u-mt10{margin-top:10px!important}
.u-mt12{margin-top:12px!important}
.u-mt14{margin-top:14px!important}
.u-mt16{margin-top:16px!important}
.u-mb5{margin-bottom:5px!important}
.u-block{display:block!important}
.u-flex{display:flex!important}
.u-gap10{gap:10px!important}
.u-wrap{flex-wrap:wrap!important}
.u-flex1{flex:1!important}
.u-minw0{min-width:0!important}
.u-minw12em{min-width:12em!important}
.u-maxw100{max-width:100%!important}
.u-w9em{width:9em!important}
.u-wauto{width:auto!important}
.u-code15{font-size:15px!important;letter-spacing:1px!important}

:root {
--shell:      #14202B;
--shell-2:    #233342;
--shell-line: #344553;
--shell-ink:  #E9EDF1;
--shell-dim:  #AAB5C1;

--paper:  #FBFAF7;
--card:   #FFFFFF;
--ink:    #061B3A;
--ink-2:  #49576A;
--dim:    #616A78;
--line:   #E2E5E8;
--line-2: #CBD2D9;

--gold:   #B68A4A;
--go:     #14283E;
--ok:     #2E9E63;
--warn:   #B07A2B;
--alarm:    #A3261B;
--alarm-bg: #FCEDEB;
--alarm-control: #FFFFFF;
--alarm-control-ink: #842119;
--privacy-accent: #62C4BD;
--privacy-ink: #0B6664;
--chat-you: #EDF3FA;
--float: rgba(255,255,255,.94);

--r: 14px;
--r-sm: 10px;


--lift:  0 1px 2px rgba(16, 20, 29, .04), 0 1px 3px rgba(16, 20, 29, .05);
--lift-2: 0 2px 4px rgba(16, 20, 29, .04), 0 8px 24px rgba(16, 20, 29, .07);

--sans: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--serif: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}


@font-face {
font-family: "Inter Variable";
font-style: normal;
font-display: swap;
font-weight: 100 900;
src: url(./fonts/InterVariable-Latin.woff2?b=9dde9d69c555) format("woff2");
}
@font-face {
font-family: "Inter Variable";
font-style: italic;
font-display: swap;
font-weight: 100 900;
src: url(./fonts/InterVariable-Latin-Italic.woff2?b=9dde9d69c555) format("woff2");
}
@media (prefers-color-scheme: dark) {
:root {
--shell: #09121B; --shell-2: #182634; --shell-line: #283B4C;
--paper: #0C121B; --card: #151E2A; --ink: #F1F3F3; --ink-2: #B8C2CE;
--dim: #A5B1BF; --line: #344253; --line-2: #485769; --go: #253F5C;
--gold: #D6B173; --privacy-ink: #75D4CD; --chat-you: #23364D; --float: rgba(21,30,42,.94);
--alarm: #FFB4AB; --alarm-bg: #3A1512;
--alarm-control: #52201B; --alarm-control-ink: #FFFFFF;
}
}

.alarm {
margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-sm);
background: var(--alarm-bg); color: var(--ink); border: 2px solid var(--alarm);
border-left-width: 5px; background-image: none;
-webkit-backdrop-filter: none; backdrop-filter: none;
}
.alarm h2 { margin: 0 0 6px; font-size: 16px; color: var(--alarm); }
.alarm p { margin: 6px 0 0; font-size: 14px; }
.alarm button { margin-top: 10px; }
.alarm #inbox-alarm-discard {
background: var(--alarm-control); color: var(--alarm-control-ink);
border: 1px solid var(--alarm); font-weight: 650;
-webkit-backdrop-filter: none; backdrop-filter: none;
}

.read-card {
margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-sm);
background: var(--card); color: var(--ink); border: 2px solid var(--gold);
}
.read-card h2 { margin: 0 0 6px; font-size: 16px; }
.read-card p { margin: 6px 0 0; font-size: 14px; }
.read-card .read-summary { font-weight: 600; }
.read-card .read-clock { color: var(--dim); font-variant-numeric: tabular-nums; }
.read-card .read-label { margin-top: 12px; font-weight: 600; }
.read-card ul { margin: 4px 0 0; padding-left: 20px; font-size: 14px; }

.read-card .read-crossing { padding: 0; list-style: none; max-height: 30vh; overflow: auto; }
.read-card .read-crossing li {
display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px;
padding: 6px 0; border-top: 1px solid var(--line);
}
.read-card .read-title { font-weight: 600; overflow-wrap: anywhere; }
.read-card .read-meta { color: var(--dim); font-size: 13px; }
.read-card .read-leave { margin-left: auto; }
.read-card .read-box {
white-space: pre-wrap; overflow-wrap: anywhere; max-height: 30vh; overflow: auto; margin: 4px 0 0;
padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); font: 13px/1.45 var(--mono, monospace);
}
.read-card .read-preamble { color: var(--dim); }
.read-card .read-cannot { margin-top: 10px; font-size: 13px; color: var(--dim); }
.read-card .read-actions {
display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; padding: 10px 0 2px;
position: sticky; bottom: 0; background: var(--card);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0; background: var(--paper); color: var(--ink);
font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

.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;
}

h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
h1[tabindex="-1"]:focus-visible, h2[tabindex="-1"]:focus-visible {
outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}
button { font: inherit; cursor: pointer; }
input { font: inherit; }
a { color: inherit; }


#entry {
min-height: 100%; display: grid; place-items: center; padding: 24px;
}
.gate {
width: 100%; max-width: 432px; background: var(--card);
border: 1px solid var(--line); border-radius: 16px; padding: 32px;
box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(0,0,0,.12);
}
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.mark {
width: 34px; height: 34px; border-radius: 9px; background: var(--go);
display: grid; place-items: center; color: var(--gold);
font-weight: 700; font-size: 18px; letter-spacing: -.02em;
}
.brand b { font-size: 15px; letter-spacing: .17em; font-weight: 600; }
.gate h1 {
font-family: var(--serif); font-size: 23px; font-weight: 600;
letter-spacing: -.015em; margin: 0 0 6px;
}
.gate p.lede { color: var(--ink-2); margin: 0 0 22px; font-size: 14.5px; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin: 14px 0 6px; }
input[type=password], input[type=text], input[type=search], input[type=email], textarea {
width: 100%; padding: 11px 13px; border: 1px solid var(--line-2);
border-radius: 9px; background: var(--card); color: inherit;
}
input:focus-visible, textarea:focus-visible, button:focus-visible {
outline: 2px solid var(--gold); outline-offset: 1px;
}
button.go {
width: 100%; margin-top: 20px; padding: 12px; border: 0; border-radius: 9px;
background: var(--go); color: #fff; font-weight: 600;
}
button.go:hover { filter: brightness(1.12); }
.note { font-size: 13px; color: var(--dim); margin: 14px 0 0; }

.words {
display: grid; grid-template-columns: repeat(3, minmax(max-content, 1fr)); gap: 8px;
padding: 12px; border: 1px dashed var(--line-2);
border-radius: 10px; background: var(--paper);

overflow-x: auto;
}
.words .w {
display: flex; align-items: baseline; gap: 8px; min-width: 0;
padding: 7px 9px; border-radius: 8px;
background: var(--card); border: 1px solid var(--line);
}
.words .w i {
font-style: normal; font-size: 11px; color: var(--dim);
font-variant-numeric: tabular-nums; min-width: 15px; text-align: right;
flex: none; user-select: none;
}

.words .w b {
font: 500 14.5px/1.5 var(--mono); letter-spacing: .01em;
color: var(--ink); user-select: all; white-space: nowrap;
}
.gate:has(#words:not([hidden])) { max-width: 520px; }

.gate:has(#recover:not([hidden])) { max-width: 520px; }
#rc-grid .w { align-items: center; }
#rc-grid .w:focus-within { outline: 2px solid var(--focus, var(--gold)); outline-offset: 1px; }
#rc-grid input[type=text] {
flex: 1; min-width: 0; width: auto; padding: 0; border: 0; border-radius: 0;
background: none; font: 500 14.5px/1.5 var(--mono); color: var(--ink);
}
#rc-grid input[type=text]:focus-visible { outline: none; }
@media (max-width: 560px) {
.words { grid-template-columns: repeat(2, minmax(max-content, 1fr)); }
#entry { padding: 16px; }
.gate:has(#words:not([hidden])) { padding: 26px 18px; }
}
@media (max-width: 340px) {
.words { grid-template-columns: minmax(max-content, 1fr); }
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
#status { min-height: 1.4em; font-size: 13.5px; color: var(--warn); }
.gate #status { margin-top: 14px; }


#app { display: grid; grid-template-columns: 224px minmax(340px, 380px) minmax(0, 1fr); min-height: 100vh; }


#chat {
display: flex; flex-direction: column; min-width: 0;
background: var(--card); border-right: 1px solid var(--line);
padding: 26px 22px 18px; height: 100vh; position: sticky; top: 0;
}
.chat-head { margin-bottom: 18px; display: flex; align-items: flex-start; gap: 10px; }
.chat-head > div { min-width: 0; flex: 1; }
.chat-head h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 3px; }
.chat-head p { margin: 0; font-size: 13.5px; color: var(--dim); }
#chat-toggle { display: none; background: var(--card); border: 1px solid var(--line); color: var(--ink); border-radius: 10px; padding: 7px 11px; }
.thread { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 2px 2px 8px; min-height: 120px; }
.thread .empty { margin-top: auto; margin-bottom: auto; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg.you { flex-direction: row-reverse; }
.msg .av {
width: 28px; height: 28px; border-radius: 50%; flex: none;
background: var(--shell); color: #fff; font: 700 12px/28px var(--sans); text-align: center;
}
.msg .bubble {
max-width: 88%; border-radius: 14px; padding: 11px 13px; font-size: 14px; line-height: 1.55;
white-space: pre-wrap; word-break: break-word;
}
.msg.you .bubble { background: var(--chat-you); border-bottom-right-radius: 5px; }
.msg.numem .bubble { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; box-shadow: var(--lift); }
.msg .stamp { font-size: 11px; color: var(--dim); margin-top: 4px; }
.msg.you .stamp { text-align: right; }

.sources { margin-top: 10px; }
.sources h4 { margin: 0 0 7px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.sources .strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.src {
flex: none; display: flex; gap: 9px; align-items: center; min-width: 0; max-width: 220px;
border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--paper);
text-align: left; font: inherit; color: inherit;
}
.src .ic { width: 26px; height: 26px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; flex: none; }
.src b { display: block; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src span { display: block; font-size: 11px; color: var(--dim); }

.disclosed { margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.disclosed p { margin: 0; font-weight: 600; }
.disclosed details { margin-top: 6px; }
.disclosed summary { cursor: pointer; color: var(--dim); }
.disclosed ul { margin: 6px 0 0; padding-left: 18px; }
.disclosed li { margin: 2px 0; overflow-wrap: anywhere; }
.disclosed li span { color: var(--dim); }
.composer {
display: flex; align-items: flex-end; gap: 8px; margin-top: 12px;
border: 1px solid var(--line-2); border-radius: 16px; padding: 8px 8px 8px 14px; background: var(--card);
box-shadow: var(--lift);
}
.composer textarea {
flex: 1; border: 0; padding: 8px 0; resize: none; background: transparent; font: inherit; min-height: 22px; max-height: 140px;
}

.composer textarea:focus-visible { outline: none; }
.composer .mode { flex: none; padding: 5px 10px; font-size: 12px; }
.composer .send {
flex: none; width: 38px; height: 38px; border-radius: 12px; border: 0;
background: var(--go); color: #fff; font-size: 15px;
}
.composer .send:disabled { opacity: .35; }


.graph-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.graph-title { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 3px; }
.graph-head .sub { margin: 0; }
.graph-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: var(--card); color: var(--ink-2); padding: 6px 13px; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--go); color: #fff; font-weight: 500; }
.graph-stage {
position: relative; border: 1px solid var(--line); border-radius: var(--r); background:
radial-gradient(ellipse at 50% 45%, var(--card) 0%, var(--paper) 70%);
box-shadow: var(--lift); overflow: hidden; min-height: 420px;
}
.graph-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; }
.graph-empty .empty { max-width: 360px; }
.graph-stage:has(#graph-empty:not([hidden])) { min-height: 320px; }
#graph-svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 620; }
#graph-svg .edge { stroke: var(--line-2); stroke-width: 1.1; }
#graph-svg .edge.dim { stroke: var(--line); }
#graph-svg .halo { opacity: .55; }
#graph-svg .hub-ring { fill: var(--card); stroke-width: 1.5; }
#graph-svg .hub-ico { font-size: 22px; text-anchor: middle; dominant-baseline: central; }
#graph-svg .hub-lab { font: 600 14px var(--sans); fill: var(--ink); text-anchor: middle; }
#graph-svg .leaf-lab { font: 500 12px var(--sans); fill: var(--ink-2); }
#graph-svg .you { fill: var(--go); }
#graph-svg .you-lab { font: 600 15px var(--sans); fill: #fff; text-anchor: middle; dominant-baseline: central; }
#graph-svg .node { cursor: pointer; }
#graph-svg .node:hover .leaf-lab { fill: var(--ink); }
#graph-svg g.faded { opacity: .18; }
#graph-svg g.answer-quiet { opacity: .42; }
#graph-svg .node.answer-used circle { stroke: var(--gold); stroke-width: 3; }
#graph-svg .node.answer-used .leaf-lab { fill: var(--ink); font-weight: 700; }
#graph-svg .node:focus-visible { outline: none; }
#graph-svg .node:focus-visible circle { stroke: var(--gold); stroke-width: 4; }
.graph-card {
position: absolute; max-width: 250px; background: var(--card); border: 1px solid var(--line);
border-radius: 12px; padding: 12px 13px; box-shadow: var(--lift-2); pointer-events: none;
}
.graph-card b { display: block; font-size: 13.5px; font-weight: 600; }
.graph-card span { display: block; font-size: 12px; color: var(--dim); }
.graph-card .tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.graph-card .tags i { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.graph-card .more { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.graph-legend {
position: absolute; right: 14px; bottom: 14px; background: var(--float);
border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; min-width: 190px;
backdrop-filter: blur(6px);
}
.graph-legend h2 { margin: 0 0 7px; font-size: 12.5px; font-weight: 600; }
.graph-legend div { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); padding: 2px 0; }
.graph-legend div i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.graph-legend div b { margin-left: auto; font-weight: 500; font-variant-numeric: tabular-nums; }
.graph-zoom {
position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 2px;
background: var(--float); border: 1px solid var(--line); border-radius: 10px; padding: 3px;
}
.graph-zoom button { border: 0; background: transparent; width: 28px; height: 26px; font-size: 16px; color: var(--ink-2); border-radius: 7px; }
.graph-zoom button:hover { background: var(--paper); }
.graph-zoom span { font-size: 12px; min-width: 42px; text-align: center; font-variant-numeric: tabular-nums; }
.graph-timeline { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 0 4px; }
.graph-timeline .dates { font-size: 12px; color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
.graph-timeline .track { flex: 1; position: relative; height: 22px; }
.graph-timeline .track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line-2); }
.graph-timeline .tick { position: absolute; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: #9DB4D9; }
.graph-timeline .tick.big { background: var(--go); }
nav, .navrows, #graph-filters { scrollbar-width: thin; scrollbar-color: var(--shell-line) transparent; }
nav::-webkit-scrollbar, .navrows::-webkit-scrollbar, #graph-filters::-webkit-scrollbar { height: 5px; }
nav::-webkit-scrollbar-thumb, .navrows::-webkit-scrollbar-thumb, #graph-filters::-webkit-scrollbar-thumb { background: var(--shell-line); border-radius: 5px; }

main:has(#panel-graph:not([hidden])) .cols { grid-template-columns: minmax(0, 1fr); }
main:has(#panel-graph:not([hidden])) { padding-top: 26px; }

@media (max-width: 1320px) {
#app { grid-template-columns: 224px minmax(0, 1fr); align-content: start; }
aside { grid-column: 1; grid-row: 1 / span 2; }
#chat { grid-column: 2; grid-row: 1; height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 28px 16px; }
main { grid-column: 2; grid-row: 2; }
.thread { flex: none; min-height: 0; max-height: 150px; }
.thread .empty { margin: 0; }
}

aside {
background: var(--shell);
color: var(--shell-ink);
display: flex; flex-direction: column; padding: 22px 14px;
border-right: 1px solid var(--shell-line);
min-width: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
aside .brand { padding: 0 8px; margin-bottom: 22px; }
aside .brand b { color: var(--shell-ink); }
nav { display: flex; flex-direction: column; gap: 2px; }
nav button {
display: flex; align-items: center; gap: 11px; width: 100%;
padding: 9px 11px; border: 0; border-radius: 9px; background: transparent;
color: var(--shell-dim); font-size: 14px; text-align: left;
}
nav button .ico { width: 17px; text-align: center; opacity: .85; flex: none; }
nav button {
position: relative; transition: background .12s ease, color .12s ease;
}
nav button:hover:not(:disabled) { background: var(--shell-2); color: var(--shell-ink); }
nav button[aria-current="page"] { background: var(--shell-2); color: var(--shell-ink); font-weight: 500; }

nav button[aria-current="page"]::before {
content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
width: 3px; height: 17px; border-radius: 0 3px 3px 0; background: var(--gold);
}
nav button:disabled { opacity: .34; cursor: default; }
nav .soon {
margin-left: auto; font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase;
border: 1px solid var(--shell-line); border-radius: 4px; padding: 1px 5px; color: var(--shell-dim);
}
#sh-q {
border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px;
background: var(--card); color: var(--ink); font: inherit;
}
.sh-side { margin-bottom: 16px; }
.sh-side h3 { font-size: 13px; margin: 0 0 4px; font-weight: 600; }
.sh-side p { margin: 0 0 8px; font-size: 12.5px; color: var(--dim); }
.sh-side .out h3 { color: var(--gold); }

#rd-repeat, #rd-what, #rd-when {
width: 100%; border: 1px solid var(--line-2); border-radius: 10px;
padding: 10px 12px; background: var(--card); color: var(--ink); font: inherit;
}
#rd-when:focus-within { border-color: var(--organize-accent); box-shadow: 0 0 0 2px rgba(29,101,254,.22); }
.rd-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--line); }
.rd-row:first-child { border-top: 0; }
.rd-row .body { flex: 1; min-width: 0; }
.rd-row b { display: block; font-weight: 500; }
.rd-row span { font-size: 12.5px; color: var(--dim); }
.rd-row.done b { text-decoration: line-through; color: var(--dim); }
.rd-row .when { font-size: 12.5px; color: var(--ink-2); text-align: right; white-space: nowrap; }
.rd-row .when.late { color: var(--warn); }
nav .n { margin-left: auto; font-size: 11px; opacity: .7; }

#rm-text {
width: 100%; border: 1px solid var(--line-2); border-radius: 10px;
padding: 11px 12px; background: var(--card); color: var(--ink); resize: vertical;
font: inherit; min-height: 74px;
}
.rm-label {
display: flex; gap: 8px; align-items: baseline; margin-bottom: 8px;
font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.rm-label span { font-weight: 400; font-size: 11.5px; color: var(--dim); }

.chips .mark-chip[aria-pressed="true"] { border-color: var(--privacy-ink); background: var(--privacy-ink); color: var(--card); }

.navgroup { margin-top: 18px; }
.navhead {
display: flex; flex-direction: column; gap: 2px;
padding: 0 11px 7px; font-size: 12px; letter-spacing: .08em;
text-transform: uppercase; color: var(--shell-dim);
}

.navhead span { text-transform: none; letter-spacing: 0; font-size: 12px; }
.navgroup.sharing { border-top: 1px solid var(--shell-line); padding-top: 14px; }
.navgroup.sharing .navhead { color: var(--privacy-accent); }
.navrows button { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 8px; background: transparent; color: var(--shell-dim); text-align: left; font-size: 13.5px; padding: 7px 11px; }
.navrows button:hover { background: var(--shell-2); color: var(--shell-ink); }
.navrows .n { margin-left: auto; font-size: 11px; opacity: .6; font-variant-numeric: tabular-nums; }

.navrows.marks button .ico { color: var(--privacy-accent); opacity: 1; }
.navrows.marks button[aria-pressed="true"] { box-shadow: inset 3px 0 var(--privacy-accent); }
.navrows.folders button[aria-pressed="true"] { box-shadow: inset 3px 0 var(--gold); }
.navrows button[aria-pressed="true"] { background: var(--shell-2); color: var(--shell-ink); }

.vault-pill {
margin-top: auto; display: flex; gap: 10px; align-items: center;
background: var(--shell-2); border: 1px solid var(--shell-line);
border-radius: 11px; padding: 12px; font-size: 13px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.vault-pill span { color: var(--shell-dim); font-size: 11.5px; display: block; }
.who { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 0 4px; }
.avatar {
width: 32px; height: 32px; border-radius: 50%; background: var(--shell-2);
display: grid; place-items: center; font-size: 12px; font-weight: 600;
color: var(--shell-ink); flex: none;
}
.who b { font-size: 13px; font-weight: 500; display: block; }
.who span { font-size: 11.5px; color: var(--shell-dim); }
.who button {
margin-left: auto; background: none; border: 0; color: var(--shell-dim);
font-size: 12px; text-decoration: underline; padding: 4px;
}

main { padding: 32px 32px 64px; min-width: 0; }


a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex="0"]:focus-visible {
outline: 2px solid var(--gold); outline-offset: 2px;
}
a:focus-visible { border-radius: 4px; }
aside a:focus-visible, aside button:focus-visible { outline-offset: 1px; }


.rowedit { flex: none; align-self: center; }
.row:has(.roweditbox) { flex-wrap: wrap; background: var(--paper); }
.rowedit:has(.roweditbox) { flex: 1 0 100%; align-self: stretch; margin-top: 10px; }
.roweditbox {
width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm);
padding: 10px 12px; background: var(--card); color: var(--ink);
font: inherit; resize: vertical;
}
.roweditbar { display: flex; gap: 8px; align-items: center; margin-top: 9px; }
.roweditbar .go { width: auto; padding: 8px 15px; font-size: 13.5px; }
.head { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.head p { margin: 0; color: var(--ink-2); }
.searchbox { margin-left: auto; position: relative; }
.searchbox input { padding-left: 36px; }
.searchbox .mag { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.searchbox .hint { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.searchbox input { padding-right: 52px; }

.searchbox:has(input:not(:placeholder-shown)) .hint { display: none; }
.searchbox input:not(:placeholder-shown) { padding-right: 12px; }
@media (pointer: coarse) {
.searchbox .hint { display: none; }
.searchbox input { padding-right: 12px; }
}

.cols { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; }
.card + .card { margin-top: var(--cs-gap); }
.card h2 {
font-size: 15px; font-weight: 600; margin: 0 0 3px; letter-spacing: -.01em;
display: flex; align-items: center; gap: 9px;
}

#ask-input { min-height: 74px; resize: vertical; border-radius: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2);
border-radius: 999px; padding: 6px 13px; font-size: 13px;
transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.chip:hover { border-color: var(--dim); background: var(--paper); }
.chip:active { transform: translateY(.5px); }

.chip[aria-pressed="true"] {
background: var(--go); border-color: var(--go); color: #fff; font-weight: 500;
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.filters select {
width: auto; border-radius: 999px; padding: 6px 11px; font-size: 13px;
background: var(--card); color: var(--ink-2); border: 1px solid var(--line-2);
}
.filters .fnote { font-size: 12.5px; color: var(--dim); margin-left: auto; }


.opt {
display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left;
padding: 14px; border: 1px solid var(--line); border-radius: 10px;
background: var(--card); color: var(--ink); margin-top: 10px;
}
.opt[aria-checked="true"] { border-color: var(--go); box-shadow: inset 0 0 0 1px var(--go); }
.opt .pip {
width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2);
flex: none; margin-top: 2px;
}
.opt[aria-checked="true"] .pip { border-color: var(--go); background: var(--go); box-shadow: inset 0 0 0 3px var(--card); }
.opt b { display: block; font-size: 14px; font-weight: 500; }
.opt span { display: block; font-size: 13px; color: var(--dim); line-height: 1.5; margin-top: 2px; }
.standing-card { border-left: 3px solid var(--privacy-ink); }
.standing-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.standing-option {
min-height: 112px; padding: 12px; text-align: left; color: var(--ink);
background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
}
.standing-option[aria-pressed="true"] { border-color: var(--privacy-ink); box-shadow: inset 0 0 0 1px var(--privacy-ink); }
.standing-option b { display: block; font-size: 13.5px; }
.standing-option span { display: block; margin-top: 4px; font-size: 12px; color: var(--dim); line-height: 1.4; }
@media (max-width: 600px) { .standing-options { grid-template-columns: 1fr; } .standing-option { min-height: 0; } }

kbd {
font: 11.5px var(--mono); border: 1px solid var(--line-2); border-bottom-width: 2px;
border-radius: 5px; padding: 1px 5px; color: var(--dim); background: var(--card);
}
.ask-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.send {
margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 0;
background: var(--go); color: #fff; font-size: 15px; display: grid; place-items: center;
}

.rowlist { display: flex; flex-direction: column; }

.row {
position: relative; display: flex; gap: 13px; align-items: flex-start;
padding: 13px 10px; margin: 0 -10px; border-radius: var(--r-sm);
transition: background .12s ease;
}
.row::before {
content: ""; position: absolute; left: 10px; right: 10px; top: 0;
border-top: 1px solid var(--line);
}
.row:first-child::before { border-top: 0; }
.row:hover { background: var(--paper); }
.row .ic {
width: 32px; height: 32px; border-radius: 9px; background: var(--paper);
display: grid; place-items: center; flex: none; font-size: 14px;
}
.row .body { min-width: 0; flex: 1; }
.row .body span { font-size: 13px; color: var(--dim); display: block; line-height: 1.5; }
.row .right { font-size: 12px; color: var(--dim); white-space: nowrap; }
.overview-intro { margin-bottom: 18px; padding: 17px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.overview-intro h2 { margin: 0 0 3px; font: 600 21px/1.3 var(--serif); }
.overview-intro p { margin: 0; color: var(--dim); font-size: 13.5px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.text-action { border: 0; background: transparent; color: var(--ink-2); font-size: 13px; padding: 3px; white-space: nowrap; }
.text-action:hover { text-decoration: underline; }
.continue-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.continue-actions button { text-align: left; border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink); padding: 12px; min-height: 72px; }
.continue-actions button:hover { border-color: var(--gold); background: var(--paper); }
.continue-actions b { display: block; }
.continue-actions b { font-size: 13.5px; font-weight: 600; }
.evidence { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 16px; margin-bottom: 16px; }
.evidence h3 { margin: 0 0 5px; font: 600 19px/1.3 var(--serif); overflow-wrap: anywhere; }
.evidence p { margin: 4px 0; color: var(--ink-2); font-size: 13px; }
.evidence .note-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); margin-top: 12px; }
.row.evidence-target { background: var(--chat-you); box-shadow: inset 3px 0 var(--gold); }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.stat { background: var(--card); padding: 15px 14px; }
.stat b { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat span { font-size: 11.5px; color: var(--dim); letter-spacing: .01em; }
.stat.unknown b { color: var(--dim); font-weight: 500; font-size: 15px; }

.activity {
display: flex; align-items: flex-end; gap: 3px; height: 58px;
margin-top: 16px; padding-top: 4px;
}
.activity .bar { flex: 1; background: var(--go); border-radius: 2px 2px 0 0; min-width: 3px; }
.activity .bar-none { background: var(--line-2); }

.privacy { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.privacy:first-of-type { border-top: 0; }
.privacy .ic { font-size: 15px; flex: none; width: 20px; }
.privacy b { display: block; font-size: 13.5px; font-weight: 500; }
.privacy span { font-size: 12.5px; color: var(--dim); }

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.empty {
border: 1px dashed var(--line-2); border-radius: 10px; padding: 16px;
font-size: 13.5px; color: var(--dim); background: var(--paper);
}
.empty b { display: block; color: var(--ink-2); font-weight: 500; margin-bottom: 3px; font-size: 13.5px; }

.hit { padding: 14px 0; border-top: 1px solid var(--line); }
.hit:first-child { border-top: 0; }
.hit-text { line-height: 1.55; }
.hit-role { color: var(--dim); }
.hit-meta { font-size: 12.5px; color: var(--dim); margin-top: 5px; }
#v-more { margin-top: 12px; }

.panel[hidden] { display: none !important; }

@media (max-width: 1080px) { .cols { grid-template-columns: 1fr; } }
@media (max-width: 780px) {
#app { display: block; padding-bottom: 230px; }
aside { display: block; position: static; height: auto; overflow: visible; padding: 10px 12px 12px; border-right: 0; border-bottom: 1px solid var(--shell-line); }
aside .brand, .vault-pill { display: none; }
.who { display: flex; justify-content: flex-end; margin-top: 9px; padding: 0; }
.who .avatar, .who > div { display: none; }
.who button { min-height: 40px; border: 1px solid var(--shell-line); border-radius: 8px; color: var(--shell-ink); padding: 6px 12px; text-decoration: none; }
nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 5px; }
nav button { width: auto; min-height: 44px; flex: none; white-space: nowrap; }
nav button:disabled { display: none; }
nav .n { display: none; }
.navgroup { margin-top: 8px; padding-top: 8px !important; }
.navhead { padding: 0 6px 4px; }
.navrows { display: flex; overflow-x: auto; gap: 4px; }
.navrows button { width: auto; min-height: 44px; flex: none; white-space: nowrap; padding: 7px 9px; }
.navrows .n { display: none; }
#chat { position: fixed; inset: auto 0 0; z-index: 20; height: auto; max-height: 76vh; padding: 9px 12px 12px; border-right: 0; border-top: 1px solid var(--line-2); box-shadow: 0 -8px 28px rgba(0,0,0,.12); }
#chat .chat-head { margin-bottom: 4px; align-items: center; }
#chat .chat-head h2 { font-size: 15px; margin: 0; }
#chat .chat-head p, #chat .chips, #chat .thread { display: none; }
#chat[data-open="true"] .thread { display: flex; min-height: 90px; max-height: 50vh; }
#chat[data-open="true"] .chips { display: flex; }
#chat-toggle { display: block; }
#chat .composer { margin-top: 4px; }
#chat .composer textarea { max-height: 70px; }
#chat .note { margin-top: 5px; font-size: 13px; line-height: 1.3; }
#chat-toggle, .chip, .seg button { min-height: 40px; }
#chat .composer .send { width: 44px; height: 44px; }
main { padding: 20px 16px 40px; }
.head { margin-bottom: 18px; gap: 14px; }
.searchbox { max-width: none; min-width: 0; flex-basis: 100%; }
.cols { display: block; }
.card { padding: 18px; }
.continue-actions { grid-template-columns: 1fr; }
.graph-tools { width: 100%; }
#graph-filters { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; }
.graph-stage { min-height: 0; }
.graph-legend { position: static; border: 0; background: var(--card); }
.graph-zoom { display: none; }
.graph-timeline { display: none; }
.grid2 { grid-template-columns: 1fr; }
}
:root {
--shell: #EAF1FD; --shell-2: #DCEAFF; --shell-line: #C9DBF3;
--shell-ink: #001758; --shell-dim: #516987;
--paper: #F6F9FF; --card: #FFFFFF; --ink: #001758;
--ink-2: #405978; --dim: #40536F; --warn: #825213;
--line: #DDE8F6; --line-2: #C4D5EC;
--organize-accent: #1D65FE; --gold: var(--organize-accent);
--go: #1D65FE; --chat-you: #DFECFF;
--privacy-accent: #087F8C; --privacy-ink: #087F8C;
--lift-2: 0 10px 32px rgba(30,70,132,.1);
}
#app { grid-template-columns: 184px minmax(340px, 410px) minmax(0, 1fr); }
aside { padding: 26px 14px 18px; border-right: 1px solid var(--line); }
aside .brand { gap: 8px; }
aside .brand b { letter-spacing: .3em; font-size: 17px; }
aside .mark { background: transparent; font-size: 25px; width: 25px; }
nav button { padding: 10px 12px; min-height: 44px; }
.navhead { padding-left: 10px; font-size: 11px; }
.navhead span { font-size: 11px; line-height: 1.4; }
.navrows button { font-size: 12px; padding: 6px 10px; }
.navgroup.sharing { border-left: 2px solid var(--privacy-ink); border-radius: 2px; }
.navgroup.sharing .ico, .navgroup.sharing .navhead { color: var(--privacy-ink); }
.navgroup summary { cursor: pointer; min-height: 44px; list-style-position: inside; }
.navgroup summary span { margin-top: 3px; }
.vault-pill { padding: 10px; background: var(--card); }
.vault-pill b { color: var(--ink); }
.who { flex-wrap: wrap; }
.who button { min-height: 40px; }
.chat-head h2, .head h1, .overview-intro h2, main h2, .graph-title { font-family: var(--sans); }
.chat-head h2 { font-size: 22px; font-weight: 650; }
#chat { background: var(--paper); }
.msg .av { background: var(--go); }
.msg.numem .bubble { border: 0; box-shadow: none; background: transparent; padding: 2px 0; }
.src { background: var(--card); }
main { padding: 25px 24px 30px; }
#app-status { font-size: 14px; color: var(--ink); background: var(--card); border-left: 3px solid var(--gold); border-radius: 6px; padding: 10px 14px; margin: 0 0 18px; overflow-wrap: anywhere; }
#app-status:empty { display: none; }
.gate .secondary { margin-top: 10px; width: 100%; }
main:has(#panel-graph:not([hidden])) .head { display: flex; }
main:has(#panel-graph:not([hidden])) .head > div:first-child { display: none; }
main:has(#panel-graph:not([hidden])) .searchbox { width: 100%; max-width: none; }
.graph-stage { border: 0; box-shadow: none; min-height: 500px; background: radial-gradient(ellipse at 50% 55%, #F2E6D344, transparent 65%); }
#graph-svg .edge { fill: none; stroke: var(--gold); opacity: .28; stroke-width: 1.3; }
#graph-svg .network-card { fill: var(--card); stroke: var(--line); stroke-width: 1.2; }
#graph-svg .node[data-state="suggested"] .network-card { fill: transparent; stroke: var(--gold); stroke-dasharray: 5 4; }
#graph-svg .node:hover .network-card { stroke: var(--gold); }
#graph-svg .node:focus-visible .network-card { stroke: var(--gold); stroke-width: 3; }
#graph-svg .card-label { font: 600 15px var(--sans); fill: var(--ink); }
#graph-svg .card-sub { font: 400 12px var(--sans); fill: var(--dim); }
#graph-svg .card-glyph { font: 500 24px var(--sans); fill: var(--gold); }
#graph-svg .privacy-card .network-card { stroke: var(--privacy-ink); }
#graph-svg .privacy-card .card-glyph { fill: var(--privacy-ink); }
#graph-list .row[data-state] { border: 1px solid var(--line); border-radius: 8px; padding: 12px; margin: 8px 0; }
#graph-list .row[data-state="suggested"] { border-color: var(--gold); border-style: dashed; background: transparent; }
.graph-legend { position: static; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px 18px; background: transparent; border: 0; padding: 0; backdrop-filter: none; }
.graph-legend h2 { width: 100%; }
.graph-legend div { gap: 6px; }
.graph-zoom { top: auto; bottom: 14px; }
main:has(#panel-memories:not([hidden])) .cols { grid-template-columns: minmax(0, 1fr); }
.organization-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 620px; }
.organization-rail { background: var(--paper); border-right: 1px solid var(--line); padding: 18px 12px; min-width: 0; }
.org-view { display: flex; align-items: center; width: 100%; border: 0; background: transparent; color: var(--ink); min-height: 42px; padding: 9px; border-radius: 8px; text-align: left; }
.org-divider { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.org-node { width: 100%; display: flex; align-items: center; gap: 7px; padding: 9px; margin: 5px 0; color: var(--ink); text-align: left; border-radius: 8px; min-height: 44px; }
.org-node[data-state="confirmed"] { border: 1px solid transparent; background: var(--card); }
.org-node[data-state="suggested"] { border: 1px dashed var(--gold); background: transparent; }
.org-node .org-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.org-node .org-glyph { color: var(--gold); }
.org-node .org-count { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--dim); }
.org-node small { display: block; font-size: 11px; color: var(--dim); }
.org-children { padding-left: 12px; border-left: 1px solid var(--line-2); margin-left: 9px; }
.org-gap { font-size: 12px; color: var(--dim); padding: 1px 10px 8px 21px; }
.memory-content { min-width: 0; padding: 22px; }
.memory-content h2 { font-size: 24px; margin: 0 0 5px; }
.org-breadcrumb { font-size: 12px; color: var(--dim); margin-bottom: 8px; overflow-wrap: anywhere; }
.org-badge { display: inline-block; font-size: 11px; padding: 3px 7px; border-radius: 5px; background: var(--chat-you); color: var(--ink-2); }
.org-evidence { padding: 14px; border: 1px dashed var(--gold); border-radius: 10px; margin: 14px 0; }
.org-evidence p { margin: 0 0 8px; }
.org-evidence button { text-align: left; width: 100%; margin-top: 5px; }
.org-evidence button span { display: block; color: var(--dim); font-size: 12px; }
.org-actions { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0; }
.org-editor { border: 1px solid var(--line-2); padding: 14px; border-radius: 10px; background: var(--paper); margin-bottom: 16px; }
.org-editor select, .filing-editor select { width: 100%; max-width: 100%; min-height: 42px; }
.org-editor .go, .filing-editor .go { width: auto; padding: 9px 18px; margin-top: 0; }
.org-question { border-left: 3px solid var(--gold); padding: 12px 14px; margin: 14px 0; background: var(--paper); border-radius: 5px; }
.org-question h3 { font-size: 15px; margin: 0 0 7px; }
.org-question p { margin: 5px 0; font-size: 13px; overflow-wrap: anywhere; }
#org-limits { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 22px; font-size: 13px; color: var(--dim); }
#org-limits b { display: block; color: var(--ink-2); }
.privacy-filter { border-left: 2px solid var(--privacy-ink); padding: 8px 12px; color: var(--privacy-ink); background: var(--paper); margin: 14px 0; font-size: 13px; }
.filing-editor { display: flex; flex-direction: column; width: 100%; gap: 8px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
#mem-body .row { flex-wrap: wrap; }
#mem-body .row .body { flex-basis: 160px; }
.org-mobile-back { display: none; }
.connections-wrap { overflow-x: auto; }
.connections-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.connections-table th { text-align: left; font-size: 12px; color: var(--dim); font-weight: 500; }
.connections-table td, .connections-table th { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.connections-table td small { display: block; color: var(--dim); overflow-wrap: anywhere; }
.sync-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0 8px; }
.sync-result { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sync-result b, .sync-result span, .sync-result small { display: block; overflow-wrap: anywhere; }
.sync-result small { color: var(--dim); }
.connections-table td:last-child .btn { display: block; margin-bottom: 5px; }
button:disabled { opacity: .55; cursor: not-allowed; }
@media (prefers-color-scheme: dark) {
:root { --shell: #10213A; --shell-2: #1B3455; --shell-line: #315071; --shell-ink: #F2F7FF; --shell-dim: #B4C7E0; --paper: #0C1729; --card: #182A43; --ink: #F3F8FF; --ink-2: #C2D3E9; --dim: #A9BFD9; --warn: #F3C779; --line: #314761; --line-2: #47617E; --organize-accent: #7FAEFF; --gold: var(--organize-accent); --go: #315D9E; --chat-you: #1E3D66; --privacy-accent: #6BD3D9; --privacy-ink: #6BD3D9; }
.graph-stage { background: radial-gradient(ellipse at 50% 55%, #4E8FEA20, transparent 65%); }
}
@media (min-width: 1101px) {
#app { grid-template-columns: 184px minmax(330px, 29vw) minmax(0, 1fr); }
aside { grid-column: 1; grid-row: 1; }
#chat { grid-column: 2; grid-row: 1; height: 100vh; position: sticky; border-right: 1px solid var(--line); border-bottom: 0; padding: 28px 20px 18px; }
#chat .thread { flex: 1; min-height: 120px; max-height: none; }
main { grid-column: 3; grid-row: 1; }
.head { flex-wrap: wrap; }
}
@media (min-width: 781px) and (max-width: 1100px) {
#app { grid-template-columns: 184px minmax(0, 1fr); }
.organization-layout { grid-template-columns: 180px minmax(0, 1fr); }
#chat { max-height: 380px; }
}
@media (max-width: 780px) {
#app { display: block; }
aside { padding: 14px 12px; }
.who { flex-wrap: nowrap; }
.navgroup.sharing { border-left: 0; border-top: 2px solid var(--privacy-ink); }
.navrows button { min-height: 40px; }
main { padding: 18px 12px; }
.organization-layout { display: block; min-height: 0; }
.organization-rail { border-right: 0; padding: 16px; }
.memory-content { padding: 18px 14px; }
.organization-layout[data-detail="true"] .organization-rail { display: none; }
.organization-layout[data-detail="false"] .memory-content { display: none; }
.org-mobile-back { display: inline-flex; margin-bottom: 14px; min-height: 40px; }
.connections-table th:nth-child(3), .connections-table td:nth-child(3) { display: none; }
#chat { background: var(--paper); }
}

:root {
--glass-canvas: #F3F7FF;
--glass-pane: rgba(255, 255, 255, .64);
--glass-card: rgba(255, 255, 255, .86);
--glass-control: rgba(250, 253, 255, .78);
--glass-rim: rgba(255, 255, 255, .94);
--glass-shadow: 0 18px 48px rgba(33, 76, 145, .1), 0 2px 8px rgba(33, 76, 145, .05);
}
@media (prefers-color-scheme: dark) {
:root {
--glass-canvas: #0B1729;
--glass-pane: rgba(21, 41, 68, .78);
--glass-card: rgba(29, 53, 82, .9);
--glass-control: rgba(37, 64, 96, .86);
--glass-rim: rgba(166, 199, 238, .21);
--glass-shadow: 0 20px 50px rgba(1, 9, 26, .32), 0 2px 8px rgba(1, 9, 26, .17);
}
}
.glass-pane {
background: var(--glass-pane);
border: 1px solid var(--glass-rim);
border-radius: 22px;
box-shadow: var(--glass-shadow);
-webkit-backdrop-filter: blur(18px) saturate(1.2);
backdrop-filter: blur(18px) saturate(1.2);
}
.glass-card {
background: var(--glass-card);
border: 1px solid var(--glass-rim);
border-radius: 16px;
box-shadow: 0 10px 28px rgba(40, 54, 72, .09);
-webkit-backdrop-filter: blur(14px) saturate(1.15);
backdrop-filter: blur(14px) saturate(1.15);
}
.glass-control {
background: var(--glass-control);
border: 1px solid var(--glass-rim);
border-radius: 14px;
box-shadow: 0 4px 14px rgba(40, 54, 72, .07);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}
#app {
background:
radial-gradient(circle at 77% 16%, rgba(88, 151, 232, .18), transparent 35%),
radial-gradient(circle at 58% 61%, rgba(173, 210, 255, .29), transparent 32%),
var(--glass-canvas);
}

body { background: var(--glass-canvas); }
#entry {
background:
radial-gradient(circle at 24% 24%, rgba(109, 168, 248, .18), transparent 32%),
radial-gradient(circle at 80% 75%, rgba(178, 216, 255, .22), transparent 33%),
var(--glass-canvas);
}
.gate { max-width: 460px; padding: 34px; }
.gate .brand { margin-bottom: 30px; }
.gate .mark {
background: linear-gradient(155deg, #306BD8, #15396F);
color: #fff;
box-shadow: 0 8px 19px rgba(43, 99, 185, .24);
}
.gate h1 { font: 650 27px/1.25 var(--sans); letter-spacing: -.03em; }
.gate .secondary {
display: block;
min-height: 45px;
padding: 10px 14px;
background: var(--glass-control);
color: var(--ink);
border: 1px solid var(--line-2);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(35, 76, 139, .06);
}
.gate .secondary:hover { border-color: var(--organize-accent); background: var(--glass-card); }
button.go, .send {
background: linear-gradient(145deg, #285DB3, #173E75);
box-shadow: 0 7px 18px rgba(32, 77, 146, .2);
}
button.go:hover, .send:hover { filter: brightness(1.12); }
aside {
background: var(--glass-pane);
border-right: 1px solid var(--glass-rim);
box-shadow: 8px 0 30px rgba(37, 82, 151, .06);
-webkit-backdrop-filter: blur(22px) saturate(1.15);
backdrop-filter: blur(22px) saturate(1.15);
}
aside .brand b { color: var(--shell-ink); }
aside .mark { color: var(--organize-accent); }
nav button:hover:not(:disabled), .navrows button:hover { background: var(--glass-control); }
nav button[aria-current="page"] {
color: var(--shell-ink);
background: var(--glass-card);
box-shadow: 0 4px 16px rgba(37, 82, 151, .08);
}
.navgroup.sharing {
border-left: 3px solid var(--privacy-ink);
border-top: 0;
border-radius: 9px;
padding: 11px 0 7px 5px;
background: rgba(24, 168, 179, .07);
}
.navrows button[aria-pressed="true"] { background: var(--glass-card); color: var(--shell-ink); }
.vault-pill, .avatar {
background: var(--glass-control);
border-color: var(--glass-rim);
color: var(--shell-ink);
}
.card, .overview-intro, .gate {
background: var(--glass-card);
border: 1px solid var(--glass-rim);
border-radius: 20px;
box-shadow: var(--glass-shadow);
-webkit-backdrop-filter: blur(16px) saturate(1.1);
backdrop-filter: blur(16px) saturate(1.1);
}
.overview-intro { padding: 21px 24px; }
.overview-intro h2 { font-size: 23px; letter-spacing: -.025em; }
.card h2, .memory-content h2 { color: var(--ink); }
.searchbox input, input:not([type="checkbox"]):not([type="radio"]),
textarea, select, .chip, .opt, .standing-option, .org-editor, .filing-editor {
background: var(--glass-control);
border-color: var(--line-2);
color: var(--ink);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
input::placeholder, textarea::placeholder { color: var(--dim); opacity: 1; }
.chip:hover, .opt:hover, .standing-option:hover { border-color: var(--organize-accent); }
.standing-option[aria-pressed="true"], .standing-card { border-color: var(--privacy-ink); }
.standing-option[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--privacy-ink); }
.chips .mark[aria-pressed="true"] { border-color: var(--privacy-ink); color: var(--privacy-ink); }
.row:hover, .rd-row:hover { background: rgba(115, 169, 239, .09); }
.continue-actions button, .evidence, .stat {
background: var(--glass-control);
border-color: var(--glass-rim);
}
.continue-actions button { box-shadow: 0 4px 14px rgba(37, 82, 151, .055); }
.continue-actions button:hover { border-color: var(--organize-accent); background: var(--glass-card); }
.empty { color: var(--ink-2); }

#app-status { background: var(--card); border-color: var(--organize-accent); box-shadow: 0 6px 20px rgba(37, 82, 151, .06); }
.organization-rail {
background: var(--glass-pane);
border-color: var(--glass-rim);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}
.org-node { background: var(--glass-control); border-color: var(--glass-rim); }
.org-node[data-state="confirmed"] { background: var(--glass-card); }
.org-node[data-state="suggested"] { background: transparent; border-color: var(--organize-accent); }
.org-node[aria-pressed="true"], .org-view[aria-pressed="true"] {
background: var(--chat-you);
border-color: var(--organize-accent);
}
.org-evidence, .org-question, .privacy-filter {
background: var(--glass-control);
border-radius: 12px;
}
.privacy-filter { border-color: var(--privacy-ink); }
.connections-table tr:hover td { background: rgba(115, 169, 239, .07); }

#chat.glass-pane {
min-width: 0;
margin: 14px 0 14px 14px;
background: var(--glass-pane);
border: 1px solid var(--glass-rim);
border-radius: 24px;
box-shadow: var(--glass-shadow);
}
#chat .chat-head {
padding-bottom: 15px;
border-bottom: 1px solid var(--line);
}
#chat .chat-head h2 { font-size: 23px; letter-spacing: -.025em; }
#chat .chat-head p { max-width: 38ch; line-height: 1.4; }
#chat .thread { padding: 11px 2px 14px; }
#chat .thread .empty {
background: var(--glass-card);
border: 1px solid var(--glass-rim);
border-left: 3px solid var(--gold);
border-radius: 15px;
padding: 15px 17px;
box-shadow: 0 9px 23px rgba(40, 54, 72, .07);
}
#chat .msg .bubble { max-width: 90%; border-radius: 17px; line-height: 1.54; }
#chat .msg.you .bubble {
background: linear-gradient(145deg, rgba(217, 233, 255, .96), rgba(236, 246, 255, .82));
border: 1px solid var(--glass-rim);
box-shadow: 0 8px 24px rgba(38, 78, 132, .07);
border-bottom-right-radius: 6px;
}
#chat .msg.numem .bubble {
background: var(--glass-card);
border: 1px solid var(--glass-rim);
padding: 12px 14px;
box-shadow: 0 10px 26px rgba(40, 54, 72, .07);
border-bottom-left-radius: 6px;
}
#chat .src {
background: var(--glass-control);
border: 1px solid var(--glass-rim);
border-radius: 12px;
box-shadow: 0 4px 13px rgba(40, 54, 72, .06);
}
#chat .src:hover { border-color: var(--gold); }
#chat .src .ic { background: var(--glass-card); border-color: var(--glass-rim); }
#chat .composer.glass-control {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
background: var(--glass-control);
border: 1px solid var(--glass-rim);
border-radius: 18px;
box-shadow: 0 11px 30px rgba(40, 54, 72, .11);
}
#chat .composer:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
#chat .composer textarea { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 52px; background: transparent; border: 0; color: var(--ink); }
#chat .composer textarea::placeholder { color: var(--dim); opacity: 1; }
#chat .composer .mode { min-width: 0; max-width: 100%; white-space: normal; text-align: left; }
#chat .composer .send { grid-column: 2; justify-self: end; box-shadow: 0 5px 13px rgba(17, 35, 55, .23); }

#panel-graph #graph-filters .chip {
background: var(--glass-control);
border: 1px solid var(--glass-rim);
box-shadow: 0 2px 8px rgba(40, 54, 72, .05);
}
#panel-graph #graph-filters .chip[aria-pressed="true"] {
background: var(--go);
border-color: var(--go);
color: #fff;
}
#panel-graph .seg.glass-control { padding: 3px; gap: 2px; border-radius: 13px; }
#panel-graph .seg button { background: transparent; border-radius: 10px; }
#panel-graph .seg button[aria-pressed="true"] { background: var(--go); color: #fff; }
#panel-graph .graph-stage.glass-pane {
background:
radial-gradient(circle at 47% 48%, rgba(132, 188, 255, .27), transparent 32%),
radial-gradient(circle at 76% 25%, rgba(207, 231, 255, .28), transparent 30%),
var(--glass-pane);
border: 1px solid var(--glass-rim);
border-radius: 25px;
box-shadow: var(--glass-shadow);
min-height: 500px;
}
#panel-graph #graph-svg .edge { opacity: .42; }
#panel-graph #graph-svg .network-card {
fill: var(--glass-card);
stroke: var(--glass-rim);
filter: drop-shadow(0 8px 12px rgba(51, 58, 72, .13));
}
#panel-graph #graph-svg .node[data-state="suggested"] .network-card {
fill: transparent;
stroke: var(--gold);
stroke-dasharray: 5 4;
}
#panel-graph #graph-svg .privacy-card .network-card { stroke: var(--privacy-ink); }
#panel-graph .graph-card.glass-card {
background: var(--glass-card);
border: 1px solid var(--glass-rim);
border-radius: 15px;
box-shadow: var(--glass-shadow);
}
#panel-graph .graph-legend.glass-card {
position: absolute;
right: 16px;
bottom: 16px;
max-width: 235px;
margin: 0;
padding: 12px 14px;
background: var(--glass-card);
border: 1px solid var(--glass-rim);
border-radius: 16px;
box-shadow: var(--glass-shadow);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
}
#panel-graph .graph-zoom.glass-control {
position: absolute;
top: 16px;
right: 16px;
bottom: auto;
background: var(--glass-control);
border: 1px solid var(--glass-rim);
border-radius: 12px;
}
#panel-graph #graph-inspector.glass-card {
margin-top: 15px;
background: var(--glass-card);
border: 1px solid var(--glass-rim);
box-shadow: var(--glass-shadow);
}
#panel-graph #graph-list .row[data-state] {
background: var(--glass-card);
border-color: var(--glass-rim);
border-radius: 14px;
box-shadow: 0 4px 15px rgba(40, 54, 72, .05);
}
#panel-graph #graph-list .row[data-state="suggested"] {
background: transparent;
border-color: var(--gold);
border-style: dashed;
}
#panel-graph .graph-empty .empty {
max-width: 380px;
background: var(--glass-card);
border: 1px solid var(--glass-rim);
border-radius: 16px;
box-shadow: var(--glass-shadow);
}
#panel-graph .graph-timeline {
margin-top: 13px;
padding: 5px 11px;
background: var(--glass-control);
border: 1px solid var(--glass-rim);
border-radius: 14px;
}
#panel-graph #graph-note { max-width: 76ch; }

@media (min-width: 1101px) {
#chat.glass-pane { top: 14px; height: calc(100vh - 28px); }
}
@media (max-width: 1100px) {
#chat.glass-pane { margin: 13px 18px; }
}
@media (max-width: 780px) {
#chat.glass-pane {
inset: auto 8px 8px;
margin: 0;
border-radius: 20px;
padding: 11px 12px 12px;
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}
#chat .chat-head { padding-bottom: 3px; border: 0; }
#panel-graph .graph-head.glass-pane { padding: 13px; }
#panel-graph .graph-stage.glass-pane { min-height: 320px; }
#panel-graph .graph-legend.glass-card {
position: static;
max-width: none;
margin: 0 12px 12px;
}
#panel-graph .graph-zoom.glass-control { display: none; }
}
@media (prefers-color-scheme: dark) {
#chat .msg.you .bubble {
background: linear-gradient(145deg, rgba(34, 72, 119, .94), rgba(26, 51, 85, .9));
}
#panel-graph .graph-stage.glass-pane {
background:
radial-gradient(circle at 47% 48%, rgba(73, 126, 199, .17), transparent 36%),
radial-gradient(circle at 76% 25%, rgba(79, 143, 223, .16), transparent 33%),
var(--glass-pane);
}
}

#app { grid-template-columns: 196px minmax(0, 1fr) 336px; grid-template-rows: auto minmax(0, 1fr); }
#app[data-ask-open="false"] { grid-template-columns: 196px minmax(0, 1fr); }
#app > aside { grid-column: 1; grid-row: 1 / span 2; }

#app > .shell-notices { grid-column: 2; grid-row: 1; min-width: 0; padding: 0 24px; }
.shell-notices .alarm, .shell-notices #app-status { margin-top: 18px; }
#app > main { grid-column: 2; grid-row: 2; width: 100%; min-width: 0; }
#chat.glass-pane {
display: none;
grid-column: 3;
grid-row: 1 / span 2;
position: sticky;
top: 14px;
width: calc(100% - 14px);
height: calc(100vh - 28px);
max-height: none;
margin: 14px 14px 14px 0;
padding: 22px 18px 18px;
}
#app[data-ask-open="true"] #chat.glass-pane { display: flex; }

#chat .ask-view-title { display: none; }
#ask-close { flex: none; border: 1px solid var(--glass-rim); background: var(--glass-control); color: var(--ink); border-radius: 10px; min-width: 34px; min-height: 34px; font: inherit; cursor: pointer; }
#ask-close:hover { background: var(--glass-card); border-color: var(--organize-accent); }
#ask-close:focus-visible { outline: 2px solid var(--organize-accent); outline-offset: 2px; }
#nav-chat[aria-current="page"] {
background: var(--glass-card);
color: var(--shell-ink);
font-weight: 600;
}
#nav-chat[aria-current="page"]::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 3px;
height: 17px;
border-radius: 0 3px 3px 0;
background: var(--organize-accent);
}

@media (min-width: 781px) and (max-width: 959px) {
#app, #app[data-ask-open="true"] { grid-template-columns: 196px minmax(0, 1fr); }
#chat.glass-pane { position: fixed; z-index: 30; inset: 10px 10px 10px auto; top: calc(var(--notices-bottom, 0px) + 10px); width: min(360px, calc(100vw - 216px)); height: auto; margin: 0; overflow-y: auto; }
#chat .thread { flex: 1 1 auto; min-height: 0; max-height: none; }
}
@media (max-width: 780px) {
#app { display: block; }
#app > .shell-notices { padding: 0 12px; }
#app[data-ask-open="true"] #chat.glass-pane { display: none; }
#app:has(#nav-chat[aria-current="page"]) main { display: none; }
#app:has(#nav-chat[aria-current="page"]) #chat.glass-pane { display: flex; }
#chat.glass-pane {
position: relative;
inset: auto;
top: auto;
width: calc(100% - 24px);
height: auto;
min-height: 70vh;
max-height: none;
margin: 12px;
padding: 18px;
}
#chat .chat-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#chat .chat-head h2 { display: none; }
#chat .chat-head .ask-view-title {
display: block; margin: 0 0 3px; color: var(--ink);
font-family: var(--sans); font-size: 22px; font-weight: 650; letter-spacing: -.025em; line-height: inherit;
}
#chat .chat-head p { display: block; }
#chat .thread, #chat[data-open="true"] .thread {
display: flex;
flex: 1;
min-height: 260px;
max-height: 52vh;
}
#chat .chips, #chat[data-open="true"] .chips { display: flex; }
#chat-toggle { display: none; }
}
@supports not (backdrop-filter: blur(1px)) {
.glass-pane, .glass-card, .glass-control,
#chat.glass-pane, #chat .thread .empty, #chat .msg .bubble, #chat .src, #chat .composer.glass-control,
#panel-graph .graph-head.glass-pane, #panel-graph .graph-stage.glass-pane,
#panel-graph .graph-card.glass-card, #panel-graph .graph-legend.glass-card,
#panel-graph .graph-zoom.glass-control,
.card, .overview-intro, .gate, .searchbox input, .organization-rail,
.org-node, .standing-option, .opt, .continue-actions button,
.evidence, .stat, .gate .secondary { background: var(--card); }
aside { background: var(--shell); }
}
@media (prefers-reduced-transparency: reduce) {
.glass-pane, .glass-card, .glass-control,
#chat.glass-pane, #chat .thread .empty, #chat .msg .bubble, #chat .src, #chat .composer.glass-control,
#panel-graph .graph-head.glass-pane, #panel-graph .graph-stage.glass-pane,
#panel-graph .graph-card.glass-card, #panel-graph .graph-legend.glass-card,
#panel-graph .graph-zoom.glass-control,
.card, .overview-intro, .gate, .searchbox input, .organization-rail,
.org-node, .standing-option, .opt, .continue-actions button,
.evidence, .stat, .gate .secondary {
background: var(--card);
-webkit-backdrop-filter: none;
backdrop-filter: none;
}
aside { background: var(--shell); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
nav button .ui-icon { color: var(--organize-accent); }
#nav-chat .ui-icon, nav button[data-panel="shared"] .ui-icon { color: var(--privacy-ink); }
.continue-actions button .ui-icon { color: var(--organize-accent); margin-bottom: 4px; }
.cols { grid-template-columns: minmax(0, 1fr); }
#calendar-help, #account-help, #connector-limits { margin-top: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass-control); color: var(--ink-2); font-size: 13px; }
#calendar-help summary, #account-help summary, #connector-limits summary { cursor: pointer; color: var(--organize-accent); font-weight: 600; }
#calendar-help p, #account-help p, #connector-limits p { margin: 8px 0 2px; }
.privacy .ic .ui-icon { color: var(--privacy-ink); }

.brand { gap: 11px; }
.brand .mark, .gate .mark, aside .mark {
width: 38px; height: 38px; padding: 3px;
border: 1px solid rgba(29,101,254,.14);
border-radius: 13px;
background: linear-gradient(145deg, #FFFFFF, #EAF1FD);
box-shadow: 0 5px 13px rgba(29,101,254,.1);
color: transparent;
}
.brand .mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand b, aside .brand b {
font-size: 20px; font-weight: 750; letter-spacing: -.055em;
color: var(--shell-ink);
}
#entry {
background:
radial-gradient(ellipse at 16% 88%, rgba(79,146,254,.19), transparent 37%),
radial-gradient(ellipse at 84% 10%, rgba(188,220,253,.5), transparent 36%),
var(--glass-canvas);
}
.gate { position: relative; overflow: hidden; border-radius: 26px; }
.gate::before {
content: ""; position: absolute; pointer-events: none;
width: 330px; height: 170px; top: -105px; right: -85px;
border-radius: 50%; border: 25px solid rgba(79,146,254,.13);
transform: rotate(-24deg);
}
.gate > * { position: relative; }
.gate .brand { margin-bottom: 64px; }
.seal-entry-art {
position: absolute; top: 13px; right: 20px; width: 122px; height: 105px;
object-fit: contain; pointer-events: none;
filter: drop-shadow(0 9px 12px rgba(20,66,148,.12));
}
.graph-empty .seal-empty-art {
display: block; width: 92px; height: 78px; object-fit: contain;
margin: 0 auto 10px;
}
.gate h1 { font-weight: 720; letter-spacing: -.04em; }
button.go, .send {
background: linear-gradient(120deg, #1455D8, #0F4FCC 58%, #0A45DD);
box-shadow: 0 9px 19px rgba(29,101,254,.22);
border-radius: 13px;
}
.gate .secondary { border: 1px solid #91B7FF; color: var(--organize-accent); border-radius: 13px; }
.chip, .opt, .standing-option { border-radius: 999px; }
input[type=password], input[type=text], input[type=search], input[type=email], textarea {
border-radius: 12px;
}
.overview-intro {
background:
radial-gradient(ellipse at 100% 0%, rgba(137,187,254,.18), transparent 43%),
var(--glass-card);
}
#chat .msg.numem .av { background: #EAF1FD; border: 1px solid rgba(29,101,254,.2); }
#chat .msg.numem .av img { width: 26px; height: 26px; object-fit: contain; }
nav button[aria-current="page"] { border-radius: 13px; }
nav .nav-remember {
margin-top: 10px;
background: linear-gradient(125deg, #1455D8, #0F4FCC);
color: #fff;
font-weight: 650;
box-shadow: 0 7px 16px rgba(29,101,254,.18);
}
nav .nav-remember .ui-icon,
nav .nav-remember:hover:not(:disabled) .ui-icon { color: #fff; }
nav .nav-remember:hover:not(:disabled),
nav .nav-remember[aria-current="page"] {
color: #fff;
background: linear-gradient(125deg, #1455D8, #0A45DD);
}
nav .nav-remember[aria-current="page"]::before { background: #fff; }
nav .nav-more {
margin: 7px 0 2px;
border-top: 1px solid var(--shell-line);
padding-top: 7px;
}
nav .nav-more > summary {
display: flex;
align-items: center;
gap: 11px;
min-height: 44px;
padding: 9px 11px;
border-radius: 13px;
color: var(--shell-dim);
cursor: pointer;
list-style: none;
font-size: 14px;
}
nav #rd-more-badge:not(:empty) {
display: inline-flex; margin-left: 0; padding: 1px 6px;
border-radius: 999px; background: #EAF1FD; color: #102961;
font-weight: 700; opacity: 1; font-variant-numeric: tabular-nums;
}
nav .nav-more > summary::-webkit-details-marker { display: none; }
nav .nav-more > summary::before {
content: "";
width: 18px;
height: 3px;
flex: none;
color: var(--organize-accent);
border-top: 3px dotted currentColor;
}
nav .nav-more > summary::after {
content: "";
margin-left: auto;
width: 7px;
height: 7px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg);
transition: transform .15s ease;
}
nav .nav-more[open] > summary::after { transform: rotate(225deg); }
nav .nav-more > summary:hover,
nav .nav-more:has(button[aria-current="page"]) > summary { background: var(--glass-control); color: var(--shell-ink); }
nav .nav-more > summary:focus-visible { outline: 2px solid var(--organize-accent); outline-offset: 2px; }
nav .nav-more-items { display: grid; gap: 2px; margin: 3px 0 0 12px; }
nav .nav-more-items button { font-size: 13px; }
nav .nav-settings { border-top: 1px solid var(--shell-line); margin-top: 5px; padding-top: 10px; border-radius: 0 0 13px 13px; }
.privacy-hub {
margin: 14px 0 0;
flex-shrink: 0;
padding: 0;
border: 1px solid rgba(8,127,140,.36);
border-left: 3px solid var(--privacy-ink);
border-radius: 14px;
background: linear-gradient(130deg, rgba(8,127,140,.13), var(--glass-card));
box-shadow: 0 7px 20px rgba(8,74,84,.08);
overflow: hidden;
}
.privacy-hub > summary.navhead {
position: relative;
display: flex;
flex-direction: column;
min-height: 65px;
justify-content: center;
padding: 10px 27px 10px 49px;
color: var(--shell-ink);
font-size: 13px;
font-weight: 700;
letter-spacing: 0;
text-transform: none;
cursor: pointer;
list-style: none;
}
.navgroup.sharing.privacy-hub > summary.navhead { color: #075F69; }
.privacy-hub > summary::-webkit-details-marker { display: none; }
.privacy-hub > summary .summary-icon {
position: absolute;
left: 11px;
top: 14px;
width: 29px;
height: 29px;
padding: 5px;
border-radius: 9px;
color: var(--privacy-ink);
background: rgba(8,127,140,.12);
}
.privacy-hub > summary::after {
content: "";
position: absolute;
right: 11px;
top: 27px;
width: 7px;
height: 7px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
color: var(--privacy-ink);
transform: rotate(45deg);
transition: transform .15s ease;
}
.privacy-hub[open] > summary::after { transform: rotate(225deg); }
.privacy-hub > summary span { color: var(--shell-dim); font-size: 11px; font-weight: 450; line-height: 1.35; }
.privacy-hub > summary:focus-visible { outline: 2px solid var(--privacy-ink); outline-offset: -3px; }
.privacy-hub .navrows { padding: 0 6px 7px; }
.privacy-hub .navrows button { color: var(--shell-ink); }
@media (prefers-color-scheme: dark) {
.navgroup.sharing.privacy-hub > summary.navhead { color: #6BD3D9; }
}
#settings-organize .navrows { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 15px; }
#settings-organize .navrows button {
min-height: 46px;
padding: 10px 12px;
color: var(--ink);
border: 1px solid var(--glass-rim);
border-radius: 12px;
background: var(--glass-control);
}
#settings-organize .navrows button:hover, #settings-organize .navrows button[aria-pressed="true"] {
color: var(--ink);
background: var(--glass-card);
border-color: var(--organize-accent);
}
#settings-organize .navrows .ico { color: var(--organize-accent); }
#mfa-card {
border-color: var(--glass-rim);
background: linear-gradient(145deg, var(--glass-card), var(--glass-control));
box-shadow: var(--glass-shadow);
}
#mfa-setup {
padding: 15px;
border: 1px solid var(--glass-rim);
border-radius: 14px;
background: var(--glass-control);
}
#mfa-secret { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
#mfa-setup > div { flex-wrap: wrap; }
#mfa-setup input { min-height: 44px; }
#mfa-card .chip:focus-visible, #mfa-card .go:focus-visible, #mfa-card a:focus-visible {
outline: 2px solid var(--organize-accent);
outline-offset: 2px;
}
@media (max-width: 480px) { #settings-organize .navrows { grid-template-columns: 1fr; } }
.overview-feature {
position: relative;
overflow: hidden;
display: grid;
grid-template-columns: minmax(0,1fr) minmax(130px,260px);
gap: 2px 12px;
padding: 24px;
background:
radial-gradient(ellipse at 85% 10%, rgba(142,197,255,.32), transparent 60%),
linear-gradient(132deg, var(--glass-card), rgba(204,232,255,.35));
}
.overview-feature .continue-actions { grid-column: 1 / -1; position: relative; z-index: 1; margin-top: 12px; }
.overview-feature .continue-actions button { min-height: 58px; }
@media (max-width: 480px) {
.seal-entry-art { width: 94px; height: 86px; right: 12px; }
.gate .brand { margin-bottom: 60px; }
.overview-feature { grid-template-columns: minmax(0,1fr) 110px; padding: 18px; }
.overview-feature .continue-actions { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
aside .brand { display: flex; align-items: center; margin: 0 0 8px; padding: 0 4px; }
aside .brand .mark { width: 32px; height: 32px; border-radius: 11px; }
aside .brand b { font-size: 18px; }
nav { flex-wrap: wrap; overflow: visible; }
nav > button { flex: none; }
nav .nav-more { flex: 1 1 auto; margin: 0; border-top: 0; padding: 0; }
nav .nav-more > summary { white-space: nowrap; }
nav .nav-more[open] { flex-basis: 100%; }
nav .nav-more-items { display: flex; flex-wrap: wrap; margin: 3px 0; }
nav .nav-more-items button { width: auto; }
nav .nav-settings { border: 0; margin: 0; padding: 9px 11px; }
}
@media (prefers-color-scheme: dark) {
.brand .mark, .gate .mark, aside .mark { background: linear-gradient(145deg, #D9EBFF, #9EC7FF); }
.gate .secondary { color: #A6C7FF; border-color: #648CDA; }
#chat .msg.numem .av { background: #D9EBFF; }
.overview-feature { background: radial-gradient(ellipse at 85% 10%, rgba(62,119,195,.25), transparent 60%), var(--glass-card); }
}
@supports not (backdrop-filter: blur(1px)) {
.overview-feature, #mfa-card, #mfa-setup, #app-status { background: var(--card); }
.navgroup.sharing.privacy-hub { background: var(--shell); }
}
@media (prefers-reduced-transparency: reduce) {
.overview-intro { background: var(--card); }
.overview-feature, #mfa-card, #mfa-setup, #app-status { background: var(--card); }
.navgroup.sharing.privacy-hub { background: var(--shell); }
}
#panel-home .overview-intro {
padding: 0 1px;
margin-bottom: 16px;
background: none;
border: 0;
box-shadow: none;
}
#panel-home .overview-intro h2 { font-size: 17px; }
#overview-summary .stats {
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
border: 0;
background: transparent;
}
#overview-summary .stat {
min-width: 0;
border: 1px solid var(--glass-rim);
border-radius: 13px;
background: var(--glass-control);
}
#overview-summary .stat b { white-space: nowrap; }
#overview-summary .card-head { flex-wrap: wrap; }
@media (max-width: 780px) {
#overview-summary .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-transparency: reduce) {
#overview-summary .stat { background: var(--card); }
}


@media (min-width: 960px) {
#app[data-sized] { grid-template-columns: var(--rail-w, 196px) minmax(0, 1fr) var(--ask-w, 336px); }
#app[data-sized][data-ask-open="false"] { grid-template-columns: var(--rail-w, 196px) minmax(0, 1fr); }
}
.pane-resize {
position: fixed; top: 0; z-index: 25; width: 10px; height: 100vh; margin-left: -5px;
cursor: col-resize; touch-action: none; background: transparent;
}
.pane-resize::after {
content: ""; position: absolute; top: 0; bottom: 0; left: 4px; width: 2px;
background: var(--organize-accent); opacity: 0; transition: opacity .15s;
}
.pane-resize:hover::after, .pane-resize[data-dragging]::after { opacity: .55; }

.pane-resize:focus-visible { outline: 2px solid var(--organize-accent); outline-offset: -2px; border-radius: 5px; }
.pane-resize:focus-visible::after { opacity: 1; }
body:has(.pane-resize[data-dragging]) { cursor: col-resize; user-select: none; }


#panel-home > .card { position: relative; }
#panel-home > .card > .card-head, #panel-home > .card > h2 { padding-right: 34px; }
.card-fold {
position: absolute; top: 14px; right: 14px; z-index: 2;
width: 28px; height: 28px; display: grid; place-items: center;
border: 1px solid var(--glass-rim); border-radius: 9px;
background: var(--glass-control); color: var(--ink-2); cursor: pointer; padding: 0;
}
.card-fold:hover { border-color: var(--organize-accent); color: var(--ink); }
.card-fold:focus-visible { outline: 2px solid var(--organize-accent); outline-offset: 2px; }
.card-fold svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.card-fold[aria-expanded="false"] svg { transform: rotate(-90deg); }
#panel-home > .card[data-folded] > :not(.card-head):not(h2):not(.card-fold) { display: none; }
#panel-home > .card[data-folded] > .card-head { margin-bottom: 0; }
#panel-home > .card[data-folded].overview-feature { grid-template-columns: minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) { .card-fold svg, .pane-resize::after { transition: none; } }

.privacy-hub>summary.navhead{display:grid;grid-template-columns:22px 1fr;align-items:center;column-gap:7px;min-height:0;padding:11px 24px 11px 10px}
.privacy-hub>summary .summary-icon{position:static;width:22px;height:22px;padding:3px}
.privacy-hub>summary.navhead>span{grid-column:1/-1;margin-top:4px;line-height:1.35}
.card-head .sub{font-size:12.5px;color:var(--dim)}

#panel-graph .graph-legend.glass-card{position:static;max-width:none;margin:0 16px 16px}

#v-file{max-width:100%}

body::before{content:"";position:fixed;inset:0;z-index:-1;background:var(--page-photo) center/cover;opacity:0;transition:opacity .9s ease;pointer-events:none}
body[data-photo]::before{opacity:1}
body:has(#app:not([hidden]))::before{background:linear-gradient(var(--photo-veil),var(--photo-veil)),var(--page-photo) center/cover;filter:blur(16px) saturate(1.1);transform:scale(1.06)}
#entry,body:has(#app:not([hidden])){background:transparent}

:root{--tick:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.entry-visual{display:none}
.pass-checks{list-style:none;margin:10px 0 2px;padding:0;display:grid;gap:6px;font-size:13px;color:var(--ink-2)}
.pass-checks li{display:flex;align-items:center;gap:8px}
.pass-checks li::before{content:"";width:16px;height:16px;border-radius:50%;border:1.5px solid var(--line-2);box-sizing:border-box;flex:none}
.pass-checks li[data-ok]{color:var(--ink)}
.pass-checks li[data-ok]::before{border:0;background:#1F9D63 var(--tick) center/16px}
@media (min-width:960px){
body:has(#entry:not([hidden]))::before{filter:blur(22px) saturate(1.15);transform:scale(1.08)}
.entry-frame{display:flex;gap:14px;width:min(1160px,100%);min-height:min(700px,calc(100vh - 48px));padding:14px;border-radius:38px;background:rgba(255,255,255,.34);border:1px solid rgba(255,255,255,.6);box-shadow:0 40px 90px -30px rgba(10,35,80,.45);-webkit-backdrop-filter:blur(20px) saturate(1.2);backdrop-filter:blur(20px) saturate(1.2);position:relative}
#entry:has(#words:not([hidden]),#confirm:not([hidden])) .entry-frame{display:contents}
#entry:has(#words:not([hidden]),#confirm:not([hidden])) .entry-visual{display:none}
.entry-frame>.gate{flex:0 0 470px;max-width:470px;display:flex;flex-direction:column;justify-content:center;border-radius:28px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.entry-frame .seal-entry-art,.entry-frame>.gate::before{display:none}
.entry-frame>.gate{background:#fff}
.entry-frame>.gate>.brand{margin-bottom:auto}
.entry-frame>.gate>#status{margin-top:auto}
.entry-visual{display:block;flex:1;position:relative;border-radius:28px;overflow:hidden;color:#fff;background:var(--page-photo,linear-gradient(150deg,#0B42BD,#5AA0F5)) center/cover}
.entry-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,18,46,.18),transparent 30%,transparent 50%,rgba(4,18,46,.66))}
.ev-pill,.ev-card,.ev-chip,.ev-head{position:absolute;z-index:1}
.ev-pill,.ev-card,.ev-chip{background:rgba(10,28,64,.32);border:1px solid rgba(255,255,255,.28);box-shadow:0 12px 32px rgba(0,20,60,.2),inset 0 1px 0 rgba(255,255,255,.18);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}
.ev-pill{top:28px;left:28px;display:flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;font-size:12.5px;font-weight:600}
.ev-pill .ui-icon{width:15px;height:15px}
.ev-card{top:78px;left:28px;width:min(320px,72%);padding:17px 19px;border-radius:18px;display:grid;gap:10px;font-size:13px}
.ev-card b{font-size:14px;font-weight:600;margin-bottom:2px}
.ev-card span{display:flex;align-items:center;gap:10px}
.ev-card i{width:17px;height:17px;border-radius:50%;flex:none;background:var(--organize-accent) var(--tick) center/17px}
.ev-chip{top:48%;right:28px;display:flex;align-items:center;gap:11px;padding:11px 15px 11px 11px;border-radius:15px;font-size:13px;font-weight:600}
.ev-chip small{display:block;font-size:11.5px;font-weight:500;opacity:.78}
.ev-chip .ui-icon{width:30px;height:30px;padding:6px;border-radius:9px;background:#fff;color:#0B42BD}
.ev-head{left:34px;right:34px;bottom:32px;display:grid;gap:7px}
.ev-head b{font-size:27px;font-weight:650;letter-spacing:-.025em;line-height:1.15}
.ev-head span{font-size:14.5px;opacity:.9}
}
@media (min-width:960px) and (prefers-color-scheme:dark){
.entry-frame{background:rgba(8,18,38,.42);border-color:rgba(255,255,255,.12)}
.entry-frame>.gate{background:#0F1D38}
}

.ask-fab{position:fixed;right:24px;bottom:24px;z-index:35;display:flex;align-items:center;gap:9px;padding:13px 20px 13px 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#2563EB,#0B3BB0);color:#fff;font:600 14.5px/1 var(--sans);box-shadow:0 14px 30px -8px rgba(11,59,176,.6),0 2px 6px rgba(11,59,176,.25),inset 0 1px 0 rgba(255,255,255,.25);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.ask-fab:hover{transform:translateY(-2px);box-shadow:0 18px 36px -8px rgba(11,59,176,.65),0 3px 8px rgba(11,59,176,.25),inset 0 1px 0 rgba(255,255,255,.25)}
.ask-fab:active{transform:scale(.97)}
.ask-fab:focus-visible{outline:3px solid var(--organize-accent);outline-offset:3px}
#nav-chat.ask-fab .ui-icon{width:20px;height:20px;color:#fff}
.ask-fab{padding:16px;font-size:0;gap:0}
.ask-fab:hover,.ask-fab:focus-visible{padding:13px 20px 13px 16px;font-size:14.5px;gap:9px}
.ask-fab[aria-expanded="true"]{background:var(--card);color:var(--ink);box-shadow:0 10px 26px -10px rgba(16,42,90,.4),inset 0 0 0 1px var(--line)}
#nav-chat.ask-fab[aria-expanded="true"] .ui-icon{color:var(--organize-accent)}
main{padding-bottom:96px}

@media (min-width:781px){#app[data-ask-open="false"]>main,#app[data-ask-open="false"]>.shell-notices{padding-right:92px}#app[data-ask-open="false"]>main:has(#panel-home:not([hidden])){padding-left:clamp(24px,100% - 852px,92px)}}
@media (min-width:1100px){#app[data-ask-open="false"]>main:has(#panel-graph:not([hidden])) .head{right:92px}}
@media (min-width:960px){#chat.glass-pane{height:calc(100vh - 14px - 92px);overflow-y:auto}}
@media (min-width:781px) and (max-width:959px){#app>main,#app>.shell-notices{padding-right:92px}#chat.glass-pane{bottom:92px}}
@media (max-width:780px){.ask-fab{right:16px;bottom:16px}#app:has(#nav-chat[aria-current="page"]) .ask-fab{display:none}}
@media (prefers-reduced-motion:reduce){.ask-fab{transition:none}}

#chat .chips{display:grid;gap:6px;margin-top:10px}
#chat .chips::before{content:"Try asking";font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);margin:0 2px 1px}
#chat .chips .chip{display:flex;align-items:center;gap:6px;width:100%;min-width:0;min-height:0;padding:9px 12px;border-radius:12px;border:1px solid var(--glass-rim);background:var(--glass-card);color:var(--ink);font-size:13px;line-height:1.3;text-align:left;white-space:nowrap;box-shadow:0 1px 2px rgba(16,42,90,.05);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
#chat .chips .chip:hover{transform:translateY(-1px);border-color:var(--organize-accent);box-shadow:0 6px 16px -8px rgba(16,42,90,.35)}
#chat .chips .chip span{color:var(--dim);flex:none}
#chat .chips .chip b{font-weight:600;overflow:hidden;text-overflow:ellipsis}
@media (prefers-reduced-transparency:reduce){
.entry-frame,.ev-pill,.ev-card,.ev-chip{-webkit-backdrop-filter:none;backdrop-filter:none}
.ev-pill,.ev-card,.ev-chip{background:rgba(10,28,64,.86)}
}


@media (min-width: 781px) {
#chat .chat-head h2 { font-size: 20px; }
#chat .chat-head p { font-size: 12.5px; line-height: 1.38; margin-top: 3px; color: var(--ink-2); }
#chat > .note { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
#chat .chips { gap: 6px; margin-top: 10px; }
#chat .chips .chip { font-size: 12.5px; text-align: left; }
}

:root {
--canvas: #F6F6F3; --surface: #FFFFFF; --panel: #F4F5F7;
--ink: #0F172A; --ink-2: #475467; --dim: #5D6676;
--hair: rgb(15 23 42 / .08); --line: var(--hair); --line-2: rgb(15 23 42 / .16);
--accent: #1D65FE; --accent-ink: #1A56DB; --accent-tint: #EEF3FF;
--go: var(--accent); --gold: var(--accent); --organize-accent: var(--accent-ink);
--pill: #0F172A; --pill-ink: #FFFFFF;
--paper: var(--panel); --card: var(--surface); --chat-you: var(--accent-tint);
--glass-canvas: var(--canvas); --glass-pane: var(--surface); --glass-card: var(--surface);
--glass-control: var(--panel); --glass-rim: var(--hair);
--shell: var(--surface); --shell-2: var(--panel); --shell-line: var(--hair);
--shell-ink: var(--ink); --shell-dim: var(--ink-2);
--privacy-tint: #E9F6F6; --privacy-text: #0B6664;
--photo-veil: rgb(246 246 243 / .9);
}
@media (prefers-color-scheme: dark) {
:root {
--canvas: #0C0E12; --surface: #15181E; --panel: #1C2027;
--ink: #EEF1F5; --ink-2: #B4BCC8; --dim: #939DAC;
--hair: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .16);
--accent: #2A62F0; --accent-ink: #8FB3FF; --accent-tint: #1B2741;
--pill: #EEF1F5; --pill-ink: #0F172A;
--privacy-tint: #0F2A2B; --privacy-text: #7ADBD9;
--photo-veil: rgb(12 14 18 / .88);
}
}
.overview-intro p { color: var(--ink-2); }
#app > aside {
--shell-ink: var(--ink); --shell-dim: var(--ink-2);
background: var(--surface); border-right: 1px solid var(--hair); box-shadow: none;
}
#app > aside nav::before {
content: "Menu" / ""; display: block; padding: 2px 12px 8px;
font: 600 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
#app > aside nav button, #app > aside nav button .ui-icon { color: var(--ink-2); }
#app > aside nav button:hover:not(:disabled):not([aria-current="page"]),
#app > aside .nav-more > summary:hover,
#app > aside .nav-more:has(button[aria-current="page"]) > summary { background: var(--panel); color: var(--ink); }
#app > aside nav button[aria-current="page"] {
background: var(--pill); color: var(--pill-ink); border-radius: 999px; box-shadow: none; font-weight: 600;
}
#app > aside nav button[aria-current="page"] .ui-icon { color: var(--pill-ink); }
#app > aside nav button[aria-current="page"]::before { display: none; }
#app > aside nav .nav-remember:not([aria-current="page"]) { background: var(--accent-tint); color: var(--accent-ink); box-shadow: none; }
#app > aside nav .nav-remember:not([aria-current="page"]) .ui-icon { color: var(--accent-ink); }
#app > aside .nav-more { background: transparent; }
#app > aside #rd-more-badge:not(:empty) { background: var(--pill); color: var(--pill-ink); }
#app > aside .privacy-hub {
background: var(--privacy-tint); border: 1px solid rgb(8 127 140 / .22); box-shadow: none;
}
#app > aside .privacy-hub .navhead { color: var(--privacy-text); }
#app > aside .privacy-hub .navhead span { color: var(--ink-2); }
#app > aside .vault-pill, #app > aside #who-initials { background: var(--panel); border-color: var(--hair); color: var(--ink); }
#app > aside .vault-pill b { color: var(--ink); }
#app > aside .vault-pill span { color: var(--ink-2); }
#chat.glass-pane { background: var(--surface); border-color: var(--hair); box-shadow: var(--e0); }
@media (min-width: 781px) and (max-width: 959px) {
#chat.glass-pane { background: rgb(255 255 255 / .9); box-shadow: 0 24px 48px -16px rgb(15 23 42 / .28); }
}
@media (min-width: 781px) and (max-width: 959px) and (prefers-color-scheme: dark) {
#chat.glass-pane { background: rgb(21 24 30 / .9); }
}
@media (max-width: 780px) { #app > aside nav::before { display: none; } }
@media (min-width: 960px) and (prefers-color-scheme: dark) {
.entry-frame { background: rgb(12 14 18 / .42); }
.entry-frame > .gate { background: var(--surface); }
}
.card, .overview-intro, .organization-rail, .searchbox input,
input:not([type=checkbox]):not([type=radio]), textarea, select, .chip, .opt, .standing-option,
.org-editor, .filing-editor, #chat .thread .empty, #chat .msg .bubble, #chat .src,
#chat .composer.glass-control, #panel-graph .graph-head.glass-pane,
#panel-graph .graph-stage.glass-pane, #panel-graph #graph-inspector.glass-card {
-webkit-backdrop-filter: none; backdrop-filter: none;
}
@media (min-width: 960px), (max-width: 780px) {
#chat.glass-pane { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 959px) {
#entry .gate {
background: rgb(255 255 255 / .9);
-webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
}
}
@media (max-width: 959px) and (prefers-color-scheme: dark) { #entry .gate { background: rgb(21 24 30 / .88); } }
@media (prefers-reduced-transparency: reduce) {
#entry .gate, #chat.glass-pane { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-color-scheme: dark) { .empty { background: transparent; } }
#panel-home .overview-feature .continue-actions button {
background: var(--surface); color: var(--ink); border-color: var(--hair); box-shadow: none;
}
#panel-home .overview-feature .continue-actions button:hover { background: var(--panel); border-color: var(--line-2); }
#panel-home .overview-feature .continue-actions .ui-icon {
width: 30px; height: 30px; padding: 6px; margin-bottom: 8px; border-radius: 9px;
background: var(--accent-tint); color: var(--accent-ink);
}
:root {
--e0: 0 1px 2px rgb(15 23 42 / .04);
--e-float: 0 1px 2px rgb(15 23 42 / .06), 0 16px 40px -16px rgb(15 23 42 / .22);
}
@media (prefers-color-scheme: dark) {
:root {
--e0: inset 0 1px 0 rgb(255 255 255 / .04);
--e-float: inset 0 1px 0 rgb(255 255 255 / .06), 0 24px 48px -16px rgb(0 0 0 / .6);
}
}
.card, .overview-intro, #overview-summary .stat, .continue-actions button, .chip,
.opt, .standing-option, .searchbox input, #chat .src, #chat .msg.numem .bubble, #chat .thread .empty,
#chat .composer.glass-control, .row .ic, .card-fold, #ask-close { box-shadow: var(--e0); }
.gate, #panel-graph .graph-card.glass-card { box-shadow: var(--e-float); }
.opt, .standing-option { border-radius: 14px; }
.btn {
min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--e0);
}
.btn:hover:not(:disabled) { border-color: var(--accent); }
.connections-table .btn { padding-inline: 9px; }
button.go, .send, .ask-fab:not([aria-expanded="true"]) { background: var(--accent); }
button.go, .send { box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); }
.gate h1 { letter-spacing: -.021em; }
.overview-intro h2, #panel-home .overview-feature h2, #chat .chat-head h2,
#chat .chat-head .ask-view-title, #panel-graph .graph-title { letter-spacing: -.019em; }
.brand b, aside .brand b { letter-spacing: -.016em; }
.card h3 { font-size: 15px; font-weight: 600; letter-spacing: -.006em; }
h1, h2, h3 { text-wrap: balance; }
.lede, .sub, .note, .overview-feature p { text-wrap: pretty; }
#overview-summary .stat { background: var(--panel); border-color: transparent; padding: 16px; }
#overview-summary .stat b { font-size: 30px; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
#overview-summary .stat span { font-size: 12px; color: var(--dim); }
#overview-summary .stat.unknown b { font-size: 15px; font-weight: 500; color: var(--dim); line-height: 2.2; }
#overview-summary .activity { height: 60px; justify-content: space-between; }
#overview-summary .activity .bar { flex: 1 1 0; max-width: 8px; min-height: 3px; border-radius: 2px; background: var(--accent); }
#overview-summary .activity .bar-none { background: var(--line); }
.ui-icon { stroke-width: 1.7; }
.searchbox .mag { width: 18px; height: 18px; }
.send .ui-icon { stroke-width: 2.2; }
.health-card .row { --t: var(--panel); --ti: var(--ink-2); }
.health-card .row[data-state="ok"] { --t: #ECF8F1; --ti: #166B43; }
.health-card .row[data-state="warn"] { --t: #FDF5E7; --ti: #8A5300; }
.health-card .row[data-state="bad"] { --t: #FDEEEC; --ti: #A3261B; }
@media (prefers-color-scheme: dark) {
.health-card .row[data-state="ok"] { --t: #10291D; --ti: #7EDBA9; }
.health-card .row[data-state="warn"] { --t: #2E2412; --ti: #F2C46B; }
.health-card .row[data-state="bad"] { --t: #33161A; --ti: #FF9C92; }
}
.health-card .row .ic { background: var(--t); border-color: transparent; box-shadow: none; }
.health-card .row .ic .ui-icon { color: var(--ti); }
.health-card .row .right { padding: 2px 9px; border-radius: 999px; font-weight: 600; background: var(--t); color: var(--ti); }
.health-card .row:is([data-state="warn"], [data-state="bad"]) .health-state { color: var(--ti); }
:root {
--focus: #1D65FE;
--ease-out: cubic-bezier(.2, .8, .2, 1);
--spring: linear(0,.037,.128,.248,.376,.503,.619,.72,.804,.872,.925,.964,.991,1.01,1.021,1.027,1.028,1.028,1.025,1.022,1.018,1.015,1.011,1.008,1);
}
@media (prefers-color-scheme: dark) { :root { --focus: #8DB8FF; } }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline-color: var(--focus); }
h1[tabindex="-1"]:focus-visible, h2[tabindex="-1"]:focus-visible {
outline: none; text-decoration: underline 2px var(--focus); text-underline-offset: 6px;
}
@media (prefers-reduced-motion: no-preference) {
.continue-actions button, button.go, .send, .chip, #chat .src, .opt, .standing-option {
transition: background-color .15s var(--ease-out), border-color .15s var(--ease-out),
color .15s var(--ease-out), translate .5s var(--spring), scale .5s var(--spring);
}
.continue-actions button:hover, #chat .src:hover, .opt:hover, .standing-option:hover { translate: 0 -2px; }
:is(.continue-actions button, button.go, .send, .chip, #chat .src):active:not(:disabled) {
scale: .97; transition-duration: .08s;
}
}
button.go { position: relative; }
button.go[aria-busy="true"]::after {
content: ""; position: absolute; right: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
border: 2px solid rgb(255 255 255 / .35); border-top-color: #FFFFFF; border-radius: 50%;
}
#chat .msg.pending .bubble { width: 72%; }
#chat .msg.pending .bubble i {
display: block; height: 9px; margin: 5px 0; border-radius: 5px; background: var(--line-2);
}
#chat .msg.pending .bubble i:nth-child(2) { width: 86%; }
#chat .msg.pending .bubble i:nth-child(3) { width: 58%; }
@media (prefers-reduced-motion: no-preference) {
.panel > .card, .panel > .pair, .panel > .overview-intro, .panel > .graph-head {
transition: opacity .3s var(--ease-out), translate .5s var(--spring);
transition-delay: calc(var(--i, 0) * 45ms);
}
@starting-style {
.panel > .card, .panel > .pair, .panel > .overview-intro, .panel > .graph-head { opacity: 0; translate: 0 8px; }
}
#panel-home > :nth-child(2) { --i: 1; }
#panel-home > :nth-child(3) { --i: 2; }
#panel-home > :nth-child(4) { --i: 3; }
#panel-home > :nth-child(n+5) { --i: 4; }
button.go[aria-busy="true"]::after { animation: seal-spin .8s linear infinite; }
#chat .msg.pending .bubble { animation: seal-breathe 1.2s ease-in-out infinite alternate; }
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-breathe { from { opacity: .55; } to { opacity: 1; } }
#chat .thread:has(> .empty:only-child) { flex: 0 1 auto; min-height: 0; }
#chat .thread > .empty:only-child { margin: 4px 0 0; }
#chat .thread:has(> .empty:only-child) ~ .composer { margin-top: auto; }

#panel-home{--stage:min(760px,100%);display:flex;flex-direction:column}
#panel-home>.overview-feature{order:3}
.home-details{order:4}
main:has(#panel-home:not([hidden])) .head{flex-direction:column;align-items:center;text-align:center;gap:6px;margin:28px auto 6px}
main:has(#panel-home:not([hidden])) .head h1{font-size:clamp(30px,3.6vw,44px);font-weight:600;letter-spacing:-.02em;line-height:1.04;text-wrap:balance}
main:has(#panel-home:not([hidden])) .searchbox{display:none}
.home-hero{position:relative;width:var(--stage);margin:26px auto 40px;text-align:center}
.home-title{margin:0 0 12px;font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.home-ask{position:relative;display:flex;align-items:center;gap:12px;padding:10px 10px 10px 14px;border-radius:999px;background:var(--card);border:1px solid var(--line);box-shadow:0 1px 1px rgba(16,42,90,.04),0 12px 28px -10px rgba(16,42,90,.22),0 34px 70px -34px rgba(16,42,90,.35)}
.home-ask:focus-within{outline:2px solid var(--organize-accent);outline-offset:3px}
.home-orb{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--accent-tint)}
.home-orb img{width:24px;height:24px}
.home-ask input{flex:1;min-width:0;border:0;background:transparent;font-size:18px;color:var(--ink);padding:10px 0;outline:none}
.home-ask input::placeholder{color:var(--dim)}
#home-ask-input{padding-left:18px;padding-right:18px;border-radius:999px}
.home-go{flex:none;width:46px;height:46px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--organize-accent);color:#fff;cursor:pointer}
.home-go:focus-visible{outline:3px solid var(--organize-accent);outline-offset:3px}
.home-go .ui-icon{color:#fff}
.home-suggest{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}
.home-suggest button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--ink-2);font-size:13px;cursor:pointer;transition:border-color .15s ease}
.home-suggest button:hover{border-color:var(--organize-accent);color:var(--ink)}
#panel-home>.overview-intro,#panel-home>.card,.home-details{width:var(--stage);margin-left:auto;margin-right:auto}
#panel-home>.overview-intro h2{font-size:12px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
#panel-home>.overview-intro p,main:has(#panel-home:not([hidden])) .head p{display:none}
#overview-summary .card-head,#overview-summary .note,#overview-summary .stat.unknown{display:none}
#overview-summary[data-folded]{display:block;padding-top:14px;padding-bottom:14px}
#overview-summary[data-folded] .card-head{display:flex}
#overview-summary[data-folded] .card-head .sub{display:none}
#overview-summary{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px}
#overview-summary .stats{grid-template-columns:repeat(3,minmax(96px,max-content))}
#panel-home #recent-mem>.row:nth-child(n+5){display:none}
#panel-home .overview-feature{background:none;border:0;box-shadow:none;padding:0}
#panel-home .overview-feature .continue-actions{margin:0}
#panel-home>.overview-feature{width:var(--stage);margin:18px auto 0}
#panel-home .overview-feature .continue-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
#panel-home .overview-feature .continue-actions:has(>[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}
#panel-home .overview-feature .continue-actions button{display:flex;align-items:center;gap:10px;min-height:0;padding:10px 12px}
#panel-home .overview-feature .continue-actions .ui-icon{margin:0;flex:none}
.home-details{margin-top:8px}
.home-details>summary{cursor:pointer;list-style:none;margin:8px auto 16px;width:max-content;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--ink-2);font-size:13px;font-weight:600}
.home-details>summary::-webkit-details-marker{display:none}
.home-details>summary:focus-visible{outline:2px solid var(--organize-accent);outline-offset:3px}
body:has(#app:not([hidden])){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E")}
@media (max-width:780px){#overview-summary{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.home-suggest button{transition:none}}
#panel-home .card-fold{opacity:0;transition:opacity .15s}
#panel-home .card:hover>.card-fold,#panel-home .card:focus-within>.card-fold,#panel-home .card-fold[aria-expanded="false"]{opacity:1}
:root{--brand-ink:#001F62}
picture{display:contents}
#settings-theme{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#settings-theme h2{margin:0}
#settings-voice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
#settings-voice h2{margin:0}
#settings-voice .note{grid-column:1/-1;margin:0}
#settings-voice .note:empty{display:none}
.mic{flex:none;width:38px;height:38px;border-radius:50%;border:1px solid var(--line-2);background:var(--card);color:var(--ink-2);display:grid;place-items:center;cursor:pointer}
.mic:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.mic[aria-pressed="true"]{background:var(--warn);border-color:var(--warn);color:#fff;animation:mic-on 1.2s ease-in-out infinite}
.mic[aria-pressed="true"] .ui-icon{color:#fff}
.mic[data-state="installing"]{opacity:.55;cursor:progress}
@keyframes mic-on{50%{box-shadow:0 0 0 6px rgba(176,122,43,.25)}}
@media (prefers-reduced-motion:reduce){.mic[aria-pressed="true"]{animation:none}}
.home-ask .mic{width:46px;height:46px}
#rm-mic{margin-top:8px}
#chat .composer.glass-control:has(> .mic:not([hidden])){grid-template-columns:minmax(0,1fr) auto auto}
#chat .composer.glass-control:has(> .mic:not([hidden])) .send{grid-column:3}

#voice-check-open{grid-column:1/-1;justify-self:start}
#voice-check{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:var(--cs-pad);border:1px solid var(--hair);border-radius:var(--cs-r);background:var(--surface);color:var(--ink);box-shadow:var(--cs-shadow);overflow:auto}
#voice-check::backdrop{background:rgb(9 12 18 / .45)}
.vc-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.vc-head h2{font:650 20px/1.3 var(--sans);margin:0;flex:1}
#vc-count{color:var(--dim);font-size:13px;font-variant-numeric:tabular-nums}
.vc-pair,.vc-scores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.vc-scores{grid-template-columns:repeat(3,minmax(0,1fr))}
.vc-pair>div,.vc-scores>div{border:1px solid var(--line);border-radius:var(--r-sm);padding:12px 14px;min-width:0}
.vc-label,.vc-scores dt{display:block;font-size:12px;color:var(--dim);margin-bottom:4px}
#vc-say,#vc-heard{font-size:18px;margin:0;min-height:1.55em;overflow-wrap:anywhere}
#vc-say{font-weight:600}
#vc-verdict{min-height:1.55em;margin:12px 0 0;font-weight:600}
.vc-actions{display:flex;align-items:center;gap:10px;margin-top:14px;flex-wrap:wrap}
.vc-actions .go{width:auto;margin:0 0 0 auto;padding:9px 20px}
#vc-mic{width:46px;height:46px}
.vc-scores dd{margin:0;font-size:18px;font-weight:650}
#vc-table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:16px;font-size:14px}
#vc-table th{text-align:left;font-size:12px;font-weight:500;color:var(--dim);padding:0 8px 6px 0}
#vc-table td{padding:8px 8px 8px 0;border-top:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
#vc-table th:last-child,#vc-table td:last-child{width:120px;padding-right:0;overflow-wrap:normal}
@media (max-width:560px){
.vc-pair,.vc-scores{grid-template-columns:minmax(0,1fr)}
.vc-scores{gap:8px}
.vc-scores>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 12px}
.vc-scores dt{margin:0}
.vc-scores dd{font-size:16px;text-align:right}
#vc-table{font-size:13px}
#vc-table th:last-child,#vc-table td:last-child{width:92px}
}
.brand{gap:8px}
.brand .mark,.gate .mark,aside .mark,aside .brand .mark{width:38px;height:38px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.brand b,aside .brand b{display:block;flex:none;width:72px;height:26px;translate:0 2px;font-size:0;letter-spacing:0;color:transparent;background:var(--brand-ink);-webkit-mask:url(./assets/seal-wordmark.webp?b=9dde9d69c555) center/contain no-repeat;mask:url(./assets/seal-wordmark.webp?b=9dde9d69c555) center/contain no-repeat}
@media (prefers-color-scheme:dark){
:root{--brand-ink:#ECF4FC}
.brand .mark,.gate .mark,aside .mark,aside .brand .mark{background:none}
}
#app>aside .privacy-hub{margin:2px 0 0;border:1px solid transparent;border-radius:13px;background:none;box-shadow:none;overflow:visible}
#app>aside .privacy-hub[open]{background:var(--panel)}
#app>aside .privacy-hub>summary.navhead{display:grid;grid-template-columns:18px 1fr 12px;align-items:center;column-gap:11px;row-gap:2px;min-height:44px;padding:9px 11px;border-radius:13px;color:var(--ink-2);font-size:14px;font-weight:450;white-space:nowrap}
#app>aside .privacy-hub>summary.navhead:hover{background:var(--panel);color:var(--ink)}
#app>aside .privacy-hub>summary .summary-icon{position:static;flex:none;width:18px;height:18px;padding:0;border-radius:0;background:none;color:var(--privacy-ink)}
#app>aside .privacy-hub>summary::after{position:static;justify-self:center;width:7px;height:7px;margin:-3px 0 0;border:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;color:currentColor;transform:rotate(45deg)}
#app>aside .privacy-hub[open]>summary::after{margin-top:3px;transform:rotate(225deg)}
#app>aside .privacy-hub>summary.navhead>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#app>aside .privacy-hub[open]>summary.navhead{font-weight:450}
#app>aside .privacy-hub[open]>summary.navhead>span{position:static;grid-column:2/4;grid-row:2;width:auto;height:auto;overflow:visible;clip-path:none;font-size:11.5px;color:var(--dim);white-space:normal}
@media (min-width:781px){
#app>aside .vault-pill{margin-top:auto;padding:14px 4px 0;gap:8px;border:0;border-top:1px solid var(--hair);border-radius:0;background:none}
#app>aside .vault-pill b{font-size:12px;font-weight:500;color:var(--ink-2)}
#app>aside .vault-pill span{display:none}
#app>aside .who{flex-wrap:wrap;margin-top:10px;padding:10px 10px 4px;gap:0 10px;border-radius:12px;background:var(--panel)}
#app>aside .who>div:not(.avatar){flex:1}
#app>aside .who b,#app>aside .who span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app>aside .who .avatar{flex:none;width:28px;height:28px}
#app>aside .who b{font-weight:600}
#app>aside .who span{display:block}
#app>aside .who button{flex:1 0 100%;min-height:36px;margin:8px 0 0;padding:0 2px;border-top:1px solid var(--hair);text-align:left;color:var(--ink-2);text-decoration:none;font-weight:500}
#app>aside .who button:hover{color:var(--ink)}
#app>aside #who-initials{background:var(--surface);border:1px solid var(--hair)}
}


:root {
--cs-r: 20px; --cs-pad: 28px; --cs-gap: 22px; --cs-tile: 44px; --cs-btn: 38px;
--cs-shadow: 0 1px 2px rgb(15 23 42 / .04), 0 12px 32px -18px rgb(15 23 42 / .2);
--cs-warn-bg: #FFF6E5; --cs-warn-ink: #7A4A00; --cs-warn-line: rgb(176 122 43 / .32);
--cs-danger-bg: #FDEEEC; --cs-danger-ink: #A3261B; --cs-danger-line: rgb(163 38 27 / .34);
--cs-veil: rgb(246 246 243 / .72); --cs-veil-far: rgb(246 246 243 / .25); --cs-head-sub: #3B4657;
--cs-search: rgb(255 255 255 / .86); --cs-search-rim: rgb(15 23 42 / .12);
--m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6zM14 3v5h5'/%3E%3C/svg%3E");
--m-folder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 6.5A1.5 1.5 0 0 1 4.5 5H9l2 2.5h8.5A1.5 1.5 0 0 1 21 9v9.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5z'/%3E%3C/svg%3E");
--m-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.8 6.2.9-4.5 4.4 1 6.2L12 17.4l-5.5 2.9 1-6.2L3 9.7l6.2-.9z'/%3E%3C/svg%3E");
--m-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
--m-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='13' rx='2'/%3E%3Cpath d='M16 8V5a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E");
--m-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 14h10l1-14M10 11v6m4-6v6'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
:root {
--cs-shadow: inset 0 1px 0 rgb(255 255 255 / .04), 0 16px 36px -18px rgb(0 0 0 / .7);
--cs-warn-bg: #2E2412; --cs-warn-ink: #F2C46B; --cs-warn-line: rgb(242 196 107 / .3);
--cs-danger-bg: #33161A; --cs-danger-ink: #FF9C92; --cs-danger-line: rgb(255 156 146 / .34);
--cs-veil: rgb(9 12 18 / .55); --cs-veil-far: rgb(9 12 18 / .15); --cs-head-sub: #CBD3DD;
--cs-search: rgb(14 18 26 / .74); --cs-search-rim: rgb(255 255 255 / .2);
}
}
@media (max-width: 780px) { :root { --cs-pad: 20px; --cs-gap: 16px; --cs-tile: 40px; } }



main { position: relative; isolation: isolate; }
main::before {
content: ""; position: absolute; inset: 0 0 auto; height: 300px; z-index: -1; pointer-events: none;
background: linear-gradient(90deg, var(--cs-veil) 55%, var(--cs-veil-far)), var(--page-photo, none) center 32% / cover;
-webkit-mask: linear-gradient(#000 52%, transparent); mask: linear-gradient(#000 52%, transparent);
}
.head { align-items: center; gap: 16px 28px; margin-bottom: 28px; }
.head > div:first-child { flex: 1 1 280px; min-width: 0; }
.head h1 { font: 700 40px/1.1 var(--sans); letter-spacing: -.028em; margin: 0 0 6px; color: var(--ink); }
.head p { font-size: 16px; color: var(--cs-head-sub); }
.searchbox { flex: 0 1 380px; max-width: 400px; min-width: 240px; }
.searchbox input {
min-height: 48px; border-radius: 14px; font-size: 15px; background: var(--cs-search); border: 1px solid var(--cs-search-rim);
box-shadow: 0 1px 2px rgb(15 23 42 / .06); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
main:has(#panel-home:not([hidden])) .head > div:first-child { flex: none; }

main:has(#panel-home:not([hidden]))::before {
height: min(460px, 62vh); background: linear-gradient(var(--cs-veil), var(--cs-veil)), var(--page-photo, none) center 30% / cover;
}
#panel-home .home-title, #panel-home > .overview-intro h2 { color: var(--cs-head-sub); }

main:has(#panel-graph:not([hidden])) .head > div:first-child { display: none; }
#panel-graph .graph-head.glass-pane {
flex-direction: column; align-items: flex-start; gap: 14px; padding: 0; margin-bottom: 22px;
background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
#panel-graph .graph-title { font: 700 40px/1.1 var(--sans); letter-spacing: -.028em; }
@media (min-width: 1100px) {
main:has(#panel-graph:not([hidden])) .head { position: absolute; z-index: 3; top: 25px; right: 24px; width: 400px; margin: 0; }
main:has(#panel-graph:not([hidden])) .searchbox { max-width: none; }
#panel-graph .graph-head.glass-pane { padding-right: 428px; }
}
@media (max-width: 780px) {
.head { margin-bottom: 20px; }
.head h1, #panel-graph .graph-title { font-size: 30px; }
.head p { font-size: 15px; }
.searchbox { flex-basis: 100%; max-width: none; }
main::before { height: 260px; background: linear-gradient(var(--cs-veil), var(--cs-veil)), var(--page-photo, none) center 32% / cover; }
}


.panel:not(#panel-home):not(#panel-graph) { display: flex; flex-direction: column; gap: var(--cs-gap); }
.panel > .card, .panel > .pair > .card { margin: 0; }
.card {
border-radius: var(--cs-r); padding: var(--cs-pad); background: var(--surface);
border: 1px solid var(--hair); box-shadow: var(--cs-shadow);
}
.card > h2, .card-head > h2, .card > h3:first-child {
font: 650 20px/1.3 var(--sans); letter-spacing: -.015em; margin: 0 0 6px; color: var(--ink);
}
.card#mfa-card { background: var(--surface); border-color: var(--hair); box-shadow: var(--cs-shadow); }
.card-head { margin-bottom: 14px; align-items: center; }
.card h2 .sp { display: none; }
.card p.sub { margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cs-gap); align-items: start; }
@media (max-width: 1000px) { .pair { grid-template-columns: minmax(0, 1fr); } }


.row { gap: 14px; padding: 14px 10px; align-items: center; }
.row .ic {
width: var(--cs-tile); height: var(--cs-tile); border-radius: 12px; border: 0; box-shadow: none;
background: var(--accent-tint); color: var(--accent-ink);
}
.row .ic .ui-icon { width: 20px; height: 20px; color: var(--accent-ink); }
.row .body b {
font-size: 15px; font-weight: 550; line-height: 1.4; color: var(--ink);
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere;
}
.row .body span { font-size: 13px; color: var(--dim); overflow-wrap: anywhere; }
.row .right { font-size: 13px; color: var(--dim); }
.row > .right:has(> button) { display: flex; gap: 8px; }


main button.go { min-height: 46px; border-radius: 12px; font-weight: 650; }
.card.standing-card { border-left: 3px solid var(--privacy-ink); }
.row > .text-action, .row .chip, .row .right > .chip, #v-export, #v-backup {
display: inline-flex; align-items: center; justify-content: center; gap: 7px;
min-height: var(--cs-btn); padding: 0 15px; border-radius: 10px; font-size: 14px; font-weight: 600;
white-space: nowrap; text-decoration: none; box-shadow: none;
}
.row > .text-action { background: var(--accent-tint); color: var(--accent-ink); border: 1px solid transparent; }
.row > .text-action:hover { border-color: var(--accent-ink); text-decoration: none; }
.row .chip { background: var(--panel); color: var(--ink); border: 1px solid transparent; }
.row .chip:hover { border-color: var(--line-2); background: var(--panel); }
#forget-list .chip, #pw-list .right > .chip:nth-child(3) {
background: transparent; color: var(--cs-danger-ink); border-color: var(--cs-danger-line);
}
#pw-list .right > .chip:nth-child(3) { background: var(--cs-danger-bg); }
#forget-list .chip:hover, #pw-list .right > .chip:nth-child(3):hover { border-color: var(--cs-danger-ink); background: var(--cs-danger-bg); }
#forget-list .chip[aria-pressed="true"], #pw-list .right > .chip[aria-pressed="true"] {
background: var(--cs-danger-ink); border-color: var(--cs-danger-ink); color: var(--surface);
}
#pw-list .right > .chip::before {
content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
-webkit-mask: var(--m-eye) center / contain no-repeat; mask: var(--m-eye) center / contain no-repeat;
}
#pw-list .right > .chip:nth-child(2)::before { -webkit-mask-image: var(--m-copy); mask-image: var(--m-copy); }
#pw-list .right > .chip:nth-child(3)::before { -webkit-mask-image: var(--m-trash); mask-image: var(--m-trash); }
#v-export, #v-backup { min-height: 42px; padding: 0 20px; background: var(--accent); border: 0; color: #FFFFFF; }
#v-export:hover, #v-backup:hover { filter: brightness(1.08); background: var(--accent); }


@media (max-width: 780px) {
.row:has(> .text-action, > .right > button) { flex-wrap: wrap; row-gap: 10px; }
.row:has(> .text-action, > .right > button)::after { content: ""; order: 1; flex: 0 0 100%; }
.row > :is(.text-action, .chip, .rowedit, .right:has(> button)) { order: 2; }
.row > :is(form, code, p, .filing-editor, .rowedit:has(.roweditbox)) { order: 3; }
.row > .text-action, .row > .right:has(> button) { margin-left: calc(var(--cs-tile) + 14px); }
#pw-list .row > .right { margin-left: 0; }
.row > .text-action, .row .chip { padding: 0 13px; }
#pw-list .right > .chip { padding: 0 12px; }
}

@media (max-width: 480px) { .rd-row .when { white-space: normal; } }


.callout {
display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px;
background: var(--panel); color: var(--ink-2); font-size: 13.5px; line-height: 1.5; border: 1px solid var(--hair);
}
.callout:not(:has(> .ui-icon)) { display: block; }
.callout > .ui-icon { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.callout b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.callout p, .callout .sub, .callout .note { margin: 0; font-size: 13.5px; color: inherit; }
.callout p + p, .callout .note[class*="u-mt"] { margin-top: 8px !important; }
.callout.info { background: var(--accent-tint); border-color: transparent; color: var(--ink); }
.callout.info > .ui-icon { color: var(--accent-ink); }
.callout.warn { background: var(--cs-warn-bg); border-color: var(--cs-warn-line); color: var(--cs-warn-ink); }
.callout.danger { background: var(--cs-danger-bg); border-color: var(--cs-danger-line); color: var(--cs-danger-ink); }
.callout:is(.warn, .danger) b { display: inline; color: inherit; }
#pw-promise { margin: 0; font-size: 14px; color: var(--ink-2); }
#pw-promise b { display: block; color: var(--ink); font-size: 15px; }
#cn-note { margin: 16px 0 0; }


.card .empty, #rm-confirm .empty {
display: grid; justify-items: center; gap: 2px; padding: 26px 20px; text-align: center;
border: 0; border-radius: 14px; background: var(--panel); color: var(--dim); font-size: 13.5px;
}
.card .empty::before {
content: ""; width: 26px; height: 26px; margin-bottom: 8px; background: var(--dim);
-webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.card .empty b { color: var(--ink); font-weight: 600; margin: 0; }
#rm-confirm .empty { justify-items: start; text-align: left; margin-top: 14px; background: var(--cs-danger-bg); color: var(--cs-danger-ink); }
#rm-confirm .empty b { color: inherit; }


.card.memory-workspace { padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.organization-layout { grid-template-columns: 248px minmax(0, 1fr); gap: var(--cs-gap); min-height: 0; align-items: start; }
.organization-rail, .memory-content {
background: var(--surface); border: 1px solid var(--hair); border-radius: var(--cs-r); box-shadow: var(--cs-shadow);
}
.organization-rail { padding: 22px 16px; }
.memory-content { padding: var(--cs-pad); }
.organization-rail h2 { font: 650 20px/1.3 var(--sans); margin: 0 6px 12px; }
.org-view { gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 12px; border: 0; font-weight: 500; }
.org-view[aria-pressed="true"] { background: var(--accent); color: #FFFFFF; font-weight: 600; }
.org-node, .org-node[data-state="confirmed"] { gap: 10px; padding: 10px 12px; margin: 2px 0; border: 1px solid transparent; border-radius: 12px; background: transparent; }
.org-node:hover { background: var(--panel); }
.org-node[aria-pressed="true"] { background: var(--accent-tint); border-color: transparent; }
.org-node .org-glyph {
width: 18px; height: 18px; flex: none; font-size: 0; background: var(--accent-ink);
-webkit-mask: var(--m-folder) center / contain no-repeat; mask: var(--m-folder) center / contain no-repeat;
}
.org-node[data-node="folder:favourite"] .org-glyph { -webkit-mask-image: var(--m-star); mask-image: var(--m-star); }
.org-node .org-label { font-size: 15px; }
.org-node .org-count { font-size: 13px; }
.org-gap { padding: 0 12px 10px 40px; font-size: 12.5px; line-height: 1.4; }
.memory-content h2 { font: 650 24px/1.25 var(--sans); letter-spacing: -.018em; }
.memory-content > #org-detail .sub { margin-bottom: 14px; }
@media (min-width: 781px) and (max-width: 1100px) { .organization-layout { grid-template-columns: 200px minmax(0, 1fr); } }
@media (max-width: 780px) {
.organization-rail, .memory-content { padding: var(--cs-pad); }
}


.rowlist.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.rowlist.tiles > .row, .rowlist.imports > .row, .rowlist.options > .row {
margin: 0; padding: 18px; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface);
}
.rowlist.tiles > .row::before, .rowlist.imports > .row::before, .rowlist.options > .row::before { display: none; }
.rowlist.tiles > .row .body b { font-size: 16px; }
.rowlist.tiles > .row .right { align-self: flex-start; }
.rowlist.tiles > .empty { grid-column: 1 / -1; }
.rowlist.imports { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
.rowlist.imports > .row { align-items: flex-start; }
.rowlist.imports .body > span { margin-bottom: 8px; }
.rowlist.imports label { display: block; margin: 6px 0; font-size: 13px; color: var(--ink-2); }

#connect-assistants .connect-address { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
#connect-assistants .connect-end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; }
#connect-url {
flex: 1 1 240px; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px;
background: var(--glass-control); color: var(--ink); font: 13px/1.45 var(--mono); overflow-wrap: anywhere;
}
#connect-help { margin-top: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--glass-control); color: var(--ink-2); font-size: 13px; }
#connect-help summary { cursor: pointer; color: var(--organize-accent); font-weight: 600; }
#connect-help p { margin: 8px 0 2px; }
#read-notify-wrap { margin-top: 10px; }
#read-notify-wrap label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--ink); }
#read-notify { width: auto; margin: 0; }
#v-file { width: auto; padding: 0; border: 0; background: none; box-shadow: none; color: var(--dim); }
#v-file::file-selector-button, #rm-files::file-selector-button {
min-height: var(--cs-btn); margin-right: 12px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px;
background: var(--panel); color: var(--ink); font: 600 14px var(--sans); cursor: pointer;
}
#accounts-card > h3 { margin-bottom: 4px; }
#accounts-card .sync-toolbar { margin-top: 12px; }
@media (max-width: 780px) { .rowlist.tiles { grid-template-columns: minmax(0, 1fr); } }


.rowlist.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.rowlist.options > .row { align-items: flex-start; }
.rowlist.options .body { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.rowlist.options .body > span { line-height: 1.5; }
.rowlist.options .callout { margin: 6px 0 4px; padding: 10px 12px; }
.rowlist.options .body > div { margin-top: 8px; }
@media (max-width: 1000px) { .rowlist.options { grid-template-columns: minmax(0, 1fr); } }


#rm-text { min-height: 120px; margin-top: 8px; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.card.choice { display: grid; grid-template-columns: var(--cs-tile) minmax(0, 1fr); gap: 16px; align-items: start; }
.card.choice > .ic {
width: var(--cs-tile); height: var(--cs-tile); display: grid; place-items: center; border-radius: 12px;
background: var(--accent-tint); color: var(--accent-ink);
}
.card.choice > .ic .ui-icon { width: 22px; height: 22px; }
.card.choice .rm-label { flex-direction: column; gap: 2px; margin: 0; font: 650 17px/1.3 var(--sans); color: var(--ink); }
.card.choice .rm-label span { font-size: 13.5px; font-weight: 400; color: var(--ink-2); }
.card.choice .chips { margin-top: 14px; }
.card.choice .chip { min-height: 40px; padding: 0 16px; font-size: 14px; }
#rm-go { width: 100%; }
.drop {
display: grid; justify-items: center; gap: 10px; padding: 18px; text-align: center;
border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--surface);
}
.drop:focus-within { border-color: var(--accent); }
.drop .note { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
#rm-files { width: auto; padding: 0; border: 0; background: none; box-shadow: none; color: var(--dim); font-size: 13px; }
#rm-receipt:empty { display: none; }
