/* Tabler foundation with FLO adapters for existing module markup. */
:root,[data-bs-theme=light]{--tblr-primary:#315f9c;--tblr-primary-rgb:49,95,156;--flo-bg:#f6f8fb;--flo-surface:#fff;--flo-soft:#f0f3f7;--flo-text:#253247;--flo-muted:#64748b;--flo-line:#e1e7ef;--flo-accent:#315f9c;--flo-selected:#e8f0fa;--flo-selected-text:#244a78;--flo-hover:#edf3fa;--flo-blue:#477bea;--flo-green:#179b85;--flo-purple:#9861cc;--flo-amber:#bd811c;--line:var(--flo-line);--ink:var(--flo-text);--muted:var(--flo-muted);color-scheme:light}
[data-bs-theme=dark]{--flo-bg:#111827;--flo-surface:#1d293b;--flo-soft:#243247;--flo-text:#e1e8f2;--flo-muted:#a7b6cb;--flo-line:#344359;--flo-accent:#8eb6ec;--flo-selected:#263e5d;--flo-selected-text:#d9e8fb;--flo-hover:#293c54;--flo-blue:#8ab1ff;--flo-green:#64d6b8;--flo-purple:#c5a0f0;--flo-amber:#f0bf73;--tblr-body-bg:var(--flo-bg);--tblr-body-color:var(--flo-text);--tblr-bg-surface:var(--flo-surface);--tblr-border-color:var(--flo-line);color-scheme:dark}
html body{background:var(--flo-bg);color:var(--flo-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}
html body h1,html body h2,html body h3,html body h4{color:var(--flo-text);letter-spacing:-.025em}html body h1{font-size:28px;font-weight:650}html body h2{font-size:20px;font-weight:600}html body h3{font-size:16px}
html body a{color:var(--flo-accent)}html body small,html body .muted,html body .sub,html body .subtitle,html body .workspace-note,html body .register-count{color:var(--flo-muted)}
html body :is(.shell,.shell>main,#main,.portal-body){background:var(--flo-bg);color:var(--flo-text)}
html body :is(.operation-nav,.nav-brand,.nav-profile,.topbar,.portal-header,.store-header,.store-nav){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}
html body .operation-nav a,html body .operation-nav summary{color:var(--flo-muted);font-size:13px}html body .operation-nav .nav-folder>summary{border-radius:8px;background:transparent}html body .operation-nav .nav-folder[open]>summary{background:var(--flo-soft);color:var(--flo-text)}html body .operation-nav a.active,html body .operation-nav a[aria-current=page]{background:var(--flo-selected);color:var(--flo-selected-text);border-radius:7px;box-shadow:inset 3px 0 #315f9c}html body .nav-caption,html body .nav-group{color:var(--flo-muted)}
html body :is(.card,.panel,.chart-panel,.account-summary,.customer-card,.quote-total-panel,.quote-customer-panel,.pricing-upload-card,.pricing-report,.pricing-result,.data-register,.project-register,.decision-desk,.answer-paper,.payment-form,.customer-facts,.record-facts,.line-item,.catalog-field-group,.flow-table,.summary,dialog){background:var(--flo-surface);color:var(--flo-text);border:1px solid var(--flo-line);border-radius:10px;box-shadow:0 2px 5px #12203404}
html body :is(.card-header,.panel-head,.customer-save,.modal-head){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}html body .flow-table{overflow:auto}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background:var(--flo-surface);color:var(--flo-text);border:1px solid var(--flo-line);border-radius:6px;min-height:40px;font-size:14px;padding:9px 12px;box-shadow:0 1px 2px #16243a05;max-width:100%}html body input::placeholder,html body textarea::placeholder{color:var(--flo-muted);opacity:.85}html body :is(input,textarea,select):focus-visible{outline:2px solid #315f9c55;outline-offset:1px;border-color:#315f9c}html body input:is([type=checkbox],[type=radio]){accent-color:#315f9c;width:16px;height:16px;min-height:0;flex-shrink:0}html body label{color:var(--flo-text)}
html body :is(button,.btn,a.primary,a.secondary){border-radius:6px;font-size:13px;line-height:1.4;min-height:36px;padding:9px 14px;box-shadow:none}html body button{background:var(--flo-surface);color:var(--flo-text);border:1px solid var(--flo-line)}html body :is(button.primary,a.primary,.btn-primary,button[type=submit],.primary-button){background:#315f9c;color:#fff;border-color:#315f9c;font-weight:600}html body :is(button.secondary,a.secondary,.btn-outline-secondary){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}html body button:disabled{opacity:.48;cursor:not-allowed}html body button:focus-visible,html body a:focus-visible{outline:2px solid var(--flo-accent);outline-offset:3px}html body button[aria-selected=true],html body button[aria-pressed=true]:not(.flo-theme-toggle){background:var(--flo-selected);color:var(--flo-selected-text);border-color:var(--flo-accent)}
html body :is(.customer-tabs,.fulfillment-tabs,.record-tabs,.dashboard-tabs,.portal-nav,.item-tabs,.pricing-tabs){background:var(--flo-soft);border-color:var(--flo-line);border-radius:8px;padding:6px;gap:6px}html body :is(.customer-tabs,.fulfillment-tabs,.record-tabs,.dashboard-tabs,.portal-nav,.item-tabs,.pricing-tabs) :is(a,button){color:var(--flo-muted);border-radius:6px}html body :is(.customer-tabs,.fulfillment-tabs,.record-tabs,.dashboard-tabs,.portal-nav,.item-tabs,.pricing-tabs) :is(.selected,.active,[aria-current=page],[aria-selected=true]){background:var(--flo-surface);color:var(--flo-text);box-shadow:0 1px 4px #10203012}
html body table{color:var(--flo-text);font-size:13px;font-variant-numeric:tabular-nums}html body table th{background:var(--flo-soft);color:var(--flo-muted);font-size:11px;letter-spacing:.04em;text-transform:uppercase;padding:12px 14px;border-color:var(--flo-line)}html body table td{background:var(--flo-surface);color:var(--flo-text);padding:13px 14px;border-color:var(--flo-line);vertical-align:middle}html body table td small{color:var(--flo-muted)}html body tbody tr:hover>td{background:var(--flo-hover)}
html body tbody tr:is(.selected,.flo-row-highlight,[aria-selected=true])>*,html body tbody tr:has(input[type=checkbox]:checked)>*{background:var(--flo-selected)!important;color:var(--flo-selected-text)!important}html body tbody tr:is(.selected,.flo-row-highlight,[aria-selected=true])>:first-child,html body tbody tr:has(input[type=checkbox]:checked)>:first-child{box-shadow:inset 3px 0 #315f9c}html body tbody tr:focus-within{outline:2px solid var(--flo-accent);outline-offset:-2px}
html body :is(.stats,.dashboard-metrics)>:nth-child(4n+1){--stat-color:var(--flo-blue)}html body :is(.stats,.dashboard-metrics)>:nth-child(4n+2){--stat-color:var(--flo-green)}html body :is(.stats,.dashboard-metrics)>:nth-child(4n+3){--stat-color:var(--flo-purple)}html body :is(.stats,.dashboard-metrics)>:nth-child(4n+4){--stat-color:var(--flo-amber)}html body :is(.stats,.dashboard-metrics)>*{background:var(--flo-surface);border:1px solid var(--flo-line);border-top:3px solid var(--stat-color,var(--flo-blue));border-radius:10px;padding:20px}html body :is(.stats,.dashboard-metrics) strong{color:var(--stat-color,var(--flo-blue));font-size:28px}html body .chart-panel:nth-child(4n+1){border-top:3px solid var(--flo-blue)}html body .chart-panel:nth-child(4n+2){border-top:3px solid var(--flo-green)}html body .chart-panel:nth-child(4n+3){border-top:3px solid var(--flo-purple)}html body .chart-panel:nth-child(4n+4){border-top:3px solid var(--flo-amber)}html body .chart-bar-track{background:var(--flo-soft)}html body .chart-bar-track span{background:var(--flo-blue)}html body .chart-panel:nth-child(2n) .chart-bar-track span{background:var(--flo-green)}
html body .pill{background:var(--flo-soft);color:var(--flo-text);border-radius:5px;font-size:11px}html body .pill.green{background:#179b8520;color:var(--flo-green)}html body .pill.amber{background:#bd811c20;color:var(--flo-amber)}
html body .flo-theme-toggle{position:fixed;right:18px;bottom:16px;z-index:1000;background:var(--flo-surface);color:var(--flo-text);border:1px solid var(--flo-line);border-radius:24px;padding:10px 16px;box-shadow:0 3px 16px #10203024;min-height:42px}html body{padding-bottom:65px}
[data-bs-theme=dark] body :is(.focus-feature,.detail-summary,.live-summary,.record-tabs,.project-browser,.answer-option,.answer-summary,.payment-context,.migration-layout,.migration-steps article,.flow-operational-banner,.store-card,.product-card,.cart-item,.signin-card,.auth-card,.file-dropzone,.quote-dropzone,.file-drop-area){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}
[data-bs-theme=dark] body :is(.pricing-conversation,.pricing-upload-grid,.pricing-upload-card,.pricing-report-body,.pricing-message,.flo-message,.flo-composer,.flo-suggestion,.flo-proposal,.flo-sidebar,.flo-chat,.flo-shell,.customer-workspace fieldset){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}
[data-bs-theme=dark] body :is(.record-header,.register-record-header,.customer-facts,.record-facts,.issue-list,.question-link,.flow-form,.quote-summary-section,.chart-panel,.stat) :is(p,span,strong,dt,dd,h2,h3){color:inherit}[data-bs-theme=dark] body hr{border-color:var(--flo-line)}[data-bs-theme=dark] body .on1-logo{background:#fff;border-radius:6px;padding:4px}
@media(max-width:700px){html body h1{font-size:24px}html body :is(.stats,.dashboard-metrics)>*{padding:14px}html body .flo-theme-toggle{right:12px;bottom:12px;font-size:12px}html body table{min-width:520px}html body :is(.table-wrap,.data-register,.project-register){overflow:auto}}
html body .flo-theme-toggle{width:auto;display:inline-flex;align-items:center;gap:8px}
html body .shell>header{background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}html body #new-task{background:#315f9c;color:white;border-color:#315f9c}html body .operation-nav :is(summary span,.flo-brand span){color:inherit}html body .operation-nav summary{color:var(--flo-muted)!important}html body .operation-nav .flo-brand{color:var(--flo-text)}
html body :is(.chart-bar-label,.chart-bar-row,.chart-legend,.chart-legend strong,.chart-legend a,.flow-operational-banner a){color:var(--flo-muted)}html body .chart-bar-row :is(span,strong){color:var(--flo-muted)}
html[data-flo-theme] body :is(.flow-filters,.register-filters,.inventory-filters,.toolbar){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line);border-radius:10px}
html[data-flo-theme] body :is(.flow-table,.data-register,.project-register,.pc-table) th{background:var(--flo-soft)!important;color:var(--flo-muted)!important;border-color:var(--flo-line)}
html[data-flo-theme] body :is(.flow-table,.data-register,.project-register,.pc-table) td{color:var(--flo-text);border-color:var(--flo-line)}
html[data-flo-theme] body table td a{color:var(--flo-accent)!important}html[data-flo-theme] body tr:is(.selected,.flo-row-highlight,[aria-selected=true]) a,html[data-flo-theme] body tr:has(input[type=checkbox]:checked) a{color:var(--flo-selected-text)!important}
html[data-flo-theme] body .operation-nav summary,html[data-flo-theme] body .operation-nav summary span{color:var(--flo-muted)!important}html[data-flo-theme] body .operation-nav .nav-children a.active{background:var(--flo-selected)!important;color:var(--flo-selected-text)!important}
html[data-flo-theme=dark] body :is(.chart-bar-row,.chart-legend) :is(a,span,strong,small){color:var(--flo-muted)!important}html[data-flo-theme=dark] body .flow-operational-banner a{color:var(--flo-accent)!important}
html[data-flo-theme] body #breadcrumb,html[data-flo-theme] body .flo-wordmark{color:var(--flo-text)!important}
html[data-flo-theme] body :is(.flow-table,.data-register,.project-register) td{font-size:13px}
html[data-flo-theme] body :is(.action-stack,.next-install,.decision-nudge,.flow-strip,.dashboard-section,.dashboard-callout,.flow-form,.flow-facts,.settings-section,.inventory-scanbar,.inventory-detail,.quote-workspace #quote-files,.quote-workspace #sales-quote,.quote-save-bar,.quote-customer-options,.quote-customer-trigger,.quote-customer-new,.product,.cart-row,.pricing-ai){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line);border-radius:10px}
html[data-flo-theme=dark] body>header{background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}html[data-flo-theme=dark] body :is(.inventory-sku-results button,#flo-files a,.quote-customer-options button){background:var(--flo-surface);color:var(--flo-text)}
html body :is(.pc [data-body],.pc-answer,.pc-drop,.pc-save,.flo-workspace,.flo-compose){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line);border-radius:10px}
html body :is(.pc-nav,.flo-tabs,.flo-status,.flo-chats,.pc-user,.pc-questions){background:var(--flo-soft);color:var(--flo-text);border-color:var(--flo-line)}html body :is(.pc-drop strong,.pc label:not(.pc-drop),.pc-status,.pc-muted,.flo-chats a,.flo-compose>label,.flo-tabs a,.flo-text a){color:var(--flo-text)}html body .pc .pc-nav button[aria-selected=true]{background:var(--flo-surface);color:var(--flo-text)}html body .pc .pc-drop:before{background:var(--flo-soft);color:var(--flo-accent)}
[data-bs-theme=dark] body>main{background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line)}[data-bs-theme=dark] body p{color:var(--flo-text)}[data-bs-theme=dark] body :is(.notice,.flo-message.user,.flo-chats>a.selected,.flo-chats>a:hover){background:var(--flo-soft);color:var(--flo-text)}[data-bs-theme=dark] body :is(.flo-title,.flo-tabs,.flo-file,.flo-message,.flo-chats){border-color:var(--flo-line)}[data-bs-theme=dark] body .pc .pc-table th{background:var(--flo-soft)}
/* Quiet typography: neutral typography with restrained blue actions and selection accents. */
html body tr[data-flo-record-row]{cursor:pointer}html body tr[data-flo-record-row]:focus-visible{outline:2px solid var(--flo-accent);outline-offset:-2px}
html[data-flo-theme] body a:not(.primary):not(.btn-primary){color:var(--flo-text)}
html[data-flo-theme] body table td a{color:var(--flo-text)!important}
html[data-flo-theme] body :is(.chart-panel,.dashboard-charts,.dashboard-metrics,.chart-legend,.flow-operational-banner) a,
html[data-flo-theme] body :is(.chart-bar-row,.chart-legend) :is(a,span,strong,small){color:var(--flo-muted)!important}
html[data-flo-theme] body :is(.chart-panel,.dashboard-charts) a:hover,
html[data-flo-theme] body table td a:hover{color:var(--flo-text)!important;text-decoration:underline}
html[data-flo-theme] body :is(.operation-nav a.active,.operation-nav .nav-children a.active,.customer-tabs [aria-selected=true],.dashboard-tabs .selected,.record-tabs .selected){color:var(--flo-text)!important}
@media print{html body .flo-theme-toggle{display:none!important}html body{padding-bottom:0;background:white!important;color:#111!important}html body :is(table td,table th,.card,.panel){background:white!important;color:#111!important}}
.stripe-modules{margin-bottom:20px}.stripe-module-row{display:flex!important;align-items:center;justify-content:space-between;gap:24px;padding:14px 0;border-bottom:1px solid var(--flo-line)}.stripe-module-row>span:first-child{display:grid;gap:3px}.stripe-module-row small{color:var(--flo-muted);font-weight:400}.stripe-environment{display:flex;align-items:center;gap:9px;color:var(--flo-muted);font-size:12px}.stripe-environment input{appearance:none;width:42px!important;height:24px!important;border-radius:20px;background:var(--flo-line);position:relative;cursor:pointer}.stripe-environment input:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:var(--flo-surface);box-shadow:0 1px 3px #0003;transition:.18s}.stripe-environment input:checked{background:var(--flo-accent)}.stripe-environment input:checked:after{transform:translateX(18px)}@media(max-width:600px){.stripe-module-row{align-items:flex-start;flex-direction:column;gap:10px}}

/* Enterprise ERP palette; the logo retains its original brand artwork. */
html[data-flo-theme]{--accent:var(--flo-accent);--tblr-link-color:var(--flo-accent)}
html[data-flo-theme] body :is(.nav-icon,.nav-group a.active svg,.settings-group h3 svg){color:var(--flo-muted)}
html[data-flo-theme] body :is(.chip.selected,.portal-nav a.active,.settings-group li a:hover){background:var(--flo-selected);color:var(--flo-selected-text);border-color:var(--flo-line)}

/* Shared staff and portal account control. */
.account-menu{position:relative;margin-left:0}.portal-header .account-menu{margin-left:auto}.account-menu[hidden],.account-popover[hidden]{display:none!important}.account-trigger{display:grid!important;place-items:center;width:36px;height:36px;min-width:36px;padding:0!important;border:1px solid var(--flo-line)!important;border-radius:50%!important;background:var(--flo-soft)!important;color:var(--flo-text)!important;box-shadow:none!important}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:var(--flo-selected)!important;border-color:#aab7c6!important}.account-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#315f9c;color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em}.account-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:90;width:min(290px,calc(100vw - 24px));padding:8px;background:var(--flo-surface);border:1px solid var(--flo-line);border-radius:10px;box-shadow:0 16px 42px rgba(15,23,42,.18)}.account-identity{padding:12px 13px;border-bottom:1px solid var(--flo-line);margin-bottom:6px;overflow:hidden}.account-identity strong,.account-identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-identity strong{font-size:13px;color:var(--flo-text)}.account-identity small{margin-top:4px;font-size:11px;color:var(--flo-muted)}.account-popover>a,.account-popover>button{display:flex!important;align-items:center!important;width:100%;min-height:38px;padding:9px 12px!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--flo-text)!important;font:inherit!important;font-size:12px!important;text-align:left;text-decoration:none;box-shadow:none!important}.account-popover>a:hover,.account-popover>button:hover{background:var(--flo-soft)!important}.account-popover>button:last-child{color:#b42318!important;border-top:1px solid var(--flo-line)!important;border-radius:0 0 6px 6px!important;margin-top:5px!important}.portal-header #portal-user{margin:0;color:var(--flo-text)}
@media(max-width:700px){.account-menu{margin-left:0}.account-popover{position:fixed;right:12px;top:62px}.shell>header #new-task{display:none}.portal-header>span:not(.portal-brand){display:none}}
html[data-flo-theme] body :is(.dashboard-tabs a.selected,.record-tabs a.selected,.focus-feature){border-color:var(--flo-accent)}
html[data-flo-theme] body :is(.flo-file-picker:hover,.flo-file-picker.is-dragging){background:var(--flo-selected);border-color:var(--flo-accent)}
html[data-flo-theme] body :is(.flo-file-picker,.pc .pc-drop):focus-within{outline-color:var(--flo-accent)}
html[data-flo-theme] body .flo-file-face b{color:var(--flo-accent)}
html[data-flo-theme] body .operation-nav a.active{box-shadow:inset 3px 0 var(--flo-accent)!important;border-left-color:var(--flo-accent)!important}
html[data-flo-theme=dark] body :is(.flow-facts,.record-facts,.summary) :is(strong,dd,span){color:var(--flo-text)!important}html[data-flo-theme=dark] body :is(.flow-facts,.record-facts,.summary) :is(small,dt){color:var(--flo-muted)!important}

/* Shared interactive states: always pair hover surfaces with readable text. */
html[data-flo-theme] body :is(nav a,.operation-nav summary,.customer-tabs a,.customer-tabs button,.fulfillment-tabs a,.record-tabs a,.dashboard-tabs a,.portal-nav a,.item-tabs a,.pricing-tabs a,.flo-tabs a,.inbox-tabs a,.pc-nav button,.inventory-pages a,.quote-customer-options>[role=option],.action-row,.dashboard-project,.chart-bar-row):is(:hover,:focus-visible){background:var(--flo-hover);color:var(--flo-text);text-decoration:none}
html[data-flo-theme] body :is(nav a,.inbox-tabs a,.customer-tabs button,.pc-nav button):is(.active,.selected,[aria-current=page],[aria-selected=true]):is(:hover,:focus-visible){background:var(--flo-selected);color:var(--flo-selected-text)}
html[data-flo-theme] body :is(button,.btn,a.secondary):not(:disabled):not(.primary):not(.btn-primary):not([type=submit]):is(:hover,:focus-visible){background:var(--flo-hover);color:var(--flo-text);border-color:var(--flo-line)}
html[data-flo-theme] body :is(button.primary,a.primary,.btn-primary,button[type=submit],.primary-button,.light-action):not(:disabled):is(:hover,:focus-visible){background:#264e84;color:#fff;border-color:#264e84}
html[data-flo-theme] body button:is([aria-selected=true],[aria-pressed=true]):not(.flo-theme-toggle):hover{background:var(--flo-selected);color:var(--flo-selected-text)}
html[data-flo-theme] body .inbox-tabs{background:var(--flo-soft);padding:6px;border-radius:8px;gap:6px;border-color:var(--flo-line)}
html[data-flo-theme] body .inbox-tabs a.active{background:var(--flo-surface);color:var(--flo-text);box-shadow:0 1px 4px #10203012}
html[data-flo-theme] body .inbox-message pre{background:var(--flo-soft);color:var(--flo-text);border-radius:8px;padding:14px}

/* Vendor setup: scoped cards preserve all existing field names and behavior. */
.flow-form.vendor-profile-form{max-width:1200px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.vendor-profile-form .vendor-form-intro{padding:4px 0 16px}.vendor-form-intro h2{margin-bottom:6px}.vendor-form-intro p{color:var(--tblr-secondary-color,#66758a);font-size:13px}.vendor-form-intro p span{float:right;font-size:12px}
.vendor-profile-form .vendor-section{background:var(--tblr-bg-surface,#fff);border:1px solid var(--tblr-border-color,#dce3ed);border-radius:12px;margin:0 0 16px;overflow:hidden}
.vendor-section>summary{display:flex;align-items:center;gap:14px;padding:19px 22px;cursor:pointer;list-style:none;background:var(--tblr-bg-surface,#fff)}.vendor-section>summary::-webkit-details-marker{display:none}.vendor-section>summary strong{display:block;font-size:15px;color:var(--tblr-body-color,#24354b)}.vendor-section>summary small{display:block;margin-top:4px;color:var(--tblr-secondary-color,#66758a);font-size:12px}.vendor-section-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--tblr-bg-surface-secondary,#edf2f9);color:var(--tblr-primary,#315e99);flex:none}.vendor-chevron{margin-left:auto;font-size:20px;color:var(--tblr-secondary-color,#66758a);transition:transform .15s}.vendor-section[open] .vendor-chevron{transform:rotate(180deg)}.vendor-section[open]>summary{border-bottom:1px solid var(--tblr-border-color,#e3e8ef)}.vendor-section-content{padding:22px}.vendor-section-content .flow-fields{gap:20px 24px}.vendor-section-content label{font-size:12px;font-weight:600}.vendor-section-content .flow-note{margin:14px 0 0;line-height:1.6}.vendor-tag-options{display:flex;flex-wrap:wrap;gap:10px}.vendor-tag-options .flow-check{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--tblr-border-color,#dce3ed);border-radius:8px;margin:0!important;cursor:pointer}.vendor-tag-options .flow-check:has(input:checked){background:var(--tblr-bg-surface-secondary,#edf2f9);border-color:var(--tblr-primary,#315e99)}.vendor-tag-options input[type=checkbox]{width:16px;height:16px;margin:0}.vendor-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.vendor-address h3{font-size:13px;margin:0 0 16px}.vendor-profile-form fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}.vendor-profile-form legend{font-size:13px;font-weight:600;margin-bottom:8px}.vendor-profile-form textarea{width:100%;display:block;margin-top:8px;min-height:110px}.vendor-save-bar{position:sticky;bottom:62px;z-index:5;display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 20px;border-radius:10px;background:var(--tblr-bg-surface,#fff);border:1px solid var(--tblr-border-color,#dce3ed);box-shadow:0 4px 20px #14283e12}.vendor-save-bar>span{font-size:12px;color:var(--tblr-secondary-color,#66758a)}.vendor-save-bar>button{margin-left:auto}.vendor-save-bar .flow-error:not(:empty){flex-basis:100%}
@media(max-width:850px){.vendor-address-grid{grid-template-columns:1fr}.vendor-section-content{padding:16px}.vendor-section>summary{padding:16px}}@media(max-width:600px){.vendor-form-intro p span{float:none;display:block;margin-top:6px}.vendor-section-content .flow-fields{grid-template-columns:1fr}.vendor-save-bar>span{display:none}}

/* Shared long-form sections: item masters, composites, RFQs and customer details. */
.flow-form.flo-sectioned-form{max-width:1200px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.flo-sectioned-form .vendor-section{background:var(--tblr-bg-surface,#fff);border:1px solid var(--tblr-border-color,#dce3ed);border-radius:12px;margin:0 0 16px;overflow:hidden;min-width:0}
.flo-sectioned-form>.flow-fields{gap:16px}.flo-sectioned-form>.flow-fields>.vendor-section{margin:0}
.flo-sectioned-form>.vendor-save-bar{margin-top:20px}.flo-sectioned-form>h2{margin:0 0 18px}
.flo-sectioned-form>.flow-fields>label{padding:16px;background:var(--tblr-bg-surface,#fff);border:1px solid var(--tblr-border-color,#dce3ed);border-radius:10px}
.flo-sectioned-form .vendor-section-content>.flow-table{margin-top:16px}.flo-sectioned-form .vendor-section-content>button{margin:12px 0}
.vendor-section>summary:hover{background:var(--tblr-bg-surface-secondary,#edf2f9)!important;color:var(--tblr-body-color,#24354b)!important}
.vendor-section>summary:focus-visible{outline:2px solid var(--tblr-primary,#315e99);outline-offset:-3px}
.flo-sectioned-form .customer-save{position:sticky;bottom:62px;z-index:5;background:var(--tblr-bg-surface,#fff);border:1px solid var(--tblr-border-color,#dce3ed);border-radius:10px;padding:16px}

/* Inbox uses the same compact segmented navigation as other ERP screens. */
html[data-flo-theme] body .inbox-shell .inbox-tabs{display:flex;flex-wrap:nowrap;gap:6px;padding:6px;margin:0 0 20px;border:1px solid var(--flo-line);border-radius:8px;background:var(--flo-soft);overflow-x:auto;max-width:100%;align-items:center}
html[data-flo-theme] body .inbox-shell .inbox-tabs a{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;font:500 13px/20px var(--tblr-font-sans-serif,system-ui,sans-serif);padding:9px 12px;min-height:38px;box-sizing:border-box;border:0;border-radius:6px;background:transparent;color:var(--flo-muted);white-space:nowrap;text-decoration:none}
html[data-flo-theme] body .inbox-shell .inbox-tabs a svg{width:17px;height:17px;flex:none}
html[data-flo-theme] body .inbox-shell .inbox-tabs a:hover{background:var(--flo-hover);color:var(--flo-text)}
html[data-flo-theme] body .inbox-shell .inbox-tabs a[aria-current=page]{background:var(--flo-surface);color:var(--flo-text);font-weight:600;box-shadow:0 1px 4px #10203012}
html[data-flo-theme] body .inbox-shell .inbox-tabs a:focus-visible{outline:2px solid var(--flo-accent);outline-offset:-2px;background:var(--flo-hover);color:var(--flo-text)}
html[data-flo-theme] body .inbox-shell .inbox-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
html[data-flo-theme] body .inbox-shell .inbox-toolbar input{flex:0 1 360px;width:360px!important;max-width:100%!important;min-width:0;margin:0}
html[data-flo-theme] body .inbox-shell .inbox-toolbar .inbox-meta{flex:1 1 240px}
@media(max-width:600px){html[data-flo-theme] body .inbox-shell .inbox-toolbar input{flex:1 1 180px;width:180px!important}html[data-flo-theme] body .inbox-shell .inbox-tabs a{padding:8px 10px}}
html[data-flo-theme] body .inbox-shell .inbox-badge{background:var(--flo-selected);color:var(--flo-selected-text)}

html body .flo-nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:7px;flex:none;margin-right:2px}
html.flo-nav-collapsed body .operation-nav{display:none!important}
html.flo-nav-collapsed body .shell{margin-left:0!important;width:100%;max-width:none}
html.flo-nav-collapsed .flo-nav-toggle svg{transform:rotate(180deg)}
html body .shell>header #breadcrumb{min-width:0}
html body .flo-nav-toggle{padding:7px!important;min-width:34px}html body .flo-nav-toggle svg{width:18px!important;height:18px!important;min-width:18px;flex:none}

/* Partner portal: consistent light ERP sign-in and code verification. */
html body.portal-body{background:#f5f7fb;color:#25364b;font-family:var(--tblr-font-sans-serif,Inter,"Segoe UI",sans-serif)}
html body.portal-body .portal-header{height:72px;padding:0 32px;gap:24px;border-bottom:1px solid #dce3ed}
html body.portal-auth-view{min-height:100vh;display:flex;flex-direction:column}
html body.portal-auth-view #portal-nav{display:none}
html body.portal-auth-view #portal-main{width:100%;max-width:none;box-sizing:border-box;flex:1;padding:48px 20px;display:grid;place-items:center}
html body.portal-auth-view .portal-login{width:100%;max-width:460px;box-sizing:border-box;margin:0;padding:36px!important;background:#fff;border:1px solid #dce3ed;border-radius:14px;box-shadow:0 8px 30px rgba(26,45,72,.05)}
html body .portal-auth-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#eaf1fb;color:#315f9c;margin-bottom:22px}
.portal-auth-icon svg{width:25px;height:25px}
html body .portal-auth-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;color:#60718a}
html body .portal-login h1{font-size:26px;line-height:1.25;letter-spacing:-.5px;margin:10px 0 14px;color:#25364b}
html body .portal-login p{font-size:13px;line-height:1.65;color:#64748b;margin:12px 0}
html body .portal-login label{font-size:13px;font-weight:600;color:#34465e;margin:24px 0 16px}
html body .portal-login input{height:46px;padding:12px 14px;font-size:15px;border:1px solid #cdd7e5;border-radius:7px;background:#fff;color:#25364b}
html body .portal-login input:focus{outline:2px solid #a9c6ec;outline-offset:2px;border-color:#315f9c}
html body .portal-login input[name=code]{font-size:24px;letter-spacing:.28em;font-variant-numeric:tabular-nums;text-align:center}
html body .portal-login button[type=submit]{display:block;width:100%;min-height:44px;font-size:14px;font-weight:600;background:#315f9c!important;color:#fff!important;border-radius:7px}
html body .portal-login button[type=submit]:hover{background:#244c82!important}
html body .portal-login .flow-error:empty,html body .portal-login .portal-code-status:empty{display:none}
html body .portal-login .flow-error:not(:empty){color:#a12b35;background:#fff1f2;border-radius:7px;padding:10px 12px}
html body .portal-login .portal-code-status:not(:empty){padding:12px;background:#edf4fd;color:#315f9c;border-radius:7px}
html body.portal-auth-view .portal-help{text-align:center;padding:20px;color:#64748b;font-size:12px}
@media(max-width:520px){html body.portal-auth-view #portal-main{padding:24px 14px}html body.portal-auth-view .portal-login{padding:24px!important}html body.portal-body .portal-header{padding:0 18px;gap:16px}html body .portal-login h1{font-size:24px}}

.system-health h2{margin-top:28px}.system-health .flow-facts{flex-wrap:wrap}.health-badge{display:inline-block;padding:4px 9px;border-radius:6px;font-size:12px;font-weight:600}.health-pass{background:#e7f5ee;color:#176447}.health-fail{background:#fff0f0;color:#a12b35}

html body.staff-auth-view{background:#f5f7fb;color:#25364b;font-family:var(--tblr-font-sans-serif,Inter,"Segoe UI",sans-serif);min-height:100vh;padding:24px}
html body.staff-auth-view main{max-width:460px;padding:36px;border:1px solid #dce3ed;border-radius:14px;background:#fff;box-shadow:0 8px 30px rgba(26,45,72,.05)}
html body.staff-auth-view h1{font-size:26px;line-height:1.25;letter-spacing:-.5px;color:#25364b;margin:16px 0 12px}
html body.staff-auth-view p{font-size:13px;line-height:1.65;color:#64748b}
html body.staff-auth-view .eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;margin-bottom:26px}
.staff-auth-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:#eaf1fb;color:#315f9c}.staff-auth-icon svg{width:26px;height:26px}
html body.staff-auth-view a.staff-google-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:11px 16px;margin:24px 0 18px;background:#fff;color:#25364b;border:1px solid #cbd5e1;border-radius:7px;text-decoration:none;font-size:14px;font-weight:600}
html body.staff-auth-view a.staff-google-button:hover,a.staff-google-button:focus-visible{background:#f0f5fc;color:#25364b;border-color:#94b7e4}.staff-google-letter{font-size:18px;font-weight:700}
html body.staff-auth-view a:focus-visible{outline:2px solid #94b7e4;outline-offset:3px}html body.staff-auth-view footer{border-top:1px solid #dce3ed;font-size:12px;color:#64748b}html body.staff-auth-view .links a,html body.staff-auth-view footer a{color:#315f9c}
@media(max-width:520px){html body.staff-auth-view{padding:16px}html body.staff-auth-view main{padding:26px}}

.program-grid tbody tr[data-program-id]{cursor:pointer}.program-grid tbody tr[data-program-id]:hover>td,.program-grid tbody tr[data-program-id]:focus-visible>td{background:var(--tblr-primary-lt,#e8f0fa);color:var(--tblr-body-color,#243752)}.program-grid tbody tr:focus-visible{outline:2px solid #3265a6;outline-offset:-2px}

/* Inbox uses the workspace type scale, including nested navigation labels. */
html[data-flo-theme] body .inbox-shell{font-family:inherit;font-size:14px;line-height:1.5}
html[data-flo-theme] body .inbox-shell .inbox-heading h1{font-size:28px;line-height:1.25;font-weight:650;margin:0 0 6px}
html[data-flo-theme] body .inbox-shell .inbox-heading p{font-size:13px;line-height:1.5}
html[data-flo-theme] body .inbox-shell .inbox-tabs{gap:4px;padding:4px;margin-bottom:16px}
html[data-flo-theme] body .inbox-shell .inbox-tabs a{font-family:inherit;font-size:13px;line-height:20px;min-height:34px;padding:7px 10px;gap:7px}
html[data-flo-theme] body .inbox-shell .inbox-tabs a span{font:inherit;letter-spacing:normal}
html[data-flo-theme] body .inbox-shell .inbox-tabs a svg{width:16px;height:16px}
html[data-flo-theme] body .inbox-shell .inbox-panel{padding:18px;border-radius:10px}
html[data-flo-theme] body .inbox-shell .inbox-panel h2{font-size:16px;line-height:1.4;font-weight:600;margin:0 0 12px}
html[data-flo-theme] body .inbox-shell .inbox-empty{padding:32px 16px}
html[data-flo-theme] body .inbox-shell .inbox-empty svg{width:36px;height:36px;margin-bottom:12px}
html[data-flo-theme] body .inbox-shell .inbox-empty p{font-size:13px;line-height:1.6;margin:8px auto 0;max-width:640px;color:var(--flo-muted)}
html[data-flo-theme] body .inbox-shell button{font-family:inherit;font-size:13px;line-height:1.4}
html[data-flo-theme] body .inbox-shell .inbox-meta{font-size:12px}
html[data-flo-theme] body .inbox-shell tr[data-thread]:focus-visible>td{background:var(--flo-selected);color:var(--flo-text)}
@media(max-width:700px){html[data-flo-theme] body .inbox-shell .inbox-heading h1{font-size:24px}}

/* Shared tab contract for current and future workspace modules. */
html[data-flo-theme] body .flo-tab-strip{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;padding:4px;margin-bottom:16px;max-width:100%;min-width:0;overflow-x:auto;border:1px solid var(--flo-line);border-radius:8px;background:var(--flo-soft)}
html[data-flo-theme] body .flo-tab-strip>:is(a,button){display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:34px;padding:7px 10px;margin:0;border:0;border-radius:6px;box-sizing:border-box;background:transparent;color:var(--flo-muted);font-family:inherit;font-size:13px;font-weight:500;line-height:20px;white-space:nowrap;text-decoration:none;box-shadow:none}
html[data-flo-theme] body .flo-tab-strip>:is(a,button) span{font:inherit;letter-spacing:normal}
html[data-flo-theme] body .flo-tab-strip>:is(a,button) svg{width:16px;height:16px;flex:none}
html[data-flo-theme] body .flo-tab-strip>:is(a,button):is(:hover,:focus-visible){background:var(--flo-hover);color:var(--flo-text)}
html[data-flo-theme] body .flo-tab-strip>:is(a,button):is(.active,.selected,[aria-current=page],[aria-selected=true]){background:var(--flo-surface);color:var(--flo-text);font-weight:600;box-shadow:0 1px 4px #10203012}
html[data-flo-theme] body .flo-tab-strip>:is(a,button):focus-visible{outline:2px solid var(--flo-accent);outline-offset:-2px}

html[data-flo-theme] body .flo-tab-strip>:is(a,button) svg{pointer-events:none}

/* FLO uses light mode throughout staff, store and portal pages. */
html{color-scheme:light}body .flo-theme-toggle,body [data-flo-theme-toggle]{display:none!important}

html[data-flo-theme] body .flo-settings-back{margin:0 0 16px}html[data-flo-theme] body .flo-settings-back>a{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:20px;padding:7px 10px;min-height:34px;text-decoration:none}html[data-flo-theme] body .flo-settings-back svg{flex:none}
/* Keep the staff sign-in card centered independently of environment notices. */
html body.staff-auth-view{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;min-height:100dvh;padding:24px!important}
html body.staff-auth-view main{flex:none;margin:auto 0;text-align:center}
html body.staff-auth-view .brand.flo-brand{justify-content:center}
html body.staff-auth-view .staff-auth-icon{margin-left:auto;margin-right:auto}
html body.staff-auth-view .links{justify-content:center}
html body.staff-auth-view footer{text-align:left}
html body.staff-auth-view #flo-staging-banner{position:fixed;top:0;left:0;right:0;height:28px;margin:0;display:flex;justify-content:center;align-items:center;font-size:12px}
@media(max-height:620px){html body.staff-auth-view{padding-top:40px!important;padding-bottom:20px!important}html body.staff-auth-view main{padding:24px}}

/* Approved compact controls, shared by staff, portal and storefront forms. */
:root{--flo-input-bg:#f9fbfe;--flo-input-border:#ced9e7;--flo-input-text:#263c58;--flo-input-placeholder:#8090a5;--flo-input-focus:#497bbb;--flo-input-ring:#eaf1fc}
[data-bs-theme=dark]{--flo-input-bg:#243247;--flo-input-border:#53657d;--flo-input-text:#e1e8f2;--flo-input-placeholder:#a7b6cb;--flo-input-focus:#8eb6ec;--flo-input-ring:#304866}
html body :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],input[type=date],input[type=datetime-local],input[type=month],input[type=week],input[type=time],select,textarea):not(.gs-field input){box-sizing:border-box!important;max-width:100%!important;min-width:0!important;min-height:38px!important;border:1px solid var(--flo-input-border)!important;border-radius:8px!important;background-color:var(--flo-input-bg)!important;color:var(--flo-input-text)!important;font:400 14px/1.45 var(--flo-font,Inter,'Segoe UI',Arial,sans-serif)!important;padding:7px 11px!important;box-shadow:none!important}
html body :is(input,textarea)::placeholder{color:var(--flo-input-placeholder)!important;opacity:1!important;font-weight:400!important}
html body :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],input[type=date],input[type=datetime-local],input[type=month],input[type=week],input[type=time],select,textarea):not(.gs-field input):focus{border-color:var(--flo-input-focus)!important;outline:none!important;box-shadow:0 0 0 3px var(--flo-input-ring)!important}
html body select{padding-right:30px!important}html body select option{color:var(--flo-input-text)!important;background:var(--flo-input-bg)!important}
html body textarea:not(.gs-field input):not([type]){height:auto!important;min-height:90px!important;resize:vertical!important}
html body label:has(>input:not([type=checkbox]):not([type=radio]):not([type=file]),>select,>textarea){font-family:var(--flo-font,Inter,'Segoe UI',Arial,sans-serif)!important;font-size:12px!important;color:var(--flo-muted,#64758d)!important}
html body :is(input,select,textarea):disabled{opacity:.65!important;cursor:not-allowed!important}
html body :is(input,textarea)[readonly]:not(.gs-field input){background-color:var(--flo-soft,#f0f3f7)!important}
html body :is(input,select,textarea):not(.gs-field input):is([aria-invalid=true],.is-invalid,:user-invalid){border-color:#bc3c43!important;box-shadow:0 0 0 2px #bc3c431a!important}
/* The header search already has its own enclosing control. */
html body .gs-field input{min-height:0!important;height:26px!important;border:0!important;outline:0!important;box-shadow:none!important;padding:2px!important;font:inherit!important}
@media(max-width:850px){html body :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],input[type=date],input[type=datetime-local],input[type=month],input[type=week],input[type=time],select,textarea):not(.gs-field input){min-height:44px!important;font-size:16px!important}html body textarea:not(.gs-field input):not([type]){min-height:100px!important}}

@media(max-width:850px){html body .gs-field input{font-size:16px!important}}


/* Spatial Compact B — shared presentation adapter. No workflow or data changes. */
:root,[data-bs-theme=light]{--flo-bg:#f5f7fb;--flo-surface:#ffffff;--flo-soft:#edf2fa;--flo-text:#253247;--flo-muted:#64748b;--flo-line:#dce5f1;--flo-accent:#315f9c;--flo-selected:#edf2fa;--flo-selected-text:#244a78;--flo-hover:#f1f5fb;--tblr-primary:#315f9c;--tblr-primary-rgb:49,95,156;--tblr-body-bg:#f5f7fb;--tblr-body-color:#253247;--tblr-bg-surface:#ffffff;--tblr-border-color:#dce5f1;--flo-input-bg:#ffffff;--flo-input-border:#ced9e7;--flo-input-text:#263c58;--flo-input-placeholder:#74839a;--flo-input-focus:#315f9c;--flo-input-ring:#edf2fa;--spatial-shadow:none;--spatial-nav:#f9fbff}
[data-bs-theme=dark]{--flo-bg:#111827;--flo-surface:#1d293b;--flo-soft:#243247;--flo-text:#e1e8f2;--flo-muted:#a7b6cb;--flo-line:#344359;--flo-accent:#8eb6ec;--flo-selected:#263e5d;--flo-selected-text:#d9e8fb;--flo-hover:#293c54;--tblr-primary:#8eb6ec;--tblr-body-bg:#111827;--tblr-body-color:#e1e8f2;--tblr-bg-surface:#1d293b;--tblr-border-color:#344359;--flo-input-bg:#1d293b;--flo-input-border:#53657d;--flo-input-text:#e1e8f2;--flo-input-placeholder:#a7b6cb;--flo-input-focus:#8eb6ec;--flo-input-ring:#263e5d;--spatial-nav:#172133;--spatial-shadow:none}
html body{font-family:Inter,'Segoe UI',Arial,sans-serif;background:var(--flo-bg);color:var(--flo-text)}
html body :is(h1,h2){font-weight:550;letter-spacing:-.025em}html body h1{font-size:28px}
html body :is(.shell,.shell>main,#main,.portal-body){background:var(--flo-bg)!important;color:var(--flo-text)}
html body :is(.operation-nav,.nav-brand,.nav-profile){background:var(--spatial-nav)!important;border-color:var(--flo-line)!important}
html body :is(.shell>header,.portal-header,.store-header,.topbar){background:var(--flo-surface)!important;border-color:var(--flo-line)!important}
html body :is(.operation-nav a.active,.operation-nav .nav-children a.active){background:var(--flo-selected)!important;color:var(--flo-selected-text)!important;box-shadow:inset 3px 0 var(--flo-accent);border-radius:10px}
html body :is(button.primary,a.primary,.btn-primary,button[type=submit],.primary-button){background:#315f9c!important;color:#fff!important;border-color:#315f9c!important;border-radius:9px}
html body :is(button.secondary,a.secondary,.btn-outline-secondary){background:var(--flo-surface);color:var(--flo-text);border-color:var(--flo-line);border-radius:9px}
html body :is(.fc-card,.ex-metric,.ex-card,.flow-card,.flow-table,.settings-section,.settings-group,.vendor-section,.program-card,.iw-panel,.sr-card){background:var(--flo-surface)!important;border-color:var(--flo-line)!important;border-radius:12px!important;box-shadow:var(--spatial-shadow)!important}
html body :is(.flow-table,.fc-table){overflow-x:auto}
html body :is(table th,thead th){background:var(--flo-soft)!important;color:var(--flo-muted)!important;border-color:var(--flo-line)!important;font-size:11px;letter-spacing:.04em}
html body :is(table td,tbody td){border-color:var(--flo-line)!important;color:var(--flo-text)}
html body tbody tr:hover>td{background:var(--flo-hover)}
html body :is(.fc-total,.metric-value){color:var(--flo-text);font-weight:550}
html body :is(.fc-scope,.flow-filters,.item-tabs,.record-tabs,.dashboard-tabs,.flo-tabs){background:var(--flo-soft)!important;border-color:var(--flo-line)!important;border-radius:10px}
html body .fc-card{padding:18px}html body .fc-grid{gap:14px}html body .fc-plot{background:linear-gradient(180deg,transparent,var(--flo-bg))}html body .fc-kicker{color:var(--flo-accent)}
html body [data-item-catalog]{color:var(--flo-text);font-family:Inter,'Segoe UI',Arial,sans-serif}html body [data-item-catalog] td{padding:10px 12px}html body [data-item-catalog] td a{color:var(--flo-text)!important}html body [data-item-catalog]>.flow-fields>label{color:var(--flo-muted)}
html body :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],input[type=date],input[type=datetime-local],input[type=month],input[type=week],input[type=time],select,textarea):not(.gs-field input){border-radius:10px!important}
html body input:is([type=checkbox],[type=radio]){accent-color:#315f9c}
html body .gs-field{background:var(--flo-surface);border-color:var(--flo-input-border);border-radius:10px}html body .gs-field:focus-within{border-color:var(--flo-accent);box-shadow:0 0 0 3px var(--flo-input-ring)}html body .gs-field input{color:var(--flo-text)}html body :is(.gs-panel,.gs-result){background:var(--flo-surface);color:var(--flo-text)!important;border-color:var(--flo-line)}html body .gs-result:is(:hover,[aria-selected=true]){background:var(--flo-selected)}html body .gs-footer{background:var(--flo-bg);border-color:var(--flo-line)}html body :is(.gs-summary,.gs-group,.gs-result small,.gs-footer,.gs-hint){color:var(--flo-muted)}
html body :is(.account-trigger,.account-popover){border-color:var(--flo-line)!important}html body .account-avatar{background:#315f9c;color:#fff}
html body :is(button,a):focus-visible{outline-color:var(--flo-accent)}
@media(max-width:760px){html body .fc-card{padding:18px}html body .fc-grid{gap:14px}html body [data-item-catalog] td{padding:13px 12px}}
@media print{html body{background:white;color:#111}html body :is(.fc-card,.flow-card,.flow-table){box-shadow:none!important;background:white!important}}

/* Keep module-specific surfaces and controls consistent with the shared shell. */
html body :is(.flo-workspace,.flo-conversation,.flo-compose,.flo-settings,.inbox-shell,dialog){background:var(--flo-surface)!important;color:var(--flo-text);border-color:var(--flo-line)!important;border-radius:12px}
html body :is(.flo-tabs,.flo-status,.flo-chats){background:var(--flo-bg)!important;color:var(--flo-muted)!important;border-color:var(--flo-line)!important}
html body .flo-tabs{padding:10px 18px!important;gap:18px;min-height:0;border-radius:0!important}html body .flo-tabs a{padding:4px 0;font-size:13px}
html body .flo-title{padding:16px 18px}html body .flo-conversation{padding:18px}html body .flo-welcome{margin:24px auto}html body .flo-chats{padding:12px 10px}html body .flo-chats>a{padding:9px 10px}html body .flo-chats>a:is(:hover,.selected){background:var(--flo-selected)!important}
html body :is(.ex-card,.ex-panel,.ex-metric,.settings-group,.flow-card){border-radius:12px!important;box-shadow:none!important}html body .ex-metric{padding:18px!important}
html body :is(.operation-nav a.active svg,.nav-group a.active svg){color:var(--flo-accent)!important}
html body :is(.dashboard-tabs a.selected,.record-tabs a.selected,.chip.selected){color:var(--flo-selected-text)!important;border-color:var(--flo-accent)!important;background:var(--flo-selected)!important}
html body :is(.flow-workspace a,.flo-text a):hover{color:var(--flo-accent)}
html body .flo-compose textarea{min-height:90px!important}html body .flo-file-picker{min-height:52px!important;padding:10px 14px!important}
@media(max-width:760px){html body .flo-conversation{padding:12px}html body .flo-tabs{gap:12px;flex-wrap:wrap}html body .flo-layout{grid-template-columns:1fr}}
/* Pricing retains its approved dimensions; neutralize legacy sage surfaces. */
html body .pc :is(.pc-nav,.pc-questions,.pc-user){background:var(--flo-soft)!important;color:var(--flo-text)!important;border-color:var(--flo-line)!important}
html body .pc :is([data-body],.pc-drop,.pc-answer,.pc-save){background:var(--flo-surface)!important;color:var(--flo-text)!important;border-color:var(--flo-line)!important;box-shadow:none!important}
html body .pc .pc-drop:before{background:var(--flo-soft)!important;color:var(--flo-accent)!important}
html body .pc :is(.pc-drop strong,.pc-drop small,.pc-muted,.pc-status,.pc-nav button){color:var(--flo-muted)!important}
html body .pc .pc-nav button[aria-selected=true]{background:var(--flo-surface)!important;color:var(--flo-selected-text)!important;border-color:var(--flo-line)!important}
html body .pc .pc-drop:is(:hover,.drag-over){background:var(--flo-hover)!important;border-color:var(--flo-accent)!important}
html body .pc :is(.pc-eyebrow,.pc-table a){color:var(--flo-accent)!important}
/* Sidebar pointer, keyboard and selected states share the Compact palette. */
html body .operation-nav :is(a,summary):is(:hover,:focus-visible){background:var(--flo-hover)!important;color:var(--flo-text)!important;text-decoration:none!important}
html body .operation-nav :is(a,summary):is(:hover,:focus-visible) svg{color:var(--flo-accent)!important}
html body .operation-nav a:is(.active,[aria-current=page]):is(:hover,:focus-visible){background:var(--flo-selected)!important;color:var(--flo-selected-text)!important}
/* Administration uses one neutral category palette, including legacy tone classes. */
html body :is(.settings-directory,.settings-detail){color:var(--flo-text)}
html body .settings-topbar{border-color:var(--flo-line)!important}
html body :is(.settings-section,.settings-group){background:var(--flo-surface)!important;border-color:var(--flo-line)!important;box-shadow:none!important}
html body .settings-group .settings-category{background:var(--flo-soft)!important;background-image:none!important;color:var(--flo-text)!important}
html body .settings-group .settings-category svg{color:var(--flo-accent)!important}
html body .settings-section>h2{color:var(--flo-text)!important}
html body .settings-group li a{color:var(--flo-text)!important;background:transparent}
html body .settings-group li a:is(:hover,:focus-visible){background:var(--flo-hover)!important;color:var(--flo-selected-text)!important;outline-color:var(--flo-accent)}
html body :is(.settings-hint,.settings-topbar p,.settings-planned,.settings-empty,.settings-group li a>span){color:var(--flo-muted)!important}
html body .settings-planned small{color:var(--flo-muted)!important;background:var(--flo-soft)!important}
html body .settings-back{color:var(--flo-accent)!important}
/* Job Accounting follows the Vendors register typography. */
html body .jf{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:13px;line-height:1.5;color:var(--flo-text)}
html body .jf :is(h1,h2,h3,table){font-family:inherit}
html body .jf h1{font-size:28px;font-weight:550;letter-spacing:-.025em}
html body .jf h2{font-size:20px;font-weight:550;letter-spacing:-.025em}
html body .jf-head p{font-size:12px;line-height:1.6;color:var(--flo-muted)}
html body .jf th{font-size:11px;font-weight:600;letter-spacing:.04em}
html body .jf td{font-size:12px;line-height:1.6}
html body .jf :is(button,.button){font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:13px;line-height:1.4;font-weight:400}
html body .jf :is(input,select,textarea){font-family:var(--flo-font,Inter,'Segoe UI',Arial,sans-serif)!important}
/* Inbox navigation uses bounded icons, never intrinsic SVG dimensions. */
html body .inbox-shell{color:var(--flo-text);background:transparent}
html body .inbox-tabs{gap:4px;padding:6px;border:1px solid var(--flo-line);border-radius:10px;background:var(--flo-soft);margin-bottom:16px}
html body .inbox-tabs a{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;white-space:nowrap;padding:9px 11px;font-size:13px;line-height:20px;border-radius:7px;color:var(--flo-muted);text-decoration:none}
html body .inbox-tabs a svg{display:block;width:18px;height:18px;min-width:18px;max-width:18px;flex:0 0 18px}
html body .inbox-tabs a.active{background:var(--flo-surface);color:var(--flo-accent);box-shadow:0 1px 3px #172d4b12}
html body .inbox-tabs a:hover{background:var(--flo-hover);color:var(--flo-accent)}
html body .inbox-heading{margin-bottom:18px;gap:12px}
html body .inbox-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
html body .inbox-toolbar input{width:320px;max-width:100%;flex:0 1 320px}
html body .inbox-toolbar .inbox-meta{flex:1 1 240px;font-size:12px}
html body .inbox-empty{padding:36px 16px}
html body .inbox-empty svg{width:32px;height:32px;margin-bottom:10px;stroke:var(--flo-muted)}
html body .inbox-empty h2{font-size:18px!important;margin:0 0 8px}
html body .inbox-empty p{color:var(--flo-muted);margin:0}
@media(max-width:600px){html body .inbox-tabs{flex-wrap:nowrap;overflow-x:auto}html body .inbox-tabs a{min-height:44px;box-sizing:border-box}html body .inbox-toolbar input{flex:1 1 180px}}

html body .nav-profile{display:none!important}html body .operation-nav{height:100dvh;display:flex;flex-direction:column}html body .operation-nav nav{flex:1;min-height:0;overflow-y:auto;padding-bottom:16px}html body .my-account-dialog{width:min(560px,calc(100vw - 32px));box-sizing:border-box;max-height:90dvh;padding:24px;border:1px solid var(--flo-line);border-radius:12px;background:var(--flo-surface);color:var(--flo-text)}.my-account-dialog::backdrop{background:#15203366}.my-account-dialog dl{display:grid;grid-template-columns:90px 1fr;gap:14px}.my-account-dialog dd{margin:0;overflow-wrap:anywhere}.my-account-dialog .customer-fields{display:grid;grid-template-columns:1fr;gap:14px}.my-account-dialog label{display:flex;flex-direction:column;gap:6px}
/* Navigation labels use a consistent regular weight, including active sections. */
html body .operation-nav :is(a,summary,button,.nav-label,.nav-group-title),html body .operation-nav :is(a,summary,button) :is(span,strong){font-weight:400!important}
/* Document headings must size to their content, independent of the app toolbar. */
html body main .or-heading,html body main .flow-heading{position:static!important;height:auto!important;min-height:0!important;display:flex!important;align-items:flex-start!important;justify-content:space-between;flex-wrap:wrap;gap:16px!important;padding:0!important;margin:0 0 24px!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
html body main .or-heading>div:first-child,html body main .flow-heading>div:first-child{display:block!important;flex:1 1 300px;min-width:0}
html body main .or-heading>div:nth-child(2),html body main .flow-heading>div:nth-child(2){display:flex!important;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-wrap:wrap;gap:8px;margin:0;padding:0}
html body main .or-heading h1,html body main .flow-heading h1{margin:5px 0 6px!important;font-size:26px!important;line-height:1.25!important;overflow-wrap:anywhere}
html body main .or-heading p,html body main .flow-heading p{margin:0!important;font-size:13px!important;line-height:1.5!important;color:var(--flo-muted)}
html body main .or-heading :is(button,a.primary,a.secondary),html body main .flow-heading :is(button,a.primary,a.secondary){display:inline-flex;align-items:center;justify-content:center;min-height:36px;height:auto;box-sizing:border-box;padding:8px 12px!important;white-space:nowrap;margin:0!important}
html body main .or-eyebrow{font-size:10px!important;letter-spacing:.08em;font-weight:500}
html body main .or-back{margin-bottom:18px}
html body main .or-detail{max-width:1200px;margin-inline:auto}
html body main .or-card[data-fulfillment]{padding:20px;margin:0 0 20px}
html body main .or-card[data-fulfillment] h2{font-size:18px!important;margin:0 0 18px}
html body main .or-card[data-fulfillment] .or-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 24px;margin:0 0 18px}
html body main .or-card[data-fulfillment] .or-facts span{font-size:11px;line-height:1.4;margin-bottom:5px;color:var(--flo-muted)}
html body main .or-card[data-fulfillment] .or-facts strong{display:block;font-size:13px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
html body main .or-card[data-fulfillment]>p{font-size:12px;line-height:1.5;margin:12px 0;color:var(--flo-muted)}
html body main .or-card[data-fulfillment] .or-actions{margin:16px 0 20px;display:flex;gap:8px;flex-wrap:wrap}
html body main:has([data-new])>.pricing-actions{display:flex;align-items:flex-end;gap:14px;margin:20px 0}
html body main:has([data-new])>.pricing-actions label{display:grid;gap:6px;max-width:360px;flex:1}
@media(max-width:760px){html body main .or-heading>div:nth-child(2),html body main .flow-heading>div:nth-child(2){justify-content:flex-start}html body main .or-card[data-fulfillment] .or-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}html body main .or-heading h1{font-size:24px!important}}
/* Quotes: keep document identifiers compact and prioritize customer names. */
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table table{table-layout:fixed;width:100%;min-width:850px}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(1){width:145px;white-space:normal;overflow-wrap:anywhere}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(2){width:auto;overflow-wrap:break-word}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(3){width:95px}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(4){width:22%;overflow-wrap:break-word}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(5){width:115px}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(6){width:95px}
html body .or-register:has(.or-heading a[href="#sales-quote"]) .or-table :is(th,td):nth-child(7){width:32px;padding-left:4px;padding-right:8px}
/* Only top-level navigation carries icons. */
html body .operation-nav .nav-children :is(.nav-icon,svg){display:none!important}
html body .operation-nav .nav-children a{gap:0!important;padding-left:16px!important}

/* Give the inbox heading, navigation and results one shared inset. */
html body .inbox-shell{box-sizing:border-box;padding:24px;max-width:1500px}
html body .inbox-heading{align-items:flex-start;margin:0 0 24px;gap:20px}
html body .inbox-heading h1{margin:0 0 8px}
html body .inbox-heading p{line-height:1.5}
html body .inbox-tabs{margin:0 0 24px;padding:8px;gap:6px}
html body .inbox-toolbar{display:grid;grid-template-columns:minmax(180px,400px) auto 1fr;gap:10px 12px;margin:0 0 24px;align-items:center}
html body .inbox-toolbar input{width:100%;max-width:none;min-width:0}
html body .inbox-toolbar .inbox-meta{grid-column:1/-1;line-height:1.5;padding-top:2px}
html body .inbox-shell>.inbox-panel:last-child{margin-bottom:0}
html body .inbox-empty{padding:48px 24px}
html body .inbox-empty h2{margin-bottom:12px}
html body .inbox-empty p{max-width:620px;margin-inline:auto;line-height:1.6}
@media(max-width:600px){html body .inbox-shell{padding:16px}html body .inbox-heading{gap:12px;margin-bottom:20px}html body .inbox-tabs{margin-bottom:20px}html body .inbox-toolbar{grid-template-columns:minmax(0,1fr) auto;margin-bottom:20px}html body .inbox-empty{padding:36px 16px}}
html body .inbox-shell>[role=alert]:empty,html body .inbox-shell .inbox-actions:empty{display:none}
html body .inbox-shell [data-content]>.inbox-panel{margin-bottom:0}

/* Neutral blue-gray interaction states, including legacy Ask Flo prompts. */
html body :is(button,.btn,a.secondary):not(:disabled):not(.primary):not(.btn-primary):not([type=submit]):is(:hover,:focus-visible){background:var(--flo-hover)!important;color:var(--flo-text)!important;border-color:var(--flo-line)!important}
html body .flo-prompts button:is(:hover,:focus-visible,:active){background:var(--flo-selected)!important;color:var(--flo-selected-text)!important;border-color:var(--flo-accent)!important}
html body .flo-workspace :is(.flo-file-picker:hover,.flo-file-picker.is-dragging){background:var(--flo-selected)!important;border-color:var(--flo-accent)!important}
html body .flo-tabs a:is(:hover,:focus-visible,.active,.selected){background:var(--flo-selected)!important;color:var(--flo-selected-text)!important;border-color:var(--flo-line)!important}
html body .flo-workspace :is(button,a):focus-visible{outline:2px solid var(--flo-accent)!important;outline-offset:2px}

/* One typography system for every workspace module. */
html body{--flo-font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;font-family:var(--flo-font)!important;font-size:13px;line-height:1.5}
html body :is(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,label,legend,button,input,select,textarea,table,summary,small,strong,span,div,section){font-family:var(--flo-font)!important}
html body h1{font-size:28px!important;font-weight:550!important;line-height:1.2!important;letter-spacing:-.025em!important}
html body h2{font-size:20px!important;font-weight:550!important;line-height:1.35!important;letter-spacing:-.02em!important}
html body :is(h3,h4){font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:normal!important}
html body :is(p,li,dt,dd){font-size:13px;line-height:1.6}
html body :is(.flow-workspace,.jf,.sr-workspace,.flo-workspace,.inbox-shell,.pc,.settings-directory,.settings-detail){font-size:13px!important;line-height:1.5}
html body :is(th,table th){font-size:11px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:.04em!important}
html body :is(td,table td){font-size:12px!important;line-height:1.6!important}
html body :is(button,.btn,a.primary,a.secondary){font-size:13px!important;line-height:1.4!important}
html body :is(label,legend){font-size:12px!important;line-height:1.5!important}
html body small{font-size:11px!important;line-height:1.5!important}
html body :is(.flow-heading p,.jf-head p,.settings-topbar p,.flo-title p,.inbox-heading p){font-size:12px!important;line-height:1.6!important}
/* Dense navigation retains a smaller hierarchy; logo and numeric KPIs retain their identity. */
html body :is(.settings-category,.flo-chats h2){font-size:13px!important;letter-spacing:normal!important}
html body .flo-chats h2{font-size:11px!important;letter-spacing:.06em!important}
@media(max-width:760px){html body h1{font-size:24px!important}html body h2{font-size:18px!important}}
html body :is(label,legend){font-weight:500!important}

/* Mobile drawer visibility must agree with the shared navigation state. */
@media(max-width:1000px){html body:not(.nav-open) #operation-nav{display:none!important}html body.nav-open #operation-nav{display:flex!important;position:fixed;inset:60px auto 0 0;width:min(310px,88vw);height:calc(100dvh - 60px);z-index:40}html body .shell{margin-left:0!important;width:100%;min-width:0}}
/* Let the mobile search row occupy real header space instead of covering the job title. */
@media(max-width:650px){html body .shell>header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;height:auto!important;min-height:60px;gap:8px;padding:10px 12px;align-items:center}html body .shell>header #nav-toggle{grid-column:1;grid-row:1}html body .shell>header #breadcrumb{grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}html body .shell>header .account-menu{grid-column:3;grid-row:1}html body .shell>header .flo-global-search{grid-column:1/-1;grid-row:2;margin:0;width:100%;max-width:none;min-width:0}html body .shell>header #new-task,html body .shell>header .demo-badge{display:none}}

/* Sidebar parents remain one readable vertical list at every viewport. */
html body #operation-nav .grouped-navigation{display:block!important;overflow-x:hidden}html body #operation-nav .grouped-navigation>.nav-folder{width:100%;box-sizing:border-box}html body #operation-nav .nav-folder>summary{display:flex;align-items:center;gap:10px}html body #operation-nav .nav-folder>summary>.nav-icon{flex:none;width:18px;height:18px}

/* Programs uses FLO's existing navigation and workspace type scale. */
html body .operation-nav .nav-children a[data-nav="programs"],
html body .operation-nav .nav-children a[data-nav="program-sourcing"]{font-size:12px!important;font-weight:400!important}
html body .operation-nav .nav-children a:is([data-nav="programs"],[data-nav="program-sourcing"]) span{font-size:inherit!important;font-weight:inherit!important}
html body :is(.programs-workspace,.sourcing-intake){font-size:13px!important;line-height:1.5}
html body :is(.programs-workspace,.sourcing-intake) h1{font-size:26px!important}
html body :is(.programs-workspace,.sourcing-intake) h2,
html body .sourcing-intake .sourcing-intake h1{font-size:20px!important}
html body :is(.programs-workspace,.sourcing-intake) :is(h3,h4){font-size:16px!important}
html body :is(.programs-workspace,.sourcing-intake) :is(p,button,a.primary,a.secondary,input,select,textarea){font-size:13px!important}
html body :is(.programs-workspace,.sourcing-intake) :is(label,td){font-size:12px!important}
html body :is(.programs-workspace,.sourcing-intake) :is(th,small){font-size:11px!important}
@media(max-width:760px){html body :is(.programs-workspace,.sourcing-intake) h1{font-size:24px!important}html body :is(.programs-workspace,.sourcing-intake) h2,html body .sourcing-intake .sourcing-intake h1{font-size:18px!important}html body :is(.programs-workspace,.sourcing-intake) :is(input,select,textarea){font-size:16px!important}}
