/* TJP Tracker v0.6.24 • Structure UX Refinement */
#structure{--structure-panel:#0a0e11;--structure-panel-2:#0d1216;--structure-line:rgba(255,255,255,.075);--structure-soft:rgba(255,255,255,.025)}
#structure .structure-tabs-v623{gap:24px;margin-top:22px}
#structure .structure-tabs-v623 button{padding:11px 0;font-size:10px;letter-spacing:.015em}
#structure .structure-tabs-v623 button.active{color:#f0f5f2}
#structure .structure-tabs-v623 button.active:after{height:2px}
.structure-section-head-v624{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px;padding:2px 0 4px}
.structure-section-head-v624>div:first-child{min-width:0}
.structure-section-head-v624 small,.phase-workspace-v624>header small,.steps-head-v624 small{display:block;color:var(--accent);font-size:8px;font-weight:900;letter-spacing:.12em}
.structure-section-head-v624 h3,.phase-workspace-v624 h3{margin:4px 0 0;font-size:17px;line-height:1.15}
.structure-section-head-v624 p,.phase-workspace-v624>header p{max-width:760px;margin:5px 0 0;color:#76828b;font-size:9px;line-height:1.5}
.structure-section-head-v624 .primary-btn{min-width:124px}

.prop-grid-v624,.broker-grid-v624,.strategy-grid-v624,.funnel-cards-v624{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.prop-card-v624,.broker-card-v624,.strategy-card-v624,.funnel-card-v624,.journey-context-v624,.phase-workspace-v624,.journey-summary-panel-v624{border:1px solid var(--structure-line);background:linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,0)),var(--structure-panel);box-shadow:inset 2px 0 0 rgba(var(--accent-rgb),.12)}
.prop-card-v624,.broker-card-v624,.strategy-card-v624,.funnel-card-v624{padding:14px}
.prop-card-v624>header,.broker-card-v624>header,.strategy-card-v624>header,.funnel-card-v624>header,.phase-workspace-v624>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.prop-title-v624,.broker-title-v624,.strategy-title-v624,.journey-context-title-v624,.summary-brand-v624,.plan-lockup-v624,.step-title-v624{display:flex;align-items:center;gap:10px;min-width:0}
.prop-title-v624>div,.broker-title-v624>div,.strategy-title-v624>div,.journey-context-title-v624>div,.summary-brand-v624>span,.plan-lockup-v624>span,.step-title-v624>span{display:grid;gap:2px;min-width:0}
.prop-title-v624 span,.broker-title-v624 span,.journey-context-title-v624 span{color:var(--accent);font-size:7.5px;font-weight:900;letter-spacing:.08em}
.prop-title-v624 h4,.broker-title-v624 h4,.strategy-title-v624 h4,.funnel-card-v624 h4,.journey-context-title-v624 h4{margin:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prop-title-v624 small,.broker-title-v624 small,.strategy-title-v624 small,.journey-context-title-v624 small{color:#69757e;font-size:8px}
.structure-actions-v624{display:flex;align-items:center;gap:5px;flex:none}
.danger-soft-v624{color:#e77a88!important;border-color:rgba(255,107,126,.18)!important;background:rgba(255,107,126,.025)!important}
.status-dot-v624{display:inline-flex;align-items:center;gap:6px;color:#7da08b;font-size:8px;font-weight:800;text-transform:uppercase}
.status-dot-v624:before{content:'';width:5px;height:5px;background:var(--accent);box-shadow:0 0 8px rgba(var(--accent-rgb),.35)}
.status-dot-v624.off{color:#8b6d72}.status-dot-v624.off:before{background:#b65766;box-shadow:none}

.firm-logo.structure-prop-logo-v624{width:38px!important;height:38px!important;min-width:38px!important;border:0!important;background:transparent!important;padding:2px!important;box-shadow:none!important}
.firm-logo.structure-prop-logo-v624 img{max-width:34px!important;max-height:34px!important;background:transparent!important;padding:0!important}
.firm-logo.structure-plan-logo-v624,.firm-logo.structure-step-logo-v624{width:25px!important;height:25px!important;min-width:25px!important;border:0!important;background:transparent!important;padding:1px!important;box-shadow:none!important}
.firm-logo.structure-plan-logo-v624 img,.firm-logo.structure-step-logo-v624 img{max-width:23px!important;max-height:23px!important;background:transparent!important;padding:0!important}
.firm-logo.structure-strategy-logo-v624,.firm-logo.structure-funnel-logo-v624{width:31px!important;height:31px!important;min-width:31px!important;border:0!important;background:transparent!important;padding:1px!important;box-shadow:none!important}
.firm-logo.structure-strategy-logo-v624 img,.firm-logo.structure-funnel-logo-v624 img{max-width:28px!important;max-height:28px!important;background:transparent!important;padding:0!important}
.firm-logo.structure-journey-logo-v624,.firm-logo.structure-summary-logo-v624,.firm-logo.structure-modal-logo-v624{width:36px!important;height:36px!important;min-width:36px!important;border:0!important;background:transparent!important;padding:2px!important;box-shadow:none!important}
.firm-logo.structure-journey-logo-v624 img,.firm-logo.structure-summary-logo-v624 img,.firm-logo.structure-modal-logo-v624 img{max-width:32px!important;max-height:32px!important;background:transparent!important;padding:0!important}

.plan-list-v624{display:grid;gap:6px;margin:13px 0}
.plan-row-v624{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:8px 9px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.14)}
.plan-lockup-v624 b{font-size:9px}.plan-lockup-v624 small{color:#65727b;font-size:7.5px}
.prop-card-v624>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:3px}
.prop-card-v624>footer .secondary-btn{min-height:30px;padding:0 12px;font-size:8px}
.structure-icon-btn-v624{display:grid;place-items:center;width:29px;height:29px;border:1px solid rgba(255,255,255,.09);background:#090d10;color:#9aa5ad;font-size:11px;cursor:pointer}
.structure-icon-btn-v624:hover{border-color:rgba(var(--accent-rgb),.35);color:#edf5ef;background:rgba(var(--accent-rgb),.035)}
.structure-empty-v624{display:grid;gap:4px;place-items:start;padding:18px;border:1px dashed rgba(255,255,255,.075);background:rgba(255,255,255,.01);color:#65717a}
.structure-empty-v624 b{color:#9ba5ac;font-size:10px}.structure-empty-v624 span{font-size:8px;line-height:1.45}.structure-empty-v624.wide{grid-column:1/-1}.structure-empty-v624.builder-empty-v624{min-height:260px;place-items:center;text-align:center;align-content:center}.builder-empty-v624 .primary-btn{margin-top:8px}

.broker-card-v624 .wallet-brand-logo{width:36px!important;height:36px!important;min-width:36px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.broker-card-v624 .wallet-brand-logo img{max-width:32px!important;max-height:32px!important;background:transparent!important;padding:0!important}
.broker-metrics-v624{display:grid;grid-template-columns:1.35fr 1fr .55fr;gap:6px;margin-top:14px}
.broker-metrics-v624>div{padding:9px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.13)}
.broker-metrics-v624 small{display:block;color:#65717a;font-size:7px;text-transform:uppercase;letter-spacing:.06em}.broker-metrics-v624 strong,.broker-metrics-v624 b{display:block;margin-top:4px;font-size:10px}

.strategy-status-v624{width:max-content;padding:3px 5px;border:1px solid rgba(var(--accent-rgb),.2);color:var(--accent);font-size:6.5px!important;font-weight:900;letter-spacing:.07em}.strategy-status-v624.draft{border-color:rgba(255,255,255,.1);color:#7d8991}.strategy-status-v624.demo{border-color:rgba(227,178,87,.25);color:#d6a854}
.strategy-legs-v624{display:grid;grid-template-columns:1fr 26px 1fr;align-items:center;gap:8px;margin-top:13px}.strategy-legs-v624>div{padding:10px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.14)}.strategy-legs-v624>i{text-align:center;color:#3f4a51;font-style:normal}.strategy-legs-v624 small{display:block;color:#66737c;font-size:6.5px;font-weight:900;letter-spacing:.07em}.strategy-legs-v624 b{display:block;margin-top:4px;font-size:9px}.strategy-legs-v624 span{display:block;margin-top:3px;color:#69757e;font-size:7.5px}.strategy-card-v624>footer{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.strategy-card-v624>footer span{padding:4px 6px;border:1px solid rgba(var(--accent-rgb),.13);color:#789184;font-size:6.5px}

.builder-toolbar-actions-v624{display:flex;align-items:center;gap:6px}.builder-toolbar-actions-v624 select{min-width:250px;min-height:34px;border:1px solid rgba(255,255,255,.09);background:#080b0e;color:#dfe8e3;padding:0 9px;outline:none}.builder-toolbar-actions-v624 select:focus{border-color:rgba(var(--accent-rgb),.45)}
.journey-context-v624{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;margin-bottom:9px}.journey-context-title-v624 h4{font-size:13px}.journey-context-title-v624 small{font-size:8px}
.journey-phase-tabs-v624{display:flex;gap:6px;overflow-x:auto;padding-bottom:8px;margin-bottom:4px}.journey-phase-tab-v624,.journey-add-phase-v624{display:flex;align-items:center;gap:8px;min-width:164px;padding:9px 10px;border:1px solid rgba(255,255,255,.07);background:#090d10;color:#87939b;text-align:left;cursor:pointer}.journey-phase-tab-v624 i,.journey-add-phase-v624 i{display:grid;place-items:center;width:23px;height:23px;border:1px solid rgba(255,255,255,.11);font-style:normal;font-size:8px}.journey-phase-tab-v624 span,.journey-add-phase-v624 span{display:grid;gap:2px}.journey-phase-tab-v624 b,.journey-add-phase-v624 b{font-size:8.5px;color:#aab4ba}.journey-phase-tab-v624 small,.journey-add-phase-v624 small{font-size:6.7px;color:#5e6a72}.journey-phase-tab-v624.active{border-color:rgba(var(--accent-rgb),.35);background:rgba(var(--accent-rgb),.04);color:var(--accent);box-shadow:inset 2px 0 0 var(--accent)}.journey-phase-tab-v624.active i{border-color:rgba(var(--accent-rgb),.35);color:var(--accent)}.journey-phase-tab-v624.danger.active{border-color:rgba(255,107,126,.32);background:rgba(255,107,126,.025);box-shadow:inset 2px 0 0 #e26778}.journey-phase-tab-v624.danger.active i{border-color:rgba(255,107,126,.3);color:#e67b89}.journey-add-phase-v624{border-style:dashed;background:transparent}.journey-add-phase-v624:hover{border-color:rgba(var(--accent-rgb),.3)}
.builder-workspace-v624{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(245px,.58fr);gap:10px}.phase-workspace-v624{padding:15px}.phase-workspace-v624>header{padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.055)}
.phase-rule-strip-v624{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.phase-rule-strip-v624>div{padding:8px 9px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.12)}.phase-rule-strip-v624 small{display:block;color:#65717a;font-size:6.5px;font-weight:850;letter-spacing:.06em}.phase-rule-strip-v624 b{display:block;margin-top:3px;font-size:8px}.phase-rule-strip-v624 .yes b{color:var(--accent)}.phase-rule-strip-v624 .no b{color:#e27180}.phase-rule-strip-v624 .wait b{color:#d6a653}.phase-rule-strip-v624 .muted b{color:#7b878f}
.steps-head-v624{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:16px 0 8px}.steps-head-v624 h4{margin:3px 0 0;font-size:11px}.steps-head-v624 .primary-btn{min-height:31px;font-size:8px}
.journey-step-list-v624{display:grid;gap:6px}.journey-step-card-v624{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.13)}.step-index-v624{display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(var(--accent-rgb),.18);color:var(--accent);font-size:8px;font-weight:900}.step-main-v624{display:grid;grid-template-columns:minmax(150px,.85fr) 1.2fr;align-items:center;gap:12px}.step-title-v624 small{color:#64717a;font-size:6.5px;text-transform:uppercase}.step-title-v624 b{font-size:8.5px}.step-title-v624 em{color:#5f6b73;font-size:6.5px;font-style:normal}.step-quick-v624{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.step-quick-v624 span{padding:6px 7px;border-left:1px solid rgba(255,255,255,.055)}.step-quick-v624 small{display:block;color:#59656d;font-size:6px;text-transform:uppercase}.step-quick-v624 b{display:block;margin-top:3px;font-size:7px;white-space:nowrap}.step-actions-v624{display:flex;align-items:center;gap:3px}.step-actions-v624 .structure-icon-btn-v624{width:25px;height:25px;font-size:9px}.step-actions-v624 .mini-btn{min-height:25px;padding:0 8px;font-size:7px}
.journey-summary-panel-v624{padding:13px;align-self:start}.summary-brand-v624{padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.055)}.summary-brand-v624 small{color:var(--accent);font-size:6.5px;font-weight:900;letter-spacing:.08em}.summary-brand-v624 b{font-size:9px}.summary-metrics-v624{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0}.summary-metrics-v624>div{padding:7px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.12)}.summary-metrics-v624 small{display:block;color:#606d75;font-size:6px;text-transform:uppercase}.summary-metrics-v624 b{display:block;margin-top:3px;font-size:10px}.summary-flow-v624{display:grid;gap:4px}.summary-flow-v624 button{display:flex;align-items:center;gap:7px;padding:7px;border:1px solid transparent;background:transparent;color:#7d8991;text-align:left;cursor:pointer}.summary-flow-v624 button.active{border-color:rgba(var(--accent-rgb),.18);background:rgba(var(--accent-rgb),.025)}.summary-flow-v624 i{display:grid;place-items:center;width:20px;height:20px;border:1px solid rgba(255,255,255,.08);font-style:normal;font-size:7px}.summary-flow-v624 span{display:grid;gap:1px}.summary-flow-v624 b{font-size:7.5px}.summary-flow-v624 small{color:#58646c;font-size:6.3px}.journey-summary-panel-v624>p{margin:11px 0 0;color:#64717a;font-size:7px;line-height:1.5}

.funnel-card-v624>header{align-items:center}.funnel-card-v624>header>div{flex:1}.funnel-card-v624>header span{color:var(--accent);font-size:7px;font-weight:900}.funnel-card-v624>header strong{color:var(--accent);font-size:17px}.funnel-path-v624{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:14px 0}.funnel-path-v624 span{display:grid;justify-items:center}.funnel-path-v624 b{font-size:11px}.funnel-path-v624 small{color:#616d75;font-size:6.3px}.funnel-path-v624 i{color:#333d43;font-style:normal}.funnel-card-v624>footer{display:flex;justify-content:space-between;align-items:center;padding-top:9px;border-top:1px solid rgba(255,255,255,.055)}.funnel-card-v624>footer span{color:#68747c;font-size:7px}.funnel-card-v624>footer b{font-size:10px}

.structure-modal-backdrop-v624{position:fixed;inset:0;z-index:1200;display:none;place-items:center;padding:20px;background:rgba(0,0,0,.76);backdrop-filter:blur(5px)}.structure-modal-backdrop-v624.open{display:grid}.structure-modal-v624{width:min(760px,96vw);max-height:88vh;overflow:auto;border:1px solid #253039;background:#090d10;box-shadow:0 30px 90px rgba(0,0,0,.55)}.structure-modal-v624>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:17px 18px;border-bottom:1px solid rgba(255,255,255,.07)}.structure-modal-v624>header small{color:var(--accent);font-size:7px;font-weight:900;letter-spacing:.1em}.structure-modal-v624>header h2{margin:4px 0 0;font-size:16px}.structure-modal-v624>header p{margin:5px 0 0;color:#6f7b84;font-size:8px;line-height:1.45}.structure-modal-v624 form{padding:16px 18px}.structure-modal-v624 form>footer{display:flex;justify-content:flex-end;gap:7px;margin-top:16px;padding-top:13px;border-top:1px solid rgba(255,255,255,.06)}.structure-modal-v624 label{display:grid;gap:5px;color:#7a8790;font-size:7px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.structure-modal-v624 input,.structure-modal-v624 select,.structure-modal-v624 textarea{width:100%;min-height:34px;border:1px solid rgba(255,255,255,.09);background:#070a0d;color:#e3ebe7;padding:8px 9px;outline:none;text-transform:none;letter-spacing:0;font-size:9px}.structure-modal-v624 textarea{resize:vertical}.structure-modal-v624 input:focus,.structure-modal-v624 select:focus,.structure-modal-v624 textarea:focus{border-color:rgba(var(--accent-rgb),.5)}.structure-modal-grid-v624{display:grid;gap:9px}.structure-modal-grid-v624.two{grid-template-columns:repeat(2,1fr)}.structure-modal-grid-v624.four{grid-template-columns:repeat(4,1fr)}.structure-form-section-v624{margin-top:12px;padding:11px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.11)}.structure-form-section-v624>b{display:block;margin-bottom:9px;color:#a5afb5;font-size:8px}.structure-checkline-v624{display:flex!important;align-items:flex-start;gap:9px;margin-top:10px;padding:9px;border:1px solid rgba(255,255,255,.06);background:rgba(0,0,0,.1);text-transform:none!important;letter-spacing:0!important}.structure-checkline-v624 input{width:14px!important;height:14px;min-height:14px!important;margin-top:1px;accent-color:var(--accent)}.structure-checkline-v624 span{display:grid;gap:2px}.structure-checkline-v624 b{font-size:8px;color:#aab4ba}.structure-checkline-v624 small{color:#66727a;font-size:7px;font-weight:500;line-height:1.4}.structure-rule-editor-v624{display:grid;grid-template-columns:1fr;gap:5px}.structure-upload-v624{margin-top:10px;padding:10px;border:1px dashed rgba(255,255,255,.1)}.structure-upload-v624>span{display:flex;justify-content:space-between;gap:10px}.structure-upload-v624 small{color:#5f6b73;font-size:6.5px;text-transform:none;font-weight:500}.structure-upload-v624>div{position:relative;display:flex;margin-top:8px}.structure-upload-v624 input{position:absolute;inset:0;opacity:0;cursor:pointer}.structure-upload-v624 b{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.09);background:#0b1013;color:#a9b3b9;font-size:7.5px}.structure-modal-context-v624{display:flex;align-items:center;gap:9px;margin-bottom:12px;padding:9px;border:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.12)}.structure-modal-context-v624>div{display:grid;gap:2px}.structure-modal-context-v624 b{font-size:9px}.structure-modal-context-v624 small{color:#65717a;font-size:7px}

@media(max-width:1250px){.prop-grid-v624,.broker-grid-v624,.strategy-grid-v624,.funnel-cards-v624{grid-template-columns:1fr}.builder-workspace-v624{grid-template-columns:1fr}.journey-summary-panel-v624{position:static}.step-main-v624{grid-template-columns:1fr}.structure-modal-grid-v624.four{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.structure-section-head-v624{align-items:stretch;flex-direction:column}.builder-toolbar-actions-v624{align-items:stretch;flex-direction:column}.builder-toolbar-actions-v624 select{min-width:0;width:100%}.broker-metrics-v624,.phase-rule-strip-v624,.step-quick-v624,.summary-metrics-v624{grid-template-columns:1fr}.journey-step-card-v624{grid-template-columns:28px 1fr}.step-actions-v624{grid-column:2;justify-content:flex-end}.structure-modal-grid-v624.two,.structure-modal-grid-v624.four{grid-template-columns:1fr}.funnel-path-v624{align-items:stretch;flex-direction:column}.funnel-path-v624 i{transform:rotate(90deg)}}
