@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:var(--font-sans);--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}}@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{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.flex{display:flex}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}}:root{--background:#f7f1e8;--foreground:#1d160f;--muted:#6d5b49;--line:#533a201f;--panel:#fffaf3c7;--panel-strong:#fffaf3eb;--accent:#8e6b41;--accent-strong:#7a1f18;--accent-soft:#b28b59;--shadow:0 28px 60px #6c4f2d1f;--font-sans-fallback:"Noto Sans JP", "Yu Gothic", "YuGothic", "Meiryo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;--font-display-fallback:"Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", Georgia, serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-height:100vh;color:var(--foreground);font-family:var(--font-sans), var(--font-sans-fallback);background:radial-gradient(circle at top,#ceaf7e38,#0000 32%),linear-gradient(#fbf6ef 0%,#f3eadc 100%);margin:0}a{color:inherit;text-decoration:none}button{font:inherit}.page-shell{width:min(1200px,100vw - 48px);margin:0 auto}.marketing-shell{padding:28px 0 56px}.site-header{grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:28px;padding:14px 8px 26px;display:grid}.brand-mark{gap:4px;min-width:0;display:grid}.brand-mark-eyebrow{letter-spacing:.22em;text-transform:uppercase;color:var(--accent);font-size:.76rem}.brand-mark-title{font-family:var(--font-display), serif;letter-spacing:.02em;font-size:clamp(1.65rem,3vw,2.35rem);line-height:.95}.top-nav{color:#312519d1;white-space:nowrap;background:#fffcf7ad;border:1px solid #7a5b361f;border-radius:999px;align-items:center;gap:6px;min-width:0;padding:6px;font-size:.88rem;display:inline-flex;box-shadow:0 10px 30px #5b412514}.top-nav a{border-radius:999px;align-items:center;min-height:34px;padding:0 12px;transition:color .2s,background .2s,box-shadow .2s;display:inline-flex;position:relative}.top-nav a:after{content:"";opacity:0;background:linear-gradient(90deg,#0000,#7a1f18c2,#0000);height:1px;transition:opacity .24s,transform .24s;position:absolute;bottom:-2px;left:0;right:0;transform:scaleX(.86)}.top-nav a:hover{color:#1d160f;background:#ffffff8c}.top-nav a:hover:after{opacity:1;transform:scaleX(1)}.top-nav-account{max-width:250px;color:var(--foreground);background:linear-gradient(#fffcf7f5,#f6eee3bd);border:1px solid #7a5b361f;padding:0 14px;font-weight:700;box-shadow:inset 0 1px #ffffffb8}.top-nav-account:after{display:none}.top-nav-account-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:170px;overflow:hidden}.account-menu{align-items:center;width:250px;margin-block:-8px;padding-block:8px;display:inline-flex;position:relative}.account-menu:after{content:"";width:100%;height:18px;position:absolute;top:100%;right:0}.account-popover{z-index:50;width:100%;color:var(--foreground);background:linear-gradient(#fffcf7fa,#f6eee3f5);border:1px solid #7a5b361f;border-radius:8px;padding:14px;display:none;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 22px 52px #49341c2e,inset 0 1px #fffc}.account-menu:hover .account-popover,.account-menu:focus-within .account-popover{gap:12px;display:grid}.account-popover:before{content:"";background:#fffcf7fa;border-top:1px solid #7a5b361f;border-left:1px solid #7a5b361f;width:12px;height:12px;position:absolute;top:-6px;right:28px;transform:rotate(45deg)}.account-popover-head{grid-template-columns:minmax(0,1fr);align-items:center;display:grid}.account-popover-head strong,.account-popover-head span,.account-popover-row strong,.account-popover-row span{min-width:0;display:block}.account-popover-head strong{color:var(--foreground);text-overflow:ellipsis;white-space:nowrap;font-size:.96rem;line-height:1.35;overflow:hidden}.account-popover-head span span,.account-popover-row span{color:#56432dad;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:anywhere;font-size:.78rem;line-height:1.45;overflow:hidden}.account-popover-divider{background:linear-gradient(90deg,#0000,#7a5b3624,#0000);height:1px}.account-popover-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.account-popover-row strong{color:#49633f;background:#586d4a1a;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:800}.account-plan-switcher{gap:8px;margin:0;padding-top:2px;display:grid}.account-plan-switcher-label{color:#56432dad;font-size:.78rem;font-weight:700;line-height:1.2}.account-plan-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid!important}.account-plan-options button{color:#312519bd;min-height:32px;font:inherit;cursor:pointer;background:#fffcf7bd;border:1px solid #7a5b361f;border-radius:8px;font-size:.75rem;font-weight:800;transition:background .16s,border-color .16s,color .16s,transform .16s}.account-plan-options button:hover{color:#8d332c;background:#8f372d14;border-color:#8f372d2e;transform:translateY(-1px)}.account-plan-options button.is-active{color:#6b4a25;background:#75542c24;border-color:#75542c3d}.account-popover-action{margin:0}.account-popover-action button{color:#312519e0;cursor:pointer;background:#fffcf7b8;border:1px solid #7a5b361f;border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:38px;padding:0 14px;font-family:inherit;font-size:.86rem;font-weight:800;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.account-popover-action button:hover{color:#8a3028;background:#9a3d3014;border-color:#9a3d3038;transform:translateY(-1px)}.hero-card,.section-card,.pricing-card,.auth-card,.dashboard-card{border:1px solid var(--line);background:var(--panel);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow);border-radius:34px}.hero-card{grid-template-columns:1.2fr .8fr;gap:24px;padding:42px;display:grid;position:relative;overflow:hidden}.hero-card:before{content:"";pointer-events:none;background:radial-gradient(circle at 18% 18%,#ceaf7e38,#0000 26%),linear-gradient(120deg,#7a1f1814,#0000 38%);position:absolute;inset:0}.hero-copy,.hero-visual{z-index:1;position:relative}.eyebrow{letter-spacing:.26em;text-transform:uppercase;color:var(--accent);margin:0 0 18px;font-size:.82rem}.hero-title{max-width:8ch;font-family:var(--font-display), serif;margin:0;font-size:clamp(3.6rem,7vw,6rem);line-height:.92}.hero-description{max-width:58ch;color:var(--muted);margin:24px 0 0;line-height:1.9}.hero-actions{flex-wrap:wrap;gap:14px;margin-top:28px;display:flex}.primary-button,.secondary-button{border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:48px;padding:0 22px;font-size:.94rem;font-weight:600;transition:transform .2s,box-shadow .2s,background .2s,color .2s;display:inline-flex}.primary-button{color:#fffaf4;background:linear-gradient(#8f6e47f5,#75542cfa);box-shadow:0 16px 28px #8866382e}.primary-button:hover,.secondary-button:hover{transform:translateY(-1px)}.secondary-button{color:var(--foreground);background:#fffaf3c7;border-color:#7a5b362e}.secondary-button.is-locked,.secondary-button.is-locked:disabled{color:#564e447a;cursor:default;opacity:1;background:#e8e2d894;border-color:#7a5b3614;gap:8px;position:relative;transform:none}.secondary-button.is-locked .portfolio-icon-svg-lock{width:15px;height:15px}.secondary-button.is-locked:hover{transform:none}.secondary-button-lock{cursor:default;justify-content:center;align-items:center;display:inline-flex;position:relative}.secondary-button-lock:before{content:attr(data-tooltip);z-index:30;color:#5f4a35;text-align:left;white-space:normal;opacity:0;pointer-events:none;background:#fffcf7f5;border:1px solid #7a5b361a;border-radius:10px;width:max-content;max-width:220px;padding:8px 11px;font-size:.74rem;font-weight:700;line-height:1.45;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-82%,4px);box-shadow:0 14px 30px #5d483024}.secondary-button-lock:after{content:"";z-index:31;opacity:0;pointer-events:none;background:#fffcf7f5;border-bottom:1px solid #7a5b361a;border-right:1px solid #7a5b361a;width:10px;height:10px;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%,4px)rotate(45deg)}.secondary-button-lock:hover:before{opacity:1;transform:translate(-82%)}.secondary-button-lock:hover:after{opacity:1;transform:translate(-50%)rotate(45deg)}.hero-stats{align-content:end;gap:14px;display:grid}.stat-card{background:#fffcf7d1;border:1px solid #7a5b361a;border-radius:24px;padding:18px 20px}.stat-label{letter-spacing:.22em;text-transform:uppercase;color:var(--accent);font-size:.74rem}.stat-value{font-family:var(--font-display), serif;margin-top:8px;font-size:2rem}.section-grid{gap:24px;margin-top:28px;display:grid}.market-overview-duo{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:24px;margin-top:28px;display:grid}.section-card{padding:30px 32px}.portfolio-section-card{padding:24px;overflow:hidden}.section-title{font-family:var(--font-display), serif;margin:0;font-size:clamp(2.1rem,4vw,3.2rem)}.section-copy{color:var(--muted);margin:16px 0 0;line-height:1.9}.feature-grid,.module-grid,.pricing-grid,.dashboard-grid,.market-grid{gap:18px;margin-top:24px;display:grid}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-item,.pricing-card,.dashboard-card,.auth-card{padding:24px}.feature-title,.pricing-title,.dashboard-title{margin:0;font-size:1.05rem;font-weight:600}.feature-copy,.pricing-copy,.dashboard-copy,.auth-copy{color:var(--muted);margin:12px 0 0;line-height:1.8}.pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-shell{width:min(1180px,100vw - 48px)}.pricing-upgrade-title{color:var(--foreground);font-family:var(--font-display), serif;letter-spacing:0;text-align:center;margin:0;font-size:clamp(2.15rem,4vw,3.2rem);font-weight:500;line-height:1.05}.pricing-upgrade-grid{gap:16px;margin-top:0}.pricing-card{flex-direction:column;min-height:100%;display:flex}.pricing-upgrade-section .pricing-card{color:var(--foreground);background:#fffcf7db;border-color:#7a5b361f;border-radius:18px;box-shadow:0 16px 34px #6c4f2d14}.pricing-card.featured{color:#fff8f2;background:linear-gradient(#85241cf5,#681912fa)}.pricing-upgrade-section .pricing-card.featured{color:var(--foreground);background:radial-gradient(circle at 8% 12%,#972f2629 0%,#972f2614 24%,#0000 48%),radial-gradient(circle at 70% 10%,#dbc39e29 0%,#0000 36%),linear-gradient(#fffcf7e6,#f6eee3d1);border-color:#0000;box-shadow:0 20px 42px #6c4f2d1a}.pricing-upgrade-section .pricing-card.featured .pricing-price-label,.pricing-upgrade-section .pricing-card.featured .pricing-yearly,.pricing-upgrade-section .pricing-card.featured .pricing-copy,.pricing-upgrade-section .pricing-card.featured .pricing-list,.pricing-upgrade-section .pricing-card.featured .pricing-tag,.pricing-upgrade-section .pricing-card.featured .pricing-limits{color:var(--muted)}.pricing-upgrade-section .pricing-card.featured .pricing-badge,.pricing-upgrade-section .pricing-card.featured .pricing-badge{color:#8d332c;background:#8f372d14;border-color:#8f372d24}.pricing-upgrade-section .pricing-card.featured .pricing-cta{color:#fffaf4;background:linear-gradient(#8f6e47f5,#75542cfa)}.pricing-upgrade-section .pricing-card.featured .pricing-cta:hover{background:linear-gradient(#9a7950fa,#7e5c33fa)}.pricing-card.featured .pricing-copy,.pricing-card.featured .pricing-list,.pricing-card.featured .pricing-subtitle,.pricing-card.featured .pricing-tag,.pricing-card.featured .pricing-yearly,.pricing-card.featured .pricing-limits{color:#fff5ecd1}.pricing-card.featured .pricing-badge,.pricing-card.featured .pricing-limits span{color:#fff8f2;background:#fff5ec1f;border-color:#fff5ec33}.pricing-card-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.pricing-tag{color:var(--accent);letter-spacing:.16em;text-transform:uppercase;margin:0 0 8px;font-size:.76rem;font-weight:700}.pricing-badge{color:#5c4026eb;white-space:nowrap;background:#fffcf7d1;border:1px solid #7a5b361f;border-radius:999px;align-items:center;min-height:30px;padding:0 12px;font-size:.78rem;font-weight:800;display:inline-flex}.pricing-upgrade-section .pricing-badge{color:#8d332c;background:#8f372d14;border-color:#8f372d1f}.pricing-subtitle{color:var(--muted);margin:12px 0 0}.pricing-price-block{margin-top:22px}.pricing-price{flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:0;display:inline-flex}.pricing-price-label{color:var(--muted);font-family:var(--font-sans), sans-serif;letter-spacing:0;font-size:.9rem;font-weight:700;line-height:1.02}.pricing-upgrade-section .pricing-price-label,.pricing-upgrade-section .pricing-yearly,.pricing-upgrade-section .pricing-copy,.pricing-upgrade-section .pricing-list,.pricing-upgrade-section .pricing-tag,.pricing-upgrade-section .pricing-limits,.pricing-upgrade-section .pricing-card.featured .pricing-price-label,.pricing-upgrade-section .pricing-card.featured .pricing-yearly,.pricing-upgrade-section .pricing-card.featured .pricing-copy,.pricing-upgrade-section .pricing-card.featured .pricing-list,.pricing-upgrade-section .pricing-card.featured .pricing-tag,.pricing-upgrade-section .pricing-card.featured .pricing-limits{color:var(--muted)}.pricing-upgrade-section .pricing-card.featured .pricing-badge,.pricing-upgrade-section .pricing-card.featured .pricing-limits span{color:#8d332c;background:#8f372d14;border-color:#8f372d24}.pricing-price-value{font-family:var(--font-display), serif;letter-spacing:.01em;font-variant-numeric:tabular-nums lining-nums;font-size:2.6rem;font-weight:500;line-height:1.02}.pricing-yearly{color:var(--muted);margin:8px 0 0;font-size:.9rem;font-weight:700}.pricing-yearly span,.pricing-tax-label{color:inherit;font-family:var(--font-sans), sans-serif;letter-spacing:.06em;font-size:.74rem;font-weight:800}.pricing-tax-label{background:#fffcf7b3;border:1px solid #7a5b361f;border-radius:999px;align-self:center;padding:2px 7px}.pricing-card.featured .pricing-tax-label{background:#fff5ec1a;border-color:#fff5ec2e}.pricing-cta{color:#fffaf4;text-align:center;background:linear-gradient(#8f6e47f5,#75542cfa);border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;width:100%;min-height:48px;margin-top:20px;margin-bottom:6px;font-size:.92rem;font-weight:800;text-decoration:none;transition:transform .16s,background .16s,box-shadow .16s,opacity .16s;display:inline-flex;box-shadow:0 16px 28px #8866382e}.pricing-cta:hover{background:linear-gradient(#9a7950fa,#7e5c33fa);transform:translateY(-1px);box-shadow:0 18px 34px #88663838}.pricing-card.featured .pricing-cta{color:#842d25;background:#fffaf4}.pricing-card.featured .pricing-cta:hover{background:#fff}.pricing-cta-disabled{color:#56432d94;cursor:not-allowed;box-shadow:none;background:#7a5b361a;border-color:#7a5b361f}.pricing-cta-disabled:hover{box-shadow:none;background:#7a5b361a;transform:none}.pricing-limits{color:var(--muted);font-size:inherit;gap:0;margin-top:18px;padding-left:18px;font-weight:400;line-height:1.9;display:grid}.pricing-limits span{color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:0 0;border:0;padding:0;display:block}.pricing-upgrade-section .pricing-limits span{color:inherit}.pricing-upgrade-section .pricing-card.featured .pricing-limits span{color:inherit;background:0 0;border:0;display:block}.pricing-list{color:var(--muted);margin:18px 0 0;padding-left:18px;line-height:1.9}.simple-shell{width:min(1120px,100vw - 48px);margin:0 auto;padding:28px 0 56px}.simple-header{justify-content:space-between;align-items:center;gap:18px;padding:10px 0 22px;display:flex}.simple-back{color:var(--muted);font-size:.92rem}.auth-layout{grid-template-columns:1fr .88fr;gap:24px;display:grid}.auth-card{min-height:560px}.auth-login-layout{grid-template-columns:minmax(360px,.92fr) minmax(300px,.72fr);align-items:start;max-width:980px;margin:20px auto 0}.auth-login-card{background:#fffcf7f0;border-radius:22px;min-height:0;padding:30px}.auth-info-card{border-radius:20px;min-height:0;padding:22px}.auth-title{max-width:12ch;font-family:var(--font-display), serif;letter-spacing:0;margin:0;font-size:clamp(2.35rem,4.2vw,3.35rem);line-height:1.05}.auth-login-card .auth-copy{max-width:40rem}.auth-form{gap:14px;margin-top:26px;display:grid}.auth-provider-list{gap:12px;margin-top:28px;display:grid}.auth-provider-list form{margin:0}.auth-provider-button{width:100%;min-height:54px;color:var(--foreground);text-align:left;cursor:pointer;background:#fffcf7e6;border:1px solid #7a5b3624;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;padding:0 16px;font-weight:700;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s;display:flex}.auth-provider-button:hover{background:#fffcf7fa;border-color:#7a5b363d;transform:translateY(-1px);box-shadow:0 14px 28px #6c4f2d1a}.auth-provider-button span:last-child{flex:1;min-width:0}.auth-provider-mark{color:#1a73e8;background:#fff;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-weight:800;display:inline-flex}.auth-provider-mark-microsoft{color:#5e5e5e}.auth-footnote{color:#56432db8;margin:18px 0 0;font-size:.88rem;line-height:1.7}.dashboard-action-form{margin-top:24px}.field-label{color:var(--accent);letter-spacing:.06em;font-size:.85rem}.field-input{width:100%;min-height:48px;color:var(--foreground);background:#fffcf7e0;border:1px solid #7a5b3624;border-radius:16px;padding:0 16px}.auth-aside{gap:18px;display:grid}.auth-login-aside{align-content:start}.auth-minimal-panel{width:min(420px,100%);margin:92px auto 0}.auth-provider-button-minimal{background:#fffcf7f5;justify-content:flex-start;min-height:58px}.dashboard-grid{grid-template-columns:1.2fr .8fr}.dashboard-card+.dashboard-card{min-height:280px}.kpi-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.kpi-card{background:#fffcf7d6;border:1px solid #7a5b361a;border-radius:20px;padding:18px}.kpi-value{font-family:var(--font-display), serif;font-size:1.8rem}.list{color:var(--muted);margin:16px 0 0;padding-left:18px;line-height:1.9}.footer-note{color:#3d2e1db8;padding:28px 6px 12px;font-size:.88rem}.market-overview-head{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.market-overview-card .market-overview-head{align-items:flex-start}.market-overview-title-block{width:100%}.market-overview-kicker-row{justify-content:space-between;align-items:center;gap:18px;width:100%;margin-bottom:18px;display:flex}.market-overview-kicker-row .eyebrow{margin:0}.market-overview-title{font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.08}.market-refresh-meta{min-width:178px;color:var(--muted);text-align:right;gap:4px;font-size:.84rem;display:grid}.market-refresh-box{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:inline-flex}.market-refresh-button{color:#56432ddb;letter-spacing:.08em;cursor:pointer;background:#fffcf7c7;border:1px solid #7a5b3624;border-radius:999px;justify-content:center;align-items:center;min-height:34px;padding:0 14px;font-size:.76rem;font-weight:700;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.market-refresh-button:hover:not(:disabled){color:var(--foreground);background:#8f6e471f;border-color:#7a5b3638;transform:translateY(-1px)}.market-refresh-button:disabled{cursor:default;opacity:.68}.market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.market-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.market-card{background:linear-gradient(#fffcf7e6,#fffaf4c2);border:1px solid #7a5b3617;border-radius:22px;align-content:space-between;min-height:168px;padding:20px;display:grid}.market-card-top{justify-content:space-between;align-items:start;gap:14px;display:flex}.market-symbol{letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-size:.74rem}.market-name{margin:8px 0 0;font-size:1.2rem;font-weight:600}.market-region{min-height:28px;color:var(--muted);background:#8f6e4714;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 12px 0 10px;font-size:.76rem;display:inline-flex}.market-region-dot{border-radius:999px;width:10px;height:10px;box-shadow:inset 0 0 0 1px #ffffff73}.market-region-dot.is-japan{background:radial-gradient(circle,#c53a31 0 38%,#f4dfd6 39% 100%)}.market-region-dot.is-us{background:linear-gradient(#2c4a7c 0 50%,#b44a42 50% 100%)}.market-chart{margin-top:20px;padding:8px 0 2px}.market-chart-svg{width:100%;height:88px;display:block}.market-price{font-family:var(--font-sans), sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums;margin-top:18px;font-size:clamp(1.8rem,3.1vw,2.25rem);font-weight:600;line-height:1.02}.market-change{color:#2f7a3d;align-items:center;gap:10px;margin-top:12px;font-size:.94rem;font-weight:600;display:inline-flex}.market-fx-panel{background:radial-gradient(circle at 0 0,#74b3c729,#0000 34%),linear-gradient(#fffcf7e6,#f8f1e7c2);border:1px solid #7a5b3617;border-radius:22px;gap:16px;margin-top:18px;padding:18px 20px 20px;display:grid}.market-fx-head{color:#3a2819;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.market-fx-head>div{gap:6px;display:grid}.market-fx-eyebrow{color:var(--accent);letter-spacing:.16em;text-transform:uppercase;font-size:.68rem;font-weight:700}.market-fx-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.market-commodity-head{margin-top:8px;padding-top:4px}.market-commodity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-fx-card{background:#fffcf7e0;border:1px solid #7a5b3614;border-radius:18px;justify-content:space-between;align-items:center;gap:16px;min-height:90px;padding:16px 18px;display:flex}.market-fx-name{color:var(--foreground);margin:6px 0 0;font-size:1rem;line-height:1.25}.market-fx-values{text-align:right;white-space:nowrap;justify-items:end;gap:6px;display:grid}.market-fx-values strong{color:var(--foreground);letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums;font-size:1.35rem;line-height:1}.market-fx-values span{font-variant-numeric:tabular-nums lining-nums;font-size:.84rem;font-weight:700}.market-note{color:var(--muted);margin:16px 0 0;font-size:.94rem;line-height:1.8}.portfolio-overview-card,.market-overview-card{height:100%}.portfolio-overview-title{white-space:nowrap;font-size:clamp(1.5rem,2.2vw,2rem);line-height:1.08}.portfolio-overview-head{align-items:flex-start}.portfolio-price-refresh-box{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:12px;display:inline-flex}.portfolio-overview-panel{gap:18px;margin-top:24px;display:grid}.portfolio-overview-stage{justify-content:stretch;place-items:center stretch;gap:16px;min-height:280px;padding:8px 0 2px;display:grid}.portfolio-overview-control-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;width:100%;display:grid}.portfolio-overview-chart-row{justify-content:center;align-items:center;width:100%;min-height:280px;display:flex;position:relative}.portfolio-overview-chart{will-change:transform;flex:none;width:min(100%,280px);height:auto;transition:transform 1.6s cubic-bezier(.42,0,.22,1);display:block;overflow:visible;transform:translate(0)}.portfolio-overview-chart.is-active{transform:translate(-150px)}.portfolio-overview-slice{cursor:pointer;opacity:.94;transform-origin:120px 120px;transform-box:fill-box;outline:none;transition:transform .22s cubic-bezier(.2,.8,.2,1),opacity .24s,filter .28s cubic-bezier(.2,.8,.2,1)}.portfolio-overview-slice.is-hovered{opacity:1;filter:drop-shadow(0 0 6px #4c362224)drop-shadow(0 5px 9px #4c36221a)saturate(1.08)}.portfolio-overview-slice.is-muted{opacity:.72;filter:grayscale(.18)saturate(.82)}.portfolio-overview-center-label{fill:#5f4630b8;letter-spacing:.12em;font-size:.56rem;font-weight:700}.portfolio-overview-slice-label{pointer-events:none;fill:#fffcf7f5;paint-order:stroke;stroke:#3a281938;stroke-width:1.8px;stroke-linejoin:round;font-variant-numeric:tabular-nums lining-nums;font-size:.56rem;font-weight:800;transition:font-size .22s cubic-bezier(.2,.8,.2,1)}.portfolio-overview-slice-label.is-hovered{font-size:.62rem}.portfolio-overview-center-value{fill:var(--foreground);font-variant-numeric:tabular-nums lining-nums;font-size:1rem;font-weight:700}.portfolio-overview-center-pnl,.portfolio-overview-center-return{font-variant-numeric:tabular-nums lining-nums;font-size:.78rem;font-weight:700}.portfolio-overview-center-pnl.is-up,.portfolio-overview-center-return.is-up{fill:#b63b31}.portfolio-overview-center-pnl.is-down,.portfolio-overview-center-return.is-down{fill:#2f7a3d}.portfolio-overview-hover-card{z-index:3;opacity:0;pointer-events:none;background:#fffcf7c7;border:1px solid #7a5b3614;border-radius:16px;align-content:center;width:min(300px,50% - 20px);min-height:168px;padding:16px;transition:opacity .9s,transform .9s cubic-bezier(.16,1,.3,1),border-color .24s,box-shadow .28s,background .24s;display:grid;position:absolute;top:50%;right:0;transform:translate(24px,-50%);box-shadow:inset 0 1px #ffffff8c}.portfolio-overview-hover-card.is-active{opacity:1;background:#fffcf7e6;border-color:#7a5b3624;transition-delay:1.2s;animation:.9s 1.2s both portfolio-overview-hover-card-in;transform:translateY(-50%);box-shadow:inset 0 1px #ffffffad,0 14px 30px #6c4f2d14}@keyframes portfolio-overview-hover-card-in{0%{opacity:0;transform:translate(24px,-50%)}to{opacity:1;transform:translateY(-50%)}}.portfolio-overview-hover-content{animation:.32s both portfolio-overview-hover-content-in}@keyframes portfolio-overview-hover-content-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.portfolio-overview-hover-head{border-bottom:1px solid #7a5b3614;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:10px;padding-bottom:12px;display:grid}.portfolio-overview-hover-marker{border-radius:999px;width:10px;height:10px;box-shadow:0 0 0 4px #7a5b360f}.portfolio-overview-hover-head strong,.portfolio-overview-hover-head span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.portfolio-overview-hover-head strong{color:#3a2819;font-size:.92rem}.portfolio-overview-hover-head span,.portfolio-overview-hover-grid span,.portfolio-overview-hover-empty{color:#56432d9e;font-size:.76rem;font-weight:700}.portfolio-overview-hover-grid{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px 12px;padding-top:12px;display:grid}.portfolio-overview-hover-grid strong{color:#3a2819;text-align:right;font-variant-numeric:tabular-nums lining-nums;font-size:.86rem;font-weight:800}.portfolio-overview-filter-card,.portfolio-overview-income-card{background:#fffcf7db;border:1px solid #7a5b3614;border-radius:14px;align-items:center;gap:6px 12px;width:100%;min-height:148px;padding:12px 16px;display:grid}.portfolio-overview-filter-card{align-content:start}.portfolio-overview-filter-card-single{align-content:center;min-width:0}.portfolio-overview-filter-card-stack{grid-template-rows:auto auto;align-content:stretch;gap:10px}.portfolio-overview-income-card{text-align:center;align-content:center;justify-items:center;padding-block:20px}.portfolio-overview-filter-group{grid-column:1/-1;gap:4px;display:grid}.portfolio-overview-filter-group-secondary{border-top:1px solid #7a5b361a;align-self:end;padding-top:10px}.portfolio-overview-filter-group-unit{gap:0}.portfolio-overview-segmented{background:#e8e2d880;border:1px solid #7a5b361f;border-radius:999px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-height:40px;padding:4px;display:grid}.portfolio-overview-segment{color:#56432da8;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;font-size:.82rem;font-weight:800;transition:background-color .14s,color .14s,box-shadow .14s;display:inline-flex}.portfolio-overview-segment:hover{color:#3a2819;background:#fffcf77a}.portfolio-overview-segment.is-active{color:#3a2819;background:#fffcf7f0;box-shadow:0 2px 8px #56432d1f}.portfolio-overview-filter-label{color:#5f46309e;letter-spacing:.08em;text-transform:uppercase;font-size:.65rem;font-weight:800}.portfolio-overview-portfolio-menu{z-index:5;width:100%;position:relative}.portfolio-overview-portfolio-menu.is-open{z-index:30}.portfolio-overview-portfolio-select{color:#3a2819;width:100%;min-height:34px;font:inherit;cursor:pointer;background-color:#fffcf7e0;border:1px solid #7a5b3629;border-radius:999px;outline:none;justify-content:space-between;align-items:center;padding:0 34px 0 12px;font-size:.86rem;font-weight:800;transition:border-color .16s,background-color .16s,box-shadow .16s,transform .16s;display:flex;position:relative}.portfolio-overview-select-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.portfolio-overview-portfolio-select:after{content:"";border-bottom:2px solid #56432da3;border-right:2px solid #56432da3;width:7px;height:7px;transition:transform .16s;position:absolute;top:50%;right:14px;transform:translateY(-65%)rotate(45deg)}.portfolio-overview-portfolio-select.is-open:after{transform:translateY(-30%)rotate(225deg)}.portfolio-overview-portfolio-select.is-locked{color:#564e4485;cursor:default;background-color:#e8e2d894;border-color:#7a5b3614;padding-right:58px}.portfolio-overview-portfolio-select:disabled{color:#564e447a;cursor:default;background-color:#e8e2d86b;border-color:#7a5b3614}.portfolio-overview-portfolio-select:disabled:after{border-color:#56432d47}.portfolio-overview-portfolio-select.is-locked:after{display:none}.portfolio-overview-select-lock{color:#61524075;pointer-events:auto;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex;position:absolute;top:50%;right:13px;overflow:visible;transform:translateY(-50%)}.portfolio-overview-select-lock:before{content:attr(data-tooltip);z-index:30;color:#5f4a35;text-align:left;white-space:normal;opacity:0;pointer-events:none;background:#fffcf7f5;border:1px solid #7a5b361a;border-radius:10px;width:max-content;max-width:240px;padding:8px 11px;font-size:.74rem;font-weight:700;line-height:1.45;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%,4px);box-shadow:0 14px 30px #5d483024}.portfolio-overview-select-lock:after{content:"";z-index:31;opacity:0;pointer-events:none;background:#fffcf7f5;border-bottom:1px solid #7a5b361a;border-right:1px solid #7a5b361a;width:10px;height:10px;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%,4px)rotate(45deg)}.portfolio-overview-select-lock:hover:before,.portfolio-overview-select-lock:hover:after{opacity:1;transform:translate(-50%)rotate(0)}.portfolio-overview-select-lock:hover:after{transform:translate(-50%)rotate(45deg)}.portfolio-overview-lock-svg{flex:none;width:15px;height:15px}.portfolio-overview-portfolio-select:hover,.portfolio-overview-portfolio-select:focus{background-color:#fffcf7fa;border-color:#7a5b3647;box-shadow:0 0 0 3px #8f6e4714}.portfolio-overview-portfolio-select.is-locked:hover,.portfolio-overview-portfolio-select.is-locked:focus{box-shadow:none;background-color:#e8e2d894;border-color:#7a5b3614}.portfolio-overview-portfolio-options{z-index:10;background:#fffcf7fa;border:1px solid #7a5b361f;border-radius:14px;gap:3px;max-height:238px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:auto;box-shadow:0 18px 34px #3626161f,0 4px 10px #3626160f}.portfolio-overview-portfolio-option{color:#56432dd1;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;width:100%;min-height:36px;padding:0 11px;font-size:.84rem;font-weight:800;transition:background-color .14s,color .14s;display:flex}.portfolio-overview-option-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0;display:grid}.portfolio-overview-option-main span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portfolio-overview-option-percentage{color:#56432d94;font-variant-numeric:tabular-nums lining-nums;font-size:.76rem;font-weight:800}.portfolio-overview-portfolio-option.is-selected .portfolio-overview-option-percentage{color:#3a2819b8}.portfolio-overview-option-check{background:#fffcf7db;border:1px solid #7a5b363d;border-radius:5px;flex:0 0 16px;justify-content:center;align-items:center;width:16px;height:16px;transition:background-color .14s,border-color .14s,box-shadow .14s;display:inline-flex}.portfolio-overview-option-check-svg{color:#fffaf3;opacity:0;width:12px;height:12px;transition:opacity .12s}.portfolio-overview-portfolio-option:hover{color:#3a2819;background:#8f6e471a}.portfolio-overview-portfolio-option.is-selected{color:#3a2819;background:#8f6e4724}.portfolio-overview-portfolio-option.is-selected .portfolio-overview-option-check{background:#8f6e47;border-color:#8f6e47e6;box-shadow:0 2px 7px #56432d29}.portfolio-overview-portfolio-option.is-selected .portfolio-overview-option-check-svg{opacity:1}.portfolio-overview-account-filter{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:6px;display:flex}.portfolio-overview-account-filter-button{color:#56432dc7;cursor:pointer;background:#fffcf7b8;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 10px;font-size:.72rem;font-weight:800;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.portfolio-overview-account-filter-button:hover{color:var(--foreground);background:#8f6e471a;border-color:#7a5b3638;transform:translateY(-1px)}.portfolio-overview-account-filter-button.is-active{color:#3a2819;background:#8f6e4729;border-color:#7a5b3633;box-shadow:inset 0 1px #fffc}.portfolio-overview-income-label{color:#5f4630b8;letter-spacing:.08em;grid-column:1/-1;font-size:.7rem;font-weight:700}.portfolio-overview-income-value{color:#3a2819;font-variant-numeric:tabular-nums lining-nums;font-size:clamp(1.28rem,1.9vw,1.72rem);line-height:1}.portfolio-overview-income-meta{color:#5f4630c7;text-align:right;white-space:nowrap;font-size:.74rem;font-weight:600}.portfolio-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.portfolio-overview-stat-card{background:#fffcf7d1;border:1px solid #7a5b3614;border-radius:16px;gap:6px;padding:14px 16px;display:grid}.portfolio-overview-stat-label{color:var(--muted);font-size:.8rem}.portfolio-overview-stat-value{font-variant-numeric:tabular-nums lining-nums;font-size:1.05rem;font-weight:700}.portfolio-overview-stat-value.is-up{color:#b63b31}.portfolio-overview-stat-value.is-down{color:#2f7a3d}.portfolio-overview-treemap-card{background:#fffcf7d1;border:1px solid #7a5b3614;border-radius:22px;grid-template-columns:minmax(0,1fr);grid-auto-flow:row;gap:14px;padding:16px;display:grid;position:relative}.portfolio-overview-treemap-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.portfolio-overview-treemap-head>div:first-child{flex:auto;gap:4px;min-width:0;display:grid}.portfolio-overview-treemap-head>.portfolio-overview-tabs{flex:none}.portfolio-overview-treemap-title{color:#4e3724;white-space:nowrap;font-size:.95rem;font-weight:700}.portfolio-overview-treemap-caption{color:var(--muted);font-size:.78rem;display:none}.portfolio-overview-basis-row{grid-column:1/-1;justify-content:flex-end;width:100%;margin-top:-4px;display:flex}.portfolio-overview-basis-row .portfolio-overview-tabs{pointer-events:auto}.portfolio-overview-basis-tabs .portfolio-overview-tab{min-height:28px;padding-inline:10px;font-size:.74rem}.portfolio-overview-tabs{background:#f8f0e2d1;border:1px solid #7a5b361a;border-radius:999px;flex:none;align-items:center;gap:4px;padding:4px;display:inline-flex}.portfolio-overview-tab{color:#56432dc2;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;min-height:30px;padding:0 12px;font-size:.78rem;font-weight:700;transition:background .16s,color .16s,box-shadow .16s;display:inline-flex}.portfolio-overview-tab.is-active{color:#4e3724;background:#fffcf7f5;box-shadow:0 8px 18px #6c4f2d1a}.portfolio-overview-treemap{width:100%;height:auto;display:block}.portfolio-overview-treemap-content{color:#fffcf7f5;gap:6px;height:100%;font-family:Avenir Next,Hiragino Sans,sans-serif;display:grid}.portfolio-overview-treemap-top{min-width:0}.portfolio-overview-treemap-name,.portfolio-overview-treemap-percent{font-weight:700;line-height:1.3}.portfolio-overview-treemap-name{text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.98rem;display:-webkit-box;overflow:hidden}.portfolio-overview-treemap-name.is-compact{font-size:.88rem}.portfolio-overview-treemap-percent{white-space:normal;opacity:.94;font-size:.92rem;line-height:1.1}.portfolio-overview-treemap-percent.is-compact{font-size:.84rem}.portfolio-overview-treemap-name.is-tiny,.portfolio-overview-treemap-percent.is-tiny{font-size:.68rem}.portfolio-overview-list{grid-column:1/-1;gap:8px;max-height:340px;padding-right:2px;display:grid;overflow:auto}.portfolio-overview-list-row{width:100%;min-height:58px;color:inherit;text-align:left;cursor:pointer;background:#fffcf7c7;border:1px solid #7a5b3614;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 12px;transition:background .16s,border-color .16s,transform .16s;display:grid}.portfolio-overview-list-row:hover{background:#fffcf7f5;border-color:#7a5b3629;transform:translateY(-1px)}.portfolio-overview-list-main{grid-template-columns:24px 10px minmax(0,max-content) 16px;align-items:center;gap:10px;min-width:0;display:grid}.portfolio-overview-list-rank{color:#56432d94;text-align:right;font-variant-numeric:tabular-nums lining-nums;font-size:.78rem;font-weight:800}.portfolio-overview-list-marker{border-radius:999px;width:10px;height:10px}.portfolio-overview-list-flag{border-radius:999px;flex:none;width:16px;height:16px;display:block;overflow:hidden}.portfolio-overview-list-name{color:#4e3724;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;font-size:.92rem;font-weight:700;line-height:1.35;overflow:hidden}.portfolio-overview-list-values{color:#56432dad;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums;justify-items:end;gap:5px;font-size:.8rem;font-weight:800;display:grid}.portfolio-overview-list-values strong{color:#4e3724;font-size:1.12rem;line-height:1}.portfolio-detail-modal-overlay{z-index:46;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1d160f47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.portfolio-detail-modal{background:radial-gradient(circle at 0 0,#d3ad4a24,#0000 34%),linear-gradient(#fffcf7fa,#f8f1e7f2);border:1px solid #7a5b361f;border-radius:22px;width:min(620px,100%);max-height:calc(100vh - 48px);padding:24px;overflow:auto;box-shadow:0 26px 70px #3a281938}.portfolio-detail-modal-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.portfolio-detail-title{color:#3a2819;margin:0;font-size:1.28rem;line-height:1.35}.portfolio-detail-subtitle{color:#56432d9e;margin:6px 0 0;font-size:.82rem;font-weight:800}.portfolio-detail-hero{background:#fffcf7c2;border:1px solid #7a5b3614;border-radius:18px;grid-template-columns:12px repeat(2,minmax(0,1fr));align-items:center;gap:14px;margin-top:22px;padding:16px;display:grid}.portfolio-detail-marker{border-radius:999px;width:12px;height:42px}.portfolio-detail-hero div,.portfolio-detail-grid div{gap:6px;display:grid}.portfolio-detail-hero span,.portfolio-detail-grid span{color:#56432d9e;font-size:.76rem;font-weight:800}.portfolio-detail-hero strong{color:#3a2819;font-variant-numeric:tabular-nums lining-nums;font-size:1.45rem;line-height:1}.portfolio-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;display:grid}.portfolio-detail-grid div{background:#fffcf7a3;border:1px solid #7a5b3612;border-radius:16px;min-height:76px;padding:14px}.portfolio-detail-grid strong{color:#3a2819;font-variant-numeric:tabular-nums lining-nums;font-size:1rem;line-height:1.25}.portfolio-detail-grid strong.is-up{color:#b63b31}.portfolio-detail-grid strong.is-down{color:#2f7a3d}.portfolio-overview-empty{background:#fffcf7d1;border:1px solid #7a5b361a;border-radius:20px;gap:10px;margin-top:24px;padding:24px;display:grid}.portfolio-overview-empty-filtered{margin-top:0}.portfolio-overview-empty-title,.portfolio-overview-empty-copy{margin:0}.portfolio-overview-empty-copy{color:var(--muted);line-height:1.8}.market-placeholder{background:#fffcf7d1;border:1px solid #7a5b361a;border-radius:26px;gap:16px;margin-top:24px;padding:28px 30px;display:grid}.market-placeholder-badge{width:fit-content;min-height:28px;color:var(--accent);letter-spacing:.12em;text-transform:uppercase;background:#8f6e471a;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.76rem;display:inline-flex}.market-placeholder-title{margin:0;font-size:1.3rem;font-weight:600}.market-placeholder-copy{max-width:60ch;color:var(--muted);margin:0;line-height:1.9}.tools-grid{grid-template-columns:1.35fr .85fr .85fr;gap:18px;margin-top:28px;display:grid}.tools-grid-secondary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}.benchmark-panel,.contribution-panel{overflow:visible}.contribution-panel .benchmark-contribution-panel{margin-top:0}.benchmark-head{justify-content:space-between;align-items:end;gap:18px;display:flex}.benchmark-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.benchmark-head-meta{justify-items:end;gap:6px;display:grid}.benchmark-chart-card{background:linear-gradient(#fffbf6f0,#fff7eddb);border:1px solid #7a5b3617;border-radius:8px;margin-top:22px;padding:18px 20px 12px;position:relative;overflow:visible;box-shadow:inset 0 1px #ffffffb3}.benchmark-chart-shell{z-index:2;position:relative;overflow:visible}.benchmark-chart-head{justify-content:space-between;align-items:center;gap:18px;display:flex}.benchmark-legend{flex-wrap:wrap;align-items:center;gap:16px;display:inline-flex}.benchmark-legend-item{color:var(--muted);align-items:center;gap:8px;font-size:.88rem;display:inline-flex}.benchmark-legend-item:first-child{color:#7a1f18}.benchmark-legend-item:nth-child(2){color:#2c5a8a}.benchmark-legend-item:nth-child(3){color:#2f7a3d}.benchmark-currency-tabs{background:#fffcf7e6;border:1px solid #7a5b361a;border-radius:8px;align-items:center;gap:8px;padding:4px;display:inline-flex}.benchmark-currency-tab{min-height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:0 14px;font-size:.84rem;font-weight:600;transition:background .16s,color .16s}.benchmark-currency-tab.is-active{color:var(--foreground);background:#8f6e4724;box-shadow:0 1px 2px #6c4f2d14}.benchmark-detail-button{min-height:34px;color:var(--muted);cursor:pointer;background:#fffcf7e6;border:1px solid #7a5b361a;border-radius:8px;padding:0 14px;font-size:.84rem;font-weight:600;transition:background .16s,color .16s,border-color .16s,transform .16s}.benchmark-detail-button:hover,.benchmark-currency-tab:hover{color:var(--foreground)}.benchmark-detail-button.is-active{color:var(--foreground);background:#8f6e4724;border-color:#7a5b362e;box-shadow:0 1px 2px #6c4f2d14}.benchmark-legend-line{border-radius:999px;width:22px;height:2px;display:inline-block}.benchmark-legend-line.is-portfolio{background:#7a1f18}.benchmark-legend-line.is-sp500{background:#2c5a8a}.benchmark-legend-line.is-nikkei225{background:#2f7a3d}.benchmark-range{color:var(--muted);align-items:center;gap:16px;font-size:.82rem;display:inline-flex}.benchmark-chart-svg{width:100%;height:260px;margin-top:12px;display:block;overflow:visible}.benchmark-grid-line{fill:none;stroke-width:1px}.benchmark-grid-line.is-major{stroke:#7a5b361f}.benchmark-grid-line.is-minor{stroke:#7a5b360f;stroke-dasharray:3 5}.benchmark-axis-line{fill:none;stroke:#7a5b362e;stroke-width:1px}.benchmark-axis-label{fill:#56432db8;letter-spacing:.04em;font-size:11px}.benchmark-axis-label-bottom{font-size:10.5px}.benchmark-line{fill:none;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.benchmark-line.is-portfolio{stroke:#b63b31}.benchmark-line.is-sp500{stroke:#2c5a8a}.benchmark-line.is-nikkei225{stroke:#2f7a3d;stroke-width:3.5px}.benchmark-hover-layer{pointer-events:none}.benchmark-hover-line{fill:none;stroke:#4937233d;stroke-width:1px;stroke-dasharray:4 5}.benchmark-hover-dot{stroke:#fffcf7f5;stroke-width:3px}.benchmark-hover-dot.is-portfolio{fill:#b63b31}.benchmark-hover-dot.is-sp500{fill:#2c5a8a}.benchmark-hover-dot.is-nikkei225{fill:#2f7a3d}.benchmark-tooltip{color:#3a2819;font-family:var(--font-sans), sans-serif;background:#fffcf7f5;border:1px solid #7a5b3624;border-radius:10px;gap:7px;padding:12px;display:grid;box-shadow:0 16px 32px #3a281929}.benchmark-tooltip-popover{z-index:60;pointer-events:none;width:242px;position:absolute;top:30px}.benchmark-tooltip-date{color:#56432d9e;font-size:.74rem;font-weight:800}.benchmark-tooltip-headline{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.benchmark-tooltip-fx-rate{color:#43586cc7;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap;font-size:.72rem;font-weight:800}.benchmark-tooltip-row{justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;font-weight:700;display:flex}.benchmark-tooltip-row span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.benchmark-tooltip-label{align-items:center;gap:6px;min-width:0;display:inline-flex}.benchmark-tooltip-label span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.benchmark-market-closed-badge{color:#43586cb8;letter-spacing:0;background:0 0;border-radius:0;flex:none;padding:0;font-size:.7rem;font-weight:800;line-height:1.2}.benchmark-tooltip-row strong{font-variant-numeric:tabular-nums lining-nums;white-space:nowrap;font-size:.86rem}.benchmark-tooltip-divider{background:#7a5b361f;height:1px;margin:1px 0}.benchmark-tooltip-row strong.is-up,.benchmark-tooltip-row.is-portfolio strong.is-up,.benchmark-tooltip-row.is-sp500 strong.is-up,.benchmark-tooltip-row.is-nikkei225 strong.is-up,.benchmark-tooltip-row.is-excess strong.is-up{color:#b63b31}.benchmark-tooltip-row strong.is-down,.benchmark-tooltip-row.is-portfolio strong.is-down,.benchmark-tooltip-row.is-sp500 strong.is-down,.benchmark-tooltip-row.is-nikkei225 strong.is-down,.benchmark-tooltip-row.is-excess strong.is-down{color:#2f7a3d}.benchmark-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.risk-adjusted-panel{overflow:visible}.risk-adjusted-head{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.risk-adjusted-sample{color:#56432d94;font-size:.78rem;font-weight:800}.risk-adjusted-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px;display:grid}.risk-adjusted-card{background:#fffaf3b8;border:1px solid #7a5b361a;border-radius:8px;gap:10px;min-width:0;padding:16px 18px;display:grid}.benchmark-contribution-panel{gap:14px;margin-top:18px;display:grid}.benchmark-contribution-head,.benchmark-contribution-card-head{justify-content:space-between;align-items:flex-end;gap:14px;display:flex}.benchmark-contribution-title,.benchmark-contribution-card-head h5,.benchmark-contribution-empty{margin:0}.benchmark-contribution-title{color:#2d2216f0;font-size:1rem}.benchmark-contribution-note,.benchmark-contribution-card-head span{color:#56432d9e;font-size:.78rem;font-weight:700}.benchmark-contribution-card-summary{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:8px;display:flex}.benchmark-contribution-card-summary strong{font-variant-numeric:tabular-nums lining-nums;font-size:.82rem;font-weight:800}.benchmark-contribution-card-summary strong.is-up{color:#c43930}.benchmark-contribution-card-summary strong.is-down{color:#2f7a3d}.benchmark-contribution-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.benchmark-contribution-card{background:#ffffff9e;border:1px solid #7a5b361a;border-radius:8px;min-width:0;padding:14px}.benchmark-contribution-card.is-positive{border-top:3px solid #c43930b8}.benchmark-contribution-card.is-negative{border-top:3px solid #2f7a3db8}.benchmark-contribution-card-head h5{color:#3d2e1deb;font-size:.9rem}.benchmark-contribution-list{scrollbar-color:#7a5b3642 #f8f0e4b8;scrollbar-width:thin;gap:8px;max-height:472px;margin:12px 0 0;padding:0 4px 0 0;list-style:none;display:grid;overflow-y:auto}.benchmark-contribution-list::-webkit-scrollbar{width:8px}.benchmark-contribution-list::-webkit-scrollbar-track{background:#f8f0e4b8;border-radius:999px}.benchmark-contribution-list::-webkit-scrollbar-thumb{background:#7a5b3642;border-radius:999px}.benchmark-contribution-list::-webkit-scrollbar-thumb:hover{background:#7a5b3661}.benchmark-contribution-item{cursor:pointer;background:#faf4ecad;border:1px solid #7a5b3612;border-radius:8px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:9px 10px;transition:border-color .16s,background .16s,box-shadow .18s;display:grid}.benchmark-contribution-item:hover,.benchmark-contribution-item:focus-visible,.benchmark-contribution-item.is-expanded{background:#fffcf7e6;border-color:#7a5b3629;outline:none;box-shadow:0 8px 18px #6c4f2d0f}.benchmark-contribution-rank{color:#3d2e1dc7;background:#7a5b361a;border-radius:999px;place-items:center;width:26px;height:26px;font-size:.76rem;font-weight:800;display:inline-grid}.benchmark-contribution-name{gap:2px;min-width:0;display:grid}.benchmark-contribution-name strong,.benchmark-contribution-name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.benchmark-contribution-name strong{color:#2d2216eb;align-items:center;gap:6px;font-size:.86rem;display:inline-flex}.benchmark-contribution-status{color:#43586cc2;letter-spacing:0;background:#43586c1a;border-radius:999px;flex:none;padding:2px 6px;font-size:.62rem;font-weight:800}.benchmark-contribution-name span,.benchmark-contribution-return{color:#56432d94;font-size:.72rem;font-weight:700}.benchmark-contribution-value{justify-self:end;font-size:1rem;font-weight:800}.benchmark-contribution-value.is-up{color:#c43930}.benchmark-contribution-value.is-down{color:#2f7a3d}.benchmark-contribution-return{grid-column:2/4}.benchmark-contribution-detail{background:#f8f0e48f;border:1px solid #7a5b3614;border-radius:8px;grid-column:1/4;gap:8px;margin-top:4px;padding:10px;display:grid}.benchmark-contribution-detail-row{color:#56432da3;grid-template-columns:1fr;gap:3px;font-size:.72rem;font-weight:700;display:grid}.benchmark-contribution-detail-row strong{color:#2d2216db;text-align:left;font-variant-numeric:tabular-nums lining-nums;overflow-wrap:anywhere;justify-self:stretch;font-size:.74rem}.benchmark-contribution-detail-row.is-result{border-top:1px solid #7a5b361a;padding-top:8px}.benchmark-contribution-detail-row strong.is-up{color:#c43930}.benchmark-contribution-detail-row strong.is-down{color:#2f7a3d}.benchmark-contribution-detail p{color:#56432d94;margin:2px 0 0;font-size:.7rem;line-height:1.5}.benchmark-contribution-empty{color:#56432d94;padding:22px 0 8px;font-size:.84rem}.benchmark-formula-panel{background:linear-gradient(#fffcf7fa,#faf2e6e6);border:1px solid #7a5b361a;border-radius:8px;margin-top:18px;padding:18px;box-shadow:0 10px 24px #6c4f2d0f}.benchmark-formula-head{gap:6px;margin-bottom:14px;display:grid}.benchmark-formula-title,.benchmark-formula-card-title{margin:0}.benchmark-formula-title{color:var(--foreground);font-size:1.02rem}.benchmark-formula-summary{color:#56432dc7;max-width:720px;margin:0;font-size:.84rem;line-height:1.65}.benchmark-formula-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.benchmark-formula-card{background:#ffffffb8;border:1px solid #7a5b3614;border-radius:8px;gap:10px;padding:14px;display:grid;box-shadow:inset 0 1px #ffffffb3}.benchmark-formula-note-label{letter-spacing:.04em;border-radius:999px;align-items:center;min-height:22px;font-size:.72rem;font-weight:700;display:inline-flex}.benchmark-formula-card-title{color:#3d2e1deb;font-size:.92rem}.benchmark-formula-expression,.benchmark-formula-note{color:#56432dd1;margin:0;font-size:.82rem;line-height:1.7}.benchmark-formula-expression{white-space:pre-line;background:#f8f0e4b8;border:1px solid #7a5b360f;border-radius:8px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.78rem;line-height:1.8}.benchmark-formula-note-box{gap:8px;display:grid}.benchmark-formula-note-label{color:#2f7a3d;background:#2f7a3d1a;width:fit-content;padding:0 10px}.tool-card{background:0 0;border:0;border-radius:0;padding:0}.tool-card-standalone{min-height:100%}.tool-card-head{justify-content:space-between;align-items:start;gap:16px;display:flex}.portfolio-head-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.tool-eyebrow{letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0;font-size:.74rem}.tool-title{margin:10px 0 0;font-size:1.18rem;font-weight:600}.tool-stat{justify-items:end;gap:6px;display:grid}.tool-stat-label,.mini-stat-label,.tool-label{color:var(--muted);font-size:.82rem}.tool-stat-value,.mini-stat-value{font-family:var(--font-sans), sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums;font-size:1.42rem;font-weight:600;line-height:1.08}.tool-stat-value{font-size:1.7rem}.tool-field{gap:8px;display:grid}.tool-search-field,.tool-input-wrap{position:relative}.tool-input-with-spinner{padding-right:42px}.tool-input-spinner{pointer-events:none;border:2px solid #587caf2e;border-top-color:#5d88c7;border-radius:999px;width:16px;height:16px;margin-top:-8px;animation:.75s linear infinite tool-input-spinner-rotate;position:absolute;top:50%;right:14px}@keyframes tool-input-spinner-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tool-selection-note{color:#3d2e1dd1;font-size:.86rem;line-height:1.5}.tool-selection-note.is-placeholder{color:var(--muted)}.portfolio-import-note{gap:6px;margin-top:16px;display:grid}.tool-suggestion-list{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffaf3fa;border:1px solid #7a5b361f;border-radius:18px;gap:0;padding:8px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 18px 36px #6c4f2d24}.tool-suggestion-item{text-align:left;cursor:pointer;color:#21170f;background:0 0;border:0;border-radius:12px;width:100%;padding:12px 14px;transition:background .18s,border-color .18s}.tool-suggestion-item:hover{background:#f6eee3f5}.holding-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px;display:grid}.holding-form-grid-portfolio{grid-template-columns:1.2fr .8fr .8fr;align-items:end}.holding-form-grid-modal-search{grid-template-columns:repeat(2,minmax(0,1fr))}.holding-form-grid-modal-search .tool-search-field{grid-column:1/-1}.holding-form-grid-modal-search .tool-suggestion-list{max-height:260px;margin-top:8px;position:static;overflow:auto}.holding-form-grid-modal-search .readonly-field-card,.holding-form-grid-modal-search .readonly-field-block{min-width:0}.tool-input,.tool-select{width:100%;min-height:44px;color:var(--foreground);font:inherit;background:#fffcf7eb;border:1px solid #7a5b3624;border-radius:14px;padding:0 14px}.tool-stepper{background:linear-gradient(#fffcf7f5,#f8f1e7eb);border:1px solid #7a5b3624;border-radius:16px;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;min-height:44px;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffffa6}.tool-stepper .tool-input{text-align:center;font-variant-numeric:tabular-nums lining-nums;background:0 0;border:0;height:42px;min-height:42px;padding:0 10px}.tool-stepper-button{color:#352718e0;cursor:pointer;background:0 0;border:0;border-radius:0;width:100%;height:42px;font-size:1.12rem;font-weight:600;line-height:1;transition:background .18s,color .18s,transform .18s}.tool-stepper-button:first-child{border-right:1px solid #7a5b361a}.tool-stepper-button:last-child{border-left:1px solid #7a5b361a}.tool-stepper-button:hover{color:var(--foreground);background:#8f6e4717}.tool-stepper-button:active{transform:scale(.97)}.readonly-field-card{white-space:nowrap;background:#faf4ecd1;border:1px solid #7a5b361f;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;height:44px;min-height:44px;padding:0 14px;display:flex}.readonly-field-value{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;text-align:right;flex:auto;justify-content:flex-end;align-items:center;min-width:0;font-size:.92rem;font-weight:500;display:inline-flex;overflow:hidden}.readonly-field-block{gap:6px;min-width:0;display:grid}.readonly-field-status-top{color:var(--accent);white-space:nowrap;justify-self:end;font-size:.72rem;line-height:1.15}.readonly-field-card .tool-label{color:var(--muted);flex:none;margin:0;font-size:.92rem;font-weight:500}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tool-actions{flex-wrap:wrap;gap:12px;margin-top:18px;display:flex}.holding-inline-row{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;display:grid}.holding-account-grid{gap:10px;min-width:0;display:grid}.holding-account-grid-head,.holding-account-row{grid-template-columns:minmax(92px,120px) minmax(180px,1fr) minmax(180px,1fr);align-items:center;gap:14px;display:grid}.holding-account-grid-head{padding:0 2px}.holding-account-name{color:var(--foreground);font-size:.95rem;font-weight:600}.tool-field-shares,.tool-field-cost{min-width:0}.tool-actions-inline{flex-wrap:nowrap;justify-content:flex-start;align-self:end;margin-top:0}.tool-actions-inline .primary-button,.tool-actions-inline .secondary-button{min-height:44px;padding:0 18px}.tool-actions .primary-button:disabled{cursor:not-allowed;opacity:.52;box-shadow:none;transform:none}.portfolio-hero-panel{box-shadow:none;background:0 0;border:0;border-radius:0;gap:18px;padding:0;display:grid}.portfolio-tool-head{align-items:start}.portfolio-switcher-panel{background:0 0;border:0;border-radius:0;gap:10px;padding:0;display:grid;position:relative}.portfolio-switcher-head{justify-content:space-between;align-items:end;gap:16px;display:flex}.portfolio-switcher-head>div:first-child{gap:5px;display:grid}.portfolio-switcher-label{color:#8d683de0;letter-spacing:.14em;align-items:center;gap:8px;font-size:.68rem;font-weight:800;display:inline-flex}.portfolio-add-icon-button{color:#8d683d;cursor:pointer;background:#fffcf7db;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;padding:0;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.portfolio-add-icon-button:hover{color:#6f4d25;background:#fffcf7fa;border-color:#7a5b3638;transform:translateY(-1px)}.portfolio-switcher-head strong{color:#3a2819;font-size:.98rem}.portfolio-switcher-name-input{min-height:34px;color:var(--foreground);background:0 0;border:0;border-radius:999px;padding:0 14px;font-weight:700}.portfolio-switcher-list{flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:0;display:flex;overflow:visible}.portfolio-switcher-item{cursor:grab;background:#fffcf77a;border:1px solid #7a5b3614;border-radius:18px;flex:220px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:8px 10px 8px 14px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s;display:inline-grid;position:relative}.portfolio-switcher-item:active{cursor:grabbing}.portfolio-switcher-item[draggable=false]{cursor:default}.portfolio-switcher-item.is-active{background:#fffcf7d1;border-color:#9a6f367a;transform:none;box-shadow:inset 0 0 0 1px #9a6f3647}.portfolio-switcher-item.is-dragging{opacity:.58;transform:scale(.985)}.portfolio-switcher-item.is-drag-over{background:#fffcf7f0;border-color:#9a6f3685;box-shadow:0 12px 26px #6c4f2d1a,inset 0 0 0 1px #9a6f3633}.portfolio-switcher-item.is-active:before{content:none}.portfolio-switcher-add-chip{color:#8d683d;cursor:pointer;background:#fffcf794;border:1px dashed #7a5b3633;border-radius:16px;flex:0 0 42px;justify-content:center;align-self:center;align-items:center;width:42px;height:42px;transition:background .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.portfolio-switcher-add-chip:hover{color:#6f4d25;background:#fffcf7f0;border-color:#7a5b3652;transform:translateY(-1px)}.portfolio-switcher-add-chip.is-locked{color:#61524075;cursor:default;background:#e8e2d894;border-style:solid;border-color:#7a5b3614;position:relative}.portfolio-switcher-add-chip.is-locked:hover{color:#61524075;background:#e8e2d894;border-color:#7a5b3614;transform:none}.portfolio-switcher-upgrade-tooltip{z-index:18;color:#5f4a35;text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:normal;pointer-events:none;background:#fffcf7fa;border:1px solid #7a5b361a;border-radius:12px;width:238px;max-width:calc(100vw - 64px);padding:9px 12px;font-size:.78rem;font-weight:700;line-height:1.45;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 14px 30px #5d483024}.portfolio-switcher-upgrade-tooltip:after{content:"";background:#fffcf7fa;border-bottom:1px solid #7a5b361a;border-right:1px solid #7a5b361a;width:10px;height:10px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)rotate(45deg)}.portfolio-switcher-button{color:#4e3724;text-align:left;min-width:0;min-height:32px;cursor:inherit;background:0 0;border:0;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.portfolio-switcher-dot{background:#a07e546b;border-radius:999px;width:7px;height:7px}.portfolio-switcher-item.is-active .portfolio-switcher-dot{box-shadow:none;background:#9a6f36}.portfolio-switcher-item.is-active .portfolio-switcher-name{color:#2f2117}.portfolio-switcher-item.is-active .portfolio-switcher-button small{color:#563d1ec7;background:#9a6f361f}.portfolio-switcher-name{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.portfolio-switcher-button small{color:#56432d94;white-space:nowrap;background:#f8f0e28f;border-radius:999px;padding:3px 8px;font-size:.74rem;font-weight:800}.portfolio-switcher-actions{border-left:1px solid #7a5b3614;gap:2px;padding-left:2px;display:flex}.portfolio-switcher-actions button{cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;display:inline-flex}.portfolio-switcher-actions button:hover:not(:disabled){transform:translateY(-1px)}.portfolio-switcher-actions .portfolio-icon-svg{width:16px;height:16px}.portfolio-switcher-actions .portfolio-icon-svg-edit{width:17px;height:17px}.portfolio-switcher-lock{color:#6152407a;cursor:default;background:#efeae2b8;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.portfolio-switcher-actions .portfolio-icon-svg-lock{width:15px;height:15px}.portfolio-switcher-actions .portfolio-edit-button{color:#6d8ebd;box-shadow:none}.portfolio-switcher-actions .portfolio-delete-button{color:#c38f81;box-shadow:none}.portfolio-switcher-actions .portfolio-edit-button:hover{background:#e3edfab8}.portfolio-switcher-actions .portfolio-delete-button:hover{background:#f9f1edc7}.portfolio-switcher-actions button:disabled{cursor:default;opacity:.48}.portfolio-switcher-name-input{background:#fffcf7db;border:1px solid #7a5b361f;width:100%;min-width:0}.portfolio-import-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.portfolio-import-card{background:#fffcf7cc;border:1px solid #7a5b3614;border-radius:20px;gap:8px;padding:16px 18px;display:grid}.portfolio-import-card.is-accent{background:#f8f0e2e6;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px}.portfolio-import-card.is-message{background:#faf4ecf2}.portfolio-import-card-label{letter-spacing:.12em;color:#8d683dd1;font-size:.78rem;font-weight:700}.portfolio-import-card-copy{color:#56432dd1;margin:0;line-height:1.7}.portfolio-import-toast{z-index:80;background:radial-gradient(circle at 0 0,#d3ad4a2e,#0000 36%),#fffcf7f5;border:1px solid #7a5b361f;border-radius:22px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;width:min(420px,100vw - 32px);padding:16px 16px 16px 18px;animation:.18s ease-out portfolio-toast-in;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 18px 44px #3a281929}.portfolio-import-toast-text{gap:6px;min-width:0;display:grid}.portfolio-import-toast-label{color:#8d683de0;letter-spacing:.12em;font-size:.74rem;font-weight:800}.portfolio-import-toast p{color:#352718e6;margin:0;font-size:.92rem;line-height:1.65}.portfolio-import-toast-close{color:#56432dc7;cursor:pointer;background:#fffcf7c7;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-size:1.1rem;line-height:1;display:inline-flex}.portfolio-import-toast-close:hover{color:var(--foreground);background:#f8f0e2f0}@keyframes portfolio-toast-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.portfolio-import-stat{white-space:nowrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:inline-flex}.portfolio-import-stat-value,.portfolio-import-stat-period{color:#3a2819;font-family:inherit;font-weight:700;line-height:1}.portfolio-import-stat-value{background:#fffcf7bd;border:1px solid #7a5b3614;border-radius:999px;align-items:center;min-height:30px;padding:0 10px;font-size:.92rem;display:inline-flex}.portfolio-import-stat-period{color:#5f4630cc;white-space:nowrap;background:#fffcf7b8;border:1px solid #7a5b3614;border-radius:999px;align-items:center;width:fit-content;min-height:30px;padding:0 10px;font-size:.8rem;font-weight:600;line-height:1.3;display:inline-flex}.portfolio-command-panel{background:#fffcf79e;border:1px solid #7a5b3614;border-radius:26px;margin-top:20px;padding:18px}.mini-stat-card,.stacked-stat-card{background:#fffaf3c7;border:1px solid #7a5b3614;border-radius:20px;padding:16px 18px}.stacked-stat-list{gap:12px;margin-top:22px;display:grid}.mini-stat-card,.stacked-stat-card,.tool-stat{gap:10px;display:grid}.metric-help-wrap{align-items:center;gap:6px;width:fit-content;max-width:100%;display:inline-flex;position:relative}.metric-help-button{color:#56432dcc;cursor:help;background:#fffcf7e6;border:1px solid #7a5b3629;border-radius:999px;flex:none;justify-content:center;align-items:center;width:18px;height:18px;font-size:.7rem;font-weight:700;line-height:1;display:inline-flex}.metric-help-tooltip{z-index:30;color:#3d2e1ddb;opacity:0;visibility:hidden;pointer-events:none;background:#fffaf3fa;border:1px solid #7a5b361f;border-radius:8px;width:min(260px,75vw);padding:10px 12px;font-size:.78rem;line-height:1.55;transition:opacity .14s,transform .14s,visibility .14s;position:absolute;top:calc(100% + 8px);left:0;transform:translateY(4px);box-shadow:0 14px 24px #6c4f2d1f}.metric-help-wrap:hover .metric-help-tooltip,.metric-help-wrap:focus-within .metric-help-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.mini-stat-value.is-up{color:#b63b31}.mini-stat-value.is-down{color:#2f7a3d}.holding-table-wrap{margin-top:22px;overflow-x:auto}.holding-table{border-collapse:collapse;width:100%;min-width:640px}.holding-table th,.holding-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #7a5b3614;padding:14px 12px}.holding-table th{color:var(--muted);font-size:.82rem;font-weight:500}.holding-name-cell{gap:4px;display:grid}.holding-name-cell span{color:var(--muted);font-size:.82rem}.holding-table tbody td:not(:first-child){font-family:var(--font-display), serif;letter-spacing:-.01em;font-variant-numeric:tabular-nums lining-nums;font-size:1.14rem;font-weight:500;line-height:1.08}.holding-empty{color:var(--muted);text-align:center}.table-remove-button{color:var(--accent-strong);font:inherit;cursor:pointer;background:0 0;border:0}.tool-control{gap:8px;margin-top:22px;display:grid}.tool-note{color:var(--muted);margin:18px 0 0;line-height:1.85}.tool-existing-holding-note{color:#493723e6;background:#faf4ecc7;border:1px solid #7a5b361f;border-radius:18px;gap:4px;margin-top:16px;padding:14px 16px;display:grid}.tool-empty-create-note{color:var(--muted);background:#fffcf7b3;border:1px dashed #7a5b362e;border-radius:18px;gap:4px;margin-top:16px;padding:14px 16px;display:grid}.portfolio-edit-modal-overlay{z-index:40;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#24180c47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.portfolio-edit-modal{background:linear-gradient(#fffcf7fa,#f8f1e7f2);border:1px solid #7a5b361f;border-radius:14px;width:min(760px,100%);max-height:calc(100vh - 48px);padding:22px;overflow:auto;box-shadow:0 24px 60px #422c1333}.portfolio-manual-import-modal{width:min(1080px,100%);max-height:calc(100vh - 40px)}.portfolio-edit-modal-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.portfolio-edit-modal-subtitle{color:var(--muted);margin:6px 0 0;line-height:1.6}.portfolio-edit-stock-title{color:var(--foreground);letter-spacing:-.03em;align-items:baseline;gap:16px;margin:4px 0 0;display:flex}.portfolio-edit-stock-code{font:inherit;line-height:inherit;letter-spacing:inherit}.portfolio-edit-stock-name{font-size:1.72rem;font-weight:800;line-height:1.15}.portfolio-edit-modal-close{color:#493723e0;cursor:pointer;background:#fffcf7db;border:1px solid #7a5b361f;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:1.2rem;line-height:1;display:inline-flex}.holding-account-grid-modal{margin-top:18px}.portfolio-edit-modal-actions{justify-content:flex-end;margin-top:20px}.csv-broker-modal-overlay{z-index:45;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1d160f47;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.csv-broker-modal{background:radial-gradient(circle at 100% 0,#d3ad4a29,#0000 34%),linear-gradient(#fffcf7fa,#f8f1e7f0);border:1px solid #7a5b361f;border-radius:26px;width:min(620px,100%);padding:24px;box-shadow:0 26px 70px #3a281938}.csv-broker-modal-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.csv-broker-modal-copy{color:var(--muted);margin:8px 0 0;line-height:1.7}.csv-broker-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.csv-broker-choice-card{min-height:150px;color:var(--foreground);text-align:left;cursor:pointer;background:#fffcf7d1;border:1px solid #7a5b361a;border-radius:22px;gap:10px;padding:18px;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;display:grid}.csv-broker-choice-card:hover{background:#fffcf7fa;border-color:#7a5b3638;transform:translateY(-2px);box-shadow:0 16px 34px #6c4f2d1f}.csv-broker-choice-kicker{color:var(--accent);letter-spacing:.16em;text-transform:uppercase;font-size:.68rem;font-weight:800}.csv-broker-choice-card strong{font-size:1.35rem;line-height:1.1}.csv-broker-choice-card span:last-child{color:#56432dc7;line-height:1.6}.csv-overwrite-modal{width:min(560px,100%)}.delete-confirm-modal{width:min(520px,100%)}.delete-confirm-button{background:linear-gradient(#ba483df5,#8a2d26fa);box-shadow:0 16px 28px #9e3a2f2e}.portfolio-create-modal{width:min(520px,100%)}.portfolio-create-modal-field{margin-top:20px}.csv-overwrite-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:22px;display:flex}@media (max-width:960px){.hero-card,.auth-layout,.dashboard-grid,.feature-grid,.module-grid,.pricing-grid,.kpi-row,.market-grid,.tools-grid,.tools-grid-secondary,.holding-form-grid{grid-template-columns:1fr}.holding-form-grid-modal-search .tool-search-field{grid-column:auto}.site-header,.simple-header{grid-template-columns:1fr;align-items:flex-start;gap:16px}.top-nav{scrollbar-width:none;justify-content:flex-start;width:100%;overflow-x:auto}.top-nav::-webkit-scrollbar{display:none}.account-menu{margin-left:auto}.market-overview-head{flex-direction:column;align-items:flex-start}.portfolio-overview-head{flex-direction:row;align-items:flex-start}.market-overview-duo,.market-grid-compact,.market-fx-grid,.portfolio-overview-legend,.portfolio-overview-stats{grid-template-columns:1fr}.market-refresh-meta{text-align:left}.market-refresh-box{justify-content:flex-start}.market-fx-head{align-items:flex-start}.portfolio-overview-treemap-head{flex-direction:column;align-items:flex-start;display:flex}.portfolio-overview-tabs{width:100%}.portfolio-overview-control-row{grid-template-columns:1fr}.portfolio-overview-chart-row{display:flex;position:relative}.portfolio-overview-chart.is-active{transform:translate(-188px)}.portfolio-overview-hover-card{width:min(250px,50% - 18px);min-height:0;position:absolute;right:0}.portfolio-overview-tab{flex:1 1 0}.portfolio-overview-treemap-head{min-height:0;padding-right:0}.portfolio-overview-basis-row{grid-area:auto/1/auto/-1;justify-content:stretch}.portfolio-overview-list-row{grid-template-columns:1fr;align-items:start}.portfolio-overview-list-values{text-align:left;justify-content:start;justify-items:start;padding-left:44px}.portfolio-detail-modal-overlay{padding:14px}.portfolio-detail-modal{padding:18px}.portfolio-detail-hero,.portfolio-detail-grid{grid-template-columns:1fr}.portfolio-detail-marker{width:42px;height:8px}.holding-inline-row{grid-template-columns:1fr}.holding-account-grid-head,.holding-account-row{grid-template-columns:1fr;gap:10px}.holding-account-grid-head{display:none}.tool-actions-inline{flex-wrap:wrap}.portfolio-import-grid,.portfolio-switcher-head,.portfolio-switcher-item{grid-template-columns:1fr}.portfolio-switcher-actions{justify-content:flex-start}.portfolio-import-toast{bottom:16px;right:16px}.portfolio-holdings-header{flex-direction:column;align-items:flex-start}.portfolio-edit-modal-overlay{padding:14px}.portfolio-edit-modal{padding:18px}.csv-broker-modal-overlay{padding:14px}.csv-broker-modal{padding:18px}.csv-broker-choice-grid{grid-template-columns:1fr}.portfolio-edit-modal-head{align-items:flex-start}.portfolio-edit-modal-actions{justify-content:flex-start}.benchmark-head,.benchmark-chart-head{flex-direction:column;align-items:flex-start}.benchmark-head-actions{justify-content:flex-start}.benchmark-head-meta{justify-items:start}.benchmark-formula-grid,.benchmark-contribution-grid,.risk-adjusted-grid,.benchmark-stats-grid{grid-template-columns:1fr}.benchmark-contribution-head,.risk-adjusted-head{flex-direction:column;align-items:flex-start}}@media (max-width:640px){.page-shell,.simple-shell{width:min(100vw - 28px,1120px)}.marketing-shell,.simple-shell{padding-top:18px}.hero-card,.section-card,.pricing-card,.auth-card,.dashboard-card{border-radius:24px}.portfolio-section-card{border-radius:24px;padding:24px}.hero-card,.section-card,.auth-card,.pricing-card,.dashboard-card{padding:24px}.hero-title{font-size:clamp(2.9rem,13vw,4.4rem)}.portfolio-overview-head{gap:12px}.portfolio-overview-title{font-size:1.55rem}.portfolio-overview-chart-row.is-active{column-gap:0}.portfolio-overview-chart.is-active{transform:translate(-168px)}.portfolio-overview-chart{width:min(100%,280px)}.portfolio-overview-hover-card{width:min(220px,50% - 10px);right:0}.portfolio-hero-panel,.portfolio-command-panel{padding:18px}.portfolio-section-card .portfolio-hero-panel{padding:0}.hero-actions{flex-direction:column;align-items:stretch}}.portfolio-holdings-section{margin-top:24px}.portfolio-holdings-header{background:#fffaf3b8;border:1px solid #7a5b3614;border-radius:22px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:16px 18px;display:flex}.portfolio-holdings-actions{flex:0 auto;justify-content:flex-end;align-items:center;gap:10px;min-width:0;margin-left:auto;display:flex}@media (max-width:520px){.portfolio-holdings-header{flex-wrap:wrap}.portfolio-holdings-actions{flex-wrap:wrap;order:3;width:100%}.portfolio-holdings-search{flex:220px;max-width:none}}@media (max-width:900px){.portfolio-holdings-jump-first-button{display:none}}.portfolio-holdings-search{color:#4e37249e;background:#fffcf7db;border:1px solid #7a5b361f;border-radius:999px;flex:0 420px;align-items:center;gap:10px;width:min(420px,38vw);min-width:220px;padding:10px 14px;display:flex}.portfolio-holdings-search svg{flex:none;width:16px;height:16px}.portfolio-holdings-search input{color:#2f251d;width:100%;font:inherit;background:0 0;border:0;outline:0;font-size:.92rem}.portfolio-holdings-search input::placeholder{color:#65523d8a}.portfolio-holdings-title-wrap{flex:none;align-items:center;gap:10px;display:inline-flex}.portfolio-holdings-title{letter-spacing:.06em;color:#4e3724;font-size:1.02rem;font-weight:700}.portfolio-holdings-count{color:var(--muted);font-size:.92rem;line-height:1}.portfolio-cloud-sync-indicator{color:#6b8f65;background:#6b8f6514;border:1px solid #6b8f652e;border-radius:999px;flex:0 0 18px;justify-content:center;align-items:center;width:18px;height:18px;margin-left:1px;display:inline-flex}.portfolio-cloud-sync-indicator .portfolio-icon-svg{width:13px;height:13px}.portfolio-cloud-sync-indicator .portfolio-icon-svg-check,.portfolio-cloud-sync-indicator .portfolio-icon-svg-xmark{display:block}.portfolio-cloud-sync-indicator.is-syncing{color:#8f6d3e;background:#a685521a;border-color:#a6855238}.portfolio-cloud-sync-indicator.is-syncing span{border:1.8px solid #8f6d3e38;border-top-color:currentColor;border-radius:999px;width:10px;height:10px;animation:.78s linear infinite portfolio-cloud-sync-spin}.portfolio-cloud-sync-indicator.is-error{color:#b25a4a;background:#b25a4a1a;border-color:#b25a4a33}@keyframes portfolio-cloud-sync-spin{to{transform:rotate(360deg)}}.portfolio-holdings-toggle-button{color:#6b5239;letter-spacing:.04em;cursor:pointer;background:linear-gradient(#fffcf7f5,#f9f3ebf0);border:1px solid #7a5b3624;border-radius:999px;flex:none;padding:11px 18px;font-size:.9rem;font-weight:600;transition:background-color .16s,border-color .16s,transform .16s}.portfolio-holdings-toggle-button:hover{background:#f6ecddf5;border-color:#a685523d;transform:translateY(-1px)}.portfolio-holdings-list-shell{position:relative}.portfolio-holdings-jump-first-button{z-index:5;color:#6b5239d1;cursor:pointer;background:linear-gradient(#fffcf7f5,#f9f3ebeb);border:1px solid #7a5b3624;border-radius:999px;justify-content:center;align-items:center;width:42px;height:42px;margin-bottom:-42px;margin-left:-58px;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-flex;position:sticky;top:92px;transform:translateY(24px);box-shadow:0 12px 26px #6c4f2d1f}.portfolio-holdings-jump-first-button:hover{color:#5b4229;background:linear-gradient(#fffcf7,#f4ebdef5);border-color:#a6855242;transform:translateY(22px);box-shadow:0 16px 30px #6c4f2d29}.portfolio-icon-svg-arrow-up{width:20px;height:20px}.portfolio-holdings-grid{gap:18px;margin-top:24px;display:grid}.portfolio-empty-card{color:var(--muted);background:linear-gradient(#fffbf6db,#f9f3ebbd);border:1px solid #7a5b3614;border-radius:24px;padding:22px 24px;line-height:1.85}.portfolio-position-card{background:linear-gradient(#fffcf7eb,#f9f2e8e6);border:1px solid #7a5b361a;border-radius:28px;padding:26px 28px;scroll-margin-top:24px;box-shadow:0 18px 36px #6c4f2d14}.portfolio-position-card.is-highlighted{border-color:#a6855257;box-shadow:0 20px 40px #a6855229}.portfolio-position-head{border-bottom:1px solid #7a5b3614;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding-bottom:18px;display:grid}.portfolio-position-code{font-family:var(--font-display), serif;letter-spacing:.01em;font-size:1.8rem;font-weight:500;line-height:1}.portfolio-position-name{letter-spacing:-.02em;align-items:center;gap:12px;min-width:0;max-width:100%;font-size:2rem;font-weight:600;line-height:1.05;display:inline-flex}.portfolio-position-name span{min-width:0}.portfolio-position-flag{border-radius:999px;flex:none;min-width:18px;max-width:18px;min-height:18px;max-height:18px;display:block;overflow:hidden;width:18px!important;height:18px!important}.portfolio-position-account-type,.portfolio-position-account-summary{min-height:32px;color:var(--muted);white-space:nowrap;background:#fffcf7c7;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.82rem;display:inline-flex}.portfolio-position-head-right{justify-content:flex-end;align-items:center;gap:12px;display:inline-flex}.portfolio-remove-button{color:#493723e0;white-space:nowrap;cursor:pointer;background:#fffcf7d1;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;min-width:72px;min-height:40px;padding:0 16px;transition:background .18s,border-color .18s,color .18s;display:inline-flex}.portfolio-remove-button:hover{color:#2c2015;background:#f6eee3eb;border-color:#7a5b362e}.portfolio-icon-button{color:#82604cdb;cursor:pointer;background:linear-gradient(#fffcf7f5,#f9f3ebeb);border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;transition:background .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s;display:inline-flex;box-shadow:0 6px 14px #6c4f2d0f}.portfolio-icon-button:hover{transform:translateY(-1px);box-shadow:0 10px 18px #6c4f2d14}.portfolio-icon-svg{flex:none;width:21px;height:21px;display:inline-flex}.portfolio-icon-svg-edit{width:24px;height:24px}.portfolio-icon-svg-delete{width:22px;height:22px}.portfolio-icon-svg-plus{width:16px;height:16px}.portfolio-remove-button-compact{min-width:64px;min-height:34px;padding:0 12px;font-size:.84rem}.portfolio-edit-button{color:#6d8ebd;background:linear-gradient(#f1f7fff5,#e3edfaeb);border-color:#7899cc33;box-shadow:0 6px 14px #7196cc14}.portfolio-edit-button:hover{color:#5f80af;background:linear-gradient(#f6faff,#dbe8f8f5);border-color:#7899cc47}.portfolio-account-input{height:36px;min-height:36px;padding:0 12px}.portfolio-account-actions,.portfolio-account-head-actions-wrap{justify-content:flex-end;width:100%;display:flex}.portfolio-account-actions{gap:8px}.portfolio-action-button-save{color:#55613a;background:#e7ecdce0;border-color:#686e492e;min-width:56px;min-height:34px;padding:0 12px;font-size:.84rem}.portfolio-action-button-cancel{color:#493723e0;background:#fffcf7d1;min-width:84px;min-height:34px;padding:0 12px;font-size:.84rem}.portfolio-delete-button{color:#c38f81;background:linear-gradient(#fffbf9f5,#f9f1edeb);border-color:#c6988a2e;box-shadow:0 6px 14px #b27a6914}.portfolio-delete-button:hover{color:#b47d6e;background:linear-gradient(#fffcfa,#f7ece7f5);border-color:#c6988a42;box-shadow:0 10px 18px #b27a691a}.portfolio-position-grid{grid-template-columns:.95fr 1.05fr;gap:28px;margin-top:20px;display:grid}.portfolio-position-column{gap:14px;display:grid}.portfolio-position-row{grid-template-columns:124px minmax(0,1fr);align-items:center;gap:18px;display:grid}.portfolio-position-label{color:var(--foreground);font-size:.94rem;font-weight:500;line-height:1.35}.portfolio-position-label-highlight{font-weight:700}.portfolio-position-value{font-family:var(--font-sans), sans-serif;letter-spacing:-.01em;font-variant-numeric:tabular-nums lining-nums;text-align:right;justify-self:end;align-items:baseline;gap:.22em;font-size:1.02rem;font-weight:500;line-height:1.28;display:inline-flex}.portfolio-position-value-strong{font-family:var(--font-sans), sans-serif;letter-spacing:-.01em;font-variant-numeric:tabular-nums lining-nums;text-align:right;justify-self:end;font-size:1.02rem;font-weight:600;line-height:1.28}.portfolio-position-number{white-space:nowrap}.portfolio-position-unit{white-space:nowrap;font-size:.92em}.portfolio-position-value.is-up,.portfolio-position-value-strong.is-up{color:#b63b31}.portfolio-position-value.is-down,.portfolio-position-value-strong.is-down{color:#2f7a3d}.portfolio-account-details{border-top:1px solid #7a5b3614;margin-top:18px;padding-top:18px}.portfolio-account-summary-toggle{cursor:pointer;color:var(--foreground);background:linear-gradient(#fffcf7f0,#f6eee3db);border:1px solid #7a5b361f;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-weight:600;list-style:none;transition:background .18s,border-color .18s,box-shadow .18s;display:flex;box-shadow:0 10px 22px #6c4f2d0f}.portfolio-account-summary-toggle:hover{background:linear-gradient(#fffcf7fa,#f2e8daeb);border-color:#7a5b362e;box-shadow:0 14px 26px #6c4f2d1a}.portfolio-account-summary-toggle::-webkit-details-marker{display:none}.portfolio-account-summary-main{align-items:center;display:inline-flex}.portfolio-account-summary-title{font-size:.98rem;font-weight:600}.portfolio-account-summary-meta{color:#493723db;white-space:nowrap;align-items:center;gap:10px;display:inline-flex}.portfolio-account-summary-icon{background:#fffcf7e6;border:1px solid #7a5b361f;border-radius:999px;justify-content:center;align-items:center;width:28px;height:28px;transition:transform .18s;display:inline-flex}.portfolio-account-details[open] .portfolio-account-summary-icon{transform:rotate(180deg)}.portfolio-account-table-wrap{background:#fffcf7eb;border:1px solid #7a5b361f;border-radius:14px;margin-top:16px;overflow-x:auto}.portfolio-account-table{border-collapse:collapse;table-layout:fixed;width:100%}.portfolio-account-col-account{width:16%}.portfolio-account-col-shares,.portfolio-account-col-cost,.portfolio-account-col-value,.portfolio-account-col-pnl{width:17%}.portfolio-account-col-actions{width:160px}.portfolio-account-table thead th{color:var(--muted);text-align:left;vertical-align:middle;background:#f5ece0c7;border-bottom:1px solid #7a5b361f;padding:14px;font-size:.8rem;font-weight:600}.portfolio-account-head-account,.portfolio-account-head-number{text-align:left}.portfolio-account-head-actions{text-align:right;width:160px;padding-right:14px}.portfolio-position-value-highlight{font-weight:700}.portfolio-account-table tbody td{vertical-align:middle;font-variant-numeric:tabular-nums lining-nums;background:0 0;border-bottom:1px solid #7a5b3614;padding:12px 14px}.portfolio-account-table thead th:first-child,.portfolio-account-table tbody td:first-child{padding-left:8px}.portfolio-account-table tbody tr:last-child td{border-bottom:0}.portfolio-account-cell-account{text-align:left}.portfolio-account-cell-number{text-align:left;font-variant-numeric:tabular-nums lining-nums}.portfolio-account-value{font-family:var(--font-sans), sans-serif;font-size:inherit;font-weight:inherit;line-height:inherit;align-items:baseline;gap:.28em;display:inline-flex}.portfolio-account-value-number{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:0}.portfolio-account-value-unit{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:0}.portfolio-account-cell-actions{text-align:right;padding-right:14px}.portfolio-account-pnl{font-weight:600}.portfolio-account-pnl.is-up{color:#b63b31}.portfolio-account-pnl.is-down{color:#2f7a3d}.tool-stat-value-plain{font-family:var(--font-sans), sans-serif;letter-spacing:-.02em;font-size:1.7rem;font-weight:600}.simple-shell.pricing-shell{width:min(1180px,100vw - 48px)}@media (max-width:960px){.pricing-card{min-height:auto}.portfolio-position-head{grid-template-columns:1fr;justify-items:start}.portfolio-position-grid{grid-template-columns:1fr}.portfolio-position-name{font-size:1.8rem}.portfolio-account-actions{justify-content:flex-start;width:100%}}@media (prefers-reduced-motion:reduce){.portfolio-overview-slice,.portfolio-overview-hover-card{transition:none}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
