html:not([data-theme="dark"]){color-scheme:light;--bg:#f7f7f5;--panel:#fff;--panel2:#f2f2ee;--input:#fff;--nav-bg:#fff;--surface-hover:#efefea;--line:#e5e5df;--line-strong:#d5d5cb;--text:#272923;--muted:#686b60;--subtle:#898b80;--soft-text:#575a50;--accent-soft:#fff8d8;--accent-line:#d9c357;--accent-text:#725d00;--link:#776200;--blue:var(--link);--danger:#b12637;--focus-halo:#e5c82435}
.appearance-options{display:flex;gap:14px;margin-top:20px}.appearance-options button{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel2);padding:12px 20px;min-height:56px}.appearance-options button[aria-pressed=true]{border:2px solid var(--accent);background:var(--accent-soft)}.appearance-swatch{width:24px;height:24px;border:1px solid var(--line-strong);border-radius:50%}.appearance-swatch.light{background:#fff}.appearance-swatch.dark{background:#181918}
.appearance-card{padding:20px 22px}.appearance-card .appearance-options{margin-top:12px;gap:10px;flex-wrap:wrap}.appearance-card .appearance-options button{min-height:46px;padding:8px 16px;gap:9px}.appearance-card .appearance-swatch{width:20px;height:20px}.contact-feedback-card{padding:0;border-color:var(--accent);background:var(--accent)}.contact-feedback-card a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px;padding:16px 24px;color:var(--ink);font-size:1.1rem;font-weight:700;text-decoration:none}.contact-feedback-card a:hover,.contact-feedback-card a:focus-visible{background:var(--accent-hover);border-radius:inherit}.contact-feedback-card a span:last-child{font-size:1.4rem;line-height:1}
.voice-launch>div{order:0;flex:1;min-width:0}.voice-launch .voice-launch-button{order:1;margin-left:auto;align-self:center}.question-card .voice-launch{background:transparent!important}.capture-tools>.capture-mic{order:1;margin-left:auto}.capture-tools>.small{order:0}.capture-reminder{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin:12px 0}.capture-reminder select{max-width:190px;padding:7px 9px;font-size:12px;min-height:36px}.capture-consent .capture-reminder{border-top:1px solid var(--line);padding-top:12px}.capture-help .capture-reminder{margin-top:18px}
.journal-icon{width:21px;height:21px;flex:none;vertical-align:middle}.capture-shortcuts button{display:inline-flex;align-items:center;gap:9px}.voice-launch{display:flex;align-items:center;gap:24px;padding:24px 26px;margin:0 0 24px;border-radius:24px;background:var(--panel);border:1px solid var(--line)}.voice-launch-button{width:100px;height:100px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;background:#f5d51a;color:#27230b;box-shadow:0 7px 20px #d3b51426;transition:transform .15s}.voice-launch-button:hover{transform:scale(1.04);background:#ffdd18}.voice-launch-button:active{transform:scale(.96)}.voice-launch-button svg{width:44px;height:44px}.voice-launch strong{display:block;font-size:18px;line-height:1.6}.voice-launch p{font-size:13px;color:var(--muted);margin-top:6px}.question-card .voice-launch{padding:0 0 22px;margin-bottom:20px;border:0;border-bottom:1px solid var(--line);border-radius:0}.voice-wave{display:block;width:100%;height:180px;color:var(--text);margin:18px 0}.voice-record-label{display:flex;align-items:center;gap:10px;text-align:left;font-size:14px;color:var(--muted)}.voice-record-label>span:last-child{margin-left:auto;font-size:12px}.voice-record-label .rec-dot{width:8px;height:8px;box-shadow:none}.capture-recording .voice-record-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.voice-record-bottom strong{font-size:36px;margin:0}.voice-actions{display:flex;gap:12px}.voice-round{width:60px;min-height:72px;padding:10px 5px;border:1px solid var(--line);background:var(--panel2);border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--text)}.voice-round .journal-icon{width:25px;height:25px}.voice-round span{font-size:11px}.voice-confirm{background:#f5d51a!important;color:#27230b!important;border-color:#f5d51a}.voice-cancel,.voice-stop{color:var(--danger)}.capture-recording>p,.capture-recording>.text-button{margin-top:24px}.capture-dialog .capture-recording{padding:12px 0 18px}.nav-standard-icon{display:inline-grid;place-items:center;width:23px}.nav-item .nav-number{display:none}.nav-item:not(.nav-community){gap:11px}.capture-dock .capture-mic{width:64px;height:64px}.capture-dock .capture-mic svg{width:31px;height:31px}
@media(max-width:780px){.voice-launch{gap:18px;padding:18px 20px;margin-bottom:18px;border-radius:22px}.voice-launch-button{width:88px;height:88px}.voice-launch-button svg{width:39px;height:39px}.voice-launch strong{font-size:16px}.voice-launch p{font-size:11px}.voice-wave{height:160px}.nav-item:not(.nav-community){display:flex;flex-direction:column;gap:4px}.nav-standard-icon .journal-icon{width:20px;height:20px}.voice-record-bottom strong{font-size:32px}.capture-dock .capture-mic{width:60px;height:60px}}
.capture-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.capture-heading h1{font-size:28px;letter-spacing:0}.capture-heading p{margin-top:6px;color:var(--muted);font-size:14px}.capture-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 22px}.capture-shortcuts button{border:1px solid var(--line);background:var(--panel);padding:10px 16px;border-radius:30px;min-height:44px;font-size:14px}.capture-storage{border:0;border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:12px}.capture-storage summary{cursor:pointer;font-size:13px;color:var(--muted);line-height:1.8}.capture-storage .storage-quota{margin-top:10px}.capture-search{display:flex;gap:10px;align-items:center;margin:12px 0 20px}.capture-search input{background:var(--panel);border-radius:24px}.capture-search label{margin:0;white-space:nowrap;font-size:13px;color:var(--muted)}
.capture-feed{max-width:850px;margin:auto;padding-bottom:150px}.capture-feed .journal-entry-card{border:1px solid var(--line);box-shadow:0 3px 14px #00000003;border-radius:20px;padding:24px;margin-bottom:18px}.capture-feed .journal-entry-card h2{font-size:18px;line-height:1.65}.capture-feed .journal-entry-card .cloud-pre{font-size:16px;line-height:1.9;margin-top:12px;color:var(--text)}.capture-feed .journal-card-top{align-items:center}.capture-feed .journal-card-top>.meta{padding-top:0;font-size:12px}.capture-feed .journal-visibility{font-size:11px;min-height:32px;padding:4px 9px}.capture-feed .entry-title-button{font-weight:600}.capture-feed .cloud-actions{margin-top:12px}
.capture-dock{position:fixed;bottom:26px;left:calc(240px + (100% - 240px)/2);transform:translateX(-50%);width:min(760px,calc(100% - 290px));display:flex;align-items:center;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:36px;padding:8px 10px 8px 22px;z-index:25;box-shadow:0 8px 36px #00000013}.capture-dock>button:first-child{flex:1;min-width:0;background:none;border:0;text-align:left;color:var(--muted);font-size:16px;min-height:50px}.capture-mic{display:grid;place-items:center;background:#f3d313!important;color:#24210b!important;border:0;border-radius:50%;width:54px;height:54px;flex:none;box-shadow:0 3px 12px #d4b00026}.capture-mic svg{width:27px;height:27px}.capture-dialog{width:min(630px,calc(100% - 24px));border-radius:24px;background:var(--panel);padding:0;color:var(--text);border:1px solid var(--line);max-height:calc(100dvh - 32px)}.capture-dialog .dialog-header{align-items:center}.capture-dialog h2{font-size:22px}.capture-dialog .eyebrow{margin-bottom:2px;font-size:11px}.capture-body{overflow:auto}.capture-body textarea{background:transparent;border:0;box-shadow:none;padding:12px 0;font-size:18px;line-height:1.9;resize:vertical;min-height:170px}.capture-tools{display:flex;align-items:center;gap:14px;margin:14px 0}.capture-quota{font-size:12px;color:var(--muted);margin-bottom:12px}.capture-consent{background:var(--accent-soft);padding:16px;border-radius:14px;font-size:14px;margin:12px 0}.capture-consent p+p{margin-top:8px}.capture-consent label{font-size:13px}.capture-help{font-size:12px;color:var(--muted);margin-top:20px}.capture-help summary{cursor:pointer}.capture-help p{margin-top:10px}.capture-status{color:var(--accent-text);font-size:14px;margin:12px 0}.capture-footer{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.capture-footer .primary{flex:1;min-width:180px}.capture-recording{text-align:center;padding:40px 0}.capture-recording strong{display:block;font-size:48px;font-variant-numeric:tabular-nums;margin:14px 0}.capture-recording .cloud-actions{justify-content:center;margin-top:24px}.rec-dot{display:inline-block;width:14px;height:14px;background:#df544b;border-radius:50%;box-shadow:0 0 0 10px #df544b18}.capture-body audio{width:100%;margin-top:12px}.capture-dialog[open]{display:flex;flex-direction:column}.capture-dialog .dialog-body{min-height:0}.capture-dialog .dialog-footer{flex-shrink:0}.capture-dialog::backdrop{background:#0005;backdrop-filter:blur(5px)}
@media(max-width:760px){.capture-dock{left:50%;width:calc(100% - 32px);bottom:calc(94px + env(safe-area-inset-bottom,0px));padding:6px 7px 6px 18px;z-index:29}.capture-dock>button:first-child{font-size:15px;min-height:46px}.capture-mic{width:48px;height:48px}.capture-feed{padding-bottom:210px}.capture-heading h1{font-size:25px}.capture-heading{margin-bottom:12px}.capture-feed .journal-entry-card{padding:19px;border-radius:18px}.capture-dialog{max-height:calc(100dvh - 20px);width:calc(100% - 18px);border-radius:22px}.capture-dialog .dialog-body{padding:16px 20px}.capture-dialog .dialog-header{padding:18px 20px}.capture-dialog .dialog-footer{padding:14px 20px max(16px,env(safe-area-inset-bottom))}.capture-body textarea{font-size:17px}.capture-heading .text-button{font-size:12px}.capture-shortcuts{gap:8px;margin:12px 0 18px}.capture-shortcuts button{font-size:13px;padding:8px 13px}}

.field-voice-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 18px;color:var(--muted);font-size:12px}.field-voice-tools .field-voice-mic{width:64px;height:64px}.field-voice-mic svg{width:30px;height:30px}.field-voice-original{font-size:12px;color:var(--muted);margin:8px 0 16px}.field-voice-original pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:12px;background:var(--panel2);border-radius:10px}.field-voice-original[hidden]{display:none}
.insight-launch{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:18px 22px;margin:0 0 22px;border:1px solid var(--accent-line);border-radius:20px;background:var(--accent-soft);color:var(--text)}.insight-launch>span:nth-child(2){flex:1}.insight-launch strong,.insight-launch small{display:block}.insight-launch small{font-size:12px;color:var(--muted);margin-top:5px}.insight-launch-symbol{display:grid;place-items:center;width:48px;height:48px;background:var(--accent);border-radius:15px;font-size:30px;color:#302700}.insight-dialog{width:min(1050px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--panel);color:var(--text)}.insight-dialog[open]{display:flex;flex-direction:column}.insight-dialog .dialog-header{flex-shrink:0}.insight-body{overflow:auto;min-height:0}.insight-lenses{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.insight-lenses button{font-size:13px}.insight-lenses [aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#27230b}.insight-scope{border:1px solid var(--line);border-radius:14px;padding:13px;margin-bottom:14px;font-size:13px}.insight-records{max-height:240px;overflow:auto}.insight-records label{font-size:12px;margin:10px 0}.insight-generate{margin:14px 0;min-height:48px}.insight-result-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:26px}.insight-result-heading small{color:var(--muted);font-size:11px}.insight-summary{line-height:1.9;margin:18px 0}.insight-map{border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 55% 35%,#242b31,#11181f 75%);color:#eef4f7;border:1px solid #35434f}.insight-map-tools{display:flex;gap:8px;align-items:center;padding:12px;font-size:11px;color:#bdcbd5}.insight-map-tools>span{flex:1}.insight-map-tools button{min-height:36px;min-width:36px;border:1px solid #485663;background:#ffffff0e;border-radius:9px;color:#fff;font-size:13px}.insight-map svg{display:block;width:100%;min-height:310px;max-height:500px;touch-action:none;user-select:none}.insight-edges line{stroke:#738690;stroke-opacity:.45;stroke-width:1}.insight-node{cursor:pointer;fill:#f4d456}.insight-node.kind-value{fill:#7cd2b2}.insight-node.kind-tension{fill:#bdabef}.insight-node.kind-action{fill:#8ecfee}.insight-node.kind-entry{fill:#adbec7}.insight-node text{fill:#e4edf2;font:12px system-ui;pointer-events:none}.insight-node .node-halo{opacity:.08}.insight-node.selected .node-halo,.insight-node:hover .node-halo,.insight-node:focus .node-halo{opacity:.4}.insight-node:focus{outline:none}.insight-node:focus circle:not(.node-halo){stroke:#fff;stroke-width:3}.insight-legend{display:flex;flex-wrap:wrap;gap:15px;padding:10px 16px 16px;font-size:11px;color:#b4c3cf}.insight-detail{padding:22px;margin:15px 0;background:var(--panel2);border:1px solid var(--line);border-radius:18px;line-height:1.9}.insight-detail blockquote{border-left:3px solid var(--accent);padding:6px 0 6px 14px;margin:14px 0;font-size:14px}.insight-detail blockquote button{font-size:12px}.insight-question{color:var(--accent-text);margin-top:12px}.insight-list{font-size:13px;margin-bottom:14px}.insight-list button{display:block;margin:10px 0}.insight-empty{text-align:center;padding:36px 20px;color:var(--muted)}.insight-empty>span{font-size:52px;color:var(--accent-text)}.insight-empty h3{font-size:18px;color:var(--text);margin:12px}.insight-empty p{font-size:13px}.insight-dialog::backdrop{background:#0005;backdrop-filter:blur(6px)}.capture-storage-row{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding:0 0 15px;margin-bottom:18px}.capture-storage-row .capture-storage{flex:1;min-width:0;margin:0;padding:0;border:0}.journal-benefits{font-size:12px;white-space:nowrap;padding-top:3px}.journal-delete{margin-left:auto;min-width:48px;min-height:44px}
@media(max-width:650px){.insight-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.insight-dialog .dialog-body{padding:18px 16px}.insight-dialog .dialog-header{padding:18px}.insight-lenses button{flex:1 1 40%;padding:9px;font-size:12px}.insight-result-heading{display:block}.insight-map svg{min-height:350px}.insight-map-tools>span{max-width:110px}.insight-detail{padding:16px}.insight-body>.cloud-check{font-size:12px}.insight-generate{width:100%}.insight-launch{padding:15px}.insight-launch strong{font-size:17px}}
.mcp-issued{background:var(--accent-soft);padding:18px;border:1px solid var(--accent-line);border-radius:16px;margin:20px 0}.mcp-issued button{margin:8px 10px 8px 0}.mcp-dialog h3{margin:24px 0 14px}.mcp-dialog p{margin:12px 0}.mcp-key-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.mcp-key-row>div{min-width:0;overflow-wrap:anywhere}.mcp-dialog input[readonly]{font-size:12px}.mcp-dialog .cloud-check{font-size:13px;line-height:1.8}

/* Fixed navigation must not enlarge the mobile layout viewport on wide tables. */
@media(max-width:780px){.workspace .sidebar nav{width:calc(100vw - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)));max-width:calc(100vw - 24px);right:auto}.insight-map svg{height:auto;min-height:220px;aspect-ratio:840/560}.insight-node text{font-size:26px}.insight-map-tools>span{max-width:none}}
.insight-node .node-hit{fill:transparent!important;stroke:none!important}
.plan-table-scroll{contain:content;position:relative}

