@charset "UTF-8";
:root{--ink:#1d302a;--muted:#7a8882;--line:#e4eae5;--green:#164b3c;--pale:#edf4ee;--amber:#a66b21;--red:#ac4a3d;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:#f5f6f2;color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #648b71;outline-offset:3px}button{color:inherit}h1,h2,h3,p{margin:0}.demo-strip{background:#e9eee5;border-bottom:1px solid #d8e0d3;padding:7px 28px;text-align:center;font-size:11px;letter-spacing:.3px;color:#596c59}.demo-label{padding:2px 6px;background:#dce6d5;border-radius:3px;font-weight:700;margin-right:8px}.topbar{height:79px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1256px)/2));background:#fafbf8}.brand{display:flex;gap:12px;align-items:center}.logo{font-size:27px;display:grid;place-items:center;width:38px;height:38px;background:var(--green);color:#f1f6eb;border-radius:11px}.brand b{display:block;font-size:17px;letter-spacing:1px}.brand div>span{display:block;font-size:10px;color:var(--muted);margin-top:2px}.top-right{display:flex;gap:18px;align-items:center}.read-only{font-size:11px;border:1px solid #d6dfd8;border-radius:5px;padding:4px 8px}.avatar{border-radius:50%;display:grid;place-items:center;background:#e6ebe3;color:#4e6555;font-size:12px;width:31px;height:31px}main{max-width:1256px;margin:auto;padding:30px 0 16px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:1.9px;color:#6a8274;margin-bottom:9px}h1{font-size:29px;letter-spacing:1px;font-weight:650}.page-heading p{margin-top:7px;color:var(--muted);font-size:12px}.date-card{display:grid;gap:3px;border-left:1px solid #dce3da;padding-left:20px;text-align:right;font-size:10px;color:var(--muted)}.date-card b{color:#324b3e;font-size:17px;font-weight:600}.date-card b small{font-size:10px;font-weight:400;margin-left:5px}.date-card strong{font-weight:500;font-variant-numeric:tabular-nums}.connection{display:flex;align-items:center;gap:24px;background:var(--green);color:white;border-radius:10px;padding:17px 21px;box-shadow:0 4px 10px #13332808}.connection-title{display:flex;gap:11px;align-items:center}.dot{display:inline-block;width:7px;height:7px;background:#67af85;border-radius:50%;flex-shrink:0}.connection-title .dot{box-shadow:0 0 0 4px #67af851e}.connection-title b{display:block;font-size:13px;font-weight:550}.connection-title div>span{display:block;font-size:10px;margin-top:3px;color:#bdd3c7}.connection-facts{display:flex;margin-left:auto;gap:30px}.connection-facts span{display:grid;font-size:10px;color:#bdd3c7;gap:3px}.connection-facts b{font-size:11px;font-weight:500;color:#ecf3ed}.text-button{background:transparent;border:0;color:#e9f4ec;font-size:11px;padding:7px 8px}.connection.offline{background:#5c625b}.demo-controls{display:flex;gap:12px;align-items:center;margin:15px 0;font-size:10px;color:#6d7f71}.segmented{display:flex;padding:3px;background:#e9ede6;border-radius:6px}.segmented button{border:0;background:transparent;border-radius:4px;padding:5px 11px;font-size:10px;color:#6b7b6e}.segmented button.active{background:#fff;color:#214d3b;box-shadow:0 1px 3px #20342112}.quiet{margin-left:auto;color:#a0aaa0}.risk-alert{display:flex;align-items:center;gap:12px;border:1px solid #e7d8b7;border-radius:8px;background:#fcf8ec;padding:12px 16px;margin-bottom:19px}.alert-icon{display:grid;place-items:center;background:#f3e9ce;border-radius:50%;width:27px;height:27px;color:#986520;font-size:15px;flex-shrink:0}.risk-alert b{font-size:12px;color:#805922}.risk-alert p{font-size:11px;color:#9c865e;margin-top:2px}.risk-alert button{margin-left:auto;white-space:nowrap;border:0;background:transparent;color:#946929;font-size:11px}.risk-alert.good{background:#edf3ec;border-color:#d6e2d3}.risk-alert.good b,.risk-alert.good p{color:#567255}.risk-alert.offline{background:#f4ede7;border-color:#e2d5c7}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:27px}.stat{background:#fcfdfa;border:1px solid var(--line);border-radius:9px;padding:17px 19px;text-align:left;display:flex;align-items:center;justify-content:space-between}.stat span{display:block;font-size:11px;color:#75847a}.stat strong{font-size:29px;font-weight:550;letter-spacing:-1px;font-variant-numeric:tabular-nums;display:block;margin-top:4px;line-height:1.1}.stat small{font-size:10px;color:#8b998f;align-self:flex-end}.stat:first-child{border-color:#b9cdbb}.stat.warning strong{color:#a3722c}.primary-nav{display:flex;gap:27px;border-bottom:1px solid #dce4dc;margin-bottom:18px}.primary-nav button{border:0;border-bottom:2px solid transparent;background:transparent;padding:0 0 12px;font-size:13px;color:#859087}.primary-nav button.active{border-color:var(--green);color:var(--green);font-weight:650}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 365px;gap:19px;align-items:start}.list-panel,.detail-panel{border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0;overflow:hidden}.list-heading{padding:20px 20px 15px;display:flex;justify-content:space-between;align-items:center}.list-heading h2{font-size:16px;font-weight:650}.list-heading div>span{font-size:10px;color:#8e9991;display:block;margin-top:4px}.count{font-size:10px;background:#f1f4ee;border-radius:4px;padding:3px 7px;color:#78867c}.filters{display:flex;gap:6px;padding:0 20px 13px}.filters button{border:0;background:#f4f6f2;color:#7a887e;font-size:11px;padding:6px 13px;border-radius:5px}.filters button.active{background:var(--green);color:white}.search-row{margin:0 20px 10px;display:flex;gap:12px;align-items:center}.search{display:flex;align-items:center;gap:7px;padding:6px 9px;background:#f7f8f5;border:1px solid #e9ede6;border-radius:5px;flex:1;min-width:0}.search>span{font-size:19px;line-height:1;color:#99a499}.search input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:11px;color:#47604e}.search input::placeholder{color:#9ca69d}.search button{border:0;background:transparent;color:#94a091}.checkbox{font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:3px;color:#7b877c}.checkbox input{accent-color:var(--green)}.stock-row{width:100%;display:block;background:white;border:0;border-top:1px solid #eef1eb;text-align:left;padding:17px 20px;position:relative}.stock-row:hover{background:#fafcf8}.stock-row.selected{background:#f3f7f0;box-shadow:inset 3px 0 #3d7452}.row-top{display:flex;align-items:center;gap:8px}.row-top h3{font-size:15px;font-weight:600}.symbol{font-size:9px;color:#8b958c;letter-spacing:.4px}.badge{margin-left:auto;font-size:10px;padding:2px 7px;background:#edf4ec;color:#39714a;border-radius:4px;white-space:nowrap}.badge.filled{background:#f8ede9;color:#b56753}.badge.canceled{background:#edf0f3;color:#6b7e90}.row-middle{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:12px}.row-values{display:flex;gap:25px}.metric span{display:block;font-size:10px;color:#8b978c}.metric b{display:block;font-size:14px;font-weight:550;margin-top:3px;font-variant-numeric:tabular-nums}.metric em{font-size:9px;font-style:normal;color:#738273;margin-left:3px}.spark{width:98px;height:32px;flex-shrink:0}.row-foot{display:flex;justify-content:space-between;gap:8px;margin-top:12px;font-size:10px;color:#89978a}.row-foot .warning{color:#ad792e}.row-foot .ok{color:#5f8268}.row-foot span:last-child{white-space:nowrap}.arrow{color:#a8b7a7;margin-left:8px}.list-foot{padding:11px 20px;font-size:9px;background:#fbfcf9;color:#a4aea4;border-top:1px solid var(--line)}.detail-head{padding:19px 20px;background:#f9fbf7;border-bottom:1px solid var(--line)}.detail-top{display:flex;align-items:center;gap:8px}.detail-top h2{font-size:20px;font-weight:650}.detail-top button{margin-left:auto;display:none;background:transparent;border:0;font-size:24px}.detail-sub{display:flex;justify-content:space-between;font-size:10px;color:#8a988c;margin-top:5px}.detail-body{padding:17px 20px}.section-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:12px;font-weight:650}.section-label span{font-weight:400;font-size:9px;color:#a2aca3}.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px}.health-cell{padding:9px;background:#f5f7f2;border-radius:5px}.health-cell span{display:block;font-size:9px;color:#8b988c}.health-cell b{font-size:12px;font-weight:550;display:block;margin-top:3px}.health-cell.warn{background:#fbf4e5}.health-cell.warn b{color:#ac772b}.detail-note{font-size:10px;color:#8a774f;background:#fcf9ef;border-left:2px solid #d1ad65;padding:9px 10px;line-height:1.7}.detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:17px 0}.detail-metrics .metric b{font-size:19px}.divider{height:1px;background:var(--line);margin:19px 0}.order-box{border:1px solid #e7ece3;border-radius:6px;padding:12px;background:#fdfefb;margin-top:8px}.order-box header{display:flex;align-items:center;justify-content:space-between;font-size:11px}.order-box header span{font-size:9px;color:#929f92}.order-box .clock-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.clock-row span{font-size:9px;color:#8e9a8e;display:block}.clock-row b{display:block;font-size:11px;font-variant-numeric:tabular-nums;margin-top:4px;font-weight:600}.timings{margin:10px 0 0;border-top:1px solid var(--line);padding-top:7px}.timings div{display:flex;justify-content:space-between;gap:8px;font-size:10px;padding:3px 0}.timings dt{color:#899689}.timings dd{margin:0;font-variant-numeric:tabular-nums}.timings .total{font-weight:650;border-top:1px solid #e9eee5;margin-top:5px;padding-top:6px}.timings .total dt{color:#3e624a}.small-note{color:#98a394;font-size:9px;line-height:1.6;margin-top:6px}details{margin-top:10px}summary{font-size:10px;color:#6a8270;cursor:pointer}.event{display:flex;gap:9px;padding:8px 0;font-size:10px}.event time{flex-shrink:0;color:#89998a;font-variant-numeric:tabular-nums}.event p{color:#54725d}.empty{text-align:center;padding:65px 20px;color:#8a9c8f;font-size:12px}.review-row{padding:22px;border-top:1px solid var(--line)}.review-row h3{font-size:14px}.review-row p{font-size:11px;color:#8b998d;margin:7px 0}.review-row .review-grid{display:flex;gap:25px;margin-top:14px}footer{display:flex;justify-content:space-between;padding:22px 1px 6px;font-size:9px;color:#96a18f}footer .dot{width:5px;height:5px;margin-right:6px;background:#9aad92}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:12px 19px;background:#254e3d;color:white;box-shadow:0 5px 20px #1a3b2630;border-radius:7px;z-index:20;display:none;font-size:12px;max-width:90vw}.toast.visible{display:block}.offline-values .metric b{color:#899286}.offline-tag{color:#986d43;font-size:10px}
@media(max-width:1320px){main{margin:0 28px}.workspace{grid-template-columns:minmax(0,1fr) 345px}}
@media(max-width:850px){.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:12px}.connection-facts{gap:15px}.row-values{gap:17px}.spark{display:none}.stat{padding:15px}.stat small{display:none}.desktop{display:none}}
@media(max-width:680px){body{font-size:13px}.demo-strip{padding:7px 5px;font-size:10px}.topbar{height:65px;padding:0 17px}.brand b{font-size:16px}.brand div>span{font-size:9px}.logo{width:33px;height:33px;font-size:22px}.read-only{display:none}.avatar{width:28px;height:28px}main{margin:0;padding:23px 14px 12px}.page-heading{margin-bottom:18px}.eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:24px}.page-heading p{font-size:10px;max-width:220px;margin-top:7px}.date-card{display:none}.connection{padding:13px 14px;gap:5px;flex-wrap:wrap;border-radius:8px}.connection-title{flex:1}.connection-title b{font-size:12px}.connection-title div>span{font-size:9px}.connection-facts{order:3;width:100%;justify-content:space-between;border-top:1px solid #ffffff18;padding-top:9px;margin-top:9px}.connection-facts span{display:flex;gap:6px;align-items:center;font-size:9px}.connection-facts b{font-size:9px}.text-button{font-size:10px;padding:4px}.demo-controls{gap:6px;flex-wrap:wrap;margin:12px 0}.demo-controls>span:first-child{font-size:9px}.segmented{flex:1;justify-content:space-between}.segmented button{font-size:9px;padding:5px 8px;flex:1}.risk-alert{padding:11px 12px;gap:8px;margin-bottom:13px;align-items:flex-start}.risk-alert b{font-size:11px}.risk-alert p{font-size:10px}.risk-alert button{font-size:10px;padding:2px 0}.alert-icon{width:22px;height:22px;font-size:12px}.stats{gap:7px;margin-bottom:21px}.stat{padding:11px 10px;border-radius:7px}.stat span{font-size:9px}.stat strong{font-size:24px;margin-top:7px}.primary-nav{gap:24px;margin-bottom:13px}.primary-nav button{font-size:12px;padding-bottom:10px}.workspace{display:block}.list-heading{padding:16px 14px 12px}.list-heading h2{font-size:14px}.list-heading div>span{font-size:9px}.filters{padding:0 14px 12px;gap:6px}.filters button{font-size:10px;padding:6px 12px}.search-row{margin:0 14px 8px;gap:6px}.search input{font-size:10px}.checkbox{font-size:9px}.stock-row{padding:15px 14px}.row-top h3{font-size:14px}.row-values{gap:23px}.row-middle{margin-top:11px}.metric span{font-size:9px}.metric b{font-size:13px}.row-foot{font-size:9px}.detail-panel{display:none}.detail-panel.mobile-open{display:block;position:fixed;z-index:10;inset:64px 0 0;overflow-y:auto;border-radius:16px 16px 0 0;box-shadow:0 -10px 60px #112e3440}.detail-panel.mobile-open .detail-head{position:sticky;top:0;z-index:1}.detail-top button{display:block}.detail-body{padding-bottom:35px}.detail-metrics .metric b{font-size:21px}.timings div{font-size:12px;padding:5px 0}.order-box{padding:14px}.clock-row b{font-size:13px}.clock-row span{font-size:10px}.event{font-size:11px}.small-note{font-size:10px}.health-cell b{font-size:14px}.section-label{font-size:13px}footer{font-size:8px;padding-top:17px}.list-foot{font-size:9px;padding:10px 14px}.toast{bottom:20px;font-size:11px;width:max-content}}
[hidden]{display:none!important}
.mobile-options{display:none}
@media(max-width:680px){
 .demo-strip{padding:3px 8px;font-size:10px;line-height:18px}
 .topbar{height:44px;padding:0 14px}
 .brand div>span,.avatar,.page-heading{display:none}
 .brand b{font-size:15px}.logo{width:26px;height:26px;font-size:18px}
 .mobile-options{display:block;background:transparent;border:1px solid #d6dfd8;border-radius:5px;color:#58705f;font-size:11px;padding:4px 8px;min-height:32px}
 main{padding:8px 12px 12px}
 .connection{padding:8px 11px;min-height:54px}
 .connection-title b{font-size:11px}.connection-title div>span{font-size:9px;margin-top:1px}
 .connection-facts,.demo-controls{display:none}
 .show-demo-options .connection-facts,.show-demo-options .demo-controls{display:flex}
 .demo-controls{margin:8px 0}
 .risk-alert{padding:6px 9px;gap:6px;margin:7px 0;align-items:center;min-height:32px}
 .risk-alert p{display:none}.risk-alert.offline p{display:block;font-size:10px}
 .risk-alert b{font-size:11px}.alert-icon{width:18px;height:18px;font-size:11px}
 .stats{gap:5px;margin:8px 0 10px}
 .stat{padding:7px 8px}.stat>div{width:100%;display:flex;align-items:center;justify-content:space-between;gap:3px}
 .stat span{font-size:10px}.stat strong{font-size:20px;margin:0;letter-spacing:0}
 .primary-nav{gap:23px;margin-bottom:8px}.primary-nav button{padding:3px 0 6px;font-size:12px}
 .list-heading{padding:8px 12px 6px}.list-heading h2{font-size:12px}.list-heading div>span{display:none}
 .filters{padding:0 12px 7px}.filters button{padding:5px 10px;font-size:11px}
 .search-row{margin:0 12px 7px}.search{padding:5px 8px}
}
.install-app{background:#164b3c;color:#fff;border:0;border-radius:5px;padding:6px 10px;font-size:11px;min-height:32px}dialog{border:1px solid #d6dfd8;border-radius:14px;padding:22px;max-width:420px;width:calc(100% - 32px);color:#1d302a}dialog::backdrop{background:#142e2966}.install-heading{display:flex;justify-content:space-between;align-items:center}.install-heading h2{font-size:18px}.install-heading button{border:0;background:none;font-size:24px;padding:3px 9px}dialog h3{font-size:14px;margin-top:16px}dialog p{font-size:13px;margin-top:8px;line-height:1.7}dialog small{display:block;font-size:11px;color:#7a8882;margin-top:16px}.network-warning{padding:8px 14px;background:#fff1d6;color:#82521b;text-align:center;font-size:12px}@media(max-width:680px){.top-right{gap:6px}.install-app{font-size:10px;padding:4px 8px}.topbar{padding-top:env(safe-area-inset-top);height:calc(44px + env(safe-area-inset-top))}main{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}

.record-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:14px 0}.record-main>div{min-width:0}.record-main b{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cancel-condition{line-height:1.8;overflow-wrap:anywhere}.cancel-record .record-main b{font-size:13px}.order-box details{margin-top:12px}

.row-history{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:10px;color:#77877b}.filters{flex-wrap:wrap}@media(max-width:680px){.stat{display:block}.stat small{display:block;text-align:right;font-size:8px;margin-top:1px}.row-history{font-size:9px}.list-heading div>span{display:block;font-size:9px}}

.stat.active{background:#e4eee3;border-color:#4c7557;box-shadow:inset 0 0 0 1px #4c7557}.stat.active span,.stat.active strong{color:#164b3c}.list-actions{display:flex;gap:12px;padding:0 20px 10px}.list-actions button{border:0;background:none;padding:3px 0;font-size:11px;color:#346a4d;text-decoration:underline;text-underline-offset:3px}@media(max-width:680px){.list-actions{padding:0 12px 7px}}

.stats{grid-template-columns:repeat(5,minmax(0,1fr))}.stat{min-width:0}@media(max-width:680px){.stat{padding:7px 5px;text-align:center}.stat>div{display:block}.stat span{font-size:10px;white-space:nowrap}.stat strong{margin:4px 0 0;font-size:20px}.stat small{text-align:center}}

.unordered-summary{margin-top:12px;display:grid;gap:10px}.first-touch span,.unordered-reason>span{display:block;font-size:10px;color:#819084}.first-touch b{display:block;margin-top:3px;font-size:14px;font-variant-numeric:tabular-nums;color:#264d3a}.unordered-reason p,.unordered-detail p{margin-top:4px;font-size:12px;line-height:1.7;color:#45624f;white-space:normal;overflow-wrap:anywhere}.unordered-detail{margin:16px 0}.unordered-detail .section-label{margin-bottom:7px}

.connection{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"status lock refresh" "funds funds sync";grid-template-rows:18px 18px;gap:2px 8px;height:54px;min-height:54px;padding:8px 11px;margin-bottom:12px;align-content:center;align-items:center}.connection-title{grid-area:status;min-width:0;gap:7px}.connection-title b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.connection .text-button{grid-area:refresh;justify-self:end;padding:0;font-size:10px;white-space:nowrap}.lock-chip{grid-area:lock;border:1px solid #ffffff45;border-radius:4px;padding:0 5px;font-size:10px;line-height:17px;white-space:nowrap;color:#e6efea}.lock-chip strong{font-weight:600}.lock-chip[data-state="locked"]{color:#d5f8e0;border-color:#b9ecc169}.lock-chip[data-state="armed"]{color:#ffe3a5;background:#8c581545;border-color:#ffd38a8f}.lock-chip[data-state="unknown"]{color:#e0e2df;border-color:#dce4dc50}.funds-inline{grid-area:funds;min-width:0;margin:0;line-height:18px}.funds-inline summary{display:flex;align-items:center;gap:5px;font-size:10px;color:#d5e4dc;list-style:none;white-space:nowrap;cursor:pointer}.funds-inline summary::-webkit-details-marker{display:none}.funds-inline summary strong{font-size:12px;color:#fff;font-weight:600;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}.funds-chevron{font-size:10px;opacity:.7}.funds-inline summary:focus-visible{outline:2px solid #c9dfd1;outline-offset:2px;border-radius:3px}.funds-detail{position:absolute;left:0;top:calc(100% + 5px);z-index:6;width:min(320px,calc(100vw - 24px));padding:12px 14px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;box-shadow:0 5px 20px #13332820;line-height:1.7}.funds-detail p{font-size:12px;overflow-wrap:anywhere}.funds-detail small{display:block;font-size:10px;color:#687b6e}.sync-time{grid-area:sync;justify-self:end;font-size:9px;color:#c4d8cb;white-space:nowrap;max-width:112px;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}

/* Preserve last verified funds without presenting them as fresh. */
.funds-inline summary strong[data-stale="true"]{color:#b9c6bf}.funds-inline summary small{font-size:9px;color:#d8d3b8;white-space:nowrap}.funds-inline summary small:empty{display:none}
.market-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 16px;margin-top:10px;font-size:11px;color:#77877b}.market-summary b{font-size:12px;margin-left:4px;color:#344c3d}.market-summary small{margin-left:auto;font-size:9px;font-variant-numeric:tabular-nums}.market-summary .result-sealed{color:#286340}.market-summary .result-opened{color:#b64d35}.market-summary .result-unknown,.market-summary.is-stale b{color:#7d887f}.detail-head>.market-summary{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}

.order-duration{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:8px 0;padding:8px 10px;border-radius:6px;background:#edf4ee;font-size:11px;color:#446556}.order-duration strong{font-size:17px;color:#164b3c;font-variant-numeric:tabular-nums}

.metric small{display:block;color:var(--muted,#75868a);font-size:10px;margin-top:3px;white-space:nowrap}

/* v0.3.13: readable type and explicit market result emphasis. */
body{font-size:15px}
.row-top{flex-wrap:wrap}.row-top h3{font-size:18px}.symbol{font-size:12px;color:#65756a}.badge{font-size:12px}
.metric span,.first-touch span,.unordered-reason>span{font-size:12px;color:#637669}.metric b,.first-touch b{font-size:17px}.metric small{font-size:12px;white-space:normal}
.unordered-reason p,.unordered-detail p{font-size:15px;line-height:1.75;color:#354f40}
.row-foot,.row-history{font-size:12px;color:#65756a;flex-wrap:wrap}.row-foot span:last-child{white-space:normal}
.market-summary{gap:8px 14px;font-size:13px;color:#607166}.market-summary>span{display:inline-flex;align-items:center;gap:6px}
.market-summary b{font-size:17px;font-weight:700;margin:0;padding:2px 8px;border-radius:5px;line-height:1.4;font-variant-numeric:tabular-nums}
.market-summary .result-sealed{color:#17643b;background:#e7f4eb}.market-summary .result-opened{color:#a43d25;background:#fff0e8}
.market-summary .has-opens{color:#9b4a10;background:#fff1d9}.market-summary .no-opens{color:#52665a;background:#eef2ed}
.market-summary .result-unknown,.market-summary .count-unknown,.market-summary.is-stale b{color:#667269;background:#eff1ed}.market-summary small{font-size:12px}
.detail-top h2{font-size:23px}.detail-sub{font-size:13px;color:#65756a}.section-label{font-size:17px}.section-label span{font-size:12px;color:#697b6d}
.order-box header{font-size:16px;gap:8px;flex-wrap:wrap}.order-box header span{font-size:12px;color:#637669}.clock-row span{font-size:12px;color:#637669}.clock-row b,.cancel-record .record-main b{font-size:16px}
.order-duration{font-size:13px;color:#6b796e;background:transparent;padding:0;border-radius:0;margin:6px 0}.order-duration strong{font-size:13px;font-weight:400;color:inherit}summary{font-size:13px}.timings div{font-size:13px}.timings dt{color:#65756a}.timings dd{flex-shrink:0}.small-note{font-size:12px;color:#6b796e}.cancel-condition{font-size:14px}
.list-heading h2{font-size:16px}.list-heading div>span,.count,.checkbox,.list-actions button{font-size:12px}.primary-nav button{font-size:15px}.filters button{font-size:13px}.search input{font-size:16px}.list-foot,footer{font-size:11px}
@media(max-width:680px){
 body{font-size:15px}.brand b{font-size:17px}.mobile-options,.install-app{font-size:12px}.demo-strip{font-size:11px}
 .connection{height:auto;min-height:66px;grid-template-rows:auto auto;gap:5px 7px}.connection-title b{font-size:12px}.connection .text-button,.lock-chip{font-size:12px}.funds-inline summary{font-size:12px}.funds-inline summary strong{font-size:14px}.funds-inline summary small,.sync-time{font-size:10px}.sync-time{max-width:100px}
 .risk-alert b{font-size:12px}.risk-alert.offline p{font-size:12px}.stats{gap:4px}.stat{padding:9px 3px}.stat span{font-size:11px;white-space:normal}.stat strong{font-size:23px}.stat small{font-size:10px}
 .row-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.row-top h3{font-size:19px}.row-top .symbol{grid-row:2;grid-column:1/-1}.row-top .badge{grid-row:1;grid-column:2}
 .row-values{flex-wrap:wrap;gap:12px 20px}.metric{min-width:0}.stock-row{padding:16px 14px}.market-summary small{flex-basis:100%;margin-left:0}
 .detail-head,.detail-body{padding-left:16px;padding-right:16px}.detail-top button{min-width:44px;min-height:44px}.order-box{padding:12px}.record-main{gap:9px}.timings div{gap:12px}.detail-panel.mobile-open{inset:calc(44px + env(safe-area-inset-top)) 0 0}
 .filters button{min-height:34px}.primary-nav{gap:24px}.primary-nav button{padding-bottom:9px}.search-row{flex-wrap:wrap}.checkbox{min-height:28px}
}
@media(max-width:359px){
 .connection{grid-template-areas:'status lock refresh' 'funds funds funds' 'sync sync sync';grid-template-rows:auto auto auto}.sync-time{justify-self:start;max-width:none}
 .market-summary{gap:8px 10px}.market-summary b{padding:2px 6px}.order-box .record-main{grid-template-columns:1fr}.timings div{flex-wrap:wrap}.timings dd{margin-left:auto}
}

.list-heading{gap:12px}.list-heading>div{min-width:0}.count{flex-shrink:0;white-space:nowrap}

/* v0.4.0 compact cards: keep readable type, remove duplicate clocks and chip fills. */
.stock-row{padding-top:11px;padding-bottom:11px}.row-middle,.unordered-summary{margin-top:7px}.row-foot{margin-top:6px}.row-history{margin-top:5px}.market-summary{margin-top:7px;gap:4px 15px}
.market-summary b,.market-summary .result-sealed,.market-summary .result-opened,.market-summary .has-opens,.market-summary .no-opens,.market-summary .result-unknown,.market-summary .count-unknown,.market-summary.is-stale b{background:transparent;padding:0;border-radius:0}
.unordered-summary{gap:5px}.first-touch{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.first-touch b{margin:0}.unordered-reason p{margin-top:2px;line-height:1.6}
.row-foot>.first-touch{display:block;margin:0 0 0 auto;font-size:11px;font-weight:400;color:#89978a;white-space:nowrap}.first-touch time{font:inherit;font-variant-numeric:tabular-nums}.metric .quantity-value{margin-top:3px;font-size:14px;font-weight:400;font-variant-numeric:tabular-nums}.metric .seal-placeholder{font-weight:400;color:#819084}

@media(max-width:680px){.stock-row{padding:10px 13px}.row-middle{margin-top:7px}.row-top{gap:2px 8px}.market-summary small{flex-basis:auto;margin-left:auto}.row-foot{font-size:11px;gap:4px}.unordered-reason p{font-size:15px}.top-right{gap:5px}.install-app{font-size:11px;padding:4px 7px}.brand b{font-size:16px}.logo{display:none}.detail-head{padding-top:10px;padding-bottom:10px}.detail-body{padding-top:12px}.unordered-detail{margin:8px 0 14px}}

/* Keep the three order clocks on one row, including narrow phones. */
.order-box .order-time-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}.order-time-row span{font-size:11px;white-space:nowrap}.order-time-row b{font-size:14px;font-weight:500;white-space:nowrap;overflow-wrap:normal}

/* Search is a compact secondary control; retain 16px input text for iOS focus. */
.search-row{gap:8px;margin-bottom:6px}.search{flex:1 1 150px;max-width:230px;height:30px;padding:2px 6px;gap:4px;background:#fcfdfa;border-color:#eef1eb;border-radius:4px}.search>span{font-size:16px;color:#99a499}.search input{font-size:16px;line-height:22px;height:22px}.search input::placeholder{font-size:12px;color:#89978a}.search button{width:24px;height:24px;padding:0;font-size:13px}.search:focus-within{border-color:#a6bcae}
.brand-date{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.brand-date select{max-width:168px;min-width:0;border:1px solid #dfe7db;background:#f7f9f4;border-radius:4px;padding:5px 3px;color:#52685a;font-family:inherit;font-size:12px}.brand .brand-date{margin:0}.next-day{border-top:1px solid #e4eae0;margin-top:10px;padding-top:8px}.next-day-head{display:flex;gap:6px;justify-content:space-between;color:#7a887c;font-size:11px}.next-day-head small{font-size:11px}.next-day-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:7px}.next-day-grid span{display:block;color:#7a887c;font-size:11px}.next-day-grid b{display:block;font-size:14px;font-weight:500;margin-top:3px;font-variant-numeric:tabular-nums}.next-day-grid .positive{color:#b64538}.next-day-grid .negative{color:#2f7857}.connection [hidden]{display:none!important}
@media(max-width:680px){.topbar{gap:7px;flex-wrap:wrap}.topbar .brand{flex:1;min-width:0}.brand-date{gap:5px}.brand-date select{max-width:148px;font-size:11px}.top-right .read-only,.top-right .avatar{display:none}.brand-date b{white-space:nowrap}.top-right{margin-left:auto}.next-day-head{flex-wrap:wrap}}

.return-basis{display:block;font-size:11px;color:#819084;margin-top:6px}

/* Keep result and open-count emphasis without increasing text size. */
.market-summary b{font-size:inherit;font-weight:700}

/* Independent sell status and the static homepage entrance. */
.sell-runtime-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.38fr);align-items:start;gap:12px;margin:12px 0 16px;color:#223b2d}
.sell-runtime-card,.sell-runtime-returns{min-width:0;background:#fff;border:1px solid #dce5da;border-radius:10px;padding:14px}
.sell-runtime-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sell-runtime-eyebrow{display:block;font-size:11px;color:#66786b;margin-bottom:4px}.sell-runtime-heading h2{font-size:15px;font-weight:600;margin:0}.sell-runtime-badge{background:#edf2eb;border-radius:5px;padding:4px 7px;font-size:11px;white-space:nowrap}.sell-runtime-badge[data-state="unknown"]{color:#815b21;background:#fff3db}.sell-runtime-badge[data-state="live"]{color:#815b21;background:#fff3db}
.sell-runtime-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin-top:12px;font-size:12px;color:#66786b}.sell-runtime-facts b{color:#223b2d;font-weight:600;overflow-wrap:anywhere}
.sell-runtime-subscriptions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #dce5da}.sell-runtime-subscriptions span{font-size:11px;color:#66786b}.sell-runtime-subscriptions b{display:block;font-size:20px;font-weight:500;margin-top:2px;font-variant-numeric:tabular-nums}
.sell-runtime-subscription-note,.sell-runtime-note,.sell-runtime-freshness{font-size:11px;line-height:1.6;color:#66786b;margin-top:8px;overflow-wrap:anywhere}.sell-runtime-subscription-note b{color:#815b21;font-weight:500}.sell-runtime-freshness.is-unknown{color:#815b21}.sell-runtime-details{margin-top:12px;padding-top:3px;border-top:1px solid #dce5da}.sell-runtime-details summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;list-style:none;font-size:12px;color:#223b2d}.sell-runtime-details summary::-webkit-details-marker{display:none}.sell-runtime-details summary small{color:#66786b;font-size:11px;margin-left:5px}.sell-runtime-details[open] .sell-runtime-chevron{transform:rotate(180deg)}
.sell-runtime-record{padding:11px 0;border-top:1px solid #dce5da}.sell-runtime-record header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 8px;font-size:12px}.sell-runtime-record header b{font-weight:600}.sell-runtime-record header span{font-size:11px;color:#66786b}.sell-runtime-record p{margin-top:5px;font-size:12px;line-height:1.6}.sell-runtime-record small{display:block;color:#66786b;font-size:11px;margin-top:4px}.sell-record-time{font-variant-numeric:tabular-nums}.sell-runtime-empty{font-size:12px;line-height:1.6;color:#66786b;padding:12px 0}
.sell-runtime-return-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.sell-runtime-return-heading b{font-weight:600}.sell-runtime-return-heading span{font-size:11px;color:#815b21}.sell-runtime-return-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.sell-runtime-return-grid span{font-size:11px;color:#66786b}.sell-runtime-return-grid b{display:block;font-size:19px;font-weight:500;color:#66786b;margin-top:3px}
@media(max-width:680px){.sell-runtime-panel{grid-template-columns:minmax(0,1fr);gap:10px;margin:10px 0 12px}.sell-runtime-card,.sell-runtime-returns{padding:12px}.sell-runtime-heading{flex-wrap:wrap}.sell-runtime-facts{gap:6px 9px}}
.sell-runtime-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:12px 0 16px;background:#fff;border:1px solid #dce5da;border-radius:8px;color:#223b2d;text-decoration:none}.sell-runtime-entry b{display:block;font-size:14px;font-weight:600}.sell-runtime-entry small{display:block;color:#66786b;font-size:11px;margin-top:4px}.sell-runtime-entry>span:last-child{font-size:12px;white-space:nowrap}.sell-runtime-back{font-size:13px;color:#164b3c;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.sell-runtime-page main{max-width:760px;margin:0 auto;padding:22px 18px 14px}.sell-runtime-page .sell-runtime-panel{grid-template-columns:minmax(0,1fr)}.sell-runtime-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sell-runtime-page-heading h1{font-size:22px;line-height:1.4;margin:0;letter-spacing:0}.sell-runtime-refresh{border:1px solid #dce5da;background:#fff;border-radius:6px;padding:8px 12px;color:#164b3c;font:inherit;font-size:12px;min-height:44px;white-space:nowrap}.sell-runtime-record-count{font-size:12px;color:#66786b}.sell-runtime-history .sell-runtime-note{margin-bottom:8px}.sell-runtime-page .sell-runtime-record:last-child{padding-bottom:0}.sell-runtime-page .brand>div>span{display:block;font-size:11px;color:#66786b;margin-top:3px}
@media(max-width:680px){.sell-runtime-entry{margin:10px 0 12px;padding:11px 12px}.sell-runtime-page main{padding:16px 12px calc(12px + env(safe-area-inset-bottom))}.sell-runtime-page .topbar{min-height:calc(56px + env(safe-area-inset-top));height:auto;gap:8px}.sell-runtime-page-heading{gap:8px;margin-bottom:12px}.sell-runtime-page-heading h1{font-size:19px}.sell-runtime-refresh{padding:7px 10px}.sell-runtime-page .brand>div>span{font-size:10px}}
.sell-runtime-holdings-list{min-width:0;margin-top:12px;overflow-wrap:anywhere}.sell-runtime-holdings-empty{padding:16px 0;font-size:13px;line-height:1.6;color:#66786b}.sell-runtime-holdings-note{padding-top:10px;border-top:1px solid #dce5da}
#sell-runtime-current{display:flex;flex-direction:column}#sell-runtime-current .sell-runtime-subscriptions{order:-1}
.sell-runtime-stock{border-top:1px solid #dce5da;padding:14px 0}.sell-runtime-stock:first-child{padding-top:4px;border-top:0}.sell-runtime-stock:last-child{padding-bottom:0}.sell-runtime-stock-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 12px}.sell-runtime-stock-heading h3{font-size:16px;font-weight:600}.sell-runtime-stock-heading p{font-size:12px;color:#66786b}.sell-runtime-stock-code{font-size:12px;color:#66786b;font-variant-numeric:tabular-nums}.sell-runtime-stock-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:12px 0}.sell-runtime-stock-facts div{min-width:0}.sell-runtime-stock-facts span{display:block;font-size:11px;color:#66786b}.sell-runtime-stock-facts b{display:block;font-size:12px;font-weight:500;color:#223b2d;margin-top:3px;overflow-wrap:anywhere}.sell-runtime-stock-facts .sell-runtime-rate{font-size:16px;font-variant-numeric:tabular-nums}.sell-runtime-signals{padding:10px 12px;background:#f5f7f3;border-radius:6px}.sell-runtime-signals>h4{font-size:12px;font-weight:600;margin:0 0 8px}.sell-runtime-signal{padding:10px 0;border-top:1px solid #dce5da}.sell-runtime-signal:first-of-type{border-top:0;padding-top:0}.sell-runtime-signal:last-child{padding-bottom:0}.sell-runtime-signal header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;font-size:12px}.sell-runtime-signal header b{font-weight:500}.sell-runtime-signal header span{font-size:11px;color:#66786b}.sell-runtime-signal p{font-size:12px;line-height:1.65;margin-top:5px}.sell-runtime-signal time{font-variant-numeric:tabular-nums}.sell-runtime-signal .sell-runtime-signal-observed{font-size:11px;color:#66786b}.sell-runtime-signal-empty{font-size:12px;color:#66786b;line-height:1.6}.sell-runtime-page .sell-runtime-subscriptions{margin:4px 0 14px;padding:0 0 12px;border-top:0;border-bottom:1px solid #dce5da}.sell-runtime-old-list{color:#815b21}

.unordered-reason p.current-strategy-note,.unordered-detail p.current-strategy-note{font-size:11px;color:var(--muted);font-weight:400}
.operation-timeline{padding:2px 0 14px}.timeline-note,.timeline-empty{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 18px}.timeline-list{list-style:none;padding:0 0 0 18px;margin:0 0 0 5px;border-left:1px solid #dbe5de}.timeline-event{position:relative;padding:0 0 25px 9px;min-width:0}.timeline-event:last-child{padding-bottom:4px}.timeline-event::before{content:'';position:absolute;left:-23px;top:3px;width:9px;height:9px;background:#669bb5;border:3px solid #fff;border-radius:50%;box-sizing:content-box}.timeline-event.tone-warning::before{background:#d79a3c}.timeline-event.tone-touch::before{background:#be6e68}.timeline-event.tone-check::before,.timeline-event.tone-fill::before{background:#427e62}.timeline-event.tone-cancel::before{background:#9b8a75}.timeline-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:#7d8a82;font-size:11px;font-variant-numeric:tabular-nums}.timeline-meta span{margin-left:auto}.timeline-event h4{font-size:15px;font-weight:650;line-height:1.5;margin:5px 0 7px;color:#273c31}.timeline-action>p{font-size:13px;line-height:1.75;margin:0;color:#617268;overflow-wrap:anywhere}.timeline-event .timeline-source{font-size:11px;color:#839087;margin-top:8px}.timeline-checks{list-style:none;padding:9px 11px;margin:10px 0 0;border-radius:6px;background:#f4f7f2}.timeline-checks li{padding:6px 0;border-bottom:1px solid #e5ebe2;font-size:12px;line-height:1.6}.timeline-checks li:last-child{border-bottom:0}.timeline-checks li>span{color:#617268}.timeline-checks li>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px}.timeline-checks b{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.check-rule{color:#748278}.timeline-checks em{font-size:11px;font-style:normal;margin-left:auto;white-space:nowrap}.check-pass{color:#287253}.check-fail{color:#b76832}.check-recorded,.check-unknown{color:#839087}.original-records{border-top:1px solid #dde5dd;padding-top:14px}.original-records>summary{font-size:13px;color:#66796a;padding-bottom:12px;cursor:pointer}

.reason-filter-wrap{min-width:0;flex:0 1 144px;margin-left:auto}.reason-filter-wrap[hidden]{display:none}.reason-filter-wrap select{width:100%;height:30px;border:1px solid #e4eae5;border-radius:4px;background:#fcfdfa;color:#597365;font-size:12px;padding:2px 5px}.search-row:has(.reason-filter-wrap:not([hidden])){flex-wrap:nowrap}.search-row:has(.reason-filter-wrap:not([hidden])) .search{min-width:0;flex:1 1 120px}

.card-badges{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px}.card-badges .badge{margin-left:0}.quality-badge{display:inline-block;font-size:11px;line-height:1.5;padding:2px 5px;background:#f1f3ee;color:#68786c;border:1px solid #e2e7df;border-radius:4px;font-weight:500;white-space:nowrap}.quality-badge[data-grade="A"],.quality-badge[data-grade="S"],.quality-badge[data-grade="S+"]{color:#245c45;background:#edf4ee}.quality-badge[data-grade="C"]{color:#99692f;background:#faf3e8}.detail-sub .quality-badge{margin-left:5px}@media(max-width:680px){.row-top .card-badges{grid-row:1;grid-column:2;max-width:180px}.card-badges .badge{font-size:11px}.row-top{grid-template-columns:minmax(0,1fr) auto}.row-top h3{overflow-wrap:anywhere}}

.detail-tabs{display:flex;gap:0;padding:0 18px;background:#fff;border-bottom:1px solid #e1e8e1}.detail-tabs button{flex:1;padding:12px 5px;font-size:13px;color:#7a887e;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;cursor:pointer}.detail-tabs button[aria-selected="true"]{color:#245d46;border-bottom-color:#427e62;font-weight:600}.detail-tabs button:focus-visible{outline:2px solid #427e62;outline-offset:-3px}#timeline-panel[hidden],#records-panel[hidden]{display:none}

.timeline-action{position:relative;display:flow-root}.timeline-action+.timeline-action{margin-top:10px;padding-top:9px;border-top:1px solid #edf1ec}.timeline-order{float:right;margin:7px 0 0 10px;font-size:11px;color:#7d8a82}.timeline-action h4{font-size:14px;margin:5px 0}.timeline-action>p{line-height:1.6}.timeline-action .timeline-checks{margin-top:7px}

/* Estimated shadow signals are distinct from executed cancellations. */
.shadow-signal-badge{display:inline-block;padding:3px 7px;margin:0 7px 7px 0;border-radius:5px;background:#f1eafa;color:#694394;font-size:11px;font-weight:600}.timeline-event.tone-shadow::before{background:#8865aa}.timeline-shadow-status{font-size:12px;color:#70697b;line-height:1.6;padding:8px 10px;background:#f7f4fa;border-radius:6px}.timeline-action .timeline-source{overflow-wrap:anywhere}

.shadow-order-status{margin:10px 0;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.shadow-order-status p{margin:4px 0}.shadow-order-status[data-calculating="true"]{border-left:3px solid #16815d}.shadow-order-status details{margin-top:5px}

.recording-integrity{margin-top:8px!important;padding-top:8px;border-top:1px solid #c18a3a66;color:#915512;font-size:12px;line-height:1.5}
