*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font); font-size: var(--text-base); line-height: var(--leading); color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: var(--alto-pantalla, 100vh); }
h1, h2, h3, p { margin: 0; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:where(p, li, dd, figcaption, .page-header__desc) a:not([class]) { text-decoration: underline; text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
:where(:focus-visible:not(input, textarea, select)) { box-shadow: 0 0 0 4px var(--color-surface); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: var(--space-2); left: var(--space-2); z-index: calc(var(--z-toast) + 1); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-primary); font-weight: var(--weight-semibold); box-shadow: var(--shadow-md); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--color-text-muted); }
.text-2 { color: var(--color-text-2); }
.small { font-size: var(--text-sm); }
.nw { white-space: nowrap; }
small.block, .block { display: block; }
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); grid-template-rows: var(--topbar-h) auto; min-height: var(--alto-pantalla, 100vh); }
.topbar { grid-column: 1 / -1; grid-row: 1; height: var(--topbar-h); background: var(--color-surface); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4) 0 var(--space-3); position: sticky; top: 0; z-index: var(--z-sticky); }
.topbar__brand { display: flex; align-items: center; gap: var(--space-2); width: calc(var(--sidebar-w) - var(--space-3)); flex: none; color: var(--color-brand); font-weight: var(--weight-bold); font-size: var(--text-lg); text-decoration: none; }
.topbar__brand:hover { text-decoration: none; }
.topbar__spacer { flex: 1; }
.topbar__logo { display: block; height: 56px; width: auto; }
.topbar__marca { display: flex; flex-direction: column; align-items: center; gap: var(--space-0-5); width: 80px; container-type: inline-size; }
.topbar__marca .topbar__logo { width: 100%; height: auto; }
.topbar__brand:has(.topbar__logo) { justify-content: center; width: var(--sidebar-w); margin-left: calc(-1 * var(--space-3)); }
.avatar { width: 30px; height: 30px; border-radius: var(--radius-full); background: var(--color-primary-subtle); color: var(--color-primary); display: grid; place-items: center; font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.brand-full { display: block; height: 44px; width: auto; flex: none; }
.sidebar { grid-column: 1; grid-row: 2; position: sticky; top: var(--topbar-h); height: calc(var(--alto-pantalla, 100vh) - var(--topbar-h)); z-index: calc(var(--z-sticky) - 1); background: var(--color-sidebar); color: var(--color-sidebar-text); display: flex; flex-direction: column; padding: var(--space-2); }
.sidebar__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 calc(-1 * var(--space-2)); padding: 0 var(--space-2); scrollbar-width: thin; }
.sidebar__nav { display: flex; flex-direction: column; gap: 1px; }
.sidebar__section { padding: var(--space-3) var(--space-3) 3px; font-size: var(--text-xs); }
.sidebar__link { display: flex; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0 var(--space-2) 0 var(--space-3); border-radius: var(--radius-md); color: var(--color-sidebar-text); text-decoration: none; }
.sidebar__link:hover { background: var(--color-sidebar-hover); text-decoration: none; }
.sidebar__link[aria-current] { font-weight: var(--weight-semibold); }
.sidebar__link svg { width: 16px; height: 16px; flex: none; }
.sidebar__label { flex: 1; min-width: 0; line-height: 1.25; padding-block: 5px; overflow-wrap: break-word; }
.sidebar__count { flex: none; min-width: 20px; padding: 0 7px; border-radius: var(--radius-full); font-size: var(--text-xs); line-height: 20px; text-align: center; }
.sidebar__count.is-new, .count-pill.is-new { animation: tria-badge-pop .7s ease-out; }
@keyframes tria-badge-pop { 0% { transform: scale(.4); } 55% { transform: scale(1.25); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .sidebar__count.is-new, .count-pill.is-new { animation: none; } }
.sidebar__end { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid rgba(255, 255, 255, .08); }
.area-switch { display: block; margin-bottom: var(--space-2); }
.area-card { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-2) var(--space-2-5); border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .10); text-align: left; cursor: pointer; }
.area-card:disabled { cursor: default; opacity: 1; }
.area-card__icon { width: 32px; height: 32px; flex: none; border-radius: var(--radius-md); display: grid; place-items: center; }
.area-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.area-card__text small { font-size: var(--text-xs); color: #8F9CB8; }
.area-card__text b { font-size: var(--text-base); line-height: 1.25; }
.area-card__chev { color: #8F9CB8; display: inline-flex; }
.area-panel { width: 340px; top: calc(100% + 6px); }
.menu__item.area-choice { height: auto; min-height: 46px; padding: var(--space-1-5) var(--space-2); align-items: center; }
.area-choice__icon { width: 30px; height: 30px; flex: none; border-radius: var(--radius-md); background: var(--color-neutral-100); display: grid; place-items: center; color: var(--color-text-2); }
.area-choice__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.area-choice__text b { font-weight: var(--weight-medium); color: var(--color-text); }
.area-choice__text small { font-size: var(--text-xs); color: var(--color-text-2); white-space: normal; line-height: 1.35; }
.menu__item.is-current { background: var(--color-primary-subtle); }
.count-pill { flex: none; padding: 0 var(--space-2); border-radius: var(--radius-full); background: #E0F2FE; color: #075985; font-size: var(--text-xs); font-weight: var(--weight-bold); line-height: 20px; }
.place { display: flex; align-items: center; gap: var(--space-2); min-width: 240px; max-width: 340px; height: 36px; padding: 0 var(--space-3) 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-align: left; cursor: pointer; }
.place:disabled { cursor: default; opacity: 1; }
.place:not(:disabled):hover { border-color: var(--color-border-strong); background: var(--color-surface-2); }
.place__icon { color: var(--color-text-2); display: inline-flex; flex: none; }
.place__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.place__text small { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-muted); }
.place__text b { font-size: var(--text-sm); font-weight: var(--weight-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place__tick { color: var(--color-primary); display: inline-flex; flex: none; }
.main { grid-column: 2; grid-row: 2; padding: var(--space-3) var(--space-4); min-width: 0; }
.subtabs { display: flex; gap: var(--space-1); margin: -4px 0 var(--space-3); border-bottom: 1px solid var(--color-border); overflow-x: auto; scrollbar-width: none; }
.subtabs a { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2-5) var(--space-4) 9px; margin-bottom: -1px; border-bottom: 3px solid transparent; border-radius: var(--radius-md) var(--radius-md) 0 0; color: var(--color-text-2); white-space: nowrap; text-decoration: none; font-size: 13.5px; font-weight: var(--weight-semibold); }
.subtabs a:hover { color: var(--color-text); background: var(--color-surface-2); text-decoration: none; }
.subtabs a[aria-current="page"] { color: var(--color-primary); border-bottom-color: var(--color-primary); background: var(--color-primary-subtle); }
.subtabs svg { flex: none; }
.subtabs__short { display: none; }
.has-subtabs .breadcrumb:not(:has(a)) { display: none; }
@media (max-width: 767px) {
.subtabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-1); margin-top: 0; padding: var(--space-1); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-neutral-100); overflow: visible; }
.subtabs a { justify-content: center; min-width: 0; padding: 9px var(--space-1-5); margin: 0; border: 0; border-radius: var(--radius-lg); font-size: 12.5px; }
.subtabs a[aria-current="page"] { background: var(--color-surface); box-shadow: var(--shadow-sm); }
.subtabs:has(a:nth-child(3)) a { flex-direction: column; gap: var(--space-0-5); font-size: var(--text-xs); }
.subtabs__full { display: none; }
.subtabs__short { display: inline; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar__logo { height: 52px; }
.topbar__marca { width: auto; container-type: normal; flex: none; }
.shell { --topbar-h: 64px; }
}
.btn.sidebar-toggle { display: none; }
@media (max-width: 1279px) { .main { padding: var(--space-3); } }
@media (max-width: 1199px) {
.shell { grid-template-columns: minmax(0, 1fr); }
.topbar { gap: var(--space-2); padding: 0 var(--space-3) 0 var(--space-2); }
.topbar__brand, .topbar__brand:has(.topbar__logo) { width: auto; margin-left: 0; justify-content: flex-start; }
.topbar__brand .topbar__logo { height: 48px; width: auto; }
.place { min-width: 0; max-width: 46vw; }
.sidebar { position: fixed; top: 0; bottom: 0; left: 0; height: auto; width: var(--sidebar-w); z-index: var(--z-drawer); transform: translateX(-100%); visibility: hidden; transition: transform var(--dur-slow) ease-out, visibility 0s linear var(--dur-slow); }
.sidebar.is-open { transform: none; visibility: visible; transition: transform var(--dur-slow) ease-out; box-shadow: var(--shadow-md); }
.main { grid-column: 1; }
.btn.sidebar-toggle { display: inline-flex; flex: none; }
}
@media (max-width: 767px) { .main { padding: var(--space-4) var(--space-3); } }
@media (max-width: 600px) {
:root, .shell { --topbar-h: 98px; }
.topbar { flex-wrap: wrap; align-content: center; padding: 5px var(--space-3) 7px var(--space-2); }
.topbar__brand .topbar__logo { height: 36px; width: auto; }
.place { width: 100%; max-width: none; }
}
@media (max-width: 600px) {
.topbar .vc-txt { display: none; }
}
.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); z-index: var(--z-overlay); opacity: 0; pointer-events: none; transition: opacity var(--dur) ease-out; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.page-header__title { font-size: 20px; font-weight: var(--weight-bold); line-height: 28px; display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.page-header__desc { color: var(--color-text-2); margin-top: var(--space-0-5); }
.page-header__actions { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); margin-bottom: var(--space-1); list-style: none; padding: 0; }
.breadcrumb a { color: var(--color-text-2); }
.breadcrumb li:last-child { color: var(--color-text); font-weight: var(--weight-medium); }
.section-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); margin-bottom: var(--space-1); }
.subsection-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.stack { display: flex; flex-direction: column; gap: var(--space-4); }
.row { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 767px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: var(--weight-medium); color: var(--color-primary); }
.link-btn:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--control-h); padding: 0 var(--space-4); border-radius: var(--radius-md); border: 1px solid transparent; font-weight: var(--weight-medium); cursor: pointer; white-space: nowrap; text-decoration: none; transition: background var(--dur-fast), border-color var(--dur-fast); }
.btn:hover { text-decoration: none; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--primary:active { background: var(--color-primary-pressed); }
.btn--secondary { background: var(--color-primary-subtle); color: var(--color-primary); }
.btn--secondary:hover { background: #D9E1F3; }
.btn--outline { background: var(--color-surface); border-color: var(--color-border-strong); color: var(--color-text); }
.btn--outline:hover { background: var(--color-neutral-100); }
.btn--ghost { background: transparent; color: var(--color-text-2); }
.btn--ghost:hover { background: var(--color-neutral-100); color: var(--color-text); }
.btn--danger { background: var(--color-danger); color: var(--color-text-inverse); }
.btn--danger:hover { background: var(--color-danger-strong); }
.btn--danger-text { color: var(--color-danger); }
.mine-files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--space-2); }
.mine-file { display: flex; flex-direction: column; gap: var(--space-0-5); padding: var(--space-3) var(--space-3-5); color: var(--color-text); text-decoration: none; }
.mine-file:hover { border-color: var(--color-primary); text-decoration: none; }
.mine-file span { font-size: var(--text-sm); color: var(--color-text-2); }
.mine-file.is-past { opacity: .75; }
.btn--sm { height: var(--control-h-sm); padding: 0 var(--space-3); font-size: var(--text-sm); }
.btn--icon { width: var(--control-h); padding: 0; }
.btn--icon.btn--sm { width: var(--control-h-sm); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: var(--color-text-inverse); border-radius: 50%; animation: spin .7s linear infinite; }
.btn--outline.is-loading::after, .btn--ghost.is-loading::after { border-color: var(--color-border-strong); border-top-color: var(--color-text); }
.btn.is-loading.is-saving { color: inherit !important; gap: var(--space-2); }
.btn.is-loading.is-saving::after { position: static; width: 14px; height: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.form { max-width: var(--form-w); }
.form__section { padding: var(--space-3) var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.form__section + .form__section { margin-top: var(--space-4); }
.form__section-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); margin-bottom: var(--space-1); }
.form__section-desc { color: var(--color-text-2); margin-bottom: var(--space-4); }
.form__actions { display: flex; gap: var(--space-2); justify-content: flex-end; margin-top: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-1); }
.field + .field { margin-top: var(--space-3); }
.grid-2 > .field + .field, .grid-3 > .field + .field { margin-top: 0; }
.field__label { font-weight: var(--weight-medium); }
.field__label .req { color: var(--color-danger); margin-left: var(--space-0-5); }
.field__label .text-2 { font-weight: var(--weight-regular); }
.field__help { font-size: var(--text-sm); color: var(--color-text-muted); }
.field__help--clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cabys-field { position: relative; }
.cabys-pick { position: absolute; z-index: 20; left: 0; width: max(100%, min(420px, calc(100vw - 48px))); top: calc(100% - 4px); max-height: 280px; overflow-y: auto; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.cabys-pick button { display: flex; flex-direction: column; gap: 1px; width: 100%; padding: 7px var(--space-2-5); border: 0; border-bottom: 1px solid var(--color-border); background: none; text-align: left; font-size: var(--text-sm); color: var(--color-text); cursor: pointer; }
.cabys-pick button:last-child { border-bottom: 0; }
.cabys-pick button:hover, .cabys-pick button:focus { background: var(--color-surface-2); outline: none; }
.cabys-pick button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.cabys-pick button span { color: var(--color-text-muted); }
.cabys-pick__none { margin: 0; padding: var(--space-2) var(--space-2-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.field__error { font-size: var(--text-sm); color: var(--color-danger); display: flex; gap: var(--space-1); align-items: center; }
.field__error svg { width: 14px; height: 14px; }
.input, .select, .textarea { font: inherit; height: var(--control-h); padding: 0 var(--space-3); border: 1px solid var(--color-input-border); border-radius: var(--radius-md); background: var(--color-surface); width: 100%; }
.textarea, .field > .textarea { height: auto; min-height: 80px; padding: var(--space-2) var(--space-3); resize: vertical; font-family: var(--font); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--color-input-border-hover); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--color-danger); }
.input[readonly] { background: var(--color-surface-2); color: var(--color-text-2); }
.input:disabled, .select:disabled { background: var(--color-neutral-100); color: var(--color-text-disabled); cursor: not-allowed; }
.select, .field > select.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right var(--space-3) center; padding-right: var(--space-8); }
.search { position: relative; }
.search .input { padding-left: var(--space-8); }
.search svg { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-text-muted); }
.form-error { border: 1px solid var(--color-danger); background: var(--color-danger-subtle); color: var(--color-danger-strong); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-bottom: var(--space-2); }
.toolbar .search { flex: 1 1 260px; max-width: 420px; }
.toolbar .select { width: auto; min-width: 160px; }
.toolbar__active { font-size: var(--text-sm); color: var(--color-text-2); }
.month-nav { display: inline-flex; align-items: center; gap: var(--space-0-5); }
.month-nav .input { width: auto; }
.tabs--sub { border-bottom-width: 1px; }
.tabs--sub a { font-size: var(--text-sm); font-weight: var(--weight-medium); padding: 7px var(--space-2-5) var(--space-1-5); }
.table-wrap { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: clip; }
.table-wrap.is-wide { overflow-x: auto; background: linear-gradient(to left, rgba(15, 23, 42, 0.08), transparent 18px) right / 18px 100% no-repeat, var(--color-surface); }
.table-wrap.is-wide .table th { top: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th { height: var(--header-h); text-align: left; font-weight: var(--weight-medium); font-size: var(--text-sm); color: var(--color-text-2); background: var(--color-surface-2); border-bottom: 1px solid var(--color-border); padding: 0 var(--space-3); white-space: nowrap; position: sticky; top: var(--topbar-h); z-index: 1; }
.table td { height: var(--row-h); padding: 0 var(--space-3); border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--color-surface-2); }
.table tr.is-selected { background: var(--color-primary-subtle); }
.table .cell--actions { width: 56px; text-align: right; padding-right: var(--space-2); }
.table a.row-link { color: var(--color-text); font-weight: var(--weight-medium); }
.table td.truncate { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-footer { display: flex; justify-content: center; padding: var(--space-2); border-top: 1px solid var(--color-border); background: var(--color-surface); }
@media (max-width: 1199px) { .table .hide-lg { display: none; } }
@media (max-width: 1023px) { .table .hide-md { display: none; } }
@media (max-width: 767px) { .table .hide-sm { display: none; } .table-wrap { overflow-x: auto; } .table th { position: static; } }
@media (max-width: 767px) {
.table-wrap.as-cards { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.as-cards > .table, .as-cards > .table > tbody { display: block; width: 100%; }
.as-cards > .table > thead { display: none; }
.as-cards > .table > tbody > tr { display: block; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-2); }
.as-cards > .table > tbody > tr:hover { background: var(--color-surface); }
.as-cards > .table > tbody > tr > td { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); height: auto; padding: 3px 0; border: 0; text-align: right; white-space: normal; max-width: none; width: auto !important; }
.as-cards > .table > tbody > tr > td::before { content: attr(data-label); color: var(--color-text-2); font-size: var(--text-xs); text-align: left; flex: none; max-width: 45%; }
.as-cards > .table > tbody > tr > td:first-child { display: block; text-align: left; padding-bottom: var(--space-1-5); }
.as-cards > .table > tbody > tr > td:first-child::before, .as-cards > .table > tbody > tr > td[data-label=""]::before { content: none; }
.as-cards > .table > tbody > tr > td[data-label=""] { justify-content: flex-end; }
.as-cards > .table > tbody > tr > td:empty { display: none; }
.as-cards > .table > tbody > tr > td.hide-sm { display: none; }
.as-cards > .table > tbody > tr.as-cards__group { background: transparent; border: 0; padding: var(--space-2) var(--space-0-5) var(--space-0-5); margin: 0; }
.as-cards > .table > tbody > tr.as-cards__group > td, .as-cards > .table > tbody > tr.as-cards__group > th { display: block; height: auto; padding: 0; border: 0; background: transparent; text-align: left; font-weight: var(--weight-semibold); color: var(--color-text-2); }
.as-cards > .table > tbody > tr.as-cards__group > td::before { content: none; }
}
.badge { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 22px; padding: 0 var(--space-2); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: var(--weight-medium); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--neutral { background: var(--color-neutral-100); color: var(--color-neutral-700); }
.badge--success { background: var(--color-success-subtle); color: var(--color-success-strong); }
.badge--warning { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.badge--danger { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.badge--info { background: var(--color-info-subtle); color: var(--color-info-strong); }
.badge--primary { background: var(--color-primary-subtle); color: var(--color-primary); }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); }
.card__title { font-size: var(--text-base); font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
a.stat { text-decoration: none; color: inherit; }
a.stat:hover { border-color: var(--color-border-strong); }
.stat__label { font-size: var(--text-sm); color: var(--color-text-muted); }
.stat__value { font-size: var(--text-2xl); font-weight: var(--weight-semibold); line-height: 28px; margin-top: 0; }
.dl { display: grid; grid-template-columns: 160px minmax(0, 1fr); row-gap: var(--space-2); column-gap: var(--space-3); margin: 0; }
.dl dt { color: var(--color-text-2); }
.dl dd { margin: 0; min-width: 0; overflow-wrap: break-word; }
@media (max-width: 767px) { .dl { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); } .dl dd { margin-bottom: var(--space-3); } }
.tabs { display: flex; gap: var(--space-0-5); border-bottom: 2px solid var(--color-border); margin-bottom: var(--space-3); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs--more-right { mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.tabs--more-left { mask-image: linear-gradient(to left, #000 calc(100% - 48px), transparent); }
.tabs--more-left.tabs--more-right { mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.tabs a { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: var(--space-1-5); padding: var(--space-2-5) var(--space-3) 9px; margin-bottom: -2px; border-bottom: 3px solid transparent; border-radius: var(--radius-md) var(--radius-md) 0 0; color: var(--color-text); font-size: 13.5px; font-weight: var(--weight-semibold); text-decoration: none; }
.tabs__icon { flex: none; color: var(--color-text-2); }
.tabs a[aria-current="page"] .tabs__icon { color: currentColor; }
.tabs a:hover { color: var(--color-text); background: var(--color-surface-2); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--color-primary); border-bottom-color: var(--color-primary); background: var(--color-primary-subtle); }
@media (min-width: 768px) and (max-width: 1599px) { .tabs--fit .tabs__icon { display: none; } .tabs--fit a { padding: var(--space-2-5) var(--space-1-5) 9px; font-size: 12.5px; } }
.banner { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg); border: 1px solid; margin-bottom: var(--space-3); }
.banner svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid; font-size: var(--text-base); }
.alert ul { margin: var(--space-2) 0 0; padding-left: var(--space-5); }
.banner--neutral { background: var(--color-neutral-100); border-color: var(--color-border); color: var(--color-neutral-700); }
.banner--info, .alert--info, .notice--info, .notice:not([class*="notice--"]) { background: var(--color-note); border-color: var(--color-note-border); color: var(--color-note-text); }
.banner--info svg, .notice--info svg, .notice:not([class*="notice--"]) svg { color: var(--color-note-icon); }
.banner--success, .alert--success, .notice--success { background: var(--color-success-subtle); border-color: var(--color-success-border); color: var(--color-success-strong); }
.banner--warning, .alert--warning, .notice--warning { background: var(--color-warning-subtle); border-color: var(--color-warning-border); color: var(--color-warning-strong); }
.banner--danger, .alert--danger, .alert--error, .notice--danger { background: var(--color-danger-subtle); border-color: var(--color-danger-border); color: var(--color-danger-strong); }
.empty { text-align: center; padding: var(--space-6) var(--space-4); background: var(--color-surface); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-lg); }
.empty svg { width: 32px; height: 32px; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.empty__title { font-size: var(--text-lg); font-weight: var(--weight-semibold); margin-bottom: var(--space-1); }
.empty__desc { color: var(--color-text-2); margin-bottom: var(--space-4); }
.error-state { text-align: center; padding: var(--space-12) var(--space-6); }
.error-state__title { font-size: var(--text-2xl); font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.error-state__ref { display: inline-block; margin-top: var(--space-4); font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-text-muted); }
.skeleton { background: linear-gradient(90deg, var(--color-neutral-100) 25%, var(--color-neutral-200) 37%, var(--color-neutral-100) 63%); background-size: 400% 100%; animation: shimmer 1.2s ease infinite; border-radius: var(--radius-sm); height: 14px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.checklist li { display: flex; align-items: center; gap: var(--space-2); }
.checklist svg { width: 16px; height: 16px; }
.checklist .is-done { color: var(--color-success-strong); }
.checklist .is-pending { color: var(--color-text-2); }
.toasts { position: fixed; right: var(--space-6); bottom: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); z-index: var(--z-toast); max-width: 380px; }
.toasts.toasts--top { top: calc(var(--space-6) + 64px); bottom: auto; }
body:has(.msn:not([hidden])) .form__actions { padding-right: 72px; }
body:has(.msn:not([hidden])) .main { padding-bottom: 72px; }
.toast { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); background: var(--color-text); color: var(--color-text-inverse); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); animation: rise var(--dur-slow) ease-out; }
.toast { font-size: var(--text-lg); line-height: 1.35; }
.toast__icon { flex: none; display: inline-flex; margin-top: 1px; }
.toast__text { flex: 1; }
.toast--success { background: var(--color-success-strong); }
.toast--error { background: var(--color-danger-strong); }
.toast--warning { background: var(--color-warning-strong); }
.toast--info { background: var(--color-note); border: 1px solid var(--color-note-border); color: var(--color-note-text); }
.toast--info .toast__close, .toast--info .toast__close:hover { color: var(--color-note-text); }
body:has(.drawer.is-open) .toasts { --beside: var(--drawer-w); right: calc(var(--beside) + var(--space-4)); max-width: min(380px, calc(100vw - var(--beside) - 2 * var(--space-4))); }
body:has(.drawer--wide.is-open) .toasts { --beside: 640px; }
@media (max-width: 767px) { body:has(.drawer.is-open) .toasts { top: var(--space-4); bottom: auto; left: var(--space-4); right: var(--space-4); max-width: none; } }
@media (max-width: 911px) { body:has(.drawer--wide.is-open) .toasts { top: var(--space-4); bottom: auto; left: var(--space-4); right: var(--space-4); max-width: none; } }
.toast__close { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; margin-left: auto; padding: 0; background: none; border: 0; border-radius: var(--radius-sm); color: var(--color-border-strong); cursor: pointer; }
.toast__close::before { content: ""; position: absolute; inset: -12px; }
.toast__close:hover { color: var(--color-text-inverse); }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.sel-busca { position: relative; width: 100%; }
.choice-stack { display: grid; gap: var(--space-1-5); }
.sel-busca__select { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sel-busca__input { text-overflow: ellipsis; }
.sel-busca__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; margin: 0; padding: var(--space-1); list-style: none; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); z-index: var(--z-dropdown); display: none; }
.sel-busca__list.is-open { display: block; }
.sel-busca__opt { padding: var(--space-2) var(--space-2); border-radius: var(--radius-md); cursor: pointer; line-height: 1.3; }
.sel-busca__opt:hover, .sel-busca__opt.is-active { background: var(--color-primary-subtle); }
.sel-busca__opt[aria-selected="true"] { font-weight: var(--weight-semibold); }
.sel-busca__group { padding: var(--space-2) var(--space-2) var(--space-1); color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.sel-busca__note { padding: var(--space-2) var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 640px) { .sel-busca__input { font-size: var(--text-lg); } }
.menu { position: relative; display: inline-block; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 4px); min-width: 180px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-1); z-index: var(--z-dropdown); display: none; }
.menu__panel.is-open { display: block; }
.menu__panel--left { right: auto; left: 0; }
.menu__panel--up { top: auto; bottom: calc(100% + 4px); }
.account-panel { max-height: calc(100vh - var(--topbar-h) - 12px); max-height: calc(100dvh - var(--topbar-h) - 12px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 767px) { .account-panel { position: fixed; top: calc(var(--topbar-h) + 4px); left: 12px; right: 12px; max-height: calc(100vh - var(--topbar-h) - 16px); max-height: calc(100dvh - var(--topbar-h) - 16px); } }
.menu__item { display: flex; align-items: center; gap: var(--space-2); width: 100%; height: 34px; padding: 0 var(--space-3); border: 0; background: none; border-radius: var(--radius-md); text-align: left; cursor: pointer; color: var(--color-text); text-decoration: none; white-space: nowrap; }
.menu__item:hover { background: var(--color-neutral-100); text-decoration: none; }
.menu__item--danger { color: var(--color-danger-strong); }
.menu__item svg { width: 16px; height: 16px; color: var(--color-text-muted); }
.menu__sep { height: 1px; background: var(--color-border); margin: var(--space-1) 0; }
.menu__head { padding: var(--space-2) var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
dialog.dialog { width: min(var(--dialog-w), calc(100vw - 32px)); border: 0; border-radius: var(--radius-xl); padding: 0; box-shadow: var(--shadow-md); color: var(--color-text); }
dialog.dialog::backdrop { background: rgba(15, 23, 42, 0.45); }
dialog.dialog--wide { width: min(640px, calc(100vw - 32px)); }
.dialog__body { padding: var(--space-4) var(--space-5); }
.dialog__title { font-size: var(--text-xl); font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.dialog__text { color: var(--color-text-2); }
.dialog__actions { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border); background: var(--color-surface-2); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.table .check-col { width: 32px; padding-right: 0; }
dialog.pdf-viewer { width: min(1040px, calc(100vw - 32px)); height: calc(var(--alto-pantalla, 100vh) - 40px); max-height: none; }
dialog.pdf-viewer[open] { display: flex; flex-direction: column; }
.pdf-viewer__bar { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); }
.pdf-viewer__title { font-size: var(--text-lg); font-weight: var(--weight-semibold); margin: 0 auto 0 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf-viewer__bar form:not([hidden]) { display: inline-flex; }
.pdf-viewer iframe { flex: 1; width: 100%; border: 0; background: var(--color-surface-2); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.statement-viewer__period { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2) var(--space-3); padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); background: var(--color-surface-2); }
.statement-viewer__dates:not([hidden]) { display: contents; }
.statement-viewer__field { display: flex; flex-direction: column; gap: var(--space-0-5); font-size: var(--text-sm); color: var(--color-text-2); }
.statement-viewer__field > span { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: var(--weight-medium); }
.statement-viewer__field .select { min-width: 240px; }
.statement-viewer__field .input { width: 160px; }
.statement-viewer__narrow { display: none; }
@media (max-width: 700px) {
dialog.pdf-viewer.statement-viewer { height: fit-content; max-height: calc(100vh - 32px); }
.statement-viewer iframe, .statement-viewer__wide { display: none; }
.statement-viewer__narrow { display: inline-flex; width: 100%; justify-content: center; }
.statement-viewer__field, .statement-viewer__field .select, .statement-viewer__field .input { width: 100%; min-width: 0; }
.statement-viewer .pdf-viewer__bar { flex-wrap: wrap; }
.statement-viewer .pdf-viewer__title { flex: 1 1 calc(100% - 56px); white-space: normal; }
.statement-viewer .pdf-viewer__bar [data-dialog-close] { order: 1; }
.statement-viewer .pdf-viewer__bar .btn:not([data-dialog-close]) { order: 2; }
.statement-viewer .pdf-viewer__bar .btn--primary { background: var(--color-surface); border-color: var(--color-border-strong); color: var(--color-text); }
}
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(var(--drawer-w), 100vw); background: var(--color-surface); box-shadow: var(--shadow-md); z-index: var(--z-drawer); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--dur-slow) ease-out; visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__header { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border); }
.drawer__title { font-size: var(--text-xl); font-weight: var(--weight-semibold); }
.drawer__desc { color: var(--color-text-2); margin-top: var(--space-0-5); }
.drawer__close { margin-left: auto; }
.drawer__body { flex: 1; overflow: auto; padding: var(--space-4) var(--space-5); }
.drawer__footer { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border); background: var(--color-surface-2); }
.tree { list-style: none; margin: 0; padding: 0; }
.tree ul { list-style: none; margin: 0; padding-left: var(--space-5); }
.tree__row { display: flex; align-items: center; gap: var(--space-1); height: 32px; padding-right: var(--space-2); border-radius: var(--radius-md); }
.tree__row:hover { background: var(--color-surface-2); }
.tree__row.is-selected { background: var(--color-primary-subtle); }
.tree__toggle { width: 24px; height: 24px; display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--color-text-muted); border-radius: var(--radius-sm); }
.tree__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.tree__toggle svg { width: 14px; height: 14px; transition: transform var(--dur-fast); }
.tree__spacer { width: 24px; }
.tree__label { flex: 1; display: flex; align-items: center; gap: var(--space-2); color: var(--color-text); text-decoration: none; min-width: 0; }
.tree__label:hover { text-decoration: none; }
.tree__code { font-weight: var(--weight-medium); }
.tree__type { font-size: var(--text-sm); color: var(--color-text-muted); }
.tree__label .badge { margin-left: var(--space-1); }
.tree--archived .tree__code { color: var(--color-text-muted); }
[data-tree-children][hidden] { display: none; }
.structure-layout { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.4fr); gap: var(--space-3); align-items: start; }
@media (max-width: 1023px) { .structure-layout { grid-template-columns: minmax(0, 1fr); } }
.path { display: inline-flex; flex-wrap: wrap; gap: var(--space-1); color: var(--color-text-2); }
.path span + span::before { content: "/"; margin-right: var(--space-1); color: var(--color-text-muted); }
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Bold.d4db658f4dd6.woff2") format("woff2"); font-weight: var(--weight-bold); font-display: swap; }
.auth { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: var(--space-8) var(--space-5); background: var(--color-brand); }
.auth__fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--color-brand); }
.auth__video { width: 100%; height: 100%; object-fit: cover; opacity: .75; filter: saturate(.9); }
.auth__fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 11, 31, .78) 0%, rgba(3, 11, 31, .55) 45%, rgba(3, 11, 31, .85) 100%); }
@media (min-width: 1024px) {
.auth__fondo::after { background: linear-gradient(90deg, rgba(3, 11, 31, .92) 0%, rgba(3, 11, 31, .6) 55%, rgba(3, 11, 31, .4) 100%); }
}
.auth__grid { width: min(1060px, 100%); display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 1024px) { .auth__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(var(--space-10), 5vw, 72px); } }
.auth__marca { color: var(--color-text-inverse); }
.auth__placa { display: inline-flex; margin: 0; padding: 22px 28px; background: var(--color-paper); border-radius: var(--radius-2xl); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .7); }
.auth__placa img { display: block; width: min(360px, 62vw); height: auto; }
.auth__emblema { display: flex; justify-content: center; width: calc(min(360px, 62vw) + 56px); margin: var(--space-5) 0 0; }
.auth__emblema img { display: block; width: calc(min(360px, 62vw) * .165); height: auto; }
.auth__credito { margin: var(--space-5) 0 0; display: flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-size: var(--text-base); color: var(--color-text-muted); }
.auth__credito img { display: block; height: 24px; width: auto; }
.auth__sello { margin: var(--space-4) 0 0; display: flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.auth__sello + .auth__credito { margin-top: var(--space-3); }
.auth__legal { margin: var(--space-3) 0 0; text-align: center; font-size: var(--text-sm); color: var(--color-text-muted); }
.auth__legal a { display: inline-block; padding: var(--space-2) var(--space-1); min-height: 44px; line-height: 28px; }
.auth__frase { color: #C9D5EA; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.5; margin-top: var(--space-5); max-width: 520px; }
.auth__frase:has(.auth__empresa) { width: calc(min(360px, 62vw) + 56px); max-width: 100%; container-type: inline-size; }
.auth__frase:has(.auth__empresa) > span { font-size: min(18px, 3.9cqw); white-space: nowrap; }
.auth__frase .auth__empresa { display: block; font-size: 3.98cqw; text-align: justify; text-align-last: justify; }
.auth__sistema { font-weight: var(--weight-semibold); }
@media (max-width: 1023px) {
.auth__emblema { width: 100%; }
.auth__frase:has(.auth__empresa) { width: 100%; }
.auth__emblema img { width: clamp(44px, 14vw, 60px); }
.auth__placa { justify-content: center; }
}
.auth__card { width: min(420px, 100%); justify-self: end; background: var(--color-surface); color: var(--color-text); border-radius: 18px; padding: 28px 22px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .7); }
@media (max-width: 1023px) { .auth__card { justify-self: center; } }
@media (min-width: 640px) { .auth__card { padding: 36px; } }
.auth__card .section-title, .auth__card h1 { font-family: "Satoshi", var(--font); font-weight: var(--weight-bold); font-size: clamp(26px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; color: var(--color-text); margin-bottom: var(--space-2); }
.auth__card .field__label { font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.auth__card .field + .field { margin-top: var(--space-4); }
.auth__card .input,
.auth__card .field > input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.auth__card .auth-fields input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { height: 48px; min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-xl); font-size: var(--text-lg); }
.auth__card input::placeholder { color: var(--color-text-disabled); }
.auth__card .btn { height: 48px; min-height: 48px; border-radius: var(--radius-xl); font-weight: var(--weight-semibold); font-size: 15px; }
.auth__card .btn svg { width: 17px; height: 17px; }
.auth__card .form__actions { margin-top: var(--space-6); }
.auth__card form + .auth-p, .auth__card form + p { margin-top: var(--space-5); margin-bottom: 0; }
.field__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.field__label-row a { font-size: var(--text-sm); font-weight: var(--weight-medium); }
.auth-olvido { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-medium); text-align: center; }
.campo-icono { position: relative; }
.campo-icono .campo-icono__ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--color-text-muted); pointer-events: none; }
.auth__card .campo-icono .input { padding-left: 44px; }
.auth__card .clave .input { padding-right: var(--space-12); }
.clave__ver { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--color-text-muted); cursor: pointer; border-radius: var(--radius-xl); }
.clave__ver:hover { color: var(--color-text); }
.clave__ver:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.clave__ver svg { width: 20px; height: 20px; }
.auth-o { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-5) 0; font-size: var(--text-sm); color: #5B6072; }
.auth-o::before, .auth-o::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }
.auth-volver { margin-top: var(--space-5); text-align: center; font-size: var(--text-sm); }
.auth-volver a, .auth-volver .link-btn { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: var(--weight-medium); }
.auth-volver svg { width: 16px; height: 16px; }
.auth__grid > * { min-width: 0; }
.auth__card .btn { height: auto; white-space: normal; text-align: center; line-height: 1.25; padding-block: var(--space-2); }
.auth__card .input { min-width: 0; }
.field__label-row { flex-wrap: wrap; }
.auth__credito { flex-wrap: wrap; }
@media (max-width: 1023px) { .auth__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-height: 650px) {
.auth { padding: var(--space-4); }
.auth__card { padding: var(--space-5) var(--space-6); }
.auth-o { margin: var(--space-3) 0; }
}
.btn--block { width: 100%; }
.auth-fields .field + .field, .auth-form .field + .field { margin-top: var(--space-3); }
.auth-fields input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .auth-fields select, .auth-fields textarea,
.field > input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .field > select, .field > textarea {
height: var(--control-h); padding: 0 var(--space-3); border: 1px solid var(--color-input-border); border-radius: var(--radius-md); background: var(--color-surface); width: 100%; font: inherit; color: inherit;
}
.auth-fields textarea, .field > textarea { height: auto; min-height: 96px; padding: var(--space-2) var(--space-3); font-family: var(--font-mono); }
.auth-fields input:focus, .auth-fields select:focus, .auth-fields textarea:focus, .field > input:focus, .field > select:focus, .field > textarea:focus { outline: 2px solid var(--color-focus); outline-offset: 0; border-color: var(--color-focus); }
.auth-fields input:disabled, .field > input:disabled, .field > input[readonly] { background: var(--color-surface-2); color: var(--color-text-2); }
.field > input.input:disabled { background: var(--color-neutral-100); cursor: not-allowed; }
.field > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):disabled,
.field > select:disabled, .field > textarea:disabled, .textarea:disabled {
background: var(--color-neutral-100); color: var(--color-text-disabled); cursor: not-allowed;
}
fieldset:disabled .dow button, fieldset:disabled .segmented { opacity: .6; cursor: not-allowed; }
.field--check { flex-direction: row; align-items: center; gap: var(--space-2); }
.field--check input { width: 16px; height: 16px; }
.auth-form .form__actions { justify-content: flex-start; }
.auth .auth-form .form__actions { justify-content: stretch; }
.auth .auth-form .form__actions .btn { flex: 1; }
.auth-hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-6) 0; }
.auth-p { margin-bottom: var(--space-4); }
.auth-img { display: block; width: 200px; height: 200px; margin: 0 auto var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-paper); }
.auth-manage { max-width: var(--form-w); }
.auth-manage .card + .card { margin-top: var(--space-4); }
.auth-panel__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-4); }
.row--vertical { flex-direction: column; align-items: stretch; }
.alert + .alert { margin-top: var(--space-2); }
.auth .alert { margin-bottom: var(--space-4); }
.demo-users { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px dashed var(--color-border-strong); }
.demo-users__row { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-2); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 767px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
.account-card__title { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-lg); font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.account-card__title svg { color: var(--color-primary); }
.invite-link { display: flex; gap: var(--space-2); align-items: center; margin-top: var(--space-2); }
.invite-link input { flex: 1; font-family: var(--font-mono); font-size: var(--text-sm); }
.invite-wait { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.invite-wait p { margin: 0 0 var(--space-2); font-size: var(--text-sm); }
.invite-wait .row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.invite-link { flex-wrap: wrap; }
.invite-link input { min-width: 200px; }
.roles-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.roles-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.chip { display: inline-flex; align-items: center; gap: var(--space-1); height: 20px; padding: 0 var(--space-2); border-radius: var(--radius-full); background: var(--color-neutral-100); color: var(--color-neutral-700); font-size: var(--text-sm); white-space: nowrap; margin: 1px var(--space-1) 1px 0; }
.chip--primary { background: var(--color-primary-subtle); color: var(--color-primary); }
.chip--success { background: var(--color-success-subtle); color: var(--color-success-strong); }
.check { display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--color-primary); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-2); }
.field-row .field + .field { margin-top: 0; }
.disclosure { margin-top: var(--space-2); }
.disclosure > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--space-1); color: var(--color-primary); font-weight: var(--weight-medium); font-size: var(--text-sm); }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary svg { width: 14px; height: 14px; }
.disclosure[open] > summary { margin-bottom: var(--space-2); }
.disclosure > form { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.maj-guide__list { margin: 0 0 var(--space-2); padding-left: 18px; font-size: var(--text-sm); line-height: 1.5; }
.maj-guide__list li + li { margin-top: var(--space-1-5); }
.panel-section { padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.panel-section__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); margin-bottom: var(--space-1); }
.plain-list { flex-direction: column; }
.plain-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 28px; }
.plain-list li > span > svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--color-text-muted); }
.plain-list form { display: inline-flex; }
[hidden] { display: none !important; }
.field-row--id { grid-template-columns: 120px 1fr 130px; }
.merge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.merge-card { border: 2px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); background: var(--color-surface); }
.merge-card--keep { border-color: var(--color-primary); }
.merge-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); margin-bottom: var(--space-2); }
.merge-card h3 { font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.merge-card dl { grid-template-columns: 130px 1fr; }
.chip--warning { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--color-border); }
.timeline li { position: relative; padding: 0 0 var(--space-3) var(--space-4); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-border-strong); }
.timeline li.is-status::before { background: var(--color-primary); }
.timeline li.is-mine::before { background: var(--color-brand-accent); }
.timeline .who { font-size: var(--text-sm); color: var(--color-text-2); }
.timeline .bubble { margin-top: var(--space-1); padding: var(--space-2) var(--space-3); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); white-space: pre-line; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-2); }
.photo-grid a { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface-2); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn:focus-within { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); overflow: hidden; margin: var(--space-0-5) 0 var(--space-2); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label > span { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 32px; padding: 0 var(--space-3); font-size: var(--text-sm); cursor: pointer; background: var(--color-surface); border-right: 1px solid var(--color-border); }
.segmented label:last-child span { border-right: 0; }
.segmented input:checked + span { background: var(--color-primary); color: var(--color-text-inverse); }
.segmented input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.who-picker { border: 0; padding: 0; margin: var(--space-3) 0 0; min-width: 0; }
.who-picker .segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
.who-picker .segmented:has(> label:nth-child(4)) { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.who-picker .segmented label { display: flex; }
.who-picker .segmented span { flex: 1; justify-content: center; }
.who-picker .segmented:has(> label:nth-child(4)) label:nth-child(2n) span { border-right: 0; }
.who-picker .segmented:has(> label:nth-child(4)) label:nth-child(-n+2) span { border-bottom: 1px solid var(--color-border); }
.who-panel { margin-top: var(--space-1); }
.link-callout { border: 1px solid var(--color-primary); background: var(--color-primary-subtle); border-radius: var(--radius-lg); padding: var(--space-3); margin-bottom: var(--space-3); }
.link-callout__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); margin-bottom: var(--space-2); }
.link-callout .invite-link { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.link-callout .invite-link input { min-width: 260px; }
.chip--danger { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.text-danger { color: var(--color-danger); }
.table td.nowrap, .table th.nowrap { white-space: nowrap; }
.table td.truncate--sm { max-width: 190px; }
@media (max-width: 767px) { .table td.truncate { max-width: 140px; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats-row { margin-bottom: var(--space-3); }
.stats-row .stat__value { font-size: var(--text-xl); }
.setup-strip { display: flex; flex-direction: column; gap: var(--space-1-5); margin-bottom: var(--space-3); }
.setup-strip__item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.setup-strip__item .btn { margin-left: auto; }
.table th.num-col, .table td.num-col { text-align: right; white-space: nowrap; }
.table--compact td, .table--compact th { padding-top: var(--space-1-5); padding-bottom: var(--space-1-5); }
.input--sm { height: 30px; font-size: var(--text-sm); max-width: 150px; margin-left: auto; text-align: right; }
.table tr.is-reversed td { color: var(--color-text-muted); }
.table tr.is-reversed td.num-col { text-decoration: line-through; }
.why summary { cursor: pointer; list-style: none; }
.why summary::-webkit-details-marker { display: none; }
.why summary::after { content: " ⓘ"; color: var(--color-text-muted); font-size: var(--text-xs); }
.why__body { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-2); max-width: 520px; }
.text-success { color: var(--color-success-strong); }
.drawer--wide { width: min(640px, 100vw); }
.rule-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.rule-list li { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.rule-list li.is-off { opacity: .6; }
.rule-list__head { display: flex; align-items: center; gap: var(--space-2); }
.rule-list__head .btn { margin-left: auto; }
.rule-preview { margin-top: var(--space-3); padding: var(--space-2) var(--space-3); background: var(--color-primary-subtle); border-radius: var(--radius-md); color: var(--color-primary); font-size: var(--text-sm); }
.ac-months { margin-bottom: var(--space-4); }
.pc-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: var(--space-2); margin-bottom: var(--space-4); }
.pc-kpi--late { border-color: var(--color-danger); }
.pc-kpi--late b { color: var(--color-danger); }
.pc-charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: var(--space-3); }
.pc-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2-5); }
.pc-bars li { display: grid; grid-template-columns: minmax(0, 15rem) 1fr auto; align-items: center; gap: var(--space-2); font-size: var(--text-sm); }
.pc-bars__label { overflow: hidden; text-overflow: ellipsis; }
.pc-bars__value { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-text-2); }
.pc-filters .select { width: auto; max-width: 100%; }
@media (max-width: 600px) { .pc-bars li { grid-template-columns: 1fr auto; } .pc-bars li .bg-bar { grid-column: 1 / -1; grid-row: 2; } }
.pc-ledger__opening td, .pc-ledger__closing td { background: var(--color-surface-2); }
.pc-ledger__voided td { color: var(--color-text-2); }
.pc-ledger__delivery td, .pc-ledger__replenishment td { background: color-mix(in srgb, var(--color-success) 6%, var(--color-surface)); }
@media print { .sidebar, .topbar, .page-header__actions, .pc-statement form, .cell--actions, .tt-bar, .tt-none { display: none !important; } }
.eq-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.eq-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.eq-row.is-back { background: var(--color-surface-2); }
.eq-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.eq-title { margin: 0; font-size: var(--text-base); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); }
.eq-meta { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); overflow-wrap: break-word; }
.eq-meta.text-danger { color: var(--color-danger); }
.eq-photos { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-1); }
.eq-photos a { display: flex; flex-direction: column; align-items: center; gap: var(--space-0-5); font-size: var(--text-xs); color: var(--color-text-2); text-decoration: none; }
.eq-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--color-border); }
.eq-side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-1-5); text-align: right; }
.eq-back[open] { width: min(420px, 80vw); }
.eq-form { flex-direction: column; margin-top: var(--space-2); text-align: left; }
.eq-grid { display: grid; grid-template-columns: 2fr 0.6fr 1fr 1fr 1fr; gap: var(--space-2); }
@media (max-width: 1100px) { .eq-grid { grid-template-columns: 1fr 1fr; } .eq-grid__item { grid-column: 1 / -1; } }
@media (max-width: 640px) {
.eq-row { grid-template-columns: minmax(0, 1fr); }
.eq-side { align-items: flex-start; text-align: left; }
.eq-back[open] { width: 100%; }
.eq-grid { grid-template-columns: minmax(0, 1fr); }
}
.setup-jump { position: sticky; top: var(--topbar-h); z-index: 3; box-sizing: border-box; height: 42px; align-items: stretch; background: var(--color-bg); margin: calc(-1 * var(--space-1)) 0 var(--space-3); }
.setup-jump a[aria-current="location"] { color: var(--color-primary); border-bottom-color: var(--color-primary); }
main:has(.setup-jump) :is(section, form)[id] { scroll-margin-top: calc(var(--topbar-h) + 42px + 12px); }
main:has(.setup-jump) .table th { top: calc(var(--topbar-h) + 42px); }
.notice { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); border-width: 1px; border-style: solid; margin-bottom: var(--space-3); font-size: var(--text-sm); }
.notice svg { flex: none; margin-top: var(--space-0-5); }
.notice--action { align-items: center; }
.notice--action > div { flex: 1; min-width: 0; }
.notice--action > .btn { flex: none; }
@media (max-width: 640px) { .notice--action { flex-wrap: wrap; } .notice--action > .btn { width: 100%; min-height: 44px; justify-content: center; } }
.todo { margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4); }
.todo .section-title { margin: 0 0 var(--space-2); }
.todo__icon { display: inline-flex; width: 28px; height: 28px; flex: none; align-items: center; justify-content: center; border-radius: var(--radius-full); background: var(--color-primary-subtle); color: var(--color-primary); }
.tabs__count { margin-left: var(--space-1-5); padding: 0 var(--space-1-5); border-radius: var(--radius-full); background: var(--color-neutral-100); color: var(--color-text-2); font-size: var(--text-xs); line-height: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-2) 0; }
.steps__item { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-0-5); font-size: var(--text-sm); }
.steps__item span { color: var(--color-text-2); }
.steps__item.is-done { border-color: var(--color-success-border); background: var(--color-success-subtle); }
@media (max-width: 767px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.rows-table { margin-bottom: var(--space-1); }
.rows-table th { padding: var(--space-1) var(--space-1-5); }
.rows-table td { padding: 3px var(--space-1); }
.rows-table .input--sm, .rows-table .select { width: 100%; max-width: none; margin-left: 0; text-align: left; }
.rows-table .input--sm.num { text-align: right; }
.rows-table .select { height: 30px; font-size: var(--text-sm); padding-top: 0; padding-bottom: 0; }
ol.steps { padding: 0; list-style: none; }
.steps--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.order-lines { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-4); align-items: start; }
@media (max-width: 1023px) { .order-lines { grid-template-columns: minmax(0, 1fr); } }
.steps__item.is-bad { border-color: var(--color-danger-border); background: var(--color-danger-subtle); }
.steps__item.is-partial { border-color: var(--color-warning-border); background: var(--color-warning-subtle); }
.field__static { margin: var(--space-1-5) 0 0; min-height: 24px; }
.inline-confirm { display: inline-block; }
.inline-confirm > summary { list-style: none; cursor: pointer; }
.inline-confirm > summary::-webkit-details-marker { display: none; }
.inline-confirm[open] > summary { display: none; }
.pay-fix[open] { display: block; max-width: 160px; margin-left: auto; }
.pay-fix .row { flex-wrap: wrap; }
.pay-fix .input { width: 100%; min-width: 0; }
.pay-fix .btn { width: 100%; height: auto; min-height: 32px; padding-block: 5px; white-space: normal; justify-content: center; line-height: 1.25; }
@media (max-width: 767px) { .steps--6, .steps--5, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
.steps--line { display: flex; gap: var(--space-1); overflow-x: auto; scrollbar-width: none; }
.steps--line .steps__item { flex: 1 0 auto; padding: var(--space-1) var(--space-2); font-size: var(--text-xs); white-space: nowrap; }
.steps--line .steps__item span { display: none; }
}
.text-strong { color: var(--color-text); font-weight: var(--weight-semibold); }
.dl--stack { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-0-5); }
.dl--stack dd { margin-bottom: var(--space-2); }
.order-lines .dl { grid-template-columns: 110px minmax(0, 1fr); }
.only-sm { display: none; }
@media (max-width: 767px) { .only-sm { display: inline; } }
.th-sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font: inherit; color: inherit; }
.th-sort:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
th[aria-sort="descending"] .th-sort::after { content: "↓"; }
th[aria-sort="ascending"] .th-sort::after { content: "↑"; }
.cifra-pick { display: none; }
@media (max-width: 767px) {
.cifra-pick { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.cifra-pick label { flex: none; white-space: nowrap; }
.cifra-pick .select { flex: 1; min-width: 0; }
.cifra-table [data-cifra-col]:not(.is-cifra) { display: none; }
.cifra-table td, .cifra-table th { white-space: normal; }
}
.choice-list { display: grid; gap: var(--space-2); }
.choice-list .choice { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; background: var(--color-surface); }
.choice-list .choice input { margin-top: 3px; flex: none; }
.choice-list .choice > span { display: flex; flex-direction: column; gap: var(--space-0-5); }
.choice-list .choice:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.choice-list--row { display: flex; flex-wrap: wrap; gap: var(--space-1-5); }
.choice-list--row .choice { position: relative; align-items: center; padding: 5px var(--space-3); border-radius: var(--radius-full); font-size: var(--text-sm); }
.choice-list--row .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice-list--row .choice:has(input:checked) { color: var(--color-primary); font-weight: var(--weight-semibold); box-shadow: inset 0 0 0 1px var(--color-primary); }
.choice-list--row .choice:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.inbox-list { list-style: none; margin: 0; padding: 0; }
.inbox-list li { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-top: 1px solid var(--color-border); }
.inbox-list li:first-child { border-top: 0; }
.inbox-list li > .inbox-text { flex: 1; min-width: 0; }
@media (max-width: 767px) { .inbox-list li { flex-wrap: wrap; } }
.segmented--links { display: inline-flex; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); }
.segmented--links a { display: inline-flex; align-items: center; gap: var(--space-1-5); height: 34px; padding: 0 var(--space-3); font-size: var(--text-sm); color: var(--color-text-2); text-decoration: none; border-left: 1px solid var(--color-border); white-space: nowrap; }
.segmented--links .tabs__count { margin-left: 0; }
.segmented--links a:first-child { border-left: 0; }
.segmented--links a[aria-current="page"] { background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--weight-semibold); }
.segmented--links .tabs__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; padding: 0 var(--space-1-5); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.segmented--links a:not([aria-current="page"]):hover { background: var(--color-surface-2); color: var(--color-text); }
.segmented--links a[aria-current="page"] .tabs__count { background: rgba(255,255,255,.2); color: var(--color-text-inverse); }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) 0; border-top: 1px solid var(--color-border); }
.file-list li:first-child { border-top: 0; }
.file-list a { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list form { margin-left: auto; }
.agenda { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.agenda__item { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.agenda__item:first-child { border-top: 0; }
.agenda__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--color-primary-subtle); color: var(--color-primary); font-weight: var(--weight-semibold); font-size: var(--text-xs); }
.agenda__body { flex: 1; min-width: 0; }
.agenda__actions { display: flex; gap: var(--space-0-5); flex: none; }
.agenda__actions form { display: inline; }
.quorum-band { display: grid; grid-template-columns: 180px 1fr minmax(240px, 34%); gap: var(--space-4); align-items: center; margin-bottom: var(--space-3); }
.quorum-band__label { font-size: var(--text-sm); color: var(--color-text-muted); }
.quorum-band__value { font-size: 28.5px; line-height: 36px; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; color: var(--color-brand); }
.quorum-bar { position: relative; height: 12px; border-radius: var(--radius-full); background: var(--color-neutral-100); overflow: visible; }
.quorum-bar__fill { position: absolute; inset: 0 auto 0 0; border-radius: var(--radius-full); background: var(--color-warning-strong); transition: width .4s; }
.quorum-bar__fill.is-ok { background: var(--color-success-strong); }
.quorum-bar__mark { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--color-brand); }
.quorum-band__state form { display: inline; }
@media (max-width: 1023px) { .quorum-band { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); } }
.live-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-3); align-items: start; }
.live-grid--uno { grid-template-columns: minmax(0, 1fr); }
.asistencia-ancha .attendance li { grid-template-columns: 10px minmax(0, 1.3fr) minmax(0, 1fr) auto; padding: var(--space-1) 0; }
.asistencia-ancha .attendance__who { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asistencia-ancha .attendance__state { grid-column: 3; }
.asistencia-ancha .attendance__actions { grid-column: 4; grid-row: auto; }
.asistencia-ancha .attendance li:has(.door-check) .attendance__actions { grid-column: 4; }
.asistencia-ancha .attendance__actions form.door-check--uno { flex-wrap: nowrap; }
.asistencia-ancha .door-check .input { min-width: 0; width: 18rem; max-width: 100%; }
@media (max-width: 900px) {
.asistencia-ancha .attendance li, .asistencia-ancha .attendance li:has(.door-check) { grid-template-columns: 10px minmax(0, 1fr); }
.asistencia-ancha .attendance__who { white-space: normal; }
.asistencia-ancha .attendance__state, .asistencia-ancha .attendance__actions, .asistencia-ancha .attendance li:has(.door-check) .attendance__actions { grid-column: 2; justify-content: flex-start; }
.asistencia-ancha .attendance__actions form.door-check--uno { flex-wrap: wrap; }
.asistencia-ancha .door-check .input { width: 100%; }
}
@media (max-width: 600px) { #live, #live .card, .asistencia-ancha { min-width: 0; max-width: 100%; } }
@media (max-width: 1023px) { .live-grid { grid-template-columns: minmax(0, 1fr); } }
.live-items { list-style: none; margin: 0; padding: 0; }
.live-item { padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.live-item:first-child { border-top: 0; }
.live-item.is-open { margin: 0 calc(-1 * var(--space-3)); padding: var(--space-2) var(--space-3); background: var(--color-warning-subtle); border-radius: var(--radius-md); border-top: 0; }
.live-item.is-closed .live-item__title strong { color: var(--color-text-2); }
.live-item__head { display: flex; gap: var(--space-2); align-items: flex-start; }
.live-item__title { flex: 1; min-width: 0; }
.live-item__actions { display: flex; gap: var(--space-2); align-items: center; flex: none; }
.live-item__actions form { display: inline; }
.live-pulse { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .live-pulse { animation: none; } }
.vote-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-2) 0 0 var(--space-8); }
.vote-count { display: flex; flex-direction: column; padding: var(--space-1-5) var(--space-2); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); }
.vote-count span { font-size: var(--text-xs); color: var(--color-text-2); }
.vote-count strong { font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.vote-count.is-yes strong { color: var(--color-success-strong); }
.vote-count.is-no strong { color: var(--color-danger); }
.vote-count.is-muted strong { color: var(--color-text-2); }
@media (max-width: 767px) { .vote-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; } }
.option-bars { list-style: none; margin: var(--space-2) 0 0 var(--space-8); padding: 0; display: grid; gap: var(--space-1); }
.option-bars li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 72px; gap: var(--space-2); align-items: center; font-size: var(--text-sm); }
.option-bars__bar { height: 8px; border-radius: var(--radius-full); background: var(--color-neutral-100); overflow: hidden; }
.option-bars__bar span { display: block; height: 100%; background: var(--color-primary); }
.option-bars strong { text-align: right; }
.who-voted { margin: var(--space-2) 0 0 var(--space-8); }
.who-voted summary { cursor: pointer; font-size: var(--text-sm); color: var(--color-primary); }
.who-voted p { margin: var(--space-1) 0; }
.attendance { list-style: none; margin: 0; padding: 0; max-height: calc(var(--alto-pantalla, 100vh) * .7); overflow: auto; }
.attendance li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.attendance li:first-child { border-top: 0; }
.attendance__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border-strong); }
.attendance li.is-present .attendance__dot { background: var(--color-success-strong); }
.attendance--left { border-top: 1px solid var(--color-border); }
.attendance li.is-left { color: var(--color-text-2); }
.attendance li.is-left strong { font-weight: 500; }
.attendance__state { grid-column: 2; }
.attendance__actions { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-1); }
.attendance li:has(.door-check) .attendance__actions { grid-column: 2 / span 2; grid-row: auto; justify-content: flex-start; }
.door-check[open] { flex-basis: 100%; }
.door-check form { display: flex !important; flex-wrap: wrap; gap: var(--space-1-5); align-items: flex-end; margin-top: var(--space-1-5); }
.door-check form label { flex-basis: 100%; }
.door-check form .input { flex: 1 1 220px; min-width: 0; }
.attendance__actions form.door-check--uno { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: var(--space-1-5); align-items: center; }
.door-check--uno .input { flex: 1 1 220px; min-width: 0; }
.attendance__actions form { display: inline; }
.attendance li.attendance__empty { display: block; }
.chip--xs { font-size: var(--text-xs); padding: 0 var(--space-1-5); line-height: 16px; vertical-align: 1px; }
.attendance__group { display: flex; align-items: center; gap: var(--space-1-5); margin: var(--space-3) 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.attendance__group:first-of-type { margin-top: 0; }
.body-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--space-3); }
.body-card { display: flex; flex-direction: column; gap: var(--space-1); color: inherit; text-decoration: none; }
.body-card:hover { text-decoration: none; border-color: var(--color-border-strong); }
.body-card__top { display: flex; gap: var(--space-1); }
.body-card__name { font-size: var(--text-lg); }
.body-card__members { list-style: none; margin: var(--space-2) 0 0; padding: 0; font-size: var(--text-sm); }
.body-card__members li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 3px 0; border-top: 1px solid var(--color-border); }
.body-card__members li:first-child { border-top: 0; }
.session-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-3); align-items: start; }
@media (max-width: 1023px) { .session-grid { grid-template-columns: minmax(0, 1fr); } }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.check-list li:first-child { border-top: 0; }
.vote-table { margin: var(--space-2) 0 0 var(--space-8); }
.vote-table__row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, auto); gap: var(--space-3); align-items: center; padding: var(--space-1) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.vote-table__row:first-of-type { border-top: 0; }
@media (max-width: 767px) { .vote-table { margin-left: 0; } .vote-table__row { grid-template-columns: 1fr 1fr 1fr; } .vote-table__row > span { grid-column: 1 / -1; } }
.member-list { list-style: none; margin: 0; padding: 0; }
.member-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.member-list li:first-child { border-top: 0; }
.member-list__who { min-width: 0; }
.ai-mark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; color: var(--color-text-2); }
.ai-mark--sm { width: 18px; height: 18px; }
.ai-sug__palabra { display: inline-block; width: auto; height: 0.7em; vertical-align: baseline; margin: 0 0.04em; }
.ai-tag { display: inline-flex; align-items: center; gap: var(--space-1); height: 20px; padding: 0 var(--space-2); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: var(--weight-semibold); white-space: nowrap; }
.ai-tag--suggestion { background: var(--color-info-subtle); color: var(--color-info-strong); }
.ai-tag--draft { background: var(--color-neutral-100); color: var(--color-neutral-700); }
.ai-tag--action { background: var(--color-primary-subtle); color: var(--color-primary); }
.ai-tag--done { background: var(--color-success-subtle); color: var(--color-success-strong); }
.ai-panel { padding: var(--space-3) var(--space-4); border-color: var(--color-ai-border); background: linear-gradient(180deg, var(--color-ai-subtle) 0, var(--color-surface) 140px); }
.ai-panel__head > div { flex: 1; min-width: 0; }
.ai-panel__title { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: 28px; }
.ai-panel__desc { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.ai-brief { margin: var(--space-2) 0 0; padding: var(--space-2) var(--space-3); border-left: 3px solid var(--color-ai-accent); background: var(--color-surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-size: var(--text-sm); }
.ai-brief__label { display: block; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); margin-bottom: var(--space-0-5); }
.ai-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.ai-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.ai-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); font-size: var(--text-xs); color: var(--color-text-2); }
.ai-item__title { margin: 3px 0 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.ai-item__why { margin: var(--space-0-5) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.ai-item__plan { list-style: none; margin: var(--space-1-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-0-5) var(--space-3-5); font-size: var(--text-sm); }
.ai-item__plan li { display: inline-flex; align-items: center; gap: var(--space-1); }
.ai-item__plan svg { color: var(--color-success); flex: none; }
.ai-item__draft { margin: var(--space-1-5) 0 0; padding: var(--space-1-5) var(--space-2); border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px dashed var(--color-border-strong); font-size: var(--text-sm); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ai-item__actions { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 132px; }
.ai-item__actions .btn { justify-content: center; }
.ai-note { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; margin-bottom: var(--space-4); }
.home-grid .todo { margin-bottom: 0; }
.ask-btn { gap: var(--space-1-5); }
.ask-btn .ai-mark { width: 18px; height: 18px; color: inherit; }
@media (max-width: 1100px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .ai-item { grid-template-columns: minmax(0, 1fr); } .ai-item__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; } }
@media (max-width: 767px) {
.ask-btn .hide-sm { display: none; }
.topbar { gap: var(--space-2); }
}
.ask { display: flex; flex-direction: column; min-height: 100%; }
.ask__thread { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; padding-bottom: var(--space-3); }
.ask__hello { display: flex; gap: var(--space-2); align-items: flex-start; color: var(--color-text-2); font-size: var(--text-sm); }
.ask__suggest { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-2); }
.ask__suggest .btn { height: auto; min-height: 30px; padding: var(--space-1) var(--space-2-5); white-space: normal; text-align: left; font-weight: var(--weight-regular); }
.ask-msg { max-width: 92%; font-size: var(--text-sm); line-height: 1.55; }
.ask-msg--user { align-self: flex-end; background: var(--color-primary); color: var(--color-text-inverse); padding: var(--space-2) var(--space-3); border-radius: 14px 14px var(--radius-sm) 14px; white-space: pre-line; }
.ask-msg--ai { align-self: flex-start; display: flex; gap: var(--space-2); }
.ask-msg--ai .ai-mark { margin-top: var(--space-0-5); }
.ask-msg__body { background: var(--color-surface-2); border: 1px solid var(--color-border); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm) 14px 14px 14px; min-width: 0; }
.ask-msg__body p { margin: 0 0 var(--space-1-5); }
.ask-msg__body p:last-child, .ask-msg__body ul:last-child { margin-bottom: 0; }
.ask-msg__body ul { margin: 0 0 var(--space-1-5); padding-left: 18px; }
.ask-msg--paused .ask-msg__body { background: var(--color-warning-subtle); border-color: var(--color-warning-border); }
.ask-msg--error .ask-msg__body { background: var(--color-danger-subtle); border-color: var(--color-danger-border); }
.ask-report { margin-top: var(--space-2); font-size: var(--text-sm); }
.ask-report summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text-muted); text-decoration: underline; cursor: pointer; }
.ask-report form { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-1); }
.ask-report__why { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.ask-report__why legend { font-weight: 600; margin-bottom: var(--space-1); }
.ask-report .btn { align-self: flex-start; }
.ask-sources { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1-5); }
.ask-sources a { font-size: var(--text-xs); padding: 1px var(--space-2); border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text-2); text-decoration: none; }
.ask-sources a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.ask__form { position: sticky; bottom: calc(-1 * var(--space-4)); background: var(--color-surface); padding: var(--space-2) 0 var(--space-4); border-top: 1px solid var(--color-border); display: flex; gap: var(--space-2); align-items: flex-end; }
.ask__form .textarea { flex: 1; min-height: 44px; max-height: 160px; resize: vertical; }
.ask__foot { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-1); }
.prep__facts { font-size: var(--text-sm); color: var(--color-text-2); }
.prep__section { margin-top: var(--space-4); }
.prep__section h3 { font-size: var(--text-base); font-weight: var(--weight-semibold); margin: 0 0 var(--space-2); }
.prep__why { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }
.prep__accounts { width: 100%; font-size: var(--text-sm); border-collapse: collapse; }
.prep__accounts td, .prep__accounts th { padding: var(--space-1) var(--space-1-5); border-bottom: 1px solid var(--color-border); text-align: left; }
.prep__accounts td.num { text-align: right; white-space: nowrap; }
.ai-tag--extracted { background: var(--color-ai-subtle); color: var(--color-ai); border: 1px solid var(--color-ai-border); }
.intake { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.intake__file { display: flex; flex-direction: column; gap: var(--space-2); position: sticky; top: calc(var(--topbar-h) + var(--space-3)); }
.intake__file iframe, .intake__file img { width: 100%; height: calc(var(--alto-pantalla, 100vh) * .72); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); object-fit: contain; }
.intake__checks { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
.intake__checks li { display: flex; gap: var(--space-1-5); align-items: flex-start; }
.intake__checks li svg { flex: none; margin-top: 3px; }
.intake__checks .is-ok svg { color: var(--color-success); }
.intake__checks .is-warn { color: var(--color-warning-strong); }
.intake__checks .is-hint svg { color: var(--color-ai); }
.intake__nopdf { height: calc(var(--alto-pantalla, 100vh) * .72); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); text-align: center; color: var(--color-text-2); border: 1px dashed var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.intake__nopdf p { margin: 0; }
.intake__facts { grid-template-columns: 110px 1fr; row-gap: var(--space-1-5); font-size: var(--text-sm); }
.intake__key { word-break: break-all; font-variant-numeric: tabular-nums; }
.intake__condo { margin-bottom: var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-warning-subtle); }
.mailbox + .mailbox { margin-top: var(--space-3); }
.mailbox__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); flex-wrap: wrap; }
.mailbox__state { display: flex; gap: var(--space-1-5); align-items: flex-start; margin: var(--space-0-5) 0 0; }
.mailbox__state svg { flex: none; margin-top: 3px; }
.mailbox__state.is-ok svg { color: var(--color-success); }
.mailbox__state.is-warn { color: var(--color-warning-strong); }
.mailbox__facts { grid-template-columns: 90px 1fr; row-gap: var(--space-1); margin-top: var(--space-2); font-size: var(--text-sm); }
.mailbox__form { margin-top: var(--space-3); }
.mailbox__help { margin-top: var(--space-2); }
.mailbox__server { display: grid; grid-template-columns: minmax(0, 2fr) 100px minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-2); }
.mailbox__server > .field { margin-top: 0; }
@media (max-width: 640px) { .mailbox__server { grid-template-columns: 100px minmax(0, 1fr); } .mailbox__server > :first-child { grid-column: 1 / -1; } }
.intake__supplier { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
@media (max-width: 1100px) { .intake { grid-template-columns: minmax(0, 1fr); } .intake__file { position: static; } .intake__file iframe, .intake__file img, .intake__nopdf { height: calc(var(--alto-pantalla, 100vh) * .5); } }
.doc-hits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.doc-hits li { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.doc-hits__head { display: flex; flex-wrap: wrap; gap: var(--space-1-5); align-items: baseline; }
.doc-hits__snippet { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.doc-hits mark { background: var(--color-ai-subtle); color: inherit; padding: 0 var(--space-0-5); border-radius: var(--radius-sm); }
.doc-search { display: flex; gap: var(--space-2); align-items: center; margin-bottom: var(--space-3); flex-wrap: wrap; }
.search--wide { flex: 1; min-width: 240px; }
.search--wide .input { width: 100%; }
.readbar { display: flex; align-items: center; gap: var(--space-2); min-width: 150px; }
.readbar__track { flex: 1; height: 6px; border-radius: var(--radius-full); background: var(--color-border); overflow: hidden; }
.readbar__fill { height: 100%; border-radius: inherit; background: var(--color-primary); }
.readbar__fill.is-low { background: var(--color-warning); }
.readbar__num { font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.com-read { width: 220px; }
.kind-chip { display: inline-flex; align-items: center; gap: var(--space-1); white-space: nowrap; }
.com-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5) var(--space-2); }
.com-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.com-side { display: flex; flex-direction: column; gap: var(--space-3); }
.com-choices { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); margin-top: var(--space-2); }
.com-choices > .field + .field { margin-top: 0; }
.com-body { font-size: 13.5px; line-height: 1.65; color: var(--color-text); }
.com-body p { margin: 0 0 var(--space-2-5); }
.com-body .com-foot { display: flex; gap: var(--space-1-5); align-items: center; margin: var(--space-3) 0 0; padding-top: var(--space-2); border-top: 1px solid var(--color-border); line-height: 1.4; }
.com-body .com-foot + .com-foot { border-top: 0; padding-top: 0; margin-top: var(--space-1); }
.big-num { font-size: 26.5px; font-weight: var(--weight-bold); letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 7px 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.who-list li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-list li > span:last-child { flex-shrink: 0; white-space: nowrap; }
.ai-draft { display: flex; gap: var(--space-2); align-items: center; margin-top: var(--space-3); padding: var(--space-2) var(--space-2-5); border: 1px dashed var(--color-ai-border); border-radius: var(--radius-md); background: var(--color-ai-subtle); }
.ai-draft .input { flex: 1; min-width: 0; }
.ai-draft .btn { flex: none; }
.mail-prev { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3); font-size: var(--text-xs); background: var(--color-surface-2); }
@media (max-width: 1023px) { .com-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .com-read { width: auto; } .com-read .readbar { min-width: 84px; flex-direction: column; align-items: stretch; gap: var(--space-0-5); } .com-read .readbar__track { flex: none; } .readbar__pct { display: none; } }
@media (max-width: 640px) { .ai-draft { flex-wrap: wrap; } .ai-draft .input { flex-basis: calc(100% - 32px); } .ai-draft .btn { width: 100%; } }
.muted-cell { color: var(--color-text-muted); }
.res-note { display: block; font-size: var(--text-sm); color: var(--color-text-2); }
.res-table td { vertical-align: middle; }
.res-table tr.res-day td { height: auto; background: var(--color-surface-2); font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--color-text-2); padding-top: var(--space-1-5); padding-bottom: var(--space-1-5); }
.res-table tr.res-sub td { height: auto; background: var(--color-surface); font-size: var(--text-sm); color: var(--color-text-2); padding-top: var(--space-0-5); padding-bottom: var(--space-2); }
.res-table tbody tr.res-day:hover, .res-table tbody tr.res-sub:hover { background: none; }
.res-when { font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-who { display: flex; flex-direction: column; padding: var(--space-1) 0; }
.res-sec { display: flex; align-items: center; gap: var(--space-1-5); margin: var(--space-2) 0; }
.res-none { margin: 0 0 var(--space-2); }
.res-foot { margin-top: var(--space-2); }
.res-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.res-main, .res-side { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.res-lead { margin: 0 0 var(--space-2-5); }
.res-money { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-1-5) 0 var(--space-0-5); font-size: 18.5px; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
.res-money .chip { font-size: var(--text-sm); font-weight: var(--weight-semibold); margin: 0; }
.res-actions { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.res-actions > .btn, .res-actions > form { flex: 1 1 0; min-width: 0; }
.res-facts { grid-template-columns: 170px 1fr; margin-top: var(--space-2); }
.res-inline { display: inline; }
.res-inline summary { display: inline; cursor: pointer; color: var(--color-primary); }
.res-inline[open] > :not(summary) { margin-top: var(--space-2); }
.res-rules-text { padding: var(--space-2) var(--space-3); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); }
.snap { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1-5); }
.snap li { font-size: var(--text-sm); padding: 3px var(--space-2); border-radius: var(--radius-full); background: var(--color-surface-2); border: 1px solid var(--color-border); }
.checks { list-style: none; margin: 0 0 var(--space-2-5); padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.checks li { display: flex; gap: var(--space-1-5); align-items: flex-start; font-size: var(--text-sm); color: var(--color-success-strong); }
.checks li svg { flex: none; margin-top: var(--space-0-5); }
.checks li.is-warn { color: var(--color-warning-strong); }
.effects { display: flex; flex-direction: column; gap: var(--space-1); margin: var(--space-2-5) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.effects b { color: var(--color-text); font-weight: var(--weight-semibold); }
.inline-help { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.block-list { list-style: none; margin: var(--space-1-5) 0 0; padding: 0; }
.block-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 7px 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.res-closure { display: inline-flex; align-items: center; gap: var(--space-1); text-align: right; }
.res-rule-card { margin-bottom: var(--space-3); }
.res-rule-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); }
.switch { display: inline-flex; align-items: center; gap: var(--space-2-5); flex: none; max-width: 150px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.switch[aria-disabled="true"] { cursor: default; opacity: .7; }
.switch__track { position: relative; width: 40px; height: 24px; flex: none; border-radius: var(--radius-full); background: var(--color-border-strong); transition: background var(--dur-fast); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--color-surface); transition: left var(--dur-fast); }
.switch[aria-checked="true"] .switch__track { background: var(--color-primary); }
.switch[aria-checked="true"] .switch__track::after { left: 19px; }
.switch:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-md); }
.switch--rule { max-width: none; }
.switch__text { display: flex; flex-direction: column; line-height: 1.3; }
.switch__text strong { white-space: nowrap; }
.switch__text small { font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; }
dialog.dlg { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.dlg__head { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }
.dlg__head h2 { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.dlg__head p { margin: var(--space-0-5) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.dlg__body { padding: var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.dlg__body .field + .field { margin-top: 0; }
.dlg__body .form-error { margin: 0; }
.dlg__foot { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--color-border); display: flex; justify-content: flex-end; gap: var(--space-2); }
.effect-box { font-size: var(--text-sm); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px solid var(--color-border); }
.radio-card { display: flex; gap: var(--space-2-5); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.radio-card input { margin-top: 3px; accent-color: var(--color-primary); }
.radio-card span { display: flex; flex-direction: column; gap: var(--space-0-5); font-size: var(--text-sm); }
.radio-card strong { font-size: var(--text-base); }
.dlg:has(input[name="mode"][value="full"]:checked) .res-partial { display: none; }
.dlg:has(input[name="what"][value="day"]:checked) .res-slot-picks { display: none; }
.res-req-transfer { display: none; }
.dlg:has(input[name="method"][value="transfer"]:checked) .res-req-transfer { display: inline; }
.res-slot-picks { display: flex; gap: var(--space-1-5); margin-top: var(--space-1); }
.res-back { font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.money-in { position: relative; }
.money-in .input { padding-left: 26px; }
.money-in::before { content: attr(data-symbol); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--color-text-2); font-size: var(--text-sm); }
.res-form > .field + .field-row, .res-form > .field-row + .field, .res-form > .field-row + .field-row, .res-form > .banner + .field { margin-top: var(--space-3); }
.res-block { margin: var(--space-3) 0 0; }
.res-exception { display: flex; margin-top: var(--space-2); color: inherit; }
.res-form:not(:has(input[name="exception"]:checked)) .res-exception-reason { display: none; }
.res-slots input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.res-save { margin-top: var(--space-3); }
fieldset.res-lock { display: contents; margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.area-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.res-gap { margin-bottom: var(--space-3); }
.res-gap-top { margin-top: var(--space-3); }
.res-if-shared { display: none; }
.area-form:has(input[name="mode"][value="shared"]:checked) .res-if-shared { display: inline; }
.area-form:has(input[name="mode"][value="shared"]:checked) .res-if-exclusive { display: none; }
.res-slots-wrap { overflow-x: auto; }
.slots-edit { width: 100%; border-collapse: collapse; }
.slots-edit th { text-align: left; font-size: var(--text-sm); color: var(--color-text-2); font-weight: var(--weight-medium); padding: 0 var(--space-2) var(--space-1-5) 0; }
.slots-edit td { padding: var(--space-1) var(--space-2) var(--space-1) 0; vertical-align: top; }
.slots-edit td:first-child { min-width: 120px; }
.slots-edit .input { height: 32px; }
.dow { display: inline-flex; gap: var(--space-1); }
.dow button { width: 32px; height: 32px; padding: 0; border-radius: var(--radius-lg); border: 1px solid var(--color-border-strong); background: var(--color-surface); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); cursor: pointer; }
.dow button[aria-pressed="true"] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-surface); }
.dow button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.res-add-slot { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: var(--space-2); }
.unit-in { display: inline-flex; align-items: center; gap: var(--space-2); }
.unit-in .input { width: 84px; text-align: right; }
.unit-in span { font-size: var(--text-sm); color: var(--color-text-2); width: 78px; }
.rules-grid { display: flex; flex-direction: column; gap: var(--space-2-5); }
.rules-grid .row-rule { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.rules-grid .row-rule > label { font-size: var(--text-sm); }
.res-form-actions { margin-top: 0; }
@media (max-width: 1023px) { .res-grid, fieldset.area-form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .res-rule-head { flex-direction: column; } .res-facts { grid-template-columns: minmax(0, 1fr); } .res-actions { flex-direction: column; } }
.home-head { margin-bottom: var(--space-3); }
.home-panel { padding: var(--space-3) var(--space-4); }
.home-panel__head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-1); }
.home-panel__title { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: 28px; }
.home-panel__sub { font-size: var(--text-sm); color: var(--color-text-2); }
.home-panel__more { margin-left: auto; }
.home-panel__note { display: flex; gap: var(--space-1-5); align-items: center; margin: var(--space-2) 0 0; font-size: var(--text-xs); color: var(--color-text-muted); }
.ai-rows, .todo-rows { list-style: none; margin: 0; padding: 0; }
.ai-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2-5) 0; border-top: 1px solid var(--color-border); }
.ai-rows .ai-row:first-child, .todo-rows li:first-child { border-top: 0; }
.ai-row__body { flex: 1; min-width: 0; }
.ai-row__title { margin: 0; font-weight: var(--weight-semibold); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ai-row__title .chip { margin-right: var(--space-1-5); vertical-align: 1px; }
.ai-row__meta { margin: var(--space-0-5) 0 0; font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-row__actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-0-5); width: 150px; flex: none; }
.ai-row__actions .btn { width: 100%; justify-content: center; }
.ai-row__links { display: flex; justify-content: center; gap: var(--space-2); }
.ai-row__links form { margin: 0; }
.ai-row__later { background: none; border: 0; padding: var(--space-0-5); font: inherit; font-size: var(--text-xs); color: var(--color-text-2); cursor: pointer; }
.ai-row__later:hover { color: var(--color-text); text-decoration: underline; }
.todo-rows li { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.todo-rows__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.todo-rows__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.todo-rows__meta { font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-condos { margin-top: var(--space-2); }
@media (max-width: 767px) {
.ai-row { flex-wrap: wrap; row-gap: var(--space-1-5); }
.ai-row__actions { width: 100%; flex-direction: row; align-items: center; gap: var(--space-2); }
.ai-row__actions .btn { width: auto; }
.ai-row__links { justify-content: flex-start; }
}
.imp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-3); align-items: start; }
.imp-card { display: flex; flex-direction: column; gap: var(--space-2); }
.imp-card .card__title { margin: 0; }
.imp-card__foot { margin: 0; }
.imp-form { display: flex; flex-direction: column; gap: var(--space-3); }
.imp-form .field + .field { margin-top: 0; }
.imp-form__foot { display: flex; align-items: center; gap: var(--space-3); }
.imp-form__foot p { margin: 0; flex: 1; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-1-5); padding: var(--space-4); text-align: center; border: 2px dashed var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-surface-2); cursor: pointer; }
.drop:hover, .drop:focus-within { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.drop.is-invalid { border-color: var(--color-danger); }
.drop__icon { width: 44px; height: 44px; border-radius: var(--radius-lg); background: var(--color-primary-subtle); color: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop--compact { flex-direction: row; justify-content: flex-start; text-align: left; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-width: 1px; }
.drop--compact .drop__text { display: flex; flex-direction: column; min-width: 0; }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.hist li:first-child { border-top: 0; }
.hist a { min-width: 0; color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.hist a:hover strong { color: var(--color-primary); text-decoration: underline; }
.hist small { color: var(--color-text-2); font-size: var(--text-xs); }
.hist .chip { flex: none; }
.sumbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.sumbar__action { margin: 0 0 0 auto; }
.rec td { vertical-align: middle; }
.rec__day { width: 64px; }
.rec__amount { width: 116px; }
.rec__unit { width: 190px; }
.rec__acts { width: 190px; }
.rec__group th { background: var(--color-surface-2); color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-align: left; padding-top: var(--space-1-5); padding-bottom: var(--space-1-5); }
.rec__foot { margin-top: var(--space-2); }
.rec__group-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.rec__mark { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); color: var(--color-text-2); margin-right: var(--space-1-5); }
.bank-detail { font-family: var(--font-mono); font-size: var(--text-xs); overflow-wrap: anywhere; }
.bank-ref { display: block; font-size: var(--text-xs); color: var(--color-text-muted); }
.unitpick { display: flex; flex-direction: column; min-width: 0; }
.unitpick .truncate { max-width: 180px; }
.why { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.table details.why { font-size: inherit; color: var(--color-text); }
.acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-1-5); }
.acts form { margin: 0; }
.ignore-box { display: flex; gap: var(--space-1-5); margin-top: var(--space-1-5); }
.ignore-box .input { height: 32px; font-size: var(--text-xs); min-width: 0; flex: 1; }
.map-card { display: flex; flex-direction: column; gap: var(--space-3); }
.map-card .form__actions { margin: 0; }
.map-table th { background: var(--color-primary-subtle); vertical-align: top; min-width: 176px; }
.map-table__name { display: block; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); margin-bottom: var(--space-1); white-space: nowrap; }
.map-table th .select { width: 100%; height: 32px; font-size: var(--text-xs); }
.map-table th .select.is-set { border-color: var(--color-primary); font-weight: var(--weight-semibold); }
.map-table td { font-family: var(--font-mono); font-size: var(--text-xs); white-space: nowrap; }
.assign { display: flex; flex-direction: column; gap: var(--space-3); min-height: 100%; }
.assign .field + .field { margin-top: 0; }
.assign__tx { display: flex; flex-direction: column; gap: var(--space-0-5); margin: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-2); }
.assign__actions { position: sticky; bottom: calc(-1 * var(--space-4)); display: flex; gap: var(--space-2); margin-top: auto; padding: var(--space-3) 0 var(--space-4); background: var(--color-surface); border-top: 1px solid var(--color-border); }
.cand { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.cand__item { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; }
.cand__item:hover { border-color: var(--color-border-strong); }
.cand__item:has(input:checked) { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); background: var(--color-primary-subtle); }
.cand__item input { margin-top: 3px; accent-color: var(--color-primary); }
.cand__item small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.split { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-2); border-top: 1px dashed var(--color-border); }
.split__open { display: inline-flex; align-items: center; gap: var(--space-1-5); align-self: flex-start; }
.split__box { display: flex; flex-direction: column; gap: var(--space-2); }
.split__box p { margin: 0; }
.split__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; }
.split__sum output { font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.split__sum output.is-ok { color: var(--color-success-strong); }
.sample-box { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px dashed var(--color-border); }
.sample-box p { margin: 0; }
.rep td { vertical-align: middle; }
.rep__thumb { width: 56px; }
.rep__when { width: 120px; }
.rep__amount { width: 130px; }
.rep__acts { width: 170px; }
.proof-thumb { width: 40px; height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-0-5); overflow: hidden; color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); text-decoration: none; }
.proof-thumb img { width: 100%; height: 100%; object-fit: cover; }
.read { display: flex; flex-direction: column; gap: var(--space-0-5); font-size: var(--text-xs); }
.read b { font-size: var(--text-sm); }
.match-ok, .match-no { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.match-ok { color: var(--color-success-strong); }
.match-no { color: var(--color-danger-strong); }
.apply-box { margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); }
.apply-box p { margin: 0; }
.apply-list { list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); }
.apply-list li { display: flex; justify-content: space-between; gap: var(--space-3); padding: 5px 0; border-top: 1px solid var(--color-border); }
.apply-list li:first-child { border-top: 0; }
.apply-list .num { font-weight: var(--weight-semibold); }
.reject-box { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.reject-box p { margin: var(--space-1) 0 0; }
@media (max-width: 1023px) {
.imp-grid { grid-template-columns: minmax(0, 1fr); }
.rec__unit { width: 140px; }
}
@media (max-width: 767px) {
.imp-form__foot { flex-direction: column; align-items: stretch; }
.sumbar__action { margin-left: 0; width: 100%; }
.sumbar__action .btn { width: 100%; justify-content: center; }
}
.key-row { display: flex; gap: var(--space-2); align-items: center; min-width: 0; }
.key-row code { flex: 1; min-width: 0; padding: 7px var(--space-2-5); border-radius: var(--radius-md); background: var(--color-surface-2); border: 1px solid var(--color-border); font-size: var(--text-xs); overflow-wrap: anywhere; }
.key-row .btn { flex: none; }
.switch-check { display: inline-flex; align-items: center; gap: var(--space-2-5); cursor: pointer; }
.switch-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-check input:checked + .switch__track { background: var(--color-primary); }
.switch-check input:checked + .switch__track::after { left: 19px; }
.switch-check input:focus-visible + .switch__track { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.fee-row__in { display: flex; align-items: center; gap: var(--space-1-5); }
.fee-row__in .input { min-width: 0; }
.wt-split, .wt-set { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.wt-split { margin-top: var(--space-3); }
.wt-split > :only-child { grid-column: 1 / -1; }
.wt-card { display: flex; flex-direction: column; gap: var(--space-2-5); }
.wt-card .card__title { margin: 0; display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.wt-card .field + .field { margin-top: 0; }
.wt-card p { margin: 0; }
.wt-bill { display: flex; justify-content: space-between; gap: var(--space-3); align-items: flex-end; }
.wt-bill b { font-size: 24.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wt-kv { display: grid; grid-template-columns: 1fr auto; row-gap: var(--space-1-5); column-gap: var(--space-3); margin: 0; font-size: var(--text-sm); }
.wt-kv dt { color: var(--color-text-2); }
.wt-kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: var(--weight-semibold); white-space: nowrap; }
.wt-kv .wt-kv__tot { border-top: 1px solid var(--color-border); padding-top: var(--space-1-5); font-weight: var(--weight-bold); color: var(--color-text); }
.wt-change > summary { list-style: none; display: inline-flex; }
.wt-change > summary::-webkit-details-marker { display: none; }
.wt-change[open] > summary { margin-bottom: var(--space-2); }
.wt-change form, .wt-common-form { display: flex; flex-direction: column; gap: var(--space-2-5); }
.wt-invoices { display: flex; flex-direction: column; gap: var(--space-1-5); margin: 0; padding: 0; border: 0; }
.wt-invoices label { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-2) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); font-size: var(--text-sm); cursor: pointer; }
.wt-invoices label:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.wt-invoices label span { flex: 1; min-width: 0; }
.wt-invoices label b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wt-sec { display: flex; align-items: center; gap: var(--space-2); font-size: 14.5px; font-weight: var(--weight-semibold); margin: var(--space-4) 0 var(--space-2); }
.wt-thumb { width: 44px; height: 44px; border-radius: var(--radius-lg); object-fit: cover; display: block; background: var(--color-surface-2); border: 1px solid var(--color-border); }
.wt-rev td { vertical-align: middle; }
.wt-why { display: flex; flex-direction: column; gap: 3px; font-size: var(--text-xs); }
.wt-why .chip { align-self: flex-start; }
.wt-why .text-2 { font-size: var(--text-xs); }
.wt-actions { display: flex; flex-wrap: wrap; gap: var(--space-1-5); align-items: flex-start; }
.wt-fix > summary { list-style: none; display: inline-flex; }
.wt-fix > summary::-webkit-details-marker { display: none; }
.wt-fix__form { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-1-5); }
.wt-fix__form .input--sm { margin-left: 0; text-align: left; max-width: 130px; }
.wt-all { margin-top: var(--space-4); }
.wt-all > summary { cursor: pointer; font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.wt-closebar { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); padding: var(--space-3-5) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.wt-closebar p { margin: 0; font-size: var(--text-sm); flex: 1; min-width: 240px; }
.wt-closebar__go { margin-left: auto; }
.wt-person { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); font-size: var(--text-sm); }
.wt-person b { display: block; font-size: 13.5px; }
.wt-checks { display: flex; flex-direction: column; gap: var(--space-2); }
.wt-common { list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); }
.wt-common li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 7px 0; border-top: 1px solid var(--color-border); }
.wt-common li:first-child { border-top: 0; }
.wt-common li > span:first-child { flex: 1; min-width: 0; }
.wt-days { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); flex-wrap: wrap; }
.wt-days .input { width: 70px; }
.wt-days .select { width: 150px; }
.wt-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: end; }
.wt-sample { margin: var(--space-2) 0 0; font-weight: var(--weight-semibold); }
.wt-save { display: flex; justify-content: flex-end; margin-top: var(--space-3); }
.wt-month { width: auto; height: var(--control-h-sm); }
@media (max-width: 767px) {
.wt-split, .wt-set, .wt-row3 { grid-template-columns: minmax(0, 1fr); }
}
.eq-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.eq-stats .card p { margin: 0; }
.eq-stats .stat__value small { font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-medium); }
.eq-name { display: flex; flex-direction: column; gap: 1px; }
.eq-name small, .eq-next small { color: var(--color-text-2); font-size: var(--text-xs); }
.eq-next { display: flex; flex-direction: column; gap: 1px; font-size: var(--text-xs); }
.eq-next .chip { align-self: flex-start; }
.eq-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-3); align-items: start; }
.eq-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.eq-card { padding: var(--space-4) 18px; display: flex; flex-direction: column; gap: var(--space-2-5); }
.eq-card h2 { margin: 0; font-size: 14.5px; display: flex; gap: var(--space-2); align-items: center; }
.eq-card p { margin: 0; }
.eq-kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); row-gap: var(--space-1-5); column-gap: var(--space-3); margin: 0; font-size: var(--text-sm); }
.eq-kv dt { color: var(--color-text-2); }
.eq-kv dd { margin: 0; }
.eq-money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2-5); }
.eq-money div { border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-2) var(--space-3); }
.eq-money span { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.eq-money b { font-size: 18.5px; font-variant-numeric: tabular-nums; }
.eq-ai { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1-5); border: 1px solid var(--color-ai-border); background: linear-gradient(180deg, var(--color-ai-subtle), var(--color-surface)); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-3-5); font-size: var(--text-sm); }
.eq-ai p { margin: 0; }
.eq-plan { border-left: 3px solid var(--color-primary); background: var(--color-primary-subtle); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: var(--space-2-5) var(--space-3); font-size: var(--text-sm); display: flex; flex-direction: column; gap: var(--space-0-5); }
.eq-plan p { color: var(--color-text-2); }
.eq-plan--late { border-left-color: var(--color-danger); background: var(--color-danger-subtle); }
.eq-plan--none { border-left-color: var(--color-border-strong); background: var(--color-surface-2); }
.eq-plan form { margin-top: var(--space-1-5); }
.eq-docs { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.eq-doc { display: inline-flex; gap: var(--space-1-5); align-items: center; padding: var(--space-1-5) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); font-size: var(--text-xs); color: var(--color-text); text-decoration: none; max-width: 100%; }
.eq-doc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-thumbs { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.eq-thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--color-border); display: block; }
.eq-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.eq-notice { border: 1px solid var(--color-warning); background: var(--color-warning-subtle); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-3-5); margin-bottom: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.eq-notice h2 { margin: 0; font-size: 13.5px; display: flex; gap: var(--space-1-5); align-items: center; }
.eq-notice .row { display: flex; gap: var(--space-2); justify-content: flex-end; flex-wrap: wrap; }
.eq-prev { border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-2-5) var(--space-3); font-size: var(--text-sm); background: var(--color-surface-2); }
.eq-prev b { display: block; }
.eq-prev small { color: var(--color-text-2); display: block; }
.eq-check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); }
.eq-check input { margin-top: 3px; accent-color: var(--color-primary); }
.eq-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.eq-form .field + .field { margin-top: 0; }
.eq-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2-5); }
.eq-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--space-2-5); }
.eq-crit { display: flex; gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.eq-crit label { position: relative; flex: 1; border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-2) var(--space-2-5); font-size: var(--text-xs); display: flex; flex-direction: column; gap: var(--space-0-5); cursor: pointer; }
.eq-crit label:has(input:checked) { border: 2px solid var(--color-primary); padding: 7px 9px; }
.eq-crit input { position: absolute; opacity: 0; pointer-events: none; }
.eq-crit label:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.eq-crit b { font-size: var(--text-sm); }
.eq-crit span { color: var(--color-text-2); }
.eq-pm { display: flex; flex-direction: column; gap: var(--space-1-5); margin: 0; padding: 0; border: 0; }
.eq-pm label { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); cursor: pointer; }
.eq-pm input { margin-top: 3px; accent-color: var(--color-primary); }
.eq-every { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); flex-wrap: wrap; }
.eq-every .input { width: 76px; }
.eq-every .select { width: 130px; }
.eq-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3-5); }
.eq-label { border: 1px dashed var(--color-border-strong); border-radius: var(--radius-xl); padding: var(--space-3); display: flex; gap: var(--space-3); align-items: center; background: var(--color-paper); color: var(--color-text); min-width: 0; }
.eq-label svg { flex: none; }
.eq-label div { min-width: 0; }
.eq-label b { display: block; font-size: var(--text-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eq-label small { display: block; color: var(--color-text-muted); font-size: var(--text-xs); }
.eq-label .code { font: 700 11.5px var(--font-mono); margin-top: var(--space-1); }
@media (max-width: 1023px) {
.eq-split, .eq-form { grid-template-columns: minmax(0, 1fr); }
.eq-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
.eq-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eq-row2, .eq-row3, .eq-crit { grid-template-columns: minmax(0, 1fr); flex-direction: column; }
.eq-row2, .eq-row3 { display: flex; flex-direction: column; }
.eq-kv { grid-template-columns: 120px minmax(0, 1fr); }
.eq-labels { grid-template-columns: minmax(0, 1fr); }
}
.cal-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-2); }
.cal-nav { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.cal-nav__title { font-size: var(--text-lg); font-weight: var(--weight-semibold); margin: 0; min-width: 170px; text-align: center; }
.cal-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3-5); font-size: var(--text-xs); color: var(--color-text-2); }
.cal-legend li { display: inline-flex; align-items: center; gap: var(--space-1-5); }
.cal-dot { width: 10px; height: 10px; border-radius: var(--radius-sm); background: var(--cal-c); }
.cal { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); }
.cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__head { padding: var(--space-1-5) var(--space-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); background: var(--color-surface-2); border-bottom: 1px solid var(--color-border); }
.cal__day { min-height: 104px; padding: var(--space-1) 5px var(--space-1-5); border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal__day:last-child { border-right: 0; }
.cal__row:last-child .cal__day { border-bottom: 0; }
.cal__day--out { background: var(--color-surface-2); }
.cal__day--out .cal__num { color: var(--color-text-muted); }
.cal__top { display: flex; align-items: center; justify-content: space-between; min-height: 22px; }
.cal__num { font-size: var(--text-xs); font-weight: var(--weight-semibold); min-width: 22px; height: 22px; padding: 0 var(--space-1); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-full); }
.cal__day--today .cal__num { background: var(--color-primary); color: var(--color-text-inverse); }
.cal__add { border: 0; background: none; color: var(--color-text-2); width: 22px; height: 22px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity var(--dur-fast); }
.cal__day:hover .cal__add, .cal__add:focus-visible { opacity: 1; }
.cal__add:hover { background: var(--color-primary-subtle); color: var(--color-primary); }
.cal-item { display: flex; align-items: baseline; gap: var(--space-1); width: 100%; min-width: 0; padding: var(--space-0-5) var(--space-1-5); border: 0; border-left: 3px solid var(--cal-c); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--cal-c) 11%, var(--color-surface)); color: var(--color-text); font: inherit; font-size: var(--text-xs); line-height: 1.35; text-align: left; text-decoration: none; cursor: pointer; }
.cal-item:hover { background: color-mix(in srgb, var(--cal-c) 20%, var(--color-surface)); text-decoration: none; }
.cal-item__time { flex: none; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; color: var(--color-text-2); }
.cal-item__text { flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: break-word; }
.cal-item__text small { color: var(--color-text-2); font-size: inherit; }
.cal-item__pub { flex: none; color: var(--color-text-2); display: inline-flex; }
.cal-item--wide { font-size: var(--text-sm); padding: var(--space-1-5) var(--space-2); }
.cal-item--wide .cal-item__text { white-space: normal; }
.vc-tools { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-3); }
.vc-search { max-width: 360px; }
.vc-tabs { display: flex; gap: var(--space-1-5); flex-wrap: wrap; flex: 1 1 auto; }
.vc-tab { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-semibold); padding: 7px var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.vc-tab:hover { border-color: var(--color-primary); text-decoration: none; }
.vc-tab.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.vc-tab__n { font-size: var(--text-xs); font-weight: var(--weight-semibold); min-width: 20px; padding: 1px var(--space-1-5); border-radius: var(--radius-full); background: var(--color-surface-2); color: var(--color-text-2); text-align: center; }
.vc-tab.is-active .vc-tab__n { background: rgba(255, 255, 255, .22); color: inherit; }
.vc-tabs.is-searching .vc-tab.is-active { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.vc-tabs.is-searching .vc-tab.is-active .vc-tab__n { background: var(--color-surface-2); color: var(--color-text-2); }
.vc-group[hidden] { display: none; }
.vc-group:not([hidden]) { display: block; }
.vc-group { margin-bottom: var(--space-3); scroll-margin-top: 80px; }
.vc-group__title { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-lg); margin: 0 0 var(--space-3); }
.vc-count { font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--color-text-2); }
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--space-2); }
.vc-grid--small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: var(--space-2); }
.vc-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-2-5); align-items: center; padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); margin: 0; }
.vc-card:hover { border-color: var(--color-primary); }
.vc-card--small { grid-template-columns: minmax(0, 1fr) auto; padding: var(--space-1-5) var(--space-2-5); }
.vc-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary-subtle); color: var(--color-primary); font-weight: var(--weight-bold); display: inline-flex; align-items: center; justify-content: center; }
.vc-who { display: flex; flex-direction: column; gap: var(--space-0-5); min-width: 0; }
.vc-role { font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--color-text); overflow-wrap: break-word; }
.vc-role--none { font-style: italic; font-weight: var(--weight-semibold); color: var(--color-text-2); }
.vc-name { font-size: var(--text-sm); color: var(--color-text-2); overflow-wrap: break-word; }
.vc-name--lead { font-weight: var(--weight-semibold); color: var(--color-text); }
.vc-who small { font-size: var(--text-xs); color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-residents { margin-top: var(--space-3); }
.vc-sub { display: flex; gap: 0; border-bottom: 2px solid var(--color-border); margin: 0 0 var(--space-3); }
.vc-sub__tab { display: inline-flex; align-items: center; gap: var(--space-1-5); font: inherit; font-size: var(--text-base); font-weight: var(--weight-semibold); padding: var(--space-2) var(--space-3-5); margin-bottom: -2px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--color-text-2); cursor: pointer; }
.vc-sub__tab:hover { color: var(--color-text); }
.vc-sub__tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.vc-group.is-searching .vc-sub { display: none; }
.vc-pane[hidden] { display: none; }
.vc-residents summary { cursor: pointer; font-size: var(--text-sm); font-weight: var(--weight-semibold); display: inline-flex; align-items: center; gap: var(--space-1-5); color: var(--color-text-2); }
@media (max-width: 640px) { .vc-grid { grid-template-columns: 1fr; } .vc-search { max-width: none; } }
.cal-views { margin: 0 0 0 var(--space-2); flex-wrap: nowrap; }
.cal-views a { display: inline-flex; align-items: center; height: 32px; padding: 0 var(--space-3); font-size: var(--text-sm); color: var(--color-text); background: var(--color-surface); border-right: 1px solid var(--color-border); text-decoration: none; }
.cal-views a:last-child { border-right: 0; }
.cal-views a:hover { background: var(--color-surface-2); text-decoration: none; }
.cal-views a.is-on { background: var(--color-primary); color: var(--color-text-inverse); }
.cal-nav__title--week { min-width: 250px; }
.cal--week .cal__head { display: flex; align-items: baseline; gap: var(--space-1-5); }
.cal--week .cal__head b { font-size: 15px; color: var(--color-text); }
.cal--week .cal__head--today { color: var(--color-primary); }
.cal--week .cal__head--today b { color: var(--color-text-inverse); background: var(--color-primary); border-radius: var(--radius-full); min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-sm); }
.cal__day--week { min-height: 420px; gap: 5px; padding: var(--space-1-5); }
.cal__day--week.cal__day--today { background: color-mix(in srgb, var(--color-primary) 4%, var(--color-surface)); }
.cal__day--week .cal__top { justify-content: flex-end; min-height: 0; }
.cal__empty { font-size: var(--text-xs); color: var(--color-text-muted); padding: var(--space-0-5) var(--space-1); }
.cal-item--week { flex-direction: column; align-items: stretch; gap: 1px; padding: 5px 7px; }
.cal-item--week .cal-item__text { display: block; overflow: visible; -webkit-line-clamp: unset; }
.cal-item--week .cal-item__kind { display: block; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.cal-more { border: 0; background: none; padding: 0 var(--space-1-5); font: inherit; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-primary); text-align: left; cursor: pointer; }
.cal-day-list { display: flex; flex-direction: column; gap: var(--space-1-5); margin-top: var(--space-3); }
.cal-form-row { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: var(--space-2); margin-top: var(--space-3); }
.cal-list { display: none; }
.cal__day[data-day-url] { cursor: default; -webkit-user-select: none; user-select: none; }
a.cal__num { color: inherit; text-decoration: none; }
a.cal__num:hover { background: var(--color-primary-subtle); color: var(--color-primary); text-decoration: none; }
.cal__day--today a.cal__num:hover { background: var(--color-primary); color: var(--color-text-inverse); }
.cal__open { display: inline-flex; align-items: baseline; gap: var(--space-1-5); color: inherit; text-decoration: none; }
.cal__open:hover { color: var(--color-primary); text-decoration: none; }
.cal-tip { display: flex; align-items: center; gap: var(--space-1-5); margin: var(--space-2) 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.cal-open { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); padding: var(--space-3); }
.cal-open--today { border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border)); }
.cal-detail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.cal-detail__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: var(--space-3); align-items: start; padding: var(--space-2-5) var(--space-3); border-left: 4px solid var(--cal-c); border-radius: var(--radius-md); background: color-mix(in srgb, var(--cal-c) 7%, var(--color-surface)); }
.cal-detail__time { font-weight: var(--weight-semibold); font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--color-text-2); padding-top: 1px; }
.cal-detail__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-detail__kind { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.cal-detail__title { font-size: 15px; overflow-wrap: break-word; }
.cal-detail__note { font-size: var(--text-sm); color: var(--color-text); white-space: pre-line; }
.cal-detail__pub { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-xs); color: var(--color-text-2); }
.cal-detail__go { align-self: center; }
.cal-open__add { margin-top: var(--space-3); }
@media (max-width: 767px) {
.cal-detail__row { grid-template-columns: minmax(0, 1fr) auto; }
.cal-detail__time { grid-column: 1 / -1; padding: 0; }
.cal-tip { display: none; }
}
.cal-dot--gobierno, .cal-item--gobierno { --cal-c: #7C3AED; }
.cal-dot--mantenimiento, .cal-item--mantenimiento { --cal-c: var(--color-warning); }
.cal-dot--obras, .cal-item--obras { --cal-c: #0D9488; }
.cal-dot--vence, .cal-item--vence { --cal-c: var(--color-danger); }
.cal-dot--residentes, .cal-item--residentes { --cal-c: var(--color-success); }
.cal-dot--agenda, .cal-item--agenda { --cal-c: var(--color-primary); }
@media (max-width: 767px) {
.cal { display: none; }
.cal-list { display: flex; flex-direction: column; gap: var(--space-3); }
.cal-list__day { display: flex; flex-direction: column; gap: var(--space-1-5); }
.cal-list__date { font-size: var(--text-base); font-weight: var(--weight-semibold); margin: 0; }
.cal-list__day--today .cal-list__date { color: var(--color-primary); }
.cal-nav__title { min-width: 0; }
.cal-form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cal-form-row .field:first-child { grid-column: 1 / -1; }
}
.pay-table th, .pay-table td { padding-left: var(--space-2); padding-right: var(--space-2); }
.pay-num { width: 58px; text-align: right; }
.pay-hours { display: grid; grid-template-columns: repeat(2, auto); gap: var(--space-1) var(--space-1-5); justify-content: end; }
.pay-hours label { display: flex; flex-direction: column; align-items: flex-end; font-size: var(--text-sm); color: var(--color-text-2); }
.pay-ded { display: flex; flex-direction: column; gap: var(--space-1); align-items: flex-end; }
.pay-ded .input:not(.pay-num) { width: 120px; }
.pl-steps-col { width: 220px; }
.pl-steps { list-style: none; display: flex; gap: 3px; margin: 0 0 5px; padding: 0; }
.pl-step { width: 26px; height: 6px; border-radius: var(--radius-sm); background: var(--color-border); }
.pl-step--done { background: var(--color-success); }
.pl-step--now { background: var(--color-warning-strong); }
.pl-off td { color: var(--color-text-2); }
.pl-legend { margin-top: var(--space-2); }
.pl-table .show-sm { display: none; }
@media (max-width: 767px) { .pl-table .show-sm { display: inline; } .pl-steps-col { width: auto; } }
.rate { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-2-5) var(--space-3-5); margin: var(--space-3) 0 0; display: flex; flex-direction: column; gap: var(--space-1); }
.rate__title { font-weight: var(--weight-semibold); font-size: 13.5px; padding: 0 var(--space-1); }
.rate__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.rate__label { font-size: var(--text-sm); }
.stars { display: inline-flex; flex-direction: row-reverse; gap: var(--space-0-5); }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 24px; line-height: 1; color: var(--color-border-strong); cursor: pointer; padding: 0 1px; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--color-rating); }
.stars input:focus-visible + label { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.score { display: inline-flex; align-items: baseline; gap: var(--space-1-5); white-space: nowrap; }
.score__stars { color: var(--color-rating); letter-spacing: 1px; }
.score__stars .off { color: var(--color-border-strong); }
.score__n { font-size: var(--text-xs); color: var(--color-text-2); }
.card__title .score { font-size: var(--text-sm); font-weight: var(--weight-medium); margin-left: var(--space-2); }
.rate-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); font-size: var(--text-sm); }
.rate-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-3); border-top: 1px solid var(--color-border); padding-top: var(--space-1-5); }
.rate-list__note { flex-basis: 100%; }
.ex-modes { border: 0; padding: 0; margin: var(--space-3) 0 0; display: flex; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-sm); }
.ex-modes label { display: inline-flex; gap: var(--space-1-5); align-items: center; }
.ex-refs { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.sp-check { padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1-5); }
.sp-check h2 { margin: 0; font-size: var(--text-base); display: flex; gap: var(--space-2); align-items: center; }
.sp-check p { margin: 0; }
.sp-check--missing { border-color: var(--color-warning); }
.sp-check__list { margin: 0; padding-left: 18px; font-size: var(--text-sm); display: flex; flex-direction: column; gap: var(--space-0-5); }
.ob-bar { display: inline-block; vertical-align: middle; width: 120px; height: 8px; border-radius: var(--radius-full); background: var(--color-surface-2); border: 1px solid var(--color-border); overflow: hidden; }
.ob-bar__fill { display: block; height: 100%; background: var(--color-primary); border-radius: var(--radius-full); }
.ob-bar__fill--done { background: var(--color-success); }
.ob-bar--big { width: auto; flex: 1; min-width: 0; height: 12px; }
.ob-pct { font-size: var(--text-xs); margin-left: var(--space-2); color: var(--color-text-2); }
.ob-of { color: var(--color-text-2); font-size: var(--text-xs); }
.ob-total { display: flex; align-items: center; gap: var(--space-3-5); }
.ob-total b { font-size: 26px; line-height: 1; white-space: nowrap; }
.ob-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.ob-stages li { display: grid; grid-template-columns: minmax(0, 1fr) 140px 44px; gap: var(--space-2-5); align-items: center; font-size: var(--text-sm); }
.ob-stages .ob-bar { width: 100%; }
.ob-stages .ob-pct { margin: 0; text-align: right; }
.ob-stages__name small { color: var(--color-text-2); font-size: var(--text-xs); margin-left: var(--space-1); }
.ob-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ob-history li { border-left: 2px solid var(--color-border); padding: 0 0 var(--space-3) var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
.ob-history li:last-child { padding-bottom: 0; }
.ob-history__head { display: flex; gap: var(--space-2); align-items: baseline; flex-wrap: wrap; }
.ob-history__head small { color: var(--color-text-2); font-size: var(--text-xs); }
.ob-photo-group h3 { margin: 0 0 var(--space-1-5); font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-semibold); }
.ob-invoices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
.ob-invoices li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-2); align-items: center; }
.ob-link { display: flex; gap: var(--space-2); align-items: center; }
.ob-link .select { flex: 1; min-width: 0; }
.ob-stage-edit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.ob-stage-row { display: grid; gap: var(--space-2); align-items: center; }
.ob-weight { display: flex; align-items: center; gap: var(--space-1); }
.ob-weight .input { width: 64px; text-align: right; }
.ob-stage-foot { display: flex; justify-content: space-between; align-items: center; }
.ob-stage-error { margin: 0; color: var(--color-danger); font-size: var(--text-sm); }
.ob-submit { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: var(--space-2); }
.ob-app-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.ob-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-3); }
.ob-compare figure { margin: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.ob-compare img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); display: block; border: 1px solid var(--color-border); }
.ob-compare figcaption { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.ob-app-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); display: block; border: 1px solid var(--color-border); }
@media (max-width: 767px) {
.ob-stages li { grid-template-columns: minmax(0, 1fr) 90px 40px; }
.ob-bar:not(.ob-bar--big) { width: 80px; }
}
.bg-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.bg-stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bg-stats .card p { margin: 0; }
.bg-stats .stat__value small { font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-medium); }
.bg-bar { position: relative; height: 8px; border-radius: var(--radius-full); background: var(--color-neutral-100); overflow: hidden; flex: 1; min-width: 90px; }
.bg-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: var(--radius-full); background: var(--color-primary); }
.bg-bar i.warn { background: var(--color-warning); }
.bg-bar i.over { background: var(--color-danger); }
.bg-pct { display: flex; align-items: center; gap: var(--space-2); font-variant-numeric: tabular-nums; font-size: var(--text-xs); }
.bg-pct span { width: 44px; text-align: right; }
.bg-total > td { border-top: 2px solid var(--color-border-strong); font-weight: var(--weight-bold); }
.bg-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-3); align-items: start; }
.bg-side { display: flex; flex-direction: column; gap: var(--space-3); position: sticky; top: 72px; }
.bg-card { padding: var(--space-4) 18px; display: flex; flex-direction: column; gap: var(--space-2-5); }
.bg-card h2 { margin: 0; font-size: 14.5px; }
.bg-card p { margin: 0; }
.bg-sum { display: grid; grid-template-columns: 1fr auto; row-gap: var(--space-1-5); column-gap: var(--space-3); margin: 0; font-size: var(--text-sm); }
.bg-sum dt { color: var(--color-text-2); }
.bg-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: var(--weight-semibold); }
.bg-sum .tot { border-top: 1px solid var(--color-border); padding-top: var(--space-1-5); color: var(--color-text); }
.bg-fee { border-radius: var(--radius-xl); background: var(--color-primary-subtle); padding: var(--space-3) var(--space-3-5); }
.bg-fee > span { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.bg-fee b { font-size: 24.5px; font-variant-numeric: tabular-nums; }
.bg-fee p { margin: var(--space-1) 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.bg-sec td { background: var(--color-surface-2); font-weight: var(--weight-semibold); font-size: var(--text-xs); color: var(--color-text-2); }
.bg-in { width: 130px; text-align: right; height: 32px; margin-left: auto; }
.bg-in-pct { width: 70px; text-align: right; height: 32px; margin-left: auto; }
.bg-tools { display: flex; gap: var(--space-2-5); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-2); font-size: var(--text-sm); }
.bg-tools .input { width: 76px; height: 34px; }
.bg-months th, .bg-months td { font-size: var(--text-xs); padding-left: var(--space-1-5); padding-right: var(--space-1-5); text-align: right; font-variant-numeric: tabular-nums; }
.bg-months td:first-child, .bg-months th:first-child { text-align: left; }
.bg-months .over { color: var(--color-danger); font-weight: var(--weight-semibold); }
.bg-change { border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-2-5) var(--space-3); font-size: var(--text-sm); background: var(--color-surface-2); }
.bg-prop { display: inline-flex; gap: var(--space-1); align-items: center; font-size: var(--text-xs); color: var(--color-ai); margin-top: var(--space-0-5); }
.bg-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2-5); align-items: start; }
.bg-row2 .field + .field { margin-top: 0; }
.bg-actions { display: flex; flex-direction: column; gap: var(--space-2); }
@media (max-width: 1023px) { .bg-split { grid-template-columns: minmax(0, 1fr); } .bg-side { position: static; } }
@media (max-width: 767px) { .bg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bg-row2 { grid-template-columns: minmax(0, 1fr); } }
.in-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.in-stats .card p { margin: 0; }
.in-stats .stat__value small { font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-medium); }
.in-name { display: flex; flex-direction: column; gap: 1px; }
.in-name small { color: var(--color-text-2); font-size: var(--text-xs); }
.in-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.in-card { padding: var(--space-4) 18px; display: flex; flex-direction: column; gap: var(--space-2-5); }
.in-card h2 { margin: 0; font-size: 14.5px; }
.in-card p { margin: 0; }
.in-fd { display: grid; gap: var(--space-3); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.in-fd:first-of-type { border-top: 0; padding-top: 0; }
.in-fd img, .in-fd .ph { border-radius: var(--radius-lg); object-fit: cover; display: block; background: var(--color-surface-2); border: 1px solid var(--color-border); }
.in-fd b { display: flex; gap: var(--space-1-5); align-items: center; flex-wrap: wrap; font-size: var(--text-sm); }
.in-fd p { margin: var(--space-0-5) 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.in-fd .acts { display: flex; gap: var(--space-1-5); }
.in-pt { display: grid; grid-template-columns: minmax(0, 1fr) 124px 120px 60px 60px 136px 58px 32px; gap: var(--space-1-5); align-items: center; padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.in-pt__cell { display: flex; min-width: 0; }
.in-pt__cell > * { flex: 1; min-width: 0; }
.in-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2-5) var(--space-3-5); align-items: start; }
@media (max-width: 900px) {
.in-grid3 { grid-template-columns: minmax(0, 1fr); }
.in-pt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.in-pt > input.input:not([type=hidden]) { grid-column: 1 / -1; }
.in-pt__head { display: none; }
}
.in-pt:first-of-type { border-top: 0; }
.in-pt .input, .in-pt .select { height: 32px; }
.in-pt label { display: inline-flex; gap: var(--space-1); align-items: center; font-size: var(--text-xs); white-space: nowrap; }
.in-pt__head { font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-semibold); border-top: 0; padding-bottom: 0; }
.in-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2-5); }
.in-row2 .field + .field, .in-card .field + .field { margin-top: 0; }
.in-link { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.in-link input { flex: 1; min-width: 200px; }
@media (max-width: 1023px) { .in-split { grid-template-columns: minmax(0, 1fr); } .in-pt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .in-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .in-fd { grid-template-columns: 72px 1fr; } .in-fd img, .in-fd .ph { width: 72px; height: 54px; } .in-fd .acts { grid-column: 1 / -1; flex-direction: row; } }
.iv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.iv-stats .card p { margin: 0; }
.iv-stats .stat__value small { font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-medium); }
.iv-name { display: flex; flex-direction: column; gap: 1px; }
.iv-name small { color: var(--color-text-2); font-size: var(--text-xs); }
.iv-low { color: var(--color-danger); font-weight: var(--weight-semibold); }
.iv-plus { color: var(--color-success-strong); }
.iv-minus { color: var(--color-danger); }
.iv-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-3); align-items: start; }
.iv-card { padding: var(--space-4) 18px; display: flex; flex-direction: column; gap: var(--space-2-5); }
.iv-card h2 { margin: 0; font-size: 14.5px; }
.iv-card p { margin: 0; }
.iv-card .field + .field { margin-top: 0; }
.iv-kv { display: grid; grid-template-columns: 1fr auto; row-gap: var(--space-1-5); column-gap: var(--space-3); margin: 0; font-size: var(--text-sm); }
.iv-kv dt { color: var(--color-text-2); }
.iv-kv dd { margin: 0; text-align: right; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.iv-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2-5); align-items: start; }
.iv-row2 .field + .field { margin-top: 0; }
.iv-add { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: var(--space-2); align-items: end; }
.iv-add .field + .field { margin-top: 0; }
@media (max-width: 1023px) { .iv-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .iv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .iv-row2, .iv-add { grid-template-columns: minmax(0, 1fr); } }
.tb-filters { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-3); }
.tb-filters .select { width: auto; height: 34px; }
.tb-filters .text-2 { font-size: var(--text-xs); }
.tb-ai { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-3); }
.tb-ai ul { margin: var(--space-1) 0 0; padding-left: 18px; font-size: var(--text-sm); display: flex; flex-direction: column; gap: 3px; }
.tb-ai a { font-size: var(--text-xs); white-space: nowrap; }
.tb-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.tb-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-tile { padding: var(--space-3) var(--space-3-5); display: flex; flex-direction: column; gap: var(--space-0-5); }
.tb-tile .lbl { font-size: var(--text-xs); color: var(--color-text-2); display: flex; justify-content: space-between; gap: var(--space-1-5); }
.tb-tile .lbl a { color: var(--color-text-muted); display: inline-flex; }
.tb-tile .val { font-size: var(--text-2xl); font-weight: var(--weight-semibold); line-height: 30px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-tile .val small { font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-2); }
.tb-tile .tb-dl { font-size: var(--text-xs); color: var(--color-text-2); }
.tb-tile .tb-dl b.bad { color: var(--color-danger-strong); }
.tb-tile .tb-dl b.good { color: var(--color-success-strong); }
.tb-sec { margin-top: var(--space-4); }
.ceo-tile { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ceo-tile:hover, .ceo-tile:focus-visible { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.ceo-tile--bad { color: var(--color-danger-strong); }
.ceo-tile--good { color: var(--color-success-strong); }
.ceo-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ceo-people a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: 7px 0; border-bottom: 1px solid var(--color-border); color: inherit; text-decoration: none; }
.ceo-people li:last-child a { border-bottom: 0; }
.ceo-score { font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.tb-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-2); flex-wrap: wrap; }
.tb-sec__head h2 { margin: 0; font-size: 15.5px; }
.tb-sec__head a { font-size: var(--text-xs); display: inline-flex; gap: var(--space-1); align-items: center; }
.tb-2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--space-3); }
.tb-2--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tb-card { padding: var(--space-3-5) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.tb-card h3 { margin: 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.tb-card p.sub { margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.tb-card details summary { font-size: var(--text-xs); color: var(--color-text-2); cursor: pointer; }
.tb-card details table { margin-top: var(--space-1-5); font-size: var(--text-xs); }
.tb-age { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-xs); }
.tb-age div { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px; gap: var(--space-2); align-items: center; }
.tb-age i { display: block; height: 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; min-width: 2px; }
.tb-age span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tb-meter { display: grid; grid-template-columns: 170px minmax(0, 1fr) 52px; gap: var(--space-2); align-items: center; font-size: var(--text-xs); }
.tb-meter .bar { height: 8px; border-radius: var(--radius-full); background: #E8F0FF; overflow: hidden; }
.tb-meter .bar i { display: block; height: 100%; border-radius: var(--radius-full); background: var(--color-primary); }
.tb-meter .bar i.warn { background: var(--color-warning); }
.tb-meter .bar i.over { background: var(--color-danger); }
.tb-meter span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tb-def { font-size: var(--text-xs); color: var(--color-text-2); border-left: 3px solid var(--color-border-strong); padding: var(--space-0-5) 0 var(--space-0-5) var(--space-2-5); margin: 0; }
.tb-chart .tb-pt .dot { opacity: 0; transition: opacity .12s; }
.tb-chart .tb-pt.is-last .dot, .tb-chart .tb-pt:hover .dot, .tb-chart .tb-pt:focus .dot { opacity: 1; }
.tb-chart .tb-pt { outline: none; cursor: default; }
.tb-status { display: inline-flex; gap: var(--space-1); align-items: center; }
.tb-table th { height: auto; padding-top: var(--space-1-5); padding-bottom: var(--space-1-5); vertical-align: bottom; }
.tb-table th.num-col { white-space: normal; line-height: 1.25; }
.tb-sort { color: inherit; text-decoration: none; display: inline-block; min-height: 24px; }
.tb-sort:hover, .tb-sort.is-on { color: var(--color-primary); text-decoration: underline; }
.tb-attention { margin: 0 0 var(--space-2); }
.approve-pair { display: inline-flex; align-items: center; gap: var(--space-2); margin-left: auto; flex-wrap: wrap; }
.approve-pair > .btn { min-width: 108px; justify-content: center; }
.approve-pair--full { display: flex; margin: var(--space-2) 0 0; }
.approve-pair--full > .btn { flex: 1 1 0; }
@media (max-width: 599px) { .approve-pair > .btn { min-height: 44px; } }
.cfg-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.cfg-rule { padding: var(--space-3) var(--space-4); }
.cfg-rule__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cfg-rule__title { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.cfg-rule__value { margin: var(--space-0-5) 0 0; color: var(--color-text-2); font-size: var(--text-sm); }
.cfg-rule__head > .btn { flex: none; }
.cfg-rule__apply { margin-top: var(--space-2); font-size: var(--text-sm); }
.cfg-rule__apply > summary { cursor: pointer; color: var(--color-primary); min-height: 32px; display: inline-flex; align-items: center; }
.cfg-rule__form { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }
.cfg-rule__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-1) var(--space-3); margin: 0; padding: 0; border: 0; }
.cfg-rule__form > .btn { align-self: flex-start; }
@media (max-width: 599px) { .cfg-rule__head > .btn, .cfg-rule__form > .btn { min-height: 44px; } .cfg-rule__apply > summary { min-height: 44px; } }
.tb-defs { display: flex; flex-direction: column; gap: var(--space-3); }
.tb-defs .card { padding: var(--space-3-5) var(--space-4); }
.tb-defs h2 { margin: 0 0 var(--space-1); font-size: 13.5px; }
.tb-defs dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: var(--space-1) var(--space-3); margin: 0; font-size: var(--text-xs); }
.tb-defs dt { color: var(--color-text-2); }
.tb-defs dd { margin: 0; }
@media (max-width: 1100px) { .tb-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tb-kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tb-2, .tb-2--even { grid-template-columns: minmax(0, 1fr); } .tb-kpis, .tb-kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); } .tb-tile { padding: var(--space-2-5) var(--space-3); } .tb-tile .val { font-size: var(--text-xl); line-height: 26px; } .tb-tile .val small { display: block; line-height: 16px; } .tb-meter { grid-template-columns: 110px minmax(0, 1fr) 44px; } .tb-age div { grid-template-columns: 84px minmax(0, 1fr) 90px; } }
.sidebar__link.is-locked { color: rgba(255, 255, 255, .45); }
.sidebar__link .lock { margin-left: auto; opacity: .7; display: inline-flex; }
.pl-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.pl-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: var(--space-3); align-items: start; }
.pl-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.pl-card { padding: var(--space-3-5) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.pl-card h3 { margin: 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.pl-card h3 a, .pl-card h3 button { font-size: var(--text-xs); font-weight: var(--weight-medium); }
.pl-card .table-wrap { border: 0; }
.pl-condo form { margin: 0; }
.pl-condo__go { display: inline-flex; align-items: center; gap: var(--space-1); width: 100%; padding: 0; border: 0; background: none; font: inherit; font-weight: var(--weight-semibold); color: var(--color-primary); text-align: left; cursor: pointer; }
.pl-condo__go:hover { text-decoration: underline; }
.pl-condo:hover td { background: var(--color-surface-2); }
.pl-dl { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 5px var(--space-2-5); margin: 0; font-size: var(--text-xs); }
.pl-dl dt { color: var(--color-text-2); }
.pl-dl dd { margin: 0; overflow-wrap: break-word; }
.pl-time { display: flex; flex-direction: column; gap: var(--space-1-5); font-size: var(--text-xs); }
.pl-time div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: var(--space-2); }
.pl-time span:first-child { color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.pl-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.pl-plan { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2-5); }
.pl-plan.is-mine { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.pl-plan.is-recommended:not(.is-mine) { border-color: var(--color-success); box-shadow: 0 0 0 1px var(--color-success); }
.pl-plan h3 .chip + .chip { margin-left: auto; }
.pl-loses { background: color-mix(in srgb, var(--color-warning) 10%, var(--color-surface)); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-2-5); font-size: var(--text-xs); display: flex; flex-direction: column; gap: var(--space-1); }
.pl-loses ul { font-size: var(--text-xs); }
.pl-loses li { color: var(--color-text); }
.pl-loses small { color: var(--color-text-2); }
.pl-annual form { margin: 0; }
.pl-plan h3 { margin: 0; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.pl-price { font-size: 24.5px; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
.pl-price small { font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-2); }
.pl-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: var(--text-xs); }
.pl-plan li { display: flex; gap: var(--space-1-5); align-items: flex-start; }
.pl-plan li svg { flex: none; margin-top: var(--space-0-5); color: var(--color-success); }
.pl-plan li.plus { font-weight: var(--weight-semibold); }
.pl-plan .meta { font-size: var(--text-xs); color: var(--color-text-2); }
.pl-plan form, .pl-plan .actions { margin-top: auto; display: flex; gap: var(--space-2); }
.pl-plan form .btn { width: 100%; }
.pl-matrix td.ok, .pl-matrix th.c { text-align: center; }
.pl-matrix td.ok svg { color: var(--color-success); }
.pl-att { display: flex; flex-direction: column; gap: var(--space-1-5); font-size: var(--text-sm); }
.pl-att div { display: flex; gap: var(--space-2); align-items: flex-start; }
.pl-att svg { flex: none; margin-top: 3px; }
.pl-locked { max-width: 640px; margin: var(--space-10) auto; padding: 28px; text-align: center; display: flex; flex-direction: column; gap: var(--space-3); align-items: center; }
.pl-locked .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--color-primary-subtle); color: var(--color-primary); display: grid; place-items: center; }
.pl-locked ul { text-align: left; margin: 0; font-size: var(--text-sm); }
.pl-nowrap { white-space: nowrap; }
.pl-form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2-5); }
.pl-form2 .field { margin: 0; }
@media (max-width: 1100px) { .pl-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .pl-kpis, .pl-kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pl-plans, .pl-form2 { grid-template-columns: minmax(0, 1fr); } }
.bk-row { border: 1px solid var(--color-border); border-left: 4px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-0-5); }
.bk-row--ok { border-left-color: var(--color-success); }
.bk-row--warning { border-left-color: var(--color-warning); }
.bk-row--danger { border-left-color: var(--color-danger); }
.bk-row__title { display: flex; align-items: center; gap: var(--space-1-5); font-weight: var(--weight-semibold); margin: 0 0 var(--space-0-5); }
.bk-row--ok .bk-row__title { color: var(--color-success-strong); }
.bk-row--warning .bk-row__title { color: var(--color-warning-strong); }
.bk-row--danger .bk-row__title { color: var(--color-danger-strong); }
.bk-key { border: 1px solid var(--color-warning); background: var(--color-warning-subtle); border-radius: var(--radius-md); padding: var(--space-3); margin-bottom: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1-5); }
.bk-key__title { display: flex; align-items: center; gap: var(--space-1-5); font-weight: var(--weight-bold); margin: 0; color: var(--color-warning-strong); }
.bk-key__row { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.bk-key__value { font-size: 13.5px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-1-5) var(--space-2-5); word-break: break-all; }
.bk-connect { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-3); }
.nm-pick { display: flex; align-items: center; gap: var(--space-2); flex-wrap: nowrap; }
.nm-pick .field__label { margin: 0; white-space: nowrap; }
.nm-pick .select { width: auto; min-width: 220px; }
.nm-note { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-2); margin: 0 0 var(--space-3); }
.nm-note svg { flex: none; margin-top: var(--space-0-5); color: var(--color-primary); }
.nm-code { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: var(--weight-semibold); white-space: nowrap; }
.nm-code--soft { font-weight: var(--weight-medium); }
.nm-list__next { width: 220px; }
.nm-list__last { width: 280px; }
.nm-group th { background: var(--color-surface-2); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-text-2); text-align: left; }
.nm-doc { display: flex; flex-direction: column; gap: 1px; }
.nm-doc a { font-weight: var(--weight-medium); color: var(--color-text); text-decoration: none; }
.nm-doc a:hover { text-decoration: underline; }
.nm-doc small { color: var(--color-text-2); font-size: var(--text-xs); }
.nm-soon { padding: var(--space-3) var(--space-4); margin-top: var(--space-3); }
.nm-soon h2 { font-size: var(--text-sm); margin: 0 0 var(--space-1); }
.nm-soon p { margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.nm-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-3); align-items: start; margin-bottom: var(--space-3); }
.nm-card { padding: var(--space-4) 18px; display: flex; flex-direction: column; gap: var(--space-3); }
.nm-card__title { margin: 0; font-size: 14.5px; }
.nm-format { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-6); align-items: start; }
.nm-format__fields { display: flex; flex-direction: column; gap: var(--space-3); }
.nm-fields { display: grid; grid-template-columns: 160px 120px; gap: var(--space-3); align-items: start; }
.nm-fields .field + .field { margin-top: 0; }
.check.nm-check { align-items: flex-start; }
.nm-check input { margin-top: 3px; }
.nm-check small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.nm-preview { padding: var(--space-3-5) var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.nm-preview p { margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.nm-big { font-family: var(--font-mono); font-size: 18.5px; line-height: 28px; font-weight: var(--weight-bold); color: var(--color-text); overflow-wrap: anywhere; }
.nm-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-xs); }
.nm-hist li { display: flex; flex-direction: column; gap: 1px; }
.nm-hist small { color: var(--color-text-2); }
.nm-table { border: 0; }
.nm-table__next { width: 200px; }
.nm-next { width: 120px; text-align: right; font-variant-numeric: tabular-nums; }
.nm-actions { display: flex; gap: var(--space-2); align-items: center; margin-top: var(--space-3); flex-wrap: wrap; }
.nm-actions p { margin: 0 0 0 var(--space-2); font-size: var(--text-xs); color: var(--color-text-2); }
@media (max-width: 960px) {
.nm-split, .nm-format { grid-template-columns: minmax(0, 1fr); }
.nm-list__next, .nm-list__last { width: auto; }
}
.rl-note { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); color: var(--color-text-2); margin: 0 0 var(--space-3); }
.rl-note svg { flex: none; margin-top: var(--space-0-5); color: var(--color-primary); }
.rl-group th { background: var(--color-surface-2); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-text-2); text-align: left; }
.rl-table .rl-list__people { width: 90px; }
.rl-table .rl-list__caps { width: 330px; }
.rl-table .rl-list__by { width: 210px; }
.rl-table .cell--actions .row { flex-wrap: nowrap; }
.rl-name { display: flex; flex-direction: column; gap: 1px; }
.rl-name a, .rl-name__title { font-weight: var(--weight-medium); color: var(--color-text); text-decoration: none; }
.rl-name a:hover { text-decoration: underline; }
.rl-name small, .rl-sub { color: var(--color-text-2); font-size: var(--text-xs); }
.rl-tag { display: inline-block; font-size: var(--text-xs); font-weight: var(--weight-semibold); padding: 1px 7px; border-radius: var(--radius-full); background: var(--color-surface-2); color: var(--color-text-2); border: 1px solid var(--color-border); margin-left: var(--space-1-5); vertical-align: 1px; }
.rl-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-3); align-items: start; }
.rl-split--person { grid-template-columns: minmax(0, 1fr) 380px; }
.rl-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rl-side { display: flex; flex-direction: column; gap: var(--space-3); }
.rl-card { padding: var(--space-4) 18px; display: flex; flex-direction: column; gap: var(--space-3); }
.rl-card__title { margin: 0; font-size: 14.5px; }
.rl-fields { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-3); }
.rl-fields .field + .field { margin-top: 0; }
.rl-areas { display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.rl-area + .rl-area { border-top: 1px solid var(--color-border); }
.rl-area summary { display: flex; align-items: center; gap: var(--space-1-5); padding: 9px var(--space-3); background: var(--color-surface-2); cursor: pointer; list-style: none; font-size: var(--text-xs); }
.rl-area summary::-webkit-details-marker { display: none; }
.rl-count { color: var(--color-text-2); font-size: var(--text-xs); }
.rl-chev { margin-left: auto; color: var(--color-text-2); display: inline-flex; transition: transform .15s; }
.rl-area:not([open]) .rl-chev { transform: rotate(-90deg); }
.rl-area .table-wrap { overflow-x: auto; }
.rl-matrix { min-width: 640px; }
.rl-matrix th.rl-col, .rl-matrix td.rl-col { text-align: center; width: 72px; }
.rl-matrix th.rl-more, .rl-matrix td.rl-more { text-align: left; width: 34%; }
.rl-matrix input { width: 16px; height: 16px; accent-color: var(--color-primary); vertical-align: middle; }
.rl-na { color: var(--color-text-muted); }
.rl-chip { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-xs); margin: var(--space-0-5) var(--space-3) var(--space-0-5) 0; white-space: nowrap; cursor: pointer; }
.rl-caps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rl-cap { display: flex; flex-direction: column; gap: var(--space-1-5); padding: var(--space-2-5) 0; border-top: 1px solid var(--color-border); }
.rl-cap b { font-weight: var(--weight-medium); font-size: var(--text-sm); }
.rl-money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.rl-money label { display: flex; flex-direction: column; gap: var(--space-0-5); font-size: var(--text-xs); color: var(--color-text-2); }
.rl-money .input { text-align: right; font-variant-numeric: tabular-nums; }
.rl-actions { display: flex; gap: var(--space-2); align-items: center; margin-top: var(--space-3); flex-wrap: wrap; }
.rl-actions p { margin: 0 0 0 var(--space-2); font-size: var(--text-xs); color: var(--color-text-2); }
.rl-actions .rl-delete { margin-left: auto; color: var(--color-danger); }
.rl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2-5); }
.rl-list li { display: flex; justify-content: space-between; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
.rl-list small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.rl-can td:first-child { width: 45%; }
.rl-from { color: var(--color-text-2); font-size: var(--text-xs); }
.rl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.rl-two .field + .field { margin-top: 0; }
.rl-radio { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.rl-radio label { display: flex; gap: var(--space-2); align-items: flex-start; cursor: pointer; }
.rl-radio input { margin-top: 3px; accent-color: var(--color-primary); }
.rl-radio small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
@media (max-width: 960px) {
.rl-split, .rl-split--person, .rl-split--even, .rl-fields { grid-template-columns: minmax(0, 1fr); }
.rl-list__caps, .rl-list__by { width: auto; }
.rl-table .cell--actions .row { flex-wrap: wrap; }
}
.jb-table td { vertical-align: top; }
.jb-error summary { color: var(--color-danger); cursor: pointer; margin-top: var(--space-0-5); }
.jb-error pre { white-space: pre-wrap; font-size: var(--text-xs); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-2); margin: var(--space-1-5) 0 0; max-height: 220px; overflow: auto; }
.month-strip { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); }
.month-strip__title { flex: none; width: 140px; font-weight: var(--weight-semibold); display: flex; flex-direction: column; }
.month-strip__title small { font-weight: var(--weight-regular); font-size: var(--text-xs); color: var(--color-text-2); }
.month-strip__steps { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.month-step { position: relative; padding: var(--space-5) var(--space-2-5) 0 0; font-size: var(--text-xs); min-width: 0; }
.month-step::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--color-border); }
.month-step::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-border-strong); }
.month-step.is-done::before, .month-step.is-today::before { background: #86EFAC; }
.month-step.is-done::after { background: var(--color-success); border-color: var(--color-success); }
.month-step.is-late::after { background: var(--color-danger); border-color: var(--color-danger); }
.month-step.is-late span, .month-step.is-late b { color: var(--color-danger); font-weight: var(--weight-semibold); }
.month-step.is-today::after { background: var(--color-primary); border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-subtle); }
.month-step b { display: block; font-size: var(--text-xs); }
.month-step.is-today b { color: var(--color-primary); }
.month-step span { display: block; color: var(--color-text-2); font-size: var(--text-xs); line-height: 1.3; overflow-wrap: break-word; }
.today-card { padding: var(--space-3) var(--space-4); }
.today-card__head { display: flex; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-1); }
.today-card__head h2 { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.today-card__sub { margin-left: auto; font-size: var(--text-sm); color: var(--color-text-2); }
.today-card .todo-rows li { padding: 9px 0; }
.today-card .todo-rows .btn { flex: none; min-width: 88px; justify-content: center; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-1); }
.kpi-box { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 9px 11px; min-width: 0; display: flex; flex-direction: column; }
.kpi-box small { font-size: var(--text-xs); color: var(--color-text-2); }
.kpi-box b { font-size: var(--text-xl); font-variant-numeric: tabular-nums; margin: 1px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iban-box { display: flex; flex-direction: column; gap: var(--space-0-5); margin-top: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.iban-box strong { font-size: 15.5px; }
.call-box { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-3) 0 0; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.call-box--none { justify-content: flex-start; color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 40%, transparent); }
@media (max-width: 640px) { .call-box .btn { min-height: 44px; width: 100%; justify-content: center; } }
.elsewhere { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-2-5) var(--space-4); margin-bottom: var(--space-3); }
.elsewhere .chip { text-decoration: none; }
.pick-condo__list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.kpi-box--link { color: inherit; text-decoration: none; transition: border-color .12s, background-color .12s; }
.kpi-box--link:hover { border-color: var(--color-primary); background: var(--color-surface-2); }
.kpi-box--link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.ai-brief { display: flex; gap: var(--space-3); align-items: center; }
@media (max-width: 767px) {
.month-strip { flex-direction: column; gap: var(--space-2); }
.month-strip__steps { grid-template-columns: minmax(0, 1fr); align-self: stretch; min-width: 0; }
.month-step { display: flex; gap: var(--space-2); align-items: baseline; padding: 0 0 var(--space-1-5) var(--space-5); }
.month-step::before { top: 10px; bottom: -2px; left: 4px; right: auto; width: 2px; height: auto; }
.month-step:last-child::before { display: none; }
.month-step::after { top: 1px; }
.month-step b { flex: none; width: 40px; }
}
.palette__group { padding: var(--space-2) var(--space-2) var(--space-1); font-size: var(--text-xs); color: var(--color-text-muted); }
.palette__hit { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-2); border-radius: var(--radius-md); color: var(--color-text); text-decoration: none; }
.palette__hit:hover, .palette__hit.is-on { background: var(--color-primary-subtle); text-decoration: none; }
.palette__icon { width: 32px; height: 32px; flex: none; border-radius: var(--radius-md); background: var(--color-neutral-100); display: grid; place-items: center; color: var(--color-text-2); }
.palette__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.palette__text b { font-weight: var(--weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette__text small { font-size: var(--text-xs); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette__where { flex: none; font-size: var(--text-xs); color: var(--color-text-2); border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 1px var(--space-2); }
.palette__empty { padding: var(--space-4) var(--space-3); color: var(--color-text-2); }
.wz-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-1-5); margin: var(--space-2) 0 var(--space-3); padding: 0; list-style: none; }
.wz-step { display: flex; align-items: center; gap: var(--space-2); min-width: 0; padding: 7px var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text-2); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-step i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--color-neutral-100); color: var(--color-text-2); font-style: normal; font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.wz-step.is-done { color: var(--color-text); }
.wz-step.is-done i { background: var(--color-success-subtle); color: var(--color-success-strong); }
.wz-step.is-now { border-color: var(--color-primary); color: var(--color-primary); font-weight: var(--weight-semibold); box-shadow: 0 0 0 3px var(--color-primary-subtle); }
.wz-step.is-now i { background: var(--color-primary); color: var(--color-text-inverse); }
a.wz-step:hover { border-color: var(--color-border-strong); text-decoration: none; }
.wz-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.wz-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.wz-card { padding: var(--space-3) var(--space-4); min-width: 0; }
.wz-card > h2 { display: flex; align-items: baseline; gap: var(--space-2); margin: 0 0 var(--space-3); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.wz-card > h2 span { margin-left: auto; font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--color-text-2); }
.wz-fields { display: grid; gap: var(--space-3); }
.wz-fields + .wz-fields { margin-top: var(--space-3); }
.wz-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wz-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wz-fields--5 { grid-template-columns: 1.2fr 1fr .6fr 1fr .8fr; }
.wz-fields .field + .field { margin-top: 0; }
.wz-more { margin-top: var(--space-3); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); }
.wz-more > summary { display: flex; align-items: center; gap: var(--space-2); padding: 9px var(--space-3); color: var(--color-text-2); font-size: var(--text-sm); cursor: pointer; list-style: none; }
.wz-more > summary::-webkit-details-marker { display: none; }
.wz-more > summary b { margin-left: auto; color: var(--color-primary); font-weight: var(--weight-medium); }
.wz-more[open] > summary b { visibility: hidden; }
.wz-more > .wz-fields { padding: 0 var(--space-3) var(--space-3); }
.wz-have { list-style: none; margin: 0; padding: 0; }
.wz-have li { display: flex; gap: var(--space-2-5); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.wz-have li:first-child { border-top: 0; padding-top: 0; }
.wz-have i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--color-success-subtle); color: var(--color-success-strong); font-style: normal; }
.wz-have i.is-optional { background: var(--color-neutral-100); color: var(--color-text-2); }
.wz-have small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.wz-q { margin: 0 0 var(--space-2); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.wz-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.wz-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wz-choices .radio-card { align-items: flex-start; }
.wz-choices .radio-card .input { height: 30px; width: 70px; text-align: right; }
.radio-card .wz-inline { flex-direction: row; margin-top: var(--space-1); }
.wz-inline { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; font-size: var(--text-sm); }
.wz-inline .input { width: auto; }
.wz-inline .input--xs { width: 64px; text-align: center; }
.wz-inline .input--sm { width: 120px; }
.wz-chips { display: flex; flex-wrap: wrap; gap: var(--space-1-5); min-height: 24px; margin-top: var(--space-2); }
.wz-chips .chip { height: 24px; margin: 0; }
.wz-textarea { min-height: 150px; font: 11px/1.5 var(--font-mono); white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.wz-sheet td, .wz-sheet th { white-space: nowrap; }
.wz-sheet tr.is-bad td { background: var(--color-danger-subtle); }
.wz-sheet .wz-rest td { color: var(--color-text-2); }
.wz-scroll { max-height: 440px; overflow: auto; }
.wz-scroll .table th { position: sticky; top: 0; }
.wz-scroll tr.wz-total td { position: sticky; bottom: 0; background: var(--color-surface-2); font-weight: var(--weight-semibold); border-top: 1px solid var(--color-border); }
.wz-late { color: var(--color-danger); font-weight: var(--weight-semibold); }
.wz-sum { display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; padding-top: var(--space-2); font-size: var(--text-sm); }
.wz-sum .is-ok { color: var(--color-success-strong); font-weight: var(--weight-semibold); }
.wz-sum .is-warn { color: var(--color-warning-strong); font-weight: var(--weight-semibold); }
.wz-issues { list-style: none; margin: 0; padding: 0; }
.wz-issues li { display: flex; gap: var(--space-2); padding: 7px 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.wz-issues li:first-child { border-top: 0; padding-top: 0; }
.wz-issues b { flex: none; min-width: 56px; }
.wz-issues li.is-blocking b, .wz-issues li.is-blocking { color: var(--color-danger); }
.wz-panel + .wz-panel { margin-top: 0; }
.wz-panel .row { margin-top: var(--space-2); }
.wz-actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }
.wz-actions__note { flex: 1; min-width: 160px; text-align: right; font-size: var(--text-sm); color: var(--color-text-2); }
.wz-actions .btn--primary { min-width: 180px; justify-content: center; }
.wz-person { display: flex; align-items: center; gap: var(--space-2-5); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.wz-person:first-of-type { border-top: 0; padding-top: 0; }
.wz-person small { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.wz-done { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.wz-done > i { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--color-success-subtle); color: var(--color-success-strong); font-style: normal; }
.wz-done h1 { margin: 0; }
.wz-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-2); }
.wz-kpis .kpi-box small.is-warn { color: var(--color-warning-strong); }
@media (max-width: 1100px) { .wz-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
.wz-steps { display: flex; overflow-x: auto; scrollbar-width: none; }
.wz-steps li { flex: none; }
.wz-fields--2, .wz-fields--3, .wz-fields--5, .wz-choices, .wz-choices--3 { grid-template-columns: minmax(0, 1fr); }
.wz-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.table-wrap { overflow-x: auto; position: relative; }
.main table:not(.table-wrap table) { display: block; max-width: 100%; overflow-x: auto; position: relative; }
.rule-list__head { flex-wrap: wrap; }
.dl { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-0-5); }
.dl dd { margin-bottom: var(--space-2); }
}
.ficha-head { display: flex; flex-direction: column; gap: var(--space-2-5); padding: var(--space-3-5) 18px; margin-bottom: var(--space-3); }
.ficha-top { display: flex; gap: var(--space-3); align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.ficha-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ficha-crumb { font-size: var(--text-xs); color: var(--color-text-2); display: flex; gap: var(--space-1-5); align-items: center; }
.ficha-crumb a { color: var(--color-primary); }
.ficha-title { display: flex; gap: var(--space-2-5); align-items: center; flex-wrap: wrap; }
.ficha-title h1 { margin: 0; font-size: 24.5px; line-height: 1.1; letter-spacing: -.01em; }
.ficha-sub { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.ficha-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.ficha-call { position: relative; }
.ficha-call > summary { list-style: none; cursor: pointer; }
.ficha-call > summary::-webkit-details-marker { display: none; }
.ficha-call__menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 260px; display: flex; flex-direction: column; padding: var(--space-1-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.ficha-call__menu a { display: flex; flex-direction: column; padding: var(--space-2) var(--space-2-5); border-radius: var(--radius-lg); color: var(--color-text); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: none; }
.ficha-call__menu a:hover { background: var(--color-surface-2); text-decoration: none; }
.ficha-call__menu small { color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-regular); }
.ficha-nums { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--color-border); padding-top: var(--space-2-5); }
.ficha-nums > div { display: flex; flex-direction: column; gap: 1px; padding: 0 var(--space-3-5); border-left: 1px solid var(--color-border); min-width: 0; }
.ficha-nums > div:first-child { padding-left: 0; border-left: 0; }
.ficha-nums span { font-size: var(--text-xs); color: var(--color-text-2); }
.ficha-nums b { font-size: 16.5px; font-variant-numeric: tabular-nums; }
.ficha-nums small { font-size: var(--text-xs); color: var(--color-text-2); }
.ficha-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.ficha-col { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.ficha-card { padding: var(--space-3-5) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2-5); }
.ficha-card h2 { margin: 0; font-size: 13.5px; display: flex; gap: var(--space-2); align-items: center; }
.ficha-card h2 .grow { flex: 1; }
.ficha-card h2 .btn { font-weight: var(--weight-medium); }
.ficha-who { display: flex; flex-direction: column; }
.ficha-who .who-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1-5) var(--space-3); padding: var(--space-2-5) 0; border-top: 1px solid var(--color-border); align-items: center; }
.ficha-who .who-row:first-child { border-top: 0; padding-top: var(--space-0-5); }
.ficha-who .who-name { display: flex; flex-direction: column; gap: var(--space-0-5); min-width: 0; }
.ficha-who .who-name b { font-size: 13.5px; display: flex; gap: var(--space-1-5); align-items: center; flex-wrap: wrap; }
.ficha-who .who-name b a { color: var(--color-text); }
.ficha-who .who-name small { color: var(--color-text-2); font-size: var(--text-xs); }
.ficha-who .who-contact { display: flex; gap: var(--space-3-5); flex-wrap: wrap; font-size: var(--text-sm); grid-column: 1 / -1; }
.ficha-who .who-contact span { display: inline-flex; gap: 5px; align-items: center; font-variant-numeric: tabular-nums; }
.ficha-who .who-contact svg { color: var(--color-text-2); }
.ficha-who .who-btns { display: flex; gap: var(--space-1-5); flex-wrap: wrap; justify-content: flex-end; }
.ficha-who .who-row.emergency { background: var(--color-warning-subtle); border-radius: var(--radius-xl); border-top: 0; padding: var(--space-2-5) var(--space-3); margin-top: var(--space-1); }
.ficha-add { display: inline-flex; gap: var(--space-1-5); align-items: center; align-self: flex-start; margin-top: var(--space-1); padding: var(--space-1-5) var(--space-2-5); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-lg); background: none; color: var(--color-primary); font: inherit; font-size: var(--text-xs); font-weight: var(--weight-semibold); cursor: pointer; }
.ficha-add:hover { background: var(--color-primary-subtle); }
.ficha-charges { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.ficha-charges td { padding: 7px 0; border-top: 1px solid var(--color-border); vertical-align: top; }
.ficha-charges tr:first-child td { border-top: 0; }
.ficha-charges td.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: var(--space-3); }
.ficha-charges td small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.ficha-charges tfoot td { border-top: 2px solid var(--color-border-strong); font-weight: var(--weight-bold); }
.ficha-foot { display: flex; justify-content: space-between; gap: var(--space-2-5); flex-wrap: wrap; align-items: center; font-size: var(--text-xs); color: var(--color-text-2); }
.ficha-filters { display: flex; gap: var(--space-1-5); flex-wrap: wrap; }
.ficha-filters .f { font: inherit; font-size: var(--text-xs); padding: 3px var(--space-2-5); border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text-2); background: var(--color-surface); cursor: pointer; }
.ficha-filters .f.on { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--weight-semibold); }
.ficha-tl { list-style: none; margin: 0; padding: 0; }
.ficha-tl li { display: grid; grid-template-columns: 46px 28px minmax(0, 1fr) auto; gap: var(--space-2-5); align-items: start; padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.ficha-tl li[hidden] { display: none; }
.ficha-tl li:first-child { border-top: 0; }
.ficha-tl .d { color: var(--color-text-2); font-size: var(--text-xs); font-variant-numeric: tabular-nums; padding-top: 3px; }
.ficha-tl .i { width: 28px; height: 28px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--color-surface-2); color: var(--color-text-2); }
.ficha-tl .t { min-width: 0; }
.ficha-tl .t a { color: var(--color-text); }
.ficha-tl .t small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.ficha-tl .s { padding-top: var(--space-0-5); }
.ficha-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: var(--text-xs); color: var(--color-primary); font-weight: var(--weight-semibold); cursor: pointer; }
.ficha-more[hidden] { display: none; }
.ficha-kv { display: grid; grid-template-columns: 128px minmax(0, 1fr); row-gap: 7px; column-gap: var(--space-3); margin: 0; font-size: var(--text-sm); }
.ficha-kv dt { color: var(--color-text-2); }
.ficha-kv dd { margin: 0; font-variant-numeric: tabular-nums; }
.ficha-kv dd small { color: var(--color-text-2); }
.ficha-kv dd.space { display: flex; align-items: center; gap: var(--space-1); }
.ficha-kv dd.space .btn { margin: -4px 0 -4px auto; width: 26px; height: 26px; padding: 0; }
.ficha-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ficha-lines li { display: flex; gap: var(--space-2-5); align-items: center; padding: 7px 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.ficha-lines li:first-child { border-top: 0; padding-top: 0; }
.ficha-lines li > svg { color: var(--color-text-2); flex: none; }
.ficha-lines .grow { flex: 1; min-width: 0; }
.ficha-lines small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.ficha-lines .plate { font: 700 11.5px var(--font-mono); border: 1.5px solid var(--color-text); border-radius: var(--radius-sm); padding: var(--space-0-5) var(--space-1-5); }
.ficha-lines .pet { width: 44px; height: 44px; border-radius: var(--radius-xl); object-fit: cover; background: linear-gradient(135deg, var(--color-border-strong), var(--color-text-disabled)); display: grid; place-items: center; color: var(--color-text-inverse); flex: none; }
.ficha-note { font-size: var(--text-sm); background: var(--color-surface-2); border-radius: var(--radius-xl); padding: var(--space-2-5) var(--space-3); }
.ficha-note p { margin: 0 0 var(--space-1); }
.ficha-note small { color: var(--color-text-2); }
.ficha-hint { font-size: var(--text-xs); color: var(--color-text-2); margin: 0; display: flex; gap: var(--space-1-5); align-items: center; }
.ficha-empty { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.ficha-head .nw, .ficha-who .nw { white-space: nowrap; }
@media (max-width: 767px) {
.ficha-grid { grid-template-columns: minmax(0, 1fr); }
.ficha-nums { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: var(--space-2-5); }
.ficha-nums > div:nth-child(3) { padding-left: 0; border-left: 0; }
.ficha-head .ficha-actions { width: 100%; flex-wrap: wrap; }
.ficha-head .ficha-actions .btn { flex: 1 1 40%; justify-content: center; }
.ficha-head .ficha-actions .desk { display: none; }
.ficha-head .ficha-call { flex: 1; display: flex; }
.ficha-head .ficha-call > summary { flex: 1; justify-content: center; }
.ficha-call__menu { left: 0; right: auto; }
.ficha-tl li { grid-template-columns: 40px 26px minmax(0, 1fr); }
.ficha-tl .s { grid-column: 3; padding-top: 0; }
.ficha-who .who-row { grid-template-columns: minmax(0, 1fr); }
.ficha-who .who-btns { justify-content: flex-start; }
.ficha-who .who-btns .btn { flex: 1; justify-content: center; }
.ficha-who .who-btns .long { display: none; }
.ficha-kv { grid-template-columns: 118px minmax(0, 1fr); }
}
.paper-doc { max-width: 780px; margin: 0 auto; background: var(--color-paper); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: 0 4px 18px rgb(15 23 42 / .08); padding: 36px 44px; font-family: Georgia, "Times New Roman", serif; font-size: 13.5px; line-height: 1.6; }
.paper-doc__head { display: flex; justify-content: space-between; gap: var(--space-4); align-items: flex-start; border-bottom: 2px solid var(--color-brand); padding-bottom: var(--space-2-5); margin-bottom: 18px; font-family: var(--font); }
.paper-doc__head b { font-size: 15.5px; display: block; }
.paper-doc__head small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.paper-doc__no { text-align: right; font-size: var(--text-xs); }
.paper-doc__no h2 { margin: 0; font-size: var(--text-sm); }
.paper-doc p { margin: 0 0 var(--space-3); }
.paper-doc__sig { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5); margin-top: 30px; font-family: var(--font); font-size: var(--text-xs); color: var(--color-neutral-700); }
.paper-doc__sig .line { border-top: 1px solid var(--color-text); padding-top: var(--space-1); min-width: 260px; }
.paper-doc__verify b.code { font: 700 12.5px var(--font-mono); color: var(--color-text); }
.paper-doc .nw { white-space: nowrap; }
.verify { max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3-5); }
.verify__title { margin: 0; font-size: 18.5px; }
.verify__state { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3-5); border-radius: 14px; }
.verify__state b { display: block; font-size: 16.5px; }
.verify__state svg { flex: none; }
.verify__state--ok { background: var(--color-success-subtle); color: var(--color-success-strong); }
.verify__state--warn { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.verify__state--bad { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.verify__form { display: flex; flex-direction: column; gap: var(--space-2); }
.verify__kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 9px; margin: 0; font-size: 13.5px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: var(--space-3-5); }
.verify__kv dt { color: var(--color-text-2); }
.verify__kv dd { margin: 0; font-weight: var(--weight-semibold); }
.verify__foot { font-size: var(--text-xs); color: var(--color-text-2); line-height: 1.5; margin: 0; }
@media (max-width: 767px) { .paper-doc { padding: 22px 18px; font-size: var(--text-sm); } .paper-doc__head, .paper-doc__sig { flex-direction: column; align-items: flex-start; } .paper-doc__no { text-align: left; } }
.mo-stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.mo-stage { padding: var(--space-3) var(--space-3-5); display: flex; flex-direction: column; gap: var(--space-0-5); color: var(--color-text); text-decoration: none; }
.mo-stage:hover { text-decoration: none; background: var(--color-surface-2); }
.mo-stage.is-on { box-shadow: 0 0 0 2px var(--color-primary); }
.mo-stage span { font-size: var(--text-xs); color: var(--color-text-2); font-weight: var(--weight-semibold); }
.mo-stage b { font-size: 20.5px; font-variant-numeric: tabular-nums; }
.mo-stage small { font-size: var(--text-xs); color: var(--color-text-2); }
.mo-stage--reminder { border-top-color: var(--color-primary); }
.mo-stage--second, .mo-stage--third { border-top-color: var(--color-warning); }
.mo-stage--prevention, .mo-stage--prevention2 { border-top-color: #ea580c; }
.mo-stage--legal { border-top-color: var(--color-danger); }
.mo-chips { display: flex; gap: var(--space-1-5); flex-wrap: wrap; margin-bottom: var(--space-2); }
.mo-chips .f { font-size: var(--text-xs); padding: var(--space-1) 11px; border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text-2); background: var(--color-surface); text-decoration: none; }
.mo-chips .f.on { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--weight-semibold); }
.mo-table td small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.mo-table td.nw, .mo-table .nw { white-space: nowrap; }
.mo-table td.mo-owner { white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.mo-table td.mo-last { min-width: 130px; max-width: 200px; }
@media (max-width: 1199px) { .mo-table td.mo-owner { white-space: normal; max-width: 130px; } .mo-table td.mo-last { min-width: 110px; } }
.mo-table td.mo-last small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mo-table tr.is-focus td { background: var(--color-primary-subtle); }
.mo-table td { padding-block: var(--space-1-5); }
.mo-table th.num, .mo-table td.num { text-align: right; }
.mo-table td.num, .mo-table .mo-monto a { font-variant-numeric: tabular-nums; }
.mo-table td.mo-monto small { white-space: nowrap; text-align: right; }
.mo-table .mo-etapa { margin: 0; gap: var(--space-1-5); background: var(--color-surface-2); color: var(--color-text); font-size: var(--text-xs); font-weight: var(--weight-medium); }
.mo-table .mo-etapa::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--color-text-2); }
.mo-table .mo-etapa.chip--primary::before { background: var(--color-primary); }
.mo-table .mo-etapa.chip--warning::before { background: var(--color-warning-strong); }
.mo-table .mo-etapa.chip--danger::before { background: var(--color-danger-strong); }
.mo-table .mo-etapa.chip--success::before { background: var(--color-success-strong); }
.mo-table td.mo-act { white-space: nowrap; padding-block: var(--space-1); }
.mo-table td.mo-act form { margin: 0; display: contents; }
.mo-casillas { display: grid; grid-template-columns: 108px 124px; align-items: center; min-height: var(--control-h-sm); }
.mo-casilla { display: flex; align-items: center; min-width: 0; }
.mo-texto, .mo-codigo { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--control-h-sm); padding: 0 var(--space-1-5); margin-left: calc(-1 * var(--space-1-5)); border: 0; border-radius: var(--radius-md); background: none; font: inherit; font-size: var(--text-sm); white-space: nowrap; cursor: pointer; text-decoration: none; }
.mo-texto { color: var(--color-primary); font-weight: var(--weight-medium); }
.mo-codigo { color: var(--color-text); font-variant-numeric: tabular-nums; }
.mo-texto svg, .mo-codigo svg { flex: none; color: var(--color-primary); }
.mo-texto:hover, .mo-codigo:hover { background: var(--color-primary-subtle); text-decoration: none; }
.mo-table td.mo-cobrar { padding-right: var(--space-3); text-align: right; }
.mo-table td.mo-cobrar .btn { min-width: 92px; }
.act { display: flex; flex-direction: column; gap: var(--space-3); }
.act__who { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.act__who b { color: var(--color-text); font-size: 13.5px; }
.act__call { display: flex; gap: var(--space-1-5); flex-wrap: wrap; }
.act__form { display: flex; flex-direction: column; gap: var(--space-2-5); }
.act__form [data-promise-fields] { display: none; }
.act__form:has(input[name="promised"][value="yes"]:checked) [data-promise-fields] { display: grid; }
.act__hint { grid-column: 1 / -1; margin: 0; font-size: var(--text-xs); color: var(--color-text-2); background: var(--color-surface-2); border-radius: var(--radius-xl); padding: var(--space-2) var(--space-2-5); display: flex; gap: var(--space-1-5); align-items: center; }
.act__actions { display: flex; justify-content: flex-end; gap: var(--space-2); }
.act__title { margin: var(--space-1-5) 0 0; font-size: var(--text-sm); }
.act__plan { display: flex; gap: var(--space-2); align-items: center; margin: 0; padding: var(--space-2) var(--space-2-5); border-radius: var(--radius-xl); background: var(--color-surface-2); font-size: var(--text-sm); }
.act__plan svg { flex: 0 0 auto; color: var(--color-text-2); }
.act__hist { list-style: none; margin: 0; padding: 0; font-size: var(--text-xs); }
.act__hist li { display: grid; grid-template-columns: 46px 22px minmax(0, 1fr); gap: var(--space-2); padding: 7px 0; border-top: 1px solid var(--color-border); }
.act__hist li:first-child { border-top: 0; }
.act__hist .d { color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.act__hist svg { color: var(--color-text-2); margin-top: 1px; }
.act__hist small { display: block; color: var(--color-text-2); }
@media (max-width: 1279px) { .mo-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .mo-stages { grid-template-columns: 1fr 1fr; } }
.mo-sent { display: flex; align-items: center; gap: var(--space-2-5); padding: var(--space-2-5) var(--space-3-5); margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); font-size: var(--text-sm); }
.mo-sent > svg { color: var(--color-primary); flex: 0 0 auto; }
.mo-sent p { margin: 0; flex: 1; min-width: 0; }
.mo-sent a { white-space: nowrap; font-weight: var(--weight-semibold); }
.mo-sent--off { background: var(--color-warning-subtle); border-color: var(--color-warning); }
.mo-sent--off > svg { color: var(--color-warning-strong); }
.mo-setup .ficha-call__menu { left: auto; right: 0; }
.mo-setup .ficha-call__menu a small { display: block; font-size: var(--text-xs); color: var(--color-warning-strong); }
.cp { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.cp-side { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); align-items: start; min-width: 0; }
.cp-title { display: flex; align-items: center; gap: var(--space-2); }
.cp-title svg { color: var(--color-text-2); }
.cp-lead { margin: var(--space-0-5) 0 var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); }
.cp-alert { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2-5) var(--space-3-5); margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface-2); font-size: var(--text-sm); }
.cp-alert p { margin: 0; }
.cp-alert > svg { flex: 0 0 auto; margin-top: var(--space-0-5); color: var(--color-text-2); }
.cp-alert--off { background: var(--color-warning-subtle); border-color: var(--color-warning); }
.cp-alert--off > svg { color: var(--color-warning-strong); }
.cp-table td { vertical-align: middle; }
.cp-table .cp-switch { gap: var(--space-2); }
.cp-when .field__error { white-space: normal; }
.cp-days { display: inline-flex; align-items: center; gap: var(--space-1-5); white-space: nowrap; }
.cp-days .input { width: 62px; }
.cp-when .cp-days { display: flex; white-space: normal; }
.cp-notices { grid-column: 1 / -1; }
.cp-when .sel-busca { flex: 1 1 auto; min-width: 232px; }
.cp-when .cp-days .sel-busca__input { width: 100%; }
.cp-by { min-width: 0; max-width: 210px; }
.cp-text { white-space: nowrap; }
.card:has(input[name="clearance_fee_on"]:not(:checked)) .cp-fee { opacity: .45; }
.cp-link { padding: 0; border: 0; background: none; color: var(--color-primary); font: inherit; text-align: left; cursor: pointer; }
.cp-link:hover { text-decoration: underline; }
.cp-link.is-bad { color: var(--color-danger); }
.cp-text small { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.cp-text small:empty { display: none; }
.cp-note { display: flex; gap: var(--space-2); align-items: flex-start; margin: var(--space-2-5) 0 0; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-xl); background: var(--color-surface-2); font-size: var(--text-xs); color: var(--color-text-2); }
.cp-note svg { flex: 0 0 auto; margin-top: var(--space-0-5); }
.cp-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-1-5) 0; font-size: var(--text-sm); }
.toggle-row { cursor: pointer; }
.cp-in .input { width: 130px; }
.cp-foot { margin: var(--space-2) 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.cp-who { display: flex; flex-direction: column; gap: var(--space-1-5); padding: var(--space-1-5) 0; }
.cp-who__label { font-size: var(--text-sm); }
.cp-who__fields { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: var(--space-1-5); }
.cp-who__fields input[type="email"], .cp-who__fields .cp-wide { grid-column: 1 / -1; }
.cp:disabled .input { background: var(--color-surface-2); }
.cp:disabled .switch__track { opacity: .55; }
.tx { display: flex; flex-direction: column; gap: var(--space-3); }
.tx__when { margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.tx__tokens { display: flex; flex-wrap: wrap; gap: var(--space-1-5); }
.tx__preview { display: flex; flex-direction: column; gap: var(--space-1-5); padding: var(--space-3) var(--space-3-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface-2); }
.tx__preview-label { font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-text-2); }
.tx__preview-body { white-space: pre-wrap; font-size: var(--text-sm); line-height: 1.5; }
.tx__save { display: flex; gap: var(--space-1-5); align-items: center; margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.nt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.nt { border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.nt > summary { list-style: none; display: grid; grid-template-columns: 56px 130px minmax(0, 1.2fr) minmax(0, 1.4fr) 18px; grid-template-areas: "when unit what to open"; gap: var(--space-3); align-items: center; padding: var(--space-2-5) var(--space-3-5); cursor: pointer; }
.nt > summary::-webkit-details-marker { display: none; }
.nt > summary:hover { background: var(--color-surface-2); border-radius: var(--radius-xl); }
.nt small { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.nt__when { grid-area: when; font-variant-numeric: tabular-nums; }
.nt__unit { grid-area: unit; }
.nt__what { grid-area: what; }
.nt__to { grid-area: to; overflow-wrap: anywhere; }
.nt__open { grid-area: open; color: var(--color-text-2); transition: transform .15s; }
.nt[open] .nt__open { transform: rotate(180deg); }
.nt__body { padding: var(--space-0-5) var(--space-3-5) var(--space-3-5) 82px; border-top: 1px solid var(--color-border); }
.nt__subject { margin: var(--space-3) 0 var(--space-1-5); font-weight: var(--weight-semibold); }
.nt__text { font-size: var(--text-sm); line-height: 1.55; }
.nt__text p { margin: 0 0 var(--space-2); }
.nt__acts { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-2); }
@media (max-width: 1100px) {
.cp-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
.cp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
.mo-sent { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; }
.mo-sent > svg { margin-top: var(--space-0-5); }
.mo-sent a { grid-column: 2; }
.nt > summary { grid-template-columns: 46px minmax(0, 1fr) 18px; grid-template-areas: "when unit open" "when what open" "when to open"; gap: var(--space-1) var(--space-2-5); }
.nt__body { padding-left: var(--space-3-5); }
.cp-table thead { display: none; }
.cp-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1-5) var(--space-2-5); padding: var(--space-2-5) 0; border-bottom: 1px solid var(--color-border); }
.cp-table td { padding: 0; border: 0; }
.cp-when .cp-days { flex-wrap: wrap; }
.cp-when .sel-busca { min-width: 0; flex-basis: 100%; }
.cp-table .cp-by, .cp-table .cp-text { grid-column: 1 / -1; font-size: var(--text-xs); }
}
.pl { display: flex; flex-direction: column; gap: var(--space-3); }
.pl__who { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.pl__who b { color: var(--color-text); font-size: 13.5px; }
.pl__asked { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-xl); background: var(--color-primary-subtle); font-size: var(--text-sm); }
.pl__asked svg { flex: 0 0 auto; margin-top: var(--space-0-5); color: var(--color-primary); }
.pl__owed { display: flex; flex-direction: column; gap: var(--space-0-5); padding: var(--space-3) var(--space-3-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface-2); }
.pl__owed b { font-size: 14.5px; }
.pl__owed small { font-size: var(--text-xs); color: var(--color-text-2); }
.pl__form { display: flex; flex-direction: column; gap: var(--space-2-5); }
.pl__each { margin: 0; padding: 9px var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); font-weight: var(--weight-semibold); }
.pl__table tfoot th { border-top: 2px solid var(--color-border-strong); }
.pl__table td:first-child, .pl__table th:first-child { width: 64px; }
.pl__good, .pl__warn { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-xl); font-size: var(--text-sm); }
.pl__good { background: var(--color-success-subtle); }
.pl__good svg { color: var(--color-success-strong); flex: 0 0 auto; margin-top: var(--space-0-5); }
.pl__warn { background: var(--color-warning-subtle); }
.pl__warn svg { color: var(--color-warning-strong); flex: 0 0 auto; margin-top: var(--space-0-5); }
.plx { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.plx__side { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.plx__owed { margin: 0 0 var(--space-3); display: flex; flex-direction: column; }
.plx__owed > div { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-1-5) 0; border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); }
.plx__owed dt { color: var(--color-text-2); }
.plx__owed dt small { display: block; font-size: var(--text-xs); }
.plx__owed dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plx__owed .is-sum dt, .plx__owed .is-sum dd { color: var(--color-text); font-weight: var(--weight-semibold); }
.plx__owed .is-rebate dd { color: var(--color-success-strong); }
.plx__owed .is-total { border-bottom: 0; border-top: 2px solid var(--color-border-strong); }
.plx__owed .is-total dt, .plx__owed .is-total dd { color: var(--color-text); font-weight: var(--weight-bold); font-size: 13.5px; }
.plx__table tr.is-late td { background: var(--color-danger-subtle); }
.plx__note { display: flex; gap: var(--space-1-5); align-items: flex-start; margin: 0 0 var(--space-2-5); padding: var(--space-2) var(--space-2-5); border-radius: var(--radius-lg); background: var(--color-surface-2); font-size: var(--text-xs); }
.plx__note svg { flex: 0 0 auto; margin-top: var(--space-0-5); color: var(--color-text-2); }
.plx__form { display: flex; flex-direction: column; gap: var(--space-2-5); }
.plx__no { border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); padding: var(--space-2-5) var(--space-3-5); }
.plx__no summary { cursor: pointer; font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--color-text-2); }
.plx__no form { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2-5); }
.card .plx__no { border: 0; padding: var(--space-2-5) 0 0; }
.plx__state { display: flex; gap: var(--space-2-5); align-items: flex-start; font-size: var(--text-sm); }
.plx__state p { margin: 0; }
.plx__state svg { flex: 0 0 auto; margin-top: var(--space-0-5); color: var(--color-warning-strong); }
.plx__state--ok svg { color: var(--color-success-strong); }
.plx__state--bad svg { color: var(--color-danger); }
.plx__hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); font-size: var(--text-sm); }
.plx__hist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-2); }
.plx__hist span { color: var(--color-text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
.plx { grid-template-columns: minmax(0, 1fr); }
.plx__side--act { order: -1; }
}
.cert-steps { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); }
.cert-steps li { display: flex; align-items: center; gap: var(--space-2-5); padding: var(--space-3) var(--space-3-5); font-size: var(--text-sm); color: var(--color-text-2); border-left: 1px solid var(--color-border); }
.cert-steps li:first-child { border-left: 0; }
.cert-steps__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--radius-full); background: var(--color-surface-2); font-weight: var(--weight-bold); font-size: var(--text-xs); flex: 0 0 auto; }
.cert-steps li.is-done { color: var(--color-text); }
.cert-steps li.is-done .cert-steps__n { background: var(--color-success); color: var(--color-text-inverse); }
.cert-steps li.is-now { background: var(--color-primary-subtle); color: var(--color-text); font-weight: var(--weight-semibold); }
.cert-steps li.is-now .cert-steps__n { background: var(--color-primary); color: var(--color-text-inverse); }
.cert { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-3); align-items: start; }
.cert-paper { position: relative; overflow: hidden; max-width: none; margin: 0; padding: 30px 36px; font-size: var(--text-sm); }
.cert-paper__mark { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%) rotate(-24deg); font: 800 84.5px/1 var(--font); color: rgb(220 38 38 / .07); pointer-events: none; user-select: none; }
.cert-blank { display: inline-block; min-width: 150px; border-bottom: 1px solid var(--color-neutral-700); line-height: 1.2; }
.cert-blank--short { min-width: 70px; }
.cert-table { font-family: var(--font); font-size: var(--text-xs); margin: var(--space-1-5) 0 var(--space-3-5); }
.cert-table th, .cert-table td { padding: 7px var(--space-2-5); }
.cert-table .num { text-align: right; white-space: nowrap; }
.cert-table tfoot th { border-top: 2px solid var(--color-text); color: var(--color-text); font-weight: var(--weight-bold); font-size: var(--text-xs); }
.cert-fees { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); font-size: var(--text-sm); }
.cert-fees li { display: flex; justify-content: space-between; gap: var(--space-2-5); }
.cert-fees li span { color: var(--color-text-2); }
.cert-close { font-size: var(--text-sm); }
.aviso-form { max-width: 640px; display: flex; flex-direction: column; gap: var(--space-3); }
.aviso-form .btn--block { min-height: 48px; }
.aviso-list { list-style: none; margin: 0; padding: 0; }
.aviso-list__row { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.aviso-list__row:first-child { border-top: 0; }
.board-report { max-width: 480px; min-height: 52px; font-size: var(--text-lg); margin-bottom: var(--space-3); }
.iv-ask__actions { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-1); flex: none; }
.cert-period { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.cert-period + .cert-period { padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.cert-paper__by { text-align: right; }
.cert-side { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.cert-miss { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.cert-miss li { display: flex; gap: var(--space-2); align-items: flex-start; }
.cert-miss li svg { flex: 0 0 auto; margin-top: 3px; }
.cert-miss li.is-missing svg { color: var(--color-warning-strong); }
.cert-miss li.is-ok svg { color: var(--color-success-strong); }
.cert-refresh { margin: var(--space-2-5) 0 0; }
.cert-warn { margin: var(--space-2) 0 0; color: var(--color-warning-strong); }
.cert-refresh .cp-link { font-size: var(--text-xs); display: inline-flex; align-items: center; gap: var(--space-1); }
.cert-exp { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: var(--text-xs); }
.cert-exp li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-1-5); }
.cert-exp li span { color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.cert-done { display: flex; gap: var(--space-2-5); align-items: flex-start; font-size: var(--text-sm); }
.cert-done p { margin: 0; }
.cert-done svg { color: var(--color-primary); flex: 0 0 auto; margin-top: var(--space-0-5); }
@media (max-width: 1023px) { .cert { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
.cert-steps { grid-template-columns: 1fr 1fr; }
.cert-steps li:nth-child(3) { border-left: 0; }
.cert-steps li:nth-child(n+3) { border-top: 1px solid var(--color-border); }
.cert-paper { padding: 18px var(--space-4); }
}
.rep-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); }
.ficha-sub-title { margin: 0 0 var(--space-1-5); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
@media (max-width: 760px) { .rep-cols { grid-template-columns: minmax(0, 1fr); } }
.inf-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.inf-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); border: 1px solid var(--color-border); display: block; }
.plx__form:has(input[name="decision"][value="dismiss"]:checked) .inf-amount { display: none; }
.inf-head__rule { color: var(--color-text); font-weight: var(--weight-medium); }
.inf-facts > div { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); align-items: baseline; }
.inf-facts dd { white-space: normal; }
.inf-facts dd.inf-facts__text { white-space: pre-line; }
@media (max-width: 600px) { .inf-facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-0-5); } }
.rule-suggestions { display: flex; flex-direction: column; gap: var(--space-2); }
.rule-suggestions > p { margin: 0; }
.rule-suggestions .card { padding: var(--space-2-5) var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); }
.rule-suggestions .card > p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rule-suggestions__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; font-size: var(--text-sm); }
.mv-rules { display: flex; flex-wrap: wrap; gap: var(--space-1-5) 18px; align-items: center; margin: 0 0 var(--space-2); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); font-size: var(--text-xs); }
.mv-rules b { display: inline-flex; align-items: center; gap: var(--space-1-5); }
.mv-rules ul { display: contents; list-style: none; }
.mv-rules li { display: inline-flex; align-items: center; gap: 5px; color: var(--color-text-2); }
.mv-rules li svg { flex: none; color: var(--color-success-strong); }
.mv-toggles { display: flex; flex-direction: column; border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-1-5); }
.mv-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.mv-steps small { display: block; font-weight: var(--weight-regular); color: var(--color-text-2); font-size: var(--text-xs); }
.mv-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2-5); }
.mv-photos .photo-box { min-height: 0; }
@media (max-width: 720px) {
.mv-steps { grid-auto-flow: row; grid-auto-columns: auto; }
.mv-steps li { border-left: 0; border-top: 1px solid var(--color-border); }
.mv-steps li:first-child { border-top: 0; }
.mv-photos { grid-template-columns: 1fr; }
}
.sv-questions { display: flex; flex-direction: column; gap: var(--space-3); }
.sv-q { display: flex; flex-direction: column; gap: var(--space-2); }
.sv-q__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.sv-q__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: var(--space-2); }
.sv-intro { margin: 0 0 var(--space-3); max-width: 75ch; color: var(--color-text-2); }
.sv-turnout { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-3); }
.sv-turnout > div { flex: 1; min-width: 0; }
.sv-bar { display: block; height: 10px; border-radius: var(--radius-full); background: var(--color-surface-2); overflow: hidden; }
.sv-bar > span { display: block; height: 100%; border-radius: var(--radius-full); background: var(--color-primary); }
.sv-bar--big { width: 40%; height: 14px; flex: none; }
.sv-mini { display: inline-block; width: 56px; height: 6px; vertical-align: middle; border-radius: var(--radius-full); background: var(--color-surface-2); overflow: hidden; }
.sv-mini > span { display: block; height: 100%; background: var(--color-primary); }
.sv-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
.sv-options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.sv-options li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: var(--space-2-5); align-items: center; font-size: var(--text-sm); }
.sv-options__n { font-variant-numeric: tabular-nums; color: var(--color-text-2); white-space: nowrap; min-width: 72px; text-align: right; }
.sv-texts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); max-height: 360px; overflow: auto; }
.sv-texts li { padding: var(--space-2) var(--space-2-5); border-radius: var(--radius-lg); background: var(--color-surface-2); font-size: var(--text-sm); }
.sv-texts p { margin: 0 0 var(--space-0-5); }
.sv-preview { margin: 0; padding-left: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
@media (max-width: 900px) {
.sv-results { grid-template-columns: 1fr; }
.sv-turnout { flex-direction: column; align-items: stretch; }
.sv-bar--big { width: 100%; }
}
.jr-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.4fr); gap: var(--space-2) var(--space-3); align-items: end; margin-bottom: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.jr-filters .field { margin: 0; }
.jr-filters__check { grid-column: 1 / span 4; font-size: var(--text-sm); }
.jr-filters__go { grid-column: 5 / -1; display: flex; gap: var(--space-2); justify-content: flex-end; }
.jr-table tr.is-denied td { background: var(--color-danger-subtle); }
.jr-pager { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-3); }
@media (max-width: 900px) {
.jr-filters { grid-template-columns: 1fr 1fr; }
.jr-filters__check, .jr-filters__go { grid-column: 1 / -1; justify-content: flex-start; }
}
.ac-tile { color: inherit; text-decoration: none; transition: border-color .12s; }
.ac-tile:hover { border-color: var(--color-primary); }
.ac-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); font-size: var(--text-xs); }
.ac-checks li { display: flex; gap: var(--space-2); align-items: flex-start; }
.ac-checks li svg { flex: none; margin-top: var(--space-0-5); }
.ac-checks li.ok svg { color: var(--color-success-strong); }
.ac-checks li.bad svg { color: var(--color-warning); }
.ac-checks li.wait svg { color: var(--color-text-2); }
.ac-checks li.tip svg { color: var(--color-ai); }
.ac-suggest { border-color: var(--color-ai-border); background: linear-gradient(180deg, var(--color-ai-subtle), var(--color-surface) 120px); }
.ac-suggest h3 { display: flex; gap: var(--space-1-5); align-items: center; color: var(--color-ai); }
.ac-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.ac-flow > div { display: flex; flex-direction: column; gap: var(--space-0-5); padding: var(--space-3) var(--space-4); border-left: 1px solid var(--color-border); }
.ac-flow > div:first-child { border-left: 0; }
.ac-flow span { font-size: var(--text-xs); color: var(--color-text-2); }
.ac-flow b { font-size: 20.5px; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.ac-flow small { font-size: var(--text-xs); color: var(--color-text-2); }
.ac-flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-3); }
.ac-row { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); padding: 3px 0; border-bottom: 1px dashed var(--color-border); }
.ac-row a { color: inherit; }
.ac-row a:hover { color: var(--color-primary); }
.ac-row .num { white-space: nowrap; }
div.ac-total { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--text-xs); padding: var(--space-1-5) 0 0; }
div.ac-total b { font-variant-numeric: tabular-nums; white-space: nowrap; }
div.ac-total--grand { border-top: 2px solid var(--color-border-strong); margin-top: var(--space-1-5); }
tr.ac-total th, tr.ac-total td { font-weight: var(--weight-bold); }
.ac-code { color: var(--color-text-2); font-variant-numeric: tabular-nums; font-size: var(--text-xs); margin-right: var(--space-0-5); }
.ac-what { margin: 0 0 var(--space-2-5); }
.ac-lines tfoot th, .ac-compare tfoot th, .ac-trial tfoot th { border-top: 2px solid var(--color-border-strong); }
.ac-group th { background: var(--color-surface-2); font-size: var(--text-xs); color: var(--color-text-2); }
.ac-sub th, .ac-sub td { font-weight: var(--weight-semibold); }
.ac-gap th, .ac-gap td { border-top: 2px solid var(--color-border-strong); }
.ac-grouprow td { font-weight: var(--weight-semibold); background: var(--color-surface-2); }
.ac-off td { color: var(--color-text-muted); }
.ac-depth-0 { padding-left: var(--space-2-5) !important; }
.ac-depth-1 { padding-left: var(--space-6) !important; }
.ac-depth-2 { padding-left: 38px !important; }
.ac-depth-3 { padding-left: 52px !important; }
.ac-depth-4 { padding-left: 66px !important; }
.ac-open td { color: var(--color-text-2); font-style: italic; }
.ac-months th small { font-weight: var(--weight-regular); }
.ac-pager { display: flex; gap: var(--space-2); align-items: center; justify-content: flex-end; margin-top: var(--space-2); }
.ac-head { display: grid; grid-template-columns: 170px auto minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.ac-head .field { margin: 0; }
.ac-head .field__label { display: block; margin: 0 0 var(--space-1-5); }
.ac-entry .select { min-width: 190px; }
.ac-entry select[name="l_party"] { min-width: 0; width: 140px; }
.ac-entry select[name="l_area"] { min-width: 0; width: 120px; }
.ac-entry input[name="l_memo"] { min-width: 100px; }
.ac-entry td, .ac-entry th { padding-left: var(--space-1-5); padding-right: var(--space-1-5); }
.plx:has(.ac-entry) { grid-template-columns: minmax(0, 1fr); }
.ac-entry input.num { text-align: right; width: 104px; }
.ac-kept { display: flex; align-items: center; gap: var(--space-1-5); flex-wrap: wrap; margin: 0 0 var(--space-1-5); font-size: var(--text-sm); }
.ac-total__name { display: none; }
.ac-check { display: flex; gap: var(--space-1-5); align-items: center; margin: 0 0 var(--space-2); padding: var(--space-1-5) var(--space-2-5); border-radius: var(--radius-md); font-size: var(--text-sm); }
.ac-check.is-ok { background: var(--color-success-subtle, var(--color-surface)); color: var(--color-success-strong); border: 1px solid var(--color-success-border); }
.ac-check.is-off { background: var(--color-warning-subtle); color: var(--color-warning-strong); border: 1px solid var(--color-warning-border); }
.rc-returns { list-style: none; margin: calc(-1 * var(--space-1)) 0 var(--space-2); padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ac-many { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin: 0 0 var(--space-2); }
.ac-drafts__lines { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 2px var(--space-3); margin: var(--space-1) 0; font-size: var(--text-sm); }
.ac-drafts__line { display: contents; }
.ac-drafts__line > span:not(:first-child) { text-align: right; white-space: nowrap; }
.ac-drafts__line--head > span { color: var(--color-text-2); font-size: var(--text-xs); }
.ac-returned { display: flex; gap: var(--space-1-5); align-items: flex-start; margin-top: var(--space-1-5); padding: var(--space-2) var(--space-2-5); border: 1px solid var(--color-warning-border); border-radius: var(--radius-md); background: var(--color-warning-subtle); font-size: var(--text-sm); text-align: left; }
.ac-returned__go { margin-top: var(--space-1-5); }
.ac-drafts__decide { display: flex; gap: var(--space-1-5); justify-content: flex-end; align-items: flex-start; flex-wrap: wrap; }
.ac-drafts__confirm { display: flex; flex-direction: column; gap: var(--space-1-5); margin-top: var(--space-2); align-items: flex-end; }
@media (max-width: 767px) {
.ac-drafts { padding-bottom: 72px; }
.ac-drafts .ac-drafts__what { text-align: left; }
.ac-drafts.as-cajas > .table > tbody > tr > .caja__titulo { flex: 1 1 calc(100% - 44px); }
.ac-drafts.as-cajas > .table > tbody > tr > .caja__estado { order: 5; }
.ac-drafts .caja__titulo .ac-drafts__lines, .ac-drafts .caja__titulo .ac-returned { font-weight: var(--weight-regular); font-size: var(--text-sm); }
.ac-drafts .caja__titulo .chip { font-weight: var(--weight-regular); }
.ac-drafts .ac-drafts__decide { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.ac-drafts .ac-drafts__decide .btn, .ac-drafts .ac-drafts__decide summary.btn { min-height: 44px; width: 100%; justify-content: center; }
.ac-returned { width: 100%; }
}
@media (max-width: 767px) {
.as-cards > .table.ac-entry > tbody > tr > td:first-child::before { content: attr(data-label); display: block; margin-bottom: var(--space-1); }
.ac-entry tfoot tr { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.ac-entry tfoot td:first-child { flex-basis: 100%; }
.ac-entry tfoot td:empty { display: none; }
.ac-entry tfoot th.num-col { display: inline-flex; gap: var(--space-1); }
.ac-total__name { display: inline; font-weight: var(--weight-regular); color: var(--color-text-2); }
.ac-entry tfoot th.num-col + th.num-col::before { content: "·"; color: var(--color-text-2); margin-right: var(--space-1); }
}
.ac-balance { margin: var(--space-2) 0 0; font-size: var(--text-xs); display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; min-height: 22px; }
.ac-balance.ok { color: var(--color-success-strong); }
.ac-balance.bad { color: var(--color-warning-strong); }
.ac-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-3); }
.ac-close { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); flex-wrap: wrap; }
.ac-close .card__title { margin-bottom: var(--space-1-5); }
.ac-edit { display: inline-block; position: relative; }
.ac-find { max-width: 360px; margin: 0 0 var(--space-2); }
.ac-name > summary { display: inline-flex; align-items: center; gap: var(--space-1); }
.ac-name__pen { opacity: 0; color: var(--color-text-2); transition: opacity .12s; }
tr:hover .ac-name__pen, .ac-name > summary:focus-visible .ac-name__pen, .ac-name[open] .ac-name__pen { opacity: 1; }
.ac-edit summary { list-style: none; cursor: pointer; }
.ac-edit summary::-webkit-details-marker { display: none; }
.ac-edit__box { position: absolute; right: 0; top: 100%; z-index: 5; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2-5); width: 340px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.ac-edit__row { display: flex; gap: var(--space-1-5); }
.ac-edit--left .ac-edit__box { right: auto; left: 0; max-width: calc(100vw - 32px); }
.ac-edit__box { max-width: calc(100vw - 32px); }
.ac-edit--up > .ac-edit__box { top: auto; bottom: calc(100% + 4px); }
.table-wrap:has(.ac-edit[open]) { overflow: visible; }
.ac-sys { color: var(--color-ai); display: inline-flex; vertical-align: -1px; }
.ac-param { max-width: 720px; }
.ac-param__t { font-size: 15px; font-weight: var(--weight-bold); margin: 0 0 var(--space-1); }
.ac-param__form { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-3); }
.ac-param__form .field { margin: 0; max-width: 420px; }
.ac-param__steps { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--space-1-5); font-size: 13.5px; }
.ac-param__steps .btn { margin-left: var(--space-1-5); vertical-align: middle; }
.ac-param__none { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); border-top: 1px solid var(--color-border); padding-top: var(--space-3); margin-top: var(--space-3); }
.ac-param__lives { border: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-1-5) var(--space-3); max-width: none !important; }
.ac-param__lives legend { grid-column: 1 / -1; }
.ac-param__life { display: flex; align-items: center; gap: var(--space-2); }
.ac-param__life label { flex: 1; }
.ac-param__life .input { width: 72px; }
.ac-param__read { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-1-5) var(--space-4); margin: 0; font-size: 13.5px; }
.ac-param__read dt { color: var(--color-text-2); }
.ac-param__read dd { margin: 0; }
.ac-missing { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--color-warning-strong); vertical-align: 2px; margin-left: var(--space-0-5); }
.ac-row--2 { display: grid; grid-template-columns: minmax(0, 1fr) 130px 130px; gap: var(--space-2); align-items: baseline; }
.ac-row--2 > :nth-child(n+2) { text-align: right; white-space: nowrap; }
.ac-row--head { border-bottom: 0; font-size: var(--text-xs); color: var(--color-text-2); padding-bottom: 0; }
.ac-subtitle { margin: var(--space-4) 0 var(--space-2); font-size: 13.5px; }
@media (max-width: 767px) { .ac-desc { min-width: 220px; } }
.ac-journal .ac-line { width: 100%; max-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) { .ac-journal .ac-line { max-width: none; min-width: 220px; white-space: normal; } }
.ac-st__toggle { display: none; }
@media (max-width: 767px) {
.ac-st__toggle { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-1-5); }
.ac-st .as-cards .ac-note { display: none !important; }
.ac-st--compact:not(.is-all) .as-cards .ac-cmp { display: none !important; }
.ac-st--compact:not(.is-all) .as-cards > .table > tbody > tr { display: flex; align-items: baseline; gap: var(--space-2-5); padding: 5px var(--space-2-5); margin-bottom: var(--space-1); }
.ac-st--compact:not(.is-all) .as-cards > .table > tbody > tr > td:first-child { flex: 1 1 auto; min-width: 0; padding: 0; }
.ac-st--compact:not(.is-all) .as-cards > .table > tbody > tr > td:last-child { flex: none; padding: 0; }
.ac-st--compact:not(.is-all) .as-cards > .table > tbody > tr > td:last-child::before { content: none; }
.ac-st .as-cards > .table > tbody > tr.ac-group { background: transparent; border: 0; padding: var(--space-2) var(--space-0-5) 0; font-weight: var(--weight-semibold); color: var(--color-text-2); }
.ac-st .as-cards > .table > tbody > tr.ac-subtotal, .ac-st .as-cards > .table > tbody > tr.ac-total { font-weight: var(--weight-bold); }
.as-cards > .table.ac-journal > tbody > tr { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2-5); padding: var(--space-1-5) var(--space-2-5); margin-bottom: var(--space-1); }
.as-cards > .table.ac-journal > tbody > tr > td { padding: 0; }
.as-cards > .table.ac-journal > tbody > tr > td::before { content: none; }
.as-cards > .table.ac-journal > tbody > tr > td:first-child { display: inline; padding: 0; color: var(--color-text-2); }
.as-cards > .table.ac-journal > tbody > tr > td.ac-line { display: block; order: 5; flex: 1 0 100%; min-width: 0; text-align: left; }
.as-cards > .table.ac-journal > tbody > tr > td.num-col { margin-left: auto; }
.as-cards > .table.ac-journal > tbody > tr > td.ac-who { display: none; }
}
.ac-buckets, .ac-soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); overflow: hidden; }
.ac-buckets > div, .ac-soon > div { display: flex; flex-direction: column; gap: var(--space-0-5); padding: var(--space-2-5) var(--space-3-5); border-left: 1px solid var(--color-border); }
.ac-buckets > div:first-child, .ac-soon > div:first-child { border-left: 0; }
.ac-buckets span, .ac-soon span { font-size: var(--text-xs); color: var(--color-text-2); }
.ac-buckets b, .ac-soon b { font-size: 16.5px; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.ac-buckets .is-last b, .ac-soon .is-due b { color: var(--color-danger); }
@media (max-width: 1023px) { .ac-flow, .ac-flow3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ac-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .ac-flow, .ac-flow3 { grid-template-columns: minmax(0, 1fr); } .ac-flow > div { border-left: 0; border-top: 1px solid var(--color-border); } }
.ac-wizard { margin-bottom: var(--space-3); }
.ac-wizard__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-2-5); }
.ac-wizard__head .card__title { display: flex; gap: var(--space-2); align-items: center; margin: 0 0 var(--space-1); }
.ac-wizard__head p { margin: 0; }
.ac-wizard__bar { flex: 0 0 220px; height: 8px; border-radius: var(--radius-full); background: var(--color-surface-2); overflow: hidden; }
.ac-wizard__bar span { display: block; height: 100%; border-radius: var(--radius-full); background: var(--color-success); }
.ac-wizard__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ac-wizard__steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--space-3); align-items: start; padding: var(--space-2-5) var(--space-1); border-top: 1px solid var(--color-border); }
.ac-wizard__steps li:first-child { border-top: 0; }
.ac-wizard__steps li.is-now { background: var(--color-primary-subtle); border-radius: var(--radius-xl); padding: var(--space-2-5) var(--space-2-5); border-top-color: transparent; }
.ac-wizard__steps li.is-now + li { border-top-color: transparent; }
.ac-wizard__n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--radius-full); background: var(--color-surface-2); color: var(--color-text-2); font-weight: var(--weight-bold); font-size: var(--text-xs); }
.ac-wizard__steps li.is-done .ac-wizard__n { background: var(--color-success); color: var(--color-text-inverse); }
.ac-wizard__steps li.is-now .ac-wizard__n { background: var(--color-primary); color: var(--color-text-inverse); }
.ac-needs { margin: var(--space-1) 0 0; padding-left: 18px; }
.ac-wizard__steps li.is-warn .ac-wizard__n { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.ac-wizard__title { margin: var(--space-0-5) 0 0; font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.ac-wizard__steps li.is-todo .ac-wizard__title { color: var(--color-text-2); font-weight: var(--weight-medium); }
.ac-wizard__why { margin: var(--space-0-5) 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.ac-wizard__detail { margin: var(--space-1-5) 0 0; padding-left: 18px; font-size: var(--text-xs); color: var(--color-warning-strong); }
.ac-wizard__detail li { display: list-item; padding: 1px 0; border: 0; white-space: pre-wrap; }
.ac-wizard__act { display: flex; gap: var(--space-1-5); align-items: center; justify-content: flex-end; }
.ac-wizard__act form { display: inline; }
.ac-wizard__foot { display: flex; gap: var(--space-1-5); align-items: center; margin: var(--space-2-5) 0 0; }
@media (max-width: 640px) {
.ac-wizard__bar { flex-basis: 100%; }
.ac-wizard__steps li { grid-template-columns: 26px minmax(0, 1fr); }
.ac-wizard__act { grid-column: 2; justify-content: flex-start; }
}
.ac-review { margin-top: var(--space-3); padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-xl); background: var(--color-success-subtle); }
.ac-review.is-bad { background: var(--color-warning-subtle); }
.ac-review__head { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; font-size: var(--text-xs); }
.ac-review__head svg { flex: none; margin-top: var(--space-0-5); color: var(--color-success-strong); }
.ac-review.is-bad .ac-review__head svg { color: var(--color-warning); }
.ac-review__list { margin: var(--space-1-5) 0 0 var(--space-6); padding: 0; font-size: var(--text-xs); }
.ac-review__list ul { margin: var(--space-0-5) 0 0 var(--space-3-5); padding: 0; color: var(--color-text-2); }
.ac-review__act { display: flex; gap: var(--space-1-5); flex-wrap: wrap; margin-top: var(--space-2); }
.ac-review__act form { display: inline; }
.ac-extracts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ac-extracts li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-2-5) 0; border-top: 1px solid var(--color-border); }
.ac-extracts li:first-child { border-top: 0; }
.ac-extracts li svg { vertical-align: -2px; }
.ac-extracts__form label { cursor: pointer; }
.brand-word { display: inline-block; width: 2.98em; height: 0.74em; vertical-align: -0.04em; margin: 0 0.06em; background: url("tria-palabra.cb72edc6ed78.png") no-repeat center / contain; }
.sidebar .brand-word, .toast .brand-word, .btn--primary .brand-word, .btn--danger .brand-word { background-image: url("tria-palabra-clara.5b7d807d1699.png"); }
.toast--info .brand-word { background-image: url("tria-palabra.cb72edc6ed78.png"); }
.ac-wizard__notice { list-style: none; padding-left: 0; color: var(--color-text-2); }
.ac-wizard__notice li { display: flex; gap: var(--space-1); align-items: baseline; }
.chat-thread { display: flex; flex-direction: column; gap: var(--space-2-5); max-height: calc(var(--alto-pantalla, 100vh) * .6); overflow-y: auto; padding: var(--space-3); margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.chat-msg { max-width: 72%; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-xl); background: var(--color-neutral-100); }
.chat-msg.is-office { align-self: flex-end; background: var(--color-primary-subtle); }
.chat-msg.is-resident { align-self: flex-start; }
.chat-msg__body { overflow-wrap: break-word; }
.chat-msg__meta { margin-top: var(--space-1); font-size: var(--text-xs); color: var(--color-text-2); }
.chat-reply { display: flex; flex-direction: column; gap: var(--space-2); max-width: 880px; }
.table tr.is-unread td { font-weight: var(--weight-semibold); }
.patrol-points { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.patrol-point { display: flex; flex-direction: column; padding: var(--space-2) var(--space-3); border-radius: var(--radius-xl); border: 1px solid var(--color-success-border); background: var(--color-success-subtle); min-width: 150px; font-size: var(--text-base); }
.patrol-point.is-late { background: var(--color-danger-subtle); border-color: var(--color-danger-border); }
.patrol-point small { color: var(--color-text-2); font-size: var(--text-xs); }
.patrol-legend { display: flex; align-items: flex-start; gap: var(--space-1-5); margin: var(--space-1-5) 0 0; }
.patrol-legend__dot { flex: none; margin-top: 3px; width: 12px; height: 12px; border-radius: var(--radius-sm); background: var(--color-danger-subtle); border: 1px solid var(--color-danger-border); }
.shift-log { list-style: none; margin: var(--space-2) 0 0; padding: 0; font-size: var(--text-base); }
.shift-log li { display: flex; gap: var(--space-3); padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.shift-log li:first-child { border-top: 0; }
.shift-log time { flex: none; width: 44px; color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.shift-log--hours time { width: 6.5em; white-space: nowrap; }
@media (max-width: 560px) {
.shift-log--hours li { flex-direction: column; gap: 2px; }
.shift-log--hours time { width: auto; font-size: var(--text-sm); }
}
.shift-log__icon { display: inline-flex; vertical-align: -2px; margin-right: var(--space-1); color: var(--color-text-2); }
.round-laps { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.round-laps > li { border-top: 1px solid var(--color-border); }
.round-laps > li:first-child { border-top: 0; }
.round-laps summary { display: flex; gap: var(--space-3); align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.round-laps summary::-webkit-details-marker { display: none; }
.round-laps summary time { flex: none; width: 6.5em; color: var(--color-text-2); white-space: nowrap; }
.round-laps .shift-log { margin: 0 0 var(--space-2) var(--space-4); }
.shift-log--clock time { width: auto; min-width: 6.5em; white-space: nowrap; }
.incident-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 var(--space-4); }
.incident-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.incident-gallery { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.incident-gallery img { width: 160px; height: 120px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
@media (max-width: 560px) {
.incident-photos .photo-box { flex-direction: column; padding: var(--space-2); gap: var(--space-1); font-size: var(--text-xs); text-align: center; }
}
.pc-receipt { display: inline-flex; width: 56px; height: 56px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-neutral-100); align-items: center; justify-content: center; }
.pc-receipt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-receipt__pdf { display: flex; flex-direction: column; align-items: center; gap: var(--space-0-5); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.binder-bar { display: flex; align-items: center; gap: var(--space-2-5) var(--space-3-5); flex-wrap: wrap; padding: var(--space-2-5) var(--space-3-5); margin-bottom: var(--space-3); }
.binder-bar__what { display: inline-flex; align-items: center; gap: var(--space-1-5); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--space-3); }
.brand-card { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.brand-card__img { flex: none; width: 132px; height: 64px; display: grid; place-items: center; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-paper); padding: var(--space-1-5); }
.brand-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-card__body { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 0; }
.brand-card__ask { max-width: 100%; height: auto; min-height: 32px; white-space: normal; text-align: left; }
.mail-start { max-width: 760px; }
.mail-points { list-style: none; margin: var(--space-1-5) 0 var(--space-3); padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.mail-points li { display: flex; gap: var(--space-2); align-items: flex-start; }
.mail-points li > svg { flex: none; margin-top: 3px; color: var(--color-success); }
.mail-connect { display: flex; flex-direction: column; gap: var(--space-3); max-width: 880px; }
.mail-connect__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-2) var(--space-3); margin-top: var(--space-2); }
.mail-connect__grid--servers { grid-template-columns: 2fr 90px 2fr 90px; }
.mail-connect__wide { grid-column: 1 / -1; max-width: 420px; }
.mail-connect__more { margin-top: var(--space-2); }
.mail-connect__more summary { cursor: pointer; font-size: var(--text-sm); color: var(--color-primary); }
.mail-connect__actions { display: flex; justify-content: flex-end; gap: var(--space-2); }
.mail-policy { max-height: 220px; overflow-y: auto; padding: var(--space-2-5) var(--space-3); margin: var(--space-1-5) 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); }
.mail-policy p { margin: 0 0 var(--space-1-5); }
.mail-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
.mail-search { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.mail-search .input { width: 300px; max-width: 100%; }
.mail-search .select { width: 220px; max-width: 100%; }
.mail-filtered { margin: 0 0 var(--space-2); }
.mail-list__condo { display: flex; gap: var(--space-1); align-items: center; margin-top: var(--space-0-5); }
.mail-late { margin: 0 0 var(--space-2); color: var(--color-danger-strong); font-size: var(--text-sm); font-weight: var(--weight-semibold); display: flex; gap: var(--space-1-5); align-items: center; }
.mail-list__who { overflow-wrap: anywhere; }
.mail-list__snippet { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 680px; }
.mail-read { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--space-3); align-items: start; }
.mail-thread { display: flex; flex-direction: column; gap: var(--space-2); }
.mail-msg { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); padding: var(--space-2-5) var(--space-3-5); }
.mail-msg.is-sent { background: var(--color-primary-subtle); border-color: var(--color-primary-subtle); }
.mail-msg__head { display: flex; justify-content: space-between; gap: var(--space-2); padding-bottom: var(--space-1-5); margin-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); }
.mail-msg__body { overflow-wrap: break-word; line-height: 1.5; }
.mail-files { list-style: none; margin: var(--space-2-5) 0 0; padding: var(--space-2) 0 0; border-top: 1px dashed var(--color-border); display: flex; flex-wrap: wrap; gap: var(--space-1-5) var(--space-4); font-size: var(--text-sm); }
.mail-files a { display: inline-flex; gap: var(--space-1); align-items: center; }
.mail-who { gap: var(--space-2); }
.mail-who li { display: block; min-height: 0; }
.mail-reply { display: flex; flex-direction: column; gap: var(--space-1-5); max-width: 880px; margin-top: var(--space-3); }
.mail-reply__to { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.mail-reply__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.mail-reply--new .mail-reply__foot { justify-content: flex-end; }
.mail-side { display: flex; flex-direction: column; gap: var(--space-2); }
.mail-summary { margin-bottom: var(--space-3); max-width: 880px; }
.mail-asks { margin: 0; padding-left: 18px; }
.mail-asks li { margin: var(--space-0-5) 0; }
.mail-link { margin: 0; overflow-wrap: anywhere; }
.mail-actions { display: flex; flex-wrap: wrap; gap: var(--space-1-5); }
.mail-draft { max-width: 880px; }
.mail-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-3); align-items: end; }
.mail-choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.mail-linked { padding: var(--space-2-5) var(--space-3-5); margin-top: var(--space-2); }
.mail-linked > summary { cursor: pointer; list-style: none; }
.mail-linked > summary::-webkit-details-marker { display: none; }
.mail-linked[open] > summary { margin-bottom: var(--space-2); }
.mail-linked .mail-msg { margin-top: var(--space-2); }
.wa-chat { display: flex; flex-direction: column; gap: var(--space-1-5); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #EFEAE2; min-height: 240px; }
.wa-msg { max-width: 78%; padding: var(--space-1-5) var(--space-2-5) var(--space-1); border-radius: var(--radius-xl); background: var(--color-paper); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); overflow-wrap: break-word; }
.wa-msg.is-in { align-self: flex-start; border-top-left-radius: 2px; }
.wa-msg.is-out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.wa-msg.is-auto { background: #F0F4F8; font-style: italic; }
.wa-msg__text { line-height: 1.45; }
.wa-msg__file { display: inline-flex; gap: var(--space-1); align-items: center; margin-top: var(--space-1); font-size: var(--text-sm); }
.wa-msg__meta { margin-top: var(--space-0-5); font-size: var(--text-xs); color: var(--color-text-2); text-align: right; }
.wa-assign { display: flex; gap: var(--space-1-5); margin-top: var(--space-2); }
.wa-assign .select { flex: 1; min-width: 0; }
.wa-template { margin-top: var(--space-3); max-width: 880px; }
.wa-template__option { display: flex; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-2); }
.wa-template__params { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-2); align-items: end; }
.wa-members { max-height: 180px; overflow: auto; }
@media (max-width: 640px) { .wa-msg { max-width: 92%; } .wa-template__params { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .mail-read { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
.mail-connect__grid--servers, .mail-reply__to { grid-template-columns: 1fr; }
.mail-msg__head { flex-direction: column; }
.mail-search .input, .mail-search .select { width: 100%; }
}
.cover-card { display: flex; gap: var(--space-3); align-items: flex-start; flex-wrap: wrap; }
.cover-card__img { flex: none; width: 240px; height: 120px; border-radius: var(--radius-md); overflow: hidden; background: var(--color-brand); display: grid; place-items: center; padding: 0; }
.cover-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cover-card__img .small { color: var(--color-border-strong); padding: 0 var(--space-3); text-align: center; }
.report-how { margin: 0 0 var(--space-3); display: flex; gap: var(--space-1-5); align-items: flex-start; }
.report-how svg { flex: none; margin-top: var(--space-0-5); }
.report-block { max-width: 1100px; margin-bottom: var(--space-3); }
.report-text { width: 100%; line-height: 1.55; }
.report-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); flex-wrap: wrap; }
.report-subtitle { font-size: var(--text-sm); font-weight: var(--weight-bold); margin: var(--space-3) 0 var(--space-1); }
.report-para { margin: 0; white-space: pre-line; }
.report-lines { margin: var(--space-1) 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: var(--space-1); }
.photo-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--space-2-5); margin-top: var(--space-2); }
.photo-pick__item { position: relative; display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-1-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); cursor: pointer; }
.photo-pick__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); background: var(--color-neutral-100); }
.photo-pick__item:has(input:checked) { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary-subtle); }
.photo-pick__item.is-private { border-style: dashed; }
.photo-pick__item.is-upload { cursor: default; }
.photo-pick__check { position: absolute; top: 12px; left: 12px; background: var(--color-paper); border-radius: var(--radius-sm); line-height: 0; padding: 3px; }
.photo-pick__caption { font-size: var(--text-xs); line-height: 1.35; color: var(--color-text); overflow-wrap: break-word; }
.photo-pick__pie { width: 100%; margin-top: var(--space-1-5); font-size: var(--text-sm); }
.photo-pick__tag { font-size: var(--text-xs); color: var(--color-text-2); }
.photo-pick__input { width: 100%; height: 30px; font-size: var(--text-xs); }
.photo-pick__actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-1); flex-wrap: wrap; }
.report-block .input--sm { max-width: none; margin-left: 0; text-align: left; }
.report-upload { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; margin-top: var(--space-3); }
.report-upload .input { width: 280px; max-width: 100%; }
.report-section { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3); margin-top: var(--space-2); background: var(--color-surface-2); }
.report-section--new { border-style: dashed; background: transparent; }
.report-section__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-2); }
.ver-como { position: fixed; left: var(--space-3); bottom: var(--space-3); z-index: 60; display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; box-shadow: var(--shadow-md); font-size: var(--text-xs); opacity: .85; }
.ver-como:hover, .ver-como:focus-within { opacity: 1; }
.ver-como form { display: inline-flex; }
.ver-como__quien { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2); color: var(--color-text-2); text-decoration: none; border-radius: 999px; }
.ver-como__quien:hover { background: var(--color-surface-2); }
.ver-como__volver { padding: var(--space-1) var(--space-2-5); border: 0; border-radius: 999px; background: var(--color-primary); color: var(--color-text-inverse); font: inherit; font-weight: var(--weight-semibold); cursor: pointer; }
body:has(.app__nav) .ver-como { bottom: calc(76px + env(safe-area-inset-bottom)); }
.topbar .ver-como { position: static; flex: none; box-shadow: none; opacity: 1; }
.photo-staged { position: relative; display: block; }
.photo-stage { position: absolute; left: 6px; top: 6px; padding: 1px var(--space-2); border-radius: var(--radius-full); background: rgba(3, 11, 31, 0.78); color: var(--color-text-inverse); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.photo-when { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-0-5) var(--space-1-5); background: rgba(3, 11, 31, 0.66); color: var(--color-text-inverse); font-size: var(--text-xs); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-guide { display: flex; align-items: center; gap: var(--space-2); }
.photo-guide img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius-md); flex: none; }
.st-adjust .field + .field { margin-top: 0; }
.st-adjust .input--sm { margin-left: 0; }
.st-adjust .input--sm:not(.num) { max-width: none; text-align: left; }
.sg-list { display: flex; flex-direction: column; gap: var(--space-3); }
.rc-group { margin-top: var(--space-2); }
.toolbar .rc-month { width: auto; flex: none; }
.err-trace { margin: 0; padding: var(--space-3); background: var(--color-surface-2); border-radius: var(--radius-md); font-size: var(--text-xs); line-height: 1.5; white-space: pre-wrap; word-break: break-word; max-height: 420px; overflow: auto; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.watch-how { margin-top: var(--space-3); font-size: var(--text-sm); }
.watch-how > summary { cursor: pointer; color: var(--color-primary); }
.watch-how ol { margin: var(--space-2) 0 0; padding-left: var(--space-5); display: grid; gap: var(--space-1-5); }
.watch-url { display: inline-block; margin-top: var(--space-1); word-break: break-all; font-size: var(--text-xs); }
.support-shot { display: block; max-width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.news-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 1100px; }
.news { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr; }
.news.has-img { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.news__img { display: block; width: 100%; height: 100%; max-height: 300px; object-fit: cover; object-position: top left; border-right: 1px solid var(--color-border); background: var(--color-surface-2); }
.news__body { padding: var(--space-3) var(--space-4); }
.news__meta { margin: 0 0 var(--space-1); font-size: var(--text-sm); color: var(--color-text-2); }
.news__title { margin: 0 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.news__text { margin: 0; white-space: pre-line; }
@media (max-width: 760px) {
.news.has-img { grid-template-columns: 1fr; }
.news__img { height: auto; max-height: 380px; border-right: 0; border-bottom: 1px solid var(--color-border); }
}
.news-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-danger); display: inline-block; margin-left: var(--space-1); }
.news-areas { display: flex; flex-wrap: wrap; gap: var(--space-1-5) var(--space-4); }
.vis-card { margin-bottom: var(--space-3); }
.vis-list { list-style: none; margin: 0; padding: 0; }
.vis-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 300px); gap: var(--space-1-5) var(--space-3); align-items: center; padding: var(--space-2-5) 0; border-bottom: 1px solid var(--color-border); }
.vis-row:last-child { border-bottom: 0; }
.vis-row__text { margin: 0; }
.vis-row__shots { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.vis-row__shots:empty { display: none; }
.vis-shot { position: relative; margin: 0; display: block; }
.vis-shot img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.vis-shot .btn { position: absolute; top: -8px; right: -8px; height: 22px; padding: 0 5px; border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-border); }
.vis-cam { cursor: pointer; }
.vis-done__text .vis-row__shots { margin-top: var(--space-1-5); }
.vis-row__pick { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 240px; }
.vis-row__pick span { width: 100%; justify-content: center; height: 36px; }
.vis-pick--ok input:checked + span { background: var(--color-success); }
.vis-pick--bad input:checked + span { background: var(--color-danger); }
.vis-pick--na input:checked + span { background: var(--color-text-2); }
.vis-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.vis-photo { margin: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.vis-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.vis-photo figcaption { font-size: var(--text-sm); color: var(--color-text-2); }
.vis-photo .btn { align-self: flex-start; }
.vis-add { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: var(--space-2); align-items: end; }
.vis-add .field__label { grid-column: 1 / -1; margin: 0; }
.vis-actions { position: sticky; bottom: 0; display: flex; gap: var(--space-2); justify-content: flex-end; padding: var(--space-2) 0; background: var(--color-bg); border-top: 1px solid var(--color-border); z-index: 2; }
.vis-done { list-style: none; margin: 0; padding: 0; }
.vis-done li { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.vis-done li:last-child { border-bottom: 0; }
.vis-done__text { display: flex; flex-direction: column; }
.vis-done__text small { color: var(--color-text-2); }
@media (max-width: 760px) {
.vis-row { grid-template-columns: 1fr; }
.vis-row__pick span { height: 40px; }
.vis-add { grid-template-columns: 1fr; }
.vis-actions .btn { flex: 1; }
}
.voz-mic { margin-top: var(--space-1-5); gap: var(--space-1-5); }
.voz-mic svg { flex: none; color: var(--color-primary); }
.voz-mic.is-recording[data-dictar][aria-pressed] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.voz-mic.is-recording[data-dictar][aria-pressed] svg { color: inherit; }
.voz-fila { display: flex; align-items: stretch; gap: var(--space-2); }
.voz-fila > .input { flex: 1; min-width: 0; }
.voz-mic:not(.voz-mic--chico) { align-self: flex-start; justify-self: start; }
.voz-mic--chico { flex: none; justify-content: center; width: 2.75rem; margin-top: 0; padding: 0; }
@media (max-width: 760px) { .voz-mic--chico { width: 44px; } }
@media (prefers-reduced-motion: no-preference) { .voz-mic.is-recording[data-dictar][aria-pressed] svg { animation: voz-escucha 1.2s ease-in-out infinite; } }
@keyframes voz-escucha { 50% { opacity: .4; } }
.leer-btn { gap: var(--space-1-5); flex: none; }
.leer-btn svg { flex: none; color: var(--color-primary); }
.leer-btn.is-reading[data-leer][aria-pressed] { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.leer-btn.is-reading[data-leer][aria-pressed] svg { color: inherit; }
@media (max-width: 760px), (pointer: coarse) { .leer-btn { min-height: 44px; min-width: 44px; } }
.campo-leer { margin: 0 0 var(--space-2-5); }
.campo-job__body .leer-btn, .campo-hoja > .leer-btn { align-self: flex-start; margin-top: var(--space-1-5); }
.incident-gallery--note { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-1-5); }
.incident-gallery--note img { width: 88px; height: 66px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.shift-camera { position: relative; cursor: pointer; }
.shift-camera input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.shift-camera:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.shift-camera__count { flex-basis: 100%; }
.round-seen { margin-top: var(--space-3); text-align: left; }
.round-seen > summary { list-style: none; width: 100%; justify-content: center; }
.round-seen > summary::-webkit-details-marker { display: none; }
.res-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.res-photos__title { font-size: var(--text-base); font-weight: var(--weight-semibold); margin: 0 0 var(--space-1-5); }
@media (max-width: 640px) { .res-photos { grid-template-columns: 1fr; } }
.pf-dot { width: 8px; height: 8px; border-radius: var(--radius-full); display: inline-block; background: var(--color-border-strong); flex: none; }
.pf-dot--ok { background: var(--color-success); }
.pf-dot--warn { background: var(--color-warning); }
.pf-dot--bad { background: var(--color-danger); }
.pf-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.pf-tips li { display: flex; gap: var(--space-2); align-items: baseline; justify-content: space-between; }
.pf-tips li span { display: inline-flex; gap: var(--space-2); align-items: baseline; }
.pf-rules { margin: 0; padding-left: 18px; font-size: var(--text-xs); color: var(--color-text-2); display: flex; flex-direction: column; gap: 3px; }
.rb-search { display: flex; gap: var(--space-2); align-items: center; position: relative; max-width: 720px; }
.rb-search .input { padding-left: 36px; flex: 1; min-width: 0; }
.rb-search__icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--color-text-2); pointer-events: none; display: flex; }
.rb-chapter { margin-top: var(--space-4); }
.rb-chapter__title { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-text-2); text-transform: none; margin: 0 0 var(--space-2); }
.rb-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.rb-art + .rb-art { border-top: 1px solid var(--color-border); }
.rb-art details > summary { cursor: pointer; padding: var(--space-2-5) var(--space-3-5); display: flex; flex-direction: column; gap: var(--space-0-5); list-style: none; }
.rb-art details > summary::-webkit-details-marker { display: none; }
.rb-art details > summary small { color: var(--color-text-2); font-size: var(--text-xs); }
.rb-art details[open] > summary { background: var(--color-surface-2); }
.rb-art details > :not(summary) { margin: 0 var(--space-3-5); }
.rb-art details > a { display: inline-flex; gap: var(--space-1); align-items: center; margin-bottom: var(--space-2-5); }
.rb-snip { color: var(--color-text-2); font-size: var(--text-sm); line-height: 1.45; }
.rb-art details[open] .rb-snip { display: none; }
.rb-text { white-space: pre-line; line-height: 1.55; font-size: var(--text-base); padding: var(--space-1-5) 0 var(--space-2-5); }
.rb-text--clip { max-height: 7.8em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.rb-review { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.rb-row { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); padding: var(--space-2-5) var(--space-3-5); }
.rb-row__head { display: flex; gap: var(--space-2); align-items: flex-start; }
.rb-row__head > div { flex: 1; min-width: 0; }
.rb-row__head small { display: block; color: var(--color-text-2); font-size: var(--text-xs); margin-top: var(--space-0-5); }
.rb-edit > summary { list-style: none; display: inline-flex; }
.rb-edit > summary::-webkit-details-marker { display: none; }
.rb-edit[open] > summary { margin-bottom: var(--space-2); }
.rb-edit__grid { display: grid; grid-template-columns: 120px 1fr 1fr; gap: var(--space-2); align-items: end; }
.rb-edit__grid .field { margin: 0; }
@media (max-width: 720px) { .rb-edit__grid { grid-template-columns: 1fr; } .rb-search { flex-wrap: wrap; } }
.rb-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-3) var(--space-3-5); color: inherit; text-decoration: none; }
.rb-link b { font-weight: var(--weight-medium); }
.rb-condos { display: flex; gap: var(--space-1-5); flex-wrap: wrap; margin: 0 0 var(--space-2-5); }
.lb-card { padding: var(--space-4); margin-bottom: var(--space-3); }
.lb-off { display: flex; gap: var(--space-3); align-items: center; color: var(--color-text-2); }
.lb-off b { color: var(--color-text); }
.lb-link { display: flex; gap: var(--space-2); max-width: 760px; }
.lb-link .input { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: var(--text-sm); }
.lb-actions { display: flex; gap: var(--space-2); margin-top: var(--space-3); flex-wrap: wrap; }
.lb-how ol { margin: var(--space-2) 0; padding-left: var(--space-5); display: grid; gap: var(--space-1); }
.lb-how p { margin: var(--space-1-5) 0 0; }
.lb-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 560px); gap: var(--space-3); align-items: start; }
.lb-main .lb-card:last-child { margin-bottom: 0; }
.lb-side { position: sticky; top: var(--space-3); }
.lb-head { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-3); }
.lb-head .section-title { margin: 0; }
.lb-head p { margin: var(--space-0-5) 0 0; }
.lb-ico { width: 36px; height: 36px; flex: none; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-primary-subtle); color: var(--color-primary); }
.lb-ico--messages { background: var(--color-primary-subtle); color: var(--color-primary); }
.lb-ico--notices { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.lb-ico--calendar { background: var(--color-success-subtle); color: var(--color-success-strong); }
.lb-ico--clock { background: var(--color-info-subtle); color: var(--color-info-strong); }
.lb-ico--logo, .lb-ico--footer, .lb-ico--look { background: var(--color-neutral-100); color: var(--color-neutral-700); }
.lb-sub { margin: var(--space-4) 0 var(--space-1-5); font-size: var(--text-xs); font-weight: var(--weight-semibold); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.lb-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.lb-row { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-2-5) var(--space-3); border-bottom: 1px solid var(--color-border); }
.lb-row:last-child { border-bottom: 0; }
.lb-row--off .lb-row__title, .lb-row--off .lb-ico { opacity: .55; }
.lb-row--star { background: var(--color-primary-subtle); }
.lb-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-0-5); }
.lb-row__title { font-weight: var(--weight-semibold); display: inline-flex; align-items: center; gap: var(--space-1-5); }
.lb-row__body { white-space: pre-line; }
.lb-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); }
.lb-row__acts { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.lb-row__acts form { margin: 0; }
.lb-star { color: var(--color-warning); display: inline-flex; }
.lb-move { display: inline-flex; gap: 2px; }
.lb-up { transform: rotate(180deg); }
.lb-show { white-space: nowrap; }
.lb-row .lb-msg-form { flex: 1; min-width: 0; }
.lb-empty { margin: 0; padding: var(--space-3); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-lg); color: var(--color-text-2); font-size: var(--text-sm); }
.lb-new { margin-top: var(--space-3); }
.lb-new > summary { list-style: none; }
.lb-new > summary::-webkit-details-marker { display: none; }
.lb-new[open] > summary { margin-bottom: var(--space-2); }
.lb-msg-form { padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.lb-row .lb-msg-form { padding: 0; border: 0; background: none; }
.lb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); }
.lb-form-grid .field { margin: 0; }
.lb-span2 { grid-column: 1 / -1; }
.lb-modes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-3); }
.lb-count { margin: var(--space-2) 0 0; }
.lb-inline { display: flex; align-items: center; gap: var(--space-1-5); margin-top: var(--space-1); }
.lb-inline .lb-days { width: 72px; margin-left: 0; text-align: left; }
.lb-welcome { margin-top: var(--space-1-5); }
.lb-place { margin: var(--space-1-5) 0 0; align-self: flex-start; }
.lb-place label > span { height: 28px; font-size: var(--text-xs); }
.lb-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.lb-looks .field { margin: 0; }
.lb-looks .segmented { display: flex; }
.lb-looks .segmented label { flex: 1; }
.lb-looks .segmented label > span { justify-content: center; width: 100%; }
.lb-save { margin-top: var(--space-4); display: flex; align-items: center; gap: var(--space-3); }
.lb-preview-card { margin-bottom: 0; }
.lb-preview-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.lb-preview-head .section-title { margin: 0; }
.lb-preview { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #050E24; box-shadow: var(--shadow-md); border: 6px solid #111827; }
.lb-preview iframe { display: block; width: 100%; height: 100%; border: 0; }
.lb-preview-note { margin: var(--space-2) 0 0; }
@media (max-width: 1180px) { .lb-layout { grid-template-columns: 1fr; } .lb-side { position: static; order: -1; max-width: 640px; } }
@media (max-width: 860px) { .lb-off { flex-wrap: wrap; } .lb-modes, .lb-form-grid, .lb-looks { grid-template-columns: 1fr; } .lb-row { flex-wrap: wrap; } .lb-row__acts { width: 100%; justify-content: flex-end; } }
.mark-due { display: flex; align-items: center; gap: var(--space-3); }
.mark-due > div { flex: 1; }
@media (max-width: 560px) { .mark-due { flex-wrap: wrap; } }
.shell--solo { grid-template-columns: minmax(0, 1fr); }
.shell--solo > .sidebar { display: none; }
.shell--solo > .main { grid-column: 1; }
.seg { display: inline-flex; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.seg a { display: inline-flex; align-items: center; gap: var(--space-1-5); padding: 7px var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); text-decoration: none; background: var(--color-surface); }
.seg a + a { border-left: 1px solid var(--color-border); }
.seg a[aria-current="page"] { color: var(--color-text-inverse); }
.kb { display: grid; gap: var(--space-3); overflow-x: auto; align-items: start; padding-bottom: var(--space-2); }
.kb__col { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-2-5); display: flex; flex-direction: column; gap: var(--space-2); min-height: 120px; }
.kb__head { margin: 0 0 var(--space-0-5); display: flex; align-items: center; justify-content: space-between; font-size: var(--text-sm); }
.kb__n { font-weight: var(--weight-bold); color: var(--color-text-2); }
.kb__card { display: flex; flex-direction: column; gap: 3px; padding: var(--space-2-5) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: inherit; text-decoration: none; }
.kb__card:hover { border-color: var(--color-primary); }
.kb__card.is-late { border-left: 3px solid var(--color-danger); }
.kb__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-1-5); font-size: var(--text-xs); }
.kb__title { font-weight: var(--weight-semibold); font-size: var(--text-base); line-height: 1.3; }
.kb__meta { font-size: var(--text-xs); color: var(--color-text-2); }
.kb__empty { margin: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.sin-partir { white-space: nowrap; }
.kb-tel { display: none; }
@media (max-width: 599px) {
.kb { display: none; }
.kb-tel { display: flex; flex-direction: column; gap: var(--space-4); }
.kb-tel__group { display: flex; flex-direction: column; gap: var(--space-2); }
.kb-tel__head { margin: 0; display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-base); }
.kb-tel .kb__card { min-height: 44px; }
}
.gt { display: flex; flex-direction: column; gap: var(--space-1-5); }
.gt__months { position: relative; height: 18px; margin-left: 180px; font-size: var(--text-xs); color: var(--color-text-2); text-transform: capitalize; }
.gt__months span { position: absolute; top: 0; border-left: 1px solid var(--color-border); padding-left: var(--space-1); white-space: nowrap; }
.gt__months span.is-end { transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--color-border); padding: 0 var(--space-1) 0 0; }
.gt__row { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: var(--space-2); align-items: center; }
.vp-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.vp-point { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; }
.vp-point__n { width: 26px; height: 26px; border-radius: 50%; background: var(--color-surface-2); color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); display: inline-flex; align-items: center; justify-content: center; }
.vp-point__tools { display: inline-flex; gap: var(--space-0-5); }
.vp-point__tools .btn { padding: var(--space-1) var(--space-1-5); min-height: 0; }
.vp-point__tools .btn:disabled { opacity: .35; cursor: default; }
.vp-add { align-self: flex-start; margin-top: var(--space-2); }
.vp-list { display: flex; flex-direction: column; }
.gt__name { font-size: var(--text-sm); font-weight: var(--weight-semibold); line-height: 1.2; }
.gt__row--open { width: 100%; padding: 3px var(--space-1); border: 0; border-radius: var(--radius-lg); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gt__row--open:hover { background: var(--color-surface-2); }
.gt__row--open:hover .gt__name { color: var(--color-primary); }
.gt__row--open:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.ob-stages__open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ob-stages__open:hover { color: var(--color-primary); text-decoration: underline; }
.ob-stage { display: flex; flex-direction: column; gap: var(--space-3); }
.ob-stage__head { display: flex; align-items: center; gap: var(--space-2-5); flex-wrap: wrap; }
.ob-stage__head .dialog__title { margin: 0; }
.ob-stage__kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: 0; }
.ob-stage__kv div { background: var(--color-surface-2); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-2-5); }
.ob-stage__kv dt { font-size: var(--text-xs); color: var(--color-text-2); }
.ob-stage__kv dd { margin: var(--space-0-5) 0 0; font-weight: var(--weight-semibold); font-size: var(--text-base); }
.ob-stage__sub { margin: var(--space-1) 0 0; font-size: var(--text-base); }
.ob-stage__form { display: flex; flex-direction: column; gap: var(--space-2-5); border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.ob-stage__send { display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .ob-stage__kv { grid-template-columns: 1fr; } }
.gt__name small { display: block; font-weight: var(--weight-regular); color: var(--color-text-2); font-size: var(--text-xs); }
.gt__track { position: relative; height: 26px; background: var(--color-surface-2); border-radius: var(--radius-md); }
.gt__bar { position: absolute; top: 3px; height: 20px; border-radius: var(--radius-sm); background: var(--color-primary-subtle); border: 1px solid var(--color-primary); overflow: hidden; display: flex; align-items: center; }
.gt__bar.is-late { border-color: var(--color-danger); background: var(--color-danger-subtle); }
.gt__done { position: absolute; left: 0; top: 0; bottom: 0; background: var(--color-primary); opacity: .35; }
.gt__bar.is-late .gt__done { background: var(--color-danger); }
.gt__bar b { position: relative; font-size: var(--text-xs); padding: 0 var(--space-1-5); white-space: nowrap; }
.gt__today, .gt__due { position: absolute; top: -3px; bottom: -3px; width: 2px; }
.gt__today { background: var(--color-danger); }
.gt__due { background: var(--color-text); opacity: .5; }
.gt__key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; }
.gt__key--today { background: var(--color-danger); }
.gt__key--due { background: var(--color-text); opacity: .5; }
.ob-date { width: 150px; }
@media (max-width: 640px) { .gt__row { grid-template-columns: 110px minmax(0, 1fr); } .gt__months { margin-left: 118px; } }
.ob-stage-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px 32px; padding-bottom: var(--space-1-5); border-bottom: 1px solid var(--color-border); }
.ob-stage-row > input[name="stage_name"] { grid-column: 1 / 3; grid-row: 1; }
.ob-stage-row > .ob-weight { grid-column: 3; grid-row: 1; }
.ob-stage-row > .ob-remove { grid-column: 4; grid-row: 1; }
.ob-stage-row > input[name="stage_start"] { grid-column: 1; grid-row: 2; width: auto; }
.ob-stage-row > input[name="stage_end"] { grid-column: 2; grid-row: 2; width: auto; }
.bg-add { display: flex; gap: var(--space-2); align-items: flex-end; flex-wrap: wrap; margin-top: var(--space-3); }
.bg-add .field { margin: 0; }
.bg-add .field:first-child { flex: 1; min-width: 220px; }
.bg-removed { display: flex; flex-wrap: wrap; gap: var(--space-1-5); align-items: center; margin-top: var(--space-2); }
.bg-removed .link-btn { background: none; border: 0; padding: 0; margin-left: var(--space-1); color: var(--color-primary); cursor: pointer; font: inherit; text-decoration: underline; }
.sc-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-3); }
.sc-level { padding: var(--space-2-5) var(--space-3-5); display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); }
.sc-level b { font-size: 20px; color: var(--color-text); font-variant-numeric: tabular-nums; }
.sc-up { color: var(--color-success-strong); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.sc-down { color: var(--color-danger-strong); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.sc-top { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-3); margin-bottom: var(--space-3); }
.sc-hero { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1-5); justify-content: flex-start; }
.sc-hero .lbl { font-size: var(--text-xs); color: var(--color-text-2); }
.sc-hero__val { font-size: 44px; font-weight: var(--weight-bold); line-height: 1; font-variant-numeric: tabular-nums; }
.sc-hero__val small { font-size: 15px; font-weight: var(--weight-medium); color: var(--color-text-2); margin-left: var(--space-0-5); }
.sc-hero__lvl { display: inline-flex; align-items: center; gap: var(--space-1-5); font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.sc-hero--ok { box-shadow: inset 4px 0 0 var(--color-success); }
.sc-hero--warn { box-shadow: inset 4px 0 0 var(--color-warning); }
.sc-hero--bad { box-shadow: inset 4px 0 0 var(--color-danger); }
.sc-chart { padding: var(--space-3) var(--space-4); }
.sc-chart h3 { margin: 0 0 var(--space-1); font-size: var(--text-base); }
.sc-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.sc-grid { stroke: var(--color-border); stroke-width: 1; }
.sc-grid--mark { stroke-dasharray: 4 4; stroke: var(--color-border-strong); }
.sc-axis { font-size: var(--text-xs); fill: var(--color-text-2); }
.sc-line { fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sc-dot { fill: var(--color-primary); stroke: var(--color-surface); stroke-width: 2; }
.sc-dot--ok { fill: var(--color-success); }
.sc-dot--warn { fill: var(--color-warning); }
.sc-dot--bad { fill: var(--color-danger); }
.sc-hit { fill: transparent; cursor: pointer; }
.sc-pt:hover .sc-dot { r: 6.5; }
.sc-val { font-size: var(--text-xs); font-weight: var(--weight-bold); fill: var(--color-text); }
.sc-table-view { margin-top: var(--space-1-5); }
.sc-months { display: none; list-style: none; margin: var(--space-1) 0 0; padding: 0; font-size: var(--text-base); }
.sc-months li { display: flex; align-items: center; gap: var(--space-2); padding: 5px 0; border-top: 1px solid var(--color-border); }
.sc-months li:first-child { border-top: 0; }
@media (max-width: 600px) {
.sc-chart .sc-chart__svg, .sc-chart__help, .sc-chart .sc-table-view { display: none; }
.sc-months { display: block; }
}
.sc-table-view summary { cursor: pointer; color: var(--color-text-2); }
.pf-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: var(--space-2); }
.pf-item { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-2-5) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.pf-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.pf-item__weight { flex: none; font-size: var(--text-xs); color: var(--color-text-2); }
.pf-item__now { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-1) var(--space-2); }
.pf-item__now b { display: inline-flex; align-items: center; gap: var(--space-1-5); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.pf-item__now span { font-size: var(--text-xs); color: var(--color-text-2); }
.pf-item__rule { margin: 0; font-size: var(--text-xs); line-height: 1.35; color: var(--color-text-2); }
.sc-weights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.sc-weights .form-actions { grid-column: 1 / -1; }
.sc-wgroup.is-invalid { box-shadow: inset 3px 0 0 var(--color-danger); }
.sc-whead { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.sc-whead h3 { margin: 0; }
.sc-wrows { display: flex; flex-direction: column; gap: var(--space-1-5); margin-top: var(--space-2); }
.sc-wrow { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: var(--space-2-5); align-items: center; font-size: var(--text-sm); }
.sc-wrow span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sc-wrow small { font-size: var(--text-xs); color: var(--color-text-2); line-height: 1.3; }
.sc-wrow .input { text-align: right; }
@media (max-width: 760px) { .sc-levels { gap: var(--space-2); } .sc-level { flex-direction: column; align-items: flex-start; gap: var(--space-0-5); padding: var(--space-2) var(--space-2-5); } .sc-top { grid-template-columns: minmax(0, 1fr); } .sc-weights { grid-template-columns: minmax(0, 1fr); } }
.pf-tips li span.pf-tip-text, .pf-tips li span.pf-tip-text span { display: inline; }
@media (max-width: 640px) { .pf-tips li { align-items: flex-start; } .pf-tips li > span { flex: 1; min-width: 0; } }
.cs-link__row { display: flex; gap: var(--space-2); align-items: center; margin-top: var(--space-2); flex-wrap: wrap; }
.cs-link__row .input { flex: 1 1 320px; min-width: 0; }
.cs-link__row form { margin: 0; }
.cs-qr { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-3); }
.cs-qr__code { flex: none; background: var(--color-paper); padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.cs-add { margin-top: var(--space-2); }
.cs-add > summary { list-style: none; display: inline-flex; }
.cs-add > summary::-webkit-details-marker { display: none; }
.cs-form { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.cs-form__row { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: flex-end; }
.cs-form .field { margin: 0; min-width: 0; }
.cs-gaps { max-height: 320px; overflow-y: auto; }
@media (max-width: 767px) { .cs-qr { flex-direction: column; } .cs-form__row .field { flex: 1 1 100% !important; width: auto !important; } }
.cs-summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
fieldset:disabled [data-drop] { visibility: hidden; }
.cs-acts { gap: var(--space-1); justify-content: flex-end; flex-wrap: nowrap; white-space: nowrap; }
.cs-gaps .table th { top: 0; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-2); }
.pk-space { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-2-5); display: flex; flex-direction: column; gap: var(--space-0-5); background: var(--color-surface); }
.pk-space b { font-size: 15px; }
.pk-space small { color: var(--color-text-2); }
.pk-space.is-busy { border-color: var(--color-primary); }
.pk-space.is-over { border-color: var(--color-danger-border); background: var(--color-danger-subtle); }
.pk-space form { margin-top: var(--space-1); }
.pk-space .chip { align-self: flex-start; }
.pk-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin: 0 0 var(--space-2); }
.pk-semanas__lista { list-style: none; margin: 0; padding: var(--space-3) var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pk-semanas__lista li { display: flex; align-items: baseline; gap: var(--space-1-5); padding: var(--space-1-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); }
.pk-semanas__lista b { font-size: 20px; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.card.pk-semanas { padding: 0; margin-bottom: var(--space-3); }
.card.pk-semanas .section-title { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-3) var(--space-4) 0; }
.pk-buscar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); }
.pk-buscar .input { width: 240px; }
.pk-uso.is-over { background: var(--color-danger-subtle); }
.pk-uso { flex-wrap: wrap; }
.pk-uso .gate-row__body { flex: 1 1 220px; min-width: 0; }
.pk-uso__stay { flex: none; white-space: nowrap; }
.tour-ring { position: fixed; z-index: 90; border: 2px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: 0 0 0 9999px rgba(15, 23, 42, .45); pointer-events: none; transition: all var(--dur-fast); }
.tour-box { position: fixed; z-index: 91; padding: var(--space-3-5) var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-lg); }
.tour-box h3 { margin: var(--space-0-5) 0 var(--space-1-5); font-size: var(--text-lg); }
.tour-box__count { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.tour-box__text { margin: 0 0 var(--space-3); line-height: 1.45; }
.tour-box__actions { display: flex; justify-content: flex-end; gap: var(--space-2); }
@media (prefers-reduced-motion: reduce) { .tour-ring { transition: none; } }
.guia-ring { position: fixed; z-index: 92; border: 3px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: 0 0 0 9999px rgba(15, 23, 42, .35); pointer-events: none; transition: all var(--dur-fast); }
.guia-ring__tag { position: absolute; left: 0; top: calc(100% + 10px); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-text-inverse); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.guia-ring__tag::before { content: ""; position: absolute; left: 14px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--color-primary); }
.guia-ring--arriba .guia-ring__tag { top: auto; bottom: calc(100% + 10px); }
.guia-ring--arriba .guia-ring__tag::before { top: auto; bottom: -6px; border-bottom: 0; border-top: 6px solid var(--color-primary); }
.guia-box { position: fixed; z-index: 93; padding: var(--space-3) var(--space-3-5); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-lg); }
.guia-box__count { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.guia-box__text { margin: var(--space-1) 0 var(--space-3); line-height: 1.45; }
.guia-box__actions { display: flex; justify-content: flex-end; gap: var(--space-2); }
.ask-guia { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); margin-top: var(--space-2); }
.ask-shot { margin: 0; max-width: 100%; }
.ask-shot__img { position: relative; display: inline-block; max-width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.ask-shot__img img { display: block; max-width: 100%; height: auto; }
.ask-shot__box { position: absolute; border: 3px solid var(--color-danger); border-radius: var(--radius-sm); box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.ask-shot__tag { position: absolute; left: 0; top: 100%; margin-top: 4px; padding: 0 var(--space-1-5); border-radius: var(--radius-sm); background: var(--color-danger); color: var(--color-text-inverse); font-size: var(--text-xs); font-weight: 600; white-space: nowrap; }
.ask-shot figcaption { margin-top: var(--space-1); font-size: var(--text-xs); color: var(--color-text-2); }
.ask-memoria { margin: var(--space-2) 0; font-size: var(--text-sm); }
.ask-do { width: 100%; padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.ask-do__name { margin: 0; font-weight: 600; }
.ask-do__data { margin: var(--space-1) 0 0; padding-left: var(--space-4); font-size: var(--text-sm); color: var(--color-text-2); }
.ask-do__warn { margin: var(--space-1-5) 0 0; font-size: var(--text-sm); color: var(--color-warning-strong); }
.ask-do__done { display: flex; align-items: center; gap: var(--space-1-5); margin: var(--space-1-5) 0 0; font-size: var(--text-sm); color: var(--color-success-strong); }
.ask-do form { margin-top: var(--space-2); }
.ask-memoria ul { margin: var(--space-1-5) 0; padding: 0; list-style: none; }
.ask-memoria li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1) 0; border-bottom: 1px solid var(--color-border); }
.ask-memoria form { margin: 0; }
@media (prefers-reduced-motion: reduce) { .guia-ring { transition: none; } }
.same-problem__head { display: flex; gap: var(--space-2); align-items: flex-start; margin-bottom: var(--space-2); }
.same-problem__list { list-style: none; margin: 0 0 var(--space-2); padding: 0; }
.same-problem__list li { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.same-problem__list li:first-child { border-top: 0; }
.sala { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: var(--space-3); align-items: start; }
.sala__main { display: grid; gap: var(--space-2); }
.sala__video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); background: #0b1220; }
.sala__novideo { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-lg); background: #0b1220; color: #e5e7eb; }
.sala__novideo p { margin: var(--space-1) 0 0; color: var(--color-border-strong); }
.sala__speaker { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md); background: var(--color-success-subtle); }
.sala__speaker > span { flex: 1; }
.sala__notice { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-md); background: var(--color-warning-subtle); color: var(--color-text); font-size: var(--text-sm); }
.sala__notice[hidden] { display: none; }
.sala__notice--net { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.sala__hand.is-up { background: var(--color-warning-border); border-color: var(--color-warning); color: var(--color-warning-strong); }
.sala__side { display: grid; gap: var(--space-2); }
.sala__box { padding: var(--space-3); }
.sala__list { list-style: none; margin: 0; padding: 0; }
.sala__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.sala__list li:first-child { border-top: 0; }
.sala__list small { color: var(--color-text-2); font-size: var(--text-sm); }
.sala__list--row { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); }
.sala__list--row li { border-top: 0; }
.sala__empty { margin: 0; }
.sala__messages { list-style: none; margin: 0 0 var(--space-2); padding: 0; max-height: 300px; overflow-y: auto; display: grid; gap: var(--space-1-5); }
.sala__messages li { padding: var(--space-1-5) var(--space-2-5); border-radius: var(--radius-md); background: var(--color-surface-2); }
.sala__messages li.is-mine { background: var(--color-primary-subtle); }
.sala__messages small { color: var(--color-text-2); font-size: var(--text-sm); }
.sala__messages p { margin: var(--space-0-5) 0 0; white-space: pre-wrap; overflow-wrap: break-word; }
.sala__form { display: flex; gap: var(--space-2); }
.sala__form .input { flex: 1; }
.sala.is-closed { opacity: .6; pointer-events: none; }
@media (max-width: 900px) { .sala { grid-template-columns: minmax(0, 1fr); } }
.sala__agenda { margin: 0; padding-left: var(--space-5); display: grid; gap: var(--space-1); }
.in-room .enter-room { display: none; }
.sala-asamblea { margin-bottom: var(--space-3); }
.pp-cell > div + div { margin-top: 3px; }
.field--set { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.field--set > legend { padding: 0; }
.pos-salary { margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-1-5); }
.pos-salary .input { width: 110px; text-align: right; }
@media (max-width: 640px) { .pos-salary { margin-left: 0; width: 100%; } .pos-salary .input { flex: 1; } }
.pc-steps { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.pc-step { display: flex; align-items: center; gap: var(--space-2-5); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text-2); }
.pc-step__dot { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: var(--weight-bold); font-size: var(--text-sm); background: var(--color-surface-2); }
.pc-step__text { display: flex; flex-direction: column; min-width: 0; }
.pc-step__text b { font-size: var(--text-sm); color: inherit; }
.pc-step__text small { font-size: var(--text-xs); color: var(--color-text-muted); }
.pc-step--done .pc-step__dot { background: var(--color-success-subtle); color: var(--color-success-strong); }
.pc-step--now { border-color: var(--color-primary); background: var(--color-primary-subtle); color: var(--color-text); }
.pc-step--now .pc-step__dot { background: var(--color-primary); color: var(--color-text-inverse); }
@media (max-width: 767px) { .pc-steps { grid-template-columns: 1fr 1fr; } }
.attn { position: fixed; top: 8px; left: 8px; right: 8px; z-index: 1000; max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-3-5); background: var(--color-attention); color: var(--color-attention-text); border: 2px solid var(--color-attention-border); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgb(0 0 0 / 25%); }
.attn[hidden] { display: none; }
.attn__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--color-attention-text); color: var(--color-attention); display: grid; place-items: center; font-weight: var(--weight-heavy); }
.attn__text { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 1.35; }
.attn__go { flex: none; padding: var(--space-2) var(--space-3); border: 0; border-radius: var(--radius-md); background: var(--color-attention-text); color: var(--color-text-inverse); font: inherit; font-size: var(--text-base); font-weight: var(--weight-semibold); cursor: pointer; }
.attn__close { flex: none; padding: var(--space-1) var(--space-1-5); border: 0; background: transparent; color: var(--color-attention-text); font-size: 22px; line-height: 1; cursor: pointer; }
.attn--blink { animation: attn-blink 1s steps(2, jump-none) 60; }
@keyframes attn-blink { from { background: var(--color-attention); } to { background: var(--color-attention-soft); } }
.attn-spot { animation: attn-spot 1s ease-in-out 60; }
@keyframes attn-spot { 0%, 100% { box-shadow: 0 0 0 0 rgb(234 179 8 / 0%); } 50% { box-shadow: 0 0 0 5px rgb(234 179 8 / 95%); } }
.sala__messages li.is-host, .sala__messages li.is-host small { background: var(--color-attention-subtle); color: var(--color-attention-text); }
.sala__messages li.is-host { border-left: 3px solid var(--color-attention-border); }
.sala__messages li.is-host small::after { content: " · anfitrión"; font-weight: var(--weight-semibold); }
.sala [data-connected] { max-height: 220px; overflow-y: auto; }
.sala__main #live { margin-top: var(--space-2); }
@media (max-width: 900px) { .sala__side .sala__chat { order: -1; } }
.attn-chip { display: inline-block; flex: none; margin-left: var(--space-2); font-size: var(--text-xs); line-height: 1.5; white-space: nowrap; vertical-align: middle; }
@keyframes attn-chip { from { background: var(--color-attention); } to { background: var(--color-attention-soft); } }
td > .attn-chip { margin: 0; }
.table .attn-col { width: 1%; white-space: nowrap; text-align: right; padding-left: 0; }
.attn-pair { display: inline-flex; flex: none; align-items: center; gap: var(--space-2); }
.attn-pair > .attn-chip { margin-left: 0; }
@media (max-width: 600px) { .attn-pair { flex-direction: column; align-items: flex-end; gap: var(--space-1); } .attn-chip { font-size: var(--text-xs); padding: 1px var(--space-2); } }
.attn-extra { margin: 0 0 var(--space-3); padding: var(--space-2) var(--space-3) var(--space-1-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.attn-extra[hidden] { display: none; }
.attn-extra__head { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-1); font-size: var(--text-sm); color: var(--color-text-2); }
.attn-extra__head b { color: var(--color-text); }
.attn-extra__head .attn-chip { margin-left: 0; }
.attn-extra__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); column-gap: var(--space-5); }
.attn-extra__items li { display: flex; align-items: center; gap: var(--space-2-5); min-width: 0; padding: 5px 0; border-top: 1px solid var(--color-border); }
.attn-extra__items li.is-more { display: none; }
.attn-extra.is-open .attn-extra__items li.is-more { display: flex; }
.attn-extra__what { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: var(--space-1-5); color: var(--color-text); text-decoration: none; white-space: nowrap; overflow: hidden; }
.attn-extra__what:hover { text-decoration: none; }
.attn-extra__what:hover .attn-extra__title { text-decoration: underline; }
.attn-extra__title { flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; font-weight: var(--weight-semibold); }
.attn-extra__detail { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: var(--text-sm); color: var(--color-text-2); }
.attn-extra__urgent { color: var(--color-danger); }
.attn-extra__go { flex: none; display: inline-flex; align-items: center; gap: var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-primary); text-decoration: none; }
.attn-extra__go:hover { text-decoration: underline; }
.attn-extra__more { margin-top: var(--space-0-5); padding-left: 0; }
@media (max-width: 720px) {
.attn-extra__items { grid-template-columns: 1fr; }
.attn-extra__what { flex-direction: column; gap: 0; white-space: normal; }
}
.sn-to { max-width: 300px; }
.sn-to__una { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-que { min-width: 260px; }
.my-att__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-3) 0 var(--space-2); }
.my-att__kpis b span { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text-2); }
.my-att__kpi--warn { background: var(--color-warning-subtle); border-color: var(--color-warning-border); }
.my-att__table { width: 100%; border-collapse: collapse; font-size: var(--text-base); font-variant-numeric: tabular-nums; }
.my-att__table th { text-align: left; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); padding: 0 var(--space-2) var(--space-1-5); border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.my-att__table td { padding: 7px var(--space-2); border-top: 1px solid var(--color-border); white-space: nowrap; }
.my-att__table tbody tr:first-child td { border-top: 0; }
.my-att__table th:first-child, .my-att__table td:first-child { padding-left: var(--space-1); }
.my-att__table tr.is-today td { background: var(--color-primary-subtle); }
.my-att__day { width: 16%; color: var(--color-text-2); }
.my-att__t { width: 12%; }
.my-att__lunch { width: 18%; }
.my-att__table .my-att__h { width: 13%; text-align: right; }
.my-att__table td.my-att__note { white-space: normal; padding-left: var(--space-4); }
.my-att__note .chip { margin: 1px var(--space-1) 1px 0; }
.my-att__late { color: var(--color-warning-strong); font-weight: var(--weight-semibold); }
.my-att__day strong { color: var(--color-text); }
.my-att__sm { display: none; }
.my-att__sm:empty { display: none !important; }
@media (max-width: 600px) {
.my-att__sm { display: block; margin-top: var(--space-0-5); }
.my-att__sm .chip { margin: 0; }
.my-att__table td.my-att__note:not([colspan]), .my-att__table th:last-child { display: none; }
.my-att__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.my-att__lunch { display: none; }
.my-att__table { font-size: 13.5px; }
.my-att__table th, .my-att__table td { padding-left: var(--space-1); padding-right: var(--space-1); }
.my-att__day, .my-att__t, .my-att__h { width: auto; }
.my-att__table td.my-att__note { padding-left: var(--space-2); }
.my-att__table td.my-att__day { white-space: normal; }
}
.topbar-user { display: none; }
.topbar-account { display: inline-flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-2) 0 3px; border-radius: var(--radius-full); max-width: 280px; }
.topbar-account__name { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar-account > svg { flex: none; color: var(--color-text-2); }
.topbar__break { display: none; }
@media (max-width: 899px) { .topbar-account { max-width: 210px; } }
@media (max-width: 600px) {
.topbar-account { padding: 0; max-width: none; }
.topbar-account__name, .topbar-account > svg { display: none; }
.topbar-user { display: flex; min-width: 0; }
.topbar-user strong { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__break { display: block; order: 9; flex-basis: 100%; height: 0; }
.topbar-user { flex: 0 1 auto; order: 11; max-width: 46%; }
.topbar > .place { order: 10; flex: 1 1 0; width: auto; min-width: 0; }
.place__change > span { display: none; }
.place__change { padding: 0 var(--space-2-5); }
.place__change svg { width: 16px; height: 16px; }
.topbar > .place-pair { order: 10; flex: 1 1 0; min-width: 0; }
.topbar-user { display: none; }
.topbar > .place-pair, .topbar > .place { flex: 1 1 100%; }
}
.rec-h { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--color-border); scroll-margin-top: calc(var(--topbar-h) + 12px); }
.rec-rel .table-wrap { overflow-x: auto; max-width: 100%; }
.rec-rel__table { min-width: 800px; }
.rec-errors ul { margin: var(--space-1) 0 0; padding-left: 18px; }
.rec-errors a { color: inherit; }
.rec-rel__table th { white-space: nowrap; position: static; }
.rec-rel__table td { padding: var(--space-1) var(--space-1-5); vertical-align: middle; }
.rec-rel__table .input, .rec-rel__table .select { height: 32px; font-size: 13.5px; }
.rec-rel__table td:nth-child(1) { min-width: 200px; }
.rec-rel__table td:nth-child(2) { width: 185px; }
.rec-rel__table td:nth-child(3) { width: 140px; }
.rec-rel__table td:nth-child(4) { width: 120px; }
.rec-rel__table td:nth-child(5) { width: 80px; }
.rec-rel__table td:nth-child(6) { width: 90px; }
.rec-rel__share { display: flex; align-items: center; gap: var(--space-1); }
.rec-rel__share .input { text-align: right; }
.incident-grid { row-gap: var(--space-3); }
.incident-grid > .field + .field, .incident-grid > * + .field { margin-top: 0; }
.ai-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin-bottom: var(--space-2); }
.ai-meter { height: 6px; border-radius: var(--radius-sm); background: var(--color-neutral-100); margin-bottom: var(--space-3); }
.ai-meter > div { height: 6px; border-radius: var(--radius-sm); }
.ai-card { margin-bottom: var(--space-3); }
.ai-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); align-items: start; }
.ai-two .ai-card { margin-bottom: var(--space-3); min-width: 0; }
.ai-days { position: relative; display: flex; align-items: flex-end; gap: var(--space-0-5); height: 170px; padding: 18px 0 0; border-bottom: 1px solid var(--color-border); }
.ai-days__top { position: absolute; top: 0; left: 0; font-size: var(--text-xs); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.ai-days__top::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; width: 100vw; max-width: 100%; }
.ai-day { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; }
.ai-day__bar { width: 100%; max-width: 22px; min-height: 2px; background: var(--color-primary); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.ai-day.is-today .ai-day__bar { opacity: .55; }
.ai-day__n { position: absolute; bottom: -18px; font-size: var(--text-xs); color: var(--color-text-muted); font-variant-numeric: tabular-nums; }
.ai-day:hover .ai-day__bar, .ai-day:focus-visible .ai-day__bar { background: var(--color-primary-hover); opacity: 1; }
.ai-day__tip { display: none; position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: var(--space-1) var(--space-2); border-radius: var(--radius-md); background: var(--color-text); color: var(--color-surface); font-size: var(--text-xs); z-index: 3; pointer-events: none; }
.ai-day:hover .ai-day__tip, .ai-day:focus-visible .ai-day__tip { display: block; }
.ai-day:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.ai-card:has(.ai-days) { padding-bottom: 30px; }
.ai-share { display: inline-block; vertical-align: middle; width: 54px; height: 6px; margin-right: var(--space-1-5); border-radius: var(--radius-sm); background: var(--color-neutral-100); overflow: hidden; }
.ai-share > span { display: block; height: 100%; border-radius: var(--radius-sm); background: var(--color-primary); }
.ai-share.is-near > span { background: var(--color-warning); }
.ai-share.is-full > span { background: var(--color-danger); }
@media (max-width: 1100px) { .ai-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .ai-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); } .ai-days { height: 130px; } .ai-day__n { display: none; } .ai-day:nth-child(5n + 1) .ai-day__n { display: block; } }
.rec-emergency { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3) var(--space-4); }
.rec-emergency > .field + .field { margin-top: 0; }
@media (max-width: 600px) { .rec-emergency { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rec-emergency > .field:nth-child(3n + 1) { grid-column: 1 / -1; } }
@media (max-width: 767px), (pointer: coarse) {
.input, .select, .textarea, .input--sm, .rows-table .select, .ignore-box .input, .map-table th .select, .photo-pick__input, .lb-link .input, .invite-link input, .field > input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .field > select, .field > textarea, .auth-fields input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .auth-fields select, .auth-fields textarea { font-size: var(--text-lg); }
}
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-3); margin: 0 0 var(--space-2); }
.pick-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-1-5); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); text-align: left; cursor: pointer; font: inherit; color: inherit; min-height: 120px; }
.pick-card:hover, .pick-card:focus-visible { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-subtle); outline: none; }
.pick-card.is-current { border-color: var(--color-primary); }
.pick-card__icon { color: var(--color-primary); }
.pick-card__name { font-size: 1.05rem; font-weight: var(--weight-bold); line-height: 1.25; }
.pick-card__meta { font-size: .85rem; color: var(--color-text-2); }
.pick-card--firm .pick-card__icon { color: var(--color-text-2); }
.pick-box { max-width: 640px; display: flex; flex-direction: column; gap: var(--space-2); }
.pick-label { display: block; margin: var(--space-2) 0 var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.pick-recent { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pick-chip { text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); font: inherit; font-size: var(--text-sm); color: var(--color-text); cursor: pointer; }
.pick-chip:hover, .pick-chip:focus-visible, .pick-chip.is-current { border-color: var(--color-primary); color: var(--color-primary); outline: none; }
.pick-search { position: relative; }
.pick-count { position: absolute; right: var(--space-3); top: 50%; transform: translateY(-50%); pointer-events: none; }
.pick-list { margin-top: var(--space-1); max-height: 380px; overflow-y: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.pick-desplegable { position: relative; }
.pick-desplegable .pick-list { display: none; position: absolute; z-index: var(--z-dropdown); top: 100%; left: 0; right: 0; background: var(--color-surface); box-shadow: var(--shadow-lg); }
.pick-desplegable.is-open .pick-list { display: block; }
.pick-desplegable:not(.is-open) [data-filter-empty] { display: none; }
.pick-desplegable .input { padding-right: 7.5rem; }
.pick-desplegable .pick-count { right: 3rem; }
.pick-abrir { position: absolute; right: var(--space-1-5); top: 50%; display: inline-flex; padding: var(--space-1); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-text-2); cursor: pointer; transform: translateY(-50%); }
.pick-abrir:hover, .pick-abrir:focus-visible { background: var(--color-primary-subtle); color: var(--color-primary); outline: none; }
.pick-abrir svg { position: static; width: 18px; height: 18px; color: inherit; transform: none; }
.pick-desplegable.is-open .pick-abrir svg { transform: rotate(180deg); }
.pick-row { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-2-5) var(--space-3); border: 0; border-bottom: 1px solid var(--color-border); background: var(--color-surface); font: inherit; color: var(--color-text); text-align: left; text-decoration: none; cursor: pointer; }
.pick-row:last-child { border-bottom: 0; }
.pick-row:hover, .pick-row:focus-visible { background: var(--color-primary-subtle); outline: none; text-decoration: none; }
.pick-row.is-current { background: var(--color-primary-subtle); }
.pick-row[hidden] { display: none; }
.pick-row__icon { flex: none; color: var(--color-text-2); }
.pick-row__num { flex: none; min-width: 2.25rem; padding: 2px 0; border-radius: var(--radius-md); background: var(--color-neutral-100); color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-align: center; font-variant-numeric: tabular-nums; }
.pick-row.is-current .pick-row__num { background: var(--color-primary); color: var(--color-text-inverse); }
.pick-row.is-current .pick-row__icon { color: var(--color-primary); }
.pick-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pick-row__name { font-weight: var(--weight-semibold); line-height: 1.25; text-transform: uppercase; letter-spacing: .01em; }
.pick-row__sub { font-size: var(--text-sm); color: var(--color-text-2); }
.pick-row__chip { flex: none; margin-left: auto; }
.pick-row__barra { display: block; width: 100%; max-width: 220px; height: 5px; margin-top: 4px; border-radius: 3px; background: var(--color-neutral-200); overflow: hidden; }
.pick-row__barra i { display: block; height: 100%; border-radius: 3px; background: var(--color-primary); }
.pick-firm { margin-top: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.pick-drafts { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.pick-drafts > summary { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2-5) var(--space-3); cursor: pointer; font-weight: var(--weight-semibold); color: var(--color-text); list-style: none; }
.pick-drafts > summary::-webkit-details-marker { display: none; }
.pick-drafts > summary svg { color: var(--color-text-2); }
.pick-drafts[open] > summary { border-bottom: 1px solid var(--color-border); }
.pick-row--nuevo, .pick-row--nuevo .pick-row__icon { color: var(--color-primary); }
.place__change { white-space: nowrap; }
@media (max-width: 640px) {
.pick-grid { gap: var(--space-2); }
.pick-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-3); row-gap: var(--space-0-5); align-items: center; min-height: 0; padding: var(--space-3) var(--space-3-5); }
.pick-card__icon { grid-row: span 2; }
}
.dep-forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:var(--space-3);margin-bottom:var(--space-4)}
.dep-card{padding:var(--space-3)}
.dep-row{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-2) 0}
.dep-row .field{flex:1 1 140px;margin:0}
.dep-apply{display:flex;gap:var(--space-1);align-items:center;margin-bottom:var(--space-1)}
.dep-apply .select,.dep-apply .input{min-width:0;flex:1 1 auto}
.lt { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-3); align-items: start; }
.cred-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
.cred-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.cred-list li:first-child { border-top: 0; }
.cred-doc__main { min-width: 0; }
.cred-doc__state { flex: none; }
.cred-doc__why { color: var(--color-danger-strong); }
.cred-send { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.cred-send .field + .field { margin-top: 0; }
.sala__stage { position: relative; }
.sala--stage .sala__video { aspect-ratio: auto; height: min(calc(var(--alto-pantalla, 100vh) * .62), 640px); }
.sala--stage .sala__novideo { min-height: min(calc(var(--alto-pantalla, 100vh) * .62), 640px); padding-bottom: 76px; }
.sala--stage .sala__hand { display: none; }
.sala__stagebar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-1); padding: var(--space-1-5); z-index: 3; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.sala__stagebtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-0-5); min-height: 48px; padding: var(--space-1); border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .8); color: var(--color-text-inverse); font: inherit; font-size: var(--text-xs); line-height: 1.1; cursor: pointer; white-space: nowrap; overflow: hidden; }
.sala__stagebtn:hover, .sala__stagebtn[aria-pressed="true"] { background: rgba(15, 23, 42, .95); }
.sala__stagebtn > span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.sala__linea { position: absolute; left: var(--space-1-5); right: var(--space-1-5); bottom: 66px; z-index: 3; display: block; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-md); background: rgba(15, 23, 42, .88); color: var(--color-text-inverse); font: inherit; font-size: var(--text-sm); line-height: 1.3; text-align: left; cursor: pointer; }
.sala__linea[hidden] { display: none; }
.sala__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-warning); margin-left: var(--space-1); display: inline-block; }
.sala__overlay { position: absolute; left: 8px; right: 8px; bottom: 66px; max-height: calc(100% - 78px); overflow-y: auto; z-index: 2; background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); padding: var(--space-2) var(--space-3); }
.sala__overlay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-1); }
.sala__side-head { display: none; justify-content: space-between; align-items: center; order: -2; }
.sala.is-full { position: fixed; inset: 0; z-index: 2000; display: block; background: #000; padding: 0; margin: 0; }
.sala.is-full .sala__main { height: 100%; display: block; }
.sala.is-full .sala__stage { height: 100%; }
.sala.is-full .sala__video, .sala.is-full .sala__novideo { height: 100%; min-height: 100%; border-radius: 0; }
.sala.is-full .sala__speaker { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 3; }
.sala.is-full .sala__hand, .sala.is-full .sala__box, .sala.is-full .sala__turn { display: none; }
html.sala-lock, html.sala-lock body { overflow: hidden; }
@media (max-width: 900px) {
.sala--stage .sala__side { display: none; }
}
.sala.is-full .sala__side { display: none; }
.sala--stage.is-side-open .sala__side { display: grid; position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100%); overflow-y: auto; z-index: 2100; background: var(--color-bg); padding: var(--space-2); box-shadow: -8px 0 30px rgba(0, 0, 0, .3); align-content: start; }
.sala--stage.is-side-open .sala__side-head { display: flex; }
@media (orientation: landscape) and (max-height: 520px) {
.sala--stage .sala__stage { position: fixed; inset: 0; z-index: 2000; background: #000; }
.sala--stage .sala__video { height: 100%; border-radius: 0; }
.sala--stage [data-full] { display: none; }
}
.sala__timer { margin-left: var(--space-2); font-variant-numeric: tabular-nums; font-weight: var(--weight-bold); color: var(--color-text-2); }
.sala__timer.is-over { color: var(--color-danger-strong); }
.sala__turn { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
html.en-sala, html.en-sala body { overscroll-behavior-y: contain; }
.sala__flashes { position: fixed; left: 8px; right: 8px; top: calc(8px + env(safe-area-inset-top, 0px)); z-index: 2140; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); pointer-events: none; }
html.en-sala:has(.attn:not([hidden])) .sala__flashes, .sala.is-side-open .sala__flashes { top: calc(96px + env(safe-area-inset-top, 0px)); }
.sala__flash { pointer-events: auto; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-md); border: 2px solid var(--color-danger-strong); background: var(--color-danger-subtle); color: var(--color-danger-strong); box-shadow: 0 8px 24px rgb(0 0 0 / 25%); font-size: 15px; line-height: 1.35; }
.sala__flash[hidden] { display: none; }
.sala__flash > svg { flex: none; }
.sala__flash > span { flex: 1; min-width: 0; }
.sala__flash.is-ok { border-color: var(--color-success-strong); background: var(--color-success-subtle); color: var(--color-success-strong); }
.sala__flash-x { flex: none; padding: var(--space-1) var(--space-2); border: 0; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.sala__flash--sesion { border-color: var(--color-attention-border); background: var(--color-attention-subtle); color: var(--color-attention-text); }
.sala.is-closed .sala__video, .sala.is-closed .sala__flash { pointer-events: auto; }
html.en-sala .attn { z-index: 2150; }
html.en-sala .toasts { z-index: 2250; }
html.en-sala .sheet-wrap { z-index: 2300; }
.sala-doc__nota { margin: 0; padding: var(--space-3) var(--space-4); }
.sala-doc__nota[hidden] { display: none; }
.ai-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin: 0 0 var(--space-2); }
.ai-bar__marked { display: inline-flex; align-items: center; gap: var(--space-1-5); flex-wrap: wrap; padding: var(--space-1) var(--space-2); border-radius: var(--radius-md); background: var(--color-primary-subtle); }
.ai-table td { vertical-align: top; }
.ai-step { min-width: 96px; font-size: var(--text-sm); }
.ai-step--done .ai-step__ok { color: var(--color-success-strong); margin-right: 3px; }
.ai-step--none, .ai-step--off { color: var(--color-text-2); }
.btn--xs { min-height: 24px; padding: var(--space-0-5) var(--space-2); font-size: var(--text-xs); }
.sort { color: inherit; text-decoration: none; white-space: nowrap; }
.sort::after { content: " ↕"; color: var(--color-text-2); font-size: var(--text-xs); }
.sort.is-asc::after { content: " ↑"; color: var(--color-text); }
.sort.is-desc::after { content: " ↓"; color: var(--color-text); }
.mu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); }
@media (max-width: 760px) { .mu-grid { grid-template-columns: minmax(0, 1fr); } }
.pf-row--missing td:first-child { box-shadow: inset 3px 0 0 var(--color-warning-strong); }
.pf-row--out td { color: var(--color-text-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--color-text-2) 50%, transparent); }
.pf-row--out td:last-child { text-decoration: none; }
.pf-out { display: inline-flex; gap: var(--space-1-5); align-items: center; font-size: var(--text-sm); white-space: nowrap; }
.pf-note { display: flex; flex-direction: column; gap: var(--space-2); min-width: 240px; text-align: left; }
.pf-list { list-style: none; margin: 0; padding: 0; }
.pf-list li { display: flex; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) 0; border-bottom: 1px solid var(--color-border); align-items: baseline; }
.pf-list li .num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-list__total { font-weight: var(--weight-bold); border-bottom: 0 !important; }
.pf-list--hist li { font-size: var(--text-sm); }
.pf-band { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); border-top: 4px solid var(--color-border-strong); }
.pf-band.pf-result--ok { border-top-color: var(--color-success); }
.pf-band.pf-result--short { border-top-color: var(--color-danger); }
.pf-flow { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: var(--space-1-5); min-width: 0; }
.pf-step { flex: 1 1 0; min-width: 0; }
.pf-step > a, .pf-step > span:first-child { color: inherit; text-decoration: none; }
.pf-step > a, .pf-step--mid, .pf-step--end { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-2); }
.pf-step > a:hover { background: var(--color-primary-subtle); }
.pf-step--mid { background: var(--color-primary-subtle); }
.pf-step--end { background: var(--color-surface-2); box-shadow: inset 0 0 0 2px var(--color-border-strong); }
.pf-result--ok .pf-step--end { background: var(--color-success-subtle); box-shadow: inset 0 0 0 2px var(--color-success); }
.pf-result--short .pf-step--end { background: var(--color-danger-subtle); box-shadow: inset 0 0 0 2px var(--color-danger); }
.pf-step__l { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.pf-step__v { font-size: 20px; font-weight: var(--weight-bold); line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-text); }
.pf-result--short .pf-step--end .pf-step__v { color: var(--color-danger-strong); }
.pf-step small { font-size: var(--text-xs); color: var(--color-text-2); }
.pk-pending { margin: 0 0 var(--space-2-5); }
.pk-note--pending { border-left: 3px solid var(--color-warning); padding-left: var(--space-2-5); }
.pk-others { margin-top: var(--space-3); }
.pk-others > summary { cursor: pointer; font-weight: var(--weight-semibold); padding: var(--space-1-5) 0; }
.books-check { display: block; margin: var(--space-1) 0 0; font-size: var(--text-xs); line-height: 1.35; color: var(--color-text-2); white-space: normal; font-variant-numeric: tabular-nums; }
.books-check--bad, .pf-step small.books-check--bad { color: var(--color-warning-strong); font-weight: var(--weight-semibold); }
.pf-step__n { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border-radius: var(--radius-full); background: var(--color-text); color: var(--color-surface); font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: 0; }
.pf-op { flex: none; align-self: center; font-size: 20px; font-weight: var(--weight-bold); color: var(--color-text-2); width: 14px; text-align: center; }
.pf-band__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); flex-wrap: wrap; }
.pf-band__verdict { display: flex; flex-direction: column; gap: var(--space-1); }
.pf-band__save { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.pf-band__save p { max-width: 300px; }
.pf-verdict { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 22px; font-weight: var(--weight-heavy); }
.pf-result--ok .pf-verdict { color: var(--color-success-strong); }
.pf-result--short .pf-verdict { color: var(--color-danger-strong); }
.pf-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: var(--space-3); align-items: start; margin-bottom: var(--space-3); }
.pf-card { margin-bottom: var(--space-3); }
.pf-grid .pf-card { margin-bottom: 0; height: 100%; }
.pf-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); }
.pf-card__title { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; font-size: var(--text-lg); font-weight: var(--weight-bold); }
.pf-card__head > b { font-size: var(--text-lg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-card__desc { margin: var(--space-1) 0 var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); }
.pf-table tfoot td { background: var(--color-surface-2); border-top: 1px solid var(--color-border-strong); font-weight: var(--weight-bold); color: var(--color-text); }
.pf-table tfoot .pf-foot-note { font-weight: var(--weight-regular); font-size: var(--text-sm); color: var(--color-text-2); }
.pf-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pf-hist a { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1-5) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: inherit; text-decoration: none; font-size: var(--text-sm); }
.pf-hist a:hover { border-color: var(--color-primary); }
@media (max-width: 1180px) { .pf-step__v { font-size: 17px; } .pf-step > a, .pf-step--mid, .pf-step--end { padding: var(--space-2) var(--space-2-5); } }
@media (max-width: 1100px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } .pf-flow { flex-direction: column; } .pf-op { align-self: flex-start; padding-left: var(--space-3); height: 14px; line-height: 14px; font-size: var(--text-lg); } }
.lt-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.lt-fig { display: flex; flex-direction: column; gap: var(--space-0-5); min-width: 0; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-decoration: none; }
a.lt-fig:hover { border-color: var(--color-primary); }
.lt-fig__l { font-size: var(--text-sm); color: var(--color-text-2); }
.lt-fig__n { font-size: var(--text-xl); font-weight: var(--weight-bold); line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-fig__note { font-size: var(--text-sm); color: var(--color-text-2); }
.lt-fig--danger { border-left: 3px solid var(--color-danger-strong); }
.lt-fig--danger .lt-fig__n { color: var(--color-danger-strong); }
.lt-fig--warn { border-left: 3px solid var(--color-warning-strong); }
.lt-fig--warn .lt-fig__n { color: var(--color-warning-strong); }
.lt-fig--good .lt-fig__n { color: var(--color-success-strong); }
@media (max-width: 1100px) { .lt { grid-template-columns: minmax(0, 1fr); } }
.ficha-kv--tight { margin-top: var(--space-2); }
.ficha-alert { margin: 0 0 var(--space-2); padding: var(--space-1-5) var(--space-2-5); border-radius: var(--radius-md); background: var(--color-warning-subtle); color: var(--color-warning-strong); font-size: var(--text-sm); display: flex; gap: var(--space-1-5); align-items: center; }
.ficha-water { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-1-5); align-items: end; height: 120px; }
.ficha-water__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: var(--space-0-5); min-width: 0; }
.ficha-water__bar { width: 100%; max-width: 22px; min-height: 2px; background: var(--color-primary); opacity: .7; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.ficha-water__col.is-high .ficha-water__bar { background: var(--color-warning); opacity: 1; }
.ficha-water__n { font-size: var(--text-xs); color: var(--color-text-2); }
.ficha-water__m { font-size: var(--text-xs); color: var(--color-text-muted); white-space: nowrap; }
.wl-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-3); align-items: start; }
.wl-texts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); margin-bottom: var(--space-2); }
.wl-h3 { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-muted); margin: var(--space-2) 0 var(--space-1); }
.wl-docs { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
@media (max-width: 1100px) { .wl-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .wl-texts { grid-template-columns: minmax(0, 1fr); } }
.wl-offer { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); border-left: 4px solid var(--color-primary); flex-wrap: wrap; }
.wl-offer__text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: var(--space-0-5); }
.res-write { margin-top: var(--space-2); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.res-write.is-pending { border-color: var(--color-warning); background: var(--color-warning-subtle); }
.res-write__q { margin: 0 0 var(--space-2); font-weight: var(--weight-semibold); display: flex; gap: var(--space-1-5); align-items: center; flex-wrap: wrap; }
.res-write__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-2); align-items: end; margin-bottom: var(--space-2); }
.res-done { margin: var(--space-1) 0 0; }
.res-write__text { grid-column: 1 / -1; }
.res-fix { margin-top: var(--space-1); }
.res-fix > summary { cursor: pointer; color: var(--color-primary); font-weight: var(--weight-semibold); display: inline; }
.rc-filters { align-items: center; }
.rc-month { display: inline-flex; align-items: center; gap: var(--space-0-5); }
.rc-month .input { width: auto; height: 34px; }
.rc-steps { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.rc-steps li { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.rc-steps li div { display: flex; flex-direction: column; min-width: 0; }
.rc-steps li b { font-size: var(--text-sm); }
.rc-steps li span:not(.rc-steps__n) { font-size: var(--text-xs); color: var(--color-text-2); }
.rc-steps__n { flex: 0 0 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-xs); font-weight: var(--weight-bold); background: var(--color-surface-2); color: var(--color-text-2); }
.rc-steps li.is-done .rc-steps__n { background: var(--color-success-strong); color: var(--color-text-inverse); }
.rc-steps li.is-now { border-color: var(--color-warning); background: var(--color-warning-subtle); }
.rc-steps li.is-now .rc-steps__n { background: var(--color-warning-strong); color: var(--color-text-inverse); }
.rc-status { display: inline-flex; align-items: center; gap: var(--space-1-5); flex-wrap: wrap; }
.rc-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-3); }
.rc-side { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.rc-side__icon { flex: none; display: inline-flex; color: var(--color-text-2); }
.rc-side__body { display: flex; flex-direction: column; min-width: 0; font-size: var(--text-sm); }
.rc-side.is-done { border-color: var(--color-success-border); }
.rc-side.is-done .rc-side__icon { color: var(--color-success-strong); }
.rc-side.is-back { border-color: var(--color-danger-border); }
.rc-side.is-back .rc-side__icon { color: var(--color-danger-strong); }
.rc-upload { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; padding: var(--space-2) var(--space-3); margin: 0 0 var(--space-3); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); }
.rc-upload__text { display: inline-flex; gap: var(--space-1-5); align-items: flex-start; flex: 1 1 260px; min-width: 0; }
.rc-upload .input { width: auto; max-width: 100%; }
.bk-list { table-layout: fixed; width: 100%; }
.bk-list__what { min-width: 0; }
.bk-list__what a { text-decoration: none; color: inherit; }
.bk-list__what a:hover b { color: var(--color-primary); text-decoration: underline; }
.bk-list__status { width: 190px; }
.bk-list__act { width: 96px; text-align: right; white-space: nowrap; }
.bk-warn { display: inline-flex; align-items: center; gap: 2px; color: var(--color-danger-strong); }
.bk-side { margin-top: var(--space-3); }
@media (max-width: 640px) {
.rc-sides { grid-template-columns: minmax(0, 1fr); }
.bk-list__status { width: 140px; }
.bk-list__act { width: 72px; }
}
.rc-why { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-2) var(--space-3); margin-bottom: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); }
.rc-why ul { margin: 0; padding-left: var(--space-4); }
.rc-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.rc-tools { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.rc-tools .search { min-width: 220px; }
.rc-act { text-align: right; white-space: nowrap; }
.rc-act > * { vertical-align: middle; }
.ac-more { display: inline-block; vertical-align: top; text-align: left; }
.ac-more > summary { list-style: none; }
.ac-more > summary::-webkit-details-marker { display: none; }
.ac-more__box { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-1); width: 250px; margin: var(--space-1) 0 0 auto; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); text-align: left; white-space: normal; }
.ac-more__box .btn, .ac-more__box form, .ac-more__box details { width: 100%; }
.ac-more__box .btn { justify-content: flex-start; }
.rc-done > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-2); }
.rc-done > summary::-webkit-details-marker { display: none; }
.rc-done[open] > summary svg { transform: rotate(180deg); }
@media (max-width: 760px) { .rc-steps { grid-template-columns: minmax(0, 1fr); } .rc-act { white-space: normal; } }
.ficha-paper > summary { list-style: none; cursor: pointer; }
.ficha-paper > summary::-webkit-details-marker { display: none; }
.ficha-paper__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-2); align-items: end; margin: var(--space-2) 0; }
.pk-sign { align-items: flex-end; gap: var(--space-2); flex-wrap: wrap; }
.pk-sign__code { display: flex; align-items: flex-end; gap: var(--space-2); flex-wrap: wrap; }
.pk-sign__code .field__label { flex-basis: 100%; margin: 0; }
.pk-sign__code .input { width: 130px; letter-spacing: 3px; font-size: var(--text-lg); }
.cxp-new { min-width: 290px; }
.cxp-new .menu__item { height: auto; padding: var(--space-2) var(--space-3); align-items: flex-start; }
.cxp-new .menu__item span { display: flex; flex-direction: column; text-align: left; }
.cxp-new .menu__item small { color: var(--color-text-2); font-size: var(--text-xs); }
.in-stats--tight .card { padding: var(--space-2-5) var(--space-3-5); }
.in-stats--tight .stat__value { font-size: var(--text-xl); line-height: 24px; }
.in-fd { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; }
.in-fd img, .in-fd .ph { width: 64px; height: 48px; }
.in-fd .acts { flex-direction: row; min-width: 0; align-items: center; }
.in-fd .acts .btn { width: auto !important; }
.in-tools { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-2); }
.in-tools .search { min-width: 260px; flex: 0 1 360px; }
#in-rows tr.is-off { display: none; }
td .attn-chip--inline { float: none; margin: 0 0 0 var(--space-1-5); }
.attn-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.attn-row > .attn-chip--inline { margin: 0; }
.ai-panel--compact { margin-bottom: var(--space-3); }
.ai-panel__head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-0-5); }
.ai-panel--compact .ai-item__actions { flex-direction: row; align-items: flex-start; min-width: 0; }
.ai-panel--compact .ai-item__actions form .btn { width: auto !important; }
.ai-more-list > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-1); color: var(--color-primary); font-weight: var(--weight-semibold); font-size: var(--text-sm); padding: var(--space-2) 0 0; }
.ai-more-list > summary::-webkit-details-marker { display: none; }
.ai-more-list[open] > summary svg { transform: rotate(180deg); }
.mul-table td { padding-top: var(--space-2); padding-bottom: var(--space-2); line-height: 20px; }
.mul-table__code { width: 10rem; }
.mul-table__unit { width: 12rem; }
.mul-table__date { width: 6.5rem; }
.mul-table__amount { width: 8rem; }
.mul-table__state { width: 20rem; }
.mul-line { display: block; min-width: 0; }
small.mul-line { margin-top: var(--space-0-5); font-size: var(--text-xs); line-height: 18px; }
@media (min-width: 768px) {
.mul-table .mul-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mul-table .tags { flex-wrap: nowrap; }
}
.mul-next--act { color: var(--color-text); font-weight: var(--weight-medium); }
@media (max-width: 767px) { .mul-table span.mul-line:first-child { display: inline; } }
.att-how { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-2); }
.att-how > summary { cursor: pointer; color: var(--color-primary); font-weight: var(--weight-semibold); }
.att-how p { margin: var(--space-1) 0 0; max-width: 900px; }
.att-pay { white-space: nowrap; }
.att-pay__line { display: block; color: inherit; text-decoration: none; line-height: 1.9; }
.att-pay__line:hover b { text-decoration: underline; }
.rt-ping { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: var(--space-3); max-width: 460px; padding: var(--space-3) var(--space-3-5); border: 1px solid var(--color-border-strong); border-left: 4px solid var(--color-primary); border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--shadow-lg); }
.rt-ping[hidden] { display: none; }
.rt-ping__icon { flex: none; color: var(--color-primary); }
.rt-ping__text { display: flex; flex-direction: column; gap: var(--space-0-5); min-width: 0; }
.rt-ping__text small { color: var(--color-text-2); font-size: var(--text-xs); line-height: 1.35; }
.rt-ping .btn { flex: none; }
.rt-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-3); }
.rt-mine__h { margin: 0 0 var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.rt-mine__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2) var(--space-3); margin-top: var(--space-1-5); }
.rt-mine__form .field { margin: 0; }
.rt-mine__why { flex: 1; min-width: 200px; }
.rt-config { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }
.rt-config__days { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3-5); margin: 0; padding: 0; border: 0; }
.rt-config__days legend { margin-bottom: var(--space-1); }
@media (max-width: 720px) {
.rt-grid { grid-template-columns: 1fr; }
.rt-ping { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-wrap: wrap; }
}
.iva-month { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.iva-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-3) 0; }
.iva-kpis .kpi-box b { font-size: 20px; }
.iva-kpis__cur { display: block; margin-top: var(--space-0-5); font-size: var(--text-xs); color: var(--color-text-2); }
.iva-kpis__due { border-left: 3px solid var(--color-primary); }
.iva-kpis__due.is-credit { border-left-color: var(--color-success-strong); }
.iva-sec { margin-top: var(--space-4); }
@media (max-width: 720px) { .iva-kpis { grid-template-columns: 1fr; } }
.jr-quick { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin: 0 0 var(--space-2); }
.jr-quick__item { padding: var(--space-1) var(--space-3); border: 1px solid var(--color-border-strong); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text); text-decoration: none; background: var(--color-surface); }
.jr-quick__item:hover { border-color: var(--color-primary); color: var(--color-primary); }
.jr-quick__item.is-on { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.jr-filters--log { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 150px 150px minmax(0, 1.4fr) auto auto; }
.jr-filters--log .jr-filters__check { align-self: center; margin: 0; }
.jr-day { margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); overflow: hidden; }
.jr-day__head { display: flex; align-items: baseline; gap: var(--space-2); margin: 0; padding: var(--space-2) var(--space-3-5); font-size: var(--text-base); font-weight: var(--weight-medium); background: var(--color-surface-2); border-bottom: 1px solid var(--color-border); }
.jr-day__head span { color: var(--color-text-2); font-size: var(--text-sm); }
.jr-day__head .jr-day__n { margin-left: auto; font-variant-numeric: tabular-nums; }
.jr-list { list-style: none; margin: 0; padding: 0; }
.jr-row { display: grid; align-items: start; gap: var(--space-3); padding: 7px var(--space-3-5); border-top: 1px solid var(--color-border); font-size: 13.5px; }
.jr-row:first-child { border-top: 0; }
.jr-row.is-denied { background: var(--color-danger-subtle); box-shadow: inset 3px 0 0 var(--color-danger); }
.jr-row.is-failed { box-shadow: inset 3px 0 0 var(--color-warning-strong); }
.jr-row__at { padding-top: var(--space-0-5); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.jr-row__who { display: flex; align-items: flex-start; gap: var(--space-2); min-width: 0; }
.jr-row__ini { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary-subtle); color: var(--color-primary-pressed); font-size: var(--text-xs); font-weight: var(--weight-bold); }
.jr-row__ini.is-auto { background: var(--color-surface-2); color: var(--color-text-2); }
.jr-row__name { display: flex; flex-direction: column; min-width: 0; }
.jr-row__name b { font-weight: var(--weight-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jr-row__name small, .jr-row__what small { color: var(--color-text-2); font-size: var(--text-xs); }
.jr-row__what { display: flex; flex-direction: column; min-width: 0; overflow-wrap: break-word; }
.jr-row__mod { padding: 1px var(--space-2); border-radius: var(--radius-full); background: var(--color-surface-2); color: var(--color-text-2); font-size: var(--text-xs); white-space: nowrap; }
@media (max-width: 900px) {
.jr-filters--log { grid-template-columns: 1fr 1fr; }
.jr-row { grid-template-columns: 44px minmax(0, 1fr); }
.jr-row__what { grid-column: 2; }
.jr-row__mod { grid-column: 2; justify-self: start; }
}
.rk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-3); }
.rk-offers { margin-bottom: var(--space-3); }
.rk-link { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2) var(--space-2-5); margin: 0 0 var(--space-3); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.rk-link__text { font-size: 13.5px; }
.rk-link__url { flex: 1; min-width: 240px; font-size: var(--text-sm); color: var(--color-text-2); }
.rk-board { display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); gap: var(--space-2-5); overflow-x: auto; padding-bottom: var(--space-1); }
.rk-col { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 0; padding: var(--space-2); border-radius: var(--radius-xl); background: var(--color-surface-2); }
.rk-col__head { display: flex; align-items: center; justify-content: space-between; margin: 0 var(--space-0-5) var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.rk-col__n { padding: 0 var(--space-2); border-radius: var(--radius-full); background: var(--color-surface); font-variant-numeric: tabular-nums; color: var(--color-text-2); }
.rk-col__empty { margin: var(--space-1) var(--space-0-5); color: var(--color-text-2); font-size: var(--text-sm); }
.rk-card { display: flex; flex-direction: column; gap: var(--space-0-5); padding: var(--space-2) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); color: var(--color-text); text-decoration: none; font-size: 13.5px; }
.rk-card:hover { border-color: var(--color-primary); }
.rk-card__fit { align-self: flex-start; margin-top: var(--space-0-5); }
.rk-discarded summary { cursor: pointer; }
.rk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-3); }
.rk-ai__fit { margin: var(--space-2) 0 var(--space-1); font-size: var(--text-base); }
.rk-ai__fit b { font-size: 22px; }
.rk-move { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2) var(--space-3); }
.rk-move .field { margin: 0; }
.rk-move__why { flex: 1; min-width: 220px; }
.rk-interview, .rk-offer { padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.rk-interview:first-of-type, .rk-offer:first-of-type { border-top: 0; }
.rk-offer.is-open { padding-left: var(--space-2-5); box-shadow: inset 3px 0 0 var(--color-primary); }
.rk-scores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-1-5) 0; }
.rk-scores .field { margin: 0; }
.rk-eval summary, .rk-new-interview summary, .rk-new-offer summary { cursor: pointer; color: var(--color-primary); }
.rk-public { min-height: 100vh; margin: 0; padding: var(--space-8) var(--space-4); background: var(--color-bg); }
.rk-public__card { max-width: 680px; margin: 0 auto; padding: 28px 28px var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); background: var(--color-surface); }
.rk-public__firm { margin: 0 0 var(--space-1); color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.rk-public__title { margin: 0 0 var(--space-1); font-size: 24px; line-height: 1.25; }
.rk-public__sec h2, .rk-public__form h2 { margin: var(--space-3) 0 var(--space-1-5); font-size: var(--text-lg); }
.rk-public__sec ul { margin: 0; padding-left: var(--space-5); }
.rk-public__consent { margin-top: var(--space-2); font-size: var(--text-sm); line-height: 1.45; }
@media (max-width: 900px) {
.rk-board { grid-template-columns: repeat(5, 220px); }
.rk-grid, .rk-two, .rk-scores { grid-template-columns: 1fr; }
}
.avatar--photo { object-fit: cover; padding: 0; }
.avatar--sm { width: 26px; height: 26px; font-size: var(--text-xs); flex: none; }
.team-who { display: flex; align-items: center; gap: var(--space-2); }
.hr-head { display: flex; align-items: flex-start; gap: var(--space-3-5); }
.hr-head__photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--color-border); }
.hr-head__photo--none { display: grid; place-items: center; background: var(--color-primary-subtle); color: var(--color-primary); font-size: 22px; font-weight: var(--weight-semibold); }
.hr-head__tools { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-1); }
.hr-head__upload { margin: 0; }
.hr-index { display: none; }
@media (max-width: 767px) {
.hr-index { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin: 0 0 var(--space-3); }
.hr-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); text-decoration: none; }
section[data-part] > .card__title { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
section[data-part].is-folded > :not(.card__title):not(.row) { display: none !important; }
section[data-part].is-folded > .row > :not(.card__title) { display: none !important; }
.hr-head__reach .btn { min-height: 44px; }
section[data-part] > .card__title, section[data-part] > .row > .card__title { min-height: 44px; display: flex; align-items: center; gap: var(--space-2); cursor: pointer; }
section[data-part].is-folded { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.hr-doc-link { display: inline-flex; align-items: center; min-height: 44px; }
.hr-index__more { display: inline-block; }
.hr-index__more > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-full); background: var(--color-surface); color: var(--color-primary); cursor: pointer; list-style: none; }
.hr-index__more > summary::-webkit-details-marker { display: none; }
.hr-index__rest { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-1-5); }
}
.leave-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-2); }
.leave-row { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-2) var(--space-3); flex-wrap: wrap; padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.leave-row__main { flex: 1 1 220px; min-width: 0; }
.leave-row__main p { margin: 0; }
.leave-row__main p + p { margin-top: var(--space-0-5); }
.leave-row__side { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.leave-row__side form { margin: 0; }
.sig-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.sig-preview { padding: var(--space-3); border: 1px dashed var(--color-border-strong); border-radius: var(--radius-xl); background: var(--color-paper); overflow-x: auto; }
@media (max-width: 900px) { .sig-grid { grid-template-columns: 1fr; } }
.tr-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-3); }
.tr-bar { display: block; width: 120px; max-width: 100%; height: 6px; margin: var(--space-0-5) 0; border-radius: var(--radius-full); background: var(--color-surface-2); overflow: hidden; }
.tr-bar > span { display: block; height: 100%; background: var(--color-primary); }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: var(--space-3); align-items: start; }
.tr-two { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 0 var(--space-3); }
.tr-positions, .tr-people { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3-5); margin: 0; padding: 0; border: 0; }
.tr-people { max-height: 220px; overflow-y: auto; flex-direction: column; flex-wrap: nowrap; }
.tr-q { padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.tr-q:first-of-type { border-top: 0; }
.tr-q__opts { margin: var(--space-1) 0 var(--space-1-5); padding-left: 22px; font-size: 13.5px; }
.tr-q__opts .is-right { font-weight: var(--weight-semibold); color: var(--color-success-strong); }
.tr-opt { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1-5); }
.tr-opt .input { flex: 1; }
.tr-news { margin: 0 0 var(--space-3); padding: var(--space-2-5) var(--space-3-5); border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: var(--radius-xl); background: var(--color-surface); }
.tr-news__tag { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-primary); margin-right: var(--space-1-5); }
.tr-stars { display: inline-flex; flex-direction: row-reverse; gap: var(--space-0-5); margin: var(--space-1-5) 0; }
.tr-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-stars input:focus-visible + label { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }
.tr-stars label { font-size: 26px; color: var(--color-border-strong); cursor: pointer; }
.tr-stars input:checked ~ label, .tr-stars label:hover, .tr-stars label:hover ~ label { color: var(--color-rating); }
.tr-ext summary { cursor: pointer; }
.tr-ext__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-2) var(--space-3); align-items: end; margin-top: var(--space-2); }
@media (max-width: 720px) {
.tr-kpis { grid-template-columns: 1fr 1fr; }
}
.tr-doubt { margin-top: var(--space-3); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-ai-border); border-radius: var(--radius-xl); background: var(--color-ai-subtle); }
.tr-doubt summary { cursor: pointer; }
.tr-doubt__form { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.tr-doubt__form .input { flex: 1; }
.tr-doubt__said { margin: var(--space-2) 0 var(--space-1); font-size: var(--text-base); }
.tr-text p { margin: 0 0 var(--space-2-5); }
.tr-list { margin: 0 0 var(--space-2-5); padding-left: var(--space-5); line-height: 1.55; }
.tr-list li { margin-bottom: var(--space-1); }
.tr-callout { display: flex; gap: var(--space-2); align-items: flex-start; margin: var(--space-3) 0; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); border: 1px solid var(--color-border); border-left-width: 4px; background: var(--color-surface-2); line-height: 1.55; }
.tr-callout svg { flex: none; margin-top: 3px; }
.tr-callout--ejemplo { border-left-color: var(--color-info); background: var(--color-info-subtle); }
.tr-callout--ejemplo svg { color: var(--color-info-strong); }
.tr-callout--recuerde { border-left-color: var(--color-success); background: var(--color-success-subtle); }
.tr-callout--recuerde svg { color: var(--color-success-strong); }
.tr-callout--atencion { border-left-color: var(--color-warning); background: var(--color-warning-subtle); }
.tr-callout--atencion svg { color: var(--color-warning-strong); }
.tr-practice { margin-top: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface-2); }
.tr-practice__ok { display: flex; gap: var(--space-1-5); align-items: center; margin: 0 0 var(--space-2); color: var(--color-success-strong); font-weight: var(--weight-semibold); }
.tr-checks { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.tr-checks .check { min-height: 32px; }
.tr-practice__acts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-1-5); }
.tr-scale { margin: 0 0 var(--space-2-5); padding: 0; border: 0; }
.tr-scale legend { margin-bottom: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.tr-scale__row { display: flex; gap: var(--space-1-5); }
.tr-scale__row label { position: relative; }
.tr-scale__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-scale__row span { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); font-weight: var(--weight-semibold); cursor: pointer; font-variant-numeric: tabular-nums; }
.tr-scale__row input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.tr-scale__row input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tr-bar--wide { width: 100%; height: 8px; }
.ce-hero { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: var(--space-4); align-items: center; margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.ce-hero__main { display: flex; flex-direction: column; gap: var(--space-1); }
.ce-hero__main small { font-size: var(--text-sm); color: var(--color-text-2); }
.ce-hero__main b { font-size: 44px; line-height: 1; }
.ce-hero__rest { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); margin: 0; }
.ce-hero__rest dt { font-size: var(--text-xs); color: var(--color-text-2); }
.ce-hero__rest dd { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.ce-st { display: inline-flex; gap: var(--space-1); align-items: center; font-size: var(--text-sm); white-space: nowrap; }
.ce-st--ok { color: var(--color-success-strong); }
.ce-st--late { color: var(--color-danger); font-weight: var(--weight-semibold); }
.ce-st--open { color: var(--color-warning-strong); }
.ce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-warning); }
@media (max-width: 720px) {
.ce-hero { grid-template-columns: 1fr; }
.ce-hero__rest { grid-template-columns: 1fr 1fr; }
.tr-doubt__form { flex-direction: column; }
}
.tr-h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--text-lg); line-height: 1.35; font-weight: var(--weight-bold); color: var(--color-text); }
.tr-route { padding: var(--space-4) var(--space-6) var(--space-5); }
.tr-route__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.tr-route__k { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
.tr-route__pct { display: flex; flex-direction: column; align-items: flex-end; margin: 0; text-align: right; }
.tr-route__pct b { font-size: 34px; line-height: 1; font-weight: var(--weight-bold); color: var(--color-primary); }
.tr-route__pct span { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-2); }
.tr-steps { position: relative; display: grid; grid-template-columns: repeat(var(--tr-n, 9), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tr-step { position: relative; min-width: 0; }
.tr-step::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--color-neutral-200); }
.tr-step:first-child::before { display: none; }
.tr-step.is-done::before, .tr-step.is-now::before { background: var(--color-primary); }
.tr-step > a, .tr-step > .tr-step__in { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 var(--space-1); text-align: center; color: var(--color-text-2); text-decoration: none; font-size: var(--text-xs); line-height: 1.35; }
.tr-step > a:hover b { text-decoration: underline; }
.tr-step__dot { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto var(--space-2); border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--color-surface); color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.tr-step b { display: block; color: var(--color-text); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.tr-step em { display: block; margin-top: 2px; font-style: normal; }
.tr-step em.ok { color: var(--color-success-strong); font-weight: var(--weight-semibold); }
.tr-step.is-done .tr-step__dot { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-text-inverse); }
.tr-step.is-now .tr-step__dot { border-color: var(--color-primary); color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-subtle); }
.tr-step.is-now b { color: var(--color-primary); }
.tr-step.is-goal .tr-step__dot { border-style: dashed; border-color: var(--color-primary); color: var(--color-primary); }
.tr-step.is-goal.is-done .tr-step__dot { border-style: solid; color: var(--color-text-inverse); }
.tr-stage { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.tr-panel { position: sticky; top: calc(var(--topbar-h) + var(--space-3)); padding: var(--space-4) var(--space-4) var(--space-3); }
.tr-panel__k { margin: 0 0 var(--space-0-5); font-size: var(--text-sm); color: var(--color-text-2); }
.tr-panel__t { margin: 0 0 var(--space-2); font-size: var(--text-lg); line-height: 1.3; font-weight: var(--weight-bold); }
.tr-panel__goal { margin: 0 0 var(--space-4); font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-2); }
.tr-panel__after { margin: var(--space-1) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-2); }
.tr-panel__after b { display: block; margin-top: 2px; color: var(--color-text); font-weight: var(--weight-semibold); }
.tr-line { list-style: none; margin: 0; padding: 0; }
.tr-line li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-2-5); padding: 0 0 var(--space-4); }
.tr-line li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--color-neutral-200); }
.tr-line li:last-child { padding-bottom: var(--space-2); }
.tr-line li:last-child::before { display: none; }
.tr-line li.is-done::before { background: var(--color-primary); }
.tr-line__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--color-surface); color: var(--color-text-2); font-size: 11px; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.tr-line li.is-done .tr-line__n { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-text-inverse); }
.tr-line li.is-here .tr-line__n { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-subtle); }
.tr-line li.is-here:not(.is-done) .tr-line__n { color: var(--color-primary); }
.tr-line a { display: block; padding-top: 3px; color: var(--color-text); text-decoration: none; font-size: var(--text-base); line-height: 1.35; }
.tr-line a:hover { text-decoration: underline; }
.tr-line li.is-here a { font-weight: var(--weight-bold); color: var(--color-primary); }
.tr-line small { display: block; margin-top: 2px; font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--color-text-2); }
.tr-line small.ok { color: var(--color-success-strong); font-weight: var(--weight-semibold); }
.tr-doc { padding: 0; overflow: hidden; }
.tr-doc__in { display: grid; grid-template-columns: 112px minmax(0, 680px); gap: 0 var(--space-6); justify-content: center; padding: var(--space-10) var(--space-8) var(--space-8) var(--space-4); }
.tr-doc__in--plain { display: block; max-width: 760px; margin: 0 auto; padding: var(--space-8) var(--space-8) var(--space-6); }
.tr-doc__margin { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-1); text-align: right; font-size: var(--text-xs); color: var(--color-text-2); }
.tr-doc__margin b { font-size: 44px; line-height: 1; font-weight: var(--weight-regular); color: var(--color-primary); letter-spacing: -.02em; margin-bottom: var(--space-1-5); }
.tr-doc__seen { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--color-success-strong); }
.tr-doc__body { min-width: 0; }
.tr-doc__title { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); font-size: 28px; line-height: 1.22; font-weight: var(--weight-bold); letter-spacing: -.01em; }
.tr-doc__title svg { color: var(--color-primary); }
.tr-eyebrow { margin: 0 0 var(--space-1-5); font-size: var(--text-sm); color: var(--color-text-2); }
.tr-lead { margin: 0 0 var(--space-2); font-size: var(--text-lg); line-height: 1.6; color: var(--color-text); max-width: 68ch; }
.tr-goal { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2-5); margin: 0 0 var(--space-6); padding: var(--space-3-5) 0; border-top: 2px solid var(--color-primary); border-bottom: 1px solid var(--color-border); font-size: 15px; line-height: 1.55; }
.tr-goal svg { margin-top: 2px; color: var(--color-primary); }
.tr-goal b { display: block; margin-bottom: 2px; font-size: var(--text-sm); color: var(--color-primary); }
.tr-text { font-size: 16px; line-height: 1.7; max-width: 68ch; color: var(--color-text); }
.tr-text p { margin: 0 0 var(--space-3-5); }
.tr-text .tr-sub { margin: var(--space-6) 0 var(--space-2); font-size: 18px; line-height: 1.35; font-weight: var(--weight-semibold); }
.tr-text .tr-list { margin: 0 0 var(--space-4); line-height: 1.65; }
.tr-text .tr-list li { margin-bottom: var(--space-2); }
.tr-text .tr-list li::marker { color: var(--color-primary); }
.tr-text .tr-callout { margin: var(--space-5) 0; padding: var(--space-3-5) var(--space-4); line-height: 1.6; }
.tr-shot { max-width: 560px; margin: var(--space-6) auto; }
.tr-shot__img { position: relative; display: block; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-sm); }
.tr-shot__img img { display: block; width: 100%; height: auto; }
.tr-shot__img:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.tr-shot__mark { position: absolute; border: 3px solid var(--color-primary); border-radius: 999px; box-shadow: 0 0 0 3px var(--color-surface); pointer-events: none; }
.tr-shot__mark--box { border-radius: var(--radius-lg); }
.tr-shot__zoom { position: absolute; right: var(--space-2); bottom: var(--space-2); display: inline-flex; align-items: center; gap: var(--space-1); padding: 3px var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); font-size: var(--text-xs); color: var(--color-text-2); }
.tr-shot figcaption { margin-top: var(--space-2); font-size: var(--text-sm); line-height: 1.45; color: var(--color-text-2); }
.tr-shot figcaption b { color: var(--color-text); font-weight: var(--weight-semibold); }
.tr-extra { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 0; }
.tr-ideas { margin: var(--space-6) 0 0; padding-top: var(--space-1); border-top: 1px solid var(--color-border); }
.tr-ideas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2-5) var(--space-5); }
.tr-ideas li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--space-2); font-size: 15px; line-height: 1.5; }
.tr-ideas svg { margin-top: 3px; color: var(--color-success-strong); }
.tr-self { margin: var(--space-6) 0 0; padding: var(--space-4) var(--space-5) var(--space-5); border-radius: var(--radius-xl); background: var(--color-surface-2); }
.tr-self .tr-h3 { margin-top: 0; }
.tr-self__hint { margin: calc(-1 * var(--space-1)) 0 var(--space-3); font-size: var(--text-sm); color: var(--color-text-2); }
.tr-self__q { margin: 0 0 var(--space-3); padding: 0; border: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.tr-self__q legend { margin-bottom: var(--space-2); font-size: 15px; font-weight: var(--weight-semibold); }
.tr-option { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--space-2-5); align-items: start; padding: var(--space-2-5) var(--space-3-5); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-surface); font-size: 15px; line-height: 1.45; cursor: pointer; }
.tr-option input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--color-primary); }
.tr-option:has(input:checked), .tr-option.is-on { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); background: var(--color-primary-subtle); }
.tr-self__ok, .tr-self__no, .tr-note { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0 0 var(--space-3); font-size: 15px; line-height: 1.5; }
.tr-note span { min-width: 0; overflow-wrap: break-word; }
.tr-self__ok svg, .tr-note svg { flex: none; margin-top: 3px; color: var(--color-success-strong); }
.tr-self__no svg { flex: none; margin-top: 3px; color: var(--color-warning-strong); }
.tr-doubt { margin-top: var(--space-5); padding: var(--space-2-5) var(--space-3-5); border: 1px solid var(--color-ai-border); border-radius: var(--radius-xl); background: var(--color-ai-subtle); }
.tr-doubt summary { cursor: pointer; font-size: var(--text-sm); }
.tr-score { display: flex; gap: var(--space-4); align-items: center; margin: 0 0 var(--space-5); padding: var(--space-3-5) var(--space-4); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.tr-score b { font-size: 40px; line-height: 1; }
.tr-score.is-ok { border-color: var(--color-success); background: var(--color-success-subtle); }
.tr-score span { font-size: 15px; line-height: 1.5; color: var(--color-text); }
.tr-missed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.tr-missed li { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3) var(--space-3-5); border: 1px solid var(--color-border); border-left: 4px solid var(--color-warning); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; font-size: 15px; }
.tr-missed span { color: var(--color-text-2); font-size: var(--text-sm); }
.tr-missed a { display: inline-flex; gap: var(--space-1-5); align-items: center; margin-top: var(--space-0-5); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.tr-quiz__rule { margin: 0 0 var(--space-4); font-size: var(--text-sm); line-height: 1.5; color: var(--color-text-2); }
.tr-seg { display: flex; gap: var(--space-1-5); margin: 0 0 var(--space-6); }
.tr-seg span { flex: 1; height: 6px; border-radius: var(--radius-full); background: var(--color-neutral-200); }
.tr-seg span.is-on { background: var(--color-primary); }
.tr-ask { margin: 0 0 var(--space-6); padding: 0; border: 0; min-width: 0; }
.tr-ask legend { display: block; width: 100%; margin: 0 0 var(--space-4); padding: 0; font-size: 20px; line-height: 1.35; font-weight: var(--weight-bold); }
.tr-ask__n { display: block; margin-bottom: var(--space-1); font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--color-text-2); }
.tr-choices { display: flex; flex-direction: column; gap: var(--space-2-5); counter-reset: tr-opcion; }
.tr-choice { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: var(--space-3-5); align-items: center; min-height: 56px; padding: var(--space-2-5) var(--space-4); border: 1px solid var(--color-border-strong); border-radius: var(--radius-xl); background: var(--color-surface); font-size: 16px; line-height: 1.4; cursor: pointer; }
.tr-choice:hover { border-color: var(--color-primary); }
.tr-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tr-choice i { counter-increment: tr-opcion; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); font-style: normal; font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-text-2); }
.tr-choice i::before { content: counter(tr-opcion, upper-alpha); }
.tr-choice:has(input:checked) { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); background: var(--color-primary-subtle); }
.tr-choice:has(input:checked) i { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-text-inverse); }
.tr-choice:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tr-quiz.is-step .tr-ask { display: none; }
.tr-quiz.is-step .tr-ask.is-on { display: block; }
.tr-cert { max-width: 620px; margin: var(--space-2) 0 var(--space-4); padding: var(--space-8) var(--space-10) var(--space-6); border: 1px solid var(--color-border-strong); border-top: 6px solid var(--color-primary); border-radius: var(--radius-md); background: var(--color-surface); text-align: center; }
.tr-cert p { margin: 0 0 var(--space-1-5); font-size: 15px; line-height: 1.55; }
.tr-cert__org { font-size: var(--text-sm) !important; color: var(--color-text-2); }
.tr-cert__kind { margin-bottom: var(--space-4) !important; font-size: 22px !important; font-weight: var(--weight-bold); }
.tr-cert__name { margin: var(--space-1) 0 var(--space-2-5) !important; font-size: 24px !important; font-weight: var(--weight-semibold); }
.tr-cert__date { margin-top: var(--space-2) !important; color: var(--color-text-2); }
.tr-cert__code { margin-top: var(--space-4) !important; font-size: var(--text-sm) !important; color: var(--color-text-2); }
.tr-rate { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.tr-goals { list-style: none; margin: 0 0 var(--space-2); padding: 0; }
.tr-goals li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: 15px; line-height: 1.5; }
.tr-goals svg { margin-top: 3px; color: var(--color-primary); }
.tr-pass { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.tr-pass li { padding: var(--space-3) var(--space-3-5); border-left: 1px solid var(--color-border); font-size: var(--text-sm); line-height: 1.45; color: var(--color-text-2); }
.tr-pass li:first-child { border-left: 0; }
.tr-pass b { display: block; margin-bottom: var(--space-0-5); font-size: 20px; color: var(--color-text); }
.tr-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-5); align-items: center; padding: var(--space-4) var(--space-5); }
.tr-next__num { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.tr-next__num b { font-size: 34px; line-height: 1.1; font-weight: var(--weight-bold); color: var(--color-primary); }
.tr-next__num b.text-danger { color: var(--color-danger-strong); }
.tr-next__num span { font-size: var(--text-sm); color: var(--color-text-2); }
.tr-next__go { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-left: var(--space-5); border-left: 1px solid var(--color-border); }
.tr-next__go p { margin: 0; min-width: 0; }
.tr-next__go small { display: block; font-size: var(--text-sm); color: var(--color-text-2); }
.tr-next__go b { display: block; font-size: var(--text-lg); }
.tr-next__go span { display: block; font-size: var(--text-sm); color: var(--color-text-2); }
.tr-next__go .btn { flex: none; }
.tr-courses { display: flex; flex-direction: column; gap: var(--space-3); }
.tr-course { display: grid; grid-template-columns: minmax(0, 1fr) 190px auto; gap: var(--space-5); align-items: center; padding: var(--space-4) var(--space-5); }
.tr-course.is-next { border-color: var(--color-primary); box-shadow: inset 4px 0 0 var(--color-primary); }
.tr-course__k { display: flex; align-items: center; gap: var(--space-1); margin: 0 0 var(--space-0-5); font-size: var(--text-sm); color: var(--color-text-2); }
.tr-course__k svg { color: var(--color-primary); }
.tr-course__t { margin: 0 0 var(--space-2-5); font-size: var(--text-lg); font-weight: var(--weight-bold); }
.tr-course__t a { color: var(--color-text); }
.tr-course__legend { margin: var(--space-1-5) 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.tr-course__when { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: 0; }
.tr-course__when dt { font-size: var(--text-xs); color: var(--color-text-2); }
.tr-course__when dd { margin: 2px 0 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.tr-sq { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; }
.tr-sq__c { display: inline-block; flex: none; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--color-border-strong); background: var(--color-neutral-100); }
.tr-sq__c.is-d { border-color: var(--color-primary); background: var(--color-primary); }
.tr-sq__c.is-h { border: 2px solid var(--color-primary); background: var(--color-primary-subtle); }
.tr-sq__c.is-l { border: 2px solid var(--color-danger); background: var(--color-danger-subtle); }
.tr-sq__c--exam { margin-left: 8px; }
.tr-sq__goal { display: inline-grid; place-items: center; width: 16px; margin-left: 4px; color: var(--color-text-disabled); }
.tr-sq__goal.is-d { color: var(--color-primary); }
.tr-cols { display: flex; gap: 4px; margin-top: var(--space-1); font-size: 11px; font-weight: var(--weight-regular); color: var(--color-text-2); }
.tr-cols span { flex: none; width: 16px; text-align: center; }
.tr-cols span:nth-last-child(2) { margin-left: 8px; }
.tr-cols span:last-child { margin-left: 4px; }
.tr-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-2); font-size: var(--text-xs); color: var(--color-text-2); }
.tr-legend span { display: inline-flex; align-items: center; gap: var(--space-1-5); }
.tr-team { display: grid; grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr); gap: var(--space-5); align-items: center; padding: var(--space-4) var(--space-5); }
.tr-team__main { display: flex; flex-direction: column; gap: var(--space-1); }
.tr-team__main b { font-size: 36px; line-height: 1; color: var(--color-primary); }
.tr-team__main > span:not(.tr-bar) { font-size: var(--text-sm); color: var(--color-text-2); }
.tr-team__rest { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: var(--space-2) var(--space-3); margin: 0; padding-left: var(--space-5); border-left: 1px solid var(--color-border); }
.tr-team__rest dt { font-size: var(--text-xs); color: var(--color-text-2); }
.tr-team__rest dd { margin: 2px 0 0; font-size: var(--text-xl); font-weight: var(--weight-semibold); }
.tr-team__rest dd.text-danger { color: var(--color-danger-strong); }
.tr-team-table td { vertical-align: middle; }
.tr-pct { display: inline-flex; align-items: center; gap: var(--space-2); white-space: nowrap; }
.tr-pct .tr-bar { width: 72px; margin: 0; }
.ce-route { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2-5); }
.tr-ed-mod { margin: 0 0 var(--space-4); padding: 0 0 var(--space-3); border-bottom: 1px solid var(--color-border); }
.tr-ed-mod__t { display: flex; align-items: center; gap: var(--space-2-5); margin: var(--space-2) 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-bold); }
.tr-ed-mod__n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--color-primary); color: var(--color-primary); font-size: var(--text-xs); }
.tr-ed-mod__goal { margin: 0 0 var(--space-2) 36px; font-size: var(--text-sm); color: var(--color-text-2); }
.tr-ed-list { list-style: none; margin: 0 0 var(--space-2); padding: 0; }
.tr-ed-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: var(--space-2); align-items: center; padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.tr-ed-list li:first-child { border-top: 0; }
.tr-ed-list__n { color: var(--color-text-2); font-size: var(--text-sm); }
.tr-ed-list small { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.tr-ed-list__quiz .tr-ed-list__n { color: var(--color-primary); }
@media (max-width: 1100px) {
.tr-stage { grid-template-columns: 250px minmax(0, 1fr); }
.tr-doc__in { grid-template-columns: 72px minmax(0, 1fr); gap: 0 var(--space-4); padding: var(--space-6) var(--space-5) var(--space-6) var(--space-2); }
.tr-doc__margin b { font-size: 32px; }
}
@media (max-width: 760px) {
.tr-route { padding: var(--space-3); }
.tr-route__top { margin-bottom: var(--space-3); }
.tr-route__pct b { font-size: 26px; }
.tr-steps { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: var(--space-1); }
.tr-steps::-webkit-scrollbar { display: none; }
.tr-step { flex: none; width: 84px; }
.tr-stage { grid-template-columns: 1fr; }
.tr-panel { position: static; order: 2; }
.tr-doc__in, .tr-doc__in--plain { display: block; padding: var(--space-5) var(--space-4); }
.tr-doc__margin { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: var(--space-2-5); margin-bottom: var(--space-2); text-align: left; }
.tr-doc__margin b { font-size: 28px; margin: 0; }
.tr-doc__title { font-size: 23px; }
.tr-ideas ul { grid-template-columns: 1fr; }
.tr-self { padding: var(--space-3-5); }
.tr-ask legend { font-size: 18px; }
.tr-cert { padding: var(--space-5) var(--space-4); }
.tr-next { grid-template-columns: 1fr; gap: var(--space-3); }
.tr-next__go { padding: var(--space-3) 0 0; border-left: 0; border-top: 1px solid var(--color-border); flex-direction: column; align-items: stretch; }
.tr-next__go .btn { width: 100%; justify-content: center; min-height: 44px; }
.tr-course { grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-3-5) var(--space-4); }
.tr-course__go { justify-self: start; }
.tr-team { grid-template-columns: 1fr; }
.tr-team__rest { padding: var(--space-3) 0 0; border-left: 0; border-top: 1px solid var(--color-border); grid-template-columns: 1fr 1fr; }
.tr-doubt__form { flex-direction: column; }
}
.topbar-chat { position: relative; }
.ch-group-new { margin: var(--space-2) 0 var(--space-1); }
.ch-group-edit { position: relative; }
.ch-group-edit[open] .ch-group-form { position: absolute; right: 0; top: 36px; z-index: 5; width: 300px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-3); box-shadow: var(--shadow-md); }
.ch-group-form { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }
.ch-group-people { border: 0; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-1); }
.ch-group-people .check { display: flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-sm); }
.ch-layout { display: grid; grid-template-columns: 440px minmax(0, 1fr); height: calc(var(--alto-pantalla, 100vh) - 150px); min-height: 480px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); overflow: hidden; }
.ch-list { display: flex; flex-direction: column; border-right: 1px solid var(--color-border); min-height: 0; }
.ch-new { display: flex; gap: var(--space-1-5); padding: var(--space-2-5); border-bottom: 1px solid var(--color-border); }
.ch-new .select { flex: 1; min-width: 0; }
.ch-threads { list-style: none; margin: 0; padding: var(--space-1); overflow-y: auto; }
.ch-threads a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: var(--space-2-5); padding: var(--space-2); border-radius: var(--radius-xl); color: var(--color-text); text-decoration: none; }
.ch-threads a:hover { background: var(--color-surface-2); }
.ch-threads a[aria-current="page"] { background: var(--color-primary-subtle); }
.ch-threads__ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-surface-2); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-text-2); }
.ch-online { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--color-success); border: 2px solid var(--color-surface); }
.ch-threads__text { display: flex; flex-direction: column; min-width: 0; }
.ch-threads__text b, .ch-threads__text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-threads__text small { color: var(--color-text-2); font-size: var(--text-xs); }
.ch-ultima { color: var(--color-text-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.ch-thread__who { display: flex; flex-direction: column; min-width: 0; }
.ch-threads__n { min-width: 20px; height: 20px; padding: 0 var(--space-1-5); border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-text-inverse); font-size: var(--text-xs); font-weight: var(--weight-bold); line-height: 20px; text-align: center; }
.ch-thread { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.ch-thread__head { display: flex; align-items: center; gap: var(--space-2-5); padding: var(--space-2-5) var(--space-3-5); border-bottom: 1px solid var(--color-border); }
.ch-back { display: none; }
.ch-sum { margin-left: auto; }
.ch-messages { flex: 1; overflow-y: auto; padding: var(--space-3-5); display: flex; flex-direction: column; gap: var(--space-2); background: var(--color-bg); }
.ch-msg { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; }
.ch-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.ch-msg__who { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); margin: 0 0 var(--space-0-5) var(--space-2); }
.ch-msg__bubble { padding: var(--space-2) var(--space-3) var(--space-1-5); border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border); }
.ch-msg.is-mine .ch-msg__bubble { background: var(--color-primary-subtle); border-color: transparent; }
.ch-msg__text { margin: 0; font-size: var(--text-base); line-height: 1.45; overflow-wrap: break-word; }
.ch-msg__meta { display: block; margin-top: var(--space-0-5); font-size: var(--text-xs); color: var(--color-text-2); text-align: right; }
.ch-seen { letter-spacing: -3px; color: var(--color-text-muted); }
.ch-seen.is-seen { color: var(--color-primary); }
.ch-photo { display: block; max-width: 260px; max-height: 260px; margin-top: var(--space-1-5); border-radius: var(--radius-xl); }
.ch-voice { display: block; margin-top: var(--space-1-5); max-width: 260px; }
.ch-file, .ch-linked { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-1-5); font-size: var(--text-sm); }
.ch-card { display: flex; flex-direction: column; margin-top: var(--space-1-5); padding: var(--space-1-5) var(--space-2-5); border: 1px solid var(--color-border-strong); border-left: 3px solid var(--color-primary); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.ch-card small { color: var(--color-text-2); font-size: var(--text-xs); }
.ch-quote { display: flex; flex-direction: column; margin-bottom: var(--space-1-5); padding: var(--space-1) var(--space-2); border-left: 3px solid var(--color-primary); border-radius: var(--radius-md); background: var(--color-bg); color: var(--color-text); text-decoration: none; font-size: var(--text-sm); }
.ch-quote b { color: var(--color-primary); font-size: var(--text-xs); }
.ch-quote span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text-2); }
.ch-place { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-1-5); padding: var(--space-1-5) var(--space-2-5); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.ch-place > svg { flex: none; color: #166534; }
.ch-place span { display: flex; flex-direction: column; }
.ch-place small { color: var(--color-text-2); font-size: var(--text-xs); }
.ch-card.is-locked { border-left-color: var(--color-border-strong); color: var(--color-text-2); }
.ch-msg__more { position: absolute; top: 2px; right: -22px; }
.ch-msg.is-mine .ch-msg__more { right: auto; left: -22px; }
.ch-msg.is-mine .ch-msg__menu { right: auto; left: 0; }
.ch-msg__more summary { list-style: none; cursor: pointer; color: var(--color-text-2); padding: 0 var(--space-1); }
.ch-msg__menu { position: absolute; z-index: 5; top: 20px; right: 0; display: flex; flex-direction: column; gap: var(--space-1); min-width: 220px; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); box-shadow: var(--shadow-md); }
.ch-msg__menu form { display: flex; gap: var(--space-1); margin: 0; }
.ch-compose { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: end; gap: var(--space-1-5); padding: var(--space-2-5); border-top: 1px solid var(--color-border); }
.ch-compose .textarea { min-height: 40px; max-height: 140px; resize: vertical; }
.ch-compose__files { grid-column: 1 / -1; }
[data-ch-voice].is-recording { color: var(--color-danger-strong); background: var(--color-danger-subtle); }
.ch-reason { display: flex; flex-direction: column; gap: var(--space-2); padding: 18px; max-width: 520px; }
.ch-summary { margin: var(--space-2-5) var(--space-3-5) 0; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-ai-border); border-radius: var(--radius-xl); background: var(--color-ai-subtle); font-size: 13.5px; }
.ch-empty { display: grid; place-items: center; height: 100%; padding: var(--space-5); }
@media (max-width: 760px) {
.ch-layout { grid-template-columns: 1fr; height: calc(100vh - 120px); }
.ch-layout.has-thread .ch-list { display: none; }
.ch-layout:not(.has-thread) .ch-thread { display: none; }
.ch-back { display: inline-flex; }
.ch-msg { max-width: 92%; }
}
.fe-types td { vertical-align: top; }
.fe-types .input, .fe-types .select { height: 32px; font-size: var(--text-sm); }
.fe-types .field__help { margin-top: var(--space-0-5); }
.fe-types__hint { max-width: 48ch; margin-top: var(--space-0-5); line-height: 1.35; }
.fe-card { padding: var(--space-2-5) var(--space-3-5); margin-bottom: var(--space-3); }
.fe-card__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.fe-card__rows { margin-top: var(--space-1-5); display: grid; gap: var(--space-0-5); }
.tour-q { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: var(--space-2); vertical-align: 3px; border: 1px solid var(--color-border-strong); border-radius: 50%; background: var(--color-surface); color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-bold); line-height: 1; cursor: pointer; }
.tour-q:hover { color: var(--color-primary); border-color: var(--color-primary); }
.tour-q:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.birth-pick { display: grid; grid-template-columns: 74px minmax(0, 1fr) 88px; gap: var(--space-1-5); }
.birth-pick .select { width: 100%; min-width: 0; }
.leave-ask { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.leave-ask__title { margin: 0 0 var(--space-2); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.glance .kpi-box { display: flex; flex-direction: column; gap: var(--space-0-5); text-decoration: none; color: inherit; }
.glance a.kpi-box:hover { border-color: var(--color-primary); }
.glance__warn { border-color: var(--color-warning); }
.ag-wrap { overflow-x: auto; }
.ag-grid { width: auto; border-collapse: separate; border-spacing: 0; }
.ag-grid th, .ag-grid td { padding: var(--space-1) var(--space-0-5); }
.ag-grid th { position: static; top: auto; }
.ag-grid th.ag-who { position: sticky; left: 0; z-index: 2; }
.ag-grid .ag-who { position: sticky; left: 0; z-index: 1; background: var(--color-surface); min-width: 190px; padding-right: var(--space-2-5); }
.ag-d { width: 26px; min-width: 26px; text-align: center; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); line-height: 1.15; }
.ag-d span { display: block; font-weight: var(--weight-medium); font-size: var(--text-xs); }
.ag-we { background: var(--color-surface-2); }
.ag-c { text-align: center; font-size: var(--text-xs); font-weight: var(--weight-bold); width: 26px; height: 26px; border-radius: var(--radius-sm); }
.ag-c i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }
.ag-c--late { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.ag-c--absent { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.ag-c--open { box-shadow: inset 0 0 0 1.5px var(--color-danger-strong); color: var(--color-danger-strong); }
.ag-c--excused { background: var(--color-info-subtle); color: var(--color-info-strong); }
.ag-legend { margin-top: var(--space-2); line-height: 2; }
.ag-key { display: inline-block; min-width: 20px; padding: 0 var(--space-1); text-align: center; font-weight: var(--weight-bold); font-size: var(--text-xs); border-radius: var(--radius-sm); }
.ag-key i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); }
.cfg { display: flex; flex-direction: column; gap: var(--space-3); max-width: 880px; }
.cfg-group { padding: var(--space-1-5) 0; }
.cfg-group__t { display: flex; align-items: center; gap: var(--space-1-5); margin: 0; padding: var(--space-2) var(--space-4) var(--space-1); font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-text-2); }
.cfg-group--warn { border-color: var(--color-warning-strong); background: var(--color-warning-subtle); }
.cfg-group--warn .cfg-group__t { color: var(--color-warning-strong); }
.cfg-row { display: grid; grid-template-columns: 36px 1fr auto 18px; align-items: center; gap: var(--space-3); padding: var(--space-2-5) var(--space-4); color: var(--color-text); text-decoration: none; border-top: 1px solid var(--color-border); }
.cfg-group__t + .cfg-row { border-top: 0; }
.cfg-row:hover { background: var(--color-surface-2); text-decoration: none; }
.cfg-group--warn .cfg-row:hover { background: rgba(255, 255, 255, .5); }
.cfg-row__icon { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--color-primary-subtle); color: var(--color-primary); display: grid; place-items: center; }
.cfg-row__text { display: flex; flex-direction: column; min-width: 0; }
.cfg-row__text b { font-weight: var(--weight-semibold); font-size: var(--text-base); }
.cfg-row__text span { font-size: var(--text-sm); color: var(--color-text-2); }
.cfg-row__status { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; }
.cfg-row__status--ok { color: var(--color-success-strong); }
.cfg-row__status--warn { color: var(--color-warning-strong); font-weight: var(--weight-semibold); }
.cfg-row__go { color: var(--color-text-2); }
@media (max-width: 640px) {
.cfg-row { grid-template-columns: 36px 1fr 18px; }
.cfg-row__status { grid-column: 2; grid-row: 2; white-space: normal; }
}
.st-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-3); max-width: 960px; }
.st-facts > div { padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.st-facts dt { font-size: var(--text-xs); color: var(--color-text-2); }
.st-facts dd { margin: var(--space-0-5) 0 0; font-weight: var(--weight-semibold); font-size: var(--text-base); }
.st-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1-5); padding: 0; margin: 0 0 var(--space-3); max-width: 960px; }
.st-steps li { padding: var(--space-2) var(--space-3); border-top: 4px solid var(--color-border); background: var(--color-surface); border-radius: 0 0 var(--radius-md) var(--radius-md); display: flex; flex-direction: column; font-size: var(--text-sm); }
.st-steps li span { color: var(--color-text-2); }
.st-steps li.is-done { border-top-color: var(--color-success); }
.st-steps li.is-now { border-top-color: var(--color-warning-strong); background: var(--color-warning-subtle); }
.st-check { margin: var(--space-1) 0 0; padding-left: 1.1em; }
.st-board { display: grid; grid-template-columns: 1fr 1.3fr 1.1fr; gap: var(--space-3); max-width: 960px; margin-top: var(--space-3); align-items: start; }
.st-net { padding: var(--space-4); }
.st-net__t, .st-block__t { margin: 0; font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--color-text-2); }
.st-net__v { margin: var(--space-1-5) 0 var(--space-1); font-size: 28px; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
.st-block { padding: var(--space-3-5) var(--space-4); }
.st-lines { margin: var(--space-2) 0 0; }
.st-lines > div { display: flex; justify-content: space-between; gap: var(--space-3); padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); font-size: 13.5px; }
.st-lines dt small { display: block; color: var(--color-text-2); font-size: var(--text-xs); }
.st-lines dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-lines__total { font-weight: var(--weight-bold); }
.st-how, .st-fix { max-width: 960px; margin-top: var(--space-3); padding: var(--space-2-5) var(--space-4); }
.st-how summary, .st-fix summary { cursor: pointer; font-weight: var(--weight-semibold); display: flex; align-items: center; gap: var(--space-1-5); }
.st-how__list { margin: var(--space-2) 0 0; padding-left: 1.1em; font-size: var(--text-sm); line-height: 1.55; }
@media (max-width: 900px) { .st-board { grid-template-columns: 1fr; } .st-facts, .st-steps { grid-template-columns: 1fr 1fr; } }
.pos-card { margin-bottom: var(--space-3); }
.pos-table td { vertical-align: top; }
.pos-salary--low { border-color: var(--color-danger-strong); color: var(--color-danger-strong); }
.pos-edit { display: flex; flex-direction: column; gap: var(--space-2); }
.pos-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--space-3); align-items: start; }
.pos-mins li { display: flex; justify-content: space-between; gap: var(--space-3); }
.ct-answer { display: inline-flex; flex-wrap: wrap; gap: var(--space-1-5); margin-left: var(--space-1-5); vertical-align: middle; }
.ag-c--far { background: var(--color-danger-subtle); color: var(--color-danger-strong); box-shadow: inset 0 0 0 1.5px var(--color-danger-strong); }
.my-att__where { display: block; font-size: var(--text-xs); color: var(--color-text-2); }
.my-att__where--far { color: var(--color-danger-strong); font-weight: var(--weight-semibold); }
.my-att__wide { display: none; }
@media (max-width: 600px) {
.my-att__table tr.my-att__wide { display: table-row; }
.my-att__table tr.my-att__wide td { border-top: 0; padding-top: 0; white-space: normal; }
}
.att-scanner { position: fixed; inset: 0; z-index: 60; background: #000; display: flex; flex-direction: column; }
.att-scanner video { flex: 1; width: 100%; object-fit: cover; }
.att-scanner p { margin: 0; padding: var(--space-3-5); color: var(--color-text-inverse); text-align: center; font-size: 15px; }
.att-scanner .btn { margin: 0 var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom)); background: var(--color-surface); }
.att-scanner--help { justify-content: center; align-items: center; gap: var(--space-3); padding: var(--space-4); background: rgba(0, 0, 0, .92); }
.att-scanner--help > * { width: min(440px, 100%); }
.att-scanner--help .btn { margin: 0; }
.att-welcome { max-width: 640px; margin-bottom: var(--space-3); }
a.sc-level { text-decoration: none; color: inherit; }
a.sc-level.is-on { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.sc-tags { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.sc-tag { font-size: var(--text-xs); padding: 1px var(--space-1-5); border-radius: var(--radius-full); background: var(--color-surface-2); color: var(--color-text-2); }
.sc-tag--bad { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.sc-tag--warn { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.sc-spark { color: var(--color-text-2); }
.sc-spark__dot { stroke: var(--color-surface); stroke-width: 1.5; fill: var(--color-text-2); }
.sc-spark__dot--ok { fill: var(--color-success); }
.sc-spark__dot--warn { fill: var(--color-warning-strong); }
.sc-spark__dot--bad { fill: var(--color-danger-strong); }
.cal-daily { margin: 0 0 var(--space-2); padding: var(--space-1-5) var(--space-2-5); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); }
.tt-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-2) var(--space-3); margin-bottom: var(--space-2); }
.tt-bar--buttons { justify-content: flex-end; }
.tt-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-2); flex: 1 1 auto; min-width: 0; }
.tt-field { display: flex; flex-direction: column; gap: var(--space-0-5); margin: 0; min-width: 0; }
.tt-field__label { font-size: var(--text-xs); color: var(--color-text-2); }
.tt-input.input { height: 32px; font-size: var(--text-sm); width: 170px; max-width: 100%; padding-top: 0; padding-bottom: 0; }
.tt-input[type=date] { width: 140px; }
.tt-input[type=number] { width: 110px; }
.tt-info { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5) var(--space-2-5); margin-left: auto; font-size: var(--text-sm); }
.tt-count { font-weight: var(--weight-semibold); white-space: nowrap; }
.tt-total { color: var(--color-text-2); white-space: nowrap; }
.tt-total:empty { display: none; }
.tt-none { margin: var(--space-1) 0 var(--space-3); }
@media (max-width: 640px) {
.tt-fields { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.tt-input.input, .tt-input[type=date], .tt-input[type=number] { width: 100%; }
.tt-info { margin-left: 0; }
}
.cxp-days { display: flex; align-items: center; gap: var(--space-1-5) var(--space-3); flex-wrap: wrap; margin: 0 0 var(--space-3); color: var(--color-text-2); }
.cxp-days b { color: var(--color-text); }
.cxp-days__item { white-space: nowrap; }
.cxp-days__item + .cxp-days__item::before { content: "·"; margin-right: var(--space-3); color: var(--color-text-3, var(--color-text-2)); }
@media (max-width: 640px) { .cxp-days__item { white-space: normal; } .cxp-days__item + .cxp-days__item::before { content: none; } }
.list-sum { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin: 0 0 var(--space-2); }
.list-sum__text { margin: 0; }
.list-sum__tools, .ai-bar__tools { display: inline-flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; margin-left: auto; }
.tags { display: inline-flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; }
.tags .chip, .tags .badge, .tags .attn-chip { margin: 0; }
.table--airy td { padding-top: var(--space-3); padding-bottom: var(--space-3); vertical-align: top; }
.table--airy td, .table--airy th { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
.cxp-who { min-width: 14rem; }
.btn__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: var(--space-1); border-radius: var(--radius-full); background: var(--color-primary); color: #fff; font-size: var(--text-xs, 12px); font-weight: var(--weight-semibold); line-height: 1; }
@media (max-width: 640px) { .list-sum__tools .btn, .ai-bar__tools .btn { min-height: 44px; } }
.inv-layout { display: grid; gap: var(--space-4); align-items: start; }
.inv-main { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.inv-main > .notice, .inv-main > section { margin: 0; }
.inv-side { display: none; }
@media (min-width: 1200px) {
.inv-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.inv-side { display: block; position: sticky; top: var(--space-3); }
}
.inv-pdf { padding: var(--space-3); }
.inv-pdf__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.inv-pdf__bar .card__title { margin: 0; }
.inv-pdf__frame { display: block; width: 100%; height: calc(100vh - 230px); min-height: 520px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.inv-check { flex-direction: row; }
.inv-check__list { margin: var(--space-1) 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: var(--space-1); }
.inv-check__list li { line-height: 1.45; }
.inv-check__foot { margin: var(--space-2) 0 0; font-weight: var(--weight-medium); }
.inv-cards { display: grid; gap: var(--space-4); }
@media (min-width: 1500px) { .inv-cards--two { grid-template-columns: 1fr 1fr; } }
.inv-total { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3); margin: var(--space-2) 0 var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-2); }
.inv-total__label { font-size: var(--text-sm); color: var(--color-text-2); }
.inv-total__value { font-size: 26px; line-height: 1.15; font-weight: var(--weight-semibold); color: var(--color-text); }
.inv-total__parts { color: var(--color-text-2); }
.inv-total__owed { color: var(--color-text); }
.inv-field-help { display: block; margin-top: 2px; font-size: var(--text-sm); color: var(--color-text-2); }
.inv-inline-form { display: flex; align-items: center; gap: var(--space-1-5); flex-wrap: wrap; margin-top: var(--space-1-5); }
.inv-inline-form .select { width: auto; min-width: 12rem; max-width: 100%; height: 36px; }
@media (max-width: 640px) {
.inv-inline-form { flex-direction: column; align-items: stretch; }
.inv-inline-form .select, .inv-inline-form .btn { width: 100%; min-height: 44px; }
}
.inv-steps { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-direction: column; }
.inv-step { position: relative; padding: 0 0 var(--space-3) var(--space-5); }
.inv-step::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-neutral-300, #cbd5e1); box-shadow: 0 0 0 3px var(--color-surface); }
.inv-step::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--color-border); }
.inv-step:last-child { padding-bottom: 0; }
.inv-step:last-child::after { display: none; }
.inv-step--approved::before { background: var(--color-success); }
.inv-step--rejected::before { background: var(--color-danger); }
.inv-step--waiting::before { background: var(--color-surface); border: 2px dashed var(--color-warning); width: 8px; height: 8px; }
.inv-step__head { display: flex; align-items: baseline; gap: var(--space-1-5); flex-wrap: wrap; }
.inv-step__when { font-size: var(--text-sm); color: var(--color-text-2); }
.inv-step__comment { margin: var(--space-1-5) 0 0; padding: var(--space-2) var(--space-3); border-left: 3px solid var(--color-border); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--color-surface-2); font-size: var(--text-sm); }
.inv-step__extra { margin: var(--space-1) 0 0; padding-left: 18px; font-size: var(--text-sm); color: var(--color-text-2); }
.cxp-days__value--ok { color: var(--color-success-strong) !important; }
.cxp-days__value--warn { color: var(--color-warning-strong) !important; }
.cxp-days__value--bad { color: var(--color-danger-strong) !important; }
.sound-gate { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: var(--space-2-5); width: 100%; margin: 0 0 var(--space-3); font: inherit; cursor: pointer; }
.sound-gate[hidden] { display: none; }
.sound-gate b { font-weight: var(--weight-bold); }
.sound-gate { padding: var(--space-1-5) var(--space-2-5); border: 1px solid var(--color-danger); border-radius: var(--radius-md); background: var(--color-danger-subtle); color: var(--color-danger-strong); font-size: var(--text-sm); font-weight: var(--weight-regular); line-height: 1.3; text-align: left; box-shadow: none; }
.mark-due.banner { padding: 5px var(--space-2-5); gap: var(--space-2); flex-wrap: nowrap; min-height: 0; margin-bottom: var(--space-2); background: var(--color-warning-subtle); font-size: var(--text-sm); }
.sound-gate:focus-visible { outline: 3px solid var(--color-danger-strong); outline-offset: 2px; }
.ml-decide { display: flex; flex-wrap: wrap; gap: var(--space-1-5); align-items: center; margin-top: var(--space-1-5); }
.ml-decide__form { display: flex; flex-wrap: wrap; gap: var(--space-1-5); align-items: center; flex: 0 1 auto; min-width: min(100%, 460px); }
.ml-decide .input--sm { margin-left: 0; text-align: left; max-width: 220px; }
.count-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); }
.count-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2-5) var(--space-3); border-bottom: 1px solid var(--color-border); }
.count-row:last-child { border-bottom: 0; }
.count-row label { flex: 1; min-width: 0; }
.count-row__qty { display: flex; align-items: center; gap: var(--space-1-5); flex: none; }
.count-row__qty .input { width: 96px; height: 40px; text-align: right; font-size: var(--text-lg); }
.rc-rules-all { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin: 0 0 var(--space-2); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.cl-office { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--space-3); margin-bottom: var(--space-3); }
.cl-office__facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-1) var(--space-3); margin: var(--space-3) 0 0; font-size: var(--text-base); }
.cl-office__facts dt { color: var(--color-text-2); }
.cl-office__facts dd { margin: 0; font-weight: var(--weight-semibold); }
.cl-office__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-2); }
.cl-office__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); background: var(--color-surface-2); }
@media (max-width: 720px) { .cl-office { grid-template-columns: 1fr; } }
.dir-office-ratings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2-5); }
.dir-office-ratings li { padding-bottom: var(--space-2-5); border-bottom: 1px solid var(--color-border); }
.dir-office-ratings li:last-child { border-bottom: 0; padding-bottom: 0; }
.gate-loan-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.loan-item-form { display: flex; flex-direction: column; gap: var(--space-1-5); min-width: 300px; }
.loan-damage { display: flex; gap: var(--space-2); align-items: flex-end; flex-wrap: wrap; }
.bc-builder { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.bc-builder__who { display: flex; align-items: center; gap: var(--space-2); }
.bc-builder__who div { display: flex; flex-direction: column; }
.bc-builder__form, .bc-answer { width: 360px; max-width: calc(100vw - 32px); }
.bc-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: flex-start; }
.bc-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2-5); }
.bc-timeline li { display: grid; grid-template-columns: 130px 1fr; gap: var(--space-2); font-size: var(--text-base); }
.bc-timeline__when { color: var(--color-text-2); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .bc-timeline li { grid-template-columns: 1fr; gap: var(--space-0-5); } }
a.stat--link { color: inherit; text-decoration: none; }
a.stat--link:hover { border-color: var(--color-primary); }
.stat__warn { color: var(--color-warning-strong); }
.cr-top { display: flex; gap: var(--space-3); align-items: stretch; flex-wrap: wrap; margin-bottom: var(--space-2); }
.cr-figs { display: flex; gap: var(--space-2); flex-wrap: wrap; flex: 1 1 auto; }
.cr-fig { display: flex; flex-direction: column; gap: var(--space-0-5); min-width: 130px; padding: var(--space-2-5) var(--space-3-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.cr-fig span { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.cr-fig b { font-size: 22px; line-height: 1.2; }
.cr-fig:hover { border-color: var(--color-primary); }
.cr-fig.is-on { border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); background: var(--color-primary-subtle); }
.cr-fig--pending b { color: var(--color-warning-strong); }
.cr-fig--approved b { color: var(--color-success-strong); }
.cr-fig--rejected b { color: var(--color-danger-strong); }
.cr-due { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2-5) var(--space-3-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.cr-due > div { display: flex; flex-direction: column; gap: var(--space-0-5); }
.cr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.cr-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-3-5); border: 1px solid var(--color-border); border-left: 4px solid var(--color-border-strong); border-radius: var(--radius-lg); background: var(--color-surface); }
.cr-row--pending { border-left-color: var(--color-warning); }
.cr-row--approved { border-left-color: var(--color-success); }
.cr-row--rejected { border-left-color: var(--color-danger); }
.cr-who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cr-mark { display: flex; align-items: center; gap: var(--space-2); cursor: pointer; }
.cr-mark input { width: 18px; height: 18px; flex: none; }
.cr-state { margin-top: var(--space-0-5); }
.cr-docs { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.cr-doc { display: flex; gap: var(--space-2-5); align-items: flex-start; min-width: 240px; flex: 1 1 240px; max-width: 360px; padding: var(--space-2) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.cr-doc--approved { background: var(--color-success-subtle); border-color: color-mix(in srgb, var(--color-success) 35%, transparent); }
.cr-doc--rejected { background: var(--color-danger-subtle); border-color: color-mix(in srgb, var(--color-danger) 35%, transparent); }
.cr-doc__thumb { flex: none; width: 56px; height: 56px; border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-0-5); background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-bold); text-decoration: none; }
.cr-doc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-doc__thumb--none { border-style: dashed; }
.cr-doc__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cr-doc__label { font-weight: var(--weight-bold); font-size: 13.5px; }
.cr-doc__acts { display: flex; gap: var(--space-1-5); align-items: center; margin-top: var(--space-1); }
.cr-ok { color: var(--color-success-strong); display: inline-flex; align-items: center; gap: var(--space-1); font-weight: var(--weight-semibold); }
.cr-bad { color: var(--color-danger-strong); }
@media (max-width: 1000px) { .cr-row { grid-template-columns: minmax(0, 1fr); } .cr-doc { max-width: none; } }
.fe-who { padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); }
.fe-who__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); flex-wrap: wrap; }
.fe-who__title { margin: 0; font-size: 15px; font-weight: var(--weight-bold); display: flex; align-items: center; gap: var(--space-2); }
.fe-who__add { display: flex; gap: var(--space-1-5); align-items: center; }
.fe-who__list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1-5) 18px; font-size: 13.5px; }
.as-now { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.as-now > div { flex: 1; }
.as-table td { vertical-align: middle; }
.as-date { display: flex; flex-direction: column; align-items: center; width: 64px; padding: var(--space-1) 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); line-height: 1.15; }
.as-date b { font-size: 20px; }
.as-date span { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.as-date small { font-size: var(--text-xs); color: var(--color-text-2); }
.as-title { font-weight: var(--weight-bold); }
.as-note { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: var(--space-0-5); color: var(--color-text-2); }
.as-note--warn { color: var(--color-warning-strong); }
.as-note--ok { color: var(--color-success-strong); }
.as-note--live { color: var(--color-success-strong); font-weight: var(--weight-semibold); }
.ml-figs { margin-bottom: var(--space-3); }
.ml-table td { vertical-align: middle; }
.ml-acts { white-space: nowrap; text-align: right; }
.ml-acts__form { display: inline-flex; gap: var(--space-1-5); align-items: center; }
.ml-acts .input--sm { width: 150px; margin-left: 0; text-align: left; }
@media (max-width: 1100px) { .ml-acts { white-space: normal; } .ml-acts__form { flex-wrap: wrap; } }
.place-pair { display: flex; align-items: stretch; height: 40px; min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; }
.place-pair > .place { border: 0; border-radius: 0; height: auto; background: transparent; min-width: 200px; }
.place-pair .place__change { display: inline-flex; align-items: center; gap: var(--space-1-5); padding: 0 var(--space-3-5); border-left: 1px solid var(--color-border); font-size: var(--text-sm); text-decoration: none; white-space: nowrap; }
.place-pair .place__change:hover { background: var(--color-primary-subtle); color: var(--color-primary); text-decoration: none; }
.place-pair .place__change svg { color: var(--color-text-2); }
.place-pair .place__change:hover svg { color: var(--color-primary); }
.topbar .ask-btn { height: 40px; }
.topbar-chat { width: 40px; height: 40px; }
@media (max-width: 1023px) { .place-pair > .place { min-width: 0; } }
.jc-paid { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.jc-paid > div { flex: 1; }
.jc-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.jc-fig { display: flex; flex-direction: column; gap: var(--space-0-5); padding: var(--space-2-5) var(--space-3-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); min-width: 0; }
.jc-fig > span { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.jc-fig > b { font-size: 18px; line-height: 1.25; }
.jc-fig > small { font-size: var(--text-xs); color: var(--color-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc-cols { align-items: start; gap: var(--space-3); }
.jc-card { padding: var(--space-3); }
.jc-card__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
.jc-card__head .card__title { margin: 0; }
.jc-card__acts { display: flex; gap: var(--space-1-5); flex-wrap: wrap; }
@media (max-width: 900px) { .jc-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jc-steps { grid-template-columns: minmax(0, 1fr) !important; } }
.sc-table td { vertical-align: middle; }
.sc-table__group th { background: var(--color-surface-2); font-size: var(--text-sm); font-weight: var(--weight-bold); text-transform: none; letter-spacing: 0; padding-top: var(--space-2); padding-bottom: var(--space-2); }
.sc-table__score { width: 190px; white-space: nowrap; }
.sc-table__score .num { margin-left: var(--space-2); font-size: 15px; }
.sc-table__trend { width: 104px; }
.sc-meter { display: inline-block; vertical-align: middle; width: 110px; height: 8px; border-radius: var(--radius-full); background: var(--color-surface-2); overflow: hidden; }
.sc-meter > span { display: block; height: 100%; border-radius: var(--radius-full); }
.sc-meter--ok > span { background: var(--color-success); }
.sc-meter--warn > span { background: var(--color-warning); }
.sc-meter--bad > span { background: var(--color-danger); }
.sc-table .sc-tags { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.sc-table td:first-child, .sc-table thead th:first-child { min-width: 200px; white-space: nowrap; }
.ai-legend { margin: 0 0 var(--space-2); line-height: 1.6; }
.ai-legend__ok { color: var(--color-success-strong); display: inline-flex; vertical-align: -1px; }
.ai-legend__turn { display: inline-block; padding: 0 var(--space-1-5); border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-text-inverse); font-weight: var(--weight-semibold); font-size: var(--text-xs); }
.saved-replies__box { width: min(360px, 86vw); max-height: 320px; overflow-y: auto; padding: var(--space-1-5); display: flex; flex-direction: column; gap: var(--space-0-5); }
.saved-replies__item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-0-5); text-align: left; width: 100%; padding: 7px 9px; border: 0; border-radius: var(--radius-md); background: transparent; cursor: pointer; font: inherit; color: inherit; }
.saved-replies__item:hover, .saved-replies__item:focus-visible { background: var(--color-surface-2); outline: none; }
.saved-replies__item:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.saved-replies__item small { color: var(--color-text-2); font-size: var(--text-xs); line-height: 1.35; }
.saved-replies__foot { margin: var(--space-1) 9px var(--space-0-5); }
.minuta-control { margin-bottom: var(--space-3); }
.minuta-control__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.minuta-control__head .card__title { display: flex; align-items: center; gap: var(--space-2); }
.minuta-control__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.minuta-control__say { margin: var(--space-2) 0 0; padding: var(--space-1-5) var(--space-2-5); border-radius: var(--radius-md); background: var(--color-warning-subtle); }
.mv-strip { display: flex; flex-wrap: wrap; align-items: stretch; gap: 1px; margin-bottom: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-border); overflow: hidden; }
.mv-strip > * { flex: 1 1 140px; display: flex; flex-direction: column; justify-content: center; gap: var(--space-0-5); padding: var(--space-2-5) var(--space-4); background: var(--color-surface); }
.mv-strip__live { flex: 1.4 1 220px; flex-direction: row !important; justify-content: flex-start !important; align-items: center; gap: var(--space-2) !important; font-weight: var(--weight-semibold); color: var(--color-text-2); }
.mv-strip__live.is-on { color: var(--color-success-strong); background: var(--color-success-subtle); }
.mv-strip__stat strong { font-size: var(--text-xl); line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--color-text); }
.mv-strip__stat span { font-size: var(--text-sm); color: var(--color-text-2); }
.mv-strip__stat.is-warn strong { color: var(--color-warning-strong); }
.mv-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.is-on .mv-dot, .mv-chip--now .mv-dot { animation: mv-pulse 1.6s ease-in-out infinite; }
@keyframes mv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .is-on .mv-dot, .mv-chip--now .mv-dot { animation: none; } }
.mv-note { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-3); font-size: var(--text-sm); color: var(--color-warning-strong); }
.mv { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-3); align-items: start; }
.mv__main, .mv__side { display: grid; gap: var(--space-3); min-width: 0; }
.mv .card__title { display: flex; align-items: center; gap: var(--space-1-5); }
.mv-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--color-surface-2); color: var(--color-text-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.mv-agreements { border-top: 3px solid var(--color-success); }
.mv-agreement { padding: var(--space-3) var(--space-3-5); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.mv-agreement + .mv-agreement { margin-top: var(--space-2-5); }
.mv-agreement--ok { background: var(--color-success-subtle); border-color: transparent; }
.mv-agreement--draft { background: var(--color-warning-subtle); border-color: transparent; }
.mv-agreement__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.mv-agreement__point { flex: 1; min-width: 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.mv-agreement--ok .mv-num { background: var(--color-success-strong); color: var(--color-text-inverse); }
.mv-agreement--draft .mv-num { background: var(--color-warning-strong); color: var(--color-text-inverse); }
.mv-agreement__text { margin: var(--space-2) 0 0 34px; font-size: var(--text-base); line-height: 1.5; color: var(--color-text); }
.mv-agreement__hint { margin: var(--space-1) 0 0 34px; font-size: var(--text-sm); color: var(--color-text-2); }
.mv-points { list-style: none; margin: 0; padding: 0; }
.mv-point { display: flex; gap: var(--space-2-5); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.mv-point:first-child { border-top: 0; padding-top: var(--space-0-5); }
.mv-point__body { flex: 1; min-width: 0; }
.mv-point__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.mv-point__title { margin: var(--space-0-5) 0 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.mv-point__summary { margin: var(--space-1-5) 0 0; line-height: 1.5; color: var(--color-text); }
.mv-point__wait { display: flex; align-items: center; gap: var(--space-1); margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.mv-point--now { margin: 0 -12px; padding-left: var(--space-3); padding-right: var(--space-3); border-radius: var(--radius-md); background: var(--color-primary-subtle); border-top-color: transparent; }
.mv-point--now + .mv-point { border-top-color: transparent; }
.mv-point--now .mv-num { background: var(--color-primary); color: var(--color-text-inverse); }
.mv-point--ok .mv-num { background: var(--color-success-subtle); color: var(--color-success-strong); }
.mv-chip { display: inline-flex; align-items: center; gap: var(--space-1-5); padding: var(--space-0-5) var(--space-2-5); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: var(--weight-medium); white-space: nowrap; background: var(--color-surface-2); color: var(--color-text-2); }
.mv-chip--now { background: var(--color-primary); color: var(--color-text-inverse); }
.mv-chip--open { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.mv-chip--ok { background: var(--color-success-subtle); color: var(--color-success-strong); }
.mv-chip--no { background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.mv-people { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2-5); }
.mv-people li { display: flex; align-items: center; gap: var(--space-2-5); }
.mv-people strong { display: block; font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.mv-people small { display: block; font-size: var(--text-sm); color: var(--color-text-2); }
.mv-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--color-surface-2); color: var(--color-text-2); font-weight: var(--weight-semibold); font-size: var(--text-sm); }
.mv-absent { margin: var(--space-3) 0 0; padding-top: var(--space-2-5); border-top: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-2); }
.mv-absent span { font-weight: var(--weight-semibold); }
.mv-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2-5); max-height: 460px; overflow-y: auto; }
.mv-feed li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-2); }
.mv-feed time { padding-top: var(--space-0-5); font-size: var(--text-sm); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.mv-feed p { margin: 0; padding: var(--space-2) var(--space-2-5); border-radius: var(--radius-sm) var(--radius-xl) var(--radius-xl) var(--radius-xl); background: var(--color-surface-2); font-size: var(--text-sm); line-height: 1.45; }
.mv-feed li:last-child p { background: var(--color-primary-subtle); }
.mv-feed__foot { margin: var(--space-2-5) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.mv-empty { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); }
@media (max-width: 1100px) { .mv { grid-template-columns: 1fr; } .mv-feed { max-height: 320px; } }
@media (max-width: 700px) {
.mv-strip { display: grid; grid-template-columns: 1fr 1fr; }
.mv-strip__live { grid-column: 1 / -1; }
.mv-strip > * { padding: var(--space-2) var(--space-3); }
}
.res-ai { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1-5); }
.res-ai__tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: 3px var(--space-2); border-radius: var(--radius-md); background: var(--color-warning-subtle); font-size: var(--text-sm); }
.mv-hint { margin: -4px 0 var(--space-3); font-size: var(--text-sm); color: var(--color-text-2); }
.idle-warning { position: fixed; left: 50%; bottom: var(--space-5); transform: translateX(-50%); z-index: 1000; display: flex; gap: var(--space-3); align-items: center; max-width: min(560px, calc(100vw - 32px)); padding: var(--space-3) var(--space-4); background: var(--color-text); color: var(--color-text-inverse); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.idle-warning p { margin: 0; font-size: var(--text-lg); line-height: 1.35; }
.idle-warning .btn { flex: none; }
.idle-restored { margin-bottom: var(--space-4); }
.day-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--space-2); margin-bottom: var(--space-3); }
.day-notes:not(:has(*)) { display: none; }
.day-notes > .banner { margin: 0; align-items: center; padding: var(--space-1-5) var(--space-3); font-size: var(--text-sm); }
.day-notes > .banner > div { flex: 1; min-width: 0; }
.day-notes > .banner .btn { flex: none; }
.day-notes__more { color: var(--color-text-2); }
.read-only-note { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); font-size: var(--text-xs); color: var(--color-text-2); }
.read-only-note svg { flex: none; }
.fo-grid { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: var(--space-3); align-items: start; max-width: 1040px; }
@media (max-width: 760px) { .fo-grid { grid-template-columns: 1fr; } }
.fo-photo img { width: 100%; border-radius: var(--radius-md); display: block; }
.fo-order__title { font-size: 1.25rem; line-height: 1.3; margin: 0; }
.fo-order__desc { margin: var(--space-2) 0 0; color: var(--color-text-2); }
.fo-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 0; padding: var(--space-3) 0 0; border-top: 1px solid var(--color-border); }
.fo-facts > div { min-width: 0; }
.fo-facts dt { font-size: .75rem; color: var(--color-text-2); margin: 0 0 var(--space-0-5); }
.fo-facts dd { margin: 0; }
.fo-facts__wide { grid-column: 1 / -1; }
.fo-change { margin-top: var(--space-3); border-top: 1px solid var(--color-border); padding-top: var(--space-2); }
.fo-change > summary { cursor: pointer; font-weight: var(--weight-semibold); color: var(--color-primary); padding: var(--space-1-5) 0; }
.fo-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }
.fo-actions .btn { flex: 1 1 220px; justify-content: center; }
.fo-no { max-width: 1040px; margin-top: var(--space-3); }
.fo-no > summary { cursor: pointer; font-weight: var(--weight-semibold); }
.fo-reasons { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.fo-similar { margin: var(--space-1-5) 0 0; padding-left: 1.1em; }
.fo-similar li { margin: var(--space-1) 0; }
[data-dictar].is-recording { color: var(--color-danger-strong); background: var(--color-danger-subtle); border-color: var(--color-danger); }
@media (max-width: 760px) { .fo-photo img { max-height: 190px; object-fit: cover; } .fo-order { order: -1; } }
.fr-layout { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: var(--space-3); align-items: start; max-width: 1040px; }
@media (max-width: 760px) { .fr-layout { grid-template-columns: 1fr; } }
.fr-items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.fr-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.fr-item img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-md); display: block; }
.fr-item--joined { opacity: .8; }
.fr-item__title { font-size: 1rem; line-height: 1.3; margin: var(--space-0-5) 0 0; }
.fr-item__facts { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2-5); align-items: center; margin: var(--space-1-5) 0 0; color: var(--color-text-2); }
.fr-ask { margin-top: var(--space-2); padding: var(--space-2); border-radius: var(--radius-md); background: var(--color-warning-subtle); }
.fr-finish { margin-top: var(--space-2); }
.incident-voice { display: grid; gap: var(--space-1-5); padding: var(--space-3); margin-bottom: var(--space-3); border: 1px dashed var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.incident-voice .btn { justify-self: start; }
.incident-voice audio { width: 100%; max-width: 420px; }
[data-relato-rec].is-recording { background: var(--color-danger); border-color: var(--color-danger); }
@media (max-width: 380px) {
.topbar { column-gap: var(--space-1); padding-left: var(--space-1); padding-right: var(--space-1-5); }
.topbar .btn--sm { padding: 0 var(--space-1-5); }
.topbar__brand .topbar__logo { height: 34px; }
}
.tb-short { display: none; }
@media (max-width: 1023px) { .topbar .tb-long { display: none; } .topbar .tb-short { display: inline; } }
@media (max-width: 600px) { .topbar .tb-back { order: 10; } .topbar { row-gap: var(--space-0-5); } }
@media (min-width: 601px) and (max-width: 700px) {
.topbar-account { padding: 0; max-width: none; }
.topbar-account__name, .topbar-account > svg { display: none; }
}
@media (max-width: 600px) {
.jr-filters, .jr-filters--log { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jr-filters > *, .jr-filters .field, .jr-filters .input, .jr-filters .select, .jr-filters .sel-busca { min-width: 0; max-width: 100%; }
.jr-filters .input, .jr-filters .select { width: 100%; }
.toolbar > *, .toolbar .row { min-width: 0; max-width: 100%; flex-wrap: wrap; }
.toolbar .input, .toolbar .input--sm { min-width: 0; flex: 1 1 140px; width: auto; }
main select, main .select { max-width: 100%; }
main .badge, main .chip { white-space: normal; height: auto; min-height: 22px; text-align: left; }
main .tt-total, main .tt-info { white-space: normal; min-width: 0; max-width: 100%; }
main .small.text-2, main .truncate { overflow-wrap: break-word; min-width: 0; }
}
@media (max-width: 767px) {
.as-cards > .table > tfoot { display: block; width: 100%; }
.as-cards > .table > tfoot > tr { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3-5); padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.as-cards > .table > tfoot > tr > th, .as-cards > .table > tfoot > tr > td { display: block; height: auto; padding: 0; border: 0; text-align: left; white-space: normal; }
.as-cards > .table > tbody > tr > td { flex-wrap: wrap; min-width: 0; }
.as-cards > .table > tbody > tr > td > * { min-width: 0; max-width: 100%; }
}
@media (min-width: 601px) and (max-width: 1023px) {
.place__change > span { display: none; }
.place__change { padding: 0 var(--space-2-5); }
}
.sidebar__count { font-weight: var(--weight-semibold); }
.page-how { margin-top: var(--space-0-5); }
.tb-how { margin: 0 0 var(--space-2); }
.tb-how > .tb-def { margin-top: var(--space-1-5); }
.ac-wizard__more > summary { cursor: pointer; list-style: none; }
.ac-wizard__more > summary::-webkit-details-marker { display: none; }
.ac-wizard__more > summary:hover { color: var(--color-primary); }
.page-how > summary { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-sm); color: var(--color-text-2); cursor: pointer; list-style: none; }
.page-how > summary::-webkit-details-marker { display: none; }
.page-how > summary:hover { color: var(--color-primary); }
.page-how > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.page-how[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.page-how > .page-header__desc { margin-top: var(--space-1); max-width: 72ch; }
@media print { .page-how { display: none; } }
.shell { --radius-md: 4px; --radius-lg: 6px; --radius-xl: 8px; }
.shell { --color-sidebar: #EBEBEB; --color-sidebar-text: #424242; --color-sidebar-hover: #E0E0E0; }
.sidebar { border-right: 1px solid var(--color-border); }
.sidebar__scroll { scrollbar-color: var(--color-border-strong) transparent; }
.sidebar__section { color: var(--color-text-muted); font-weight: var(--weight-semibold); }
.sidebar__link[aria-current] { background: var(--color-primary-subtle); color: var(--color-primary); box-shadow: none; }
.sidebar__count { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.sidebar__end { border-top-color: var(--color-border); }
.sidebar__group > summary { align-items: center; gap: var(--space-1-5); cursor: pointer; list-style: none; }
.sidebar__group > summary::-webkit-details-marker { display: none; }
.sidebar__group > summary::after { content: ""; flex: none; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.sidebar__group[open] > summary::after { transform: rotate(45deg); }
.sidebar__group > summary .sidebar__count { margin-left: auto; }
.sidebar__group > summary .sidebar__count + * { margin-left: 0; }
.sidebar__group[open] > summary [data-group-count] { display: none; }
.sidebar__credit { display: flex; align-items: center; gap: var(--space-1-5); flex: none; padding: var(--space-2-5) var(--space-3); border-top: 1px solid var(--color-border); font-size: var(--text-xs); color: var(--color-text-muted); }
.sidebar__credit .brand-full { height: 20px; }
.area-card { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); }
.area-card:not(:disabled):hover { background: var(--color-surface-2); }
.area-card__icon { background: var(--color-primary-subtle); color: var(--color-primary); }
.area-card__text small, .area-card__chev { color: var(--color-text-muted); }
.place-pair, .place-pair .place { border: 0; background: none; }
.place-pair .place__change { background: none; font-weight: var(--weight-medium); color: var(--color-primary); }
.topbar .ask-btn { border-color: transparent; background: none; }
.topbar__mark { display: flex; }
.breadcrumb:not(:has(a)) { display: none; }
.shell .badge[class*="badge--"] { background: none; height: auto; padding: 0; border-radius: 0; font-weight: var(--weight-medium); }
.attn--blink { animation: attn-suave 1.2s ease-in-out 3; }
.attn-spot { animation: attn-spot-suave 1.2s ease-in-out 3; }
@keyframes attn-spot-suave { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 3px var(--color-warning-strong); } }
@media (prefers-reduced-motion: reduce) { .attn--blink, .attn-spot { animation: none; } }
.attn-chip { animation: attn-suave 1.2s ease-in-out 3; background: none; border: 0; padding: 0; border-radius: 0; color: var(--color-warning-strong); font-weight: var(--weight-semibold); }
.attn-chip::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: var(--space-1-5); border-radius: 50%; background: currentColor; vertical-align: 1px; }
@keyframes attn-suave { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .attn-chip { animation: none; } }
@media (min-width: 900px) {
.shell .lt-figs, .shell .tb-kpis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 0; border-block: 1px solid var(--color-border); }
.shell .lt-figs .lt-fig, .shell .tb-kpis > .card { border: 0; border-left: 1px solid var(--color-border); border-radius: 0; background: none; padding: var(--space-2) var(--space-3-5); box-shadow: none; }
.shell .lt-figs .lt-fig:first-child, .shell .tb-kpis > .card:first-child { border-left: 0; padding-left: 0; }
}
.shell .toolbar .search { flex: 0 1 300px; }
.shell .toolbar .sel-busca { width: auto; flex: 0 1 200px; }
.shell .toolbar .sel-busca__list { right: auto; min-width: 280px; }
.shell .tabs, .shell .subtabs { border-bottom-width: 1px; }
.shell .tabs a, .shell .subtabs a { padding: 7px var(--space-2-5) var(--space-1-5); margin-bottom: -1px; border-bottom-width: 2px; border-radius: 0; color: var(--color-text-2); font-size: var(--text-base); font-weight: var(--weight-medium); }
.shell .tabs a[aria-current="page"], .shell .subtabs a[aria-current="page"] { background: none; color: var(--color-text); font-weight: var(--weight-semibold); border-bottom-color: var(--color-primary); }
.shell .tabs__icon, .shell .tabs a > svg, .shell .subtabs a > svg { display: none; }
.seg a[aria-current="page"] { background: var(--color-primary); }
.shell .empty { border: 0; background: none; text-align: left; padding: var(--space-3) 0; }
.shell .empty > svg { display: none; }
.shell .empty__title { font-size: var(--text-base); margin-bottom: var(--space-0-5); }
.shell .empty__desc { margin-bottom: var(--space-3); }
.kb { grid-template-columns: repeat(5, minmax(190px, 1fr)); }
.jr-row { grid-template-columns: 72px minmax(150px, 220px) minmax(0, 1fr) auto; }
.jr-row__at { white-space: nowrap; }
@media (max-width: 640px) {
.jr-row { display: block; padding: 5px var(--space-2); font-size: 13px; line-height: 1.4; }
.jr-row__at { display: inline; margin-right: 6px; }
.jr-row__who, .jr-row__name, .jr-row__what { display: inline; }
.jr-row__name b { white-space: normal; }
.jr-row__what { margin-left: 4px; }
.jr-row__ini, .jr-row__name small, .jr-row__what small, .jr-row__mod { display: none; }
}
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
@media (max-width: 1199px) { .table td.truncate { max-width: 200px; } .table td.truncate--sm { max-width: 120px; } }
.ai-step .btn--primary { background: none; color: var(--color-primary); height: auto; padding: 0; font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 2px; }
.ai-step--turn { background: none; }
.tb-ai { background: none; border: 0; border-block: 1px solid var(--color-border); border-radius: 0; padding: var(--space-2-5) 0; }
.tb-ai .ai-mark { display: none; }
.stats-row:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.as-row--live { background: none; }
.mo-stage { border-top: 0; }
.field > input:not([type=checkbox]):not([type=radio]):not([type=hidden])[aria-invalid="true"], .field > select[aria-invalid="true"], .field > textarea[aria-invalid="true"] { border-color: var(--color-danger); }
.attn-extra__detail { display: none; }
@media (max-width: 720px) { .attn-extra__detail { display: block; } }
@media (max-width: 560px) { .topbar .ask-btn { display: none; } }
.auth__card h1, .auth__card .section-title { font-family: var(--font); }
.auth__card .btn--primary { box-shadow: none; }
@media (max-width: 1023px) {
.auth { align-items: flex-start; padding: var(--space-4); }
.auth__grid { gap: var(--space-3); justify-items: stretch; }
.auth__marca { width: 100%; }
.auth__placa { display: flex; width: fit-content; margin-inline: auto; padding: var(--space-2) var(--space-3); border-radius: 10px; box-shadow: none; }
.auth__placa img { width: 128px; }
.auth__emblema { display: none; }
.auth__frase { margin-top: var(--space-2); font-size: var(--text-base); }
.auth__card { width: 100%; padding: 22px 18px; box-shadow: none; border-radius: 14px; }
}
.sidebar__count[hidden] { display: none; }
.sidebar__group > summary:has(.sidebar__count:not([hidden]))::after { margin-left: var(--space-2); }
.rc-rows { list-style: none; margin: 0 0 var(--space-4); padding: 0; border-top: 1px solid var(--color-border); }
.rc-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(110px, auto); gap: var(--space-3); align-items: center; padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
details.rc-why { display: block; }
details.rc-why > summary { cursor: pointer; font-weight: var(--weight-medium); }
details.rc-why > ul { margin-top: var(--space-2); }
.sidebar__group[open] > summary::after { margin-left: auto; }
.mo-table th, .mo-table td { padding-inline: var(--space-1-5); }
.mo-table .mo-owner { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mo-table .mo-act .btn { padding-inline: var(--space-2-5); }
.shell .table-wrap, .shell .card { border-color: transparent; border-radius: 8px; box-shadow: var(--shadow-sm); }
.shell .tb-kpis > .card, .shell .lt-figs .lt-fig { box-shadow: none; }
.sidebar__nombre { display: none; }
.sidebar__titulo { display: none; }
.sidebar__salida { display: contents; }
.sidebar__raya { align-self: stretch; width: auto; height: 0; border: 0; border-top: 1px solid var(--color-border); margin: 0 var(--space-3); }
.sidebar__group > summary > svg { display: none; }
.sidebar__group > summary { display: flex; }
@media (min-width: 1024px) {
.shell:not(.shell--solo) { --sidebar-w: 200px;  }
.sidebar { padding: var(--space-1-5) var(--space-1); }
.sidebar__scroll { margin: 0; padding: 0; }
.sidebar__link, .sidebar__group > summary { position: relative; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.sidebar__link > svg, .sidebar__group > summary > svg { display: block; flex: none; }
.sidebar__label { flex: none; padding: 0; line-height: 14px; overflow-wrap: normal; }
.sidebar__nombre { display: inline; }
.sidebar__nombre-largo { display: none; }
.sidebar__group > summary::after { display: none; }
.sidebar__group > summary:hover { background: var(--color-sidebar-hover); }
.sidebar__section { padding: 0; }
.sidebar__count, .sidebar__group > summary .sidebar__count { position: absolute; right: auto; margin: 0; font-weight: var(--weight-semibold); text-align: center; }
.sidebar__group[open] > summary [data-group-count] { display: inline-block; }
.sidebar__group[open] > summary [data-group-count][hidden] { display: none; }
.sidebar__salida { display: none; }
.sidebar__group[open] > .sidebar__salida { display: block; position: fixed; left: var(--sidebar-w); top: var(--topbar-h); bottom: 0; width: 280px; z-index: var(--z-drawer); padding: var(--space-3) var(--space-2); overflow-y: auto; }
.sidebar__titulo { display: block; margin: var(--space-0-5) var(--space-2) var(--space-2); font-size: var(--text-lg); line-height: 22px; font-weight: var(--weight-semibold); color: var(--color-text); }
.sidebar__salida .sidebar__link { flex-direction: row; justify-content: flex-start; gap: var(--space-2); padding: var(--space-1) var(--space-2); font-size: var(--text-base); line-height: 20px; text-align: left; color: var(--color-text); }
.sidebar__salida .sidebar__label { flex: 1; line-height: 20px; }
.sidebar__salida .sidebar__count { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.sidebar__salida .sidebar__link[aria-current] { color: var(--color-primary); box-shadow: none; }
.sidebar__salida .sidebar__link[aria-current]::before { display: none; }
.sidebar__end { margin-top: var(--space-0-5); padding-top: var(--space-0-5); }
.sidebar__credit { flex-direction: row; justify-content: center; gap: 5px; margin: 0 calc(-1 * var(--space-1)) calc(-1 * var(--space-1-5)); padding: var(--space-2) var(--space-1); background: var(--color-surface); font-size: 0.6875rem; line-height: 14px; white-space: nowrap; }
.sidebar__credit .brand-full { height: 14px; }
}
.con-detalle__volver { margin: 0; }
.con-detalle__volver:has(> [hidden]) { display: none; }
.panel-solo { display: none; }
.con-detalle__panel { display: flex; flex-direction: column; min-width: 0; }
.con-detalle.is-abierto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3); align-items: start; }
.con-detalle__lista { min-width: 0; }
.con-detalle.is-abierto .panel-no { display: none; }
.con-detalle.is-abierto .panel-solo { display: block; }
.con-detalle.is-abierto .table td.truncate { max-width: none; white-space: normal; }
.con-detalle.is-abierto .ai-table { min-width: 0; }
.con-detalle.is-abierto tbody tr { cursor: pointer; }
.con-detalle.is-abierto ~ .ai-legend { display: none; }
tr.is-elegida, tr.is-elegida > td { background: var(--color-primary-subtle); }
tr.is-elegida > td:first-child { box-shadow: inset 3px 0 0 var(--color-primary); }
.con-detalle__panel { position: sticky; top: calc(var(--topbar-h) + 8px); height: calc(var(--alto-pantalla, 100vh) - var(--topbar-h) - 20px); background: var(--color-surface); border-radius: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.con-detalle__panel[hidden] { display: none; }
.con-detalle__barra { display: flex; justify-content: flex-end; gap: var(--space-1); padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--color-border); flex: none; }
.con-detalle__panel iframe { flex: 1; width: 100%; border: 0; display: block; min-height: 0; }
.con-detalle__panel.is-cargando iframe { opacity: .45; transition: opacity var(--dur-slow) ease; }
.con-detalle__panel.is-cargando::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 35%; background: var(--color-primary); animation: panel-cargando 1.1s ease-in-out infinite; }
@keyframes panel-cargando { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) { .con-detalle__panel.is-cargando::after { animation: none; width: 100%; opacity: .6; } }
@media (min-width: 1100px) {
html.panel-lista .con-detalle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3); align-items: start; }
html.panel-lista .con-detalle > .con-detalle__panel[hidden] { display: flex; }
html.panel-lista .con-detalle .panel-no { display: none; }
html.panel-lista .con-detalle .panel-solo { display: block; }
html.panel-lista .con-detalle .table td.truncate { max-width: none; white-space: normal; }
html.panel-lista .con-detalle .ai-table { min-width: 0; }
html.panel-lista .con-detalle ~ .ai-legend, html.panel-lista .ai-legend:has(~ .con-detalle) { display: none; }
html.panel-lista .correo__panes { grid-template-columns: minmax(330px, 4fr) minmax(0, 7fr); height: 100%; }
}
.correo__panes .con-detalle__panel.is-cargando { position: relative; }
.en-panel .topbar, .en-panel .sidebar, .en-panel .skip-link, .en-panel .breadcrumb, .en-panel .day-notes, .en-panel .attn-extra, .en-panel .tour-box, .en-panel .tour-ring { display: none !important; }
.en-panel .shell { display: block; }
.en-panel, .en-panel body { background: var(--color-surface); }
@media (min-width: 1024px) {
.shell { --topbar-h: 68px; }
.topbar__marca { width: 104px; }
.shell .main { padding: var(--space-3) 18px var(--space-4); }
.page-header { gap: var(--space-2) var(--space-4); margin-bottom: var(--space-3); }
.page-header > :first-child:not(:last-child) { flex: 1 1 320px; min-width: 0; }
.page-header__actions { flex: 0 1 auto; justify-content: flex-end; }
.page-header__title { font-size: 21px; line-height: 28px; }
.page-header__desc { margin-top: var(--space-0-5); font-size: var(--text-base); line-height: 20px; }
.toolbar { gap: var(--space-2); margin-bottom: var(--space-3); }
.toolbar .search { flex: 1 1 200px; max-width: 360px; }
.toolbar .select { min-width: 130px; max-width: 220px; }
.toolbar > .tt-info { margin-left: auto; }
.shell .card { padding: var(--space-3) var(--space-4); }
.stack { gap: var(--space-3); }
.dl { row-gap: var(--space-2); }
.dl--stack { grid-template-columns: minmax(100px, 32%) minmax(0, 1fr); column-gap: var(--space-2-5); row-gap: var(--space-2); }
.dl--stack dd { margin-bottom: 0; }
.con-detalle__barra { padding: var(--space-1) var(--space-2); }
.page-header > div:has(> .page-how) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2-5); }
.page-how { margin-top: 0; }
.page-how[open] { flex-basis: 100%; }
.tabs { margin-bottom: var(--space-3); }
.tabs a { padding: 9px var(--space-3) var(--space-2); }
.notice { padding-block: 7px; }
.in-tools { margin-bottom: var(--space-3); }
.tt-bar { margin-bottom: var(--space-2); }
.tt-bar--junto { margin-top: -34px; }
.tb-filters { margin-bottom: var(--space-3); }
.tb-filters .sel-busca { width: 200px; flex: none; }
.page-header__actions .tb-filters { margin-bottom: 0; }
.toolbar .sel-busca { max-width: 240px; }
}
.ai-legend:has(~ .con-detalle.is-abierto) { display: none; }
.en-panel .main { padding: var(--space-2) var(--space-3); }
.en-panel .page-header { gap: var(--space-1) var(--space-3); margin-bottom: var(--space-1-5); }
.en-panel .page-header__title { font-size: 18px; line-height: 24px; }
.en-panel .page-header__desc { margin-top: var(--space-0-5); font-size: var(--text-sm); line-height: 18px; }
.en-panel .shell .card, .en-panel .card { padding: var(--space-3) var(--space-3-5); }
.en-panel .stack, .en-panel .grid-2 { gap: var(--space-3); }
.en-panel .dl { grid-template-columns: 130px minmax(0, 1fr); column-gap: var(--space-2-5); row-gap: var(--space-2); }
.en-panel .dl dd { margin-bottom: 0; }
.en-panel .card__title { margin-bottom: var(--space-1); }
@media (min-width: 1024px) {
.sidebar { border-right: 1px solid var(--color-border); background: var(--color-surface); }
.sidebar__nav { gap: var(--space-2); }
.sidebar__link .sidebar__label, .sidebar__group > summary .sidebar__nombre { display: block; max-width: 100%; white-space: normal; overflow-wrap: normal; text-wrap: balance; }
.sidebar__raya { border: 0; border-top: 1px solid var(--color-border); margin: 0 var(--space-3); }
.sidebar__scroll { padding-right: var(--space-0-5); overflow-y: scroll; scrollbar-width: auto; scrollbar-color: #8A93A3 #EEF0F4; }
.sidebar__scroll::-webkit-scrollbar { width: 10px; }
.sidebar__scroll::-webkit-scrollbar-track { background: #EEF0F4; border-radius: 5px; }
.sidebar__scroll::-webkit-scrollbar-thumb { background: #8A93A3; border-radius: 5px; border: 2px solid #EEF0F4; }
.sidebar__scroll::after { display: none; }
.sidebar__link, .sidebar__group > summary { gap: var(--space-1-5); min-height: 80px; padding: var(--space-2) var(--space-1); border-radius: 12px; color: var(--color-text); font-size: var(--text-base); line-height: 17px; font-weight: var(--weight-regular);  }
.sidebar__link:hover, .sidebar__group > summary:hover { background: var(--color-surface-2); }
.sidebar__link[aria-current], .sidebar__group.is-here > summary, .sidebar__group[open] > summary { background: var(--color-primary-subtle); color: var(--color-primary); font-weight: var(--weight-regular); box-shadow: none; }
.sidebar__link[aria-current]::before, .sidebar__group.is-here > summary::before { display: none; }
.sidebar__link > svg, .sidebar__group > summary > svg { box-sizing: content-box; width: 26px; height: 26px; padding: var(--space-2-5); border-radius: 12px; background: #EEF1F5; color: #4A5568; }
.sidebar__link[aria-current] > svg, .sidebar__group.is-here > summary > svg, .sidebar__group[open] > summary > svg { background: var(--color-primary-subtle); color: var(--color-primary); }
.sidebar__count, .sidebar__group > summary .sidebar__count { background: var(--color-danger); color: var(--color-text-inverse); font-size: var(--text-xs); font-variant-numeric: tabular-nums; text-rendering: geometricPrecision; }
.sidebar__salida .sidebar__link { min-height: 40px; font-weight: var(--weight-regular); }
.sidebar__salida .sidebar__link > svg { width: 16px; height: 16px; padding: var(--space-1-5); border-radius: 7px; }
}
@media (min-width: 1024px) {
.shell { --color-sidebar: #DCE5F2; --color-sidebar-text: #1F2A3A; --color-sidebar-hover: rgba(18, 63, 143, .07); }
.sidebar { background: #DCE5F2; border-right-color: #C9D5E6; color: #1F2A3A; }
.sidebar__link, .sidebar__group > summary { color: #1F2A3A; }
.sidebar__link:hover, .sidebar__group > summary:hover { background: rgba(18, 63, 143, .07); }
.sidebar__link[aria-current], .sidebar__group.is-here > summary, .sidebar__group[open] > summary { background: #C5D3E8; color: var(--color-primary); }
.sidebar__link > svg, .sidebar__group > summary > svg { background: #FFFFFF; }
.sidebar__salida .sidebar__link { color: var(--color-text); }
.sidebar__salida .sidebar__link:hover { background: var(--color-surface-2); }
.sidebar__salida .sidebar__link[aria-current] { background: var(--color-primary-subtle); color: var(--color-primary); }
.sidebar__raya { border-top-color: rgba(18, 63, 143, .14); }
.sidebar__scroll { scrollbar-color: #A9B9D2 #DCE5F2; }
.sidebar__scroll::-webkit-scrollbar-track { background: #DCE5F2; }
.sidebar__scroll::-webkit-scrollbar-thumb { background: #A9B9D2; border-color: #DCE5F2; }
.sidebar__credit { color: var(--color-text-2); }
}
.campana__boton { position: relative; width: 40px; height: 40px; padding: 0; }
.campana__boton svg { width: 20px; height: 20px; }
.campana__punto { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; margin: 0; border: 2px solid var(--color-surface); border-radius: 50%; background: var(--color-danger); box-sizing: content-box; }
.campana__panel { width: 300px; max-height: min(calc(var(--alto-pantalla, 100vh) * .7), 520px); overflow-y: auto; }
.attn-extra { display: none !important; }
.campana__item { align-items: flex-start; gap: var(--space-2-5); height: auto; padding-block: var(--space-2-5); white-space: normal; }
.campana__item > svg { flex: none; margin-top: 1px; color: var(--color-primary); }
.campana__item b { display: block; font-weight: var(--weight-semibold); }
.campana__item small { display: block; font-size: var(--text-sm); color: var(--color-text-2); }
.ask-largo { display: none; }
@media (max-width: 1023px) {
.topbar > .ask-btn, .topbar > .menu:not(.campana) { order: 1; }
}
@media (min-width: 1024px) {
.topbar { gap: var(--space-3); padding-right: var(--space-5); border-bottom: 0; box-shadow: var(--shadow-sm); }
.topbar__break { display: none; }
.place-pair { position: relative; height: 50px; border: 0; border-radius: 12px; background: none; }
.place-pair:hover { background: var(--color-surface-2); }
.place-pair > .place { height: 50px; min-width: 0; max-width: 340px; padding: 0 var(--space-3) 0 var(--space-2); gap: var(--space-2-5); }
.place-pair:has(.place__change) > .place { padding-right: 34px; }
.place-pair:has(.place__change) > .place::after { content: ""; position: absolute; top: 50%; right: 14px; width: 8px; height: 8px; border-right: 2px solid var(--color-input-border); border-bottom: 2px solid var(--color-input-border); transform: translateY(-65%) rotate(45deg); }
.place-pair .place__change { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; border-radius: 12px; background: none; opacity: 0; }
.place-pair:has(.place__change:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.place__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #E0E7F3; color: var(--color-primary); }
.place__text small { font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-2); }
.place__text b { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-text); }
.topbar .ask-btn { flex: 0 0 auto; height: 42px; margin-inline: 0; justify-content: flex-start; gap: var(--space-2-5); padding: 0 var(--space-3-5); border: 0; border-radius: 21px; background: #F4F5F7; color: var(--color-text-2); font-size: var(--text-base); font-weight: var(--weight-regular); overflow: hidden; }
.topbar .ask-btn:hover { background: var(--color-primary-subtle); }
.ask-largo { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-corto { display: none; }
.topbar__mark .btn { height: 40px; padding: 0 var(--space-3-5); border: 0; border-radius: 10px; background: #DDEFE3; color: #15603A; font-weight: var(--weight-semibold); }
.topbar__mark .btn:hover { background: #CDE7D6; }
.campana__boton { border-radius: 10px; background: #F4F5F7; color: var(--color-text); }
.campana__boton:hover { background: var(--color-primary-subtle); }
.campana__punto { top: 6px; right: 7px; border-color: #F4F5F7; }
.topbar-account { height: 50px; padding: 0 var(--space-2-5) 0 var(--space-1-5); border-radius: 12px; }
.topbar-account .avatar { width: 36px; height: 36px; background: #E0E7F3; color: var(--color-primary); font-weight: var(--weight-bold); }
}
.cuenta-puestos, .topbar-account__puesto { display: none; }
.topbar-account__quien { display: flex; flex-direction: column; min-width: 0; text-align: left; }
@media (min-width: 1024px) {
.area-switch { display: none; }
.cuenta-puestos { display: block; }
.account-panel:has(.cuenta-puestos) { width: 340px; }
.topbar-account { max-width: 300px; }
.topbar-account__puesto { display: block; font-size: var(--text-xs); line-height: 15px; font-weight: var(--weight-regular); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-account__name { line-height: 18px; }
.sidebar { padding-top: var(--space-2-5); }
}
@media screen and (min-width: 1024px) {
html.oficina { zoom: .9; --alto-pantalla: calc(100vh / .9); }
html.oficina.en-panel { zoom: 1; --alto-pantalla: 100vh; }
html.oficina:not(.en-panel) .pdf-viewer iframe, html.oficina:not(.en-panel) .inv-pdf__frame { zoom: 1.1111; }
html.oficina .account-panel { max-height: calc(var(--alto-pantalla) - var(--topbar-h) - 12px); }
}
.correo__carpetas { display: flex; flex-direction: column; gap: var(--space-2-5); margin-bottom: var(--space-3); }
.correo__cuenta .small { margin: var(--space-0-5) 0 0; overflow-wrap: anywhere; }
.correo__acciones { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-left: auto; }
.correo__lista-carpetas { display: flex; flex-direction: column; gap: var(--space-0-5); }
.correo__lista-carpetas a { display: flex; align-items: center; gap: var(--space-2-5); min-height: 40px; padding: var(--space-1-5) var(--space-2-5); border-radius: 8px; color: var(--color-text); font-weight: var(--weight-medium); text-decoration: none; }
.correo__lista-carpetas a span { flex: 1; }
.correo__lista-carpetas a:hover { background: var(--color-surface-2); text-decoration: none; }
.correo__lista-carpetas a[aria-current] { background: var(--color-primary-subtle); color: var(--color-primary); font-weight: var(--weight-semibold); }
.correo__arbol { padding-top: var(--space-2); border-top: 1px solid var(--color-border); }
.correo__arbol a { min-height: 34px; padding-top: var(--space-1); padding-bottom: var(--space-1); font-weight: var(--weight-regular); }
.correo__arbol a span, .correo__grupo span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.correo__grupo { display: flex; align-items: center; gap: var(--space-2-5); min-height: 34px; padding: var(--space-1) var(--space-2-5); color: var(--color-text-2); }
.correo__arbol .correo__nivel-1 { padding-left: calc(var(--space-2-5) + 14px); }
.correo__arbol .correo__nivel-2 { padding-left: calc(var(--space-2-5) + 28px); }
.correo__arbol .correo__nivel-3, .correo__arbol .correo__nivel-4, .correo__arbol .correo__nivel-5, .correo__arbol .correo__nivel-6 { padding-left: calc(var(--space-2-5) + 42px); }
.correo__trayendo { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); }
.correo__pie { margin: 0; font-size: var(--text-sm); line-height: 20px; color: var(--color-text-2); }
.correo__buscar .input { flex: 1 1 240px; }
.correo__buscar > .correo__acciones ~ .tt-info { margin-left: 0; }
.correo .mail-late { margin: 0 0 var(--space-1-5); }
.con-detalle__vacio { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); color: var(--color-text-muted); }
.con-detalle__vacio[hidden] { display: none; }
.con-detalle__vacio p { margin: 0; font-size: var(--text-base); }
.con-detalle__panel:has(.con-detalle__vacio:not([hidden])) .con-detalle__barra, .con-detalle__panel:has(.con-detalle__vacio:not([hidden])) iframe { display: none; }
.correo .mail-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.correo .mail-list, .correo .mail-list tbody { display: block; width: 100%; }
.correo .mail-list tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); padding: var(--space-2-5) var(--space-3) var(--space-2-5) var(--space-3-5); border-bottom: 1px solid var(--color-border); cursor: pointer; }
.correo .mail-list tr:hover { background: var(--color-surface-2); }
.correo .mail-list td { display: block; height: auto; min-height: 0; padding: 0; border: 0; }
.correo .mail-list__who { grid-column: 1; grid-row: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: var(--weight-medium); }
.correo .mail-list__cuando { grid-column: 2; grid-row: 1; font-size: var(--text-sm); color: var(--color-text-2); }
.correo .mail-list__asunto { grid-column: 1 / -1; grid-row: 2; min-width: 0; margin-top: var(--space-0-5); }
.correo .mail-list__asunto .row-link { display: block; overflow: hidden; color: var(--color-text); font-weight: var(--weight-regular); white-space: nowrap; text-overflow: ellipsis; }
.correo .mail-list__snippet { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.correo .mail-list__estado { grid-column: 1 / -1; grid-row: 3; }
.correo .mail-list__estado:not(:empty) { margin-top: 5px; }
.correo .mail-list__condo { font-weight: var(--weight-regular); }
.correo .mail-list tr.is-unread { box-shadow: inset 3px 0 0 var(--color-primary); }
.correo .mail-list tr.is-unread .mail-list__who { font-weight: var(--weight-bold); }
.correo .mail-list tr.is-unread .row-link { color: var(--color-primary); font-weight: var(--weight-semibold); }
.correo .mail-list tr.is-unread .mail-list__cuando { color: var(--color-primary); font-weight: var(--weight-semibold); }
.correo .mail-list tr.is-elegida { background: var(--color-primary-subtle); }
.correo .table-wrap { overflow-x: hidden; }
@media (min-width: 1100px) {
.correo { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 0 var(--space-3-5); height: calc(var(--alto-pantalla, 100vh) - var(--topbar-h) - 36px); min-height: 480px; }
.correo__carpetas { min-height: 0; margin: 0; overflow-y: auto; }
.correo__pie { margin-top: auto; }
.correo__resto { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.correo__panes { flex: 1; min-height: 0; }
.correo__panes.is-abierto { grid-template-columns: minmax(330px, 4fr) minmax(0, 7fr); height: 100%; }
.correo__panes .con-detalle__lista { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.correo__panes .table-wrap { flex: 1; min-height: 0; overflow-y: auto; }
.correo__panes .con-detalle__panel { position: static; height: 100%; }
.correo__panes [data-panel-cerrar] { display: none; }
}
.en-panel .mail-read { display: block; }
.en-panel .mail-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-2-5); margin-top: var(--space-2-5); }
.correo__lupa { position: relative; display: flex; flex: 1; max-width: 520px; }
.correo__lupa > svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--color-text-2); pointer-events: none; }
.correo__lupa > .input { padding-left: 34px; width: 100%; }
a.mail-late { display: inline-flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); font-size: var(--text-sm); color: var(--color-danger); text-decoration: none; }
a.mail-late:hover { text-decoration: underline; }
.correo__prueba { display: flex; align-items: center; gap: var(--space-1-5); margin-top: var(--space-2); }
@media (min-width: 1024px) {
.sidebar__group[open] > .sidebar__salida { padding-top: 0; background: #F4F7FC; border-left: 1px solid #DCE4F2; border-right: 1px solid #DCE4F2; box-shadow: 8px 0 20px rgba(15, 23, 42, .10); }
.sidebar__salida .sidebar__titulo { position: sticky; top: 0; z-index: 1; margin: 0 -8px var(--space-2); padding: var(--space-3-5) var(--space-4) var(--space-2-5); background: var(--color-primary-subtle); border-bottom: 1px solid #DCE4F2; font-size: var(--text-lg); line-height: 22px; font-weight: var(--weight-semibold); color: var(--color-primary); }
.sidebar__salida .sidebar__link:hover { background: var(--color-primary-subtle); }
.sidebar__salida .sidebar__link[aria-current] { background: var(--color-surface); }
.sidebar__salida .sidebar__link > svg { background: #E6ECF6; }
}
@media (min-width: 1024px) {
.sidebar__count, .sidebar__group > summary .sidebar__count { top: 2px; left: calc(50% + 12px); min-width: 22px; height: 22px; padding: 0 var(--space-1-5); border: 2px solid var(--color-surface); border-radius: 11px; line-height: 18px; box-sizing: border-box; }
.sidebar__count:not([hidden]), .sidebar__group > summary .sidebar__count:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; }
.sidebar__salida .sidebar__count { position: static; border: 0; height: 20px; line-height: 20px; }
}
.wt-pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-2); padding: 0; list-style: none; }
.wt-paso a { display: flex; flex-direction: column; gap: var(--space-0-5); height: 100%; padding: var(--space-3) var(--space-3-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); text-decoration: none; }
.wt-paso a:hover { border-color: var(--color-primary); }
.wt-paso b { display: flex; align-items: center; gap: var(--space-1-5); font-size: 15px; font-weight: var(--weight-semibold); }
.wt-paso span { font-size: var(--text-sm); color: var(--color-text-2); }
.wt-paso.is-done a { background: #EEF7F0; border-color: #B7DDC2; }
.wt-paso.is-done b { color: #1E6B3A; }
.wt-paso.is-now a { background: var(--color-primary-subtle); border: 2px solid var(--color-primary); padding: 11px 13px; }
.wt-paso.is-now b { color: var(--color-primary); }
.wt-paso.is-later a { color: var(--color-text-2); }
.wt-nota { margin: 0 0 var(--space-3); }
.wt-mas { position: relative; }
.wt-mas > summary { list-style: none; }
.wt-mas > summary::-webkit-details-marker { display: none; }
.wt-mas__menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 240px; padding: var(--space-1-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-md); }
.wt-mas__menu a, .wt-mas__menu button { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-2) var(--space-2-5); border: 0; border-radius: 6px; background: none; color: var(--color-text); font: inherit; font-size: var(--text-base); text-align: left; text-decoration: none; cursor: pointer; }
.wt-mas__menu a:hover, .wt-mas__menu button:hover { background: var(--color-surface-2); }
.wt-plegable > summary { cursor: pointer; }
.wt-cifra b { font-size: var(--text-xl); color: var(--color-text); font-variant-numeric: tabular-nums; }
.wt-tabla { margin-top: var(--space-2); }
.wt-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.wt-filtros .input--sm { margin-left: 0; text-align: left; max-width: 260px; }
.wt-filtros .select { width: auto; height: var(--control-h-sm); }
.wt-tabla__t .num-col { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wt-cam { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; vertical-align: middle; border-radius: var(--radius-md); color: var(--color-text-2); }
.wt-cam:hover { color: var(--color-primary); background: var(--color-surface-2); }
.wt-pie { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-2); }
.wt-pie .table-footer { margin-left: auto; }
@media (max-width: 767px) {
.wt-filtros .input--sm { max-width: none; flex: 1 1 100%; }
.wt-cam { min-width: 44px; min-height: 44px; }
}
@media (max-width: 1023px) { .wt-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.convertir { position: relative; display: inline-block; }
.convertir > summary { list-style: none; }
.convertir > summary::-webkit-details-marker { display: none; }
.convertir__menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; display: flex; flex-direction: column; gap: var(--space-0-5); min-width: 280px; padding: var(--space-1-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-md); }
.convertir__menu > button { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2-5); border: 0; border-radius: 6px; background: none; color: var(--color-text); font: inherit; font-size: var(--text-base); text-align: left; cursor: pointer; }
.convertir__menu > button:hover { background: var(--color-surface-2); }
.convertir__evento { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); margin-top: var(--space-1); padding: var(--space-2) var(--space-2-5) var(--space-1); border-top: 1px solid var(--color-border); font-size: var(--text-base); }
.convertir__evento span { display: flex; align-items: center; gap: var(--space-2); width: 100%; }
.mail-msg__convertir, .chat-msg__convertir { margin-top: var(--space-2); }
.chat-msg.is-resident .convertir__menu { left: 0; right: auto; }
.convertir__condo { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-1-5) var(--space-2-5) var(--space-2); margin-bottom: var(--space-1); border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-2); }
.convertir__menu > button[type="button"] { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2-5); border: 0; border-radius: 6px; background: none; color: var(--color-text); font: inherit; font-size: var(--text-base); text-align: left; cursor: pointer; }
.req-contacto { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin: var(--space-1-5) 0 0; }
.req-mas__menu { min-width: 260px; }
.req-mas__item { display: flex; align-items: center; gap: var(--space-2); width: 100%; min-height: 44px; padding: var(--space-2) var(--space-2-5); border: 0; border-radius: 6px; background: none; color: var(--color-text); font: inherit; font-size: var(--text-base); text-align: left; cursor: pointer; list-style: none; }
.req-mas__item::-webkit-details-marker { display: none; }
.req-mas__item:hover { background: var(--color-surface-2); }
.req-mas__item--danger { color: var(--color-danger-strong); }
.convertir--en-menu { display: block; }
.convertir--en-menu > .convertir__menu { position: static; min-width: 0; box-shadow: none; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; padding: var(--space-1) 0 0; margin-top: var(--space-1); }
@media (max-width: 640px) {
.req-acciones { width: 100%; }
.req-acciones > .btn, .req-acciones > .req-mas { flex: 1 1 calc(50% - var(--space-2)); min-height: 44px; }
.req-acciones > .req-mas > summary { width: 100%; justify-content: center; min-height: 44px; }
.req-mas__menu { left: auto; right: 0; }
.req-contacto .btn { min-height: 44px; }
.convertir__menu > button, .convertir__evento .input, .convertir__evento .btn { min-height: 44px; }
.topbar-account { min-width: 44px; justify-content: center; }
}
.ver-condos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.ver-condos__label { font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.ver-condos__select { width: auto; max-width: 100%; min-width: 220px; }
.hoy { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.hoy__main, .hoy__side { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.hoy-card { padding: var(--space-4) var(--space-5); }
.hoy-card__head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
.hoy-card__title { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: 24px; }
.hoy-card__sub { font-size: var(--text-sm); color: var(--color-text-2); }
.hoy-card__sub.text-danger { color: var(--color-danger); font-weight: var(--weight-semibold); }
.hoy-card__none { margin: var(--space-1) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.hoy-card__more { display: inline-block; margin-top: var(--space-3); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-primary); text-decoration: none; }
.hoy-card__more:hover { text-decoration: underline; }
.hoy-card--todo .hoy-card__title { font-size: var(--text-xl); }
.hoy-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 var(--space-2); border-radius: var(--radius-full); background: var(--color-neutral-100); color: var(--color-text);  font-size: var(--text-sm); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
.hoy-rows, .hoy-week, .hoy-agenda { list-style: none; margin: 0; padding: 0; }
.hoy-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2-5) var(--space-2) var(--space-2-5) var(--space-3); border-top: 1px solid var(--color-border); border-left: 3px solid transparent; }
.hoy-row:first-child { border-top: 0; }
.hoy-row.is-late { border-left-color: var(--color-danger); background: var(--color-danger-subtle); border-radius: var(--radius-md); }
.hoy-row.is-late + .hoy-row { border-top-color: transparent; }
.hoy-row__icon { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: var(--radius-full); background: var(--color-neutral-100); color: var(--color-text-2); }
.hoy-row.is-late .hoy-row__icon { background: var(--color-surface); color: var(--color-danger); }
.hoy-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hoy-row__title { font-weight: var(--weight-semibold); }
.hoy-row__n { display: inline-block; min-width: 20px; padding: 0 var(--space-1-5); margin-left: var(--space-1); border-radius: var(--radius-full); background: var(--color-neutral-100); color: var(--color-text); font-size: var(--text-xs); line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.hoy-row.is-late .hoy-row__n { background: var(--color-danger); color: var(--color-text-inverse); }
.hoy-row__meta { font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoy-row__late { color: var(--color-danger-strong); font-weight: var(--weight-semibold); }
.hoy-row__go { flex: none; min-width: 108px; justify-content: center; }
.hoy-empty { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) 0 var(--space-1); }
.hoy-empty__icon { display: inline-flex; width: 36px; height: 36px; flex: none; align-items: center; justify-content: center; border-radius: var(--radius-full); background: var(--color-success-subtle); color: var(--color-success-strong); }
.hoy-empty__title { margin: 0; font-weight: var(--weight-bold); }
.hoy-empty__text { margin: var(--space-0-5) 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.hoy-week li, .hoy-agenda li { display: flex; align-items: baseline; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-base); }
.hoy-week li:first-child, .hoy-agenda li:first-child { border-top: 0; }
.hoy-week__day { flex: none; width: 72px; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); text-transform: capitalize; font-variant-numeric: tabular-nums; }
.hoy-week__what, .hoy-agenda__what { flex: 1; min-width: 0; }
.hoy-week__what b, .hoy-agenda__what b { font-weight: var(--weight-semibold); }
.hoy-agenda__time { flex: none; width: 72px; font-size: var(--text-sm); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.hoy-agenda .cal-dot { flex: none; align-self: center; }
.hoy-agenda__what small { color: var(--color-text-2); }
.hoy-figs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
.hoy-fig { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 var(--space-2); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); text-decoration: none; }
.hoy-fig:hover { border-color: var(--color-border-strong); background: var(--color-surface-2); text-decoration: none; }
.hoy-fig__label { font-size: var(--text-sm); color: var(--color-text-2); }
.hoy-fig__value { grid-row: span 2; font-size: var(--text-2xl); font-weight: var(--weight-bold); line-height: 28px; font-variant-numeric: tabular-nums; }
.hoy-fig__note { font-size: var(--text-xs); color: var(--color-text-muted); }
.hoy-fig.is-bad .hoy-fig__value, .hoy-fig.is-bad .hoy-fig__note { color: var(--color-danger); }
.hoy-fig.is-warn .hoy-fig__value, .hoy-fig.is-warn .hoy-fig__note { color: var(--color-warning-strong); }
@media (max-width: 1023px) { .hoy { grid-template-columns: minmax(0, 1fr); } }
.hoy-row { position: relative; min-height: 44px; }
.hoy-row__go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hoy-row:hover { background: var(--color-surface-2); }
@media (max-width: 599px) {
.hoy-card { padding: var(--space-3) var(--space-3); }
.hoy-row { flex-wrap: nowrap; gap: var(--space-2); padding: var(--space-2) var(--space-1) var(--space-2) var(--space-2); }
.hoy-row__body { flex: 1 1 auto; min-width: 0; }
.hoy-row__title { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: normal; word-break: normal; hyphens: manual; line-height: 1.3; }
.hoy-row__n { white-space: nowrap; }
.hoy-row__go { min-width: 0; padding: 0 var(--space-2); border-color: transparent; background: none; }
.hoy-row__meta { white-space: normal; }
}
.choice-list--row .choice:has(input:focus-visible), .switch-check input:focus-visible + .switch__track,
.eq-crit label:has(input:focus-visible), .stars input:focus-visible + label, .tr-stars input:focus-visible + label,
.shift-camera:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--color-surface); }
.choice-list--row .choice:has(input:checked):has(input:focus-visible) { box-shadow: inset 0 0 0 1px var(--color-primary), 0 0 0 4px var(--color-surface); }
.hoy-row.is-late { border-left-color: transparent; background: none; border-radius: 0; }
.hoy-row.is-late + .hoy-row { border-top-color: var(--color-border); }
.hoy-row.is-late .hoy-row__icon { background: var(--color-danger-subtle); color: var(--color-danger); }
.hoy-row__go { min-width: 104px; color: var(--color-text); }
.hoy-row.is-late .hoy-row__go { border-color: var(--color-primary); color: var(--color-primary); font-weight: var(--weight-semibold); }
.hoy-row.is-late .hoy-row__go:hover { background: var(--color-primary-subtle); }
.hoy-row__title { font-weight: var(--weight-semibold); color: var(--color-text); }
.hoy-week__what a, .hoy-agenda__what a { color: var(--color-text); text-decoration: none; }
.hoy-week__what a b, .hoy-agenda__what a b { color: var(--color-primary); }
.hoy-week__what a:hover, .hoy-agenda__what a:hover { text-decoration: underline; text-underline-offset: 2px; }
.hoy-row .hoy-row__go--boton { border-color: var(--color-primary); color: var(--color-primary); font-weight: var(--weight-semibold); min-height: 44px; }
@media (max-width: 599px) { .hoy-row .hoy-row__go--boton { padding: 0 var(--space-3); } }
.hoy-row .hoy-row__icon, .hoy-row.is-late .hoy-row__icon { background: var(--color-primary-subtle); color: var(--color-primary); }
.hoy-row .hoy-row__n, .hoy-row.is-late .hoy-row__n { background: var(--color-neutral-100); color: var(--color-text); }
.hoy-row__late { color: var(--color-text-2); font-weight: var(--weight-regular); }
.hoy-row__late::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--color-danger); }
.shell .main > .empty { padding: var(--space-4) var(--space-5); border-radius: 8px; background: var(--color-surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 0 2px rgba(0, 0, 0, .06); }
.shell .ch-empty .empty { max-width: 380px; text-align: center; }
.shell .ch-empty .empty > svg { display: inline-block; width: 28px; height: 28px; margin-bottom: var(--space-2); color: var(--color-text-muted); }
.rc-rows a { font-weight: var(--weight-semibold); text-decoration: none; }
.rc-rows a:hover { text-decoration: underline; text-underline-offset: 2px; }
.nav-progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 2147483000; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity var(--dur) ease; }
.nav-progress::before { content: ""; position: absolute; inset: 0; background: var(--color-primary); transform: scaleX(0); transform-origin: left center; }
.nav-progress.is-on { opacity: 1; }
.nav-progress.is-on::before { animation: nav-progress 9s cubic-bezier(.08, .7, .2, 1) forwards; }
@keyframes nav-progress { 0% { transform: scaleX(0); } 8% { transform: scaleX(.3); } 100% { transform: scaleX(.94); } }
@media (prefers-reduced-motion: reduce) {
.nav-progress { transition: none; }
.nav-progress.is-on::before { animation: none; transform: scaleX(1); opacity: .7; }
}
.ask-live { display: flex; flex-direction: column; gap: inherit; }
.plan-point { position: relative; display: inline-block; max-width: 100%; margin: 0; line-height: 0; }
.plan-point img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-md, 8px); }
.plan-point__dot { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #C62828; box-shadow: 0 0 0 3px #FFFFFF, 0 1px 4px rgba(0, 0, 0, .35); pointer-events: none; }
.plan-point__dot[hidden] { display: none; }
.plan-point--pick { cursor: crosshair; touch-action: manipulation; }
@keyframes vivo-nuevo { from { background-color: var(--color-warning-subtle, #fff4cc); } to { background-color: transparent; } }
.vivo-nuevo, tr.vivo-nuevo > td { animation: vivo-nuevo 3s ease-out 1; }
@media (prefers-reduced-motion: reduce) { .vivo-nuevo, tr.vivo-nuevo > td { animation: none; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.drop-aqui { outline: 2px dashed var(--color-primary); outline-offset: 4px; border-radius: var(--radius-lg); }
.drop.drop-aqui { border-color: var(--color-primary); background: var(--color-primary-subtle); outline: none; }
.chat-msg.is-assistant { background: var(--color-neutral-100); border: 1px dashed var(--color-border); }
.chat-msg__ia { display: flex; align-items: center; gap: var(--space-1); margin: 0 0 var(--space-1); font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.emg { display: flex; flex-direction: column; gap: var(--space-3); }
.emg-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.emg-count { display: flex; flex-direction: column; gap: 2px; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.emg-count b { font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.emg-count span { color: var(--color-text-2); font-size: 0.8125rem; }
.emg-count--ok { border-color: var(--color-success); background: var(--color-success-subtle); }
.emg-count--help { border-color: var(--color-danger); background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.emg-count--none { background: var(--color-surface-2, #F1F5F9); }
.emg-help { border: 2px solid var(--color-danger); border-radius: var(--radius-lg); background: var(--color-danger-subtle); padding: var(--space-3); }
.emg-help h2, .emg-damage h2, .emg-map h2 { display: flex; align-items: center; gap: var(--space-1); margin: 0 0 var(--space-2); font-size: 1.125rem; }
.emg-help h2 { color: var(--color-danger-strong); }
.emg-help__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); padding: var(--space-2) 0; border-top: 1px solid rgba(220, 38, 38, .25); }
.emg-help__row:first-of-type { border-top: 0; }
.emg-help__who { display: flex; flex-direction: column; min-width: 140px; }
.emg-help__who span { font-size: 0.8125rem; color: var(--color-text-2); }
.emg-help__note { flex: 1 1 240px; margin: 0; font-weight: 600; }
.emg-help__people { margin: 0; font-size: 0.8125rem; }
.emg-damage { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3); background: var(--color-surface); }
.emg-damage__spot { padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.emg-damage__spot:first-of-type { border-top: 0; }
.emg-damage__spot h3 { margin: 0; font-size: 1rem; }
.emg-damage__note { margin: var(--space-1) 0 0; }
.emg-damage__photos { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-1-5); }
.emg-damage__photos img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-md, 8px); }
.emg-map__group { margin-bottom: var(--space-2); }
.emg-map__group h3 { margin: 0 0 var(--space-1); font-size: 0.9375rem; }
.emg-grid { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.emg-cell { display: flex; align-items: center; justify-content: center; min-width: 48px; height: 32px; padding: 0 4px; border-radius: 6px; font-size: 0.6875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.emg-cell--ok { background: var(--color-success); color: #FFFFFF; }
.emg-cell--help { background: var(--color-danger); color: #FFFFFF; outline: 2px solid var(--color-danger-strong); }
.emg-cell--none { background: #CBD5E1; color: #1E293B; }
.emg-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.emg-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-left: 6px; }
.emg-dot--ok { background: var(--color-success); }
.emg-dot--help { background: var(--color-danger); }
.emg-dot--none { background: #CBD5E1; }
.emg-none summary { cursor: pointer; font-weight: 600; }
.emg-none ul { columns: 2; margin: var(--space-1) 0 0; padding-left: var(--space-3); }
.emg-message { margin: var(--space-1) 0 0; font-weight: 600; }
.emg-kinds { display: flex; flex-wrap: wrap; gap: var(--space-1-5); border: 0; margin: 0; padding: 0; }
.emg-kind { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 999px; cursor: pointer; }
.emg-kind:has(input:checked) { border-color: var(--color-danger); background: var(--color-danger-subtle); }
.emg-history { margin: 0; padding-left: var(--space-3); }
.emg-open, .emg-gate-banner { text-decoration: none; color: inherit; }
@media (max-width: 640px) {
.emg-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.emg-none ul { columns: 1; }
}
.msn { position: fixed; right: var(--space-4); bottom: 0; z-index: calc(var(--z-toast) - 1); display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2); pointer-events: none; max-width: calc(100vw - 2 * var(--space-4)); font-size: 0.875rem; }
.msn[hidden] { display: none; }
.msn > * { pointer-events: auto; }
.msn-row { display: flex; flex-direction: row-reverse; align-items: flex-end; gap: var(--space-2); max-width: 100%; }
.msn-bar { position: relative; }
.msn-bar__btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--color-surface); color: var(--color-text); font: inherit; font-weight: 600; box-shadow: var(--shadow-md); cursor: pointer; }
.msn-bar__btn:hover { background: var(--color-primary-subtle); }
.msn-bar__btn:focus-visible, .msn-icon:focus-visible, .msn-win__title:focus-visible, .msn-person:focus-visible, .msn-card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.msn-bar__icon { display: inline-flex; color: var(--color-primary); }
.msn-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--color-danger); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.msn-count[hidden] { display: none; }
.msn-list { position: absolute; right: 0; bottom: 100%; width: 300px; max-width: calc(100vw - 2 * var(--space-4)); max-height: min(520px, calc(100vh - 120px)); display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-lg); }
.msn-list[hidden] { display: none; }
.msn-list__head { display: flex; align-items: center; gap: var(--space-2); }
.msn-list__title { flex: 1; margin: 0; font-weight: 700; }
.msn-list__sound { min-height: 44px; border: 1px solid var(--color-border); border-radius: var(--radius-md, 8px); background: var(--color-surface); color: var(--color-text-2); font: inherit; font-size: 0.75rem; padding: 0 var(--space-2); cursor: pointer; }
.msn-list__close { color: var(--color-text-2); }
.msn-list__close:hover { background: var(--color-primary-subtle); }
.msn-list__search { min-height: 44px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md, 8px); padding: 0 var(--space-3); font: inherit; background: var(--color-surface); color: var(--color-text); }
.msn-list__note { display: block; padding: var(--space-2); border-radius: var(--radius-md, 8px); background: var(--color-info-subtle); color: var(--color-info-strong); font-weight: 600; text-decoration: none; }
.msn-list__note[hidden] { display: none; }
.msn-list__people { overflow-y: auto; flex: 1; min-height: 80px; }
.msn-list__empty { margin: var(--space-2) 0; color: var(--color-text-2); }
.msn-list__all { align-self: flex-start; font-weight: 600; }
.msn-group + .msn-group { margin-top: var(--space-2); }
.msn-group__title { margin: 0 0 var(--space-1); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
.msn-group__list { margin: 0; padding: 0; list-style: none; }
.msn-person { display: flex; align-items: center; gap: var(--space-2); width: 100%; min-height: 44px; padding: var(--space-1) var(--space-2); border: 0; border-radius: var(--radius-md, 8px); background: none; color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.msn-person:hover { background: var(--color-primary-subtle); }
.msn-person__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.msn-person__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msn-person__state { color: var(--color-text-muted); font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.msn-person__state--on { color: var(--color-success-strong); }
.msn-ava { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; }
.msn-ava--sm { width: 28px; height: 28px; font-size: 0.6875rem; }
.msn-dot { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--color-surface); background: #94A3B8; }
.msn-dot--activo { background: var(--color-success); }
.msn-win { position: relative; display: flex; flex-direction: column; width: 340px; max-width: calc(100vw - 2 * var(--space-4)); height: 470px; max-height: calc(100vh - 96px); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-bottom: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.msn-win[hidden] { display: none; }
.msn-win.is-min { height: auto; width: 220px; }
.msn-win__head { display: flex; align-items: center; gap: var(--space-1); padding: 6px var(--space-2); background: var(--color-brand); color: #FFFFFF; }
.msn-win__head .msn-ava { background: rgba(255, 255, 255, .16); }
.msn-win__head .msn-dot { border-color: var(--color-brand); }
.msn-win__title { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 2px 4px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.msn-win__title b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msn-win__title small { font-size: 0.6875rem; opacity: .85; }
.msn-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-md, 8px); background: none; color: inherit; cursor: pointer; text-decoration: none; }
.msn-win__head .msn-icon:hover { background: rgba(255, 255, 255, .14); }
.msn-win__sound.is-off { opacity: .55; }
.msn-win.is-min .msn-win__sound, .msn-win.is-min .msn-win__full { display: none; }
.msn-win__body { position: relative; flex: 1; overflow-y: auto; padding: var(--space-2); background: var(--color-bg); }
.msn-win__body[hidden], .msn-win__form[hidden] { display: none; }
.msn-msgs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.msn-msg { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 85%; }
.msn-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.msn-msg__who { font-size: 0.6875rem; font-weight: 600; color: var(--color-text-2); margin: 0 0 2px 4px; }
.msn-msg__bubble { position: relative; min-width: 96px; display: flex; flex-direction: column; gap: 4px; padding: 6px var(--space-2); border-radius: 12px; background: var(--color-surface); border: 1px solid var(--color-border); }
.msn-msg.is-mine .msn-msg__bubble { background: var(--color-primary-subtle); border-color: transparent; }
.msn-msg__text { margin: 0; white-space: pre-wrap; overflow-wrap: break-word; }
.msn-msg__gone { color: var(--color-text-muted); }
.msn-msg__file { font-weight: 600; }
.msn-msg__card { display: flex; flex-direction: column; padding: 4px 8px; border-left: 3px solid var(--color-primary); background: var(--color-bg); border-radius: 6px; text-decoration: none; color: var(--color-text); }
.msn-msg__card small { color: var(--color-text-muted); font-size: 0.6875rem; }
.msn-msg__meta { align-self: flex-end; font-size: 0.6875rem; color: var(--color-text-muted); }
.msn-typing { margin: var(--space-1) 0 0; font-size: 0.75rem; font-style: italic; color: var(--color-text-2); }
.msn-typing[hidden] { display: none; }
.msn-win__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px; padding: var(--space-2) var(--space-2) var(--space-2) 2px; border-top: 1px solid var(--color-border); }
.msn-win__input { flex: 1; min-height: 44px; max-height: 120px; resize: vertical; padding: var(--space-2); border: 1px solid var(--color-border-strong); border-radius: var(--radius-md, 8px); font: inherit; background: var(--color-surface); color: var(--color-text); }
.msn-win__send { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-md, 8px); background: var(--color-primary); color: #FFFFFF; cursor: pointer; }
.msn-win__send:hover { background: var(--color-primary-hover); }
.msn-win__send:disabled { opacity: .6; cursor: wait; }
.msn-win__error { flex-basis: 100%; margin: 0; color: var(--color-danger-strong); font-size: 0.75rem; }
.msn-win__error[hidden] { display: none; }
.msn-dock { position: relative; }
.msn-dock[hidden] { display: none; }
.msn-tool { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px; border: 0; border-radius: var(--radius-md, 8px); background: none; color: var(--color-primary); cursor: pointer; }
.msn-tool:hover, .msn-tool[aria-expanded="true"] { background: var(--color-primary-subtle); }
.msn-tool:disabled { opacity: .45; cursor: default; }
.msn-tool:focus-visible, .msn-mini:focus-visible, .msn-msg__more:focus-visible, .msn-attach__item:focus-visible, .msn-actions__item:focus-visible, .msn-emoji__cell:focus-visible, .msn-emoji__tab:focus-visible, .msn-quote:focus-visible, .msn-msg__photo:focus-visible, .msn-msg__doc:focus-visible, .msn-msg__place:focus-visible, .msn-win__send:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.msn-win__send[hidden] { display: none; }
.msn-win__mic { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.msn-win__mic.is-recording { background: var(--color-danger); transform: scale(1.12); }
.msn-win__status { flex-basis: 100%; margin: 0; color: var(--color-text-2); font-size: 0.75rem; }
.msn-win__status[hidden] { display: none; }
.msn-mini { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--color-text-2); cursor: pointer; }
.msn-mini:hover { background: var(--color-primary-subtle); color: var(--color-text); }
.msn-note { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-2) var(--space-2) 0; padding: 6px var(--space-2); border-left: 4px solid var(--color-primary); border-radius: 8px; background: var(--color-primary-subtle); }
.msn-note[hidden] { display: none; }
.msn-note--edit { border-left-color: var(--color-warning, #EAB308); background: var(--color-warning-subtle, #FEF9C3); }
.msn-note__text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 0.8125rem; }
.msn-note__text b { color: var(--color-primary); font-size: 0.75rem; }
.msn-note--edit .msn-note__text b { color: var(--color-text); }
.msn-note__text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text-2); }
.msn-tray { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: var(--space-2) var(--space-2) 0; list-style: none; max-height: 150px; overflow-y: auto; }
.msn-tray[hidden] { display: none; }
.msn-tray__item { position: relative; display: flex; align-items: center; gap: var(--space-2); max-width: 100%; padding: 4px 4px 4px var(--space-2); border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); }
.msn-tray__item.is-photo { padding: 0; border: 0; background: none; }
.msn-tray__img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--color-border); }
.msn-tray__item.is-photo .msn-tray__x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; background: var(--color-surface); box-shadow: var(--shadow-md); }
.msn-tray__icon { display: inline-flex; color: var(--color-primary); }
.msn-tray__icon--pin { color: var(--color-success-strong, #15803D); }
.msn-tray__text { display: flex; flex-direction: column; min-width: 0; font-size: 0.8125rem; }
.msn-tray__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; font-weight: 600; }
.msn-tray__text small { color: var(--color-text-muted); font-size: 0.6875rem; }
.msn-rec { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-2) var(--space-2) 0; padding: 6px var(--space-2); border-radius: 8px; background: var(--color-danger-subtle, #FEE2E2); color: var(--color-danger-strong, #991B1B); font-size: 0.8125rem; }
.msn-rec[hidden] { display: none; }
.msn-rec__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-danger); animation: msn-rec 1s ease-in-out infinite; }
@keyframes msn-rec { 50% { opacity: .25; } }
.msn-rec__time { font-weight: 700; font-variant-numeric: tabular-nums; }
.msn-rec__hint { flex: 1; min-width: 0; font-size: 0.6875rem; }
.msn-attach, .msn-actions { position: absolute; z-index: 2; display: flex; flex-direction: column; min-width: 180px; padding: var(--space-1); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.msn-attach { left: var(--space-2); bottom: 100%; margin-bottom: -6px; }
.msn-attach[hidden], .msn-actions[hidden] { display: none; }
.msn-attach__item, .msn-actions__item { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-md, 8px); background: none; color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.msn-attach__item:hover, .msn-actions__item:hover { background: var(--color-primary-subtle); }
.msn-attach__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #FFFFFF; background: var(--color-primary); }
.msn-attach__item--image .msn-attach__icon { background: #7C3AED; }
.msn-attach__item--file .msn-attach__icon { background: #2563EB; }
.msn-attach__item--pin .msn-attach__icon { background: #15803D; }
.msn-actions { right: 0; bottom: 100%; min-width: 150px; }
.msn-msg.is-mine .msn-actions { right: 0; }
.msn-msg:not(.is-mine) .msn-actions { left: 0; right: auto; }
.msn-actions.is-down { top: 100%; bottom: auto; }
.msn-actions__icon { display: inline-flex; color: var(--color-primary); }
.msn-msg__more { position: absolute; top: 2px; right: 2px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--color-surface); color: var(--color-text-2); opacity: 0; cursor: pointer; transition: opacity .15s ease; }
.msn-msg.is-mine .msn-msg__more { background: var(--color-primary-subtle); }
.msn-msg:hover .msn-msg__more, .msn-msg:focus-within .msn-msg__more, .msn-msg__more[aria-expanded="true"] { opacity: 1; }
@media (hover: none) { .msn-msg__more { opacity: .7; } .msn-msg__bubble { padding-right: 30px; } }
.msn-msg.is-flash .msn-msg__bubble { animation: msn-flash 1.2s ease-out; }
@keyframes msn-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--color-focus); } 100% { box-shadow: none; } }
.msn-quote { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; margin-right: 22px; padding: 4px 8px; border: 0; border-left: 3px solid var(--color-primary); border-radius: 6px; background: var(--color-bg); color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.msn-msg.is-mine .msn-quote { background: rgba(255, 255, 255, .6); }
.msn-quote b { font-size: 0.6875rem; color: var(--color-primary); }
.msn-quote span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.75rem; color: var(--color-text-2); }
.msn-msg__text.is-big { font-size: 2rem; line-height: 1.2; }
.msn-msg__photo { display: block; padding: 0; border: 0; border-radius: 10px; background: none; cursor: zoom-in; overflow: hidden; }
.msn-msg__photo img { display: block; width: 220px; max-width: 100%; max-height: 240px; object-fit: cover; border-radius: 10px; background: var(--color-bg); }
.msn-msg__voice { display: block; width: 240px; max-width: 100%; height: 40px; }
.msn-msg__doc, .msn-msg__place { display: flex; align-items: center; gap: var(--space-2); min-width: 200px; padding: 6px var(--space-2); border-radius: 8px; background: var(--color-bg); color: var(--color-text); text-decoration: none; }
.msn-msg.is-mine .msn-msg__doc, .msn-msg.is-mine .msn-msg__place { background: rgba(255, 255, 255, .6); }
.msn-msg__doc:hover, .msn-msg__place:hover { text-decoration: underline; }
.msn-msg__doc-icon { display: inline-flex; color: #2563EB; }
.msn-msg__doc-text, .msn-msg__place-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.msn-msg__doc-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8125rem; }
.msn-msg__doc-text small, .msn-msg__place-text small { color: var(--color-text-muted); font-size: 0.6875rem; }
.msn-msg__place-text span { font-size: 0.75rem; color: var(--color-text-2); }
.msn-msg__doc-get { display: inline-flex; color: var(--color-text-2); }
.msn-msg__place-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #DCFCE7; color: #166534; }
.msn-msg__seen { display: inline-flex; vertical-align: -3px; margin-left: 4px; color: var(--color-text-muted); }
.msn-msg__seen.is-seen { color: #0EA5E9; }
.msn-win.is-drop .msn-win__body { outline: 3px dashed var(--color-primary); outline-offset: -6px; }
.msn-emoji { position: absolute; left: var(--space-2); right: var(--space-2); bottom: 100%; z-index: 2; display: flex; flex-direction: column; height: 280px; max-height: calc(100vh - 220px); margin-bottom: -6px; background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.msn-emoji[hidden] { display: none; }
.msn-emoji__head { position: relative; padding: var(--space-2) var(--space-2) 0; }
.msn-emoji__glass { position: absolute; left: calc(var(--space-2) + 10px); top: calc(var(--space-2) + 12px); display: inline-flex; color: var(--color-text-muted); pointer-events: none; }
.msn-emoji__search { width: 100%; min-height: 40px; padding: 0 var(--space-2) 0 34px; border: 1px solid var(--color-border-strong); border-radius: 999px; background: var(--color-bg); color: var(--color-text); font: inherit; }
.msn-emoji__tabs { display: flex; justify-content: space-between; padding: 2px var(--space-1); border-bottom: 1px solid var(--color-border); }
.msn-emoji__tab { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--color-text-muted); cursor: pointer; }
.msn-emoji__tab:hover, .msn-emoji__tab[aria-pressed="true"] { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.msn-emoji__tab[hidden] { display: none; }
.msn-emoji__grid { position: relative; flex: 1; overflow-y: auto; padding: 0 var(--space-1) var(--space-2); }
.msn-emoji__title { position: sticky; top: 0; margin: 0; padding: 6px 4px 2px; background: var(--color-surface); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
.msn-emoji__cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); }
.msn-emoji__cell { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; font-size: 1.375rem; line-height: 1; cursor: pointer; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif; }
.msn-emoji__cell:hover { background: var(--color-primary-subtle); }
.msn-emoji__note { margin: var(--space-3) var(--space-2); color: var(--color-text-2); font-size: 0.8125rem; }
.msn-view { position: fixed; inset: 0; z-index: calc(var(--z-toast) + 1); display: flex; align-items: center; justify-content: center; padding: 56px var(--space-4) var(--space-4); background: rgba(15, 23, 42, .88); }
.msn-view[hidden] { display: none; }
.msn-view__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg); }
.msn-view__bar { position: absolute; top: var(--space-2); right: var(--space-2); display: flex; gap: var(--space-1); color: #FFFFFF; }
.msn-view__bar .msn-icon:hover { background: rgba(255, 255, 255, .16); }
@media (prefers-reduced-motion: reduce) { .msn-rec__dot { animation: none; } .msn-msg.is-flash .msn-msg__bubble { animation: none; outline: 3px solid var(--color-focus); } .msn-win__mic.is-recording { transform: none; } }
.msn-more { position: relative; }
.msn-more[hidden] { display: none; }
.msn-more__btn { min-width: 44px; min-height: 44px; padding: 0 var(--space-2); border: 1px solid var(--color-border-strong); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--color-surface); color: var(--color-text); font: inherit; font-weight: 700; box-shadow: var(--shadow-md); cursor: pointer; }
.msn-more__menu { position: absolute; bottom: 100%; left: 0; min-width: 200px; display: flex; flex-direction: column; padding: var(--space-1); background: var(--color-surface); border: 1px solid var(--color-border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.msn-more__menu[hidden] { display: none; }
.msn-more__item { min-height: 44px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-md, 8px); background: none; color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.msn-more__item:hover { background: var(--color-primary-subtle); }
@keyframes msn-blink { 0%, 100% { box-shadow: var(--shadow-lg); } 50% { box-shadow: 0 0 0 3px var(--color-brand-accent), var(--shadow-lg); } }
.msn-win.is-blink { animation: msn-blink 1s ease-in-out 3; }
.msn-win.is-blink.is-min .msn-win__head, .msn-bar__btn.is-blink { background: var(--color-primary); color: #FFFFFF; }
.msn-bar__btn.is-blink .msn-bar__icon { color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .msn-win.is-blink { animation: none; outline: 3px solid var(--color-brand-accent); } }
.msn-cards { display: flex; flex-direction: column; gap: var(--space-2); width: 340px; max-width: 100%; }
.msn-card { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--space-3); background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border-strong); border-left: 5px solid var(--color-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-decoration: none; transition: opacity .25s ease; }
.msn-card:hover { background: var(--color-primary-subtle); }
.msn-card--condomino { border-left-color: var(--color-success); }
.msn-card--condomino .msn-card__icon { color: var(--color-success-strong); background: var(--color-success-subtle); }
.msn-card.is-out { opacity: 0; }
.msn-card__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary-subtle); color: var(--color-primary); }
.msn-card__text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.msn-card__kind { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-text-muted); }
.msn-card__who, .msn-card__subject, .msn-card__line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msn-card__subject { font-weight: 600; }
.msn-card__line { color: var(--color-text-2); }
@media (prefers-reduced-motion: reduce) { .msn-card { transition: none; } }
body:has(.msn:not([hidden])) .toasts, body:has(.msn:not([hidden])) .rt-ping { bottom: 64px; }
@media (max-width: 699px) {
.msn { right: var(--space-2); max-width: calc(100vw - 2 * var(--space-2)); }
.msn-win { width: calc(100vw - 2 * var(--space-2)); height: min(480px, calc(100vh - 120px)); }
.msn-win.is-min { width: auto; max-width: 60vw; }
.msn-cards { width: calc(100vw - 2 * var(--space-2)); }
.msn-row { flex-wrap: wrap-reverse; justify-content: flex-start; }
}
.msn-bar--ext[hidden] { display: none; }
.msn-ext { text-decoration: none; }
.msn-ext[aria-current="page"] { background: var(--color-primary-subtle); }
.msn-ext .msn-bar__icon { color: var(--color-primary); }
.msn-bar:not(.msn-bar--ext) .msn-bar__btn { border-top: 3px solid var(--color-primary); }
.msn-bar--ext .msn-bar__btn { border-top: 3px solid #0F766E; background: #EEF7F5; }
.msn-bar--ext .msn-bar__btn:hover, .msn-ext[aria-current="page"] { background: #DDF0EB; }
.msn-bar--ext .msn-bar__icon, .msn-ext .msn-bar__icon { color: #0F766E; }
.msn-ext[aria-expanded="true"] { background: #DDF0EB; }
.msn-list--ext { width: 360px; }
.msn-chips { display: flex; gap: var(--space-1-5); overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.msn-chips[hidden] { display: none; }
.msn-chip { flex: none; display: inline-flex; align-items: center; gap: var(--space-1-5); min-height: 36px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 999px; background: var(--color-surface); color: var(--color-text); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.msn-chip:hover { background: #EEF7F5; }
.msn-chip.is-on { background: #0F766E; border-color: #0F766E; color: #FFFFFF; }
.msn-chip:focus-visible, .msn-conv:focus-visible, .msn-canned__btn:focus-visible, .msn-how summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.msn-chip__n { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--color-danger); color: #FFFFFF; font-size: 0.6875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.msn-convs { margin: 0; padding: 0; list-style: none; }
.msn-conv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px var(--space-2); width: 100%; min-height: 44px; padding: var(--space-2); border: 0; border-radius: var(--radius-md, 8px); background: none; color: var(--color-text); font: inherit; text-align: left; cursor: pointer; }
.msn-conv:hover { background: #EEF7F5; }
.msn-conv__top { display: contents; }
.msn-conv__condo { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.6875rem; font-weight: 700; color: #0F766E; }
.msn-conv__mayus { letter-spacing: .02em; text-transform: uppercase; }
.msn-conv__hora { font-size: 0.6875rem; color: var(--color-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.msn-conv__quien { grid-column: 1 / -1; min-width: 0; font-weight: 600; }
.msn-conv.is-new .msn-conv__quien { font-weight: 700; }
.msn-conv__punto { display: inline-block; width: 8px; height: 8px; margin-left: var(--space-1); border-radius: 50%; background: #0F766E; vertical-align: middle; }
.msn-conv__ultimo { grid-column: 1 / -1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text-2); font-size: 0.8125rem; }
.msn-how { font-size: 0.8125rem; color: var(--color-text-2); }
.msn-how summary { min-height: 32px; display: flex; align-items: center; font-weight: 600; color: var(--color-text); cursor: pointer; }
.msn-how p { margin: 0 0 var(--space-2); }
.msn-win--ext .msn-win__head { background: #134E4A; }
.msn-win--ext .msn-win__title b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; line-height: 1.2; font-size: 0.8125rem; }
.msn-win--ext .msn-win__sound { display: none; }
.msn-win--ext.is-min .msn-win__title b { white-space: nowrap; display: block; }
.msn-win--ext .msn-win__head .msn-dot { border-color: #134E4A; }
.msn-win--ext.is-blink.is-min .msn-win__head { background: #0F766E; }
.msn-ext-info { margin: 0; padding: 4px var(--space-3); border-bottom: 1px solid var(--color-border); background: #EEF7F5; font-size: 0.75rem; }
.msn-ext-info[hidden] { display: none; }
.msn-ext-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-2); }
.msn-ext-info__condo { flex: 1; min-width: 0; color: var(--color-text-2); }
.msn-ext-info a { font-weight: 600; color: #0F766E; white-space: nowrap; }
.msn-canned { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-2) 0; }
.msn-canned[hidden] { display: none; }
.msn-canned__btn { flex: none; min-height: 36px; padding: 0 var(--space-3); border: 1px solid #0F766E; border-radius: 999px; background: var(--color-surface); color: #0F766E; font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.msn-canned__btn:hover { background: #EEF7F5; }
.msn-canned__hint { min-width: 0; color: var(--color-text-muted); font-size: 0.6875rem; line-height: 1.3; }
.msn-readonly { display: flex; gap: var(--space-1); flex-wrap: wrap; margin: 0; padding: var(--space-3); border-top: 1px solid var(--color-border); background: var(--color-bg); color: var(--color-text-2); font-size: 0.8125rem; }
.msn-readonly[hidden] { display: none; }
.msn-readonly b { color: var(--color-text); }
.msn-win--ext .msn-msg.is-mine .msn-msg__bubble { background: #E6F4F1; }
@media (max-width: 699px) { .msn-list--ext { width: calc(100vw - 2 * var(--space-2)); } .msn-chip, .msn-canned__btn { min-height: 44px; } }
@media print { .msn { display: none; } }
body:has([data-chat-circulo]) .msn-bar__btn { width: 48px; height: 48px; min-height: 48px; margin-bottom: var(--space-3); padding: 0; justify-content: center; gap: 0; border: 1px solid var(--color-border-strong); border-radius: 50%; }
body:has([data-chat-circulo]) .msn-bar:not(.msn-bar--ext) .msn-bar__btn { border: 2px solid var(--color-primary); }
body:has([data-chat-circulo]) .msn-bar--ext .msn-bar__btn { border: 2px solid #0F766E; }
body:has([data-chat-circulo]) .msn-bar__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:has([data-chat-circulo]) .msn-count { position: absolute; top: -4px; right: -4px; }
.msn[data-caseta="1"] .msn-bar__btn, body:has(main form[method="post"]) .msn-bar__btn { width: 48px; height: 48px; min-height: 48px; margin-bottom: var(--space-3); padding: 0; justify-content: center; gap: 0; border: 1px solid var(--color-border-strong); border-radius: 50%; }
.msn[data-caseta="1"] .msn-bar__text, body:has(main form[method="post"]) .msn-bar__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.msn[data-caseta="1"] .msn-count, body:has(main form[method="post"]) .msn-count { position: absolute; top: -4px; right: -4px; }
@media (max-width: 699px) {
.msn-bar__btn { width: 48px; height: 48px; min-height: 48px; margin-bottom: var(--space-3); padding: 0; justify-content: center; gap: 0; border: 1px solid var(--color-border-strong); border-radius: 50%; }
.msn-bar__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.msn-count { position: absolute; top: -4px; right: -4px; }
}
.evac-card { border: 2px solid var(--color-danger); }
.evac-form { display: flex; flex-direction: column; gap: var(--space-2); }
.evac-towers { display: flex; flex-wrap: wrap; gap: var(--space-1-5); border: 0; margin: 0; padding: 0; }
.evac-tower { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--color-border); border-radius: 999px; cursor: pointer; }
.evac-tower:has(input:checked) { border-color: var(--color-danger); background: var(--color-danger-subtle); }
.evac-more summary { cursor: pointer; font-weight: 600; padding: var(--space-1) 0; }
.evac-more[open] { display: flex; flex-direction: column; gap: var(--space-2); }
.evac-btn { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 88px; padding: var(--space-2) var(--space-3); border: 0; border-radius: 18px; background: #B91C1C; color: #FFFFFF; font: inherit; font-size: 1.625rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.evac-btn:hover { background: #991B1B; }
.evac-btn:focus-visible { outline: 4px solid #123F8F; outline-offset: 3px; }
.evac-btn__fill { position: absolute; inset: 0; background: rgba(255, 255, 255, .35); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.evac-btn__t { position: relative; display: inline-flex; align-items: center; gap: var(--space-1-5); }
.evac-btn.is-holding { background: #7F1D1D; }
.evac-btn.is-sent { background: #7F1D1D; cursor: progress; }
.evac-hint { margin: 0; font-size: 0.875rem; color: var(--color-text-2); text-align: center; }
.evac-confirm { border: 2px solid var(--color-danger); }
.evac-confirm__t { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); color: var(--color-danger-strong); font-size: 1.5rem; }
.evac-simulacro { letter-spacing: .06em; font-weight: 800; }
.evac-drill-band { margin: 0; padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-lg); background: var(--color-warning-subtle); border: 2px dashed var(--color-warning-strong); color: var(--color-warning-strong); font-weight: 800; letter-spacing: .06em; text-align: center; }
.emg-counts--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.emg-count--out { border-color: var(--color-warning-border); background: var(--color-warning-subtle); }
.emg-cell--out { background: #FACC15; color: #1E293B; }
.emg-dot--out { background: #FACC15; }
.emg-doors { border: 2px solid var(--color-warning-strong); border-radius: var(--radius-lg); background: var(--color-warning-subtle); padding: var(--space-3); }
.emg-doors h2, .emg-times h2 { display: flex; align-items: center; gap: var(--space-1); margin: 0 0 var(--space-1); font-size: 1.125rem; }
.emg-doors__list { margin: var(--space-1) 0 0; padding-left: var(--space-3); }
.emg-doors__list li { padding: 4px 0; }
.emg-times { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-3); background: var(--color-surface); }
.emg-times__marks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); margin: 0 0 var(--space-1); padding: 0; list-style: none; }
.emg-times__marks li { display: flex; flex-direction: column; }
.emg-times__marks b { font-size: 1.625rem; font-variant-numeric: tabular-nums; }
.emg-times__marks span { font-size: 0.8125rem; color: var(--color-text-2); }
.gate-evacuar { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: #B91C1C; color: #FFFFFF; font-weight: 800; text-decoration: none; letter-spacing: .03em; }
.gate-evacuar:hover, .gate-evacuar:focus-visible { background: #7F1D1D; color: #FFFFFF; }
.plan-point { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.plan-point:first-of-type { border-top: 0; }
.plan-point__img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-md, 8px); }
.plan-point__body h3 { margin: 0 0 4px; font-size: 1rem; }
.plan-add { margin-top: var(--space-2); }
.plan-add summary { list-style: none; display: inline-flex; }
.plan-area__img { max-width: 220px; max-height: 160px; border-radius: var(--radius-md, 8px); border: 1px solid var(--color-border); }
.brig-list { margin: 0; padding: 0; list-style: none; }
.brig-list__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) 0; border-top: 1px solid var(--color-border); }
.brig-list__row:first-child { border-top: 0; }
.brig-tasks dt { font-weight: 700; margin-top: var(--space-1-5); }
.brig-tasks dd { margin: 2px 0 0; color: var(--color-text-2); }
.drill-list { margin: 0; padding: 0; list-style: none; }
.drill-list__row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.drill-list__row:first-child { border-top: 0; }
.cond-ubica { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--space-2); }
.cond-ubica__form { display: flex; flex-direction: column; gap: var(--space-2); max-width: 520px; }
@media (max-width: 760px) {
.emg-counts--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.emg-times__marks { grid-template-columns: 1fr; }
}
.res-pass__form { gap: var(--space-3); }
.res-pass__count { max-width: 16rem; }
.res-pass__count .input { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) and (max-height: 820px) {
.auth { padding-block: var(--space-3); }
.auth__card { padding-block: var(--space-4); }
.auth__card .input,
.auth__card .field > input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.auth__card .auth-fields input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.auth__card .btn { height: 42px; min-height: 42px; }
.auth__card .field + .field { margin-top: var(--space-3); }
.auth__card .form__actions { margin-top: var(--space-4); }
.auth__card form + .auth-p, .auth__card form + p { margin-top: var(--space-3); }
.auth-o { margin: var(--space-2) 0; }
.auth__sello { margin-top: var(--space-2); }
.auth__sello + .auth__credito { margin-top: var(--space-1-5); }
.auth__legal { margin-top: var(--space-1-5); }
}
@media (min-width: 1024px) and (max-height: 820px) and (pointer: fine) {
.auth__legal a { min-height: 0; padding-block: var(--space-1); line-height: 20px; }
}
body:has(.drawer.is-open) .msn { right: calc(min(var(--drawer-w), 100vw) + var(--space-4)); }
body:has(.drawer--wide.is-open) .msn { right: calc(min(640px, 100vw) + var(--space-4)); }
@media (max-width: 767px) { body:has(.drawer.is-open) .msn { display: none; } }
body:has(.vis-actions) .msn { bottom: 64px; }
@media (max-width: 760px) {
body:has(.vis-actions) .msn { bottom: 8px; }
.vis-actions { padding-right: 116px; }
.vis-actions .btn { height: auto; min-height: 44px; white-space: normal; line-height: 1.2; }
}
body:has(.msn:not([hidden])) .main { padding-bottom: 72px; }
.table--pareja { table-layout: fixed; width: 100%; }
.table--pareja td { vertical-align: top; }
.reno-tabla__permiso { width: 9.5rem; }
.reno-tabla__filial { width: 7.5rem; }
.reno-tabla__cuando { width: 11rem; }
.reno-tabla__quien { width: 13rem; }
.reno-tabla__estado { width: 13rem; }
.reno-tabla__tipo { display: block; font-weight: var(--weight-medium); }
.reno-tabla__que { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--color-text-2); font-size: var(--text-sm); }
.reno-tabla td:first-child + td + td .reno-tabla__que { margin-top: var(--space-0-5); }
@media (max-width: 900px) { .table--pareja { table-layout: auto; } }
.dep-app__aparte td { background: var(--color-surface-2); padding-top: var(--space-3); border-top: 2px solid var(--color-border); }
.auth-nota { display: flex; gap: var(--space-2); align-items: flex-start; margin: var(--space-4) 0 0; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface-2); color: var(--color-text-2); font-size: var(--text-sm); line-height: 1.45; }
.auth-nota svg { flex: none; margin-top: 2px; color: var(--color-primary); }
.auth__pie { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.auth__pie-fila { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin: 0; }
.auth__pie .auth__sello, .auth__pie .auth__credito { margin: 0; justify-content: flex-start; }
.auth__pie .auth__sello + .auth__credito { margin-top: 0; }
.auth__pie .auth__credito img { height: 20px; }
.auth__pie .auth__legal { margin-top: var(--space-2); text-align: left; }
@media (min-width: 1024px) and (max-height: 820px) {
.auth__pie { margin-top: var(--space-3); padding-top: var(--space-2); }
.auth-nota { margin-top: var(--space-3); padding-block: var(--space-2); }
}
.auth__pie .auth__credito { font-size: var(--text-sm); }
.cuso__clausula { margin: 0 0 var(--space-3); }
.cuso__t { font-size: 1rem; font-weight: var(--weight-semibold); margin: 0 0 var(--space-1); }
.cuso p { margin: 0 0 var(--space-1-5); line-height: 1.6; }
@media (max-width: 767px) {
body[data-oficina], body.gate-body { --control-h: 44px; --control-h-sm: 44px; --control-h-lg: 48px; }
body[data-oficina] .link-btn, body.gate-body .link-btn { min-height: 44px; }
body[data-oficina] .campana__boton { width: 44px; height: 44px; }
body[data-oficina] .topbar-account { height: 44px; }
body[data-oficina] .page-how > summary { min-height: 44px; }
body[data-oficina] .segmented label > span, body[data-oficina] .segmented--links a { height: 44px; }
body[data-oficina] .cal-views a, body[data-oficina] .seg a { height: 44px; min-height: 44px; }
body[data-oficina] .tabs a { min-height: 44px; }
body[data-oficina] .cal-item { min-height: 44px; align-items: center; }
body[data-oficina] .tt-field input, body[data-oficina] .tt-field select, body[data-oficina] .tt-bar button { min-height: 44px; }
body[data-oficina] a.chip { height: auto; min-height: 44px; }
body[data-oficina] .btn--xs, body.gate-body .btn--xs { min-height: 44px; }
body[data-oficina] .mo-chips .f { display: inline-flex; align-items: center; min-height: 44px; }
body[data-oficina] .place__change { min-height: 44px; }
body[data-oficina] label.check, body.gate-body label.check { min-height: 44px; align-items: center; }
body.gate-body .btn--sm, body.gate-body .chip-btn { min-height: 44px; }
body[data-oficina] td input[type="checkbox"], body[data-oficina] th input[type="checkbox"] { width: 24px; height: 24px; }
body.gate-body .sound-gate { min-height: 44px; }
}
.live-pulse { animation: none; }
.live-pulse::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .35em; border-radius: 50%; background: currentColor; vertical-align: .08em; animation: live-pulse 1.6s ease-in-out infinite; }
.attn-chip { animation: none; }
.attn-chip::before { animation: attn-suave 1.2s ease-in-out 3; }
@media (prefers-reduced-motion: reduce) { .live-pulse::before, .attn-chip::before { animation: none; } }
.notice a { text-decoration: underline; text-underline-offset: 2px; }
.dato-largo { overflow-wrap: anywhere; }
.filtrar, .acciones-mas { display: none; }
.entero { white-space: nowrap; }
@media (max-width: 767px) {
.shell .table-wrap.as-cajas, .table-wrap.as-cajas { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.as-cajas > .table, .as-cajas > .table > tbody { display: block; width: 100%; }
.as-cajas > .table > thead { display: none; }
.as-cajas > .table > tbody > tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px var(--space-1-5); min-height: 44px; margin-bottom: var(--space-2); padding: var(--space-3) var(--space-3-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); }
.as-cajas > .table > tbody > tr::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
.as-cajas > .table > tbody > tr:hover { background: var(--color-surface); }
.as-cajas > .table > tbody > tr.caja--toca { cursor: pointer; }
.as-cajas > .table > tbody > tr.caja--toca:active { background: var(--color-surface-2); }
.as-cajas > .table > tbody > tr.is-elegida { background: var(--color-primary-subtle); }
.as-cajas > .table > tbody > tr > td, .as-cajas > .table > tbody > tr > th { display: block; order: 4; height: auto; max-width: none; width: auto !important; padding: 0; border: 0; text-align: left; white-space: normal; overflow: visible; }
.as-cajas > .table > tbody > tr > td.attn-col { order: 2; flex: none; margin-left: var(--space-1-5); }
.as-cajas > .table > tbody > tr > td.attn-col:empty { display: none; }
.as-cajas > .table > tbody > tr > .caja__marca { order: 0; flex: none; align-self: center; }
.as-cajas > .table > tbody > tr > .caja__titulo { order: 1; flex: 1 1 0; min-width: 0; font-size: .9375rem; line-height: 1.35; font-weight: var(--weight-semibold); color: var(--color-text); }
.as-cajas > .table > tbody > tr > .caja__titulo a { color: inherit; font-weight: inherit; }
.as-cajas > .table > tbody > tr > .caja__estado { order: 2; flex: none; max-width: 50%; margin-left: auto; text-align: right; }
.as-cajas > .table > tbody > tr > .caja__dato { order: 4; flex: 0 1 auto; min-width: 0; font-size: var(--text-sm); line-height: 1.4; color: var(--color-text-2); }
.as-cajas > .table > tbody > tr > .caja__dato a { color: inherit; }
.as-cajas > .table > tbody > tr > .caja__dato > :is(div, p) { display: inline; margin: 0; }
.as-cajas > .table > tbody > tr > .caja__dato:not(.caja__dato--primero)::before { content: "·\a0"; }
.as-cajas > .table > tbody > tr > .caja__dato--rotulo::before { content: attr(data-label) ":\a0"; }
.as-cajas > .table > tbody > tr > .caja__dato--rotulo:not(.caja__dato--primero)::before { content: "·\a0" attr(data-label) ":\a0"; }
.as-cajas > .table > tbody > tr > .caja__acciones { order: 6; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.as-cajas > .table > tbody > tr > .caja__oculta { display: none; }
.as-cajas > .table > tbody > tr.as-cards__group { display: block; min-height: 0; margin: 0; padding: var(--space-2) var(--space-0-5) var(--space-1); background: transparent; border: 0; }
.as-cajas > .table > tbody > tr.as-cards__group::after { content: none; }
.as-cajas > .table > tbody > tr.as-cards__group > td, .as-cajas > .table > tbody > tr.as-cards__group > th { display: block; padding: 0; border: 0; background: transparent; font-weight: var(--weight-semibold); color: var(--color-text-2); }
.as-cajas > .table > tbody > tr.as-cards__group > :empty { display: none; }
.as-cajas > .table > tbody > tr[hidden] { display: none; }
.as-cajas + .table-footer, .as-cajas > .table-footer { background: transparent; border: 0; }
.filtrar { display: inline-flex; }
.filtrar__n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--color-primary); color: var(--color-text-inverse); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.filtrar__n[hidden] { display: none; }
form.toolbar.con-filtrar:not(.is-abierto) > :not(.filtrar):not(a.btn) { display: none; }
form.toolbar.con-filtrar.is-abierto > .search { flex: 1 1 100%; max-width: none; }
form.toolbar.con-filtrar.is-abierto > .search .input { width: 100%; }
form.toolbar.con-filtrar.is-abierto > .select { flex: 1 1 100%; width: 100%; }
.tt-bar.con-filtrar:not(.is-abierto) > .tt-fields { display: none; }
.tt-excel, .tt-imprimir, .solo-computadora, body[data-oficina] .main a.btn[href*=".xlsx"] { display: none !important; }
.page-header__actions.con-mas { width: 100%; }
.page-header__actions.con-mas > .accion-principal { flex: 1 1 auto; justify-content: center; }
.page-header__actions.con-mas > .acciones-mas { display: inline-flex; }
.page-header__actions.con-mas:not(.is-abierto) > :not(.accion-principal):not(.acciones-mas) { display: none; }
.page-header__actions.con-mas.is-abierto > :not(.accion-principal):not(.acciones-mas) { order: 1; }
body[data-oficina]:has(.msn) .main { padding-bottom: 88px; }
}
.tono-dia { --tono-bg: #DCE6FA; --tono-fg: #123F8F; }
.tono-tramites { --tono-bg: #FAEBD7; --tono-fg: #7A4B12; }
.tono-comunicacion { --tono-bg: #DDF0FA; --tono-fg: #0B5A7A; }
.tono-comunidad { --tono-bg: #D2F0EA; --tono-fg: #0B6157; }
.tono-seguridad { --tono-bg: #E3E8EF; --tono-fg: #334155; }
.tono-obras { --tono-bg: #FBE5D6; --tono-fg: #8A3B12; }
.tono-dinero { --tono-bg: #E2F2DA; --tono-fg: #2B6A1F; }
.tono-libros { --tono-bg: #E0E7FF; --tono-fg: #3730A3; }
.tono-condominio { --tono-bg: #ECE6FA; --tono-fg: #5B3B9C; }
.tono-personas { --tono-bg: #F8E1EC; --tono-fg: #8A1F55; }
.tono-gris { --tono-bg: #EBEDF2; --tono-fg: #3F4556; }
.sidebar .sidebar__link > svg { color: var(--tono-fg, currentColor); }
@media (min-width: 1024px) {
.sidebar .sidebar__link > svg, .sidebar .sidebar__group > summary > svg { background: var(--tono-bg, #EEF1F5); color: var(--tono-fg, #4A5568); }
.sidebar .sidebar__salida .sidebar__link > svg { background: var(--tono-bg, #E6ECF6); }
.sidebar .sidebar__link[aria-current] > svg, .sidebar .sidebar__group.is-here > summary > svg, .sidebar .sidebar__group[open] > summary > svg { background: var(--tono-bg, var(--color-primary-subtle)); color: var(--tono-fg, var(--color-primary)); box-shadow: inset 0 0 0 2px var(--tono-fg, var(--color-primary)); }
}
.gt-lista { display: none; }
@media (max-width: 767px) {
.shell .subtabs { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shell .subtabs:not(:has(> a:nth-child(3))), .shell .subtabs:has(> a:nth-child(4)):not(:has(> a:nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shell .subtabs > a { min-height: 44px; padding: var(--space-1) var(--space-1); border-bottom-width: 0; border-radius: var(--radius-lg); font-size: var(--text-sm); line-height: 1.2; text-align: center; white-space: normal; }
.shell .subtabs > a[aria-current="page"] { background: var(--color-surface); box-shadow: var(--shadow-sm); }
.shell .subtabs__short { overflow: visible; text-overflow: clip; overflow-wrap: normal; }
.shell .tabs:not(:has(> a:nth-child(7))) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-1); overflow: visible; mask-image: none; }
.shell .tabs:not(:has(> a:nth-child(3))), .shell .tabs:has(> a:nth-child(4)):not(:has(> a:nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shell .tabs:not(:has(> a:nth-child(7))) > a { justify-content: center; min-width: 0; min-height: 44px; text-align: center; white-space: normal; line-height: 1.2; }
.gt, .gt__leyenda { display: none; }
.gt-lista { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.gt-lista__etapa { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); width: 100%; min-height: 44px; padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.gt-lista__etapa.is-late { border-color: var(--color-danger); }
.gt-lista__nombre { font-weight: var(--weight-semibold); }
.gt-lista__fechas { font-size: var(--text-sm); color: var(--color-text-2); }
.gt-lista__etapa.is-late .gt-lista__fechas strong { color: var(--color-danger-strong); }
.gt-lista__avance { display: flex; align-items: center; gap: var(--space-2); }
.gt-lista__avance .ob-bar { flex: 1; width: auto; }
.gt-lista__avance b { flex: none; font-size: var(--text-sm); }
.ob-stages__name small { white-space: nowrap; }
body[data-oficina] .main summary { min-height: 44px; }
body[data-oficina] .main .disclosure > summary { display: flex; align-items: center; }
body[data-oficina] .main .plx__no > summary { margin-block: calc(-1 * var(--space-2-5)); padding-block: 12px; }
body[data-oficina] .ficha-filters .f { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); font-size: var(--text-sm); }
body[data-oficina] .ob-stages__open { min-height: 44px; }
body[data-oficina] .main .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
body[data-oficina] .main a:is([href^="tel:"], [href^="mailto:"], [href*="wa.me/"]):not(.btn) { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; }
}
.cal-rango { min-width: 0; margin: var(--space-3) 0 0; padding: 0; border: 0; }
.cal-rango > legend { padding: 0; }
.cal-rango .cal-form-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); margin-top: var(--space-1); }
.cal-rango .cal-form-row .field:first-child { grid-column: auto; }
.cal-rango .cal-form-row > .field { margin: 0; }
.cal-aviso { margin-top: var(--space-2); padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg); background: var(--color-primary-subtle); }
.cal-aviso__texto { margin: var(--space-1) 0 0; }
.lote-pick__line, .lote-pick__other { display: none; }
@media (max-width: 767px) {
.table-wrap:has(> .lote-pick) { overflow: visible; border: 0; background: transparent; }
.lote-pick thead { display: none; }
.lote-pick, .lote-pick tbody { display: block; width: 100%; }
.lote-pick tr { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); min-height: 44px; padding: var(--space-1-5) var(--space-2); margin: 0 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); cursor: pointer; }
.lote-pick tr:has(input[data-pick]:checked) { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.lote-pick td { display: none; padding: 0; border: 0; }
.lote-pick td.lote-pick__box { display: flex; align-items: center; justify-content: center; order: -1; flex: none; width: 44px; height: 44px; }
.lote-pick td.lote-pick__box input { width: 22px; height: 22px; }
.lote-pick td.lote-pick__line { display: block; flex: 1; min-width: 0; font-size: var(--text-sm); line-height: 1.4; }
.lote-pick__note { display: block; white-space: normal; }
.lote-pick td.lote-pick__pay { display: block; flex-basis: 100%; text-align: left; }
.lote-pick td.lote-pick__pay:not(:has(.lote-pick__other)):not(:has(.small)) { display: none; }
.lote-pick__other { display: inline-flex; min-height: 44px; }
.lote-pick__amount { display: none; }
.lote-pick tr.is-other .lote-pick__other { display: none; }
.lote-pick tr.is-other .lote-pick__amount { display: block; width: 100%; min-height: 44px; }
.lote-cut { white-space: normal; text-align: left; min-height: 44px; height: auto; }
[data-batch-tools] .btn { min-height: 44px; }
}
.cut-card { margin: 0 0 var(--space-4); }
.cut-card__list { margin: var(--space-2) 0; padding-left: 18px; display: flex; flex-direction: column; gap: var(--space-1); }
.cut-card__go { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-2); }
@media (max-width: 640px) { .cut-card__go .btn { width: 100%; min-height: 44px; justify-content: center; } }
@media screen and (min-width: 1024px) {
:where(html.oficina) .sidebar__link > svg, :where(html.oficina) .sidebar__group > summary > svg { width: 26.6667px; height: 26.6667px; }
html.oficina :is(.btn, .tabs, .subtabs, .menu__item, .search, .table, .sidebar__salida, .campana__item, .chip, .badge, .breadcrumb, .msn) svg[viewBox="0 0 24 24"] { stroke-width: 2.5; }
.topbar__marca { width: 96px; }
.sidebar__credit .brand-full { height: 20px; }
}
.sol-vista button { display: inline-flex; align-items: center; gap: var(--space-1-5); padding: 7px var(--space-3); border: 0; font: inherit; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); background: var(--color-surface); cursor: pointer; }
.sol-vista button + button { border-left: 1px solid var(--color-border); }
.sol-vista button:hover { color: var(--color-text); }
.sol-vista button[aria-pressed="true"] { background: var(--color-primary); color: var(--color-text-inverse); }
.sol-vista[hidden] { display: none; }
.sol-tablero { margin-top: var(--space-1); }
.sol-tablero__cols { display: flex; gap: var(--space-3); align-items: flex-start; }
.sol-col { flex: 1 1 0; min-width: 180px; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-2); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); transition: border-color var(--dur-fast), background var(--dur-fast); }
.sol-col[hidden] { display: none; }
.sol-col__titulo { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-1) var(--space-1) 0; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text); }
.sol-col__punto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-2); }
.sol-col__punto--new { background: var(--color-primary); }
.sol-col__punto--in_progress { background: var(--color-warning-strong); }
.sol-col__punto--waiting { background: var(--color-neutral-700); }
.sol-col__punto--resolved { background: var(--color-success-strong); }
.sol-col__punto--cancelled { background: var(--color-danger-strong); }
.sol-col__n { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: var(--weight-medium); color: var(--color-text-2); }
.sol-col__lista { display: flex; flex-direction: column; gap: var(--space-2); }
.sol-col__lista:empty { display: none; }
.sol-col__vacia { margin: 0; padding: var(--space-3) var(--space-2); font-size: var(--text-sm); color: var(--color-text-2); text-align: center; border: 1px dashed var(--color-border-strong); border-radius: var(--radius-md); }
.sol-col__vacia[hidden] { display: none; }
.sol-tablero.is-arrastrando .sol-col:not(.is-destino) { opacity: 0.55; }
.sol-col.is-destino { border-color: var(--color-primary); border-style: dashed; }
.sol-col.is-encima { background: var(--color-primary-subtle); border-style: solid; }
.sol-card { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-2-5) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.sol-card[draggable="true"] { cursor: grab; }
.sol-card.is-arrastrada { opacity: 0.5; }
.sol-card__cab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.sol-card__codigo { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); font-variant-numeric: tabular-nums; text-decoration: none; }
.sol-card__codigo:hover { color: var(--color-primary); }
.sol-card__cab .badge { height: 20px; font-size: var(--text-xs); }
.sol-card__titulo { color: var(--color-text); font-weight: var(--weight-semibold); line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sol-card__titulo:hover { color: var(--color-primary); text-decoration: underline; }
.sol-card__meta { margin: 0; font-size: var(--text-sm); color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-card__pie { display: flex; justify-content: space-between; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-2); }
.sol-card__pie > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-card__hace { flex: none; white-space: nowrap; }
.sol-card .nowrap { white-space: nowrap; }
.sol-card__marca { display: inline-flex; align-items: center; gap: var(--space-1); margin: var(--space-0-5) 0 0; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-warning-strong); }
.sol-card__mover { align-self: flex-start; margin: var(--space-0-5) 0 0 calc(-1 * var(--space-2)); }
.sol-card__mover .btn { color: var(--color-text-2); }
.sol-card__mover .btn svg { color: var(--color-primary); }
.sol-tablero__pie { display: flex; justify-content: center; margin: var(--space-3) 0 0; }
.sol-tablero__pie[hidden] { display: none; }
@media (max-width: 899px) {
.sol-tablero__cols { overflow-x: auto; padding-bottom: var(--space-2); scroll-snap-type: x proximity; }
.sol-col { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
}
@media print { .sol-card__mover { display: none; } }
.cifras { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-3) 0; padding: var(--space-3) var(--space-4); margin-bottom: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.cifras__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: var(--space-6); }
.cifras__label { font-size: var(--text-sm); color: var(--color-text-2); }
.cifras__valor { font-size: 28px; line-height: 34px; font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--color-text); }
.cifras__nota { font-size: var(--text-xs); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.cifras__item { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-width: 0; padding: 0 var(--space-5); border-left: 1px solid var(--color-border); }
.cifras__item b { font-size: var(--text-lg); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cifras__item small { font-size: var(--text-xs); color: var(--color-text-2); }
.cifras__item--fin { margin-left: auto; border-left: 0; padding-right: 0; align-items: flex-end; justify-content: center; }
a.cifras__item, a.cifras__main { color: inherit; text-decoration: none; }
a.cifras__item:hover b, a.cifras__main:hover .cifras__valor { color: var(--color-primary); }
@media (max-width: 700px) {
.cifras { padding: var(--space-3); }
.cifras__main { flex: 1 0 100%; padding: 0 0 var(--space-2); border-bottom: 1px solid var(--color-border); }
.cifras__item { flex: 1 1 45%; padding: 0 var(--space-2) 0 0; border-left: 0; }
.cifras__item--fin { flex-basis: 100%; align-items: flex-start; margin-left: 0; }
}
.punto { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); white-space: nowrap; color: var(--color-text); }
.punto::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--color-text-disabled); }
.punto--ok::before { background: var(--color-success); }
.punto--pend::before { background: var(--color-warning); }
.punto--venc { color: var(--color-danger-strong); }
.punto--venc::before { background: var(--color-danger); }
.punto--info::before { background: var(--color-primary); }
.punto small { color: var(--color-text-2); font-size: var(--text-xs); }
.linea-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5) var(--space-3); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-3); border: 1px solid var(--color-warning-border); border-radius: var(--radius-md); background: var(--color-warning-subtle); color: var(--color-warning-strong); font-size: var(--text-sm); }
.linea-aviso > svg { flex: none; }
.linea-aviso__texto { flex: 1 1 260px; min-width: 0; }
.linea-aviso__texto a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.linea-aviso--venc { border-color: var(--color-danger-border); background: var(--color-danger-subtle); color: var(--color-danger-strong); }
.fila-acciones { display: inline-flex; align-items: center; justify-content: flex-end; gap: var(--space-1); white-space: nowrap; }
.fila-acciones .menu__panel { min-width: 220px; }
td.fila-acciones-col { width: 1%; text-align: right; white-space: nowrap; }
table.filas-abren tbody tr:has(a.row-link) { cursor: pointer; }
table.filas-abren tbody tr:has(a.row-link):hover > td { background: var(--color-surface-2); }
.filtros { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.filtros .search { flex: 1 1 260px; max-width: 420px; }
.filtros > .select { width: auto; min-width: 150px; }
.filtros__quitar { font-size: var(--text-sm); }
.filtros-mas { position: relative; }
.filtros-mas > summary { list-style: none; }
.filtros-mas > summary::-webkit-details-marker { display: none; }
.filtros-mas__n { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 2px; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-text-inverse); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.filtros-mas__panel { position: absolute; z-index: var(--z-dropdown); top: calc(100% + 4px); left: 0; width: min(560px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.filtros-mas__panel .field, .filtros-mas__panel .tt-field { margin: 0; }
.filtros-mas__panel .field__label { font-size: var(--text-xs); }
.filtros-mas__panel .input, .filtros-mas__panel .select { width: 100%; height: 34px; }
.filtros-mas__ancho { grid-column: 1 / -1; }
.filtros-mas__pie { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--color-border); }
@media (max-width: 700px) {
.filtros-mas__panel { grid-template-columns: 1fr; }
.filtros .search { flex-basis: 100%; max-width: none; }
}
.resumen-linea { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-3); margin: 0 0 var(--space-3); font-size: var(--text-sm); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.resumen-linea b { color: var(--color-text); font-weight: var(--weight-semibold); }
.resumen-linea__main { font-size: var(--text-lg); color: var(--color-text); font-weight: var(--weight-semibold); }
.avance { display: inline-flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.avance__paso { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--color-border-strong); background: var(--color-surface); color: var(--color-success-strong); }
.avance__paso + .avance__paso { margin-left: 10px; }
.avance__paso + .avance__paso::before { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; height: 1.5px; margin-top: -0.75px; background: var(--color-border); }
.avance__paso--hecho { border-color: var(--color-success-border); background: var(--color-success-subtle); }
.avance__paso--hecho + .avance__paso::before { background: var(--color-success-border); }
.avance__paso--ahora { border-color: var(--color-primary); background: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-subtle); }
.avance__paso--fuera { border-style: dashed; background: var(--color-neutral-100); }
.avance__paso svg { width: 10px; height: 10px; }
.ahora { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: var(--text-sm); line-height: 1.35; }
.ahora small { font-size: var(--text-xs); color: var(--color-text-2); }
.table tr.grupo > th { padding: var(--space-2) var(--space-3) var(--space-1); background: var(--color-surface-2); color: var(--color-text-2); font-size: var(--text-xs); font-weight: var(--weight-semibold); text-transform: none; text-align: left; border-top: 1px solid var(--color-border); }
.table tr.grupo > th span { font-weight: var(--weight-regular); margin-left: var(--space-1); }
.inicial { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary-subtle); color: var(--color-primary); font-size: 11px; font-weight: var(--weight-semibold); }
.inicial--sistema { background: var(--color-neutral-100); color: var(--color-neutral-700); }
.quien { display: inline-flex; align-items: center; gap: var(--space-1-5); min-width: 0; }
.quien__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.quien__txt small { font-size: var(--text-xs); color: var(--color-text-2); }
.etiqueta { display: inline-flex; align-items: center; height: 20px; padding: 0 var(--space-2); border-radius: var(--radius-sm); border: 1px solid var(--color-border); color: var(--color-text-2); font-size: var(--text-xs); white-space: nowrap; background: var(--color-surface); }
.repetidas > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--space-1); }
.repetidas > summary::-webkit-details-marker { display: none; }
.repetidas > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 4px; color: var(--color-text-2); }
.repetidas[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.repetidas ul { margin: var(--space-1-5) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; font-size: var(--text-xs); color: var(--color-text-2); }
.ajustes, .card.ajustes { padding: 0; overflow: visible; }
.ajustes__sec { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: var(--space-2) var(--space-6); padding: var(--space-4) var(--space-5); border-top: 1px solid var(--color-border); }
.ajustes__sec:first-child, .ajustes > .ajustes__sec:first-of-type { border-top: 0; }
.ajustes__t { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.ajustes__t + p { margin: 2px 0 0; font-size: var(--text-xs); color: var(--color-text-2); }
.ajustes__ctl { display: flex; flex-direction: column; gap: var(--space-1); max-width: 520px; min-width: 0; }
.ajustes__ctl .field { margin: 0; }
.ajustes__ctl .field__help { margin: 0; }
.ajustes__pie { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-border); background: var(--color-surface-2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.prefijo { display: flex; align-items: stretch; max-width: 260px; }
.prefijo > span { display: inline-flex; align-items: center; padding: 0 var(--space-2-5); border: 1px solid var(--color-input-border); border-right: 0; border-radius: var(--radius-md) 0 0 var(--radius-md); background: var(--color-surface-2); color: var(--color-text-2); font-variant-numeric: tabular-nums; }
.prefijo > .input { border-radius: 0 var(--radius-md) var(--radius-md) 0; text-align: right; }
.tabla-mini { width: 100%; max-width: 420px; border-collapse: collapse; font-size: var(--text-sm); }
.tabla-mini th { text-align: left; font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); padding: 0 var(--space-2) var(--space-1); border-bottom: 1px solid var(--color-border); }
.tabla-mini td { padding: 5px var(--space-2); border-bottom: 1px solid var(--color-border); }
.tabla-mini td:last-child, .tabla-mini th:last-child { text-align: right; width: 96px; }
.tabla-mini .input { width: 72px; height: 30px; text-align: right; }
@media (max-width: 700px) {
.ajustes__sec { grid-template-columns: 1fr; padding: var(--space-3); }
.ajustes__pie { padding: var(--space-3); }
}
.asistente { padding: var(--space-4) var(--space-5); }
.asistente + .asistente { margin-top: var(--space-3); }
.asistente__cab { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-3); }
.asistente__cab h2 { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.asistente__cab p { margin: 2px 0 0; font-size: var(--text-sm); color: var(--color-text-2); }
.asistente__pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: 0 0 var(--space-3); padding: 0; list-style: none; counter-reset: paso; }
.asistente__paso { display: flex; flex-direction: column; gap: var(--space-1-5); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); font-size: var(--text-sm); }
.asistente__paso > b { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-base); }
.asistente__paso > b::before { counter-increment: paso; content: counter(paso); display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary); color: var(--color-text-inverse); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
.asistente__paso p { margin: 0; color: var(--color-text-2); }
.asistente__paso .btn { align-self: flex-start; margin-top: auto; }
.soltar { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1); min-height: 76px; padding: var(--space-2-5); border: 1.5px dashed var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-surface); text-align: center; color: var(--color-text-2); font-size: var(--text-sm); }
.soltar.is-encima { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.soltar.is-listo { border-style: solid; border-color: var(--color-success-border); background: var(--color-success-subtle); color: var(--color-success-strong); }
.soltar input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.soltar:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.soltar b { color: var(--color-text); }
.asistente__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.enlace-discreto { padding: 0; border: 0; background: none; color: var(--color-text-2); font-size: var(--text-sm); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.enlace-discreto:hover { color: var(--color-primary); }
@media (max-width: 900px) { .asistente__pasos { grid-template-columns: 1fr; } }
.pf-cifras .cifras__nota a { color: inherit; text-decoration: underline; text-decoration-color: var(--color-border-strong); text-underline-offset: 2px; }
.pf-cifras.pf-result--short .pf-queda { color: var(--color-danger-strong); }
.pf-cifras.pf-result--ok .pf-verdict { color: var(--color-success-strong); font-weight: var(--weight-semibold); }
.pf-cifras.pf-result--short .pf-verdict { color: var(--color-danger-strong); font-weight: var(--weight-semibold); }
.pf-save form { display: flex; flex-direction: column; align-items: flex-end; }
.pf-app { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); color: var(--color-text-2); }
.pf-app strong { color: var(--color-text); font-weight: var(--weight-semibold); }
.pf-falta { margin-bottom: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-warning-border); border-radius: var(--radius-lg); background: var(--color-warning-subtle); }
.pf-falta__t { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); font-size: var(--text-base); font-weight: var(--weight-semibold); color: var(--color-warning-strong); }
.pf-falta__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pf-falta__lista > li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-warning-border); }
.pf-falta__lista > li:first-child { border-top: 0; padding-top: 0; }
.pf-falta__que small { color: var(--color-text-2); font-size: var(--text-xs); }
.pf-libros { margin-top: var(--space-2); font-size: var(--text-sm); }
.pf-libros > summary { cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-1-5); color: var(--color-text-2); }
.pf-libros.is-mal > summary { color: var(--color-danger-strong); font-weight: var(--weight-semibold); }
.pf-libros__lista { list-style: none; margin: var(--space-1) 0 var(--space-2); padding: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.pf-libros__lista .books-check { display: inline; }
.my-att__cifras { margin: var(--space-3) 0 var(--space-2); }
.att-mes { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-2); }
.att-mes__cab, .att-mes__semana { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-1); }
.att-mes__cab span { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: var(--color-text-2); padding: 0 var(--space-1-5); }
.att-dia { position: relative; display: flex; flex-direction: column; gap: 1px; min-height: 64px; padding: var(--space-1-5) var(--space-2); border: 1px solid var(--color-border); border-left-width: 3px; border-radius: var(--radius-md); background: var(--color-surface); font-size: var(--text-xs); font-variant-numeric: tabular-nums; min-width: 0; }
.att-dia b { font-size: var(--text-sm); font-weight: var(--weight-semibold); white-space: nowrap; }
.att-dia small { color: var(--color-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
details.att-dia > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
details.att-dia > summary::-webkit-details-marker { display: none; }
details.att-dia[open] { z-index: 2; box-shadow: var(--shadow-md); }
.att-dia--ok { border-left-color: var(--color-success); }
.att-dia--sin { border-left-color: var(--color-warning); background: var(--color-warning-subtle); }
.att-dia--tarde { border-left-color: var(--color-danger); }
.att-dia__tarde { color: var(--color-danger-strong) !important; font-weight: var(--weight-semibold); }
.att-dia__sin { color: var(--color-warning-strong) !important; }
.att-dia--futuro, .att-dia--nada, .att-dia--libre { border-left-color: var(--color-border-strong); background: var(--color-surface-2); color: var(--color-text-2); }
.att-dia--fuera { border: 0; background: none; min-height: 0; }
.att-dia.is-hoy { box-shadow: inset 0 0 0 1.5px var(--color-primary); }
.att-dia__fix { margin-top: auto; font-size: var(--text-xs); }
.att-dia__marcas { display: grid; grid-template-columns: max-content 1fr; gap: 2px var(--space-2); margin: var(--space-1-5) 0 0; padding-top: var(--space-1-5); border-top: 1px solid var(--color-border); }
.att-dia__marcas dt { color: var(--color-text-2); }
.att-dia__marcas dd { margin: 0; white-space: nowrap; }
.att-dia__nota { display: flex; flex-wrap: wrap; gap: 2px; margin-top: var(--space-1); }
.att-dia__nota:empty { display: none; }
.att-mes__leyenda { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin: var(--space-2) 0 0; }
.att-mes__leyenda .punto { font-size: var(--text-xs); color: var(--color-text-2); }
.att-mes__finde { margin-top: var(--space-2); }
@media (max-width: 700px) {
.att-mes { flex-direction: column-reverse; }
.att-mes__cab { display: none; }
.att-mes__semana { display: flex; flex-direction: column-reverse; gap: var(--space-1); }
.att-dia { min-height: 0; }
.att-dia--fuera, .att-dia--futuro, .att-dia--nada { display: none; }
details.att-dia > summary, span.att-dia { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-2); }
details.att-dia > summary b, span.att-dia b { min-width: 96px; }
}
.cc-condo + .cc-condo { margin-top: var(--space-3); }
.cc-condo__cab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.cc-condo__cab .card__title { margin: 0; }
.cc-sub { margin: var(--space-3) 0 var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.cc-table td { vertical-align: middle; }
.cc-table .punto { margin-top: 2px; font-size: var(--text-xs); }
.cc-iban { letter-spacing: .02em; }
.cc-form { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.cc-form .field { width: 100%; margin: 0; }
.cc-dialog { width: min(560px, calc(100vw - 32px)); }
.ac-falta { margin-bottom: var(--space-3); padding: var(--space-3) var(--space-4); }
.ac-falta__t { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.ac-falta__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--radius-full); background: var(--color-neutral-100); color: var(--color-text-2); font-size: var(--text-xs); }
.ac-falta__lista { list-style: none; margin: 0; padding: 0; }
.ac-falta__lista > li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.ac-falta__lista > li:first-child { border-top: 0; }
.ac-falta__lista .punto { font-size: 0; }
.ac-falta__lista > li .btn { justify-self: end; min-width: 150px; justify-content: center; }
.ac-falta__lista > li.is-atrasado .ac-falta__que b { color: var(--color-danger-strong); }
.ac-cifras .cifras__item { flex: 1 1 0; }
.ac-medio { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: var(--space-3); margin-bottom: var(--space-3); align-items: start; }
.ac-libro__t, .ac-viene__t { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-2); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.ac-libro__t svg { color: var(--color-success-strong); }
.ac-libro__fila { padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.ac-libro__fila > summary { cursor: pointer; list-style: none; }
.ac-libro__fila > summary::-webkit-details-marker { display: none; }
.ac-libro__ver { color: var(--color-primary); }
.ac-libro__fila .ac-checks { margin-top: var(--space-2); }
.ac-sugerencia { display: flex; gap: var(--space-1-5); align-items: flex-start; margin: var(--space-2) 0 0; padding-top: var(--space-2); border-top: 1px solid var(--color-border); font-size: var(--text-sm); color: var(--color-text-2); }
.ac-viene__lista { list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); }
.ac-viene__lista li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-2); padding: 5px 0; border-top: 1px solid var(--color-border); }
.ac-viene__lista li:first-child { border-top: 0; }
.ac-viene__lista li .num { color: var(--color-text-2); }
.ac-viene__lista li.is-hoy .num { color: var(--color-primary); font-weight: var(--weight-semibold); }
.ac-mano { border-color: var(--color-primary-subtle); color: var(--color-primary); }
@media (max-width: 900px) { .ac-medio { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .ac-falta__lista > li { grid-template-columns: 14px 1fr; } .ac-falta__lista > li .btn { grid-column: 2; justify-self: start; } }
.as-sug { margin-bottom: var(--space-3); padding: var(--space-3) var(--space-4); }
.as-sug__t { margin: 0 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.as-sug__t span { font-weight: var(--weight-regular); font-size: var(--text-sm); }
.as-sug__lista { list-style: none; margin: 0; padding: 0; }
.as-sug__lista > li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.as-sug__lista > li:first-child { border-top: 0; }
.as-sug__monto { font-weight: var(--weight-semibold); white-space: nowrap; }
.gs-card { padding: var(--space-3) var(--space-4); }
.gs-card__cab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.gs-card__t { margin: 0; font-size: var(--text-base); font-weight: var(--weight-semibold); }
.gs-todo { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-success-subtle); color: var(--color-success-strong); font-size: var(--text-sm); }
.gs-sub { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0 var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text-2); }
.gs-cierre { margin-top: var(--space-3); padding-top: var(--space-1); border-top: 1px solid var(--color-border); }
.gs-paso { padding: 1px var(--space-2); border-radius: var(--radius-full); background: var(--color-primary-subtle); color: var(--color-primary); font-size: var(--text-xs); }
.pp-ficha { margin-bottom: var(--space-3); }
.pp-datos { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-1-5) var(--space-5); margin: 0; font-size: var(--text-sm); }
.pp-datos dt { color: var(--color-text-2); }
.pp-datos dd { margin: 0; }
.cifras__item--grande b, .cifras__item--grande .cifras__valor { font-size: 24px; line-height: 30px; }
.cifras__item--grande .cifras__label, .cifras__item--grande .cifras__nota { font-size: var(--text-xs); color: var(--color-text-2); }
.tt-bar--compacta .tt-fields { align-items: flex-end; }
.tt-bar--compacta .filtros-mas > summary { height: 34px; }
.seleccion { position: sticky; bottom: var(--space-3); z-index: var(--z-sticky); display: flex; align-items: center; gap: var(--space-3); width: fit-content; margin: 0 0 var(--space-2); padding: var(--space-1-5) var(--space-2) var(--space-1-5) var(--space-3); border-radius: var(--radius-lg); background: var(--color-primary-subtle); font-size: var(--text-sm); }
.seleccion[hidden] { display: none; }
.pl-table td { vertical-align: middle; }
.pl-estado { margin-top: 4px; }
.pl-estado--pend { color: var(--color-warning-strong); }
.pl-accion-col { width: 1%; text-align: right; white-space: nowrap; }
.pl-btn { min-width: 132px; justify-content: center; }
.pl-resumen { margin: var(--space-1) 0 0; }
.rk-decidir { margin-bottom: var(--space-3); padding: var(--space-3) var(--space-4); border-left: 3px solid var(--color-primary); }
.rk-decidir__t { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.rk-decidir__lista { list-style: none; margin: 0; padding: 0; }
.rk-decidir__lista > li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.rk-decidir__lista > li:first-child { border-top: 0; }
.rk-decidir__nombre { font-weight: var(--weight-semibold); color: var(--color-text); }
.rk-decidir__lista .btn { min-width: 96px; justify-content: center; }
.mes-selector { display: inline-flex; align-items: center; gap: var(--space-1); }
.mes-selector form { display: inline-flex; }
.mes-selector .input { width: 160px; height: 30px; }
.pa-tabla .pa-grupos th { border-bottom: 0; padding-bottom: 0; font-size: var(--text-xs); color: var(--color-text-2); }
.pa-tabla th.pa-grupo { text-align: center; border-bottom: 2px solid var(--color-border); }
.pa-problema { color: var(--color-text-2); }
.pa-problema--pend { color: var(--color-warning-strong); font-weight: var(--weight-semibold); }
.pa-problema--venc { color: var(--color-danger-strong); font-weight: var(--weight-semibold); }
.pa-auto { margin-top: var(--space-3); padding: var(--space-3) var(--space-4); }
.pa-auto__t { margin: 0 0 var(--space-2); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.pa-auto__cifras { border: 0; padding: 0 0 var(--space-2); }
.mes-selector__flecha { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: var(--radius-md); color: var(--color-text-2); }
.mes-selector__flecha:hover { background: var(--color-neutral-100); color: var(--color-primary); }
.pl-filtros.filtros .search { margin-left: 0; max-width: 420px; flex: 1 1 260px; }
.mes-selector__mes { min-width: 130px; text-align: center; font-weight: var(--weight-semibold); color: var(--color-text); }
.seleccion--fija { position: sticky; bottom: var(--space-3); margin-top: var(--space-3); box-shadow: var(--shadow-md); border: 1px solid var(--color-primary-subtle); }
.seleccion .select--sm, .seleccion .select { height: 30px; width: auto; }
.dep-btn { min-width: 96px; justify-content: center; }
.iva-cifras .cifras__main { max-width: 100%; }
.iva-cifras .cifras__nota { white-space: normal; }
.iva-tarifas td:first-child { white-space: nowrap; }
.vence { margin-bottom: var(--space-3); padding: var(--space-3) var(--space-4); }
.vence__t { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-1); font-size: var(--text-base); font-weight: var(--weight-semibold); }
.vence__lista { list-style: none; margin: 0; padding: 0; }
.vence__lista > li { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) auto; align-items: baseline; gap: var(--space-3); padding: 6px 0; border-top: 1px solid var(--color-border); font-size: var(--text-sm); }
.vence__lista > li:first-child { border-top: 0; }
.vence__quien { font-weight: var(--weight-semibold); color: var(--color-text); }
.vence__que { color: var(--color-text-2); }
.team-mfa { display: inline-flex; vertical-align: -2px; color: var(--color-text-disabled); }
.team-mfa.is-on { color: var(--color-success-strong); }
@media (max-width: 700px) { .vence__lista > li { grid-template-columns: 1fr auto; } .vence__que { grid-column: 1 / -1; } }
.cx { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: var(--space-4); align-items: start; }
.cx:not(.cx--abierta) { grid-template-columns: minmax(0, 720px); }
.cx-lista, .cx-conv { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); min-width: 0; }
.cx-lista { padding: var(--space-3); }
.cx-filtros { display: flex; flex-wrap: wrap; gap: var(--space-2); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.cx-chip { display: inline-flex; align-items: center; gap: var(--space-1-5); min-height: 36px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 999px; color: var(--color-text); text-decoration: none; font-weight: 600; font-size: var(--text-sm); background: var(--color-surface); }
.cx-chip:hover { background: var(--color-primary-subtle); }
.cx-chip.is-on { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-inverse); }
.cx-burbuja { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--color-danger); color: var(--color-text-inverse); font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cx-filas { list-style: none; margin: 0; padding: 0; }
.cx-filas > li + li { border-top: 1px solid var(--color-border); }
.cx-fila { display: grid; grid-template-columns: 1fr auto; gap: 2px var(--space-2); padding: var(--space-2-5) var(--space-2); color: var(--color-text); text-decoration: none; border-radius: var(--radius-md, 8px); }
.cx-fila:hover { background: var(--color-surface-2); }
.cx-fila.is-on { background: var(--color-primary-subtle); }
.cx-fila__condo { font-size: 0.75rem; font-weight: 700; color: var(--color-primary); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-fila__condo .cx-mayus, .cx-cabeza__condo .cx-mayus { text-transform: uppercase; letter-spacing: .02em; }
.cx-fila__hora { font-size: 0.75rem; color: var(--color-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-fila__quien { grid-column: 1 / -1; font-weight: 600; min-width: 0; }
.cx-fila.is-new .cx-fila__quien { font-weight: 700; }
.cx-fila__ultimo { grid-column: 1 / -1; color: var(--color-text-2); font-size: var(--text-sm); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-punto { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); vertical-align: middle; margin-left: var(--space-1); }
.cx-vacia { padding: var(--space-3) 0; }
.cx-conv { display: flex; flex-direction: column; min-height: min(640px, calc(100vh - 220px)); }
.cx-volver { display: none; margin: var(--space-2) var(--space-3) 0; }
.cx-cabeza { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }
.cx-cabeza__condo { margin: 0; font-size: 0.75rem; font-weight: 700; color: var(--color-primary); }
.cx-cabeza__quien { margin: 2px 0 0; font-size: 1.0625rem; }
.cx-hilo { flex: 1; overflow-y: auto; max-height: min(520px, calc(100vh - 320px)); padding: var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.cx-msg { align-self: flex-start; max-width: min(80%, 560px); padding: var(--space-2) var(--space-3); border-radius: var(--radius-xl); background: var(--color-surface-2); border: 1px solid var(--color-border); }
.cx-msg.is-office { align-self: flex-end; background: var(--color-primary-subtle); border-color: var(--color-primary-subtle); }
.cx-msg__texto { overflow-wrap: break-word; min-width: 0; }
.cx-msg__ia { margin: 0 0 var(--space-1); display: flex; align-items: center; gap: var(--space-1); font-size: 0.75rem; color: var(--color-text-2); }
.cx-msg__boton { display: inline-flex; align-items: center; margin-top: var(--space-2); min-height: 32px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 999px; background: var(--color-surface); font-size: var(--text-sm); }
.cx-msg__fotos { display: flex; flex-wrap: wrap; gap: var(--space-1-5); margin-top: var(--space-1-5); }
.cx-msg__fotos img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-md, 8px); }
.cx-msg__meta { margin: var(--space-1) 0 0; font-size: 0.75rem; color: var(--color-text-muted); }
.cx-corregir summary { cursor: pointer; font-size: 0.75rem; color: var(--color-primary); }
.cx-corregir form { display: flex; flex-direction: column; gap: var(--space-1-5); margin-top: var(--space-1-5); }
.cx-escribir { display: flex; align-items: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--color-border); }
.cx-lista-form { flex: none; }
.cx-respuesta-lista { border-radius: 999px; white-space: nowrap; }
.cx-form { flex: 1; display: flex; align-items: flex-end; gap: var(--space-1-5); min-width: 0; }
.cx-form__texto { flex: 1; min-height: 44px; border-radius: 22px; resize: vertical; }
.cx-solo-leer { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin: var(--space-3) var(--space-4); padding: var(--space-3); border-radius: var(--radius-xl); background: var(--color-surface-2); color: var(--color-text-2); text-align: center; }
.cx-recuerde { margin-bottom: var(--space-3); }
@media (max-width: 899px) {
.cx, .cx:not(.cx--abierta) { grid-template-columns: minmax(0, 1fr); }
.cx--abierta .cx-lista { display: none; }
.cx-volver { display: block; }
.cx-hilo { max-height: none; }
.cx-escribir { flex-wrap: wrap; position: sticky; bottom: 0; background: var(--color-surface); }
}
.cs-body { margin: 0; background: var(--color-bg); min-height: 100vh; }
.cs-top { position: sticky; top: 0; z-index: 5; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: var(--space-3) var(--space-4) 0; }
.cs-top__fila { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.cs-top__titulo { margin: 0; font-size: 1.25rem; }
.cs-top__oficina { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; color: var(--color-text-2); text-decoration: none; font-size: var(--text-sm); }
.cs-tabs { display: flex; margin-top: var(--space-2); }
.cs-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5); min-height: 44px; color: var(--color-text-2); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.cs-tab.is-on { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.cs-main { padding: var(--space-3) var(--space-4) var(--space-6); max-width: 1100px; margin: 0 auto; }
.cs-avisos .notice { margin: 0 0 var(--space-2); }
.cs-equipo { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-2); }
.cs-pie { margin-top: var(--space-3); }
.instalar { max-width: 560px; display: flex; flex-direction: column; gap: var(--space-3); }
.instalar-paso { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.instalar-paso__titulo { margin: 0; font-size: 1.0625rem; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.instalar-paso__texto { margin: 0; color: var(--color-text-2); }
.instalar-paso__texto[hidden], .instalar-paso .btn[hidden] { display: none; }
.instalar-ok { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--color-success-strong); font-weight: 700; }
.instalar-ok[hidden] { display: none; }
.instalar-iphone { padding: var(--space-3) var(--space-4); background: var(--color-surface-2); }
.instalar-iphone p { margin: 0; }
.instalar-iphone p + p { margin-top: var(--space-1); }
.instalar-listo { margin: 0; color: var(--color-text-2); }
.instalar-listo[hidden] { display: none; }
.instalar-iconos { display: flex; gap: var(--space-4); }
.instalar-iconos span { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); font-size: 0.75rem; color: var(--color-text-2); }
.instalar-iconos img { border-radius: 14px; box-shadow: var(--shadow-md); }
.instalar-aviso { padding: var(--space-4); margin-bottom: var(--space-3); background: var(--color-primary-subtle); display: flex; flex-direction: column; gap: var(--space-2); }
.instalar-aviso[hidden] { display: none; }
.instalar-aviso__titulo { margin: 0; font-weight: 700; }
.instalar-aviso__texto { margin: 0; color: var(--color-text-2); }
.instalar-aviso__luego { align-self: center; }
.hoy-plegable > summary { list-style: none; cursor: pointer; }
.hoy-plegable > summary::-webkit-details-marker { display: none; }
.hoy-plegable > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-md); }
.hoy-plegable:not([open]) > summary { margin-bottom: 0; }
.hoy-plegable__btn { margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-1); min-height: 32px; padding: 0 var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 999px; background: var(--color-surface); color: var(--color-primary); font-size: var(--text-sm); font-weight: var(--weight-semibold); white-space: nowrap; }
.hoy-plegable > summary:hover .hoy-plegable__btn { background: var(--color-primary-subtle); }
.hoy-plegable__btn svg { transition: transform var(--dur-fast, .15s) ease-out; }
.hoy-plegable[open] .hoy-plegable__btn svg { transform: rotate(180deg); }
.hoy-plegable__ocultar, .hoy-plegable[open] .hoy-plegable__ver { display: none; }
.hoy-plegable[open] .hoy-plegable__ocultar { display: inline; }
.hoy-count--suave { background: var(--color-neutral-100); color: var(--color-text-2); }
@media (prefers-reduced-motion: reduce) { .hoy-plegable__btn svg { transition: none; } }
.ai-plegable > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.ai-plegable > summary::-webkit-details-marker { display: none; }
.ai-plegable > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-md); }
.ai-plegable .hoy-plegable__btn svg { transition: transform var(--dur-fast, .15s) ease-out; }
.ai-plegable[open] .hoy-plegable__btn svg { transform: rotate(180deg); }
.ai-plegable[open] .hoy-plegable__ver { display: none; }
.ai-plegable[open] .hoy-plegable__ocultar { display: inline; }
.ai-plegable:not([open]) { padding-bottom: var(--space-3); }
.breadcrumb { margin-bottom: var(--space-2); }
.breadcrumb li:has(> a) { display: inline-flex; }
.breadcrumb li > a { display: inline-flex; align-items: center; gap: var(--space-1); min-height: 36px; padding: 0 var(--space-3) 0 var(--space-2); border-radius: 999px; background: var(--color-primary-subtle); color: var(--color-primary); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: none; }
.breadcrumb li > a::before { content: "←"; font-size: 1.05em; line-height: 1; }
.breadcrumb li > a:hover { background: var(--color-primary); color: var(--color-text-inverse); }
.breadcrumb li > a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.ai-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-5); align-items: center; margin-bottom: var(--space-3); }
.ai-hero__num { display: flex; flex-direction: column; gap: var(--space-0-5); }
.ai-hero__num .lbl { font-size: var(--text-sm); color: var(--color-text-2); }
.ai-hero__num .val { font-size: 2.25rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ai-hero .ai-meter { height: 10px; margin-bottom: var(--space-2); }
.ai-hero .ai-meter > div { height: 10px; }
.ai-hero__facts { margin: 0; color: var(--color-text-2); line-height: 1.6; }
.ai-hero__facts .bad { color: var(--color-danger); }
.ai-people td:first-child { white-space: nowrap; }
.ai-plegable > summary { cursor: pointer; margin: 0; }
.ai-plegable[open] > summary { margin-bottom: var(--space-2); }
@media (max-width: 760px) { .ai-hero { grid-template-columns: 1fr; gap: var(--space-2); } .ai-two { grid-template-columns: 1fr; } }
.nw-form { margin-bottom: var(--space-5); }
.nw-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-5); }
.nw-col--side { padding-left: var(--space-5); border-left: 1px solid var(--color-border); }
.nw-aud { display: flex; width: 100%; }
.nw-aud > label { flex: 1 1 0; text-align: center; }
.nw-chips { gap: var(--space-1-5); }
.nw-chip { position: relative; display: inline-flex; cursor: pointer; }
.nw-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nw-chip span { padding: var(--space-1) var(--space-2-5); border: 1px solid var(--color-border-strong); border-radius: 999px; font-size: var(--text-sm); background: var(--color-surface); }
.nw-chip input:checked + span { background: var(--color-primary-subtle); border-color: var(--color-primary); color: var(--color-primary); font-weight: 600; }
.nw-chip input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.nw-date { max-width: 200px; }
.nw-form:has(input[name=audience][value=residents]:checked) .nw-office { display: none; }
.nw-form:has(input[name=audience][value=office]:checked) .nw-app { display: none; }
.nw-foot { display: flex; justify-content: flex-end; margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.nw-h2 { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.nw-hidden td { color: var(--color-text-2); }
@media (max-width: 860px) { .nw-grid { grid-template-columns: 1fr; } .nw-col--side { padding-left: 0; border-left: 0; } }
.sy-health { margin-bottom: var(--space-4); }
.sy-health__title { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-2-5); font-size: var(--text-lg); font-weight: 700; color: var(--color-success); }
.sy-health__title.is-bad { color: var(--color-danger); }
.sy-health__list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.sy-chip { display: inline-flex; align-items: center; gap: var(--space-1-5); padding: var(--space-1-5) var(--space-3); border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text-2); text-decoration: none; font-size: var(--text-sm); }
.sy-chip b { color: var(--color-text); font-weight: 600; }
.sy-chip svg { color: var(--color-success); }
.sy-chip.is-bad { border-color: var(--color-danger); background: var(--color-danger-subtle); }
.sy-chip.is-bad, .sy-chip.is-bad svg, .sy-chip.is-bad b { color: var(--color-danger); }
.sy-chip:hover { border-color: var(--color-primary); }
.sy-part { margin-bottom: var(--space-3); scroll-margin-top: var(--space-6); }
.sy-part__sum { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); cursor: pointer; list-style: none; }
.sy-part__sum::-webkit-details-marker { display: none; }
.sy-part__sum .card__title { margin: 0; display: inline-flex; align-items: center; gap: var(--space-2); }
.sy-part__sum .card__title::before { content: "›"; display: inline-block; width: 1em; color: var(--color-text-2); transition: transform .15s; }
.sy-part[open] > .sy-part__sum .card__title::before { transform: rotate(90deg); }
.sy-part[open] > .sy-part__sum { margin-bottom: var(--space-3); padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); }
.sy-part__state { font-size: var(--text-sm); color: var(--color-success); white-space: nowrap; }
.sy-part__state.is-bad { color: var(--color-danger); font-weight: 600; }
.sy-part__link { margin: 0 0 var(--space-2); text-align: right; }
.sy-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--space-4); align-items: start; margin-bottom: var(--space-4); }
.sy-nums > div { display: flex; flex-direction: column; gap: var(--space-0-5); }
.sy-nums .lbl { font-size: var(--text-sm); color: var(--color-text-2); }
.sy-nums .val { font-size: 1.5rem; font-weight: 700; }
.sy-nums .val.is-bad { color: var(--color-danger); }
.sy-sub { margin-top: var(--space-4); }
.sy-sub > summary { cursor: pointer; }
.sy-trace { margin: var(--space-4) 0; }
@media (prefers-reduced-motion: reduce) { .sy-part__sum .card__title::before { transition: none; } }
@media (max-width: 760px) { .sy-nums { grid-template-columns: 1fr; } }
.nw-aud > label > span { display: flex; justify-content: center; width: 100%; }
.campo-volver { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; margin-bottom: var(--space-1); font-size: 1.0625rem; font-weight: var(--weight-semibold); color: var(--color-primary); text-decoration: none; }
.campo-volver:hover { text-decoration: underline; }
.campo-how { margin: 0 0 var(--space-3); }
.campo-how > summary { min-height: 44px; font-size: 1rem; }
.campo-inicio { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-3); margin: 0 0 var(--space-3); }
.campo-btn { display: flex; align-items: center; gap: var(--space-3); min-height: 5.5rem; padding: var(--space-3) var(--space-4); border: 1px solid transparent; border-radius: 1.25rem; background: var(--color-primary-subtle); color: var(--color-primary); text-decoration: none; }
.campo-btn:hover { filter: brightness(.97); text-decoration: none; }
.campo-btn:active { transform: scale(.99); }
.campo-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.campo-btn__ico { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; }
.campo-btn__ico svg { width: 2.25rem; height: 2.25rem; }
.campo-btn__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-0-5); }
.campo-btn__label { font-size: 1.375rem; font-weight: var(--weight-bold); line-height: 1.2; overflow-wrap: break-word; }
.campo-btn__note { font-size: 1rem; font-weight: var(--weight-semibold); opacity: .85; }
.campo-btn__count { display: grid; place-items: center; flex: none; min-width: 2.75rem; height: 2.75rem; padding: 0 var(--space-2); border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-text-inverse); font-size: 1.25rem; font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; }
.campo-btn--verde { background: var(--color-success-strong); color: var(--color-text-inverse); }
.campo-btn--gris { background: var(--color-surface); border-color: var(--color-border-strong); color: var(--color-text); }
.campo-btn--azul { background: var(--color-primary-subtle); color: var(--color-primary); }
.campo-btn--naranja { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.campo-btn--menta { background: var(--color-success-subtle); color: var(--color-success-strong); }
button.campo-btn { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.campo-marca { display: flex; flex-direction: column; gap: var(--space-2); }
.campo-marca form { margin: 0; }
.campo-marca__listo { display: flex; align-items: center; gap: var(--space-2); margin: 0; padding: var(--space-2) var(--space-3); border-radius: 1rem; background: var(--color-success-subtle); color: var(--color-success-strong); font-size: 1.125rem; font-weight: var(--weight-bold); }
.campo-marca__listo svg { flex: none; }
.campo-marca__otra { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; min-height: 3rem; border: 1px solid var(--color-border-strong); border-radius: 1rem; background: var(--color-surface); color: var(--color-text); font: inherit; font-size: 1.0625rem; font-weight: var(--weight-semibold); cursor: pointer; }
.campo-marca__nota { margin: 0; font-size: 1rem; color: var(--color-text-2); }
.campo-todo { margin-top: var(--space-2); }
.campo-todo__head { display: flex; align-items: center; gap: var(--space-2); min-height: 3rem; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: var(--color-surface); font-size: 1.0625rem; font-weight: var(--weight-semibold); color: var(--color-text-2); cursor: pointer; list-style: none; }
.campo-todo__head::-webkit-details-marker { display: none; }
.campo-todo__head > span { flex: 1; }
.campo-todo[open] > .campo-todo__head { margin-bottom: var(--space-3); }
.campo-todo[open] > .campo-todo__head svg:last-child { transform: rotate(180deg); }
.campo-go, .campo-done { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; min-height: 3.75rem; padding: var(--space-2) var(--space-4); border-radius: 1rem; font-size: 1.375rem; font-weight: var(--weight-bold); line-height: 1.2; white-space: normal; text-align: center; cursor: pointer; }
.campo-go { border: 0; background: var(--color-success-strong); color: var(--color-text-inverse); }
.btn.campo-go, .btn.campo-done, .btn.campo-mic { height: auto; padding-top: var(--space-2-5); padding-bottom: var(--space-2-5); }
.campo-instalar-aviso .campo-go { min-height: 4.5rem; font-size: 1.25rem; }
.campo-go:hover { background: var(--color-success-strong); filter: brightness(1.12); color: var(--color-text-inverse); text-decoration: none; }
.campo-done { border: 0; background: var(--color-primary-subtle); color: var(--color-primary); }
.campo-done:hover { filter: brightness(.97); color: var(--color-primary); text-decoration: none; }
.campo-go:focus-visible, .campo-done:focus-visible, .campo-go:focus-within { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.campo-go svg, .campo-done svg { flex: none; }
.campo-jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: var(--space-3); }
.campo-job { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: 1.25rem; background: var(--color-surface); }
.campo-job.is-late { border-color: var(--color-danger-border); }
.campo-job__foto { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1rem; background: var(--color-surface-2); }
.campo-job__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.campo-job__sinfoto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1); height: 100%; color: var(--color-text-muted); font-size: 1rem; }
.campo-job__body { display: flex; flex-direction: column; gap: var(--space-2); }
.campo-job__title { margin: 0; font-size: 1.375rem; line-height: 1.25; }
.campo-job__title a { color: var(--color-text); text-decoration: none; }
.campo-job__title a:hover { text-decoration: underline; }
.campo-job__line { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 1.125rem; color: var(--color-text-2); }
.campo-job__line svg { flex: none; }
.campo-job__line--late { color: var(--color-danger-strong); font-weight: var(--weight-semibold); }
.campo-job__chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); margin: 0; }
.campo-job__go { display: flex; flex-direction: column; gap: var(--space-1-5); margin: auto 0 0; }
.campo-job__hint { display: flex; align-items: center; justify-content: center; gap: var(--space-1-5); font-size: 1rem; color: var(--color-text-2); text-align: center; }
.campo-aviso { gap: var(--space-3); }
.campo-foto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-1-5); min-height: 10rem; padding: var(--space-4); border: 2px dashed var(--color-border-strong); border-radius: 1.25rem; background: var(--color-surface-2); color: var(--color-text-2); text-align: center; cursor: pointer; }
.campo-foto:hover { border-color: var(--color-primary); color: var(--color-primary); }
.campo-foto:focus-within { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.campo-foto__text { font-size: 1.375rem; font-weight: var(--weight-bold); color: var(--color-text); }
.campo-foto__note { font-size: 1rem; }
.campo-voz { display: flex; gap: var(--space-2); }
.campo-voz .input { flex: 1; min-width: 0; min-height: 3.25rem; font-size: 1.125rem; }
.campo-aviso .textarea { font-size: 1.125rem; }
.campo-mic { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; min-height: 3.5rem; margin-top: var(--space-2); border: 0; border-radius: 1rem; background: var(--color-primary-subtle); color: var(--color-primary); font-size: 1.125rem; font-weight: var(--weight-bold); }
.campo-mic:hover { filter: brightness(.97); }
.campo-mic.is-recording { background: var(--color-primary); color: var(--color-text-inverse); }
.campo-mic--chico { flex: none; width: 3.25rem; min-height: 3.25rem; margin: 0; padding: 0; }
.campo-otra { margin: var(--space-3) 0 0; text-align: center; font-size: 1rem; }
.campo-otra a { display: inline-flex; align-items: center; gap: var(--space-1-5); min-height: 44px; }
.campo-grupo { margin: var(--space-4) 0 var(--space-2); font-size: 1.125rem; font-weight: var(--weight-bold); color: var(--color-text); }
.campo-tag { display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0 var(--space-2-5); border-radius: var(--radius-full); background: var(--color-primary-subtle); color: var(--color-primary); font-size: 0.9375rem; font-weight: var(--weight-semibold); }
.campo-tag--urgente { background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.campo-hoja { display: flex; flex-direction: column; gap: var(--space-3); }
.campo-hoja .page-header__title { margin: 0; }
.campo-termine { display: flex; flex-direction: column; gap: var(--space-3); }
.campo-foto--chica { min-height: 6rem; }
.campo-foto__guia { display: block; width: 7.5rem; height: auto; border-radius: 0.75rem; }
.campo-aviso-sencillo { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 1.0625rem; color: var(--color-text-2); }
.campo-instalar { display: flex; flex-direction: column; gap: var(--space-3); }
.campo-pasos { display: flex; flex-direction: column; gap: var(--space-2-5); margin: 0; padding: 0; list-style: none; }
.campo-paso { display: flex; align-items: center; gap: var(--space-3); margin: 0; font-size: 1.125rem; font-weight: var(--weight-semibold); }
.campo-paso svg, .campo-paso img { flex: none; }
.campo-paso img { border-radius: 0.75rem; }
.campo-instalar .campo-go { margin-top: var(--space-3); }
.campo-menu__link { min-height: 3.25rem; font-size: 1.0625rem; }
.campo-cosas { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.campo-cosa { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.campo-cosa__nombre { flex: 1; min-width: 0; font-size: 1.0625rem; font-weight: var(--weight-semibold); overflow-wrap: break-word; }
.campo-cosa__nombre small { display: block; }
.campo-contador { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-1); flex: none; max-width: 11rem; }
.campo-contador__b { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: var(--radius-full); background: var(--color-primary-subtle); color: var(--color-primary); cursor: pointer; }
.campo-contador__b:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.campo-contador__n { width: 3.25rem; height: 2.75rem; border: 0; background: transparent; font: inherit; font-size: 1.5rem; font-weight: var(--weight-bold); text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.campo-contador__n::-webkit-outer-spin-button, .campo-contador__n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.campo-contador__u { order: 4; flex-basis: 100%; text-align: center; font-size: 0.875rem; color: var(--color-text-2); }
.campo-contador.is-on .campo-contador__n { color: var(--color-primary); }
.campo-otra-cosa .campo-cosa { border-bottom: 0; }
.campo-opciones { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.campo-opcion { position: relative; display: block; cursor: pointer; }
.campo-opcion input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.campo-opcion > span { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 3.25rem; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border-strong); border-radius: 1rem; background: var(--color-surface); font-size: 1.0625rem; font-weight: var(--weight-semibold); }
.campo-opcion input:checked + span { border: 2px solid var(--color-primary); background: var(--color-primary-subtle); color: var(--color-primary); }
.campo-opcion input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.campo-opcion__falta { font-size: 0.875rem; font-weight: var(--weight-semibold); color: var(--color-warning-strong); }
.campo-toques { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-2); }
.campo-toque { position: relative; display: block; cursor: pointer; }
.campo-toque input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.campo-toque > span { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 3.75rem; padding: var(--space-2) var(--space-3); border: 2px solid var(--color-border-strong); border-radius: 1rem; background: var(--color-surface); color: var(--color-text); font-size: 1.125rem; font-weight: var(--weight-bold); text-align: center; }
.campo-toque > span svg { flex: none; }
.campo-toque input:checked + span { border-color: var(--color-primary); background: var(--color-primary-subtle); color: var(--color-primary); }
.campo-toque--peligro input:checked + span { border-color: var(--color-warning); background: var(--color-warning-subtle); color: var(--color-warning-strong); }
.campo-toque input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.campo-cuanto { max-width: 10rem; min-height: 3.25rem; font-size: 1.25rem; }
.campo-mas > summary { display: flex; align-items: center; gap: var(--space-1-5); min-height: 44px; list-style: none; font-size: 1rem; font-weight: var(--weight-semibold); color: var(--color-text-2); cursor: pointer; }
.campo-mas > summary::-webkit-details-marker { display: none; }
.campo-mas[open] > summary { margin-bottom: var(--space-2); }
.campo-mas[open] > summary svg { transform: rotate(180deg); }
.campo-mas .field + .field { margin-top: var(--space-3); }
@media (max-width: 560px) {
.campo-inicio { grid-template-columns: minmax(0, 1fr); gap: var(--space-2-5); }
.campo-btn { min-height: 5.25rem; padding: var(--space-3); }
.campo-jobs { grid-template-columns: minmax(0, 1fr); }
.campo-job { padding: var(--space-2-5); }
}
@media (prefers-reduced-motion: reduce) { .campo-btn:active { transform: none; } }
.cp-orden { margin: 0 0 var(--space-3); }
.cp-pasos { margin: var(--space-1) 0 var(--space-2); padding-left: var(--space-5); }
.cp-pasos li + li { margin-top: var(--space-1); }
.cp-banco { margin-bottom: var(--space-3); }
.cp-banco__cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-2); }
.cp-banco__cab .card__title { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; }
.cp-tabla td { vertical-align: top; }
.cp-estado { min-width: 220px; max-width: 360px; white-space: normal; }
.cp-nota { color: var(--color-warning-strong); }
.cp-lotes { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.cp-lotes > li { padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.cp-lote { display: flex; align-items: flex-start; gap: var(--space-2); cursor: pointer; }
.cp-lote input { margin-top: 3px; }
.cp-rechazo { margin-top: var(--space-1-5); }
.cp-rechazo summary { cursor: pointer; color: var(--color-text-2); }
.cp-rechazo__fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2); align-items: center; margin-top: var(--space-1-5); }
.cp-dialogo { width: min(640px, calc(100vw - 32px)); }
.cp-vacio { margin-top: var(--space-4); }
.cp-hoy { margin-top: var(--space-4); }
.cp-formato table td, .cp-formato table th { vertical-align: middle; }
.cp-formato .select, .cp-formato .input { min-width: 0; }
.cp-ejemplo { font-variant-numeric: tabular-nums; color: var(--color-text-2); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-fijo input.input { width: 5.5rem; }
.cp-fijo td:first-child .select { min-width: 15rem; }
.cp-fijo td:nth-child(2) .input { width: 10rem; }
@media (max-width: 700px) {
.cp-rechazo__fila { grid-template-columns: minmax(0, 1fr); }
.cp-estado { min-width: 0; }
}
.text-warning { color: var(--color-warning-strong); }
.rc-cifras .cifras__valor.text-warning { color: var(--color-warning-strong); }
.ac-wizard__orden { margin: 0 0 var(--space-2-5); }
.auth-huella { min-height: 48px; font-weight: var(--weight-semibold); gap: var(--space-2); }
.auth-huella svg { color: var(--color-primary); }
.auth-nota--suelta { display: block; margin: var(--space-4) 0 0; padding: 0; background: none; text-align: center; color: var(--color-text-2); font-size: var(--text-sm); line-height: 1.5; }
.auth__pie--centro { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--color-border); text-align: center; }
.auth__pie--centro .auth__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--space-2); margin: 0; }
.auth__pie--centro .auth__legal > span[aria-hidden] { color: var(--color-border-strong); }
.auth__pie--centro .auth__sello { margin: 0; display: inline-flex; align-items: center; gap: var(--space-1); }
.auth__pie--centro .auth__credito { margin: var(--space-2) 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); }
.auth__pie--centro .auth__credito > span[aria-hidden] { color: var(--color-border-strong); }
.auth__pie--centro .auth__legal > *, .auth__pie--centro .auth__credito > * { white-space: nowrap; }
.auth__pie--centro .auth__por { display: inline-flex; align-items: center; gap: var(--space-1); }
.auth__pie--centro .auth__credito img { height: 20px; }
.pc-hoy { margin-bottom: 0; }
.pc-hoy .cifras__valor.is-low { color: var(--color-warning-strong); }
.pc-hoy .cifras__nota { max-width: 40rem; }
.pc-now { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-1); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.pc-now > p { display: flex; align-items: center; gap: var(--space-2); min-width: 0; margin: 0; font-size: var(--text-base); }
.pc-now > p > svg { flex: none; color: var(--color-primary); }
.pc-now__accion { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.pc-now__accion:empty { display: none; }
.pc-cabeza { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.pc-cabeza .card__title { margin: 0; }
.pc-cabeza__filtro { display: flex; align-items: center; gap: var(--space-1-5); }
.pc-firma { display: flex; align-items: center; gap: var(--space-1); }
.pc-firma .input--sm { max-width: 14rem; margin-left: 0; text-align: left; }
.pc-datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); gap: var(--space-4) var(--space-6); }
.pc-datos .card__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.pc-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-1-5) var(--space-4); margin: 0 0 var(--space-2); font-size: var(--text-sm); }
.pc-kv dt { color: var(--color-text-2); }
.pc-kv dd { margin: 0; }
.pc-kv dd.num { font-variant-numeric: tabular-nums; }
.pc-fila-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.pc-fila-acciones form, .linea-aviso form { display: inline-flex; margin: 0; }
.pc-ledger td.cell--actions { text-align: left; }
@media (max-width: 700px) { .pc-now__accion { margin-left: 0; } }
.wt-tabla__t { table-layout: fixed; min-width: 92rem; }
.wt-tabla__t col.wt-c-filial { width: 8.5rem; }
.wt-tabla__t col.wt-c-prop { width: 14rem; }
.wt-tabla__t col.wt-c-num { width: 10.5rem; }
.wt-tabla__t col.wt-c-actual { width: 12rem; }
.wt-tabla__t col.wt-c-rev { width: 17rem; }
.wt-tabla__t col.wt-c-foto { width: 3.5rem; }
.wt-tabla__t th, .wt-tabla__t td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-tabla__t td { height: calc(var(--control-h-sm) + 0.75rem); padding-top: 0; padding-bottom: 0; vertical-align: middle; }
.wt-tabla__t .input--sm, .wt-tabla__t .btn--sm { height: var(--control-h-sm); font-size: var(--text-sm); }
.wt-num { display: inline-flex; align-items: center; justify-content: flex-end; gap: var(--space-1); }
.wt-num .input--sm { width: 7rem; max-width: 7rem; margin-left: 0; text-align: right; }
.wt-coment.input--sm { width: 100%; max-width: none; min-width: 0; margin-left: 0; text-align: left; }
.wt-revisar { display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.wt-revisar .punto { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wt-revisar .btn { flex: none; margin-left: auto; }
.wt-tabla__t th.wt-foto, .wt-tabla__t td.wt-foto { padding: 0; text-align: center; }
.wt-tabla__t tr.is-revisar > td { background: color-mix(in srgb, var(--color-warning-subtle) 60%, var(--color-surface)); }
.wt-tabla__t tr.is-revisar > td:first-child { box-shadow: inset 3px 0 0 var(--color-warning); }
.wt-botones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--space-2) var(--space-3); margin-top: var(--space-5); }
.wt-botones > .wt-plegable[open] { grid-column: 1 / -1; }
.wt-botones > .wt-plegable { margin: 0; }
@media (max-width: 1100px) { .wt-botones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wt-botones { grid-template-columns: minmax(0, 1fr); } }
.wt-botones > .wt-plegable:not([open]) > .wt-boton { height: 100%; margin: 0; }
.wt-boton { display: flex; align-items: center; gap: var(--space-2-5); min-height: 3.25rem; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); font-weight: var(--weight-semibold); list-style: none; cursor: pointer; }
.wt-boton::-webkit-details-marker { display: none; }
.wt-boton:hover { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary-subtle) 45%, var(--color-surface)); }
.wt-boton:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wt-boton__ico { flex: none; color: var(--color-primary); }
.wt-boton__txt { flex: 1 1 auto; min-width: 0; }
.wt-boton__dato { flex: none; font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--color-text-2); }
.wt-boton__flecha { flex: none; color: var(--color-text-2); transition: transform 0.15s ease; }
.wt-plegable[open] > .wt-boton { margin-bottom: var(--space-3); border-color: var(--color-primary); }
.wt-plegable[open] > .wt-boton .wt-boton__flecha { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .wt-boton__flecha { transition: none; } }
.mail-read { grid-template-columns: minmax(0, 1fr) 272px; gap: var(--space-3); }
.mail-main { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.mail-main > .mail-summary { margin: 0; max-width: none; }
.mail-summary__texto { margin: var(--space-1-5) 0 0; line-height: 1.6; }
.mail-summary__pide { margin: var(--space-2) 0 var(--space-0-5); }
.mail-compose { padding: 0; }
.mail-compose > summary { list-style: none; }
.mail-compose > summary::-webkit-details-marker { display: none; }
.mail-compose__abrir { display: flex; align-items: center; gap: var(--space-2-5); min-height: 52px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-lg); color: var(--color-text-2); font-size: 0.9375rem; cursor: pointer; }
.mail-compose__abrir:hover { background: var(--color-surface-2); }
.mail-compose__abrir:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.mail-compose__icono { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary-subtle); color: var(--color-primary); }
.mail-compose__a { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mail-compose__a b { color: var(--color-text); font-weight: var(--weight-semibold); }
.mail-compose__flecha { display: inline-flex; flex: none; color: var(--color-text-2); }
.mail-compose[open] { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); }
.mail-compose[open] > .mail-compose__abrir { border-bottom: 1px solid var(--color-border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.mail-compose[open] .mail-compose__flecha { transform: rotate(180deg); }
.mail-compose__cuerpo { display: flex; flex-direction: column; gap: var(--space-2-5); padding: var(--space-3) var(--space-4) var(--space-3-5); }
.mail-compose__cuerpo .ai-draft, .mail-compose__cuerpo .notice { max-width: none; margin: 0; }
.mail-compose .mail-reply { max-width: none; margin: 0; gap: var(--space-2); }
.mail-reply__to > .field + .field { margin-top: 0; }
.mail-reply__label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.mail-reply__label .field__label { margin: 0; }
.mail-compose .textarea { font-size: 0.9375rem; line-height: 1.6; }
.mail-compose .mail-reply__foot { justify-content: flex-start; gap: var(--space-3); }
.mail-papers { margin: 0; padding: 0; border: 0; }
.mail-papers__fila { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.mail-thread { gap: var(--space-2-5); }
.mail-msg { padding: var(--space-3) var(--space-4); }
.mail-msg.is-sent { background: var(--color-surface); border-color: var(--color-border); box-shadow: inset 3px 0 0 var(--color-primary); }
.mail-msg__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px var(--space-3); margin: 0 0 var(--space-2-5); padding: 0 0 var(--space-2); border-bottom: 1px solid var(--color-border); }
.mail-msg__quien { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.mail-msg__cuando { font-size: 0.8125rem; color: var(--color-text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mail-msg__para { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; color: var(--color-text-2); overflow-wrap: anywhere; }
.mail-msg__enviado { display: inline-block; margin-left: var(--space-1-5); padding: 0 var(--space-2); border-radius: 999px; background: var(--color-primary-subtle); color: var(--color-primary); font-size: 0.75rem; font-weight: var(--weight-medium); line-height: 1.25rem; vertical-align: 1px; }
.mail-msg__body { max-width: 75ch; font-size: 0.9375rem; line-height: 1.65; color: var(--color-text); }
.mail-msg__pie { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-3); padding-top: var(--space-2-5); border-top: 1px solid var(--color-border); }
.mail-msg__pie .mail-files { margin: 0; padding: 0; border: 0; gap: var(--space-1-5); }
.mail-msg__pie .mail-files li { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-1) var(--space-2-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-2); }
.mail-msg__pie .mail-files a { font-weight: var(--weight-medium); }
.mail-msg__pie .mail-msg__convertir { margin: 0 0 0 auto; }
.mail-side { gap: 0; padding: 0; }
.mail-side__parte { padding: var(--space-3) var(--space-3-5); }
.mail-side__parte + .mail-side__parte { border-top: 1px solid var(--color-border); }
.mail-side__titulo { display: flex; align-items: center; gap: var(--space-1-5); margin: 0 0 var(--space-1-5); font-size: 0.8125rem; font-weight: var(--weight-semibold); color: var(--color-text-2); }
.mail-side p { margin: 0; }
.mail-side__accion { margin-top: var(--space-1-5); }
.mail-side__como { margin: 0; padding: var(--space-2-5) var(--space-3-5); border-top: 1px solid var(--color-border); }
.mail-side__como p { margin-top: var(--space-1-5); line-height: 1.5; }
@media (max-width: 1200px) { .mail-read { grid-template-columns: minmax(0, 1fr) 236px; } }
@media (max-width: 900px) { .mail-read { grid-template-columns: minmax(0, 1fr); } }
.en-panel .mail-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: var(--space-3); }
.en-panel .mail-side__parte + .mail-side__parte { border-top: 0; border-left: 1px solid var(--color-border); }
.en-panel .mail-side__como { grid-column: 1 / -1; }
@media (max-width: 640px) {
.mail-msg__head { grid-template-columns: minmax(0, 1fr); }
.mail-compose__abrir { padding: var(--space-2) var(--space-3); }
.mail-compose__cuerpo { padding: var(--space-3); }
}
.cv-paso { margin: var(--space-4) 0 var(--space-1-5); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-text); }
.cv-puntos, .cv-invitados { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1-5); }
.cv-punto { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) 9.5rem 2.5rem 2.5rem; gap: var(--space-1-5); align-items: center; }
.cv-punto__n { font-variant-numeric: tabular-nums; color: var(--color-text-2); text-align: right; }
.cv-punto__archivos { grid-column: 2 / -1; }
.cv-punto__archivos:empty { display: none; }
.cv-adjuntar { cursor: pointer; }
.cv-adjuntar.is-on { color: var(--color-primary); background: var(--color-primary-subtle); }
.cv-invitado { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 2.5rem; gap: var(--space-1-5); align-items: center; }
.cv-quien { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.cv-quien th { text-align: left; font-weight: var(--weight-medium); color: var(--color-text-2); font-size: var(--text-xs); padding: var(--space-1) var(--space-2); border-bottom: 1px solid var(--color-border); }
.cv-quien td { padding: var(--space-1-5) var(--space-2); border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.cv-quien td.cv-quien__cuando { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--color-text-2); }
.cv-quien td.cv-quien__mas { width: 2.75rem; text-align: right; }
.cv-quien__grupo th { padding-top: var(--space-3); color: var(--color-text); font-size: var(--text-sm); }
.cv-respuesta { display: inline-flex; align-items: center; gap: var(--space-1); white-space: nowrap; }
.cv-respuesta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-border-strong, var(--color-text-2)); }
.cv-respuesta--yes::before { background: var(--color-success); }
.cv-respuesta--no::before { background: var(--color-text-2); }
.cv-respuesta--pending { color: var(--color-warning-strong); }
.cv-respuesta--pending::before { background: var(--color-warning); }
@media (max-width: 700px) {
.cv-punto { grid-template-columns: 1.5rem minmax(0, 1fr) 2.5rem 2.5rem; }
.cv-punto .select { grid-column: 2 / -1; grid-row: 2; }
.cv-invitado { grid-template-columns: minmax(0, 1fr) 2.5rem; }
.cv-invitado .input[type=email] { grid-column: 1 / 2; }
}
.auth__emblema-esquina { float: right; display: block; width: 52px; height: auto; margin: 0 0 var(--space-2) var(--space-3); }
@media (max-width: 767px) { .auth__emblema-esquina { display: none; } }
.campana__num { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border: 2px solid var(--color-surface); border-radius: 999px; background: var(--color-danger); color: var(--color-text-inverse); font-size: 0.6875rem; font-weight: var(--weight-bold); line-height: 0.875rem; text-align: center; box-sizing: border-box; font-variant-numeric: tabular-nums; }
.inv-propia { display: inline-flex; align-items: center; gap: var(--space-1-5); }
body.auth-app { background: var(--color-entrada-fondo); }
.auth.auth--app { background: var(--color-entrada-fondo); color: var(--color-entrada-tinta); }
.auth--app .auth__grid { width: min(1120px, 100%); grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.auth--app .auth__marca { color: var(--color-entrada-tinta); text-align: center; }
.auth--app .auth__card { justify-self: center; width: min(440px, 100%); border: 1px solid var(--color-entrada-borde); box-shadow: none; border-radius: 22px; }
.auth--app .auth__card .btn--primary { background: var(--color-entrada-boton); border-color: var(--color-entrada-boton); color: var(--color-text-inverse); }
.auth--app .auth__card .btn--primary:hover { background: var(--color-entrada-boton-hover); border-color: var(--color-entrada-boton-hover); }
.auth--app .auth__card .btn--outline { color: var(--color-entrada-boton); border-color: var(--color-entrada-panel); }
.auth--app .auth__card a { color: var(--color-entrada-boton); }
.auth-app__fondo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(244, 247, 250, .24), rgba(232, 238, 244, .38)), url("auth/app/fondo-esmerilado.27b9926df693.webp") center / cover no-repeat; }
.auth--app .auth__card { box-shadow: 0 30px 80px rgba(19, 35, 63, .18); }
.auth-app__logo { display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 14px 20px; background: var(--color-paper); border-radius: 16px; box-shadow: 0 16px 44px rgba(19, 35, 63, .2); }
.auth-app__logo img { display: block; width: 168px; height: auto; }
.auth-app__titulo { margin: var(--space-4) 0 0; font-family: "Satoshi", var(--font); font-size: 1.5rem; font-weight: var(--weight-bold); line-height: 1.15; letter-spacing: -.02em; color: var(--color-entrada-tinta); }
.auth-app__frase { margin: var(--space-2) auto 0; max-width: 34ch; font-size: .9375rem; line-height: 1.5; color: var(--color-entrada-tinta-2); }
.auth-app__vista { display: none; }
@media (max-width: 1023px) {
.auth--app .auth__grid { gap: var(--space-4); }
.auth--app .auth__card { width: 100%; max-width: 480px; margin-inline: auto; border-radius: 20px; }
}
@media (min-width: 1024px) {
.auth.auth--app { align-items: center; padding: var(--space-10) var(--space-8); }
.auth--app .auth__grid { grid-template-columns: minmax(0, 1fr) 440px; column-gap: clamp(var(--space-10), 5vw, 64px); align-items: center; }
.auth--app .auth__marca { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth--app .auth__card { align-self: center; justify-self: end; padding: 36px; }
.auth-app__logo { padding: 18px 26px; }
.auth-app__logo img { width: 220px; }
.auth-app__vista { display: block; position: relative; width: 420px; height: 380px; margin-top: var(--space-8); perspective: 1700px; }
.auth-app__rueda { position: absolute; inset: 0; transform-style: preserve-3d; animation: auth-app-rueda 24s linear infinite; }
.auth-app__cara { position: absolute; left: 132px; top: 42px; width: 156px; box-sizing: border-box; padding: 5px; border: 2px solid var(--color-entrada-telefono-borde); border-radius: 30px; background: var(--color-entrada-telefono); backface-visibility: hidden; transform-style: preserve-3d; }
.auth-app__barra { position: relative; display: flex; align-items: center; height: 18px; padding: 0 14px; border-radius: 24px 24px 0 0; background: var(--color-entrada-pantalla); }
.auth-app__hora { font-size: .5rem; font-weight: var(--weight-bold); line-height: 1; color: var(--color-entrada-tinta); }
.auth-app__isla { position: absolute; left: 50%; top: 4px; width: 38px; height: 11px; margin-left: -19px; border-radius: 999px; background: var(--color-entrada-isla); }
.auth-app__pantalla { display: block; aspect-ratio: 300 / 533; background: var(--color-entrada-pantalla); }
.auth-app__pantalla img { display: block; width: 100%; height: 100%; object-fit: contain; }
.auth-app__inicio { position: relative; display: block; height: 12px; border-radius: 0 0 24px 24px; background: var(--color-entrada-pantalla); }
.auth-app__inicio::after { content: ""; position: absolute; left: 50%; top: 5px; width: 44px; height: 3px; margin-left: -22px; border-radius: 999px; background: var(--color-entrada-tinta); opacity: .55; }
.auth-app__cara { height: 291.63px; }
.auth-app__cara { padding: 8px; }
.auth-app__vidrio { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--color-entrada-pantalla); backface-visibility: hidden; }
.auth-app__vidrio > .auth-app__barra, .auth-app__vidrio > .auth-app__inicio { border-radius: 0; }
.auth-app__vidrio::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 38%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), inset 0 1px 3px rgba(0, 0, 0, .2); pointer-events: none; }
.auth-app__cara { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.auth-app__suelo { position: absolute; left: 8%; width: 84%; top: 295.63px; height: 26px; display: block; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(15, 23, 36, .32) 0%, rgba(15, 23, 36, 0) 70%); transform: translateZ(-10px); pointer-events: none; }
.auth-app__cara::before { content: ""; position: absolute; left: -2px; top: -2px; width: 8px; height: 22px; border-radius: 2px; background: var(--color-entrada-telefono-boton); box-shadow: 0 30px 0 var(--color-entrada-telefono-boton); backface-visibility: hidden; transform: translate3d(-5px, 70px, -10px) rotateY(-90deg); }
.auth-app__cara::after { content: ""; position: absolute; left: -2px; top: -2px; width: 8px; height: 40px; border-radius: 2px; background: var(--color-entrada-telefono-boton); backface-visibility: hidden; transform: translate3d(153px, 100px, -10px) rotateY(90deg); }
.auth-app__lado { position: absolute; left: -2px; top: -2px; display: block; backface-visibility: hidden; transform-origin: 50% 50%; pointer-events: none; }
.auth-app__lado:nth-of-type(1) { width: 97px; height: 20.6px; transform: translate3d(29.5px, -10.3px, -10px) rotateZ(0deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 2.1%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 4.7%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 11.2%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 4.7%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 3.9%) 100%); }
.auth-app__lado:nth-of-type(2) { width: 10.39px; height: 20.6px; transform: translate3d(125.44px, -9.57px, -10px) rotateZ(9deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 2%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 4.5%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 10.8%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 4.5%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 3.8%) 100%); }
.auth-app__lado:nth-of-type(3) { width: 10.39px; height: 20.6px; transform: translate3d(134.26px, -6.7px, -10px) rotateZ(27deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 1.4%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 3.2%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 7.5%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 3.2%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 2.6%) 100%); }
.auth-app__lado:nth-of-type(4) { width: 10.39px; height: 20.6px; transform: translate3d(141.76px, -1.25px, -10px) rotateZ(45deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 0.3%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 0.6%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 1.4%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 0.6%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 0.5%) 100%); }
.auth-app__lado:nth-of-type(5) { width: 10.39px; height: 20.6px; transform: translate3d(147.21px, 6.25px, -10px) rotateZ(63deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 6.4%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 6.4%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 6.4%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 6.4%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 6.4%) 100%); }
.auth-app__lado:nth-of-type(6) { width: 10.39px; height: 20.6px; transform: translate3d(150.07px, 15.06px, -10px) rotateZ(81deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 15.3%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 15.3%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 15.3%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 15.3%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 15.3%) 100%); }
.auth-app__lado:nth-of-type(7) { width: 232.63px; height: 20.6px; transform: translate3d(39.69px, 135.51px, -10px) rotateZ(90deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 20%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 20%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 20%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 20%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 20%) 100%); }
.auth-app__lado:nth-of-type(8) { width: 10.39px; height: 20.6px; transform: translate3d(150.07px, 255.96px, -10px) rotateZ(99deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 22.8%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 22.8%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 22.8%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 22.8%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 22.8%) 100%); }
.auth-app__lado:nth-of-type(9) { width: 10.39px; height: 20.6px; transform: translate3d(147.21px, 264.78px, -10px) rotateZ(117deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 28.2%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 28.2%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 28.2%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 28.2%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 28.2%) 100%); }
.auth-app__lado:nth-of-type(10) { width: 10.39px; height: 20.6px; transform: translate3d(141.76px, 272.28px, -10px) rotateZ(135deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 32.7%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 32.7%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 32.7%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 32.7%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 32.7%) 100%); }
.auth-app__lado:nth-of-type(11) { width: 10.39px; height: 20.6px; transform: translate3d(134.26px, 277.73px, -10px) rotateZ(153deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 36%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 36%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 36%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 36%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 36%) 100%); }
.auth-app__lado:nth-of-type(12) { width: 10.39px; height: 20.6px; transform: translate3d(125.44px, 280.59px, -10px) rotateZ(171deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 37.8%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 37.8%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 37.8%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 37.8%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 37.8%) 100%); }
.auth-app__lado:nth-of-type(13) { width: 97px; height: 20.6px; transform: translate3d(29.5px, 281.33px, -10px) rotateZ(180deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 38%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 38%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 38%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 38%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 38%) 100%); }
.auth-app__lado:nth-of-type(14) { width: 10.39px; height: 20.6px; transform: translate3d(20.17px, 280.59px, -10px) rotateZ(189deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 37.8%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 37.8%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 37.8%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 37.8%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 37.8%) 100%); }
.auth-app__lado:nth-of-type(15) { width: 10.39px; height: 20.6px; transform: translate3d(11.35px, 277.73px, -10px) rotateZ(207deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 36%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 36%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 36%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 36%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 36%) 100%); }
.auth-app__lado:nth-of-type(16) { width: 10.39px; height: 20.6px; transform: translate3d(3.85px, 272.28px, -10px) rotateZ(225deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 32.7%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 32.7%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 32.7%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 32.7%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 32.7%) 100%); }
.auth-app__lado:nth-of-type(17) { width: 10.39px; height: 20.6px; transform: translate3d(-1.59px, 264.78px, -10px) rotateZ(243deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 28.2%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 28.2%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 28.2%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 28.2%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 28.2%) 100%); }
.auth-app__lado:nth-of-type(18) { width: 10.39px; height: 20.6px; transform: translate3d(-4.46px, 255.96px, -10px) rotateZ(261deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 22.8%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 22.8%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 22.8%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 22.8%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 22.8%) 100%); }
.auth-app__lado:nth-of-type(19) { width: 232.63px; height: 20.6px; transform: translate3d(-116.31px, 135.51px, -10px) rotateZ(270deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 20%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 20%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 20%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 20%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 20%) 100%); }
.auth-app__lado:nth-of-type(20) { width: 10.39px; height: 20.6px; transform: translate3d(-4.46px, 15.06px, -10px) rotateZ(279deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 15.3%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 15.3%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 15.3%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 15.3%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 15.3%) 100%); }
.auth-app__lado:nth-of-type(21) { width: 10.39px; height: 20.6px; transform: translate3d(-1.59px, 6.25px, -10px) rotateZ(297deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), black 6.4%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 6.4%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), black 6.4%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), black 6.4%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), black 6.4%) 100%); }
.auth-app__lado:nth-of-type(22) { width: 10.39px; height: 20.6px; transform: translate3d(3.85px, -1.25px, -10px) rotateZ(315deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 0.3%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 0.6%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 1.4%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 0.6%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 0.5%) 100%); }
.auth-app__lado:nth-of-type(23) { width: 10.39px; height: 20.6px; transform: translate3d(11.35px, -6.7px, -10px) rotateZ(333deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 1.4%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 3.2%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 7.5%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 3.2%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 2.6%) 100%); }
.auth-app__lado:nth-of-type(24) { width: 10.39px; height: 20.6px; transform: translate3d(20.17px, -9.57px, -10px) rotateZ(351deg) rotateX(90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--color-entrada-telefono-filo), white 2%) 0%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 4.5%) 16%, color-mix(in srgb, var(--color-entrada-telefono-brillo), white 10.8%) 46%, color-mix(in srgb, var(--color-entrada-telefono-cuerpo), white 4.5%) 72%, color-mix(in srgb, var(--color-entrada-telefono-borde), white 3.8%) 100%); }
.auth-app__dorso { position: absolute; inset: -2px; display: block; border-radius: 30px; backface-visibility: hidden; transform: translateZ(-20px) rotateY(180deg); background: linear-gradient(162deg, var(--color-entrada-dorso-1) 0%, var(--color-entrada-dorso-2) 52%, var(--color-entrada-dorso-3) 100%); box-shadow: inset 0 0 0 2px var(--color-entrada-telefono-borde), inset 0 0 0 3px var(--color-entrada-telefono-cuerpo); pointer-events: none; }
.auth-app__dorso::before { content: ""; position: absolute; left: 12px; top: 12px; width: 58px; height: 58px; border-radius: 17px; background: radial-gradient(circle at 30% 30%, var(--color-entrada-lente-1) 0 3px, var(--color-entrada-lente-2) 4px 9px, var(--color-entrada-lente-3) 10px 11px, var(--color-entrada-lente-4) 12px 13px, transparent 14px), radial-gradient(circle at 70% 70%, var(--color-entrada-lente-1) 0 3px, var(--color-entrada-lente-2) 4px 9px, var(--color-entrada-lente-3) 10px 11px, var(--color-entrada-lente-4) 12px 13px, transparent 14px), radial-gradient(circle at 76% 25%, var(--color-entrada-flash-1) 0 3px, var(--color-entrada-flash-2) 4px, transparent 5px), linear-gradient(145deg, var(--color-entrada-camara-1), var(--color-entrada-camara-2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 1px 3px rgba(0, 0, 0, .45); }
.auth-app__dorso::after { content: ""; position: absolute; inset: 0; border-radius: 30px; background: var(--color-entrada-telefono-sombra); opacity: .45; animation: auth-app-luz-dorso 24s linear infinite; }
.auth-app__luz { position: absolute; inset: -2px; display: block; border-radius: 30px; background: var(--color-entrada-telefono-sombra); opacity: 0; backface-visibility: hidden; transform: translateZ(.3px); pointer-events: none; animation: auth-app-luz-frente 24s linear infinite; }
.auth-app__pantalla { position: relative; overflow: hidden; }
.auth-app__pantalla::after { content: ""; position: absolute; top: -12%; bottom: -12%; left: -90px; width: 90px; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .26) 50%, rgba(255, 255, 255, .05) 70%, rgba(255, 255, 255, 0) 100%); pointer-events: none; animation: auth-app-brillo 24s linear infinite; }
.auth-app__cara--2 .auth-app__luz, .auth-app__cara--2 .auth-app__dorso::after, .auth-app__cara--2 .auth-app__pantalla::after { animation-delay: -20s; }
.auth-app__cara--3 .auth-app__luz, .auth-app__cara--3 .auth-app__dorso::after, .auth-app__cara--3 .auth-app__pantalla::after { animation-delay: -16s; }
.auth-app__cara--4 .auth-app__luz, .auth-app__cara--4 .auth-app__dorso::after, .auth-app__cara--4 .auth-app__pantalla::after { animation-delay: -12s; }
.auth-app__cara--5 .auth-app__luz, .auth-app__cara--5 .auth-app__dorso::after, .auth-app__cara--5 .auth-app__pantalla::after { animation-delay: -8s; }
.auth-app__cara--6 .auth-app__luz, .auth-app__cara--6 .auth-app__dorso::after, .auth-app__cara--6 .auth-app__pantalla::after { animation-delay: -4s; }
.auth-app__cara--1 { transform: rotateY(0deg) translateZ(260px); }
.auth-app__cara--2 { transform: rotateY(60deg) translateZ(260px); }
.auth-app__cara--3 { transform: rotateY(120deg) translateZ(260px); }
.auth-app__cara--4 { transform: rotateY(180deg) translateZ(260px); }
.auth-app__cara--5 { transform: rotateY(240deg) translateZ(260px); }
.auth-app__cara--6 { transform: rotateY(300deg) translateZ(260px); }
.auth-app__titulo { margin-top: var(--space-6); font-size: clamp(2rem, 2.6vw, 2.5rem); }
.auth-app__frase { max-width: 44ch; font-size: 1.0625rem; color: var(--color-entrada-tinta); }
}
@media (min-width: 1024px) and (max-height: 860px) {
.auth.auth--app { padding-block: var(--space-6); }
.auth-app__logo { padding: 12px 20px; }
.auth-app__logo img { width: 176px; }
.auth-app__vista { margin-top: var(--space-6); transform: scale(.82); transform-origin: top center; margin-bottom: -68px; }
.auth-app__titulo { margin-top: var(--space-4); font-size: 1.875rem; }
}
@media (min-width: 1024px) and (max-height: 720px) {
.auth.auth--app { padding-block: var(--space-4); }
.auth-app__logo img { width: 150px; }
.auth-app__vista { margin-top: var(--space-4); transform: scale(.66); transform-origin: top center; margin-bottom: -129px; }
.auth-app__titulo { margin-top: var(--space-3); font-size: 1.625rem; }
.auth-app__frase { font-size: .9375rem; }
.auth--app .auth__card { padding: 28px; }
}
@media (min-width: 1024px) and (max-height: 600px) { .auth-app__vista { display: none; } }
@keyframes auth-app-rueda { to { transform: rotateY(-360deg); } }
@keyframes auth-app-luz-frente { 0% { opacity: 0 } 8.333% { opacity: .04 } 16.667% { opacity: .14 } 25% { opacity: .28 } 75% { opacity: .28 } 83.333% { opacity: .14 } 91.667% { opacity: .04 } 100% { opacity: 0 } }
@keyframes auth-app-luz-dorso { 0% { opacity: .45 } 25% { opacity: .45 } 33.333% { opacity: .23 } 41.667% { opacity: .06 } 50% { opacity: 0 } 58.333% { opacity: .06 } 66.667% { opacity: .23 } 75% { opacity: .45 } 100% { opacity: .45 } }
@keyframes auth-app-brillo { 0% { transform: translateX(116px) } 16.667% { transform: translateX(232px) } 50% { transform: translateX(232px) } 50.001% { transform: translateX(0) } 83.333% { transform: translateX(0) } 100% { transform: translateX(116px) } }
@media (prefers-reduced-motion: reduce) { .auth-app__luz, .auth-app__dorso::after, .auth-app__pantalla::after { animation: none; } }
@media (prefers-reduced-motion: reduce) { .auth-app__rueda { animation: none; } }
.day-quote { display: none; }
.day-quote q, .day-strip q { quotes: "«" "»"; }
.day-quote__emo { flex: none; font-size: 1.25rem; line-height: 1; white-space: nowrap; }
.day-quote__txt { display: flex; flex-direction: column; min-width: 0; }
.day-quote small, .day-strip small { font-size: var(--text-xs); color: var(--color-text-2); }
.day-quote__label { font-style: normal; font-weight: var(--weight-semibold); color: var(--color-text-2); }
@media (min-width: 1024px) {
.day-quote { position: relative; display: flex; flex: 3 1 260px; align-items: center; gap: var(--space-2-5); min-width: 0; max-width: 900px; padding: 2px var(--space-3); border-left: 3px solid var(--color-frase-borde); }
.day-quote__linea { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: var(--text-sm); line-height: 18px; }
.day-quote q { font-style: italic; color: var(--color-text); }
.day-quote small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
.day-quote--cumple { border-left-color: var(--color-cumple-borde); border-radius: 0 8px 8px 0; background: linear-gradient(90deg, var(--color-cumple-fondo), transparent 85%); }
.day-quote--cumple q { font-style: normal; font-weight: var(--weight-semibold); color: var(--color-cumple-tinta); }
.day-quote--cumple small { color: var(--color-cumple-tinta-2); }
.day-quote__globo { position: absolute; font-size: 0.9375rem; pointer-events: none; }
.day-quote__globo--a { top: -6px; right: -4px; }
.day-quote__globo--b { right: 14px; bottom: -8px; font-size: 0.875rem; }
.day-strip { display: flex; align-items: flex-start; gap: var(--space-2-5); margin: 0 0 var(--space-3); padding: var(--space-2-5) var(--space-3); border-radius: 10px; background: var(--color-surface-2); }
.day-strip .day-quote__linea { display: block; font-size: var(--text-sm); line-height: 18px; }
.day-strip q { font-style: italic; }
.day-strip--cumple { background: var(--color-cumple-fondo); }
.day-strip--cumple q { font-style: normal; font-weight: var(--weight-semibold); color: var(--color-cumple-tinta); }
@media (min-width: 1024px) { .day-strip { display: none; } }
.birthday-soon { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); padding: var(--space-2) var(--space-3); border-radius: 10px; background: var(--color-cumple-fondo); color: var(--color-cumple-tinta); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.pick-con-pizarra { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.pick-con-pizarra__lado { min-width: 0; }
@media (max-width: 1100px) { .pick-con-pizarra { grid-template-columns: minmax(0, 1fr); } }
.pizarra-marco { padding: 14px; border-radius: 10px; background: linear-gradient(135deg, var(--color-pizarra-madera), var(--color-pizarra-madera-2) 40%, var(--color-pizarra-madera) 60%, var(--color-pizarra-madera-3)); box-shadow: 0 10px 24px rgba(40, 25, 10, .28), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.pizarra { position: relative; min-height: 420px; padding: 22px 28px 56px; border-radius: 4px; background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .05), transparent 55%), var(--color-pizarra); box-shadow: inset 0 0 40px rgba(0, 0, 0, .45); color: var(--color-pizarra-tiza); font-family: "Chalkboard SE", "Chalkboard", "Segoe Print", "Bradley Hand", "Comic Neue", cursive; }
@media (min-width: 1101px) { .pick-con-pizarra .pizarra { min-height: max(420px, calc(var(--alto-pantalla, 100vh) - var(--topbar-h, 64px) - 7rem)); } }
.pizarra::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px); pointer-events: none; }
.pizarra__titulo { margin: 0 0 2px; font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--color-pizarra-tiza); }
.pizarra__sub { margin: 0 0 12px; font-size: 0.875rem; opacity: .7; }
.pizarra__raya { width: 70%; height: 2px; margin: 0 0 16px; border-radius: 2px; background: rgba(243, 241, 234, .35); }
.pizarra__aviso { position: relative; margin: 0 0 18px; padding-left: 32px; }
.pizarra__chincheta { position: absolute; top: 2px; left: 0; color: var(--color-pizarra-amarillo); }
.hoy-pizarra__pin { flex: none; color: var(--color-pizarra-madera-2); }
.pizarra__aviso h3 { margin: 0; font-size: 1.375rem; font-weight: 700; line-height: 1.15; color: var(--color-pizarra-amarillo); }
.pizarra__aviso--rosa h3 { color: var(--color-pizarra-rosa); }
.pizarra__aviso--celeste h3 { color: var(--color-pizarra-celeste); }
.pizarra__aviso--blanco h3 { color: var(--color-pizarra-tiza); }
.pizarra__aviso p { margin: 4px 0 0; font-size: 1rem; line-height: 1.35; }
.pizarra__aviso .pizarra__quien { font-size: 0.8125rem; opacity: .72; }
.pizarra__vacia { font-size: 1.125rem; opacity: .7; }
.pizarra__escribir { position: absolute; z-index: 1; top: 18px; right: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 6px; background: var(--color-pizarra-tiza); color: var(--color-pizarra); font-family: var(--font-sans, inherit); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: none; }
.pizarra__escribir:hover { background: var(--color-pizarra-blanco); }
.pizarra__repisa { position: absolute; right: 22px; bottom: 12px; left: 22px; height: 12px; border-radius: 3px; background: linear-gradient(var(--color-pizarra-repisa), var(--color-pizarra-repisa-2)); box-shadow: 0 3px 5px rgba(0, 0, 0, .35); }
.pizarra__tiza { position: absolute; bottom: 21px; height: 6px; border-radius: 3px; }
.pizarra__tiza--1 { left: 60px; width: 42px; background: var(--color-pizarra-tiza-blanca); }
.pizarra__tiza--2 { left: 112px; width: 28px; background: var(--color-pizarra-tiza-amarilla); }
.pizarra__tiza--3 { left: 150px; width: 34px; background: var(--color-pizarra-tiza-rosa); }
.pizarra__borrador { position: absolute; right: 60px; bottom: 19px; width: 70px; height: 18px; border-radius: 4px; background: linear-gradient(var(--color-pizarra-borrador) 0 55%, var(--color-pizarra-borrador-fieltro) 55%); }
@media (max-width: 600px) { .pizarra { padding: 18px 16px 52px; } .pizarra__escribir { position: static; margin-bottom: 12px; } .pizarra__titulo { font-size: 1.625rem; } }
.pizarra-escribir { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 1100px) { .pizarra-escribir { grid-template-columns: minmax(0, 1fr); } }
.pizarra-form { display: flex; flex-direction: column; gap: var(--space-3); }
.pizarra-form__fila { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.pizarra-form__colores { display: flex; flex-wrap: wrap; gap: var(--space-2); border: 0; margin: 0; padding: 0; }
.pizarra-color { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border: 1px solid var(--color-border); border-radius: 16px; font-size: var(--text-sm); cursor: pointer; }
.pizarra-color::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.pizarra-color--amarillo::before { background: var(--color-pizarra-amarillo); }
.pizarra-color--rosa::before { background: var(--color-pizarra-rosa); }
.pizarra-color--celeste::before { background: var(--color-pizarra-celeste); }
.pizarra-color--blanco::before { background: var(--color-pizarra-tiza); }
.pizarra-color input { position: absolute; opacity: 0; }
.pizarra-color:has(input:checked) { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.pizarra-color:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.hoy-pizarra { display: flex; flex-direction: column; gap: var(--space-2); margin: 0 0 var(--space-3); }
.hoy-pizarra__aviso { display: flex; gap: var(--space-2-5); padding: var(--space-2-5) var(--space-3); border-left: 4px solid var(--color-pizarra-madera-2); border-radius: 8px; background: var(--color-pizarra-papel); }
.hoy-pizarra__aviso p { margin: 2px 0; font-size: var(--text-sm); }
.hoy-pizarra__aviso small { font-size: var(--text-xs); color: var(--color-text-2); }
.imp-split { margin-top: var(--space-3); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--color-border); border-radius: 8px; }
.imp-split > summary { cursor: pointer; font-weight: var(--weight-semibold); }
.imp-split .segmented { margin: var(--space-2) 0; }
.imp-split__lines .select { min-width: 160px; }
.imp-split__amounts { display: flex; flex-direction: column; gap: var(--space-2); }
.imp-split__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: var(--space-2); }
.imp-split__row .input--sm { max-width: none; margin-left: 0; }
.imp-split [data-imp-split-sum].is-off { color: var(--color-danger); font-weight: var(--weight-semibold); }
