:root,[data-theme=light]{--bg:#f6f8fb;--surface:#ffffff;--soft:#f9fafc;--surface-hover:#f4f6f9;--text:#202631;--heading:#10151c;--muted:#7e8794;--muted-dark:#586270;--line:#e7ebf0;--dark:#20262e;--dark-hover:#343b45;--shadow:0 4px 24px rgba(18,33,59,.035);--primary:#1f252d;--primary-text:#fff;--green:#16a774;--blue:#367cdc;--red:#e05e60;--input:#fff;--focus:#93b9ed}:root[data-theme=dark],[data-theme=dark]{--bg:#171b20;--surface:#21262d;--soft:#282e36;--surface-hover:#2d343d;--text:#d5dce5;--heading:#f7f9fb;--muted:#a1abb8;--muted-dark:#bdc7d3;--line:#343c46;--dark:#f2f5f9;--dark-hover:#dfe7ee;--shadow:0 5px 25px rgba(0,0,0,.12);--primary:#ecf1f8;--primary-text:#151b23;--green:#49c99d;--blue:#78aaf4;--red:#f58a8c;--input:#262d36;--focus:#7db9f5}*{box-sizing:border-box}html{height:100%}body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-size:14px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.54;cursor:not-allowed}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--heading)}h1{font-size:27px;letter-spacing:-.7px;line-height:1.2;font-weight:750}h2{font-size:16px;font-weight:740;letter-spacing:-.25px}h3{font-size:14px}p{line-height:1.6}small{font-size:11px}svg{flex-shrink:0}input::placeholder,textarea::placeholder{color:#a1a9b4}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.app-shell{display:flex;min-height:100vh;background:var(--bg)}.sidebar{position:sticky;top:0;left:0;display:flex;flex-direction:column;width:245px;min-width:245px;height:100vh;min-height:650px;background:var(--surface);border-right:1px solid var(--line);z-index:40}.brand{display:flex;align-items:center;gap:10px;padding:26px 20px 31px}.brand-mark,.auth-mark{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;background:var(--dark);color:var(--surface);transform:translateZ(0)}.brand strong{display:block;font-size:19px;font-weight:790;letter-spacing:-.9px;color:var(--heading);line-height:1.15}.brand small{display:block;margin-top:3px;letter-spacing:.2px;color:var(--muted);font-size:9px}.side-group-label{font-size:10px;letter-spacing:1.2px;font-weight:750;color:#a0a8b2;padding:0 23px;margin-bottom:11px}.side-nav{display:flex;flex-direction:column;gap:5px;padding:0 12px}.side-link{display:flex;gap:12px;align-items:center;padding:12px 13px;color:var(--muted-dark);font-size:12.5px;font-weight:630;border-radius:8px;transition:background .2s,color .2s}.side-link:hover{background:var(--soft);color:var(--heading)}.side-link.active{background:#222832;color:#fff;box-shadow:0 4px 12px #1c273b17}.side-link.active svg{color:#fff}.sidebar-spacer{flex:1}.side-promo{margin:14px 12px 21px;background:linear-gradient(135deg,#f5f7fa,#eceff3);border:1px solid #e8edf2;border-radius:12px;padding:18px 15px;color:#1d2835}.promo-icon{margin-bottom:12px;color:#2b8c70}.side-promo strong,.side-promo span{display:block}.side-promo strong{font-size:12px;letter-spacing:-.2px}.side-promo span{font-size:11px;color:#78818e;line-height:1.5;margin-top:6px}.side-promo button{font-size:10px;display:flex;align-items:center;justify-content:space-between;margin-top:13px;width:100%;padding:9px 10px;border-radius:7px;border:0;background:#252d39;color:#fff;font-weight:650}.user-section{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:16px 13px}.avatar,.top-avatar{width:34px;height:34px;border:0;border-radius:50%;background:#e2ece5;color:#34644d;display:flex;justify-content:center;align-items:center;font-weight:800}.user-label{flex:1;min-width:0}.user-label strong{font-size:11.5px;color:var(--heading);display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.user-label span{color:var(--muted);font-size:10px;display:block;margin-top:2px}.main-region{flex:1;min-width:0}.topbar{height:69px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,3vw,46px);gap:15px}.global-search{display:flex;align-items:center;gap:11px;background:var(--soft);border:1px solid var(--line);border-radius:9px;height:37px;width:min(470px,50vw);padding:0 14px;color:var(--muted)}.global-search input{border:0;background:transparent;outline:0;min-width:0;flex:1;color:var(--text);font-size:12px}.global-search kbd{font-size:10px;color:var(--muted);border:1px solid var(--line);padding:2px 5px;border-radius:4px}.top-actions{display:flex;align-items:center;gap:15px}.top-app-label{font-size:9px;letter-spacing:1.1px;font-weight:760;color:#a5acb6;margin-right:10px}.top-avatar{cursor:pointer;width:32px;height:32px}.icon-button{display:inline-flex;align-items:center;justify-content:center;color:var(--muted-dark);background:none;border:0;border-radius:7px;min-width:31px;height:31px;padding:5px;transition:.15s}.icon-button:hover{background:var(--surface-hover);color:var(--heading)}.mobile-menu,.mobile-close{display:none}.content{max-width:1780px;margin:0 auto;padding:32px clamp(18px,3vw,45px) 70px}.page{width:100%}.fade-in{animation:appear .3s ease}@keyframes appear{0%{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:25px}.page-header h1{margin:5px 0 6px}.page-description,.subtle{color:var(--muted);font-size:12px;margin:0}.eyebrow{font-size:9.5px;letter-spacing:1.3px;font-weight:830;color:var(--muted)}.page-header>.btn{margin-bottom:4px}.breadcrumb{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);background:none;border:0;padding:0;margin:0 0 10px}.breadcrumb:hover{color:var(--heading)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;padding:10px 15px;min-height:37px;line-height:1.1;font-size:11.5px;font-weight:720;border-radius:8px;transition:background .16s,border-color .16s,transform .16s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:var(--primary);color:var(--primary-text);border-color:var(--primary)}.btn-primary:hover:not(:disabled){background:var(--dark-hover);color:var(--surface)}.btn-secondary{background:var(--surface);border-color:var(--line);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--surface-hover)}.btn-ghost{background:transparent;color:var(--muted-dark)}.btn-danger{background:#fff1f1;color:#b93b46;border-color:#f1c7ca}.btn-small{padding:7px 11px;min-height:30px;font-size:10.5px}.btn-wide{width:100%}.text-button{background:transparent;color:var(--muted-dark);border:0;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:680;padding:6px 3px}.text-button:hover{color:var(--heading)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:20px;min-width:0}.panel h2{margin:0 0 5px}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:17px}.section-title p{margin:0;color:var(--muted);font-size:11px}.section-title>h2{margin:2px 0 0}.section-title>svg{color:var(--muted)}.light-count{background:var(--soft);color:var(--muted-dark);font-size:11px;margin-left:5px;border-radius:100px;padding:4px 7px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.summary-card{min-width:0;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);padding:18px 19px;border-radius:11px}.summary-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted-dark);font-weight:630}.summary-card>strong{font-size:30px;color:var(--heading);font-weight:770;letter-spacing:-1.2px;display:block;margin:8px 0 4px}.summary-card>small{font-size:10.5px;color:var(--muted)}.metric-icon{height:34px;width:34px;border-radius:9px;background:#f1f3f6;color:#525f6b;display:grid;place-items:center}.metric-icon.blue{background:#edf5ff;color:#4a84d5}.metric-icon.green{background:#eafaef;color:#1aa46a}.metric-icon.slate{background:#eaecef;color:#66717c}.dash-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,.78fr);gap:18px;margin-bottom:18px}.recent-panel{min-height:345px}.dash-right{display:flex;flex-direction:column;gap:18px}.quick-panel{padding-bottom:10px}.quick-row{display:flex;align-items:center;width:100%;border:0;border-top:1px solid var(--line);padding:12px 0;gap:11px;text-align:left;background:none;color:var(--muted-dark)}.quick-row:first-of-type{border-top:0}.quick-row>span:nth-child(2){flex:1}.quick-row strong{display:block;color:var(--heading);font-weight:670;font-size:11.5px}.quick-row small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.quick-row:hover strong{color:var(--blue)}.quick-icon{background:var(--soft);color:var(--muted-dark);width:32px;height:32px;border:1px solid var(--line);display:grid;place-items:center;border-radius:8px}.market-bar-row{display:flex;align-items:center;gap:11px;width:100%;padding:9px 0;border:0;background:none;text-align:left}.market-bar-row strong{font-size:11px;font-weight:660;width:52px;color:var(--heading)}.market-bar-row small{color:var(--muted);width:19px;text-align:right}.market-bar{background:var(--soft);height:7px;border-radius:9px;overflow:hidden;flex:1}.market-bar i{height:100%;background:#3b8dca;display:block;border-radius:9px}.market-bar-row:nth-of-type(3n) .market-bar i{background:#25ae81}.market-bar-row:nth-of-type(4n) .market-bar i{background:#8b8ab6}.latest-activity{margin-top:3px}.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.activity-card{border:1px solid var(--line);background:var(--soft);border-radius:9px;padding:14px;display:flex;gap:11px;align-items:flex-start;text-align:left;min-width:0}.activity-card:hover{border-color:#aeb8c8}.activity-card>svg{margin-left:auto;color:var(--muted)}.activity-dot{width:8px;height:8px;flex:none;background:#2bbf8a;border-radius:50%;margin-top:3px}.activity-content{flex:1;min-width:0}.activity-content strong{display:block;font-size:11px;color:var(--heading);margin-bottom:5px}.activity-content small{display:block;color:var(--muted);font-size:10px;margin-bottom:6px}.activity-content>span{display:block;color:var(--muted-dark);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-table{border-collapse:collapse;width:100%;min-width:610px;text-align:left}.data-table th{font-size:9px;letter-spacing:.65px;color:#96a0ad;font-weight:730;padding:14px 12px;border-bottom:1px solid var(--line);background:var(--soft);white-space:nowrap}.data-table td{padding:15px 12px;font-size:11px;color:var(--muted-dark);border-bottom:1px solid var(--line)}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:var(--soft)}.data-table tbody tr:last-child td{border-bottom:0}.data-table td strong{color:var(--heading);font-size:11.5px}.pair-cell{display:flex;align-items:center;gap:9px}.pair-symbol{width:29px;height:29px;border-radius:50%;background:#eef2f5;display:grid;place-items:center;color:#466377;font-size:10px;font-weight:760;letter-spacing:-.7px}.timeframe-chip{background:var(--soft);color:var(--muted-dark);padding:4px 8px;border-radius:6px;border:1px solid var(--line);font-size:10px;font-weight:700}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:100px;font-size:10px;font-weight:700;white-space:nowrap}.tag .status-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.tag.green{background:#def8e9;color:#178f5c}.tag.blue{background:#e5f1ff;color:#3377c7}.tag.red{background:#ffe8e8;color:#cd5460}.tag.gray{background:var(--soft);border:1px solid var(--line);color:var(--muted-dark)}.tag.dark{background:var(--dark);color:var(--surface)}.grade-badge{display:inline-grid;place-items:center;background:#f2f4f8;color:#475363;min-width:25px;height:23px;border-radius:6px;font-size:10px;font-weight:800}.cell-hint{display:block;color:var(--muted);margin-top:3px;font-size:10px}.table-scroll{overflow-x:auto}.load-more{display:flex;justify-content:center;border-top:1px solid var(--line);padding-top:17px;margin-top:12px}.filter-panel{padding:14px 17px;margin-bottom:18px}.filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-search{display:flex;gap:8px;align-items:center;background:var(--soft);color:var(--muted);border:1px solid var(--line);height:38px;border-radius:8px;padding:0 11px;min-width:185px;flex:1}.filter-search input{background:transparent;border:0;outline:0;color:var(--text);width:100%;font-size:11px}.filter-input{width:150px!important;flex:none}.filter-count{font-size:11px;color:var(--muted);margin-left:auto}.list-panel{min-height:310px}.full-table{min-width:850px}.full-table td{padding:17px 12px}.input{display:block;width:100%;min-height:39px;outline:none;padding:10px 12px;border-radius:8px;border:1px solid var(--line);background:var(--input);color:var(--text);font-size:12px;transition:border-color .15s,box-shadow .15s}.input:focus{border-color:#8fb6e8;box-shadow:0 0 0 3px #689ee31c}.textarea{resize:vertical;line-height:1.55}.form-field{display:flex;flex-direction:column;gap:7px;min-width:0;align-self:start}.field-label{font-size:11px;color:var(--muted-dark);font-weight:720}.field-hint{font-size:10px;color:var(--muted);line-height:1.5}.required{color:#e77}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid>.form-field:last-child{grid-column:1/-1}.form-actions,.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.create-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,.68fr);gap:18px;align-items:start}.form-panel{padding:25px}.panel-heading{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:24px}.heading-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;color:#416879;background:#e9f1f4}.panel-heading h2{margin:0 0 5px}.panel-heading p{color:var(--muted);font-size:11px;margin:0}.create-hint{padding:25px}.step-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:#16865e;background:#e4f8ed;margin-bottom:15px}.create-hint h3{font-size:15px;margin:0 0 24px}.progress-steps{display:flex;flex-direction:column;gap:0}.progress-steps>div{display:flex;gap:15px;min-height:95px;position:relative}.progress-steps>div:not(:last-child):after{position:absolute;content:"";width:1px;top:28px;bottom:4px;left:13px;background:var(--line)}.progress-steps b{flex:none;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--muted-dark);font-size:10px}.progress-steps strong{display:block;font-size:11px;color:var(--heading);margin-bottom:6px}.progress-steps small{display:block;color:var(--muted);line-height:1.5;font-size:10.5px}.tip{display:flex;gap:9px;background:#f0f7fc;padding:15px;border-radius:8px;color:#426e8a}.tip p{margin:0;font-size:10.5px;line-height:1.55}.workspace-heading{align-items:center}.workspace-title-line{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.workspace-title-line h1{margin:2px 0 9px;font-size:25px}.workspace-tags{display:flex;gap:7px;flex-wrap:wrap}.workspace-head-actions{display:flex;gap:8px;align-items:center}.workspace-main-grid{display:grid;grid-template-columns:minmax(0,1.73fr) minmax(265px,.77fr);gap:17px;align-items:start}.workspace-left,.workspace-right{display:flex;flex-direction:column;gap:17px;min-width:0}.chart-panel{padding:18px}.chart-feature{position:relative;display:flex;justify-content:center;background:#101923;padding:0;border:0;border-radius:9px;overflow:hidden;width:100%;max-height:540px}.chart-feature img{object-fit:contain;max-width:100%;max-height:540px}.chart-open-hint{position:absolute;bottom:13px;right:13px;background:#161d27cc;color:#fff;border-radius:7px;padding:7px 10px;font-size:10px;opacity:0;transition:.2s}.chart-feature:hover .chart-open-hint{opacity:1}.chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#1b2430,#111923);color:#8c99a9;border-radius:8px;min-height:360px;text-align:center;padding:30px;cursor:pointer}.chart-empty>svg{color:#92a1b5;margin-bottom:14px}.chart-empty h3{color:#fff;font-size:15px;margin-bottom:6px}.chart-empty p{color:#a1aebc;font-size:11px;max-width:295px}.chart-empty .btn{pointer-events:none}.chart-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;color:var(--muted);font-size:10px}.chart-footer span{display:flex;align-items:center;gap:6px}.screenshot-strip .strip-scroll{display:flex;overflow-x:auto;gap:11px;padding-bottom:5px}.shot-thumb{position:relative;display:flex;flex-direction:column;padding:0;text-align:left;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface);color:var(--text);min-width:149px;width:149px;flex:none}.shot-thumb img{display:block;object-fit:cover;width:100%;height:86px;background:#121a22}.shot-thumb:hover{border-color:#95a6bc}.shot-meta{display:flex;flex-direction:column;gap:4px;padding:7px 9px}.shot-meta strong{font-size:10px}.shot-meta small{font-size:9px;color:var(--muted)}.upload-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-width:148px;min-height:128px;border:1px dashed #bec7d0;background:var(--soft);color:var(--muted-dark);border-radius:8px}.upload-placeholder span{font-weight:720;font-size:10.5px;color:var(--heading)}.upload-placeholder small{font-size:9px;color:var(--muted)}.upload-placeholder:hover{border-color:var(--blue)}.detail-dl{margin:0;display:flex;flex-direction:column;gap:0}.detail-dl>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.detail-dl>div:last-child{border:0}.detail-dl dt{color:var(--muted)}.detail-dl dd{margin:0;text-align:right;color:var(--heading);font-weight:650}.side-status{padding-top:15px;margin-top:10px;border-top:1px solid var(--line)}.side-status>span{display:block;color:var(--muted-dark);font-size:11px;font-weight:680;margin-bottom:7px}.related-side{padding-bottom:18px}.related-market{border:1px solid var(--line);border-radius:8px;padding:9px;margin-bottom:10px}.related-market-heading{display:flex;align-items:center;gap:6px;margin-bottom:8px}.related-market-heading b{font-size:11px;color:var(--heading)}.related-market-heading>span{font-size:9px;color:var(--muted);margin-left:auto}.related-thumb{background:#101923;border-radius:5px;cursor:pointer;max-height:125px;overflow:hidden;display:flex;align-items:center;justify-content:center}.related-thumb img{width:100%;max-height:125px;object-fit:contain}.related-tip{margin:8px 0 14px}.related-suggestions{border-top:1px solid var(--line);padding-top:14px;margin:13px 0}.related-suggestions small{display:block;font-size:9px;font-weight:740;letter-spacing:.5px;color:var(--muted);margin-bottom:9px}.related-suggestions>div{display:flex;gap:7px;flex-wrap:wrap}.tag-button{background:var(--soft);border:1px solid var(--line);color:var(--muted-dark);padding:6px 8px;font-size:10px;border-radius:6px;font-weight:700}.tag-button:hover{border-color:#a2b0bf}.notes-side p{white-space:pre-line;margin:0;font-size:11.5px;color:var(--muted-dark)}.note-preserve{display:flex;align-items:center;gap:6px;font-size:9.5px;color:#579777;margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}.review-actions .quick-row.danger strong{color:#be6064}.review-actions .quick-row.danger .quick-icon{color:#d05a5b}.timeline-panel .section-title{margin-bottom:18px}.workspace-timeline{margin:0 0 15px}.timeline-entry{display:flex;gap:13px}.timeline-axis{width:16px;flex:none;position:relative;display:flex;justify-content:center}.timeline-axis:after{content:"";position:absolute;top:15px;bottom:-1px;width:2px;background:#e5e9ed}.timeline-entry:last-child .timeline-axis:after{display:none}.initial-node,.update-node{width:11px;height:11px;margin-top:3px;border-radius:50%;background:#28b681;z-index:1;box-shadow:0 0 0 3px #e8f9f2}.update-node{background:#448cd1;box-shadow:0 0 0 3px #eaf3fe}.timeline-entry-body{padding:0 0 21px;border-bottom:1px solid var(--line);margin-bottom:22px;min-width:0;flex:1}.timeline-entry:last-child .timeline-entry-body{border-bottom:0;margin-bottom:0;padding-bottom:6px}.timeline-entry-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.timeline-entry-head strong{font-size:11.5px;color:var(--heading)}.timeline-entry-head time{font-size:10px;color:var(--muted);margin-left:auto}.timeline-entry-body p{font-size:11px;color:var(--muted-dark);white-space:pre-line;margin:8px 0 12px}.tiny-pill{display:inline-flex;margin-top:7px;background:var(--soft);border:1px solid var(--line);color:var(--muted-dark);border-radius:99px;font-size:9px;padding:3px 7px}.timeline-images{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.timeline-images .shot-thumb{width:125px;min-width:125px}.timeline-images .shot-thumb img{height:72px}.inline-action{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:#427fa9;font-size:10px;padding:3px 0;font-weight:670}.add-update-bottom{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;border-radius:8px;border:1px dashed #b6c5d4;background:var(--soft);color:var(--muted-dark);font-size:11px;font-weight:700}.add-update-bottom:hover{border-color:#5b93ce}.global-timeline{max-width:1030px}.global-timeline-item{display:flex;gap:15px;width:100%;text-align:left;border:0;padding:0;background:none}.timeline-rail{width:16px;flex:none;position:relative;display:flex;justify-content:center}.timeline-rail:after{position:absolute;content:"";width:2px;background:var(--line);top:15px;bottom:0}.global-timeline-item:last-child .timeline-rail:after{display:none}.timeline-rail>span{margin-top:18px;width:10px;height:10px;background:#4098d3;border:3px solid #ddebfa;border-radius:50%;z-index:1;box-sizing:content-box}.timeline-main{padding:16px 0 19px;border-bottom:1px solid var(--line);flex:1}.timeline-line{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.timeline-line strong{font-size:12px;color:var(--heading)}.timeline-line time{font-size:10.5px;margin-left:auto;color:var(--muted)}.timeline-main p{font-size:11.5px;margin:7px 0;color:var(--muted-dark);white-space:pre-line}.timeline-footer{display:flex;align-items:center;gap:6px;font-size:10px;color:#5087b2}.timeline-overview{min-height:380px}.library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.library-tile{padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;text-align:left;background:var(--surface);box-shadow:var(--shadow)}.library-tile:hover{border-color:#a8b5c6;transform:translateY(-2px);transition:transform .2s}.tile-image{height:155px;display:flex;justify-content:center;background:#121c25;overflow:hidden}.tile-image img{object-fit:contain;width:100%}.tile-info{padding:12px;display:flex;flex-direction:column;gap:5px}.tile-info strong{font-size:12px;color:var(--heading)}.tile-info small,.tile-info>span{font-size:10px;color:var(--muted)}.tile-main{font-size:9px;color:var(--muted);font-weight:480}.preview-image{max-width:100%;max-height:calc(90vh - 185px);object-fit:contain;margin:0 auto;display:block;border-radius:7px;background:#151b21;border:1px solid var(--line)}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.comparison-grid>div{min-width:0}.comparison-grid img{width:100%;height:340px;object-fit:contain;background:#141c26;border-radius:8px}.comparison-title{display:flex;justify-content:space-between;margin-bottom:9px;font-size:10px;color:var(--muted)}.comparison-title strong{color:var(--heading)}.stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.stats-grid>.panel{min-height:270px}.stats-bars{display:flex;flex-direction:column;gap:17px;margin-top:19px}.stats-label{display:flex;justify-content:space-between;font-size:11px;color:var(--muted-dark);margin-bottom:7px}.stats-label strong{color:var(--heading)}.stats-track{height:8px;background:var(--soft);border:1px solid var(--line);border-radius:99px;overflow:hidden}.stats-track>span{height:100%;display:block;background:#32a77f;border-radius:99px}.bar-color-1{background:#3c8dd1!important}.bar-color-2{background:#9185c3!important}.bar-color-3{background:#e9ad59!important}.bar-color-4{background:#78abb5!important}.status-stat-list>div{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:13px 0}.status-stat-list>div:last-child{border:0}.status-stat-label{flex:1;display:flex;gap:9px;align-items:center;color:var(--muted-dark);font-size:11px}.status-stat-list b{color:var(--heading);font-size:13px}.status-stat-list small{width:38px;color:var(--muted);text-align:right}.tiny-stat-dot{height:9px;width:9px;background:#8090a5;border-radius:50%}.tiny-stat-dot.watching{background:#4393d6}.tiny-stat-dot.confirmed{background:#22b980}.tiny-stat-dot.invalidated{background:#e7787c}.tiny-stat-dot.closed{background:#8f9ca7}.research-tip{padding:16px;border-radius:9px;background:var(--soft)}.research-tip svg{color:#4380a5}.research-tip h3{margin:12px 0 6px}.research-tip p{font-size:11px;color:var(--muted-dark);margin:0}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-panel{padding:23px}.settings-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:23px}.settings-heading>svg{color:var(--muted-dark)}.settings-heading h2{margin:0 0 5px}.settings-heading p{margin:0;font-size:11px;color:var(--muted)}.settings-panel form{display:flex;flex-direction:column;gap:15px}.settings-panel form .btn{align-self:flex-start;margin-top:6px}.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-choice{display:flex;flex-direction:column;align-items:flex-start;position:relative;border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:17px;text-align:left;color:var(--text);gap:7px}.theme-choice.theme-active{border-color:#80aaea;background:#6096dd14}.theme-choice>strong{font-size:12px}.theme-choice>span{font-size:10px;color:var(--muted)}.theme-choice>svg:last-child{position:absolute;right:15px;top:15px;color:#3897df}.backup-actions{display:flex;gap:8px;flex-wrap:wrap}.backup-progress{font-size:11px;color:#5988a8;margin-top:16px}.settings-note{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--line);padding-top:16px;margin:18px 0 0;color:var(--muted);font-size:11px}.modal-backdrop{position:fixed;inset:0;background:#0b1118ab;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-card{width:min(100%,590px);max-height:94vh;overflow-y:auto;box-shadow:0 25px 90px #00000040;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:22px}.modal-wide{width:min(100%,1050px)}.modal-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:18px}.modal-top h2{margin:0 0 4px;font-size:17px}.modal-top p{line-height:1.5}.modal-form{display:flex;flex-direction:column;gap:15px}.editor-header-fields{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(180px,1.3fr);gap:13px;margin-bottom:15px}.editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:8px;margin-bottom:12px}.toolset,.tool-right,.color-list{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.tool-button{display:flex;align-items:center;gap:6px;border:1px solid transparent;color:var(--muted-dark);background:none;border-radius:6px;padding:8px 9px;font-size:10px;font-weight:690}.tool-button:hover{background:var(--surface)}.tool-button.selected{background:var(--dark);color:var(--surface)}.color-dot{height:21px;width:21px;border-radius:50%;background:var(--dot-color);border:2px solid var(--surface);outline:1px solid var(--line)}.color-dot.chosen{outline:2px solid #6ca8e0;outline-offset:2px}.editor-text{display:flex;align-items:center;gap:11px;margin-bottom:13px;font-size:10px;color:var(--muted)}.editor-text .input{flex:1}.editor-canvas-area{display:flex;align-items:center;justify-content:center;background:#101820;min-height:330px;max-height:58vh;border-radius:9px;overflow:auto;padding:12px}.canvas-wrap{width:100%;max-height:calc(58vh - 25px);display:flex;flex-direction:column;align-items:center}.canvas-wrap canvas{display:block;max-height:calc(58vh - 52px);width:auto;max-width:100%;object-fit:contain;border:1px solid #334255}.canvas-info{margin-top:8px;color:#a7b2bc;font-size:10px}.editor-paste{color:#9db0c2;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px;width:100%;min-height:290px}.paste-round{height:62px;width:62px;border-radius:50%;display:grid;place-items:center;background:#223445;margin-bottom:17px}.editor-paste h3{color:#fff;font-size:15px;margin-bottom:5px}.editor-paste p{font-size:11px}.editor-paste small{margin-top:13px;color:#7e93a6}.editor-paste kbd{border:1px solid #6e7f92;padding:2px 6px;border-radius:5px;color:#fff}.editor-actions-start{flex:1}.modal-actions{margin-top:17px}.inline-error{background:#fef0f0;color:#b23b3b;border:1px solid #ffd0d0;padding:10px 12px;font-size:11px;line-height:1.5;border-radius:7px;margin:9px 0}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(450px,.9fr);background:#fff}.auth-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 20% 10%,#314357,#1d2834 37%,#111922);padding:42px 45px;display:flex;flex-direction:column;color:#fff}.auth-art-top{display:flex;align-items:center;gap:11px;font-size:21px;letter-spacing:-.5px;font-weight:790;position:relative;z-index:2}.auth-mark{background:#fff;color:#151c25}.auth-art-content{z-index:2;margin:auto 0;max-width:630px}.auth-kicker{letter-spacing:2px;font-weight:780;font-size:10px;color:#a5d8c7;margin-bottom:20px}.auth-art h1{font-size:clamp(34px,4vw,58px);font-weight:770;letter-spacing:-2px;line-height:1.12;color:#fff;margin-bottom:21px}.auth-art h1 em{font-style:normal;color:#9adfbf}.auth-art-content>p{max-width:480px;font-size:14px;color:#b4c0ce;line-height:1.85}.auth-metrics{display:flex;gap:34px;margin-top:53px}.auth-metrics>div{display:flex;flex-direction:column;border-top:1px solid #455665;padding-top:13px;min-width:85px}.auth-metrics strong{font-size:23px;font-weight:800;color:#fff}.auth-metrics span{font-size:11px;color:#b4bfcc;margin-top:5px}.auth-lines{position:absolute;width:850px;height:850px;right:-360px;bottom:-420px;border:1px solid #415567;border-radius:50%;opacity:.3;box-shadow:0 0 0 85px transparent,0 0 0 87px #455666,0 0 0 170px transparent,0 0 0 171px #455666}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:30px 40px}.auth-panel{max-width:415px;width:100%}.auth-panel h2{font-size:28px;letter-spacing:-1px;margin:10px 0}.auth-panel>.subtle{line-height:1.75;margin-bottom:27px}.auth-form{display:flex;flex-direction:column;gap:17px}.password-field{display:flex;align-items:center;position:relative}.password-field .input{padding-right:45px}.password-field .icon-button{position:absolute;right:7px}.auth-form .btn{margin-top:7px;min-height:43px}.auth-secure{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #eaedf1;padding-top:25px;margin-top:35px;font-size:10px;color:#92a0ab}.auth-mobile-brand{display:none}.splash{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px}.splash-logo{font-size:34px;font-weight:900;letter-spacing:-3px}.splash-logo span{color:#20ae82}.loading{display:flex;align-items:center;gap:11px;justify-content:center;padding:55px 0;font-size:12px;color:var(--muted)}.loader{border:3px solid var(--line);border-top-color:#56a3d2;border-radius:50%;height:20px;width:20px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:245px;text-align:center;padding:25px}.empty-icon{width:54px;height:54px;background:var(--soft);display:grid;place-items:center;color:var(--muted);border-radius:15px;margin-bottom:14px}.empty h3{font-size:14px;margin-bottom:5px}.empty p{max-width:360px;color:var(--muted);font-size:11px}.empty .btn{margin-top:5px}.error-state{border:1px solid #efc6cc;background:#ef656c0a;padding:25px;border-radius:11px;margin:10px 0}.error-state h3{margin-bottom:5px}.error-state p{color:#ca5967;font-size:12px}.toast{position:fixed;bottom:24px;right:27px;padding:13px 19px;background:#1c2c27;color:#e8fff5;border-radius:9px;z-index:200;box-shadow:0 12px 30px #0003;font-size:12px;max-width:360px}.toast-error{background:#5c292f;color:#fff}[data-theme=dark] .sidebar .side-link.active{background:#e9f0f7;color:#17202b}[data-theme=dark] .sidebar .side-link.active svg{color:#17202b}[data-theme=dark] .brand-mark{color:#192029}[data-theme=dark] .side-promo{background:#2c333c;border-color:#3a434e;color:#dde7f0}[data-theme=dark] .side-promo span{color:#b0bdc9}[data-theme=dark] .side-promo button{background:#e8f0f6;color:#17202b}[data-theme=dark] .metric-icon{background:#333b46;color:#d3dae3}[data-theme=dark] .metric-icon.blue{background:#253e5c;color:#a8d4ff}[data-theme=dark] .metric-icon.green{background:#1c4840;color:#7ae1bd}[data-theme=dark] .grade-badge,[data-theme=dark] .pair-symbol{background:#303943;color:#d6e5f1}[data-theme=dark] .tag.green{background:#214a3a;color:#8ae5ae}[data-theme=dark] .tag.blue{background:#263e5f;color:#acd2ff}[data-theme=dark] .tag.red{background:#533137;color:#ff9a9f}[data-theme=dark] .tip{background:#263c4b;color:#b5dbf4}[data-theme=dark] .btn-danger{background:#5e3234;color:#ffd5d5;border-color:#7e4348}[data-theme=dark] .auth-secure{border-color:var(--line)}@media(max-width:1260px){.sidebar{width:215px;min-width:215px}.content{padding:27px 22px 60px}.topbar{padding:0 22px}.dash-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,.7fr)}.workspace-main-grid{grid-template-columns:minmax(0,1.45fr) minmax(240px,.7fr)}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.top-app-label,.tool-button span{display:none}}@media(max-width:1000px){.sidebar{position:fixed;transform:translate(-100%);transition:transform .2s;box-shadow:10px 0 30px #0001}.sidebar.sidebar-open{transform:translate(0)}.side-backdrop{position:fixed;inset:0;z-index:39;background:#10182077}.mobile-close,.mobile-menu{display:inline-flex}.mobile-close{margin-left:auto}.topbar{padding:0 22px}.global-search{width:min(540px,68vw)}.metric-grid{grid-template-columns:repeat(2,1fr)}.dash-grid,.workspace-main-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,.8fr)}.auth-shell{grid-template-columns:minmax(0,1fr) minmax(400px,1fr)}.auth-art{padding:34px}.auth-form-side{padding:30px}}@media(max-width:760px){.content{padding:24px 14px 60px}.topbar{height:59px;padding:0 14px}.global-search{max-width:none;width:100%}.global-search kbd{display:none}.top-actions{gap:5px}.page-header{align-items:flex-start;flex-direction:column}.page-header h1{font-size:24px}.page-header>.btn{width:100%}.workspace-head-actions{width:100%}.workspace-head-actions .btn{flex:1}.workspace-title-line h1{font-size:22px}.dash-grid,.workspace-main-grid,.create-grid,.stats-grid,.settings-grid{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-grid,.form-grid{grid-template-columns:1fr}.form-grid>.form-field:last-child{grid-column:auto}.filter-input{width:calc(50% - 5px)!important}.filters .filter-search{flex-basis:100%}.modal-backdrop{padding:8px}.modal-card{padding:15px;max-height:95vh}.editor-header-fields{grid-template-columns:1fr}.editor-toolbar{gap:8px}.tool-button span{display:none}.editor-canvas-area{max-height:50vh}.canvas-wrap canvas{max-height:calc(50vh - 50px)}.auth-shell{display:block}.auth-art{display:none}.auth-form-side{min-height:100vh;padding:30px 20px}.auth-mobile-brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:19px;margin-bottom:45px}.comparison-grid{grid-template-columns:1fr}.comparison-grid img{height:280px}.chart-empty{min-height:265px}}@media(max-width:440px){.metric-grid{gap:10px}.summary-card{padding:14px}.summary-card>strong{font-size:24px}.summary-top{font-size:10px}.metric-icon{width:29px;height:29px}.top-avatar{display:none}.library-grid{grid-template-columns:1fr}.filter-input{width:100%!important}.toolset{gap:1px}.tool-button{padding:6px}.color-dot{width:17px;height:17px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1}.timeline-entry-head time{margin:0;width:100%}.theme-options{grid-template-columns:1fr}}