/* Voice is visible before the writing field, without splitting the surrounding prose. */
.field-voice-tools{justify-content:flex-end;gap:10px;margin:8px 0 10px}.field-voice-tools>span{flex:0 1 auto;line-height:1.4}.field-voice-tools .field-voice-mic{width:60px;height:60px;min-height:60px;padding:0;flex:0 0 60px}.field-voice-mic svg{width:28px;height:28px;margin:0}.brain-post-actions .button,.brain-own-save .button,.brain-comment-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:5px}.brain-post-actions .brain-action-icon,.brain-own-save .brain-action-icon{width:18px;height:18px;min-width:18px;max-width:18px;flex:0 0 18px;margin:0}.brain-reaction-control{display:inline-flex;align-items:center;gap:0}.brain-reaction-control .button{padding-left:4px;padding-right:4px}.brain-reaction-control .button:first-child{min-width:34px}.brain-reaction-names{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}.brain-reaction-names li{padding:8px 13px;background:var(--panel2);border:1px solid var(--line);border-radius:20px}.member-follow{margin:14px 10px 14px 0}.member-follow[aria-pressed=true]{color:var(--accent-text);background:var(--accent-soft)}

.brain-filters{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}.brain-filters button{flex:0 0 auto}

.insight-launch-symbol .journal-icon{width:30px;height:30px;display:block;flex:none}.insight-empty .journal-icon{width:44px;height:44px;display:inline-block;vertical-align:middle}
/* Compact capture and safe-area journal navigation. */
.capture-sticky{position:sticky;top:0;z-index:24;background:var(--bg);padding:8px 0 0;margin-bottom:16px}
.capture-sticky .capture-search{position:relative;margin:0 0 8px;display:block}
.capture-sticky .capture-search>.journal-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.capture-sticky .capture-search input{width:100%;height:42px;min-height:42px;padding:8px 38px;font-size:16px;line-height:24px;border:1px solid var(--line-strong);border-radius:24px}
.capture-sticky .capture-storage-row{padding-bottom:9px;margin-bottom:0;gap:8px}
.capture-sticky .capture-storage summary{font-size:12px}.capture-sticky .journal-benefits{font-size:12px}
.capture-dialog .dialog-header{padding:12px 20px;min-height:48px}.capture-dialog h2{font-size:18px}
.capture-dialog .dialog-body{padding:12px 20px}.capture-dialog .capture-quota{font-size:11px;margin-bottom:5px}
.capture-dialog .capture-body textarea{min-height:112px;height:128px;line-height:1.65;padding:4px 0;resize:vertical;font-size:16px}
.capture-dialog .capture-tools{margin:4px 0}.capture-dialog .capture-tools .capture-mic{width:38px;height:38px}.capture-dialog .capture-tools .capture-mic svg{width:21px;height:21px}
.capture-dialog .capture-help{margin-top:8px}.capture-dialog .capture-footer{padding:10px 20px;gap:8px}.capture-dialog .capture-footer:empty{display:none}
.capture-dialog.capture-voice-mode .dialog-header{border-bottom:0;padding:6px 14px;min-height:40px;justify-content:flex-end}
.capture-dialog.capture-voice-mode .capture-recording{padding:8px 0}.capture-dialog .voice-wave{height:100px;margin:8px 0}
.capture-dialog .voice-record-bottom strong{font-size:36px;margin:0}.capture-dialog .voice-round{width:52px;min-height:58px;border-radius:16px;padding:7px}
.capture-dialog .capture-recording>.text-button,.capture-dialog .capture-recording>p{margin-top:10px}.capture-dialog .capture-recording>.text-button{font-size:13px}
@media(max-width:780px){.capture-sticky{padding-top:calc(env(safe-area-inset-top,0px) + 6px)}.capture-dialog{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px)}.capture-dialog .capture-footer{padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}.capture-sticky .capture-storage summary{font-size:11px}.capture-sticky .journal-benefits{font-size:11px}}
/* Keep actions inside the visual viewport when a mobile keyboard opens. */
.capture-dialog{position:fixed;inset:auto;left:50%;top:calc(var(--capture-vtop,0px) + var(--capture-vh,100dvh)/2);transform:translate(-50%,-50%);margin:0;width:min(520px,calc(100% - 24px));max-height:calc(var(--capture-vh,100dvh) - 24px - env(safe-area-inset-top,0px));overflow:hidden}
.capture-dialog .dialog-header,.capture-dialog.capture-voice-mode .dialog-header{padding:10px 14px;min-height:44px;gap:10px;flex-shrink:0;justify-content:space-between}
.capture-heading-quota{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:2px;font-size:11px;line-height:1.6;color:var(--muted)}
.capture-dialog .dialog-body{padding:8px 14px;overflow-y:auto;overscroll-behavior:contain;flex:1 1 auto}
.capture-dialog .capture-body textarea{min-height:64px;height:90px;max-height:160px;font-size:16px;line-height:1.6;resize:none;padding:4px 0}
.capture-dialog .capture-tools{margin:0}.capture-dialog .capture-help{margin:4px 0 0;font-size:11px}.capture-dialog .capture-help p{line-height:1.65;margin:6px 0}
.capture-dialog .capture-footer{padding:8px 14px;display:flex;flex-wrap:nowrap;flex-shrink:0;gap:8px;border-top:1px solid var(--line)}
.capture-dialog .capture-footer .primary{min-width:0;min-height:40px;padding:8px 12px;font-size:13px}.capture-dialog .capture-footer>.text-button{min-height:40px;font-size:12px;white-space:nowrap}.capture-dialog .capture-footer>[data-download]{display:none}
@media(max-width:780px){.capture-dialog{max-height:calc(var(--capture-vh,100dvh) - 20px - env(safe-area-inset-top,0px));border-radius:20px}.capture-dialog .capture-footer{padding-bottom:10px}.capture-heading-quota{font-size:11px;column-gap:8px}}



