:root{--bg:#f7f8f6;--surface:#fff;--surface-soft:#f3f5f2;--text:#171a17;--muted:#737a73;--border:#e3e7e1;--green:#137a3d;--green-soft:#eaf4ed;--orange:#f47b20;--red:#d9394e;--shadow:0 8px 28px #11182714;--phone-preview-width:384px;--phone-preview-height:854px;--safe-area-top:env(safe-area-inset-top,0px);--safe-area-bottom:env(safe-area-inset-bottom,0px);color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100svh;margin:0}button,input,select,textarea{font:inherit}button{color:inherit}#app{justify-content:center;min-height:100svh;display:flex}.app-frame{background:var(--surface);width:100%;min-height:100svh;position:relative}.screen{min-height:100svh;padding:calc(14px + var(--safe-area-top)) 18px calc(96px + var(--safe-area-bottom))}.login-screen{background:var(--bg);place-items:center;min-height:100svh;padding:24px;display:grid}.login-panel{border:1px solid var(--border);background:var(--surface);width:min(100%,360px);box-shadow:var(--shadow);border-radius:8px;padding:26px 22px 22px}.login-kicker{color:var(--green);letter-spacing:1.4px;margin-bottom:12px;font-size:12px;font-weight:720}.login-form{gap:14px;margin-top:24px;display:grid}.form-error{color:var(--red);font-size:14px}.logout-button{color:var(--red);margin-top:30px}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;min-height:56px;margin-bottom:18px;display:flex}.header-actions{flex:none;align-items:center;gap:10px;display:flex}h1,h2,h3,p{margin:0}h1{letter-spacing:0;font-size:30px;font-weight:760;line-height:1.1}h2{margin-bottom:10px;font-size:17px;font-weight:720;line-height:1.3}h3{margin-bottom:8px;font-size:15px;font-weight:720;line-height:1.3}.muted,.subline,small{color:var(--muted)}.muted{margin-top:8px;font-size:15px}.block-note{margin-bottom:14px}.section{margin-top:18px}.summary-line{align-items:center;gap:8px;margin:20px 0 8px;font-size:16px;display:flex}.list-panel,.form-panel,.content-block,.metric-card,.judgement-card{border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:hidden}.content-block,.metric-card,.judgement-card{margin-bottom:14px;padding:14px}.content-block.unframed-block{background:0 0;border:0;padding:0;overflow:visible}.page-form{background:0 0;border:0;border-radius:0;overflow:visible}.page-form .field:first-child{border-top:1px solid var(--border)}.page-form .primary-button,.page-form .danger-button{width:100%;margin-left:0;margin-right:0}.path-text{overflow-wrap:anywhere;margin-bottom:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.5}.inline-status{color:var(--muted);margin:12px 14px 0;font-size:13px;line-height:1.4}.pre-line{white-space:pre-wrap;margin:0}.inline-form{border-top:1px solid var(--border);gap:10px;padding:12px 0 0;display:grid}.modal-overlay{z-index:20;background:#171a1757;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.input-modal{background:var(--surface);border-radius:16px;gap:14px;width:min(360px,100vw - 56px);padding:18px 16px 14px;display:grid;box-shadow:0 18px 42px #1118272e}.input-modal h2{margin-bottom:0}.input-modal textarea{resize:vertical;width:100%;min-height:112px}.compact-button{width:100%;margin:0}.text-action{min-height:32px;color:var(--green);background:0 0;border:0;padding:0 2px;font-size:15px;font-weight:720}.investment-header-links{white-space:nowrap;align-items:center;gap:16px;padding-top:6px;display:flex}.investment-header-links button{min-height:30px;color:var(--green);background:0 0;border:0;padding:0;font-size:16px;font-weight:720}.section-add-button{width:32px;height:32px;color:var(--text);background:0 0;border:0;padding:0;font-size:27px;line-height:1}.relation-list{margin-top:12px}.todo-row,.project-row,.plain-row,.doc-row,.settings-row,.risk-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;display:flex}.todo-row:last-child,.project-row:last-child,.plain-row:last-child,.doc-row:last-child,.settings-row:last-child,.risk-row:last-child{border-bottom:0}.todo-swipe-row{border-bottom:1px solid var(--border);touch-action:pan-y;position:relative;overflow:hidden}.todo-swipe-row:last-child,.todo-swipe-row .todo-row,.todo-swipe-row .todo-card,.todo-swipe-row .plain-row{border-bottom:0}.todo-swipe-content{z-index:1;background:var(--surface);transition:transform .16s ease-out;position:relative}.todo-swipe-content.project-todo-row,.todo-swipe-content.project-todo-card{background:linear-gradient(90deg, #137a3d12, var(--surface) 52%)}.todo-delete-action{background:var(--red);color:#fff;border:0;width:76px;font-weight:720;position:absolute;inset:0 0 0 auto}.todo-abandon-action{color:#fff;background:#8a8f8a;border:0;width:76px;font-weight:720;position:absolute;inset:0 76px 0 auto}.overdue-label{color:var(--red)}.static-row{pointer-events:none}.todo-row.compact{border:0;min-height:auto;padding:10px 0}.project-todo-row,.project-todo-card{box-shadow:inset 3px 0 0 var(--green);background:linear-gradient(90deg,#137a3d12,#0000 52%)}.completed-group,.quick-todo-group{border-top:1px solid var(--border)}.habit-todo-row,.habit-todo-row.project-todo-row{background:#fffbf3;box-shadow:inset 3px 0 #e8b55a}.reminder-todo-group{border-top:0}.quick-todo-toggle{width:100%;min-height:52px;color:var(--text);text-align:left;background:#137a3d0e;border:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:14px;font-weight:680;display:flex}.quick-todo-toggle span:last-child{color:var(--muted);font-size:13px;font-weight:520}.today-reminder-row{border-top:1px solid var(--border);align-items:center;min-height:58px;padding:10px 14px;display:flex}.today-reminder-time{color:var(--muted);justify-self:end;font-size:13px}.completed-title{color:var(--muted);padding:12px 14px 4px;font-size:13px;font-weight:680}.completed-todo-row{color:var(--muted);cursor:pointer}.completed-todo-row .row-title{text-decoration:line-through;text-decoration-thickness:1.5px}.completion-note{color:var(--muted);white-space:pre-wrap;margin:0;font-size:13px;line-height:1.45}.sheet-backdrop{z-index:20;padding:18px 18px calc(18px + var(--safe-area-bottom));background:#171a173d;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.action-sheet{border:1px solid var(--border);background:var(--surface);width:min(100%,394px);box-shadow:var(--shadow);border-radius:8px;gap:8px;padding:14px;display:grid}.sheet-action{background:var(--surface-soft);min-height:46px;color:var(--text);border:0;border-radius:7px;font-weight:720}.todo-card{border-bottom:1px solid var(--border);padding:12px 14px}.todo-card:last-child{border-bottom:0}.future-todo-group{margin-top:20px}.future-todo-group:first-of-type{margin-top:0}.row-main{flex:1;gap:4px;min-width:0;display:grid}.row-title{font-weight:720}.tags{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:13px;line-height:1.3;display:flex}.inline-tags{margin-bottom:12px}.source-label{white-space:nowrap;color:var(--green);font-size:13px;font-weight:680}.security-lock{z-index:30;background:color-mix(in srgb, var(--surface) 94%, #1a2a20);justify-content:center;align-items:center;padding:28px;display:flex;position:fixed;inset:0}.security-lock-card{gap:14px;width:100%;max-width:340px;display:grid}.security-lock-card h1{margin:0}.settings-security-note{color:var(--muted);margin:0;padding:12px 14px;font-size:13px;line-height:1.55}.settings-error{margin:0;padding:10px 14px 0}.check-circle{background:var(--surface);border:2px solid #a3aaa3;border-radius:50%;flex:none;width:26px;height:26px}.completed-check{border-color:var(--green);background:var(--green);color:#fff;place-items:center;font-size:14px;font-weight:760;display:grid}.abandoned-check{border-color:var(--red);background:var(--red);color:#fff;place-items:center;font-size:14px;font-weight:760;display:grid}.icon-button{background:0 0;border:0;border-radius:50%;width:42px;height:42px;font-size:28px;line-height:1}.clock-entry-button{background:0 0;border:0;place-items:center;width:42px;height:42px;padding:0;display:grid}.clock-entry-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:27px;height:27px}.reminder-page-header{align-items:center;gap:10px;min-height:48px;margin-bottom:20px;display:flex}.reminder-back-button{background:0 0;border:0;width:34px;height:42px;padding:0;font-size:40px;font-weight:320;line-height:1}.reminder-list-panel{border-radius:0}.reminder-empty{color:var(--muted);margin:0;padding:22px 14px;font-size:14px}.reminder-swipe-row{border-bottom:1px solid var(--border);touch-action:pan-y;position:relative;overflow:hidden}.reminder-swipe-row:last-child{border-bottom:0}.reminder-delete-action{background:var(--red);color:#fff;border:0;width:76px;font-weight:720;position:absolute;inset:0 0 0 auto}.reminder-row{background:var(--surface);align-items:center;min-height:84px;padding:13px 14px;transition:transform .16s ease-out;display:flex}.reminder-row-main{gap:7px;width:100%;min-width:0;display:grid}.reminder-row-title{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:620;overflow:hidden}.reminder-row-time{color:var(--muted);justify-self:end;font-size:14px}.reminder-row.is-overdue,.reminder-row.is-overdue .reminder-row-time{color:#9a9e9a}.reminder-add-button{z-index:11;left:50%;bottom:calc(94px + var(--safe-area-bottom));border:1.8px solid var(--text);background:var(--surface);width:52px;height:52px;color:var(--text);-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none;border-radius:50%;font-size:36px;font-weight:320;line-height:1;position:fixed;transform:translate(-50%)}.reminder-input-sheet{gap:12px}.reminder-input-sheet textarea{resize:vertical;min-height:84px}.reminder-preview{border:1px solid var(--border);background:var(--surface-soft);border-radius:7px;gap:6px;padding:12px;font-size:14px;display:grid}.reminder-preview span{color:var(--muted)}.reminder-status{color:var(--red)}.knowledge-group-row{justify-content:space-between}.journal-list-screen{padding-left:12px;padding-right:12px}.journal-list-screen .page-header{padding:0 6px}.journal-empty{color:var(--muted);text-align:center;margin:34px 6px;font-size:14px}.journal-calendar{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:4px 6px 22px;overflow:hidden}.journal-calendar-toggle{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;display:flex}.journal-calendar-toggle-state{color:var(--muted);flex:none;font-size:13px}.journal-calendar-expanded{border-top:1px solid var(--border);padding:4px 12px 12px}.journal-calendar-header{grid-template-columns:32px 1fr 32px;align-items:center;margin-bottom:10px;display:grid}.journal-calendar-header strong{text-align:center;font-size:15px}.journal-calendar-header>button{background:0 0;border:0;min-height:30px;padding:0;font-size:24px;line-height:1}.journal-calendar-summary{text-align:left;gap:2px;display:grid}.journal-calendar-summary strong{font-size:15px}.journal-calendar-summary span{color:var(--muted);font-size:12px}.journal-weekdays,.journal-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.journal-weekdays{color:var(--muted);text-align:center;margin-bottom:5px;font-size:10px}.journal-calendar-day,.journal-calendar-blank{aspect-ratio:1;min-width:0}.journal-calendar-day{color:#858b86;background:#edf0ee;border:0;border-radius:5px;place-items:center;padding:0;font-size:11px;line-height:1;display:grid}.journal-calendar-day.has-entry{color:#17465e;background:#91bdd4;font-weight:720}.journal-calendar-day.selected{outline-offset:1px;outline:2px solid #397e9f}.journal-timeline{gap:20px;display:grid}.journal-date-group{gap:9px;display:grid}.journal-date-heading{color:#7f8581;letter-spacing:.01em;margin:0 0 1px;font-size:14px;font-weight:520}.journal-card-stack{gap:10px;display:grid}.journal-card{background:var(--surface);text-align:left;cursor:pointer;border:0;border-radius:13px;gap:11px;width:100%;min-height:112px;padding:18px 16px;display:grid;box-shadow:0 5px 18px #11182709}.journal-card-image-grid{flex-wrap:wrap;gap:8px;display:flex}.journal-card-image-grid img{object-fit:cover;border-radius:8px;width:72px;height:72px}.journal-card-meta{align-items:center;gap:8px;display:flex}.journal-card-mood,.journal-card-transcribing{color:#397e9f;width:fit-content;font-size:12px;display:inline-flex}.journal-card-transcribing{color:#2abf76}.journal-card time{color:var(--muted);font-size:13px}.journal-card p{color:#33353c;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:17px;line-height:1.65;display:-webkit-box;overflow:hidden}.journal-card-audio{color:#929693;min-height:48px;font:inherit;text-align:left;background:#f7f8f7;border:0;border-radius:9px;grid-template-columns:22px minmax(42px,1fr) auto auto;align-items:center;gap:10px;margin-top:2px;padding:0 12px;font-size:13px;display:grid}.journal-card-audio-play{color:#4c504e;font-size:17px}.journal-card-audio-track{background:#dde1de;border-radius:99px;height:3px;overflow:hidden}.journal-card-audio-track i{border-radius:inherit;background:#2ecb7d;width:5%;height:100%;display:block}.journal-add-button,.journal-edit-button{z-index:11;right:max(24px, calc((100vw - var(--phone-preview-width)) / 2 + 24px));bottom:calc(94px + var(--safe-area-bottom));color:#fff;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none;background:#31b5c2;border:0;border-radius:50%;place-items:center;width:56px;height:56px;font-size:37px;font-weight:320;line-height:1;display:grid;position:fixed;box-shadow:0 7px 14px #171a1733}.journal-quick-capture{z-index:80;background:#141617d1;position:fixed;inset:0}.journal-record-capture{z-index:81;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#191b1bd6;align-items:flex-end;display:flex;position:fixed;inset:0}.journal-record-capture,.journal-record-capture *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.journal-record-panel{box-sizing:border-box;width:100%;min-height:540px;padding:38px 36px max(32px, calc(24px + env(safe-area-inset-bottom)));color:#fff;background:#111;border-radius:30px 30px 0 0;box-shadow:0 -12px 40px #00000047}.journal-record-heading,.journal-record-actions,.journal-record-buttons{justify-content:space-between;align-items:center;display:flex}.journal-record-heading>div,.journal-record-actions>div:first-child{gap:8px;display:grid}.journal-record-heading strong{font-size:19px}.journal-record-heading strong i{vertical-align:top;background:#fa7370;border-radius:50%;width:7px;height:7px;margin-left:4px;display:inline-block}.journal-record-heading span,.journal-record-actions span{color:#999;font-size:15px}.journal-record-heading>span{color:#aaa;font-size:26px;transform:rotate(90deg)}.reminder-record-panel{flex-direction:column;min-height:430px;display:flex}.journal-record-heading>.reminder-record-limit{color:#aaa;white-space:nowrap;font-size:15px;transform:none}.reminder-live-transcript{color:#e8ece9;white-space:pre-wrap;overflow-wrap:anywhere;min-height:112px;margin:38px 0 auto;font-size:22px;line-height:1.5}.reminder-record-panel .journal-record-actions{margin-top:24px}.journal-record-wave{justify-content:center;align-items:center;gap:2px;height:180px;margin:48px 0 42px;display:flex;position:relative;overflow:hidden}.journal-record-wave:before{content:"";background:repeating-linear-gradient(90deg,#ff6f73d1 0 2px,#0000 2px 5px);height:1px;position:absolute;top:50%;left:0;right:0}.journal-record-wave i{z-index:1;height:var(--wave-height);background:#ff6f73;border-radius:99px;flex:0 0 2px;position:relative;box-shadow:0 0 0 1px #ff6f730d}.journal-record-actions strong{letter-spacing:-.04em;font-size:54px;line-height:1}.journal-record-buttons{gap:16px}.journal-record-buttons button{border-radius:50%;width:82px;height:82px;font-size:32px}.journal-record-pause{color:#fff;background:#292929;border:1px solid #4c4c4c}.journal-record-stop,.journal-record-confirm{color:#fff;background:#2dd17b;border:0}.journal-record-discard{color:#fb7671;background:#463536;border:1px solid #825a5a}.journal-record-confirm:disabled{opacity:.6}.journal-record-error{color:#ffaaa4;text-align:center;margin:20px 0 0;font-size:14px}.journal-quick-capture-sheet{right:0;bottom:var(--journal-keyboard-inset,0px);min-height:286px;max-height:calc(100dvh - var(--journal-keyboard-inset,0px) - env(safe-area-inset-top) - 20px);background:#fff;border-radius:28px 28px 0 0;flex-direction:column;display:flex;position:absolute;left:0;overflow:hidden;box-shadow:0 -8px 30px #00000029}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.journal-quick-capture-handle{background:0 0;border:0;flex:none;place-items:center;width:100%;min-height:28px;padding:0;display:grid}.journal-quick-capture-handle span{background:#e5e7e7;border-radius:99px;width:26px;height:4px}.journal-quick-capture-scroll{overscroll-behavior:contain;flex:auto;min-height:0;padding:2px 28px 12px;overflow-y:auto}.journal-quick-capture-textarea{box-sizing:border-box;color:#303239;width:100%;min-height:166px;font:inherit;resize:none;background:0 0;border:0;outline:0;padding:0;font-size:19px;line-height:1.72;display:block;overflow:hidden}.journal-quick-capture-textarea::placeholder{color:#afb4b1}.journal-quick-tag-editor{gap:8px;margin:4px 0 10px;display:flex}.journal-quick-tag-editor input{border:1px solid var(--border);min-width:0;min-height:38px;font:inherit;border-radius:9px;flex:1;padding:0 10px;font-size:14px}.journal-quick-tag-editor button{min-height:38px;color:var(--green);font:inherit;background:#eef5f1;border:0;border-radius:9px;padding:0 13px}.journal-quick-tag-list{flex-wrap:wrap;gap:7px;margin:2px 0 12px;display:flex}.journal-quick-tag-list button{color:#6892dc;min-height:29px;font:inherit;background:#edf4ff;border:0;border-radius:999px;padding:0 9px;font-size:13px}.journal-quick-photo-grid{grid-template-columns:repeat(3,minmax(0,112px));gap:10px;margin:6px 0 12px;display:grid}.journal-quick-capture-toolbar{min-height:64px;padding:0 22px max(10px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #f0f1f1;align-items:center;gap:8px;display:flex}.journal-quick-capture-toolbar>button:not(.journal-quick-send){color:#4c4e4f;background:0 0;border:0;border-radius:10px;width:46px;height:46px;min-height:0;padding:0;font-size:30px;line-height:1}.journal-quick-capture-toolbar>button[aria-label=添加图片]{font-size:26px}.journal-quick-toolbar-spacer{flex:1}.journal-quick-send{color:#fff;background:#2ecb7d;border:0;border-radius:999px;width:64px;height:40px;min-height:0;padding:0 0 2px 4px;font-size:26px;line-height:1}.journal-quick-send:disabled{color:#c7caca;background:#e5e7e7}@media (width>=700px){.journal-quick-capture{right:max(0px, calc((100vw - var(--phone-preview-width)) / 2));left:max(0px, calc((100vw - var(--phone-preview-width)) / 2))}}.journal-detail-header{justify-content:space-between;align-items:center;min-height:48px;display:flex;position:relative}.journal-more-button{background:0 0;border:0;width:42px;height:42px;padding:0;font-size:30px;line-height:1}.journal-menu{z-index:2;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;padding:8px;position:absolute;top:42px;right:0}.journal-menu button{background:0 0;border:0;min-width:92px;min-height:36px}.journal-detail-date{border-bottom:1px solid var(--border);grid-template-columns:70px 1fr;align-items:center;gap:5px 14px;min-height:82px;margin:14px 0 20px;padding-bottom:16px;display:grid}.journal-detail-date strong{letter-spacing:-.04em;grid-row:span 2;font-size:42px;font-weight:300;line-height:1}.journal-detail-date span,.journal-detail-date time{color:var(--muted);font-size:14px;line-height:1.2}.journal-detail-content{white-space:pre-wrap;color:#303239;font-size:18px;line-height:1.8}.journal-edit-button{font-size:30px}.journal-editor{gap:18px;display:grid}.journal-content-field textarea{resize:vertical;min-height:310px;line-height:1.65}.journal-mood-options{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.journal-mood-filter{scrollbar-width:none;gap:8px;margin:14px 0 18px;padding:0 1px 2px;display:flex;overflow-x:auto}.journal-mood-filter::-webkit-scrollbar{display:none}.journal-mood-filter .chip{flex:none}.journal-photo-field{gap:8px}.journal-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.journal-photo-preview{aspect-ratio:1;background:var(--panel-soft);border-radius:10px;margin:0;position:relative;overflow:hidden}.journal-photo-preview img{object-fit:cover;width:100%;height:100%}.journal-photo-preview.is-pending:after{content:"待上传";color:#fff;background:#0000008c;border-radius:5px;padding:2px 5px;font-size:10px;position:absolute;bottom:6px;right:7px}.journal-photo-preview button{color:#fff;background:#00000094;border:0;border-radius:50%;width:24px;height:24px;min-height:0;padding:0;font-size:18px;line-height:1;position:absolute;top:5px;right:5px}.journal-detail-meta{flex-wrap:wrap;gap:8px;margin:18px 0;display:flex}.journal-mood-badge,.journal-label-badge{color:#397e9f;background:#eaf3f7;border-radius:999px;padding:5px 9px;font-size:13px}.journal-label-badge{background:var(--panel-soft);color:var(--muted)}.journal-detail-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:26px 0;display:grid}.journal-detail-images img{aspect-ratio:1;object-fit:cover;border-radius:12px;width:100%}.journal-record-controls,.journal-audio-list,.journal-detail-audios{gap:10px;display:grid}.journal-audio-card{border:1px solid var(--border);background:var(--panel-soft);border-radius:10px;gap:8px;padding:12px;display:grid}.journal-audio-card.is-pending{border-style:dashed}.journal-audio-card audio{width:100%}.journal-audio-card p{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.55}.journal-detail-audios{margin:26px 0}.link-button,.back-button,.top-back-button,.add-row{color:var(--green);background:0 0;border:0;font-weight:680}.add-row{text-align:left;width:100%;min-height:52px;color:var(--muted);border-top:1px solid var(--border);padding:12px 14px}.back-button{margin-bottom:12px;padding:0}.top-back-button{min-height:32px;margin:-6px 0 8px;padding:0;font-size:16px;line-height:1.2}.hint{background:var(--surface-soft);color:var(--muted);border-radius:8px;margin-top:14px;padding:12px;font-size:13px}.quick-actions,.segmented,.chip-row{gap:6px;display:flex}.quick-actions{border-top:1px solid var(--border);justify-content:space-around;margin-top:10px;padding-top:10px}.quick-actions button,.segmented button,.chip,.date-choice{background:var(--surface-soft);min-height:36px;color:var(--text);border:0;border-radius:7px;flex:1;font-weight:680}.date-choice{place-items:center;display:grid;position:relative;overflow:hidden}.date-choice input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.segmented .active,.chip.active,.date-choice.active{background:var(--green);color:#fff}.module-tabs{margin-bottom:18px}.field{border-bottom:1px solid var(--border);gap:8px;padding:14px;display:grid}.field span{font-weight:720}.field-label-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.fill-asset-name-action{min-height:28px;font-size:14px;font-weight:620}input,select,textarea,.search-input{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);border-radius:8px;padding:12px}textarea{resize:vertical;min-height:90px}.primary-button{background:var(--green);color:#fff;border:0;border-radius:7px;width:calc(100% - 28px);min-height:48px;margin:16px 14px;font-weight:760}.secondary-button{background:var(--surface-soft);min-height:44px;color:var(--text);border:0;border-radius:7px;font-weight:720}.full-button{width:100%}.block-button{width:100%;margin:18px 0 0}.danger-button{width:calc(100% - 28px);min-height:48px;color:var(--red);background:#fbeaec;border:0;border-radius:7px;margin:0 14px 16px;font-weight:760}.danger-link{color:var(--red);background:0 0;border:0}.inline-action{flex:none;min-height:34px;padding:0 2px;font-size:13px;font-weight:680}.row-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:18px;display:flex}.row-actions .link-button{min-height:36px;padding:0 2px}.tag-name{gap:3px;min-width:0;display:grid}.tag-name small{color:var(--green);font-size:12px}.form-actions,.section-title-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.form-actions{padding:12px 14px}.form-actions .secondary-button,.form-actions .primary-button{flex:1}.modal-actions{padding:0}.modal-actions .secondary-button,.modal-actions .primary-button{width:auto;margin:0}button:disabled{opacity:.45}.status-dot,.risk-dot{background:var(--green);border-radius:50%;width:9px;height:9px}.gray{background:#8e958e}.focus-row{border:1px solid var(--border);text-align:left;background:0 0;border-radius:8px;gap:6px;width:100%;padding:12px;display:grid}.focus-summary{border-left:3px solid var(--green);gap:6px;margin-top:10px;padding-left:12px;display:grid}.step-list{border:1px solid var(--border);border-radius:8px;overflow:hidden}.step-row{border-bottom:1px solid var(--border);grid-template-columns:24px minmax(0,1fr) auto;gap:10px;padding:11px 12px;display:grid}.step-actions{flex-wrap:wrap;grid-column:2/-1;gap:6px;display:flex}.step-actions button{background:var(--surface-soft);min-height:32px;color:var(--text);border:0;border-radius:7px;padding:0 10px;font-size:13px;font-weight:680}.step-editor{margin-bottom:12px}.step-row:last-child{border-bottom:0}.step-row.active{background:var(--green-soft);color:var(--green)}.metric-card{gap:8px;display:grid}.metric-number,.metric-card strong{font-size:34px;line-height:1}.metric-number{font-weight:400}.risk-bar{border-radius:999px;gap:2px;height:10px;margin:8px 0 10px;display:grid;overflow:hidden}.risk-bar .low{background:#20823e}.risk-bar .mid_low{background:#94b95d}.risk-bar .mid{background:#f1bd35}.risk-bar .mid_high{background:var(--orange)}.risk-bar .high{background:var(--red)}.risk-row{grid-template-columns:12px minmax(0,1fr);align-items:start;display:grid}.risk-row .risk-dot{align-self:start;margin-top:8px}.risk-row-main{gap:4px;min-width:0;display:grid}.risk-row-top{grid-template-columns:minmax(72px,1fr) minmax(118px,auto) 14px;align-items:center;gap:10px;display:grid}.risk-row-top strong{min-width:0}.risk-value-text{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;justify-self:end;font-size:15px;font-weight:400}.risk-row:nth-child(2) .risk-dot{background:#94b95d}.risk-row:nth-child(3) .risk-dot{background:#f1bd35}.risk-row:nth-child(4) .risk-dot{background:var(--orange)}.risk-row:nth-child(5) .risk-dot{background:var(--red)}.risk-asset-section{border-bottom:1px solid var(--border)}.risk-asset-section:last-child{border-bottom:0}.risk-group-title{border:0;border-bottom:1px solid var(--border);background:var(--surface-soft);text-align:left;grid-template-columns:minmax(0,1fr) auto 14px;align-items:center;gap:10px;width:100%;padding:12px 14px;display:grid}.risk-label{color:var(--muted)}.risk-label.low{color:var(--green)}.risk-label.mid_low{color:#7d9f3a}.risk-label.mid{color:#d49b00}.risk-label.mid_high{color:var(--orange)}.risk-label.high{color:var(--red)}.asset-group-list{display:grid}.nested-row{min-height:52px;padding:10px 14px}.account-value-row{grid-template-columns:minmax(0,1fr) auto 14px;gap:10px;display:grid}.investment-row-name,.investment-asset-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.investment-amount{color:var(--text);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;justify-self:end;font-size:15px;font-weight:400;line-height:1.4}.investment-asset-row{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 14px;gap:4px 10px;width:100%;padding:12px 14px;display:grid}.investment-asset-row:last-child{border-bottom:0}.investment-asset-row .chevron{grid-area:1/2/span 2;align-self:center}.investment-asset-meta{align-items:center;gap:10px;min-width:0;display:flex}.investment-asset-meta small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.4;overflow:hidden}.investment-asset-meta .investment-amount{margin-left:auto}.chevron{color:var(--muted);font-size:20px;line-height:1}.plain-row{justify-content:space-between}.backup-row{align-items:flex-start}.backup-row>span:first-child{flex:1;min-width:0}.investment-record-row{grid-template-columns:minmax(0,1fr) 128px;display:grid}.investment-plan-row{grid-template-columns:minmax(0,1fr) 72px 14px;display:grid}.rule-row{cursor:default}.rule-row span,.judgement-card dd{white-space:pre-wrap}.plan-status-text{text-align:right;white-space:nowrap;justify-self:end;font-weight:400}.detail-note-row{grid-template-columns:72px minmax(0,1fr);align-items:start;display:grid}.detail-note{min-width:0;color:var(--text);text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.amount-spacer{min-width:0}.plain-row .amount-text,.risk-row .amount-text,.risk-group-title .amount-text{text-align:right;font-variant-numeric:tabular-nums;justify-self:end;font-weight:400}.risk-row .percent-text{justify-self:end}.plain-row span{gap:3px;display:grid}.warn{color:var(--orange)}.ok{color:var(--green)}.chip-row{flex-wrap:wrap;margin-bottom:12px}.chip{flex:none;padding:0 12px}.segmented-control{background:var(--surface-soft);border-radius:8px;grid-auto-columns:1fr;grid-auto-flow:column;gap:0;margin:4px 0 18px;padding:3px;display:grid}.segmented-control button{min-height:34px;color:var(--text);background:0 0;border:0;border-radius:7px;font-weight:680}.segmented-control button.active{background:var(--green);color:#fff}.judgement-filter{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-flow:initial;grid-auto-columns:initial}.judgement-filter button{font-size:14px}.muted-row{color:var(--muted)}.judgement-list{gap:14px;display:grid}.judgement-card{gap:10px;display:grid}.row-between{justify-content:space-between;gap:12px;display:flex}dl{gap:6px;margin:0;display:grid}dl div{grid-template-columns:64px 1fr;gap:8px;font-size:13px;display:grid}dt{color:var(--muted)}dd{margin:0}.doc-row{min-height:72px}.doc-icon{color:var(--green)}.reading-screen .page-header{margin-bottom:6px}.reading-screen .page-header h1{font-size:26px;line-height:1.26}.markdown-body{color:#3f3f3f;word-break:break-word;margin-top:12px;padding-bottom:120px;font-size:16px;line-height:1.92;position:relative}.article-tags{margin:4px 0 18px}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{color:var(--text);letter-spacing:0}.markdown-body h1{margin:26px 0 18px;font-size:24px;font-weight:760;line-height:1.35}.markdown-body h2{margin:34px 0 16px;padding-left:12px;font-size:20px;font-weight:760;line-height:1.45;position:relative}.markdown-body h2:before{content:"";background:var(--green);border-radius:999px;width:4px;height:1.05em;position:absolute;top:.32em;left:0}.markdown-body h3{color:#223126;margin:26px 0 10px;font-size:17px;font-weight:760;line-height:1.55}.markdown-body h4{color:#425047;margin:22px 0 8px;font-size:16px;font-weight:720;line-height:1.55}.markdown-body p{text-align:justify;margin:14px 0 0}.markdown-body ul,.markdown-body ol{margin:14px 0 0;padding-left:1.35em}.markdown-body li{margin:6px 0;padding-left:2px}.markdown-body li::marker{color:var(--green);font-weight:720}.markdown-body blockquote{border-left:4px solid var(--green);background:var(--green-soft);color:#46534a;border-radius:0 8px 8px 0;margin:22px 0;padding:14px 16px}.markdown-body blockquote p{margin:0}.markdown-body hr{background:linear-gradient(90deg, transparent, var(--border), transparent);border:0;height:1px;margin:30px 0}.markdown-table-scroll{border:1px solid var(--border);border-radius:8px;margin:18px 0 0;overflow-x:auto}.markdown-body table{border-collapse:separate;border-spacing:0;width:100%;min-width:100%;font-size:13px;line-height:1.55}.markdown-body th,.markdown-body td{border-right:1px solid var(--border);border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:10px 9px}.markdown-body th{background:var(--surface-soft);color:var(--text);font-weight:720}.markdown-body tr:last-child td{border-bottom:0}.markdown-body th:last-child,.markdown-body td:last-child{border-right:0}.markdown-body img{border-radius:8px;max-width:100%;height:auto;margin:18px auto;display:block}.markdown-body a{color:var(--green);border-bottom:1px solid #137a3d4d;text-decoration:none}.markdown-body strong{color:#1f2822;font-weight:760}.markdown-body code{background:var(--surface-soft);color:#23422e;border-radius:5px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.9em}.markdown-body pre{color:#223126;background:#f4f6f2;border-radius:8px;margin:18px 0 0;padding:14px;line-height:1.65;overflow-x:auto}.markdown-body pre code{color:inherit;background:0 0;padding:0}.toc-popover{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:8px;gap:6px;padding:12px;display:grid;position:absolute;top:18px;right:18px}.settings-row{grid-template-columns:28px 1fr auto;display:grid}.settings-row span:nth-child(2){gap:3px;display:grid}.bottom-nav{z-index:10;width:100%;height:calc(76px + var(--safe-area-bottom));padding-bottom:var(--safe-area-bottom);border-top:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;right:auto;transform:translate(-50%)}.nav-item{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:12px;font-weight:650;text-decoration:none;display:flex}.nav-icon{border:1.5px solid;border-radius:7px;place-items:center;width:24px;height:24px;font-size:14px;line-height:1;display:grid}.nav-item.router-link-active{color:var(--green)}@media (width>=760px){#app{align-items:flex-start}.app-frame{width:min(100vw, var(--phone-preview-width));min-height:var(--phone-preview-height);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:28px}.bottom-nav{width:min(100vw, var(--phone-preview-width))}}
