/* Reservas de Siberia | Sistema visual compartido 28.5.
   Capa de presentación: no modifica datos, formularios ni operaciones. */
:root {
  --rs-ink:#423924; --rs-gold:#8c6a1f; --rs-bg:#f5f3ee;
  --rs-line:#e4dccd; --rs-soft:#f4efe5; --rs-muted:#71695c;
  --rs-shadow:0 3px 14px #42392409;
  --rs-shadow-hover:0 10px 25px #42392416,0 2px 6px #42392408;
  --rs-ease:cubic-bezier(.2,.75,.25,1);
}
body {background:var(--rs-bg); color:#332c22; -webkit-font-smoothing:antialiased;}
header.rs278-header {background:linear-gradient(112deg,#423924 0%,#4b4029 72%,#5a4c30 100%);box-shadow:0 4px 14px #42392418;}
header.rs278-header .rs278-primary .brand {color:#f5f3ee!important;}
main h1 {letter-spacing:-.035em;line-height:1.2;}
main h2,main h3 {letter-spacing:-.02em;}
main .eyebrow,.navtitle {letter-spacing:.14em;}
main .top {gap:18px;}
main .panel,main .auth {border-radius:16px;border-color:var(--rs-line);box-shadow:var(--rs-shadow);transition:box-shadow .2s var(--rs-ease),border-color .2s var(--rs-ease);}
main .auth {padding:clamp(22px,4vw,34px);}
main .auth h1 {margin-bottom:10px;}
main .metric,main .b2710-metric,main .g28-metric,main .rpchartrow,main .g28-contact>div,main .rd-device,main .co153-fieldset {border-radius:14px;border-color:var(--rs-line);box-shadow:var(--rs-shadow);min-width:0;transition:transform .19s var(--rs-ease),box-shadow .19s var(--rs-ease),border-color .19s var(--rs-ease),background-color .19s var(--rs-ease);}
main .metric {padding:18px;}
/* Indicador gráfico neutro para las tarjetas clásicas sin icono. */
main .metric:has(>small):has(>strong)::before {content:'';display:block;width:36px;height:36px;margin-bottom:9px;border-radius:10px;background-color:var(--rs-soft);background-position:center;background-repeat:no-repeat;background-size:18px;background-image:url("indicador28_7.svg");}

main .metric strong,main .b2710-metric strong,main .g28-metric strong {font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.3;}
main .metric small,main .b2710-metric small,main .g28-metric small {font-weight:650;}
main .b2710-welcome {background:linear-gradient(118deg,#423924 0%,#56482c 66%,#786239 100%);border-radius:18px;box-shadow:0 8px 24px #4239241b;}
main .b2710-welcome h1 {color:#f5f3ee;}
main .b2710-metric>.b2710-icon {box-sizing:content-box;padding:8px;background:var(--rs-soft);border-radius:11px;color:var(--rs-gold);width:24px;height:24px;flex:0 0 auto;}
main .b2710-contract {transition:transform .19s var(--rs-ease),box-shadow .19s var(--rs-ease),border-color .19s var(--rs-ease);}
main .sidebar {border-color:#e6dfd2;}
main .sidebar .navlink, main .rs276-group>summary,main .b2710-mobile>summary {border-radius:9px;transition:background-color .18s,color .18s,box-shadow .18s;}
main .sidebar .navlink.active {background:var(--rs-ink);color:white;box-shadow:0 3px 8px #42392420;}
main .rs276-group[open]>summary {background:var(--rs-soft);color:var(--rs-ink);}
main .rs276-group .rs276-chevron {transition:transform .18s var(--rs-ease);}
main .sidebar .rs279-icon,main .sidebar .b2710-icon,main .g28-symbol {transition:transform .18s var(--rs-ease),background-color .18s,color .18s;}
/* No modificar dimensiones ni posición de controles durante el llenado. */
main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]), main select,main textarea {border-color:#d7cfc0;border-radius:8px;transition:border-color .16s,box-shadow .16s,background-color .16s;}
main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):focus,main select:focus,main textarea:focus {border-color:var(--rs-gold);outline:2px solid transparent;box-shadow:0 0 0 3px #8c6a1f25;}
main input[type=checkbox],main input[type=radio],main input[type=range] {accent-color:var(--rs-gold);}
main input:disabled,main select:disabled,main textarea:disabled {background:#f1eee8;cursor:not-allowed;}
main button,main .btn,header.rs278-header button {border-radius:9px;transition:background-color .17s,box-shadow .17s,transform .17s,border-color .17s,color .17s;}
main button:not(:disabled):not(.password-toggle):active,main .btn:not(.disabled):not([aria-disabled=true]):active {transform:translateY(1px);}
main button:disabled,main .btn.disabled,main .btn[aria-disabled=true] {cursor:not-allowed;}
main .password-wrap .password-toggle,main .auth .password-wrap .password-toggle {transform:translateY(-50%);}
main .g28-tab {transition:background-color .17s,border-color .17s,box-shadow .17s;}
main .tag,main .g28-status {border-radius:999px;font-weight:700;}
main .notice,main .successnote {border-radius:10px;}
main .scroll,main .fn19-chart-scroll,main .m243-scroll {scrollbar-width:thin;scrollbar-color:#c7b99d #f3efe7;overscroll-behavior-x:contain;}
main .scroll:has(>table) {border:1px solid #eee7da;border-radius:10px;}
main table {font-variant-numeric:tabular-nums;}
main table thead th,main table>tbody:first-child>tr:first-child>th,main table>tr:first-child>th {background:#f3efe6;color:#6c614d;font-size:11px;font-weight:750;letter-spacing:.035em;}
main table th,main table td {border-bottom-color:#eee8dd;}
main table tbody td {transition:background-color .16s;}
main table tbody tr:focus-within td {background:#faf5e9;}
main table tfoot th,main table tfoot td {background:#f5f1e9;color:var(--rs-ink);}
main details:not(.rs276-group):not(.b2710-mobile)>summary {border-radius:7px;transition:background-color .17s,color .17s;}
main details:not(.rs276-group):not(.b2710-mobile)>summary:focus-visible {outline:2px solid var(--rs-gold);outline-offset:3px;}
main a:focus-visible,main button:focus-visible,main summary:focus-visible,main .scroll:focus-visible,header.rs278-header button:focus-visible {outline:2px solid var(--rs-gold);outline-offset:3px;}
main progress {accent-color:var(--rs-gold);}
main .b2710-progress progress::-webkit-progress-value {background:linear-gradient(90deg,#8c6a1f,#bea05b);border-radius:10px;}
main .b2710-progress progress::-moz-progress-bar {background:#8c6a1f;}
/* El detalle de las gráficas se toma únicamente de los títulos SVG existentes. */
.rs285-chart-detail {display:flex;align-items:flex-start;gap:9px;padding:11px 14px;margin:8px 0 10px;border:1px solid #e7dece;border-radius:10px;background:#faf8f3;color:var(--rs-ink);font-size:12px;line-height:1.55;overflow-wrap:anywhere;min-height:44px;}
.rs285-chart-detail::before {content:'';width:8px;height:8px;border-radius:50%;background:var(--rs-gold);flex:none;margin-top:5px;}
.rs285-chart-detail strong {font-weight:750;}
.rs285-chart-detail [data-rs285-value] {font-weight:600;}
.rs285-chart-mark {cursor:pointer;transition:filter .16s,opacity .16s;}
.rs285-chart-mark:focus-visible {outline:2px solid #70531b;outline-offset:3px;}
.rs285-chart-mark.rs285-selected {filter:drop-shadow(0 2px 2px #42392438);}
@media(hover:hover) and (pointer:fine) {
  main .panel:hover,main .auth:hover {box-shadow:var(--rs-shadow-hover);border-color:#d5c6a8;}
  main .metric:hover,main .b2710-metric:hover,main .g28-metric:hover,main .b2710-contract:hover,main .rpchartrow:hover,main .g28-contact>div:hover,main .rd-device:hover {transform:translateY(-3px);box-shadow:var(--rs-shadow-hover);border-color:#cbb993;}
  main .g28-metric:hover .g28-symbol,main .b2710-metric:hover>.b2710-icon {transform:scale(1.07);}
  main .sidebar .navlink:not(.disabled):not(.active):hover,main .rs276-group>summary:hover,main .b2710-mobile>summary:hover {background:#f0e9dc;color:var(--rs-ink);}
  main .sidebar .navlink.active:hover {background:#51442c;color:#fff;}
  main .sidebar .navlink:not(.disabled):hover .rs279-icon,main .sidebar .navlink:not(.disabled):hover .b2710-icon,main .rs276-group>summary:hover .rs279-icon {transform:scale(1.1);}
  main button:not(:disabled):not(.secondary):not(.password-toggle):not(.g28-tab),main .btn:not(.light):not(.disabled):not([aria-disabled=true]) {--rs-button-hover-shadow:0 5px 12px #42392426;}
  main button:not(:disabled):not(.secondary):not(.password-toggle):not(.g28-tab):hover,main .btn:not(.light):not(.disabled):not([aria-disabled=true]):hover {box-shadow:var(--rs-button-hover-shadow);filter:brightness(1.09);}
  main .btn.light:not(.disabled):not([aria-disabled=true]):hover,main button.secondary:not(:disabled):not(.password-toggle):hover {background:#f8f4ec;border-color:#b69a65;box-shadow:0 3px 8px #42392412;}
  main .g28-tab:not(.is-active):hover {background:#f4efe5;border-color:#cbb993;}
  main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not(:disabled):hover,main select:not(:disabled):hover,main textarea:not(:disabled):hover {border-color:#b7a27a;}
  main table tbody tr:hover td {background:#faf6ee;}
  main details:not(.rs276-group):not(.b2710-mobile)>summary:hover {color:var(--rs-gold);}
  .rs285-chart-mark:hover {filter:drop-shadow(0 3px 3px #42392440);}
}
@media(max-width:650px) {
  main .content {padding:20px 12px;}
  main .panel {border-radius:13px;padding:16px;}
  main .metric {padding:13px;}
  main .metrics,main .b2710-metrics {gap:10px;}
  main .g28-root .g28-panel {padding:14px!important;}
  main .actions {gap:8px;}
  main .filters {grid-template-columns:1fr;}
  main .sidebar .navlink,main .rs276-group>summary {min-height:42px;}
  main .b2710-metric strong,main .g28-metric strong,main .metric strong {overflow-wrap:anywhere;}
  main input:not([type=checkbox]):not([type=radio]):not([type=hidden]),main select,main textarea {font-size:16px;}
}
@media(prefers-reduced-motion:reduce) {
  main .panel,main .auth,main .metric,main .b2710-metric,main .g28-metric,main .b2710-contract,main .rpchartrow,main .g28-contact>div,main .rd-device,main .co153-fieldset,main .sidebar .navlink,main .sidebar svg,main .rs276-chevron,main .rs276-group>summary,main .g28-symbol,main button,main .btn,main input,main select,main textarea,.rs285-chart-mark {transition:none!important;}
  main .metric:hover,main .b2710-metric:hover,main .g28-metric:hover,main .b2710-contract:hover,main .rpchartrow:hover,main .g28-contact>div:hover,main .rd-device:hover,main .g28-metric:hover .g28-symbol,main .b2710-metric:hover>.b2710-icon,main .sidebar svg {transform:none!important;}
}

/* Iconos SVG reales; el fondo de reserva usa un recurso del mismo origen. */
main .metric.rs287-icon-ready::before {display:none!important;content:none!important;}
main .metric > .rs287-symbol {display:flex;align-items:center;justify-content:center;width:36px;height:36px;margin-bottom:9px;border-radius:10px;background:var(--rs-soft);color:var(--rs-gold);flex:none;transition:transform .19s var(--rs-ease);}
main .metric > .rs287-symbol > svg {display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
main .metric > .rs287-symbol.rs287-good {color:#28744a;background:#e8f3ea;}
main .metric > .rs287-symbol.rs287-alert {color:#a54438;background:#f9ebe7;}
@media(hover:hover) and (pointer:fine) {main .metric:hover > .rs287-symbol {transform:scale(1.09);}}
@media(prefers-reduced-motion:reduce) {main .metric > .rs287-symbol {transition:none!important;transform:none!important;}}
