:root {
  --ink: #0d1b2a;
  --teal: #2563eb;
  --teal-dark: #1d4ed8;
  --accent: #14b8a6;
  --orange: #14b8a6;
  --page: #f8faff;
  --surface: #fff;
  --border: #dce5f3;
  --muted: #667391;
  --shadow: 0 16px 45px rgb(15 23 42 / 8%);
  --primary-action-bg: linear-gradient(135deg, #2563eb, #14b8a6);
  --primary-action-shadow: 0 10px 22px rgb(37 99 235 / 18%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

/* Auxiliary catalogs */
.auxiliary-shell { min-height: 100vh; background: linear-gradient(145deg, #fbfdfd 0%, #fff 55%, #f4fbfb 100%); color: #071317; }
.auxiliary-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: 1480px; margin: 34px auto 24px; padding: 0 28px; }
.auxiliary-heading h1 { margin: 4px 0 8px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.auxiliary-heading p { margin: 0; color: #66737d; font-size: 15px; }
.auxiliary-heading .create-button { min-height: 46px; padding: 0 22px; white-space: nowrap; }
.auxiliary-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1424px; margin: 0 auto 22px; padding: 0 28px; }
.auxiliary-tabs a { min-height: 94px; padding: 16px 20px; border: 1px solid #dce7e9; border-radius: 18px; background: rgba(255,255,255,.86); color: #071317; text-decoration: none; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-content: center; box-shadow: 0 10px 28px rgba(7,19,23,.035); transition: .22s ease; }
.auxiliary-tabs a:hover, .auxiliary-tabs a.active { border-color: rgba(2,160,160,.55); background: linear-gradient(135deg, rgba(2,160,160,.1), rgba(255,255,255,.94)); transform: translateY(-2px); }
.auxiliary-tabs strong { grid-row: 1 / 3; align-self: center; min-width: 44px; color: #02a0a0; font-size: 30px; }
.auxiliary-tabs span { font-size: 16px; font-weight: 800; }
.auxiliary-tabs small { color: #74818a; font-size: 12px; }
.catalog-notice { max-width: 1368px; margin: -8px auto 14px; padding: 10px 18px; border-radius: 12px; background: #e6f8f3; color: #08785f; font-weight: 700; }
.auxiliary-table-card, .auxiliary-editor { max-width: 1368px; margin: 0 auto 42px; border: 1px solid #dde7e9; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 18px 54px rgba(7,19,23,.055); overflow: hidden; }
.auxiliary-table-card > header, .auxiliary-editor > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #e5ecee; }
.auxiliary-table-card > header h2, .auxiliary-editor > header h2 { margin: 0 0 5px; font-size: 22px; }
.auxiliary-table-card > header p, .auxiliary-editor > header p { margin: 0; color: #71808a; font-size: 13px; }
.auxiliary-table-card > header > span { padding: 7px 12px; border-radius: 99px; background: #edf8f8; color: #087f80; font-size: 12px; font-weight: 800; }
.auxiliary-table { width: 100%; }
.aux-row { display: grid; grid-template-columns: .7fr 1.6fr 1fr .9fr .8fr .9fr .75fr 1.1fr; align-items: center; gap: 14px; min-height: 72px; padding: 12px 20px; border-bottom: 1px solid #edf1f2; font-size: 12px; }
.aux-row:last-child { border-bottom: 0; }
.aux-row > span { min-width: 0; color: #495862; }
.aux-row > span > b, .aux-row > span > small { display: block; }
.aux-row > span > b { color: #071317; font-size: 13px; }
.aux-row > span > small { margin-top: 4px; color: #7d8a92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aux-row.aux-head { min-height: 44px; background: #f8fbfb; color: #6a7881; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.category-table .aux-row { grid-template-columns: .7fr 1.8fr 1.25fr .8fr .7fr 1.1fr; }
.aux-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.aux-actions a, .aux-actions button { border: 0; background: transparent; color: #078e8f; font: inherit; font-weight: 750; cursor: pointer; text-decoration: none; }
.aux-actions button { color: #77848b; }
.aux-actions form { margin: 0; }
.aux-empty { margin: 0; padding: 24px; color: #728089; text-align: center; }
.auxiliary-editor { max-width: 980px; }
.auxiliary-editor > header a { color: #68757e; font-weight: 750; text-decoration: none; }
.auxiliary-editor form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 26px; }
.auxiliary-editor label, .price-entry-form label { display: grid; gap: 7px; color: #4d5d66; font-size: 12px; font-weight: 750; }
.auxiliary-editor input, .auxiliary-editor select, .auxiliary-editor textarea, .price-entry-form input, .price-entry-form select { width: 100%; min-height: 44px; border: 1px solid #ccd9dc; border-radius: 10px; background: #fff; color: #071317; padding: 10px 12px; font: inherit; }
.auxiliary-editor textarea { min-height: 92px; resize: vertical; }
.auxiliary-editor fieldset { display: flex; align-items: center; gap: 22px; min-width: 0; margin: 0; padding: 12px 14px; border: 1px solid #dce5e7; border-radius: 12px; }
.auxiliary-editor fieldset label { display: flex; align-items: center; gap: 8px; }
.auxiliary-editor fieldset input { width: 17px; min-height: 17px; }
.auxiliary-editor legend { padding: 0 7px; color: #66757e; font-size: 11px; font-weight: 800; }
.auxiliary-editor .aux-wide { grid-column: span 2; }
.auxiliary-editor form > .create-button { align-self: end; min-height: 44px; border: 0; }
.price-list-layout { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.5fr); gap: 18px; max-width: 1368px; margin: 0 auto 42px; }
.price-list-layout .auxiliary-table-card { margin: 0; }
.price-list-card { position: relative; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; min-height: 84px; padding: 14px 18px; border-bottom: 1px solid #e7edef; color: #071317; text-decoration: none; }
.price-list-card:hover, .price-list-card.selected { background: #f0fafa; box-shadow: inset 3px 0 #02a0a0; }
.price-list-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #071317, #02a0a0); color: #fff; font-weight: 850; }
.price-list-card h3 { margin: 0 0 5px; font-size: 14px; }
.price-list-card p { margin: 0; color: #75828a; font-size: 11px; }
.price-list-card > strong { font-size: 11px; color: #64727b; }
.price-list-card > small { position: absolute; top: 7px; right: 9px; border-radius: 99px; background: #fff0da; color: #9b5e04; padding: 3px 7px; font-size: 9px; font-weight: 800; }
.price-list-heading-actions { display: flex; align-items: center; gap: 10px; }
.price-list-heading-actions span { padding: 6px 10px; border-radius: 99px; background: #e1f5f2; color: #087e76; font-size: 11px; font-weight: 800; }
.price-list-heading-actions a { color: #078f90; font-size: 12px; font-weight: 800; text-decoration: none; }
.price-entry-form { display: grid; grid-template-columns: 1.6fr .75fr .75fr auto; align-items: end; gap: 12px; padding: 18px 20px; background: #f8fbfb; border-bottom: 1px solid #e4ecee; }
.price-entry-form .create-button { min-height: 44px; border: 0; white-space: nowrap; }
.price-entry-list article { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; min-height: 76px; padding: 14px 20px; border-bottom: 1px solid #edf1f2; }
.price-entry-list h3 { margin: 0 0 4px; font-size: 14px; }
.price-entry-list p { margin: 0; color: #74818a; font-size: 11px; }
.price-entry-list article > span { text-align: right; }
.price-entry-list article > span small, .price-entry-list article > span strong { display: block; }
.price-entry-list article > span small { color: #819099; font-size: 10px; }
.price-entry-list article > span strong { color: #018e8e; font-size: 14px; }
.price-entry-list form button { width: 30px; height: 30px; border: 1px solid #dbe4e6; border-radius: 50%; background: #fff; color: #8a4b3c; cursor: pointer; }
.aux-empty-state { display: grid; place-items: center; align-content: center; min-height: 380px; padding: 30px; text-align: center; }
.aux-empty-state > span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; background: #e4f7f7; color: #079999; font-size: 32px; font-weight: 850; }
.aux-empty-state h2 { margin: 18px 0 6px; }
.aux-empty-state p { margin: 0; color: #77858d; }

@media (max-width: 900px) {
    .auxiliary-heading { align-items: flex-start; margin-top: 22px; padding: 0 18px; }
    .auxiliary-heading h1 { font-size: 38px; }
    .auxiliary-tabs { gap: 8px; padding: 0 18px; overflow-x: auto; grid-template-columns: repeat(3, minmax(190px, 1fr)); }
    .auxiliary-tabs a { min-height: 82px; }
    .auxiliary-table-card, .auxiliary-editor, .price-list-layout { margin-left: 14px; margin-right: 14px; }
    .auxiliary-table { display: grid; gap: 10px; padding: 12px; }
    .aux-row, .category-table .aux-row { grid-template-columns: 1fr 1fr; gap: 8px 14px; border: 1px solid #e3eaec; border-radius: 14px; padding: 14px; }
    .aux-row.aux-head { display: none; }
    .aux-row > strong { color: #028d8e; }
    .aux-actions { grid-column: 1 / -1; justify-content: flex-start; padding-top: 8px; border-top: 1px solid #edf1f2; }
    .price-list-layout { grid-template-columns: 1fr; }
    .auxiliary-editor form { grid-template-columns: 1fr 1fr; }
    .price-entry-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .auxiliary-heading { display: grid; }
    .auxiliary-heading .create-button { justify-self: start; }
    .auxiliary-editor form { grid-template-columns: 1fr; padding: 18px; }
    .auxiliary-editor .aux-wide { grid-column: auto; }
    .auxiliary-editor fieldset { align-items: flex-start; flex-direction: column; }
    .price-entry-form { grid-template-columns: 1fr; }
    .price-list-card { grid-template-columns: 48px 1fr; }
    .price-list-card > strong { grid-column: 2; }
    .price-entry-list article { grid-template-columns: 1fr auto; }
    .price-entry-list article > span { grid-row: 2; text-align: left; }
}

/* Entria login: portado de la implementación canónica de Entria Laboral. */
:root:has(.login-shell) { font-size: 14px; overflow-y: scroll; }
.login-shell { display: block; min-height: 100vh; padding: 0; background: #fff; font-family: Poppins, Inter, "Segoe UI", system-ui, sans-serif; font-size: 14px; }
.login-shell.auth-shell-switching { opacity: 0; filter: blur(12px); pointer-events: none; }
.login-card { display: grid; grid-template-columns: minmax(0, 54%) minmax(390px, 46%); width: 100%; min-height: 100vh; overflow: hidden; background: #fff; }
.login-hero { position: relative; display: grid; min-height: 100vh; overflow: hidden; color: #fff; background: radial-gradient(circle at 35% 38%, rgb(75 118 255 / 35%), transparent 28%), radial-gradient(circle at 78% 78%, rgb(85 209 105 / 90%), transparent 34%), linear-gradient(138deg, #2e46d6 0%, #263fa9 42%, #236474 72%, #54c464 100%); }
.login-hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background: radial-gradient(circle at 20% 18%, rgb(255 255 255 / 22%), transparent 18%), radial-gradient(circle at 74% 45%, rgb(255 255 255 / 14%), transparent 22%); }
.login-hero::after { content: ""; position: absolute; inset: -18% -8%; background: radial-gradient(circle at 50% 50%, transparent 0 42%, rgb(7 16 55 / 20%) 78%); pointer-events: none; }
.login-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: clamp(38px, 5.4vh, 70px) clamp(30px, 5.4vw, 104px); text-align: center; }
.login-product-lockup { display: block; width: clamp(230px, 20vw, 350px); height: clamp(230px, 20vw, 350px); margin: clamp(-38px, -3vh, -18px) 0 clamp(-42px, -3.2vh, -22px); object-fit: contain; filter: drop-shadow(0 14px 22px rgb(10 30 91 / 18%)); }
.login-hero-subtitle { margin: clamp(18px, 2.2vh, 28px) 0 0; color: rgb(255 255 255 / 92%); font-size: clamp(.92rem, 1vw, 1.14rem); line-height: 1.28; font-weight: 760; }
.login-hero-rule { display: block; width: 54px; height: 4px; margin: clamp(18px, 2.8vh, 28px) 0; border-radius: 999px; background: #76df83; }
.login-hero-copy { max-width: 540px; margin: 0; color: rgb(255 255 255 / 88%); font-size: clamp(.84rem, .9vw, 1rem); line-height: 1.46; font-weight: 560; }
.login-feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 680px); margin-top: clamp(32px, 5vh, 54px); }
.login-feature-list > div { display: grid; justify-items: center; align-items: start; gap: 8px; min-width: 0; padding: 0 clamp(8px, 1.2vw, 20px); border-right: 1px solid rgb(255 255 255 / 22%); }
.login-feature-list > div:last-child { border-right: 0; }
.login-feature-list svg { width: 32px; height: 32px; fill: none; stroke: #74e284; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-feature-list p { margin: 0; color: rgb(255 255 255 / 86%); font-size: clamp(.76rem, .82vw, .9rem); line-height: 1.22; font-weight: 620; }
.login-panel { display: grid; place-items: center; min-height: 100vh; background: #fff; }
.login-panel-inner { display: flex; flex-direction: column; width: min(100%, 420px); padding: clamp(38px, 6vh, 64px) 0; }
.login-brand-home { display: block; width: fit-content; text-decoration: none; }
.login-brand-logo { display: block; width: min(100%, 302px); height: auto; margin: 0 0 clamp(38px, 5vh, 56px); }
.login-heading { margin-bottom: 22px; }
.login-heading h1 { margin: 0; color: #242832; font-size: 1.2rem; line-height: 1.15; font-weight: 780; }
.login-error { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; background: #fff0f0; color: #b43232; font-size: .94rem; font-weight: 700; }
.login-form { display: grid; gap: 0; }
.login-field-group { overflow: hidden; border-radius: 8px 8px 0 0; background: #efefef; }
.login-field { display: flex; align-items: center; min-height: 58px; border-bottom: 2px solid #fff; background: #efefef; color: #242832; font-size: .96rem; font-weight: 520; }
.login-field:last-child { border-bottom: 0; }
.login-field input { width: 100%; min-width: 0; height: 58px; border: 0; outline: 0; padding: 0 22px; background: transparent; color: #22252c; font: inherit; }
.login-field input::placeholder { color: #888; opacity: 1; }
.login-password-field input { padding-right: 16px; }
.login-show-button { flex: 0 0 auto; min-width: 76px; height: 58px; padding: 0 18px 0 8px; border: 0; background: transparent; color: #777; font: inherit; font-weight: 620; cursor: pointer; }
.login-show-button:hover, .login-show-button:focus-visible { color: #242832; }
.login-submit { width: 100%; min-height: 58px; border: 0; border-radius: 0 0 8px 8px; background: linear-gradient(135deg, #272727, #1f1f1f); color: #fff; font-size: 1rem; font-weight: 760; cursor: pointer; }
.login-link-stack { display: grid; justify-items: center; gap: 16px; margin-top: 22px; }
.login-link-stack a, .login-demo-link button { border: 0; padding: 0; background: transparent; color: #6f7787; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.login-demo-link { margin: 30px 0 0; color: #888; text-align: center; font-size: .9rem; font-weight: 520; }
.login-demo-link button { color: #242832; }
.login-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1180px) {
  .login-card { grid-template-columns: minmax(0, 51%) minmax(360px, 49%); }
  .login-panel-inner { width: min(calc(100% - 56px), 408px); }
  .login-feature-list { width: min(100%, 620px); }
}

@media (max-width: 980px) {
  .login-card { grid-template-columns: 1fr; }
  .login-hero, .login-panel { min-height: auto; }
  .login-hero-content { min-height: 600px; }
  .login-panel-inner { width: min(calc(100% - 48px), 424px); padding: 54px 0 66px; }
}

@media (max-width: 640px) {
  .login-hero-content { min-height: 550px; padding: 40px 22px 34px; }
  .login-product-lockup { width: 250px; height: 250px; margin: -28px 0 -32px; }
  .login-feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .login-feature-list > div:nth-child(2) { border-right: 0; }
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--page); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgb(2 160 160 / 35%); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.morph-icon { display: block; width: 24px; height: 24px; overflow: visible; pointer-events: none; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-transition-out 650ms ease both; }
::view-transition-new(root) { animation: page-transition-in 650ms ease 360ms both; }

@keyframes page-transition-out {
  from { opacity: 1; filter: blur(0); transform: scale(1); }
  to { opacity: 0; filter: blur(12px); transform: scale(.985); }
}

@keyframes page-transition-in {
  from { opacity: 0; filter: blur(12px); transform: scale(.985); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

.ambient-shell { min-height: 100vh; background: radial-gradient(circle at 100% 0%, rgb(20 184 166 / 16%), transparent 30%), radial-gradient(circle at 0% 80%, rgb(37 99 235 / 13%), transparent 30%), #fff; }
.selector-shell { background-color: #fff; background-image: linear-gradient(125deg, rgb(37 99 235 / 8%), transparent 38%, rgb(20 184 166 / 10%)), url("assets/auth-background-desktop.png"); background-position: center; background-repeat: no-repeat; background-size: cover; }
.brand-mark { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; width: 168px; height: 40px; object-fit: contain; object-position: left center; }
.brand-copy { display: grid; padding-left: 14px; border-left: 1px solid #cbd7e8; line-height: 1; }
.brand-copy small { color: var(--teal); font-size: 11px; font-weight: 850; letter-spacing: .22em; }
.brand-mark.compact .brand-copy { letter-spacing: .08em; }
.brand-mark.compact .brand-logo { width: 132px; height: 32px; }
.brand-mark.compact .brand-copy small { letter-spacing: .16em; }

.auth-shell { display: grid; grid-template-columns: minmax(420px, 1.08fr) minmax(520px, .92fr); min-height: 100vh; padding: 0; background: #fff; opacity: 1; filter: blur(0); transform: scale(1); transition: opacity 650ms ease, filter 650ms ease, transform 650ms ease; }
.auth-shell.auth-shell-switching { opacity: 0; filter: blur(12px); transform: scale(.985); pointer-events: none; }
.auth-hero { display: grid; place-items: center; min-height: 100vh; padding: clamp(48px, 7vw, 110px); overflow: hidden; background: radial-gradient(circle at 84% 84%, rgb(62 231 137 / 44%), transparent 34%), radial-gradient(circle at 8% 94%, rgb(11 72 119 / 70%), transparent 44%), linear-gradient(145deg, #173cc8 0%, #263db8 46%, #12aa78 100%); color: #fff; }
.auth-hero-content { width: min(100%, 620px); text-align: center; }
.auth-hero-mark { width: 112px; height: 112px; object-fit: contain; filter: drop-shadow(0 16px 24px rgb(7 24 74 / 20%)); }
.auth-hero h1 { margin: 14px 0 16px; font-size: clamp(46px, 5vw, 76px); line-height: .95; letter-spacing: -.045em; }
.auth-hero-subtitle { margin: 0; font-size: clamp(16px, 1.35vw, 21px); font-weight: 750; }
.auth-hero-rule { display: block; width: 54px; height: 4px; margin: 28px auto 42px; border-radius: 99px; background: #49df86; }
.auth-hero-copy { max-width: 560px; margin: 0 auto; font-size: clamp(15px, 1.2vw, 18px); font-weight: 650; line-height: 1.65; }
.auth-benefits { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px; }
.auth-benefits div { display: grid; justify-items: center; gap: 10px; padding: 0 16px; border-left: 1px solid rgb(255 255 255 / 20%); }
.auth-benefits div:first-child { border-left: 0; }
.auth-benefits strong { display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid #4de08b; border-radius: 12px; color: #4de08b; font-size: 12px; }
.auth-benefits span { font-size: 12px; font-weight: 700; line-height: 1.3; }
.auth-panel { display: grid; min-height: 100vh; padding: clamp(42px, 6vw, 92px); background: #fff; }
.auth-panel-content { display: grid; align-content: center; width: min(100%, 470px); margin: auto; }
.auth-panel-content > .brand-mark { margin-bottom: 56px; }
.auth-card { width: 100%; align-self: center; justify-self: center; padding-bottom: 0; }
.auth-card-enter { animation: auth-card-enter 520ms ease both; }
.auth-card h1 { margin: 0 0 30px; text-align: left; font-size: clamp(28px, 3vw, 38px); font-weight: 550; }
.auth-product-name { margin: 0 0 10px; color: var(--teal); font-size: 12px; font-weight: 850; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.auth-card[aria-labelledby="login-title"] h1 { margin-bottom: 24px; font-size: 18px; line-height: 1.25; font-weight: 750; }
.auth-card > .provider-button[href*="/Microsoft"] { display: none; }
.provider-button, .input-shell { width: 100%; min-height: 60px; border: 0; border-radius: 0; background: #f1f1f1; }
.provider-button { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; margin: 12px 0; color: var(--ink); cursor: pointer; text-decoration: none; }
.provider-icon { position: absolute; left: 36px; font-weight: 900; font-size: 20px; }
.provider-icon.google { color: #4285f4; }
.provider-icon.microsoft { color: #f25022; }
.divider { display: flex; align-items: center; gap: 16px; margin: 36px 0; color: #8493a1; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #d7dee1; }
.auth-card label { display: block; margin: 20px 0 8px; color: #415260; font-size: 14px; }
.auth-card form[action="/auth/login"] { display: grid; gap: 1px; overflow: hidden; border-radius: 10px; }
.auth-card form[action="/auth/login"] > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.auth-card form[action="/auth/login"] .input-shell > span[aria-hidden="true"] { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; font-size: 14px; }
.auth-intro, .auth-switch { color: var(--muted); line-height: 1.5; text-align: center; }
.auth-switch { margin-top: 28px; }
.auth-switch a, .auth-switch button { border: 0; padding: 0; background: transparent; color: var(--teal); font: inherit; font-weight: 750; cursor: pointer; text-decoration: none; }
.auth-switch a:hover, .auth-switch button:hover { text-decoration: underline; }
.input-shell { display: flex; align-items: center; gap: 14px; padding: 0 20px; color: #667391; }
.input-shell:focus-within { border-color: rgb(2 160 160 / 60%); box-shadow: 0 0 0 3px rgb(2 160 160 / 9%); }
.auth-field-icon, .visibility-button .morph-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.input-shell input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.visibility-button, .link-button { display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--teal); cursor: pointer; }
.visibility-button { padding: 8px; margin: -8px; }
.recovery { display: block; margin: 22px auto 0; }
.primary-button { position: relative; display: flex; min-height: 58px; width: 100%; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 0; background: #222; color: white; font-weight: 750; text-decoration: none; cursor: pointer; }
.login-card form[action="/auth/login"] .primary-button { min-height: 58px; }
.primary-button > span:not(.button-icon) { position: absolute; margin-left: 330px; font-size: 27px; }
.primary-button .button-icon { position: absolute; right: 28px; display: grid; place-items: center; }
.primary-button .button-icon .morph-icon { width: 20px; height: 20px; }
.trust-message, .preview-note { text-align: center; color: #8493a1; }
.trust-message { margin-top: 30px; }
.preview-note { font-size: 12px; }
.password-hint { margin: 9px 3px 24px; color: var(--muted); font-size: 12px; line-height: 1.45; }

@keyframes auth-card-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.selector-shell { position: relative; display: grid; grid-template-columns: minmax(300px, 440px) minmax(480px, 680px); align-items: center; justify-content: center; gap: clamp(56px, 7vw, 120px); padding: 11vh 5vw 6vh; }
.selector-shell > .brand-mark { position: absolute; top: 42px; left: 5vw; }
.selector-intro { max-width: 440px; }
.selector-intro .eyebrow { margin: 0 0 18px; color: var(--teal); font-weight: 700; font-size: 15px; }
.selector-intro h1 { margin: 0 0 14px; font-size: clamp(44px, 3.6vw, 58px); line-height: 1.02; letter-spacing: -.025em; }
.selector-tenant-name { margin: -4px 0 0; color: var(--muted); font-size: 16px; font-weight: 600; }
.accent-line { display: block; width: 48px; height: 2px; margin: 26px 0; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.company-section { width: 100%; max-width: 680px; min-width: 0; }
.selector-question { width: fit-content; margin: 0 0 14px; padding: 8px 0; background: transparent; }
.selector-question h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.company-list { display: grid; gap: 12px; margin-top: 0; }
.company-card { display: grid; grid-template-columns: 52px 1fr 38px; align-items: center; gap: 14px; min-height: 88px; width: 100%; padding: 14px 16px; border: 1px solid #dfe6e8; border-radius: 16px; background: rgb(255 255 255 / 78%); box-shadow: 0 10px 28px rgb(7 19 23 / 7%); color: var(--ink); text-align: left; cursor: pointer; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.company-card:hover { border-color: rgb(2 160 160 / 38%); box-shadow: 0 13px 30px rgb(7 19 23 / 10%); transform: translateY(-2px); }
.company-list form { margin: 0; }
.selector-message { display: grid; gap: 8px; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: rgb(255 255 255 / 75%); color: var(--muted); box-shadow: var(--shadow); }
.selector-message strong { color: var(--ink); font-size: 18px; }
.selector-logout { margin-top: 18px; text-align: right; }
.selector-logout button { border: 0; background: transparent; color: var(--teal-dark); cursor: pointer; font: inherit; font-weight: 700; }
.company-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 8px 16px rgb(7 19 23 / 13%); }
.company-icon.teal { background: linear-gradient(145deg, #13c9c9, #008f96); }.company-icon.orange { background: linear-gradient(145deg, #ff8c5a, #f04d18); }.company-icon.gold { background: linear-gradient(145deg, #ffd373, #f8a917); }.company-icon.blue { background: linear-gradient(145deg, #27aaf5, #0874c9); }.company-icon.add { border: 1px dashed #75cdd0; background: transparent; color: var(--teal); }
.company-copy { display: grid; gap: 7px; min-width: 0; }
.company-name { font-weight: 750; font-size: 16px; }.company-name small { display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 999px; background: #e1f5f5; color: var(--teal); font-size: 12px; vertical-align: 1px; }
.company-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; font-size: 13px; }
.company-status { color: #049d68; }.company-activity { color: var(--muted); }
.company-activity::before { content: "·"; margin-right: 10px; color: #a5b0b7; }
.company-status.attention { color: #ef7a13; }.company-status.suspended { color: #a24f4f; }
.round-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--teal); }
.round-arrow .morph-icon { width: 18px; height: 18px; }

.home-shell { position: relative; min-height: 100vh; padding-bottom: 24px; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 5%), transparent 30%), #fbfcfc; }
.topbar { position: sticky; z-index: 42; top: 0; display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(270px, 1fr); align-items: center; gap: 18px; min-height: 58px; padding: 5px 2.2vw; border-bottom: 1px solid #e8ecef; background: rgb(255 255 255 / 96%); box-shadow: 0 2px 10px rgb(7 19 23 / 2%); }
.topbar > .brand-mark { justify-self: start; }
.brand-mark.workspace { gap: 9px; }
.brand-mark.workspace .brand-logo { width: 108px; height: 27px; }
.brand-mark.workspace .brand-copy { padding-left: 9px; }
.brand-mark.workspace .brand-copy small { color: #4261e9; font-size: 8px; letter-spacing: .18em; }
.topbar nav { position: relative; isolation: isolate; display: flex; align-self: stretch; align-items: center; justify-self: center; gap: clamp(2px, .4vw, 8px); }
.topbar nav a, .topbar nav button { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; gap: 5px; min-width: 68px; min-height: 46px; padding: 4px 11px 7px; border: 0; background: transparent; color: #0d1726; font-size: 12px; font-weight: 760; text-decoration: none; cursor: pointer; transition: color 180ms ease, transform 180ms ease; }
.primary-nav .nav-indicator { position: absolute; z-index: 0; bottom: 0; left: 0; width: 78px; height: 3px; border-radius: 999px 999px 0 0; background: #111820; opacity: 0; transform: translateX(0); transition: width 360ms cubic-bezier(.22, 1, .36, 1), transform 360ms cubic-bezier(.22, 1, .36, 1), opacity 120ms ease; pointer-events: none; }
.primary-nav.nav-ready .nav-indicator { opacity: 1; }
.primary-nav.nav-ready .is-indicated { color: #0d1726; }
.primary-nav.nav-ready .is-pressed { transform: translateY(1px) scale(.98); }
.primary-nav:not(.nav-ready) .active::after { position: absolute; right: 12px; bottom: 0; left: 12px; height: 3px; border-radius: 999px 999px 0 0; background: #111820; content: ""; }
.primary-nav a:hover, .primary-nav button:hover { color: #4261e9; }
.primary-nav a:focus-visible, .primary-nav button:focus-visible { border-radius: 8px; outline: 3px solid rgb(66 97 233 / 22%); outline-offset: 1px; }
.mobile-section-link { display: none; }
.profile { display: flex; align-items: center; justify-self: end; gap: 7px; }
.profile button { position: relative; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.topbar-icon { display: grid; place-items: center; width: 34px; height: 34px; font-size: 21px; }
.topbar-icon .morph-icon { width: 19px; height: 19px; }
.company-settings-link { margin-left: 9px; color: var(--ink); text-decoration: none; border-radius: 7px; }
.company-settings-link .morph-icon { width: 27px; height: 27px; }
.company-settings-link:hover { background: #edf6f7; }
.company-settings-link:focus-visible { outline: 2px solid #285bff; outline-offset: 3px; }
.topbar-icon.messages { font-size: 20px; }
.profile sup { position: absolute; top: -1px; right: -1px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #526ff2; color: white; font-size: 9px; }
.profile-menu { position: relative; }
.profile-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile .avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(145deg, #ffd48f, #efb557); color: var(--ink); font-size: 12px; font-weight: 850; }
.profile-copy { display: grid; min-width: 136px; line-height: 1.12; }
.profile-copy small { max-width: 170px; overflow: hidden; color: #172131; font-size: 8px; font-weight: 820; letter-spacing: .015em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.profile-copy strong { margin-top: 3px; color: #142033; font-size: 12px; font-weight: 780; }
.profile-popover { position: absolute; top: calc(100% + 12px); right: 0; display: grid; min-width: 180px; overflow: hidden; padding: 6px; border: 1px solid #e1e7eb; border-radius: 12px; background: white; box-shadow: 0 16px 36px rgb(7 19 23 / 14%); }
.profile-popover a, .profile-popover button { display: flex; align-items: center; width: 100%; min-height: 38px; padding: 0 11px; border-radius: 8px; color: #243144; font: inherit; font-size: 11px; font-weight: 720; text-decoration: none; }
.profile-popover a:hover, .profile-popover button:hover { background: #f3f6f8; }
.topbar ~ .catalog-shell .catalog-header { grid-template-columns: 1fr auto; }
.topbar ~ .catalog-shell .catalog-header > .brand-mark { display: none; }
.topbar ~ .access-shell .access-header { justify-content: flex-end; }
.topbar ~ .access-shell .access-header > .brand-mark { display: none; }
.topbar ~ .product-editor-shell .editor-topbar { display: none; }

.operation-hub-shell { min-height: 100vh; background: radial-gradient(circle at 78% 4%, rgb(2 160 160 / 7%), transparent 29%), radial-gradient(circle at 5% 38%, rgb(255 189 101 / 5%), transparent 25%), #f9fbfb; }
.operation-hub-main { width: min(1560px, 96vw); margin: 0 auto; padding: clamp(36px, 5vh, 62px) 0 70px; }
.operation-hub-heading { margin-bottom: 30px; }
.operation-hub-heading h1 { margin: 0; font-size: clamp(38px, 4.2vw, 62px); line-height: 1; letter-spacing: -.045em; }
.operation-hub-heading p { margin: 14px 0 0; color: var(--muted); font-size: clamp(14px, 1.25vw, 18px); }
.operation-area-section + .operation-area-section { margin-top: 30px; }
.operation-area-section > h2 { margin: 0 0 12px 5px; font-size: 18px; letter-spacing: -.015em; }
.operation-hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.operation-hub-card { --hub-tone: #536fff; display: flex; min-width: 0; min-height: 240px; flex-direction: column; padding: 20px; border: 1px solid #e4eaec; border-radius: 22px; background: rgb(255 255 255 / 94%); box-shadow: 0 13px 34px rgb(7 19 23 / 5%); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.operation-hub-card:hover, .operation-hub-card:focus-within { border-color: color-mix(in srgb, var(--hub-tone) 30%, var(--border)); box-shadow: 0 18px 40px rgb(7 19 23 / 8%); transform: translateY(-2px); }
.operation-hub-card.sales { --hub-tone: #02a0a0; }.operation-hub-card.purchases { --hub-tone: #df802d; }.operation-hub-card.inventory { --hub-tone: #6756d9; }.operation-hub-card.collections { --hub-tone: #e56c19; }.operation-hub-card.payments { --hub-tone: #1971b9; }.operation-hub-card.treasury { --hub-tone: #0792a5; }.operation-hub-card.relations { --hub-tone: #249861; }.operation-hub-card.administration { --hub-tone: #6954c9; }
.operation-hub-card > header { display: grid; grid-template-columns: 58px minmax(0, 1fr) 30px; align-items: center; gap: 14px; }
.operation-hub-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 15px; background: color-mix(in srgb, var(--hub-tone) 12%, white); color: var(--hub-tone); }
.operation-hub-icon .morph-icon { width: 29px; height: 29px; }
.operation-hub-card h3 { margin: 0; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.08; letter-spacing: -.02em; }
.hub-insight { display: flex; min-width: 0; align-items: center; gap: 8px; margin: 8px 0 0; color: #73818a; font-size: 11px; font-weight: 600; line-height: 1.25; }
.hub-insight i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--hub-tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hub-tone) 9%, white); }
.hub-arrow { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.hub-arrow:hover { background: color-mix(in srgb, var(--hub-tone) 8%, white); color: var(--hub-tone); }.hub-arrow .morph-icon { width: 19px; height: 19px; }
.hub-task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #e9edef; }
.hub-task-list > span, .hub-task-list > a { display: flex; min-width: 0; min-height: 43px; align-items: center; gap: 6px; padding: 0 10px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--hub-tone) 14%, #e7ecee); border-radius: 999px; background: color-mix(in srgb, var(--hub-tone) 4%, white); color: color-mix(in srgb, var(--hub-tone) 82%, var(--ink)); font-size: clamp(10.5px, .78vw, 12px); font-weight: 750; text-decoration: none; white-space: nowrap; }
.hub-task-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.hub-task-list .morph-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.hub-task-list > span { cursor: default; opacity: .76; }.hub-task-list > a { cursor: pointer; }.hub-task-list > a:hover { border-color: color-mix(in srgb, var(--hub-tone) 34%, #e7ecee); background: color-mix(in srgb, var(--hub-tone) 9%, white); transform: translateY(-1px); }
.operation-hub-status { min-height: 18px; margin: 20px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.home-main { display: grid; grid-template-columns: minmax(0, 1.53fr) minmax(400px, .97fr); grid-template-areas: "search empty" "hero activity" "quick activity" "priority activity" "pulse pulse" "status status"; gap: 22px 14px; width: min(1550px, 97vw); margin: 0 auto; padding-top: 10px; }
.command-bar { grid-area: search; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 44px; padding: 0 16px; border: 1px solid #dce4e7; border-radius: 11px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 5px 18px rgb(7 19 23 / 4%); cursor: pointer; }
.command-bar > span:nth-child(2) { flex: 1; color: #8d9ba9; font-size: 13px; }
.command-bar kbd { padding: 5px 8px; border-radius: 7px; background: #f4f6f7; color: #7d8b98; font-size: 12px; }
.search-icon { width: 14px; height: 14px; border: 2px solid #415469; border-radius: 50%; }
.search-icon::after { content: ""; display: block; width: 6px; height: 2px; margin: 10px 0 0 10px; background: #415469; transform: rotate(45deg); transform-origin: left center; }
.hero-row { grid-area: hero; padding: 12px 12px 4px; }
.hero-row h1 { margin: 0 0 18px; font-size: clamp(30px, 2.55vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.status-chips { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 700px; color: #526271; font-size: 13px; }
.status-chips span { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.status-chips i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 9px; font-style: normal; font-weight: 900; }
.status-chips .pending i { background: #ff6b17; }

.dashboard-card { border: 1px solid var(--border); border-radius: 17px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 30px rgb(7 19 23 / 4%); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading h2, .priority-section h2, .pulse-section h2 { margin: 0; font-size: 18px; }
.section-heading button { border: 0; background: transparent; color: #2759ef; font-size: 12px; cursor: pointer; }
.quick-panel { grid-area: quick; padding: 16px; }
.quick-grid { display: grid; grid-template-columns: repeat(6, minmax(90px, 1fr)); gap: 12px; margin-top: 16px; }
.quick-grid button { min-height: 90px; padding: 10px 6px; border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); font-size: 12px; cursor: pointer; }
.quick-grid button:hover { border-color: rgb(2 160 160 / 35%); transform: translateY(-1px); }
.quick-grid .quick-action-icon { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 8px; color: var(--teal); }
.quick-grid .quick-action-icon .morph-icon { width: 29px; height: 29px; }
.quick-grid .more-action { border-style: dashed; }
.quick-grid .more-action .quick-action-icon { color: var(--ink); }

.priority-section { grid-area: priority; padding: 0 6px; }
.priority-section > h2 { margin: 0 0 12px; }
.priority-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.priority-card { display: flex; min-width: 0; min-height: 174px; flex-direction: column; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: 0 8px 22px rgb(7 19 23 / 3%); }
.priority-card header { display: flex; align-items: flex-start; gap: 11px; min-height: 54px; }
.priority-card header div { display: grid; gap: 3px; min-width: 0; }
.priority-card strong { font-size: 12px; line-height: 1.35; }
.priority-card p, .priority-card > small { margin: 7px 0 0; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.priority-card b { margin-top: 7px; font-size: 15px; }
.priority-card button { width: 100%; min-height: 34px; margin-top: auto; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.priority-icon { display: block; flex: 0 0 auto; width: 36px; height: 36px; padding: 8px; border-radius: 9px; color: white; box-shadow: 0 6px 14px rgb(7 19 23 / 11%); }
.priority-icon.danger { background: #fb4a17; }
.priority-icon.warning { background: #f7a719; }
.priority-icon.info { background: #536fff; }
.priority-icon.teal { background: var(--teal); }

.activity-panel { grid-area: activity; align-self: stretch; min-height: 525px; padding: 22px 26px; }
.activity-panel ol { position: relative; list-style: none; padding: 0; margin: 14px 0 0; }
.activity-panel ol::before { content: ""; position: absolute; top: 18px; bottom: 25px; left: 52px; width: 1px; background: #e5ebed; }
.activity-panel li { position: relative; display: grid; grid-template-columns: 46px 10px 1fr auto; align-items: start; gap: 11px; min-height: 70px; padding: 14px 0; }
.activity-panel time { color: #52677b; font-size: 12px; }
.activity-panel p { margin: 0; font-size: 12px; line-height: 1.65; }
.activity-panel p small { color: #52677b; }
.activity-panel li > b { color: #06a36d; font-size: 12px; white-space: nowrap; }
.event-dot { z-index: 1; width: 9px; height: 9px; margin-top: 3px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px currentColor; }
.event-dot.green { background: #0dad6f; color: #0dad6f; }
.event-dot.orange { background: #ff6818; color: #ff6818; }
.event-dot.blue { background: #526bff; color: #526bff; }

.pulse-section { grid-area: pulse; padding: 0 6px; }
.pulse-section > h2 { margin: 0 0 12px; }
.pulse-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.metric-card { --metric-color: var(--teal); display: grid; min-width: 0; min-height: 154px; padding: 15px 17px 0; overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: 0 8px 22px rgb(7 19 23 / 3%); }
.metric-card > span { color: #52677b; font-size: 12px; }
.metric-card > strong { margin-top: 3px; font-size: 22px; }
.metric-card > small { margin-top: 4px; color: var(--metric-color); font-size: 10px; font-weight: 700; }
.metric-card svg { align-self: end; width: calc(100% + 34px); height: 54px; margin-left: -17px; }
.metric-line { fill: none; stroke: var(--metric-color); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.metric-area { fill: color-mix(in srgb, var(--metric-color) 8%, transparent); }
.metric-card.violet { --metric-color: #5f45ff; }
.metric-card.orange { --metric-color: #ff5c1c; }
.metric-card.blue { --metric-color: #3d61ff; }
.personalize-button { display: block; min-height: 34px; margin: 14px auto 0; padding: 0 17px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: #52677b; font-size: 11px; cursor: pointer; box-shadow: 0 5px 15px rgb(7 19 23 / 4%); }
.demo-status { grid-area: status; margin: 0; color: var(--muted); font-size: 11px; text-align: center; }
.access-shell { min-height: 100vh; padding: 28px 5vw 70px; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 10%), transparent 30%), #f8fafa; }
.access-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.access-header > a { color: var(--teal); font-weight: 700; text-decoration: none; }
.access-title { width: min(1180px, 100%); margin: 70px auto 30px; }
.access-title h1, .access-state h1 { margin: 4px 0 10px; font-size: clamp(34px, 4vw, 52px); }
.access-title > p:last-child, .access-state p { max-width: 680px; color: var(--muted); line-height: 1.6; }
.access-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr); gap: 22px; width: min(1180px, 100%); margin: 0 auto; }
.access-card, .invitation-result, .access-state { border: 1px solid var(--border); border-radius: 20px; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow); }
.access-card { padding: 28px; }
.access-card h2, .invitation-result h2 { margin: 0 0 22px; }
.invite-card form > label, .invite-card legend, .invitation-result label { display: block; margin: 18px 0 8px; color: #415260; font-size: 14px; font-weight: 650; }
.invite-card input[type="email"], .invite-card select, .invitation-result input { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid #ced7db; border-radius: 12px; background: #fff; color: var(--ink); }
.invite-card fieldset { display: grid; gap: 9px; margin: 20px 0 26px; padding: 0; border: 0; }
.company-check { display: flex !important; align-items: center; gap: 12px; min-height: 46px; margin: 0 !important; padding: 8px 12px; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; }
.company-check input { width: 18px; height: 18px; accent-color: var(--teal); }
.invitation-list { display: grid; gap: 3px; }
.invitation-list article { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.invitation-list article div { display: grid; gap: 5px; min-width: 0; }
.invitation-list strong { overflow: hidden; text-overflow: ellipsis; }
.invitation-list small, .empty-copy, .invitation-result small { color: var(--muted); }
.invitation-status { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #e1f5f5; color: #058180; font-size: 12px; font-weight: 750; }
.invitation-status.aceptada { background: #e5f7ed; color: #087a4f; }
.invitation-status.vencida { background: #f4eeee; color: #8a5555; }
.invitation-result { width: min(1180px, 100%); margin: 0 auto 22px; padding: 24px 28px; border-color: rgb(2 160 160 / 30%); }
.invitation-result p { color: var(--muted); }
.invitation-result input { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.access-alert { width: min(1180px, 100%); margin: 0 auto 20px; padding: 14px 18px; border-radius: 12px; background: #fff3e4; color: #9b5a08; }
.access-state { width: min(680px, 90vw); margin: 16vh auto 0; padding: 36px; text-align: center; }
.access-state a { color: var(--teal); font-weight: 700; }
.not-found { max-width: 600px; margin: 18vh auto; text-align: center; }.not-found .primary-button { width: 220px; margin: 30px auto; }.eyebrow { color: var(--teal); }

.catalog-shell { min-height: 100vh; padding: 24px 4.5vw 72px; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 8%), transparent 28%), radial-gradient(circle at 0% 100%, rgb(255 189 101 / 9%), transparent 30%), #f8fafa; }
.catalog-header { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; min-height: 58px; }
.catalog-header nav { display: flex; align-items: center; gap: 10px; color: #81909c; font-size: 13px; }.catalog-header nav a, .catalog-home-link { color: var(--teal); font-weight: 700; text-decoration: none; }.catalog-header nav strong { color: var(--ink); }.catalog-home-link { justify-self: end; }
.catalog-hero { display: flex; align-items: center; justify-content: space-between; width: min(1180px, 100%); margin: 64px auto 32px; padding: 38px 44px; border: 1px solid rgb(2 160 160 / 12%); border-radius: 24px; background: linear-gradient(115deg, rgb(255 255 255 / 96%), rgb(236 250 250 / 90%)); box-shadow: 0 18px 50px rgb(7 19 23 / 7%); }
.catalog-hero h1, .products-title h1 { margin: 5px 0 9px; color: var(--ink); font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -.035em; }.catalog-hero p:last-child, .products-title p:last-child { max-width: 700px; margin: 0; color: var(--muted); line-height: 1.55; }.catalog-hero-mark { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 24px; background: linear-gradient(145deg, var(--ink), var(--teal)); color: white; font-size: 40px; box-shadow: 0 16px 32px rgb(2 160 160 / 20%); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; width: min(1180px, 100%); margin: 0 auto; }
.catalog-module { position: relative; display: grid; grid-template-columns: 58px 1fr auto; gap: 17px; min-height: 178px; padding: 24px; border: 1px solid var(--border); border-radius: 19px; background: rgb(255 255 255 / 92%); color: var(--ink); text-decoration: none; box-shadow: 0 10px 30px rgb(7 19 23 / 5%); transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }.catalog-module.ready:hover, .catalog-module.utility:hover { transform: translateY(-3px); border-color: rgb(2 160 160 / 32%); box-shadow: 0 18px 38px rgb(7 19 23 / 9%); }.catalog-module.upcoming { opacity: .72; }.catalog-module-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; color: white; font-size: 27px; font-weight: 800; }.catalog-module-icon.teal { background: linear-gradient(145deg, #11c2c2, #018f91); }.catalog-module-icon.amber { background: linear-gradient(145deg, #ffc96d, #f09b12); }.catalog-module-icon.blue { background: linear-gradient(145deg, #65a7ff, #3d61ff); }.catalog-module-icon.violet { background: linear-gradient(145deg, #8a80ff, #5d52d9); }.catalog-module-icon.slate { background: linear-gradient(145deg, #8298a8, #536977); }.catalog-module-icon.dark { background: linear-gradient(145deg, #173039, var(--ink)); }.catalog-module small { color: var(--teal); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.catalog-module.upcoming small { color: #7c8d9a; }.catalog-module h2 { margin: 7px 0 8px; font-size: 18px; }.catalog-module p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }.catalog-module-arrow { align-self: center; color: var(--teal); font-size: 24px; }

.products-title { display: flex; align-items: end; justify-content: space-between; gap: 30px; width: min(1380px, 100%); margin: 54px auto 24px; }.products-title h1 { font-size: clamp(34px, 4vw, 50px); }.product-create { width: auto; min-width: 180px; padding: 0 23px; text-decoration: none; }
.catalog-hero h1:focus, .products-title h1:focus { outline: 0; }.product-create span, .catalog-drawer .primary-button span { position: static; margin-left: 0; font-size: 20px; }
.catalog-flash { width: min(1380px, 100%); margin: 0 auto 14px; padding: 13px 17px; border: 1px solid rgb(2 160 160 / 24%); border-radius: 12px; background: #eafafa; color: #087f7f; font-weight: 700; }.products-shell > .access-alert { width: min(1380px, 100%); margin: 0 auto 14px; }
.products-panel { width: min(1380px, 100%); margin: 0 auto; border: 1px solid var(--border); border-radius: 20px; background: rgb(255 255 255 / 94%); box-shadow: 0 14px 40px rgb(7 19 23 / 6%); overflow: hidden; }.catalog-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 190px auto; align-items: end; gap: 14px; padding: 18px; border-bottom: 1px solid var(--border); background: #fbfcfc; }.catalog-toolbar label { display: grid; gap: 6px; color: #6a7c8b; font-size: 11px; font-weight: 750; }.catalog-toolbar input, .catalog-toolbar select { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--border); border-radius: 11px; background: white; color: var(--ink); font: inherit; }.catalog-toolbar button { min-height: 44px; padding: 0 19px; border: 1px solid var(--ink); border-radius: 11px; background: var(--ink); color: white; font-weight: 750; cursor: pointer; }.catalog-search { position: relative; }.catalog-search .search-icon { position: absolute; z-index: 1; left: 14px; bottom: 14px; }.catalog-search input { padding-left: 42px; }
.catalog-table-wrap { overflow-x: auto; }.catalog-table { width: 100%; border-collapse: collapse; min-width: 960px; }.catalog-table th { padding: 13px 15px; border-bottom: 1px solid var(--border); color: #748593; font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .05em; }.catalog-table td { padding: 15px; border-bottom: 1px solid #edf1f2; color: #425867; font-size: 13px; }.catalog-table tbody tr:last-child td { border-bottom: 0; }.catalog-table tbody tr:hover { background: #fbfdfd; }.catalog-table td:first-child { display: flex; align-items: center; gap: 12px; color: var(--ink); }.catalog-table td:first-child div { display: grid; gap: 3px; }.catalog-table td:first-child small { color: #80909c; }.item-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 11px; background: #e7f9f9; color: var(--teal); font-weight: 850; }.item-avatar.service { background: #fff2df; color: #c9790a; }.price-cell { color: var(--ink) !important; font-weight: 800; }.catalog-status { display: inline-flex; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }.catalog-status.active { background: #e7f8f1; color: #078a5c; }.catalog-status.draft { background: #fff1d9; color: #a16408; }.catalog-status.inactive { background: #eef1f3; color: #73828d; }.catalog-row-actions { display: flex; align-items: center; justify-content: end; gap: 9px; }.catalog-row-actions a, .catalog-row-actions button { border: 0; background: transparent; color: var(--teal); font-size: 12px; font-weight: 750; text-decoration: none; cursor: pointer; }.catalog-row-actions form { margin: 0; }.catalog-empty { padding: 70px 20px; text-align: center; }.catalog-empty > span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 15px; border-radius: 16px; background: #eafafa; color: var(--teal); font-size: 28px; }.catalog-empty h2 { margin: 0 0 8px; }.catalog-empty p { margin: 0; color: var(--muted); }
/* Product catalog: dense operational list with an honest, data-backed detail panel. */
.product-catalog-page { padding: 18px 1.8vw 54px; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 7%), transparent 29%), radial-gradient(circle at 0% 100%, rgb(255 189 101 / 8%), transparent 30%), #f8fafa; }
.product-catalog-heading { width: 100%; margin: 30px auto 16px; }.product-catalog-heading .eyebrow { margin: 0 0 7px; color: var(--teal); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.product-catalog-title-line { display: flex; align-items: center; gap: 14px; }.product-catalog-title-line h1 { margin: 0; color: var(--ink); font-size: clamp(32px, 3.1vw, 46px); letter-spacing: -.04em; }.product-catalog-title-line h1:focus { outline: 0; }.product-catalog-title-line > span { display: inline-flex; padding: 6px 11px; border: 1px solid var(--border); border-radius: 999px; background: white; color: #5f7280; font-size: 11px; font-weight: 750; }
.product-catalog-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 14px; width: 100%; }.product-catalog-workspace.without-detail { grid-template-columns: 1fr; }.product-catalog-main { min-width: 0; }
.product-catalog-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 100px 64px 94px 88px 140px; align-items: center; gap: 7px; margin-bottom: 9px; }.product-catalog-search { position: relative; }.product-catalog-search .search-icon { position: absolute; z-index: 1; top: 50%; left: 14px; transform: translateY(-50%); }.product-catalog-search input, .product-filter-select select, .product-catalog-toolbar button, .catalog-new-product { min-height: 43px; border-radius: 9px; font: inherit; }.product-catalog-search input { width: 100%; padding: 0 14px 0 42px; border: 1px solid var(--border); background: white; color: var(--ink); }.product-catalog-search input:focus, .product-filter-select select:focus { outline: 3px solid rgb(2 160 160 / 14%); border-color: var(--teal); }.product-filter-select { position: relative; }.product-filter-select > span { position: absolute; z-index: 1; top: 12px; left: 10px; color: var(--teal); }.product-filter-select select { width: 100%; padding: 0 8px 0 28px; border: 1px solid var(--border); background: white; color: var(--ink); font-size: 11px; font-weight: 750; }.product-catalog-toolbar button { padding: 0 8px; border: 1px solid var(--border); background: white; color: #334a59; font-size: 10px; font-weight: 750; }.product-catalog-toolbar button:disabled { color: #607581; opacity: .72; cursor: not-allowed; }.catalog-filter-button { border-color: #c8d4d8 !important; }.catalog-soft-control { white-space: nowrap; }.catalog-new-product { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; background: var(--primary-action-bg); box-shadow: var(--primary-action-shadow); color: white; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }.catalog-new-product:hover { filter: brightness(1.08); }.catalog-new-product span { font-size: 17px; }
.product-filter-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 32px; margin-bottom: 14px; }.product-filter-chips > span { display: inline-flex; align-items: center; gap: 7px; min-height: 29px; padding: 0 10px; border: 1px solid #d3dde0; border-radius: 8px; background: white; color: #405664; font-size: 11px; font-weight: 700; }.product-filter-chips span a { color: #78909b; font-size: 15px; text-decoration: none; }.clear-product-filters { margin-left: 3px; color: var(--teal-dark); font-size: 11px; font-weight: 800; text-decoration: none; }
.product-list-card { border: 1px solid var(--border); border-radius: 14px; background: rgb(255 255 255 / 96%); box-shadow: 0 12px 34px rgb(7 19 23 / 5%); overflow: visible; }.product-list-actions { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 8px 11px; border-bottom: 1px solid var(--border); }.product-list-actions label { display: inline-flex; align-items: center; gap: 10px; min-width: 140px; padding: 0 6px; color: #536874; font-size: 11px; font-weight: 750; }.product-list-actions input, .product-data-table input { width: 16px; height: 16px; accent-color: var(--teal); }.product-list-actions button { min-height: 34px; padding: 0 11px; border: 1px solid #d8e0e2; border-radius: 8px; background: white; color: #607580; font-size: 10px; font-weight: 750; }.product-list-actions button:disabled { opacity: .46; cursor: not-allowed; }.product-action-spacer { flex: 1; }.catalog-new-product.compact { min-height: 36px; padding: 0 14px; box-shadow: none; font-size: 11px; }
.product-table-wrap { overflow-x: auto; }.product-data-table { min-width: 870px; }.product-data-table th { padding: 11px 8px; color: #405565; font-size: 9px; letter-spacing: 0; text-transform: none; }.product-data-table td { height: 66px; padding: 9px 8px; font-size: 10px; }.product-data-table td:first-child { display: table-cell; width: 32px; text-align: center; }.product-data-table td:nth-child(2) { display: table-cell; min-width: 150px; color: var(--ink); white-space: nowrap; }.product-data-table td:nth-child(2) > .item-avatar { display: inline-grid; margin-right: 8px; vertical-align: middle; }.product-data-table td:nth-child(2) > div { display: inline-grid; gap: 3px; vertical-align: middle; }.product-data-table td:nth-child(2) a { color: var(--ink); font-weight: 850; text-decoration: none; }.product-data-table td:nth-child(2) a:hover { color: var(--teal-dark); }.product-data-table .item-avatar { width: 38px; height: 38px; border-radius: 10px; }.product-data-table .item-avatar .morph-icon { width: 20px; height: 20px; }.product-data-table tbody tr.selected td { border-top: 1px solid var(--teal); border-bottom: 1px solid var(--teal); background: rgb(2 160 160 / 2%); }.product-data-table tbody tr.selected td:first-child { border-left: 1px solid var(--teal); }.product-data-table tbody tr.selected td:last-child { border-right: 1px solid var(--teal); }.availability-cell { display: table-cell; min-width: 105px; }.availability-cell span { display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 4px; margin: 3px 0; }.availability-cell b { color: #4f6470; }.availability-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #aab8be; }.availability-dot.available { background: #16a56b; }.availability-dot.minimum { background: var(--amber); }.availability-dot.maximum { background: var(--teal); }.margin-cell { color: var(--teal-dark) !important; font-weight: 850; }.product-data-table .catalog-status { padding: 6px 9px; font-size: 9px; }.catalog-row-menu { width: 32px; }.catalog-row-menu details { position: relative; }.catalog-row-menu summary { display: grid; place-items: center; width: 26px; height: 30px; border-radius: 7px; color: var(--ink); font-size: 19px; cursor: pointer; list-style: none; }.catalog-row-menu summary::-webkit-details-marker { display: none; }.catalog-row-menu details[open] summary { background: #eef7f7; }.catalog-row-menu details > div { position: absolute; z-index: 8; top: 32px; right: 0; display: grid; min-width: 150px; padding: 6px; border: 1px solid var(--border); border-radius: 9px; background: white; box-shadow: 0 12px 28px rgb(7 19 23 / 14%); }.catalog-row-menu details a, .catalog-row-menu details button { display: block; width: 100%; padding: 8px 9px; border: 0; border-radius: 6px; background: transparent; color: #3d5361; font-size: 11px; font-weight: 700; text-align: left; text-decoration: none; }.catalog-row-menu details a:hover, .catalog-row-menu details button:hover { background: #edf9f9; color: var(--teal-dark); }.catalog-row-menu details form { margin: 0; }
.product-table-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 58px; padding: 10px 14px; border-top: 1px solid var(--border); color: #586d79; font-size: 10px; }.product-table-footer nav { display: flex; align-items: center; gap: 7px; }.product-table-footer nav button, .product-table-footer nav strong { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; background: white; }.product-table-footer nav strong { border-color: var(--teal); background: var(--teal); color: white; }.product-table-footer > span:last-child { justify-self: end; }.product-table-footer > span:last-child b { display: inline-flex; margin: 0 4px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 7px; background: white; }
.product-detail-panel { position: sticky; top: 14px; min-height: 610px; padding: 22px 18px 18px; border: 1px solid var(--border); border-radius: 14px; background: rgb(255 255 255 / 98%); box-shadow: 0 14px 40px rgb(7 19 23 / 7%); }.product-detail-header { display: grid; grid-template-columns: 74px minmax(0, 1fr) 28px; align-items: start; gap: 12px; min-height: 102px; }.product-detail-image { display: grid; place-items: center; width: 74px; height: 64px; border-radius: 11px; background: linear-gradient(145deg, #e4f8f8, #bfe8e7); color: var(--teal-dark); }.product-detail-image.service { background: linear-gradient(145deg, #fff6e9, #ffe2b6); color: #b87211; }.product-detail-image .morph-icon { width: 34px; height: 34px; }.product-detail-header h2 { margin: 1px 0 7px; color: var(--ink); font-size: 16px; line-height: 1.25; }.product-detail-badge { display: inline-flex; padding: 5px 8px; border-radius: 7px; background: #dcf5f2; color: #087f7f; font-size: 9px; font-weight: 850; }.product-detail-header p { margin: 8px 0 0; color: #5d7180; font-size: 10px; }.product-detail-close { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); font-size: 24px; font-weight: 300; text-decoration: none; }.product-detail-close:hover { background: #eff5f5; }
.product-detail-tabs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 4px; min-height: 45px; border-bottom: 1px solid var(--border); color: #566a78; font-size: 9px; text-align: center; }.product-detail-tabs strong { align-self: stretch; display: grid; place-items: center; border-bottom: 2px solid var(--teal); color: var(--teal-dark); }.product-detail-tabs span { padding-bottom: 13px; }
.product-detail-summary { margin: 12px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); }.product-detail-summary div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 7px 4px; font-size: 10px; }.product-detail-summary dt { color: #4c626f; }.product-detail-summary dd { margin: 0; color: var(--ink); text-align: right; overflow-wrap: anywhere; }.product-detail-summary .detail-margin dt, .product-detail-summary .detail-margin dd { color: var(--teal-dark); font-weight: 850; }
.product-detail-stock { padding: 14px 4px; border-bottom: 1px solid var(--border); }.product-detail-stock h3 { margin: 0 0 11px; color: #4c626f; font-size: 10px; font-weight: 700; }.product-detail-stock p { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 9px 0; color: #536976; font-size: 10px; }.product-detail-stock p span { display: inline-flex; align-items: center; gap: 8px; }.product-detail-stock p strong { color: var(--ink); }.product-detail-stock p.no-inventory { justify-content: start; color: var(--muted); }
.product-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 18px; }.product-detail-actions a, .product-detail-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 9px; font-size: 10px; font-weight: 800; text-decoration: none; }.detail-edit-button { border: 1px solid #cbd7da; color: var(--ink); }.product-detail-actions button { border: 0; background: linear-gradient(108deg, var(--ink), #073f48 58%, var(--teal)); color: white; }.product-detail-actions button:disabled { opacity: .72; cursor: not-allowed; }

.catalog-drawer-backdrop { position: fixed; z-index: 20; inset: 0; background: rgb(7 19 23 / 30%); backdrop-filter: blur(3px); animation: catalog-backdrop-in 260ms ease both; }.catalog-drawer { position: fixed; z-index: 21; top: 0; right: 0; width: min(570px, 94vw); height: 100vh; padding: 28px; overflow-y: auto; background: #fff; box-shadow: -18px 0 60px rgb(7 19 23 / 18%); animation: catalog-drawer-in 360ms cubic-bezier(.22, 1, .36, 1) both; }.catalog-drawer > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }.catalog-drawer h2 { margin: 4px 0 0; font-size: 28px; }.catalog-drawer > header > a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%; color: var(--ink); font-size: 24px; text-decoration: none; }.catalog-drawer form { padding-top: 22px; }.drawer-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }.drawer-form-grid label { display: grid; gap: 7px; }.drawer-form-grid label.wide { grid-column: 1 / -1; }.drawer-form-grid label > span { color: #526978; font-size: 12px; font-weight: 750; }.drawer-form-grid input, .drawer-form-grid select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--border); border-radius: 11px; background: #fff; color: var(--ink); font: inherit; }.drawer-form-grid input:focus, .drawer-form-grid select:focus, .catalog-toolbar input:focus, .catalog-toolbar select:focus { outline: 3px solid rgb(2 160 160 / 16%); border-color: var(--teal); }.inventory-check { display: flex; align-items: start; gap: 12px; margin: 22px 0; padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: #f9fbfb; }.inventory-check input { margin-top: 3px; accent-color: var(--teal); }.inventory-check span { display: grid; gap: 4px; }.inventory-check small { color: var(--muted); }.catalog-drawer footer { display: flex; align-items: center; justify-content: end; gap: 17px; padding-top: 21px; border-top: 1px solid var(--border); }.catalog-drawer footer > a { color: var(--muted); font-weight: 700; text-decoration: none; }.catalog-drawer footer .primary-button { width: auto; min-width: 170px; padding: 0 21px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes catalog-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes catalog-drawer-in { from { opacity: 0; transform: translateX(45px); } to { opacity: 1; transform: translateX(0); } }

.catalog-status.blocked { background: #fff0e7; color: #b84e10; }.catalog-status.discontinued { background: #f0ecfb; color: #6951a6; }
.product-editor-shell { min-height: 100vh; padding-bottom: 64px; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 5%), transparent 28%), #f8fafa; }
.editor-topbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(28px, 4vw, 66px); min-height: 78px; padding: 10px 2.3vw; border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 94%); }
.editor-topbar nav { display: flex; align-items: center; gap: 8px; }.editor-topbar nav a, .editor-topbar nav span { display: grid; place-items: center; min-height: 46px; padding: 0 17px; border-radius: 14px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }.editor-topbar nav .active { background: var(--ink); color: white; box-shadow: 0 8px 18px rgb(7 19 23 / 15%); }.editor-company { max-width: 190px; overflow: hidden; color: var(--teal-dark); font-size: 12px; font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.product-editor-form { width: min(1540px, 95vw); margin: 0 auto; }.editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 28px 0 22px; }.editor-heading nav { display: flex; gap: 9px; margin-bottom: 12px; color: #81909c; font-size: 12px; }.editor-heading nav a { color: var(--teal-dark); text-decoration: none; }.editor-heading nav strong { color: #526775; }.editor-heading h1 { margin: 0 0 4px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.025em; }.editor-heading h1:focus { outline: 0; }.editor-heading p { margin: 0; color: var(--muted); font-size: 13px; }.editor-actions { display: flex; align-items: center; gap: 14px; }.editor-actions > a { padding: 12px; color: #526775; font-size: 13px; font-weight: 750; text-decoration: none; }.editor-actions button { min-height: 46px; padding: 0 24px; border-radius: 11px; font-size: 13px; font-weight: 800; cursor: pointer; }.draft-button { border: 1px solid #cbd6da; background: white; color: var(--ink); }.create-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 176px; border: 0; background: var(--primary-action-bg); color: white; box-shadow: var(--primary-action-shadow); }.create-button:hover { filter: brightness(1.08); }.editor-error { margin: 0 0 16px; padding: 13px 17px; border: 1px solid #f0c57f; border-radius: 12px; background: #fff6e8; color: #8f5a0a; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 22px; }.editor-sections { display: grid; gap: 12px; }.editor-card, .preview-card, .validation-card { border: 1px solid var(--border); border-radius: 16px; background: rgb(255 255 255 / 96%); box-shadow: 0 8px 26px rgb(7 19 23 / 4%); }.editor-card { padding: 18px 22px 22px; }.editor-card > header { display: flex; align-items: center; gap: 12px; min-height: 34px; }.editor-card > header > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #e8f9f9; color: var(--teal); font-size: 20px; font-weight: 850; }.editor-card h2, .preview-card h2, .validation-card h2 { margin: 0; font-size: 17px; }.editor-fields { display: grid; gap: 16px 22px; margin: 14px 0 0 58px; }.basic-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }.price-fields, .inventory-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }.editor-fields label { display: grid; align-content: start; gap: 7px; min-width: 0; }.editor-fields label > span, .warehouse-pending > span, .margin-card > span { color: #435968; font-size: 11px; font-weight: 800; }.editor-fields input, .editor-fields select, .editor-fields textarea { width: 100%; border: 1px solid #d6dfe2; border-radius: 9px; background: white; color: var(--ink); font: inherit; }.editor-fields input, .editor-fields select { min-height: 42px; padding: 0 12px; }.editor-fields textarea { min-height: 78px; padding: 11px 12px; resize: vertical; }.editor-fields input:focus, .editor-fields select:focus, .editor-fields textarea:focus { outline: 3px solid rgb(2 160 160 / 14%); border-color: var(--teal); }.editor-fields label small { justify-self: end; color: #8796a1; font-size: 10px; }.description-field { grid-column: span 2; }.image-pending { display: grid; grid-template-columns: 38px 1fr; align-content: center; column-gap: 10px; min-height: 104px; padding: 14px; border: 1px dashed #aecbd0; border-radius: 10px; background: #fbfdfd; color: #6f818e; }.image-pending > span { grid-row: span 2; align-self: center; font-size: 25px; text-align: center; }.image-pending strong { color: #425867; font-size: 12px; }.image-pending p { margin: 4px 0 0; font-size: 10px; line-height: 1.5; }.money-input { display: flex; align-items: center; min-height: 42px; border: 1px solid #d6dfe2; border-radius: 9px; background: white; }.money-input b { padding-left: 12px; color: #7d8c97; font-size: 13px; }.money-input input { min-width: 0; border: 0; }.money-input:focus-within { outline: 3px solid rgb(2 160 160 / 14%); border-color: var(--teal); }.margin-card { display: grid; align-content: center; min-height: 68px; padding: 10px 16px; border: 1px solid #f3d2a5; border-radius: 10px; background: #fffaf4; }.margin-card strong { margin-top: 4px; color: #f27612; font-size: 25px; }.margin-card small { color: #9d7754; font-size: 9px; }.inventory-toggle { display: flex; align-items: center; gap: 10px; margin-left: auto; cursor: pointer; }.inventory-toggle input { position: absolute; opacity: 0; }.inventory-toggle i { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #c9d5d8; transition: background 180ms ease; }.inventory-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgb(7 19 23 / 20%); transition: transform 180ms ease; }.inventory-toggle input:checked + i { background: var(--teal); }.inventory-toggle input:checked + i::after { transform: translateX(18px); }.inventory-fields.disabled { opacity: .45; }.warehouse-pending { display: grid; gap: 6px; padding: 4px 0; }.warehouse-pending strong { font-size: 13px; }.warehouse-pending small { color: #84939e; font-size: 10px; line-height: 1.4; }
.future-sections { display: grid; gap: 7px; }.future-sections details { border: 1px solid var(--border); border-radius: 11px; background: white; box-shadow: 0 4px 13px rgb(7 19 23 / 3%); }.future-sections summary { display: grid; grid-template-columns: 32px 1fr auto 25px; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; cursor: pointer; list-style: none; }.future-sections summary::-webkit-details-marker { display: none; }.future-sections summary > span { color: #657b8a; }.future-sections summary strong { font-size: 13px; }.future-sections summary small { color: #8998a3; font-size: 10px; font-weight: 700; text-transform: uppercase; }.future-sections summary b { color: #637886; font-size: 17px; }.future-sections details[open] summary b { transform: rotate(45deg); }.future-sections details p { margin: 0; padding: 0 57px 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.configured-sections { margin-top: 2px; }.configured-sections details { border-radius: 14px; }.configured-sections details[open] { border-color: rgb(2 160 160 / 30%); box-shadow: 0 9px 25px rgb(7 19 23 / 5%); }.configured-sections summary small { color: var(--teal-dark); }.advanced-section-body { padding: 0 20px 20px 57px; }.advanced-section-body .advanced-intro, .advanced-section-body .advanced-note { padding: 0; }.advanced-intro { margin-bottom: 14px !important; }.advanced-note { margin-top: 14px !important; color: #526a78 !important; }.advanced-section-body .editor-fields { margin: 0; }.conversion-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }.fiscal-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }.lifecycle-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }.inline-check { display: flex !important; grid-template-columns: auto 1fr; align-items: center !important; min-height: 42px; padding: 0 14px; border: 1px solid #d6dfe2; border-radius: 9px; }.inline-check input { width: 17px; min-height: 17px; margin: 0; }.barcode-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5ecee; }.barcode-list > header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }.barcode-list > header strong { font-size: 13px; }.barcode-list > header span { color: #81919c; font-size: 11px; }.barcode-row { display: grid; grid-template-columns: 1.4fr 1fr .65fr; gap: 14px; margin-top: 10px; }.barcode-row label { display: grid; gap: 6px; }.barcode-row label span { color: #435968; font-size: 10px; font-weight: 800; }.barcode-row input { width: 100%; min-height: 40px; padding: 0 11px; border: 1px solid #d6dfe2; border-radius: 9px; font: inherit; }.barcode-row input:focus { outline: 3px solid rgb(2 160 160 / 14%); border-color: var(--teal); }
.advanced-empty { padding: 0 !important; }.advanced-empty a, .advanced-note a { color: var(--teal-dark); font-weight: 800; }.product-supplier-list > header, .product-supplier-row { display: grid; grid-template-columns: 58px 1.3fr 1fr .65fr .55fr .6fr; gap: 10px; align-items: end; }.product-supplier-list > header { padding: 0 8px 7px; color: #70838f; font-size: 9px; font-weight: 800; text-transform: uppercase; }.product-supplier-row { padding: 11px 8px; border-top: 1px solid #e8edef; }.product-supplier-row label { display: grid; gap: 5px; }.product-supplier-row label > span { color: #435968; font-size: 9px; font-weight: 800; }.product-supplier-row input, .product-supplier-row select { width: 100%; min-height: 38px; padding: 0 9px; border: 1px solid #d6dfe2; border-radius: 8px; background: white; font: inherit; }.preferred-radio { align-self: center; justify-items: center; }.preferred-radio input { width: 18px; min-height: 18px; accent-color: var(--teal); }.supplier-alias { grid-column: 2 / -1; }.supplier-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 45px 0 22px; }.supplier-heading h1 { margin: 2px 0 5px; font-size: 38px; }.supplier-heading p { margin: 0; color: var(--muted); }.supplier-editor-card, .supplier-table-card { border: 1px solid var(--border); border-radius: 16px; background: white; box-shadow: 0 8px 26px rgb(7 19 23 / 4%); }.supplier-editor-card { margin-bottom: 18px; padding: 22px; }.supplier-editor-card > header { display: flex; justify-content: space-between; gap: 20px; }.supplier-editor-card h2 { margin: 0 0 5px; }.supplier-editor-card header p { margin: 0; color: var(--muted); }.supplier-editor-card header a { color: var(--teal-dark); text-decoration: none; }.supplier-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }.supplier-form label { display: grid; gap: 7px; }.supplier-form label > span { color: #435968; font-size: 11px; font-weight: 800; }.supplier-form input { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #d6dfe2; border-radius: 9px; font: inherit; }.supplier-active { display: flex !important; align-items: center; }.supplier-active input { width: 18px; min-height: 18px; }.supplier-form .create-button { align-self: end; min-height: 42px; }.supplier-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; align-items: center; gap: 12px; margin-bottom: 14px; }.supplier-toolbar > input { min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }.supplier-toolbar label { display: flex; gap: 8px; color: #536a78; font-size: 12px; }.supplier-toolbar button { min-height: 42px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--primary-action-bg); color: white; font-weight: 800; }.supplier-table-card { overflow: hidden; }.supplier-table { min-width: 920px; }.supplier-table td:first-child { display: flex; }.supplier-table td strong { color: var(--ink); }
.editor-preview { position: sticky; top: 18px; display: grid; gap: 16px; }.preview-card, .validation-card { padding: 20px; }.preview-card > header { display: flex; align-items: start; gap: 11px; }.preview-card > header > span { color: var(--ink); font-size: 21px; }.preview-card > header p { margin: 6px 0 0; color: #80909c; font-size: 11px; }.product-preview-card { display: grid; grid-template-columns: 94px 1fr; align-items: center; gap: 15px; min-height: 120px; margin: 24px 0 0; padding: 14px; border: 1px solid var(--border); border-radius: 12px 12px 0 0; }.preview-image { display: grid; place-items: center; width: 94px; height: 78px; border-radius: 9px; background: linear-gradient(145deg, #e6f7f7, #caeaea); color: var(--teal); font-size: 30px; font-weight: 900; }.product-preview-card h3 { margin: 0 0 7px; font-size: 17px; }.product-preview-card p { margin: 0 0 10px; color: #6f83a3; font-size: 11px; }.product-preview-card small { display: inline-flex; padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: #526775; font-size: 10px; }.preview-card dl { margin: 0; padding: 5px 14px 10px; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 12px 12px; }.preview-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid #edf1f2; font-size: 12px; }.preview-card dl div:last-child { border: 0; }.preview-card dt { color: #526775; }.preview-card dd { margin: 0; color: var(--ink); font-weight: 800; }.preview-card .margin dt, .preview-card .margin dd { color: #f27612; }.validation-card { border-color: rgb(2 160 160 / 20%); background: #f2fbfb; }.validation-card h2 { margin-bottom: 18px; color: #087e7e; }.validation-card p { display: flex; align-items: center; gap: 9px; margin: 12px 0; color: #516876; font-size: 12px; }.validation-card p i { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #28b981; border-radius: 50%; color: #119765; font-size: 10px; font-style: normal; font-weight: 900; }.validation-card p i.pending { border-color: #eab246; color: #bf7a08; }.validation-card > small { display: block; margin-top: 18px; color: #728794; font-size: 10px; line-height: 1.55; }

.product-supplier-list { overflow-x: auto; }.product-supplier-list > header, .product-supplier-row { min-width: 820px; }

@media (max-width: 1320px) {
  .operation-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .topbar { grid-template-columns: auto 1fr auto; gap: 14px; }.brand-mark.workspace .brand-logo { width: 102px; }.topbar nav { gap: 1px; }.topbar nav a, .topbar nav button { min-width: 58px; padding: 0 7px; font-size: 11px; }.profile-copy { display: none; }
  .home-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "hero" "quick" "priority" "activity" "pulse" "status"; width: min(940px, 94vw); }
  .operation-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-panel { min-height: 0; }.priority-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }.pulse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-catalog-workspace { grid-template-columns: 1fr; }.product-detail-panel { position: static; min-height: 0; }.product-catalog-toolbar { grid-template-columns: minmax(260px, 1fr) 118px auto auto auto; }.product-catalog-toolbar > .catalog-new-product { grid-column: 1 / -1; justify-self: end; }
  .editor-topbar nav { display: none; }.editor-layout { grid-template-columns: minmax(0, 1fr) 320px; }.basic-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.price-fields, .inventory-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .selector-shell { background-image: url("assets/auth-background-mobile.png"); background-position: center top; }
  .auth-shell { display: block; }
  .auth-hero { min-height: auto; padding: 64px 7vw; }
  .auth-hero-mark { width: 82px; height: 82px; }
  .auth-hero h1 { font-size: 52px; }
  .auth-hero-rule { margin: 22px auto 28px; }
  .auth-benefits { margin-top: 34px; }
  .auth-panel { min-height: auto; padding: 56px 7vw 70px; }
  .auth-panel-content > .brand-mark { justify-self: center; margin-bottom: 48px; }
  .auth-card { padding-bottom: 0; }
  .provider-icon { left: 28px; }
  .selector-shell { display: block; padding: 140px 7vw 40px; }.selector-shell > .brand-mark { top: 34px; left: 7vw; }.selector-intro { margin: 0 0 38px; }.selector-intro h1 { font-size: 42px; }.company-section { max-width: 680px; }.selector-question { padding: 8px 0; background: transparent; }.company-card { grid-template-columns: 48px 1fr 36px; min-height: 84px; padding: 12px 14px; gap: 12px; }.company-icon { width: 48px; height: 48px; font-size: 20px; }.company-name { font-size: 15px; }.company-name small { margin-left: 6px; }.company-meta { font-size: 12px; }.round-arrow { width: 36px; height: 36px; }
  .topbar { display: flex; gap: 14px; min-height: 72px; padding: 10px 5vw; }.brand-mark.workspace .brand-logo { width: 122px; height: 30px; }.brand-mark.workspace .brand-copy { display: none; }.topbar nav, .profile-copy { display: none; }.mobile-section-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin-left: auto; padding: 0 13px; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--ink); font-size: 12px; font-weight: 750; text-decoration: none; }.mobile-section-link .morph-icon { width: 18px; height: 18px; }.profile { margin-left: 0; }.profile .avatar { width: 42px; height: 42px; }.home-main { grid-template-areas: "hero" "search" "quick" "priority" "activity" "pulse" "status"; width: min(700px, 91vw); padding-top: 22px; }.hero-row { padding: 0; }.status-chips { justify-content: flex-start; gap: 8px; overflow-x: auto; padding-bottom: 5px; }.status-chips span { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--border); border-radius: 11px; background: white; }.quick-grid { grid-template-columns: repeat(3, 1fr); }.priority-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }.pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .operation-hub-main { width: min(700px, 92vw); padding-top: 38px; }.operation-hub-heading { margin-bottom: 28px; }.operation-hub-grid { grid-template-columns: 1fr; }.operation-area-section + .operation-area-section { margin-top: 28px; }
  .access-shell { padding: 24px 5vw 55px; }.access-title { margin-top: 50px; }.access-grid { grid-template-columns: 1fr; }.invitation-result { padding: 22px; }
  .catalog-shell { padding: 20px 5vw 55px; }.catalog-header { grid-template-columns: auto 1fr; gap: 22px; }.catalog-header nav { display: none; }.catalog-hero { margin-top: 42px; padding: 30px; }.catalog-hero-mark { width: 66px; height: 66px; }.products-title { align-items: start; }.catalog-toolbar { grid-template-columns: 1fr 160px; }.catalog-toolbar button { grid-column: 1 / -1; }.catalog-drawer { padding: 24px; }
  .product-catalog-page { padding-inline: 4vw; }.product-catalog-heading { margin-top: 24px; }.product-catalog-toolbar { grid-template-columns: minmax(0, 1fr) 118px auto; }.product-catalog-toolbar .catalog-soft-control { display: none; }.product-catalog-toolbar > .catalog-new-product { grid-column: 1 / -1; width: 100%; }.product-list-actions button:nth-of-type(-n+3) { display: none; }.product-table-footer { grid-template-columns: 1fr auto; }.product-table-footer > span:last-child { display: none; }.product-detail-panel { width: 100%; }
  .editor-topbar { grid-template-columns: 1fr auto; }.editor-heading { align-items: start; flex-direction: column; }.editor-actions { width: 100%; }.editor-actions > a { margin-right: auto; }.editor-layout { grid-template-columns: 1fr; }.editor-preview { position: static; grid-row: 2; }.editor-sections { grid-row: 1; }.conversion-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.supplier-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .auth-hero { padding: 50px 24px; }
  .auth-hero-copy { font-size: 14px; }
  .auth-benefits { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .auth-benefits div:nth-child(3) { border-left: 0; }
  .auth-panel { padding: 48px 24px 64px; }
  .brand-logo { width: 145px; height: 35px; }
}

/* Entria Gestión: splash zen persistente y selector de empresa tipo rueda. */
.company-splash-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(34px, 5vh, 70px) clamp(24px, 5vw, 84px) clamp(72px, 8vh, 96px);
  background: linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 30%)), url("/assets/zen-onboarding.png") left bottom / cover no-repeat;
  color: #0d1b2a;
  font-family: Poppins, Inter, "Segoe UI", system-ui, sans-serif;
}
.company-splash-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 44%, rgb(255 255 255 / 82%), rgb(255 255 255 / 28%) 39%, transparent 69%), linear-gradient(120deg, rgb(255 255 255 / 10%), transparent 48%, rgb(255 255 255 / 8%)); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); pointer-events: none; }
.company-splash-content { position: relative; z-index: 1; display: grid; justify-items: center; width: min(100%, 760px); transform: translateY(-1.5vh); }
.company-splash-heading { display: grid; justify-items: center; text-align: center; }
.company-splash-heading .company-splash-brand { gap: 10px; }
.company-splash-heading .company-splash-brand .brand-logo { width: 148px; height: 35px; }
.company-splash-heading .company-splash-brand .brand-copy { padding-left: 10px; }
.company-splash-heading .company-splash-brand .brand-copy small { font-size: 9px; letter-spacing: .14em; }
.company-splash-heading h1 { margin: 14px 0 0; font-size: clamp(42px, 4vw, 56px); line-height: 1.04; font-weight: 430; letter-spacing: -.033em; }
.company-splash-heading p { margin: 11px 0 0; color: #5f6979; font-size: 14px; font-weight: 590; }
.company-wheel-card { width: min(100%, 680px); margin-top: clamp(17px, 2.5vh, 24px); }
.company-wheel-stage { position: relative; isolation: isolate; width: 100%; }
.company-wheel-viewport { position: relative; z-index: 1; height: 276px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; perspective: 780px; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); outline: 0; }
.company-wheel-viewport::-webkit-scrollbar { display: none; }
.company-wheel-track { padding: 92px 30px; }
.company-wheel-item { height: 92px; margin: 0; scroll-snap-align: center; }
.company-wheel-option { --wheel-angle: 0deg; --wheel-scale: .82; --wheel-opacity: .4; position: relative; z-index: 2; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; height: 92px; padding: 13px 17px; border: 1px solid rgb(255 255 255 / 62%); border-radius: 24px; background: linear-gradient(110deg, rgb(255 255 255 / 52%), rgb(255 255 255 / 24%) 52%, rgb(223 250 247 / 22%)); box-shadow: inset 0 1px rgb(255 255 255 / 75%), 0 10px 22px -16px rgb(42 58 82 / 20%); color: #243144; text-align: left; opacity: var(--wheel-opacity); transform: rotateX(var(--wheel-angle)) scale(var(--wheel-scale)); transform-origin: center; backdrop-filter: blur(10px) saturate(124%); -webkit-backdrop-filter: blur(10px) saturate(124%); transition: opacity 190ms ease, transform 240ms cubic-bezier(.22, 1, .36, 1), border-color 190ms ease, background-color 190ms ease, box-shadow 190ms ease; cursor: pointer; }
.company-wheel-option.is-selected { z-index: 3; border-color: rgb(255 255 255 / 88%); background: linear-gradient(108deg, rgb(255 255 255 / 79%), rgb(255 255 255 / 46%) 52%, rgb(224 249 247 / 38%)); box-shadow: inset 0 1px rgb(255 255 255 / 94%), inset 0 -1px rgb(255 255 255 / 34%), 0 14px 30px -19px rgb(35 53 79 / 30%), 0 6px 16px -13px rgb(20 184 166 / 20%); opacity: 1; transform: rotateX(0) scale(1); backdrop-filter: blur(14px) saturate(128%); -webkit-backdrop-filter: blur(14px) saturate(128%); }
.company-wheel-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(145deg, #2563eb 8%, #14b8a6 100%); color: white; font-size: 24px; font-weight: 800; box-shadow: 0 12px 26px rgb(37 99 235 / 19%); }
.company-wheel-copy { display: grid; min-width: 0; gap: 7px; }
.company-wheel-copy strong { overflow: hidden; font-size: 17px; font-weight: 790; text-overflow: ellipsis; white-space: nowrap; }
.company-wheel-copy small { display: flex; align-items: center; gap: 12px; min-width: 0; color: #5f6b7d; font-size: 11px; font-weight: 650; }
.company-wheel-status { color: #4d9f69; }.company-wheel-status.attention { color: #d88532; }.company-wheel-status.suspended { color: #b55a5a; }
.company-wheel-default { padding: 6px 10px; border-radius: 999px; background: #e8f9f5; color: #087f73; font-size: 10px; font-weight: 800; }
.company-wheel-actions { display: flex; align-items: center; justify-content: end; gap: 12px; }
.company-wheel-enter { display: inline-flex; align-items: center; gap: 6px; color: #173a67; font-size: 13px; font-weight: 820; white-space: nowrap; }
.company-wheel-enter span { color: #2563eb; font-size: 17px; transition: transform 180ms ease; }
.company-wheel-option:hover .company-wheel-enter span, .company-wheel-option:focus-visible .company-wheel-enter span { transform: translateX(3px); }
.company-wheel-focus { position: absolute; z-index: 1; top: 92px; right: 7%; left: 7%; height: 92px; border-top: 1px solid rgb(255 255 255 / 45%); border-bottom: 1px solid rgb(20 184 166 / 9%); border-radius: 50%; background: radial-gradient(ellipse, rgb(255 255 255 / 18%), rgb(20 184 166 / 5%) 46%, transparent 72%); pointer-events: none; }
.company-wheel-control { position: absolute; z-index: 5; left: 50%; display: grid; place-items: center; width: 34px; height: 26px; padding: 0; border: 1px solid rgb(255 255 255 / 48%); border-radius: 999px; background: rgb(255 255 255 / 20%); color: #667386; font-size: 20px; cursor: pointer; transform: translateX(-50%); backdrop-filter: blur(8px); }
.company-wheel-control:hover, .company-wheel-control:focus-visible { color: #2563eb; }.company-wheel-control-up { top: 3px; }.company-wheel-control-down { bottom: 3px; }
.company-wheel-stage.is-single .company-wheel-viewport { height: 122px; overflow: hidden; mask-image: none; -webkit-mask-image: none; }
.company-wheel-stage.is-single .company-wheel-track { padding: 15px 30px; }
.company-wheel-stage.is-single .company-wheel-option { border-radius: 46px; }
.company-wheel-stage.is-single .company-wheel-focus, .company-wheel-stage.is-single .company-wheel-control { display: none; }
.company-wheel-search { display: block; width: min(100% - 60px, 420px); margin: 0 auto 12px; }
.company-wheel-search input { width: 100%; height: 42px; padding: 0 17px; border: 1px solid rgb(255 255 255 / 76%); border-radius: 999px; outline: 0; background: rgb(255 255 255 / 56%); color: #243144; font: inherit; font-size: 12px; font-weight: 620; box-shadow: inset 0 1px rgb(255 255 255 / 88%); backdrop-filter: blur(10px); }
.company-wheel-search input:focus { border-color: rgb(37 99 235 / 34%); box-shadow: 0 0 0 3px rgb(37 99 235 / 8%); }
.company-wheel-no-results { margin: 22px 0; color: #5f6b7d; text-align: center; font-size: 13px; font-weight: 650; }
.company-wheel-card.has-no-results .company-wheel-stage { display: none; }
.company-wheel-message { display: grid; gap: 8px; min-height: 220px; place-content: center; margin: 18px 0 0; padding: 28px; border: 1px solid rgb(210 220 225 / 80%); border-radius: 24px; background: rgb(255 255 255 / 55%); color: #73808c; text-align: center; backdrop-filter: blur(10px); }
.company-wheel-message strong { color: #243144; font-size: 17px; }
.company-splash-logout { position: absolute; z-index: 2; right: clamp(26px, 4vw, 70px); bottom: clamp(22px, 4vh, 46px); }
.company-splash-logout button { padding: 8px; border: 0; background: transparent; color: #365ee4; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }

@media (max-width: 900px) {
  .company-splash-shell { place-items: center; padding: 70px 28px 96px; background-position: 22% bottom; overflow-y: auto; }
  .company-splash-glow { background: linear-gradient(180deg, rgb(255 255 255 / 88%), rgb(255 255 255 / 42%) 62%, transparent); }
  .company-splash-heading h1 { font-size: clamp(40px, 8vw, 54px); }
  .company-wheel-card { margin-top: 22px; }
}

@media (max-width: 560px) {
  .company-splash-shell { padding: 52px 16px 88px; background-position: 29% bottom; }
  .company-splash-heading .company-splash-brand .brand-logo { width: 132px; height: 32px; }
  .company-splash-heading h1 { margin-top: 12px; font-size: clamp(36px, 10vw, 46px); }
  .company-splash-heading p { margin-top: 10px; font-size: 13px; }
  .company-wheel-card { margin-top: 20px; }
  .company-wheel-track { padding-inline: 16px; }
  .company-wheel-option { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; padding-inline: 12px; border-radius: 18px; }
  .company-wheel-icon { width: 50px; height: 50px; border-radius: 14px; font-size: 21px; }
  .company-wheel-copy strong { font-size: 14px; }.company-wheel-copy small { display: grid; gap: 3px; font-size: 9px; }
  .company-wheel-default { display: none; }
  .company-wheel-enter { gap: 3px; font-size: 11px; }
  .company-wheel-focus { border-radius: 18px; }
  .company-splash-logout { right: 18px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .company-wheel-option { transition: none; scroll-behavior: auto; }
}

@media (max-width: 540px) {
  .brand-symbol { font-size: 40px; }.brand-copy strong { font-size: 19px; }.selector-intro h1 { font-size: 35px; }.selector-intro h2 { font-size: 20px; }.company-meta { display: grid; gap: 3px; }.company-activity::before { display: none; }.company-name small { display: block; width: fit-content; margin: 5px 0 0; }
  .topbar-icon.messages, .mobile-section-link .morph-icon { display: none; }.mobile-section-link { padding: 0 11px; }.hero-row h1 { font-size: 30px; line-height: 1.1; }.command-bar kbd { display: none; }.quick-grid { grid-template-columns: repeat(2, 1fr); }.priority-list { grid-template-columns: 1fr; }.priority-card { min-height: 158px; }.activity-panel { padding: 18px; }.activity-panel ol::before { left: 47px; }.activity-panel li { grid-template-columns: 41px 9px 1fr; }.activity-panel li > b { grid-column: 3; }.pulse-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }.metric-card { flex: 0 0 225px; scroll-snap-align: start; }.profile .avatar { width: 42px; height: 42px; }
  .operation-hub-heading h1 { font-size: 36px; }.operation-hub-heading p { font-size: 14px; line-height: 1.45; }.operation-hub-card { min-height: 224px; padding: 17px; border-radius: 18px; }.operation-hub-card > header { grid-template-columns: 48px minmax(0, 1fr) 28px; gap: 11px; }.operation-hub-icon { width: 48px; height: 48px; }.operation-hub-icon .morph-icon { width: 25px; height: 25px; }.operation-hub-card h3 { font-size: 19px; }.hub-insight { font-size: 10px; }.hub-task-list { gap: 8px; margin-top: 16px; padding-top: 15px; }.hub-task-list > span, .hub-task-list > a { min-height: 40px; padding: 0 10px; font-size: 11px; }
  .catalog-header { grid-template-columns: 1fr auto; }.catalog-header .brand-copy { display: none; }.catalog-home-link { font-size: 12px; }.catalog-hero { margin-top: 28px; padding: 24px; }.catalog-hero-mark { display: none; }.catalog-grid { grid-template-columns: 1fr; }.catalog-module { min-height: 155px; padding: 20px; }.products-title { display: grid; margin-top: 32px; }.product-create { width: 100%; }.catalog-toolbar { grid-template-columns: 1fr; }.catalog-toolbar button { grid-column: auto; }.catalog-drawer { width: 100vw; padding: 21px; }.drawer-form-grid { grid-template-columns: 1fr; }.drawer-form-grid label.wide { grid-column: auto; }.catalog-drawer footer { align-items: stretch; flex-direction: column-reverse; text-align: center; }.catalog-drawer footer .primary-button { width: 100%; }.catalog-table th, .catalog-table td { padding: 12px; }
  .product-catalog-page { padding-inline: 15px; }.product-catalog-title-line { align-items: flex-start; flex-direction: column; gap: 7px; }.product-catalog-title-line h1 { font-size: 30px; }.product-catalog-toolbar { grid-template-columns: 1fr; }.product-catalog-toolbar > .catalog-new-product { grid-column: auto; }.product-filter-chips { margin-bottom: 10px; }.product-list-actions { flex-wrap: wrap; }.product-list-actions label { min-width: 0; }.product-action-spacer { display: none; }.product-list-actions > button { display: none; }.catalog-new-product.compact { margin-left: auto; }
  .product-table-wrap { overflow: visible; }.product-data-table { display: block; min-width: 0; }.product-data-table thead { display: none; }.product-data-table tbody { display: grid; }.product-data-table tbody tr { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; padding: 12px 10px; border-bottom: 1px solid #e7edef; }.product-data-table tbody tr.selected { border: 1px solid var(--teal); background: rgb(2 160 160 / 2%); }.product-data-table tbody td { display: none !important; height: auto; padding: 0; border: 0 !important; }.product-data-table tbody td:first-child { display: block !important; grid-column: 1; grid-row: 1; width: auto; }.product-data-table tbody td:nth-child(2) { display: block !important; grid-column: 2; grid-row: 1; min-width: 0; white-space: normal; }.product-data-table tbody td:nth-child(5) { display: block !important; grid-column: 2 / -1; grid-row: 2; min-width: 0; }.product-data-table tbody td:nth-child(9) { display: block !important; grid-column: 3; grid-row: 1; }.availability-cell span { display: inline-grid; grid-template-columns: 7px auto auto; margin: 0 10px 0 0; }.product-table-footer { grid-template-columns: 1fr; text-align: center; }.product-table-footer nav { justify-self: center; }
  .product-detail-panel { padding: 18px 14px; }.product-detail-header { grid-template-columns: 60px minmax(0, 1fr) 28px; }.product-detail-image { width: 60px; height: 56px; }.product-detail-tabs { overflow-x: auto; }.product-detail-actions { grid-template-columns: 1fr; }.supplier-heading { align-items: stretch; flex-direction: column; }.supplier-heading .catalog-new-product { width: 100%; }.supplier-form { grid-template-columns: 1fr; }.supplier-toolbar { grid-template-columns: 1fr; }.supplier-toolbar button { width: 100%; }
  .product-editor-form { width: min(92vw, 560px); }.editor-topbar .brand-copy, .editor-company { display: none; }.editor-topbar { grid-template-columns: 1fr; }.editor-heading { padding-top: 24px; }.editor-heading nav { flex-wrap: wrap; }.editor-actions { display: grid; grid-template-columns: 1fr 1fr; }.editor-actions > a { grid-column: 1 / -1; padding: 3px 0; }.editor-actions button { width: 100%; padding: 0 10px; }.editor-card { padding: 16px; }.editor-fields { grid-template-columns: 1fr; margin-left: 0; }.description-field { grid-column: auto; }.editor-card > header { margin-bottom: 15px; }.inventory-toggle span { display: none; }.future-sections summary { grid-template-columns: 28px 1fr 22px; }.future-sections summary small { display: none; }.future-sections details p { padding-left: 54px; }.advanced-section-body { padding: 0 15px 16px; overflow: hidden; }.advanced-section-body .advanced-intro, .advanced-section-body .advanced-note { padding-left: 0; }.barcode-list > header { align-items: start; flex-direction: column; }.barcode-row { grid-template-columns: 1fr; padding: 12px; border: 1px solid #edf1f2; border-radius: 10px; }.product-supplier-list { min-width: 0; overflow: visible; }.product-supplier-list > header { display: none; }.product-supplier-row { grid-template-columns: 32px minmax(0, 1fr); min-width: 0; align-items: end; padding: 14px 0; }.product-supplier-row > label:not(.preferred-radio) { grid-column: 2; min-width: 0; }.preferred-radio { grid-column: 1; grid-row: 1; align-self: center; }.supplier-alias { grid-column: 2 !important; }.product-preview-card { grid-template-columns: 70px 1fr; }.preview-image { width: 70px; height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 1ms !important; animation-delay: 0ms !important; }
}

.supplier-heading h1:focus { outline: 0; }

/* Supplier catalog */
.supplier-catalog-page { padding: 18px 1.8vw 54px; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 7%), transparent 28%), radial-gradient(circle at 0% 100%, rgb(255 189 101 / 9%), transparent 32%), #f8fafa; }
.supplier-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 34px 0 22px; }
.supplier-catalog-heading > div:first-child > p:last-child { margin: 7px 0 0; color: #607480; font-size: 12px; }
.supplier-title-line { display: flex; align-items: center; gap: 12px; }.supplier-title-line h1 { margin: 2px 0 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }.supplier-title-line > span { padding: 5px 9px; border: 1px solid #dce5e7; border-radius: 999px; background: white; color: #5c7280; font-size: 10px; font-weight: 750; }
.supplier-heading-actions { display: flex; gap: 10px; }.supplier-heading-actions > button { min-height: 43px; padding: 0 18px; border: 1px solid var(--border); border-radius: 10px; background: white; color: #6c7d87; font: inherit; font-weight: 750; }.supplier-heading-actions .catalog-new-product { min-height: 43px; }
.supplier-catalog-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 16px; align-items: start; }.supplier-catalog-workspace.without-detail { grid-template-columns: 1fr; }.supplier-catalog-main { min-width: 0; }
.supplier-catalog-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 132px auto auto; gap: 9px; margin-bottom: 12px; }.supplier-catalog-search { position: relative; }.supplier-catalog-search input { width: 100%; min-height: 46px; padding: 0 16px 0 42px; border: 1px solid var(--border); border-radius: 11px; background: white; color: var(--ink); font: inherit; }.supplier-catalog-search .search-icon { position: absolute; top: 15px; left: 17px; width: 14px; height: 14px; border: 1.7px solid #526a78; border-radius: 50%; }.supplier-catalog-search .search-icon::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.7px; rotate: 45deg; background: #526a78; }.supplier-filter-select select, .supplier-catalog-toolbar > button { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: white; color: var(--ink); font: inherit; font-weight: 750; }.supplier-catalog-toolbar > button:disabled { color: #819099; }
.supplier-filter-chips { display: flex; gap: 7px; overflow-x: auto; margin: 0 0 15px; padding-bottom: 2px; }.supplier-filter-chips a { flex: 0 0 auto; padding: 8px 15px; border: 1px solid #e0e7e9; border-radius: 999px; background: white; color: #526a78; font-size: 10px; font-weight: 750; text-decoration: none; }.supplier-filter-chips a.active { border-color: rgb(2 160 160 / 12%); background: #def4f2; color: #037f7f; }
.supplier-list-card { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: white; box-shadow: 0 8px 25px rgb(7 19 23 / 4%); }.supplier-table-wrap { overflow-x: auto; }.supplier-data-table { width: 100%; min-width: 840px; border-collapse: collapse; font-size: 10px; }.supplier-data-table th { height: 47px; padding: 8px 7px; color: #536a78; font-size: 9px; font-weight: 850; text-align: left; }.supplier-data-table td { height: 64px; padding: 8px 7px; border-top: 1px solid #e8edef; color: #314957; vertical-align: middle; }.supplier-data-table tbody tr { transition: background 160ms ease, box-shadow 160ms ease; }.supplier-data-table tbody tr:hover { background: #fbfefe; }.supplier-data-table tbody tr.selected { background: rgb(2 160 160 / 2%); box-shadow: inset 0 0 0 1px var(--teal); }.supplier-data-table td:nth-child(2) { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 145px; }.supplier-data-table td:nth-child(2) a { overflow: hidden; color: var(--ink); font-size: 11px; font-weight: 850; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }.supplier-data-table td:nth-child(2) small, .supplier-data-table td:nth-child(5) small { display: block; margin-top: 3px; color: #758792; font-size: 9px; }.supplier-data-table td:nth-child(5) strong { display: block; color: #324a57; font-size: 10px; }.supplier-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(145deg, #e4f8f8, #bde9e7); color: #018989; font-size: 11px; font-weight: 900; }.supplier-product-count { color: var(--teal-dark) !important; font-weight: 900; }.supplier-no-data { color: #89969d; }.supplier-state { display: inline-flex; align-items: center; width: fit-content; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 850; }.supplier-state.active { background: #e2f6ec; color: #078652; }.supplier-state.blocked { background: #fff0df; color: #c46d0b; }.supplier-state.inactive { background: #edf1f2; color: #697b85; }.supplier-more { color: var(--ink); font-size: 18px; line-height: 1; text-decoration: none; }.supplier-table-footer { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-top: 1px solid #e8edef; color: #657985; font-size: 10px; }
.supplier-detail-panel { position: sticky; top: 14px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: rgb(255 255 255 / 98%); box-shadow: 0 15px 42px rgb(7 19 23 / 8%); }.supplier-detail-header { display: grid; grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 11px; padding: 18px 16px 13px; }.supplier-detail-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 13px; background: linear-gradient(145deg, #dff7f5, #9ededa); color: #037d7e; font-weight: 900; }.supplier-detail-title { display: flex; align-items: center; gap: 7px; }.supplier-detail-title h2 { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.2; }.supplier-detail-header p { margin: 4px 0 1px; color: #72838d; font-size: 8px; }.supplier-detail-header > div > strong { display: block; color: #4f6572; font-size: 9px; }.supplier-detail-header > div > small { display: block; overflow: hidden; margin-top: 6px; color: #6d7f89; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.supplier-detail-header > a { display: grid; place-items: center; color: var(--ink); font-size: 22px; text-decoration: none; }
.supplier-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 16px 14px; }.supplier-kpis article { display: grid; grid-template-columns: 25px 1fr; gap: 2px 7px; min-height: 62px; padding: 9px; border: 1px solid #e1e7e9; border-radius: 9px; }.supplier-kpis article > span { grid-row: 1 / 3; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: #e7f7f6; color: var(--teal-dark); }.supplier-kpis small { color: #73848d; font-size: 7px; }.supplier-kpis strong { color: var(--ink); font-size: 11px; }
.supplier-detail-tabs { display: flex; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #e2e8ea; }.supplier-detail-tabs b, .supplier-detail-tabs span { padding: 11px 3px 9px; color: #71828b; font-size: 8px; }.supplier-detail-tabs b { border-bottom: 2px solid var(--teal); color: var(--teal-dark); }.supplier-detail-section { padding: 13px 16px; border-bottom: 1px solid #edf1f2; }.supplier-detail-section h3 { margin: 0 0 10px; color: var(--ink); font-size: 10px; }.supplier-detail-section dl { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8px 10px; margin: 0; font-size: 8px; }.supplier-detail-section dt { color: #6c7e88; }.supplier-detail-section dd { margin: 0; color: #304752; font-weight: 750; }.supplier-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }.supplier-tags span { padding: 4px 7px; border: 1px solid #dfe7e9; border-radius: 6px; color: #536a77; font-size: 7px; }.supplier-section-title { display: flex; align-items: center; justify-content: space-between; }.supplier-section-title > span { color: var(--teal-dark); font-size: 8px; font-weight: 850; }.supplier-linked-products article { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #eef2f3; }.supplier-linked-products article > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #f0f7f7; color: var(--teal-dark); }.supplier-linked-products strong, .supplier-linked-products small { display: block; }.supplier-linked-products strong { color: var(--ink); font-size: 8px; }.supplier-linked-products small { margin-top: 2px; color: #71828b; font-size: 7px; }.supplier-linked-products article > div:last-child { text-align: right; }.supplier-linked-products b { color: var(--ink); font-size: 8px; }.supplier-empty-copy { margin: 0; color: #72838c; font-size: 8px; }.supplier-integration-note { margin: 12px 16px; padding: 11px; border: 1px solid rgb(2 160 160 / 19%); border-radius: 9px; background: rgb(2 160 160 / 4%); }.supplier-integration-note strong { color: var(--teal-dark); font-size: 9px; }.supplier-integration-note p { margin: 4px 0 0; color: #637781; font-size: 8px; line-height: 1.45; }.supplier-detail-panel > footer { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 5px 16px 16px; }.supplier-detail-panel > footer a, .supplier-detail-panel > footer button { display: grid; place-items: center; min-height: 39px; border: 1px solid var(--border); border-radius: 9px; background: white; color: var(--ink); font-size: 9px; font-weight: 800; text-decoration: none; }.supplier-detail-panel > footer button { background: var(--primary-action-bg); color: white; opacity: .55; }
.rich-supplier-editor { margin: 0 0 20px; }.rich-supplier-editor .eyebrow { margin-bottom: 4px; }.rich-supplier-form { grid-template-columns: repeat(4, minmax(0, 1fr)); }.rich-supplier-form > h3 { grid-column: 1 / -1; margin: 8px 0 -4px; padding-top: 12px; border-top: 1px solid #e8edef; color: var(--ink); font-size: 13px; }.rich-supplier-form > h3:first-of-type { padding-top: 0; border: 0; }.supplier-form select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #d6dfe2; border-radius: 9px; background: white; font: inherit; }.supplier-preferred { display: flex !important; align-items: center; }.supplier-preferred input { width: 18px; min-height: 18px; }.supplier-role-picker { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; padding: 12px; border: 1px solid #e0e7e9; border-radius: 10px; }.supplier-role-picker legend { padding: 0 6px; color: #435968; font-size: 10px; font-weight: 850; }.supplier-role-picker label { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 7px; background: #f5f9f9; }.supplier-role-picker input { width: 15px; min-height: 15px; }.rich-supplier-form .create-button { grid-column: 4; }

/* Customer catalog: full workspace composition with a persistent relationship detail. */
.customer-catalog-frame { min-height: 100vh; background: radial-gradient(circle at 100% 0%, rgb(2 160 160 / 6%), transparent 29%), radial-gradient(circle at 0% 100%, rgb(255 189 101 / 7%), transparent 30%), #f8fafa; }
.customer-catalog-frame > .topbar { position: sticky; top: 0; border-bottom: 1px solid #e4eaec; box-shadow: 0 3px 18px rgb(7 19 23 / 3%); }
.customer-catalog-frame > .access-state { margin: 54px auto; }
.customer-catalog-page { min-height: calc(100vh - 78px); padding: 27px 2.7vw 54px; background: transparent; }
.customer-catalog-page.has-fixed-detail { padding-right: calc(420px + 2.7vw); }
.customer-catalog-page .supplier-catalog-heading { align-items: center; margin: 0 0 24px; }
.customer-catalog-page .supplier-catalog-heading > div:first-child > p:last-child { max-width: 720px; margin-top: 8px; font-size: 13px; }
.customer-catalog-page .supplier-title-line { gap: 10px; }
.customer-catalog-page .supplier-title-line h1 { font-size: clamp(32px, 3vw, 44px); }
.customer-catalog-page .supplier-title-line::before { content: none; }
.customer-catalog-breadcrumbs { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: #81909a; font-size: 11px; font-weight: 800; letter-spacing: .035em; }
.customer-catalog-breadcrumbs a { color: var(--teal-dark); text-decoration: none; }
.customer-catalog-breadcrumbs strong { color: #536a77; }
.customer-catalog-page .supplier-catalog-workspace { display: block; }
.customer-catalog-page .supplier-detail-panel { position: fixed; z-index: 32; top: 78px; right: 0; width: 420px; height: calc(100vh - 78px); overflow-y: auto; border-width: 0 0 0 1px; border-radius: 0; box-shadow: -12px 0 34px rgb(7 19 23 / 7%); }
.customer-catalog-page .supplier-detail-header { padding-top: 24px; }
.customer-catalog-page .supplier-detail-panel > footer { position: sticky; bottom: 0; padding-top: 12px; border-top: 1px solid #e6ebed; background: rgb(255 255 255 / 97%); }
.customer-catalog-page .supplier-data-table { min-width: 930px; }
.customer-catalog-page .supplier-data-table td:nth-child(8) { color: var(--teal-dark); font-weight: 850; }
.customer-catalog-page .supplier-data-table td:nth-child(9) { color: #83929a; }
.customer-repeat-row { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.15fr 1fr 1.2fr 1fr auto; gap: 10px; align-items: end; padding: 12px; border: 1px solid #e0e7e9; border-radius: 11px; background: #f8fbfb; }
.customer-repeat-row.address-row { grid-template-columns: .75fr 1fr 1.8fr 1fr 1fr .8fr .55fr auto; }
.customer-repeat-row label { min-width: 0; }
.customer-primary { display: flex !important; align-items: center; min-height: 42px; padding: 0 8px; }
.customer-primary input { width: 16px; min-height: 16px; accent-color: var(--teal); }
.customer-special-terms { grid-column: 1 / 4; }
.customer-special-terms textarea { width: 100%; min-height: 78px; resize: vertical; padding: 10px 11px; border: 1px solid #d6dfe2; border-radius: 9px; font: inherit; }
.customer-contact-list { display: grid; gap: 8px; }
.customer-contact-list article { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding: 9px 0; border-top: 1px solid #eef2f3; }
.customer-contact-list article:first-child { border-top: 0; }
.customer-contact-list strong { color: var(--ink); font-size: 12px; }
.customer-contact-list small { grid-column: 1; color: #6d808a; font-size: 10px; }
.customer-contact-list span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #3a5360; font-size: 10px; text-align: right; }
.customer-health-note { border-color: rgb(255 189 101 / 42%); background: rgb(255 189 101 / 9%); }
.customer-health-note strong { color: #8d5c12; }
.customer-heading-actions { align-items: center; }
.customer-import-menu { position: relative; }
.customer-import-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 0 18px; border: 1px solid var(--border); border-radius: 10px; background: white; color: #526a78; font-weight: 800; cursor: pointer; list-style: none; }
.customer-import-menu summary .morph-icon { width: 18px; height: 18px; }
.customer-import-menu summary::-webkit-details-marker { display: none; }
.customer-import-menu > div { position: absolute; z-index: 35; top: calc(100% + 8px); right: 0; display: grid; gap: 5px; width: min(360px, 86vw); padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 18px 46px rgb(7 19 23 / 14%); }
.customer-import-menu button { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: #f7fafa; color: #536a77; text-align: left; opacity: 1; }
.customer-import-menu button > .morph-icon { width: 22px; height: 22px; color: var(--teal-dark); }.customer-import-menu button span { display: grid; gap: 3px; }
.customer-import-menu button strong { color: var(--ink); font-size: 12px; }.customer-import-menu button small { font-size: 10px; line-height: 1.35; }
.customer-catalog-toolbar { position: relative; grid-template-columns: minmax(320px, 1fr) auto auto; align-items: start; }
.customer-catalog-page .catalog-new-product { gap: 8px; }.customer-catalog-page .catalog-new-product .morph-icon { width: 19px; height: 19px; }
.customer-catalog-page .supplier-catalog-search .search-morph-icon { position: absolute; z-index: 1; top: 13px; left: 15px; width: 19px; height: 19px; color: #526a78; }
.customer-filter-menu, .customer-group-menu { position: relative; }
.customer-filter-menu > summary, .customer-group-menu > summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 16px; border: 1px solid var(--border); border-radius: 10px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; list-style: none; white-space: nowrap; }
.customer-filter-menu > summary > .morph-icon:first-child, .customer-group-menu > summary > .morph-icon:first-child { width: 18px; height: 18px; color: var(--teal-dark); }
.customer-menu-chevron { width: 14px; height: 14px; rotate: 90deg; transition: rotate 180ms ease; }.customer-filter-menu[open] .customer-menu-chevron, .customer-group-menu[open] .customer-menu-chevron { rotate: -90deg; }
.customer-filter-menu > summary::-webkit-details-marker, .customer-group-menu > summary::-webkit-details-marker { display: none; }
.customer-filter-menu summary > span, .customer-group-menu summary > span { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #def4f2; color: var(--teal-dark); font-size: 10px; }
.customer-filter-menu summary b, .customer-group-menu summary b { font-size: 10px; }
.customer-filter-popover, .customer-group-menu > div { position: absolute; z-index: 30; top: calc(100% + 7px); right: 0; width: min(380px, 90vw); padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 18px 48px rgb(7 19 23 / 14%); }
.customer-filter-popover { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.customer-filter-popover label { display: grid; gap: 5px; color: #526a78; font-size: 11px; font-weight: 750; }
.customer-filter-popover select { width: 100%; min-height: 39px; padding: 0 9px; border: 1px solid #dce4e7; border-radius: 8px; background: white; color: var(--ink); }
.customer-filter-popover > div { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.customer-filter-popover > div a { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-decoration: none; }.customer-filter-popover > div button { min-height: 39px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--primary-action-bg); color: white; font-weight: 800; }
.customer-group-menu > div { display: grid; width: 190px; padding: 7px; }
.customer-group-menu > div a { padding: 9px 10px; border-radius: 7px; color: #405865; font-size: 11px; font-weight: 750; text-decoration: none; }.customer-group-menu > div a:hover, .customer-group-menu > div a.active { background: #e8f7f6; color: var(--teal-dark); }
.customer-table-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #667b86; font-size: 12px; }
.customer-table-tools-top { margin: 0 0 10px; }
.customer-pager { display: flex; align-items: center; gap: 8px; }
.customer-pager label { display: flex; align-items: center; gap: 7px; color: #4f6673; font-weight: 750; }
.customer-pager select { min-width: 76px; height: 38px; padding: 0 10px; border: 1px solid #dce4e7; border-radius: 9px; background: white; color: var(--ink); font: inherit; }
.customer-pager a, .customer-pager > strong { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dce4e7; border-radius: 9px; background: white; color: var(--ink); text-decoration: none; }
.customer-pager a .morph-icon { width: 17px; height: 17px; }.customer-pager a.pager-back .morph-icon { rotate: 180deg; }
.customer-pager > strong { border-color: var(--teal); background: var(--teal); color: white; }.customer-pager a.disabled { pointer-events: none; color: #abb6bc; opacity: .55; }
.customer-clickable-row { cursor: pointer; }.customer-clickable-row:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.customer-group-row td { height: 34px !important; padding: 7px 14px !important; background: #f2f8f8; color: var(--teal-dark) !important; font-size: 11px; font-weight: 850; letter-spacing: .02em; }
.customer-receivable strong { display: block; color: #6b7e88; }.customer-receivable small { display: block; margin-top: 3px; color: #8a989f; font-size: 9px; font-weight: 650; white-space: nowrap; }
.customer-catalog-page .supplier-more { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }.customer-catalog-page .supplier-more:hover { background: #eaf7f6; color: var(--teal-dark); }.customer-catalog-page .supplier-more .morph-icon { width: 19px; height: 19px; }
.customer-catalog-page .supplier-detail-header > a .morph-icon { width: 19px; height: 19px; }
.customer-catalog-page .supplier-kpis article .morph-icon { width: 17px; height: 17px; }
.customer-table-footer { align-items: center; }.customer-table-footer .customer-pager { margin-left: auto; }

/* Shared workspace list system: every operational module except Home composes these primitives. */
.workspace-module-header { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(470px, 650px) minmax(210px, 1fr); align-items: start; gap: 24px; margin: 0 0 10px; }
.workspace-module-identity { align-self: center; min-width: 0; }
.workspace-module-identity h1 { margin: 8px 0 0; color: #111820; font-size: clamp(20px, 1.65vw, 26px); line-height: 1.05; letter-spacing: -.025em; }
.workspace-module-identity h1:focus { outline: 0; }
.workspace-breadcrumbs { display: flex; align-items: center; gap: 7px; overflow: hidden; color: #7d8b9c; font-size: 11px; font-weight: 680; white-space: nowrap; }
.workspace-breadcrumbs a { display: inline-flex; align-items: center; color: #758498; text-decoration: none; }
.workspace-breadcrumbs a:first-child { color: #90a0ac; }
.workspace-breadcrumbs a:first-child .morph-icon { width: 14px; height: 14px; }
.workspace-breadcrumbs strong { overflow: hidden; color: #5573e7; font-weight: 760; text-overflow: ellipsis; }
.workspace-module-query { justify-self: center; width: min(100%, 650px); }
.workspace-query-form.customer-catalog-toolbar { grid-template-columns: minmax(250px, 1fr) auto auto; align-items: center; gap: 10px; margin: 0; }
.workspace-query-form .supplier-catalog-search input,
.workspace-query-form .customer-filter-menu > summary,
.workspace-query-form .customer-group-menu > summary { min-height: 38px; height: 38px; border-radius: 8px; }
.workspace-query-form .supplier-catalog-search .search-morph-icon { top: 10px; left: 13px; width: 17px; height: 17px; }
.workspace-query-form .supplier-catalog-search input { padding-left: 39px; font-size: 12px; }
.workspace-query-form .customer-filter-menu > summary,
.workspace-query-form .customer-group-menu > summary { padding-inline: 14px; font-size: 11px; }
.workspace-query-form .customer-filter-menu > summary > .morph-icon:first-child,
.workspace-query-form .customer-group-menu > summary > .morph-icon:first-child { width: 16px; height: 16px; }
.workspace-view-chips.supplier-filter-chips { justify-content: center; gap: 7px; margin: 6px 0 0; padding: 0; }
.workspace-view-chips.supplier-filter-chips a { min-width: 66px; padding: 6px 13px; text-align: center; }
.workspace-module-actions { align-self: center; justify-self: end; }
.workspace-module-actions .supplier-heading-actions { align-items: center; }
.workspace-module-actions .workspace-import-action { width: 38px; min-height: 38px; padding: 0; border: 0; background: #efe9ff; color: #8166e8; }
.workspace-module-actions .workspace-import-action > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.workspace-module-actions .workspace-import-action .morph-icon { width: 17px; height: 17px; }
.workspace-module-actions .catalog-new-product { min-height: 43px; padding-inline: 16px; border-radius: 8px; background: linear-gradient(105deg, #2865ea 0%, #16aabd 100%); box-shadow: 0 4px 0 rgb(25 91 157 / 12%); font-size: 11px; }

.workspace-data-card.supplier-list-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.workspace-data-scroll { overflow-x: auto; overflow-y: visible; padding: 0 5px 10px; margin: 0 -5px; }
.workspace-data-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.workspace-data-table thead th { height: 46px; padding-block: 9px; border: 0; background: #f3f6fb; color: #5e6c7d; font-size: 14px; font-weight: 500; }
.workspace-data-table thead th:first-child { border-radius: 10px 0 0 10px; }
.workspace-data-table thead th:last-child { border-radius: 0 10px 10px 0; }
.workspace-sort-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.workspace-sort-link:hover,
.workspace-sort-link:focus-visible,
.workspace-sort-link.active { color: #263f78; }
.workspace-sort-link:focus-visible { border-radius: 5px; outline: 2px solid rgb(66 97 233 / 34%); outline-offset: 2px; }
.workspace-sort-indicator { width: 13px; height: 13px; fill: none; stroke: #98a5b6; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.workspace-sort-link.active .workspace-sort-indicator { stroke: #315de8; }
.workspace-sort-link.active .sort-up,
.workspace-sort-link.active .sort-down { opacity: .24; }
th[aria-sort="ascending"] .workspace-sort-indicator .sort-up,
th[aria-sort="descending"] .workspace-sort-indicator .sort-down { opacity: 1; stroke-width: 2.2; }
.workspace-data-table tbody tr.workspace-data-row { position: relative; cursor: pointer; transition: filter 180ms ease, transform 180ms ease; }
.workspace-data-table tbody tr.workspace-data-row td { height: 58px; border: 0; background: rgb(255 255 255 / 72%); transition: background 180ms ease; }
.workspace-data-table tbody tr.workspace-data-row td:first-child { border-radius: 12px 0 0 12px; }
.workspace-data-table tbody tr.workspace-data-row td:last-child { border-radius: 0 12px 12px 0; }
.workspace-data-table tbody tr.workspace-data-row:hover,
.workspace-data-table tbody tr.workspace-data-row:focus-within { z-index: 2; filter: drop-shadow(0 9px 12px rgb(23 44 62 / 13%)); transform: translateY(-1px); }
.workspace-data-table tbody tr.workspace-data-row:hover td,
.workspace-data-table tbody tr.workspace-data-row:focus-within td { background: #fff; }
.workspace-data-table tbody tr.workspace-data-row.selected { box-shadow: none; filter: drop-shadow(0 7px 12px rgb(20 126 130 / 11%)); }
.workspace-data-table tbody tr.workspace-data-row.selected td { border-top: 1px solid rgb(20 184 166 / 42%); border-bottom: 1px solid rgb(20 184 166 / 42%); background: #fff; box-shadow: none; }
.workspace-data-table tbody tr.workspace-data-row.selected td:first-child { border-left: 1px solid rgb(20 184 166 / 42%); }
.workspace-data-table tbody tr.workspace-data-row.selected td:last-child { border-right: 1px solid rgb(20 184 166 / 42%); }
.workspace-data-table tbody tr.workspace-data-row:focus,
.workspace-data-table tbody tr.workspace-data-row:focus-visible { outline: none !important; box-shadow: none !important; }
.workspace-data-table tbody tr.workspace-data-row:not(.selected):focus-visible { filter: drop-shadow(0 9px 12px rgb(23 44 62 / 13%)); transform: translateY(-1px); }
.workspace-data-table tbody tr.workspace-data-row:not(.selected):focus-visible td { border: 0; background: #f8fbfc; }
.workspace-data-table input[data-workspace-select-all] { width: 18px; height: 18px; margin: 0; vertical-align: middle; accent-color: #315de8; cursor: pointer; }
.workspace-data-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: 67px; padding: 12px 16px; border: 1px solid #e4eaf0; border-top: 0; border-radius: 0 0 12px 12px; background: rgb(255 255 255 / 86%); color: #71808e; font-size: 10px; }
.workspace-data-page-size { justify-self: start; }
.workspace-data-page-size label { display: flex; align-items: center; gap: 8px; color: #526271; font-weight: 700; }
.workspace-data-page-size select { min-width: 76px; height: 38px; padding: 0 10px; border: 1px solid #dce4e7; border-radius: 8px; background: white; color: #142033; font: inherit; font-weight: 700; }
.workspace-data-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; }
.workspace-data-pagination a,
.workspace-data-pagination strong { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dfe6ed; border-radius: 8px; background: white; color: #536273; text-decoration: none; }
.workspace-data-pagination a .morph-icon { width: 16px; height: 16px; }
.workspace-data-pagination .pager-back .morph-icon { rotate: 180deg; }
.workspace-data-pagination strong { border-color: #2865ea; background: #2865ea; color: white; }
.workspace-data-pagination a.disabled { pointer-events: none; opacity: .4; }
.workspace-data-summary { justify-self: end; text-align: right; }

@media (max-width: 1040px) {
  .workspace-module-header { grid-template-columns: minmax(190px, .8fr) minmax(390px, 1.2fr); }
  .workspace-module-actions { grid-column: 2; grid-row: 1; align-self: start; }
  .workspace-module-query { grid-column: 1 / -1; grid-row: 2; width: 100%; }
}

@media (max-width: 700px) {
  .workspace-module-header { grid-template-columns: 1fr; gap: 14px; }
  .workspace-module-identity,
  .workspace-module-query,
  .workspace-module-actions { grid-column: 1; grid-row: auto; width: 100%; }
  .workspace-module-actions { justify-self: stretch; }
  .workspace-module-actions .supplier-heading-actions { display: grid; grid-template-columns: 42px 1fr; }
  .workspace-query-form.customer-catalog-toolbar { grid-template-columns: 1fr 1fr; }
  .workspace-query-form .supplier-catalog-search { grid-column: 1 / -1; }
  .workspace-control-label { display: inline; }
  .workspace-view-chips.supplier-filter-chips { justify-content: flex-start; }
  .workspace-data-scroll { overflow: visible; padding: 0; margin: 0; }
  .workspace-data-table tbody { gap: 10px; }
  .workspace-data-table tbody tr.workspace-data-row { border: 0; filter: drop-shadow(0 5px 10px rgb(23 44 62 / 7%)); }
  .workspace-data-table tbody tr.workspace-data-row td { background: white; }
  .workspace-data-footer { grid-template-columns: 1fr auto; }
  .workspace-data-pagination { justify-self: end; }
  .workspace-data-summary { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}

@media (max-width: 1120px) {
  .supplier-catalog-workspace { grid-template-columns: 1fr; }.supplier-detail-panel { position: static; }.supplier-catalog-toolbar { grid-template-columns: minmax(240px, 1fr) 125px auto auto; }
  .customer-catalog-page.has-fixed-detail { padding-right: 2.7vw; }
  .customer-catalog-page .supplier-detail-panel { position: static; width: 100%; height: auto; margin-top: 16px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 15px 42px rgb(7 19 23 / 8%); }
  .customer-catalog-page .supplier-detail-panel > footer { position: static; }
}

@media (max-width: 700px) {
  .supplier-catalog-page { padding-inline: 15px; }.supplier-catalog-heading { align-items: stretch; flex-direction: column; margin-top: 25px; }.supplier-title-line { align-items: flex-start; flex-direction: column; }.supplier-title-line h1 { font-size: 30px; }.supplier-heading-actions { display: grid; grid-template-columns: 1fr 1fr; }.supplier-heading-actions > button, .supplier-heading-actions .catalog-new-product { width: 100%; }.supplier-catalog-toolbar { grid-template-columns: 1fr; }.supplier-filter-select { display: none; }.supplier-filter-chips { margin-bottom: 10px; }.supplier-list-card, .supplier-table-wrap { overflow: visible; }.supplier-data-table { display: block; min-width: 0; }.supplier-data-table thead { display: none; }.supplier-data-table tbody { display: grid; gap: 8px; }.supplier-data-table tbody tr { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: 5px 8px; padding: 11px; border: 1px solid #e2e8ea; border-radius: 11px; background: white; }.supplier-data-table td { display: none !important; height: auto; padding: 0; border: 0; }.supplier-data-table td:first-child { display: block !important; grid-column: 1; grid-row: 1; }.supplier-data-table td:nth-child(2) { display: grid !important; grid-column: 2; grid-row: 1; min-width: 0; }.supplier-data-table td:nth-child(6) { display: block !important; grid-column: 2; grid-row: 2; color: #627681 !important; }.supplier-data-table td:nth-child(6)::before { content: "Productos vinculados: "; font-weight: 600; }.supplier-data-table td:nth-child(10) { display: block !important; grid-column: 3; grid-row: 1; }.supplier-data-table td:nth-child(11) { display: block !important; grid-column: 3; grid-row: 2; text-align: right; }.supplier-table-footer { flex-direction: column; }.supplier-detail-panel { width: 100%; }.supplier-detail-tabs { overflow-x: auto; gap: 18px; justify-content: flex-start; }.rich-supplier-form { grid-template-columns: 1fr; }.rich-supplier-form > h3, .supplier-role-picker, .rich-supplier-form .create-button { grid-column: 1; }.supplier-role-picker { display: grid; grid-template-columns: 1fr 1fr; }.supplier-editor-card > header { align-items: flex-start; flex-direction: column; }
  .customer-catalog-page .supplier-title-line::before { flex-basis: 40px; width: 40px; height: 40px; }
  .customer-catalog-page { min-height: calc(100vh - 78px); padding: 22px 15px 48px; }
  .customer-catalog-page .supplier-catalog-heading { margin-top: 0; }
  .customer-catalog-page .supplier-title-line { gap: 7px; }
  .customer-catalog-page .supplier-title-line h1 { font-size: 30px; }
  .customer-catalog-page .supplier-title-line > span { align-self: flex-start; }
  .customer-catalog-breadcrumbs { overflow-x: auto; white-space: nowrap; }
  .customer-catalog-page .supplier-data-table { width: 100%; min-width: 0; }
  .customer-repeat-row, .customer-repeat-row.address-row { grid-template-columns: 1fr; }
  .customer-special-terms { grid-column: 1; }
  .customer-catalog-page .supplier-data-table td:nth-child(6)::before { content: "Canal: "; }
  .customer-heading-actions { grid-template-columns: 1fr 1fr; }.customer-import-menu summary { width: 100%; }.customer-catalog-toolbar { grid-template-columns: 1fr 1fr; }.customer-catalog-toolbar .supplier-catalog-search { grid-column: 1 / -1; }.customer-filter-menu > summary, .customer-group-menu > summary { width: 100%; }.customer-filter-popover { left: 0; right: auto; grid-template-columns: 1fr; }.customer-filter-popover > div { grid-column: 1; }.customer-table-tools { align-items: flex-start; flex-direction: column; }.customer-pager { width: 100%; }.customer-table-footer .customer-pager { margin-left: 0; }.customer-group-row { display: block !important; }.customer-group-row td { display: block !important; }
}

/* Catalog legibility: retain the dense layout without dropping below a readable UI scale. */
.product-data-table th { font-size: 11px; }
.product-data-table td { font-size: 12px; }
.product-data-table td:nth-child(2) a { font-size: 12px; }
.product-data-table .catalog-status { font-size: 10px; }
.product-table-footer { font-size: 11px; }
.product-detail-header h2 { font-size: 18px; }
.product-detail-badge { font-size: 10px; }
.product-detail-header p { font-size: 12px; }
.product-detail-tabs { font-size: 11px; }
.product-detail-summary div { font-size: 12px; line-height: 1.35; }
.product-detail-stock h3, .product-detail-stock p { font-size: 12px; }
.product-detail-actions a, .product-detail-actions button { font-size: 12px; }

.supplier-data-table { font-size: 12px; }
.supplier-data-table th { font-size: 11px; }
.supplier-data-table td:nth-child(2) a { font-size: 13px; }
.supplier-data-table td:nth-child(2) small,
.supplier-data-table td:nth-child(5) small { font-size: 10px; }
.supplier-data-table td:nth-child(5) strong { font-size: 12px; }
.supplier-state { font-size: 11px; }
.supplier-table-footer { font-size: 12px; }
.supplier-detail-title h2 { font-size: 18px; }
.supplier-detail-header p,
.supplier-detail-header > div > strong,
.supplier-detail-header > div > small { font-size: 11px; }
.supplier-kpis small { font-size: 10px; line-height: 1.25; }
.supplier-kpis strong { font-size: 14px; }
.supplier-detail-tabs b,
.supplier-detail-tabs span { font-size: 11px; }
.supplier-detail-section h3 { font-size: 13px; }
.supplier-detail-section dl { font-size: 12px; line-height: 1.4; }
.supplier-tags span { font-size: 10px; }
.supplier-section-title > span,
.supplier-linked-products strong,
.supplier-linked-products b,
.supplier-empty-copy { font-size: 11px; }
.supplier-linked-products small { font-size: 10px; }
.supplier-integration-note strong { font-size: 12px; }
.supplier-integration-note p { font-size: 11px; }
.supplier-detail-panel > footer a,
.supplier-detail-panel > footer button { font-size: 12px; }

/* Company locations: warehouses and branches */
.location-catalog-page .supplier-title-line::before { content: "⌂"; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, #6d62dc, #5144bd); color: white; font-size: 24px; box-shadow: 0 8px 18px rgb(81 68 189 / 20%); }
.location-catalog-page .supplier-data-table { min-width: 980px; }
.location-data-table td:nth-child(5) strong,
.location-data-table td:nth-child(6) strong { display: block; color: var(--ink); font-size: 11px; }
.location-data-table td:nth-child(5) small,
.location-data-table td:nth-child(6) small { display: block; margin-top: 3px; color: #71838d; font-size: 10px; }
.location-type { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 999px; background: #edf4ff; color: #4166a8; font-size: 10px; font-weight: 800; }
.location-type.branch { background: #e8f8f5; color: #087e72; }
.location-type.hybrid { background: #f0edff; color: #6252bc; }
.location-capability-summary { color: #49616e; font-size: 10px; font-weight: 700; }
.location-form .location-address { grid-column: span 2; }
.location-capabilities label { min-width: 150px; }
.location-detail-capabilities { display: flex; flex-wrap: wrap; gap: 7px; }
.location-detail-capabilities span { padding: 7px 10px; border: 1px solid #e0e6e8; border-radius: 999px; background: #f6f8f8; color: #87959c; font-size: 10px; font-weight: 800; }
.location-detail-capabilities span.enabled { border-color: rgb(2 160 160 / 24%); background: rgb(2 160 160 / 9%); color: var(--teal-dark); }
.location-detail-panel .supplier-honesty-card { margin: 4px 0 16px; padding: 13px; border: 1px solid rgb(2 160 160 / 22%); border-radius: 11px; background: rgb(2 160 160 / 5%); }
.location-detail-panel .supplier-honesty-card h3 { margin: 0 0 5px; color: var(--teal-dark); }
.location-detail-panel .supplier-honesty-card p { margin: 0; color: #607580; font-size: 11px; line-height: 1.55; }

@media (max-width: 720px) {
  .location-catalog-page .supplier-title-line::before { flex-basis: 40px; width: 40px; height: 40px; }
  .location-catalog-page .supplier-data-table { width: 100%; min-width: 0; }
  .location-catalog-page .supplier-data-table td:nth-child(6),
  .location-catalog-page .supplier-data-table td:nth-child(10),
  .location-catalog-page .supplier-data-table td:nth-child(11) { display: none !important; }
  .location-catalog-page .supplier-data-table td:nth-child(4) { display: block !important; grid-column: 2; grid-row: 2; }
  .location-catalog-page .supplier-data-table td:nth-child(8) { display: block !important; grid-column: 3; grid-row: 1; }
  .location-catalog-page .supplier-data-table td:nth-child(9) { display: block !important; grid-column: 3; grid-row: 2; text-align: right; }
  .location-form .location-address { grid-column: 1; }
  .location-capabilities { grid-template-columns: 1fr; }
}

/* Physical network: operational sites -> warehouses -> recursive storage locations. */
.location-network-heading { align-items: flex-end; }
.location-network-actions { flex-wrap: wrap; }
.location-network-actions > a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 14px; border: 1px solid #cfdbde; border-radius: 10px; background: white; color: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.location-network-actions .catalog-new-product { border: 0; background: var(--primary-action-bg); box-shadow: var(--primary-action-shadow); color: white; }
.location-network-empty { margin-top: 18px; border: 1px solid var(--border); border-radius: 16px; background: white; }
.location-network { display: grid; gap: 18px; margin-top: 18px; }
.location-layer { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: rgb(255 255 255 / 94%); box-shadow: 0 10px 30px rgb(7 19 23 / 4%); }
.location-layer > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid #e5ebed; background: linear-gradient(90deg, rgb(2 160 160 / 5%), transparent); }
.location-layer > header > div { display: flex; align-items: center; gap: 12px; }
.location-layer > header h2 { margin: 0 0 3px; font-size: 17px; }
.location-layer > header p { margin: 0; color: #71838d; font-size: 11px; }
.location-layer > header > strong { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: white; color: var(--teal-dark); font-size: 12px; }
.location-layer-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal); color: white; font-size: 13px; font-weight: 900; }
.location-warehouse-layer .location-layer-number { background: #5d52d9; }
.location-storage-layer .location-layer-number { background: #d98b23; }
.location-node-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 13px; }
.location-node { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; min-width: 0; padding: 14px; border: 1px solid #e1e8ea; border-radius: 12px; background: white; }
.location-node-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(145deg, #def7f5, #a9e4df); color: #087f7f; font-size: 12px; font-weight: 900; }
.warehouse-node .location-node-icon { background: linear-gradient(145deg, #ece9ff, #cec8ff); color: #5d52c1; }
.location-node-main { min-width: 0; }
.location-node-main > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.location-node-main h3 { margin: 0; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.location-node-main > div > span { padding: 4px 7px; border-radius: 999px; background: #e4f7f2; color: #0c855c; font-size: 9px; font-weight: 850; }
.location-node-main p { margin: 4px 0 3px; color: #415967; font-size: 11px; font-weight: 750; }
.location-node-main small { display: block; overflow: hidden; color: #71838d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.location-node-links { display: flex !important; gap: 10px !important; margin-top: 9px; color: #627681; font-size: 10px; }
.location-node-links strong { color: var(--teal-dark); }
.location-node-actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; }
.location-node-actions a { min-width: 68px; padding: 5px 8px; border-radius: 7px; color: #4e6673; font-size: 10px; font-weight: 800; text-align: center; text-decoration: none; }
.location-node-actions a:first-child { background: #e8f8f6; color: var(--teal-dark); }
.location-storage-table { display: grid; padding: 8px 13px 13px; }
.location-storage-row { display: grid; grid-template-columns: 1.35fr 1fr .7fr .75fr 55px; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px; border-bottom: 1px solid #e8edef; color: #405765; font-size: 11px; }
.location-storage-row:last-child { border-bottom: 0; }
.location-storage-row.heading { min-height: 38px; color: #71838d; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.location-storage-row > span:first-child { padding-left: calc(var(--location-depth, 0) * 18px); }
.location-storage-row strong, .location-storage-row small { display: block; }
.location-storage-row strong { color: var(--ink); font-size: 12px; }
.location-storage-row small { margin-top: 2px; color: #71838d; font-size: 10px; }
.location-storage-row em { font-style: normal; }
.location-storage-row a { color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.location-network-detail { position: fixed; z-index: 20; top: 18px; right: 18px; width: min(390px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow-y: auto; box-shadow: 0 22px 70px rgb(7 19 23 / 20%); }
.location-network-detail > section { padding: 15px 17px; border-top: 1px solid #e8edef; }
.location-network-detail > section h3 { margin: 0 0 10px; font-size: 13px; }
.location-network-detail > section dl { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; margin: 0; font-size: 11px; }
.location-network-detail > section dt { color: #6f818b; }
.location-network-detail > section dd { margin: 0; color: #304852; font-weight: 750; }

@media (max-width: 900px) {
  .location-network-heading { align-items: stretch; }
  .location-network-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .location-network-actions .catalog-new-product { grid-column: 1 / -1; }
  .location-node-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .location-network-actions { grid-template-columns: 1fr; }
  .location-network-actions .catalog-new-product { grid-column: 1; }
  .location-layer > header { align-items: flex-start; }
  .location-layer > header p { max-width: 250px; }
  .location-node { grid-template-columns: 42px minmax(0, 1fr); }
  .location-node-icon { width: 42px; height: 42px; }
  .location-node-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-end; }
  .location-storage-table { overflow-x: auto; }
  .location-storage-row { min-width: 650px; }
  .location-network-detail { top: 10px; right: 10px; width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
}
.customer-import-menu button[data-fiscal-import-open]{background:#f0f8fa;cursor:pointer}
.customer-import-menu button[data-fiscal-import-open]:hover{background:#e6f6f6}
.fiscal-drop-overlay{display:none;position:fixed;inset:0;z-index:90;place-items:center;pointer-events:none;background:linear-gradient(135deg,rgba(248,252,255,.92),rgba(232,250,248,.9));backdrop-filter:blur(5px);color:#233448;text-align:center}
.is-dragging-file .fiscal-drop-overlay{display:grid}
.fiscal-drop-overlay>div{display:grid;gap:7px;padding:24px}
.fiscal-drop-overlay strong{font-size:clamp(22px,3vw,38px);font-weight:750}
.fiscal-drop-overlay small{font-size:16px;color:#496879}
.fiscal-import-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid #d8e6ec;border-radius:22px;background:#fff;box-shadow:0 24px 72px rgba(13,27,42,.18);color:#233448}
.fiscal-import-dialog::backdrop{background:rgba(18,37,56,.32);backdrop-filter:blur(3px)}
.fiscal-import-dialog form{display:grid;gap:17px;padding:26px}
.fiscal-import-dialog header{display:flex;align-items:start;justify-content:space-between;gap:20px}
.fiscal-import-dialog h2{margin:2px 0 0;font-size:25px}
.fiscal-import-dialog p{margin:0;color:#526678;line-height:1.5}
.fiscal-import-dialog label{display:grid;gap:7px;font-weight:650}
.fiscal-import-dialog [hidden]{display:none!important}
.fiscal-import-dialog input[type=file],.fiscal-import-dialog select{max-width:100%;padding:12px;border:1px solid #cbd9e6;border-radius:12px;background:#f8fbff;color:#233448;font:inherit}
.fiscal-import-dialog small{color:#617386;line-height:1.4}
.fiscal-import-dialog .fiscal-file-error{color:#a14235}
.fiscal-import-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:3px}
.fiscal-import-dialog button{padding:10px 16px;border:1px solid #cbd9e6;border-radius:11px;background:#fff;color:#233448;font:inherit;cursor:pointer}
.fiscal-import-dialog button[type=submit]{border-color:#1f66d5;background:#1f66d5;color:#fff;font-weight:750}
.fiscal-import-dialog .fiscal-dialog-close{padding:0 7px;border:0;font-size:28px;line-height:1}
.fiscal-import-error{background:#fff2f0;color:#943c32}
.workspace-search-clear { position:absolute; right:10px; top:50%; transform:translateY(-50%); display:flex; align-items:center; justify-content:center; width:28px; height:28px; color:#65758a; border-radius:8px; text-decoration:none; }
.workspace-query-form .supplier-catalog-search input { padding-right:44px; }
.workspace-search-clear:hover { background:#eef5f6; color:var(--ink); }
.workspace-search-clear .morph-icon { width:17px; height:17px; }
.workspace-record-menu { display:inline-block; }
/* A transformed/filtered row becomes the containing block for fixed children.
   Keep the menu's coordinates relative to the viewport while it is open. */
.workspace-data-table tbody tr.workspace-data-row:has(.workspace-record-menu[open]) { transform:none; filter:none; transition:none; }
.workspace-record-menu > summary { list-style:none; cursor:pointer; }
.workspace-record-menu > summary::-webkit-details-marker { display:none; }
.workspace-record-menu-popover { position:fixed; left:0; top:0; visibility:hidden; z-index:60; width:172px; max-width:calc(100vw - 16px); max-height:calc(100dvh - 16px); overflow:auto; padding:6px; background:#fff; border:1px solid #dce4ec; border-radius:10px; box-shadow:0 8px 24px rgb(7 19 23 / 14%); transition:none; animation:none; }
.workspace-record-menu[open][data-positioned] > .workspace-record-menu-popover { visibility:visible; }
.workspace-record-menu-popover a,.workspace-record-menu-popover button { display:flex; align-items:center; gap:10px; width:100%; padding:10px; border:0; border-radius:6px; background:transparent; color:var(--ink); font:inherit; font-size:13px; text-decoration:none; text-align:left; cursor:pointer; }
.workspace-record-menu-popover a:hover,.workspace-record-menu-popover button:hover { background:#eef8f8; }
.workspace-record-menu-popover button:disabled { opacity:.5; cursor:default; }
.workspace-record-menu-popover .morph-icon { width:18px; height:18px; }
.workspace-record-menu-popover form { margin:0; }

/* One quick-record layout for both relationship catalogs; broad details stay separate. */
.workspace-quick-panel { position:fixed; inset:var(--party-quick-top,58px) 0 0 auto; z-index:32; width:var(--party-quick-width,490px); height:calc(100dvh - var(--party-quick-top,58px)); display:block; background:#fff; border-left:1px solid #dce5ee; overflow:visible; box-shadow:-5px 0 20px rgb(12 37 52 / 4%); }
/* Preserve the heading's anchor geometry; reserve the additional room in the
   list itself so widening the drawer cannot move its own measuring anchor. */
.customer-catalog-page.has-fixed-detail:has(.workspace-quick-panel) { padding-right:calc(445px + 2.7vw); }
.customer-catalog-page:has(.workspace-quick-panel) .supplier-catalog-main { margin-right:max(0px,calc(var(--party-quick-width,490px) - 445px + 72px)); }
.customer-catalog-page:has(.workspace-quick-panel) .workspace-module-actions { visibility:hidden; }
.quick-rail { position:absolute; left:-60px; top:28px; width:60px; height:fit-content; display:flex; flex-direction:column; align-items:center; gap:18px; padding:14px 7px; border:1px solid #dce5ee; border-right:0; border-radius:14px 0 0 14px; background:#fbfcfd; box-shadow:-4px 2px 12px rgb(12 37 52 / 4%); }
.quick-rail a { text-decoration:none; }
.quick-collapse { display:flex; align-items:center; gap:0; color:#70aabd; height:66px; }
.quick-collapse .morph-icon { width:26px; height:54px; transform:rotate(180deg); }
.quick-collapse .morph-icon + .morph-icon { margin-left:-17px; }
.quick-create-menu { position:relative; margin-top:6px; }
.quick-create-menu summary { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:#18afc1; color:white; cursor:pointer; list-style:none; }
.quick-create-menu summary::-webkit-details-marker { display:none; }
.quick-create-menu summary .morph-icon { width:28px; height:28px; }
.quick-create-menu > div { position:absolute; z-index:70; left:48px; top:0; width:195px; border:1px solid #dce5ee; border-radius:9px; padding:6px; background:white; box-shadow:0 6px 18px rgb(7 19 23 / 14%); }
.quick-create-menu > div a,.quick-create-menu > div button { display:block; width:100%; padding:14px 16px; background:white; border:0; color:var(--ink); font:inherit; font-size:12px; text-align:left; }
.quick-create-menu button:disabled { color:#77869a; }
.quick-edit { display:grid; place-items:center; width:40px; height:40px; border:1px solid #dce5ee; border-radius:7px; color:#718398; }
.quick-edit .morph-icon { width:22px; height:22px; }
.quick-panel-content { min-width:0; height:100%; overflow:auto; padding:20px; scrollbar-gutter:stable; }
.quick-identity { display:grid; grid-template-columns:60px minmax(0,1fr) 32px; align-items:start; gap:9px; margin-bottom:12px; }
.quick-avatar { display:grid; place-items:center; width:60px; height:60px; border-radius:11px; background:linear-gradient(120deg,#dff3f3,#b7e0e1); color:#287e83; font-size:22px; font-weight:750; }
.quick-title { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.quick-title h2 { font-size:20px; line-height:1.4; margin:0; overflow-wrap:anywhere; }
.quick-title .supplier-state { font-size:12px; padding:4px 9px; line-height:1.3; }
.quick-title .supplier-state:before { content:'•'; margin-right:4px; }
.quick-identity p,.quick-identity small { display:block; font-size:14px; line-height:1.5; margin:1px 0; color:#65778d; overflow-wrap:anywhere; }
.quick-identity > a { display:grid; place-items:center; width:32px; height:32px; color:#34465c; }
.quick-identity > a .morph-icon { width:20px; height:20px; }
.quick-actions { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin-bottom:14px; }
.quick-action,.quick-actions .workspace-record-menu > summary { display:flex; align-items:center; justify-content:center; gap:7px; min-height:44px; width:100%; padding:8px 5px; font:inherit; font-size:14px; line-height:1.3; color:#18375e; background:white; border:1px solid #dce5ee; border-radius:6px; text-decoration:none; cursor:pointer; }
.quick-action .morph-icon,.quick-actions .supplier-more .morph-icon { width:20px; height:20px; flex-shrink:0; color:#2360ff; }
.quick-action.whatsapp .morph-icon { color:#009755; }
.quick-panel-content > .quick-actions > .quick-action,
.quick-panel-content > .quick-actions .workspace-record-menu > summary { flex-direction:column; gap:8px; min-height:88px; padding:8px 2px; border:0; background:white; font-size:14px; }
.quick-panel-content > .quick-actions .morph-icon { width:46px; height:46px; padding:10px; border:1px solid #edf1f6; border-radius:50%; background:#f8fafc; }
.quick-action:hover { background:#f1f8fc; }
.quick-action:disabled { cursor:default; color:#75869b; background:#fbfcfd; }
.quick-action:disabled .morph-icon { opacity:.45; }
.quick-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.quick-metric { display:grid; grid-template-columns:40px minmax(0,1fr); align-items:center; gap:7px; min-width:0; min-height:100px; padding:12px; border:1px solid #e4eaf1; border-radius:7px; background:white; }
.quick-metric > span { display:grid; place-items:center; width:40px; height:40px; background:#eaf1ff; color:#2460ff; border-radius:50%; }
.quick-metric.teal > span { background:#e2f4ef; color:#029c8b; }
.quick-metric.red > span { background:#ffe8ec; color:#e33d5d; }
.quick-metric .morph-icon { width:22px; height:22px; }
.quick-metric small { display:block; color:#697991; font-size:14px; line-height:1.35; }
.quick-metric strong { display:block; font-size:20px; color:#12213a; line-height:1.4; }
.quick-pending { color:#697991; background:#f1f5f8; padding:2px 5px; border-radius:4px; font-size:12px; font-weight:500; white-space:nowrap; }
.quick-metric .quick-pending { padding:0; background:none; }
.quick-credit { display:flex; gap:8px; padding:14px 16px; margin:0 0 8px; border-radius:0 0 6px 6px; background:#f2f5f8; color:#697991; font-size:14px; line-height:1.5; }
.quick-credit > .morph-icon { width:20px; height:20px; flex-shrink:0; color:#3d5478; }
.quick-credit strong { color:#385072; }
.quick-credit small { display:block; font-size:12px; }
.quick-attention { display:flex; align-items:start; gap:9px; padding:14px 16px; background:#fff5ee; border:1px solid #ffe4d1; border-radius:7px; margin-bottom:9px; font-size:14px; color:#375075; }
.quick-attention > span { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border-radius:50%; background:#ffe4d0; color:#f37a1f; }
.quick-attention .morph-icon { width:22px; height:22px; }
.quick-attention strong { color:#bc5a17; font-size:16px; }
.quick-attention p { margin:2px 0; line-height:1.5; }
.quick-attention > a { margin-left:auto; align-self:center; color:#3b5370; }
.quick-attention.pending { background:#f8fafc; border-color:#e4eaf1; }
.quick-attention.pending strong { color:#4d647f; }
.quick-attention.pending > span { color:#718398; background:#eaf0f5; }
.quick-tabs { display:flex; border-bottom:1px solid #e4eaf1; margin-bottom:12px; }
.quick-tabs button { flex:1; border:0; border-bottom:2px solid transparent; padding:14px 2px 12px; background:white; color:#697991; font:inherit; font-size:14px; cursor:pointer; }
.quick-tabs button[aria-selected=true] { border-bottom-color:#2865ff; color:#1558f5; font-weight:700; }
.workspace-quick-panel [data-quick-tab-panel] { animation:none; transition:none; }
.workspace-quick-panel [hidden] { display:none!important; }
.quick-card { border:1px solid #e4eaf1; border-radius:8px; padding:16px; margin-bottom:12px; background:#fff; }
.quick-card h3 { display:flex; align-items:center; gap:9px; margin:0 0 9px; font-size:16px; line-height:1.5; color:#14233a; }
.quick-card h3 > .morph-icon { width:22px; height:22px; color:#2865ff; }
.quick-card h3 > a,.quick-card h3 > button,.quick-card h3 > .quick-pending { margin-left:auto; }
.quick-card h3 > a,.quick-card h3 > button { display:flex; border:0; padding:0; background:none; color:#4d647f; cursor:pointer; }
.quick-card h3 > a .morph-icon,.quick-card h3 > button .morph-icon { width:15px; height:15px; }
.quick-activity-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.quick-activity-grid .quick-metric { min-height:88px; padding:12px; }
.quick-commercial-grid { display:grid; grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr); gap:10px 12px; font-size:14px; margin:0; }
.quick-commercial-grid dt { color:#697991; }
.quick-commercial-grid dd { margin:0; color:#172941; overflow-wrap:anywhere; }
.quick-extra,.quick-empty { color:#697991; font-size:14px; line-height:1.5; margin:8px 0 0; }
.quick-contact-name { font-size:16px; color:#172941; }
.quick-contact-name span { font-size:14px; font-weight:400; color:#4d647f; }
.quick-contact-lines { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:space-between; }
.quick-contact-lines p { display:flex; align-items:center; gap:5px; margin:3px 0; color:#375075; font-size:14px; overflow-wrap:anywhere; }
.quick-contact-lines .morph-icon { width:18px; height:18px; color:#2865ff; }
.quick-contact-buttons { display:flex; gap:8px; }
.quick-contact-buttons .quick-action { width:auto; padding:7px 9px; border:0; border-radius:10px; background:#e9f4ff; color:#2460ff; }
.quick-contact-buttons .quick-action.whatsapp { background:#e4f6ec; color:#008451; }
.quick-text-link { display:inline-flex; background:none; border:0; padding:0; margin-top:7px; color:#2865ff; font:inherit; font-size:14px; text-decoration:none; cursor:pointer; }
.quick-text-link.muted,.quick-text-link:disabled { color:#697991; }
.quick-text-link:disabled { cursor:default; }
.quick-timeline { list-style:none; padding:0; margin:0; }
.quick-timeline li { display:flex; gap:8px; align-items:start; padding:7px 0; font-size:14px; line-height:1.5; color:#375075; overflow-wrap:anywhere; }
.quick-timeline-dot { width:6px; height:6px; margin-top:8px; border-radius:50%; background:#19aa8b; flex-shrink:0; }
.quick-timeline time { color:#697991; }
.quick-timeline a { color:#2460ff; }
.quick-contact-entry { border-bottom:1px solid #e4eaf1; padding:8px 0; font-size:16px; }
.quick-contact-entry small { display:block; font-size:14px; color:#697991; margin-top:4px; }
.quick-contact-entry p { overflow-wrap:anywhere; color:#375075; font-size:14px; }
.quick-contact-entry .quick-actions { grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); margin-bottom:0; }
.quick-module-pending { text-align:center; padding:22px 12px; }
.quick-module-pending > .morph-icon { width:28px; height:28px; color:#2865ff; }
.quick-module-pending h3 { justify-content:center; margin-top:10px; }
.quick-module-pending p { color:#697991; font-size:14px; line-height:1.6; }
.quick-location-details { color:#375075; font-size:13px; line-height:1.6; }
.quick-location-details section { border-top:1px solid #e4eaf1; margin-top:16px; }
@media(max-width:1250px) {
  .workspace-quick-panel { position:static; display:grid; grid-template-columns:60px minmax(0,1fr); width:100%; height:auto; max-height:none; border:1px solid #dce5ee; border-radius:12px; grid-column:1/-1; }
  .customer-catalog-page.has-fixed-detail:has(.workspace-quick-panel) { padding-right:2.7vw; }
  .customer-catalog-page:has(.workspace-quick-panel) .supplier-catalog-main { margin-right:0; }
  .customer-catalog-page:has(.workspace-quick-panel) .workspace-module-actions { visibility:visible; }
  .quick-rail { position:static; width:auto; align-self:start; margin-top:14px; box-shadow:none; border-left:0; border-radius:0 12px 12px 0; }
  .quick-panel-content { height:auto; overflow:visible; }
}
/* Hover reveals only the exterior tab: content and anchored menus never animate. */
@media(hover:hover) and (pointer:fine) and (min-width:1251px) {
  .workspace-quick-panel .quick-rail { opacity:0; pointer-events:none; }
  .workspace-quick-panel:hover .quick-rail,
  .workspace-quick-panel:focus-within .quick-rail,
  .workspace-quick-panel:has(.quick-create-menu[open]) .quick-rail { opacity:1; pointer-events:auto; }
}
@media(max-width:520px) {
  .workspace-quick-panel { grid-template-columns:44px minmax(0,1fr); }
  .quick-panel-content { padding:14px; scrollbar-gutter:auto; }
  .quick-rail { padding:10px 3px; }
  .quick-create-menu summary { width:34px; height:34px; }
  .quick-edit { width:32px; height:34px; }
  .quick-identity { grid-template-columns:48px minmax(0,1fr) 32px; gap:7px; }
  .quick-avatar { width:48px; height:48px; }
  .quick-title h2 { font-size:18px; }
  .quick-panel-content > .quick-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .quick-kpis .quick-metric { grid-template-columns:1fr; gap:6px; padding:10px; }
  .quick-commercial-grid { grid-template-columns:auto minmax(0,1fr); gap:10px; font-size:14px; }
}
.supplier-catalog-page:has(.workspace-wide-detail) { padding-right:2.7vw; }
.supplier-catalog-workspace.workspace-wide-detail { display:block; }
.workspace-wide-detail .supplier-catalog-main[hidden] { display:none; }
.supplier-catalog-page .workspace-wide-detail .supplier-detail-panel { position:static; width:100%; max-width:none; height:auto; max-height:none; margin:0; overflow:visible; border:1px solid var(--border); border-radius:14px; box-shadow:none; }
.workspace-wide-detail .supplier-detail-panel > footer { position:static; }

/* Expanded party detail: shared, data-backed, no entrance/accordion transitions. */
.supplier-catalog-page:has([data-party-full-detail]) { padding:22px 2.2vw 32px; background:#fff; min-height:calc(100dvh - 58px); }
.supplier-catalog-page:has([data-party-full-detail]) > .workspace-module-header { display:none; }
.party-full-detail { color:#243d5f; font-size:14px; width:100%; min-width:0; }
.party-full-detail *, .party-full-detail *::before, .party-full-detail *::after { box-sizing:border-box; }
.party-full-detail h1, .party-full-detail h2, .party-full-detail h3, .party-full-detail p { margin:0; }
.party-full-detail h1, .party-full-detail h2, .party-full-detail h3, .party-full-detail strong { color:#102044; }
.party-full-detail h2 { font-size:18px; display:flex; align-items:center; gap:12px; line-height:1.35; }
.party-full-detail h2 > .morph-icon { width:24px; height:24px; color:#2860ff; flex:none; }
.party-full-detail a { text-decoration:none; }
.party-full-detail a:focus-visible, .party-full-detail summary:focus-visible, .party-full-detail button:focus-visible { outline:2px solid #2860ff; outline-offset:3px; }
.party-full-detail button:disabled { cursor:not-allowed; opacity:1; color:#71839d; }
.party-full-header { display:flex; align-items:center; gap:20px; position:relative; padding:14px 50px 24px 0; min-width:0; }
.party-full-avatar { display:grid; place-items:center; width:64px; height:64px; border-radius:12px; background:linear-gradient(130deg,#e8f4f4,#bce3e5); color:#137a80; font-size:24px; font-weight:700; flex:none; }
.party-full-identity { min-width:0; flex:1; }
.party-full-identity > div { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.party-full-identity h1 { font-size:24px; line-height:1.3; overflow-wrap:anywhere; }
.party-full-identity p { font-size:13px; color:#5f7697; margin-top:7px; line-height:1.6; overflow-wrap:anywhere; }
.party-full-identity .supplier-state { font-size:12px; padding:5px 12px; }
.party-full-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.party-full-actions .quick-action { width:auto; flex:none; }
.party-full-detail .quick-action { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:10px 13px; border:1px solid #dfe9f8; border-radius:8px; background:#fff; color:#1a3862; font-size:13px; text-decoration:none; font-weight:500; }
.party-full-detail .quick-action .morph-icon { width:20px; height:20px; color:#2860ff; flex:none; }
.party-full-detail .quick-action.whatsapp .morph-icon { color:#00a36c; }
.party-full-create { position:relative; }
.party-full-create > summary { display:flex; align-items:center; justify-content:center; list-style:none; min-width:48px; height:42px; border-radius:8px; background:#2860ff; color:#fff; cursor:pointer; }
.party-full-create > summary::-webkit-details-marker, .party-full-fold > summary::-webkit-details-marker { display:none; }
.party-full-create > summary .morph-icon { width:24px; height:24px; }
.party-full-create > div { position:absolute; z-index:35; top:48px; right:0; width:260px; padding:8px; background:white; box-shadow:0 8px 26px #172d4524; border:1px solid #dfe9f8; border-radius:10px; }
.party-full-create > div a, .party-full-create > div button { display:block; width:100%; text-align:left; padding:12px; border:0; border-radius:6px; background:#fff; color:#1a3862; font-size:14px; }
.party-full-actions .workspace-record-menu > summary { display:flex; align-items:center; justify-content:center; height:42px; width:auto; padding:0 8px; gap:4px; font-size:13px; }
.party-full-collapse { display:flex; gap:0; padding:12px 8px; margin-left:4px; color:#65a9bd; flex:none; }
.party-full-collapse .morph-icon { width:18px; height:24px; }
.party-full-collapse .morph-icon + .morph-icon { margin-left:-9px; }
.party-full-close { position:absolute; right:0; top:0; color:#243d5f; padding:8px; }
.party-full-close .morph-icon { width:22px; height:22px; }
.party-full-grid { display:grid; grid-template-columns:minmax(0,3fr) minmax(310px,1fr); gap:20px; align-items:start; }
.party-full-main, .party-full-context { display:grid; gap:16px; min-width:0; }
.party-full-card { border:1px solid #dfe9f8; border-radius:10px; background:#fff; padding:20px; min-width:0; }
.party-full-section-title { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.party-full-section-title > div { flex:1; }
.party-full-section-title p { margin-top:4px; color:#5a7396; }
.party-full-insight { display:grid; grid-template-columns:minmax(0,1fr) 235px; gap:20px; background:linear-gradient(115deg,#f5faff,#f6fbfd); padding:22px; }
.party-full-brief { min-width:0; }
.party-full-hints { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 18px; margin-top:20px; }
.party-full-hints article { display:flex; align-items:center; gap:14px; min-width:0; }
.party-full-hints p { font-size:14px; line-height:1.5; }
.party-full-hints strong { display:block; font-size:13px; margin-top:3px; font-weight:600; }
.party-full-symbol { display:grid; place-items:center; border-radius:50%; width:46px; height:46px; flex:none; }
.party-full-symbol .morph-icon { width:25px; height:25px; }
.party-full-symbol.blue { background:#e9f2ff; color:#2860ff; }
.party-full-symbol.teal { background:#e5f6f0; color:#008375; }
.party-full-symbol.red { background:#ffedf1; color:#ec3355; }
.party-full-symbol.violet { background:#eef0ff; color:#6a52f7; }
.party-full-fiscal-alert { font-size:12px; color:#956323; margin-top:18px!important; }
.party-full-next { display:flex; flex-direction:column; align-items:flex-start; gap:9px; padding:16px; border-radius:10px; background:#e9f7f2; border-left:1px solid #d4e9f2; }
.party-full-next h3 { font-size:16px; color:#008375; }
.party-full-next > strong { font-size:15px; color:#008375; }
.party-full-next p { font-size:12px; line-height:1.6; color:#5c7798; }
.party-full-next .quick-action { width:100%; margin-top:auto; background:#008375; color:#fff; border-color:#008375; }
.party-full-next .quick-action .morph-icon { color:inherit; }
.party-full-next button.quick-action:disabled { background:#e5efee; color:#68867f; border-color:#d3e4df; }
.party-full-relationship h2 { margin-bottom:16px; }
.party-full-relationship-row { display:grid; grid-template-columns:42px 130px minmax(0,1fr) auto; align-items:center; gap:12px; padding:8px; margin-top:9px; border:1px solid #e3ebf8; border-radius:9px; background:#fcfdff; }
.party-full-relationship-row .party-full-symbol { width:38px; height:38px; }
.party-full-relationship-row p { line-height:1.5; color:#617697; font-size:13px; }
.party-full-pending { font-size:11px; font-weight:400; background:#edf2f7; color:#647892; padding:3px 6px; border-radius:5px; display:inline-block; }
.party-full-relationship-row p .party-full-pending { margin-left:6px; }
.party-full-detail .party-full-relationship-row button, .party-full-activity .party-full-section-title button { border:0; background:none; padding:8px 0; white-space:nowrap; font-size:12px; }
.party-full-activity ol { list-style:none; margin:22px 0 0; padding:0; }
.party-full-activity li { display:grid; grid-template-columns:90px 42px minmax(0,1fr) 40px; gap:14px; position:relative; align-items:start; padding:0 0 22px 16px; }
.party-full-activity li::before { content:""; position:absolute; left:0; top:8px; width:7px; height:7px; border-radius:50%; background:#2860ff; }
.party-full-activity li::after { content:""; position:absolute; left:3px; top:15px; bottom:-8px; width:1px; background:#dce6f6; }
.party-full-activity li:last-child::after { display:none; }
.party-full-activity time, .party-full-activity li > small { padding-top:8px; color:#647e9f; font-size:12px; }
.party-full-activity li .party-full-symbol { width:40px; height:40px; }
.party-full-activity li > div { padding-top:5px; min-width:0; overflow-wrap:anywhere; }
.party-full-activity li p, .party-full-activity li a { font-size:13px; margin-top:5px; color:#5b759a; }
.party-full-activity li a { display:inline-block; color:#2860ff; }
.party-full-history-note { font-size:12px; color:#74859a; line-height:1.6; }
.party-full-notes { margin-top:14px; font-size:13px; }
.party-full-notes summary { cursor:pointer; color:#243d5f; font-weight:600; }
.party-full-notes p { white-space:pre-wrap; overflow-wrap:anywhere; padding-top:10px; line-height:1.6; }
.party-full-people h2 { font-size:16px; margin-bottom:20px; }
.party-full-contact { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:10px; padding:10px 0; }
.party-full-contact-avatar { width:42px; height:42px; display:grid; place-items:center; background:#edf3ff; color:#2860ff; border-radius:50%; font-size:16px; font-weight:600; }
.party-full-contact:nth-of-type(even) .party-full-contact-avatar { background:#e8f6f0; color:#008375; }
.party-full-contact strong { font-size:13px; overflow-wrap:anywhere; }
.party-full-contact p, .party-full-contact small { color:#5f7697; font-size:12px; margin-top:4px; }
.party-full-contact-actions { display:flex; gap:5px; }
.party-full-contact-actions .quick-action { min-width:32px; min-height:34px; padding:7px; }
.party-full-contact-actions .quick-action .morph-icon { width:17px; height:17px; }
.party-full-context-fields { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); gap:13px 14px; margin:20px 0 0; padding-top:18px; border-top:1px solid #e1eaf7; font-size:13px; line-height:1.5; }
.party-full-context-fields dt { color:#60799a; }
.party-full-context-fields dd { margin:0; color:#102044; font-weight:600; overflow-wrap:anywhere; }
.party-full-fold { padding:0; background:#fcfdff; }
.party-full-fold > summary { display:flex; align-items:center; gap:14px; padding:17px 20px; list-style:none; cursor:pointer; min-height:56px; }
.party-full-fold > summary > .morph-icon { width:23px; height:23px; color:#284680; flex:none; }
.party-full-fold > summary > strong { flex:1; font-size:14px; }
.party-full-fold > summary > span { font-size:12px; color:#7185a1; }
.party-full-fold > summary > .morph-icon:last-child { width:16px; height:18px; }
.party-full-fold[open] > summary > .morph-icon:last-child { rotate:90deg; }
.party-full-fold-body { border-top:1px solid #e1eaf7; padding:18px 20px; background:#fff; border-radius:0 0 10px 10px; }
.party-full-fold-body > .party-full-context-fields:first-child { margin-top:0; padding-top:0; border-top:0; }
.party-full-fold-body h3 { margin-top:20px; font-size:14px; }
.party-full-fold-body > .quick-action { margin-top:18px; }
.party-full-address { border-bottom:1px solid #e1eaf7; padding:12px 0; }
.party-full-address > summary { color:#1b365d; font-weight:600; cursor:pointer; overflow-wrap:anywhere; line-height:1.6; }
.party-full-address small { font-size:11px; font-weight:400; color:#6e84a0; }
.party-full-address .quick-action { margin-top:15px; }
.party-full-document { display:grid; gap:7px; padding:10px 0 16px; border-bottom:1px solid #e1eaf7; overflow-wrap:anywhere; }
.party-full-document strong { font-size:13px; }
.party-full-document a { color:#2860ff; font-size:13px; }
.party-full-document small { color:#6c839f; font-size:12px; }
.party-full-text-link { display:block; padding:0; border:0; background:none; color:#2860ff; margin-top:17px; font-size:13px; cursor:pointer; }
.party-full-empty { color:#6b819d; font-size:13px; line-height:1.6; }
@media (max-width:1150px) {
  .party-full-header { flex-wrap:wrap; }
  .party-full-identity { min-width:calc(100% - 90px); }
  .party-full-actions { margin-left:84px; flex:1; }
  .party-full-grid { grid-template-columns:minmax(0,2.5fr) minmax(310px,1fr); }
  .party-full-insight { grid-template-columns:minmax(0,1fr); }
  .party-full-next { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; }
  .party-full-next > .party-full-symbol { grid-row:1 / 3; }
  .party-full-next p { grid-column:2; }
  .party-full-next .quick-action { grid-column:3; grid-row:1 / 4; margin:0; }
  .party-full-contact-actions { grid-column:2 / -1; padding-top:2px; }
  .party-full-relationship-row { grid-template-columns:38px 90px minmax(0,1fr); }
  .party-full-relationship-row button { grid-column:3; justify-self:end; }
}
@media (max-width:1000px) {
  .party-full-grid { grid-template-columns:minmax(0,1fr); }
  .party-full-context { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
  .party-full-people { grid-column:1 / -1; }
  .party-full-contact-actions { grid-column:auto; }
  .party-full-people .party-full-context-fields { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width:620px) {
  .supplier-catalog-page:has([data-party-full-detail]) { padding:12px 12px 24px; }
  .party-full-header { gap:12px; padding-right:34px; }
  .party-full-avatar { width:48px; height:48px; font-size:19px; }
  .party-full-identity { min-width:0; flex-basis:calc(100% - 60px); }
  .party-full-identity h1 { font-size:20px; }
  .party-full-actions { margin-left:0; gap:8px; }
  .party-full-actions .quick-action { padding:10px; font-size:12px; }
  .party-full-collapse { margin-left:auto; }
  .party-full-context, .party-full-hints { grid-template-columns:minmax(0,1fr); }
  .party-full-people { grid-column:auto; }
  .party-full-card { padding:16px; }
  .party-full-fold { padding:0; }
  .party-full-insight { gap:16px; }
  .party-full-next { display:flex; }
  .party-full-next .quick-action { margin-top:4px; }
  .party-full-relationship-row { grid-template-columns:36px minmax(0,1fr); gap:8px; }
  .party-full-relationship-row p { grid-column:2; }
  .party-full-relationship-row button { grid-column:2; }
  .party-full-activity .party-full-section-title { flex-wrap:wrap; }
  .party-full-activity li { grid-template-columns:36px minmax(0,1fr) 36px; gap:8px; }
  .party-full-activity time { grid-column:2; padding:0; }
  .party-full-activity li > .party-full-symbol { grid-column:1; grid-row:2; width:32px; height:32px; }
  .party-full-activity li > div { grid-column:2; grid-row:2; }
  .party-full-activity li > small { grid-column:3; grid-row:2; font-size:11px; }
  .party-full-contact { grid-template-columns:36px minmax(0,1fr); }
  .party-full-contact-avatar { width:34px; height:34px; font-size:13px; }
  .party-full-contact-actions { grid-column:2; }
  .party-full-create > div { right:-20px; max-width:calc(100vw - 45px); }
}

.workspace-editor-open{overflow:hidden}
.workspace-customer-editor-form{display:grid;gap:14px}
.workspace-profile-completion{display:grid;grid-template-columns:1fr 150px;gap:14px 24px;padding:18px 22px;margin:0 0 20px;background:#fff;border:1px solid #e0e4ea;border-radius:9px}
.workspace-profile-completion strong{font-size:15px;color:var(--ink)}
.workspace-profile-completion small{display:block;margin-top:5px;color:#68758a;font-size:12px}
.workspace-profile-completion progress{align-self:center;width:100%;height:7px;accent-color:#14b8a6;border:0;border-radius:20px;overflow:hidden}
.workspace-profile-completion progress::-webkit-progress-bar{background:#e9eef3;border-radius:20px}
.workspace-profile-completion progress::-webkit-progress-value{background:linear-gradient(90deg,#2563eb,#14b8a6);border-radius:20px}
.workspace-profile-groups{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 24px;color:#6b778c;font-size:12px}
.workspace-profile-groups .complete{color:#008779}
.workspace-profile-groups [data-profile-mark]{margin-right:4px;font-weight:700}
.workspace-editor-section{min-width:0;background:#fff;border:1px solid #e0e4ea;border-radius:9px;overflow:clip}
.workspace-editor-section>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;color:var(--ink);font-size:16px;font-weight:650;cursor:pointer;list-style:none}
.workspace-editor-section>summary::-webkit-details-marker{display:none}
.workspace-editor-section[open]>summary{border-bottom:1px solid #eef0f3}
.editor-section-chevron{color:#6b778c;font-size:19px;line-height:1;transition:none}
.workspace-editor-section[open]>summary .editor-section-chevron{transform:rotate(180deg)}
.workspace-editor-section-body{padding:22px;display:grid;gap:20px}
.workspace-editor-section-body>.workspace-editor-section>summary{font-size:14px;padding:16px 18px;background:#fafbfc}
.workspace-editor-section-body>h3{margin:0;padding:0;font-size:14px;color:var(--ink);border:0}
.editor-section-intro,.editor-caption{margin:0;color:#68758a;font-size:12px;line-height:1.6}
.editor-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 20px}
.workspace-editor-field{display:grid;gap:7px;min-width:0;color:var(--ink);font-size:13px}
.workspace-editor-field[hidden]{display:none}
.workspace-editor-field>span{font-size:12px;color:#68758a;font-weight:600;line-height:1.4}
.workspace-editor-field input,.workspace-editor-field select,.workspace-editor-field textarea{width:100%;min-width:0;min-height:38px;margin:0;padding:8px 10px;border:1px solid #cfd6e2;border-radius:5px;font:inherit;font-size:13px;color:var(--ink);background:#fff}
.workspace-editor-field input[readonly]{background:#f8fafb;color:#7b8797}
.workspace-editor-field input:focus-visible,.workspace-editor-field select:focus-visible,.workspace-editor-field textarea:focus-visible{outline:2px solid #2563eb;outline-offset:1px}
.editor-span-two{grid-column:span 2}.editor-span-all{grid-column:1/-1}
.editor-role-options{display:flex;flex-wrap:wrap;gap:10px 16px;border:1px solid #e0e4ea;border-radius:6px;padding:14px}
.editor-role-options legend{font-size:12px;color:#68758a;font-weight:600;padding:0 5px}
.editor-role-options label,.editor-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer}
.editor-role-options input,.editor-checkbox input{width:15px;height:15px;flex:none;accent-color:#2563eb}
.customer-address-piece,.editor-contact-piece{border:1px solid #e0e4ea;border-radius:7px;background:#fff;margin-bottom:12px}
.customer-address-piece>summary{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;list-style:none;background:#f9fbfc;border-radius:7px;font-size:13px;cursor:pointer}
.customer-address-piece>.editor-field-grid,.editor-contact-piece>.editor-field-grid{padding:18px}
.editor-add-item,.editor-remove-item,.customer-address-piece>summary button{border:0;background:none;color:#2563eb;font:inherit;font-size:12px;font-weight:600;cursor:pointer;text-align:left;width:fit-content;padding:3px 0}
.editor-remove-item{margin:0 18px 16px;color:#68758a}
.customer-address-piece>summary button{color:#68758a}
.editor-portal-link{align-self:end;font-size:12px;color:#2563eb;padding-bottom:10px}
.editor-document-list{display:grid;gap:0}
.editor-document-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid #eef0f3;font-size:13px;min-width:0}
.editor-document-row strong{font-weight:600}.editor-document-row small,.editor-document-row a{display:block;margin-top:4px;font-size:12px;color:#68758a;overflow-wrap:anywhere}
.editor-document-row a{color:#2563eb}.editor-document-row input{width:50%;min-width:0;font-size:12px}
.customer-profile-editor .workspace-editor-scroll{padding:24px clamp(18px,4vw,64px)}
@media(max-width:900px){.editor-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-profile-completion{grid-template-columns:1fr 110px}.customer-profile-editor .workspace-editor-scroll{padding:18px}}
@media(max-width:540px){.editor-field-grid{grid-template-columns:1fr}.editor-span-two{grid-column:auto}.workspace-editor-section-body{padding:16px}.workspace-editor-section>summary{padding:16px}.workspace-profile-completion{grid-template-columns:1fr;padding:16px}.workspace-profile-groups{gap:10px 16px}.editor-document-row{align-items:start;flex-direction:column;gap:12px}.editor-document-row input{width:100%}}
.workspace-editor-overlay{position:fixed;inset:0;z-index:110;background:rgba(0,0,0,.48);display:flex;align-items:center;justify-content:center;padding:12px 5vw}
.workspace-editor-dialog{width:min(1280px,100%);height:calc(100dvh - 24px);display:flex;flex-direction:column;overflow:hidden;border-radius:9px;background:#f3f4f6;box-shadow:0 18px 48px rgba(0,0,0,.2);color:var(--ink)}
.workspace-editor-heading{display:flex;flex:none;align-items:center;justify-content:space-between;padding:20px 24px;background:#fff;border-bottom:1px solid #e0e4ea;gap:20px}
.workspace-editor-heading h2{margin:0;font-size:18px;font-weight:650}
.workspace-editor-close{font-size:27px;line-height:1;color:#465064;text-decoration:none;padding:2px 0 2px 12px}
.workspace-editor-scroll{flex:1;min-height:0;overflow:auto;padding:24px clamp(16px,6vw,100px);overscroll-behavior:contain;overflow-anchor:none;scroll-behavior:auto}
.workspace-editor-actions{flex:none;display:flex;justify-content:flex-end;gap:10px;padding:20px 24px;background:#fff;border-top:1px solid #e0e4ea}
.workspace-editor-actions a,.workspace-editor-actions button{padding:9px 14px;border:1px solid #cfd6e2;border-radius:5px;font:inherit;font-size:13px;text-decoration:none;color:var(--ink);background:#fff;cursor:pointer}
.workspace-editor-actions button{background:#2563eb;border-color:#2563eb;color:#fff;font-weight:700}
.workspace-editor-dialog .workspace-editor-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);align-items:start;gap:18px;padding:0}
.workspace-editor-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px;background:#fff;border:1px solid #e0e4ea;border-radius:9px}
.workspace-editor-form>.workspace-editor-card:first-of-type{grid-row:span 2}
.workspace-editor-form>.workspace-editor-card:last-of-type{grid-column:1/-1}
.workspace-editor-dialog .workspace-editor-card h3{grid-column:1/-1;margin:0;padding:0;border:0;font-size:17px;font-weight:650}
.workspace-editor-card>p{grid-column:1/-1;margin:-6px 0 3px;color:#66758a;font-size:13px;line-height:1.5}
.workspace-editor-card>fieldset,.workspace-editor-card>.customer-repeat-row{grid-column:1/-1;min-width:0}
.workspace-editor-dialog .workspace-editor-card label{min-width:0}
.workspace-editor-dialog .workspace-editor-card label>span{font-size:12px;color:#68758a;font-weight:600}
.workspace-editor-dialog .workspace-editor-card input:not([type=checkbox]):not([type=radio]),.workspace-editor-dialog .workspace-editor-card select,.workspace-editor-dialog .workspace-editor-card textarea{min-height:38px;padding:8px 10px;border-radius:5px;border-color:#cfd6e2;font-size:13px;background:#fff}
.workspace-editor-dialog .editor-error{margin:0 0 18px}
.workspace-editor-dialog .customer-repeat-row{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;border-radius:6px}
@media(max-width:900px){.workspace-editor-overlay{padding:10px 14px}.workspace-editor-dialog{height:calc(100dvh - 20px)}.workspace-editor-scroll{padding:18px}.workspace-editor-dialog .workspace-editor-form{grid-template-columns:1fr}.workspace-editor-form>.workspace-editor-card:first-of-type{grid-row:auto}}
@media(max-width:540px){.workspace-editor-overlay{padding:0}.workspace-editor-dialog{height:100dvh;border-radius:0}.workspace-editor-card{grid-template-columns:1fr;padding:16px}.workspace-editor-heading,.workspace-editor-actions{padding:16px}.workspace-editor-dialog .customer-repeat-row{grid-template-columns:1fr}}

/* Shared stacked record editors and save confirmations. */
.workspace-inline-overlay{z-index:140;background:rgba(13,27,42,.35);padding:24px}
.workspace-inline-dialog{width:min(760px,100%);height:auto;max-height:calc(100dvh - 48px);background:#fff;border-radius:12px}
.workspace-inline-dialog .workspace-editor-scroll{padding:24px;flex:1 1 auto}
.workspace-inline-dialog .editor-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace-inline-dialog .workspace-editor-close{border:0;background:transparent;cursor:pointer}
.workspace-inline-dialog .workspace-editor-actions .workspace-editor-cancel{background:#fff;color:#334155;border:1px solid #cbd5e1}
.workspace-inline-error{padding:12px;border-radius:7px;background:#fff1f2;color:#b42318;font-size:13px}
.editor-related-list{display:grid;gap:8px}
.editor-related-row{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:9px}
.editor-related-copy{display:grid;gap:4px;flex:1;min-width:0}
.editor-related-copy strong{font-size:14px;color:#172b3a;overflow-wrap:anywhere}
.editor-related-copy small{font-size:12px;color:#64748b;overflow-wrap:anywhere}
.editor-related-row>button{border:1px solid #dbe4ec;background:#fff;border-radius:6px;padding:7px 10px;font-size:12px;color:#2563eb;cursor:pointer}
.editor-related-row>button[data-address-remove],.editor-related-row>button[data-contact-remove]{color:#64748b}
.editor-related-empty{font-size:13px;color:#64748b;padding:12px 0;margin:0}
.editor-related-actions{display:flex;align-items:center;gap:6px;flex:none}
.workspace-payment-days{margin:0;padding:0;border:0;min-width:0}
.workspace-payment-days legend{padding:0;margin-bottom:8px;font-size:12px;font-weight:500;color:#68758a}
.workspace-payment-days-options{display:flex;flex-wrap:wrap;gap:8px}
.workspace-payment-days-options label{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #dbe4ec;border-radius:6px;background:#fff;font-size:12px;cursor:pointer}
.workspace-payment-days-options label:has(input:checked){background:#e4f6f5;border-color:#99dcd6;color:#047c75}
.workspace-payment-days-options input{width:14px;height:14px;margin:0;accent-color:#02a0a0}
.editor-related-actions button{display:grid;place-items:center;width:32px;height:32px;padding:6px;border:1px solid #dbe4ec;border-radius:6px;background:#fff;color:#64748b;cursor:pointer}
.editor-related-actions button:hover{background:#f1f6fa;color:#2563eb;border-color:#bdd4ee}
.editor-related-actions button[data-related-remove]:hover{color:#b42318;border-color:#f0c7c4;background:#fff6f5}
.editor-related-actions button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.editor-related-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.workspace-record-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0;background:#fff;border:1px solid #e1e6ed;border-radius:8px;padding:4px 20px}
.workspace-record-details>div{padding:13px 0;border-bottom:1px solid #edf0f4;min-width:0}
.workspace-record-details dt{font-size:12px;color:#64748b;margin-bottom:5px}
.workspace-record-details dd{margin:0;font-size:14px;color:#273245;white-space:pre-wrap;overflow-wrap:anywhere}
.workspace-customer-editor-form[data-credit-mode="cash"] .editor-credit-only,.workspace-customer-editor-form .editor-credit-only[hidden]{display:none}
@media(max-width:540px){.workspace-record-details{grid-template-columns:1fr}.editor-related-actions{margin-left:auto}}
.workspace-notice-overlay{background:rgba(13,27,42,.2)}
.workspace-notice-dialog{width:min(440px,100%)}
.workspace-notice-dialog .workspace-editor-heading h2{font-size:17px}
.workspace-notice-dialog .workspace-editor-scroll{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:18px 24px 24px}
.workspace-notice-dialog p{margin:0;font-size:13px;line-height:1.5;color:#64748b}
.workspace-toast-region{position:fixed;right:24px;bottom:24px;z-index:10000;display:flex;flex-direction:column;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none}
.workspace-toast{display:flex;align-items:center;gap:14px;min-height:58px;padding:14px 16px;background:#fff;border:1px solid #e3e7ed;border-left:4px solid #62b47c;border-radius:6px;box-shadow:0 5px 20px rgba(15,23,42,.14);color:#273245;font-size:14px;line-height:1.4;pointer-events:auto}
.workspace-toast-check{flex:none;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#498c5b;color:#fff;font-size:10px;font-weight:700}
.workspace-toast-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.workspace-toast-copy small{display:block;margin-top:4px;font-size:12px;color:#64748b}
.workspace-toast-close{flex:none;border:0;background:transparent;color:#273245;font-size:21px;line-height:1;cursor:pointer;padding:3px}
.workspace-toast-close:focus-visible{outline:2px solid #2563eb;outline-offset:3px;border-radius:3px}
@media(max-width:540px){.workspace-toast-region{right:16px;bottom:16px}}
.workspace-notice-dialog .workspace-editor-actions{justify-content:center}
@media(max-width:540px){.workspace-inline-overlay{padding:12px}.workspace-inline-dialog{height:auto;max-height:calc(100dvh - 24px);border-radius:10px}.workspace-inline-dialog .editor-field-grid{grid-template-columns:1fr}.workspace-inline-dialog .workspace-editor-scroll{padding:18px}.editor-related-row{flex-wrap:wrap}.editor-related-copy{flex-basis:100%}}
/* Company configuration: scoped hub, no animated search or disclosure. */
.company-config-shell { max-width: 1500px; margin: 0 auto; padding: 30px 2.2vw 24px; color: #0e174b; }
.company-config-heading { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; gap: 6vw; margin-bottom: 22px; }
.company-config-heading h1 { margin: 0 0 4px; font-size: 34px; line-height: 1.2; letter-spacing: -.025em; }
.company-config-heading > div > p { margin: 0; color: #45619a; font-size: 17px; }
.company-config-company { display: block; margin-top: 7px; color: #667898; }
.company-config-search { display: flex; align-items: center; gap: 12px; margin-top: 22px; min-height: 44px; padding: 0 13px; border: 1px solid #d6e4fa; border-radius: 9px; background: #fff; color: #45619a; }
.company-config-search > .morph-icon { flex: 0 0 20px; width: 20px; }
.company-config-search input { min-width: 0; width: 100%; border: 0; background: transparent; outline: none; padding: 12px 0; color: #172349; font: inherit; font-size: 14px; }
.company-config-search input::placeholder { color: #7283aa; }
.company-config-search:focus-within { outline: 2px solid #285bff; outline-offset: 2px; }
.company-config-search button { display: grid; place-items: center; border: 0; background: transparent; color: #56729d; padding: 6px; cursor: pointer; }
.company-config-search button .morph-icon { width: 18px; height: 18px; }
.company-config-intro { display: flex; align-items: center; gap: 26px; min-height: 170px; padding: 20px 24px; border: 1px solid #cfefec; border-radius: 12px; background: linear-gradient(110deg, #edfafa, #effaf7); }
.company-config-intro h2 { font-size: 17px; margin: 0 0 4px; }
.company-config-intro p, .company-config-intro li { font-size: 14px; color: #4c6498; }
.company-config-intro p { margin: 0; }
.company-config-intro ul { display: grid; gap: 7px; list-style: none; padding: 0; margin: 12px 0 0; }
.company-config-intro li { display: flex; align-items: center; gap: 12px; }
.company-config-intro li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; color: #008b74; background: #d5f3e9; font-weight: 600; }
.company-config-intro-art { display: grid; place-items: center; flex: 0 0 108px; height: 108px; border-radius: 50%; background: #e0f4f3; color: #627aab; }
.company-config-intro-art .morph-icon { width: 57px; height: 57px; stroke-width: 2.5; }
.company-config-group { display: grid; grid-template-columns: minmax(220px, .68fr) 2fr; gap: 28px; padding: 20px 17px; margin-top: 12px; border: 1px solid #dfeafa; border-radius: 13px; background: #fff; }
.company-config-group > header { display: flex; align-items: flex-start; gap: 20px; }
.company-config-group > header h2 { margin: 7px 0 4px; font-size: 18px; }
.company-config-group > header p { margin: 0; max-width: 225px; color: #687fa7; font-size: 14px; line-height: 1.4; }
.company-config-icon { display: grid; place-items: center; flex: 0 0 47px; width: 47px; height: 47px; border-radius: 50%; background: #eaf2ff; color: #285bff; }
.company-config-icon .morph-icon { width: 27px; height: 27px; }
.company-config-group > header > .company-config-icon { flex-basis: 60px; width: 60px; height: 60px; }
.company-config-group > header > .company-config-icon .morph-icon { width: 32px; height: 32px; }
.company-config-icon.teal { background: #e0f6f0; color: #009783; }
.company-config-icon.amber { background: #fff5e5; color: #ed9409; }
.company-config-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; align-items: start; }
.company-config-card { min-width: 0; border: 1px solid #e0eafa; border-radius: 11px; background: linear-gradient(100deg, #fff, #fbfcfe); }
.company-config-card { display: block; color: inherit; text-decoration: none; }
.company-config-card-trigger { display: flex; align-items: center; gap: 15px; padding: 10px; min-height: 63px; cursor: pointer; }
.company-config-card:hover, .company-config-card:focus-visible { background: #f4f8fe; }
.company-config-card:focus-visible { outline: 2px solid #285bff; outline-offset: 2px; }
.company-config-window-intro, .company-config-pending-panel, .company-config-scope-label { padding: 18px 22px; border: 1px solid #e0e6ee; border-radius: 10px; background: white; margin-bottom: 16px; }
.company-config-window p { color: #657995; font-size: 14px; line-height: 1.5; }
.company-config-window [role=alert] { color: #ad3d28; }
.company-config-organization-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 16px; }
.company-config-tree, .company-config-node-information { padding: 20px; background: white; border: 1px solid #e0e6ee; border-radius: 10px; min-width: 0; }
.company-config-tree ul { padding-left: 20px; list-style: none; border-left: 1px solid #dce6f3; }
.company-config-tree li { padding: 7px 0; }
.company-config-tree a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: #294974; }
.company-config-tree .morph-icon { width: 21px; height: 21px; flex: 0 0 21px; }
.company-config-feature-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; padding: 16px 0; border: 0; }
.company-config-feature-list label { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.company-config-feature-list input { width: 18px; height: 18px; }
.company-config-settings-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 22px; background: white; border: 1px solid #e0e6ee; border-radius: 10px; }
.company-config-settings-fields > label, .company-config-scope-selector label { display: grid; gap: 8px; color: #71809a; font-size: 14px; }
.company-config-settings-fields input:not([type=checkbox]), .company-config-settings-fields select, .company-config-scope-selector select { width: 100%; min-height: 46px; border: 1px solid #cdd9ea; border-radius: 7px; color: #10233e; padding: 10px 14px; font: inherit; background: white; }
.company-config-settings-fields small { font-size: 12px; }
.company-config-settings-fields label > span:last-child { display: flex; gap: 8px; align-items: center; }
.company-config-scope-selector { display: flex; gap: 16px; align-items: end; margin-bottom: 16px; }
.company-config-scope-selector label { flex: 1; }
.company-config-window button:not(.workspace-editor-actions button) { padding: 10px 14px; border: 1px solid #cdd9ea; border-radius: 7px; color: #294974; background: white; cursor: pointer; }
@media (max-width: 650px) { .company-config-organization-layout, .company-config-settings-fields { grid-template-columns: 1fr; } .company-config-feature-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .company-config-scope-selector { flex-direction: column; align-items: stretch; } }
.company-config-card > summary::-webkit-details-marker { display: none; }
.company-config-card > summary:hover { background: #f4f8fe; border-radius: 11px; }
.company-config-card > summary:focus-visible { outline: 2px solid #285bff; outline-offset: 2px; border-radius: 11px; }
.company-config-card-copy { display: grid; gap: 3px; flex: 1; min-width: 0; }
.company-config-card-copy strong { font-size: 14px; line-height: 1.25; }
.company-config-card-copy > span { font-size: 13px; line-height: 1.4; color: #6a81ac; }
.company-config-arrow { flex: 0 0 18px; width: 18px; height: 18px; color: #345887; }
.company-config-card[open] .company-config-arrow { transform: rotate(90deg); }
.company-config-card-content { padding: 5px 16px 14px; border-top: 1px solid #e8eff8; font-size: 13px; line-height: 1.5; }
.company-config-card-content a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: #285bff; text-decoration: none; }
.company-config-card-content a .morph-icon { width: 16px; height: 16px; }
.company-config-card-content p { margin: 10px 0 0; color: #687a99; }
.company-config-pending { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #eef2f7; color: #5d6c84; }
.company-config-note, .company-config-search-status { font-size: 13px; color: #6b7e9e; }
.company-config-search-status:empty { display: none; }
.company-config-shell [hidden] { display: none !important; }
@media (max-width: 1050px) {
  .company-config-heading { gap: 24px; }
  .company-config-intro-art { flex-basis: 64px; height: 64px; }
  .company-config-intro-art .morph-icon { width: 40px; height: 40px; }
  .company-config-group { grid-template-columns: 210px 1fr; gap: 18px; }
  .company-config-group > header { gap: 12px; }
  .company-config-options { column-gap: 10px; }
}
@media (max-width: 780px) {
  .company-config-heading { grid-template-columns: 1fr; gap: 18px; }
  .company-config-group { grid-template-columns: 1fr; }
  .company-config-group > header p { max-width: none; }
  .company-config-heading h1 { font-size: 29px; }
}
@media (max-width: 520px) {
  .company-config-shell { padding: 22px 14px; }
  .company-config-options { grid-template-columns: 1fr; }
  .company-config-intro { padding: 16px; gap: 14px; }
  .company-settings-link { margin-left: 0; }
}


/* Product catalog adopts the shared Customers workspace, not the legacy toolbar. */
.workspace-products-page .product-catalog-workspace { grid-template-columns:minmax(0,1fr); max-width:none; margin:0; }
.workspace-products-page .workspace-product-table { min-width:1080px; }
.workspace-products-page .workspace-product-table td:nth-child(8),
.workspace-products-page .workspace-product-table td:nth-child(9) { color:#314957; font-weight:500; }
.workspace-product-table .supplier-avatar .morph-icon { width:22px; height:22px; }
.workspace-product-detail .quick-avatar .morph-icon { width:34px; height:34px; }
.workspace-product-detail .quick-kpis { margin-bottom:16px; }
.workspace-product-detail .quick-metric { grid-template-columns:1fr; padding:10px; }
.workspace-product-detail .quick-metric > span { display:none; }
.workspace-product-detail .quick-metric strong { font-size:18px; overflow-wrap:anywhere; }
.workspace-product-detail-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:12px 0; }
.workspace-product-detail-actions > a { width:auto; padding-inline:14px; }
.workspace-product-full { min-width:0; border:1px solid #dce5ee; border-radius:14px; background:#fff; }
.workspace-product-full .quick-panel-content { height:auto; overflow:visible; }
.workspace-product-full [hidden] { display:none!important; }
.workspace-product-full .quick-kpis { max-width:650px; }
.workspace-product-full [data-quick-tab-panel]:not([hidden]) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.workspace-product-detail .quick-contact-entry { overflow-wrap:anywhere; }
.workspace-product-editor .product-editor-form { width:100%; max-width:none; margin:0; }
.workspace-product-editor .workspace-editor-scroll { padding:24px clamp(18px,4vw,64px); }
.workspace-product-editor .editor-fields { margin:0; }
.workspace-product-editor .editor-preview { grid-template-columns:minmax(0,1fr); }
.workspace-product-editor .preview-card,.workspace-product-editor .validation-card { padding:16px; min-width:0; overflow-wrap:anywhere; }
.workspace-product-editor .product-preview-card { grid-template-columns:48px minmax(0,1fr); }
.workspace-product-editor .preview-image { width:48px; height:48px; }
.workspace-product-detail-actions .workspace-record-menu > summary { display:flex; align-items:center; gap:6px; width:auto; min-height:44px; padding:8px 14px; font-size:14px; border:1px solid #dce5ee; }
.workspace-product-editor .editor-layout { grid-template-columns:minmax(0,1fr) 255px; gap:16px; max-width:none; margin:0; }
.workspace-product-editor .editor-sections { min-width:0; }
.workspace-product-editor .editor-preview { min-width:0; }
.workspace-product-editor .editor-fields { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0; }
.workspace-product-editor .editor-fields input,
.workspace-product-editor .editor-fields select { min-width:0; width:100%; }
.workspace-product-editor .workspace-editor-section { margin-bottom:12px; }
.workspace-product-editor .configured-sections { gap:0; }
.workspace-product-editor .configured-sections summary { padding:16px 18px; }
.workspace-product-editor .configured-sections summary > span { display:none; }
.workspace-product-editor .advanced-section-body { padding:16px 18px; }
.workspace-product-editor .product-supplier-list > header { display:none; }
.workspace-product-editor .product-supplier-row { grid-template-columns:30px minmax(0,1fr); }
.workspace-product-editor .product-supplier-row > label { min-width:0; }
.workspace-product-editor .product-supplier-row .supplier-alias { grid-column:1/-1!important; }
.workspace-product-editor .product-supplier-row label>span { font-size:12px; font-weight:600; }
.workspace-product-editor .barcode-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 85px; }
.workspace-product-editor .workspace-editor-actions .draft-button { background:#fff; color:#526271; border:1px solid #dce5ee; }
.supplier-state.draft { background:#eef0ff; color:#625ac7; }
.supplier-state.discontinued { background:#edf1f2; color:#697b85; }
@media (max-width:850px) {
  .workspace-product-editor .editor-layout { grid-template-columns:minmax(0,1fr); }
  .workspace-product-editor .editor-preview { position:static; }
  .workspace-product-full [data-quick-tab-panel]:not([hidden]) { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:700px) {
  .workspace-products-page .workspace-product-table { min-width:0; }
  .workspace-products-page .workspace-product-table td:nth-child(6)::before { content:"Tipo: "; }
  .workspace-product-editor .editor-fields { grid-template-columns:minmax(0,1fr); }
  .workspace-product-editor .barcode-row { grid-template-columns:minmax(0,1fr); }
  .workspace-product-editor .workspace-editor-actions { flex-wrap:wrap; gap:8px; }
  .workspace-products-page .workspace-view-chips { flex-wrap:wrap; }
}
@media (max-width:520px) {
  /* Keep the shared company-settings action inside narrow workspace headers. */
  .topbar { gap:8px; padding-inline:14px; }
  .topbar .brand-mark.workspace .brand-logo { width:102px; }
  .topbar .profile { gap:5px; }
}

/* Product views retain the shared pill style; badges are actual filtered totals. */
.workspace-products-page .workspace-product-views { flex-wrap:wrap; overflow:visible; }
.workspace-products-page .workspace-product-views > :is(a,.workspace-view-unavailable) { display:inline-flex; align-items:center; justify-content:center; gap:6px; flex:0 0 auto; min-width:66px; padding:6px 13px; border:1px solid #e0e7e9; border-radius:999px; background:white; color:#526a78; font-size:10px; font-weight:750; text-decoration:none; white-space:nowrap; }
.workspace-products-page .workspace-product-views > a.active { border-color:rgb(2 160 160 / 12%); background:#def4f2; color:#037f7f; }
.workspace-products-page .workspace-view-count { display:inline-grid; place-items:center; min-width:20px; padding:1px 4px; border-radius:6px; background:#f0f4f6; color:#6a7d89; font-size:10px; font-weight:700; line-height:1.2; }
.workspace-products-page .workspace-product-views > a.active .workspace-view-count { background:rgb(2 160 160 / 10%); color:#037f7f; }
.workspace-products-page .workspace-product-views > .workspace-view-unavailable { color:#7f9099; cursor:not-allowed; }
@media (min-width:1500px) {
  .workspace-products-page.without-fixed-detail .workspace-module-header { grid-template-columns:minmax(210px,1fr) minmax(470px,850px) minmax(210px,1fr); }
  .workspace-products-page.without-fixed-detail .workspace-module-query { width:min(100%,850px); }
}

/* Product detail: compact reference panel and expanded 360 workspace. */
.workspace-product-detail { color:#243d5f; font-size:14px; }
.workspace-product-detail .product-detail-content { height:100%; min-width:0; overflow:auto; padding:36px 24px 24px; }
.product-detail-header { position:relative; display:grid; grid-template-columns:84px minmax(0,1fr) auto; align-items:start; gap:14px; }
.product-detail-image { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; width:84px; height:94px; border:1px solid #e4eaf1; border-radius:7px; background:#f8fafd; color:#7f93ac; }
.product-detail-image .morph-icon { width:40px; height:40px; }
.product-detail-image small { font-size:10px; }
.product-detail-identity { min-width:0; }
.product-detail-identity :is(h1,h2) { margin:6px 0 0; color:#102044; font-size:20px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
.product-detail-identity p { margin:8px 0; font-size:14px; font-weight:500; overflow-wrap:anywhere; }
.product-detail-identity > small { color:#71849d; font-size:13px; }
.product-detail-header-actions { display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
.workspace-product-detail .product-detail-header-actions .workspace-record-menu > summary { display:flex; align-items:center; justify-content:center; gap:7px; min-width:44px; min-height:42px; padding:8px; border:1px solid #e4eaf1; border-radius:6px; background:white; color:#243d5f; font-size:14px; }
.workspace-product-detail .product-detail-header-actions .workspace-record-menu > summary .morph-icon { width:18px; height:18px; }
.workspace-product-detail .product-state { display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border:1px solid #d4e0e9; border-radius:7px; background:#f8fafc; color:#677e96; font-size:13px; font-weight:600; text-decoration:none; white-space:nowrap; }
.workspace-product-detail .product-state.active { border-color:#bfead9; background:#f4fcf8; color:#239c6a; }
.workspace-product-detail .product-state.draft { border-color:#d9d8f9; color:#625ac7; }
.workspace-product-detail .product-state.blocked { border-color:#f2ccd5; color:#b94462; }
.workspace-product-detail .product-state .morph-icon { width:14px; height:14px; }
.product-detail-close { position:absolute; right:0; top:-26px; color:#52677d; }
.product-detail-close .morph-icon { width:20px; height:20px; }
.product-detail-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0; }
.workspace-product-detail .product-detail-metrics .quick-metric { min-height:86px; padding:12px; background:#f9fafc; }
.workspace-product-detail .product-detail-metrics .quick-metric strong { margin-top:7px; font-size:20px; }
.workspace-product-detail .quick-pending { color:#8a99ad; font-size:11px; }
.product-detail-notice { display:flex; gap:12px; align-items:flex-start; padding:14px; border:1px solid #ffddb0; border-radius:7px; background:#fff7e9; margin:0 0 14px; }
.product-detail-notice > .morph-icon { flex:0 0 24px; width:24px; height:24px; color:#ec8a18; }
.product-detail-notice strong { font-size:16px; color:#d9780b; }
.product-detail-notice p { margin:6px 0 0; color:#6e6e69; font-size:13px; line-height:1.6; }
.workspace-product-detail .product-detail-tabs { overflow-x:auto; margin-bottom:16px; gap:10px; }
.workspace-product-detail .product-detail-tabs button { flex:1 0 auto; padding:14px 4px 12px; font-size:14px; white-space:nowrap; }
.workspace-product-detail [data-quick-tab-panel] { min-width:0; animation:none; transition:none; }
.workspace-product-detail [hidden] { display:none!important; }
.workspace-product-detail :is(.product-detail-section,.product-detail-card) h3 { margin:0 0 14px; color:#102044; font-size:16px; font-weight:650; }
.product-detail-section { margin:24px 0; min-width:0; }
.product-stock-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.product-stock-facts,.product-detail-facts { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 14px; margin:14px 0; font-size:13px; line-height:1.5; }
.product-stock-facts { gap:0 12px; margin:0; align-content:start; }
.product-stock-facts :is(dt,dd) { padding:6px 0; border-bottom:1px solid #edf1f7; }
.product-stock-facts dt,.product-detail-facts dt { color:#71849d; }
.product-stock-facts dd,.product-detail-facts dd { margin:0; font-weight:550; overflow-wrap:anywhere; }
.product-stock-facts dd { text-align:right; color:#182c4b; }
.product-detail-facts dd { max-width:220px; }
.product-detail-facts a { color:#2865ff; text-decoration:none; }
.product-detail-caption { color:#71849d; font-size:12px; line-height:1.6; margin:12px 0; overflow-wrap:anywhere; }
.product-activity-list { display:grid; gap:14px; margin:16px 0; }
.product-activity-list article { display:flex; align-items:center; gap:14px; }
.product-activity-list article > .morph-icon { flex:0 0 40px; width:40px; height:40px; padding:10px; background:#f0f5ff; border-radius:50%; color:#2656a5; }
.product-activity-list article:nth-child(2) > .morph-icon { background:#effaf5; color:#249b70; }
.product-activity-list :is(strong,small) { display:block; line-height:1.5; }
.product-activity-list strong { font-size:14px; font-weight:550; }
.product-activity-list small { color:#71849d; font-size:13px; }
.product-card-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.workspace-product-detail .product-card-title h3 { margin:0; }
.workspace-product-detail .product-card-title :is(a,button) { flex:0 0 auto; min-height:26px; padding:3px 7px; border:1px solid #e6eefb; border-radius:5px; background:#f5f8fe; color:#2865ff; font:inherit; font-size:12px; text-decoration:none; cursor:pointer; }
.product-supplier-title { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.product-supplier-title a { display:inline-flex; align-items:center; gap:8px; color:#2865ff; font-weight:600; text-decoration:none; }
.product-supplier-title .morph-icon { width:18px; height:18px; }
.product-supplier-preferred { border:1px solid #cceedd; background:#f0fcf5; color:#249b70; border-radius:6px; padding:3px 7px; font-size:12px; }
.product-supplier-entry + .product-supplier-entry { border-top:1px solid #e7edf5; padding-top:16px; margin-top:16px; }
.product-detail-pending { display:inline-block; padding:2px 6px; border-radius:4px; background:#f0f3f8; color:#7587a0; font-size:11px; font-weight:400; }
.product-detail-link { display:inline-block; margin:12px 0; color:#2865ff; font-size:13px; }
.workspace-product-detail .product-detail-button { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:40px; padding:9px 14px; border:1px solid #dce7fb; border-radius:7px; color:#2865ff; background:white; text-decoration:none; font:inherit; font-size:13px; }
.product-detail-button .morph-icon { width:18px; height:18px; }
.workspace-product-detail .product-detail-button:disabled { color:#92a1b5; background:#fafbfd; cursor:not-allowed; }
.workspace-product-360 { border:0; border-radius:0; }
.workspace-products-page:has(.workspace-product-360) .supplier-catalog-main { display:none; }
.workspace-product-360 .product-detail-content { height:auto; overflow:visible; padding:8px 0 0; }
.workspace-product-360 .product-detail-header { grid-template-columns:96px minmax(0,1fr) auto; padding-right:24px; align-items:center; }
.workspace-product-360 .product-detail-image { width:96px; height:104px; }
.workspace-product-360 .product-detail-identity h1 { font-size:26px; margin:0; }
.product-360-title { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.product-detail-tags { display:flex; gap:7px; flex-wrap:wrap; }
.product-detail-tags span { border:1px solid #e6ebf2; border-radius:5px; background:#f5f7fa; padding:3px 7px; font-size:12px; }
.product-detail-tags .type { background:#eef3ff; color:#45659b; }
.product-detail-tags .inventory { border-color:#cceedd; background:#f0fcf5; color:#249b70; }
.workspace-product-360 .product-detail-header-actions { flex-direction:row; align-items:center; flex-wrap:wrap; }
.workspace-product-360 .product-detail-header-actions .workspace-record-menu > summary { border:0; }
.workspace-product-360 .product-detail-close { top:-7px; }
.product-detail-collapse { display:flex; align-items:center; color:#49a2bb; text-decoration:none; }
.product-detail-collapse .morph-icon { width:16px; height:16px; }
.workspace-product-360 .product-detail-metrics { grid-template-columns:repeat(6,minmax(0,1fr)); margin:20px 0 8px; }
.workspace-product-360 .product-detail-metrics .quick-metric { min-height:70px; background:white; }
.workspace-product-360 .product-detail-metrics .quick-metric > div { display:flex; flex-direction:column; }
.workspace-product-360 .product-detail-metrics .quick-metric strong { order:-1; margin:0 0 3px; font-size:18px; }
.workspace-product-360 .product-detail-tabs { gap:8px; }
.workspace-product-360 .product-detail-tabs button { flex:0 0 auto; padding-inline:18px; }
.workspace-product-360 [data-quick-tab-panel]:not([hidden]) { display:block; }
.product-360-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:14px; background:#f7f9fc; }
.product-detail-card { min-width:0; padding:18px; border:1px solid #e6edf5; border-radius:8px; background:white; }
.product-state-facts { padding:0; margin:14px 0 0; list-style:none; }
.product-state-facts li { display:flex; align-items:center; gap:8px; margin:10px 0; font-size:13px; }
.product-state-facts .morph-icon { width:18px; height:18px; color:#249b70; }
.product-module-empty { min-height:160px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:10px; color:#71849d; font-size:13px; }
.product-module-empty .morph-icon { width:34px; height:34px; color:#90a4bd; }
.product-module-empty p { margin:0; line-height:1.6; }
.product-card-total { display:flex; justify-content:space-between; border-top:1px solid #e7edf5; margin-top:14px; padding-top:14px; }
.product-configuration-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1400px) {
  .workspace-product-360 .product-detail-header { grid-template-columns:96px minmax(0,1fr); }
  .workspace-product-360 .product-detail-header-actions { grid-column:1/-1; justify-content:flex-end; }
  .product-360-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1250px) {
  .workspace-product-detail .product-detail-content { height:auto; grid-column:2; }
  .workspace-product-360 .product-detail-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:650px) {
  .workspace-product-detail .product-detail-content { padding-inline:14px; }
  .product-detail-header { grid-template-columns:64px minmax(0,1fr); gap:12px; }
  .product-detail-image { width:64px; height:78px; }
  .product-detail-image .morph-icon { width:30px; height:30px; }
  .product-detail-header-actions { grid-column:1/-1; flex-direction:row; align-items:center; justify-content:flex-end; gap:10px; }
  .product-detail-identity :is(h1,h2) { font-size:20px; }
  .product-detail-metrics { gap:7px; }
  .workspace-product-detail .product-detail-metrics .quick-metric { padding:8px; }
  .workspace-product-detail .product-detail-metrics .quick-metric strong { font-size:17px; }
  .workspace-product-detail .product-detail-metrics .quick-metric small { font-size:12px; }
  .workspace-product-detail .product-detail-metrics .quick-metric small { overflow-wrap:anywhere; }
  .workspace-product-detail:not(.workspace-product-360) .product-detail-tabs { gap:2px; }
  .workspace-product-detail:not(.workspace-product-360) .product-detail-tabs button { flex:1 1 0; min-width:0; padding-inline:1px; font-size:13px; }
  .product-stock-grid { gap:12px; }
  .product-stock-facts { font-size:12px; }
  .workspace-product-360 .product-detail-content { padding:16px 0 0; }
  .workspace-product-360 .product-detail-header { grid-template-columns:64px minmax(0,1fr); }
  .workspace-product-360 .product-detail-image { width:64px; height:78px; }
  .workspace-product-360 .product-detail-identity h1 { font-size:22px; }
  .workspace-product-360 .product-detail-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workspace-product-360 .product-detail-header-actions { justify-content:flex-start; }
  .product-360-grid { grid-template-columns:minmax(0,1fr); padding:10px; }
  .product-detail-card { padding:14px; }
}
/* Product units: optional complexity inside the existing editor. */
.presentation-row, .product-code-row { display:grid; gap:14px; padding:18px; margin:12px 0; border:1px solid var(--border, #dde5ee); border-radius:12px; background:#fafcfd; grid-template-columns:repeat(2,minmax(0,1fr)); }
.presentation-row fieldset, [data-coverage-fields] { border:0; margin:0; padding:0; min-width:0; }
.presentation-row legend, .presentation-row label>span, .product-code-row label>span { font-size:12px; color:#576c80; margin-bottom:7px; display:block; }
.presentation-row input:not([type=radio]):not([type=checkbox]), .presentation-row select, .product-code-row input, .product-code-row select, .product-supplier-row select { width:100%; min-width:0; border:1px solid #dbe4ed; border-radius:8px; padding:10px; background:white; font:inherit; }
.presentation-row input[readonly] { background:#f1f5f8; color:#7c8b99; }
.auxiliary-workspace { padding-top:16px; }
.auxiliary-query { display:flex; gap:10px; align-items:center; min-width:0; }
.auxiliary-query .supplier-catalog-search { flex:1; min-width:140px; }
.auxiliary-query .supplier-catalog-search .search-morph-icon { position:absolute; top:12px; left:13px; width:17px; height:17px; color:#526a78; }
.auxiliary-query .supplier-catalog-search input { min-height:42px; padding-left:39px; padding-right:42px; font-size:12px; }
.auxiliary-query select, .auxiliary-query button { min-height:42px; padding:0 12px; border:1px solid var(--border); border-radius:9px; background:white; color:var(--ink); font:inherit; }
.auxiliary-view-chips { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 20px; }
.auxiliary-view-chips a { white-space:nowrap; }
.auxiliary-view-chips a span { font-size:11px; opacity:.7; margin-left:5px; }
.auxiliary-data-table { min-width:560px; width:100%; }
.auxiliary-data-table th:first-child { width:42%; }
.auxiliary-data-table td { height:66px; }
.auxiliary-data-table td:first-child { display:table-cell; }
.auxiliary-data-table td:first-child .supplier-avatar { display:inline-grid; vertical-align:middle; margin-right:12px; }
.auxiliary-data-table td:first-child>div { display:inline-grid; gap:4px; vertical-align:middle; }
.auxiliary-data-table td small { display:block; color:var(--muted); font-size:12px; }
.auxiliary-data-table th a { color:inherit; text-decoration:none; }
.aux-empty-state { padding:50px 24px; text-align:center; color:var(--muted); }
.aux-empty-state .morph-icon { width:32px; height:32px; }
.auxiliary-pagination { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px; font-size:12px; }
.auxiliary-pagination nav { display:flex; align-items:center; gap:15px; }
.auxiliary-pagination a { color:var(--teal-dark); text-decoration:none; }
.auxiliary-pagination a[aria-disabled=true] { opacity:.4; pointer-events:none; }
.workspace-auxiliary-editor { width:min(680px,calc(100vw - 28px)); height:auto; max-height:calc(100dvh - 28px); border-radius:9px; }
.workspace-auxiliary-editor .workspace-editor-scroll { flex:1 1 auto; padding:22px; }
.auxiliary-compact-editor { border:0; box-shadow:none; padding:0; margin:0; border-radius:9px; }
.auxiliary-compact-editor form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.auxiliary-compact-editor label { min-width:0; display:grid; gap:7px; font-size:13px; color:var(--muted); }
.auxiliary-compact-editor input:not([type=checkbox]), .auxiliary-compact-editor select, .auxiliary-compact-editor textarea { width:100%; min-height:42px; border:1px solid var(--border); border-radius:8px; padding:10px; color:var(--ink); font:inherit; background:white; }
.auxiliary-compact-editor .editor-checkbox { display:flex; align-items:center; }
.auxiliary-compact-editor .aux-wide { grid-column:1/-1; }
.auxiliary-price-detail { margin-top:20px; padding:20px; border:1px solid var(--border); border-radius:12px; background:white; }
.auxiliary-price-detail>header { display:flex; justify-content:space-between; gap:15px; align-items:center; margin-bottom:16px; }
.auxiliary-price-detail h2 { font-size:17px; margin:0; }
.auxiliary-price-detail header span { font-size:12px; color:var(--muted); }
.product-list-prices { margin-top:20px; }
.product-list-prices h3 { font-size:14px; }
.product-list-price-row, .workspace-product-editor .product-supplier-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:16px; border:1px solid var(--border); border-radius:10px; background:#fafcfd; margin:12px 0; min-width:0; }
.product-list-price-row label { display:grid; gap:7px; min-width:0; font-size:12px; color:var(--muted); }
.product-list-price-row input, .product-list-price-row select { width:100%; min-width:0; min-height:42px; padding:10px; border:1px solid var(--border); border-radius:8px; background:white; font:inherit; color:var(--ink); }
.workspace-product-editor .product-supplier-row .supplier-alias { grid-column:1/-1; }
.workspace-product-editor .product-supplier-row .preferred-radio { grid-column:1/-1; grid-row:auto; display:flex; gap:8px; align-items:center; }
.sat-catalog-select { position:relative; min-width:0; }
.sat-catalog-select>input[type=search] { width:100%; min-width:0; }
.sat-catalog-select small { display:block; margin-top:6px; font-size:11px; line-height:1.4; color:var(--muted); }
.sat-search-results { position:absolute; top:44px; left:0; right:0; max-height:220px; overflow:auto; z-index:40; background:white; border:1px solid var(--border); border-radius:9px; box-shadow:0 10px 25px #1020311a; }
.sat-search-results[hidden] { display:none!important; }
.sat-search-results button { display:block; width:100%; text-align:left; border:0; padding:10px 12px; background:white; color:var(--ink); font:inherit; font-size:12px; line-height:1.4; }
.sat-search-results button:hover, .sat-search-results button:focus-visible { background:#e8f7f7; outline:0; }
.workspace-product-editor input[readonly] { background:#f1f5f8; }
@media(max-width:640px) { .auxiliary-query { flex-wrap:wrap; } .auxiliary-query .supplier-catalog-search { flex-basis:100%; } .auxiliary-compact-editor form, .product-list-price-row, .workspace-product-editor .product-supplier-row { grid-template-columns:1fr; } .workspace-product-editor .product-supplier-row>label { grid-column:auto; } .auxiliary-price-detail>header { align-items:start; flex-direction:column; } .auxiliary-pagination { flex-wrap:wrap; } }
.units-add, .presentation-remove, .product-code-row button { border:1px solid #cfdee4; color:#087e89; border-radius:8px; background:white; padding:9px 13px; cursor:pointer; }
.base-presentation-defaults { display:flex; flex-wrap:wrap; gap:12px; }
.units-code-section, .units-coverage-section { margin-top:25px; border-top:1px solid #e4ebf0; padding-top:18px; }
.units-code-section h3, .units-coverage-section h3 { font-size:14px; margin:0 0 10px; }
.units-code-section p, [data-product-units]>p, [data-preview-presentations], [data-preview-coverage] { font-size:12px; color:#63788b; line-height:1.7; }
.product-cost-basis { padding:10px 20px; background:#f8fafb; border-radius:9px; font-size:12px; }
[data-coverage-fields][hidden] { display:none; }
[data-product-units] [hidden], [data-preview-presentations][hidden], [data-preview-coverage][hidden] { display:none !important; }
.product-supplier-row { grid-template-columns:24px minmax(130px,1.2fr) minmax(130px,1fr) minmax(90px,.8fr) minmax(80px,.7fr) 60px 80px; }
@media(max-width:640px) { .presentation-row, .product-code-row { grid-template-columns:1fr; padding:13px; } .product-supplier-row { grid-template-columns:1fr 1fr; } }

/* Visual comparison: shared list typography; retain current family, sizes and layout. */
.workspace-module-identity h1 { font-weight: 500; }
.workspace-breadcrumbs { font-weight: 400; }
.workspace-breadcrumbs strong { font-weight: 600; }
.workspace-data-table tbody :is(strong, b),
.workspace-data-table tbody td:nth-child(2) a { font-weight: 600; }
.workspace-data-table tbody small { font-weight: 400; }
