.follow-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:30px 0}.follow-intro h2{font-size:28px;margin:10px 0}.follow-intro p{color:var(--muted);line-height:1.8;max-width:800px}.follow-intro a{white-space:nowrap;font-size:13px}.follow-columns,.follow-grid{display:grid;grid-template-columns:1.1fr 1.5fr .65fr 1.4fr;gap:22px;padding:20px}.follow-columns{background:#f5f8fc;color:var(--muted);font-size:12px}.follow-card{border-top:1px solid var(--line)}.follow-card h3{font-size:16px;margin:0 0 10px}.follow-card .actions{gap:7px;flex-wrap:wrap}.follow-card select,.follow-card input{width:100%;padding:10px;font-size:13px}.follow-card small{display:block;color:var(--muted);margin:8px 0;line-height:1.7}.follow-card details{padding:0 20px 18px}.follow-card summary{font-size:13px;color:#2760cb;cursor:pointer}.follow-details{margin-top:18px}.follow-details h4{margin:18px 0 10px}.follow-details table{font-size:12px;min-width:640px}.follow-details th,.follow-details td{padding:11px 12px}.follow-details .exchange-heading th{font-size:13px}.follow-notes{color:var(--muted);line-height:1.9;font-size:13px}.follow-card .error{font-size:12px;white-space:pre-wrap}.follow-card .slot-state{font-size:12px;margin-top:10px;line-height:1.7}.follow-card .ratio{max-width:120px}.follow-card button{font-size:12px}.follow-card .pill{margin-right:5px}.follow-stale{background:#fffbf0;padding:12px;border-radius:7px;color:#856114;font-size:12px}.follow-card .follow-details[aria-busy="true"]{opacity:.6}@media(max-width:850px){.follow-intro{align-items:flex-start;flex-direction:column;gap:8px}.follow-columns{display:none}.follow-grid{grid-template-columns:1fr 1fr;gap:20px}.follow-grid>div:before{display:block;content:attr(data-label);font-size:11px;color:var(--muted);margin-bottom:8px}.follow-intro h2{font-size:23px}}@media(max-width:480px){.follow-grid{grid-template-columns:1fr}.follow-card .ratio{max-width:none}.follow-card details{padding-left:16px;padding-right:16px}}
.metrics{grid-template-columns:repeat(4,1fr)}@media(max-width:700px){.metrics{grid-template-columns:repeat(2,1fr)}}

.metrics small{display:block;color:var(--muted);font-size:12px;margin-top:8px}#followAudit{white-space:pre-line;font-size:12px;line-height:1.9;color:var(--muted)}#followClose{max-width:520px}#followCloseQuantities label{margin:12px 0}.follow-details small{max-width:300px}

.live-holdings{padding:0 20px 20px}.live-holdings h4{margin:0 0 10px}.live-holdings table{font-size:12px;min-width:760px}.live-holdings th,.live-holdings td{padding:11px 12px}.live-holdings small{max-width:300px}@media(max-width:480px){.live-holdings{padding-left:16px;padding-right:16px}}

.follow-card .slot-state.follow-active{color:#800020;font-weight:600}.holding-pnl-summary{background:#f8f4f6;font-weight:600}.holding-pnl-summary th,.holding-pnl-summary td{border-top:1px solid var(--line)}

.gdd-source-picker{position:relative}.gdd-source-options{position:absolute;top:54px;left:0;right:0;max-height:290px;overflow:auto;z-index:50;background:white;border:1px solid #cbd8eb;border-radius:10px;box-shadow:0 10px 28px #16305726;padding:6px}.gdd-source-options[hidden]{display:none}.gdd-source-options button{display:block;text-align:left;width:100%;border:0;border-radius:6px;padding:10px;background:transparent;color:#223753}.gdd-source-options button:hover,.gdd-source-options button:focus{background:#edf3ff}.gdd-source-options small{display:block;color:#6d829d}.gdd-source-options p{padding:12px}

.account-name-editor{display:flex;align-items:center;gap:8px;margin-bottom:10px;min-width:0}.account-name-editor input{width:100%;min-width:0;font:inherit;font-weight:600;padding:9px 10px}.account-name-editor button{flex:none;white-space:nowrap}

.account-details{margin-top:12px;border-top:1px solid #dbe4ef}.account-details>summary{cursor:pointer;padding:13px 4px;color:#41658c;font-weight:600}.batch-strategy-actions{flex-wrap:wrap;gap:8px}

.new-account-row{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:20px;border-top:1px solid var(--line)}.new-account-row[hidden]{display:none}.new-account-row label{display:grid;gap:8px;min-width:180px;max-width:280px;color:var(--muted);font-size:12px}.new-account-row input{font-size:13px;padding:10px}.new-account-row button{min-height:40px}.new-account-row small{color:var(--muted);line-height:1.7;padding-bottom:10px}@media(max-width:480px){.new-account-row label{flex:1;max-width:none;min-width:140px}.new-account-row small{width:100%;padding-bottom:0}}

/* Automatic workspace product selection; scoped to this component. */

.automatic-product-selector{margin:20px 0;padding:18px;border:1px solid #dce6f3;border-radius:12px;background:#f8fbff;min-width:0}
.automatic-product-selector h4{margin:0}.automatic-product-selector .section-head{gap:16px}.automatic-product-selector .section-head p{margin:8px 0 0}
.automatic-product-groups{display:grid;gap:14px;margin:18px 0}.automatic-product-exchange{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px;align-items:start}.automatic-product-exchange>strong{padding-top:12px;font-size:14px;color:#61758e}
.automatic-product-row{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.automatic-product-chip{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px;padding:8px 10px;border:1px solid #d5dfed;border-radius:8px;min-width:112px;max-width:100%;margin:0!important;background:#fff;cursor:pointer;box-sizing:border-box}
.automatic-product-chip.selected{background:#edf4ff;border-color:#5688dc;box-shadow:inset 0 0 0 1px #5688dc}.automatic-product-chip input{width:17px!important;height:17px!important;min-height:0!important;flex:none;margin:3px 0 0!important;accent-color:#2860d5}.automatic-product-chip span{min-width:0}.automatic-product-chip b,.automatic-product-chip small{display:block;overflow-wrap:anywhere}.automatic-product-chip b{font-size:14px;line-height:1.35}.automatic-product-chip small{font-size:12px;color:#6b7e95;line-height:1.35;margin:2px 0 0!important}.automatic-selection-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.automatic-selection-options .check{margin:0}.automatic-product-selector .actions{flex-wrap:wrap}.automatic-product-selector [data-selection-feedback]{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:640px){.automatic-product-selector{padding:12px}.automatic-product-exchange{grid-template-columns:1fr;gap:6px}.automatic-product-exchange>strong{padding-top:0}.automatic-product-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.automatic-product-chip{min-width:0;padding:9px 8px}.automatic-product-selector .section-head{align-items:flex-start;flex-wrap:wrap}.automatic-product-selector .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.automatic-product-selector .actions button{min-width:0;padding:10px 6px}}


/* Scoped contract universe and live monitor; other strategy templates retain their styles. */
.automatic-product-selector.aq-quant{margin:20px 0;padding:0;background:#fff;border:1px solid #cedbe9;border-radius:14px;overflow:hidden;color:#20334d;box-shadow:0 6px 24px #1c335708;min-width:0}
.aq-quant .aq-quant-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;background:#13283e;color:#fff}
.aq-quant .aq-kicker{color:#91adc6;font-size:10px;letter-spacing:1.8px;font-weight:600}.aq-quant .aq-quant-head h4{font-size:21px;letter-spacing:.5px;margin:8px 0}.aq-quant .aq-quant-head p{font-size:12px;color:#a9bed1;margin:0}.aq-quant .aq-feed-state{font-size:11px;color:#c3e6df;border:1px solid #365368;background:#203c50;border-radius:30px;padding:8px 12px;white-space:nowrap}
.aq-quant .aq-quant-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 24px;background:#f8fafd;border-bottom:1px solid #dce5ef;gap:16px}.aq-quant .aq-quant-metrics>div{border-right:1px solid #dce5ef;padding-right:12px}.aq-quant .aq-quant-metrics>div:last-child{border:0}.aq-quant .aq-quant-metrics span{display:block;font-size:11px;color:#63758d}.aq-quant .aq-quant-metrics b{display:block;font-size:26px;font-variant-numeric:tabular-nums;margin:6px 0;font-weight:600}.aq-quant .aq-quant-metrics small{font-size:10px;color:#8794a6;margin:0;line-height:1.5}
.aq-quant .aq-quant-layout{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:490px}.aq-quant .aq-universe{min-width:0;border-right:1px solid #dce5ef;background:#f8fafd}.aq-quant .aq-universe-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px}.aq-quant .aq-universe-head strong{font-size:13px}.aq-quant button{font-size:11px;padding:7px 10px;border-radius:6px}.aq-quant .aq-search{display:block;margin:0;padding:0 14px 12px}.aq-quant .aq-search>span{display:block;font-size:10px;color:#7a8ba1;margin-bottom:6px}.aq-quant .aq-search input{box-sizing:border-box;width:100%;height:34px;min-height:0;padding:7px 10px;font-size:12px;background:#fff;border-radius:6px}.aq-quant .aq-exchange-tree{height:450px;overflow:auto;overscroll-behavior:contain;border-top:1px solid #e3eaf2}.aq-quant .aq-exchange-heading{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #e0e8f1;border-radius:0;background:#edf2f8;color:#425b77;padding:10px 14px;text-align:left;font-weight:600}.aq-quant .aq-exchange-heading small{display:inline;margin-left:5px;font-size:9px;color:#899bb0}.aq-quant .aq-exchange-heading b{font-size:10px;color:#738aa4}.aq-quant .aq-product-toggle{display:flex;align-items:center;gap:9px;width:100%;background:transparent;border:0;border-radius:0;padding:10px 16px;text-align:left}.aq-quant .aq-product-toggle:hover{background:#e9f1fc}.aq-quant .aq-product-toggle>span:nth-child(2){display:flex;align-items:baseline;gap:8px}.aq-quant .aq-product-toggle strong{font-size:12px}.aq-quant .aq-product-toggle small{font-size:10px;margin:0;color:#8092a9}.aq-quant .aq-expand-icon{width:17px;height:17px;display:grid;place-items:center;border:1px solid #becfe1;border-radius:4px;background:#fff;color:#426a99;font-size:15px;line-height:1}.aq-quant .aq-picked-badge{margin-left:auto;color:#2862b3;font-size:10px;border-radius:10px;background:#e0ebfc;padding:2px 7px}.aq-quant .aq-contract-options{padding:0 12px 9px 34px}.aq-quant .aq-contract-option{display:flex;align-items:flex-start;gap:7px;margin:0 0 6px;padding:8px;background:#fff;border:1px solid #dce5ef;border-radius:6px;cursor:pointer}.aq-quant .aq-contract-option.selected{background:#eef5ff;border-color:#719bd8}.aq-quant input[type=checkbox]{width:14px!important;height:14px;min-height:0;flex:none;accent-color:#2b64be;padding:0;margin:3px 0}.aq-quant .aq-contract-option span{min-width:0}.aq-quant .aq-contract-option em,.aq-quant .aq-monitor-symbol em{font-style:normal;font-size:9px;color:#53779d}.aq-quant .aq-contract-option strong{display:block;font:600 11px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.aq-quant .aq-contract-option small{font-size:9px;line-height:1.6;margin:2px 0 0;color:#8191a6;overflow-wrap:anywhere}.aq-quant .aq-contract-unavailable{display:flex;justify-content:space-between;padding:7px;font-size:10px;color:#94a0af}.aq-quant .aq-catalog-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#8696ab}.aq-quant .aq-catalog-meta button{padding:3px 6px;background:transparent;border:0;font-size:10px;color:#426d9d}.aq-quant .aq-tree-note{padding:10px 14px;margin:0;font-size:10px;color:#7c8da1;line-height:1.6}.aq-quant .aq-tree-empty{padding:25px 15px;color:#8191a6;font-size:12px}
.aq-quant .aq-monitor{min-width:0;overflow:hidden}.aq-quant .aq-monitor-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid #e3eaf2}.aq-quant .aq-monitor-tabs{display:flex;gap:4px;flex-wrap:wrap}.aq-quant .aq-monitor-tabs button{border:0;background:transparent;color:#6b7d92;padding:7px 10px}.aq-quant .aq-monitor-tabs button[aria-pressed=true]{background:#e9f1ff;color:#275fb3;font-weight:600}.aq-quant [data-selection-count]{font-size:10px;color:#8192a8;white-space:nowrap}.aq-quant .aq-monitor-scroll{overflow:auto;max-height:510px;min-height:370px;overscroll-behavior:contain}.aq-quant .aq-monitor-table{table-layout:fixed;min-width:970px;width:100%;border-collapse:collapse;font-size:11px}.aq-quant .aq-monitor-table th{position:sticky;top:0;z-index:1;background:#f5f8fc;color:#70829a;font-size:10px;font-weight:500;text-align:left;white-space:normal;padding:12px 10px;border-bottom:1px solid #dce5ef}.aq-quant .aq-monitor-table td{padding:15px 10px;vertical-align:top;border-bottom:1px solid #e9eef5;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.aq-quant .aq-monitor-table tbody tr:hover{background:#f8fbff}.aq-quant .aq-monitor-table strong{font-size:11px;font-weight:600;font-variant-numeric:tabular-nums}.aq-quant .aq-monitor-table small{font-size:10px;line-height:1.6;color:#8796ab;margin:4px 0 0}.aq-quant .aq-monitor-symbol{display:flex;align-items:flex-start;gap:7px;margin:0;cursor:pointer}.aq-quant .aq-monitor-symbol strong{display:block}.aq-quant .aq-monitor-symbol small{font:10px/1.5 ui-monospace,Consolas,monospace;white-space:nowrap;margin:3px 0}.aq-quant .aq-status{display:inline-block;padding:4px 7px;border-radius:5px;font-size:10px;line-height:1.5}.aq-quant .aq-status-live{background:#e5f3ed;color:#247259}.aq-quant .aq-status-blue{background:#e9f1ff;color:#3c6baf}.aq-quant .aq-status-warn{background:#fff3dc;color:#a7772d}.aq-quant .aq-status-muted{background:#f0f3f7;color:#8190a4}.aq-quant .aq-profit{color:#c64951}.aq-quant .aq-loss{color:#278b80}.aq-quant .aq-monitor-empty{text-align:center!important;color:#8797aa;height:230px;vertical-align:middle!important}.aq-quant .aq-monitor-note{font-size:10px;line-height:1.7;color:#7b8da3;padding:10px 18px;margin:0;border-top:1px solid #e9eef5}
.aq-quant .aq-col-symbol{width:14%}.aq-quant .aq-col-status{width:11%}.aq-quant .aq-col-price{width:11%}.aq-quant .aq-col-volume{width:8%}.aq-quant .aq-col-pnl{width:9%}.aq-quant .aq-col-stop{width:12%}.aq-quant .aq-col-profit{width:12%}.aq-quant .aq-col-add{width:17%}.aq-quant .aq-col-action{width:6%}
.aq-quant .aq-quant-footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:14px 18px;margin:0;background:#f7faff;border-top:1px solid #dce5ef}.aq-quant .automatic-selection-options{margin:0;gap:12px;font-size:11px}.aq-quant .automatic-selection-options label{font-size:11px;display:flex;gap:5px;align-items:center}.aq-quant .automatic-selection-options>span{font-size:10px;color:#7d8da2}.aq-quant .aq-quant-footer .actions{display:flex;flex-wrap:wrap;gap:7px}.aq-quant .aq-quant-footer p{flex-basis:100%;font-size:10px;line-height:1.7;color:#8392a5;margin:0}.aq-quant [data-selection-feedback]{margin:12px 18px}.automatic-account .aq-focused-strategy{background:#edf4ff}
@media(min-width:1700px){.aq-quant .aq-quant-layout{grid-template-columns:300px minmax(0,1fr)}.aq-quant .aq-monitor-table{font-size:12px}.aq-quant .aq-monitor-table strong{font-size:12px}}
@media(max-width:1000px){.aq-quant .aq-quant-layout{grid-template-columns:230px minmax(0,1fr)}.aq-quant .aq-monitor-tools{align-items:flex-start;flex-direction:column}.aq-quant .aq-quant-head{padding:18px}.aq-quant .aq-quant-metrics{padding:16px}.aq-quant .aq-quant-metrics b{font-size:22px}}
@media(max-width:700px){.aq-quant .aq-quant-head{align-items:flex-start;flex-direction:column;gap:12px}.aq-quant .aq-quant-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.aq-quant .aq-quant-metrics>div:nth-child(2){border:0}.aq-quant .aq-quant-layout{grid-template-columns:minmax(0,1fr)}.aq-quant .aq-universe{border-right:0;border-bottom:1px solid #dce5ef}.aq-quant .aq-exchange-tree{height:280px}.aq-quant .aq-contract-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-left:14px}.aq-quant .aq-contract-option{min-width:0;padding:7px 5px;gap:4px}.aq-quant .aq-contract-option small{display:none}.aq-quant .aq-catalog-meta{grid-column:1/-1}.aq-quant .aq-monitor-tools{flex-direction:row;align-items:center;padding:12px}.aq-quant .aq-monitor-tabs{gap:0}.aq-quant .aq-monitor-tabs button{padding:6px 7px}.aq-quant .aq-quant-footer .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.aq-quant .aq-quant-footer .actions button{padding:10px}.aq-quant .aq-monitor-scroll{max-height:400px;min-height:230px}}
@media(max-width:700px){.aq-quant .aq-contract-options{grid-template-columns:minmax(0,1fr)}.aq-quant .aq-contract-option small{display:block}}

/* Preserve the exchange tree and monitor; place quantity beside each contract. */
.aq-quant .aq-contract-option{display:grid;grid-template-columns:16px minmax(0,1fr) 64px;align-items:center;gap:7px}
.aq-quant .aq-contract-option>span{min-width:0;overflow-wrap:anywhere}
.aq-quant .aq-contract-option>input[type=checkbox]{margin:0;width:16px;height:16px}
.aq-quant .aq-lots-label{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;width:64px;font-size:10px;color:#71869f}
.aq-quant .aq-lots-label input{box-sizing:border-box;width:64px;min-width:0;min-height:30px;padding:4px 6px;font-size:12px;background:#fff;border:1px solid #bdcce0;border-radius:4px}
.aq-quant .aq-lots-label input:disabled{background:#eef1f5;color:#98a5b7}
@media(min-width:701px){.aq-quant .aq-quant-layout{grid-template-columns:320px minmax(0,1fr)}}
@media(min-width:1550px){.aq-quant .aq-quant-layout{grid-template-columns:350px minmax(0,1fr)}}

.automatic-public{margin-bottom:24px}.automatic-public .aq-quant{margin:0}.automatic-public .aq-monitor-empty{min-height:240px;height:240px}.automatic-public .aq-quant-footer{align-items:center}.automatic-public .aq-quant-footer>p{margin:0;max-width:650px}

.automatic-login-gate{margin-bottom:20px}.automatic-login-gate h3{margin:4px 0}.automatic-draft-account{display:flex;gap:12px;align-items:center;margin:12px 0}.automatic-draft-account[hidden]{display:none}.automatic-draft-account select{max-width:360px}.aq-quant-footer .actions{flex-wrap:wrap}.aq-quant-footer [data-op="selection-start"],.aq-quant-footer [data-public-start]{min-width:160px}.automatic-public .aq-quant-footer>p{overflow-wrap:anywhere}@media(max-width:600px){.automatic-draft-account{align-items:stretch;flex-direction:column}.automatic-login-gate .section-head{align-items:flex-start;flex-direction:column}}

/* Keep the contract browser and monitor aligned within the available workspace. */
.aq-quant .aq-quant-layout{height:clamp(440px,66vh,680px);min-height:0;align-items:stretch}
.aq-quant .aq-universe,.aq-quant .aq-monitor{display:flex;flex-direction:column;min-height:0}
.aq-quant .aq-monitor{container-type:inline-size;container-name:quant-monitor}
.aq-quant .aq-universe-head,.aq-quant .aq-search,.aq-quant .aq-monitor-tools{flex:none}
.aq-quant .aq-exchange-tree{flex:1;min-height:0;height:auto}
.aq-quant .aq-monitor-scroll{flex:1;min-height:0;max-height:none;overflow:auto}
.aq-quant .aq-monitor-table{width:100%;min-width:0}
.aq-quant .aq-monitor-table th,.aq-quant .aq-monitor-table td{padding:12px 7px;overflow-wrap:anywhere}
.aq-quant .aq-monitor-symbol small{white-space:normal;overflow-wrap:anywhere}
.aq-quant .aq-monitor-note,.aq-quant .aq-tree-note{flex:none;margin:0;overflow-wrap:anywhere}
.aq-quant .aq-monitor-note{margin-top:auto}
@container quant-monitor (max-width:620px){
 .aq-monitor-scroll .aq-monitor-table,.aq-monitor-scroll .aq-monitor-table tbody{display:block}
 .aq-monitor-scroll .aq-monitor-table colgroup,.aq-monitor-scroll .aq-monitor-table thead{display:none}
 .aq-monitor-scroll .aq-monitor-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border-bottom:1px solid #e3eaf2}
 .aq-monitor-scroll .aq-monitor-table td{display:block;min-width:0;border:0;padding:0}
 .aq-monitor-scroll .aq-monitor-table td:first-child{grid-column:1/-1}
 .aq-monitor-scroll .aq-monitor-table td:not([colspan])::before{display:block;color:#71849b;font-size:10px;margin-bottom:4px}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(1)::before{content:'品种 / 合约'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(2)::before{content:'运行状态'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(3)::before{content:'最新报价'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(4)::before{content:'持仓 / 手数'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(5)::before{content:'持仓盈亏（元）'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(6)::before{content:'止损价格'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(7)::before{content:'动态止盈'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(8)::before{content:'开仓规则'}
 .aq-monitor-scroll .aq-monitor-table td:nth-child(9)::before{content:'操作'}
 .aq-monitor-scroll .aq-monitor-table td[colspan]{grid-column:1/-1;display:grid;place-items:center;min-height:200px;height:auto}
}
@media(max-width:700px){
 .aq-quant .aq-quant-layout{height:auto}
 .aq-quant .aq-exchange-tree{flex:none;height:280px}
 .aq-quant .aq-monitor-scroll{flex:auto;min-height:260px;max-height:480px}
}

.account-number{min-height:58px;display:flex;flex-direction:column;justify-content:center;gap:4px}.account-number strong,[data-account-number]{font-size:21px;font-weight:750;letter-spacing:.035em;overflow-wrap:anywhere}.account-number small:empty{display:none}

.technical-v2-status{margin:8px 0;padding:10px 12px;border-left:3px solid #6b9bd3;background:#f3f7fc;border-radius:4px}.technical-v2-status small,.technical-v2-status strong{display:block;overflow-wrap:anywhere}.follow-tp-lock{color:#a14b16;font-weight:600}

/* The advisor summaries contain three status tiles on every screen size. */
.metrics.advisor-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.metrics.advisor-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.advisor-summary-metrics>div:first-child{grid-column:1/-1}}

/* Automatic workbench: explicit add/select/start controls, scoped to this page. */
.automatic-product-selector .aq-workbench-actions{display:flex;flex-wrap:wrap;gap:10px;padding:16px 20px 8px}
.automatic-product-selector .aq-workbench-actions button{font-size:14px;min-height:42px;padding:10px 16px;white-space:normal}
.automatic-product-selector .aq-workbench-help{padding:0 20px 12px;margin:0;color:#60758f;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.automatic-product-selector .aq-quant-layout.aq-picker-closed{grid-template-columns:minmax(0,1fr)}
.automatic-product-selector .aq-universe[hidden]{display:none}
.automatic-product-selector .aq-universe-head{flex-wrap:wrap;gap:8px}
.automatic-product-selector .aq-universe-head strong{flex:1 0 100%}
@media(max-width:700px){
 .automatic-product-selector .aq-workbench-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}
 .automatic-product-selector .aq-workbench-actions [data-op=selection-start]{grid-column:1/-1}
 .automatic-product-selector .aq-workbench-help{padding:0 12px 12px}
 .automatic-product-selector .aq-contract-options{grid-template-columns:minmax(0,1fr)}
 .automatic-product-selector .aq-contract-option{padding:10px;gap:10px}
 .automatic-product-selector .aq-contract-option span{flex:1}
 .automatic-product-selector .aq-product-toggle{min-height:42px}
 .automatic-product-selector .aq-contract-option strong{font-size:13px}
}

/* Technical account workspace follows the shared G3 card layout, including its empty state. */
.technical-page .technical-account-empty{margin:18px 20px;padding:36px 24px;border:1px dashed var(--line);border-radius:10px;background:#f8faff}
.technical-page .technical-account-empty h3{margin:0 0 12px;font-size:18px}
.technical-page .technical-account-empty p{margin:0 0 10px;line-height:1.8}
.technical-page .technical-accounts .aq-account-summary-grid>div{min-width:0}
.technical-page .current-start-control{margin:0;gap:4px;align-items:stretch}
.technical-page .current-start-control button{width:100%}
.technical-page .current-start-control small{max-width:none}
@media(max-width:600px){.technical-page .technical-account-empty{margin:12px 0;padding:24px 16px}}

/* Technical and G3 accounts: keep configuration beside account controls and wrap naturally. */
.follow-grid.aq-account-summary-grid.aq-advisor-control-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));align-items:start;gap:24px}
.aq-advisor-control-grid>[data-label]{min-width:0;max-width:100%;overflow-wrap:anywhere}
.aq-advisor-control-grid .actions{flex-wrap:wrap}
.aq-advisor-control-grid button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.aq-advisor-control-grid .ratio{max-width:none}
.aq-advisor-control-grid small,.aq-advisor-control-grid .source-note,.aq-advisor-control-grid .slot-state,.aq-advisor-control-grid [data-repair-summary]{max-width:100%;white-space:normal;overflow-wrap:anywhere}
