:root{
  --f6-bg:#f4f7f8;--f6-card:#fff;--f6-text:#13202b;--f6-muted:#66737e;
  --f6-line:#dce4e8;--f6-accent:#0d666d;--f6-accent-dark:#084d52;--f6-dark:#14242d;
  --f6-good:#1f7a4d;--f6-bad:#a13d3d;--f6-warn:#9a6a14;--f6-soft:#edf6f5;
  --f6-shadow:0 8px 26px rgba(24,40,52,.055)
}
*{box-sizing:border-box}
body:has(.fos6-wrap){background:var(--f6-bg)}
.fos6-wrap{max-width:1440px;margin:0 auto;padding:16px;color:var(--f6-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fos6-header{display:flex;align-items:center;justify-content:space-between;background:var(--f6-dark);color:#fff;padding:14px 18px;border-radius:15px;margin-bottom:10px;gap:16px}
.fos6-header>div{display:flex;flex-direction:column}.fos6-header strong{font-size:21px}.fos6-header span{font-size:12px;opacity:.72}
.fos6-header nav{display:flex;gap:8px}.fos6-header a{color:#fff;text-decoration:none;padding:8px 11px;border:1px solid rgba(255,255,255,.2);border-radius:8px;font-size:13px}
.fos6-workspace-nav{display:flex;gap:5px;overflow-x:auto;background:#fff;border:1px solid var(--f6-line);border-radius:12px;padding:6px;margin-bottom:10px;box-shadow:0 3px 12px rgba(24,40,52,.03);scrollbar-width:thin}
.fos6-workspace-nav a{white-space:nowrap;text-decoration:none;color:var(--f6-text);font-size:13px;font-weight:750;padding:8px 11px;border-radius:8px}
.fos6-workspace-nav a:hover{background:var(--f6-soft)}.fos6-workspace-nav a.is-active{background:var(--f6-dark);color:#fff}
.fos6-listing-strip{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#fff,#edf6f5);border:1px solid var(--f6-line);border-radius:16px;padding:18px 20px;margin-bottom:14px}
.fos6-listing-strip h1{font-size:clamp(21px,3.2vw,32px);line-height:1.12;margin:4px 0 6px}.fos6-listing-strip p{margin:0;color:var(--f6-muted)}
.fos6-listing-facts{display:flex;align-items:flex-end;flex-direction:column;gap:7px;text-align:right}.fos6-listing-facts>strong{font-size:20px}
.fos6-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf2f4;font-size:11px;font-weight:800}.fos6-status.good{background:#e9f7ef;color:var(--f6-good)}.fos6-status.warning{background:#fff5df;color:var(--f6-warn)}.fos6-status.danger{background:#fff0f0;color:var(--f6-bad)}
.fos6-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--f6-accent);font-weight:850}.fos6-workspace{display:block}
.fos6-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}
.fos6-metric,.fos6-panel,.fos6-subpanel{background:var(--f6-card);border:1px solid var(--f6-line);border-radius:15px;box-shadow:var(--f6-shadow)}
.fos6-metric{padding:14px}.fos6-metric span{display:block;color:var(--f6-muted);font-size:12px}.fos6-metric strong{display:block;font-size:28px;margin-top:4px}
.fos6-panel{padding:17px;margin-bottom:12px}.fos6-subpanel{padding:14px;margin-bottom:12px}.fos6-subpanel h3{margin:0 0 11px}
.fos6-command-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fos6-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fos6-panel.fos6-highlight{border-color:#86bec1;box-shadow:0 10px 28px rgba(13,102,109,.11)}
.fos6-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.fos6-panel-head h1,.fos6-panel-head h2{margin:0}.fos6-panel-head h1{font-size:25px}.fos6-panel-head h2{font-size:19px}.fos6-panel-head p{margin:5px 0 0;color:var(--f6-muted);font-size:13px}.fos6-panel-head span{font-size:12px;color:var(--f6-muted)}
.fos6-text-link{font-size:12px;font-weight:800;color:var(--f6-accent);text-decoration:none;white-space:nowrap}.fos6-text-link:hover{text-decoration:underline}
.fos6-warning,.fos6-notice{padding:12px 14px;border-radius:11px;margin-bottom:12px}.fos6-notice.good{background:#e9f7ef;color:var(--f6-good);border:1px solid #a8d9bd}.fos6-notice.bad{background:#fff0f0;color:var(--f6-bad);border:1px solid #e5b4b4}
.fos6-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:var(--f6-accent);color:#fff!important;text-decoration:none;padding:10px 13px;font-weight:750;cursor:pointer;font-size:13px}.fos6-btn:hover{background:var(--f6-accent-dark)}.fos6-btn.small{padding:7px 9px;font-size:11px}.fos6-btn.secondary{background:#fff;color:var(--f6-accent)!important;border:1px solid var(--f6-accent)}.fos6-btn.secondary:hover{background:var(--f6-soft)}.fos6-btn.wa-button{background:#167f46}.fos6-wa{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;background:#e7f8ec;color:#176f3b;text-decoration:none;font-size:10px;font-weight:850}
.fos6-actions{display:flex;gap:8px;flex-wrap:wrap}.fos6-chip-nav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.fos6-chip{display:inline-flex;padding:7px 10px;border-radius:999px;background:#edf2f4;color:var(--f6-text);font-size:12px;font-weight:750;text-decoration:none}.fos6-chip.is-active{background:var(--f6-dark);color:#fff}
.fos6-table-wrap{overflow:auto}.fos6-table{width:100%;border-collapse:collapse;min-width:780px}.fos6-table th,.fos6-table td{padding:10px 9px;border-bottom:1px solid var(--f6-line);text-align:left;vertical-align:top}.fos6-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--f6-muted)}
.fos6-pill{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf2f4;font-size:11px;font-weight:750}.fos6-pill.good{background:#e9f7ef;color:var(--f6-good)}.fos6-pill.bad{background:#fff0f0;color:var(--f6-bad)}
.fos6-form label,.fos6-confirm,.fos6-mini-form label{display:block;font-size:12px;font-weight:750;margin-bottom:9px}
.fos6-form input,.fos6-form select,.fos6-form textarea,.fos6-confirm input,.fos6-mini-form input,.fos6-mini-form select,.fos6-mini-form textarea,.fos6-filter input,.fos6-filter select{width:100%;margin-top:4px;padding:9px 10px;border:1px solid #cbd5dc;border-radius:8px;background:#fff;color:var(--f6-text);font:inherit}
.fos6-form input:focus,.fos6-form select:focus,.fos6-form textarea:focus,.fos6-filter input:focus,.fos6-filter select:focus{outline:2px solid rgba(13,102,109,.18);border-color:var(--f6-accent)}
.fos6-form textarea,.fos6-mini-form textarea{resize:vertical}.fos6-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fos6-mini-form{display:grid;gap:6px;min-width:280px;padding-top:7px}.fos6-mini-stack{display:grid;gap:10px;min-width:300px}.fos6-inline-form{margin-top:13px;padding:13px;background:var(--f6-soft);border-radius:11px}.fos6-inline-form p{margin-top:0}
.fos6-filter{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-bottom:12px}.fos6-filter input{flex:2;min-width:220px}.fos6-filter select{flex:1;min-width:160px}.fos6-filter .fos6-btn{width:auto;margin-top:4px}
.fos6-duplicate-result{min-height:20px;font-size:11px;margin:-3px 0 7px}.fos6-duplicate-result.duplicate{color:var(--f6-bad);font-weight:800}.fos6-duplicate-result.clear{color:var(--f6-good)}.fos6-duplicate-result.checking{color:var(--f6-muted)}
.fos6-muted,.fos6-empty-row{color:var(--f6-muted)}.fos6-empty{text-align:center;padding:36px 18px}.fos6-empty-state{text-align:center;padding:20px 12px;border:1px dashed #cfd9de;border-radius:12px;background:#fafcfc}.fos6-empty-state p{margin:0 0 9px;color:var(--f6-muted)}details summary{cursor:pointer;font-weight:750}.fos6-form hr{border:0;border-top:1px solid var(--f6-line);margin:18px 0}
.fos6-compact-list{display:grid;gap:2px}.fos6-compact-list article{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f3}.fos6-compact-list article:last-child{border-bottom:0}.fos6-compact-list strong{display:block;font-size:13px}.fos6-compact-list small{display:block;color:var(--f6-muted);font-size:11px;margin-top:2px}.fos6-dot{width:9px;height:9px;border-radius:50%;background:var(--f6-accent);margin-top:5px;flex:0 0 9px}.fos6-dot.danger{background:var(--f6-bad)}
.fos6-risk-list{display:grid;gap:8px}.fos6-risk-list article{border-left:4px solid #c4cfd4;padding:9px 11px;background:#f8fafb;border-radius:8px}.fos6-risk-list article.warning{border-color:#d6a139;background:#fff9ec}.fos6-risk-list article.danger{border-color:var(--f6-bad);background:#fff3f3}.fos6-risk-list article.good{border-color:var(--f6-good);background:#eef9f2}.fos6-risk-list strong{font-size:13px}.fos6-risk-list p{font-size:12px;color:var(--f6-muted);margin:3px 0 0}
.fos6-health-number{font-size:34px;font-weight:850}.fos6-progress{height:9px;background:#e8eef1;border-radius:999px;overflow:hidden;margin:6px 0}.fos6-progress span{display:block;height:100%;background:var(--f6-accent);border-radius:999px}.fos6-health p{margin:4px 0;color:var(--f6-muted);font-size:12px}.fos6-health ul{margin:10px 0 0;padding-left:19px;font-size:12px}.fos6-mandate-summary strong{font-size:25px}.fos6-mandate-summary p{margin:8px 0}.fos6-mandate-summary small{color:var(--f6-muted)}
.fos6-timeline{position:relative;padding-left:15px}.fos6-timeline:before{content:"";position:absolute;left:4px;top:4px;bottom:4px;width:2px;background:var(--f6-line)}.fos6-timeline article{position:relative;padding:0 0 15px 15px}.fos6-timeline article:before{content:"";position:absolute;left:-15px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--f6-accent)}.fos6-timeline span,.fos6-timeline small{display:block;color:var(--f6-muted);font-size:10px}.fos6-timeline strong{display:block;margin:3px 0}.fos6-timeline p{margin:4px 0;white-space:normal;font-size:12px}
.fos6-opportunity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fos6-opportunity-card{border:1px solid var(--f6-line);border-left:5px solid #87959e;border-radius:13px;padding:14px;background:#fff}.fos6-opportunity-card.priority-a{border-left-color:#a13d3d}.fos6-opportunity-card.priority-b{border-left-color:var(--f6-accent)}.fos6-opportunity-card.priority-c{border-left-color:#b58327}.fos6-opportunity-card.priority-d{border-left-color:#87959e}.fos6-opp-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.fos6-opp-head h3{margin:2px 0 3px;font-size:17px}.fos6-opp-head p{margin:0;color:var(--f6-muted);font-size:11px}.fos6-priority{display:inline-flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:7px;background:var(--f6-dark);color:#fff;font-size:11px;font-weight:850;flex:0 0 25px}.fos6-stage{display:inline-flex;padding:4px 7px;border-radius:999px;background:var(--f6-soft);font-size:10px;font-weight:800;color:var(--f6-accent);text-align:right}.fos6-opportunity-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0}.fos6-opportunity-card dl div{background:#f8fafb;border-radius:8px;padding:8px}.fos6-opportunity-card dt{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--f6-muted);font-weight:800}.fos6-opportunity-card dd{margin:3px 0 0;font-size:12px}.fos6-opportunity-card dd small{display:block;color:var(--f6-muted);font-size:10px;margin-top:2px}.fos6-card-actions{display:flex;gap:7px;flex-wrap:wrap}
.fos6-action-list{display:grid;gap:8px}.fos6-action-card{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid var(--f6-line);border-radius:11px;padding:10px;background:#fff}.fos6-action-card.is-overdue{border-color:#e1a9a9;background:#fff7f7}.fos6-action-date span{display:block;font-size:15px;font-weight:850}.fos6-action-date small{display:block;color:var(--f6-muted);font-size:9px}.fos6-action-main strong{font-size:13px}.fos6-action-main p{margin:3px 0 0;color:var(--f6-muted);font-size:11px}
.fos6-partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fos6-card{border:1px solid var(--f6-line);border-radius:12px;padding:12px}.fos6-card div{display:flex;justify-content:space-between;gap:9px}.fos6-card div span,.fos6-card small{color:var(--f6-muted);font-size:11px}.fos6-card p{margin:7px 0;font-size:12px}
.fos6-dialog{width:min(720px,calc(100vw - 24px));max-height:90vh;padding:0;border:0;border-radius:16px;box-shadow:0 22px 80px rgba(12,31,42,.25);color:var(--f6-text)}.fos6-dialog::backdrop{background:rgba(9,23,31,.58);backdrop-filter:blur(2px)}.fos6-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:16px 18px;border-bottom:1px solid var(--f6-line);background:#f8fbfb}.fos6-dialog-head h2{margin:0;font-size:20px}.fos6-dialog-head p{margin:4px 0 0;color:var(--f6-muted);font-size:12px}.fos6-dialog-close{border:0;background:#e9eef0;width:32px;height:32px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}.fos6-dialog-body{padding:17px;overflow:auto;max-height:calc(90vh - 78px)}
.fos6-quickbar{position:fixed;right:18px;bottom:18px;z-index:40;display:flex;gap:7px;background:var(--f6-dark);padding:8px;border-radius:13px;box-shadow:0 14px 36px rgba(10,29,40,.23)}.fos6-quickbar button{border:0;background:transparent;color:#fff;font-weight:750;font-size:11px;padding:8px 9px;border-radius:8px;cursor:pointer}.fos6-quickbar button:hover{background:rgba(255,255,255,.12)}
@media(max-width:1000px){.fos6-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.fos6-command-grid,.fos6-detail-grid{grid-template-columns:1fr}.fos6-opportunity-grid{grid-template-columns:1fr}.fos6-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fos6-listing-strip{align-items:flex-start}.fos6-listing-facts{align-items:flex-start;text-align:left}.fos6-quickbar{left:12px;right:12px;bottom:10px;justify-content:space-around}.fos6-wrap{padding-bottom:78px}}
@media(max-width:680px){.fos6-wrap{padding:8px 8px 82px}.fos6-header{align-items:flex-start}.fos6-header strong{font-size:18px}.fos6-listing-strip{flex-direction:column;padding:14px}.fos6-listing-strip h1{font-size:22px}.fos6-listing-facts{flex-direction:row;flex-wrap:wrap}.fos6-listing-facts>strong{width:100%;font-size:17px}.fos6-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.fos6-metric{padding:11px}.fos6-metric strong{font-size:24px}.fos6-panel{padding:13px}.fos6-panel-head{flex-direction:column}.fos6-panel-head .fos6-btn{width:100%}.fos6-two{grid-template-columns:1fr}.fos6-filter{display:grid;grid-template-columns:1fr}.fos6-filter input,.fos6-filter select{min-width:0}.fos6-table{min-width:720px}.fos6-partner-grid{grid-template-columns:1fr}.fos6-opportunity-card dl{grid-template-columns:1fr}.fos6-action-card{grid-template-columns:58px minmax(0,1fr)}.fos6-action-card details{grid-column:1/-1}.fos6-quickbar{overflow-x:auto;justify-content:flex-start}.fos6-quickbar button{white-space:nowrap}.fos6-dialog-body{padding:13px}}
.fos6-transaction-summary{display:flex;gap:10px;flex-wrap:wrap}.fos6-transaction-summary span{display:inline-flex;align-items:baseline;gap:5px;padding:8px 11px;border-radius:999px;background:var(--f6-soft);font-size:12px;color:var(--f6-muted)}.fos6-transaction-summary strong{font-size:18px;color:var(--f6-text)}
.fos6-transaction-list{display:grid;gap:9px}.fos6-transaction-card{border:1px solid var(--f6-line);border-radius:12px;padding:12px;background:#fff}.fos6-transaction-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.fos6-transaction-head strong{display:block;font-size:14px}.fos6-transaction-head small{display:block;color:var(--f6-muted);font-size:10px;margin-top:3px}.fos6-transaction-card p{font-size:12px;color:var(--f6-muted);margin:8px 0}.fos6-money{font-size:22px;font-weight:850;margin:8px 0}.fos6-note{background:#f7fafb;border-left:3px solid var(--f6-accent);border-radius:7px;padding:8px 10px;font-size:11px;margin:8px 0}.fos6-card-actions details{flex:1;min-width:180px}.fos6-card-actions details summary{display:inline-flex;padding:7px 9px;border:1px solid var(--f6-accent);color:var(--f6-accent);border-radius:8px;font-size:11px;font-weight:800}
.fos6-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fos6-report-panel{background:#eef2f3}.fos6-report-sheet{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--f6-line);border-radius:14px;padding:30px;box-shadow:var(--f6-shadow)}.fos6-report-title{border-bottom:2px solid var(--f6-dark);padding-bottom:18px;margin-bottom:18px}.fos6-report-title span{font-size:10px;letter-spacing:.16em;font-weight:850;color:var(--f6-accent)}.fos6-report-title h1{font-size:28px;margin:6px 0}.fos6-report-title p{margin:0;color:var(--f6-muted)}.fos6-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:22px}.fos6-report-metrics div{border:1px solid var(--f6-line);border-radius:10px;padding:10px}.fos6-report-metrics strong{display:block;font-size:23px}.fos6-report-metrics span{font-size:10px;color:var(--f6-muted)}.fos6-report-sheet section{margin:20px 0}.fos6-report-sheet section h2{font-size:16px;margin:0 0 7px}.fos6-report-sheet section p{font-size:13px;line-height:1.65;margin:0}.fos6-report-sheet footer{border-top:1px solid var(--f6-line);padding-top:12px;margin-top:25px;color:var(--f6-muted);font-size:10px}.fos6-copy-area{width:100%;min-height:180px;margin:12px 0;padding:12px;border:1px solid var(--f6-line);border-radius:10px;background:#fff;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:1000px){.fos6-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fos6-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.fos6-report-grid{grid-template-columns:1fr}.fos6-report-sheet{padding:17px}.fos6-report-title h1{font-size:22px}.fos6-transaction-head{flex-direction:column}.fos6-transaction-summary{display:grid;grid-template-columns:1fr 1fr}.fos6-transaction-summary span{border-radius:10px}}
@media print{body:has(.fos6-wrap){background:#fff}.fos6-header,.fos6-workspace-nav,.fos6-listing-strip,.fos6-no-print,.fos6-quickbar,.fos6-notice{display:none!important}.fos6-wrap{max-width:none;padding:0}.fos6-panel.fos6-report-panel{border:0;box-shadow:none;padding:0;margin:0;background:#fff}.fos6-report-sheet{border:0;box-shadow:none;max-width:none;padding:0}.fos6-report-sheet h1{font-size:24px}}


/* alpha.6 campaign, due diligence, and closing */
.fos6-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.fos6-campaign-card{border:1px solid var(--fos6-line,#dce5e8);border-radius:16px;padding:16px;background:#fff}.fos6-campaign-card.is-selected{outline:2px solid #0b6b70}.fos6-campaign-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:14px 0}.fos6-campaign-metrics span{background:#f5f8f8;border-radius:10px;padding:8px 5px;text-align:center;font-size:11px}.fos6-campaign-metrics b{display:block;font-size:16px}.fos6-table-wrap{overflow:auto}.fos6-table{width:100%;border-collapse:collapse;min-width:780px}.fos6-table th,.fos6-table td{padding:11px;border-bottom:1px solid #e2e8ea;text-align:left;vertical-align:top}.fos6-table small{display:block;color:#667780;margin-top:4px}.fos6-inline-check{display:inline-flex!important;align-items:center;gap:5px;font-size:12px}.fos6-callout{padding:12px;border-radius:12px;background:#eef7f5;border:1px solid #cfe6e0;font-size:13px;line-height:1.5}.fos6-transaction-card.is-overdue{border-color:#d86a6a;background:#fff8f8}@media(max-width:720px){.fos6-campaign-metrics{grid-template-columns:repeat(3,1fr)}.fos6-card-grid{grid-template-columns:1fr}}

/* alpha.7 leads modal UI */
.fos6-lead-name{display:inline-flex;color:var(--f6-accent);font-weight:850;text-decoration:none;border-bottom:1px dotted rgba(13,102,109,.45);line-height:1.25}.fos6-lead-name:hover{color:var(--f6-accent-dark);border-bottom-style:solid}.fos6-leads-table tbody tr:hover{background:#f8fbfb}
.fos6-dialog.fos6-lead-detail-dialog{width:min(1220px,calc(100vw - 32px));max-height:94vh;overflow:hidden}.fos6-lead-dialog-head{padding:15px 18px}.fos6-lead-dialog-head h2{font-size:23px}.fos6-lead-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 18px;background:#fff;z-index:3}.fos6-lead-modal-actions.is-top{border-bottom:1px solid var(--f6-line);box-shadow:0 4px 14px rgba(20,36,45,.04)}.fos6-lead-modal-actions.is-bottom{border-top:1px solid var(--f6-line);box-shadow:0 -4px 14px rgba(20,36,45,.04)}.fos6-lead-modal-body{padding:17px 18px;overflow:auto;max-height:calc(94vh - 214px);background:#f5f8f9}.fos6-lead-modal-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:16px;align-items:start}.fos6-lead-modal-column{min-width:0;background:#fff;border:1px solid var(--f6-line);border-radius:14px;padding:15px}.fos6-lead-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:13px}.fos6-lead-section-head h3{font-size:18px;margin:3px 0 0}.fos6-lead-section-head.compact{align-items:center;margin-bottom:10px}.fos6-lead-section-head.compact h3{margin:0;font-size:17px}.fos6-lead-section-head.compact span{font-size:11px;color:var(--f6-muted)}.fos6-activity-entry{box-shadow:none;margin-bottom:12px}.fos6-lead-timeline{box-shadow:none;margin-bottom:0;max-height:330px;overflow:auto}.fos6-modal-close-action{margin-left:auto}.fos6-lead-modal-actions .fos6-actions{align-items:center}
@media(max-width:900px){.fos6-lead-modal-grid{grid-template-columns:1fr}.fos6-lead-modal-body{max-height:calc(94vh - 236px)}.fos6-lead-timeline{max-height:none}}
@media(max-width:680px){.fos6-dialog.fos6-lead-detail-dialog{width:calc(100vw - 12px);max-height:97vh;border-radius:12px}.fos6-lead-dialog-head{padding:12px}.fos6-lead-dialog-head h2{font-size:20px}.fos6-lead-modal-actions{padding:9px 11px;align-items:stretch;flex-direction:column}.fos6-lead-modal-actions .fos6-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.fos6-lead-modal-actions .fos6-btn{width:100%;padding:9px 8px;font-size:11px}.fos6-modal-close-action{margin:0}.fos6-lead-modal-body{padding:10px;max-height:calc(97vh - 290px)}.fos6-lead-modal-column{padding:12px}.fos6-lead-section-head{align-items:flex-start;flex-direction:column}.fos6-leads-table{min-width:680px}}

/* alpha.8 header compact + fixed nav + stronger button contrast */
.fos6-btn{background:#0a5b61;color:#fff!important;border:1px solid #0a5b61;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.fos6-btn:hover,.fos6-btn:focus{background:#083f43;border-color:#083f43;color:#fff!important;box-shadow:0 8px 18px rgba(8,63,67,.18)}
.fos6-btn.secondary{background:#ffffff;color:#0a5b61!important;border:1px solid #0a5b61}
.fos6-btn.secondary:hover,.fos6-btn.secondary:focus{background:#0a5b61;color:#ffffff!important;border-color:#0a5b61}
.fos6-btn.wa-button{background:#136d3d;border-color:#136d3d;color:#fff!important}
.fos6-btn.wa-button:hover,.fos6-btn.wa-button:focus{background:#0d522d;border-color:#0d522d;color:#fff!important}
.fos6-header nav a,.fos6-workspace-nav a,.fos6-quickbar button,.fos6-dialog-close{transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.fos6-dialog-close{color:var(--f6-dark);border:1px solid #ccd7dd}
.fos6-dialog-close:hover,.fos6-dialog-close:focus{background:var(--f6-dark);color:#fff;border-color:var(--f6-dark)}
.fos6-fixed-nav-shell{position:fixed;top:0;left:0;right:0;z-index:1200;padding:8px 12px;background:rgba(244,247,248,.96);backdrop-filter:blur(10px);border-bottom:1px solid rgba(220,228,232,.95)}
.fos6-fixed-nav-shell .fos6-workspace-nav{max-width:1440px;margin:0 auto 0;background:#ffffff;border:1px solid var(--f6-line);box-shadow:0 10px 24px rgba(20,36,45,.08)}
.fos6-fixed-nav-spacer{height:72px}
.fos6-workspace-nav{margin-bottom:0}
.fos6-workspace-nav a{padding:9px 12px;color:#18303c}
.fos6-workspace-nav a:hover,.fos6-workspace-nav a:focus{background:#dff0ef;color:#0a4b50}
.fos6-workspace-nav a.is-active{background:#0f2430;color:#fff;box-shadow:0 6px 14px rgba(15,36,48,.18)}
.fos6-header{margin-bottom:12px}
.fos6-header-hero{background:linear-gradient(135deg,#ffffff 0%,#edf6f5 100%);color:var(--f6-text);border:1px solid var(--f6-line);padding:14px 18px;border-radius:18px;display:grid;gap:12px;box-shadow:0 8px 26px rgba(24,40,52,.05)}
.fos6-hero-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.fos6-brand-block{display:flex;flex-direction:column;gap:3px}
.fos6-brand-block strong{font-size:18px;line-height:1;color:#0f2430}
.fos6-brand-block span{font-size:12px;color:var(--f6-muted)}
.fos6-header-hero nav{display:flex;gap:8px;flex-wrap:wrap}
.fos6-header-hero nav a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border-radius:10px;border:1px solid #0f2430;background:#ffffff;color:#0f2430;text-decoration:none;font-size:13px;font-weight:800}
.fos6-header-hero nav a:hover,.fos6-header-hero nav a:focus{background:#0f2430;color:#ffffff;border-color:#0f2430}
.fos6-hero-main{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.fos6-hero-copy h1{font-size:clamp(24px,2.8vw,34px);line-height:1.1;margin:5px 0 8px}
.fos6-hero-copy p{margin:0;color:var(--f6-muted);font-size:15px}
.fos6-listing-facts-compact{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right;min-width:235px}
.fos6-listing-facts-compact>strong{font-size:20px;line-height:1.1}
.fos6-listing-badges{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.fos6-status{font-weight:800}
.fos6-status.highlight{padding:7px 12px;font-size:12px;border-radius:999px;border:1px solid transparent;box-shadow:0 6px 16px rgba(0,0,0,.06)}
.fos6-status.highlight.good{background:#dff7e8;color:#0f6a3f;border-color:#bce6cb}
.fos6-status.highlight.warning{background:#fff0c9;color:#7f5600;border-color:#f0d88f}
.fos6-status.highlight.danger{background:#ffe2e2;color:#982d2d;border-color:#f2b7b7}
.fos6-status.data{background:#e9eef2;color:#233745}
.fos6-lead-name{color:#0a5b61}
.fos6-lead-name:hover,.fos6-lead-name:focus{color:#083f43}
@media(max-width:1000px){.fos6-fixed-nav-spacer{height:70px}.fos6-hero-main{flex-direction:column}.fos6-listing-facts-compact{align-items:flex-start;text-align:left;min-width:0}.fos6-listing-badges{justify-content:flex-start}}
@media(max-width:680px){.fos6-fixed-nav-shell{padding:8px}.fos6-fixed-nav-shell .fos6-workspace-nav{border-radius:12px;padding:5px}.fos6-fixed-nav-spacer{height:68px}.fos6-header-hero{padding:12px 14px;border-radius:14px}.fos6-hero-top{align-items:flex-start;flex-direction:column}.fos6-header-hero nav{width:100%}.fos6-header-hero nav a{flex:1}.fos6-hero-copy h1{font-size:22px}.fos6-hero-copy p{font-size:14px}.fos6-listing-badges{gap:6px}.fos6-status.highlight{padding:6px 10px;font-size:11px}}
@media print{.fos6-fixed-nav-shell,.fos6-fixed-nav-spacer,.fos6-header-hero{display:none!important}}

/* alpha.9 compact hero line + fixed meta right */
.fos6-fixed-nav-shell{padding:8px 12px}
.fos6-fixed-nav-inner{max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.fos6-fixed-nav-inner .fos6-workspace-nav{flex:1 1 auto;max-width:none}
.fos6-fixed-menu-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;min-width:max-content}
.fos6-fixed-brand{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:10px;background:#ffffff;border:1px solid var(--f6-line);color:#0f2430;font-size:13px;font-weight:900;letter-spacing:.02em;box-shadow:0 10px 24px rgba(20,36,45,.08)}
.fos6-fixed-logout{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border-radius:10px;border:1px solid #0f2430;background:#ffffff;color:#0f2430;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 10px 24px rgba(20,36,45,.08)}
.fos6-fixed-logout:hover,.fos6-fixed-logout:focus{background:#0f2430;color:#ffffff;border-color:#0f2430}
.fos6-fixed-badge{position:fixed;top:13px;right:12px;z-index:1210;box-shadow:0 10px 24px rgba(20,36,45,.14);pointer-events:none}
.fos6-fixed-menu-meta .fos6-fixed-badge{position:static;pointer-events:auto}
.fos6-header-compact{padding:14px 18px}
.fos6-hero-line{display:flex;align-items:center;justify-content:space-between;gap:18px}
.fos6-hero-line-copy{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 auto;flex-wrap:wrap}
.fos6-hero-line-copy .fos6-eyebrow{flex:0 0 100%;margin-bottom:-2px}
.fos6-hero-line-copy h1{margin:0;font-size:clamp(20px,2.2vw,28px);line-height:1.15;flex:0 1 auto}
.fos6-hero-line-copy p{margin:0;color:var(--f6-muted);font-size:15px;flex:0 1 auto}
.fos6-hero-line-price{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end}
.fos6-hero-line-price strong{font-size:22px;line-height:1.1;white-space:nowrap;color:#0f2430}
.fos6-header-hero{margin-bottom:12px}
@media(max-width:1180px){.fos6-fixed-nav-inner{align-items:flex-start;flex-direction:column}.fos6-fixed-nav-inner .fos6-workspace-nav{width:100%}.fos6-fixed-menu-meta{width:100%;justify-content:flex-end}.fos6-fixed-badge{position:static;pointer-events:auto}.fos6-hero-line{align-items:flex-start;flex-direction:column}.fos6-hero-line-copy{display:block}.fos6-hero-line-copy h1{margin:4px 0 6px}.fos6-hero-line-copy p{display:block}.fos6-hero-line-price{justify-content:flex-start}}
@media(max-width:680px){.fos6-fixed-nav-shell{padding:8px}.fos6-fixed-nav-inner{gap:8px}.fos6-fixed-menu-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.fos6-fixed-brand,.fos6-fixed-logout{width:100%;min-height:36px}.fos6-fixed-menu-meta .fos6-fixed-badge{grid-column:1/-1;justify-self:end}.fos6-header-compact{padding:12px 14px}.fos6-hero-line-copy .fos6-eyebrow{margin-bottom:2px}.fos6-hero-line-copy h1{font-size:22px}.fos6-hero-line-copy p{font-size:14px}.fos6-hero-line-price strong{font-size:20px}}

/* alpha.10 top summary bar above menu, remove old hero row */
.fos6-header-hero,.fos6-brand-block,.fos6-fixed-brand,.fos6-fixed-badge,.fos6-hero-main,.fos6-hero-line,.fos6-listing-facts-compact{display:none!important}
.fos6-fixed-nav-shell{padding:10px 12px;background:rgba(244,247,248,.97)}
.fos6-top-summary{max-width:1440px;margin:0 auto 10px;background:#ffffff;border:1px solid var(--f6-line);border-radius:16px;padding:14px 18px;box-shadow:0 10px 24px rgba(20,36,45,.08)}
.fos6-top-summary-text{display:block;font-size:clamp(22px,2.4vw,30px);line-height:1.18;font-weight:800;color:#0f2430;letter-spacing:-0.015em}
.fos6-fixed-nav-inner{align-items:center;gap:10px}
.fos6-fixed-nav-inner .fos6-workspace-nav{flex:1 1 auto;width:auto;max-width:none}
.fos6-fixed-menu-meta{flex:0 0 auto;min-width:max-content}
.fos6-fixed-logout{min-height:40px;padding:10px 14px;border-radius:12px;font-weight:900}
.fos6-fixed-nav-spacer{height:132px}
@media(max-width:1180px){.fos6-top-summary{margin-bottom:8px;padding:12px 14px}.fos6-top-summary-text{font-size:24px}.fos6-fixed-nav-inner{align-items:flex-start;flex-direction:column}.fos6-fixed-nav-inner .fos6-workspace-nav{width:100%}.fos6-fixed-menu-meta{width:100%;display:flex;justify-content:flex-end}.fos6-fixed-nav-spacer{height:158px}}
@media(max-width:760px){.fos6-fixed-nav-shell{padding:8px}.fos6-top-summary{border-radius:14px;padding:12px 12px}.fos6-top-summary-text{font-size:20px;line-height:1.22}.fos6-fixed-menu-meta{width:100%;justify-content:stretch}.fos6-fixed-logout{width:100%}.fos6-fixed-nav-spacer{height:170px}}
@media(max-width:520px){.fos6-top-summary-text{font-size:18px}.fos6-fixed-nav-spacer{height:182px}}

/* alpha.11 luxury navy + gold theme */
:root{
  --f6-bg:#f4efe6;
  --f6-card:#fffdf8;
  --f6-text:#112131;
  --f6-muted:#6f6a62;
  --f6-line:#d8c7a4;
  --f6-accent:#b58a3a;
  --f6-accent-dark:#8f6a26;
  --f6-dark:#0f1c2d;
  --f6-good:#7e8f57;
  --f6-bad:#8d3b34;
  --f6-warn:#9a6b20;
  --f6-soft:#f8f2e7;
  --f6-shadow:0 10px 30px rgba(15,28,45,.10)
}
body:has(.fos6-wrap){background:linear-gradient(180deg,#f8f3ea 0%,#f2ede3 100%)}
.fos6-wrap{color:var(--f6-text);font-family:Inter,"Segoe UI",system-ui,sans-serif}
.fos6-wrap h1,.fos6-wrap h2,.fos6-wrap h3,.fos6-wrap strong.fos6-heading,.fos6-top-summary-text,.fos6-panel-head h1,.fos6-panel-head h2,.fos6-listing-strip h1,.fos6-health-number{font-family:"Cormorant Garamond","Playfair Display",Georgia,"Times New Roman",serif;letter-spacing:.01em}
.fos6-header,.fos6-header-hero,.fos6-top-summary,.fos6-panel,.fos6-subpanel,.fos6-metric,.fos6-opportunity-card,.fos6-modal-card,.fos6-dialog-panel{background:var(--f6-card);border-color:rgba(181,138,58,.28);box-shadow:var(--f6-shadow)}
.fos6-panel,.fos6-subpanel,.fos6-metric,.fos6-opportunity-card,.fos6-dialog-panel{border-radius:18px}
.fos6-fixed-nav-shell{background:rgba(15,28,45,.98);border-bottom:1px solid rgba(181,138,58,.35);backdrop-filter:blur(12px)}
.fos6-fixed-nav-inner{max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.fos6-fixed-nav-shell .fos6-workspace-nav{background:transparent;border:0;box-shadow:none;padding:0;margin:0}
.fos6-workspace-nav{display:flex;gap:8px;overflow-x:auto}
.fos6-workspace-nav a{color:#f3ead6;font-weight:800;padding:10px 14px;border-radius:12px;border:1px solid transparent}
.fos6-workspace-nav a:hover,.fos6-workspace-nav a:focus{background:rgba(181,138,58,.12);color:#f4d9a0;border-color:rgba(181,138,58,.25)}
.fos6-workspace-nav a.is-active{background:linear-gradient(135deg,#c79a44 0%,#a97b2b 100%);color:#0f1c2d;border-color:#d8b06a;box-shadow:0 8px 24px rgba(0,0,0,.24)}
.fos6-fixed-menu-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.fos6-fixed-logout{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 15px;border-radius:12px;border:1px solid #d3b06d;background:#f6e5bd;color:#182534;text-decoration:none;font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.fos6-fixed-logout:hover,.fos6-fixed-logout:focus{background:#d5aa5b;color:#0f1c2d;border-color:#e2bf86}
.fos6-fixed-nav-spacer{height:74px}
.fos6-top-summary{display:none!important}
.fos6-eyebrow{color:#9d7a35;font-weight:900;letter-spacing:.18em}
.fos6-btn{background:linear-gradient(135deg,#c79a44 0%,#a97b2b 100%);border:1px solid #d1a65c;color:#0f1c2d!important;font-weight:900;border-radius:12px;box-shadow:0 10px 22px rgba(169,123,43,.22)}
.fos6-btn:hover,.fos6-btn:focus{background:linear-gradient(135deg,#d7ad60 0%,#b28434 100%);border-color:#e0bb7b;color:#0f1c2d!important;box-shadow:0 12px 26px rgba(169,123,43,.3)}
.fos6-btn.secondary{background:#fffdf8;color:#8f6a26!important;border:1px solid rgba(181,138,58,.5)}
.fos6-btn.secondary:hover,.fos6-btn.secondary:focus{background:#f6e8cb;color:#6f5018!important;border-color:#c79a44}
.fos6-btn.wa-button{background:linear-gradient(135deg,#2c7a57 0%,#1f5d41 100%);border-color:#357d5b;color:#fff!important}
.fos6-btn.wa-button:hover,.fos6-btn.wa-button:focus{background:linear-gradient(135deg,#338864 0%,#215f43 100%);color:#fff!important}
.fos6-metric,.fos6-panel,.fos6-subpanel{background:linear-gradient(180deg,#fffdf8 0%,#fbf7ef 100%)}
.fos6-panel-head h1,.fos6-panel-head h2,.fos6-health-number,.fos6-mandate-summary strong{color:#0f1c2d}
.fos6-metric strong{font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:34px;color:#0f1c2d}
.fos6-status,.fos6-pill,.fos6-chip{border:1px solid rgba(181,138,58,.26);background:#f8efdb;color:#7d5c1f}
.fos6-status.good,.fos6-pill.good{background:#eef3e3;color:#5d7240;border-color:#c7d8ae}
.fos6-status.warning{background:#fff3d9;color:#8a651d;border-color:#e7c37f}
.fos6-status.danger,.fos6-pill.bad{background:#f9e4e1;color:#8d3b34;border-color:#e0b0aa}
.fos6-notice.good{background:#eef3e3;color:#5d7240;border-color:#c7d8ae}
.fos6-notice.bad{background:#f9e4e1;color:#8d3b34;border-color:#e0b0aa}
.fos6-form input,.fos6-form select,.fos6-form textarea,.fos6-confirm input,.fos6-mini-form input,.fos6-mini-form select,.fos6-mini-form textarea,.fos6-filter input,.fos6-filter select{border:1px solid #d7c6a5;background:#fffdf8;border-radius:10px}
.fos6-form input:focus,.fos6-form select:focus,.fos6-form textarea:focus,.fos6-filter input:focus,.fos6-filter select:focus{outline:2px solid rgba(181,138,58,.18);border-color:#c79a44}
.fos6-table th{color:#8a6a2a}
.fos6-table th,.fos6-table td{border-bottom:1px solid rgba(181,138,58,.18)}
.fos6-table tr:hover td{background:rgba(181,138,58,.06)}
.fos6-opportunity-card{background:linear-gradient(180deg,#fffdf9 0%,#faf3e6 100%);border-left-width:6px}
.fos6-opportunity-card.priority-a{border-left-color:#8d3b34}
.fos6-opportunity-card.priority-b{border-left-color:#b58a3a}
.fos6-opportunity-card.priority-c{border-left-color:#7e8f57}
.fos6-opportunity-card.priority-d{border-left-color:#7f8790}
.fos6-timeline:before{background:rgba(181,138,58,.35)}
.fos6-timeline article:before{background:#b58a3a;box-shadow:0 0 0 3px #f6eddb}
.fos6-risk-list article{background:#fffaf0;border-left-color:#c79a44}
.fos6-risk-list article.warning{background:#fff6e6;border-left-color:#bf8c32}
.fos6-risk-list article.danger{background:#fbebe8;border-left-color:#8d3b34}
.fos6-risk-list article.good{background:#eff5e7;border-left-color:#7e8f57}
.fos6-quickbar{background:rgba(15,28,45,.96);border-top:1px solid rgba(181,138,58,.32);box-shadow:0 -10px 28px rgba(0,0,0,.18)}
.fos6-quickbar button{background:transparent;color:#f3ead6;border-color:rgba(181,138,58,.35)}
.fos6-quickbar button:hover,.fos6-quickbar button:focus{background:rgba(181,138,58,.14);color:#f8ddb0;border-color:rgba(181,138,58,.6)}
.fos6-dialog-shell{background:rgba(15,28,45,.58)}
.fos6-dialog-panel{background:#fffdf8;border:1px solid rgba(181,138,58,.35);border-radius:22px}
.fos6-dialog-head,.fos6-modal-actions{background:#fcf7ec}
.fos6-dialog-close{color:#7d5c1f;border:1px solid rgba(181,138,58,.35);background:#fffdf8}
.fos6-dialog-close:hover,.fos6-dialog-close:focus{background:#b58a3a;color:#0f1c2d;border-color:#b58a3a}
.fos6-lead-name,.fos6-text-link{color:#8f6a26}
.fos6-lead-name:hover,.fos6-lead-name:focus,.fos6-text-link:hover{color:#6f5018}
@media(max-width:980px){.fos6-fixed-nav-inner{align-items:flex-start;flex-direction:column}.fos6-fixed-nav-inner .fos6-workspace-nav{width:100%}.fos6-fixed-menu-meta{width:100%;justify-content:flex-end}.fos6-fixed-nav-spacer{height:118px}}
@media(max-width:680px){.fos6-wrap{padding:12px}.fos6-fixed-nav-shell{padding:8px 10px}.fos6-workspace-nav a{padding:9px 11px;font-size:12px}.fos6-fixed-menu-meta{width:100%}.fos6-fixed-logout{width:100%}.fos6-fixed-nav-spacer{height:136px}}

/* alpha.12 PIN-only luxury access */
.fos6-pin-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:
radial-gradient(circle at 18% 18%,rgba(194,151,70,.12),transparent 31%),
radial-gradient(circle at 82% 78%,rgba(194,151,70,.08),transparent 28%),
linear-gradient(145deg,#071221 0%,#0f1c2d 48%,#17283c 100%);font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#f7edd9}
.fos6-pin-card{position:relative;width:min(440px,100%);padding:42px 38px 32px;border:1px solid rgba(213,173,95,.42);border-radius:26px;background:linear-gradient(160deg,rgba(23,40,60,.97),rgba(9,21,35,.98));box-shadow:0 30px 90px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.06);text-align:center;overflow:hidden}
.fos6-pin-card:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(135deg,rgba(232,196,126,.78),rgba(232,196,126,.05),rgba(232,196,126,.4));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.fos6-pin-monogram{width:64px;height:64px;margin:0 auto 20px;display:grid;place-items:center;border:1px solid rgba(220,181,105,.66);border-radius:50%;background:linear-gradient(145deg,#c89b48,#8e6622);color:#0f1c2d;font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:24px;font-weight:900;letter-spacing:.05em;box-shadow:0 12px 32px rgba(0,0,0,.28)}
.fos6-pin-eyebrow{display:block;margin-bottom:7px;color:#d9b66f;font-size:10px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}
.fos6-pin-card h1{margin:0;color:#fff7e7;font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:52px;line-height:1;font-weight:700;letter-spacing:.04em}
.fos6-pin-subtitle{margin:9px 0 28px;color:#aeb8c2;font-size:13px;letter-spacing:.03em}
.fos6-pin-form{text-align:left}
.fos6-pin-form label{display:block;margin-bottom:8px;color:#e7cf9d;font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.fos6-pin-form input{width:100%;height:58px;padding:8px 16px;border:1px solid rgba(215,180,110,.5);border-radius:14px;background:rgba(4,13,23,.72);color:#fff5df;font:900 24px/1 Inter,"Segoe UI",sans-serif;letter-spacing:.45em;text-align:center;outline:none;box-shadow:inset 0 2px 12px rgba(0,0,0,.2);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.fos6-pin-form input:focus{border-color:#e1bd78;background:rgba(6,17,29,.92);box-shadow:0 0 0 4px rgba(204,158,75,.14),inset 0 2px 12px rgba(0,0,0,.22)}
.fos6-pin-form small{display:block;margin:8px 2px 18px;color:#8f9cab;font-size:11px;line-height:1.45}
.fos6-pin-submit{width:100%;min-height:52px;border:1px solid #e1bd78;border-radius:14px;background:linear-gradient(135deg,#d4aa5a 0%,#a67828 100%);color:#0c1928;font-size:14px;font-weight:950;letter-spacing:.03em;cursor:pointer;box-shadow:0 14px 30px rgba(0,0,0,.24);transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.fos6-pin-submit:hover,.fos6-pin-submit:focus{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 17px 36px rgba(0,0,0,.3)}
.fos6-pin-message{margin:0 0 18px;padding:11px 13px;border-radius:11px;font-size:12px;text-align:left}
.fos6-pin-message.is-error{background:rgba(145,55,49,.2);border:1px solid rgba(224,132,123,.42);color:#f0b8b1}
.fos6-pin-message.is-success{background:rgba(96,124,74,.2);border:1px solid rgba(151,183,119,.4);color:#cce0b5}
.fos6-pin-card footer{margin-top:26px;padding-top:18px;border-top:1px solid rgba(215,180,110,.18);color:#788696;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:520px){.fos6-pin-screen{padding:14px}.fos6-pin-card{padding:34px 22px 26px;border-radius:21px}.fos6-pin-card h1{font-size:44px}.fos6-pin-form input{height:54px;font-size:22px}}

/* alpha.13 universal click-first-column modal editing */
.fos6-record-link{
  appearance:none;
  display:inline;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#9a742e;
  font:inherit;
  font-weight:900;
  text-align:left;
  line-height:1.3;
  cursor:pointer;
  text-decoration:none;
  border-bottom:1px dotted rgba(181,138,58,.7);
  transition:color .18s ease,border-color .18s ease,text-shadow .18s ease;
}
.fos6-record-link:hover,.fos6-record-link:focus{
  color:#6d4f18;
  border-bottom-style:solid;
  border-bottom-color:#b58a3a;
  outline:none;
  text-shadow:0 1px 0 rgba(255,255,255,.7);
}
.fos6-record-dialog{width:min(980px,calc(100vw - 28px));max-height:94vh;overflow:hidden}
.fos6-record-dialog .fos6-dialog-body{max-height:calc(94vh - 188px);overflow:auto;background:#f7f1e6}
.fos6-record-modal-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  padding:11px 16px;
  background:#fffaf0;
  border-top:1px solid rgba(181,138,58,.2);
  border-bottom:1px solid rgba(181,138,58,.2);
}
.fos6-record-modal-actions:first-of-type{border-top:0}
.fos6-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.fos6-table td:first-child .fos6-record-link{font-size:13px}
.fos6-card .fos6-record-link,.fos6-transaction-card .fos6-record-link,.fos6-opportunity-card .fos6-record-link,.fos6-campaign-card .fos6-record-link{font-size:15px}
.fos6-timeline .fos6-record-link{display:inline-block;margin:3px 0;font-size:13px}
.fos6-action-main .fos6-record-link{font-size:14px}
@media(max-width:820px){.fos6-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.fos6-record-dialog{width:calc(100vw - 12px);max-height:97vh}.fos6-record-dialog .fos6-dialog-body{max-height:calc(97vh - 205px);padding:12px}.fos6-record-modal-actions{display:grid;grid-template-columns:1fr 1fr;padding:9px 11px}.fos6-record-modal-actions .fos6-btn{width:100%}.fos6-four{grid-template-columns:1fr}}

/* alpha.14 text-only modal triggers */
.fos6-record-link,
.fos6-lead-name{
  appearance:none!important;
  display:inline!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--f6-text)!important;
  font:inherit!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
.fos6-record-link:hover,
.fos6-record-link:focus,
.fos6-lead-name:hover,
.fos6-lead-name:focus{
  color:var(--f6-accent-dark)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-decoration:underline!important;
  text-decoration-thickness:1px!important;
  text-underline-offset:3px!important;
}
.fos6-record-link:focus-visible,
.fos6-lead-name:focus-visible{
  outline:0!important;
  text-decoration:underline!important;
}
.fos6-table td:first-child .fos6-record-link,
.fos6-card .fos6-record-link,
.fos6-transaction-card .fos6-record-link,
.fos6-opportunity-card .fos6-record-link,
.fos6-campaign-card .fos6-record-link,
.fos6-timeline .fos6-record-link,
.fos6-action-main .fos6-record-link{
  display:inline!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}

/* alpha.19 — FMOS Engagement Workflow */
.fos6-engagement-workflow{overflow:visible}
.fos6-engagement-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:4px 0 14px}
.fos6-engagement-metrics article{padding:13px 15px;border:1px solid rgba(181,138,58,.28);border-radius:15px;background:linear-gradient(180deg,#fffdf8 0%,#f8f0df 100%)}
.fos6-engagement-metrics span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--f6-muted);font-weight:850}
.fos6-engagement-metrics strong{display:block;margin-top:4px;font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:29px;line-height:1;color:#0f1c2d}
.fos6-engagement-filterbar{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;margin-bottom:10px;border:1px solid rgba(181,138,58,.24);border-radius:15px;background:#fbf6eb}
.fos6-engagement-filterbar .fos6-chip-nav{margin:0}
.fos6-filter-label{padding-top:8px;white-space:nowrap;font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:#8f6a26}
.fos6-engagement-filterbar .fos6-chip{border:1px solid rgba(181,138,58,.22);background:#fffdf8;color:#5e4a25}
.fos6-engagement-filterbar .fos6-chip b{margin-left:5px;color:inherit}
.fos6-engagement-filterbar .fos6-chip.is-active{background:#0f1c2d;color:#f3dba9;border-color:#b58a3a}
.fos6-engagement-legend{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;font-size:11px;color:var(--f6-muted)}
.fos6-engagement-legend span{display:inline-flex;gap:5px;align-items:center;padding:5px 8px;border-radius:999px;background:#f6efdf;border:1px solid rgba(181,138,58,.2)}
.fos6-engagement-legend .is-suppress{background:#f9e4e1;color:#8d3b34;border-color:#dfb2ac}
.fos6-engagement-bulk{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:11px 12px;margin-bottom:10px;border-radius:14px;background:#0f1c2d;border:1px solid rgba(181,138,58,.42)}
.fos6-engagement-bulk label{display:flex;align-items:center;gap:8px;margin:0;color:#f2e7d1;font-size:12px;font-weight:850}
.fos6-engagement-bulk select{min-width:220px;margin:0;padding:8px 10px;border:1px solid #c9a45f;border-radius:9px;background:#fffdf8;color:#162536}
.fos6-bulk-selected{margin-left:auto;color:#d8c49d;font-size:12px;font-weight:800}
.fos6-engagement-table{min-width:1080px}
.fos6-engagement-table .fos6-select-col{width:42px;text-align:center}
.fos6-engagement-table input[type="checkbox"]{width:17px;height:17px;accent-color:#b58a3a}
.fos6-engagement-table tr.is-priority td{background:rgba(181,138,58,.055)}
.fos6-engagement-table tr.is-suppressed td{background:rgba(141,59,52,.055)}
.fos6-priority-score{display:inline-grid;min-width:68px;padding:7px 9px;border-radius:11px;text-align:center;border:1px solid transparent;font-size:10px;line-height:1.1;font-weight:850}
.fos6-priority-score b{display:block;font-size:18px;line-height:1;margin-bottom:3px}
.fos6-priority-score.is-highest{background:#f6e6bd;color:#654a18;border-color:#d8b66e}
.fos6-priority-score.is-high{background:#fbefd4;color:#7a5b1e;border-color:#e3c27d}
.fos6-priority-score.is-medium{background:#edf1df;color:#5a6c3e;border-color:#c8d4a5}
.fos6-priority-score.is-low{background:#edf0f2;color:#5b6670;border-color:#d2d9de}
.fos6-priority-score.is-suppress{background:#f9e4e1;color:#8d3b34;border-color:#dfb2ac}
.fos6-workflow-status{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em;border:1px solid transparent}
.fos6-workflow-status.is-new_signal{background:#f7edd6;color:#7b5d22;border-color:#dfc78e}
.fos6-workflow-status.is-reviewed{background:#e8eef5;color:#3f5b76;border-color:#b8cadc}
.fos6-workflow-status.is-promoted{background:#e8f2e4;color:#50703b;border-color:#bad0aa}
.fos6-workflow-status.is-ignored{background:#ececed;color:#696a6d;border-color:#d1d1d3}
.fos6-workflow-status.is-suppressed{background:#f9e4e1;color:#8d3b34;border-color:#dfb2ac}
.fos6-danger-text{color:#8d3b34!important;font-weight:800}
.fos6-fmos-attribution{margin-top:14px;background:linear-gradient(180deg,#fffdf8 0%,#f8f0df 100%)}
.fos6-attribution-card{padding:12px 13px;margin-top:10px;border:1px solid rgba(181,138,58,.25);border-radius:14px;background:#fffdf9}
.fos6-attribution-card.is-suppressed{border-color:#dfb2ac;background:#fff7f5}
.fos6-attribution-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.fos6-attribution-head strong{font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:18px;color:#0f1c2d}
.fos6-attribution-card dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin:0 0 10px}
.fos6-attribution-card dl div{display:grid;grid-template-columns:minmax(110px,.8fr) 1.2fr;gap:7px;border-bottom:1px solid rgba(181,138,58,.13);padding-bottom:5px}
.fos6-attribution-card dt{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#8a6a2a;font-weight:850}
.fos6-attribution-card dd{margin:0;font-size:12px;color:#253443;word-break:break-word}
@media(max-width:900px){.fos6-engagement-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fos6-engagement-filterbar{flex-direction:column}.fos6-filter-label{padding-top:0}.fos6-bulk-selected{margin-left:0}.fos6-attribution-card dl{grid-template-columns:1fr}}
@media(max-width:560px){.fos6-engagement-metrics{grid-template-columns:1fr 1fr}.fos6-engagement-bulk{align-items:stretch}.fos6-engagement-bulk label{width:100%;display:block}.fos6-engagement-bulk select{width:100%;margin-top:5px}.fos6-engagement-bulk .fos6-btn{width:100%}.fos6-attribution-card dl div{grid-template-columns:1fr}.fos6-attribution-head{flex-direction:column}}

/* alpha.20 daily operations: numbered tables, ID columns, email trigger */
.fos6-table .fos6-col-no{width:54px;min-width:54px;text-align:center;white-space:nowrap}
.fos6-table .fos6-col-id{width:74px;min-width:74px;white-space:nowrap}
.fos6-table th.fos6-col-no,.fos6-table th.fos6-col-id{color:#8a6a2a}
.fos6-table td.fos6-col-no{font-weight:700;color:var(--f6-muted)}
.fos6-table td.fos6-col-id .fos6-record-link,.fos6-table td.fos6-col-id .fos6-lead-name{font-weight:900;color:#8f6a26}
.fos6-campaign-table{min-width:1320px}
.fos6-campaign-table tr.is-selected td{background:rgba(181,138,58,.10)}
.fos6-email-address{color:#8f6a26;text-decoration:none;font-weight:750;word-break:break-word}
.fos6-email-address:hover,.fos6-email-address:focus{color:#6f5018;text-decoration:underline}
.fos6-email-trigger{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:999px;background:#f6e8cb;border:1px solid rgba(181,138,58,.35);color:#76551b;text-decoration:none;font-size:10px;font-weight:900;white-space:nowrap}
.fos6-email-trigger:hover,.fos6-email-trigger:focus{background:#d9b66f;color:#0f1c2d;border-color:#c79a44}
.fos6-btn.email-button{background:linear-gradient(135deg,#c79a44 0%,#a97b2b 100%);border-color:#d1a65c;color:#0f1c2d!important}
.fos6-btn.email-button:hover,.fos6-btn.email-button:focus{background:linear-gradient(135deg,#d7ad60 0%,#b28434 100%);color:#0f1c2d!important}
.fos6-lead-quick-contact{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding:12px 14px;border:1px solid rgba(181,138,58,.28);border-radius:14px;background:#fbf5e8}
.fos6-lead-quick-contact>span{font-weight:900;color:#0f1c2d;margin-right:4px}
@media(max-width:680px){.fos6-lead-quick-contact .fos6-btn{width:auto}.fos6-campaign-table{min-width:1180px}}

/* alpha.21 universal table presentation */
.fos6-summary-table-panel{padding:14px 17px}
.fos6-summary-table-panel .fos6-panel-head{margin-bottom:8px}
.fos6-summary-table{min-width:520px}
.fos6-table-compact{min-width:560px}
.fos6-number-cell{font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:24px;font-weight:800;color:#0f1c2d}
.fos6-table td small{display:block;margin-top:3px;color:var(--f6-muted);font-size:11px}
.fos6-row-overdue td{background:rgba(141,59,52,.065)}
.fos6-row-suppressed td{background:rgba(141,59,52,.075);color:#6f4d49}
.fos6-danger-text{color:var(--f6-bad)!important;font-weight:800}
.fos6-priority-row.priority-a td:first-child{box-shadow:inset 4px 0 0 #8d3b34}
.fos6-priority-row.priority-b td:first-child{box-shadow:inset 4px 0 0 #b58a3a}
.fos6-priority-row.priority-c td:first-child{box-shadow:inset 4px 0 0 #7e8f57}
.fos6-priority-row.priority-d td:first-child{box-shadow:inset 4px 0 0 #7f8790}
.fos6-risk-row.danger td{background:rgba(141,59,52,.065)}
.fos6-risk-row.warning td{background:rgba(181,138,58,.065)}
.fos6-risk-row.good td{background:rgba(126,143,87,.065)}
.fos6-report-metrics-table{min-width:520px;margin-bottom:20px}
.fos6-panel>.fos6-table-wrap:last-child{margin-bottom:0}
@media(max-width:680px){
  .fos6-summary-table,.fos6-table-compact{min-width:620px}
  .fos6-number-cell{font-size:21px}
}

/* alpha.22 CRUD governance and record lifecycle */
.fos6-lifecycle-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:9px 12px;background:#fffaf0;border:1px solid rgba(181,138,58,.3);border-radius:14px;box-shadow:0 8px 22px rgba(15,28,45,.06)}
.fos6-lifecycle-filter>span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.16em;color:#8f6a26}
.fos6-lifecycle-filter .fos6-chip-nav{margin:0}
.fos6-lifecycle-panel{margin-top:18px;padding:15px 16px;border:1px solid rgba(141,59,52,.28);border-radius:14px;background:#fff9f5}
.fos6-lifecycle-panel summary{color:#8d3b34;font-weight:900;cursor:pointer}
.fos6-lifecycle-panel summary:hover{color:#6f2924}
.fos6-lifecycle-panel form{margin-top:13px}
.fos6-lifecycle-panel.is-archived{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f9eee5;border-color:rgba(181,138,58,.35)}
.fos6-lifecycle-panel.is-archived h3{margin:3px 0 4px;color:#6f5018}
.fos6-lifecycle-panel.is-archived p{margin:0;color:var(--f6-muted);white-space:pre-wrap}
.fos6-btn.fos6-btn-danger{background:linear-gradient(135deg,#9a4a42 0%,#74332e 100%);border-color:#a75b53;color:#fff!important;box-shadow:0 10px 22px rgba(116,51,46,.2)}
.fos6-btn.fos6-btn-danger:hover,.fos6-btn.fos6-btn-danger:focus{background:linear-gradient(135deg,#ad5a51 0%,#813a34 100%);border-color:#ba6b62;color:#fff!important}
.fos6-record-dialog fieldset[disabled],.fos6-lead-detail-dialog fieldset[disabled]{opacity:.66;border:0;padding:0;margin:0;min-width:0}
.fos6-notice.warning{background:#fff3d9;color:#7f5b18;border:1px solid #e4c47d}
@media(max-width:680px){.fos6-lifecycle-filter{align-items:flex-start;flex-direction:column}.fos6-lifecycle-panel.is-archived{align-items:flex-start;flex-direction:column}.fos6-lifecycle-panel.is-archived form,.fos6-lifecycle-panel.is-archived .fos6-btn{width:100%}}

/* alpha.23 mobile compact forms and four-line data cards */
@media(max-width:680px){
  .fos6-wrap{padding:8px;font-size:12px}
  .fos6-panel,.fos6-subpanel,.fos6-metric,.fos6-summary-table-panel{padding:10px;border-radius:13px;margin-bottom:8px}
  .fos6-panel-head{gap:7px;margin-bottom:8px}
  .fos6-panel-head h1{font-size:20px}
  .fos6-panel-head h2{font-size:17px}
  .fos6-panel-head p,.fos6-panel-head span{font-size:10.5px;line-height:1.35}
  .fos6-eyebrow{font-size:9px;letter-spacing:.13em}

  /* Forms: smaller controls, tighter spacing, still touch-safe. */
  .fos6-form label,.fos6-confirm,.fos6-mini-form label{font-size:10.5px;line-height:1.25;margin-bottom:5px}
  .fos6-form input,.fos6-form select,.fos6-form textarea,
  .fos6-confirm input,.fos6-mini-form input,.fos6-mini-form select,.fos6-mini-form textarea,
  .fos6-filter input,.fos6-filter select{
    min-height:34px;
    margin-top:3px;
    padding:6px 8px;
    border-radius:8px;
    font-size:12px;
    line-height:1.25;
  }
  .fos6-form textarea,.fos6-mini-form textarea{min-height:66px;max-height:150px}
  .fos6-two,.fos6-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .fos6-form,.fos6-mini-form{gap:5px}
  .fos6-form hr{margin:11px 0}
  .fos6-inline-form{margin-top:8px;padding:8px;border-radius:9px}
  .fos6-filter{gap:6px;margin-bottom:8px}
  .fos6-filter input,.fos6-filter select{min-width:0;flex:1 1 46%}
  .fos6-filter .fos6-btn{min-height:34px;padding:7px 10px;font-size:11px}
  .fos6-btn{min-height:34px;padding:7px 10px;border-radius:9px;font-size:11px}
  .fos6-btn.small{min-height:29px;padding:5px 7px;font-size:10px}
  .fos6-record-dialog .fos6-dialog-body{padding:8px;max-height:calc(97vh - 164px)}
  .fos6-record-modal-actions{display:flex;gap:6px;padding:7px 8px;overflow-x:auto}
  .fos6-record-modal-actions .fos6-btn{width:auto;min-width:max-content;flex:0 0 auto}
  .fos6-dialog-head{padding:9px 10px}
  .fos6-dialog-head h2,.fos6-dialog-head h3{font-size:17px}
  .fos6-lifecycle-panel{margin-top:10px;padding:9px 10px;border-radius:10px}
  .fos6-lifecycle-filter{padding:7px 8px;margin-bottom:8px;border-radius:10px}
  .fos6-chip-nav{gap:5px}
  .fos6-chip{padding:5px 7px;font-size:10px}

  /* Every operational table becomes a full-width compact card list. */
  .fos6-table-wrap{overflow:visible!important;width:100%}
  .fos6-table,.fos6-summary-table,.fos6-table-compact,.fos6-campaign-table,.fos6-report-metrics-table{
    display:block;
    width:100%;
    min-width:0!important;
    border-collapse:separate;
  }
  .fos6-table thead{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
  }
  .fos6-table tbody{display:grid;width:100%;gap:7px}
  .fos6-table tbody tr{
    display:grid;
    width:100%;
    min-width:0;
    gap:0;
    padding:7px 9px;
    border:1px solid rgba(181,138,58,.28);
    border-radius:11px;
    background:linear-gradient(180deg,#fffdf8 0%,#faf4e8 100%);
    box-shadow:0 5px 15px rgba(15,28,45,.06);
  }
  .fos6-table tbody tr:hover td{background:transparent}
  .fos6-table tbody td{
    display:grid;
    grid-template-columns:minmax(62px,30%) minmax(0,1fr);
    align-items:start;
    gap:7px;
    width:100%;
    min-width:0;
    padding:3px 0!important;
    border:0!important;
    font-size:11px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  .fos6-table tbody td::before{
    content:attr(data-label);
    min-width:0;
    color:#8a6a2a;
    font-size:8.5px;
    font-weight:900;
    line-height:1.25;
    letter-spacing:.08em;
    text-transform:uppercase;
    overflow-wrap:anywhere;
  }
  .fos6-table tbody td:nth-child(n+5){display:none!important}
  .fos6-table tbody td[colspan]{display:block!important;padding:7px 2px!important;text-align:center}
  .fos6-table tbody td[colspan]::before{display:none}
  .fos6-table tbody td:empty{display:none!important}
  .fos6-table tbody td small{margin-top:1px;font-size:9.5px;line-height:1.25}
  .fos6-table tbody .fos6-record-link,.fos6-table tbody .fos6-lead-name{font-size:11.5px!important;line-height:1.25!important}
  .fos6-table tbody .fos6-status,.fos6-table tbody .fos6-pill{padding:2px 6px;font-size:9px}
  .fos6-number-cell{font-size:16px}
  .fos6-priority-row.priority-a td:first-child,.fos6-priority-row.priority-b td:first-child,
  .fos6-priority-row.priority-c td:first-child,.fos6-priority-row.priority-d td:first-child{box-shadow:none}
  .fos6-priority-row.priority-a{border-left:4px solid #8d3b34!important}
  .fos6-priority-row.priority-b{border-left:4px solid #b58a3a!important}
  .fos6-priority-row.priority-c{border-left:4px solid #7e8f57!important}
  .fos6-priority-row.priority-d{border-left:4px solid #7f8790!important}
  .fos6-row-overdue,.fos6-row-suppressed,.fos6-risk-row.danger{border-left:4px solid #8d3b34!important}
  .fos6-risk-row.warning{border-left:4px solid #b58a3a!important}
  .fos6-risk-row.good{border-left:4px solid #7e8f57!important}
}

@media(max-width:420px){
  .fos6-two,.fos6-four{grid-template-columns:1fr}
  .fos6-form input,.fos6-form select,.fos6-form textarea,
  .fos6-mini-form input,.fos6-mini-form select,.fos6-mini-form textarea{font-size:11.5px}
  .fos6-table tbody td{grid-template-columns:minmax(58px,28%) minmax(0,1fr);gap:6px}
}

/* alpha.24 mobile lead cards: 65/35 two-column compact layout */
.fos6-lead-mobile-meta,.fos6-lead-mobile-opp{display:none}
.fos6-lead-main-cell .fos6-lead-company{display:block;margin-top:3px}
.fos6-lead-contact-line + .fos6-lead-contact-line{margin-top:5px}
.fos6-lead-phone-line .fos6-lead-phone-text{display:inline-block;margin-right:4px}

@media(max-width:680px){
  .fos6-leads-table tbody tr{
    grid-template-columns:minmax(0,65%) minmax(0,35%);
    grid-template-areas:
      "lead meta"
      "contact source"
      "contact status"
      "contact next";
    column-gap:10px;
    row-gap:3px;
    padding:9px 10px;
    align-items:start;
  }
  .fos6-leads-table tbody td{
    display:block;
    padding:2px 0!important;
  }
  .fos6-leads-table tbody td::before{
    display:block;
    margin-bottom:2px;
    font-size:8px;
    line-height:1.15;
  }
  .fos6-leads-table tbody td:nth-child(1){display:none!important}
  .fos6-leads-table tbody td:nth-child(2){grid-area:meta}
  .fos6-leads-table tbody td:nth-child(2)::before{display:none}
  .fos6-leads-table tbody td:nth-child(3){grid-area:lead}
  .fos6-leads-table tbody td:nth-child(4){grid-area:contact}
  .fos6-leads-table tbody td:nth-child(5){grid-area:source}
  .fos6-leads-table tbody td:nth-child(6){grid-area:status}
  .fos6-leads-table tbody td:nth-child(7){display:none!important}
  .fos6-leads-table tbody td:nth-child(8){grid-area:next}

  .fos6-lead-id-cell > .fos6-lead-name{display:none!important}
  .fos6-lead-mobile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .fos6-lead-mobile-stack{display:flex;flex-direction:column;gap:1px;min-width:0}
  .fos6-lead-mobile-kicker{display:block;font-size:8px;line-height:1.1;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#8a6a2a}
  .fos6-lead-mobile-stack strong,.fos6-lead-mobile-stack .fos6-lead-name{font-size:12px!important;line-height:1.2;font-weight:900;color:var(--f6-text)}

  .fos6-lead-main-cell::before,.fos6-lead-contact-cell::before{display:none!important}
  .fos6-lead-main-cell .fos6-lead-name{display:block;font-size:13px!important;line-height:1.2!important;font-weight:900}
  .fos6-lead-main-cell .fos6-lead-company{font-size:10px;line-height:1.25;color:var(--f6-muted)}

  .fos6-lead-contact-cell .fos6-email-address,
  .fos6-lead-contact-cell .fos6-email-trigger,
  .fos6-lead-contact-cell .fos6-wa,
  .fos6-lead-contact-cell .fos6-lead-phone-text,
  .fos6-lead-contact-cell .fos6-muted{font-size:10.5px}
  .fos6-leads-table tbody .fos6-lead-contact-cell .fos6-btn,
  .fos6-leads-table tbody .fos6-lead-contact-cell .fos6-email-trigger,
  .fos6-leads-table tbody .fos6-lead-contact-cell .fos6-wa{min-height:26px;padding:4px 8px;font-size:10px;border-radius:999px}

  .fos6-lead-source-cell,.fos6-lead-status-cell,.fos6-lead-next-cell{font-size:10.5px;line-height:1.3}
  .fos6-lead-source-cell .fos6-muted,.fos6-lead-next-cell .fos6-muted,.fos6-lead-status-cell .fos6-muted{font-size:9.5px}
  .fos6-lead-status-cell .fos6-pill{margin-bottom:4px}
  .fos6-lead-mobile-opp{display:block;margin-top:4px;font-size:10px;line-height:1.25}
  .fos6-lead-mobile-opp .fos6-lead-mobile-kicker{margin-bottom:2px}
}

@media(max-width:420px){
  .fos6-leads-table tbody tr{grid-template-columns:minmax(0,62%) minmax(0,38%);column-gap:8px;padding:8px 9px}
  .fos6-lead-mobile-meta{gap:4px}
  .fos6-lead-mobile-stack strong,.fos6-lead-mobile-stack .fos6-lead-name{font-size:11px!important}
  .fos6-lead-main-cell .fos6-lead-name{font-size:12px!important}
  .fos6-lead-contact-cell .fos6-email-address,
  .fos6-lead-contact-cell .fos6-email-trigger,
  .fos6-lead-contact-cell .fos6-wa,
  .fos6-lead-contact-cell .fos6-lead-phone-text,
  .fos6-lead-contact-cell .fos6-muted,
  .fos6-lead-source-cell,.fos6-lead-status-cell,.fos6-lead-next-cell{font-size:10px}
}

/* alpha.25 mobile lead cards: left fixed, right = status/opportunity/source, bigger fonts, no email button */
.fos6-lead-mobile-meta-inline{display:none}

@media(max-width:680px){
  .fos6-leads-table tbody tr{
    grid-template-columns:minmax(0,65%) minmax(0,35%);
    grid-template-areas:
      "lead status"
      "contact opportunity"
      "contact source";
    column-gap:12px;
    row-gap:5px;
    padding:11px 11px;
  }
  .fos6-leads-table tbody td:nth-child(1),
  .fos6-leads-table tbody td:nth-child(2),
  .fos6-leads-table tbody td:nth-child(8){display:none!important}
  .fos6-leads-table tbody td:nth-child(3){grid-area:lead}
  .fos6-leads-table tbody td:nth-child(4){grid-area:contact}
  .fos6-leads-table tbody td:nth-child(5){grid-area:source}
  .fos6-leads-table tbody td:nth-child(6){grid-area:status}
  .fos6-leads-table tbody td:nth-child(7){display:block!important;grid-area:opportunity}

  .fos6-lead-main-cell,
  .fos6-lead-contact-cell,
  .fos6-lead-source-cell,
  .fos6-lead-status-cell,
  .fos6-lead-opportunity-cell{font-size:13px;line-height:1.32}
  .fos6-leads-table tbody td::before{
    font-size:10px;
    margin-bottom:3px;
    line-height:1.15;
  }

  .fos6-lead-main-cell .fos6-lead-name{font-size:16px!important;line-height:1.15!important;font-weight:900}
  .fos6-lead-main-cell .fos6-lead-company{font-size:12.5px;line-height:1.25;margin-top:4px}
  .fos6-lead-mobile-meta-inline{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:6px;font-size:12.5px;line-height:1.2}
  .fos6-lead-mobile-meta-inline strong,
  .fos6-lead-mobile-meta-inline .fos6-lead-name{font-size:13px!important;line-height:1.2;font-weight:900;color:var(--f6-text)}
  .fos6-lead-mobile-meta-inline .fos6-lead-mobile-kicker{font-size:10px;line-height:1.1;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#8a6a2a}
  .fos6-lead-mobile-meta-inline .fos6-lead-mobile-sep{opacity:.55;font-size:11px}

  .fos6-lead-contact-cell .fos6-email-address,
  .fos6-lead-contact-cell .fos6-wa,
  .fos6-lead-contact-cell .fos6-lead-phone-text,
  .fos6-lead-contact-cell .fos6-muted{font-size:13px;line-height:1.25}
  .fos6-lead-contact-line + .fos6-lead-contact-line{margin-top:7px}
  .fos6-leads-table tbody .fos6-lead-contact-cell .fos6-wa{min-height:28px;padding:4px 9px;font-size:11px;border-radius:999px;margin-left:6px}

  .fos6-lead-source-cell,
  .fos6-lead-status-cell,
  .fos6-lead-opportunity-cell{display:block}
  .fos6-lead-source-cell .fos6-muted,
  .fos6-lead-status-cell .fos6-muted,
  .fos6-lead-opportunity-cell .fos6-muted{font-size:11.5px;line-height:1.25}
  .fos6-lead-status-cell .fos6-pill{font-size:11px;padding:4px 8px}
  .fos6-lead-source-cell .fos6-status,
  .fos6-lead-source-cell .fos6-pill,
  .fos6-lead-opportunity-cell .fos6-status,
  .fos6-lead-opportunity-cell .fos6-pill{font-size:11px;padding:4px 8px}
}

@media(max-width:420px){
  .fos6-leads-table tbody tr{grid-template-columns:minmax(0,63%) minmax(0,37%);column-gap:10px;padding:10px 10px}
  .fos6-lead-main-cell,
  .fos6-lead-contact-cell,
  .fos6-lead-source-cell,
  .fos6-lead-status-cell,
  .fos6-lead-opportunity-cell{font-size:12px}
  .fos6-lead-main-cell .fos6-lead-name{font-size:14px!important}
  .fos6-lead-main-cell .fos6-lead-company{font-size:11.5px}
  .fos6-lead-mobile-meta-inline{font-size:11.5px}
  .fos6-lead-contact-cell .fos6-email-address,
  .fos6-lead-contact-cell .fos6-wa,
  .fos6-lead-contact-cell .fos6-lead-phone-text,
  .fos6-lead-contact-cell .fos6-muted{font-size:12px}
}

/* alpha.26 mobile Leads: exact two-column field layout */
.fos6-lead-mobile-card-v2{display:none}

@media(max-width:680px){
  .fos6-leads-table tbody tr{
    display:block!important;
    padding:0!important;
    border-radius:12px;
    overflow:hidden;
  }
  .fos6-leads-table tbody td{display:none!important}
  .fos6-leads-table tbody td.fos6-lead-main-cell{
    display:block!important;
    width:100%!important;
    padding:0!important;
  }
  .fos6-leads-table tbody td.fos6-lead-main-cell::before,
  .fos6-lead-desktop-main{display:none!important}
  .fos6-lead-mobile-card-v2{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    width:100%;
    min-width:0;
    background:linear-gradient(180deg,#fffdf8 0%,#faf4e8 100%);
  }
  .fos6-lead-mobile-column{
    min-width:0;
    padding:11px 10px;
  }
  .fos6-lead-mobile-column + .fos6-lead-mobile-column{
    border-left:1px solid rgba(181,138,58,.34);
  }
  .fos6-lead-mobile-row{
    display:block;
    min-width:0;
    padding:4px 0;
    font-size:13px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  .fos6-lead-mobile-row > span{
    display:block;
    margin-bottom:1px;
    color:#8a6a2a;
    font-size:10px;
    font-weight:900;
    line-height:1.15;
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .fos6-lead-mobile-row > strong{
    display:block;
    min-width:0;
    color:var(--f6-text);
    font-size:13.5px;
    font-weight:750;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  .fos6-lead-mobile-row:first-child > strong,
  .fos6-lead-mobile-row:first-child .fos6-lead-name{
    font-size:15px!important;
    font-weight:900;
  }
  .fos6-lead-mobile-row .fos6-email-address,
  .fos6-lead-mobile-row .fos6-mobile-wa-address,
  .fos6-lead-mobile-row .fos6-lead-name{
    color:#8f6a26;
    text-decoration:none;
    font-size:inherit!important;
    line-height:inherit!important;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .fos6-lead-mobile-row .fos6-email-address:hover,
  .fos6-lead-mobile-row .fos6-mobile-wa-address:hover,
  .fos6-lead-mobile-row .fos6-lead-name:hover{
    color:#6f5018;
    text-decoration:underline;
  }
  .fos6-lead-mobile-row .fos6-pill{
    display:inline-flex;
    padding:3px 7px;
    font-size:11px;
    line-height:1.15;
  }
  .fos6-lead-mobile-row .fos6-muted,
  .fos6-mobile-subvalue{
    display:block;
    margin-top:2px;
    color:var(--f6-muted);
    font-size:11.5px;
    line-height:1.2;
  }
}

@media(max-width:420px){
  .fos6-lead-mobile-column{padding:10px 8px}
  .fos6-lead-mobile-row{font-size:12px}
  .fos6-lead-mobile-row > strong{font-size:12.5px}
  .fos6-lead-mobile-row:first-child > strong,
  .fos6-lead-mobile-row:first-child .fos6-lead-name{font-size:14px!important}
  .fos6-lead-mobile-row > span{font-size:9px}
}

/* alpha.27 mobile Leads: sketch layout with top 2 columns and bottom meta strip */
.fos6-lead-mobile-card-v3{display:none}

@media(max-width:680px){
  .fos6-leads-table tbody tr{
    display:block!important;
    padding:0!important;
    border-radius:12px;
    overflow:hidden;
  }
  .fos6-leads-table tbody td{display:none!important}
  .fos6-leads-table tbody td.fos6-lead-main-cell{display:block!important;width:100%!important;padding:0!important}
  .fos6-leads-table tbody td.fos6-lead-main-cell::before,
  .fos6-lead-desktop-main,
  .fos6-lead-mobile-card-v2{display:none!important}

  .fos6-lead-mobile-card-v3{display:block;background:linear-gradient(180deg,#fffdf8 0%,#faf4e8 100%)}
  .fos6-lead-mobile-card-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid rgba(181,138,58,.34)}
  .fos6-lead-mobile-column{min-width:0;padding:11px 10px}
  .fos6-lead-mobile-column + .fos6-lead-mobile-column{border-left:1px solid rgba(181,138,58,.34)}
  .fos6-lead-mobile-row{display:block;padding:4px 0;min-width:0;overflow-wrap:anywhere}
  .fos6-lead-mobile-row strong{display:block;font-size:14px;line-height:1.28;color:var(--f6-text);font-weight:760;word-break:break-word}
  .fos6-lead-mobile-row.lead-name strong,
  .fos6-lead-mobile-row.lead-name .fos6-lead-name{font-size:15.5px!important;font-weight:900;line-height:1.18}
  .fos6-lead-mobile-row.lead-company strong{font-size:13px;color:var(--f6-muted);font-weight:700}
  .fos6-lead-mobile-row .fos6-lead-name,
  .fos6-lead-mobile-row .fos6-email-address,
  .fos6-lead-mobile-row .fos6-mobile-wa-address{color:#8f6a26;text-decoration:none;font-size:inherit!important;line-height:inherit!important;word-break:break-word}
  .fos6-lead-mobile-row .fos6-lead-name:hover,
  .fos6-lead-mobile-row .fos6-email-address:hover,
  .fos6-lead-mobile-row .fos6-mobile-wa-address:hover{color:#6f5018;text-decoration:underline}
  .fos6-lead-mobile-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;border-top:0;font-size:13px;line-height:1.25;color:#8f6a26}
  .fos6-lead-mobile-meta-item{display:inline-flex;align-items:center;gap:4px;min-width:0;word-break:break-word}
  .fos6-lead-mobile-meta-label{font-weight:900;color:#8a6a2a}
  .fos6-lead-mobile-meta-item .fos6-lead-name{color:#8f6a26;text-decoration:none;font-size:inherit!important;line-height:inherit!important}
  .fos6-lead-mobile-meta-item .fos6-lead-name:hover{color:#6f5018;text-decoration:underline}
  .fos6-lead-mobile-meta-dot{opacity:.6}
}

@media(max-width:420px){
  .fos6-lead-mobile-column{padding:10px 8px}
  .fos6-lead-mobile-row strong{font-size:13px}
  .fos6-lead-mobile-row.lead-name strong,
  .fos6-lead-mobile-row.lead-name .fos6-lead-name{font-size:14.5px!important}
  .fos6-lead-mobile-row.lead-company strong{font-size:12px}
  .fos6-lead-mobile-card-meta{font-size:12px;padding:9px 8px;gap:5px}
}

/* alpha.28 mobile Leads: final operational card layout */
.fos6-lead-mobile-card-v4{display:none}

@media(max-width:680px){
  .fos6-lead-mobile-card-v2,
  .fos6-lead-mobile-card-v3{display:none!important}
  .fos6-lead-mobile-card-v4{
    display:block;
    width:100%;
    min-width:0;
    background:linear-gradient(180deg,#fffdf8 0%,#faf4e8 100%);
  }
  .fos6-lead-mobile-card-v4 .fos6-lead-mobile-card-top{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    min-height:148px;
    border-bottom:1px solid rgba(181,138,58,.34);
  }
  .fos6-lead-mobile-card-v4 .fos6-lead-mobile-column{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    min-width:0;
    padding:14px 16px;
  }
  .fos6-lead-mobile-card-v4 .fos6-lead-mobile-column + .fos6-lead-mobile-column{
    border-left:1px solid rgba(181,138,58,.34);
  }
  .fos6-lead-mobile-card-v4 .fos6-lead-mobile-row{
    padding:3px 0;
  }
  .fos6-lead-mobile-card-v4 .lead-name strong,
  .fos6-lead-mobile-card-v4 .lead-name .fos6-lead-name{
    font-size:18px!important;
    line-height:1.18!important;
    font-weight:900;
  }
  .fos6-lead-mobile-card-v4 .lead-company strong{
    font-size:14px;
    line-height:1.22;
    color:var(--f6-muted);
    font-weight:750;
  }
  .fos6-lead-mobile-card-v4 .lead-email strong,
  .fos6-lead-mobile-card-v4 .lead-wa strong{
    font-size:14px;
    line-height:1.25;
    font-weight:760;
  }
  .fos6-lead-mobile-card-v4 .lead-next strong{
    font-size:15px;
    line-height:1.32;
    font-weight:900;
    color:var(--f6-text);
  }
  .fos6-lead-mobile-card-v4 .lead-updated{
    margin-top:6px;
  }
  .fos6-lead-mobile-card-v4 .lead-updated strong{
    font-size:13.5px;
    line-height:1.2;
    font-weight:850;
    color:var(--f6-text);
  }
  .fos6-lead-mobile-card-footer{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(120px,42%);
    align-items:center;
    gap:10px;
    width:100%;
    min-width:0;
    padding:10px 16px;
    background:rgba(255,253,248,.72);
  }
  .fos6-lead-mobile-footer-left{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    min-width:0;
    color:#8f6a26;
    font-size:13px;
    line-height:1.2;
  }
  .fos6-lead-mobile-footer-source{
    min-width:0;
    text-align:right;
    color:#8f6a26;
    font-size:14px;
    line-height:1.2;
    font-weight:800;
    overflow-wrap:anywhere;
  }
  .fos6-lead-mobile-status-badge{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 8px;
    border:1px solid rgba(181,138,58,.2);
    border-radius:4px;
    background:#f2eee6;
    color:#283342;
    font-size:11px;
    line-height:1.1;
    font-weight:800;
    white-space:nowrap;
  }
  .fos6-lead-mobile-footer-left .fos6-lead-mobile-meta-item,
  .fos6-lead-mobile-footer-left .fos6-lead-mobile-meta-label,
  .fos6-lead-mobile-footer-left .fos6-lead-name{
    font-size:13px!important;
    line-height:1.2!important;
  }
}

@media(max-width:420px){
  .fos6-lead-mobile-card-v4 .fos6-lead-mobile-column{padding:12px 11px}
  .fos6-lead-mobile-card-v4 .lead-name strong,
  .fos6-lead-mobile-card-v4 .lead-name .fos6-lead-name{font-size:16px!important}
  .fos6-lead-mobile-card-v4 .lead-company strong,
  .fos6-lead-mobile-card-v4 .lead-email strong,
  .fos6-lead-mobile-card-v4 .lead-wa strong{font-size:12.5px}
  .fos6-lead-mobile-card-v4 .lead-next strong{font-size:13.5px}
  .fos6-lead-mobile-card-v4 .lead-updated strong{font-size:12.5px}
  .fos6-lead-mobile-card-footer{grid-template-columns:minmax(0,1fr) minmax(100px,40%);padding:9px 11px;gap:7px}
  .fos6-lead-mobile-footer-left,
  .fos6-lead-mobile-footer-left .fos6-lead-mobile-meta-item,
  .fos6-lead-mobile-footer-left .fos6-lead-mobile-meta-label,
  .fos6-lead-mobile-footer-left .fos6-lead-name{font-size:11.5px!important}
  .fos6-lead-mobile-footer-source{font-size:12px}
  .fos6-lead-mobile-status-badge{font-size:10px;padding:3px 6px}
}

/* alpha.29 CLICC Sales Playbook */
.fos6-playbook-lead-panel{margin-top:14px;background:linear-gradient(180deg,#fffdf8 0%,#f8f0df 100%)}
.fos6-playbook-recommendations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fos6-playbook-card{display:flex;flex-direction:column;gap:9px;min-width:0;padding:14px;border:1px solid rgba(181,138,58,.32);border-radius:16px;background:#fffdf8;box-shadow:0 8px 22px rgba(15,28,45,.07)}
.fos6-playbook-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.fos6-playbook-card-head h3{margin:3px 0 1px;font-size:18px;color:var(--f6-dark)}
.fos6-playbook-card-head small{color:var(--f6-muted);font-size:10px;letter-spacing:.05em}
.fos6-playbook-card label{display:block;margin:0;font-size:11px;font-weight:850;color:#76591e}
.fos6-playbook-card input,.fos6-playbook-card select,.fos6-playbook-card textarea{width:100%;margin-top:4px;padding:8px 9px;border:1px solid #d7c6a5;border-radius:9px;background:#fffdf9;color:var(--f6-text);font:inherit}
.fos6-playbook-card textarea{min-height:150px;resize:vertical;line-height:1.42}
.fos6-playbook-actions{display:flex;gap:7px;flex-wrap:wrap}
.fos6-playbook-log-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fos6-playbook-history{margin-top:14px;padding-top:12px;border-top:1px solid rgba(181,138,58,.25)}
.fos6-playbook-history h3{margin:0 0 9px}
.fos6-inline-check{display:inline-flex!important;align-items:center;gap:7px;color:var(--f6-text)!important}
.fos6-inline-check input{width:auto!important;margin:0!important}

@media(max-width:980px){
  .fos6-playbook-recommendations{grid-template-columns:1fr}
}

@media(max-width:680px){
  .fos6-playbook-lead-panel{padding:9px}
  .fos6-playbook-recommendations{gap:8px}
  .fos6-playbook-card{padding:10px;border-radius:12px;gap:7px}
  .fos6-playbook-card-head h3{font-size:15px}
  .fos6-playbook-card textarea{min-height:120px;font-size:11.5px}
  .fos6-playbook-card input,.fos6-playbook-card select,.fos6-playbook-card textarea{padding:6px 7px}
  .fos6-playbook-log-grid{grid-template-columns:1fr 1fr;gap:6px}
  .fos6-playbook-actions{gap:5px}
  .fos6-playbook-actions .fos6-btn{flex:1 1 auto}
}

@media(max-width:420px){
  .fos6-playbook-log-grid{grid-template-columns:1fr}
}

/* alpha.30 Ciawi Co-broke Program */
.fos6-cobroke-program .fos6-panel-head .fos6-actions{justify-content:flex-end}
.fos6-cobroke-tabs{margin-top:12px;margin-bottom:0}
.fos6-cobroke-metrics{min-width:560px}
.fos6-cobroke-metrics .fos6-number-cell{font-family:"Cormorant Garamond","Playfair Display",Georgia,serif;font-size:28px;font-weight:800;color:#0f1c2d}
.fos6-agent-pool-table .fos6-pill,.fos6-cobroke-outreach-table .fos6-pill{min-width:42px;justify-content:center}
.fos6-agent-pool-table small,.fos6-cobroke-outreach-table small,.fos6-buyer-registration-table small{display:block;margin-top:3px;color:var(--f6-muted)}
.fos6-buyer-registration-table tr:has(.fos6-pill){transition:background .15s ease}
.fos6-cobroke-program .fos6-callout{background:linear-gradient(180deg,#fff8e8,#f8eed8);border-color:rgba(181,138,58,.35)}

@media(max-width:680px){
  .fos6-cobroke-program .fos6-panel-head .fos6-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .fos6-cobroke-program .fos6-panel-head .fos6-actions .fos6-btn{width:100%}
  .fos6-cobroke-program .fos6-panel-head .fos6-actions .fos6-btn:last-child{grid-column:1/-1}
  .fos6-cobroke-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}
  .fos6-cobroke-tabs .fos6-chip{white-space:nowrap}
  .fos6-cobroke-metrics tbody{grid-template-columns:1fr 1fr;gap:6px}
  .fos6-cobroke-metrics tbody tr{display:grid!important;grid-template-columns:1fr;padding:8px}
  .fos6-cobroke-metrics tbody td:nth-child(1),.fos6-cobroke-metrics tbody td:nth-child(2){display:none!important}
  .fos6-cobroke-metrics tbody td:nth-child(3),.fos6-cobroke-metrics tbody td:nth-child(4){display:block!important}
  .fos6-cobroke-metrics tbody td:nth-child(3)::before,.fos6-cobroke-metrics tbody td:nth-child(4)::before{display:none!important}
  .fos6-cobroke-metrics .fos6-number-cell{font-size:24px}
}

/* alpha.32 FD CRM preflight */
.fos6-preflight-callout{margin-bottom:12px}
.fos6-preflight-table th:first-child,.fos6-preflight-table td:first-child{width:42px;text-align:center}
.fos6-preflight-table tr.eligibility-quarantine{background:#fff5f3}
.fos6-preflight-table tr.eligibility-review{background:#fffaf0}
.fos6-preflight-table tr.eligibility-excluded{opacity:.72}
.fos6-preflight-table tr.eligibility-eligible{background:#fbfdf7}
.fos6-preflight-actions{align-items:center;justify-content:flex-start;margin-top:12px;padding-top:12px;border-top:1px solid rgba(181,138,58,.22)}
.fos6-preflight-metrics td.fos6-number-cell{font-size:22px}
.fos6-preflight-filters{margin:12px 0}
.fos6-preflight-import-form input[type="checkbox"]{width:18px;height:18px;accent-color:#b58a3a}
@media(max-width:680px){
  .fos6-preflight-table tbody td:nth-child(1){display:block!important}
  .fos6-preflight-table tbody td:nth-child(n+6){display:none!important}
  .fos6-preflight-table tbody tr{grid-template-columns:34px minmax(0,1fr);grid-template-areas:"select agent" "select meta"}
  .fos6-preflight-table tbody td:nth-child(1){grid-area:select}
  .fos6-preflight-table tbody td:nth-child(5){grid-area:agent}
  .fos6-preflight-table tbody td:nth-child(4){grid-area:meta}
  .fos6-preflight-table tbody td:nth-child(2),.fos6-preflight-table tbody td:nth-child(3){display:none!important}
  .fos6-preflight-table tbody td::before{display:none!important}
  .fos6-preflight-actions{display:grid;grid-template-columns:1fr}
  .fos6-preflight-actions .fos6-btn{width:100%}
}


/* alpha.33 — Banner & On-site Lead Workflow */
.fos6-onsite-hero{background:linear-gradient(135deg,rgba(8,24,48,.98),rgba(15,42,72,.96));border-color:rgba(191,148,68,.35)}
.fos6-onsite-hero h1,.fos6-onsite-hero p,.fos6-onsite-hero .fos6-eyebrow{color:#fff}
.fos6-onsite-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px}
.fos6-onsite-kpi{padding:14px;border:1px solid rgba(211,174,103,.28);border-radius:14px;background:rgba(255,255,255,.06);min-width:0}
.fos6-onsite-kpi span,.fos6-onsite-kpi small{display:block;color:rgba(255,255,255,.74)}
.fos6-onsite-kpi strong{display:block;color:#f0cf8b;font-size:1.65rem;line-height:1.1;margin:6px 0}
.fos6-onsite-table td{vertical-align:top}
.fos6-onsite-detail{border-left:4px solid #b58a3c}
.fos6-onsite-detail .fos6-panel-head{align-items:flex-start}
@media(max-width:1100px){.fos6-onsite-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.fos6-onsite-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fos6-onsite-kpi{padding:11px}.fos6-onsite-kpi strong{font-size:1.35rem}.fos6-onsite-table thead{display:none}.fos6-onsite-table,.fos6-onsite-table tbody,.fos6-onsite-table tr,.fos6-onsite-table td{display:block;width:100%}.fos6-onsite-table tr{margin-bottom:12px;padding:12px;border:1px solid rgba(11,30,55,.14);border-radius:14px;background:#fff}.fos6-onsite-table td{padding:5px 0;border:0}.fos6-onsite-table td:first-child,.fos6-onsite-table td:nth-child(2){display:inline-block;width:auto;margin-right:8px;color:#777}}

/* alpha.34 — Corporate Account-Based Selling */
.fos6-account-hero{background:linear-gradient(135deg,rgba(12,26,48,.98),rgba(23,42,70,.96));color:#fff}
.fos6-account-hero h1,.fos6-account-hero p,.fos6-account-hero .fos6-eyebrow{color:inherit}
.fos6-account-metrics td:last-child{font-size:1.25rem;font-weight:900;color:var(--f6-gold,#b58a3b)}
.fos6-account-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 0}
.fos6-account-flow span{padding:9px 12px;border:1px solid rgba(181,138,59,.28);border-radius:999px;background:#fff;font-weight:800}
.fos6-account-flow b{color:var(--f6-gold,#b58a3b)}
.fos6-dialog-xl{width:min(1320px,96vw);max-width:1320px;max-height:94vh}
.fos6-account-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:18px;padding:2px 0 18px}
.fos6-account-pane{border:1px solid rgba(18,39,67,.12);border-radius:14px;padding:16px;background:rgba(255,255,255,.76)}
.fos6-account-pane h3,.fos6-account-timeline h3{margin:0 0 12px;color:#122743}
.fos6-account-details{margin-top:12px;border:1px dashed rgba(181,138,59,.45);border-radius:12px;padding:10px 12px}
.fos6-account-details summary{cursor:pointer;font-weight:900;color:#8f6a26}
.fos6-account-details[open] summary{margin-bottom:12px}
.fos6-account-timeline{border-top:1px solid rgba(18,39,67,.12);padding-top:18px}
.fos6-linked-record{padding:14px;border-radius:12px;background:#eef7f0;border:1px solid #b8d7be}
.fos6-linked-record p{margin:5px 0 0}
.fos6-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fos6-check{display:flex!important;align-items:center;gap:8px}
.fos6-check input{width:auto!important}
@media (max-width:900px){
  .fos6-account-detail-grid{grid-template-columns:1fr}
  .fos6-three{grid-template-columns:1fr}
  .fos6-account-flow{display:grid;grid-template-columns:1fr;text-align:center}
  .fos6-account-flow b{transform:rotate(90deg)}
  .fos6-dialog-xl{width:97vw;max-height:96vh}
}

/* alpha.35 — Referral & Strategic Partner Channel */
.fos6-referral-workspace .fos6-referral-hero {
  background: linear-gradient(135deg, rgba(11,24,42,.98), rgba(18,37,61,.96));
}
.fos6-referral-workspace .fos6-referral-hero h1,
.fos6-referral-workspace .fos6-referral-hero p,
.fos6-referral-workspace .fos6-referral-hero .fos6-eyebrow {
  color: #fff;
}
.fos6-referral-tabs {
  margin: 0 0 18px;
}
.fos6-guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.fos6-guidance-grid > div {
  border: 1px solid rgba(165,124,48,.24);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,.72);
}
.fos6-guidance-grid strong {
  display: block;
  margin-bottom: 5px;
  color: #7d5b1b;
}
.fos6-guidance-grid p {
  margin: 0;
}
@media (max-width: 900px) {
  .fos6-guidance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .fos6-guidance-grid { grid-template-columns: 1fr; }
  .fos6-referral-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .fos6-referral-tabs .fos6-chip { white-space: nowrap; }
}

/* alpha.36 — Website & Portal Attribution */
.fos6-digital-hero{background:linear-gradient(145deg,rgba(12,27,48,.98),rgba(21,48,78,.96));border-color:rgba(201,162,89,.42)}
.fos6-digital-tabs{position:sticky;top:58px;z-index:7;padding:8px 0;background:rgba(246,243,235,.94);backdrop-filter:blur(10px)}
.fos6-digital-workspace code{display:block;max-width:420px;margin:4px 0 8px;padding:6px 8px;overflow-wrap:anywhere;white-space:normal;background:rgba(9,25,44,.07);border:1px solid rgba(9,25,44,.12);border-radius:7px;color:#17314f;font-size:11px}
.fos6-digital-workspace details summary{cursor:pointer;font-weight:800;color:#8f6a26}
.fos6-digital-workspace .fos6-pill.is-danger{background:#f8d9d7;color:#8b1f1a;border-color:#dca29e}
.fos6-merge-form{margin-top:14px;border-top:1px solid rgba(201,162,89,.35);padding-top:14px}
@media(max-width:760px){.fos6-digital-tabs{top:48px;overflow-x:auto;flex-wrap:nowrap}.fos6-digital-workspace code{max-width:100%}.fos6-digital-workspace .fos6-table{min-width:920px}}

/* alpha.37 — Unified Navigation & Operating Model */
.fos6-fixed-nav-shell{padding:8px 12px;background:rgba(12,25,42,.985);border-bottom:1px solid rgba(199,154,68,.34)}
.fos6-fixed-nav-inner{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(150px,240px) auto;align-items:center;gap:12px}
.fos6-nav-brand{display:flex;flex-direction:column;min-width:118px;text-decoration:none;color:#f7e9c9;line-height:1.05}
.fos6-nav-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:21px;letter-spacing:.06em}
.fos6-nav-brand small{font-size:9px;letter-spacing:.05em;color:#b9c3cc;margin-top:4px;white-space:nowrap}
.fos6-unified-nav{display:flex;align-items:center;gap:5px;min-width:0}
.fos6-nav-group{position:relative;display:flex;align-items:center;border:1px solid transparent;border-radius:11px}
.fos6-nav-group:hover,.fos6-nav-group:focus-within{background:rgba(199,154,68,.11);border-color:rgba(199,154,68,.25)}
.fos6-nav-group.is-active{background:linear-gradient(135deg,#c79a44 0%,#a97b2b 100%);border-color:#ddb66d;box-shadow:0 7px 18px rgba(0,0,0,.22)}
.fos6-nav-primary{display:block;padding:10px 7px 10px 12px;text-decoration:none;color:#f1e8d6;font-weight:800;font-size:12px;white-space:nowrap}
.fos6-nav-group.is-active .fos6-nav-primary{color:#102036}
.fos6-nav-caret{border:0;background:transparent;color:#dac79f;padding:9px 8px 10px 3px;cursor:pointer;font-size:15px;line-height:1}
.fos6-nav-group.is-active .fos6-nav-caret{color:#102036}
.fos6-nav-dropdown{display:none;position:absolute;z-index:1500;top:calc(100% + 8px);left:0;min-width:218px;padding:7px;background:#102238;border:1px solid rgba(199,154,68,.35);border-radius:13px;box-shadow:0 16px 38px rgba(0,0,0,.3)}
.fos6-nav-group:hover .fos6-nav-dropdown,.fos6-nav-group:focus-within .fos6-nav-dropdown,.fos6-nav-group.is-open .fos6-nav-dropdown{display:grid}
.fos6-nav-dropdown a{padding:10px 11px;border-radius:8px;text-decoration:none;color:#e8edf1;font-size:12px;font-weight:700}
.fos6-nav-dropdown a:hover,.fos6-nav-dropdown a:focus,.fos6-nav-dropdown a.is-current{background:rgba(199,154,68,.15);color:#f4d8a3}
.fos6-global-search{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:0;border:1px solid rgba(199,154,68,.3);border-radius:10px;overflow:hidden;background:rgba(255,255,255,.06)}
.fos6-global-search input{min-width:0;border:0!important;background:transparent!important;color:#fff!important;padding:8px 10px!important;font-size:12px!important;box-shadow:none!important}
.fos6-global-search input::placeholder{color:#aab5bf}
.fos6-global-search button{border:0;background:rgba(199,154,68,.16);color:#f2d8a6;cursor:pointer;font-size:18px}
.fos6-nav-mobile-toggle{display:none;border:1px solid rgba(199,154,68,.4);background:transparent;color:#f2d8a6;border-radius:9px;padding:8px 11px;font-weight:800}
.fos6-fixed-logout{min-height:37px;padding:9px 12px}
.fos6-fixed-nav-spacer{height:68px}
.fos6-mobile-bottom-nav{display:none}

.fos6-hub-hero{background:linear-gradient(145deg,#fff 0%,#f8f4eb 100%);border-color:rgba(199,154,68,.28)}
.fos6-hub-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.fos6-hub-cards-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.fos6-hub-card{display:flex;flex-direction:column;min-height:205px;padding:17px;border:1px solid rgba(21,47,67,.13);border-radius:15px;text-decoration:none;background:#fff;color:var(--f6-text);box-shadow:0 6px 18px rgba(19,40,53,.05);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.fos6-hub-card:hover{transform:translateY(-2px);border-color:rgba(183,132,43,.52);box-shadow:0 12px 26px rgba(19,40,53,.1)}
.fos6-hub-card>span{font-size:12px;font-weight:850;color:#8b6427;text-transform:uppercase;letter-spacing:.04em}
.fos6-hub-card>strong{font-size:34px;line-height:1.05;margin:12px 0 2px;color:#102b3d}
.fos6-hub-card>small{font-weight:750;color:#65747c}
.fos6-hub-card>p{font-size:12px;line-height:1.55;color:#5a6870;flex:1;margin:13px 0}
.fos6-hub-card>b{font-size:12px;color:#896021}
.fos6-hub-stat-list{display:grid;gap:8px}
.fos6-hub-stat-list a{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--f6-line);border-radius:11px;text-decoration:none;color:var(--f6-text);background:#fff}
.fos6-hub-stat-list a:hover{border-color:#c79a44}
.fos6-hub-stat-list b{font-size:22px;color:#102b3d}
.fos6-global-search-page{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:14px}
.fos6-global-search-page input{min-width:0}
.fos6-search-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px}
.fos6-search-results a{display:flex;flex-direction:column;padding:12px;border:1px solid var(--f6-line);border-radius:11px;text-decoration:none;color:var(--f6-text);background:#fff}
.fos6-search-results a:hover{border-color:#c79a44;background:#fffcf5}
.fos6-search-results span{margin-top:4px;color:#6b7a82;font-size:12px}

.fos6-quick-palette{position:fixed;right:20px;bottom:20px;z-index:1250}
.fos6-quick-palette-toggle{width:52px;height:52px;border-radius:50%;border:1px solid #d7ad63;background:linear-gradient(135deg,#c79a44,#9d6e20);color:#102036;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 13px 30px rgba(0,0,0,.28)}
.fos6-quick-palette-menu{display:none;position:absolute;right:0;bottom:62px;width:220px;padding:9px;background:#102238;border:1px solid rgba(199,154,68,.4);border-radius:14px;box-shadow:0 16px 38px rgba(0,0,0,.28)}
.fos6-quick-palette.is-open .fos6-quick-palette-menu{display:grid;gap:5px}
.fos6-quick-palette-menu strong{padding:6px 8px;color:#f0d8a7;font-size:12px}
.fos6-quick-palette-menu button{border:0;background:transparent;color:#e8edf1;text-align:left;padding:9px;border-radius:8px;cursor:pointer;font-weight:700}
.fos6-quick-palette-menu button:hover{background:rgba(199,154,68,.14);color:#f5dca9}

@media(max-width:1120px){
  .fos6-fixed-nav-inner{grid-template-columns:auto 1fr auto}
  .fos6-global-search{display:none}
  .fos6-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
  .fos6-fixed-nav-shell{padding:7px 9px}
  .fos6-fixed-nav-inner{display:flex;justify-content:space-between;gap:8px}
  .fos6-nav-brand small{display:none}
  .fos6-nav-mobile-toggle{display:block;margin-left:auto}
  .fos6-unified-nav{display:none;position:absolute;top:58px;left:8px;right:8px;max-height:calc(100vh - 138px);overflow:auto;padding:9px;background:#102238;border:1px solid rgba(199,154,68,.38);border-radius:14px;box-shadow:0 18px 40px rgba(0,0,0,.32)}
  .fos6-unified-nav.is-open{display:grid;gap:5px}
  .fos6-nav-group{display:grid;grid-template-columns:1fr auto;border:1px solid rgba(255,255,255,.07)}
  .fos6-nav-primary{padding:11px 12px}
  .fos6-nav-caret{padding:10px 12px}
  .fos6-nav-dropdown{position:static;grid-column:1/-1;min-width:0;margin:0 6px 7px;padding:5px;box-shadow:none;background:rgba(0,0,0,.14)}
  .fos6-fixed-logout{display:none}
  .fos6-fixed-nav-spacer{height:61px}
  .fos6-mobile-bottom-nav{position:fixed;z-index:1200;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);padding:5px 7px calc(5px + env(safe-area-inset-bottom));background:rgba(12,25,42,.985);border-top:1px solid rgba(199,154,68,.36);box-shadow:0 -8px 24px rgba(0,0,0,.18)}
  .fos6-mobile-bottom-nav a,.fos6-mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:transparent;color:#b9c3cc;text-decoration:none;font-size:10px;font-weight:800;padding:5px;border-radius:8px}
  .fos6-mobile-bottom-nav span{font-size:18px;line-height:1}
  .fos6-mobile-bottom-nav .is-active{color:#f2d6a0;background:rgba(199,154,68,.13)}
  .fos6-wrap{padding-bottom:86px}
  .fos6-quick-palette{right:14px;bottom:73px}
  .fos6-hub-cards,.fos6-hub-cards-two{grid-template-columns:1fr}
  .fos6-hub-card{min-height:175px}
}
@media(max-width:480px){
  .fos6-hub-card>strong{font-size:29px}
  .fos6-global-search-page{grid-template-columns:1fr}
  .fos6-global-search-page .fos6-btn{width:100%}
}
@media print{.fos6-unified-nav,.fos6-mobile-bottom-nav,.fos6-quick-palette,.fos6-global-search,.fos6-nav-brand{display:none!important}}

/* alpha.38 — Compact single-row navigation correction */
.fos6-fixed-nav-shell{
  min-height:64px;
  padding:7px 12px;
  overflow:visible;
}
.fos6-fixed-nav-inner{
  max-width:1560px;
  min-height:50px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) minmax(150px,220px) auto;
  align-items:center;
  gap:11px;
}
.fos6-nav-brand{
  min-width:132px;
  padding-right:2px;
}
.fos6-nav-brand strong{font-size:24px;line-height:1}
.fos6-nav-brand small{font-size:9px;margin-top:5px}
.fos6-unified-nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:4px;
  min-width:0;
  overflow:visible;
}
.fos6-nav-group{
  position:relative;
  display:grid;
  grid-template-columns:auto 28px;
  align-items:center;
  min-height:40px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  box-shadow:none;
}
.fos6-nav-group:hover{
  background:rgba(199,154,68,.10);
  border-color:rgba(199,154,68,.22);
}
.fos6-nav-group:focus-within{border-color:rgba(221,182,109,.48)}
.fos6-nav-group.is-active{
  background:linear-gradient(135deg,#d6aa50 0%,#b8832d 100%);
  border-color:#e3be75;
  box-shadow:0 7px 17px rgba(0,0,0,.20);
}
.fos6-nav-primary{
  display:flex;
  align-items:center;
  min-height:38px;
  padding:8px 5px 8px 12px;
  color:#f3ead8;
  font-size:12px;
  line-height:1;
  font-weight:850;
  white-space:nowrap;
}
.fos6-nav-group.is-active .fos6-nav-primary{color:#102036}
.fos6-fixed-nav-shell .fos6-nav-caret{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:28px;
  min-width:28px;
  min-height:38px;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid rgba(255,255,255,.10)!important;
  border-radius:0 10px 10px 0!important;
  outline:0!important;
  background:transparent!important;
  color:#d9c79f!important;
  box-shadow:none!important;
  cursor:pointer;
  font:inherit!important;
  line-height:1!important;
}
.fos6-nav-caret span{
  display:block;
  font-size:12px;
  line-height:1;
  transition:transform .16s ease;
}
.fos6-nav-group.is-active .fos6-nav-caret{
  color:#102036!important;
  border-left-color:rgba(16,32,54,.18)!important;
}
.fos6-nav-group.is-open .fos6-nav-caret span{transform:rotate(180deg)}
.fos6-nav-dropdown{
  display:none;
  position:absolute;
  z-index:1600;
  top:calc(100% + 7px);
  left:0;
  min-width:220px;
  padding:7px;
  background:#102238;
  border:1px solid rgba(221,182,109,.42);
  border-radius:12px;
  box-shadow:0 17px 38px rgba(0,0,0,.34);
}
.fos6-nav-group.is-open .fos6-nav-dropdown{display:grid}
.fos6-nav-group:nth-last-child(-n+2) .fos6-nav-dropdown{left:auto;right:0}
.fos6-nav-dropdown a{
  padding:10px 11px;
  border-radius:8px;
  color:#e8edf1;
  font-size:12px;
  line-height:1.25;
  font-weight:750;
}
.fos6-nav-dropdown a:hover,.fos6-nav-dropdown a:focus,.fos6-nav-dropdown a.is-current{
  background:rgba(199,154,68,.16);
  color:#f5dca8;
}
.fos6-global-search{height:38px}
.fos6-global-search input{height:38px!important}
.fos6-global-search button{
  appearance:none!important;
  -webkit-appearance:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.fos6-nav-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:max-content;
}
.fos6-fixed-nav-shell .fos6-nav-mobile-toggle{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:none!important;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  margin:0!important;
  padding:8px 12px!important;
  border:1px solid rgba(221,182,109,.56)!important;
  border-radius:10px!important;
  outline:0!important;
  background:rgba(199,154,68,.10)!important;
  color:#f2d8a6!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1!important;
  cursor:pointer;
}
.fos6-nav-mobile-toggle span{font-size:16px;line-height:1}
.fos6-nav-mobile-toggle b{font:inherit}
.fos6-fixed-logout{
  min-width:72px;
  min-height:38px;
  margin:0;
  padding:8px 12px;
  border-radius:10px;
  box-shadow:none;
}
.fos6-fixed-nav-spacer{height:64px}

@media(max-width:1220px){
  .fos6-fixed-nav-inner{grid-template-columns:auto minmax(0,1fr) auto}
  .fos6-global-search{display:none}
  .fos6-nav-brand{min-width:122px}
  .fos6-nav-primary{padding-left:10px;font-size:11.5px}
  .fos6-unified-nav{gap:2px}
}
@media(max-width:900px){
  .fos6-fixed-nav-shell{padding-left:8px;padding-right:8px}
  .fos6-fixed-nav-inner{gap:7px}
  .fos6-nav-brand{min-width:102px}
  .fos6-nav-brand strong{font-size:21px}
  .fos6-nav-brand small{display:none}
  .fos6-nav-primary{padding-left:8px;font-size:11px}
  .fos6-nav-group{grid-template-columns:auto 24px}
  .fos6-fixed-nav-shell .fos6-nav-caret{width:24px;min-width:24px}
  .fos6-fixed-logout{min-width:62px;padding-left:9px;padding-right:9px;font-size:12px}
}
@media(max-width:720px){
  .fos6-fixed-nav-shell{min-height:58px;padding:6px 9px}
  .fos6-fixed-nav-inner{
    min-height:46px;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .fos6-nav-brand{min-width:0}
  .fos6-nav-brand strong{font-size:22px}
  .fos6-unified-nav{
    display:none;
    position:absolute;
    z-index:1550;
    top:58px;
    left:8px;
    right:8px;
    max-height:calc(100vh - 136px);
    overflow:auto;
    padding:8px;
    background:#102238;
    border:1px solid rgba(221,182,109,.42);
    border-radius:13px;
    box-shadow:0 18px 40px rgba(0,0,0,.34);
  }
  .fos6-unified-nav.is-open{display:grid;gap:6px}
  .fos6-nav-group{
    display:grid;
    grid-template-columns:1fr 42px;
    min-height:42px;
    border:1px solid rgba(255,255,255,.08);
  }
  .fos6-nav-primary{min-height:42px;padding:10px 12px;font-size:12px}
  .fos6-fixed-nav-shell .fos6-nav-caret{width:42px;min-width:42px;min-height:42px}
  .fos6-nav-dropdown{
    position:static;
    grid-column:1/-1;
    min-width:0;
    margin:0 6px 7px;
    padding:5px;
    box-shadow:none;
    background:rgba(0,0,0,.16);
  }
  .fos6-nav-actions{grid-column:2;grid-row:1}
  .fos6-fixed-nav-shell .fos6-nav-mobile-toggle{display:inline-flex!important}
  .fos6-fixed-logout{display:none!important}
  .fos6-fixed-nav-spacer{height:58px}
}
.fos6-nav-group:not(.is-open):hover .fos6-nav-dropdown,
.fos6-nav-group:not(.is-open):focus-within .fos6-nav-dropdown{display:none}
.fos6-fixed-logout{width:auto!important}
