:root{color-scheme:dark;--bg:#100d10;--panel:#191519;--raised:#18191a;--line:#352a30;--text:#f7f8f8;--muted:#b1a5ad;--accent:#c83f53;--hover:#e96677;--red:#f47c83;--green:#64c99b;--radius:12px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:var(--raised);color:var(--text);border-radius:8px;padding:10px 15px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#25262b;border-color:#454752}button:disabled{opacity:.5;cursor:wait}button.primary{background:var(--accent);border-color:var(--accent)}button.primary:hover{background:#707ce3}button.ghost{background:transparent;border-color:transparent;color:var(--muted)}a{color:var(--hover);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--hover);outline-offset:3px}svg.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{border-right:1px solid var(--line);background:var(--panel);padding:28px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;padding:0 12px;font-size:19px;font-weight:600;letter-spacing:-.5px}.brand img{width:32px;height:32px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:4px}.workspace{margin:32px 10px 25px;color:var(--muted);font-size:11px;letter-spacing:1.5px}.nav{display:grid;gap:7px}.nav button{justify-content:flex-start;background:transparent;border-color:transparent;color:var(--muted);padding:12px 16px}.nav button.active{color:var(--text);background:#362129}.nav button.active svg{color:#f38c9a}.nav .count{margin-left:auto;font-size:11px;border:1px solid #40414a;border-radius:4px;padding:1px 5px}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:22px 10px 0;font-size:12px;line-height:1.8;color:var(--muted)}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:7px}.topbar{height:74px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;color:var(--muted);font-size:12px;gap:12px}.topbar b{color:var(--text);font-weight:500}.top-actions,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.avatar{width:30px;height:30px;background:#46232e;border-radius:50%;display:grid;place-items:center;color:#ffd1d7}.content{max-width:1480px;margin:auto;padding:32px 36px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:10px}h1{font-size:28px;letter-spacing:-.7px;font-weight:600;margin:0 0 10px}h2{font-size:17px;font-weight:500;margin:0}h3{font-weight:500;margin:0;font-size:15px}p{color:var(--muted);line-height:1.7;margin:8px 0;font-size:13px}.badge{font-size:11px;color:#f0b1bd;border:1px solid #64353f;padding:4px 8px;border-radius:5px;white-space:nowrap}.badge.green{color:var(--green);border-color:#264837}.badge.warn{color:#e3ba7d;border-color:#53442f}.muted{color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0}.stat{padding:20px 22px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}.stat-label{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:30px;font-weight:500;font-variant-numeric:tabular-nums;margin:14px 0 6px;letter-spacing:-1px}.stat strong small{font-size:12px;color:var(--muted);font-weight:400;margin-left:6px;letter-spacing:0}.stat p{font-size:11px;margin:0}.grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.panel{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);overflow:hidden}.panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-body{padding:22px}.strategy-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.strategy-icon{width:44px;height:44px;background:#3e212a;border:1px solid #67313f;color:#ff9ba7;border-radius:10px;display:grid;place-items:center}.strategy-title{display:flex;gap:14px;align-items:center}.strategy-title h2{font-size:20px}.schedule{margin:24px 0 18px;display:flex;justify-content:space-between;font-size:12px}.timeline{height:5px;border-radius:4px;background:#25262a;position:relative}.timeline:after{content:'';position:absolute;left:77%;right:0;height:5px;background:var(--accent);border-radius:4px}.timeline:before{content:'';position:absolute;left:77%;height:11px;width:2px;top:-3px;background:#ff9ba7}.ticks{display:flex;justify-content:space-between;margin-top:10px;color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.rule-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.chip{padding:6px 9px;border:1px solid var(--line);border-radius:5px;font-size:11px;color:#b6bbc5}.panel-note{padding:12px 22px;background:#141516;border-top:1px solid var(--line);color:var(--muted);font-size:11px;display:flex;gap:8px;align-items:center}.funnel{padding:20px 22px}.funnel-row{margin-bottom:18px}.funnel-row:last-child{margin:0}.funnel-label{display:flex;justify-content:space-between;font-size:12px;color:#c0c3cb;margin-bottom:8px}.funnel-label span:first-child:before{content:attr(data-n);color:#6e7480;margin-right:10px;font-size:10px}.bar{height:4px;border-radius:4px;background:#25262b}.bar i{height:100%;display:block;background:#bc5c6b;border-radius:4px;min-width:0}.funnel-row:last-child .bar i{background:#e78998}.section{margin-top:22px}.table-tools{display:flex;align-items:center;gap:10px}.search{max-width:210px;padding:8px 11px!important;font-size:12px!important}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-weight:400;color:var(--muted);font-size:11px;padding:14px 20px;background:#121314}td{border-top:1px solid var(--line);padding:16px 20px;font-size:12px}td small{display:block;color:var(--muted);font-size:10px;margin-top:5px}td button{min-height:32px;padding:6px 10px;font-size:11px}.num{font-variant-numeric:tabular-nums;font-family:"Segoe UI",sans-serif}.up{color:var(--red)}.down{color:var(--green)}.spark{width:90px;height:30px;overflow:visible}.table-footer{border-top:1px solid var(--line);padding:14px 22px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.footnote{font-size:11px;margin-top:20px;color:#969ba5}.empty{padding:45px 24px;text-align:center;color:var(--muted);line-height:1.8}.empty strong{color:var(--text);display:block;font-weight:500;margin-bottom:8px}.notice{background:#18171a;border:1px solid #373139;border-radius:8px;padding:12px 16px;font-size:12px;color:#d4bec0;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:grid;gap:8px;font-size:12px;color:#c5c8d0}.field small{font-size:11px;color:var(--muted);line-height:1.7}input,select{border:1px solid #34343a;border-radius:8px;background:#141516;color:var(--text);padding:11px 12px;min-width:0;width:100%}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.check{display:flex;gap:10px;align-items:center}.form-section{margin-bottom:24px}.form-section>h3{margin-bottom:18px}.form-footer{display:flex;justify-content:flex-end;margin-top:24px;gap:10px}.wide{max-width:940px}.logs{list-style:none;margin:0;padding:0}.logs li{display:flex;gap:20px;padding:18px 22px;border-bottom:1px solid var(--line);line-height:1.8;font-size:12px}.logs time{color:var(--muted);min-width:135px}.logs .error{color:var(--red)}dialog{background:var(--panel);color:var(--text);border:1px solid #3a3c44;border-radius:16px;max-width:640px;width:calc(100% - 32px);padding:0}dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}dialog .close{float:right}.detail-chart{width:100%;height:160px}.check-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0;font-size:12px}.check-list span{display:flex;gap:8px;align-items:center}.check-list i{color:var(--green);font-style:normal}.explanation{white-space:pre-wrap;line-height:1.9;font-size:13px;color:#c6cad4;margin-top:15px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#303342;color:white;padding:13px 22px;border:1px solid #525774;border-radius:10px;z-index:20;display:none;max-width:90vw;font-size:13px}.mobile-shell{max-width:600px;margin:auto;padding:24px 20px 100px}.mobile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.mobile-top .brand{padding:0}.mobile-heading{margin-bottom:24px}.mobile-heading h1{font-size:30px}.mobile-shell .stats{grid-template-columns:1fr 1fr;gap:12px}.mobile-shell .stat{padding:18px}.mobile-shell .panel-body{padding:20px}.mobile-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:600px;display:flex;justify-content:space-around;background:#191519f5;border-top:1px solid var(--line);padding:10px 8px calc(10px + env(safe-area-inset-bottom));z-index:5}.mobile-bottom button{display:flex;flex-direction:column;gap:5px;font-size:11px;background:none;border:0;color:var(--muted);min-width:70px}.mobile-bottom button.active{color:#ff9ba7}.stock-card{width:100%;text-align:left;display:block;padding:20px;margin-top:12px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.stock-card .row{display:flex;justify-content:space-between;align-items:center}.stock-card h3{font-size:15px}.stock-card small{font-size:11px;color:var(--muted)}.stock-card strong{font-size:21px;font-weight:500}.stock-card .metrics{display:flex;gap:20px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.stock-card .metrics b{color:#ddd;font-weight:400;margin-left:5px}.mobile-shell .logs li{flex-direction:column;gap:3px}.mobile-shell .heading{display:block}.mobile-shell .form-grid{grid-template-columns:1fr}.notification-art{width:64px;height:64px;display:grid;place-items:center;background:#3e212a;color:#ff9ba7;border-radius:16px;margin-bottom:22px}.notification-art svg{width:28px;height:28px}.login{max-width:440px;margin:15vh auto;padding:28px}.login h1{font-size:24px}.login button{margin-top:18px;width:100%}@media(min-width:1600px){.content{padding-top:40px}.stats{margin:28px 0}}@media(max-width:1200px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.content{padding:26px 24px}.topbar{padding:0 24px}.grid{grid-template-columns:minmax(0,1fr) 270px}.stat{padding:18px}.heading{align-items:flex-start}.heading .actions{justify-content:flex-end}td,th{padding-left:14px;padding-right:14px}}@media(max-width:950px){.grid{grid-template-columns:1fr}.funnel{display:grid;grid-template-columns:1fr 1fr;gap:18px}.funnel-row{margin:0}.stats{grid-template-columns:1fr 1fr}.top-actions .date{display:none}}@media(max-width:650px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px 14px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin-bottom:16px}.workspace,.sidebar-foot{display:none}.nav{display:flex;overflow:auto;gap:2px}.nav button{padding:10px;font-size:11px;white-space:nowrap;min-height:44px}.nav .count{display:none}.topbar{height:54px;padding:0 18px}.topbar .avatar{display:none}.content{padding:24px 16px}.heading{display:block}.heading .actions{justify-content:flex-start;margin-top:16px}h1{font-size:25px}.stats{gap:10px}.stat strong{font-size:27px}.form-grid{grid-template-columns:1fr}.table-tools{flex-wrap:wrap}.panel-head{padding:18px 16px;flex-wrap:wrap}.panel-body{padding:18px}.check-list{grid-template-columns:1fr}button{min-height:44px}.logs li{flex-direction:column;gap:4px}.mobile-shell .heading .actions{margin-bottom:12px}.search{max-width:150px}.funnel{padding:18px 16px}.panel-note{line-height:1.7}.top-actions a{font-size:11px}.table-footer{gap:12px}.strategy-hero{flex-wrap:wrap}}

button{white-space:nowrap}.grid>aside{align-self:start}.table-tools{min-width:0}.table-tools .search{width:180px;max-width:100%}.top-actions a{display:inline-flex;align-items:center;gap:5px}

.market-table{max-height:300px;overflow:auto}.market-table th{position:sticky;top:0}.market-table td{padding-top:12px;padding-bottom:12px}@media(max-width:650px){.market-table{max-height:260px}}
.history-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.history-controls .field{min-width:160px;flex:1}.history-details{border-top:1px solid var(--line);padding:16px 0}.history-details summary{cursor:pointer;line-height:1.8;overflow-wrap:anywhere}.history-details summary:focus-visible{outline:2px solid var(--hover);outline-offset:3px}.history-details summary span{color:var(--muted);margin-left:12px}.history-candidates>.history-details{padding:16px 22px}.history-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.history-details p{overflow-wrap:anywhere}@media(max-width:650px){.history-controls .field{flex-basis:100%}.history-controls button{flex:1}.history-stats{grid-template-columns:1fr 1fr}.history-candidates>.history-details{padding:16px}.history-details summary span{display:block;margin-left:16px}}

/* Shared crimson application identity */
:root{--accent:#c83f53;--hover:#e96677;--line:#352a30;--panel:#191519;--muted:#b1a5ad;--red:#ff8996;--green:#7bd5ab}
body{background:#100d10}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #ff9ba7;outline-offset:3px}button.primary{background:#b93248;border-color:#c83f53}button.primary:hover{background:#ce4056}.sidebar{background:#151115}.brand img{width:40px;height:40px}.nav button.active{box-shadow:inset 3px 0 #e66275}.content>.heading h1{font-size:30px}.stat:first-child{border-color:#713644}.stat{background:linear-gradient(120deg,#21181d,#191519)}.field{color:#e0d5db}.badge{color:#efbac4;border-color:#603640}.brand-orbit img{width:188px;height:188px;transform:rotate(-9deg);filter:drop-shadow(0 24px 35px #0005)}.brand-orbit{height:235px;display:grid;place-items:center;position:relative}.brand-orbit:before,.brand-orbit:after{content:'';position:absolute;width:300px;height:175px;border:1px solid #994553;border-radius:50%;transform:rotate(-22deg)}.brand-orbit:after{transform:rotate(28deg);width:250px;height:210px}.login-layout{max-width:1120px;min-height:680px;margin:7vh auto;display:grid;grid-template-columns:1.12fr 1fr;border:1px solid #493039;border-radius:24px;overflow:hidden;background:#191519}.login-story{padding:46px;background:radial-gradient(ellipse at 60% 65%,#582331,transparent 64%),#25151c;display:flex;flex-direction:column}.login-story .brand{padding:0;margin-bottom:60px}.login-story h1{font-size:40px;line-height:1.45;letter-spacing:-1.5px}.login-story p{line-height:2;color:#d4b8c1}.login-features{display:flex;gap:16px;font-size:10px;color:#d7a5b3;margin-top:auto}.login-form-area{padding:65px 48px}.login-form-area>h2{font-size:28px;margin-top:24px}.login-form-area>p{margin:12px 0 28px}.login-form-area form{display:grid;gap:20px}.login-form-area input,.login-form-area button{min-height:50px}.login-form-area .primary{justify-content:space-between}.download-entry{display:flex;gap:18px;align-items:center;padding-top:26px;border-top:1px solid var(--line);margin-top:20px}.download-entry img{width:84px;height:84px;padding:5px;background:white;border-radius:10px}.download-entry b{font-size:13px}.download-entry p{font-size:11px}.download-entry a{font-size:12px;color:#ffa1af;display:flex;align-items:center;gap:8px}.login-foot{font-size:11px!important;line-height:1.9}.delivery{padding:15px 0;border-top:1px solid var(--line)}#login-error{margin:0;color:#ff9ba7;min-height:20px}.download-page{max-width:780px;margin:8vh auto;padding:30px}.download-page h1{margin-top:32px}.download-page .actions{margin:25px 0}.download-page .panel{padding:24px;margin:20px 0}.download-page a.primary{padding:14px 20px;border-radius:8px;background:#b93248;color:#fff}.download-page ol{color:var(--muted);line-height:2}.download-page .brand{padding:0}@media(max-width:760px){.login-layout{margin:20px;grid-template-columns:1fr;min-height:0;border-radius:18px}.login-story{padding:24px}.login-story .brand{margin:0}.login-story>.eyebrow,.login-story>h1,.login-story>p,.brand-orbit,.login-features{display:none}.login-form-area{padding:28px 24px}.login-form-area>h2{font-size:26px}.download-page{margin:10px;padding:18px}.mobile-shell{padding-top:20px}.mobile-top{margin-bottom:26px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* 1.1: one content width and a shared page rhythm */
.content{width:100%;max-width:1480px;padding:32px 36px 48px}.content>.wide,.content .wide{max-width:none;width:100%}.heading{margin-bottom:28px;align-items:center}.heading h1{margin-bottom:8px}.page-stack{display:grid;gap:24px}.page-stack>.section{margin-top:0}.panel-head{min-height:76px;padding:22px 26px;gap:20px}.panel-head p{margin:6px 0 0}.panel-body{padding:26px}.form-grid{gap:24px 28px;align-items:start}.field{gap:10px;line-height:1.6}.field input,.field select{min-height:46px}.field small{min-height:18px;line-height:1.8}.full-width{grid-column:1/-1}textarea{resize:vertical;min-height:130px;width:100%;font:inherit;line-height:1.8;padding:12px 14px;border:1px solid #34343a;border-radius:8px;background:#141516;color:var(--text)}textarea:focus-visible{outline:2px solid var(--hover);outline-offset:3px}.form-section{margin-bottom:28px}.form-section>h3{margin-bottom:22px}.form-footer{gap:18px;padding-top:22px;border-top:1px solid var(--line);margin-top:28px;align-items:center;flex-wrap:wrap}.form-footer .muted{margin-right:auto;font-size:12px}.channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.channel-card{padding:24px 26px;min-height:164px}.channel-title{display:flex;gap:10px;align-items:center;color:#f4c2ca}.channel-title h2{font-size:14px}.channel-card strong{display:block;font-size:27px;margin:20px 0 12px;font-weight:500}.channel-card small{font-size:12px;margin-left:10px;color:var(--muted)}.channel-card p{margin:0;font-size:12px}.device-settings{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}.device-settings p{max-width:720px;line-height:1.9}.device-actions{display:flex;gap:12px;flex-wrap:wrap;max-width:450px}.delivery{padding:20px 0}.delivery:first-of-type{margin-top:20px}.delivery b{display:block;margin-bottom:12px;line-height:1.8}.delivery p{margin:8px 0}.logs li{padding:20px 26px;gap:24px}.logs time{min-width:150px}.history-controls{gap:18px}.history-controls .field{min-width:180px}.history-controls button{min-height:46px}.history-details{padding:20px 0}.history-details summary{padding:4px 0}.history-details .panel-body{padding:22px 0}.strategy-hero{gap:24px}.schedule{gap:20px;flex-wrap:wrap}.notice{line-height:1.8}.content>main{min-width:0}.content>.panel{width:100%}.search{min-height:40px}.result-context{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px;padding:18px 24px;border:1px solid #633540;border-radius:12px;background:#281820}.result-context p{margin:0}.result-context strong{font-size:14px}.run-progress{margin-bottom:24px;padding:18px 24px;line-height:1.8}.history-controls input[type=date]{cursor:pointer}
@media(max-width:1100px){.device-settings{grid-template-columns:1fr}.device-actions{max-width:none}.channel-grid{gap:16px}.channel-card{padding:22px}.content{padding:28px 24px}}@media(max-width:650px){.content{padding:24px 16px}.page-stack{gap:18px}.panel-head{padding:20px;min-height:72px}.panel-body{padding:20px}.form-grid{gap:22px}.channel-grid{grid-template-columns:1fr;gap:14px}.channel-card{min-height:0;padding:20px;display:grid;grid-template-columns:1fr auto;gap:12px}.channel-card strong{font-size:23px;margin:0}.channel-card p{grid-column:1/-1}.device-settings{gap:20px}.device-actions{gap:10px}.device-actions button{flex:1;min-height:44px}.form-footer{margin-top:24px;padding-top:20px;gap:14px}.form-footer .muted{flex-basis:100%}.result-context{align-items:flex-start;flex-direction:column;padding:18px}.logs li{padding:18px 20px}.history-controls{gap:16px}.mobile-shell .page-stack .panel-body{padding:20px}.mobile-shell .heading{margin-bottom:24px}}
html{scrollbar-gutter:stable}

/* Mobile workspace: result first, one clear action per section. */
.app-v12{padding:20px 20px calc(104px + env(safe-area-inset-bottom));--app-gap:24px}
.app-v12 .mobile-top{margin-bottom:28px;padding:4px 0 20px;border-bottom:1px solid var(--line)}
.app-v12 .brand{font-size:18px}.app-v12 .brand img{width:36px;height:36px}.app-v12 .brand small{font-size:8px;letter-spacing:1.6px}
.app-status{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.app-status i{width:5px;height:5px;background:var(--green);border-radius:50%}
.app-page-body{display:grid;gap:var(--app-gap);min-width:0}.app-page-body>*{min-width:0}.app-page-title h1{font-size:25px;margin:0 0 6px;font-weight:600;letter-spacing:-.5px}.app-page-title p{margin:0;font-size:12px}
.signal-summary{padding:20px 22px;background:#291820;border-color:#663441}.signal-summary-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#e2c7ce}.signal-summary-top .badge{font-size:10px}
.signal-count{display:flex;align-items:center;gap:20px;margin:22px 0}.signal-count>strong{font-size:58px;line-height:1;font-weight:500;letter-spacing:-2px;font-variant-numeric:tabular-nums}.signal-count>div{display:grid;gap:8px}.signal-count b{font-size:15px;font-weight:500}.signal-count span{font-size:11px;color:var(--muted)}
.signal-summary-foot{border-top:1px solid #53303b;padding-top:16px;font-size:12px;color:#d5bac3;line-height:1.7}.app-results:empty{display:none}.signal-empty{display:flex;align-items:flex-start;gap:16px;padding:0 4px}.signal-empty>svg{width:28px;height:28px;color:var(--muted);margin-top:2px}.signal-empty h2{font-size:15px}.signal-empty p{font-size:12px;margin:6px 0 0}
.app-stock{margin:0 0 16px;padding:20px}.app-stock:last-child{margin-bottom:0}.app-stock h3{font-size:20px;margin:8px 0 5px;font-weight:600}.stock-rank{font-size:10px;color:#efbac4;letter-spacing:1px}.stock-price{text-align:right;display:grid;gap:6px}.stock-price strong{font-size:24px}.stock-price span{font-size:12px;color:var(--muted)}.app-stock .metrics{justify-content:space-between;gap:10px}.app-stock .metrics span{display:grid;gap:8px}.app-stock .metrics b{margin:0;font-size:16px;color:var(--text);font-variant-numeric:tabular-nums}.stock-card-footer{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#efbac4;font-size:12px}
.app-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-link{display:flex;align-items:center;gap:12px;min-height:52px;padding:14px 16px;color:var(--text);font-size:13px;white-space:normal;text-align:left}.mobile-link span{flex:1}.mobile-link>svg{color:var(--muted)}.mobile-link>svg:last-child:not(:first-child){width:15px}.app-quick-actions .mobile-link{background:var(--panel);border:1px solid var(--line)}
.app-reminder{padding:20px}.app-section-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.app-section-title h2{font-size:16px;font-weight:500}.app-section-title p{margin:4px 0 0;font-size:12px}.app-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;background:#251c22;color:#efbac4;flex-shrink:0}
.reminder-control{width:100%}.reminder-control>button:first-child{width:100%;min-height:46px}.reminder-control p{font-size:12px;line-height:1.7;margin:12px 0 0}.reminder-control>.ghost{width:100%;margin-top:10px}.reminder-enabled{background:#182b24;border-color:#365b47;color:#a3e7c4}.reminder-enabled:hover{background:#20382d;border-color:#50735e}.device-actions .reminder-slot{width:100%}
.app-schedule{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;gap:12px}.app-schedule>div{display:flex;gap:12px;align-items:center}.app-schedule h2{font-size:13px}.app-schedule p{font-size:11px;margin:5px 0 0}.app-schedule>strong{font-size:23px;font-weight:500;letter-spacing:-.5px;text-align:right;font-variant-numeric:tabular-nums}.app-schedule small{display:block;font-size:10px;color:var(--muted);margin-top:4px;letter-spacing:0;font-weight:400}
.app-disclosure{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.app-disclosure>summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:14px 4px;font-size:12px;color:var(--muted);cursor:pointer;list-style:none}.app-disclosure>summary::-webkit-details-marker{display:none}.app-disclosure>summary:focus-visible{outline:2px solid var(--hover);outline-offset:2px}.app-disclosure[open]>summary{color:var(--text)}.app-disclosure>div{padding:6px 4px 20px}.app-disclosure .rule-chips{margin-top:12px}.app-disclaimer{font-size:11px;line-height:1.8;text-align:center;margin:0;color:var(--muted)}
.app-section-heading{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line);gap:12px}.app-section-heading h2{font-size:15px}.app-section-heading .muted{font-size:11px}.channel-row{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.channel-row:last-child{border:0}.channel-row>div{flex:1;min-width:0}.channel-row h3{font-size:13px}.channel-row p{font-size:11px;margin:5px 0 0}.app-delivery{padding:18px 20px;border-bottom:1px solid var(--line)}.app-delivery:last-child{border:0}.app-delivery time{font-size:11px;color:var(--muted)}.app-delivery h3{font-size:14px;margin:10px 0}.app-delivery p{margin:4px 0;font-size:12px}.app-empty{padding:28px 20px;text-align:center}.app-empty h3{font-size:14px}.app-empty p{font-size:12px;margin-bottom:0}
.app-profile{display:flex;align-items:center;gap:12px;padding:22px 20px}.app-profile>img{width:44px;height:44px}.app-profile>div{flex:1}.app-profile h2{font-size:17px}.app-profile p{font-size:11px;margin:6px 0 0}.app-profile .badge{font-size:10px}.app-settings .mobile-link{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;min-height:60px;padding:18px 20px}.app-settings .mobile-link:last-child{border:0}.app-logout{width:100%;min-height:48px;background:transparent;color:var(--red);border-color:var(--line)}
.app-v12 .mobile-bottom{background:#191519;border-top-color:#49313b;padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.app-v12 .mobile-bottom button{min-height:52px;min-width:64px;flex:1;gap:6px}.app-v12 .mobile-bottom .icon{width:21px;height:21px}.app-v12 .mobile-bottom button.active{color:#ffa4b1;background:#342029;border-radius:10px}.app-v12 .notice{margin:0}.app-v12 .notice p{margin-bottom:0}.app-history .heading{margin:0 0 24px}.app-history h1{font-size:25px}.app-history .eyebrow{display:none}.app-history .heading p{font-size:12px;margin:0}.app-history .stats{margin:24px 0;gap:12px}.app-history .stat{background:var(--panel);padding:16px;border-color:var(--line)}.app-history .stat strong{font-size:25px;margin:10px 0 0}.app-history .panel-head{min-height:64px;padding:18px 20px}.app-history .panel-head h2{font-size:15px}.app-history .history-controls{gap:14px}.app-history .history-controls .field{font-size:12px}.app-history .history-controls button{font-size:12px}.app-history .history-controls [data-history-action=refresh]{flex-basis:100%}.app-history .footnote{line-height:1.8;margin-top:24px}.app-history .empty{padding:26px 20px;font-size:12px}.app-history .panel-body>p{font-size:12px}
body:has(.app-v12) #toast{bottom:calc(92px + env(safe-area-inset-bottom));background:#30252d;border-color:#60424e;line-height:1.6}body:has(.app-v12) dialog{max-height:calc(100dvh - 40px);overflow:auto}body:has(.app-v12) .panel{scroll-margin-bottom:90px}
@media(max-width:370px){.app-v12{padding-left:16px;padding-right:16px}.signal-summary{padding:18px}.app-schedule{padding:16px}.app-schedule .app-icon{display:none}.app-profile{flex-wrap:wrap}.app-quick-actions .mobile-link{padding:12px;gap:8px}.app-stock .metrics{gap:8px}}
.history-export{width:100%;font-size:12px;color:var(--muted)}.history-export summary{cursor:pointer;min-height:44px;padding:12px 0}.history-export summary:focus-visible{outline:2px solid var(--hover)}.history-export .actions{padding:8px 0}.app-history .history-controls .history-export button{flex:1}
.app-stock{white-space:normal}.app-stock .row{gap:12px}.app-stock .row>div{min-width:0}.app-stock h3{overflow-wrap:anywhere}.app-stock .stock-price{flex-shrink:0}

.run-progress strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.run-progress progress{display:block;width:100%;height:6px;margin:14px 0;accent-color:var(--accent)}.run-progress p{overflow-wrap:anywhere}

.rule-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.rule-setting{padding:24px;border:1px solid var(--line);border-radius:var(--radius)}.rule-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;cursor:pointer}.rule-toggle>span:last-child{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--muted);font-size:12px}.rule-toggle input{width:20px;height:20px;accent-color:var(--accent)}.rule-setting>p{min-height:44px;margin-bottom:20px}.rule-setting:has(input[type=checkbox]:not(:checked)){background:var(--bg)}.rule-setting .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-setting input[type=number]{min-width:0;width:100%}@media(max-width:950px){.rule-settings{grid-template-columns:1fr}}@media(max-width:650px){.rule-setting{padding:18px}.rule-setting .form-grid{grid-template-columns:1fr}}
