/* Estado de las secciones: «En mantenimiento» / «Próximamente» */
.sec-state { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: start; max-width: 760px; padding: 1.5rem 1.6rem; border: 1px solid var(--line, #E2E2DE); border-left: 6px solid var(--snt-blue, #0065BA); background: var(--paper, #FFFFFF); }
.sec-state--mantenimiento { border-left-color: var(--snt-yellow, #F2A900); }
.sec-state__icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--surface, #F4F4F2); color: var(--ink, #111111); }
.sec-state__icon svg { width: 26px; height: 26px; }
.sec-state__body { min-width: 0; }
.sec-state__tag { margin: 0 0 .35rem; color: var(--accent, #E31E24); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sec-state__title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; }
.sec-state__text { margin: 0; color: var(--muted, #5A5A5A); }
.sec-state__date { display: flex; align-items: center; gap: .45rem; margin: .85rem 0 0; font-weight: 700; }
.sec-state__date svg { width: 18px; height: 18px; flex: none; }
.sec-state__team { margin: .85rem 0 0; padding-top: .75rem; border-top: 1px dashed var(--line, #E2E2DE); font-size: .88rem; color: var(--muted, #5A5A5A); }
.sec-state-wrap { padding-block: clamp(2rem, 5vw, 3.5rem); }
.sec-state-wrap__title { margin: 0 0 1.25rem; font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.sec-state-wrap--surface { border-top: 2px solid var(--line-strong, #111111); }
.sec-state-inline { padding: 0 0 1rem; }
.sec-state-page { padding-bottom: var(--space-section, 5rem); }
.sec-state-page__actions { margin-top: 1.75rem; }
@media (max-width: 560px) { .sec-state { grid-template-columns: 1fr; padding: 1.25rem; } }

/* Aviso para el equipo */
.sec-state-bar { background: #FFF4D6; color: #3D2B00; border-bottom: 1px solid #E8C96A; font-size: .92rem; }
.sec-state-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-block: .65rem; }
.sec-state-bar svg { width: 18px; height: 18px; flex: none; }
.sec-state-bar a { color: #3D2B00; font-weight: 700; text-decoration: underline; }
.sec-state-flag { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 0; padding: .6rem .9rem; border: 1px dashed #C9A227; background: #FFF9E6; color: #3D2B00; font-size: .9rem; }
.sec-state-flag svg { width: 18px; height: 18px; flex: none; }
html.dark .sec-state-bar, html.dark .sec-state-flag { background: #2B2410; color: #FFE9A8; border-color: #6B5A1E; }
html.dark .sec-state-bar a { color: #FFE9A8; }

/* Etiqueta en el menú */
.menu-badge { display: inline-block; margin-left: .35rem; padding: .1rem .4rem; border: 1px solid currentColor; border-radius: 3px; font-size: .62em; font-weight: 800; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; vertical-align: middle; }

/* Panel central (sitio y escritorio) */
.sec-manager__intro { max-width: 72ch; color: var(--muted, #50575e); }
.sec-manager__h { margin: 1.75rem 0 .6rem; font-size: 1.1rem; }
.sec-manager__table { overflow-x: auto; border: 1px solid var(--line, #dcdcde); background: var(--paper, #fff); }
.sec-manager table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.sec-manager th, .sec-manager td { padding: .55rem .7rem; border-bottom: 1px solid var(--line, #dcdcde); text-align: left; vertical-align: middle; }
.sec-manager thead th { background: var(--surface, #f6f7f7); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.sec-manager tbody th { font-weight: 600; }
.sec-manager tr.is-marked { background: #FFF9E6; }
html.dark .sec-manager tr.is-marked { background: #2B2410; }
.sec-manager select, .sec-manager input[type="text"], .sec-manager input[type="date"] { width: 100%; min-height: 40px; }
.sec-manager__actions { margin-top: 1rem; }
.snt-sections-admin .sec-manager__table { max-width: 1200px; }
.sec-manager__sub { display: block; margin-top: .15rem; color: var(--muted, #50575e); font-size: .82rem; font-weight: 400; }
