:root,:root[data-theme=light]{--bg: #fafbfc;--surface: #ffffff;--ink: #0f172a;--muted: #64748b;--line: #cbd5e1;--accent: #0084c7;--accent-2: #0084c7;--gain: #0084c7;--loss: #ef4444;--warning: #f59e0b;--danger: #ef4444;--chip: #f1f5f9;--panel-2: #ffffff;--bg-secondary: #f8fafc;--input-bg: #ffffff;--input-border: #e2e8f0;--input-border-focus: #0084c7;--input-text: #1a202c;--input-placeholder: #a0aec0;--button-primary-bg: #0084c7;--button-primary-hover: #006ba3;--button-primary-text: #ffffff;--button-secondary-bg: #ffffff;--button-secondary-hover: #f8fafc;--button-secondary-text: #1a202c;--button-secondary-border: #e2e8f0;--button-disabled-bg: #a0aec0;--button-disabled-text: #ffffff;--grid-line: rgba(100, 116, 139, .15);--chart-text: #64748b;--accent-bg: rgba(0, 132, 199, .12);--accent-border: rgba(0, 132, 199, .35);--subtle-bg: #f8fafb;--radius: 14px;--header-h: 56px;--row-h: 44px;--space-1: 8px;--space-2: 12px;--space-3: 16px;--space-4: 20px;--sidenav-w: 240px;--bp-sm: 640px;--bp-md: 768px;--bp-lg: 1024px;--bp-xl: 1280px;--bp-2xl: 1536px;--px-mobile: 16px;--px-desktop: 24px}:root[data-theme=dark]{--bg: #0a0e14;--surface: #141824;--ink: #e4e8f0;--muted: #a0aec0;--line: #2d3748;--accent: #01a1ff;--accent-2: #01a1ff;--gain: #01a1ff;--loss: #f87171;--warning: #fbbf24;--danger: #f87171;--chip: #1f2530;--panel-2: #171d2a;--bg-secondary: #1a202c;--input-bg: #1f2937;--input-border: #374151;--input-border-focus: #01a1ff;--input-text: #e4e8f0;--input-placeholder: #6b7280;--button-primary-bg: #01a1ff;--button-primary-hover: #0284c7;--button-primary-text: #d1d5db;--button-secondary-bg: #1f2937;--button-secondary-hover: #374151;--button-secondary-text: #d1d5db;--button-secondary-border: #374151;--button-disabled-bg: #4b5563;--button-disabled-text: #9ca3af;--grid-line: rgba(160, 174, 192, .25);--chart-text: #b0bac9;--accent-bg: rgba(1, 161, 255, .12);--accent-border: rgba(1, 161, 255, .35);--subtle-bg: #1a1f2e;--radius: 14px;--header-h: 56px;--row-h: 44px;--space-1: 8px;--space-2: 12px;--space-3: 16px;--space-4: 20px;--sidenav-w: 240px;--bp-sm: 640px;--bp-md: 768px;--bp-lg: 1024px;--bp-xl: 1280px;--bp-2xl: 1536px;--px-mobile: 16px;--px-desktop: 24px}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--ink);font:14px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;min-width:360px;max-width:100vw;margin:0;overflow-x:hidden;transition:background-color .3s ease,color .3s ease}#root{max-width:100vw;overflow-x:hidden}.main-content,.main-container{max-width:100%;overflow-x:hidden;box-sizing:border-box}:root[data-theme=dark] body{background:#0a0e14}input:not([type=checkbox]):not([type=radio]),textarea,select{background:var(--input-bg);color:var(--input-text);border:1px solid var(--input-border);transition:background-color .3s ease,color .3s ease,border-color .3s ease}input:not([type=checkbox]):not([type=radio]):focus,textarea:focus,select:focus{border-color:var(--input-border-focus);background:var(--input-bg);color:var(--input-text);outline:none}input:not([type=checkbox]):not([type=radio])::placeholder,textarea::placeholder{color:var(--input-placeholder);opacity:1}select option{background:var(--input-bg);color:var(--input-text)}:root[data-theme=dark] select{color:var(--button-secondary-text)}:root[data-theme=dark] select option{background:var(--input-bg);color:var(--button-secondary-text)}:root[data-theme=dark] select optgroup{background:var(--input-bg);color:var(--button-secondary-text);font-weight:600}button{transition:background-color .3s ease,color .3s ease,border-color .3s ease}:root[data-theme=dark] button{color:var(--button-secondary-text)}.pnl-pos{color:var(--gain);font-weight:700;font-size:15px}.pnl-neg{color:var(--loss);font-weight:700;font-size:15px}.side-long{color:#10b981;font-weight:600}.side-short{color:#f97316;font-weight:600}.trades-table tbody tr{transition:background-color .15s ease}.trades-table tbody tr:hover{background-color:var(--subtle-bg)}@media (min-width: 768px){:root{--px-mobile: 24px}.header-inner{padding:0 var(--px-desktop)!important}.main-container{padding:var(--px-desktop)!important}.banner-section{margin-left:var(--px-desktop)!important;margin-right:var(--px-desktop)!important}}@media (min-width: 1280px){.desktop-sidenav{display:block!important}.mobile-only{display:none!important}.main-content{margin-left:var(--sidenav-w)!important}.header-oneline{display:flex!important}.header-twoline,.mobile-filters{display:none!important}}@media (min-width: 1024px) and (max-width: 1279px){.desktop-sidenav{display:block!important}.mobile-only{display:none!important}.main-content{margin-left:var(--sidenav-w)!important}.header-oneline{display:none!important}.header-twoline{display:flex!important}.mobile-filters{display:none!important}}@media (max-width: 1023px){.desktop-sidenav{display:none!important}.mobile-only{display:flex!important}.main-content{margin-left:0!important}.header-oneline,.header-twoline{display:none!important}.mobile-filters{display:flex!important}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}*{scrollbar-width:thin}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#0003;border-radius:4px;transition:background .3s ease}*::-webkit-scrollbar-thumb:hover{background:#0000004d}:root[data-theme=dark] *::-webkit-scrollbar-thumb{background:#fff3}:root[data-theme=dark] *::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media (min-width: 840px){.fh-root{grid-template-columns:minmax(300px,360px) 1fr;column-gap:20px;width:100%}}.fh-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px;box-shadow:0 1px 3px #0000000d;transition:background-color .3s ease,border-color .3s ease}.fh-badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:12px;background:var(--chip);border:1px solid var(--line);color:var(--ink);transition:background-color .3s ease,border-color .3s ease}.fh-chip{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;color:var(--ink);transition:border-color .3s ease,color .3s ease}.fh-bar{width:100%;height:10px;background:var(--line);border-radius:6px;overflow:hidden;transition:background-color .3s ease}.fh-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width:720px){.fh-grid{grid-template-columns:repeat(3,1fr)}}.fh-card--scenario{border-left:5px solid var(--line);transition:border-color .3s ease}.fh-dim{opacity:.72;filter:saturate(.9)}.fh-subtle{color:var(--muted);font-size:12.5px;transition:color .3s ease}.fh-list li{line-height:1.5}.fh-emoji{font-size:18px;line-height:1}.fh-pill-group{display:flex;background:var(--chip);border-radius:999px;padding:4px}.fh-pill{border:none;background:transparent;border-radius:999px;padding:6px 10px;cursor:pointer;font-size:13px;color:var(--ink)}.fh-pill--on{background:var(--button-primary-bg);color:var(--button-primary-text)}.fh-badge--warn{background:#fde68a;border-color:#f59e0b}.fh-wrap,.fh-root,.fh-card{text-align:left}@media (min-width: 840px){.fh-root{grid-template-columns:minmax(300px,360px) 1fr;column-gap:20px}}.fh-card--chat{position:sticky;top:72px;height:fit-content}.fh-disabled{opacity:.5}.fh-mb12{margin-bottom:12px}.fh-mt8{margin-top:8px}.fh-input{flex:1;min-width:160px;padding:10px 12px;border:1px solid var(--input-border);border-radius:10px;outline:none;font-size:14px;background:var(--input-bg);color:var(--input-text)}.fh-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2563eb1f}.fh-btn{padding:9px 12px;border-radius:10px;border:1px solid var(--button-secondary-border);background:var(--button-primary-bg);color:var(--button-primary-text);cursor:pointer;font-size:13px}.fh-btn--ghost{background:var(--button-secondary-bg);color:var(--button-secondary-text)}.fh-badge--ghost{background:var(--chip);border-color:var(--line)}.fh-chip{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;color:var(--ink);background:var(--chip)}.fh-gauge{margin-top:8px}.fh-gauge__item{flex:1;min-width:160px}.fh-gauge__label{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-bottom:6px}.fh-gauge__pct{font-weight:800;margin-left:8px}.fh-chat{display:flex;flex-direction:column;gap:10px;margin-top:10px;max-height:280px;overflow:auto;padding-right:4px}.fh-msg{display:flex}.fh-msg--me{justify-content:flex-end}.fh-msg--ai{justify-content:flex-start}.fh-msg__bubble{max-width:92%;padding:10px 12px;border-radius:14px;line-height:1.5;box-shadow:0 1px 2px #0000000d;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:13.5px;white-space:pre-wrap}.fh-attach{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.fh-iconbtn{width:36px;height:36px;border-radius:10px;border:1px solid var(--input-border);background:var(--surface);cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;color:var(--ink)}.fh-iconbtn--on{background:var(--button-primary-bg);color:var(--button-primary-text)}.fh-timeline{list-style:none;padding:0;margin:0}.fh-time.left{text-align:left}.fh-time.right{text-align:right}.fh-tl-panel{margin-top:10px;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--surface)}.fh-timeline li+li{border-top:1px solid var(--line)}.fh-card--chat{display:flex;flex-direction:column}.fh-chat{flex:1 1 auto;max-height:645px;overflow:auto;padding-right:4px}.fh-footer{margin-top:12px;display:flex;gap:8px;justify-content:flex-start}.fh-toggle{margin-top:12px;display:flex;gap:0;width:fit-content;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:4px}.fh-toggle__btn{border:0;background:transparent;padding:8px 14px;font-size:13px;border-radius:999px;cursor:pointer;color:#374151}.fh-card--chat{margin-bottom:10px}.fh-card--chat .fh-title{margin-bottom:8px}.fh-toggle{align-self:flex-start;display:flex;gap:0;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:4px}.fh-toggle__btn{display:inline-flex;align-items:center;border:0;background:transparent;padding:8px 14px;font-size:13px;border-radius:999px;cursor:pointer;color:#374151}.fh-toggle__btn.is-on{background:#111827;color:#fff}.fh-left{gap:10px}.fh-msg__bubble{max-width:92%;border-radius:16px;padding:10px 12px;line-height:1.6;font-size:14px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000a;white-space:pre-wrap}.fh-msg--me .fh-msg__bubble{background:#111827;color:#fff;border-color:#111827}.fh-composer{display:flex;align-items:flex-end;gap:8px;background:#f7f7f8;border:1px solid #e5e7eb;border-radius:22px;padding:10px 12px;box-shadow:0 1px 3px #0000000f}.fh-composer__textarea{flex:1 1 auto;min-height:48px;max-height:240px;resize:none;border:none;outline:none;background:transparent;padding:6px 8px;font-size:15px;line-height:1.6}.fh-composer__send{height:36px;min-width:56px;padding:0 12px;border-radius:10px;border:1px solid #0f172a;background:#0f172a;color:#fff;cursor:pointer}.fh-link{all:unset;color:var(--accent);cursor:pointer}.fh-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--surface);border:1px dashed var(--line);border-radius:10px;padding:8px 10px;margin:8px 0}.fh-summary__text{font-size:13px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fh-summary__copy{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:6px 10px;font-size:12px;cursor:pointer}.fh-summary__copy:hover{background:var(--chip)}.fh-bar{width:100%;height:10px;background:var(--line);border-radius:6px;overflow:hidden}.fh-trades{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.fh-trade{display:flex;gap:8px;align-items:center;font-size:12px}.fh-trade__side{display:inline-block;min-width:46px;text-align:center;padding:2px 6px;border-radius:6px;color:var(--button-primary-text)}.fh-trade__side.long{background:var(--accent)}.fh-trade__side.short{background:#dc2626}.fh-trade__time,.fh-trade__pips,.fh-trade__pnl{color:var(--ink)}.fh-trade__note{color:var(--muted)}.fh-root{display:grid;gap:16px;grid-template-columns:1fr}@media (min-width: 840px){.fh-root{grid-template-columns:minmax(300px,360px) 1fr}}.fh-left{display:flex;flex-direction:column;gap:10px}.fh-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 18px;box-shadow:0 1px 3px #0000000d}.fh-disabled{opacity:.6}.fh-badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:12px;background:var(--chip);border:1px solid var(--line);color:var(--ink)}.fh-badge--neg{background:var(--danger);border-color:var(--danger);color:var(--button-primary-text)}.fh-title{margin:0 0 4px;font-size:16px;font-weight:700}.fh-caption{color:var(--muted);font-size:12px;margin-bottom:2px}.fh-headline{font-size:18px;font-weight:800}.fh-subtle{color:var(--muted);font-size:12.5px}.fh-strong{font-weight:800}.fh-paragraph{margin:0;line-height:1.6}.fh-row{display:flex;align-items:center}.fh-col{display:flex;flex-direction:column}.fh-between{justify-content:space-between}.fh-gap8{gap:8px}.fh-gap12{gap:12px}.fh-mb4{margin-bottom:4px}.fh-mb8{margin-bottom:8px}.fh-mt10{margin-top:10px}.fh-sep{border:0;border-top:1px solid var(--line);margin:14px 0 0}.fh-toggle{align-self:flex-start;display:flex;gap:0;background:var(--chip);border:1px solid var(--line);border-radius:999px;padding:4px}.fh-toggle--top{margin-bottom:8px}.fh-toggle__btn{display:inline-flex;align-items:center;border:0;background:transparent;padding:8px 14px;font-size:13px;border-radius:999px;cursor:pointer;color:var(--ink)}.fh-toggle__btn:hover{background:var(--line)}.fh-toggle__btn.is-on{background:var(--button-primary-bg);color:var(--button-primary-text)}.fh-card--chat{display:flex;flex-direction:column;min-height:560px;padding:18px;border-radius:16px}.fh-chat{flex:1 1 auto;overflow:auto;padding-right:6px;padding-bottom:12px;scroll-behavior:smooth}.fh-msg__bubble{max-width:92%;border-radius:16px;padding:10px 12px;line-height:1.6;font-size:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px #0000000a;white-space:pre-wrap;color:var(--ink)}.fh-msg--me .fh-msg__bubble{background:var(--button-primary-bg);color:var(--button-primary-text);border-color:var(--button-primary-bg)}.fh-msg__bubble.is-trade{border-color:var(--accent);background:var(--accent-bg)}.fh-time{font-size:11px;color:var(--muted);margin-top:4px}.fh-link{color:var(--accent);text-decoration:none}.fh-link:hover{text-decoration:underline}.fh-composer{display:flex;align-items:flex-end;gap:8px;background:var(--bg-secondary);border:1px solid var(--line);border-radius:22px;padding:10px 12px;box-shadow:0 1px 3px #0000000f}.fh-composer__icon{width:36px;height:36px;border-radius:10px;border:none;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.fh-composer__icon:hover{background:var(--chip)}.fh-composer__textarea{flex:1 1 auto;min-height:48px;max-height:240px;resize:none;border:none;outline:none;background:transparent;color:var(--ink);padding:6px 8px;font-size:15px;line-height:1.6}.fh-composer__textarea::placeholder{color:var(--input-placeholder)}.fh-composer__send{height:36px;min-width:56px;padding:0 12px;border-radius:10px;border:1px solid var(--button-primary-bg);background:var(--button-primary-bg);color:var(--button-primary-text);cursor:pointer}.fh-composer__send:disabled{opacity:.6;cursor:default}.fh-attach{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.fh-chip{background:var(--chip);border:1px solid var(--line);border-radius:999px;padding:4px 8px;font-size:12px;color:var(--ink)}.fh-bar{width:100%;height:14px;background:var(--line);border-radius:6px;overflow:hidden}.fh-bar__fill{height:100%;background:var(--accent)}.fh-gauge__label{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:6px}.fh-gauge__pct{font-weight:800;font-size:18px}.fh-tags{display:flex;gap:6px;flex-wrap:wrap}.fh-tag{display:inline-block;padding:2px 8px;font-size:11px;border-radius:999px;background:var(--chip);color:var(--ink);border:1px solid var(--line)}.fh-topprob{display:flex;align-items:center;gap:14px;margin:8px 0 6px}.fh-topprob__ring{--v: 56%;width:42px;height:42px;border-radius:50%;background:conic-gradient(var(--accent) var(--v),var(--line) 0)}.fh-topprob__meta{display:flex;gap:6px;align-items:baseline}.fh-topprob__num{font-size:28px;font-weight:800;line-height:1}.fh-topprob__label{font-size:13px;color:var(--ink)}.fh-rate{display:flex;gap:6px}.fh-rate__btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:6px 10px;font-size:12px;cursor:pointer}.fh-rate__btn:hover{background:var(--chip)}.fh-rate__btn.is-on{color:var(--button-primary-text);border-color:transparent}.fh-rate__btn.is-on.adopted,.fh-rate__btn.is-on.reference{background:var(--accent)}.fh-rate__btn.is-on.rejected{background:#dc2626}.fh-memo{display:flex;gap:8px;align-items:center;margin:10px 0 6px}.fh-memo__input{flex:1 1 auto;height:36px;padding:0 10px;border:1px solid var(--input-border);border-radius:10px;outline:none;background:var(--input-bg);color:var(--input-text);font-size:13px}.fh-memo__input:focus{border-color:var(--input-border-focus);box-shadow:0 0 0 3px #2563eb1f}.fh-memo__save{height:36px;padding:0 12px;border-radius:10px;cursor:pointer;border:1px solid var(--button-secondary-border);background:var(--button-primary-bg);color:var(--button-primary-text);font-size:12px}.fh-timeline{list-style:none;margin:0;padding:0}.fh-tl-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0}.fh-tl-main{display:flex;flex-direction:column;gap:2px}.fh-tl-title{font-size:14px;font-weight:700}.fh-tl-time{font-size:12px;color:var(--muted)}.fh-tl-actions .fh-btn{padding:6px 10px;font-size:12px}.filter-bar{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}@media (min-width: 1024px){.filter-bar{grid-template-columns:repeat(12,minmax(0,1fr))}.lg-span-2{grid-column:span 2}.lg-span-3{grid-column:span 3}.lg-span-4{grid-column:span 4}.lg-span-6{grid-column:span 6}.right{justify-self:end}}.control label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.control select,.control input[type=date],.control input[type=text],.range-trigger{display:block;width:100%;padding:10px 12px;border:1px solid var(--input-border);border-radius:10px;background:var(--input-bg);color:var(--input-text)}.range-trigger{text-align:left}.btn-reset{padding:10px 12px;border:1px solid var(--button-secondary-border);border-radius:10px;background:var(--button-secondary-bg);color:var(--button-secondary-text);font-weight:700}.range-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:540px;max-width:95vw;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #0000001f}.kpi-grid{display:grid;gap:8px;grid-template-columns:1fr;min-width:0;width:100%;max-width:100%;box-sizing:border-box}@media (min-width: 480px){.kpi-grid{gap:10px}}@media (min-width: 640px){.kpi-grid{grid-template-columns:repeat(2,1fr);gap:12px}}@media (min-width: 1024px){.kpi-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width: 1280px){.kpi-grid{grid-template-columns:repeat(5,1fr)}}.kpi-card{width:100%;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-sizing:border-box;min-width:0;overflow:hidden;position:relative;z-index:1}[style*="z-index: 99999"]{z-index:99999!important}@media (min-width: 640px){.kpi-card{padding:12px;border-radius:12px}}@media (min-width: 1024px){.kpi-card{padding:14px}}.kpi-title{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:700;color:var(--muted);margin:0 0 8px}.kpi-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;font-size:20px;font-weight:700;color:var(--ink);line-height:1.1;word-break:break-word;overflow-wrap:break-word}.kpi-unit{font-size:12px;color:var(--muted)}@media (min-width: 640px){.kpi-unit{font-size:14px}}@media (min-width: 1024px){.kpi-unit{font-size:16px}}.kpi-desc{margin-top:4px;font-size:11px;color:var(--muted);line-height:1.3}@media (min-width: 640px){.kpi-desc{margin-top:6px;font-size:12px}}.info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;background:var(--chip);color:var(--ink);font-size:11px;line-height:1;border:1px solid var(--line);cursor:help}:root{--c-bg: var(--surface);--c-surface: var(--bg-secondary);--c-border: var(--line);--c-text: var(--ink);--c-muted: var(--muted);--c-pos: var(--gain);--c-neg: var(--loss);--c-accent: var(--accent);--radii:12px;--shadow:0 1px 2px rgba(0,0,0,.04), 0 6px 24px rgba(0,0,0,.06);--w-max:1280px;--gutter:16px;--space-1:8px;--space-2:12px;--space-3:16px;--space-4:24px;--font-title: clamp(28px, 4vw, 44px)}.container{max-width:var(--w-max);margin:0 auto;padding:var(--gutter)}.page-title{font-size:var(--font-title);font-weight:900;letter-spacing:.02em}.toolbar{display:flex;gap:var(--space-2);align-items:center;justify-content:space-between;margin-bottom:var(--space-3)}.card{background:var(--c-bg);border:1px solid var(--c-border);border-radius:var(--radii);box-shadow:var(--shadow)}.table-wrap{overflow:auto;border:1px solid var(--c-border);border-radius:var(--radii)}.table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}.table thead th{position:sticky;top:0;background:var(--surface);z-index:1;text-align:left;padding:10px 12px;border-bottom:1px solid var(--c-border);font-weight:600;color:var(--ink)}.table tbody td{padding:10px 12px;border-bottom:1px solid var(--c-border)}.table tbody tr:nth-child(odd){background:var(--surface)}.table tbody tr:nth-child(2n){background:var(--panel)}.table tbody tr:hover{background:var(--chip)}.text-pos{color:var(--c-pos)}.text-neg{color:var(--c-neg)}.input,.select{border:1px solid var(--c-border);border-radius:10px;padding:8px 10px}.table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.text-pos{color:var(--c-pos, #059669)}.text-neg{color:var(--c-neg, #dc2626)}table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;border:1px solid var(--line);border-radius:8px;overflow:hidden}table thead th{background:var(--surface);text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);font-weight:600;color:var(--ink)}table tbody td{padding:10px 12px;border-bottom:1px solid var(--line);color:var(--ink)}table tbody tr:nth-child(odd){background:var(--surface)}table tbody tr:nth-child(2n){background:var(--panel)}table tbody tr:hover{background:var(--chip)}table tbody tr:last-child td{border-bottom:none}@media (min-width: 1024px){.mobile-only{display:none!important}.desktop-only{display:block!important}.page-title{flex:0 0 auto}}@media (max-width: 1023px){.mobile-only{display:flex!important}.desktop-only,.desktop-sidenav{display:none!important}.main-content{margin-left:0!important}.page-title{flex:1;text-align:center;font-size:18px!important}.mobile-filters{display:flex!important}.mobile-filters .filters-container{flex-direction:column;width:100%}.mobile-filters .filters-container select,.mobile-filters .filters-container input{width:100%!important;min-width:auto!important}}.dash-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;width:100%;max-width:100%;box-sizing:border-box;min-width:0;transition:background-color .3s ease,border-color .3s ease}@media (min-width: 640px){.dash-card{padding:14px;border-radius:14px}}@media (min-width: 1024px){.dash-card{padding:16px;border-radius:16px}}.dash-grid{display:grid;gap:12px;width:100%;max-width:100%}@media (min-width: 640px){.dash-grid{gap:14px}}@media (min-width: 1024px){.dash-grid{gap:16px}}.dash-row-2{display:grid;grid-template-columns:1fr;gap:12px;width:100%;max-width:100%}@media (min-width: 768px){.dash-row-2{grid-template-columns:repeat(2,1fr);gap:14px}}@media (min-width: 1024px){.dash-row-2{gap:16px}}.dash-row-3{display:grid;grid-template-columns:1fr;gap:12px;width:100%;max-width:100%}@media (min-width: 640px){.dash-row-3{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.dash-row-3{grid-template-columns:repeat(3,1fr);gap:16px}}.chart-placeholder{height:200px;border-radius:12px;background:linear-gradient(180deg,rgba(34,197,94,.08),transparent 60%),#fff;border:1px dashed var(--line);display:flex;align-items:center;justify-content:center;color:var(--muted);width:100%;max-width:100%;min-width:0}.chart-sm{height:140px}@media (min-width: 480px){.chart-placeholder{height:250px}.chart-sm{height:160px}}@media (min-width: 640px){.chart-placeholder{height:300px;border-radius:14px}.chart-sm{height:180px}}@media (min-width: 768px){.chart-placeholder{height:350px}.chart-sm{height:200px}}@media (min-width: 1024px){.chart-placeholder{height:400px}.chart-sm{height:220px}}@media (min-width: 1440px){.chart-placeholder{height:450px}}.dash-table-wrap{max-height:300px;overflow:auto;width:100%;max-width:100%}.dash-table{width:100%;border-collapse:collapse;font-size:12px}.dash-table th,.dash-table td{padding:6px;border-bottom:1px solid var(--line);text-align:left}@media (min-width: 640px){.dash-table{font-size:13px}.dash-table th,.dash-table td{padding:8px}}@media (min-width: 1024px){.dash-table{font-size:14px}.dash-table th,.dash-table td{padding:10px}}.dash-table tbody tr{height:44px;cursor:pointer}.dash-table tbody tr:hover{background:var(--chip, #f1f3f8)}.dash-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;width:100%;max-width:100%;overflow-x:auto}@media (min-width: 640px){.dash-cal{gap:8px}}.dash-day{min-height:80px;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--panel-2, var(--surface));padding:4px;display:flex;flex-direction:column;gap:2px;font-size:11px;overflow:hidden}@media (min-width: 640px){.dash-day{min-height:100px;padding:8px;gap:6px;font-size:13px;border-radius:12px}}@media (min-width: 1024px){.dash-day{min-height:120px;font-size:14px}}.dash-day-date{display:flex;align-items:baseline;gap:3px;font-weight:700}@media (min-width: 640px){.dash-day-date{gap:6px}}.dash-day-date .d{font-size:14px}@media (min-width: 640px){.dash-day-date .d{font-size:18px}}.dash-day-date .w{font-size:10px;color:var(--muted)}@media (min-width: 640px){.dash-day-date .w{font-size:12px}}.dash-pill{display:inline-block;padding:2px 4px;border-radius:999px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width: 640px){.dash-pill{padding:2px 6px;font-size:12px}}.dash-pill.pos{background:#22c55e26;color:var(--accent-2, #0084c7)}.dash-pill.neg{background:#ef444426;color:var(--danger, #ef4444)}.dash-day.sat,.dash-day.sun{background:var(--chip, #f1f3f8)}.accent-2{color:var(--accent-2, #0084c7);font-weight:700}.danger{color:var(--danger, #ef4444);font-weight:700}.risk-cards-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width: 640px){.risk-cards-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.risk-cards-grid{grid-template-columns:repeat(4,1fr)}}.kpi-cards-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width: 640px){.kpi-cards-grid{grid-template-columns:repeat(2,1fr);gap:14px}}@media (min-width: 1024px){.kpi-cards-grid{grid-template-columns:repeat(3,1fr);gap:16px}}@media (min-width: 1280px){.kpi-cards-grid{grid-template-columns:repeat(4,1fr)}}.kpi-cards-grid-compact{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}@media (min-width: 640px){.kpi-cards-grid-compact{gap:14px}}@media (min-width: 1024px){.kpi-cards-grid-compact{gap:16px}}.kpi-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:8px;transition:background-color .3s ease,border-color .3s ease}@media (min-width: 640px){.kpi-card{padding:14px;border-radius:14px}}@media (min-width: 1024px){.kpi-card{padding:16px;border-radius:16px}}.kpi-title{font-size:12px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:4px}@media (min-width: 640px){.kpi-title{font-size:13px}}@media (min-width: 1024px){.kpi-title{font-size:14px}}.kpi-value{font-size:20px;font-weight:700;color:var(--ink)}@media (min-width: 640px){.kpi-value{font-size:24px}}@media (min-width: 1024px){.kpi-value{font-size:28px}}.reports-container{width:100%;max-width:100%;padding:12px;box-sizing:border-box}@media (min-width: 640px){.reports-container{padding:16px}}@media (min-width: 1024px){.reports-container{padding:20px}}@media (min-width: 1280px){.reports-container{padding:24px}}.td-root{color:var(--ink);background:var(--bg);min-height:100%}.td-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.td-title{font-size:20px;margin:0}.td-actions{display:flex;gap:8px}.td-btn{padding:8px 14px;border-radius:8px;border:1px solid var(--line);background:var(--surface);cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.td-btn:hover{background:var(--chip);border-color:var(--accent);transform:translateY(-1px);box-shadow:0 2px 8px #00000014}.td-btn:active{transform:translateY(0)}.td-btn.td-accent{background:var(--accent);border-color:var(--accent);color:#fff}.td-btn.td-accent:hover{background:var(--accent);opacity:.9}.td-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:0 1px 3px #00000005}.td-card-full{margin-top:16px}.td-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.td-section-title h2{margin:0;font-size:16px;font-weight:700;letter-spacing:.2px}.subhead{margin:0 0 8px;font-size:13px;color:var(--muted)}.pill{font-size:11px;color:var(--muted);background:var(--chip);padding:2px 8px;border-radius:6px;font-weight:500}.muted{color:var(--muted)}.small{font-size:12px}.nowrap{white-space:nowrap}.text-pos{color:var(--accent-2, var(--accent))}.text-neg{color:var(--danger, #ef4444)}.accent-2{color:var(--accent-2, var(--accent))}.danger{color:var(--danger, #ef4444)}.hr{height:1px;background:var(--line);margin:12px 0}.td-root .kpi-grid{display:grid;grid-template-columns:1fr;gap:10px;width:100%;box-sizing:border-box;min-width:0}.td-root .kpi-grid .lab{font-size:11px;color:var(--muted);margin-bottom:6px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.td-root .kpi-grid .val{font-weight:700;font-size:20px;line-height:1.2;word-break:break-word}@media (min-width: 640px){.td-root .kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.td-root .kpi-grid{grid-template-columns:repeat(4,1fr)}}.grid-main{display:grid;gap:16px;grid-template-columns:minmax(170px,.6fr) 1fr}@media (max-width:1080px){.grid-main{grid-template-columns:1fr}}.compact{padding:12px}.kv{display:grid;grid-template-columns:160px 1fr;row-gap:10px;column-gap:12px}.kv>div:nth-child(odd){color:var(--muted);font-size:13px;font-weight:500}.kv>div:nth-child(2n){font-weight:500}.kv small{font-size:12px;color:var(--muted)}.pnl-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width:720px){.pnl-two-cols{grid-template-columns:1fr}}table{width:100%;border-collapse:separate;border-spacing:0 4px}th,td{padding:10px 12px;border-bottom:1px solid var(--line);font-size:13px;background:transparent}td{background:var(--surface);transition:all .15s ease}tr.row{border-radius:8px;overflow:hidden;cursor:pointer}tr.row:hover td{background:var(--chip, rgba(0, 0, 0, .03))!important}td.num{text-align:right;font-weight:600}.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width:720px){.row2{grid-template-columns:1fr}}.select,.input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:10px 12px;width:100%;text-align:left;font-size:14px;transition:all .2s ease}.select:hover,.input:hover{border-color:var(--accent)}.select:focus,.input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #0ea5e91a}.note{width:100%;min-height:110px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:12px;font-size:14px;line-height:1.6;transition:all .2s ease}.note:hover{border-color:var(--accent)}.note:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #0ea5e91a}.note::placeholder{color:var(--muted);opacity:.6}.actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.td-card label{display:block;margin-bottom:12px}.td-card label:last-child{margin-bottom:0}.subcard{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:12px;margin-bottom:12px}.chips-wrap{max-height:48px;overflow:auto;padding-right:4px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{background:#0ea5e91f;color:var(--accent);border:1px solid rgba(14,165,233,.25);padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease}.chip:hover{background:#0ea5e933;border-color:var(--accent);transform:translateY(-1px);box-shadow:0 2px 6px #0ea5e926}.ms-wrap{position:relative}.ms-trigger{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:10px 12px;width:100%;text-align:left;font-size:14px;cursor:pointer;transition:all .2s ease}.ms-trigger:hover{border-color:var(--accent);background:var(--chip)}.ms-menu{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 32px #00000026;padding:8px;max-height:280px;overflow:auto;font-size:13px;line-height:1.5}.ms-item{display:flex;gap:8px;align-items:center;padding:10px;border-radius:8px;cursor:pointer;transition:all .15s ease}.ms-item:hover{background:var(--chip);transform:translate(2px)}.ms-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 4px 0;color:var(--muted);font-size:12px;border-top:1px solid var(--line);margin-top:4px}.upanel{border:1px dashed var(--line);border-radius:12px;background:var(--chip);padding:12px;transition:all .2s ease}.upanel:hover{border-color:var(--accent);background:#0ea5e90d}.uactions{display:flex;align-items:center;gap:8px;margin-bottom:10px}.uactions .right{margin-left:auto}.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.thumb{position:relative;border:1px solid var(--line);border-radius:10px;overflow:hidden;height:120px;background:var(--surface);display:flex;align-items:center;justify-content:center;transition:all .2s ease;cursor:pointer}.thumb:hover{border-color:var(--accent);transform:scale(1.02);box-shadow:0 4px 12px #0000001a}.thumb img{max-height:100%;max-width:100%;display:block;object-fit:cover}.thumb .del{position:absolute;top:6px;right:6px;border:none;background:#000000b3;color:#fff;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600;cursor:pointer;transition:all .2s ease}.thumb .del:hover{background:var(--danger, #ef4444);transform:scale(1.05)}.img-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:80}.img-modal[aria-hidden=true]{display:none}.img-modal img{max-width:90vw;max-height:90vh;border-radius:12px;box-shadow:0 12px 30px #00000059}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:50}.modal[aria-hidden=true]{display:none}.modal .panel{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:16px;max-width:760px;width:92%;padding:14px;max-height:80vh;overflow:auto;font-size:13px}.modal .top{display:flex;justify-content:space-between;align-items:center;gap:12px}.modal .top h3{margin:0;font-size:14px}.charts{display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}@media (max-width:1080px){.charts{grid-template-columns:1fr}}.chart-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;flex-direction:column;box-shadow:0 1px 3px #00000005}.chart-card h4{margin:0 0 10px;font-size:14px;font-weight:700;display:flex;justify-content:space-between;align-items:center}.legend{font-size:12px;color:var(--muted);font-weight:500}.chart-box{position:relative;width:100%;height:260px}.chart-box>canvas{width:100%!important;height:100%!important;display:block;flex:0 0 auto}.linked-memos-table{overflow-x:auto}.linked-memos-table table{width:100%;border-collapse:collapse}.linked-memos-table th{text-align:left;font-weight:600;padding:12px;border-bottom:1px solid var(--line);font-size:13px;background:var(--chip)}.linked-memos-table td{padding:12px;border-bottom:1px solid var(--line);font-size:13px}.linked-memos-table tbody tr{transition:all .15s ease}.linked-memos-table tbody tr:hover{background:var(--chip)}.pending-list{display:grid;gap:10px}.pending-card{border:1px solid var(--line);border-radius:10px;background:var(--chip);padding:14px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;transition:all .2s ease}.pending-card:hover{border-color:var(--accent);box-shadow:0 2px 8px #0000000f}.pending-meta{font-size:12px;color:var(--muted);margin-top:4px}.pending-actions{display:flex;gap:8px}.note-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media (max-width:720px){.note-grid{grid-template-columns:1fr}}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:9999}.modal .panel{position:relative;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:16px;width:92%;max-width:760px;max-height:80vh;overflow:auto;padding:14px;font-size:13px;box-shadow:0 16px 40px #0000004d}.quick-btn{position:fixed;left:calc(var(--sidenav-w) + 20px);bottom:20px;z-index:10000;background:var(--accent);color:#fff;border:none;border-radius:999px;padding:12px 16px;font-weight:700;box-shadow:0 6px 16px #0000002e;cursor:pointer;white-space:nowrap}@media (max-width: 1024px){.quick-btn{left:20px}}.dropzone{position:relative;z-index:1;cursor:pointer}.td-actions .td-btn{white-space:nowrap}@media (max-width: 720px){.dlg-grid{grid-template-columns:1fr}}.dropzone-large:focus{outline:none;box-shadow:0 0 0 2px #0ea5e940}.dlg-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}@media (max-width:720px){.dlg-grid{grid-template-columns:1fr}}.time-row{display:grid;grid-template-columns:1fr auto 8px auto;align-items:center;gap:8px}.time-select{width:84px}.time-sep{width:8px;text-align:center;color:var(--muted)}.diary-list{min-height:360px}.dropzone-large{border:2px dashed var(--line);border-radius:12px;background:var(--bg);color:var(--muted);height:180px;display:grid;place-items:center;cursor:pointer}.modal{z-index:9999}.quick-btn{z-index:10000}.trade-row{cursor:pointer}.trade-row td{transition:background-color .15s ease}.trade-row:hover td{background-color:#00000008!important}.td-entry-exit,#pnlCard,.td-entry-before,.td-position-hold,#imageCard,.td-exit,.td-viz{height:auto}.td-match-height{min-height:280px}.td-diary-heading{height:52px}.note-vertical{display:flex;flex-direction:column;gap:12px}.note-vertical label{margin-bottom:0}.charts-vertical{display:flex;flex-direction:column;gap:16px}.daily-note-page{min-height:100vh;background:var(--bg, #f9fafb);padding:20px;color:var(--ink, #1f2937)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:var(--space-4, 20px);min-height:56px}.topbar-date{font-size:24px;font-weight:700;margin:0}.topbar-total{display:flex;flex-direction:column;align-items:center;gap:4px}.topbar-total .label{font-size:12px;color:var(--muted, #6b7280)}.topbar-total .amount{font-size:24px;font-weight:800}.topbar-total .amount.good{color:var(--pos, #059669)}.topbar-total .amount.bad{color:var(--neg, #dc2626)}.topbar-nav{display:flex;gap:8px}.nav-btn{padding:8px 12px;border:1px solid var(--line, #e5e7eb);border-radius:8px;background:var(--surface, #ffffff);cursor:pointer;font-size:18px;transition:background-color .15s}.nav-btn:hover{background:var(--chip, #f3f4f6)}.kpi-grid-daily{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px}@media (max-width: 1024px){.kpi-grid-daily{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}.kpi-card-daily{background:var(--surface, #ffffff);border:1px solid var(--line, #e5e7eb);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:4px}.kpi-label{font-size:12px;color:var(--muted, #6b7280)}.kpi-value{font-size:20px;font-weight:800}.kpi-value.good{color:var(--pos, #059669)}.kpi-value.bad{color:var(--neg, #dc2626)}.kpi-sub{font-size:11px;color:var(--muted, #6b7280)}.two-col-layout{display:grid;grid-template-columns:minmax(170px,.6fr) 1fr;gap:20px}@media (max-width: 1024px){.two-col-layout{grid-template-columns:1fr}}.panel-card{background:var(--surface, #ffffff);border:1px solid var(--line, #e5e7eb);border-radius:12px;padding:20px}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-title{font-size:18px;font-weight:700;margin:0}.save-btn{padding:8px 16px;border:1px solid var(--accent, #01a1ff);border-radius:8px;background:var(--accent, #01a1ff);color:#fff;cursor:pointer;font-size:14px;font-weight:600;transition:opacity .15s}.save-btn:hover{opacity:.9}.sparkline-container{width:100%;height:80px;margin-bottom:20px;background:var(--chip, #f3f4f6);border-radius:8px;padding:10px}.sparkline{width:100%;height:100%}.journal-inputs{display:flex;flex-direction:column;gap:16px}.input-label{font-size:13px;color:var(--muted, #6b7280);margin-bottom:6px}.journal-textarea{width:100%;min-height:100px;border:1px solid var(--line, #e5e7eb);border-radius:8px;padding:12px;font-size:14px;resize:vertical;font-family:inherit}.journal-textarea::placeholder{color:#0000004d;opacity:1}.right-panel{display:flex;flex-direction:column}.section-block{margin-bottom:24px}.section-block:last-child{margin-bottom:0}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title{font-size:16px;font-weight:700;margin:0 0 12px}.link-btn,.action-btn{padding:6px 12px;border:1px solid var(--line, #e5e7eb);border-radius:6px;background:var(--surface, #ffffff);cursor:pointer;font-size:13px;transition:background-color .15s}.link-btn:hover,.action-btn:hover{background:var(--chip, #f3f4f6)}.data-table{width:100%;border-collapse:separate;border-spacing:0}.data-table th,.data-table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line, #e5e7eb);font-size:13px}.data-table th{font-weight:600;color:var(--muted, #6b7280);background:var(--subtle-bg, #f8fafb)}.data-table tbody tr{transition:background-color .15s ease}.data-table tbody tr.clickable:hover{background:var(--subtle-bg, #f8fafb)}.data-table td.good{color:var(--gain, #0084c7);font-weight:700;font-size:15px}.data-table td.bad{color:var(--loss, #ef4444);font-weight:700;font-size:15px}.text-right{text-align:right}.empty-state{padding:20px;text-align:center;color:var(--muted, #6b7280);font-size:13px}.ai-actions{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.ai-advice-list{list-style:disc;padding-left:20px;margin:0}.ai-advice-list li{margin-bottom:8px;font-size:14px;line-height:1.6}.ai-timestamp{margin-top:12px;font-size:12px;color:var(--muted, #6b7280);text-align:right}@media (max-width: 768px){.topbar{flex-direction:column;align-items:flex-start}.topbar-date{font-size:18px}.topbar-total .amount{font-size:20px}.kpi-grid-daily{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}.shell{display:grid;grid-template-columns:180px 300px 1fr;gap:16px;height:calc(100vh - 80px);overflow:hidden}@media (min-width: 1280px){.shell{grid-template-columns:180px 300px 1fr}}@media (max-width: 1023px){.shell{grid-template-columns:1fr;gap:12px;height:auto;overflow:visible}}@media (max-width: 1023px){.container{padding:12px}.pane{min-height:auto!important;height:auto!important;display:block}.pane .head{padding:8px 12px}.pane .body{padding:8px 12px;overflow:visible;max-height:none}.list{gap:8px}}.pane{background:var(--surface, #ffffff);border:1px solid var(--line, #e5e7eb);border-radius:12px;display:flex;flex-direction:column;height:100%;overflow:hidden;box-shadow:none;transition:background-color .3s ease,border-color .3s ease}.pane h3{margin:0;font-size:17px;font-weight:700;color:var(--ink)}.pane .head{padding:12px 20px;border-bottom:1px solid var(--line, #e5e7eb);flex-shrink:0;min-height:47px}.pane .body{padding:16px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0}.row{display:flex;gap:8px;align-items:center}.tag{display:inline-flex;gap:6px;align-items:center;padding:6px 12px;border-radius:999px;background:var(--chip);border:1px solid var(--line);color:var(--muted);font-size:13px;font-weight:400}.note{display:flex;flex-direction:column;gap:4px;padding:4px 12px;border:1px solid var(--line, #e5e7eb);border-radius:8px;cursor:pointer;background:var(--surface, #ffffff);transition:background-color .15s}.note:hover{background:var(--chip, #f3f4f6)}.note .row{display:flex;justify-content:space-between;align-items:center;gap:8px}.note .title{font-weight:600;font-size:13px;color:var(--ink);flex:1;line-height:1.4}.note .actions{margin-left:auto;display:flex;gap:8px;align-items:center}.note .meta-line{font-size:12px;color:var(--muted, #6b7280);display:flex;justify-content:space-between;min-height:18px}.note .meta{font-size:12px;color:var(--muted, #6b7280);display:flex;gap:8px}.badge-status{display:inline-flex;gap:6px;align-items:center;padding:2px 8px;border-radius:999px;background:var(--chip, #f3f4f6);border:1px dashed var(--line, #e5e7eb);font-size:12px;color:var(--muted, #6b7280);pointer-events:none;font-weight:500}.bottom-line{display:flex;gap:8px;align-items:center;margin-top:2px}.note .link-btn{opacity:0;transition:opacity .15s;height:28px;padding:0 12px;border-radius:6px;border:1px solid var(--line, #e5e7eb);background:var(--surface, #ffffff);cursor:pointer;font-size:12px;white-space:nowrap}.note:hover .link-btn{opacity:1}.note .link-btn:hover{background:var(--accent, var(--accent));color:#fff;border-color:var(--accent, var(--accent))}@media (max-width: 1023px){.note .link-btn{opacity:1}}.kpi{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}@media (min-width: 1280px){.kpi{grid-template-columns:repeat(5,1fr)}}@media (min-width: 1024px) and (max-width: 1279px){.kpi{grid-template-columns:repeat(3,1fr)}}.kpi .card{border:1px solid var(--line, #e5e7eb);border-radius:12px;padding:10px 12px;background:var(--surface, #ffffff);box-shadow:none}.kpi .label{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:4px}.kpi .value{font-weight:800;font-size:18px;margin-bottom:2px}.kpi .value.good{color:var(--gain, #16a34a)}.kpi .value.bad{color:var(--loss, #ef4444)}.kpi .sub{font-size:11px;color:var(--muted, #6b7280)}.toolbar{display:flex;flex-wrap:wrap;gap:6px;border:1px solid var(--border);border-radius:10px;padding:6px;background:var(--chip)}.area{min-height:360px;border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--panel);line-height:1.6}.list{display:flex;flex-direction:column;gap:10px}.seg{display:inline-flex;border:1px solid var(--border);border-radius:10px;overflow:hidden}.seg button{height:28px;padding:0 10px;background:var(--panel-2);border:none;color:var(--text);cursor:pointer}.seg button+button{border-left:1px solid var(--border)}.seg button[aria-pressed=true]{background:var(--chip)}.card{border:1px solid var(--line, #e5e7eb);border-radius:12px;padding:16px;background:var(--surface, #ffffff);box-shadow:none}.card h4{margin:0 0 12px;font-size:15px;font-weight:700;color:var(--muted, #6b7280)}.card table thead th{font-size:13px;font-weight:700;color:var(--muted, #6b7280)}.card table tbody td{font-size:13px;color:var(--ink)}.good{color:var(--gain, #16a34a)}.bad{color:var(--loss, #ef4444)}.sub{font-size:12px;color:var(--muted, #6b7280)}.btn{height:36px;padding:0 16px;border-radius:8px;border:1px solid var(--line, #e5e7eb);background:var(--surface, #ffffff);cursor:pointer;font-size:13px;font-weight:400;color:var(--ink);transition:background-color .15s}.btn:hover{background:var(--chip, #f3f4f6)}.input{width:100%;padding:12px;border:1px solid var(--line, #e5e7eb);border-radius:8px;background:var(--surface, #ffffff);font-family:inherit;font-size:13px;color:var(--ink)}textarea.input{resize:vertical;font-family:inherit;line-height:1.6;min-height:100px}*{box-sizing:border-box}.hero{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:12px;transition:background-color .3s ease,border-color .3s ease}.hero h3{margin:0 0 8px;font-size:17px;font-weight:700;color:var(--ink)}.hero .status{font-weight:700}.bar{height:8px;border-radius:6px;background:#e6e8ef;overflow:hidden}.bar>i{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--accent));transition:width .3s ease}.kpi-quick{display:grid;gap:8px;grid-template-columns:repeat(2,1fr)}@media (min-width: 1024px){.kpi-quick{grid-template-columns:repeat(4,1fr)}}.kpi-quick .mini{border:1px solid var(--border, #e5e7eb);border-radius:10px;padding:8px;box-sizing:border-box}.kpi-quick .mini .label{font-size:12px;color:var(--muted, #6b7280);margin-bottom:4px}.kpi-quick .mini .value{font-weight:700;font-size:15px;color:var(--ink)}.subnote{font-size:12px;color:var(--muted, #6b7280);margin:8px 0 0}.analysis-vertical{display:flex;flex-direction:column;gap:12px}.analysis-vertical h5{margin:0 0 6px;font-size:15px;font-weight:700;color:var(--muted, #6b7280)}.grid-ai{display:grid;gap:12px;grid-template-columns:1fr}@media (min-width: 1024px){.grid-ai{grid-template-columns:1.2fr 1fr}}.kpi{padding:12px;border:1px dashed var(--border, #e5e7eb);border-radius:14px;min-height:86px;display:grid;gap:6px;align-content:start}.kpi .label{font-size:15px;font-weight:700;color:var(--muted);white-space:nowrap}.kpi .value{font-size:28px;font-weight:800}.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:4px 8px;border-radius:999px;border:1px solid var(--border, #e5e7eb)}.badge.ok{background:#3fd1861a;color:var(--ok, #16a34a)}.badge.warn{background:#ffcf5b1f;color:var(--warn, #f59e0b)}.badge.danger{background:#ff7b7b24;color:var(--danger, #ef4444)}.panel{background:var(--surface, #ffffff);border:1px solid var(--line, #e5e7eb);border-radius:12px;box-shadow:none;transition:background-color .3s ease,border-color .3s ease}
