/* NOREX / Confort visual v1.7.0
   Visual-only changes; no IndexedDB schema or order migration. */
:root{
  --orange:#df641f;--orange-dark:#ba4c16;--orange-soft:#f7e9de;
  --ink:#253039;--muted:#69747a;--line:#d7d8d6;
  --card:#f6f5f2;--shadow:none;
  --surface-app:#eae9e5;--surface-panel:#f6f5f2;--surface-raised:#f8f7f4;
}
html,body{background:var(--surface-app);color:var(--ink)}
body,button,input,select,textarea{font-family:"Aptos","Segoe UI Variable","Segoe UI",system-ui,sans-serif}
.workspace{background:var(--surface-app)}
.topbar,.desktop-rail,.bottom-nav{background:#f2f1ee;border-color:#d6d8d6}
#screen{color:var(--ink)}
.card,.work-priority,.work-overview,.work-action-list,.work-action-list button,.work-last-order,.work-empty,.context-strip,.search-block,.product-result,.selected-product,.selected-top,.notice-summary,#noticeList,.notice-entry,.order-key-metrics,.order-line,.summary-bar,.stat,.quick-tile,.entity-card,.empty-state{background:var(--surface-panel);border-color:var(--line)}
.work-action-list button:hover,.work-last-order:hover{background:#efeee9}
.form-field input,.form-field textarea,.form-field select,.filter-input,.search-line input,.stepper,.stepper input,.stepper button,.mini-stepper,.mini-stepper input,.mini-stepper button{background:#f9f8f5;border-color:#d1d4d3;color:#24323e}
.btn.secondary,.btn.light,.side-link.active,.context-strip button,.segment button.active{background:#f5e8de}
.btn.primary{background:#d85e1d;color:#fff}
.btn.primary:hover{background:#b94c14}
.notice-inline,.notice-discrepancy,.info-banner{background:#f8eee4}
.side-link{color:#52616b}.side-link.active{background:#f4e5d9;color:#b94c14}
.side-link:hover{background:#e9e8e3}
.page-head h1,.work-home-heading h1{font-weight:750;letter-spacing:-.7px}
.page-head p,.work-home-heading p{color:#68747b}
.work-priority-copy h2,.order-line h3,.notice-entry strong{font-weight:740}
.work-overview strong,.order-key-metrics strong{font-weight:760}
.network-badge{background:#e8e9e4;color:#51655f;border-color:#d5d9d3}
/* Normalize CHEEK and NOREX identities; single official header per viewport */
.rail-brand-v17{display:flex;align-items:center;gap:11px;min-width:0;padding:0 2px 15px!important;flex-wrap:nowrap}
.rail-cheek-logo{width:43px!important;height:43px!important;min-width:43px;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;line-height:1!important;border-radius:10px!important;background:#df641f;color:#fff;font-size:29px!important;font-weight:850!important;letter-spacing:-2px!important;white-space:nowrap!important;overflow:hidden}
.rail-cheek-wordmark{display:flex!important;flex-direction:column;gap:2px;min-width:0;line-height:1.15}
.rail-cheek-wordmark strong{font-size:17px;font-weight:850;letter-spacing:1.2px;color:#222e38;white-space:nowrap}
.rail-cheek-wordmark small{font-size:10px!important;font-weight:650;letter-spacing:0!important;color:#65727b;white-space:nowrap}
.rail-norex-brand{display:flex;align-items:center;gap:9px;margin:1px 4px 21px;border-top:1px solid #d9dbd7;border-bottom:1px solid #d9dbd7;padding:12px 9px}
.norex-mark{width:31px;height:31px;min-width:31px;display:inline-flex;align-items:center;justify-content:center;background:#253540;color:#f2f2ec;border-radius:7px;font-family:Arial,sans-serif;font-weight:900;font-size:23px;line-height:1;letter-spacing:-2px;transform:skewX(-7deg)}
.norex-copy,.norex-signature>span:last-child{display:flex;flex-direction:column;gap:3px;line-height:1.1}
.norex-copy small{font-size:9px;letter-spacing:1.35px;color:#738087;font-weight:750}
.norex-copy strong{font-size:14px;letter-spacing:1.6px;font-weight:850;color:#26333e}
.norex-signature{display:flex;gap:6px;align-items:center;border-left:1px solid #d6d9d7;padding-left:9px;white-space:nowrap}
.norex-signature .norex-mark{width:23px;height:23px;min-width:23px;font-size:17px;border-radius:5px}
.norex-signature small{font-size:8px;color:#7a878b}
.norex-signature b{font-size:11px;letter-spacing:.8px;color:#26333e}
/* NO double CHEEK in desktop */
@media(min-width:960px){
 .topbar .top-brand{display:none!important}
 .desktop-rail{padding:23px 15px 18px!important}
 .rail-brand-v17{padding-top:1px!important}
 .topbar{background:#f2f1ee!important}
 .desktop-location{display:flex!important}
 .rail-norex-brand{display:flex}
 .rail-foot{background:transparent}
}
@media(max-width:959px){.rail-norex-brand{display:none}.topbar .top-brand{display:flex}}
@media(max-width:440px){.norex-signature .norex-mark{width:20px;height:20px;min-width:20px;font-size:15px}.norex-signature{gap:4px;padding-left:6px}.norex-signature b{font-size:9px}.norex-signature small{font-size:7px}.top-brand-name b{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Identidad original NOREX + créditos de desarrollo (v1.7.2). */
.norex-logo{display:block;width:32px;height:32px;min-width:32px;object-fit:contain;border-radius:7px;flex-shrink:0}
.norex-signature .norex-logo{width:24px;height:24px;min-width:24px;border-radius:5px}
.developer-credit{display:block;border-top:1px solid #d6d8d3;margin-top:12px;padding-top:11px;color:#606b72;font-size:10px;line-height:1.4}
.developer-credit strong{display:block;margin-top:3px;color:#273540;font-size:10px;font-weight:750}
.developer-credit small{display:block;margin:2px 0 0!important;font-size:9px;color:#77828a}
@media(max-width:959px){.norex-signature .norex-logo{width:22px;height:22px;min-width:22px}}

.app-credits{display:flex;align-items:center;gap:11px;padding-top:14px;margin-top:14px;border-top:1px solid #d8dbd5}.app-credits img{border-radius:8px;object-fit:contain}.app-credits b,.app-credits small{display:block}.app-credits b{color:#263540;font-size:12px}.app-credits small{color:#65727b;font-size:11px;margin-top:3px}
