/* Shared screen-only visual vocabulary. No document/PDF or business-rule changes. */
@media screen {
:root{--ip-ui-ink:#22262d;--ip-ui-muted:#535e6a;--ip-ui-line:#d6dce3;--ip-ui-solar:#ffdc38;--ip-ui-blue:#174b83;--ip-ui-blue-bg:#e7f1ff;--ip-ui-purple:#653a92;--ip-ui-purple-bg:#f1e9ff;--ip-ui-amber:#805100;--ip-ui-amber-bg:#fff0bd;--ip-ui-green:#21613d;--ip-ui-green-bg:#e4f3e8;--ip-ui-red:#9d302e;--ip-ui-red-bg:#fdeceb}
/* Topics remain explicit in words and icons: colour is an additional cue. */
#root .nc-comfort .nc-category-name{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 10px;border:1px solid #ccd3dd;border-radius:6px;background:#edf0f4;color:#3f4c5c;font-size:15px;font-weight:750;line-height:1.2;letter-spacing:0;text-transform:none;white-space:nowrap}
#root .nc-category-name svg{flex:none;width:17px;height:17px}
#root .nc-category-name[data-category=livraisons]{background:var(--ip-ui-blue-bg);border-color:#b4cdec;color:var(--ip-ui-blue)}
#root .nc-category-name[data-category=magasins]{background:var(--ip-ui-purple-bg);border-color:#d3bde9;color:var(--ip-ui-purple)}
#root .nc-category-name[data-category=fabrication]{background:var(--ip-ui-amber-bg);border-color:#e5c96c;color:var(--ip-ui-amber)}
#root .nc-category-name[data-category=paiements]{background:var(--ip-ui-green-bg);border-color:#b4d8bf;color:var(--ip-ui-green)}
#root .nc-category-name[data-category=commandes]{background:#e6eefc;border-color:#bbcceb;color:#2c4785}
#root .nc-category-name[data-category=stocks]{background:#dff3f1;border-color:#acd8d3;color:#1c6260}
#root .nc-comfort .nc-row-heading{align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:7px}
#root .nc-comfort .nc-reading-state{font-size:10px;font-weight:650;min-height:22px;line-height:1.3;padding:4px 6px;background:#ffdf58;color:#463600;border:1px solid #e4c244;border-radius:5px}
#root .nc-comfort .nc-reading-state.is-read{background:#e5e8ec;border-color:#d1d7dd;color:#48505a}
#root .nc-comfort .nc-day>h2{color:#414b57;font-size:12px;letter-spacing:0}
#root .nc-comfort .nc-meta{color:#58616c;font-size:11px}
#root .nc-comfort .nc-description{color:#414953}
#root .nc-comfort .nc-is-read .nc-description{color:#59616c}
#root .nc-comfort .nc-envelope{border-color:#ccd3dc;color:#3c4654}
#root .nc-comfort .nc-trash{border-color:#dfc0bc;color:#a43b32}
/* Menus and return controls share legible, restrained outlines. */
#root :is(.ip-back,.oc-back,.screen-back-button,.qo-back,.fd-back,.sales-back,.modal-back){border-color:#bbc3cc;color:#28313d;background:#fffdf5;min-height:44px;touch-action:manipulation}
#root :is(.ip-menu-row,.fd-menu>button)>svg:first-child{box-sizing:content-box;background:#edf0f4;color:#3f4c5c;padding:7px;border-radius:8px;flex-shrink:0}
#root .ip-menu-row[data-area=Clients]>svg:first-child{color:var(--ip-ui-purple);background:var(--ip-ui-purple-bg)}
#root .ip-menu-row[data-area=Tournées]>svg:first-child{color:var(--ip-ui-blue);background:var(--ip-ui-blue-bg)}
#root .ip-menu-row[data-area="Production glace"]>svg:first-child{color:var(--ip-ui-amber);background:var(--ip-ui-amber-bg)}
#root .ip-menu-row[data-area=Paiements]>svg:first-child{color:var(--ip-ui-green);background:var(--ip-ui-green-bg)}
#root .ip-menu-row[data-area=Commandes]>svg:first-child{color:#2c4785;background:#e6eefc}
#root :is(.modal-back,.team-chat header>button,.owner-flow>header>button,.fd-icon){min-width:44px;min-height:44px;touch-action:manipulation}
#root :is(button,a,summary,input,select,textarea):focus-visible,.pro-solar :is(button,a,summary,input,select,textarea):focus-visible{outline:3px solid #745a00;outline-offset:3px}
#root .sales-universe.pots{background:#20231f;color:#fff;border-color:#20231f}
#root .sales-universe.pots .sales-universe-icon{background:#34372f;border-color:#64685b;color:#fff}
#root .sales-universe.bacs{background:#ffdf58;color:#292817;border-color:#b39b43}
#root .sales-universe.bacs .sales-universe-icon{background:#fff0ad;border-color:#b49b3e;color:#3a3012}
#root .sales-context-nav button:first-child[aria-pressed=true]{background:#20231f;color:#fff;border-color:#20231f}
#root .sales-context-nav button:last-child[aria-pressed=true]{background:#ffdf58;color:#292817;border-color:#b39b43}
#root .fd-shell .bulk-heading>div{min-width:0;flex:1}
#root .fd-shell .bulk-heading p{overflow-wrap:anywhere}
/* Small helpers stay small; opacity no longer makes essential information disappear. */
#root :is(.owner-flow label,.sales-workspace-title>p,.sales-routing,.sales-action-grid small,.sales-common-actions small,.shop-home-help,.field-note,.fd-help,.fd-muted,.fd-product-head small,.fd-product-head>div>span,.ft-client small,.ft-note){color:var(--ip-ui-muted)}
#root :is(.owner-flow-progress small,.sales-workspace-title .eyebrow,.sales-greeting .eyebrow,.shop-page-heading .eyebrow){font-size:11px;line-height:1.4;font-weight:650;letter-spacing:.5px;color:#59616b}
#root .sales-universe-copy small{font-size:11px;line-height:1.5;opacity:1}
#root .sales-universe.pots .sales-universe-copy small{color:#edece7}
#root .sales-universe.bacs .sales-universe-copy small{color:#514515}
#root .sales-phone-settings>summary{font-weight:650;color:#3c4654;min-height:44px}
#root .sales-action-grid small,#root .sales-common-actions small{font-size:11px;line-height:1.5}
#root .factory-simple-form .panel-heading{position:sticky;top:0;background:#fffef9;z-index:3;margin:-4px 0 14px;padding:4px 0 9px;border-bottom:1px solid #e0d8bf;align-items:flex-start}
#root .factory-simple-form .panel-heading h2{font-size:20px;line-height:1.25}
#root .factory-simple-form .panel-heading .field-note{margin:7px 0 0;font-size:11px}
#root .factory-simple-form .factory-instructions{margin:0 0 12px;padding:10px 12px;font-size:12px;line-height:1.5;background:#fff0b8;color:#4c3a0f;border-left:3px solid #d3a721}
#root .factory-simple-form label{font-size:12px;color:#414b54;font-weight:650;margin-bottom:12px}
#root .factory-simple-form .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#root .factory-simple-form .form-row label{min-width:0;line-height:1.5}
#root .factory-simple-form .form-row input{width:100%;min-width:0;min-height:48px;font-size:17px}
#root .factory-simple-form .bulk-flavour-entry{padding:12px;border-color:#d7d6c9;border-radius:11px;margin:12px 0}
#root .factory-simple-form .field-note{font-size:12px;line-height:1.55;color:#535e6a}
#root .fd-format>button:not(.active){background:#fff0af;border-color:#ddc465;color:#3a3012}
#root .fd-format small{font-size:11px;opacity:1;color:inherit}
/* Factory: same IcePanda yellow, clear phases, visible lot/MHD. Existing pulse retained. */
#root .fd-top{background:#ffdf58;border-bottom-color:#d6b94a;position:sticky;top:0;z-index:50}
#root .fd-top .brand-tool,#root .fd-top .brand-tool small{color:#292817}
#root .fd-top .brand-divider{background:#ae953f}
#root .fd-main .fd-eyebrow{font-size:11px!important;color:#5c501d;font-weight:700;letter-spacing:.6px}
#root .fd-job-status{align-self:flex-start;display:inline-flex;min-height:27px;padding:5px 8px;border:1px solid #e1c36c;border-radius:6px;background:var(--ip-ui-amber-bg);color:var(--ip-ui-amber);font-size:11px;line-height:1.35;letter-spacing:0;text-transform:none}
#root .fd-job-status[data-state=ready]{background:var(--ip-ui-green-bg);color:var(--ip-ui-green);border-color:#b4d8bf}
#root .fd-job>span:not(.fd-job-status),#root .fd-job-footer small{color:#4e5966;font-size:12px}
#root .fd-steps>li{color:#505b68;font-size:12px}
#root .fd-steps>li.done{background:#edf6ef;color:#25613b}
#root .fd-steps>li.current{background:#ffe47c;color:#292513;font-weight:750}
#root .fd-next>span{font-size:11px;color:#705018;letter-spacing:.7px}
#root .fd-stamp span{font-size:11px;letter-spacing:.5px;color:#405744}
#root .fd-stamp strong{color:#1d3f2a}
#root .fd-stamp.needs-stamp span,#root .fd-stamp.needs-stamp strong{color:#332700}
#root .fd-nav>button{color:#525c66}
#root .fd-nav>button.active{background:#ffe477;color:#292513}
#root .fd-bulk-cost{border-color:#d9bb59;color:#5b4314}
#root .ft-format{color:#513d05;background:#fff0bb;border:1px solid #e2cd8b;padding:4px 7px;border-radius:5px;font-size:11px}
#root .ft-status{color:#784b00;background:var(--ip-ui-amber-bg);border:1px solid #e2c674;font-size:11px;line-height:1.3}
#root .ft-status.is-ready{color:var(--ip-ui-green);background:var(--ip-ui-green-bg);border-color:#b4d8bf}
#root .ft-progress>span{color:#58626c;font-size:10px}
/* The public pro portal uses the same vocabulary, without exposing private data. */
.pro-solar :is(.pro-eyebrow,.pro-tier-label,.pro-volume-label){color:#665019;letter-spacing:.6px}
.pro-solar .pro-eyebrow{font-size:11px}
.pro-solar :is(.pro-badge,.pc-badge){display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 8px;border:1px solid #c8d5e6;background:#eaf1fc;color:#284d7b;font-size:12px;font-weight:700;line-height:1.4}
.pro-solar .pc-badge[data-state=new]{color:#805100;background:#fff0bd;border-color:#e5ca79}
.pro-solar .pc-badge[data-state=forwarded],.pro-solar .pc-badge[data-state=partial]{color:#174b83;background:#e7f1ff;border-color:#b4cdec}
.pro-solar .pc-badge[data-state=measured],.pro-solar .pc-badge[data-state=delivered]{color:#21613d;background:#e4f3e8;border-color:#b4d8bf}
.pro-solar .pc-badge[data-state=cancelled],.pro-solar .pc-badge[data-state=rejected]{color:#9d302e;background:#fdeceb;border-color:#e8bcb9}
.pro-solar :is(.pc-muted,.account-hint,.pro-price-note,.pro-resale-note,.pro-volume-note){color:#535e6a}
.pro-solar :is(.pc-back,.pro-back):not(button){display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:8px 11px;background:#fffdf5;border:1px solid #c9c6b9;border-radius:8px;color:#3d3727;font-size:12px;font-weight:650;text-decoration:none;line-height:1.4}
.pro-solar .pro-progress .active{color:#392d0c;font-weight:700}
.pro-solar .pro-progress .active b{background:#ffdf58;color:#2f2919;border-color:#d4b849}
.pro-solar .pro-weight-warning{border-color:#dfc06b;color:#664a0f;background:#fff5d4}
.pro-solar .pro-shipping-summary :is(small,p){color:#545d66}
.pro-solar :is(.pro-check,.pro-option) input{accent-color:#645010}
#app.dc-simple .dl-status{font-weight:650;font-size:10px;line-height:1.35}
#app.dc-simple .dl-status.is-done{color:#21613d;background:#e4f3e8;border:1px solid #bed9c5}
#app.dc-simple .dl-status.is-pending{color:#805100;background:#fff0bd;border:1px solid #e3ca80}
#app.dc-simple .dl-status.is-draft{color:#4d5663;background:#e9edf2;border:1px solid #ccd3dc}
#app.dc-simple .dl-document-main>small{color:#6a7380}
#app.dc-simple .dl-document-main p{color:#56606c}
#app.dc-simple .dl-detail{color:#514a3b!important;border-color:#c9c4b6!important}
@media(max-width:600px){
 #root .nc-comfort .nc-category-name{font-size:15px;padding:5px 9px;min-height:32px}
 #root .nc-comfort .nc-reading-state{font-size:10px}
 #root .nc-comfort .nc-meta{font-size:11px}
 #root .nc-comfort .nc-description,#root .nc-comfort .nc-subject{font-size:12px}
 #root .fd-main .fd-help,#root .fd-product-head>div>span,#root .fd-product-head small{font-size:12px!important}
 #root .fd-steps>li{font-size:11px}
 .pro-solar :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
}
}
