@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.hidden{display:none}}:root{--ink:#18243a;--muted:#707685;--cream:#f4f0e8;--paper:#fffdf9;--green:#243d63;--lime:#eee5d5;--line:#ded7ca;--red:#b7473c;--down:#317467;--gold:#b68a46}*{box-sizing:border-box}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{background:radial-gradient(circle at 88% 0,#b68a461a,transparent 27%),var(--cream);min-width:320px;color:var(--ink);overflow-wrap:anywhere;margin:0;font-family:Avenir Next,Arial,PingFang SC,Microsoft YaHei,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.loading{min-height:100vh;color:var(--green);place-items:center;display:grid}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f4f0e8eb;border-bottom:1px solid #18243a1a;justify-content:space-between;align-items:center;height:68px;padding:0 max(5vw,24px);display:flex;position:sticky;top:0}.brand{color:var(--ink);letter-spacing:-.04em;align-items:center;gap:10px;font-weight:800;text-decoration:none;display:flex}.brand span{color:#f2d9a8;background:linear-gradient(145deg,#304d78,#1c304f);border:1px solid #ffffff2e;border-radius:9px;place-items:center;width:30px;height:30px;font-family:serif;font-size:14px;display:grid;box-shadow:0 5px 14px #18243a29}.top-actions{gap:10px;display:flex}.daily-greeting{background:linear-gradient(100deg,#fffdf9e0,#f4eee2bd);border:1px solid #b68a4638;border-radius:15px;justify-content:space-between;align-items:center;gap:18px;min-height:58px;margin:18px max(5vw,24px) 0;padding:10px 13px 10px 11px;display:flex;box-shadow:0 7px 20px #18243a09}.greeting-main{align-items:center;gap:11px;min-width:0;display:flex}.greeting-emoji{background:linear-gradient(145deg,#304d78,#1c304f);border-radius:11px;flex:0 0 36px;place-items:center;width:36px;height:36px;font-size:18px;display:grid;box-shadow:0 5px 12px #18243a1f}.greeting-main>div{min-width:0}.greeting-main strong{letter-spacing:-.01em;font-size:13px;display:block}.greeting-main p{color:var(--muted);flex-wrap:wrap;align-items:center;margin:4px 0 0;font-size:10px;line-height:1.45;display:flex}.weather-now{color:#506b68;font-weight:700}.weather-muted{color:#8a8e96}.greeting-settings{color:var(--green);background:#ffffffa3;border:0;border-radius:999px;flex:none;align-items:center;gap:7px;padding:7px 9px 7px 11px;font-size:10px;font-weight:700;display:flex}.greeting-settings:hover{background:#fff;box-shadow:0 4px 12px #18243a0f}.greeting-settings span{color:var(--gold);font-size:17px;line-height:.7}.primary,.ghost{border:1px solid var(--ink);border-radius:999px;padding:12px 20px;transition:all .2s}.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 8px 20px #243d6321}.primary:hover{background:#1b3152;transform:translateY(-1px)}.primary.small,.ghost{box-shadow:none;padding:10px 16px}.ghost{color:var(--ink);background:0 0;border-color:#17231e40}.ghost:hover{background:var(--paper)}.hero{justify-content:space-between;align-items:flex-end;gap:48px;padding:32px max(5vw,24px);display:flex}.eyebrow{color:var(--green);letter-spacing:.12em;margin:0 0 10px;font-size:11px;font-weight:800}h1{letter-spacing:-.04em;margin:0;font-size:clamp(30px,3.4vw,44px);font-weight:700;line-height:1.15}.intro{color:var(--muted);max-width:620px;margin:14px 0 0;font-size:14px;line-height:1.7}.hero-note{border-left:3px solid var(--gold);min-width:240px;padding:4px 0 4px 16px}.hero-note span{font-size:12px;font-weight:700}.hero-note p{color:var(--muted);margin:7px 0 0;font-size:12px;line-height:1.55}.personality-board{grid-template-columns:1.15fr 1fr 1fr;gap:10px;margin:0 max(5vw,24px) 14px;display:grid}.personality-board article{border-radius:14px;min-height:108px;padding:15px 18px;position:relative;overflow:hidden}.daily-quote-card{color:var(--ink);background:radial-gradient(circle at 92% 12%,#b68a4621,#0000 34%),linear-gradient(145deg,#edf2f6,#f8f6f0);border:1px solid #cbd6e1;grid-template-rows:auto 1fr;grid-template-columns:1fr auto;column-gap:14px;display:grid;box-shadow:0 8px 22px #1f36540e}.daily-quote-card:before{content:"";background:linear-gradient(#35557e,#b68a46);width:4px;position:absolute;inset:0 auto 0 0}.daily-quote-card:after{content:"“";color:#2e4c730f;font:112px/1 Georgia,serif;position:absolute;bottom:-31px;right:15px}.personality-label{z-index:1;grid-column:1/-1;justify-content:space-between;align-items:center;display:flex;position:relative}.personality-label span,.personality-card>span{color:#66758a;letter-spacing:.09em;font-size:9px;font-weight:800}.personality-label button{color:#35557e;background:#ffffff8f;border:1px solid #2e4c7329;border-radius:999px;padding:4px 8px;font-size:9px}.personality-label button:hover{color:#8d682e;background:#fff;border-color:#b68a467a}.daily-quote-card blockquote{z-index:1;color:#203653;letter-spacing:.01em;align-self:center;max-width:690px;margin:9px 0 0;font:600 clamp(13px,1.1vw,17px)/1.55 Georgia,Songti SC,serif;position:relative}.daily-quote-card cite{color:#936f35;text-align:right;z-index:1;align-self:end;max-width:250px;margin:0 2px 3px 0;font-size:9px;font-style:normal;line-height:1.45;position:relative}.daily-quote-card cite span{color:#7d8795;display:block}.personality-card{border:1px solid var(--line);background:#fffdf9e0;flex-direction:column;display:flex;box-shadow:0 7px 20px #18243a09}.personality-card:before{content:"";border-radius:0 0 4px 4px;height:3px;position:absolute;top:0;left:18px;right:18px}.personality-card strong{color:var(--green);letter-spacing:-.02em;margin:10px 0 4px;font-size:16px}.personality-card p{color:var(--muted);margin:auto 0 0;font-size:9px;line-height:1.5}.profile-card{background:linear-gradient(145deg,#f6f8fa,#eaf0f5);border-color:#ced8e2}.profile-card:before{background:linear-gradient(90deg,#35557e,#8ba1ba)}.profile-card strong{color:#29486f}.milestone-card{background:linear-gradient(145deg,#fffaf0,#f3e8d1);border-color:#decba7}.milestone-card:before{background:linear-gradient(90deg,#b68a46,#dfc68f)}.milestone-card strong{color:var(--gold);margin:7px 0 2px;font-size:20px}.summary{background:var(--paper);border:1px solid var(--line);border-radius:16px;grid-template-columns:1.15fr repeat(3,1fr);margin:0 max(5vw,24px);display:grid;overflow:hidden;box-shadow:0 12px 34px #18243a0f}.summary article{border-left:1px solid var(--line);flex-direction:column;justify-content:center;min-height:126px;padding:24px;display:flex;position:relative}.summary article:not(:first-child):before{content:"";background:linear-gradient(90deg,#e7ddcb,#cdb27d);height:2px;position:absolute;top:0;left:24px;right:24px}.summary article:nth-child(2){background:#fffdf9}.summary article:nth-child(3){background:#fafbfd}.summary article:nth-child(4){background:#fffaf2}.summary article:first-child{color:#fff;background:linear-gradient(135deg,#2f4d75,#203957);border-left:0}.summary p,.summary small{color:var(--muted);margin:0;font-size:13px}.summary-main p,.summary-main span{color:#ffffffbf}.summary strong{letter-spacing:-.025em;margin:9px 0 10px;font-size:clamp(21px,2.1vw,30px);display:block}.summary-main strong{font-size:clamp(27px,2.8vw,38px)}.summary span{font-size:13px}.positive{color:var(--red)!important}.negative{color:var(--down)!important}.summary-main .positive{color:#ffd9c7!important}.progress-strip{grid-template-columns:1fr 1fr;gap:10px;margin:10px max(5vw,24px) 0;display:grid}.progress-strip article{background:#fffdf9ad;border:1px solid #ded7cad1;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;min-height:68px;padding:12px 16px;display:flex}.progress-strip article>div{flex-direction:column;gap:4px;display:flex}.progress-strip span{color:var(--muted);font-size:9px;font-weight:700}.progress-strip strong{font-size:15px}.progress-strip p{max-width:260px;color:var(--muted);text-align:right;margin:0;font-size:9px;line-height:1.45}.snapshot-insight svg{width:120px;height:36px;overflow:visible}.snapshot-insight polyline{fill:none;stroke:var(--gold);stroke-width:2px;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.market-pulse{background:linear-gradient(110deg,#f4eee3,#f8f5ef);border:1px solid #e1d5c2;border-radius:14px;grid-template-columns:1.2fr .75fr 1fr auto;align-items:center;gap:22px;margin:14px max(5vw,24px) 0;padding:18px 22px;display:grid;box-shadow:0 6px 18px #46351c09}.pulse-title,.pulse-title>div{align-items:center;display:flex}.pulse-title{gap:11px}.pulse-title>div{flex-direction:column;align-items:flex-start;gap:4px}.live-dot{background:var(--gold);border-radius:50%;flex:0 0 8px;width:8px;height:8px;display:inline-block;box-shadow:0 0 0 4px #b68a4624}.market-pulse p,.market-pulse small{margin:0}.market-pulse p{font-size:13px;font-weight:800}.market-pulse p em{color:#8b6a36;vertical-align:middle;background:#eee4d2;border-radius:999px;margin-left:6px;padding:2px 6px;font-size:8px;font-style:normal}.market-pulse small{color:var(--muted);font-size:10px;line-height:1.45}.pulse-profit{flex-direction:column;gap:3px;display:flex}.pulse-profit>span{color:var(--muted);font-size:11px}.pulse-profit strong{letter-spacing:-.02em;font-size:20px}.pulse-note{border-left:1px solid #d9cdbb;padding-left:20px}.pulse-note p{margin-bottom:4px;font-size:11px}.refresh-estimate{color:var(--green);white-space:nowrap;background:#fffdf9e6;border:1px solid #b9a988;border-radius:999px;padding:9px 14px;font-size:11px;font-weight:800}.refresh-estimate:hover{border-color:var(--gold);background:#fff}.refresh-estimate:disabled{opacity:.55;cursor:default}.analysis-disclosure{margin:22px max(5vw,24px) 0}.analysis-disclosure-button{width:100%;min-height:58px;color:var(--ink);text-align:left;background:#fffdf9b3;border:1px solid #ded7cae6;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;display:flex}.analysis-disclosure-button:hover{background:var(--paper);border-color:#cbbd9f}.analysis-disclosure-button span{flex-direction:column;gap:4px;display:flex}.analysis-disclosure-button b{font-size:12px}.analysis-disclosure-button small{color:var(--muted);font-size:9px}.analysis-disclosure-button i{color:var(--green);flex:none;font-size:10px;font-style:normal;font-weight:800}.analysis-disclosure.open .analysis-disclosure-button{margin-bottom:26px}.analysis-section{margin:0}.analysis-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px;display:flex}.analysis-heading h2{letter-spacing:-.03em;margin:0;font-size:26px}.analysis-heading>div>span{color:var(--muted);margin-top:7px;font-size:10px;display:block}.share-card-button{color:#755621;background:#fffaf1;border:1px solid #bda77c;border-radius:999px;padding:10px 15px;font-size:10px;font-weight:800}.share-card-button:hover{background:#fff;box-shadow:0 7px 18px #30251212}.analysis-grid{grid-template-columns:1.35fr .85fr;gap:12px;display:grid}.analysis-card{border:1px solid var(--line);background:#fffdf9d1;border-radius:15px;min-width:0;padding:20px;box-shadow:0 8px 26px #18243a09}.analysis-card-head{justify-content:space-between;align-items:flex-start;gap:16px;min-height:40px;margin-bottom:15px;display:flex}.analysis-card-head span{color:var(--muted);letter-spacing:.08em;font-size:9px;font-weight:800}.analysis-card-head h3{margin:4px 0 0;font-size:17px}.analysis-card-head small{max-width:260px;color:var(--muted);text-align:right;font-size:9px;line-height:1.45}.trend-card{background:linear-gradient(145deg,#f7f9fb,#edf2f6);border-color:#ccd7e2}.trend-series-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.trend-series-grid>div{background:#ffffffad;border:1px solid #3f597a1a;border-radius:11px;flex-direction:column;gap:6px;min-width:0;padding:13px;display:flex}.trend-series-grid span{color:var(--muted);font-size:9px}.trend-series-grid b{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.trend-series-grid i{color:#98a0aa;place-items:center;height:36px;font-size:8px;font-style:normal;display:grid}.trend-series-grid svg{width:100%;height:36px;overflow:visible}.trend-series-grid polyline{fill:none;stroke:#35557e;stroke-width:2px;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.trend-series-grid .profit-line polyline{stroke:#b68a46}.profit-split-card{background:linear-gradient(145deg,#fffdf8,#f7efe1);border-color:#decfae}.profit-split-list{grid-template-columns:1fr 1fr;gap:9px;display:grid}.profit-split-list>div{background:#ffffffad;border-radius:10px;flex-direction:column;gap:5px;padding:11px;display:flex}.profit-split-list span{color:var(--muted);font-size:9px}.profit-split-list b{font-size:13px}.profit-split-list small{color:var(--muted);font-size:8px;line-height:1.4}.calendar-card{background:#fbfaf7}.calendar-weekdays,.profit-calendar{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.calendar-weekdays{margin-bottom:5px}.calendar-weekdays span{color:var(--muted);text-align:center;font-size:8px}.profit-calendar>div{aspect-ratio:1.8;color:#737b78;background:#ece9e2;border-radius:5px;place-items:center;min-height:25px;font-size:8px;display:grid}.profit-calendar .gain{color:#9c3e2e;background:#bc4a362e}.profit-calendar .loss{color:#236a5e;background:#2b76682e}.profit-calendar .gain.level-2{background:#bc4a364d}.profit-calendar .gain.level-3{color:#fff;background:#bc4a3675}.profit-calendar .gain.level-4{color:#fff;background:#bc4a36ad}.profit-calendar .loss.level-2{background:#2b76684d}.profit-calendar .loss.level-3{color:#fff;background:#2b766875}.profit-calendar .loss.level-4{color:#fff;background:#2b7668ad}.profit-calendar .empty{opacity:.38}.calendar-legend{color:var(--muted);justify-content:flex-end;align-items:center;gap:5px;margin-top:10px;font-size:8px;display:flex}.calendar-legend i{background:#ece9e2;border-radius:3px;width:12px;height:8px}.calendar-legend i.gain{background:#bc4a3647}.calendar-legend i.loss{background:#2b766847}.diagnosis-card{background:linear-gradient(145deg,#f7f8fa,#edf0f3);border-color:#d4dbe2}.diagnosis-list{grid-template-columns:1fr 1fr;gap:9px;display:grid}.diagnosis-list>div{background:#ffffffb8;border-radius:10px;flex-direction:column;gap:5px;min-width:0;padding:11px;display:flex}.diagnosis-list span{color:var(--muted);font-size:9px}.diagnosis-list b{font-size:13px}.diagnosis-list small{color:var(--muted);font-size:8px;line-height:1.45}.ledger-section{padding:56px max(5vw,24px) 72px}.section-head{justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px;display:flex}.section-head h2,.modal h2{letter-spacing:-.03em;margin:0;font-size:26px;font-weight:700}.section-head h2 span{vertical-align:top;background:var(--lime);letter-spacing:0;border-radius:50%;place-items:center;width:24px;height:24px;font:700 12px Arial;display:inline-grid}.search{border:1px solid var(--line);background:#fffef9a6;border-radius:999px;align-items:center;gap:8px;width:min(320px,40vw);height:45px;padding:0 15px;display:flex}.search span{color:var(--muted);font-size:22px}.search input{background:0 0;border:0;outline:0;width:100%}.group-filters{scrollbar-width:none;gap:8px;padding:0 0 18px;display:flex;overflow-x:auto}.group-filters::-webkit-scrollbar{display:none}.group-filters button{border:1px solid var(--line);color:var(--muted);background:#fffef9b8;border-radius:999px;flex:none;padding:8px 12px;font-size:11px;font-weight:700}.group-filters button.active{color:#fff;background:#314d76;border-color:#314d76}.group-filters button span{opacity:.72;margin-left:5px;font-size:10px}.grouped-fund-list{flex-direction:column;gap:28px;display:flex}.fund-group{flex-direction:column;gap:11px;display:flex}.fund-group-head{justify-content:space-between;align-items:end;gap:16px;padding:0 4px;display:flex}.fund-group-head>div:first-child{align-items:baseline;gap:9px;display:flex}.fund-group-head h3{margin:0;font-size:16px}.fund-group-head span{color:var(--muted);font-size:10px}.group-summary{align-items:center;gap:18px;display:flex}.group-summary span{align-items:baseline;gap:6px;display:flex}.group-summary b{color:var(--ink);font-size:12px}.fund-list{flex-direction:column;gap:12px;display:flex}.fund-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;transition:all .2s;overflow:hidden}.fund-card:hover{border-color:#c4b89f;transform:translateY(-1px)}.fund-card.open{box-shadow:0 12px 34px #18243a12}.fund-overview{width:100%;min-height:106px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:minmax(320px,1.55fr) repeat(5,minmax(104px,.55fr)) 26px;align-items:center;gap:16px;padding:22px 26px;display:grid}.fund-title{align-items:center;gap:15px;min-width:0;display:flex}.fund-title>div{width:100%;min-width:0;overflow:hidden}.fund-dot{color:#f4d9a4;background:linear-gradient(145deg,#385682,#20395d);border-radius:12px;flex:0 0 42px;place-items:center;width:42px;height:42px;font-family:Georgia,serif;font-size:17px;display:grid;box-shadow:0 6px 16px #243d632e}.fund-title h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 7px;font-size:16px;overflow:hidden}.fund-title p,.metric span{color:var(--muted);margin:0;font-size:12px}.automation-status{border-radius:99px;width:max-content;margin-top:7px;padding:3px 7px;font-size:9px;font-style:normal;font-weight:800;line-height:1.2;display:inline-flex}.automation-status.auto{color:#386f64;background:#e5f0eb}.automation-status.action{color:#8a652b;background:#f5ead6}.automation-status.waiting{color:#677384;background:#e9edf2}.automation-status.manual{color:#765f4a;background:#eee7df}.metric{flex-direction:column;gap:8px;display:flex}.metric b{font-size:15px}.metric small{color:var(--muted);margin-top:-3px;font-size:9px}.metric b.metric-guidance{max-width:150px;font-size:11px;line-height:1.35}.today-metric small{margin-top:-3px;font-size:10px}.muted-value{color:#8b948f;font-weight:600}.chevron{font-size:22px;transition:all .2s}.open .chevron{transform:rotate(180deg)}.fund-detail{border-top:1px solid var(--line);background:#faf7f0;padding:28px 26px 20px}.calculation-status-panel{background:#edf4f1;border:1px solid #cbd9d4;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px;padding:13px 15px;display:flex}.calculation-status-panel>div{align-items:center;gap:11px;display:flex}.calculation-status-panel>div>span{color:#2f7167;background:#dcebe5;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.calculation-status-panel b{color:#315d55;font-size:12px;display:block}.calculation-status-panel p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.45}.calculation-status-panel button{color:var(--green);background:#fff;border:1px solid #b9a988;border-radius:999px;flex:none;padding:7px 10px;font-size:9px;font-weight:800}.calculation-status-panel.manual{background:#f8f0df;border-color:#dfcda8}.calculation-status-panel.manual>div>span{color:#8a6428;background:#efe1c1}.calculation-status-panel.manual b{color:#7d5d29}.calculation-status-panel.waiting{background:#f0f2f5;border-color:#d6dce3}.calculation-status-panel.waiting>div>span{color:#667487;background:#e2e6eb}.calculation-status-panel.waiting b{color:#526176}.estimate-panel{background:linear-gradient(135deg,#eef2f7,#faf8f3);border:1px solid #d8dee7;border-radius:13px;margin-bottom:14px;padding:17px 18px 14px}.estimate-panel.confirmed-panel{background:linear-gradient(135deg,#f7f1e5,#fbfaf6);border-color:#dfd2b9}.confirmed-panel .live-dot{background:#c69a45;animation:none;box-shadow:0 0 0 5px #c69a4521}.estimate-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.estimate-heading>div{align-items:center;gap:9px;display:flex}.estimate-heading b{font-size:13px}.estimate-heading small{color:var(--muted);font-size:10px}.estimate-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.estimate-grid>div{background:#ffffffc7;border-radius:9px;flex-direction:column;gap:6px;padding:12px;display:flex}.estimate-grid span{color:var(--muted);font-size:10px}.estimate-grid b{font-size:15px}.confirmed-grid>div{border:1px solid #c0a57029}.estimate-empty{color:var(--muted);text-align:center;background:#ffffffb8;border-radius:9px;padding:20px;font-size:12px}.estimate-panel>p{color:var(--muted);margin:12px 0 0;font-size:10px}.detail-stats{grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:14px;display:grid}.detail-stats>div,.detail-stats>label{border:1px solid var(--line);background:var(--paper);border-radius:12px;flex-direction:column;gap:9px;padding:16px;display:flex}.detail-stats span{color:var(--muted);font-size:12px}.detail-stats b{font-size:17px}.detail-stats i{margin-left:5px;font-size:10px;font-style:normal}.money-input{align-items:center;gap:5px;display:flex}.money-input input{border:0;border-bottom:1px solid var(--line);background:0 0;outline:0;width:100%;padding:0 0 3px;font-weight:700}.auto-value{flex-direction:column;align-items:flex-start;gap:5px;display:flex}.auto-value>span{color:var(--muted);font-size:12px}.auto-value>span i{color:#876323;background:#efe6d5;border-radius:5px;padding:2px 5px;font-size:9px;font-style:normal}.auto-value>b{font-size:17px}.auto-value small,.value-hint{color:var(--muted);font-size:9px;line-height:1.45}.auto-value button,.restore-auto{color:var(--green);cursor:pointer;background:0 0;border:0;padding:0;font-size:9px;font-weight:800}.restore-auto{text-align:left;margin-top:2px}.profit-guide{color:var(--muted);background:#edf1f6;border-radius:11px;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 24px;padding:14px 16px;display:grid}.profit-guide>div{align-items:baseline;gap:9px;display:flex}.profit-guide b{color:var(--green);flex:none;font-size:11px}.profit-guide span{font-size:11px;line-height:1.55}.fund-diagnosis{background:linear-gradient(145deg,#f5f8fa,#edf1f5);border:1px solid #d4dce4;border-radius:13px;margin:0 0 24px;padding:0 17px}.fund-diagnosis-head{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;list-style:none;display:flex}.fund-diagnosis-head::-webkit-details-marker{display:none}.fund-diagnosis-head:after{content:"＋";color:#60738b;flex:none;font-size:15px}.fund-diagnosis[open] .fund-diagnosis-head{border-bottom:1px solid #cfd8e1cc;margin-bottom:12px}.fund-diagnosis[open] .fund-diagnosis-head:after{content:"−"}.fund-diagnosis-head span{color:#60738b;letter-spacing:.08em;font-size:8px;font-weight:800}.fund-diagnosis-head h4{margin:4px 0 0;font-size:13px}.fund-diagnosis-head small{max-width:300px;color:var(--muted);text-align:right;margin-left:auto;font-size:8px}.fund-diagnosis-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.fund-diagnosis-grid>div{background:#ffffffc2;border-radius:9px;flex-direction:column;gap:5px;min-width:0;padding:11px;display:flex}.fund-diagnosis-grid span{color:var(--muted);font-size:9px}.fund-diagnosis-grid b{font-size:13px}.fund-diagnosis-grid small{color:var(--muted);font-size:8px;line-height:1.4}.buy-lot-analysis{background:#ffffffad;border-radius:10px;margin:10px 0 17px;padding:12px}.buy-lot-heading{justify-content:space-between;gap:12px;margin-bottom:8px;display:flex}.buy-lot-heading b{font-size:10px}.buy-lot-heading small{color:var(--muted);font-size:8px}.buy-lot-list{flex-direction:column;display:flex}.buy-lot-list>div{border-top:1px solid #d6dce2b8;grid-template-columns:90px 1fr 1fr 76px;align-items:center;gap:10px;min-height:34px;font-size:9px;display:grid}.buy-lot-list time,.buy-lot-list span{color:var(--muted)}.buy-lot-list b{text-align:right}.empty-lot{color:var(--muted);margin:0;font-size:9px}.tx-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.tx-head h4{margin:0;font-size:14px}.tx-head-actions{align-items:center;gap:4px;display:flex}.text-button{color:var(--green);background:0 0;border:0;padding:8px;font-weight:800}.secondary-action{color:var(--muted);font-weight:700}.tx-list{border-top:1px solid var(--line)}.tx-row{border-bottom:1px solid var(--line);grid-template-columns:100px 100px minmax(160px,1fr) 150px 58px;align-items:center;gap:16px;min-height:72px;display:grid}.tx-row time{color:var(--muted);font-size:12px}.tx-tag{text-align:center;color:#405777;background:#e8edf4;border-radius:999px;padding:6px 9px;font-size:11px}.tx-tag.sell,.tx-tag.dividend{color:#795a22;background:#f1e6ce}.tx-main{flex-direction:column;gap:5px;display:flex}.tx-main b{font-size:13px}.tx-main small{color:var(--muted);font-size:11px}.tx-row>strong{text-align:right;font-size:14px}.inflow{color:var(--red)}.outflow{color:var(--ink)}.tx-actions{opacity:0;justify-content:flex-end;align-items:center;gap:1px;display:flex}.tx-row:hover .tx-actions{opacity:1}.edit-tx,.delete{color:#8e9692;background:0 0;border:0;border-radius:7px;place-items:center;width:27px;height:27px;font-size:14px;display:grid}.edit-tx:hover{color:var(--green);background:#edf1f4}.delete{color:#a0847e;font-size:19px}.delete:hover{color:var(--red);background:#f4e9e5}.empty-mini{color:var(--muted);border-top:1px solid var(--line);padding:28px 0;font-size:13px}.danger-zone{text-align:right;padding-top:15px}.danger-zone button{color:#9d7770;background:0 0;border:0;font-size:11px}.empty{text-align:center;background:#fffef973;border:1px dashed #bdc4bc;border-radius:18px;padding:70px 20px}.empty>div{color:var(--green);font-size:44px}.empty h3{margin:10px 0}.empty p{color:var(--muted);margin:0 0 22px}footer{color:var(--muted);border-top:1px solid #17231e26;justify-content:space-between;margin:0 max(5vw,24px);padding:30px 0 40px;font-size:12px;display:flex}footer span{color:var(--ink);font-weight:800}footer p{margin:0}.modal-backdrop{z-index:50;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#121e3294;place-items:center;animation:.15s fade;display:grid;position:fixed;inset:0}.modal{overscroll-behavior:contain;background:var(--paper);border:1px solid #ffffffb3;border-radius:18px;width:min(540px,100%);max-height:calc(100dvh - 32px);padding:34px;animation:.2s rise;position:relative;overflow:auto;box-shadow:0 30px 90px #00000038}.modal-close{background:#eeeee8;border:0;border-radius:50%;width:32px;height:32px;font-size:20px;position:absolute;top:18px;right:18px}.modal form{flex-direction:column;gap:18px;margin-top:28px;display:flex}.modal label{color:#46514b;flex-direction:column;gap:8px;font-size:12px;font-weight:700;display:flex}.modal label>small{color:var(--muted);font-size:9px;font-weight:500;line-height:1.45}.fund-lookup-status.loading{color:#8a6a32}.fund-lookup-status.found{color:#2f7167}.fund-lookup-status.error{color:#b24b3f}.modal input,.modal select{width:100%;color:var(--ink);background:#f4f0e8;border:1px solid #0000;border-radius:10px;outline:0;padding:13px 14px}.modal input:focus,.modal select:focus{border-color:var(--green);background:#fff}.fund-search-box{position:relative}.fund-search-loading{color:var(--muted);font-size:9px;font-weight:600;position:absolute;top:14px;right:13px}.fund-search-results{z-index:4;background:#fff;border:1px solid #ccd5df;border-radius:12px;max-height:300px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto;box-shadow:0 18px 45px #18243a2b}.fund-search-results button{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:8px;flex-direction:column;gap:4px;padding:11px 12px;display:flex}.fund-search-results button:hover,.fund-search-results button:focus{background:#edf2f6;outline:0}.fund-search-results b{font-size:11px}.fund-search-results span,.fund-search-results p{color:var(--muted);font-size:9px;line-height:1.45}.fund-search-results p{text-align:center;margin:9px}.selected-fund{background:#edf4f1;border:1px solid #cbd9d4;border-radius:11px;grid-template-columns:auto 1fr;gap:3px 10px;padding:12px 14px;display:grid}.selected-fund>span{color:#2f7167;grid-row:1/3;align-self:center;font-size:10px;font-weight:800}.selected-fund b{font-size:12px}.selected-fund small{color:var(--muted);font-size:9px}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.submit{border-radius:12px;width:100%;margin-top:4px}.modal-description{color:var(--muted);margin:10px 40px 24px 0;font-size:13px;line-height:1.6}.backup-options{flex-direction:column;gap:9px;display:flex}.backup-options button,.backup-options label{border:1px solid var(--line);width:100%;min-height:70px;color:var(--ink);text-align:left;cursor:pointer;background:#faf8f3;border-radius:12px;flex-direction:row;align-items:center;gap:13px;padding:13px 15px;display:flex}.backup-options button:hover,.backup-options label:hover{background:#f7f2e8;border-color:#c8b58f}.backup-options input{display:none}.backup-options>*>span{width:34px;height:34px;color:var(--green);background:#e9edf2;border-radius:9px;flex:0 0 34px;place-items:center;font-size:14px;font-weight:800;display:grid}.backup-options div{flex-direction:column;gap:4px;display:flex}.backup-options b{font-size:12px}.backup-options small{color:var(--muted);font-size:9px;line-height:1.4}.backup-time{color:var(--muted);text-align:center;margin:16px 0 0;font-size:10px}.location-choice{grid-template-columns:auto auto 1fr;align-items:center;gap:9px;margin-top:-6px;display:grid}.location-choice>span{color:var(--muted);font-size:10px}.location-choice button{color:var(--green);background:#eef2f6;border:1px solid #243d6333;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:800}.location-choice button:hover{background:#e5ebf1}.location-choice button:disabled{cursor:wait;opacity:.65}.location-choice small{color:var(--muted);font-size:9px;line-height:1.45}.guide-modal{width:min(920px,100%);max-height:calc(100dvh - 32px);padding:0;overflow:auto}.guide-modal .modal-close{float:right;z-index:2;margin:18px 18px -50px 0;position:sticky;top:18px}.guide-heading{border-bottom:1px solid var(--line);background:linear-gradient(125deg,#fffdf9,#f2ebde);padding:38px 74px 30px 38px}.guide-heading h2{max-width:640px;font-size:29px}.guide-heading>p:last-child{max-width:680px;color:var(--muted);margin:12px 0 0;font-size:13px;line-height:1.7}.guide-section{border-bottom:1px solid var(--line);padding:30px 38px}.guide-section-title{align-items:flex-start;gap:13px;margin-bottom:18px;display:flex}.guide-section-title>span{background:var(--green);color:#f1d8a8;border-radius:9px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:10px;font-weight:800;display:grid}.guide-section-title h3{margin:0 0 5px;font-size:17px}.guide-section-title p{color:var(--muted);margin:0;font-size:11px}.guide-steps{counter-reset:steps;grid-template-columns:repeat(5,1fr);gap:9px;margin:0;padding:0;list-style:none;display:grid}.guide-steps li{border:1px solid var(--line);counter-increment:steps;background:#faf8f3;border-radius:12px;flex-direction:column;gap:9px;min-height:146px;padding:16px 14px;display:flex}.guide-steps li:before{content:counter(steps);color:#805f25;background:#ece3d3;border-radius:50%;place-items:center;width:22px;height:22px;font-size:10px;font-weight:800;display:grid}.guide-steps b{font-size:12px}.guide-steps span{color:var(--muted);font-size:10px;line-height:1.55}.guide-shortcut{background:#edf1f6;border-radius:10px;align-items:baseline;gap:12px;margin-top:12px;padding:13px 15px;display:flex}.guide-shortcut b{color:var(--green);flex:none;font-size:11px}.guide-shortcut span{color:var(--muted);font-size:11px;line-height:1.55}.metric-dictionary{grid-template-columns:1fr 1fr;gap:10px;display:grid}.metric-dictionary article{border:1px solid var(--line);background:#fffdf9;border-radius:12px;padding:17px}.metric-dictionary h4{margin:0 0 9px;font-size:13px}.metric-dictionary code{color:#705422;background:#f2ecdf;border-radius:7px;padding:8px 10px;font:700 10px/1.5 PingFang SC,sans-serif;display:block}.metric-dictionary p{color:var(--muted);margin:9px 0 0;font-size:10px;line-height:1.6}.guide-cautions{background:#faf5ed}.guide-cautions ul{color:var(--muted);grid-template-columns:1fr 1fr;gap:8px 24px;margin:0;padding:0 0 0 18px;display:grid}.guide-cautions li{padding-left:2px;font-size:11px;line-height:1.55}.guide-rule{border-left:3px solid var(--gold);color:var(--muted);background:#fffaf1;margin:16px 0 0;padding:13px 15px;font-size:11px;line-height:1.65}.guide-rule b{color:var(--ink)}.guide-footer{justify-content:space-between;align-items:center;gap:24px;padding:22px 38px 28px;display:flex}.guide-footer p{max-width:640px;color:var(--muted);margin:0;font-size:10px;line-height:1.55}.guide-footer .primary{flex:none;padding:10px 22px}.import-modal{width:min(960px,100%);max-height:calc(100dvh - 32px);overflow:auto}.import-kind-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.import-kind-grid button{border:1px solid var(--line);min-height:132px;color:var(--ink);text-align:left;background:#faf8f3;border-radius:14px;align-items:center;gap:16px;padding:22px;transition:all .18s;display:flex}.import-kind-grid button:hover{background:#f0f3f7;border-color:#9ba9bc;transform:translateY(-1px)}.import-kind-grid button>span{background:var(--green);color:#fff;border-radius:11px;flex:0 0 44px;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.import-kind-grid button>div{flex-direction:column;gap:7px;display:flex}.import-kind-grid b{font-size:15px}.import-kind-grid small{color:var(--muted);font-size:11px;line-height:1.5}.import-start{flex-direction:column;gap:20px;margin-top:20px;display:flex}.back-link{color:var(--green);background:0 0;border:0;align-self:flex-start;padding:0;font-size:11px;font-weight:800}.field-title{margin-bottom:10px;font-size:12px;display:block}.platform-picker{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.platform-picker button{border:1px solid var(--line);min-height:58px;color:var(--ink);text-align:left;background:#faf8f3;border-radius:10px;grid-template-columns:30px 1fr 14px;align-items:center;gap:8px;padding:10px;display:grid}.platform-picker button.selected{border-color:var(--green);box-shadow:0 0 0 1px var(--green) inset;background:#edf1f6}.platform-picker button>span{color:#856326;background:#ece4d5;border-radius:8px;place-items:center;width:30px;height:30px;font-size:11px;font-weight:800;display:grid}.platform-picker button.selected>span{background:var(--green);color:#f1d8a8}.platform-picker button>b{font-size:11px}.platform-picker button>i{color:var(--gold);font-style:normal}.platform-custom{margin-top:10px}.upload-area{cursor:pointer;background:#faf8f3;border:1.5px dashed #afa58f;border-radius:12px;align-items:center;min-height:100px;padding:18px 22px;flex-direction:row!important}.upload-area:hover{border-color:var(--gold);background:#f6f0e4}.upload-area input,.retry-button input,.retry-link input{display:none}.upload-area>span{background:var(--lime);width:44px;height:44px;color:var(--green);border-radius:11px;flex:0 0 44px;place-items:center;font-size:20px;display:grid}.upload-area>div{flex-direction:column;gap:5px;display:flex}.upload-area b{font-size:14px}.upload-area small{color:var(--muted);font-size:11px}.upload-area.disabled{cursor:not-allowed;opacity:.62}.upload-area.disabled:hover{background:#f7f9f7;border-color:#aab8b0}.import-layout{grid-template-columns:minmax(220px,.72fr) minmax(430px,1.28fr);align-items:start;gap:24px;margin-top:22px;display:grid}.source-chip{border:1px solid var(--line);background:#eef1f5;border-bottom:0;border-radius:11px 11px 0 0;align-items:center;gap:9px;padding:10px 12px;display:flex}.source-chip>span{background:var(--green);color:#f1d8a8;border-radius:7px;place-items:center;width:28px;height:28px;font-size:10px;font-weight:800;display:grid}.source-chip>div{flex-direction:column;gap:2px;display:flex}.source-chip small{color:var(--muted);font-size:9px}.source-chip b{font-size:11px}.screenshot-preview{border:1px solid var(--line);background:#e9ecea;border-radius:0 0 11px 11px;place-items:center;min-height:320px;padding:10px;display:grid}.screenshot-preview img{object-fit:contain;border-radius:6px;max-width:100%;max-height:500px;display:block}.import-workspace{min-height:360px}.ocr-loading,.ocr-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:360px;display:flex}.ocr-spinner{border:3px solid var(--line);border-top-color:var(--green);border-radius:50%;width:38px;height:38px;margin-bottom:16px;animation:.8s linear infinite spin}.ocr-loading small{color:var(--muted);margin-top:8px}.progress-track{background:#e2e8e4;border-radius:99px;width:min(280px,100%);height:6px;margin-top:16px;overflow:hidden}.progress-track span{background:var(--green);height:100%;transition:width .2s;display:block}.ocr-error p{color:var(--muted);font-size:12px}.retry-button{background:var(--green);cursor:pointer;border-radius:8px;padding:10px 15px;color:#fff!important;display:inline-block!important}.import-form{gap:13px!important;margin-top:0!important}.recognition-head{color:var(--green);background:#eef1f5;border-radius:9px;justify-content:space-between;gap:12px;padding:11px 12px;display:flex}.recognition-head b{font-size:12px}.recognition-head small{color:var(--muted);font-size:10px}.holding-review{flex-direction:column;gap:8px;display:flex}.holding-review-row{grid-template-columns:1.35fr .65fr .8fr 26px;align-items:center;gap:7px;display:grid}.holding-review-row input{padding:11px 10px;font-size:11px}.holding-review-row button{color:#a0847e;background:0 0;border:0;width:26px;height:26px;font-size:18px}.add-review-row{color:var(--green);background:0 0;border:0;align-self:flex-start;padding:2px 0;font-size:11px;font-weight:800}.import-form details{color:var(--muted);font-size:11px}.import-form summary{cursor:pointer}.import-form pre{white-space:pre-wrap;background:#f3f4f1;border-radius:8px;max-height:120px;padding:10px;font:10px/1.5 monospace;overflow:auto}.import-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.import-actions .primary{border-radius:9px;padding:10px 16px}.retry-link{cursor:pointer;color:var(--green)!important}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:0;transform:translateY(12px)}}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1320px){.fund-overview{grid-template-columns:minmax(240px,1.35fr) repeat(3,minmax(115px,.65fr)) 24px}.fund-overview .today-metric,.fund-overview .holding-profit-metric{display:none}}@media (max-width:980px){.personality-board{grid-template-columns:1fr 1fr}.daily-quote-card{grid-column:1/-1}.summary{grid-template-columns:1fr 1fr}.summary article:nth-child(3){border-left:0;border-top:1px solid var(--line)}.summary article:nth-child(4){border-top:1px solid var(--line)}.market-pulse{grid-template-columns:1fr 1fr auto}.pulse-note{display:none}.fund-overview{grid-template-columns:minmax(220px,1.5fr) repeat(2,1fr) 24px}.fund-overview .metric{display:none}.fund-overview .current-value-metric,.fund-overview .allocation-metric{display:flex}.detail-stats{grid-template-columns:1fr 1fr}.guide-steps{grid-template-columns:repeat(3,1fr)}.analysis-grid{grid-template-columns:1fr}.fund-diagnosis-grid{grid-template-columns:1fr 1fr}}@media (max-width:700px){.topbar{height:62px}.ghost:not(.import-trigger):not(.guide-trigger):not(.backup-trigger){display:none}.guide-trigger,.backup-trigger{width:36px;font-size:0;padding:9px 0!important}.guide-trigger:before{content:"?";font-size:12px}.backup-trigger:before{content:"⇩";font-size:13px}.import-trigger{width:36px;padding:9px 0;font-size:0}.import-trigger:before{content:"▣";font-size:12px}.daily-greeting{gap:10px;margin:14px 16px 0;padding:9px 10px}.greeting-emoji{flex-basis:34px;width:34px;height:34px}.greeting-settings{padding:7px 8px}.hero{flex-direction:column;align-items:stretch;gap:24px;padding-top:26px}.hero-note{min-width:0;max-width:420px}.personality-board{grid-template-columns:1fr}.daily-quote-card{grid-column:auto;min-height:112px}.personality-card{min-height:96px!important}.summary{grid-template-columns:1fr 1fr}.summary article{min-height:112px;padding:18px}.summary article:first-child{grid-column:1/-1}.summary article:nth-child(3){border-left:1px solid var(--line);border-top:0}.summary article:nth-child(4){border-left:0;grid-column:1/-1}.progress-strip{grid-template-columns:1fr}.market-pulse{grid-template-columns:1fr auto;padding:16px 18px}.pulse-profit{grid-row:2}.refresh-estimate{grid-area:1/2/3}.ledger-section{padding-top:48px}.section-head{flex-direction:column;align-items:stretch}.search{width:100%}.fund-group-head{flex-direction:column;align-items:flex-start;gap:7px}.group-summary{justify-content:space-between;gap:10px;width:100%}.fund-overview{grid-template-columns:1fr auto;gap:12px;padding:18px}.fund-overview .metric{display:none}.fund-detail{padding:20px 18px 16px}.estimate-heading{flex-direction:column;align-items:flex-start;gap:7px}.estimate-grid,.detail-stats{grid-template-columns:1fr 1fr}.profit-guide{grid-template-columns:1fr;gap:8px}.tx-row{grid-template-columns:76px minmax(120px,1fr) 90px 58px;gap:8px}.tx-tag,.tx-main small{display:none}.tx-actions{opacity:1}.form-grid,.import-kind-grid,.import-layout{grid-template-columns:1fr}.platform-picker{grid-template-columns:1fr 1fr}.screenshot-preview{min-height:180px}.screenshot-preview img{max-height:260px}.holding-review-row{grid-template-columns:1fr 1fr 26px}.holding-review-row input:first-child{grid-column:1/-1}.guide-heading,.guide-section{padding-left:22px;padding-right:22px}.guide-heading h2{font-size:24px}.guide-steps,.metric-dictionary,.guide-cautions ul{grid-template-columns:1fr}.guide-steps li{min-height:0}.guide-shortcut,.guide-footer{flex-direction:column;align-items:flex-start}.guide-footer{padding:20px 22px 26px}.guide-footer .primary{width:100%}footer{flex-direction:column;gap:8px}.analysis-heading{align-items:flex-start}.trend-series-grid{grid-template-columns:1fr}.profit-split-list,.diagnosis-list{grid-template-columns:1fr 1fr}.calculation-status-panel{flex-direction:column;align-items:flex-start}.fund-diagnosis-head{flex-direction:column}.fund-diagnosis-head small{text-align:left;max-width:none}.buy-lot-list>div{grid-template-columns:76px 1fr 72px}.buy-lot-list>div span:nth-of-type(2){display:none}}@media (max-width:430px){h1{font-size:30px}.summary{grid-template-columns:1fr}.summary article{border-left:0!important;border-top:1px solid var(--line)!important;grid-column:auto!important}.summary article:first-child{border-top:0!important}.market-pulse{grid-template-columns:1fr}.refresh-estimate{grid-area:auto/1;width:100%}.estimate-grid,.detail-stats{grid-template-columns:1fr}.tx-row{grid-template-columns:70px 1fr 84px 18px}.modal{padding:28px 22px}.location-choice{grid-template-columns:auto 1fr}.location-choice small{grid-column:1/-1}.analysis-heading{flex-direction:column;align-items:stretch}.share-card-button{width:100%}.analysis-card{padding:16px}.analysis-card-head{flex-direction:column;gap:7px}.analysis-card-head small{text-align:left;max-width:none}.profit-split-list,.diagnosis-list,.fund-diagnosis-grid{grid-template-columns:1fr}.calendar-weekdays,.profit-calendar{gap:4px}}@media (max-width:700px){.topbar{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left))}.top-actions{gap:6px}.topbar .guide-trigger,.topbar .import-trigger{width:40px;height:40px;padding:0!important}.topbar .add-fund-trigger{min-height:40px}.hero,.ledger-section{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.summary,.progress-strip,.market-pulse,.analysis-disclosure,footer{margin-left:max(16px,env(safe-area-inset-left));margin-right:max(16px,env(safe-area-inset-right))}footer{padding-bottom:max(32px,env(safe-area-inset-bottom))}.search input,.modal input,.modal select{font-size:16px}.modal-close{width:40px;height:40px;top:14px;right:14px}.modal form{gap:15px}.modal input,.modal select{padding:12px 13px}.fund-overview{min-height:92px}.fund-title{gap:11px}.fund-dot{flex-basis:38px;width:38px;height:38px}.text-button,.back-link,.add-review-row,.restore-auto,.auto-value button{align-items:center;min-height:40px;display:inline-flex}.import-actions{align-items:stretch}.import-actions .primary{min-height:44px}}@media (max-width:430px){.topbar{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.brand{gap:7px;font-size:14px}.brand span{width:28px;height:28px}.add-fund-trigger{width:40px;height:40px;font-size:0;padding:0!important}.add-fund-trigger:before{content:"＋";font-size:16px}.modal-backdrop{padding:env(safe-area-inset-top) 0 0;place-items:end center}.modal{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));padding:27px 20px max(24px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0}.guide-modal{padding:0 0 env(safe-area-inset-bottom)}.import-modal{padding:27px 20px max(24px,env(safe-area-inset-bottom))}.guide-modal .modal-close{margin:10px 10px -50px 0;top:10px}.guide-heading{padding-top:32px}.guide-heading h2{padding-right:20px}.fund-title,.fund-title>div{min-width:0}.fund-title p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tx-row{grid-template-columns:68px minmax(0,1fr) 78px 56px;gap:7px}.tx-row>strong{font-size:12px}.import-actions{flex-direction:column-reverse}.retry-link{justify-content:center;min-height:40px}}@media (max-width:360px){.brand{font-size:13px}.top-actions{gap:4px}.topbar .guide-trigger,.topbar .import-trigger,.topbar .add-fund-trigger{width:38px;height:38px}.hero{padding-top:30px}.hero h1{font-size:28px}.summary article{padding:16px}}@media (hover:none){.fund-card:hover,.primary:hover{transform:none}.delete{opacity:1}}
