.nav-live{display:grid;gap:3px;margin-bottom:18px}.nav-live a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;color:var(--muted,#a9b8c9);text-decoration:none}.nav-live a.active{background:rgba(100,222,180,.13);color:#b7f4dc}.live-caption{color:#9fe4ca!important}
.live-account-picker{margin:20px 0;padding:20px}.live-account-select{display:flex;align-items:end;justify-content:space-between;gap:20px}.live-account-select>div{max-width:440px;width:100%;display:grid;gap:8px}.live-account-select select{width:100%;min-height:44px}.live-account-select>a{white-space:nowrap;margin-bottom:12px}
#live-account-summary,.live-result-row .grid-summary,#arcus.live-monitor .grid-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0 0}.grid-summary dt{color:var(--muted,#a9b8c9);font-size:12px}.grid-summary dd{margin:6px 0 0;font-weight:650;overflow-wrap:anywhere}
#live-grid #live-account-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}#live-grid #live-estimate{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#live-grid .grid-summary>div{min-width:0}#live-grid #live-account-summary dd,#live-grid #live-estimate dd{text-align:left;margin:6px 0 0}
#live-message{min-height:26px;margin:12px 0}#live-access:empty{display:none}#live-access:not(:empty){min-height:40px}.live-venues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.live-venue{border:1px solid #304955;border-radius:14px;padding:20px;background:rgba(18,33,47,.6);margin-bottom:16px}.live-venue h3{margin-top:0}
.live-allocation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:16px 0;border-bottom:1px solid var(--line,#304955)}.live-allocation-row small{grid-column:1/-1}.live-allocation-row .live-money-warn{grid-column:1/-1;margin:0;color:var(--danger,#ff8a7a)}.live-allocation-row a{overflow-wrap:anywhere}.live-result-row{padding:20px 0;border-bottom:1px solid var(--line,#304955)}.live-result-row .grid-summary{grid-template-columns:repeat(3,minmax(0,1fr))}#live-overview .account-metrics{margin:20px 0}#live-overview .overview-grid{margin-bottom:20px}
#arcus.live-monitor{margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#304955);scroll-margin-top:20px}#arcus.live-monitor .section-heading{margin-top:0}.live-chart-shell{min-height:580px;margin:20px 0}.live-chart-shell .gbv-tv-box{height:480px;min-height:480px;position:relative}.live-chart-shell .button-row{margin-bottom:14px}
@media(max-width:760px){.live-account-select{align-items:stretch;flex-direction:column;gap:8px}.live-account-select>div{max-width:none}.live-account-select>a{margin-bottom:0;white-space:normal}#live-account-summary,.live-result-row .grid-summary,#arcus.live-monitor .grid-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.live-venues{grid-template-columns:1fr}.live-account-picker{padding:16px}.live-allocation-row{grid-template-columns:minmax(0,1fr)}.live-chart-shell .gbv-tv-box{height:400px;min-height:400px}.live-chart-shell{min-height:520px}}
@media(max-width:760px){#live-grid #live-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.live-capital-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:10px}.live-capital-tools button{min-height:40px}.live-capital-help{margin:12px 0 4px;line-height:1.6;overflow-wrap:anywhere}.live-capital-help a{color:var(--teal,#8ee0c5)}
#live-grid .grid-card-head{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}#live-grid .grid-card-head .grid-card-name{flex-basis:100%}#live-grid .grid-card-account-badge{font-size:11px;line-height:1.5;color:#bfd4e0;border:1px solid #49606a;border-radius:20px;padding:4px 8px;font-weight:600}
#live-grid .grid-card-metric[data-key=cost]{grid-column:1/-1;border-top:1px solid #ffffff14;padding-top:10px}#live-grid .grid-card-metric[data-key=cost] b{white-space:normal;overflow-wrap:anywhere}#live-grid .grid-card-account{display:none}
#live-create-panel .live-account-picker{grid-column:1/-1;margin:0;padding:0 0 20px;border-bottom:1px solid #ffffff14;min-width:0}#live-create-panel .live-account-select>a{white-space:normal}
.live-restructure{width:min(960px,calc(100vw - 28px));max-width:min(960px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:28px;box-sizing:border-box}.live-restructure h2{margin:0 0 12px}.live-restructure .grid-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.live-restructure fieldset{min-width:0;border:1px solid var(--line,#304955);border-radius:12px;padding:16px}.live-restructure label{display:block;margin:14px 0 8px}.live-restructure input:not([type=radio]):not([type=checkbox]),.live-restructure select{width:100%;box-sizing:border-box}.live-restructure .choice-card{margin:0}.live-restructure .choice-cards{gap:10px}.live-restructure .rs-results{margin-top:22px;padding-top:18px;border-top:1px solid #ffffff20}.live-restructure .rs-results:empty{display:none}.live-restructure dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px}.live-restructure dt{color:var(--muted,#a9b8c9)}.live-restructure dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}.live-restructure #rs-status{min-height:3em;line-height:1.5}.live-restructure .dialog-actions{gap:12px}.live-restructure [hidden]{display:none!important}@media(max-width:600px){.live-restructure{padding:20px 16px}.live-restructure .grid-form{grid-template-columns:1fr}.live-restructure dl{grid-template-columns:1fr;gap:6px}.live-restructure dd{text-align:left;margin-bottom:10px}}
.live-restructure #r2-status{min-height:3em;line-height:1.5}.live-restructure .r2-watch{font-weight:600;line-height:1.5}.live-restructure .r2-modes{display:flex;flex-wrap:wrap;gap:16px}.live-restructure .r2-modes label{display:inline-flex;gap:6px;margin:8px 0}.live-restructure #r2-all{margin-top:10px}.live-restructure [aria-invalid=true]{outline:2px solid #e5484d}#lgv-manual .lgv-manual-list{margin:8px 0 0;padding-left:20px;line-height:1.6}#lgv-manual h3{margin:0 0 6px}.live-restructure .rs-current{font-weight:650;line-height:1.6}.live-restructure .rs-presets{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.live-restructure .rs-presets button{min-height:38px}.live-restructure .fine{line-height:1.65}.live-restructure .dialog-actions{flex-wrap:wrap;margin-top:18px}
/* owner 2026-10-25 (item 3): a temporary executor state takes no room in the flow; its reason is in the «!» on the button's corner */
#live-grid .live-new-wrap{position:relative;display:inline-flex}
#live-grid .live-why{position:absolute;right:-10px;top:-10px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:1px solid #716348;border-radius:50%;background:#14232d;color:#e8c897;visibility:hidden;cursor:help;z-index:5}
#live-grid .live-why[data-active="true"]{visibility:visible}
#live-grid .live-why svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#live-grid .live-why::after{content:attr(data-tip);display:none;position:absolute;z-index:20;left:-160px;top:30px;width:260px;max-width:80vw;box-sizing:border-box;padding:10px 12px;border:1px solid #716348;border-radius:8px;background:#14232d;color:#e8c897;font-size:12px;line-height:1.5;font-weight:400;white-space:normal;text-align:left;box-shadow:0 10px 26px #0008;pointer-events:none}
#live-grid .live-why[data-active="true"]:hover::after,#live-grid .live-why[data-active="true"]:focus-visible::after,#live-grid .live-why[data-active="true"][data-open="true"]::after{display:block}
#live-grid .grid-card .bot-status-badge,#live-grid .grid-card .grid-card-account-badge{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;min-width:0}
.live-signature-dialog{width:min(640px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:90dvh;overflow:auto;box-sizing:border-box}
.live-signature-dialog p,.live-signature-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}.live-signature-dialog button{margin:6px 6px 6px 0}.live-signature-dialog select{max-width:100%}
#live-signature-note{position:relative;z-index:11;margin:12px 16px;overflow-wrap:anywhere}
/* owner 2026-10-30: «Аккаунты Aster» — the steps, the accounts, the connect form */
#live-aster-box{display:grid;gap:12px;min-width:0}
.aster-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.aster-step{display:grid;gap:4px;align-content:start;padding:12px;border-radius:12px;border:1px solid #304955;background:rgba(18,33,47,.6);min-width:0}
.aster-step p{margin:0}
.aster-step[data-state="done"]{border-color:rgba(126,226,168,.55)}
.aster-step[data-state="now"]{border-color:rgba(255,196,92,.7)}
.aster-step[data-state="wait"]{opacity:.7}
.aster-step-state{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#9fb3c0}
.aster-step[data-state="done"] .aster-step-state{color:#7ee2a8}
.aster-step[data-state="now"] .aster-step-state{color:#ffc45c}
.aster-accounts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.aster-account{display:grid;gap:4px;padding:12px;border-radius:12px;background:rgba(255,255,255,.04);min-width:0}
.aster-account h4,.aster-account p{margin:0}
.aster-address{overflow-wrap:anywhere}
.aster-account>button{justify-self:start;margin-top:6px}
.aster-rename{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.aster-rename input{flex:1 1 160px;min-width:0}
.aster-connect{display:grid;gap:8px;min-width:0}
.aster-connect input,.aster-connect textarea{width:100%;box-sizing:border-box;min-width:0}
.aster-hint{margin:-2px 0 4px}
@media(max-width:760px){.aster-steps{grid-template-columns:1fr}.aster-accounts{grid-template-columns:1fr}}
.aster-step[data-state="unknown"]{border-color:rgba(255,138,138,.6)}
.aster-step[data-state="unknown"] .aster-step-state{color:#ff8a8a}
.aster-unknown{color:#ffc45c;margin:0}
.aster-banner{margin:0;padding:10px 12px;border-radius:10px;background:rgba(255,196,92,.12);color:#ffd27f;border:1px solid rgba(255,196,92,.45)}
/* RELF-002 (Codex rel-f, 01.11): the Aster grid view is read-only — the shared monitor's command buttons, rename and the
   2FA hint are never offered there, whatever path of the shared render unhides them (commands stay in the grid's row) */
#aster-grid-view .grid-controls>button,#aster-grid-view #agv-rename,#aster-grid-view #agv-2fa{display:none!important}
