/* crm-final.css — canonical production CRM: one-viewport desktop, near-black, restrained orange, sharp separators, high density */
:root{
  --crm-bg:#040405;
  --crm-bg-2:#08080a;
  --crm-surface:#0a0a0c;
  --crm-line:rgba(255,255,255,.08);
  --crm-line-strong:rgba(255,255,255,.12);
  --crm-text:#ededee;
  --crm-muted:#8a8c92;
  --crm-subtle:#5e5f65;
  --crm-orange:#ff4d1a;
  --crm-orange-soft:rgba(255,77,26,.14);
  --crm-max:1320px;
  --crm-header-h:52px;
  --crm-tab-h:36px;
  --crm-status-h:22px;
}
html{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.14) transparent}
*{box-sizing:border-box}
*::-webkit-scrollbar{width:7px;height:7px}
*::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border:2px solid transparent;border-radius:999px;background-clip:padding-box}
html,body{max-width:100%;overflow-x:clip}
body.operator-shell{background:var(--crm-bg);color:var(--crm-text)}
a{color:inherit}

/* Authenticated desktop: one viewport, internal scroll only */
@media(min-width:901px){
  body.operator-authenticated{
    position:fixed;
    inset:0;
    width:100%;
    height:100vh;
    height:100dvh;
    max-height:100dvh;
    min-height:0!important;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    background:var(--crm-bg);
  }
  body.operator-authenticated #operator-main{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  body.operator-authenticated #workspace-view{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    padding:0 0 0 !important;
    width:min(var(--crm-max),calc(100% - 32px));
    margin:0 auto;
  }
  body.operator-authenticated #workspace-view[hidden]{display:none !important}
  body.operator-authenticated .operator-title-row{
    flex:0 0 auto;
    min-height:44px !important;
    padding:10px 0 10px !important;
    margin:0 !important;
    border-bottom:1px solid var(--crm-line);
  }
  body.operator-authenticated .operator-title-row h1{font-size:22px !important;letter-spacing:-.03em !important;line-height:1 !important}
  body.operator-authenticated #operator-tabs{
    flex:0 0 auto;
    width:100% !important;
    margin:0 !important;
    padding:2px !important;
    min-height:var(--crm-tab-h) !important;
    border:1px solid var(--crm-line) !important;
    border-radius:4px !important;
    background:rgba(255,255,255,.02) !important;
    gap:1px !important;
  }
  body.operator-authenticated #operator-tabs button{
    min-height:30px !important;
    padding:0 10px !important;
    font-size:11px !important;
    font-weight:600 !important;
    letter-spacing:.01em !important;
    border-radius:3px !important;
  }
  body.operator-authenticated .workspace-status{
    flex:0 0 auto;
    width:100% !important;
    margin:6px 0 0 !important;
    min-height:var(--crm-status-h) !important;
    font-size:10px !important;
    color:var(--crm-muted) !important;
    border-bottom:1px solid var(--crm-line);
    padding:4px 0 6px !important;
  }
  body.operator-authenticated .operator-view.is-active{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    margin:0 !important;
    padding:14px 0 18px !important;
    width:100% !important;
  }
  body.operator-authenticated .operator-view:not(.is-active){overflow:hidden !important}
}

/* Header compact */
.operator-header{position:sticky;top:0;z-index:240;background:rgba(7,7,8,.88) !important;border-bottom:1px solid var(--crm-line) !important;backdrop-filter:blur(16px) saturate(120%);-webkit-backdrop-filter:blur(16px) saturate(120%)}
.operator-header .header-inner{height:var(--crm-header-h) !important;min-height:var(--crm-header-h) !important}
.operator-header .brand{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;width:auto!important}
.operator-header .brand img{display:block!important;width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;object-fit:contain!important}
.operator-header .brand span{font-size:14px;letter-spacing:-.02em}
.operator-header-state{font-size:10px !important;color:var(--crm-muted) !important}

/* Primary nav compact horizontal */
#operator-tabs{display:flex;overflow-x:auto;scrollbar-width:none}
#operator-tabs::-webkit-scrollbar{display:none}
#operator-tabs button{white-space:nowrap;border:0;background:transparent;color:var(--crm-muted);cursor:pointer}
#operator-tabs button:hover{color:var(--crm-text);background:rgba(255,255,255,.03)}
#operator-tabs button.is-active{color:#fff;background:rgba(255,255,255,.06);box-shadow:inset 0 -2px 0 var(--crm-orange)}

/* Market pane compact - not dominant */
.market-pane{border:1px solid var(--crm-line);background:rgba(255,255,255,.015);padding:12px 14px;margin:0 0 14px}
.market-pane-head{display:flex;justify-content:space-between;gap:16px;align-items:end;border-bottom:1px solid var(--crm-line);padding-bottom:10px;margin-bottom:10px}
.market-pane-head .kicker{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--crm-muted)}
.market-pane-head h2{margin:4px 0 0;font-size:18px;letter-spacing:-.03em;line-height:1}
.gold-primary{text-align:right}
.gold-primary span{font-size:9px;color:var(--crm-muted);text-transform:uppercase;letter-spacing:.06em}
.gold-primary strong{font-size:22px;letter-spacing:-.03em}
.gold-primary em{font-size:10px;color:var(--crm-muted);font-style:normal}
.market-rail{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:visible!important;scroll-snap-type:none!important;border:1px solid var(--crm-line);background:var(--crm-surface)}
.market-cell{padding:8px 10px;border-right:1px solid var(--crm-line);min-width:0}
.market-cell:last-child{border-right:0}
.market-cell span{font-size:9px;color:var(--crm-subtle);text-transform:uppercase;letter-spacing:.06em}
.market-cell strong{font-size:14px;white-space:nowrap}
.market-cell small{font-size:9px;color:var(--crm-muted)}
#trop-live-chart-panel{margin-top:10px;border:0 !important;background:transparent !important}
#trop-live-chart{height:260px !important;min-height:260px !important;max-height:260px !important;border:1px solid var(--crm-line)}
.trop-instrument-head{padding:6px 0;border:0}
.trop-instrument-head .kicker{font-size:10px;color:var(--crm-muted)}
#trop-live-chart-title{font-size:14px !important;letter-spacing:-.02em}
.trop-market-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--crm-line);border:1px solid var(--crm-line)}
.trop-market-summary>div{background:var(--crm-surface);padding:8px 10px;min-height:48px}
.trop-market-summary span{font-size:9px;color:var(--crm-subtle);text-transform:uppercase}
.trop-market-summary strong{font-size:12px}
.trop-chart-foot{font-size:10px;color:var(--crm-muted)}
.trop-performance summary{font-size:11px}
.trop-performance{border-top:1px solid var(--crm-line);margin-top:8px;padding-top:8px}


/* Compact proof layer: the flex stays, the architecture lecture does not. */
.crm-proof{border:1px solid var(--crm-line);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.012));margin:0 0 14px}
.crm-proof-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:10px 12px;border-bottom:1px solid var(--crm-line)}
.crm-proof-head .kicker{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--crm-muted)}
.crm-proof-head h2{margin:3px 0 0;font-size:14px;letter-spacing:.02em}
#proof-overall{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--crm-muted)}
.crm-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--crm-line)}
.crm-proof-grid article{background:var(--crm-surface);padding:9px 12px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:2px;align-items:baseline}
.crm-proof-grid article>span{font-size:9px;letter-spacing:.09em;color:var(--crm-subtle)}
.crm-proof-grid article>strong{font-size:11px;justify-self:end;color:var(--crm-text)}
.crm-proof-grid article>small{grid-column:1 / -1;font-size:9px;color:var(--crm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crm-proof-grid strong[data-state="live"]{color:#b8ffce}
.crm-proof-grid strong[data-state="stale"]{color:#ffc56a}
.crm-proof-grid strong[data-state="error"]{color:#ff8a76}
.crm-proof-grid strong[data-state="idle"]{color:#c5c6ca}

/* CRM metrics high density, no pills */
.crm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--crm-line);border:1px solid var(--crm-line);margin:0 0 1px}
.crm-metric{padding:10px 12px;background:var(--crm-surface);display:flex;flex-direction:column;gap:4px;min-width:0}
.crm-metric span{font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:var(--crm-subtle)}
.crm-metric strong{font-size:18px;letter-spacing:-.03em;line-height:1}
.crm-metric small{font-size:10px;color:var(--crm-muted)}
.crm-metrics-sub{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--crm-line);border:1px solid var(--crm-line);border-top:0;margin:0 0 14px}
.crm-metrics-sub>div{padding:8px 12px;background:var(--crm-surface);display:flex;justify-content:space-between;align-items:center;gap:10px}
.crm-metrics-sub span{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--crm-subtle)}
.crm-metrics-sub strong{font-size:13px}

/* CRM overview lists dense, sharp separators */
.crm-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 12px}
.crm-surface{border:1px solid var(--crm-line);background:var(--crm-surface);padding:10px 12px;min-width:0}
.crm-surface .surface-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--crm-line);margin-bottom:8px}
.crm-surface .surface-heading h2{font-size:13px;letter-spacing:-.02em;margin:0}
.crm-surface .surface-heading .kicker{font-size:9px;color:var(--crm-muted);letter-spacing:.06em;text-transform:uppercase}
.crm-surface .surface-heading button{font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--crm-muted);background:transparent;border:0;cursor:pointer;padding:4px 6px}
.crm-surface .surface-heading button:hover{color:var(--crm-text)}
.record-list{display:grid}
.record{padding:8px 0;border-top:1px solid rgba(255,255,255,.06);gap:10px}
.record:first-child{border-top:0}
.record h3{font-size:12.5px;margin:0 0 2px;letter-spacing:-.01em}
.record p{font-size:11.5px;color:var(--crm-muted);line-height:1.4}
.record-meta{font-size:10px;color:var(--crm-subtle)}

