:root {
  --etx-topbar-height: 64px;
  --etx-ticker-height: 26px;
  --etx-red: #d6242f;
  --etx-red-dark: #aa1722;
  --etx-dark: #1d2024;
  --etx-bg: #f5f6f7;
  --etx-surface: #ffffff;
  --etx-text: #1b2028;
  --etx-muted: #6a7280;
  --etx-border: #e4e7eb;
  --etx-success: #168759;
  --etx-warning: #bc6b08;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--etx-bg); color: var(--etx-text); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.ui-icon { width: 1em; height: 1em; display: block; flex: 0 0 auto; }

/* Shared navigation ----------------------------------------------------- */
.topbar {
  height: var(--etx-topbar-height); padding: 0 clamp(18px, 3vw, 42px); display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0;
  background: var(--etx-dark); color: #f7f8f9; border-bottom: 1px solid #333941;
  position: sticky; top: 0; z-index: 20;
}
.topbar-left, .topbar-right, .topbar-user { display: flex; align-items: center; }
.topbar-left { gap: 18px; }
.topbar-right { justify-content: flex-end; gap: 8px; }
.brand img { display: block; width: 126px; height: auto; max-height: 38px; object-fit: contain; }
.topbar-norms { height: 64px; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--etx-red); color: #d8dce1; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.topbar-nav-icon { width: 15px; height: 15px; }
.topbar-norms:hover { color: #fff; }
.topbar-user { justify-self: center; gap: 11px; color: #b9c0ca; font-size: 13px; }
.topbar-user b { color: #fff; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--etx-red); color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .03em; }
.topbar-action { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 6px; color: #e9ebee; font-size: 13px; }
.topbar-action:hover { background: rgba(255, 255, 255, .1); }
.topbar-action.is-attendance, .topbar-action.is-logout { color: #ffb8bd; }
.attendance-trigger { border: 0; background: transparent; cursor: pointer; }
.attendance-register-form { margin: 0; display: flex; }
.attendance-register-form button { width: 100%; min-height: 40px; padding: 9px; border-radius: 7px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.topbar-action svg { width: 16px; height: 16px; }
.topbar-menu { position: relative; }
.topbar-menu > summary { cursor: pointer; list-style: none; }
.topbar-menu > summary::-webkit-details-marker { display: none; }
.topbar-menu[open] > summary { background: rgba(255, 255, 255, .1); }
.topbar-menu-chevron { width: 13px !important; height: 13px !important; transition: transform .16s ease; }
.topbar-menu[open] .topbar-menu-chevron { transform: rotate(180deg); }
.topbar-menu-panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; display: grid; min-width: 218px; overflow: hidden; border: 1px solid #3b424b; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.28); }
.topbar-menu-panel a { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 13px; color: #38424d; font-size: 13px; font-weight: 700; white-space: nowrap; }
.topbar-menu-panel a + a { border-top: 1px solid #edf0f2; }
.topbar-menu-panel a:hover { background: #fff0f1; color: var(--etx-red); }
.topbar-menu-panel .ui-icon { width: 17px; height: 17px; color: var(--etx-red); }
.priority-ticker { position: sticky; top: var(--etx-topbar-height); z-index: 19; height: var(--etx-ticker-height); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; overflow: hidden; background: var(--etx-red); color: #fff; box-shadow: inset 0 -1px rgba(95, 11, 18, .28); }
.priority-ticker-label { display: inline-flex; align-items: center; gap: 7px; padding: 0 clamp(18px, 3vw, 42px); background: #ba1d29; font-size: 10px; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; z-index: 1; }.priority-ticker-label .ui-icon { width: 13px; height: 13px; }
.priority-ticker-window { min-width: 0; overflow: hidden; }.priority-ticker-track { width: max-content; min-width: 100%; height: 100%; display: flex; align-items: center; gap: 22px; padding-left: 22px; animation: priority-ticker-scroll 38s linear infinite; }.priority-ticker:hover .priority-ticker-track, .priority-ticker:focus-within .priority-ticker-track { animation-play-state: paused; }
.priority-ticker-item { display: inline-flex; align-items: center; gap: 8px; max-width: min(560px, 48vw); color: #fff; font-size: 11px; line-height: 1.3; white-space: nowrap; }.priority-ticker-item strong { padding: 1px 5px; border-radius: 4px; background: rgba(82, 9, 14, .31); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }.priority-ticker-item span { overflow: hidden; text-overflow: ellipsis; }.priority-ticker-item i { font-size: 18px; font-style: normal; line-height: 1; }.priority-ticker-item:hover { text-decoration: underline; text-underline-offset: 3px; }.priority-ticker-item:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }.priority-ticker-separator { opacity: .65; }
.priority-ticker-empty { margin: 0; padding: 0 18px; align-self: center; color: #ffe3e5; font-size: 12px; font-weight: 600; }
@keyframes priority-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.admin-bar { height: 34px; display: flex; align-items: center; gap: 1.4rem; overflow-x: auto; padding: 0 clamp(18px, 3vw, 42px); background: var(--etx-red); color: #fff; font-size: 12px; white-space: nowrap; }
.admin-bar > span { font-weight: 750; letter-spacing: .04em; }
.admin-bar a { display: inline-flex; align-items: center; gap: 5px; opacity: .86; }.admin-bar a:hover, .admin-bar .active { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }.admin-nav-icon { width: 14px; height: 14px; }
.main-content { max-width: 1440px; margin: 0 auto; padding: 28px clamp(18px, 3vw, 42px) 44px; }
.main-content.dashboard-main { width: 100%; max-width: none; padding: 0; }
.screen-navigation { position: sticky; top: var(--etx-topbar-height); z-index: 19; display: flex; align-items: center; min-height: 52px; padding: 6px clamp(18px, 3vw, 42px); border-bottom: 1px solid var(--etx-border); background: var(--etx-bg); }
.priority-ticker ~ .screen-navigation { top: calc(var(--etx-topbar-height) + var(--etx-ticker-height)); z-index: 18; }
.dashboard-return { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 8px 12px; border: 1px solid #dce2e6; border-radius: 7px; background: var(--etx-surface); color: #596572; font-size: 13px; font-weight: 700; }.dashboard-return:hover { border-color: var(--etx-red); color: var(--etx-red); }.dashboard-return:focus-visible { outline: 2px solid var(--etx-red); outline-offset: 3px; }
@media (max-width: 720px) {
  :root { --etx-topbar-height: 58px; }
  .screen-navigation { padding-inline: 14px; }
}

/* Horario --------------------------------------------------------------- */
.attendance-dialog { width: min(420px, calc(100vw - 34px)); margin: auto; padding: 0; border: 0; border-radius: 15px; background: transparent; box-shadow: 0 24px 70px rgba(15, 20, 27, .28); }.attendance-dialog::backdrop { background: rgba(18, 23, 29, .42); backdrop-filter: blur(2px); }.attendance-island { position: relative; overflow: hidden; padding: 27px; border: 1px solid #e1e5e9; border-radius: 15px; background: #fff; }.attendance-island::before { position: absolute; inset: 0 0 auto; height: 4px; background: var(--etx-red); content: ""; }.attendance-close { position: absolute; top: 14px; right: 15px; display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 50%; background: #f3f5f6; color: #65707a; font-size: 21px; line-height: 1; cursor: pointer; }.attendance-close:hover { background: #fdebed; color: var(--etx-red); }.attendance-island .eyebrow { margin-bottom: 6px; }.attendance-island h2 { margin: 0; color: #252d37; font-size: 24px; letter-spacing: -.04em; }.attendance-dialog-intro { margin: 7px 0 21px; color: var(--etx-muted); font-size: 13px; }.attendance-schedule { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border: 1px solid #e5e9ec; border-radius: 9px; overflow: hidden; }.attendance-schedule > div { min-width: 0; padding: 13px 10px; border-right: 1px solid #e5e9ec; text-align: center; }.attendance-schedule > div:last-child { border-right: 0; }.attendance-schedule dt { color: #808a95; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }.attendance-schedule dd { margin: 6px 0 0; color: #2c3640; font-size: 16px; font-weight: 800; }.attendance-total { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 22px; color: #64707c; font-size: 11px; }.attendance-total strong { color: #2c3640; font-size: 13px; }.attendance-total span { text-align: right; }.attendance-dialog-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; }.attendance-dialog-actions a { display: flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px; border-radius: 7px; font-size: 12px; font-weight: 800; }.attendance-history-link { border: 1px solid #dce2e6; color: #596572; }.attendance-history-link:hover { border-color: #b7c0c8; background: #f7f9fa; color: #33404b; }.attendance-register-link { border: 1px solid var(--etx-red); background: var(--etx-red); color: #fff; }.attendance-register-link:hover { border-color: var(--etx-red-dark); background: var(--etx-red-dark); }

/* Login ----------------------------------------------------------------- */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-intro { min-height: 100vh; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 48px clamp(32px, 8vw, 130px); background-color: var(--etx-dark); background-position: center; background-repeat: no-repeat; background-size: cover; color: #fff; }
.login-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(16, 20, 25, .76), rgba(16, 20, 25, .34)); }
.login-intro > div { position: relative; z-index: 1; max-width: 520px; }
.login-intro h1 { margin: 0 0 22px; font-size: clamp(42px, 5vw, 70px); font-weight: 700; letter-spacing: -.055em; line-height: 1.05; }
.login-intro p:not(.eyebrow) { max-width: 480px; margin: 0; color: #f1f3f5; font-size: 19px; line-height: 1.55; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.eyebrow { margin: 0 0 8px; color: var(--etx-red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.login-intro .eyebrow { color: #ffb8bd; }
.login-panel { display: grid; place-items: center; padding: 32px; background: var(--etx-surface); }
.login-panel form { width: min(100%, 390px); }
.login-panel h2 { margin: 0 0 7px; color: var(--etx-text); font-size: 30px; letter-spacing: -.04em; }
.muted { color: var(--etx-muted); }
.login-panel label { display: block; margin: 28px 0 0; color: #303842; font-size: 14px; font-weight: 700; }
.input-wrap { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 0 12px; border: 1px solid #d7dce2; border-radius: 9px; color: #7a8491; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within { border-color: var(--etx-red); box-shadow: 0 0 0 3px rgba(214,36,47,.11); }
.input-wrap input { height: 47px; min-width: 0; flex: 1; border: 0; outline: 0; color: var(--etx-text); }
.primary-button { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 28px; border: 0; border-radius: 9px; background: var(--etx-red); color: #fff; font-weight: 750; cursor: pointer; }
.primary-button:hover { background: var(--etx-red-dark); }.primary-button:focus-visible { outline: 3px solid rgba(214,36,47,.28); outline-offset: 2px; }
.form-error { margin: 14px 0 -6px; color: #a91621; font-size: 14px; }.help-text { margin-top: 22px; color: var(--etx-muted); font-size: 13px; text-align: center; }
.mobile-brand { display: none; }

/* Dashboard ------------------------------------------------------------- */
.dashboard-v2 { width: 100%; min-height: calc(100vh - 64px); }
.dashboard-frame { min-height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(180px,15%) minmax(510px,1fr) minmax(235px,18%); overflow: hidden; background: #fff; }
.priority-ticker ~ .main-content .dashboard-v2, .priority-ticker ~ .main-content .dashboard-frame { min-height: calc(100vh - var(--etx-topbar-height) - var(--etx-ticker-height)); }
.access-rail { min-height: 0; display: flex; flex-direction: column; padding: 28px 14px; background: #fafafa; border-right: 1px solid var(--etx-border); }
.access-rail header { padding: 0 10px 18px; }.access-rail h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 18px; letter-spacing: -.03em; }.access-list { display: grid; flex: 1; min-height: 0; align-content: start; gap: 10px; overflow: auto; }
.access-item { display: grid; grid-template-columns: 20px 1fr 15px; gap: 8px; align-items: center; padding: 11px 10px; border-radius: 7px; color: #4c5560; font-size: 13px; font-weight: 680; }
.access-item:hover { background: #f8e7e8; color: #b01d28; }.nav-glyph { width: 18px; height: 18px; display: grid; place-items: center; color: #78828e; text-align: center; }.nav-glyph .ui-icon { width: 17px; height: 17px; }.access-item:hover .nav-glyph { color: var(--etx-red); }.nav-chevron { color: #b1b8c1; font-size: 17px; }
.access-prl-group > summary, .access-prl-subgroup > summary { cursor: pointer; list-style: none; }.access-prl-group > summary::-webkit-details-marker, .access-prl-subgroup > summary::-webkit-details-marker { display: none; }.access-prl-group[open] > summary { background: #f8e7e8; color: var(--etx-red); }.access-prl-group[open] > summary .nav-glyph { color: var(--etx-red); }.access-prl-group[open] > summary > .nav-chevron, .access-prl-subgroup[open] > summary .nav-chevron { transform: rotate(90deg); }.access-prl-group[open] > summary > .nav-chevron { color: var(--etx-red); }.access-prl-subgroup[open] > summary .nav-chevron { color: #b1b8c1; }
.access-prl-menu, .access-prl-submenu { display: grid; gap: 7px; margin: 10px 0 8px; padding: 0 0 4px 30px; list-style: none; }.access-prl-menu > li, .access-prl-submenu > li { min-width: 0; }.access-prl-entry, .access-prl-subgroup > summary { display: grid; grid-template-columns: minmax(0, 1fr) 15px; gap: 8px; align-items: center; box-sizing: border-box; min-height: 42px; padding: 11px 10px 11px 8px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: #4c5560; font-size: 13px; font-weight: 680; line-height: 1.35; }.access-prl-subgroup > summary:hover, .access-prl-entry:hover { background: #fff0f1; color: var(--etx-red); }.access-prl-subgroup > summary .nav-chevron { font-size: 17px; transition: transform .15s ease; }.access-prl-submenu { gap: 6px; margin: 3px 0 6px 8px; padding: 3px 0 3px 18px; border-left: 1px solid #e5c7ca; }.access-prl-submenu .access-prl-entry { min-height: 40px; color: #4c5560; font-size: 13px; }
.activity-zone { min-width: 0; display: flex; flex-direction: column; padding: clamp(32px,4.5vw,70px); }
.activity-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: clamp(32px,5vw,68px); }.activity-heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(29px,2.65vw,41px); letter-spacing: -.05em; }.title-icon { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; background: #f9e1e3; color: var(--etx-red); }.title-icon .ui-icon { width: 20px; height: 20px; }.title-icon-small { width: 24px; height: 24px; border-radius: 6px; }.title-icon-small .ui-icon { width: 15px; height: 15px; }.activity-heading p:not(.eyebrow) { margin: 9px 0 0; color: var(--etx-muted); font-size: 15px; }.cycle-caption { padding: 7px 9px; border: 1px solid #e5e7ea; border-radius: 99px; color: #9ba3ad; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.process-grid { position: relative; width: 100%; max-width: 980px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(54px,7vw,92px) clamp(64px,8vw,122px); margin: 0 auto; padding: 0 clamp(8px,3vw,42px); }
.process-module { min-height: 172px; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; gap: 5px 15px; position: relative; padding: 24px; border: 1px solid #dfe3e7; border-radius: 10px; background: #fff; color: var(--etx-text); text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; }
.process-module::before { content: ""; position: absolute; top: 19px; bottom: 19px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--etx-red); }.process-module:hover { border-color: #cf6a71; box-shadow: 0 8px 22px rgba(43,34,35,.09); transform: translateY(-2px); }
.process-module.sun { order: 1; border-color: #e7cf78; }.process-module.blue { order: 2; border-color: #9fcbe7; }.process-module.rose { order: 3; border-color: #e4a9af; }.process-module.green { order: 4; border-color: #a9d5b1; }
.process-module.sun::before { background: #d7b839; }.process-module.blue::before { background: #5c9fca; }.process-module.rose::before { background: #cf717b; }.process-module.green::before { background: #68a978; }
.process-icon { width: 46px; height: 46px; display: grid; place-items: center; grid-row: span 2; border-radius: 9px; background: #fceced; color: var(--etx-red); }.process-icon .ui-icon { width: 25px; height: 25px; }.sun .process-icon { background: #fff6d9; color: #927008; }.blue .process-icon { background: #eaf6fd; color: #32779f; }.rose .process-icon { background: #fcedee; color: #aa3e49; }.green .process-icon { background: #edf8ef; color: #3c8050; }
.process-copy { display: flex; min-width: 0; flex-direction: column; }.process-copy strong { font-size: 18px; letter-spacing: -.025em; }.process-copy small { margin-top: 6px; color: var(--etx-muted); font-size: 13px; line-height: 1.4; }.module-actions { grid-column: 2; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }.module-state { color: var(--etx-red); font-size: 12px; font-weight: 800; }.module-state:hover { color: var(--etx-red-dark); text-decoration: underline; text-underline-offset: 3px; }.module-quick-action { display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 6px 9px; border: 1px solid currentColor; border-radius: 6px; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }.module-quick-action:hover { background: currentColor; color: #fff; }.sun .module-quick-action { background: #fff9e7; color: #927008; }.blue .module-quick-action { background: #f0f9fe; color: #32779f; }.green .module-quick-action { background: #f1faf3; color: #3c8050; }.rose .module-quick-action { background: #fff3f4; color: #aa3e49; }.locked { cursor: not-allowed; }.locked .module-state { color: #777f89; }.locked::before { background: #aab1b9; }
.process-link { position: absolute; z-index: 1; color: var(--etx-red); font-size: 22px; font-weight: 500; line-height: 1; }.link-top { top: 25%; left: 50%; transform: translate(-50%,-50%); }.link-right { top: 50%; right: 7%; transform: translate(50%,-50%); }.link-bottom { top: 75%; left: 50%; transform: translate(-50%,-50%); }.link-left { top: 50%; left: 7%; transform: translate(-50%,-50%); }
.fast-strip { width: 100%; max-width: 860px; display: grid; grid-template-columns: minmax(210px,280px); justify-content: center; gap: 8px; margin: auto auto 0; padding-top: clamp(38px,6vw,78px); }.fast-strip a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 16px 7px; border: 1px solid #e0e4e8; border-radius: 9px; background: #fff; color: #48515c; box-shadow: 0 1px 2px rgba(23,31,40,.03); font-size: 13px; font-weight: 700; }.fast-link-icon { width: 17px; height: 17px; color: var(--etx-red); }.fast-strip a:hover { border-color: #dca2a7; box-shadow: 0 6px 18px rgba(35,26,28,.08); color: var(--etx-red); }
.insight-rail { min-height: 0; display: grid; grid-template-rows: auto 1fr; background: #fcfcfc; border-left: 1px solid var(--etx-border); }.alerts-block { border-bottom: 1px solid var(--etx-border); }.insight-block { min-height: 0; }.panel-title { display: flex; justify-content: space-between; padding: 22px 22px 14px; }.panel-title h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 17px; }.panel-title p { margin: 4px 0 0; color: var(--etx-muted); font-size: 11px; }.alert-stack { padding: 0 14px 14px; }.alert-row { display: flex; align-items: center; gap: 9px; padding: 11px 8px; border-top: 1px solid #eef0f2; }.alert-icon { width: 21px; height: 21px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #e6f5ed; color: var(--etx-success); font-size: 12px; font-weight: 700; }.alert-icon.warn { background: #fff1db; color: var(--etx-warning); }.alert-icon.neutral { background: #edf0f3; color: #687482; }.alert-row h3, .board-post h3 { margin: 0; font-size: 12px; }.alert-row p, .board-post p { margin: 3px 0 0; color: var(--etx-muted); font-size: 11px; line-height: 1.4; }.board-stack { padding: 0 22px 16px; }.board-post { display: grid; grid-template-columns: max-content 1fr; gap: 8px; padding: 13px 0; border-top: 1px solid #edf0f2; }.board-tag { height: max-content; padding: 4px 6px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.board-tag.important { background: #fceced; color: #a8313a; }.board-tag.info { background: #eaf6fd; color: #3975a4; }.board-tag.notice { background: #e6f5ed; color: #2a8557; }.board-post time { display: block; margin-top: 6px; color: #969fa9; font-size: 10px; }

/* Personal notices ------------------------------------------------------ */
.notice-list-page, .notice-detail-page { max-width: 1120px; margin: 0 auto; }.notice-list-heading, .notice-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }.notice-list-heading h1, .notice-detail-heading h1 { display: flex; align-items: center; gap: 11px; margin: 0; font-size: clamp(29px, 3vw, 40px); letter-spacing: -.05em; }.notice-list-heading > div > p:not(.eyebrow), .notice-detail-heading > div > p:not(.eyebrow) { margin: 8px 0 0; color: var(--etx-muted); font-size: 14px; }.notice-list-heading .page-title-icon, .notice-detail-heading .page-title-icon { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 8px; background: #f9dfe1; color: var(--etx-red); }.notice-list-heading .page-title-icon .ui-icon, .notice-detail-heading .page-title-icon .ui-icon { width: 19px; height: 19px; }
.notice-list-new, .notice-detail-back { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 13px; border: 1px solid #e0e4e8; border-radius: 8px; color: #46505c; font-size: 13px; font-weight: 750; white-space: nowrap; }.notice-list-new .ui-icon { width: 16px; height: 16px; color: var(--etx-red); }.notice-list-new:hover, .notice-detail-back:hover { border-color: #dca2a7; color: var(--etx-red); }
.notice-list-card, .notice-detail-card { border: 1px solid var(--etx-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.notice-list-row { display: grid; grid-template-columns: 9px minmax(0, 1fr) max-content 18px; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid #edf0f2; }.notice-list-row:last-child { border-bottom: 0; }.notice-list-row:hover { background: #fff9f9; }.notice-type-dot { width: 9px; height: 9px; border-radius: 50%; background: #6a9fc1; }.notice-type-dot.collection { background: #ce9b34; }.notice-type-dot.incident { background: #d55d67; }.notice-type-dot.delivery { background: #69a978; }.notice-list-row b { display: block; overflow: hidden; color: #27303a; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.notice-list-row small { display: block; margin-top: 4px; color: var(--etx-muted); font-size: 12px; }.notice-list-status { padding: 5px 8px; border-radius: 5px; background: #f0f2f4; color: #697481; font-size: 11px; font-weight: 750; }.notice-list-status.pending { background: #fff0e5; color: #ad5d0b; }.notice-list-arrow { color: #9ba3ac; font-size: 22px; }.notice-list-empty { margin: 0; padding: 34px 20px; color: var(--etx-muted); font-size: 14px; text-align: center; }
.main-content.notice-table-main { width: 100%; max-width: none; }.notice-table-page { width: 100%; max-width: none; }.notice-table-shell { overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }.notice-table { width: 100%; table-layout: fixed; border-collapse: collapse; border-spacing: 0; background: transparent; }.notice-table caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }.notice-col-date { width: 10%; }.notice-col-client { width: 14%; }.notice-col-city { width: 10%; }.notice-col-type { width: 11%; }.notice-col-subject { width: 23%; }.notice-col-assignees { width: 13%; }.notice-col-attended { width: 12%; }.notice-col-pending { width: 7%; }.notice-table th { padding: 0 12px 10px; border-bottom: 1px solid #dfe3e7; color: #737d89; font-size: 10px; font-weight: 800; letter-spacing: .07em; line-height: 1.35; text-align: left; text-transform: uppercase; }.notice-table td { min-width: 0; padding: 14px 12px; border-bottom: 1px solid #e3e6e9; color: #3c4651; font-size: 12px; vertical-align: middle; }.notice-table tbody tr:last-child td { border-bottom: 0; }.notice-table-row { cursor: pointer; outline: 0; transition: background .14s ease; }.notice-table-row:hover, .notice-table-row:focus-visible { background: rgba(255,255,255,.72); }.notice-table-row:focus-visible { box-shadow: inset 3px 0 var(--etx-red); }.notice-table-truncate, .notice-table-subject { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.notice-table-subject { color: #27303a; font-weight: 680; }.notice-table td time { color: #687380; font-variant-numeric: tabular-nums; white-space: nowrap; }.notice-table-type { display: inline-block; max-width: 100%; overflow: hidden; padding: 4px 6px; border-radius: 4px; background: #edf3f7; color: #3975a4; font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.notice-table-type.collection { background: #fff1d9; color: #a86d10; }.notice-table-type.incident { background: #fceced; color: #af3540; }.notice-table-type.delivery { background: #e8f5ed; color: #287953; }.notice-table-status { display: inline-block; padding: 4px 6px; border-radius: 4px; background: #e9edf0; color: #687481; font-size: 10px; font-weight: 800; white-space: nowrap; }.notice-table-status.pending { background: #fff0df; color: #ad5d0b; }.notice-table .notice-list-empty { padding: 34px 20px; border-bottom: 0; background: transparent; }
.notice-detail-card { position: relative; padding: 28px; }.notice-detail-status { position: absolute; top: 20px; right: 22px; padding: 6px 9px; border-radius: 5px; background: #edf0f2; color: #65717d; font-size: 11px; font-weight: 800; }.notice-detail-status.pending { background: #fff0e5; color: #ad5d0b; }.notice-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }.notice-detail-grid section { min-width: 0; padding: 18px; border: 1px solid #ebedf0; border-radius: 9px; }.notice-detail-grid h2 { margin: 0 0 12px; color: #303944; font-size: 15px; }.notice-detail-grid > section > p { margin: 0 0 17px; color: #535e6b; font-size: 14px; line-height: 1.55; }.notice-detail-grid dl { display: grid; gap: 10px; margin: 0; }.notice-detail-grid dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }.notice-detail-grid dt { color: #7a8490; font-size: 12px; }.notice-detail-grid dd { min-width: 0; margin: 0; color: #38424e; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }.notice-detail-comment { margin: 15px 0 0; padding: 10px; border-left: 3px solid #d6242f; background: #fff8f8; color: #555f69; font-size: 13px; line-height: 1.45; }

/* Generic Django pages -------------------------------------------------- */
.module-placeholder { min-height: calc(100vh - 108px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 24px; text-align: center; }.module-placeholder-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 10px; background: #fceced; color: var(--etx-red); }.module-placeholder-icon .ui-icon { width: 30px; height: 30px; }.module-placeholder h1 { margin: 7px 0; font-size: 34px; letter-spacing: -.045em; }.module-placeholder p:last-of-type { max-width: 440px; color: var(--etx-muted); font-size: 14px; line-height: 1.6; }.module-placeholder .primary-button { width: auto; height: auto; margin-top: 22px; padding: 12px 18px; }

/* Gestionar ------------------------------------------------------------- */
.manage-hub { width: min(100%, 1120px); min-height: calc(100vh - 108px); margin: 0 auto; padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 48px); }.manage-heading { margin-bottom: clamp(28px, 4vw, 46px); }.manage-heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(31px, 3.2vw, 43px); letter-spacing: -.05em; }.manage-heading > p:last-child { max-width: 520px; margin: 10px 0 0; color: var(--etx-muted); font-size: 15px; line-height: 1.55; }.manage-columns { display: grid; grid-template-columns: minmax(300px, 420px); gap: 22px; }.manage-column { overflow: hidden; border: 1px solid var(--etx-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.manage-column > header { display: flex; align-items: center; gap: 13px; padding: 22px 22px 18px; border-bottom: 1px solid #edf0f2; }.manage-column-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; background: #f9e1e3; color: var(--etx-red); }.manage-column-icon .ui-icon { width: 20px; height: 20px; }.manage-column .eyebrow { margin-bottom: 3px; }.manage-column h2 { margin: 0; color: #252d37; font-size: 20px; letter-spacing: -.03em; }.manage-menu { display: grid; gap: 7px; padding: 13px; }.manage-menu-item, .manage-subgroup > summary { display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 66px; padding: 12px 13px; border: 1px solid transparent; border-radius: 8px; color: #3f4a56; list-style: none; transition: background .15s, border-color .15s, color .15s; }.manage-subgroup > summary::-webkit-details-marker { display: none; }.manage-menu-item strong, .manage-subgroup strong { display: block; font-size: 14px; }.manage-menu-item small, .manage-subgroup small { display: block; margin-top: 3px; color: #7a8490; font-size: 12px; font-weight: 500; line-height: 1.35; }.manage-menu-item > span:last-child, .manage-subgroup > summary > span:last-child { color: #a4adb7; font-size: 20px; }.manage-menu-item:hover, .manage-subgroup > summary:hover { border-color: #efd3d6; background: #fff7f7; color: var(--etx-red); }.manage-subgroup { min-width: 0; }.manage-subgroup > summary { cursor: pointer; }.manage-subgroup[open] > summary { border-color: #efd3d6; background: #fff7f7; }.manage-subgroup[open] > summary > span:last-child { transform: rotate(90deg); color: var(--etx-red); }.manage-subgroup ul { display: grid; gap: 5px; margin: 5px 0 2px 18px; padding: 3px 0 3px 14px; border-left: 1px solid #e6c7ca; list-style: none; }.manage-subgroup li { min-width: 0; }.manage-subgroup li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 10px; border-radius: 6px; color: #56616d; font-size: 13px; font-weight: 650; }.manage-subgroup li a span { color: #a4adb7; font-size: 17px; }.manage-subgroup li a:hover { background: #fff0f1; color: var(--etx-red); }

.manage-directory-page { width: 100%; max-width: none; min-height: calc(100vh - 108px); margin: 0; padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 48px); }.manage-directory-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }.manage-directory-heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(31px, 3.2vw, 43px); letter-spacing: -.05em; }.manage-directory-heading > div > p:last-child { max-width: 520px; margin: 10px 0 0; color: var(--etx-muted); font-size: 15px; line-height: 1.55; }.manage-directory-back { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 13px; border: 1px solid #e0e4e8; border-radius: 8px; color: #46505c; font-size: 13px; font-weight: 750; white-space: nowrap; }.manage-directory-back:hover { border-color: #dca2a7; color: var(--etx-red); }
.manage-directory-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }.manage-directory-actions form { margin: 0; }.manage-directory-import { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 9px 13px; border: 1px solid var(--etx-red); border-radius: 8px; background: var(--etx-red); color: #fff; font-size: 13px; font-weight: 750; white-space: nowrap; cursor: pointer; }.manage-directory-import:hover { border-color: var(--etx-red-dark); background: var(--etx-red-dark); }.manage-directory-import .ui-icon { width: 16px; height: 16px; }.manage-directory-export, .manage-directory-json-picker { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; box-sizing: border-box; padding: 9px 13px; border: 1px solid #dfe4e8; border-radius: 8px; background: #fff; color: #46505c; font-size: 13px; font-weight: 750; white-space: nowrap; cursor: pointer; }.manage-directory-export:hover, .manage-directory-json-picker:hover { border-color: #dca2a7; background: #fff9f9; color: var(--etx-red); }.manage-directory-export .ui-icon, .manage-directory-json-picker .ui-icon { width: 16px; height: 16px; }.manage-directory-message { margin: -16px 0 22px; padding: 11px 13px; border: 1px solid #cce6d8; border-radius: 8px; background: #f2fbf6; color: #18744f; font-size: 13px; font-weight: 650; }.manage-directory-message.error { border-color: #efc4c8; background: #fff3f4; color: #a91621; }.manage-directory-message.warning { border-color: #f0d5ad; background: #fff8ec; color: #9a5a0a; }
.manage-directory-card { overflow: hidden; border: 1px solid var(--etx-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.manage-directory-card > header, .company-directory-search-form > .manage-directory-card-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px 18px; border-bottom: 1px solid #edf0f2; }.manage-directory-card > header .eyebrow, .company-directory-search-form > .manage-directory-card-toolbar .eyebrow { margin-bottom: 3px; }.manage-directory-card h2 { margin: 0; color: #252d37; font-size: 20px; letter-spacing: -.03em; }.manage-directory-count { padding: 6px 9px; border-radius: 99px; background: #f9e1e3; color: #b11f2b; font-size: 11px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }.manage-directory-table-wrap { overflow-x: auto; }.manage-directory-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }.manage-directory-table th { padding: 12px 24px; border-bottom: 1px solid #e8ebee; background: #fafafa; color: #77818d; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.manage-directory-table th:first-child { width: 52%; }.manage-directory-table td { padding: 16px 24px; border-bottom: 1px solid #edf0f2; color: #5c6672; font-size: 13px; }.manage-directory-table tbody tr:last-child td { border-bottom: 0; }.manage-directory-table tbody tr:not(.manage-directory-empty):hover { background: #fff9f9; }.manage-directory-table td:first-child { display: flex; align-items: center; gap: 10px; color: #2c3540; }.manage-directory-table td strong { font-size: 14px; font-weight: 720; }.manage-directory-name-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 7px; background: #f9e1e3; color: var(--etx-red); }.manage-directory-name-icon .ui-icon { width: 16px; height: 16px; }.manage-directory-empty td { padding: 38px 24px; color: #7b8590; font-size: 13px; font-style: italic; text-align: center; }
.manage-directory-company-link { display: flex; align-items: center; gap: 10px; min-width: 0; }.manage-directory-company-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.manage-directory-company-link[href]:hover strong { color: var(--etx-red); text-decoration: underline; text-underline-offset: 3px; }
.manage-directory-card.is-company-directory-card { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }.manage-directory-card.is-company-directory-card > .manage-directory-card-toolbar, .manage-directory-card.is-company-directory-card > .company-directory-search-form > .manage-directory-card-toolbar { justify-content: flex-end; padding: 12px 0; }.manage-directory-card.is-company-directory-card > .manage-directory-card-toolbar, .manage-directory-card.is-company-directory-card > .company-directory-search-form > .manage-directory-card-toolbar { border-bottom-color: #e4e8eb; }.manage-directory-card.is-company-directory-card .manage-directory-table-wrap { overflow-x: visible; }.manage-directory-table.is-company-directory { min-width: 0; table-layout: fixed; }.manage-directory-table.is-company-directory th, .manage-directory-table.is-company-directory td { overflow-wrap: anywhere; }.manage-directory-table.is-company-directory td { white-space: normal; }.manage-directory-table.is-company-directory th:first-child { width: 28%; }.manage-directory-table.is-company-directory th:nth-child(2), .manage-directory-table.is-company-directory th:nth-child(3) { width: 14%; }.manage-directory-table.is-company-directory th:nth-child(4) { width: 16%; }.manage-directory-table.is-company-directory th:nth-child(5) { width: 13%; }.manage-directory-table.is-company-directory th:nth-child(6) { width: 15%; }
.manage-directory-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }.manage-directory-filter { position: relative; }.manage-directory-filter > summary { display: inline-flex; align-items: center; min-height: 31px; gap: 6px; padding: 6px 10px; border: 1px solid #dfe4e8; border-radius: 7px; color: #434d59; font-size: 12px; font-weight: 750; cursor: pointer; list-style: none; }.manage-directory-filter > summary::-webkit-details-marker { display: none; }.manage-directory-filter > summary:hover, .manage-directory-filter[open] > summary { border-color: #e8a3a9; color: var(--etx-red); background: #fff8f8; }.manage-directory-filter > summary .ui-icon { width: 14px; height: 14px; }.manage-directory-filter-panel { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 13px; width: min(498px, calc(100vw - 52px)); padding: 16px; border: 1px solid #e3e7ea; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px rgba(32,42,51,.15); }.manage-directory-filter-panel label { display: grid; gap: 5px; color: #697480; font-size: 11px; font-weight: 760; letter-spacing: .025em; }.manage-directory-filter-panel select { width: 100%; min-width: 0; height: 35px; padding: 0 9px; border: 1px solid #dce1e5; border-radius: 6px; background: #fff; color: #37414d; font-size: 12px; }.manage-directory-filter-panel select:focus { border-color: #d8404d; outline: 2px solid rgba(216,64,77,.14); }.manage-directory-filter-buttons { display: flex; align-items: center; justify-content: flex-end; grid-column: 1 / -1; gap: 12px; padding-top: 2px; }.manage-directory-filter-buttons button { min-height: 34px; padding: 7px 13px; border: 1px solid var(--etx-red); border-radius: 6px; background: var(--etx-red); color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }.manage-directory-filter-buttons button:hover { background: var(--etx-red-dark); border-color: var(--etx-red-dark); }.manage-directory-filter-buttons a { color: #65707c; font-size: 12px; font-weight: 700; }.manage-directory-filter-buttons a:hover { color: var(--etx-red); text-decoration: underline; text-underline-offset: 3px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }.manage-directory-card.is-company-directory-card > .company-directory-search-form > .manage-directory-card-toolbar { justify-content: flex-start; }.manage-directory-card.is-company-directory-card .manage-directory-card-actions { width: 100%; justify-content: space-between; }.company-directory-global-search { position: relative; display: block; width: min(100%, 390px); }.company-directory-global-search input, .company-directory-column-searches input { box-sizing: border-box; width: 100%; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid #dce2e6; border-radius: 7px; background: #fff; color: #35404c; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: normal; }.company-directory-global-search input { height: 37px; padding: 0 66px 0 12px; }.company-directory-global-search button { position: absolute; top: 1px; right: 1px; height: 35px; padding: 0 11px; border: 0; border-left: 1px solid #e1e5e8; border-radius: 0 6px 6px 0; background: transparent; color: #b11f2b; font-size: 11px; font-weight: 800; cursor: pointer; }.company-directory-global-search button:hover { background: #fff4f5; color: var(--etx-red-dark); }.company-directory-global-search input::placeholder, .company-directory-column-searches input::placeholder { color: #9aa4ae; }.company-directory-global-search input:focus, .company-directory-column-searches input:focus { border-color: #d8404d; outline: 2px solid rgba(216,64,77,.14); }.company-directory-column-searches th { padding-top: 0; padding-bottom: 15px; background: #fafafa; }.company-directory-column-searches label { display: block; }.company-detail-page { width: min(100%, 1120px); min-height: calc(100vh - 108px); margin: 0 auto; padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 48px); }.company-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }.company-detail-heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(31px, 3.2vw, 43px); letter-spacing: -.05em; }.company-detail-heading > div > p:last-child { max-width: 620px; margin: 10px 0 0; color: var(--etx-muted); font-size: 15px; line-height: 1.55; }.company-detail-card { overflow: hidden; margin-bottom: 18px; border: 1px solid var(--etx-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.company-detail-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px 18px; border-bottom: 1px solid #edf0f2; }.company-detail-card > header .eyebrow { margin-bottom: 3px; }.company-detail-card h2 { margin: 0; color: #252d37; font-size: 20px; letter-spacing: -.03em; }.company-imported-at, .company-notes-id { padding: 6px 9px; border-radius: 99px; background: #f1f3f5; color: #66717d; font-size: 11px; font-weight: 750; white-space: nowrap; }.company-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }.company-overview-grid > div { min-width: 0; padding: 17px 24px; border-right: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; }.company-overview-grid > div:nth-child(3n) { border-right: 0; }.company-overview-grid dt, .company-notes-grid dt { color: #7a8490; font-size: 11px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }.company-overview-grid dd, .company-notes-grid dd { margin: 6px 0 0; color: #303a45; font-size: 13px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }.company-notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }.company-notes-grid > div { min-width: 0; padding: 17px 24px; border-right: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; }.company-notes-grid > div:nth-child(2n) { border-right: 0; }.company-notes-grid dd p { margin: 0; }.company-notes-empty { margin: 0; padding: 34px 24px; color: #7a8490; font-size: 13px; text-align: center; }
.company-edit-form { margin: 0; }.company-edit-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -22px 0 17px; }.company-edit-hint { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #7a8490; font-size: 12px; font-weight: 650; }.company-edit-state { padding: 4px 7px; border-radius: 99px; background: #f0f2f4; color: #626d78; font-size: 10px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }.company-edit-actions { display: none; align-items: center; gap: 9px; }.company-edit-actions button { min-height: 34px; padding: 7px 12px; border-radius: 6px; font-size: 12px; font-weight: 750; cursor: pointer; }.company-edit-cancel { border: 1px solid #dbe0e4; background: #fff; color: #596572; }.company-edit-cancel:hover { border-color: #d29ca2; color: var(--etx-red); }.company-edit-save { border: 1px solid var(--etx-red); background: var(--etx-red); color: #fff; }.company-edit-save:hover { border-color: var(--etx-red-dark); background: var(--etx-red-dark); }.company-edit-input { display: none; box-sizing: border-box; width: 100%; min-height: 35px; margin-top: 6px; padding: 7px 9px; border: 1px solid #d7dde2; border-radius: 6px; background: #fff; color: #313b47; font-size: 13px; line-height: 1.4; }.company-edit-textarea { min-height: 64px; resize: vertical; }.company-edit-message { margin: -20px 0 24px; padding: 11px 13px; border: 1px solid #cce6d8; border-radius: 8px; background: #f2fbf6; color: #18744f; font-size: 13px; font-weight: 650; }.company-edit-message.error { border-color: #efc4c8; background: #fff3f4; color: #a91621; }.company-edit-surface { cursor: text; }.company-detail-page.is-editing .company-edit-state { background: #f9e1e3; color: #b11f2b; }.company-detail-page.is-editing .company-edit-actions { display: flex; }.company-detail-page.is-editing .company-edit-surface { border-color: #e2a7ad; box-shadow: 0 0 0 3px rgba(216,64,77,.08); cursor: default; }.company-detail-page.is-editing .company-edit-surface:hover { border-color: #e2a7ad; }.company-detail-page.is-editing .company-edit-input { display: block; }.company-detail-page.is-editing .company-edit-input:focus { border-color: #d8404d; outline: 2px solid rgba(216,64,77,.14); }.company-detail-page.is-editing .company-edit-surface > header { border-bottom-color: #f0d5d8; }.company-detail-page.is-editing .company-overview-grid > div:has(.company-edit-input), .company-detail-page.is-editing .company-notes-grid > div { background: #fffafb; }.company-detail-page.is-editing .company-field-read:has(+ .company-edit-input) { display: none; }

/* Producción ------------------------------------------------------------ */
.production-hub { width: min(100%, 1280px); min-height: calc(100vh - 108px); margin: 0 auto; padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 48px); }.production-heading { margin-bottom: clamp(28px, 4vw, 46px); }.production-heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(31px, 3.2vw, 43px); letter-spacing: -.05em; }.production-heading .title-icon { background: #eaf6fd; color: #32779f; }.production-heading > p:last-child { max-width: 560px; margin: 10px 0 0; color: var(--etx-muted); font-size: 15px; line-height: 1.55; }.production-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }.production-column { position: relative; min-width: 0; min-height: 330px; overflow: hidden; border: 1px solid #9fcbe7; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(31,75,99,.05); }.production-column::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: #5c9fca; }.production-column > header { display: flex; align-items: center; gap: 12px; padding: 22px; border-bottom: 1px solid #e7f1f7; background: #f8fcff; }.production-column-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #eaf6fd; color: #32779f; }.production-column-icon .ui-icon { width: 19px; height: 19px; }.production-column h2 { margin: 0; color: #2d5d78; font-size: 20px; letter-spacing: -.03em; }.production-general-menu { display: grid; gap: 7px; padding: 15px; }.production-general-item, .production-general-group > summary { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 8px; align-items: center; box-sizing: border-box; min-height: 44px; padding: 10px 11px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: #4c5560; font-size: 13px; font-weight: 700; line-height: 1.35; }.production-general-group > summary { cursor: pointer; list-style: none; }.production-general-group > summary::-webkit-details-marker { display: none; }.production-general-group > summary:hover, .production-general-group[open] > summary { border-color: #cce4f3; background: #f3faff; color: #32779f; }.production-toggle { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #eaf6fd; color: #32779f; font-size: 17px; font-weight: 700; line-height: 1; }.production-toggle::before { content: "+"; }.production-general-group[open] > summary .production-toggle::before, .production-nested-group[open] > summary .production-toggle::before { content: "−"; }.production-placeholder-list { margin: 5px 0 3px 18px; padding: 3px 0 3px 13px; border-left: 1px solid #c7e2f1; list-style: none; }.production-placeholder-list li { padding: 9px 10px; color: #75818c; font-size: 12px; font-style: italic; line-height: 1.4; }.production-production-content, .production-prl-content { display: grid; gap: 6px; margin: 5px 0 3px 18px; padding: 3px 0 3px 13px; border-left: 1px solid #c7e2f1; }.production-prl-entry, .production-prl-subgroup > summary { display: grid; grid-template-columns: minmax(0, 1fr) 15px; gap: 8px; align-items: center; box-sizing: border-box; min-height: 42px; padding: 10px 11px; border: 1px solid transparent; border-radius: 7px; background: #fff; color: #4c5560; font-size: 13px; font-weight: 680; line-height: 1.35; }.production-prl-subgroup > summary { cursor: pointer; list-style: none; }.production-prl-subgroup > summary::-webkit-details-marker { display: none; }.production-nested-group > summary { grid-template-columns: minmax(0, 1fr) 22px; }.production-prl-subgroup > summary > span:last-child:not(.production-toggle) { color: #93a1ab; font-size: 17px; transition: transform .15s ease; }.production-prl-subgroup > summary:hover, .production-prl-entry:hover { border-color: #cce4f3; background: #f3faff; color: #32779f; }.production-prl-subgroup[open] > summary { border-color: #cce4f3; background: #f3faff; color: #32779f; }.production-prl-subgroup[open] > summary > span:last-child:not(.production-toggle) { transform: rotate(90deg); color: #32779f; }.production-prl-subgroup ul { display: grid; gap: 5px; margin: 5px 0 3px 17px; padding: 3px 0 3px 13px; border-left: 1px solid #c7e2f1; list-style: none; }.production-prl-subgroup ul.production-placeholder-list { margin-left: 18px; }.production-prl-subgroup li { min-height: 36px; display: flex; align-items: center; padding: 8px 10px; border-radius: 6px; background: #fff; color: #4c5560; font-size: 13px; font-weight: 650; }.production-empty { margin: 0; padding: 24px 22px; color: #75818c; font-size: 13px; line-height: 1.5; }

@media (max-width: 1100px) and (min-width: 721px) { .dashboard-frame { grid-template-columns: 185px minmax(0,1fr); grid-template-rows: auto auto; }.insight-rail { grid-column: 1 / 3; grid-template-columns: 1fr 1.15fr; border-top: 1px solid var(--etx-border); border-left: 0; }.alerts-block { border-right: 1px solid var(--etx-border); border-bottom: 0; }.activity-zone { min-height: 590px; }.topbar-action span { display: none; } }
@media (max-width: 720px) { .topbar { height: 58px; padding: 0 14px; }.topbar-left { gap: 8px; }.brand img { width: 104px; }.topbar-norms { display: none; }.topbar-user { gap: 7px; }.topbar-user > span:first-child:not(.avatar) { display: none; }.topbar-right { gap: 4px; }.topbar-action span { display: none; }.topbar-action { padding: 8px; }.priority-ticker { height: var(--etx-ticker-height); }.priority-ticker-label { padding: 0 13px; font-size: 10px; }.priority-ticker-track { gap: 16px; padding-left: 16px; animation-duration: 30s; }.priority-ticker-item { max-width: 72vw; font-size: 11px; }.priority-ticker-empty { padding: 0 12px; font-size: 11px; }.admin-bar { padding: 0 14px; }
  .login-page { grid-template-columns: 1fr; }.login-intro { min-height: 360px; padding: 30px 24px; }.login-intro .brand img { width: 112px; }.login-intro h1 { font-size: 42px; }.login-intro p:not(.eyebrow) { font-size: 16px; }.login-panel { padding: 40px 24px; }.mobile-brand { display: none; }
  .dashboard-frame { display: flex; flex-direction: column; }.activity-zone { order: 1; min-height: 0; padding: 26px 18px; }.access-rail { order: 4; padding: 18px 10px; border-top: 1px solid var(--etx-border); border-right: 0; }.insight-rail { order: 3; display: flex; flex-direction: column; border-top: 1px solid var(--etx-border); border-left: 0; }.alerts-block { border-right: 0; border-bottom: 1px solid var(--etx-border); }.cycle-caption, .process-link { display: none; }.activity-heading { margin-bottom: 26px; }.process-grid { gap: 30px 24px; padding: 0; }.process-module { min-height: 126px; padding: 15px; grid-template-columns: 36px 1fr; gap: 4px 10px; }.process-icon { width: 35px; height: 35px; }.process-copy strong { font-size: 14px; }.process-copy small { font-size: 11px; }.fast-strip { margin-top: 30px; padding-top: 0; }.access-list { grid-template-columns: 1fr 1fr; }.access-item { padding: 9px; border: 1px solid #edf0f2; }.nav-chevron { display: none; }.module-placeholder { min-height: calc(100vh - 92px); }.module-placeholder h1 { font-size: 28px; } }

@media (max-width: 720px) { .notice-list-heading, .notice-detail-heading { flex-direction: column; gap: 15px; margin-bottom: 20px; }.notice-list-new, .notice-detail-back { width: 100%; }.notice-list-row { grid-template-columns: 8px minmax(0, 1fr) 17px; gap: 10px; padding: 14px; }.notice-list-status { display: none; }.notice-detail-card { padding: 16px; }.notice-detail-status { position: static; display: inline-flex; margin-bottom: 16px; }.notice-detail-grid { grid-template-columns: 1fr; gap: 12px; }.notice-detail-grid section { padding: 14px; }.notice-detail-grid dl div { grid-template-columns: 92px minmax(0, 1fr); } }

.notice-list-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.notice-list-scope { display: flex; overflow: hidden; border: 1px solid #e0e4e8; border-radius: 8px; }
.notice-list-scope a { padding: 9px 11px; color: #63707d; font-size: 12px; font-weight: 750; }
.notice-list-scope a + a { border-left: 1px solid #e0e4e8; }
.notice-list-scope a.active { background: #fff0f1; color: var(--etx-red); }
@media (max-width: 720px) { .notice-list-actions { width: 100%; justify-content: stretch; }.notice-list-scope { flex: 1; }.notice-list-scope a { flex: 1; text-align: center; }.notice-list-actions .notice-list-new { width: auto; flex: 1; } }

.notice-detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.notice-detail-edit { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 13px; border: 1px solid #dca2a7; border-radius: 8px; background: #fff8f8; color: var(--etx-red); font-size: 13px; font-weight: 750; white-space: nowrap; }
.notice-detail-edit:hover { border-color: var(--etx-red); background: #fff0f1; }
@media (max-width: 720px) { .notice-detail-actions { width: 100%; }.notice-detail-actions .notice-detail-back, .notice-detail-actions .notice-detail-edit { width: calc(50% - 5px); } }

@media (max-width: 720px) { .manage-hub { min-height: calc(100vh - 92px); padding: 32px 18px; }.manage-heading { margin-bottom: 26px; }.manage-heading h1 { font-size: 30px; }.manage-columns { grid-template-columns: 1fr; }.manage-column > header { padding: 18px; }.manage-menu-item, .manage-subgroup > summary { min-height: 62px; } }

@media (max-width: 720px) { .manage-directory-page, .company-detail-page { min-height: calc(100vh - 92px); padding: 32px 18px; }.manage-directory-heading, .company-detail-heading { flex-direction: column; gap: 15px; margin-bottom: 26px; }.manage-directory-heading h1, .company-detail-heading h1 { font-size: 30px; }.manage-directory-actions { width: 100%; align-items: stretch; flex-direction: column; }.manage-directory-actions form, .manage-directory-import, .manage-directory-export, .manage-directory-json-picker, .manage-directory-back { width: 100%; }.manage-directory-import, .manage-directory-export, .manage-directory-json-picker, .manage-directory-back { justify-content: center; }.manage-directory-card > header, .company-detail-card > header { padding: 18px; }.manage-directory-table th, .manage-directory-table td { padding-left: 18px; padding-right: 18px; }.company-overview-grid, .company-notes-grid { grid-template-columns: 1fr; }.company-overview-grid > div, .company-overview-grid > div:nth-child(3n), .company-notes-grid > div, .company-notes-grid > div:nth-child(2n) { padding: 15px 18px; border-right: 0; }.company-imported-at, .company-notes-id { max-width: 100%; overflow: hidden; text-overflow: ellipsis; } }

@media (max-width: 900px) { .production-columns { grid-template-columns: 1fr; }.production-column { min-height: 0; }.production-column > header { padding: 18px; } }

@media (max-width: 720px) { .production-hub { min-height: calc(100vh - 92px); padding: 32px 18px; }.production-heading { margin-bottom: 26px; }.production-heading h1 { font-size: 30px; } }

@media (max-width: 720px) { .access-prl-group { grid-column: 1 / -1; }.access-prl-group > summary .nav-chevron, .access-prl-subgroup > summary .nav-chevron { display: block; }.access-prl-menu { padding-left: 30px; }.access-prl-entry, .access-prl-subgroup > summary { font-size: 13px; } }

/* Ofertar y contratar --------------------------------------------------- */
.sales-hub, .offers-page, .offer-editor-page { width: min(100%, 1240px); margin: 0 auto; }.sales-heading, .offers-heading, .offer-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 30px; }.sales-heading > div, .offers-heading > div, .offer-editor-heading > div { min-width: 0; }.sales-heading h1, .offers-heading h1, .offer-editor-heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; color: #252d37; font-size: clamp(30px, 3.1vw, 42px); letter-spacing: -.05em; }.sales-heading h1 .title-icon { background: #fff3d6; color: #9a7410; }.sales-heading > p:last-child, .offers-heading > div > p:last-child, .offer-editor-heading > div > p:last-child { max-width: 670px; margin: 10px 0 0; color: var(--etx-muted); font-size: 15px; line-height: 1.55; }.sales-summary { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; margin: 0 0 22px; border: 1px solid #eadcb1; border-radius: 11px; background: #fffdf7; }.sales-summary > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px 20px; border-right: 1px solid #eee2bc; }.sales-summary > div:last-child { border-right: 0; }.sales-summary span { color: #7c7153; font-size: 11px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }.sales-summary strong { color: #50411b; font-size: 25px; letter-spacing: -.045em; }.sales-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }.sales-module-card { position: relative; overflow: hidden; min-height: 255px; padding: 25px; border: 1px solid #e2e5e8; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.sales-module-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: #d7b839; content: ""; }.sales-contracts-card::before { background: #c7cdd4; }.sales-module-card > header { display: flex; align-items: center; gap: 12px; }.sales-module-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 8px; background: #fff3d6; color: #9a7410; }.sales-contracts-card .sales-module-icon { background: #f0f2f4; color: #6d7783; }.sales-module-icon .ui-icon { width: 20px; height: 20px; }.sales-module-card header .eyebrow { margin-bottom: 3px; }.sales-module-card h2, .sales-recent h2 { margin: 0; color: #2b3440; font-size: 21px; letter-spacing: -.035em; }.sales-module-copy { max-width: 515px; margin: 24px 0; color: #687380; font-size: 14px; line-height: 1.55; }.sales-module-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }.sales-primary-action, .sales-secondary-action, .offers-new { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 13px; border-radius: 8px; font-size: 13px; font-weight: 760; }.sales-primary-action, .offers-new { border: 1px solid #b59319; background: #b59319; color: #fff; }.sales-primary-action:hover, .offers-new:hover { border-color: #876d12; background: #876d12; }.sales-secondary-action { border: 1px solid #e0e4e8; background: #fff; color: #4f5a66; }.sales-secondary-action:hover { border-color: #d7b839; background: #fffdf6; color: #866a0d; }.sales-coming-soon, .offer-draft-label, .offer-next-phase { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 9px; border-radius: 99px; background: #f0f2f4; color: #6d7783; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.sales-recent { overflow: hidden; margin-top: 22px; border: 1px solid var(--etx-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.sales-recent > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 17px; border-bottom: 1px solid #edf0f2; }.sales-recent header .eyebrow { margin-bottom: 3px; }.sales-recent > header a { color: #9a7410; font-size: 12px; font-weight: 780; }.sales-recent > header a:hover { text-decoration: underline; text-underline-offset: 3px; }.sales-recent-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(170px, .8fr) auto; align-items: center; gap: 20px; min-height: 64px; padding: 12px 24px; border-bottom: 1px solid #eef0f2; }.sales-recent-row:last-child { border-bottom: 0; }.sales-recent-row:hover { background: #fffdf8; }.sales-recent-row > div { display: flex; align-items: baseline; min-width: 0; gap: 10px; }.sales-recent-row strong { flex: 0 0 auto; color: #897015; font-size: 11px; }.sales-recent-row span:not(.offer-status-pill) { overflow: hidden; color: #525e6a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.sales-recent-row > div span { color: #303946; font-weight: 700; }.sales-empty { margin: 0; padding: 36px 24px; color: #7a8490; font-size: 13px; text-align: center; }

.offers-heading { margin-bottom: 20px; }.offers-new { flex: 0 0 auto; min-width: 132px; }.offers-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }.offers-filter label:first-child { flex: 1 1 300px; }.offers-filter input, .offers-filter select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #dce2e6; border-radius: 8px; background: #fff; color: #394450; font-size: 13px; font-weight: 600; }.offers-filter select { width: 175px; }.offers-filter input:focus, .offers-filter select:focus { border-color: #b59319; outline: 3px solid rgba(181,147,25,.12); }.offers-filter button { height: 40px; padding: 0 14px; border: 1px solid #b59319; border-radius: 8px; background: #b59319; color: #fff; font-size: 12px; font-weight: 760; cursor: pointer; }.offers-filter button:hover { border-color: #876d12; background: #876d12; }.offers-filter > a { padding: 8px 5px; color: #697581; font-size: 12px; font-weight: 720; }.offers-filter > a:hover { color: var(--etx-red); text-decoration: underline; text-underline-offset: 3px; }.offers-table-shell { overflow-x: auto; border: 1px solid var(--etx-border); border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }.offers-table { width: 100%; min-width: 920px; border-collapse: collapse; text-align: left; }.offers-table th { padding: 13px 17px; border-bottom: 1px solid #e9ecef; background: #fafafa; color: #76818d; font-size: 10px; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }.offers-table td { padding: 16px 17px; border-bottom: 1px solid #eef0f2; color: #56616d; font-size: 13px; }.offers-table tbody tr:not(:has(.offers-empty)) { cursor: pointer; }.offers-table tbody tr:not(:has(.offers-empty)):hover { background: #fffdf8; }.offers-table tbody tr:last-child td { border-bottom: 0; }.offers-table td:nth-child(2), .offers-table td:nth-child(3) { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.offers-table td strong { display: block; color: #8d7214; font-size: 12px; }.offers-table td small { display: block; margin-top: 3px; color: #97a0a9; font-size: 10px; }.offers-empty { padding: 42px !important; color: #7a8490 !important; font-style: italic; text-align: center; }.offer-status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 4px 8px; border-radius: 99px; color: #6e5b13; background: #fff4cc; font-size: 10px; font-weight: 800; letter-spacing: .025em; white-space: nowrap; }.offer-status-pill.draft { color: #66717d; background: #edf0f2; }.offer-status-pill.sent { color: #266487; background: #e9f5fc; }.offer-status-pill.accepted, .offer-status-pill.contracted { color: #15734e; background: #e5f6ed; }.offer-status-pill.declined { color: #a23b45; background: #fcebed; }.offer-messages { display: grid; gap: 8px; margin: 0 0 16px; }.offer-messages p { margin: 0; padding: 11px 13px; border: 1px solid #cce6d8; border-radius: 8px; background: #f2fbf6; color: #18744f; font-size: 13px; font-weight: 650; }.offer-messages p.error { border-color: #efc4c8; background: #fff3f4; color: #a91621; }

.offer-editor-heading { margin-bottom: 22px; }.offer-editor-heading h1 small { color: #7d8792; font-size: .47em; font-weight: 700; letter-spacing: -.02em; }.offer-back-link { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 40px; padding: 9px 13px; border: 1px solid #dfe4e8; border-radius: 8px; color: #4c5763; font-size: 13px; font-weight: 750; white-space: nowrap; }.offer-back-link:hover { border-color: #d9bd62; color: #896d0e; }.offer-editor-form { display: grid; gap: 18px; }.offer-card { overflow: hidden; border: 1px solid #e1e5e8; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.03); }.offer-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 23px 16px; border-bottom: 1px solid #edf0f2; background: #fffefa; }.offer-main-card > header { border-top: 4px solid #d7b839; }.offer-card > header .eyebrow { margin-bottom: 3px; color: #9a7612; }.offer-card h2 { margin: 0; color: #2b3440; font-size: 19px; letter-spacing: -.035em; }.offer-card > header > span:not(.offer-status-pill):not(.offer-next-phase) { max-width: 365px; color: #808a95; font-size: 11px; font-weight: 650; line-height: 1.4; text-align: right; }.offer-field-grid, .offer-date-grid, .offer-billing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px 23px 23px; }.offer-field { display: grid; min-width: 0; gap: 6px; }.offer-field-wide { grid-column: span 2; }.offer-field label { color: #606b77; font-size: 11px; font-weight: 780; letter-spacing: .02em; }.offer-field label b { color: var(--etx-red); }.offer-input, .offer-select { width: 100%; min-width: 0; min-height: 39px; padding: 8px 10px; border: 1px solid #dbe1e5; border-radius: 7px; background: #fff; color: #303b47; font-size: 13px; font-weight: 600; line-height: 1.4; }.offer-input[type="date"] { min-height: 39px; }.offer-input:focus, .offer-select:focus { border-color: #b59319; outline: 3px solid rgba(181,147,25,.12); }.offer-field textarea.offer-input { resize: vertical; }.offer-field small { color: #8a949f; font-size: 10px; line-height: 1.4; }.offer-field .errorlist { margin: 0; padding: 0; color: #b11f2b; font-size: 11px; font-weight: 650; list-style: none; }.offer-check-row { display: flex; align-items: end; flex-wrap: wrap; gap: 18px; padding: 0 23px 22px; }.offer-check { display: inline-flex; align-items: flex-start; gap: 8px; color: #48535f; font-size: 12px; font-weight: 680; line-height: 1.4; cursor: pointer; }.offer-check > span:first-child { display: inline-flex; padding-top: 1px; }.offer-checkbox-input { width: 16px; height: 16px; margin: 0; accent-color: #b59319; cursor: pointer; }.offer-agreement-field { min-width: min(100%, 390px); flex: 1 1 300px; }.offer-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.offer-check-list { display: grid; gap: 12px; padding: 20px 23px 18px; }.offer-split-grid .offer-field { padding: 0 23px 23px; }.offer-date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.offer-location-check { align-self: end; min-height: 39px; padding-bottom: 9px; }.offer-billing-card > header { background: #fafcff; }.offer-billing-card > header .eyebrow { color: #427797; }.offer-billing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }.offer-billing-grid .offer-field-wide { grid-column: span 2; }.offer-billing-switches { padding-top: 0; }.offer-lines-card { border-style: dashed; border-color: #d5dbe0; box-shadow: none; }.offer-lines-card > header { background: #fafbfc; }.offer-lines-card p { margin: 0; padding: 18px 23px 21px; color: #79848f; font-size: 13px; line-height: 1.55; }.offer-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 15px; padding-top: 2px; }.offer-form-actions a { color: #697581; font-size: 13px; font-weight: 730; }.offer-form-actions a:hover { color: var(--etx-red); text-decoration: underline; text-underline-offset: 3px; }.offer-form-actions button { min-height: 43px; padding: 10px 16px; border: 1px solid #b59319; border-radius: 8px; background: #b59319; color: #fff; font-size: 13px; font-weight: 780; cursor: pointer; }.offer-form-actions button:hover { border-color: #876d12; background: #876d12; }.offer-form-errors { padding: 12px 14px; border: 1px solid #efc4c8; border-radius: 8px; background: #fff3f4; color: #a91621; font-size: 13px; font-weight: 650; }.offer-form-errors ul { margin: 0; padding-left: 18px; }

@media (max-width: 900px) { .sales-columns, .offer-split-grid { grid-template-columns: 1fr; }.offer-billing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.sales-module-card { min-height: 0; } }
@media (max-width: 720px) { .sales-heading, .offers-heading, .offer-editor-heading { flex-direction: column; gap: 15px; margin-bottom: 24px; }.sales-heading h1, .offers-heading h1, .offer-editor-heading h1 { font-size: 30px; }.sales-summary { grid-template-columns: 1fr 1fr; }.sales-summary > div:nth-child(2) { border-right: 0; }.sales-summary > div:nth-child(-n+2) { border-bottom: 1px solid #eee2bc; }.sales-module-card { padding: 19px; }.sales-module-copy { margin: 18px 0; }.sales-recent > header, .sales-recent-row { padding-right: 18px; padding-left: 18px; }.sales-recent-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; }.sales-recent-row > span:not(.offer-status-pill) { grid-column: 1; }.sales-recent-row .offer-status-pill { grid-column: 2; grid-row: 1 / 3; }.offers-new, .offer-back-link { width: 100%; }.offers-filter { align-items: stretch; }.offers-filter label:first-child, .offers-filter label, .offers-filter select, .offers-filter button { width: 100%; }.offers-filter button { min-height: 40px; }.offer-card > header { align-items: flex-start; padding: 17px 18px 15px; }.offer-card > header > span:not(.offer-status-pill):not(.offer-next-phase) { max-width: 165px; font-size: 10px; }.offer-field-grid, .offer-date-grid, .offer-billing-grid { grid-template-columns: 1fr; gap: 14px; padding: 17px 18px 19px; }.offer-field-wide, .offer-billing-grid .offer-field-wide { grid-column: auto; }.offer-check-row { align-items: stretch; gap: 14px; padding: 0 18px 19px; }.offer-agreement-field { width: 100%; }.offer-check-list { padding: 17px 18px 15px; }.offer-split-grid .offer-field { padding: 0 18px 19px; }.offer-location-check { min-height: 0; padding-bottom: 0; }.offer-form-actions { justify-content: stretch; flex-direction: column-reverse; align-items: stretch; }.offer-form-actions a, .offer-form-actions button { width: 100%; min-height: 43px; text-align: center; }.offer-form-actions a { padding: 11px; } }

/* Fixed acceptance footer shown in every offer. It intentionally remains separate
   from the editable commercial fields so the recipient's signature is always blank. */
.offer-acceptance-card > header { background: #fbfff5; }
.offer-acceptance-card > header .eyebrow { color: #608325; }
.offer-acceptance-text { margin: 20px 23px 23px; padding: 12px 14px 8px; border: 1px solid #b8d789; background: #e9ffc9; color: #17220d; font-family: Arial, sans-serif; font-size: 13px; line-height: 1.25; }
.offer-acceptance-text p { margin: 0 0 15px; }
.offer-acceptance-contact { display: flex; flex-wrap: wrap; gap: 30px; }
.offer-acceptance-contact span { display: inline-flex; gap: 5px; }
.offer-acceptance-signature { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(190px, .72fr); column-gap: 52px; align-items: start; }
.offer-acceptance-signature .offer-signature-label { grid-column: 2; grid-row: 1 / span 2; padding-top: 2px; }
.offer-blank-line { display: inline-block; width: 190px; height: 17px; border-bottom: 1px solid #17220d; vertical-align: bottom; }
.offer-blank-line-short { width: 130px; }
.offer-acceptance-footer { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.offer-acceptance-footer p { margin-bottom: 0; }
.offer-acceptance-footer > strong { flex: 0 0 auto; padding-bottom: 1px; font-weight: 500; }
.offer-order-line { width: 170px; }
@media (max-width: 720px) { .offer-acceptance-text { margin: 17px 18px 19px; font-size: 12px; }.offer-acceptance-contact { display: grid; gap: 7px; }.offer-acceptance-signature { grid-template-columns: 1fr; gap: 0; }.offer-acceptance-signature .offer-signature-label { grid-column: auto; grid-row: auto; padding-top: 0; }.offer-acceptance-footer { align-items: flex-start; flex-direction: column; gap: 10px; }.offer-blank-line { width: min(185px, 50vw); }.offer-order-line { width: min(165px, 42vw); } }

/* Offer traceability and source documentation -------------------------- */
.offer-trace-card > header, .offer-documents-card > header { background: #f8fbfd; }
.offer-trace-card > header .eyebrow, .offer-documents-card > header .eyebrow { color: #427797; }
.offer-trace-source-link { flex: 0 0 auto; color: #346d92; font-size: 12px; font-weight: 760; }
.offer-trace-source-link:hover { color: #1d4b69; text-decoration: underline; text-underline-offset: 3px; }
.offer-trace-list { display: grid; margin: 0; padding: 20px 23px 23px; list-style: none; }
.offer-trace-entry { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 16px; padding: 0 0 18px 22px; border-left: 2px solid #dfe9ef; }
.offer-trace-entry:last-child { padding-bottom: 0; }
.offer-trace-entry::before { position: absolute; top: 2px; left: -6px; width: 10px; height: 10px; border: 2px solid #5b9bc3; border-radius: 50%; background: #fff; content: ""; }
.offer-trace-entry.is-action::before { border-color: #d7b839; }.offer-trace-entry.is-offer::before { border-color: #4da06b; background: #e8f8ed; }
.offer-trace-entry time { padding-top: 1px; color: #7b8792; font-size: 11px; font-weight: 720; white-space: nowrap; }
.offer-trace-entry > div { min-width: 0; }.offer-trace-entry strong, .offer-trace-entry a { color: #303b47; font-size: 13px; font-weight: 760; }.offer-trace-entry a:hover { color: #346d92; text-decoration: underline; text-underline-offset: 3px; }
.offer-trace-kind { margin: 0 0 4px; color: #668197; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }.offer-trace-entry > div > p:last-child { margin: 6px 0 0; color: #73808c; font-size: 12px; line-height: 1.45; }
.offer-trace-empty, .offer-document-empty { margin: 0; padding: 20px 23px 23px; color: #7d8792; font-size: 13px; line-height: 1.5; }.offer-trace-list .offer-trace-empty { padding: 0; }
.offer-document-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(290px, .7fr); gap: 0; }.offer-document-source, .offer-document-upload { min-width: 0; padding: 21px 23px 23px; }.offer-document-source { border-right: 1px solid #edf0f2; }.offer-document-grid h3 { margin: 0 0 14px; color: #35414d; font-size: 14px; letter-spacing: -.015em; }
.offer-document-groups { display: grid; gap: 8px; }.offer-document-groups details { border: 1px solid #e1e8ed; border-radius: 7px; background: #fbfdfe; }.offer-document-groups summary { padding: 10px 11px; color: #506574; font-size: 12px; font-weight: 750; cursor: pointer; }.offer-document-groups details[open] summary { border-bottom: 1px solid #e8eef1; }.offer-email-record { padding: 11px; border-bottom: 1px solid #e8eef1; }.offer-email-record:last-child { border-bottom: 0; }.offer-email-record strong { display: block; color: #38444f; font-size: 12px; }.offer-email-record small { display: block; margin-top: 3px; color: #8a959e; font-size: 10px; }.offer-email-record div, .offer-email-record p { margin: 8px 0 0; color: #65727d; font-size: 12px; line-height: 1.5; }
.offer-attachment-form { display: grid; gap: 12px; padding: 13px; border: 1px solid #dce5ea; border-radius: 8px; background: #fbfdfe; }.offer-attachment-form .offer-field { gap: 5px; }.offer-attachment-form input[type="file"] { padding: 7px; font-size: 12px; }.offer-attachment-form button { justify-self: start; min-height: 36px; padding: 8px 11px; border: 1px solid #477f9e; border-radius: 7px; background: #477f9e; color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }.offer-attachment-form button:hover { border-color: #315e78; background: #315e78; }
.offer-attachment-list { display: grid; gap: 7px; margin: 15px 0 0; padding: 0; list-style: none; }.offer-attachment-list li { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid #edf0f2; }.offer-attachment-list li:last-child { border-bottom: 0; }.offer-attachment-list a { overflow: hidden; color: #326d94; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.offer-attachment-list a:hover { color: #1e4d6d; text-decoration: underline; text-underline-offset: 3px; }.offer-attachment-list small { color: #87929b; font-size: 10px; line-height: 1.4; }.offer-attachment-list .offer-document-empty { padding: 4px 0; }
@media (max-width: 720px) { .offer-trace-source-link { font-size: 11px; }.offer-trace-list { padding: 17px 18px 19px; }.offer-trace-entry { grid-template-columns: 1fr; gap: 5px; padding-left: 19px; }.offer-trace-entry time { white-space: normal; }.offer-document-grid { grid-template-columns: 1fr; }.offer-document-source, .offer-document-upload { padding: 18px; }.offer-document-source { border-right: 0; border-bottom: 1px solid #edf0f2; }.offer-document-empty { padding: 18px; } }

/* Direct notice-to-offer workflow -------------------------------------- */
.notice-col-date { width: 9%; }.notice-col-client { width: 13%; }.notice-col-city { width: 8%; }.notice-col-type { width: 10%; }.notice-col-subject { width: 20%; }.notice-col-assignees { width: 12%; }.notice-col-attended { width: 11%; }.notice-col-pending { width: 6%; }.notice-col-offer { width: 11%; }
.notice-offer-action { display: inline-flex; min-height: 29px; align-items: center; justify-content: center; padding: 5px 8px; border: 1px solid #d4b64b; border-radius: 6px; background: #fffaf0; color: #80650e; font-size: 10px; font-weight: 800; white-space: nowrap; }.notice-offer-action:hover { border-color: #ad8b16; background: #fff4ce; }.notice-offer-action.is-linked { border-color: #a9cdb8; background: #eef9f2; color: #28734a; }
.offer-source-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid #bcd9c7; border-radius: 9px; background: #f0faf4; }.offer-source-banner strong { color: #246541; font-size: 13px; }.offer-source-banner span { grid-column: 1; color: #678074; font-size: 11px; }.offer-source-banner a { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #28734a; font-size: 11px; font-weight: 780; }.offer-source-banner a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .offer-source-banner { grid-template-columns: 1fr; }.offer-source-banner a { grid-column: 1; grid-row: auto; margin-top: 5px; }.notice-offer-action { min-height: 27px; padding: 4px 6px; } }

/* Editor de ofertas a ancho completo y con densidad de trabajo compacta. */
.main-content.offer-editor-main { width: 100%; max-width: none; padding: 0; }
.offer-editor-main .offer-editor-page { width: 100%; max-width: none; margin: 0; padding: clamp(22px, 2.2vw, 34px) clamp(18px, 2.8vw, 44px) 42px; }
.offer-editor-main .offer-editor-heading { margin-bottom: 14px; }
.offer-editor-main .offer-editor-heading h1 { font-size: clamp(28px, 2.6vw, 38px); }
.offer-editor-main .offer-editor-heading > div > p:last-child { margin-top: 6px; font-size: 13px; }
.offer-editor-main .offer-editor-form { gap: 12px; }
.offer-editor-main .offer-top-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.offer-editor-main .offer-top-grid .offer-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-editor-main .offer-bottom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.offer-editor-main .offer-top-grid > .offer-card,
.offer-editor-main .offer-split-grid > .offer-card,
.offer-editor-main .offer-bottom-grid > .offer-card { display: flex; height: 100%; flex-direction: column; }
.offer-editor-main .offer-bottom-grid .offer-billing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer-editor-main .offer-bottom-grid .offer-acceptance-text { display: flex; flex: 1; flex-direction: column; }
.offer-editor-main .offer-bottom-grid .offer-acceptance-signature { grid-template-columns: 1fr; gap: 0; }
.offer-editor-main .offer-bottom-grid .offer-acceptance-signature .offer-signature-label { grid-column: auto; grid-row: auto; padding-top: 0; }
.offer-editor-main .offer-bottom-grid .offer-acceptance-footer { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: auto; }
.offer-editor-main .offer-top-grid > .offer-card .offer-check-row,
.offer-editor-main .offer-bottom-grid .offer-billing-switches { margin-top: auto; }
.offer-editor-main .offer-split-grid { align-items: stretch; }
.offer-editor-main .offer-split-grid .offer-check-list { flex: 1; }
.offer-editor-main .offer-card { border-radius: 10px; }
.offer-editor-main .offer-card > header { min-height: 58px; padding: 13px 18px 12px; }
.offer-editor-main .offer-bottom-grid .offer-card > header { min-height: 72px; }
.offer-editor-main .offer-card > header .eyebrow { margin-bottom: 3px; font-size: 10px; }
.offer-editor-main .offer-card h2 { font-size: 17px; }
.offer-editor-main .offer-field-grid,
.offer-editor-main .offer-date-grid,
.offer-editor-main .offer-billing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px 14px; padding: 14px 17px 17px; }
.offer-editor-main .offer-field { gap: 5px; }
.offer-editor-main .offer-field label { font-size: 11px; }
.offer-editor-main .offer-input,
.offer-editor-main .offer-select { min-height: 38px; padding: 8px 10px; font-size: 13px; }
.offer-editor-main .offer-input[type="date"] { min-height: 38px; }
.offer-editor-main .offer-field textarea.offer-input { min-height: 62px; }
.offer-editor-main .offer-check-row { gap: 14px; padding: 0 17px 15px; }
.offer-editor-main .offer-split-grid { gap: 12px; }
.offer-editor-main .offer-check-list { gap: 9px; padding: 14px 17px 13px; }
.offer-editor-main .offer-split-grid .offer-field { padding: 0 17px 16px; }
.offer-editor-main .offer-location-check { min-height: 36px; padding-bottom: 7px; }
.offer-editor-main .offer-lines-card p { padding: 13px 17px 15px; }
.offer-editor-main .offer-trace-list { padding: 15px 17px 17px; }
.offer-editor-main .offer-trace-empty,
.offer-editor-main .offer-document-empty { padding: 15px 17px 17px; }
.offer-editor-main .offer-document-source,
.offer-editor-main .offer-document-upload { padding: 16px 17px 18px; }
.offer-editor-main .offer-acceptance-text { margin: 14px 17px 17px; }

@media (max-width: 1100px) {
  .offer-editor-main .offer-field-grid,
  .offer-editor-main .offer-date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .offer-editor-main .offer-top-grid,
  .offer-editor-main .offer-bottom-grid { grid-template-columns: 1fr; }
  .offer-editor-main .offer-field-grid,
  .offer-editor-main .offer-date-grid,
  .offer-editor-main .offer-billing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-editor-main .offer-split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .offer-editor-main .offer-editor-page { padding: 24px 18px 34px; }
  .offer-editor-main .offer-editor-heading { margin-bottom: 20px; }
  .offer-editor-main .offer-field-grid,
  .offer-editor-main .offer-date-grid,
  .offer-editor-main .offer-billing-grid { grid-template-columns: 1fr; gap: 13px; padding: 15px 16px 17px; }
  .offer-editor-main .offer-top-grid .offer-field-grid { grid-template-columns: 1fr; }
  .offer-editor-main .offer-field-wide,
  .offer-editor-main .offer-billing-grid .offer-field-wide { grid-column: auto; }
  .offer-editor-main .offer-card > header { padding: 15px 16px 13px; }
  .offer-editor-main .offer-check-row { padding: 0 16px 17px; }
  .offer-editor-main .offer-check-list { padding: 15px 16px 14px; }
  .offer-editor-main .offer-split-grid .offer-field { padding: 0 16px 17px; }
  .offer-editor-main .offer-acceptance-text { margin: 15px 16px 17px; }
}

/* Menú de Ofertar y contratar ------------------------------------------ */
/* Mantiene el mismo ritmo visual que Producción, con el tono dorado del área comercial. */
.sales-hub { width: min(100%, 1280px); min-height: calc(100vh - 108px); padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 48px); }
.sales-hub .sales-heading { display: block; margin-bottom: clamp(28px, 4vw, 46px); }
.sales-hub .sales-heading h1 { font-size: clamp(31px, 3.2vw, 43px); }
.sales-hub .sales-heading > p:last-child { max-width: 560px; }
.sales-menu-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sales-menu-columns .sales-menu-panel { min-height: 330px; padding: 0; border-color: #e7cf78; box-shadow: 0 2px 10px rgba(106, 84, 16, .05); }
.sales-menu-columns .sales-menu-panel::before { height: 4px; background: #d7b839; }
.sales-menu-panel > header { display: flex; align-items: center; gap: 12px; padding: 22px; border-bottom: 1px solid #f0e6bd; background: #fffdf6; }
.sales-menu-panel .sales-module-icon { width: 38px; height: 38px; border-radius: 8px; background: #fff6d9; color: #927008; }
.sales-menu-panel .sales-module-icon .ui-icon { width: 19px; height: 19px; }
.sales-menu-panel h2 { color: #735912; font-size: 20px; letter-spacing: -.03em; }
.sales-menu-list { display: grid; gap: 7px; padding: 15px; }
.sales-menu-link { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 8px; align-items: center; min-height: 44px; padding: 10px 11px; border: 1px solid transparent; border-radius: 7px; color: #5e5745; font-size: 13px; font-weight: 700; line-height: 1.35; }
.sales-menu-link:hover { border-color: #ecd98d; background: #fff9e8; color: #927008; }
.sales-menu-link b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #fff6d9; color: #927008; font-size: 17px; font-weight: 700; line-height: 1; }
.sales-contracts-menu .sales-menu-link { min-height: 66px; border-color: #eee3bd; background: #fffdf8; }
.sales-contracts-menu .sales-menu-link:hover { border-color: #d7b839; background: #fff8e8; }
.offers-heading h1 { line-height: 1.12; }
.production-offer-review { width: min(100%, 1340px); margin: 0 auto; padding-bottom: 50px; }
.production-offer-review > .offer-back-link { display: inline-block; margin: 0 0 18px; }
.offer-review-entry { display: block; margin-top: 6px; color: #2f779d; font-size: 11px; font-weight: 700; white-space: normal; }
.production-review-actions, .production-review-card { border: 1px solid #dce5eb; border-radius: 11px; background: #fff; box-shadow: 0 2px 10px rgba(35,42,48,.035); }
.production-review-actions { margin-bottom: 18px; overflow: hidden; }
.production-review-actions > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid #e7ecef; background: #f7fbfd; }
.production-review-actions h2, .production-review-card h2 { margin: 0; color: #2d3d49; font-size: 19px; }
.production-review-action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.production-review-action { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px; border: 1px solid #dce5eb; border-radius: 9px; background: #fcfefe; }
.production-review-action h3 { margin: 0; font-size: 14px; }
.production-review-action p { margin: 0; color: #66727d; font-size: 12px; line-height: 1.45; }
.production-review-action label { color: #42515d; font-size: 12px; font-weight: 720; }
.production-review-action select, .production-review-action textarea { box-sizing: border-box; width: 100%; padding: 9px 10px; border: 1px solid #cbd5dd; border-radius: 6px; background: #fff; color: #303b47; font: inherit; font-size: 12px; }
.production-review-action button { min-height: 41px; margin-top: auto; padding: 9px 11px; border: 1px solid #2f779d; border-radius: 7px; background: #2f779d; color: #fff; font: inherit; font-size: 12px; font-weight: 760; cursor: pointer; }
.production-review-action button:hover { background: #236486; }
.production-review-action button:disabled { border-color: #b6c1c8; background: #b6c1c8; cursor: not-allowed; }
.production-review-reject { border-color: #edced1; background: #fffafa; }
.production-review-reject button { border-color: #a93a44; background: #a93a44; }
.production-review-reject button:hover { background: #8e2933; }
.production-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.production-review-card { padding: 20px; }
.production-review-card h2 { margin-bottom: 16px; }
.production-review-card h3 { margin: 17px 0 7px; font-size: 13px; }
.production-review-card p { margin: 0; color: #52606b; font-size: 13px; line-height: 1.6; }
.production-review-card dl { display: grid; gap: 0; margin: 0; }
.production-review-card dl > div { display: grid; grid-template-columns: minmax(130px, 35%) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf0f2; font-size: 12px; }
.production-review-card dt { color: #73808b; font-weight: 720; }.production-review-card dd { margin: 0; color: #33414d; overflow-wrap: anywhere; }
.production-review-flags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }.production-review-flags li { padding: 6px 8px; border-radius: 6px; background: #eef6fa; color: #315d75; font-size: 11px; font-weight: 670; }
.production-review-lines { margin-bottom: 18px; }.production-review-line { padding: 14px 0; border-top: 1px solid #edf0f2; }.production-review-line > header { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 7px; color: #33414d; font-size: 13px; }.production-review-line > header span { white-space: nowrap; }.production-review-line small { color: #8a5d20; }
.production-review-rich { color: #52606b; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }.production-review-rich p { margin: 7px 0; }.production-review-rich img { display: block; max-width: 100%; max-height: 500px; margin: 10px 0; }.production-review-rich table { width: 100%; border-collapse: collapse; }.production-review-rich th, .production-review-rich td { padding: 7px; border: 1px solid #d6dfe5; }.production-review-rich a { color: #2f779d; text-decoration: underline; }
.offer-production-return { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #edced1; border-radius: 8px; background: #fff7f7; color: #80313b; }.offer-production-return strong { font-size: 13px; }.offer-production-return p { margin: 7px 0; font-size: 13px; white-space: pre-wrap; }.offer-production-return small { font-size: 11px; }
@media (max-width: 900px) { .production-review-action-grid { grid-template-columns: 1fr; }.production-review-grid { grid-template-columns: 1fr; } }
.sales-menu-empty { margin: 0; padding: 24px 22px; color: #81775a; font-size: 13px; line-height: 1.5; }
@media (max-width: 1120px) { .sales-menu-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }.sales-menu-columns .sales-menu-panel { min-height: 260px; } }
@media (max-width: 900px) { .sales-menu-columns { grid-template-columns: 1fr; }.sales-menu-columns .sales-menu-panel { min-height: 0; } }
@media (max-width: 720px) { .sales-hub { min-height: calc(100vh - 92px); padding: 32px 18px; }.sales-hub .sales-heading { margin-bottom: 26px; }.sales-hub .sales-heading h1 { font-size: 30px; }.sales-menu-panel > header { padding: 18px; }.sales-menu-list { padding: 15px; }.sales-menu-empty { padding: 22px 18px; } }

/* Selección relacionada de empresa, persona y aviso -------------------- */
.offer-autocomplete { position: relative; align-content: start; }
.offer-autocomplete-control { position: relative; }
.offer-main-card { position: relative; z-index: 2; overflow: visible; }
.offer-autocomplete.is-enhanced > select.offer-select { display: none; }
.offer-company-organisation.is-enhanced { display: none; }
.offer-autocomplete-results { position: absolute; z-index: 20; top: calc(100% - 1px); right: 0; left: 0; overflow-y: auto; max-height: 250px; padding: 4px; border: 1px solid #d9dee3; border-radius: 0 0 8px 8px; background: #fff; box-shadow: 0 12px 24px rgba(26, 35, 45, .14); }
.offer-autocomplete-results[hidden] { display: none; }
.offer-autocomplete-option { display: grid; width: 100%; gap: 2px; padding: 9px 10px; border: 0; border-radius: 5px; background: transparent; color: #303b47; text-align: left; cursor: pointer; }
.offer-autocomplete-option:hover, .offer-autocomplete-option[aria-selected="true"] { background: #fff5d6; }
.offer-autocomplete-option strong { font-size: 12px; font-weight: 750; }
.offer-autocomplete-option small { color: #75818b; font-size: 10px; }
.offer-autocomplete-empty { margin: 0; padding: 10px; color: #75818b; font-size: 12px; }
.offer-new-person-toggle { margin-top: 3px; }
.offer-new-person-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; padding: 12px; border: 1px solid #e6e9eb; border-radius: 8px; background: #fafbfc; }
.offer-new-person-fields[hidden] { display: none; }
.offer-field small a { color: #8a6d0d; font-weight: 750; }
.offer-field small a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Ubicación principal y fechas cronológicas ----------------------------- */
.offer-planning-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 18px; padding: 15px 17px 18px; }
.offer-location-section { min-width: 0; }
.offer-location-section > .offer-location-check { margin-bottom: 10px; }
.offer-location-table { overflow: hidden; border: 1px solid #dfe4e7; border-radius: 8px; background: #fff; }
.offer-location-table[hidden] { display: none; }
.offer-location-table > .offer-field { grid-template-columns: minmax(155px, .38fr) minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #edf0f2; }
.offer-location-table > .offer-field:last-child { border-bottom: 0; }
.offer-location-table > .offer-field label { color: #65707b; }
.offer-location-table textarea.offer-input { min-height: 58px; }
.offer-location-distance-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px; border-bottom: 1px solid #edf0f2; }
.offer-location-distance-row > .offer-field { grid-template-columns: minmax(155px, .38fr) minmax(0, 1fr); align-items: center; gap: 10px; }
.offer-date-timeline { position: relative; display: grid; align-content: start; gap: 0; min-width: 0; }
.offer-date-timeline::before { position: absolute; top: 18px; bottom: 18px; left: 14px; width: 2px; background: #e6dba9; content: ""; }
.offer-date-step { position: relative; z-index: 1; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 0 0 11px; }
.offer-date-step > span { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid #d5b747; border-radius: 50%; background: #fffdf6; color: #82670d; font-size: 11px; font-weight: 800; }
.offer-date-step .offer-field { padding: 9px 11px; border: 1px solid #e3e6e8; border-radius: 7px; background: #fff; }
.offer-date-step-notes { align-items: start; padding-bottom: 0; }

/* Módulo de concursos públicos ----------------------------------------- */
.competitions-page { width: min(100%, 1380px); margin: 0 auto; }
.competitions-layout { display: grid; grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.competition-form .offer-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.competition-form .offer-form-actions { padding: 0 23px 22px; }
.competition-list { display: grid; }
.competition-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 18px; border-bottom: 1px solid #edf0f2; }
.competition-list article:last-child { border-bottom: 0; }
.competition-list article > div { display: grid; gap: 4px; }
.competition-list article > div:last-child { justify-items: end; }
.competition-list strong { color: #313b46; font-size: 13px; }
.competition-list small { color: #7d8893; font-size: 10px; }
.competition-status { display: inline-flex; padding: 5px 8px; border-radius: 99px; background: #f1f3f5; color: #66717c; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.competition-status.is-open, .competition-status.is-awarded { background: #eaf7ee; color: #287247; }
.competition-status.is-submitted { background: #eef5fa; color: #356f94; }
.competition-status.is-not_awarded { background: #fff0f1; color: #a52230; }

@media (max-width: 1000px) {
  .offer-planning-layout, .competitions-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .offer-new-person-fields, .competition-form .offer-field-grid { grid-template-columns: 1fr; }
  .offer-location-table > .offer-field, .offer-location-distance-row, .offer-location-distance-row > .offer-field { grid-template-columns: 1fr; }
  .offer-location-distance-row { align-items: start; }
  .competition-list article { grid-template-columns: 1fr; }
  .competition-list article > div:last-child { justify-items: start; }
}

/* Keep field-work shortcuts on the mobile home screen only. */
@media (min-width: 721px) {
  .fast-strip a.mobile-home-access { display: none; }
}
