.connections{min-width:0;--map-surface: #fbfbf9}.connections-toolbar,.connections-filters{display:flex;align-items:center;gap:16px;margin-bottom:18px;min-width:0}.connections-toolbar{justify-content:space-between}.connections-modes{display:inline-flex;padding:3px;border-radius:var(--r-btn);background:var(--inset);flex-shrink:0}.connections-modes button{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;min-height:34px;border-radius:7px;font-size:13px;color:var(--muted)}.connections-modes button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #14141217}.connections-toolbar>.select-trigger{font-size:13px;border-color:transparent}.connections-center{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);min-width:0;flex:1}.connections-center .select-trigger{color:var(--ink);max-width:290px;min-width:0;flex:1}.connections-search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:var(--r-btn);padding:0 12px;min-height:38px;color:var(--muted);min-width:0;width:280px}.connections-search:focus-within{border-color:var(--ink)}.connections-search input{width:100%;min-width:0;padding:8px 0;border:0;outline:0;background:transparent;font-size:13px;box-shadow:none}.connections-search button{font-size:22px;padding:0;width:28px;flex-shrink:0}.connections-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.connections-map{min-width:0;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;background:var(--map-surface)}.connections-map-caption{display:flex;justify-content:space-between;gap:12px;padding:18px 20px 0;color:var(--muted);font-size:12px}.connections-map-caption>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connections-map-caption>span:last-child{flex-shrink:0}.connections-map-caption strong{font-weight:500;color:var(--ink)}.connections-viewport{height:480px;position:relative;overflow:hidden;touch-action:none;cursor:grab;isolation:isolate}.connections-viewport:active{cursor:grabbing}.connections-world{position:absolute;transform-origin:0 0}.connections-lines{position:absolute;inset:0;pointer-events:none}.connections-lines path{fill:none;stroke:#e1e1e1;stroke-width:1.5}.connections-lines path.is-highlighted{stroke:#aaa}.connection-node{position:absolute;display:flex;align-items:center;gap:12px;height:76px;padding:12px 14px;text-align:left;border:1px solid var(--line-strong);border-radius:var(--r-card);background:#fff;-webkit-user-select:none;user-select:none;transition:border-color .15s,box-shadow .15s}.connection-node:hover{border-color:#b4b4ae}.connection-node.is-selected{border-color:var(--ink);box-shadow:0 0 0 2px #17171712}.connection-node.is-center{background:var(--ink);border-color:var(--ink);color:#fff}.connection-node .avatar{width:34px;height:34px;font-size:12px;flex-shrink:0;border-radius:10px}.connection-node.is-center .avatar{background:#ffffff20;color:#fff}.connection-node-copy{display:block;min-width:0}.connection-node-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.25;font-weight:600}.connection-node-copy small{display:block;font-size:11px;color:var(--muted);line-height:1.3;margin-top:4px}.connection-node.is-center small{color:#ffffffa6}.connections-map-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px}.connections-zoom,.connections-pagination{display:flex;align-items:center;gap:2px}.connections-zoom{border:1px solid var(--line);background:#fff;border-radius:var(--r-btn);padding:2px}.connections-zoom button,.connections-pagination button{display:grid;place-items:center;width:34px;height:34px;border-radius:7px}.connections-zoom button:hover,.connections-pagination button:hover{background:var(--soft)}.connections-zoom output{min-width:38px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}.connections-pagination span{font-size:12px;color:var(--muted);margin-right:6px;white-space:nowrap}.connections-hint{margin:0;padding:14px 18px 18px;font-size:12px;line-height:1.5;color:var(--muted)}.connections-map-empty{position:absolute;top:155px;left:24px;right:24px;text-align:center;color:var(--muted);font-size:13px}.connections-map-empty p{font-size:16px;color:var(--ink);margin-bottom:8px}.connections-map-empty span{display:block;margin-bottom:18px}.connection-details{min-width:0;padding:8px 0}.connection-details-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.connection-details-heading>div{min-width:0}.connection-details-heading .avatar{flex-shrink:0}.connection-details h2{font-size:18px;letter-spacing:-.02em;line-height:1.35;margin-bottom:3px;overflow-wrap:anywhere}.connection-details-heading span:not(.avatar){font-size:12px;color:var(--muted)}.connection-summary{font-size:13px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.connection-details-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:26px}.connection-details-actions .secondary{font-size:12.5px}.connection-details-actions .text-button{display:inline-flex;align-items:center;gap:6px;font-size:12px}.connection-details h3{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;margin-bottom:6px}.connection-details h3>span{font-weight:400;color:var(--muted)}.connection-detail-list{max-height:360px;overflow-y:auto;scrollbar-width:thin}.connections .relation-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;width:100%;min-width:0;text-align:left;border-bottom:1px solid var(--line)}.connections .relation-row:hover .relation-copy strong{text-decoration:underline;text-underline-offset:3px}.relation-copy{min-width:0;display:grid;gap:6px;overflow-wrap:anywhere}.relation-people{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:12px;color:var(--muted);line-height:1.45}.relation-copy strong{font-size:13px;line-height:1.5;font-weight:500}.relation-copy small{color:var(--muted);font-size:11px;line-height:1.5}.connections-directory{border-top:1px solid var(--line)}.connections-directory .relation-row{padding:18px 8px}.connections-directory .relation-copy strong{font-size:15px}.connections-count{font-size:12px;color:var(--muted);margin:20px 8px 4px}.connections-empty{padding:45px 20px;text-align:center}.connections-empty p{margin-bottom:8px}.connections-empty span{font-size:13px;color:var(--muted)}@media(max-width:1300px){.connections-layout{grid-template-columns:minmax(0,1fr)}.connection-details{border-top:1px solid var(--line);padding-top:22px}.connection-detail-list{max-height:320px}}@media(max-width:600px){.connections-toolbar,.connections-filters{flex-wrap:wrap;gap:12px;margin-bottom:14px}.connections-toolbar>.select-trigger{padding:8px;font-size:12px}.connections-modes button{padding:8px 10px;gap:6px;font-size:12px}.connections-center{flex-basis:100%;gap:10px}.connections-center .select-trigger{max-width:none}.connections-search{width:100%}.connections-map{border-radius:var(--r-card)}.connections-map-caption{padding:16px 14px 0;font-size:11px}.connections-viewport{height:440px}.connections-map-footer{padding:0 10px;gap:4px;flex-wrap:wrap}.connections-zoom button,.connections-pagination button{width:40px;height:44px}.connections-zoom output{min-width:32px}.connections-pagination span{margin-right:0;font-size:11px}.connections-hint{padding:12px 14px 16px;font-size:11px}}.payments-page{max-width:1040px;display:grid;gap:42px}.payments-page section>h2{font-size:18px;font-weight:600;letter-spacing:-.015em;margin-bottom:14px}.payments-page section>.muted{margin:-6px 0 14px;font-size:13px;max-width:78ch}.payment-loading{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.payment-status{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid var(--line);border-radius:var(--r-card);background:#fff}.payment-status-num{display:flex;align-items:baseline;gap:7px}.payment-status-num strong{font-size:24px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.payment-status-num span{font-size:13px;color:var(--muted)}.payment-status-plan{font-size:13px;color:var(--muted);text-align:right}.payment-status-plan b{color:var(--ink);font-weight:500}.payment-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.payment-plan{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:var(--r-card);padding:19px 20px;background:#fff;transition:border-color .16s ease}.payment-plan:hover{border-color:#d8d8d1}.payment-plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:21px}.payment-plan h3{font-size:15.5px;font-weight:600;letter-spacing:-.012em;margin:0}.chip{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:var(--r-pill);font-size:10.5px;font-weight:500;white-space:nowrap}.chip-muted{background:var(--inset);color:var(--muted)}.chip-accent{background:var(--accent);color:#fff}.payment-price{margin-top:12px;font-size:30px;line-height:1.1;font-weight:600;letter-spacing:-.035em}.payment-price small{margin-left:5px;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}.payment-plan>button{margin-top:15px;width:100%}.payment-features{margin:17px 0 0;padding:14px 0 0;border-top:1px solid var(--line);display:grid;gap:7px;list-style:none}.payment-features li{display:grid;grid-template-columns:15px 1fr;gap:8px;font-size:13px;line-height:1.45;color:var(--body)}.payment-features svg{width:14px;height:14px;margin-top:2px;color:var(--ink)}.payment-spec{margin:11px 0 0;padding-left:23px;font-size:11.5px;color:var(--faint);font-variant-numeric:tabular-nums}.payment-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.payment-pack{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:14px;text-align:left;transition:border-color .16s ease,background .16s ease}.payment-pack:hover{border-color:#cfcfc7;background:#fdfdfc}.payment-pack>span:last-child{color:var(--muted);font-variant-numeric:tabular-nums}.payment-pack-main{display:flex;flex-direction:column;gap:1px;text-align:left}.payment-pack-main strong{font-weight:400}.payment-pack-main small{font-size:11px;color:var(--faint)}.payment-browser{justify-self:start}.payment-empty{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid var(--line);border-radius:var(--r-card)}.payment-empty p{color:var(--muted);margin:5px 0 0;max-width:70ch;font-size:13px}.payment-method,.payment-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.payment-method{padding:14px 0;border-bottom:1px solid var(--line)}.payment-method>span{display:flex;align-items:center;gap:8px;font-size:13.5px}.payment-history>div{border-top:1px solid var(--line);padding:15px 0;display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:13.5px}.payment-history>div>div{margin-right:auto}.payment-history small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.payment-help details{border-top:1px solid var(--line);padding:14px 0}.payment-help summary{cursor:pointer;font-weight:500;font-size:13.5px}.payment-help details p{margin:10px 0 0;max-width:80ch;color:var(--muted);font-size:13px}.payment-help a,.payment-consent a,.payment-checkout p a{text-decoration:underline;text-underline-offset:2px}.payment-help-links{display:flex;gap:22px;flex-wrap:wrap;margin:20px 0 0;font-size:12.5px}.payment-checkout{display:grid;gap:16px}.payment-checkout p{margin-bottom:0}.payment-checkout>small{overflow-wrap:anywhere;color:var(--muted);font-size:11.5px}.payment-checkout-head h3{font-size:19px;font-weight:600;letter-spacing:-.02em}.payment-checkout-term{margin-top:4px;font-size:12px;line-height:1.45;color:var(--muted)}.payment-checkout-price{margin-top:6px;font-size:25px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.payment-checkout .payment-features{margin-top:0;border-top:0;padding-top:0}.payment-order-name{display:flex;align-items:baseline;justify-content:space-between;gap:20px;font-size:15px;color:var(--muted)}.payment-order-name strong{font-size:25px;font-weight:600;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}.payment-consent{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.5;color:var(--muted);cursor:pointer}.payment-consent input{width:15px;height:15px;margin:1px 0 0;flex:none}.payment-pay-link{display:block;padding:11px 20px;border-radius:var(--r-btn);background:var(--ink);color:#fff;text-align:center;font-size:13px;font-weight:500}@media(max-width:1050px){.payment-plans{grid-template-columns:1fr}}@media(max-width:620px){.payments-page{gap:32px}.payment-status{flex-wrap:wrap;gap:6px 14px}.payment-status-plan{text-align:left}.payment-packs{grid-template-columns:1fr}.payment-method{flex-wrap:wrap}.payment-history>div{gap:8px 20px}}.tasks-page{max-width:900px}.task-create,.task-answer{display:grid;gap:10px}.task-create{margin:22px 0}.task-create textarea,.task-create select,.task-answer textarea,.task-answer select,.task-answer input:not([type=checkbox]){width:100%;resize:vertical}.task-create button,.task-answer button{justify-self:start}.tasks-grid{display:grid;gap:14px}.task-card{padding:19px 20px;border:1px solid var(--line);border-radius:var(--r-card);min-width:0;transition:border-color .16s ease}.task-card:hover{border-color:#d8d8d1}.task-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}.task-card h2{margin-bottom:8px;font-size:16px;letter-spacing:-.015em;overflow-wrap:anywhere}.task-instruction,.task-result{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13.5px;line-height:1.55}.task-answer{padding:14px;margin:14px 0;background:var(--soft);border-radius:var(--r-btn)}.task-card-actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:600px){.task-card{padding:16px}}.groups-page{width:100%;max-width:1040px;margin:0;padding:0}.group-toolbar,.group-heading,.group-schedule{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.group-toolbar{margin-bottom:26px;font-size:13px;color:var(--muted)}.group-toolbar>button:last-child{margin-left:auto}.group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.group-card,.group-plan{display:flex;flex-direction:column;gap:8px;text-align:left;padding:19px 20px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card);transition:border-color .16s ease}.group-card{cursor:pointer}.group-card:hover{border-color:#d8d8d1}.group-card span,.group-card small,.group-plan p,.group-plan small{color:var(--muted);font-weight:400;font-size:12.5px}.group-heading h2,.group-plan h3{margin:0;font-size:18px;font-weight:600;letter-spacing:-.015em}.group-heading p{color:var(--muted);margin:6px 0 0;font-size:13px}.group-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.group-stats small{display:block;color:var(--faint);margin-bottom:6px;font-size:11.5px}.group-stats strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.group-section{margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}.group-section h2,.group-section h3{font-weight:600;font-size:16px;letter-spacing:-.015em}.group-section form{display:flex;flex-direction:column;gap:14px}.group-section form>button{align-self:flex-start}.group-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.group-toggle{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:13.5px}.group-toggle input{width:16px;height:16px}.group-empty{max-width:560px;padding:32px 0}.group-empty p,.groups-page p{line-height:1.55;font-size:13.5px}.group-text{white-space:pre-wrap;overflow-wrap:anywhere}.group-schedule{padding:12px 0}.group-schedule small{display:block;color:var(--muted);margin-top:6px;font-size:12px}@media(max-width:640px){.group-stats,.group-form-row,.group-grid{grid-template-columns:1fr}}:root{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Inter,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";color:#171717;background:#fff;font-synthesis:style;--ink: #171717;--body: #333331;--muted: #6f6f6a;--faint: #75756f;--line: #e9e9e5;--line-strong: #dcdcd6;--soft: #f7f7f5;--inset: #f0f0ed;--sidebar: #fbfbfa;--accent: #f4632b;--ok: #1e7a4c;--danger: #a33448;--r-card: 14px;--r-btn: 10px;--r-pill: 999px;--shadow-pop: 0 18px 50px rgba(20, 20, 18, .16), 0 2px 8px rgba(20, 20, 18, .06)}*{box-sizing:border-box}body{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}a{color:var(--ink);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:6px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;font-weight:700;line-height:1.2;letter-spacing:-.02em;color:var(--ink);margin-bottom:6px}h2{font-size:18px;font-weight:600;letter-spacing:-.015em;line-height:1.3}h3{font-size:15.5px;line-height:1.35;font-weight:600;letter-spacing:-.012em}svg{flex-shrink:0}.muted{color:var(--muted)}.small-text{font-size:12px}.lead{font-size:16px;line-height:1.62}.primary,.secondary,.danger-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:36px;border-radius:var(--r-btn);padding:0 14px;line-height:1.5;font-size:13px;font-weight:500;border:1px solid transparent;white-space:nowrap;transition:background .14s ease,border-color .14s ease}.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.primary:hover{background:#30302d;border-color:#30302d}.primary:active,.secondary:active{transform:translateY(1px)}.secondary{border-color:var(--line-strong);background:#fff;color:var(--ink)}.secondary:hover{background:#fafaf8;border-color:#c9c9c2}.danger-button{background:var(--danger);color:#fff}.text-button{display:inline-flex;align-items:center;gap:6px;padding:6px 0;color:var(--muted);font-size:12.5px;font-weight:500;text-align:left}.text-button:hover{color:var(--ink);text-decoration:underline;text-underline-offset:2px}.danger{color:var(--danger)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--r-btn);color:var(--muted)}.icon-button:hover{background:var(--soft);color:var(--ink)}.brand{display:flex;align-items:center;width:65px;flex-shrink:0}.brand.small{width:46px}.app-shell{min-height:var(--tg-viewport-stable-height, 100dvh)}.sidebar{width:252px;background:var(--sidebar);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:14px 12px 12px;overflow-y:auto;z-index:20}.sidebar>.brand{margin:0 12px 14px}.sidebar nav{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:1px}.sidebar nav button{display:flex;align-items:center;gap:10px;min-height:34px;width:100%;padding:0 10px;font-size:14px;font-weight:400;color:var(--body);text-align:left;border-radius:8px;transition:background .15s}.sidebar nav button svg{color:var(--muted)}.sidebar nav button:hover{background:#f1f1ee}.sidebar nav button.selected{background:#ececea;color:var(--ink);font-weight:500}.sidebar nav button.selected svg{color:var(--ink)}.sidebar nav b{font-size:10px;margin-left:auto;border-radius:var(--r-pill);min-width:20px;padding:1px 6px;text-align:center;background:#fff;color:var(--ink)}.sidebar-bottom{margin-top:auto;padding-top:24px}.account{display:flex;gap:10px;align-items:center;text-align:left;padding:8px;width:100%;border-radius:var(--r-btn)}.account:hover{background:#f1f1ee}.account>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:500}.account small{display:block;color:var(--muted);font-size:11.5px;font-weight:400}.avatar{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex-shrink:0;background:#ececea;color:var(--body);border-radius:50%;font-size:11px;font-weight:600}.avatar.self{background:var(--ink);color:#fff}.avatar.large{width:44px;height:44px;font-size:15px}.avatar.xl{width:76px;height:76px;font-size:24px}.main{margin-left:252px;padding:52px clamp(24px,4vw,40px) 80px;max-width:1520px}.mobile-brand{display:none}.offline-banner{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:20px;flex-shrink:0}.offline-banner>span{width:4px;height:4px;border-radius:50%;background:#b4b4b4}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px;flex-shrink:0}.page-header h1{font-size:26px;font-weight:700;letter-spacing:-.02em}.page-header p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.header-actions{display:flex;gap:9px;align-items:center;flex-shrink:0}.review-button{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#7a6535;padding:9px 14px;border-radius:var(--r-pill);border:1px solid #efe7d2;background:#fbf7ec}.review-button:hover{background:#f6f0df}.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:26px}.toolbar>.muted{margin-left:auto;font-size:12px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);padding:0 15px;border-radius:var(--r-btn);width:min(450px,100%);color:var(--muted)}.search input{border:0;background:none;width:100%;min-width:0;padding:11px 0;font-size:13px;outline-offset:0}.search input:focus{outline:none}.search:focus-within{border-color:#b9b9b9;outline:2px solid #dcdcdc;outline-offset:1px}input,select,textarea{background:#fff;border:1px solid var(--line-strong);border-radius:var(--r-btn);padding:9px 12px;font-size:13.5px;line-height:1.5;min-width:0;max-width:100%}input:hover,select:hover,textarea:hover{border-color:#c9c9c2}input:focus,select:focus,textarea:focus{border-color:var(--ink);outline:none}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--ink);width:16px;height:16px;margin:0;cursor:pointer}input[type=range]{accent-color:var(--ink);padding:0;width:100%}.people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.person-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:19px 20px;text-align:left;min-height:240px;transition:border-color .16s ease}.person-card:hover{border-color:#d8d8d1}.person-card.my-card{background:#fff;color:var(--ink);border-color:var(--line)}.person-top{display:flex;align-items:center;gap:10px;margin-bottom:18px}.person-top>.muted{font-size:12px;flex:1}.person-top>svg{color:#b4b4b4}.person-card h3{font-size:19px;line-height:1.25;font-weight:600;letter-spacing:-.02em;margin-bottom:6px;overflow-wrap:anywhere}.aliases{color:var(--muted);font-size:12px;margin-bottom:16px;line-height:1.5;overflow-wrap:anywhere}.person-summary{border-top:1px solid var(--line);margin-top:auto;padding-top:16px}.person-summary p{font-size:14px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:8px}.person-summary>span{font-size:11px;color:var(--faint)}.empty{margin:45px auto;padding:25px 20px;max-width:500px;text-align:center}.empty h3{font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.3;color:var(--ink);margin-bottom:10px}.empty p{color:var(--muted);line-height:1.6;font-size:13.5px;margin-bottom:20px}.page-chat{height:var(--tg-viewport-stable-height, 100dvh);display:flex;flex-direction:column;padding-top:24px;padding-bottom:8px}.page-chat .page-header{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.chat-layout{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:820px;margin:0 auto}.messages{overflow-y:auto;overflow-x:hidden;flex:1;min-height:40px;padding:18px 12px 8px;scroll-behavior:smooth}.messages .empty{margin-top:6vh}.conversation-starters{display:grid;gap:8px;max-width:300px;margin:0 auto}.conversation-starters button{min-height:40px;justify-content:center;white-space:normal}.message{max-width:90%;margin:0 0 28px;padding:0}.message.user{margin-left:auto;padding:12px 18px 4px;background:var(--soft);border-radius:var(--r-card);max-width:85%}.message.assistant{margin-right:auto;padding:5px 4px}.message-by{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:12px;color:var(--muted)}.message-by>time{font-size:11px;color:var(--faint)}.private-label{display:flex;gap:4px;align-items:center;margin-left:auto;font-size:10px}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:15px}.message-actions{display:flex;align-items:center;justify-content:flex-end;gap:15px;min-height:30px;margin-top:7px}.message-actions .icon-button{opacity:.65;width:28px;height:28px}.message-actions>.text-button{font-size:11px;margin-right:auto}.message-image{display:block;max-width:100%;max-height:250px;object-fit:contain;border-radius:var(--r-btn);margin-bottom:10px}audio{max-width:100%;margin:10px 0}.processing{display:flex;gap:7px;align-items:center;font-size:11.5px;color:var(--muted);margin-top:10px;margin-bottom:0}.composer-wrap{flex-shrink:0;padding:12px;background:#fff}.composer{background:#fff;border:1px solid var(--line-strong);border-radius:var(--r-card);padding:14px 14px 10px;box-shadow:0 3px 15px #00000008}.composer:focus-within{border-color:var(--ink)}.composer>textarea{display:block;border:0;padding:0 8px;background:none;width:100%;min-height:26px;max-height:min(160px,25dvh);font-size:15px;line-height:1.5;resize:none;overflow-y:auto}.composer>textarea:focus{outline:none}.composer-bottom{display:flex;align-items:center;gap:12px;margin-top:6px}.composer-tools{display:flex;align-items:center;gap:4px;color:#646464}.memory-toggle{display:flex;align-items:center;gap:7px;font-size:12px;min-height:40px;color:#646464;margin-left:auto;cursor:pointer}.memory-toggle input{width:16px;height:16px}.send-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--ink);color:#fff;border-radius:50%}.composer-note{font-size:10px;color:#646464;text-align:center;margin:10px 0 0}.attachment{display:flex;gap:10px;align-items:center;font-size:12px;background:var(--soft);border:1px solid var(--line);padding:8px 11px;border-radius:var(--r-btn);margin-bottom:8px}.attachment>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.recording{color:var(--danger);background:#f5e7eb}.badge{display:inline-flex;align-items:center;width:fit-content;font-size:10.5px;font-weight:500;padding:3px 8px;border-radius:var(--r-pill);color:var(--muted);background:var(--inset)}.badge.confirmed,.badge.completed{background:#e9f5ee;color:var(--ok)}.badge.disputed,.badge.proposed{background:#fbf1df;color:#a06a12}.badge.hypothesis{background:#eee9f4;color:var(--muted)}.badge.archived,.badge.superseded,.badge.cancelled{background:var(--inset);color:var(--muted)}.memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fact-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:19px 20px;margin-bottom:14px;transition:border-color .16s ease}.fact-card:hover{border-color:#d8d8d1}.memory-grid .fact-card{margin:0}.fact-top{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:12px}.fact-top>.muted{font-size:11px}.fact-content{text-align:left;padding:0;margin:0 0 18px;font-size:14.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;width:100%}.fact-content:hover{color:var(--muted)}.fact-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.fact-bottom>.text-button{font-size:11.5px;white-space:nowrap}.chips{display:flex;flex-wrap:wrap;gap:5px}.chip{display:inline-flex;background:var(--inset);padding:3px 8px;border-radius:var(--r-pill);font-size:10.5px;color:var(--muted)}.review-strip{display:flex;align-items:center;width:100%;padding:15px 18px;border:1px solid #efe7d2;background:#fbf7ec;color:#7a6535;border-radius:var(--r-card);margin-bottom:24px;gap:16px;text-align:left}.review-strip>span{flex:1}.review-strip strong{font-size:13px;font-weight:600}.review-strip small{display:block;margin-top:4px;font-size:11.5px;color:#735c26}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:26px;overflow-x:auto}.tabs>button{color:var(--muted);padding:5px 0 12px;white-space:nowrap;font-size:13px;border-bottom:2px solid transparent}.tabs>button.active{color:var(--ink);border-bottom-color:var(--ink)}.goal-card{display:flex;gap:18px;padding:24px 0;border-bottom:1px solid var(--line)}.goal-card:first-child{padding-top:8px}.goal-symbol{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--body);background:var(--inset);flex-shrink:0}.goal-main{flex:1;min-width:0}.goal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.goal-heading>button{padding:0;text-align:left}.goal-heading h3{font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.3;color:var(--ink);margin-bottom:8px}.goal-heading .badge{flex-shrink:0;margin-top:3px}.goal-main>p{color:var(--muted);font-size:13px;margin-bottom:16px}.next-step{padding:12px 16px;background:var(--soft);border-left:2px solid var(--line-strong);border-radius:0 6px 6px 0;margin:14px 0}.next-step>span{color:var(--faint);font-size:11px}.next-step>p{color:var(--body);font-size:13px;margin:4px 0 0}.goal-progress{display:flex;align-items:center;gap:12px;margin:16px 0 12px}.goal-progress>div{flex:1;height:4px;background:var(--inset);border-radius:3px}.goal-progress i{display:block;height:100%;background:var(--ink);border-radius:3px}.goal-progress>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.goal-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.goal-footer>span{color:var(--faint);font-size:11.5px}.goal-footer>.text-button{font-size:12.5px}.goal-card.completed{opacity:.75}.graph-toolbar{display:flex;gap:12px;align-items:flex-end;margin-bottom:16px}.graph-toolbar>label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.graph-toolbar select{font-size:12px;padding:8px 10px}.graph-toolbar>.icon-button{margin-left:auto}.graph-canvas{background:#fbfbf9;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden}.graph-canvas svg{display:block;width:100%;max-width:780px;margin:auto}.graph-node{cursor:grab;touch-action:none}.graph-node:active{cursor:grabbing}.graph-node:hover circle{stroke:#646464}.graph-node .node-label{font-size:14px;fill:#646464;paint-order:stroke;stroke:#f8f8f8;stroke-width:5px;stroke-linejoin:round}.graph-link{cursor:pointer}.graph-link:hover line:first-child{stroke:var(--ink);stroke-width:2.5px}.edge-label{font-size:12px;fill:var(--muted);paint-order:stroke;stroke:#fbfbf9;stroke-width:5px}.graph-help{font-size:11px;color:var(--faint);padding:0 20px 12px;margin:0;text-align:center}.relationship-list{display:grid;gap:3px;margin:24px 0}.relationship-list>button{display:flex;align-items:center;justify-content:space-between;padding:12px 2px;gap:15px;text-align:left;border-bottom:1px solid var(--line);font-size:12.5px}.relationship-list>button>span:first-child,.relationship-list>button>span:last-child{width:30%}.relationship-list>button>span:last-child{text-align:right}.relationship-label{color:var(--muted);padding:3px 10px;border-radius:var(--r-pill);background:var(--inset);text-align:center}.notice{display:flex;align-items:flex-start;gap:10px;background:var(--soft);border:1px solid var(--line);padding:13px 15px;border-radius:var(--r-card);margin-bottom:20px;color:var(--muted);font-size:12.5px;line-height:1.55}.notice>svg{margin-top:2px}.settings-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(240px,.62fr);gap:48px;max-width:1050px}.settings-section{margin-bottom:28px;padding-bottom:26px;border-bottom:1px solid var(--line)}.settings-section h3,.settings-aside h3{font-size:16px;color:var(--ink);margin-bottom:20px}.settings-section>.muted{font-size:12.5px;line-height:1.6;margin-bottom:0}.settings-aside{padding-top:4px}.settings-aside>section{margin-bottom:32px}.settings-aside h3{font-size:13.5px;margin-bottom:12px}.settings-aside p{font-size:12.5px;line-height:1.6;color:var(--muted)}.settings-aside .secondary{font-size:12.5px}.settings-aside .danger{display:flex;margin-top:15px;font-size:11px}.audit-list{padding:0;list-style:none;margin:0}.audit-list li{padding:8px 0;border-bottom:1px solid #eeeeee}.audit-list span{display:block;font-size:11px;color:#646464}.audit-list time{font-size:9px;color:#646464}.job-error{margin-bottom:16px;border-left:2px solid #c7a36b;padding-left:12px}.job-error p{color:#9c835e}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);margin-bottom:18px;min-width:0}.field>span{font-size:12px;font-weight:500}.field>small{color:var(--faint);font-size:11px;line-height:1.55}.field input,.field textarea,.field select{width:100%}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-footer{display:flex;justify-content:flex-end;padding-top:10px;margin-top:10px}.form-error{color:var(--danger);background:#fbecee;border-radius:var(--r-btn);padding:10px 13px;margin:12px 0;font-size:12.5px;overflow-wrap:anywhere}.switch-label{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px;margin-bottom:22px}.switch-label>input{flex-shrink:0}.switch-label small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.setting-block{border:1px solid var(--line);background:#fff;padding:18px;border-radius:var(--r-card);margin-bottom:22px}.setting-block>.switch-label:last-child{margin-bottom:0}fieldset{border:1px solid var(--line);padding:13px;border-radius:var(--r-card);margin:0 0 22px}legend{font-size:11px;color:var(--muted);padding:0 6px}.person-checks{display:flex;gap:10px;flex-wrap:wrap;max-height:170px;overflow-y:auto}.check-chip{display:flex;align-items:center;gap:7px;font-size:12.5px;background:var(--soft);padding:8px 10px;border-radius:var(--r-btn);cursor:pointer}.check-chip input{width:13px;height:13px}.modal{border:1px solid var(--line);border-radius:18px;padding:0;background:#fff;color:var(--ink);width:min(600px,calc(100vw - 36px));max-height:min(90dvh,950px);box-shadow:var(--shadow-pop)}.modal.wide{width:min(740px,calc(100vw - 36px))}.modal::backdrop{background:#14141261;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{font-size:17px;font-weight:600;letter-spacing:-.015em;margin:0}.modal-body{padding:24px}.modal-body>.danger:last-child{margin-top:26px}.modal .fact-card{border-color:var(--line)}.person-detail-head{display:flex;align-items:center;gap:20px;margin-bottom:25px}.person-detail-head .muted{font-size:11px}.person-detail-head h2{margin:4px 0;overflow-wrap:anywhere}.person-detail-head p{color:#646464;font-size:12px;margin-bottom:0}.action-row{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.action-row button{font-size:12px;padding:9px 12px}.detail-section-title{font-size:15px;margin:30px 0 18px}.detail-statement{font-size:21px;line-height:1.65;overflow-wrap:anywhere}blockquote{margin:25px 0;padding:14px 18px;border-left:2px solid #b5b5b5;background:#f8f8f8;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}blockquote>span{display:block;color:#646464;font-size:10px;margin-bottom:8px}.details{margin:26px 0;font-size:12px}.details>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eeeeee}.details dt{color:#646464}.details dd{margin:0;text-align:right}.history{margin-top:23px;font-size:12px;color:#646464}.history summary{cursor:pointer}.history p{padding:10px 0;border-bottom:1px solid #eeeeee}.history small{display:block;color:#646464;margin-top:5px;font-size:10px}.goal-title{margin:17px 0}.progress-note{border-left:2px solid #dddddd;padding:4px 0 4px 17px;margin-bottom:16px}.progress-note>time{font-size:10px;color:#646464}.progress-note>p{font-size:13px;margin:7px 0 0;white-space:pre-wrap}.merge-preview{display:flex;align-items:center;justify-content:center;gap:24px;margin:25px 0;padding:22px;border:1px solid #eeeeee;border-radius:12px}.merge-preview>div{display:flex;flex-direction:column;align-items:center;gap:10px;width:40%;text-align:center}.merge-preview strong{font-size:14px;overflow-wrap:anywhere}.merge-preview small{font-size:11px;color:#646464}.merge-preview>svg{color:#646464}.merge-history>div{padding:17px 0;border-bottom:1px solid var(--line)}.merge-history p{margin-bottom:5px}.merge-history small{display:block;color:#646464;font-size:11px;margin-bottom:10px}.source-image{display:block;max-width:100%;max-height:500px;margin:18px auto;object-fit:contain}.source-text{padding:17px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.review-card{padding:22px 0;border-bottom:1px solid #eeeeee}.review-card:first-child{padding-top:0}.review-card h3{font-size:17px}.review-card>p{font-size:14px;color:#858585}.review-card>.text-button{margin:10px 15px 0 0}.review-choices{display:grid;gap:9px;margin-bottom:12px}.review-choices>button{justify-content:flex-start;padding:10px 13px;text-align:left}.review-choices>button>span:nth-child(2){flex:1}.review-choices small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;font-weight:400;color:#646464;margin-top:3px}.confirm-copy{line-height:1.8;font-size:14px}.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.toast{position:fixed;bottom:25px;left:calc(50% + 120px);transform:translate(-50%);z-index:1000;max-width:min(600px,calc(100vw - 35px));background:#222;color:#fff;border-radius:16px;padding:12px 15px 12px 20px;display:flex;align-items:center;gap:17px;font-size:13px}.toast .icon-button{color:#ddd;flex-shrink:0}.load-more{display:flex;margin:25px auto}.boot{height:var(--tg-viewport-stable-height, 100dvh);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;color:#646464}.boot>p{font-size:13px}.welcome{min-height:var(--tg-viewport-stable-height, 100dvh);max-width:1520px;margin:auto;padding:26px clamp(24px,5vw,80px) 24px}.welcome-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:25px;border-bottom:1px solid var(--line)}.welcome-top>span{color:var(--muted);font-size:12.5px}.welcome-body{max-width:1180px;text-align:center;margin:auto;padding:65px 0 44px}.welcome-body>h1{font-size:clamp(34px,5vw,62px);font-weight:600;line-height:1.08;letter-spacing:-.04em;margin:24px 0}.welcome-body>p{max-width:520px;margin:0 auto 24px;color:var(--muted);line-height:1.62;font-size:15px}.dev-login{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:30px}.dev-login>.badge{margin-bottom:4px}.dev-login>small{color:var(--faint);font-size:11.5px}.welcome>footer{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;padding-top:24px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spin{animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand svg{display:block;width:100%;height:auto;filter:invert(1);mix-blend-mode:multiply}.eyebrow{display:block;font-size:11px;font-weight:500;letter-spacing:.075em;text-transform:uppercase;color:var(--muted);margin-bottom:20px}.page-header>div:first-child{min-width:0}.avatar:not(.self){background:#ddd;color:#444}.empty-mark{display:flex;justify-content:center;margin:0 auto 20px}.empty-mark .brand{width:68px}.welcome-entry{display:flex;flex-direction:column;align-items:center;gap:14px}.welcome-entry .primary{min-height:44px;padding:0 20px}.welcome-entry p{color:var(--muted);font-size:12px;margin:0}.brand-stage{background:#000;border-radius:var(--r-card);padding:48px 36px 26px}.brand-stage .brand{width:clamp(220px,34vw,460px);margin:0 auto 46px}.brand-stage .brand svg{filter:none;mix-blend-mode:normal}.brand-stage-caption{border-top:1px solid #444;padding-top:22px;display:grid;grid-template-columns:repeat(3,1fr);color:#fff;font-size:17px}.brand-stage-caption>span:nth-child(2){text-align:center}.brand-stage-caption>span:last-child{text-align:right}.brand-stage-caption small{color:#999;font-size:10px;margin-right:10px}.settings-section h3{font-size:23px;letter-spacing:-.025em}.expense-amount>strong{letter-spacing:-.025em}@media(max-width:900px){.eyebrow{font-size:10px;margin-bottom:17px}.page-chat .eyebrow{display:none}.welcome-body .eyebrow{font-size:9px;letter-spacing:.04em}.welcome-body>h1{font-size:clamp(36px,8vw,56px);margin:24px 0}.brand-stage{padding:38px 22px 20px}.brand-stage .brand{width:min(80%,310px);margin-bottom:35px}.brand-stage-caption{font-size:13px;padding-top:16px}.brand-stage-caption small{display:block;margin:0 0 5px}.welcome>footer{font-size:10px;flex-direction:column;gap:5px}}@media(max-width:1050px){.sidebar{width:210px;padding:24px 12px 16px}.sidebar nav button{padding:11px 12px;font-size:14px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main{margin-left:210px;padding-left:28px;padding-right:28px}.page-header{gap:16px}.header-actions>.primary{padding:10px 12px}.page-header h1{font-size:28px}.page-header p{font-size:14px}.settings-layout{grid-template-columns:minmax(0,1fr);gap:36px}.settings-aside{display:grid;grid-template-columns:1fr 1fr;gap:25px}.memory-grid{grid-template-columns:1fr}}@media(max-width:900px){.sidebar{display:none}body{font-size:14px}.main{margin:0;padding:0 16px 32px}.mobile-brand{display:flex;align-items:center;gap:8px;position:sticky;top:0;z-index:15;height:52px;min-height:52px;margin:0 -4px 20px;background:#fff;flex-shrink:0}.offline-banner{margin-bottom:16px;font-size:9px}.page-header{align-items:flex-start;flex-direction:row;margin-bottom:24px;gap:16px}.page-header h1{font-size:24px;line-height:1.25;margin-bottom:8px}.page-header p{font-size:13px;line-height:1.5}.header-actions{flex-direction:row;flex-wrap:wrap;gap:8px;padding:0}.header-actions>.primary{font-size:13px;padding:11px 15px;gap:7px}.header-actions>.primary svg{width:15px}.review-button{font-size:9px;padding:6px}.toolbar{gap:9px;margin-bottom:20px;flex-wrap:wrap}.toolbar>.search{flex:1;min-width:150px}.toolbar select{padding:9px 8px;font-size:11px;max-width:150px}.toolbar>.muted{font-size:10px}.search input{font-size:12px;padding:10px 0}.people-grid{gap:14px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.person-card{min-height:236px;padding:22px}.person-top{margin-bottom:16px}.person-summary p{-webkit-line-clamp:2}.page-chat{height:var(--tg-viewport-stable-height, 100dvh);padding:0 16px max(8px,env(safe-area-inset-bottom))}.page-chat .mobile-brand{margin-bottom:0}.page-chat .offline-banner{margin-bottom:13px}.messages{padding:12px 0 0;min-height:40px}.messages .empty{margin:0 auto;padding-top:20px}.messages .empty h3{font-size:21px}.messages .empty p{font-size:12px;line-height:1.8}.message{max-width:100%;margin-bottom:22px}.message.user{max-width:90%;padding:12px 16px 6px}.message-text{font-size:16px;line-height:1.6}.message-by{gap:10px;font-size:10px}.message-by>time{font-size:9px}.composer-wrap{padding:8px 0 0}.composer{padding:12px 10px 8px;border-radius:26px}.composer>textarea{font-size:16px;min-height:26px;line-height:1.5}.composer-bottom{margin-top:5px;gap:10px}.composer-tools>.icon-button{width:40px;height:40px}.memory-toggle{font-size:11px}.composer-note{display:none;font-size:11px;line-height:1.4;margin:8px 6px 0}.empty{margin:20px auto;padding:25px 5px}.fact-card{padding:16px}.fact-content{font-size:16px}.tabs{gap:22px;margin-bottom:18px}.tabs>button{font-size:11px}.goal-card{gap:12px;padding:24px 0}.goal-symbol{width:34px;height:34px;border-radius:12px}.goal-symbol>svg{width:19px}.goal-heading{flex-direction:column-reverse;gap:9px}.goal-heading h3{font-size:20px}.goal-main>p{font-size:12px}.goal-footer{flex-wrap:wrap}.goal-footer>.text-button{margin-left:auto}.next-step{padding:10px 12px}.next-step>p{font-size:12px}.graph-toolbar{flex-wrap:wrap;gap:9px}.graph-toolbar>label{gap:7px;font-size:11px}.graph-toolbar select{font-size:10px;max-width:155px}.graph-toolbar>.icon-button{width:26px}.graph-canvas{overflow-x:auto}.graph-canvas svg{min-width:520px}.graph-help{font-size:9px;width:520px;text-align:left;padding:0 15px 12px}.relationship-list>button{font-size:10px;gap:8px}.relationship-label{padding:3px 5px}.settings-aside{grid-template-columns:1fr;gap:0}.settings-layout{gap:40px}.settings-section h3{font-size:17px}.field input,.field textarea,.field select{font-size:16px}.field>span{font-size:11px}.modal{width:calc(100vw - 24px);max-height:94dvh;border-radius:20px}.modal.wide{width:calc(100vw - 18px)}.modal-head{padding:17px 20px}.modal-head h2{font-size:17px}.modal-body{padding:20px}.form-grid{gap:11px}.form-grid input,.form-grid select{font-size:16px;padding:10px 8px}.detail-statement{font-size:18px}.action-row button{font-size:11px}.person-detail-head{gap:15px}.avatar.xl{width:59px;height:59px;font-size:21px}.person-detail-head h2{font-size:22px}.notice{font-size:11px;padding:12px}.toast{bottom:max(20px,env(safe-area-inset-bottom));left:50%;font-size:12px;width:max-content}.welcome{padding:22px 20px}.welcome-top>span{font-size:10px}.welcome-body{padding:45px 0 30px}.welcome-body>p{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.message .source-image{max-width:min(360px,100%);max-height:300px;margin:12px 0;border-radius:12px}.message-markdown{white-space:normal;overflow-wrap:anywhere}.message-markdown>:first-child{margin-top:0}.message-markdown>:last-child{margin-bottom:0}.message-markdown p{margin:0 0 14px;white-space:pre-wrap}.message-markdown :is(h1,h2,h3,h4,h5,h6){font-size:1.1em;line-height:1.4;margin:22px 0 10px}.message-markdown :is(ul,ol){margin:12px 0;padding-left:24px}.message-markdown li{padding-left:3px;margin:6px 0}.message-markdown li>p{margin-bottom:6px}.message-markdown blockquote{margin:16px 0;padding:8px 16px;border-left:3px solid var(--line);color:var(--muted);background:none;font-size:inherit;line-height:inherit}.message-markdown blockquote>:last-child{margin-bottom:0}.message-markdown code{font-size:.9em;background:var(--soft);padding:2px 5px;border-radius:4px}.message-markdown pre{max-width:100%;overflow-x:auto;background:var(--soft);padding:14px;border-radius:8px}.message-markdown pre code{padding:0;white-space:pre}.message-markdown a{text-decoration:underline;text-underline-offset:3px}.expenses-page{max-width:1040px;padding-bottom:30px}.expense-controls{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:24px}.expense-controls .field{min-width:170px;margin-bottom:0}.expense-actions{display:flex;gap:10px;margin-left:auto;flex-wrap:wrap}.expense-overview{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.expense-amount>span{color:var(--muted);font-size:13px}.expense-amount>strong{display:block;font-size:clamp(26px,3vw,38px);color:var(--ink);line-height:1.2;margin:8px 0;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.expense-amount small{font-size:14px;color:var(--muted);font-weight:500}.expense-amount p,.expense-explanation,.expense-updated{color:var(--muted);font-size:12.5px}.expense-amount p{margin-bottom:0}.expense-explanation{max-width:80ch;margin-top:14px;margin-bottom:28px}.expense-counters{margin:0;display:grid;align-content:center;gap:12px;font-size:13px}.expense-counters>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px}.expense-counters dt{color:var(--muted)}.expense-counters dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.expense-members{margin:30px 0}.expense-member{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.expense-member>div>span,.expense-table td>span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.expense-member>strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.expense-member small{font-size:12px;font-weight:400}.expense-table-wrap{overflow-x:auto;width:100%}.expense-table{width:100%;border-collapse:collapse;font-size:12.5px}.expense-table th{text-align:left;color:var(--faint);font-weight:500;padding:10px;border-bottom:1px solid var(--line);white-space:nowrap;font-size:11.5px}.expense-table td{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top;font-variant-numeric:tabular-nums}.expense-table th:nth-last-child(-n+4),.expense-table td:nth-last-child(-n+4){text-align:right;white-space:nowrap}.expense-table td:first-child{min-width:205px}.expense-table td>strong{font-weight:500}.expense-details{margin-top:26px;padding:16px 0}.expense-details summary{cursor:pointer;color:var(--ink);font-size:13.5px}.expense-details .expense-counters{max-width:620px;margin:18px 0}.expense-details p{max-width:80ch;font-size:12.5px;color:var(--muted)}.expense-updated{margin-top:14px}.expense-empty{padding:18px;background:var(--soft);border-radius:var(--r-card);font-size:13.5px}.expense-loading{display:flex;gap:12px;align-items:center;padding:32px 0;color:var(--muted);font-size:13px}@media(max-width:900px){.expense-controls{gap:12px}.expense-controls .field{flex:1 1 180px;min-width:0}.expense-actions{width:100%;margin:0}.expense-actions button{flex:1;padding:10px;font-size:13px}.expense-overview{grid-template-columns:1fr;gap:22px;padding:22px 0}.expense-member{align-items:flex-start}.expense-member>strong{font-size:17px;white-space:nowrap}.expense-member>div{min-width:0;overflow-wrap:anywhere}.expense-counters{font-size:13px}}.mobile-brand>.brand{margin-right:auto}.account:hover{background:#ededed}.page-chat .composer-note.private-note{display:block}.page-chat .message-by .brand{width:34px}.modal.nav-drawer{inset:0 auto 0 0;margin:0;width:min(310px,calc(100vw - 40px));height:var(--tg-viewport-stable-height, 100dvh);max-height:var(--tg-viewport-stable-height, 100dvh);border:0;border-radius:0 20px 20px 0;background:#f9f9f9}.nav-drawer .modal-head{background:#f9f9f9;border:0;padding:14px 18px}.nav-drawer .modal-body{padding:14px 12px 24px}.nav-drawer nav{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:5px}.nav-drawer nav button{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px 16px;border-radius:12px;font-size:15px;text-align:left}.nav-drawer nav button:hover{background:#eee}.nav-drawer nav button.selected{background:#e9e9e9;font-weight:500}.nav-drawer nav b{margin-left:auto;font-size:11px}.drawer-account{border-top:1px solid var(--line);margin:26px 12px 0;padding-top:20px;color:var(--muted);font-size:12px}.goal-chat{flex:1;min-height:0;display:flex;flex-direction:column}.goal-chat .chat-layout{flex:1;min-height:0}.goal-chat-header{display:flex;align-items:center;gap:10px;width:100%;max-width:820px;margin:0 auto;padding:8px 0 14px;flex-shrink:0}.goal-chat-header>div{flex:1;min-width:0}.goal-chat-header h2{font-size:16px;line-height:1.4;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goal-chat-header>div>span{font-size:11px;color:var(--muted)}.goal-chat-header .secondary{font-size:12.5px;white-space:nowrap}.goal-conversations{min-width:0;max-width:100%;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.goal-conversations>p{margin:0 12px 8px;font-size:12px;color:var(--muted)}.goal-conversations button{min-width:0;max-width:100%}.goal-conversations button svg{flex-shrink:0}.goal-conversations button span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar .goal-conversations button{font-size:13px}.person-brief{margin-top:22px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-card);background:#fbfbf9;overflow-wrap:anywhere}.person-brief-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;margin-bottom:12px}.person-brief-heading h3{margin:0;font-size:15.5px;font-weight:600;letter-spacing:-.012em}.person-brief-heading>span,.person-brief>small{font-size:12px;line-height:1.5;color:var(--muted)}.person-brief-text{margin:0 0 14px;font-size:14px;line-height:1.6}.brief-pending{display:flex;align-items:center;gap:10px;color:var(--muted)}.brief-pending svg{flex-shrink:0}.brief-evidence{font-size:12.5px;line-height:1.55;margin:12px 0}.brief-evidence summary{cursor:pointer;color:var(--muted)}.brief-evidence>div{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.brief-evidence>div p{margin-bottom:4px}.brief-evidence .text-button{display:inline-flex;margin-right:14px;min-height:34px}@media(max-width:600px){.person-brief{padding:16px}}.select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;background:#fff;border:1px solid var(--line-strong);border-radius:var(--r-btn);padding:9px 12px;font:inherit;font-size:13.5px;line-height:1.5;min-height:38px;min-width:0;max-width:100%;color:var(--ink)}.select-trigger>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.select-trigger>span:last-child{display:flex;color:var(--muted);flex-shrink:0}.select-trigger:hover{border-color:#c9c9c2}.select-trigger[data-state=open]{border-color:var(--ink)}.field .select-trigger{width:100%}.select-content{z-index:100;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:var(--r-card);padding:5px;box-shadow:var(--shadow-pop);width:var(--radix-select-trigger-width);min-width:160px;max-width:calc(100vw - 24px);max-height:min(320px,var(--radix-select-content-available-height));overflow:hidden}.select-options{padding:1px}.select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:36px;padding:8px 10px;border-radius:7px;font-size:13.5px;line-height:1.4;cursor:pointer;-webkit-user-select:none;user-select:none;overflow-wrap:anywhere}.select-option>span:last-child{flex-shrink:0}.select-option[data-highlighted]{background:var(--soft);outline:none}.select-option[data-state=checked]{font-weight:500}.select-option[data-disabled]{opacity:.4;pointer-events:none}.select-scroll{display:flex;justify-content:center;padding:3px;background:#fff}.graph-toolbar .select-trigger{font-size:12px;padding:7px 10px}.memory-toggle{position:relative;gap:6px;color:var(--muted);border-radius:20px;padding:0 4px}.memory-toggle input{position:absolute;width:1px;height:1px;padding:0;opacity:0}.memory-switch{display:block;width:28px;height:17px;border-radius:20px;background:#d9d9d9;padding:2px;flex-shrink:0;transition:background .15s}.memory-switch:after{content:"";display:block;width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .15s}.memory-toggle input:checked+.memory-switch{background:var(--ink)}.memory-toggle input:checked+.memory-switch:after{transform:translate(11px)}.memory-toggle:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}.memory-toggle:has(input:disabled){opacity:.45;cursor:default}@media(max-width:900px){.goal-chat-header{padding:4px 4px 10px;gap:4px}.goal-chat-header h2{font-size:14px}.goal-chat-header .secondary{padding:8px;font-size:11px;gap:5px}.goal-chat-header .icon-button{width:32px}.toolbar .select-trigger{width:100%}.nav-drawer .goal-conversations{margin-top:12px}}@media(prefers-reduced-motion:reduce){.memory-switch,.memory-switch:after{transition:none}}.calendar-settings h3,.calendar-open{display:flex;align-items:center;gap:8px}.calendar-list{max-height:240px;overflow:auto;margin-bottom:16px}.calendar-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.calendar-results{padding-left:20px;max-height:320px;overflow:auto}.calendar-results li{margin-bottom:12px;overflow-wrap:anywhere}.access-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:var(--bg)}.access-card{width:100%;max-width:480px;padding:32px;border:1px solid var(--line);border-radius:24px;background:#fff}.access-card h1{margin:16px 0;font-size:26px;overflow-wrap:anywhere}.access-card form{display:flex;flex-direction:column;gap:12px}.access-card .access-save{display:flex;align-items:center;gap:10px;margin:8px 0}.access-save input{width:auto}.access-card .primary{justify-content:center;margin-top:8px}
