:root{--bg:#f7f8fa;--paper:#fff;--ink:#262b3d;--muted:#818596;--line:#e9ebf1;--primary:#5c63d8;--primary-light:#efeffc;--warm:#b77b51;--radius:18px;--shadow:0 8px 30px rgba(38,43,61,.035);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible{outline:3px solid #b5b9ff;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #dfe2ec;border-radius:10px;background:#fff;color:var(--ink);padding:11px 13px;outline:none;transition:border .15s,box-shadow .15s}textarea{resize:vertical;min-height:110px;line-height:1.85}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #5c63d810}input::placeholder,textarea::placeholder{color:#989ba9}label{display:block;font-size:13px;font-weight:500}label input,label select,label textarea{margin-top:7px}button svg{vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.7px;line-height:1.4}h2{font-size:20px;letter-spacing:-.3px}h3{font-size:16px}small{font-size:11px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--primary);font-weight:600}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;border:1px solid var(--line);border-radius:10px;padding:10px 17px;background:#fff;font-weight:500;white-space:nowrap;transition:background .15s,transform .15s}.button:hover{background:#f4f4fa}.button.primary{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 3px 8px #5c63d819}.button.primary:hover{background:#4d54c9}.button.ghost{border-color:transparent;background:transparent;color:var(--muted)}.button.small{min-height:32px;padding:6px 11px;font-size:12px}.button.danger{color:#b74848;border-color:#f0d9d9}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;background:transparent;border-radius:8px;color:var(--muted);font-size:22px}.icon-button:hover{background:var(--primary-light);color:var(--primary)}.brand{display:flex;align-items:center;gap:10px;font-weight:650;font-size:16px;white-space:nowrap}.brand small{display:block;font-weight:400;letter-spacing:.2px;color:var(--muted);font-size:10px;margin-top:2px}.brand-mark{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:white;font-family:serif;font-size:25px;border-radius:12px;font-weight:500;box-shadow:0 5px 12px #5c63d820}.boot{display:flex;min-height:100dvh;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.skip-link{position:fixed;left:10px;top:-60px;z-index:999;background:#fff;padding:10px}.skip-link:focus{top:10px}.workspace{display:flex;min-height:100dvh}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 20px 20px;background:#fff;border-right:1px solid var(--line);z-index:10}.sidebar>.brand{margin-bottom:31px}.new-entry{margin-bottom:30px}.new-entry span{font-size:20px}.nav-caption{display:flex;align-items:center;justify-content:space-between;color:#a1a4b2;font-size:10px;letter-spacing:1.4px;padding:0 13px;margin:0 0 10px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;margin:4px 0;color:#737788;min-height:44px}.nav-item:hover{background:#f8f8fc;color:var(--ink)}.nav-item.active{background:var(--primary-light);color:var(--primary);font-weight:600}.nav-item .nav-dot{width:5px;height:5px;border-radius:50%;background:var(--primary);margin-left:auto}.sidebar-spaces{margin-top:26px;overflow-y:auto;flex:1;min-height:60px}.sidebar-spaces .nav-caption{margin-bottom:3px}.space-link{display:flex;align-items:center;gap:10px;padding:8px 14px;color:#777c8f;font-size:12px;border-radius:8px;min-width:0}.space-link span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.space-link:hover{background:var(--bg)}.space-dot{width:7px;height:7px;border-radius:3px;background:#8a91ce;flex-shrink:0}.tone-family .space-dot{background:#76a892}.tone-idea .space-dot{background:#c4a058}.tone-company .space-dot{background:#8a91ce}.tone-project .space-dot{background:#bf9b86}.sidebar-bottom{padding-top:18px}.private-badge{font-size:10px;color:#999eab;padding:10px 12px;display:flex;gap:7px;align-items:center}.status-dot{width:5px;height:5px;border-radius:50%;background:#88ad9c}.account-button{display:flex;width:100%;align-items:center;text-align:left;background:transparent;border:0;border-top:1px solid var(--line);gap:10px;padding:17px 5px 0}.account-button small{display:block;color:var(--muted)}.account-button .arrow{margin-left:auto;color:#aaa}.avatar,.mini-avatar{width:34px;height:34px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;background:#f1e9e2;color:#9b7a5f;font-size:14px;border:0;flex-shrink:0}.main-shell{width:calc(100% - 232px);margin-left:232px}.topbar{height:78px;display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:#ffffffa0;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;gap:14px;align-items:center;font-size:12px;color:#9b9eaa}.breadcrumb span{color:#d4d6df}.breadcrumb b{font-weight:500;color:#5a6073}.topbar-actions{display:flex;align-items:center;gap:18px}.top-date{font-size:11px;color:var(--muted)}.mobile-brand{display:none}#main{max-width:1510px;margin:auto;padding:39px 42px 60px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.page-head h1{margin:5px 0 8px}.page-head p{font-size:12px;color:var(--muted);margin:0}.head-decoration{width:66px;height:66px;border:1px solid #e2e4f1;border-radius:50%;position:relative;flex-shrink:0;margin:0 16px}.head-decoration:before,.head-decoration:after{content:"";position:absolute;inset:9px;border:1px solid #dbdeef;border-radius:50%}.head-decoration:after{inset:23px;background:#e9eafa;border:0}.today-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2,.panel-head h3{margin:0;font-weight:600}.panel-head small{color:var(--muted)}.composer{overflow:hidden;margin-bottom:28px}.composer-top{padding:22px 24px 15px;display:flex;align-items:center;gap:10px}.composer-top h2{font-size:15px;margin:0}.composer-top svg{color:var(--primary);width:18px}.composer textarea{min-height:137px;border:0;border-radius:0;padding:0 24px 15px;background:transparent;box-shadow:none;font-size:14px;resize:vertical}.composer-footer{border-top:1px solid #f0f1f5;margin:0 20px;padding:14px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.composer-hint{display:flex;gap:6px;align-items:center;color:#a2a5b1;font-size:10px}.composer-hint svg{width:13px;height:13px}.composer-buttons{display:flex;gap:6px}.composer-buttons .button{min-height:35px;padding:7px 12px;font-size:12px}.count-note{font-size:10px;color:#a7aab5;padding:0 24px 9px;display:flex;justify-content:space-between;gap:12px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px}.section-title h2{font-size:16px;margin:0}.text-link{border:0;background:transparent;color:var(--primary);font-size:12px;padding:0;cursor:pointer}.entry-list{display:grid;gap:12px}.entry-card{padding:19px 22px;transition:box-shadow .15s}.entry-card:hover{box-shadow:0 5px 20px #30345408}.entry-top{display:flex;align-items:center;gap:9px;font-size:11px;color:#999dac;flex-wrap:wrap}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;background:#f1f2f9;color:#777ba8;font-size:10px;padding:2px 7px;font-weight:500}.tag.money{background:#eaf4ef;color:#648d79}.tag.meeting{background:#f7efe8;color:#a98769}.tag.idea{background:#fbf4df;color:#a38c48}.tag.health{background:#eaf5f4;color:#5e9692}.tag.private{background:#f4f4f6;color:#8c8f9c}.entry-top .entry-number{margin-left:auto;font-size:10px;color:#b2b5c1}.entry-title{display:block;font-weight:600;margin:12px 0 7px;font-size:14px;border:0;background:transparent;padding:0;text-align:left;overflow-wrap:anywhere}.entry-content{font-size:12px;color:#7b8092;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}.entry-bottom{display:flex;align-items:center;gap:10px;margin-top:14px;color:#9b9fab;font-size:10px;flex-wrap:wrap}.entry-bottom svg{width:12px;height:12px}.entry-bottom>span{display:inline-flex;align-items:center;gap:4px}.entry-bottom .entry-actions{margin-left:auto;display:flex;gap:8px}.entry-actions .icon-button{width:26px;height:26px}.entry-actions svg{width:14px;height:14px}.entry-amount{color:#5f917e;font-weight:600;margin-left:auto}.entry-amount.negative{color:#b78973}.aside-stack{display:grid;gap:20px}.glance{padding:22px}.glance .panel-head{margin-bottom:20px}.glance h3{font-size:13px}.glance-values{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat b{font-size:25px;font-weight:500;display:block;line-height:1.25;letter-spacing:-1px}.stat span{font-size:10px;color:var(--muted)}.aside-space{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f0f1f6}.aside-space:last-child{border-bottom:0;padding-bottom:0}.space-icon{display:inline-flex;align-items:center;justify-content:center;background:#eeeffa;color:#8389c6;width:34px;height:34px;border-radius:10px;flex-shrink:0}.space-icon svg{width:16px;height:16px}.tone-family .space-icon{background:#edf5ef;color:#7b9c86}.tone-idea .space-icon{background:#fbf4e5;color:#c1a265}.tone-project .space-icon{background:#f6eee9;color:#b79885}.aside-space strong{font-size:11px;font-weight:500;display:block;overflow-wrap:anywhere}.aside-space small{color:#aaaebb;font-size:9px}.aside-space .arrow{margin-left:auto;color:#b6b8c4}.ai-aside{padding:23px;background:#f0f0fc;border:1px solid #e7e7f6;border-radius:var(--radius)}.ai-aside svg{color:var(--primary);width:25px;height:25px;margin-bottom:13px}.ai-aside h3{font-size:14px;margin-bottom:8px}.ai-aside p{font-size:11px;color:#8686a2;line-height:1.9;margin-bottom:20px}.ai-aside .button{background:#fff;border:0;font-size:11px;color:var(--primary);width:100%}.note-aside{font-size:11px;color:#9b9faf;line-height:1.9;padding:0 15px}.note-aside b{display:block;color:#868b9c;font-weight:500;margin-bottom:5px}.empty-state{padding:45px 20px;text-align:center;color:var(--muted)}.empty-state .empty-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:#f4f4fa;color:#aaaed0;margin:0 auto 15px}.empty-state h3{font-size:14px;font-weight:500;color:#6a7085;margin-bottom:7px}.empty-state p{font-size:12px;max-width:360px;margin:0 auto 17px}.empty-state .button{font-size:12px}.filters{display:flex;gap:10px;flex-wrap:wrap;padding:15px;margin-bottom:20px;align-items:center}.filters input,.filters select{width:auto;min-height:39px;padding:8px 11px;font-size:12px}.filters input[type=search]{flex:1;min-width:180px}.filters input[type=date]{max-width:146px}.filter-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.filter-label input{margin:0}.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.chip{padding:6px 13px;border:1px solid var(--line);border-radius:8px;background:transparent;color:#84899b;font-size:11px}.chip.active{background:var(--primary-light);color:var(--primary);border-color:#dedef7}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.space-card,.person-card{padding:24px;min-width:0}.space-card .space-icon{width:42px;height:42px;border-radius:12px;margin-bottom:22px}.card-labels{display:flex;align-items:start;justify-content:space-between;gap:10px}.space-card h3,.person-card h3{margin-bottom:8px;overflow-wrap:anywhere}.space-card p,.person-card p{font-size:12px;color:var(--muted);min-height:44px;overflow-wrap:anywhere}.card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;font-size:10px;color:var(--muted)}.person-card .avatar{width:42px;height:42px;border-radius:14px;margin-bottom:18px;background:#e9edf6;color:#8d99bb}.person-roles{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:13px;min-height:24px}.load-more{margin-top:20px;text-align:center}.subtle-status{font-size:11px;color:var(--muted)}.error-panel{padding:24px;border:1px solid #efdada;background:#fff9f9;border-radius:14px;color:#a45151}.error-panel p{font-size:12px}.form-error{font-size:12px;color:#b74e50;background:#fff1f1;border-radius:8px;padding:10px 12px;white-space:pre-wrap}.form-note{font-size:11px;color:var(--muted);line-height:1.8;margin:8px 0 0}.form-note.warning{background:#fcf6e9;color:#a18951;border-radius:8px;padding:10px 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid>.wide{grid-column:1/-1}.form-grid label{min-width:0}.form-grid input,.form-grid select,.form-grid textarea{font-size:13px}.field-help{font-size:10px;color:var(--muted);font-weight:400;display:block;margin-top:4px}.dialog-body{padding:0 26px 23px}.dialog-body>p{font-size:13px;line-height:1.9}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px 19px;gap:10px}.dialog-head h2{font-size:18px;margin:0}.dialog-head p{margin:3px 0 0;color:var(--muted);font-size:11px}.dialog-footer{border-top:1px solid var(--line);padding:17px 26px;display:flex;align-items:center;gap:10px;justify-content:flex-end;background:#fcfcfe;border-radius:0 0 18px 18px}.dialog-footer .danger{margin-right:auto}dialog{border:1px solid var(--line);padding:0;border-radius:19px;box-shadow:0 20px 90px #151c3c25;width:min(650px,calc(100vw - 32px));max-height:90dvh;overflow:auto;color:var(--ink)}dialog::backdrop{background:#22284066;backdrop-filter:blur(3px)}dialog .detail-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9}.detail-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-bottom:18px}.people-picker{border:1px solid var(--line);border-radius:10px;padding:10px;max-height:160px;overflow:auto;display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.check-chip{display:flex;gap:5px;align-items:center;border:1px solid var(--line);padding:5px 8px;border-radius:6px;font-size:11px;font-weight:400}.check-chip:has(input:checked){border-color:#bebfed;background:#f2f2fc;color:var(--primary)}.check-chip input{width:13px;height:13px;box-shadow:none;margin:0;accent-color:var(--primary)}.new-person-row{display:flex;align-items:center;gap:8px;margin-top:9px}.new-person-row input{margin:0;min-width:0}.new-person-row .icon-button{flex-shrink:0}.divider{height:1px;background:var(--line);margin:23px 0}.detail-section-title{font-size:13px;margin:0 0 12px}.grant-row,.role-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.grant-row span:nth-child(2),.role-row span:nth-child(2){color:var(--muted);font-size:11px}.grant-row .button,.role-row .button{margin-left:auto}.inline-form{display:flex;gap:7px;margin-top:12px;align-items:end}.inline-form>label{flex:1;min-width:0}.inline-form input,.inline-form select{font-size:12px}.inline-form button{flex-shrink:0}.toast{position:fixed;left:50%;bottom:32px;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 24px;background:#32384e;color:#fff;box-shadow:0 6px 25px #1d233330;border-radius:11px;z-index:1000;font-size:13px}.chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;height:calc(100dvh - 260px);min-height:510px}.conversation-panel{padding:16px;overflow:auto}.conversation-panel>.button{width:100%;margin-bottom:18px}.conversation-label{font-size:10px;color:var(--muted);padding:0 7px;margin:0 0 10px}.conversation-item{display:block;width:100%;text-align:left;padding:12px 10px;background:transparent;border:0;font-size:12px;color:#7a7e91;border-radius:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:4px}.conversation-item.active{background:var(--primary-light);color:var(--primary)}.conversation-item:hover{background:#f6f6fb}.chat-main{display:flex;flex-direction:column;overflow:hidden;min-width:0}.chat-messages{flex:1;overflow:auto;padding:25px}.chat-welcome{display:flex;min-height:100%;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:15px}.chat-welcome .brand-mark{width:48px;height:48px;border-radius:16px;margin-bottom:20px}.chat-welcome h2{font-size:20px;margin:0 0 12px}.chat-welcome p{font-size:12px;color:var(--muted);max-width:340px;line-height:1.9}.prompt-list{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}.prompt-list button{border:1px solid #e7e7f3;background:#f8f8fd;color:#8a8cad;font-size:11px;border-radius:8px;padding:9px 11px}.chat-bubble{padding:14px 17px;background:#f5f6fa;border-radius:14px;max-width:90%;margin:0 0 18px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.chat-bubble.user{background:var(--primary-light);margin-left:auto;color:#5f638d}.message-author{display:block;font-size:10px;color:#9a9daf;margin-bottom:6px}.chat-citations{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.chat-citations button{border:1px solid #e2e3f0;border-radius:5px;padding:3px 6px;color:var(--primary);font-size:10px;background:white}.chat-compose{border-top:1px solid var(--line);padding:15px 20px}.chat-compose textarea{min-height:74px;max-height:200px;font-size:13px;border:0;padding:4px 0;box-shadow:none;resize:vertical}.chat-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px}.chat-compose-bottom small{font-size:10px;color:var(--muted)}.chat-compose-bottom .button{min-height:34px;font-size:12px}.ai-unavailable{font-size:11px;color:#a18c60;background:#fbf7ee;border-bottom:1px solid #f0e9d8;padding:10px 18px}.mobile-nav{display:none}.login-screen{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{background:#f0f1f8;padding:45px 60px;position:relative;overflow:hidden;min-height:740px}.login-message{position:relative;z-index:1;margin:100px 0 0}.login-message h1{font-size:52px;font-weight:500;line-height:1.45;letter-spacing:2px;margin:20px 0}.login-message em{font-style:normal;color:var(--primary)}.login-message p{font-size:13px;line-height:2;color:#9093aa}.story-footer{position:absolute;bottom:35px;color:#a0a4b9;font-size:11px;letter-spacing:3px}.story-orbit{position:absolute;right:-110px;bottom:30px;width:370px;height:370px;border:1px solid #dfe1f0;border-radius:50%}.story-orbit:before{content:"";position:absolute;inset:48px;border:1px solid #dfe1f0;border-radius:50%}.story-orbit b{position:absolute;left:115px;top:150px;display:flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:22px;background:#e1e3f5;color:#8c93cc;transform:rotate(-12deg);font-size:18px;font-weight:500}.story-orbit span{position:absolute;background:#f8f9fe;border:1px solid #e3e5f2;border-radius:12px;color:#a5a9c1;padding:12px 16px;font-size:11px}.story-orbit span:nth-child(1){left:25px;top:40px;transform:rotate(-9deg)}.story-orbit span:nth-child(2){left:230px;top:100px;transform:rotate(10deg)}.story-orbit span:nth-child(3){left:40px;top:270px;transform:rotate(-5deg)}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px}.login-form{max-width:360px;width:100%}.login-form h2{font-size:26px;margin:15px 0 9px}.login-form>.muted{font-size:12px;margin-bottom:35px}.login-form>label{margin-bottom:21px}.login-form .button{margin-top:7px;justify-content:space-between;padding:12px 17px}.login-help{font-size:10px;color:#9a9fb0;line-height:1.8;margin:18px 0 45px}.privacy-note{display:flex;gap:10px;color:#a2a6b5;font-size:10px;line-height:1.9;border-top:1px solid var(--line);padding-top:18px}.privacy-note>span:first-child{font-size:20px;line-height:1}.noscript{padding:20px}.loading-state{padding:80px 20px;text-align:center;color:var(--muted);font-size:13px}.loading-state:before{content:"";display:block;width:22px;height:22px;border:2px solid #e3e5f0;border-top-color:var(--primary);border-radius:50%;margin:0 auto 18px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.today-grid{grid-template-columns:minmax(0,1fr) 310px}#main{padding-left:60px;padding-right:60px}.topbar{padding:0 60px}}
@media(max-width:1180px){.today-grid{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.sidebar{width:210px;padding:26px 15px}.main-shell{margin-left:210px;width:calc(100% - 210px)}#main{padding:30px 26px}.topbar{padding:0 26px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-hint{display:none}.chat-layout{grid-template-columns:180px minmax(0,1fr)}.login-story{padding:40px}.login-message h1{font-size:44px}}
@media(max-width:960px){.today-grid{grid-template-columns:1fr}.aside-stack{grid-template-columns:1fr 1fr}.note-aside{display:none}.aside-stack>.glance:first-child{display:none}.chat-layout{grid-template-columns:1fr;height:auto;min-height:0}.conversation-panel{max-height:145px}.conversation-panel>.button{width:auto;float:right;margin-bottom:8px}.conversation-label{padding-top:8px}.conversation-items{display:flex;gap:6px;overflow:auto;clear:both}.conversation-item{width:auto;max-width:180px;flex-shrink:0}.chat-main{height:540px}.login-message h1{font-size:38px}.login-story{padding:30px}.login-form-wrap{padding:35px}.login-message{margin-top:110px}.login-screen{grid-template-columns:1fr 1fr}}
@media(max-width:700px){:root{font-size:14px}.sidebar{display:none}.main-shell{margin:0;width:100%}.topbar{height:65px;padding:0 20px}.mobile-brand{display:block}.mobile-brand .brand-mark{width:31px;height:31px;font-size:21px;border-radius:10px}.breadcrumb{margin-right:auto;margin-left:12px;font-size:11px}.breadcrumb>span,.breadcrumb>b{display:none}.topbar-actions{gap:10px}.top-date{display:none}.mini-avatar{width:30px;height:30px}#main{padding:26px 18px 100px}.page-head{margin-bottom:22px;gap:10px}.page-head h1{font-size:25px}.page-head .eyebrow{font-size:9px;letter-spacing:1.7px}.page-head p{font-size:11px}.head-decoration{width:50px;height:50px;margin:0}.head-decoration:after{inset:18px}.page-head>.button{padding:8px 11px;font-size:12px}.composer{margin-bottom:24px}.composer-top{padding:18px 18px 14px}.composer textarea{padding:0 18px 14px;font-size:14px;min-height:128px}.composer-footer{margin:0 16px;padding:12px 0;justify-content:flex-end}.count-note{padding:0 18px 8px;font-size:9px}.composer-buttons{width:100%;justify-content:space-between}.composer-buttons .button{font-size:12px;padding:8px 14px}.entry-card{padding:16px 18px}.entry-content{font-size:12px}.aside-stack{grid-template-columns:1fr}.aside-stack>.glance{display:none}.ai-aside{padding:20px}.mobile-nav{display:flex;position:fixed;inset:auto 0 0;z-index:15;justify-content:space-around;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.mobile-nav a{display:flex;flex-direction:column;gap:3px;align-items:center;color:#9a9eaf;font-size:9px;min-width:52px;padding:3px 5px;border-radius:8px}.mobile-nav a.active{color:var(--primary)}.mobile-nav a svg{width:21px;height:21px}.card-grid{grid-template-columns:1fr}.space-card,.person-card{padding:21px}.space-card .space-icon,.person-card .avatar{margin-bottom:14px}.space-card p,.person-card p{min-height:0;margin-bottom:18px}.filters{gap:8px;padding:12px}.filters input[type=search]{width:100%;flex:auto}.filters select{flex:1;min-width:0;max-width:100%}.filters input[type=date]{width:128px;min-width:0;font-size:11px}.filter-label{font-size:10px}.filters>.button{flex:1}.chip-row{gap:6px}.chip{padding:6px 10px}.dialog-head{padding:18px 20px}.dialog-body{padding:0 20px 20px}.dialog-footer{padding:15px 20px}.dialog-footer .button{padding:9px 13px;font-size:12px}.form-grid{gap:14px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}dialog{width:calc(100vw - 20px);max-height:94dvh;border-radius:16px}.inline-form{flex-wrap:wrap}.inline-form>.button{width:100%;margin-top:5px}.chat-layout{gap:12px}.chat-main{height:calc(100dvh - 360px);min-height:400px}.chat-messages{padding:18px}.chat-welcome{padding:10px}.chat-welcome h2{font-size:18px}.chat-bubble{max-width:95%;font-size:13px}.chat-compose{padding:13px 16px}.chat-compose textarea{font-size:16px;min-height:60px}.chat-compose-bottom small{max-width:210px;font-size:9px}.toast{bottom:90px;font-size:12px;padding:10px 18px}.login-screen{grid-template-columns:1fr}.login-story{min-height:0;padding:25px 26px 30px}.login-story .brand{font-size:14px}.login-message{margin:35px 0 0}.login-message>.eyebrow{font-size:10px}.login-message h1{font-size:29px;line-height:1.5;margin:10px 0 12px;letter-spacing:1px}.login-message h1 br:nth-of-type(2){display:none}.login-message p{font-size:11px;margin:0;line-height:1.85}.story-orbit{width:230px;height:230px;right:-90px;bottom:-60px}.story-orbit b{left:70px;top:90px;width:50px;height:50px;font-size:14px}.story-orbit span{display:none}.story-footer{display:none}.login-form-wrap{padding:32px 28px 40px}.login-form{max-width:440px}.login-form h2{font-size:23px}.login-form>.muted{margin-bottom:25px}.login-form input{font-size:16px}.login-help{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:700px){.page-head .head-decoration{display:none}.page-head h1{font-size:24px}.login-form #local-setup-button{justify-content:center;margin-bottom:25px}}

.login-form #local-setup-button{justify-content:center;margin-bottom:25px}

/* Company and project profiles share the existing space permission boundary. */
.org-back{display:inline-block;margin-bottom:20px;font-size:12px}.org-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.org-head-actions .button{font-size:12px}.org-summary{display:flex;align-items:center;justify-content:space-between;padding:24px 30px;margin-bottom:26px;gap:26px}.org-summary-identity{display:flex;align-items:center;gap:16px;min-width:0}.org-summary-identity>.space-icon{width:52px;height:52px;border-radius:15px}.org-summary-identity>.space-icon svg{width:24px;height:24px}.org-summary-identity p{font-size:11px;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}.org-level{font-size:10px;color:var(--muted);margin-left:10px}.org-stats{display:flex;align-items:center;gap:34px;flex-shrink:0}.org-stats>div{min-width:64px}.org-stats b{font-size:25px;font-weight:550;display:block;line-height:1.3}.org-stats span{font-size:10px;color:var(--muted)}.org-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:26px}.org-tabs a{display:block;padding:0 2px 15px;font-size:13px;color:var(--muted);position:relative}.org-tabs a.active{color:var(--primary);font-weight:600}.org-tabs a.active:after{content:"";height:3px;position:absolute;bottom:-1px;left:0;right:0;background:var(--primary);border-radius:2px}.org-overview{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr);gap:22px;align-items:start}.org-profile{padding:26px;min-width:0}.org-profile h2,.org-departments h2{font-size:15px;margin:0;font-weight:600}.org-profile h2 small{color:var(--muted);font-size:11px;padding-left:5px;font-weight:400}.org-profile .panel-head{margin-bottom:20px}.org-description{font-size:13px;color:#777d90;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px}.org-facts{margin:0 0 26px;padding:5px 0 0;border-top:1px solid var(--line)}.org-facts>div{display:flex;align-items:baseline;gap:20px;font-size:12px;margin-top:17px}.org-facts dt{color:var(--muted);flex:0 0 85px}.org-facts dd{margin:0;overflow-wrap:anywhere}.org-checklist{list-style:none;margin:0;padding:0}.org-checklist li{display:flex;align-items:start;gap:14px;margin-bottom:22px}.org-checklist li:last-child{margin-bottom:0}.org-checklist li>span{color:#a8aed7;font-size:12px;padding-top:1px}.org-checklist strong{font-size:12px;font-weight:500}.org-checklist p{font-size:11px;color:var(--muted);line-height:1.8;margin:4px 0 0}.org-projects{margin-top:22px}.org-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.org-project-link{display:flex;gap:13px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:17px;min-width:0}.org-project-link:hover{background:#f9f9fd}.org-project-link>span:nth-child(2){min-width:0}.org-project-link strong{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}.org-project-link small{display:block;color:var(--muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.org-project-link .arrow{margin-left:auto;color:#aaadbd}.space-icon.tone-project{background:#f6eee9;color:#b79885}.org-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:25px;align-items:start}.org-departments{padding:20px 14px}.org-departments .panel-head{padding:0 5px;margin-bottom:15px}.org-departments>.form-note{padding:6px 8px 0}.org-department-list{display:grid;gap:5px}.org-department-row{display:flex;align-items:center;min-width:0;gap:3px}.org-department-row>.icon-button{flex-shrink:0;width:27px;height:30px}.org-department-row>.icon-button svg{width:14px;height:14px}.org-department-filter{display:flex;gap:8px;align-items:center;justify-content:space-between;border:0;background:transparent;border-radius:8px;padding:10px 11px;text-align:left;color:#7d8294;min-width:0;flex:1;font-size:12px}.org-department-filter>span{overflow-wrap:anywhere}.org-department-filter b{color:#a2a7b8;font-size:10px;font-weight:500;flex-shrink:0}.org-department-filter:hover{background:#f8f8fc}.org-department-filter.active{color:var(--primary);background:var(--primary-light)}.org-department-filter.active b{color:var(--primary)}.org-team{min-width:0}.org-team .section-title{margin-bottom:22px;flex-wrap:wrap}.org-team .section-title h2{font-size:16px}.org-group{margin-bottom:26px}.org-group-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:14px}.org-group-heading h3{font-size:13px;font-weight:600;margin-bottom:5px;overflow-wrap:anywhere}.org-group-heading h3 span{font-size:10px;font-weight:400;padding:2px 6px;border-radius:5px;color:#969bb0;background:#eceef5;margin-left:6px}.org-group-heading p{font-size:10px;line-height:1.8;color:var(--muted);margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.org-group-actions{display:flex;gap:13px;padding-top:2px;flex-shrink:0}.org-group-actions .text-link{font-size:10px}.org-group-empty{font-size:11px;color:#9c9faf;border:1px dashed #dfe2ec;padding:20px;border-radius:12px}.org-group-empty .text-link{font-size:11px}.org-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.org-person{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:20px;min-width:0}.org-person-top{display:flex;gap:12px;align-items:center;margin-bottom:18px}.org-person-top .avatar{width:38px;height:38px;border-radius:12px;background:#edf0f8;color:#8b97b8;flex-shrink:0;font-size:16px}.org-person-top>div{min-width:0;flex:1}.org-person-name{font-size:13px;font-weight:600;border:0;background:transparent;text-align:left;padding:0;overflow-wrap:anywhere}.org-person-name:hover{color:var(--primary)}.org-person-title{font-size:10px;color:var(--muted);display:block;overflow-wrap:anywhere;margin-top:3px}.org-person-top .icon-button{width:27px;height:30px;flex-shrink:0}.org-person-top .icon-button svg{width:15px;height:15px}.org-person dl{margin:0;border-top:1px solid #f0f1f6;padding-top:11px}.org-person dl>div{display:flex;align-items:baseline;gap:15px;font-size:10px;margin:6px 0}.org-person dt{color:#a0a4b3;flex:0 0 61px}.org-person dd{margin:0;color:#767e94;overflow-wrap:anywhere}.org-person-duty{font-size:11px;color:#7f8598;line-height:1.85;margin:14px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.org-remove{color:#a4a7b4;font-size:10px}.org-remove:hover{color:#b75c5e}.org-team-note{padding-top:2px;font-size:10px}.org-person-form-name{display:flex;align-items:center;gap:12px}.org-person-form-name .avatar{width:36px;height:36px;border-radius:11px}.org-person-form-name strong{font-size:15px;font-weight:550;overflow-wrap:anywhere}
@media(max-width:1180px){.org-layout{grid-template-columns:195px minmax(0,1fr);gap:18px}.org-people-grid{grid-template-columns:1fr}.org-summary{padding:22px;gap:18px}.org-stats{gap:20px}.org-overview{grid-template-columns:minmax(0,1.2fr) minmax(210px,1fr)}.org-profile{padding:22px}.page-head:has(.org-head-actions){flex-wrap:wrap}.page-head>.org-head-actions{justify-content:flex-start}}
@media(max-width:960px){.org-overview{grid-template-columns:1fr}.org-summary{flex-wrap:wrap}.org-stats{width:100%;padding-top:16px;border-top:1px solid var(--line);justify-content:space-between}.org-project-grid{grid-template-columns:1fr}.org-layout{grid-template-columns:1fr}.org-department-list{display:flex;gap:6px;flex-wrap:wrap}.org-department-filter{flex:0 1 auto;gap:12px;padding:8px 10px}.org-department-row{border:1px solid var(--line);border-radius:9px}.org-department-list>.org-department-filter{border:1px solid var(--line)}.org-departments{padding:16px}.org-departments .panel-head{margin-bottom:12px;padding:0}.org-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.org-back{margin-bottom:15px;font-size:11px}.org-head-actions{gap:7px}.org-head-actions .button{font-size:11px;min-height:35px;padding:8px 10px}.org-summary{padding:19px;margin-bottom:22px}.org-summary-identity>.space-icon{width:45px;height:45px}.org-summary-identity p{font-size:10px}.org-stats{gap:12px}.org-stats b{font-size:23px}.org-stats span{font-size:9px}.org-tabs{gap:26px;margin-bottom:22px}.org-tabs a{font-size:12px;padding-bottom:13px}.org-profile{padding:20px}.org-overview{gap:16px}.org-profile .panel-head{margin-bottom:16px}.org-description{font-size:12px;margin-bottom:20px}.org-facts{margin-bottom:20px}.org-facts>div{font-size:11px;gap:12px}.org-facts dt{flex-basis:70px}.org-projects{margin-top:16px}.org-project-link{padding:14px}.org-people-grid{grid-template-columns:1fr}.org-person{padding:19px}.org-person-name{font-size:14px}.org-person-title,.org-person dl>div{font-size:11px}.org-person-duty{font-size:12px}.org-group-heading p{font-size:11px}.org-group-actions{gap:10px}.org-group-actions .text-link{font-size:11px}.org-team .section-title{gap:12px}.org-person-top .icon-button{width:32px;height:32px}.org-team-note{font-size:10px}}

/* Health records keep member authorization separate from spaces. */
.health-identity{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 23px;margin-bottom:25px}.health-member-label{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--muted);flex-shrink:0}.health-member-label select{width:210px;margin:0;color:var(--ink);font-size:12px;padding:9px 12px}.health-identity>p{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);margin:0}.health-identity>p svg{width:14px;height:14px}.health-tabs{gap:32px}.health-overview-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;margin-bottom:30px}.health-intro{display:flex;align-items:center;gap:22px;padding:30px;background:linear-gradient(120deg,#fff 45%,#f4f4ff)}.health-heart{display:flex;align-items:center;justify-content:center;width:64px;height:64px;flex-shrink:0;color:var(--primary);background:#efeffb;border-radius:21px}.health-heart svg{width:32px;height:32px;stroke-width:1.3}.health-intro>div{min-width:0;flex:1}.health-intro h2{font-size:19px;font-weight:600;margin:0 0 9px;overflow-wrap:anywhere}.health-intro p,.health-watch p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.health-intro-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;flex-wrap:wrap}.health-intro-bottom>span{font-size:11px;color:var(--muted)}.health-intro-bottom b{font-size:24px;color:var(--ink);font-weight:500;margin-right:5px}.health-watch{padding:25px}.health-watch .panel-head{margin-bottom:16px;flex-wrap:wrap}.health-watch h3{font-size:13px}.health-watch small{display:block;color:#9da1b0;font-size:10px;margin-top:17px}.health-section-title{margin-top:26px}.health-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:12px}.health-metric{padding:21px;min-width:0}.health-metric>span{font-size:12px;color:#7d8296}.health-metric p{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;margin:11px 0 9px}.health-metric b{font-size:29px;font-weight:500;letter-spacing:-.7px;overflow-wrap:anywhere}.health-metric p small{font-size:11px;color:var(--muted)}.health-metric>div{font-size:10px;color:#8f94a7;margin-bottom:5px;line-height:1.7}.health-metric>small{display:block;font-size:9px;color:#a2a6b4;line-height:1.7}.health-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:26px}.health-shortcut{display:flex;align-items:center;gap:15px;padding:22px;transition:border-color .15s}.health-shortcut:hover{border-color:#c5c8e9}.health-shortcut>div{min-width:0;flex:1}.health-shortcut h3{font-size:13px;margin:0 0 6px}.health-shortcut p{font-size:10px;color:var(--muted);line-height:1.85;margin:0}.health-shortcut>span:last-child{color:#a9adc3;font-size:20px}.health-workouts{padding:24px;margin-top:24px}.health-workouts h2{font-size:15px}.health-workout{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:15px 0;font-size:12px}.health-workout:last-child{padding-bottom:0}.health-workout strong{font-size:12px;font-weight:500}.health-workout small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.health-workout>span{color:#7b8196;text-align:right}.health-disclaimer{font-size:10px;color:#a1a5b4;margin:25px 0 0;line-height:1.8}.health-section-note{font-size:12px;color:var(--muted);margin-bottom:20px;line-height:1.85}.health-profile{padding:27px}.health-profile>.panel-head{align-items:flex-start;margin-bottom:25px}.health-profile h2{font-size:16px}.health-profile>.panel-head p{font-size:12px;color:var(--muted);margin:8px 0 0}.health-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 34px}.health-profile-grid>section{border-top:1px solid var(--line);padding:21px 0 8px;min-width:0}.health-profile-grid h3{font-size:12px;margin-bottom:11px;font-weight:550}.health-profile-grid p{font-size:12px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:16px}.health-profile>.form-note{margin:8px 0 0}.health-attachment{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:25px 0 16px;border:1px solid var(--line);border-radius:11px;padding:16px;background:#fafafe}.health-attachment>div{flex:1;min-width:150px}.health-attachment strong{font-weight:500;font-size:12px;overflow-wrap:anywhere;display:block}.health-attachment small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.health-attachment>.form-note{margin:0}.health-measurement-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.health-report-card .entry-content{-webkit-line-clamp:2}#health-content{min-width:0}#health-report-form input[type=file]{font-size:12px;padding:10px;overflow:hidden}
@media(max-width:1180px){.health-overview-top{grid-template-columns:1fr 1fr}.health-intro{padding:24px;gap:16px}.health-heart{width:48px;height:48px;border-radius:15px}.health-heart svg{width:25px;height:25px}.health-intro h2{font-size:17px}.health-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.health-shortcuts{grid-template-columns:1fr}.health-shortcut{padding:18px 22px}.health-shortcut p{font-size:11px}.health-identity{gap:18px}.health-member-label{display:block}.health-member-label select{display:block;margin-top:5px}}
@media(max-width:960px){.health-overview-top{grid-template-columns:1fr}.health-intro{padding:25px}.health-intro-bottom{margin-top:18px}.health-watch{padding:23px}.health-watch .panel-head{margin-bottom:12px}.health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.health-identity{align-items:flex-start}.health-identity>p{padding-top:23px}.health-profile-grid{gap:0 24px}}
@media(max-width:700px){.mobile-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}.mobile-nav a{min-width:0;padding:4px 1px;font-size:9px}.mobile-nav a svg{width:19px;height:19px}.health-identity{display:block;padding:17px 19px;margin-bottom:22px}.health-member-label{display:flex;justify-content:space-between;gap:10px;font-size:10px}.health-member-label select{margin:0;width:180px;min-width:0;max-width:65%;font-size:12px}.health-identity>p{font-size:10px;padding-top:12px;line-height:1.75}.health-tabs{gap:0;justify-content:space-between}.health-tabs a{font-size:12px;padding:0 0 12px}.health-overview-top{gap:14px;margin-bottom:24px}.health-intro{padding:22px;gap:15px;align-items:flex-start}.health-heart{width:42px;height:42px;border-radius:13px}.health-heart svg{width:23px;height:23px}.health-intro h2{font-size:16px;line-height:1.5}.health-intro p,.health-watch p{font-size:11px}.health-intro-bottom{margin-top:16px}.health-intro-bottom b{font-size:22px}.health-intro-bottom .button{font-size:11px}.health-watch{padding:21px}.health-watch small{margin-top:12px}.health-metrics{gap:11px}.health-metric{padding:17px 15px}.health-metric>span{font-size:11px}.health-metric b{font-size:25px}.health-metric p{gap:6px;margin:9px 0 8px}.health-metric p small{font-size:10px}.health-metric>small{font-size:9px}.health-section-title h2{font-size:14px}.health-section-title .text-link{font-size:10px}.health-shortcuts{gap:12px;margin-top:22px}.health-shortcut{padding:18px}.health-shortcut p{font-size:10px}.health-disclaimer{margin-top:20px}.health-profile{padding:20px}.health-profile>.panel-head{gap:13px;margin-bottom:20px}.health-profile>.panel-head p{font-size:11px}.health-profile-grid{grid-template-columns:1fr}.health-profile-grid>section{padding:18px 0 0}.health-profile-grid p{font-size:12px}.health-profile>.panel-head .button{font-size:10px;flex-shrink:0}.health-measurement-fields{gap:14px}.health-workout{align-items:flex-start;font-size:11px}.health-workout>span{font-size:11px}.health-section-note{font-size:11px}}