/* Resource table dense */
.resource-head{padding-bottom:10px;border-bottom:1px solid var(--crm-line);margin-bottom:10px}
.view-heading h2{font-size:18px;letter-spacing:-.02em}
.resource-summary{font-size:10px;color:var(--crm-muted);gap:12px}
.operator-table th{font-size:10px;padding:8px 10px}
.operator-table td{font-size:12px;padding:9px 10px}
.table-wrap{border:1px solid var(--crm-line)}

/* Drawer, dialogs sharp */
.record-drawer{border-left:1px solid var(--crm-line-strong);background:#08080a;max-width:100vw!important}
.record-drawer[aria-hidden="true"]{display:none!important}
.record-drawer[aria-hidden="false"]{display:block!important;transform:translateX(0)!important}
.record-dialog{border:1px solid var(--crm-line-strong);border-radius:4px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.dialog-head{padding-bottom:12px;border-bottom:1px solid var(--crm-line)}
.drawer-head{border-bottom:1px solid var(--crm-line)}
.state{border:1px solid var(--crm-line);padding:2px 6px;font-size:10px;border-radius:3px}
.state[data-tone="danger"]{border-color:rgba(239,98,78,.3);color:#ff8a76;background:rgba(239,98,78,.06)}
.state[data-tone="warn"]{border-color:rgba(255,178,56,.25);color:#ffb94a;background:rgba(255,178,56,.06)}
.fl-stage{border:1px solid var(--crm-line);padding:2px 6px;font-size:10px;border-radius:3px;color:var(--crm-muted)}
.button{border-radius:4px !important;border:1px solid var(--crm-line-strong) !important}
.button--solid{background:#f1f1f3 !important;color:#08080a !important;border-color:#f1f1f3 !important}

/* Hide theater remnants hard */
#decision-command,.dependency-proof,.intelligence-grid,.system-functions,.integration-rail,.control-room-stamp,.risk-lab,#workspace-briefing,#research-integrity,.bfie-risk-shell{display:none !important}
.operator-footer{display:none!important}
body.operator-authenticated .operator-footer{display:block!important;border-top:1px solid var(--crm-line)!important;background:transparent!important}
body.operator-authenticated .operator-footer .footer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;width:min(var(--crm-max),calc(100% - 32px))!important;margin:0 auto!important;padding:16px 0 max(18px,env(safe-area-inset-bottom))!important;color:var(--crm-muted)!important;font-size:11px!important}
.operator-footer-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.operator-footer-links a,.operator-footer-links button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;padding:0;cursor:pointer;text-decoration:none}
.operator-footer-links a:hover,.operator-footer-links button:hover{color:var(--crm-text)}

/* Menu compact */
.operator-menu{border-radius:12px!important;background:rgba(6,6,8,.90)!important;border:1px solid var(--crm-line-strong)!important;backdrop-filter:blur(24px) saturate(125%)!important;-webkit-backdrop-filter:blur(24px) saturate(125%)!important}
.fl-menu-item{border-radius:4px !important}

/* Tooltip/accent */
::selection{background:var(--crm-orange-soft)}
a:hover{color:var(--crm-orange)}

/* Mobile/tablet authority: one document scroll, one gutter, no nested route viewport. */
@media(max-width:900px){
  html{width:100%!important;max-width:100%!important;overflow-x:hidden!important;overscroll-behavior-x:none!important;overscroll-behavior-y:auto!important}
  body.operator-authenticated{
    position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;
    height:auto!important;max-height:none!important;min-height:100svh!important;
    overflow-x:hidden!important;overflow-y:visible!important;display:block!important;overscroll-behavior-x:none!important;overscroll-behavior-y:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important
  }
  body.operator-authenticated #operator-main{display:block!important;width:100%!important;min-height:0!important;overflow:visible!important}
  body.operator-authenticated #workspace-view,
  body.operator-authenticated .operator-workspace{
    display:block!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;
    margin:0!important;padding-left:12px!important;padding-right:12px!important;overflow:visible!important
  }
  body.operator-authenticated .operator-view.is-active{
    display:block!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;
    margin:0!important;padding-left:0!important;padding-right:0!important;padding-bottom:max(42px,env(safe-area-inset-bottom))!important;
    overflow:visible!important;overscroll-behavior:auto!important;-webkit-overflow-scrolling:auto!important
  }
  body.operator-authenticated #operator-tabs,
  body.operator-authenticated #workspace-status,
  body.operator-authenticated #gold-command,
  body.operator-authenticated .market-pane,
  body.operator-authenticated .trop-instrument,
  body.operator-authenticated .trop-market-summary,
  body.operator-authenticated .trop-chart-shell,
  body.operator-authenticated .workspace-special,
  body.operator-authenticated .resource-head,
  body.operator-authenticated .table-wrap{width:100%!important;max-width:100%!important;min-width:0!important}
  body.operator-authenticated .operator-header{position:sticky!important;top:0!important}
  body.operator-authenticated .operator-header .header-inner{
    width:100%!important;max-width:none!important;margin:0!important;
    padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important
  }
  body.operator-authenticated .operator-menu{
    top:var(--crm-header-h)!important;left:0!important;right:0!important;
    width:100vw!important;min-width:0!important;max-width:none!important;
    max-height:calc(100dvh - var(--crm-header-h))!important;margin:0!important;padding:0!important;
    border:0!important;border-top:1px solid var(--crm-line)!important;border-bottom:1px solid var(--crm-line)!important;border-radius:0!important;
    background:rgba(4,4,6,.84)!important;box-shadow:0 18px 54px rgba(0,0,0,.32)!important;
    backdrop-filter:blur(24px) saturate(120%)!important;-webkit-backdrop-filter:blur(24px) saturate(120%)!important;
    overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important
  }
  body.operator-authenticated .operator-menu-grid{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  body.operator-authenticated .fl-menu-user{padding:0!important;border-bottom:1px solid var(--crm-line)!important}
  body.operator-authenticated .fl-menu-user-main{appearance:none;width:100%!important;min-height:92px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;padding:16px max(24px,env(safe-area-inset-left))!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--crm-text)!important;text-align:left!important}
  body.operator-authenticated .fl-menu-user-main .fl-avatar--sm{width:52px!important;height:52px!important;font-size:15px!important}
  body.operator-authenticated .fl-menu-user-main>span{display:grid!important;gap:3px!important;min-width:0!important}
  body.operator-authenticated .fl-menu-user-main strong{font-size:17px!important;line-height:1.2!important;font-weight:600!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.operator-authenticated .fl-menu-user-main small{font-size:13px!important;color:var(--crm-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.operator-authenticated .fl-nav{padding:0!important}
  body.operator-authenticated .operator-menu .fl-menu-item{display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;align-items:center!important;gap:18px!important;width:100%!important;min-height:62px!important;padding:0 max(28px,env(safe-area-inset-left))!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.065)!important;border-radius:0!important;background:transparent!important;font-size:16px!important;letter-spacing:0!important;text-transform:none!important}
  body.operator-authenticated .operator-menu .fl-menu-item .lucide{width:22px!important;height:22px!important;color:#8c8e95!important}
  body.operator-authenticated .operator-menu .fl-menu-item.is-current{background:rgba(255,255,255,.025)!important;box-shadow:inset 2px 0 0 var(--crm-orange)!important}
  body.operator-authenticated .operator-menu .fl-menu-item.is-current .lucide{color:#b8bac1!important}
  body.operator-authenticated .fl-menu-bottom{padding:0!important;border-top:1px solid var(--crm-line)!important}
  body.operator-authenticated .fl-menu-bottom .fl-menu-item:last-child{border-bottom:0!important}
  body.operator-authenticated input,body.operator-authenticated select,body.operator-authenticated textarea,
  body.operator-authenticated button,body.operator-authenticated .operator-input,body.operator-authenticated .operator-select{touch-action:manipulation}
  .crm-overview-grid{grid-template-columns:1fr}
  .market-rail{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .market-cell:nth-child(3){border-right:0}
  .market-cell:nth-child(n+4){border-top:1px solid var(--crm-line)}
  .crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .trop-market-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  #trop-live-chart{height:260px !important}
}
@media(max-width:700px){
  .crm-proof-grid{grid-template-columns:1fr}
  .market-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .market-cell:nth-child(odd){border-right:1px solid var(--crm-line) !important}
  .market-cell:nth-child(even){border-right:0 !important}
  .market-cell:nth-child(n+3){border-top:1px solid var(--crm-line)}
  #trop-live-chart{height:240px !important;min-height:240px !important}
  .crm-metrics{grid-template-columns:1fr 1fr}
  .crm-metrics-sub{grid-template-columns:1fr}
}

/* FL CRM visual law v2 — typography, spacing, and hierarchy are authoritative here. */
body.operator-shell,
body.operator-shell button,
body.operator-shell input,
body.operator-shell select,
body.operator-shell textarea{font-family:'Inter',ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:400;letter-spacing:0}
body.operator-shell h1,
body.operator-shell h2,
body.operator-shell h3,
body.operator-shell .login-panel-head h1{font-family:'Libre Franklin','Inter',ui-sans-serif,system-ui,sans-serif;font-weight:500;letter-spacing:-.025em}
body.operator-shell .kicker,
body.operator-shell .operator-header-state,
body.operator-shell .market-cell span,
body.operator-shell .market-cell small,
body.operator-shell .trop-market-summary span,
body.operator-shell .crm-metric span,
body.operator-shell .crm-metrics-sub span,
body.operator-shell .resource-summary,
body.operator-shell .operator-table th,
body.operator-shell .record-meta,
body.operator-shell .settings-list span,
body.operator-shell .settings-account-meta span{font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em}
body.operator-shell .kicker{text-transform:uppercase;font-size:11px!important;font-weight:500!important}
body.operator-shell strong{font-weight:500}

/* Controls: FL contract is compact and touch-safe, not oversized. */
body.operator-shell .button,
body.operator-shell .operator-input,
body.operator-shell .operator-select,
body.operator-shell .form-field input,
body.operator-shell .form-field select,
body.operator-shell .search-box input,
body.operator-shell #resource-filter,
body.operator-shell #resource-new{min-height:44px!important;height:44px!important;font-size:14px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;border-radius:4px!important}
body.operator-shell textarea.form-field{height:auto!important}

/* Main CRM surfaces use whitespace, not boxes-for-everything. */
.market-pane{border:0!important;background:transparent!important;padding:4px 0 0!important;margin:0 0 28px!important}
.market-pane-head{border:0!important;padding:0!important;margin:0 0 18px!important;align-items:start!important}
.market-pane-head h2{font-size:26px!important;line-height:1.05!important;margin-top:6px!important}
.gold-primary strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:32px!important;font-weight:500!important}
.market-rail{border:0!important;background:transparent!important;gap:24px!important}
.market-cell{padding:0!important;border:0!important;background:transparent!important;min-height:auto!important}
.market-cell span,.market-cell small{font-size:11px!important;color:#777980!important;text-transform:none!important}
.market-cell strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:17px!important;font-weight:500!important;margin-top:4px!important}

#trop-live-chart-panel{margin-top:24px!important;padding-top:0!important;border:0!important;background:transparent!important}
.trop-instrument-head{padding:0 0 14px!important}
#trop-live-chart-title{font-size:24px!important;font-weight:500!important}
.trop-horizon-switch{border:0!important;gap:4px!important}
.trop-horizon-switch button{min-height:38px!important;height:38px!important;border:0!important;border-radius:4px!important;padding:0 12px!important;font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;background:transparent!important}
.trop-horizon-switch button[aria-pressed=true]{background:rgba(255,255,255,.065)!important;box-shadow:none!important}
.trop-market-summary{border:0!important;background:transparent!important;gap:22px!important}
.trop-market-summary>div{padding:0!important;border:0!important;background:transparent!important;min-height:auto!important}
.trop-market-summary span{font-size:11px!important;text-transform:none!important;color:#777980!important}
.trop-market-summary strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:16px!important;font-weight:500!important;margin-top:4px!important}
.trop-chart-shell .market-chart,#trop-live-chart{height:300px!important;min-height:300px!important;border:0!important;border-top:1px solid rgba(255,255,255,.07)!important;border-bottom:1px solid rgba(255,255,255,.07)!important;background:#030304!important}
.trop-chart-foot{border:0!important;min-height:44px!important}
.trop-performance{border:0!important;margin-top:4px!important}

.crm-metrics{border:0!important;background:transparent!important;gap:24px!important;margin:12px 0 20px!important}
.crm-metric{padding:0!important;background:transparent!important;border:0!important;gap:5px!important}
.crm-metric span{font-size:11px!important;text-transform:none!important;color:#777980!important}
.crm-metric strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:24px!important;font-weight:500!important}
.crm-metrics-sub{border:0!important;background:transparent!important;gap:28px!important;margin:0 0 34px!important}
.crm-metrics-sub>div{padding:0!important;background:transparent!important;border:0!important;display:grid!important;gap:3px!important;justify-content:start!important}
.crm-metrics-sub span{font-size:11px!important;text-transform:none!important;color:#777980!important}
.crm-metrics-sub strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:15px!important;font-weight:500!important}
.crm-overview-grid{gap:30px!important;margin-bottom:30px!important}
.crm-surface{border:0!important;background:transparent!important;padding:0!important}
.crm-surface .surface-heading{border:0!important;padding:0!important;margin-bottom:10px!important}
.crm-surface .surface-heading h2{font-size:20px!important;font-weight:500!important}
.crm-surface .surface-heading button{font-size:12px!important;text-transform:none!important;letter-spacing:0!important;padding:4px 0!important}
.record{padding:10px 0!important;border:0!important}
.record h3{font-size:14px!important;font-weight:500!important}
.record p{font-size:13px!important;line-height:1.5!important}
.record-meta{font-size:11px!important;text-transform:none!important}

/* Settings carries proof/flex; overview stays operational. */
.settings-head{margin:0 0 30px}
.settings-head h2{margin:5px 0 8px;font-size:36px;line-height:1}
.settings-head p,.settings-copy{margin:0;color:#8d8f95;font-size:14px;line-height:1.65;max-width:760px}
.settings-section{margin:0 0 42px;padding:0;border:0;background:transparent}
.settings-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.settings-section-head h3{margin:4px 0 0;font-size:22px;line-height:1.1}
.settings-text-action{appearance:none;border:0;background:transparent;color:#b9bbc1;font:500 13px 'Inter',sans-serif;padding:6px 0;cursor:pointer}
.settings-text-action:hover{color:#fff}
.settings-account-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;max-width:760px}
.fl-avatar{display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#18191c,#0c0c0e);color:#f6f6f7;border:1px solid rgba(255,255,255,.09);font:500 12px 'Geist Mono',monospace;letter-spacing:.02em;border-radius:50%}
.fl-avatar--sm{width:34px;height:34px}
.fl-avatar--lg{width:58px;height:58px;font-size:16px}
.settings-account-copy{display:grid;gap:2px;min-width:0}
.settings-account-copy strong{font-size:16px;font-weight:500}
.settings-account-copy span,.settings-account-copy small{font-size:12px;color:#85878d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.settings-account-meta{display:grid;gap:4px;text-align:right}
.settings-account-meta span{font-size:11px;color:#73757b}
.settings-account-meta strong{font-family:'Geist Mono',monospace;font-size:12px;font-weight:500}
.settings-list{display:grid;gap:18px;max-width:760px}
.settings-list>div{display:grid;grid-template-columns:minmax(110px,.34fr) minmax(150px,.34fr) minmax(0,1fr);align-items:baseline;gap:18px}
.settings-list span{font-size:11px;color:#74767c}
.settings-list strong{font-size:14px;font-weight:500}
.settings-list small{font-size:12px;line-height:1.5;color:#777980}
.settings-systems .crm-proof{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.settings-systems .crm-proof-head{padding:0!important;border:0!important;margin:0 0 16px!important}
.settings-systems .crm-proof-head h2{font-size:22px!important;font-weight:500!important}
.settings-systems .crm-proof-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important;border:0!important;background:transparent!important}
.settings-systems .crm-proof-grid article{padding:0!important;background:transparent!important;display:grid!important;grid-template-columns:1fr auto!important;gap:4px 12px!important}
.settings-systems .crm-proof-grid article>span{font-family:'Geist Mono',monospace;font-size:12px!important;letter-spacing:.02em!important;color:#8d8f95!important}
.settings-systems .crm-proof-grid article>strong{font-family:'Geist Mono',monospace;font-size:13px!important;font-weight:500!important}
.settings-systems .crm-proof-grid article>small{font-size:12px!important;color:#6f7177!important}

/* Data / table hierarchy. */
.view-heading h2{font-size:28px!important;font-weight:500!important}
.resource-summary{font-size:11px!important;text-transform:none!important;letter-spacing:.02em!important}
.operator-table th{font-size:11px!important;font-weight:500!important;text-transform:none!important;letter-spacing:.01em!important}
.operator-table td{font-size:13px!important}
.state,.fl-stage{font-size:11px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;border:0!important;background:transparent!important;padding:0!important}

/* Premium login: type leads, frame recedes. */
.login-panel{border-color:rgba(255,255,255,.08)!important;box-shadow:0 24px 80px rgba(0,0,0,.52)!important}
.login-panel-head h1{font-size:56px!important;font-weight:500!important;line-height:.94!important}
.login-panel-head p{font-size:15px!important}
.field-label{font-size:12px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}

@media(max-width:900px){
  .operator-title-row h1{font-size:28px!important}
  .crm-overview-grid{grid-template-columns:1fr!important;gap:26px!important}
  .crm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 24px!important}
  .market-rail{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
  .trop-market-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
  .settings-systems .crm-proof-grid{grid-template-columns:1fr!important;gap:18px!important}
}
@media(max-width:700px){
  body.operator-shell{font-size:15px}
  .operator-workspace{padding-top:12px!important}
  .operator-title-row{min-height:38px!important;padding:6px 0 8px!important}
  .operator-title-row h1{font-size:24px!important}
  .login-panel-head h1{font-size:40px!important}
  .login-panel-head p{font-size:15px!important;line-height:1.55!important}
  .market-pane-head{display:grid!important;grid-template-columns:1fr auto!important;gap:12px!important}
  .market-pane-head h2{font-size:22px!important}
  .gold-primary strong{font-size:28px!important}
  .market-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 20px!important}
  .market-cell{min-width:0!important;flex:none!important}
  .trop-instrument-head{display:grid!important;gap:12px!important}
  #trop-live-chart-title{font-size:22px!important}
  .trop-market-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 20px!important}
  .trop-chart-shell .market-chart,#trop-live-chart{height:260px!important;min-height:260px!important}
  .crm-metric strong{font-size:22px!important}
  .crm-metrics-sub{grid-template-columns:1fr!important;gap:14px!important}
  .crm-surface .surface-heading h2{font-size:19px!important}
  .settings-head h2{font-size:30px}
  .settings-account-row{grid-template-columns:auto minmax(0,1fr)}
  .settings-account-meta{grid-column:1/-1;text-align:left;padding-left:74px}
  .settings-list>div{grid-template-columns:1fr;gap:4px}
  .settings-section{margin-bottom:34px}
  .fl-avatar--lg{width:56px;height:56px}
}

body.operator-shell{margin:0!important}

/* Final specificity closure. */
.gold-primary span{font-size:11px!important;letter-spacing:.02em!important;text-transform:none!important}
.trop-chart-foot span{font-size:11px!important;line-height:1.4!important}
#refresh-data,#resource-new,#operator-tabs button,.fl-menu-item{font-weight:500!important}
#operator-tabs button{font-size:12px!important;letter-spacing:0!important;text-transform:none!important}
.resource-summary,.fl-profile-meta,.fl-dialog-status{font-size:11px!important}
@media(max-width:700px){.trop-chart-foot span{font-size:10.5px!important}.gold-primary span{font-size:11px!important}}
.login-avatar{width:44px;height:44px;margin:14px auto 2px;font-size:12px!important;background:linear-gradient(145deg,#1b1b1e,#0b0b0d)!important;border-color:rgba(255,255,255,.10)!important;box-shadow:0 10px 30px rgba(0,0,0,.28)}
@media(max-width:700px){.login-avatar{width:42px;height:42px;margin-top:12px}}

/* Login obeys the same viewport law without sacrificing its premium hierarchy. */
#login-view.operator-login{height:calc(100dvh - var(--crm-header-h))!important;min-height:0!important;max-height:calc(100dvh - var(--crm-header-h))!important;padding:14px 0 max(14px,env(safe-area-inset-bottom))!important;overflow-y:auto!important;overflow-x:hidden!important;align-items:center!important}
#login-view .login-vault{min-height:100%!important;padding:8px 0!important;align-content:center!important}
@media(max-width:700px){
  #login-view.operator-login{padding:10px 0 max(10px,env(safe-area-inset-bottom))!important}
  #login-view .login-vault{padding:4px 0!important}
}
/* Header includes a 1px bottom rule; account for it in the login viewport budget. */
#login-view.operator-login{height:calc(100dvh - var(--crm-header-h) - 1px)!important;max-height:calc(100dvh - var(--crm-header-h) - 1px)!important}

/* === Workspace V3 consolidated release layer === */
/* FL Trades Workspace v3 — owner-first shell. Loaded last. */
:root{--ws-line:rgba(255,255,255,.085);--ws-muted:#7f8188;--ws-subtle:#777980;--ws-text:#f1f1f2;--ws-accent:#ff4d1a}

body.operator-authenticated #operator-tabs{gap:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--ws-line)!important;border-radius:0!important;background:transparent!important;overflow-x:auto!important;overflow-y:hidden!important;min-height:45px!important;height:45px!important;align-items:stretch!important}
body.operator-authenticated #operator-tabs button{min-height:42px!important;padding:0 14px!important;border-radius:0!important;font-size:12px!important}
body.operator-authenticated #operator-tabs button.is-active{background:transparent!important;box-shadow:inset 0 -2px 0 var(--ws-accent)!important}
body.operator-authenticated #workspace-status{margin:7px 0 20px!important;border:0!important}
body.operator-authenticated .operator-workspace{padding-top:10px!important}

.owner-dashboard{padding:6px 0 30px;border-bottom:1px solid var(--ws-line);margin-bottom:34px}
.owner-dashboard-head,.workspace-special-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}
.owner-dashboard-head h2,.workspace-special-head h2{margin:5px 0 0;font-size:clamp(34px,4.6vw,58px);font-weight:500;letter-spacing:-.055em;line-height:.95}
.owner-dashboard-head>p,.workspace-special-head p{max-width:620px;margin:0;color:var(--ws-muted);font-size:13px;line-height:1.55;text-align:right}
.workspace-special-head p{text-align:left;margin-top:10px}
.workspace-special-head{display:block;border-bottom:1px solid var(--ws-line);padding-bottom:20px;margin-bottom:26px}

.workspace-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line)}
.workspace-kpi{appearance:none;min-width:0;min-height:82px;display:grid;align-content:center;gap:7px;padding:12px 16px;border:0;border-right:1px solid var(--ws-line);background:transparent;color:inherit;text-align:left;font:inherit}
button.workspace-kpi{cursor:pointer}.workspace-kpi:last-child{border-right:0}.workspace-kpi:hover{background:rgba(255,255,255,.018)}
.workspace-kpi span{color:var(--ws-muted);font-size:11px}.workspace-kpi strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:22px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.owner-attention{margin-top:26px}

.workspace-special{margin-top:0!important;padding:6px 0 52px}
.workspace-columns,.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px;margin-top:32px}
.workspace-section{min-width:0;border-top:1px solid var(--ws-line);padding-top:14px}
.workspace-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:8px}
.workspace-section-head span{display:block;color:var(--ws-subtle);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.workspace-section-head h3{margin:4px 0 0;font-size:20px;font-weight:500;letter-spacing:-.025em}
.workspace-section-head button{appearance:none;border:0;background:transparent;color:#aaaeb5;font:500 11px 'Inter',sans-serif;cursor:pointer;padding:5px 0}.workspace-section-head button:hover{color:#fff}
.workspace-list{display:grid}.workspace-list-row{appearance:none;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;padding:11px 0;border:0;border-bottom:1px solid rgba(255,255,255,.055);background:transparent;color:inherit;text-align:left;font:inherit}
button.workspace-list-row{cursor:pointer}button.workspace-list-row:hover{background:rgba(255,255,255,.018)}.workspace-list-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.workspace-list-row span{color:var(--ws-muted);font-size:11px;text-align:right}
.workspace-empty{padding:16px 0;color:var(--ws-subtle);font-size:12px}

/* Dashboard is business-first; market intelligence is an instrument beneath owner state. */
#overview-view>#gold-command{margin-top:34px!important;padding-top:28px!important;border-top:1px solid var(--ws-line)!important}
#overview-view>#gold-command .market-pane-head h2{font-size:clamp(28px,3.4vw,42px)!important}
#overview-view>#gold-command .gold-primary strong{font-size:clamp(34px,4vw,52px)!important}

.source-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 42px}.source-group{min-width:0;border-top:1px solid var(--ws-line);padding-top:14px}.source-list{display:grid}.source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.055);color:inherit;text-decoration:none}.source-row:hover strong{color:var(--ws-accent)}.source-row strong{font-size:14px;font-weight:500}.source-row p{margin:5px 0 0;color:var(--ws-muted);font-size:12px;line-height:1.5}.source-row>span{align-self:start;color:#868991;font-size:11px;white-space:nowrap}

.integration-register{border-top:1px solid var(--ws-line)}.integration-row{display:grid;grid-template-columns:minmax(150px,.25fr) minmax(150px,.2fr) minmax(0,1fr);gap:24px;align-items:baseline;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.06)}.integration-row strong{font-size:14px;font-weight:500}.integration-row span{font-family:'Geist Mono',ui-monospace,monospace;color:#c5c7cb;font-size:11px}.integration-row p{margin:0;color:var(--ws-muted);font-size:12px;line-height:1.5}

.report-grid{gap:36px 42px}.report-breakdown{display:grid}.report-breakdown>div:not(.workspace-empty){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.055)}.report-breakdown span{color:#a4a6ac;font-size:12px;text-transform:capitalize}.report-breakdown strong{font-family:'Geist Mono',ui-monospace,monospace;font-size:12px;font-weight:500}

/* Resource pages carry the same workspace hierarchy. */
body.operator-authenticated #resource-view{padding-top:6px!important}.resource-head{border-bottom:1px solid var(--ws-line)!important;padding-bottom:14px!important}.view-heading h2{font-size:clamp(30px,3.6vw,46px)!important}.search-box input{min-height:40px!important}.operator-table th{position:sticky;top:0;z-index:2;background:#040405!important}.operator-table tbody tr{transition:background .12s ease}.operator-table tbody tr:hover{background:rgba(255,255,255,.022)!important}

@media(max-width:1050px){.workspace-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-kpi:nth-child(3){border-right:0}.workspace-kpi:nth-child(-n+3){border-bottom:1px solid var(--ws-line)}.source-groups{grid-template-columns:1fr}}
@media(max-width:760px){
  .owner-dashboard-head{display:block}.owner-dashboard-head>p{margin-top:8px;text-align:left}.workspace-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-kpi{min-height:72px;padding:10px 12px}.workspace-kpi:nth-child(odd){border-right:1px solid var(--ws-line)}.workspace-kpi:nth-child(even){border-right:0}.workspace-kpi:nth-child(-n+4){border-bottom:1px solid var(--ws-line)}.workspace-kpi strong{font-size:19px}
  .workspace-columns,.report-grid{grid-template-columns:1fr;gap:28px}.workspace-list-row{grid-template-columns:1fr;gap:4px}.workspace-list-row span{text-align:left}.integration-row{grid-template-columns:1fr;gap:5px}.integration-row p{margin-top:3px}
  body.operator-authenticated #operator-tabs button{min-height:44px!important;padding:0 12px!important}
}

/* QA guardrails: mobile rails and direct actions remain physically tappable. */
@media(max-width:700px){
  body.operator-authenticated #operator-tabs{min-height:45px!important;height:45px!important;overflow-y:hidden!important}
  body.operator-authenticated #operator-tabs button{height:44px!important;min-height:44px!important;flex:0 0 auto!important}
  body.operator-authenticated #operator-home-button,body.operator-authenticated #operator-menu-toggle{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}
  body.operator-authenticated .trop-horizon-switch button,body.operator-authenticated #trop-go-live{min-height:44px!important}
  body.operator-authenticated .operator-contact-link{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding-block:8px!important}
}


/* Relationship 360: deepen existing records without creating another module. */
.relationship-360{display:grid;gap:0;padding:4px 0 10px}
.relationship-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line)}
.relationship-context>div{min-width:0;padding:12px 12px 12px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.relationship-context>div:nth-last-child(-n+2){border-bottom:0}
.relationship-context span{display:block;color:var(--ws-subtle);font:500 10px 'Geist Mono',ui-monospace,monospace;letter-spacing:.03em}
.relationship-context strong{display:block;margin-top:5px;min-width:0;color:var(--ws-text);font-size:13px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.relationship-actions{display:flex;gap:8px;overflow-x:auto;padding:14px 0 16px;border-bottom:1px solid var(--ws-line);scrollbar-width:none}.relationship-actions::-webkit-scrollbar{display:none}.relationship-actions .button{flex:0 0 auto;white-space:nowrap}
.relationship-section{padding:18px 0 0;border-bottom:1px solid var(--ws-line)}
.relationship-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-bottom:7px}.relationship-heading h3{margin:0;font-size:16px;font-weight:500;letter-spacing:-.02em}.relationship-heading button{appearance:none;border:0;background:transparent;color:var(--ws-muted);font:500 11px 'Inter',sans-serif;padding:6px 0;cursor:pointer}.relationship-heading button:hover{color:#fff}
.relationship-row{appearance:none;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:11px 0;border:0;border-top:1px solid rgba(255,255,255,.045);background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}.relationship-row:hover{background:rgba(255,255,255,.018)}.relationship-row>span{display:grid;min-width:0;gap:3px}.relationship-row strong{min-width:0;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relationship-row small{min-width:0;color:var(--ws-muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relationship-row em{color:var(--ws-muted);font:400 10px 'Geist Mono',ui-monospace,monospace;font-style:normal;text-align:right;white-space:nowrap}
.relationship-empty{padding:11px 0 16px;color:var(--ws-subtle);font-size:12px}.relationship-sublist{margin-top:3px;border-top:1px solid rgba(255,255,255,.04)}
.relationship-360+.drawer-record-details{margin-top:20px}
@media(max-width:700px){.relationship-context{grid-template-columns:repeat(2,minmax(0,1fr))}.relationship-context>div,.relationship-context>div:nth-last-child(-n+2){border-bottom:1px solid rgba(255,255,255,.05);padding-right:10px}.relationship-context>div.is-wide{grid-column:1/-1}.relationship-context>div:last-child{border-bottom:0}.relationship-row{grid-template-columns:1fr;gap:4px;min-height:56px}.relationship-row em{text-align:left;white-space:normal}.relationship-actions .button{min-height:44px!important}}

.drawer-disclosure{border-bottom:1px solid var(--ws-line)}
.drawer-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:52px;color:#92949a;font-size:12px;cursor:pointer}.drawer-disclosure>summary::-webkit-details-marker{display:none}.drawer-disclosure>summary::after{content:'+';font:400 16px 'Geist Mono',ui-monospace,monospace;color:#66686e}.drawer-disclosure[open]>summary::after{content:'−'}.drawer-disclosure>.drawer-section{padding-top:0;margin-top:0}
.relationship-360+.drawer-disclosure{margin-top:8px}


/* Release normalization */
.workspace-kpi:focus-visible,.workspace-list-row:focus-visible,.source-row:focus-visible,.workspace-section-head button:focus-visible,.relationship-heading button:focus-visible,.relationship-row:focus-visible{outline:2px solid rgba(255,255,255,.82);outline-offset:3px}
.fl-menu-group{display:grid;gap:2px;padding:7px 0 3px}
.fl-menu-group-label{display:block;padding:8px 12px 4px;color:#777980;font:500 10.5px 'Geist Mono',ui-monospace,monospace;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:700px){.fl-menu-group{padding-top:9px}.fl-menu-group-label{font-size:11px}.workspace-section-head button,.relationship-heading button{min-height:44px!important;display:inline-flex;align-items:center}.source-row{min-height:56px}.owner-dashboard{padding-bottom:24px;margin-bottom:28px}}

/* Touch-target closure. */
.login-password-toggle{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}

/* Mobile authority: one gutter, no browser zoom, no implementation-colored system state. */
#settings-view .kicker,#settings-view .settings-section-head>div>span{color:#8b8d93!important}
.crm-proof-head>strong{color:#aeb0b6!important}
.crm-proof-grid strong[data-state="synced"]{color:#f1f1f2!important}
.crm-proof-grid strong[data-state="unsynced"],.crm-proof-grid strong[data-state="idle"],.crm-proof-grid strong[data-state="stale"],.crm-proof-grid strong[data-state="error"]{color:#8b8d93!important}
.workspace-status.is-error{color:#9b9da3!important}
.fl-avatar.has-photo{background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;color:transparent!important}

.operator-menu .fl-menu-item{background:transparent!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.055)!important;border-radius:0!important;min-height:46px!important;padding:0 10px!important;font-size:13px!important}
.operator-menu .fl-menu-item:last-child{border-bottom:0!important}
.operator-menu .fl-menu-item.is-current{background:rgba(255,255,255,.035)!important;box-shadow:inset 2px 0 0 #8b8d93!important}
.operator-menu .fl-menu-user{border-bottom:1px solid rgba(255,255,255,.075)!important}
.operator-menu .fl-menu-bottom{border-top:1px solid rgba(255,255,255,.075)!important}

.fl-avatar-editor{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:center;padding:2px 0 4px}
.fl-avatar--editor{width:64px;height:64px;font-size:16px}
.fl-avatar-editor>div:last-child{display:grid;gap:6px;justify-items:start}
.fl-avatar-editor small{color:#74767d;font-size:11px}
.fl-avatar-upload{display:inline-flex!important;align-items:center!important;min-height:40px!important;padding:0 12px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:8px!important;color:#d8d9dc!important;font-size:12px!important;cursor:pointer!important}
.fl-avatar-upload:hover{background:rgba(255,255,255,.04)!important}

@media(max-width:900px),(pointer:coarse){
  body.operator-authenticated input,body.operator-authenticated select,body.operator-authenticated textarea,body.operator-authenticated .operator-input,body.operator-authenticated .operator-select{font-size:16px!important}
}
@media(max-width:900px){
  .fl-glass-dialog,.record-dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}
  .fl-dialog-shell,.record-dialog .dialog-shell{padding:18px!important}
  .fl-dialog-head h2,.dialog-head h2{font-size:28px!important;line-height:1!important}
  .fl-dialog-shell label,.form-field>span{font-size:12px!important}
  .fl-dialog-actions button,.dialog-actions .button{font-size:15px!important}
}
@media(max-width:430px){
  .settings-head h2{font-size:34px!important}
  .settings-section-head h3{font-size:24px!important}
  .settings-account-copy strong{font-size:17px!important}
  .settings-account-copy span,.settings-account-copy small{font-size:13px!important}
  .crm-proof-head h2{font-size:24px!important}
  .crm-proof-grid article>span{font-size:11px!important}.crm-proof-grid article>strong{font-size:14px!important}.crm-proof-grid article>small{font-size:12px!important}
}

/* Appearance authority. Dark remains the default; light is a complete operator theme, not an inversion filter. */
.settings-appearance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;max-width:760px;padding:14px 0;border-top:1px solid var(--crm-line);border-bottom:1px solid var(--crm-line);transition:background .18s ease,box-shadow .18s ease}
.settings-appearance-row>div{display:grid;gap:4px}.settings-appearance-row strong{font-size:14px;font-weight:500}.settings-appearance-row small{font-size:12px;color:var(--crm-muted);line-height:1.5}.settings-theme-state{color:var(--crm-muted);font:500 12px 'Geist Mono',monospace}
.settings-toggle,.fl-theme-nudge-toggle{appearance:none;position:relative;width:46px;min-width:46px;height:26px;border:1px solid var(--crm-line-strong);border-radius:999px;background:rgba(255,255,255,.055);padding:0;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.settings-toggle>span,.fl-theme-nudge-toggle>span{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#f2f2f3;transition:transform .16s ease,background .16s ease;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.settings-toggle[aria-checked="true"],.fl-theme-nudge-toggle[aria-checked="true"]{background:#23252a;border-color:#454850}.settings-toggle[aria-checked="true"]>span,.fl-theme-nudge-toggle[aria-checked="true"]>span{transform:translateX(20px)}
.settings-appearance.is-called-out .settings-appearance-row{background:rgba(255,255,255,.025);box-shadow:0 0 0 1px var(--crm-line-strong) inset}
.fl-theme-nudge{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:520;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;width:min(330px,calc(100vw - 24px));padding:13px 12px 13px 14px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:#0b0b0d;color:#f3f3f4;box-shadow:0 18px 54px rgba(0,0,0,.44);font-family:'Inter',sans-serif}
.fl-theme-nudge>div{display:grid;gap:2px}.fl-theme-nudge>div span{font-size:10px;color:#85878d}.fl-theme-nudge>div strong{font-size:13px;font-weight:550}.fl-theme-nudge-close{appearance:none;width:28px;height:28px;border:0;background:transparent;color:#8b8d93;font:300 20px/1 'Inter',sans-serif;cursor:pointer}

/* Menu overflow authority only; mobile sizing lives in operator-mobile-fix.css. */
body.operator-authenticated .operator-menu{overflow-x:hidden!important}
.fl-dialog-shell input,.fl-dialog-shell select,.fl-dialog-shell textarea{font-size:16px!important}
.fl-dialog-shell label{font-size:12px!important}

html[data-theme="light"]{
  color-scheme:light;
  --crm-bg:#f4f5f7;--crm-bg-2:#ffffff;--crm-surface:#ffffff;--crm-line:rgba(15,23,42,.105);--crm-line-strong:rgba(15,23,42,.17);--crm-text:#17191d;--crm-muted:#666a73;--crm-subtle:#9296a0;
  --fl-bg:#f4f5f7;--fl-surface:#ffffff;--fl-text:#17191d;--fl-muted:#666a73;--fl-line:rgba(15,23,42,.105);--fl-line-strong:rgba(15,23,42,.17);
  --ws-line:rgba(15,23,42,.105);--ws-muted:#666a73;--ws-subtle:#9296a0;--ws-text:#17191d;
}
html[data-theme="light"] body.operator-authenticated{background:#f4f5f7!important;color:#17191d!important}
html[data-theme="light"] body.operator-authenticated .operator-header{background:rgba(250,250,251,.92)!important;border-color:rgba(15,23,42,.10)!important;box-shadow:0 1px 0 rgba(15,23,42,.03)!important}
html[data-theme="light"] body.operator-authenticated .brand,html[data-theme="light"] body.operator-authenticated .operator-home-button,html[data-theme="light"] body.operator-authenticated .operator-menu-toggle{color:#25282e!important}
html[data-theme="light"] body.operator-authenticated .operator-home-button:hover,html[data-theme="light"] body.operator-authenticated .operator-menu-toggle:hover{background:rgba(15,23,42,.055)!important;color:#111318!important}
html[data-theme="light"] body.operator-authenticated #operator-tabs{background:transparent!important;border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated #operator-tabs button{color:#727680!important}
html[data-theme="light"] body.operator-authenticated #operator-tabs button:hover{color:#1b1e24!important;background:rgba(15,23,42,.035)!important}
html[data-theme="light"] body.operator-authenticated #operator-tabs button.is-active{color:#15171b!important;background:rgba(15,23,42,.055)!important}
html[data-theme="light"] body.operator-authenticated .workspace-status{color:#777b84!important;border-color:rgba(15,23,42,.09)!important}
html[data-theme="light"] body.operator-authenticated .operator-view,html[data-theme="light"] body.operator-authenticated .workspace-special{color:#17191d!important}
html[data-theme="light"] body.operator-authenticated .market-pane,html[data-theme="light"] body.operator-authenticated .crm-metric,html[data-theme="light"] body.operator-authenticated .crm-metrics-sub>div,html[data-theme="light"] body.operator-authenticated .trop-market-summary>div{background:transparent!important;border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated .market-rail,html[data-theme="light"] body.operator-authenticated .trop-market-summary,html[data-theme="light"] body.operator-authenticated .crm-metrics-sub{background:transparent!important;border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated .market-cell,html[data-theme="light"] body.operator-authenticated .trop-market-summary>div{border-color:rgba(15,23,42,.08)!important}
html[data-theme="light"] body.operator-authenticated .market-cell span,html[data-theme="light"] body.operator-authenticated .market-cell small,html[data-theme="light"] body.operator-authenticated .trop-market-summary span,html[data-theme="light"] body.operator-authenticated .crm-metric span,html[data-theme="light"] body.operator-authenticated .crm-metric small,html[data-theme="light"] body.operator-authenticated .crm-metrics-sub span{color:#717680!important}
html[data-theme="light"] body.operator-authenticated #trop-live-chart,html[data-theme="light"] body.operator-authenticated .trop-chart-shell .market-chart{background:#fff!important;border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated .record,html[data-theme="light"] body.operator-authenticated .workspace-list-row,html[data-theme="light"] body.operator-authenticated .source-row,html[data-theme="light"] body.operator-authenticated .report-breakdown>div:not(.workspace-empty),html[data-theme="light"] body.operator-authenticated .integration-row{border-color:rgba(15,23,42,.09)!important}
html[data-theme="light"] body.operator-authenticated .record:hover,html[data-theme="light"] body.operator-authenticated .workspace-list-row:hover,html[data-theme="light"] body.operator-authenticated .operator-table tbody tr:hover{background:rgba(15,23,42,.028)!important}
html[data-theme="light"] body.operator-authenticated .table-wrap,html[data-theme="light"] body.operator-authenticated .resource-head,html[data-theme="light"] body.operator-authenticated .workspace-section{border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated .operator-table th{background:#f4f5f7!important;color:#555a64!important;border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated .operator-table td{color:#202329!important;border-color:rgba(15,23,42,.08)!important}
html[data-theme="light"] body.operator-authenticated input,html[data-theme="light"] body.operator-authenticated select,html[data-theme="light"] body.operator-authenticated textarea,html[data-theme="light"] body.operator-authenticated .operator-input,html[data-theme="light"] body.operator-authenticated .operator-select{background:#fff!important;color:#17191d!important;border-color:rgba(15,23,42,.16)!important}
html[data-theme="light"] body.operator-authenticated .button:not(.danger-button),html[data-theme="light"] body.operator-authenticated .operator-submit{background:#fff!important;color:#25282e!important;border-color:rgba(15,23,42,.16)!important}
html[data-theme="light"] body.operator-authenticated .button--solid:not(.danger-button){background:#1c1f24!important;color:#fff!important;border-color:#1c1f24!important}
html[data-theme="light"] body.operator-authenticated .settings-head p,html[data-theme="light"] body.operator-authenticated .settings-copy,html[data-theme="light"] body.operator-authenticated .settings-account-copy span,html[data-theme="light"] body.operator-authenticated .settings-account-copy small,html[data-theme="light"] body.operator-authenticated .settings-account-meta span,html[data-theme="light"] body.operator-authenticated .settings-list span,html[data-theme="light"] body.operator-authenticated .settings-list small,html[data-theme="light"] body.operator-authenticated .settings-appearance-row small{color:#686d76!important}
html[data-theme="light"] body.operator-authenticated .settings-text-action,html[data-theme="light"] body.operator-authenticated .workspace-section-head button,html[data-theme="light"] body.operator-authenticated .relationship-heading button{color:#5d626c!important}
html[data-theme="light"] body.operator-authenticated .settings-text-action:hover,html[data-theme="light"] body.operator-authenticated .workspace-section-head button:hover,html[data-theme="light"] body.operator-authenticated .relationship-heading button:hover{color:#15171b!important}
html[data-theme="light"] body.operator-authenticated .fl-avatar{background:linear-gradient(145deg,#ffffff,#e9ebef)!important;color:#292c32!important;border-color:rgba(15,23,42,.12)!important}
html[data-theme="light"] body.operator-authenticated #settings-view .kicker,html[data-theme="light"] body.operator-authenticated #settings-view .settings-section-head>div>span,html[data-theme="light"] body.operator-authenticated .settings-systems .crm-proof-grid article>span{color:#777c86!important}
html[data-theme="light"] body.operator-authenticated .settings-systems .crm-proof-grid article>small,html[data-theme="light"] body.operator-authenticated .crm-proof-grid strong[data-state="unsynced"],html[data-theme="light"] body.operator-authenticated .crm-proof-grid strong[data-state="idle"]{color:#7b8089!important}
html[data-theme="light"] body.operator-authenticated .crm-proof-grid strong[data-state="synced"]{color:#202329!important}
html[data-theme="light"] body.operator-authenticated .operator-menu{background:rgba(247,248,250,.88)!important;color:#1d2026!important;border-color:rgba(15,23,42,.10)!important;box-shadow:0 18px 54px rgba(15,23,42,.12)!important;backdrop-filter:blur(24px) saturate(110%)!important;-webkit-backdrop-filter:blur(24px) saturate(110%)!important}
html[data-theme="light"] body.operator-authenticated .operator-menu .fl-menu-user,html[data-theme="light"] body.operator-authenticated .operator-menu .fl-menu-bottom,html[data-theme="light"] body.operator-authenticated .operator-menu .fl-menu-item{border-color:rgba(15,23,42,.08)!important}
html[data-theme="light"] body.operator-authenticated .fl-menu-user-main{color:#17191d!important}
html[data-theme="light"] body.operator-authenticated .fl-menu-user-main small{color:#747984!important}
html[data-theme="light"] body.operator-authenticated .fl-menu-item{color:#60656f!important}
html[data-theme="light"] body.operator-authenticated .fl-menu-item:hover,html[data-theme="light"] body.operator-authenticated .fl-menu-item.is-current{background:rgba(15,23,42,.045)!important;color:#17191d!important}
html[data-theme="light"] body.operator-authenticated .fl-menu-item.is-current{box-shadow:inset 2px 0 0 #7b808a!important}
html[data-theme="light"] body.operator-authenticated .fl-signout{color:#8a5b54!important}
html[data-theme="light"] body.operator-authenticated .record-drawer,html[data-theme="light"] body.operator-authenticated .record-dialog,html[data-theme="light"] body.operator-authenticated .fl-glass-dialog{background:#fff!important;color:#17191d!important;border-color:rgba(15,23,42,.14)!important;box-shadow:0 28px 80px rgba(15,23,42,.18)!important;color-scheme:light!important}
html[data-theme="light"] body.operator-authenticated .fl-glass-dialog::backdrop,html[data-theme="light"] body.operator-authenticated .record-dialog::backdrop{background:rgba(42,47,56,.28)!important}
html[data-theme="light"] body.operator-authenticated .fl-dialog-shell label,html[data-theme="light"] body.operator-authenticated .form-field>span{color:#676c75!important}
html[data-theme="light"] body.operator-authenticated .fl-dialog-actions .is-primary{background:#1c1f24!important;border-color:#1c1f24!important;color:#fff!important}
html[data-theme="light"] body.operator-authenticated .icon-button{color:#626771!important}
html[data-theme="light"] body.operator-authenticated .icon-button:hover{background:rgba(15,23,42,.055)!important;color:#17191d!important}
html[data-theme="light"] body.operator-authenticated .settings-toggle{background:#d5d8de;border-color:#b9bdc6}html[data-theme="light"] body.operator-authenticated .settings-toggle>span{background:#fff;box-shadow:0 1px 4px rgba(15,23,42,.20)}html[data-theme="light"] body.operator-authenticated .settings-toggle[aria-checked="true"]{background:#30343b;border-color:#30343b}
html[data-theme="light"] .fl-theme-nudge{background:#fff;color:#17191d;border-color:rgba(15,23,42,.14);box-shadow:0 18px 54px rgba(15,23,42,.18)}html[data-theme="light"] .fl-theme-nudge>div span{color:#717680}html[data-theme="light"] .fl-theme-nudge-close{color:#777c86}

html[data-theme="light"] body.operator-authenticated .operator-footer{border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] body.operator-authenticated .operator-footer .footer-bottom{color:#747984!important}
html[data-theme="light"] .fl-help-launcher{background:rgba(250,251,252,.92)!important;color:#24272d!important;border-color:rgba(15,23,42,.14)!important;box-shadow:0 14px 42px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.85)!important}
html[data-theme="light"] .fl-help-panel{background:#f9fafb!important;color:#1a1d22!important;border-color:rgba(15,23,42,.14)!important;box-shadow:0 26px 80px rgba(15,23,42,.15),inset 0 1px 0 rgba(255,255,255,.88)!important}
html[data-theme="light"] .fl-help-head,html[data-theme="light"] .fl-help-tabs,html[data-theme="light"] .fl-help-faq,html[data-theme="light"] .fl-help-faq details{border-color:rgba(15,23,42,.10)!important}
html[data-theme="light"] .fl-help-head span{color:#3f444d!important}
html[data-theme="light"] .fl-help-intro,html[data-theme="light"] .fl-help-answer,html[data-theme="light"] .fl-help-guide-list button span,html[data-theme="light"] .fl-help-reply,html[data-theme="light"] .fl-help-close{color:#565c66!important}
html[data-theme="light"] .fl-help-tabs button,html[data-theme="light"] .fl-help-suggestions button{color:#565c66!important}
html[data-theme="light"] .fl-help-tabs button[aria-selected="true"],html[data-theme="light"] .fl-help-faq summary{color:#1b1e24!important}
html[data-theme="light"] .fl-help-ask input,html[data-theme="light"] .fl-help-reply,html[data-theme="light"] .fl-help-answer button,html[data-theme="light"] .fl-help-guide-list button,html[data-theme="light"] .fl-help-suggestions button{background:rgba(255,255,255,.72)!important;color:#1b1e24!important;border-color:rgba(15,23,42,.12)!important}

@media(max-width:700px){
  .fl-theme-nudge{right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:calc(100vw - 24px)}
}
@media(min-width:701px) and (max-width:900px){
  #fl-profile-dialog.fl-glass-dialog{width:min(520px,calc(100vw - 32px))!important;max-width:min(520px,calc(100vw - 32px))!important}
}

@media(max-width:430px){
  body.operator-authenticated #workspace-view,body.operator-authenticated .operator-workspace{padding-left:10px!important;padding-right:10px!important}
  body.operator-authenticated .operator-header .header-inner{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
}


@media(max-width:700px){
  body.operator-authenticated .operator-footer .footer-bottom{width:100%!important;display:grid!important;gap:12px!important;padding:16px max(16px,env(safe-area-inset-left)) max(22px,env(safe-area-inset-bottom))!important}
  body.operator-authenticated .operator-footer-links{gap:18px!important}
  .fl-help-launcher{bottom:max(72px,calc(env(safe-area-inset-bottom) + 64px))!important}
  .fl-help-panel{bottom:calc(max(72px,calc(env(safe-area-inset-bottom) + 64px)) + 60px)!important}
}

/* Dimensional glass authority: every form surface uses the same depth model. */
.fl-glass-dialog,.record-dialog{
  margin:auto!important;
  border:1px solid rgba(255,255,255,.145)!important;
  background:
    radial-gradient(120% 75% at 18% -12%,rgba(255,255,255,.09),transparent 48%),
    linear-gradient(180deg,rgba(255,255,255,.038),rgba(255,255,255,.012) 26%,rgba(0,0,0,.045) 100%),
    rgba(8,8,10,.94)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.085),
    inset 0 -1px 0 rgba(255,255,255,.025),
    0 2px 6px rgba(0,0,0,.32),
    0 22px 62px rgba(0,0,0,.48),
    0 50px 120px rgba(0,0,0,.30)!important;
  backdrop-filter:blur(30px) saturate(138%)!important;
  -webkit-backdrop-filter:blur(30px) saturate(138%)!important;
}
.fl-glass-dialog::backdrop,.record-dialog::backdrop{
  background:rgba(0,0,0,.62)!important;
  backdrop-filter:blur(8px) saturate(90%)!important;
  -webkit-backdrop-filter:blur(8px) saturate(90%)!important;
}
.fl-dialog-shell,.record-dialog .dialog-shell{
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 20%,rgba(0,0,0,.025) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.fl-dialog-head,.record-dialog .dialog-head{position:relative}
.fl-dialog-head::after,.record-dialog .dialog-head::after{
  content:'';position:absolute;left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.14) 20%,rgba(255,255,255,.05) 76%,transparent);
  pointer-events:none;
}
.fl-dialog-shell input,.fl-dialog-shell select,.fl-dialog-shell textarea,
.record-dialog input,.record-dialog select,.record-dialog textarea{
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;
  border-color:rgba(255,255,255,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),inset 0 -8px 18px rgba(0,0,0,.07),0 1px 0 rgba(0,0,0,.18)!important;
}
.fl-dialog-shell input:focus,.fl-dialog-shell select:focus,.fl-dialog-shell textarea:focus,
.record-dialog input:focus,.record-dialog select:focus,.record-dialog textarea:focus{
  border-color:rgba(190,178,255,.46)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 0 0 3px rgba(170,150,255,.075),0 10px 28px rgba(0,0,0,.12)!important;
}
.fl-dialog-actions button,.record-dialog .dialog-actions .button{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 1px 2px rgba(0,0,0,.20)!important;
}
.fl-dialog-actions .is-primary,.record-dialog .dialog-actions .button--solid{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.74),0 2px 7px rgba(0,0,0,.28)!important;
}
.fl-dialog-copy{margin:0;color:#8b8d94;font-size:12px;line-height:1.6}
.settings-access-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;max-width:760px;padding:14px 0;border-top:1px solid var(--crm-line);border-bottom:1px solid var(--crm-line)}
.settings-access-row>div{display:grid;gap:4px}.settings-access-row strong{font-size:14px;font-weight:500}.settings-access-row small{font-size:12px;color:var(--crm-muted);line-height:1.5}.settings-access-limit{color:var(--crm-muted);font:500 11px 'Geist Mono',monospace}

html[data-theme="light"] body.operator-authenticated .fl-glass-dialog,
html[data-theme="light"] body.operator-authenticated .record-dialog{
  background:
    radial-gradient(120% 75% at 18% -12%,rgba(255,255,255,.96),transparent 50%),
    linear-gradient(180deg,rgba(255,255,255,.90),rgba(248,249,251,.90) 66%,rgba(241,243,246,.94))!important;
  border-color:rgba(15,23,42,.145)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(15,23,42,.045),
    0 2px 5px rgba(15,23,42,.08),
    0 22px 56px rgba(15,23,42,.14),
    0 48px 110px rgba(15,23,42,.08)!important;
}
html[data-theme="light"] body.operator-authenticated .fl-dialog-shell,
html[data-theme="light"] body.operator-authenticated .record-dialog .dialog-shell{background:linear-gradient(180deg,rgba(255,255,255,.40),rgba(255,255,255,0))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.96)!important}
html[data-theme="light"] body.operator-authenticated .fl-dialog-head::after,
html[data-theme="light"] body.operator-authenticated .record-dialog .dialog-head::after{background:linear-gradient(90deg,transparent,rgba(15,23,42,.12) 20%,rgba(15,23,42,.045) 76%,transparent)}
html[data-theme="light"] body.operator-authenticated .fl-dialog-shell input,
html[data-theme="light"] body.operator-authenticated .fl-dialog-shell select,
html[data-theme="light"] body.operator-authenticated .fl-dialog-shell textarea,
html[data-theme="light"] body.operator-authenticated .record-dialog input,
html[data-theme="light"] body.operator-authenticated .record-dialog select,
html[data-theme="light"] body.operator-authenticated .record-dialog textarea{
  background:linear-gradient(180deg,#fff,#f8f9fb)!important;
  border-color:rgba(15,23,42,.15)!important;
  box-shadow:inset 0 1px 0 #fff,inset 0 -6px 14px rgba(15,23,42,.025),0 1px 2px rgba(15,23,42,.055)!important;
}
html[data-theme="light"] body.operator-authenticated .fl-dialog-copy,
html[data-theme="light"] body.operator-authenticated .settings-access-row small,
html[data-theme="light"] body.operator-authenticated .settings-access-limit{color:#686d76!important}

/* Canonical daylight contrast: keep authenticated navigation and metadata at WCAG AA. */
html[data-theme="light"] body.operator-authenticated #operator-tabs button,
html[data-theme="light"] body.operator-authenticated .workspace-status,
html[data-theme="light"] body.operator-authenticated #settings-view .kicker,
html[data-theme="light"] body.operator-authenticated .settings-systems .crm-proof-grid article>span,
html[data-theme="light"] body.operator-authenticated .settings-systems .crm-proof-grid article>small,
html[data-theme="light"] body.operator-authenticated .fl-menu-item,
html[data-theme="light"] body.operator-authenticated .fl-menu-user-main small,
html[data-theme="light"] body.operator-authenticated .settings-head p,
html[data-theme="light"] body.operator-authenticated .settings-copy{color:#565c66!important}
html[data-theme="light"] body.operator-authenticated .fl-avatar{background:#fff!important;color:#20242b!important}
html[data-theme="light"] body.operator-authenticated .owner-attention .workspace-section-head span,
html[data-theme="light"] body.operator-authenticated .operator-footer .footer-bottom{color:#565c66!important}

@media(max-width:700px){.settings-access-row{grid-template-columns:minmax(0,1fr) auto}.fl-dialog-copy{font-size:13px}}