.capture-dialog .capture-footer>.capture-mic{width:40px;height:40px;min-height:40px;align-self:center;box-shadow:none}.capture-dialog .capture-footer>.capture-mic svg{width:23px;height:23px}

.capture-dialog .capture-footer>[data-organize]{flex:none;min-width:0;min-height:40px;padding:8px 12px;font-size:13px;white-space:nowrap}.capture-dialog .capture-footer:has([data-retry]){flex-wrap:wrap}.capture-dialog .capture-footer>[data-retry]{flex-basis:100%;font-size:12px}

/* Bottom composer: keyboard-aware, stable actions and expanding draft. */
.capture-dialog .capture-body textarea{height:120px;max-height:320px;line-height:1.75}
.capture-audio{font-size:12px;color:var(--muted);margin:8px 0}.capture-audio summary{cursor:pointer}.capture-audio audio{height:34px}
.capture-dialog.capture-voice-mode .capture-heading-quota{visibility:hidden}
.capture-dialog.capture-voice-mode .voice-wave{height:160px;margin:16px 0}
.capture-dialog .voice-round{border-radius:50%;width:48px;min-height:48px;height:48px;padding:10px}.capture-dialog .voice-round span{display:none}
@media(max-width:780px){
 .capture-dialog{top:calc(var(--capture-vtop,0px) + var(--capture-vh,100dvh) - 8px);transform:translate(-50%,-100%);width:calc(100% - 16px);border-radius:22px;max-height:calc(var(--capture-vh,100dvh) - 24px);box-shadow:0 12px 48px #0002}
 .capture-dialog[open]{animation:capture-rise .18s ease-out}
 .capture-dialog .capture-body textarea{min-height:120px;max-height:min(320px,42dvh)}
 .capture-dialog .capture-footer{padding:10px 14px max(10px,env(safe-area-inset-bottom,0px));gap:8px}
 .capture-dialog .capture-footer>[data-organize]{background:var(--panel2);color:var(--text)}
}
@keyframes capture-rise{from{opacity:.5;translate:0 14px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.capture-dialog[open]{animation:none}}

/* Compact journal stream, shared by blog and forum. */
.capture-feed .journal-entry-card{padding:12px 16px;margin-bottom:12px;border-radius:16px}
.capture-feed .journal-card-top{min-height:24px;margin:0 0 6px;align-items:center}
.capture-feed .journal-card-top .meta{font-size:11px;line-height:1.4;padding:0;margin:0;color:var(--muted)}
.capture-feed .journal-visibility{min-height:24px;width:28px;padding:3px;border:0;background:transparent;border-radius:6px}
.capture-feed .journal-card-body{font-size:15px;line-height:1.75;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;overflow-wrap:anywhere}
.capture-feed .journal-card-body.is-expanded{display:block;overflow:visible}
.journal-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:6px;min-height:28px}
.journal-card-bottom>.text-button,.journal-card-menu>summary{font-size:12px;padding:4px 0;min-height:28px;line-height:20px;margin:0}
.journal-card-menu{position:relative}.journal-card-menu>summary{list-style:none;cursor:pointer;color:var(--muted);letter-spacing:2px;min-width:28px;text-align:center}.journal-card-menu>summary::-webkit-details-marker{display:none}
.journal-menu-items{position:absolute;right:0;bottom:100%;min-width:90px;z-index:5;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:4px;box-shadow:0 6px 20px #0002;display:flex;flex-direction:column}.journal-menu-items button{font-size:13px;text-align:left;padding:8px 12px;min-height:34px}

/* Thin composer chrome; one readable quota line on phones. */
.capture-dialog .dialog-header,.capture-dialog.capture-voice-mode .dialog-header{padding:4px 12px;min-height:30px;gap:4px}
.capture-heading-quota{font-size:10px;line-height:1.35;flex-wrap:nowrap;white-space:nowrap;gap:8px;min-width:0;letter-spacing:0}
.capture-dialog .dialog-header>[data-close]{width:26px;min-width:26px;height:26px;min-height:26px;padding:0;font-size:23px;line-height:26px}
.capture-dialog .capture-footer{padding:5px 12px;gap:7px}
.capture-dialog .capture-footer>.button{min-height:34px;padding:5px 10px;font-size:12px}
.capture-dialog .capture-footer>.capture-mic{width:34px;height:34px;min-height:34px}.capture-dialog .capture-footer>.capture-mic svg{width:21px;height:21px}
@media(max-width:780px){.capture-dialog .capture-footer{padding:5px 12px max(5px,env(safe-area-inset-bottom,0px))}.capture-heading-quota{font-size:9px;gap:7px}}

/* Remove surplus vertical whitespace, without changing text size. */
.capture-feed .journal-entry-card{padding:4px 14px;margin:6px 0;border-radius:12px}
.capture-feed .journal-card-top{min-height:20px;margin:0;padding:0}
.capture-feed .journal-visibility{min-height:20px;height:20px;padding:0 3px}
.capture-feed .journal-card-body{margin:0;padding:0}
.capture-feed .journal-card-bottom{margin:0;padding:0;min-height:20px}
.capture-feed .journal-card-bottom>.text-button,.capture-feed .journal-card-menu>summary{min-height:20px;line-height:20px;padding:0}
.capture-dialog .capture-footer{padding-bottom:5px}
@media(max-width:780px){.capture-dialog{top:calc(var(--capture-vtop,0px) + var(--capture-vh,100dvh) - 8px - env(safe-area-inset-bottom,0px))}.capture-dialog .capture-footer{padding:5px 12px}.capture-dialog{border-radius:16px}}

.capture-feed .journal-entry-card .journal-card-body{margin:0;padding:0;font-size:15px;line-height:1.75}
/* Compact floating composer shared by blog and forum. */
.capture-dock{padding:5px 7px 5px 18px;box-shadow:0 6px 20px #00000016,0 2px 5px #00000008}
.capture-dock .capture-mic{width:48px;height:48px}
.capture-dock>button:first-child{min-height:44px}
.capture-dock .capture-mic svg{width:27px;height:27px}
.planet-card{background:#12b699;border-radius:18px;padding:24px 14px 12px;text-align:center;color:#303936}
.planet-inner{background:white;border-radius:10px;padding:20px 12px}.planet-owner{font-size:12px;color:#777}.planet-inner h3{margin:18px 0 10px;font-size:20px}.planet-date{font-size:11px;color:#888}.planet-days{color:#12b699;font-size:66px;line-height:1.25;font-weight:700}.planet-days small{font-size:13px;font-weight:400;color:#999}.planet-stats{display:flex;background:#f8faf9;margin:18px 0;padding:12px 0}.planet-stats>div{flex:1;border-right:1px solid #e8eeeb}.planet-stats>div:last-child{border:0}.planet-stats strong{display:block;font-size:19px}.planet-stats span{font-size:11px;color:#999}.planet-qr-row{display:flex;align-items:center;text-align:left;gap:10px}.planet-qr-row>div{flex:1;font-size:13px}.planet-qr-row small{display:block;color:#999;font-size:10px;margin-top:5px}.planet-qr-row img{width:88px;height:88px;object-fit:contain}.planet-brand{color:#dbfff7;margin-top:12px;font-size:15px}.planet-dialog-body{padding:12px!important}.planet-dialog-body .button{width:100%;margin-top:12px}.planet-dialog-body [role=status]{font-size:12px;text-align:center;margin:6px 0 0}

.planet-qr-row small{color:#000}

.capture-feed [data-expand-entry][hidden]{display:none}
.capture-feed .journal-card-menu{margin-left:auto}
.capture-storage-row{display:flex;align-items:baseline;gap:8px}
.capture-storage-row .capture-storage{margin:0;flex:1;min-width:0}
.capture-storage-row .capture-storage>summary,.capture-storage-row .journal-benefits{font-size:11px;line-height:20px;margin:0;padding:0}
.capture-storage-row .journal-benefits{align-self:baseline;white-space:nowrap}
.blog-pins{margin:8px 0!important;gap:5px!important}
.blog-pins button{display:flex!important;align-items:center;gap:8px;padding:6px 10px!important;min-height:30px!important;line-height:18px!important;font-size:12px!important;border-radius:10px!important}
.blog-pins button>span{flex:none}.blog-pin-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;min-width:0}
.brain-planet-card{padding:6px 12px!important;min-height:0!important;gap:12px!important;margin:8px 0!important;align-items:center!important;border-radius:12px!important}
.brain-planet-card strong{font-size:14px!important;line-height:21px!important}.brain-planet-card span{font-size:11px!important;line-height:18px!important;margin:0!important}.brain-planet-card img{width:52px!important;height:52px!important;object-fit:contain!important}.brain-planet-card a{flex:none;line-height:0}
.brain-post{padding:10px 14px!important;margin:6px 0!important;border-radius:14px!important}
.brain-post .brain-author{margin:0!important;padding:0!important;gap:8px!important}
.brain-post .brain-meta{margin:3px 0!important;padding:0!important;line-height:20px!important}
.brain-post .brain-reading{margin:0!important;padding:0!important}
.brain-post .brain-body{margin:0!important;padding:0!important}
.brain-post>[data-community="expand"]{margin:4px 0!important;padding:2px 10px!important;min-height:26px!important;font-size:12px!important;line-height:20px!important;border-radius:8px!important}
.brain-post .brain-post-actions{margin:5px 0 0!important;padding:3px 0!important;min-height:28px!important;gap:14px!important}
.brain-post .brain-post-actions .button{min-height:26px!important;padding:2px 5px!important;margin:0!important}
.brain-post .brain-like-names{margin:0!important;padding:2px 0!important;min-height:0!important;line-height:20px!important;font-size:12px!important}
.brain-post .brain-comment-preview{padding:0!important;margin:3px 0 0!important}
.brain-post .brain-comment-prompt{padding:3px 10px!important;min-height:28px!important;line-height:20px!important;font-size:12px!important;margin:2px 0 0!important;border-radius:8px!important}
.brain-post .brain-own-save{margin:0!important;padding:0!important}

.brain-planet-card{display:flex!important;flex-direction:row!important;justify-content:space-between!important}.brain-planet-card>div{flex:1;min-width:0}.brain-planet-card>a{display:block;flex:none;width:52px;height:52px}

.brain-planet-card{width:100%;text-align:left;background:var(--panel);color:var(--text);cursor:pointer}
.brain-planet-card>div{display:block!important}.brain-planet-card>div strong,.brain-planet-card>div span{display:block!important}.brain-planet-card>img{margin-left:auto!important;flex:none!important}.brain-planet-card:hover{box-shadow:0 3px 12px #00000010}
@media(max-width:780px){.capture-dialog.capture-keyboard-open{top:calc(var(--capture-vtop,0px) + var(--capture-vh,100dvh));margin-bottom:0!important;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.capture-dialog.capture-keyboard-open .capture-footer{padding-bottom:4px!important}}

.insight-range-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.insight-range-options>button:last-child{grid-column:1/-1}.insight-scope-dialog{max-width:420px}.insight-body>.insight-scope{width:100%;text-align:left;justify-content:flex-start}

.install-guide{width:calc(100% - 32px);max-width:420px;max-height:85dvh;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);box-shadow:0 18px 70px #0003}.install-guide::backdrop{background:#0005;backdrop-filter:blur(4px)}.install-guide header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--line)}.install-guide h2{font-size:18px;margin:0}.install-guide header button{border:0;background:none;color:var(--muted);font-size:26px;width:40px;height:40px}.install-guide-body{padding:16px}.install-guide-intro{margin:0 0 16px;color:var(--muted);font-size:13px}.install-guide ol{padding-left:24px;margin:12px 0 20px}.install-guide li{padding-left:4px;margin:16px 0;font-size:15px}.install-guide li::marker{color:var(--accent-text);font-weight:700}.install-guide li span{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:4px}.install-guide-body>.button{width:100%}.install-guide [data-install-status]:empty{display:none}.install-hint{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);left:16px;right:16px;max-width:430px;margin:auto;z-index:35;display:flex;gap:8px;align-items:center;padding:10px 12px;background:var(--panel);color:var(--text);border:1px solid var(--accent-line);border-radius:14px;box-shadow:0 6px 22px #0002}.install-hint>div{flex:1;min-width:0}.install-hint strong{display:block;font-size:13px}.install-hint span{display:block;font-size:11px;color:var(--muted);margin-top:2px}.install-hint button{border:0;min-height:36px;border-radius:9px;cursor:pointer}.install-hint-open{background:var(--accent);color:#171700;font-size:12px;padding:0 10px}.install-hint-close{background:none;color:var(--muted);font-size:22px;min-width:32px}

.insight-map .personal-brain-canvas{height:clamp(300px,48vh,480px);border-radius:16px;background:var(--panel2)}
.insight-map .personal-brain-canvas canvas{touch-action:none}
.insight-map .insight-list button{display:block;text-align:left;padding:8px 0}
.voice-record-label>span:last-child{font-size:11px}

.insight-map:has(.personal-brain-canvas){background:var(--panel2);color:var(--text);border:1px solid var(--line);padding:12px;border-radius:18px}
.insight-map .brain-graph-tools button{color:var(--text);background:var(--panel);border:1px solid var(--line);opacity:1}
.insight-map:has(.personal-brain-canvas)>p{margin:10px 0;font-size:12px}

.personal-network{padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--panel);margin-bottom:22px;min-width:0}
.personal-network-head,.personal-network-meta,.personal-network-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.personal-network-head h2{font-size:22px;margin:4px 0}.personal-network-head .text-button{font-size:13px}.personal-network .personal-network-canvas{height:clamp(330px,50vh,560px);background:radial-gradient(ellipse at center,var(--accent-soft),transparent 70%);margin:0;border-radius:18px}.personal-network-canvas canvas{touch-action:none}.personal-network-meta{font-size:12px;color:var(--muted);margin:10px 0}.personal-network-actions{justify-content:flex-start;margin:18px 0 10px}.personal-network-actions .button{font-size:13px;min-height:42px}.personal-network-list{margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-size:13px}.personal-network-list input{margin-top:12px}.personal-network-list [data-node-list]{max-height:220px;overflow:auto}.personal-network-list button{display:block;padding:8px 0;text-align:left}.personal-network [data-picked]{padding:18px;margin-top:16px;background:var(--panel2);border:1px solid var(--line);border-radius:14px;line-height:1.8}.personal-network [data-picked] p{white-space:pre-wrap}.personal-network blockquote{border-left:2px solid var(--accent-text);margin:12px 0;padding-left:12px}.personal-network blockquote button{display:block}.personal-network-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;line-height:2;color:var(--muted);pointer-events:none}.personal-network-empty small{font-size:12px}@media(max-width:600px){.personal-network{padding:16px;border-radius:20px}.personal-network-head h2{font-size:20px}.personal-network .personal-network-canvas{height:350px}.personal-network-actions .button{flex:1;padding:10px 8px}}

.brain-theme-section{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.brain-theme-section h3{font-size:16px;margin:0 0 6px}.brain-theme-section .small{font-size:12px;line-height:1.7;margin:6px 0 12px}.brain-keywords{display:flex;flex-wrap:wrap;gap:8px}.brain-keywords button{border:1px solid var(--line);border-radius:999px;background:var(--panel2);color:var(--text);padding:8px 12px;font-size:13px;cursor:pointer}.brain-keywords small{color:var(--muted);margin-left:5px}.brain-theme-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.brain-theme-cards button{padding:16px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--panel2);color:var(--text);cursor:pointer;min-width:0}.brain-theme-cards strong{font-size:15px;display:block}.brain-theme-cards span{display:block;font-size:11px;color:var(--muted);margin:8px 0}.brain-theme-cards p{font-size:13px;line-height:1.8;margin:0}.brain-keywords button:hover,.brain-theme-cards button:hover{border-color:var(--accent-text)}.insight-perspectives{margin:12px 0 18px}.insight-perspectives summary{cursor:pointer;font-size:14px;color:var(--muted)}.insight-perspectives .insight-lenses{margin-top:12px}@media(max-width:600px){.brain-theme-cards{grid-template-columns:1fr}}
