:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#071f47;background:#f4f7fc;font-synthesis:none;--navy:#071b45;--blue:#0069ff;--ink:#071f47;--muted:#526582;--line:#e2e9f5;--pale:#edf5ff;--green:#087658;--red:#b73846}*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit;text-decoration:none}svg{vertical-align:middle}i[data-icon]{display:inline-flex;flex:0 0 auto}i svg{width:19px;height:19px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #418bff;outline-offset:3px}[hidden]{display:none!important}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{height:100dvh;position:sticky;top:0;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:29px 18px 18px}.brand{display:flex;align-items:center;margin:0 0 56px 10px;font-size:21px;font-weight:770;letter-spacing:-.6px}.brand-icon{flex-shrink:0;background:#0877ff;display:grid;place-items:center;width:36px;height:36px;border-radius:9px;margin-right:10px}.brand-icon svg{width:25px;height:25px}.brand-name{line-height:1.05}.brand-name small{display:block;margin-top:4px;font-size:12px;letter-spacing:.01em;font-weight:650;color:#b4c3dc}.signin .brand-name small{color:var(--muted)}.nav-label{font-size:12px;letter-spacing:.13em;font-weight:700;color:#a8b9d8;margin:0 0 12px 12px;display:block}.sidebar nav a{position:relative;display:flex;align-items:center;gap:11px;padding:12px;margin:3px 0;color:#c0cce2;border-radius:8px;font-size:14px;font-weight:580}.sidebar nav a:hover{background:#142c59;color:#fff}.sidebar nav a.active{background:#16407d;color:#fff}.sidebar nav a.active i{color:#80b8ff}.sidebar-footer{display:flex;align-items:center;gap:9px;margin-top:auto;padding:17px 2px 0;border-top:1px solid #283a5d}.sidebar-footer strong,.sidebar-footer small{display:block;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer strong{font-size:13px}.sidebar-footer small{font-size:11px;color:#b4c3dc;margin-top:3px}.avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#1e4078;color:#d2e5ff;font-size:12px;font-weight:750;flex:0 0 auto}.icon-button{border:0;background:transparent;color:inherit;display:grid;place-items:center;padding:7px;border-radius:6px}.icon-button:hover{background:#8399c328}.sign-out{margin-left:auto;color:#c0cce2;padding:6px}.sign-out svg{width:16px;height:16px}.topbar{min-height:67px;background:#fff;border-bottom:1px solid var(--line);padding:10px clamp(18px,3vw,40px);display:flex;align-items:center;justify-content:space-between;gap:14px}.breadcrumb,.top-actions{display:flex;align-items:center;gap:13px;font-size:14px}.breadcrumb span{color:var(--muted)}.breadcrumb i svg{width:14px;color:#8392a8}.demo-tag{display:inline-flex;gap:7px;align-items:center;background:#eaf3ff;color:#0753b7;border-radius:6px;padding:6px 9px;font-size:12px;font-weight:700;white-space:nowrap}.demo-tag span,.status-dot{height:7px;width:7px;background:#1374f2;border-radius:50%;display:inline-block;flex:0 0 auto}.button{border:1px solid transparent;border-radius:7px;min-height:37px;padding:7px 13px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:690;white-space:nowrap}.button i svg{width:16px;height:16px}.primary{background:var(--blue);color:#fff}.primary:hover{background:#0057d6}.secondary{border-color:#d7e2f2;background:#fff;color:var(--ink)}.secondary:hover{background:#f0f6ff}.danger{color:#a7293c}.text-button{border:0;background:transparent;color:#075ac9;font-weight:700;padding:6px 0;font-size:14px}.text-button:hover{text-decoration:underline}main{max-width:1550px;margin:auto;padding:28px clamp(18px,3vw,40px) 40px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.title-row h1{font-size:clamp(27px,3vw,36px);letter-spacing:-.04em;line-height:1.12;margin:0 0 7px}.title-row p,.muted{color:var(--muted);margin:0;line-height:1.5}.account-select{display:flex;align-items:center;gap:9px;padding:9px 12px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:14px;white-space:nowrap;font-weight:650}.account-select i{color:#126be2}.account-select small{color:var(--muted);font-size:12px;font-weight:600}.hero{position:relative;overflow:hidden;background:linear-gradient(107deg,#0750c1,#0868ed 72%,#0b72fa);color:#fff;border-radius:13px;padding:22px 24px;min-height:113px;display:flex;align-items:center;gap:14px;margin-bottom:17px}.hero:after{content:"";position:absolute;right:-27px;top:-112px;width:360px;height:360px;pointer-events:none;background:repeating-radial-gradient(circle at center,transparent 0 21px,#bfe2ff37 22px 23px,transparent 24px 35px);transform:skew(-17deg);-webkit-mask-image:linear-gradient(90deg,transparent,#000);mask-image:linear-gradient(90deg,transparent,#000)}.hero-icon{position:relative;z-index:1;background:#ffffff24;color:#fff;border:1px solid #ffffff48;border-radius:10px;width:41px;height:41px;display:grid;place-items:center;flex-shrink:0}.hero-copy{position:relative;z-index:1}.hero h2{font-size:19px;margin:0 0 4px;letter-spacing:-.025em}.hero p{margin:0;color:#edf6ff;font-size:14px;line-height:1.45}.hero button{margin-left:auto;z-index:1;position:relative;color:#074eaa}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:17px}.card,.panel{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 4px #1d385404}.card{padding:15px 16px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-weight:650;font-size:13px}.metric-icon,.square-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:var(--pale);color:#0861d4;flex-shrink:0}.metric-icon svg{width:17px;height:17px}.card-value{font-size:clamp(19px,2.1vw,27px);font-weight:750;letter-spacing:-.04em;margin-top:6px;white-space:nowrap}.card-foot{font-size:12px;color:var(--muted);margin-top:5px}.positive{color:var(--green)}.negative{color:var(--red)}.analysis-grid{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(230px,1fr);gap:15px;margin-bottom:17px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px 12px}.panel h2{font-size:17px;letter-spacing:-.025em;margin:0}.panel-sub{font-size:13px;color:var(--muted);margin:5px 0 0;line-height:1.45}.periods{display:flex;align-items:center;padding:3px;background:#f2f6fc;border:1px solid #eaf0f9;border-radius:7px}.period-button{border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;font-weight:700;padding:5px 8px}.period-button[aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #25438024;color:#075ac9}.chart-wrap{padding:0 16px 13px}.chart-wrap canvas{display:block;width:100%;height:191px}.automation{padding:17px 16px;display:flex;flex-direction:column}.automation .panel-head{padding:0 0 15px}.automation-title{display:flex;align-items:center;gap:9px}.automation-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;border-radius:5px;padding:5px 8px;background:#eff3fa;color:#50617b}.automation-state.is-on{background:#e6f7ee;color:var(--green)}.automation-state .status-dot{background:currentColor;width:6px;height:6px}.switch{border:0;border-radius:100px;background:#8394ae;width:38px;height:22px;padding:3px;flex-shrink:0;display:flex;align-items:center;transition:background .18s}.switch:before{content:"";width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #071b4544;transition:transform .18s}.switch[aria-checked=true]{background:var(--blue)}.switch[aria-checked=true]:before{transform:translate(16px)}.automation-copy{font-size:13px;color:var(--muted);line-height:1.5;margin:9px 0 11px}.detail-line{display:flex;justify-content:space-between;gap:9px;border-top:1px solid var(--line);padding:8px 0;font-size:12px;color:var(--muted)}.detail-line strong{color:var(--ink);text-align:right}.automation>.text-button{margin-top:auto;text-align:left}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}thead{background:#f5f8fe;color:#516584}th{padding:10px 17px;font-size:12px;font-weight:690}td{padding:10px 17px;border-top:1px solid var(--line);font-size:13px}td:last-child,th:last-child{text-align:right}.symbol{font-weight:750}.pill{font-size:11px;font-weight:750;display:inline-block;border-radius:4px;padding:4px 7px}.buy{color:#067459;background:#e8f8f0}.sell{color:#b13a49;background:#fff0f1}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filters input,.filters select,.field input,.field select{border:1px solid #cfdcf0;border-radius:7px;background:#fff;color:var(--ink);padding:8px 10px;min-height:38px;font-size:14px;max-width:100%}.empty{color:var(--muted);text-align:center!important;padding:30px}.sub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.body-panel{padding:20px}.body-panel>h2{margin:0 0 8px}.body-panel>.muted{margin-bottom:17px}.body-panel .detail-line{font-size:14px;padding:12px 0}.body-panel .button{margin-top:8px}.body-panel h3{font-size:15px;margin-bottom:6px}.body-panel p{font-size:14px}.body-panel ul{padding-left:20px;color:var(--muted);line-height:1.55;font-size:14px}.note{background:#eff6ff;border:1px solid #dbeaff;border-radius:8px;padding:11px 12px;color:#17497f;font-size:13px;line-height:1.5;margin:13px 0}.action-row{display:flex;flex-wrap:wrap;gap:9px}.field{display:grid;gap:5px;margin:14px 0;font-size:14px;font-weight:650}dialog{max-width:min(470px,calc(100vw - 28px));width:100%;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:23px;box-shadow:0 22px 64px #06163b66}dialog::backdrop{background:#071b458c}dialog h2{margin:0 25px 8px 0;font-size:22px}dialog .close{position:absolute;top:13px;right:13px}dialog p{font-size:14px;line-height:1.5;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;z-index:3;bottom:16px;right:16px;border-radius:8px;background:var(--navy);color:#fff;max-width:calc(100vw - 32px);padding:11px 15px;font-size:14px;box-shadow:0 4px 18px #071b4544}.body-panel.broker-empty>.muted{margin:0;font-size:16px}.signin{min-height:100dvh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 12%,#e0efff,#f4f7fc 62%)}.signin-card{width:min(100%,400px);padding:25px}.signin .brand{margin:0 0 20px}.signin h1{font-size:27px;margin:0 0 7px}.signin .primary{width:100%}@media(max-width:1050px){.shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-inline:12px}.sidebar .brand{font-size:17px;margin-left:4px}.sidebar nav a{gap:8px}.cards{gap:10px}.card{padding:12px}.card-value{font-size:22px}.analysis-grid{gap:10px}}@media(max-width:800px){.shell{display:block}.sidebar{height:auto;position:static;padding:9px 14px 0}.sidebar .brand{font-size:19px;margin:0 0 7px}.brand-icon{width:29px;height:29px}.brand-icon svg{width:21px;height:21px}.sidebar nav{display:flex;overflow-x:auto;gap:5px}.nav-label{display:none}.sidebar nav a{font-size:12px;white-space:nowrap;padding:8px}.sidebar nav svg{width:15px;height:15px}.sidebar-footer{position:absolute;top:4px;right:14px;padding:0;border:0}.sidebar-footer .avatar,.sidebar-footer div{display:none}.topbar{min-height:49px}.top-connect{display:none}main{padding-top:20px}}@media(max-width:620px){.analysis-grid,.sub-grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:15px;flex-wrap:wrap;gap:10px}.hero-copy{flex:1;min-width:170px}.hero button{margin-left:51px}.account-select{display:none}.title-row{margin-bottom:17px}.chart-wrap canvas{height:173px}.panel-head{padding-inline:13px}.activity-head{flex-wrap:wrap}.card-value{font-size:23px}.breadcrumb{gap:6px}.top-actions{gap:4px}.automation>.text-button{margin-top:7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.settings-grid .panel-sub{margin-top:10px}.settings-grid .field:last-child{margin-bottom:0}.settings-actions{display:flex;justify-content:flex-end;margin-top:15px}@media(max-width:1080px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.settings-grid{grid-template-columns:1fr}}.settings-grid{align-items:start}.profile-options{min-width:0;border:0;border-top:1px solid var(--line);padding:10px 0 0;margin:17px 0 0}.profile-options legend,.check-field{font-size:14px;font-weight:650}.check-field,.photo-preview{display:flex;align-items:center;gap:8px}.check-field input{accent-color:var(--blue);width:16px;height:16px;flex:none}.avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.photo-field input{min-width:0;width:100%;padding:6px}.photo-field input::file-selector-button{font:inherit;color:var(--ink);background:var(--pale);border:0;border-radius:4px;padding:5px 7px;margin-inline-end:6px;cursor:pointer}.signin .brand-name strong{display:block;font-size:clamp(1.2rem,5vw,1.5rem);font-weight:850;letter-spacing:.015em}.signin .brand-name small{font-size:.875rem;letter-spacing:.11em;font-weight:700}.signin-links{display:flex;flex-wrap:wrap;gap:8px 14px;border-top:1px solid var(--line);padding-top:13px;margin-top:18px;font-size:.875rem}.signin-links p{flex-basis:100%;font-size:.8125rem}.signin-links a{color:#075ac9;font-weight:650;text-decoration:underline;text-underline-offset:2px}.auth-message{min-height:1.4em;margin:10px 0 2px;color:var(--muted);font-size:14px;line-height:1.45}.auth-message.error{color:var(--red)}.auth-message.success{color:var(--green)}.auth-card .field{margin:14px 0}.auth-card .field input{width:100%}.auth-card .primary{width:100%;margin-top:4px}.signin-links{align-items:center}.signin-links button{border:0;background:transparent;color:#075ac9;font:inherit;font-weight:650;padding:0;text-decoration:underline;text-underline-offset:2px}.pending-tag{background:#fff5dc;color:#825a00}.pending-tag span{background:#d99500}.notice{background:#eff6ff;border:1px solid #dbeaff;border-radius:8px;padding:12px 13px;color:#17497f;font-size:14px;line-height:1.55;margin:14px 0}.notice.warning{background:#fff7e5;border-color:#f4dfac;color:#765211}.status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:17px}.status-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px;min-width:0}.status-card span{display:block;color:var(--muted);font-size:13px;font-weight:650}.status-card strong{display:block;margin-top:7px;font-size:17px;letter-spacing:-.02em}.status-card small{display:block;margin-top:5px;color:var(--muted);font-size:12px;line-height:1.4}.setup-list{margin:12px 0 0;padding-left:20px;color:var(--muted);font-size:14px;line-height:1.75}.field input,.field select{width:100%}.field small{color:var(--muted);font-weight:400;line-height:1.45}.settings-grid .body-panel{min-width:0}.settings-grid .profile-options{border-top:1px solid var(--line)}.photo-preview{margin:10px 0}.photo-preview .avatar{width:52px;height:52px}.photo-preview .avatar img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.photo-help{margin:5px 0 0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}.empty-state{padding:28px 22px;text-align:center}.empty-state .square-icon{width:42px;height:42px;margin:0 auto 11px}.empty-state h2{margin-bottom:6px}.empty-state p{margin:0 auto;max-width:560px;color:var(--muted);font-size:14px;line-height:1.55}.panel-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.field input[type=file]{padding:6px}.sidebar-footer div{min-width:0}.sidebar-footer strong{max-width:116px}.integration-state{display:inline-flex;align-items:center;gap:8px;border-radius:6px;background:#fff5dc;color:#825a00;padding:6px 9px;font-size:12px;font-weight:750}.integration-state .status-dot{background:#d99500}@media(max-width:900px){.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.status-grid{grid-template-columns:1fr 1fr}.status-card{padding:12px}.status-card strong{font-size:15px}.signin-card{padding:21px}}@media(max-width:390px){.status-grid{grid-template-columns:1fr}}
