:root{--blue:#0756bd;--deep:#062e69;--ink:#173d73;--muted:#7b94b1;--line:#e3edf6;--orange:#f59a16;--green:#18bf77}*{box-sizing:border-box}body{margin:0;background:#f7fbff;color:var(--ink);font:14px Nunito,Arial,sans-serif;display:flex}.sidebar{width:240px;min-height:100vh;background:linear-gradient(180deg,#063b82,#031f4c);color:#fff;position:fixed;left:0;top:0;bottom:0}.side-brand{height:102px;display:flex;align-items:center;justify-content:center;background:#062e69}.side-brand img{width:145px;height:90px;object-fit:contain}.sidebar nav{padding:16px 10px}.sidebar small{display:block;color:#a9c7e8;font-size:9px;font-weight:800;letter-spacing:.08em;margin:17px 12px 8px}.sidebar a{display:flex;gap:12px;align-items:center;color:#e9f3ff;text-decoration:none;padding:9px 12px;border-radius:8px;font-size:12px;margin:2px 0}.sidebar a.active,.sidebar a:hover{background:#086fd1;color:#fff}.main{margin-left:240px;width:calc(100% - 240px);min-height:100vh}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:25px}.hamb{display:none}.system-search{width:250px;height:36px;background:#f0f6fc;border-radius:18px;color:var(--blue);padding:7px 13px;box-sizing:border-box;display:flex;align-items:center;gap:8px}.system-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;flex:none}.system-search input{border:0;outline:0;background:transparent;width:100%;font:11px Nunito,Arial,sans-serif;color:var(--ink)}.system-search input::placeholder{color:#9bb0c9}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px;color:var(--blue)}.top-actions div{display:flex;flex-direction:column;font-size:11px}.top-actions small{color:var(--muted);font-size:9px}.avatar{width:34px;height:34px;border-radius:50%;background:#f7bc76;color:#fff;display:grid;place-items:center;font-weight:900}.content{width:100%;max-width:none;margin:0;padding:30px clamp(24px,4vw,64px) 50px}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.welcome h1{font-size:28px;margin:0 0 6px;color:var(--deep)}.welcome p{margin:0;color:var(--muted);font-size:13px}.date,.select{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 13px;border-radius:8px;font-size:11px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats article,.card{background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 6px 20px #164f8810}.stats article{padding:18px}.stats span{display:block;color:#6684a6;font-size:12px}.stats b{display:block;color:var(--deep);font-size:25px;margin:7px 0}.stats em{font-style:normal;color:var(--green);font-size:11px;font-weight:800}.stats em small{color:var(--muted);font-weight:500}.hero-panel{margin:18px 0;min-height:170px;border-radius:10px;padding:24px 32px;background:linear-gradient(105deg,#1b8dd7,#67d4dc);color:#fff;display:flex;justify-content:space-between;overflow:hidden}.hero-panel h2{font:34px Kalam,cursive;margin:0 0 6px}.hero-panel p{margin:0 0 14px}.hero-panel img{width:270px;object-fit:contain;align-self:end;margin-bottom:-60px}.primary{border:0;background:var(--orange);color:#fff;border-radius:22px;padding:10px 24px;font-weight:800}.two-col,.charts{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-bottom:16px}.card{padding:18px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.card h3{margin:0;color:var(--deep);font-size:14px}.card-head a{font-size:10px;color:var(--blue)}.recent>div{display:grid;grid-template-columns:80px 1fr 100px 80px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:11px}.recent>div span{color:#52749e}.recent i{justify-self:end;font-style:normal;border-radius:12px;padding:4px 7px;font-size:9px}.ok{background:#d8f8e9;color:#0e9f61}.pending{background:#fff1cf;color:#c27a00}.paid{background:#d9efff;color:#1674bb}.cancel{background:#ffe0e5;color:#df5266}.donut-wrap{display:flex;align-items:center;gap:24px}.donut{width:140px;height:140px;border-radius:50%;background:conic-gradient(#238cf2 0 34%,#ffc22c 34% 54%,#745de8 54% 80%,#f17b9e 80% 93%,#ed5b68 93%);position:relative}.donut:after{content:'15';position:absolute;inset:30px;background:#fff;border-radius:50%;display:grid;place-items:center;color:var(--deep);font-size:22px;font-weight:900}.donut-wrap ul{list-style:none;padding:0;margin:0;width:100%}.donut-wrap li{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:11px;color:#6684a6}.donut-wrap li strong{margin-left:auto;color:var(--deep)}.dot{width:8px;height:8px;border-radius:50%}.blue{background:#238cf2}.yellow{background:#ffc22c}.purple{background:#745de8}.pink{background:#f17b9e}.red{background:#ed5b68}.bar-chart{height:150px;display:flex;align-items:end;gap:24px;padding:0 18px;border-bottom:1px solid var(--line)}.bar-chart span{width:30px;background:#7ed7d4;border-radius:5px 5px 0 0}.bars{height:150px;display:flex;align-items:end;gap:20px;padding:0 15px;border-bottom:1px solid var(--line)}.bars i{width:24px;background:#4da5ef;border-radius:4px 4px 0 0}.months{display:flex;justify-content:space-around;color:var(--muted);font-size:10px;padding-top:8px}@media(max-width:850px){body{display:block}.sidebar{display:block;visibility:hidden;transform:translateX(-100%);width:250px;z-index:10;transition:transform .22s ease,visibility .22s ease;box-shadow:8px 0 24px #062e6940}.sidebar.open{visibility:visible;transform:translateX(0)}.sidebar.open:after{content:"";position:fixed;left:250px;top:0;width:100vw;height:100vh;background:#062e6940;z-index:-1}.main{margin-left:0;width:100%}.topbar{height:58px;padding:0 16px}.hamb{display:block;border:0;background:none;color:var(--blue);font-size:22px}.system-search{display:none}.top-actions>span:first-child{display:none}.content{padding:22px 16px 90px}.welcome{display:block}.welcome h1{font-size:25px}.date{margin-top:14px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stats article{padding:13px}.stats b{font-size:21px}.hero-panel{min-height:180px;padding:20px}.hero-panel h2{font-size:27px}.hero-panel img{width:155px;margin-right:-25px}.two-col,.charts{grid-template-columns:1fr}.recent>div{grid-template-columns:70px 1fr 74px}.recent>div span:nth-child(3){display:none}.donut{width:120px;height:120px}.bar-chart{gap:12px}.bars{gap:12px}}
.sidebar nav a>svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.top-actions{position:relative}.profile-trigger{display:flex;align-items:center;gap:9px;background:transparent;border:0;color:var(--ink);padding:4px 7px;border-radius:24px;text-align:left}.profile-trigger:hover,.profile-trigger[aria-expanded="true"]{background:#f1f6fb}.profile-copy{display:flex;flex-direction:column;font-size:11px}.profile-copy small{color:var(--muted);font-size:9px}.profile-chevron{color:var(--blue);font-size:15px;margin-left:3px}.profile-menu{position:absolute;right:0;top:48px;min-width:170px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 28px #164f8826;padding:7px;z-index:40}.profile-menu a,.profile-menu button{display:block;width:100%;background:transparent;border:0;text-align:left;text-decoration:none;color:var(--ink);font:inherit;font-size:12px;padding:9px 10px;border-radius:6px;cursor:pointer}.profile-menu a:hover,.profile-menu button:hover{background:#f1f6fb;color:var(--blue)}
@media(max-width:850px){.top-actions{margin-left:auto}.notification,.profile-copy,.profile-chevron{display:none}.profile-trigger{padding:0}.profile-trigger .avatar{width:36px;height:36px}.profile-menu{right:-4px;top:44px}}
.profile-menu[hidden]{display:none!important}.profile-menu.open{display:block}
.notification{position:relative;border:0;background:transparent;color:var(--blue);width:32px;height:36px;padding:7px;display:grid;place-items:center}.notification svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-badge{position:absolute;right:1px;top:1px;min-width:14px;height:14px;border-radius:8px;background:#ef5d63;color:#fff;font-size:8px;display:grid;place-items:center}.notification:hover{background:#f1f6fb;border-radius:50%}
@media(max-width:850px){.notification{display:grid;width:32px;height:36px}.notification-badge{right:0}}
.sidebar-credit{position:absolute;left:18px;right:18px;bottom:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.16);color:#a9c7e8;font-size:10px;text-align:center;letter-spacing:.02em}.sidebar-credit strong{color:#fff;font-size:10px;letter-spacing:.12em}
.sidebar-credit a{color:inherit;text-decoration:none}.sidebar-credit a:hover strong{text-decoration:underline}
.sidebar-credit{white-space:nowrap}
.sidebar-credit a{display:inline}
.sidebar-credit{bottom:78px}
.sidebar-credit{bottom:48px}
.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-heading h1{font-size:28px;color:var(--deep);margin:0 0 6px}.page-heading p{color:var(--muted);margin:0}.page-heading-actions{display:flex;align-items:center;gap:10px;flex:none}.page-heading-actions .filter-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;text-decoration:none;font-weight:700}.module-toolbar{display:flex;gap:10px;margin-bottom:14px}.module-toolbar input,.module-toolbar select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:10px 12px;color:var(--muted);font:inherit;font-size:11px}.module-toolbar input{flex:1}.filter-button{border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--blue);padding:0 16px}.module-card{background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 6px 20px #164f8810;padding:16px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;min-width:680px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:13px 10px;font-size:11px;white-space:nowrap}th{color:#6684a6;font-weight:800;font-size:10px}td{color:var(--ink)}.status{display:inline-block;border-radius:12px;background:#d8f8e9;color:#0e9f61;padding:4px 8px;font-size:9px}.row-actions{color:var(--blue)}.table-footer{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;padding:14px 4px 2px}@media(max-width:850px){.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:24px}.page-heading .primary{white-space:nowrap;padding:9px 12px;font-size:11px}.page-heading-actions{flex-wrap:wrap;justify-content:flex-end}.page-heading-actions .filter-button{white-space:nowrap}.module-toolbar{flex-wrap:wrap}.module-toolbar input{flex-basis:100%}.module-toolbar select,.filter-button{height:36px}.module-card{padding:10px}}
.action-button,.filter-button{display:inline-flex;align-items:center;gap:7px}.action-button svg,.filter-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.row-actions{display:inline-flex;align-items:center;gap:10px}.row-actions svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.period-trigger{display:inline-flex;align-items:center;gap:7px}.calendar-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.period-menu{position:absolute;right:0;top:48px;z-index:15;background:#fff;border:1px solid var(--line);box-shadow:0 12px 28px #164f8826;border-radius:9px;padding:6px;min-width:150px}.period-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;color:var(--ink);padding:8px 10px;border-radius:6px;font:inherit;font-size:11px}.period-menu button:hover{background:#f1f6fb;color:var(--blue)}
.stats em.metric-positive{color:var(--green)}.stats em.metric-zero{color:#172f4f}.stats em.metric-negative{color:#e45762}
.welcome{position:relative;min-height:118px}.welcome-copy h2{margin:0 0 6px;color:var(--blue);font:26px Kalam,cursive}.welcome-mascot{position:absolute;right:170px;bottom:-8px;width:145px;height:145px;object-fit:contain}.welcome .date{position:relative;z-index:1}
@media(max-width:850px){.welcome{min-height:190px}.welcome-copy h2{font-size:22px;max-width:240px}.welcome-mascot{right:0;bottom:0;width:130px;height:130px}.welcome .date{margin-top:18px}}
.welcome-mascot{right:210px;width:174px;height:174px}
@media(max-width:850px){.welcome-mascot{right:40px;width:156px;height:156px}}
.welcome-mascot{width:191px;height:191px}
@media(max-width:850px){.welcome-mascot{width:172px;height:172px}}
.welcome-mascot{right:230px;bottom:-38px;width:210px;height:210px}
@media(max-width:850px){.welcome-mascot{right:60px;bottom:-30px;width:189px;height:189px}}
.welcome-copy h1,.welcome-copy h2,.welcome-copy p{text-shadow:0 2px 3px rgba(4,47,117,.22)}
.date{cursor:pointer}.period-trigger{position:relative;z-index:3;cursor:pointer}
@media(max-width:850px){.welcome-mascot{display:none}.welcome{min-height:145px}.welcome .date{display:inline-flex;align-items:center}}

.period-trigger>span:last-child{display:none}
.period-trigger>span:last-child{display:inline}.welcome{z-index:20;overflow:visible}.period-menu{z-index:100}

.period-menu:not([hidden]){display:block!important}
.period-control{position:relative;display:inline-block;z-index:30}.period-trigger{display:inline-flex;align-items:center;gap:7px;cursor:pointer}.period-trigger .calendar-icon{display:inline-flex}.period-trigger .calendar-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.period-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:100;min-width:160px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 28px #164f8826;padding:6px}.period-menu[hidden]{display:none!important}.period-menu button{display:block;width:100%;border:0;background:transparent;color:var(--ink);text-align:left;padding:9px 10px;border-radius:6px;font:inherit;font-size:11px}.period-menu button:hover{background:#f1f6fb;color:var(--blue)}
@media(max-width:850px){.period-control{display:block;width:max-content;margin-top:18px}.period-menu{left:0;right:auto}.welcome{position:relative;z-index:30;overflow:visible}}
@media(max-width:850px){.welcome-copy h2{font-size:18px;line-height:1.2;white-space:nowrap;text-shadow:0 2px 3px rgba(4,47,117,.3);letter-spacing:-.25px;max-width:none}.welcome-copy h1,.welcome-copy p{text-shadow:0 2px 3px rgba(4,47,117,.3)}}
@media(max-width:850px){.welcome{z-index:1}.period-menu{z-index:5}.sidebar{z-index:20}.topbar{z-index:8}}
@media(max-width:850px){.welcome{z-index:auto}.period-menu{position:static;margin-top:8px;width:180px;z-index:auto}.period-control{z-index:auto}}
@media(max-width:850px){.period-control{position:relative;z-index:5}.period-menu{position:absolute;left:0;right:auto;top:calc(100% + 8px);margin-top:0;width:180px;z-index:5}.welcome{z-index:auto}}
.donut:after{content:var(--donut-total,"0")}
.api-error{color:#a83243}
.admin-form{display:grid;gap:16px;width:100%;max-width:none}.admin-field{display:grid;gap:6px;color:#6684a6;font-size:12px;font-weight:700}.admin-field input,.admin-field select{border:1px solid var(--line);border-radius:8px;padding:11px;background:#fff;color:var(--ink);font:13px Nunito,Arial,sans-serif}.admin-form .filter-button{margin-left:8px}.table-action{border:0;background:none;color:var(--blue);padding:3px;cursor:pointer}.table-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.sidebar-credit a{color:inherit;text-decoration:none}.sidebar-credit a:hover{color:inherit}.admin-field textarea{border:1px solid var(--line);border-radius:8px;padding:11px;background:#fff;color:var(--ink);font:13px Nunito,Arial,sans-serif;resize:vertical}.admin-field input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue)}.admin-fieldset{border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;flex-wrap:wrap;gap:12px;color:var(--ink)}.admin-fieldset legend{color:#6684a6;font-size:12px;font-weight:800;padding:0 6px}.admin-fieldset label{font-size:12px;display:flex;gap:6px;align-items:center}.admin-fieldset input{accent-color:var(--blue)}.admin-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.admin-form .admin-fieldset,.admin-form>div:last-child{grid-column:1/-1}.admin-form .admin-field input[type=file]{font-size:11px}@media(max-width:850px){.admin-form{grid-template-columns:1fr}.admin-form .admin-fieldset,.admin-form>div:last-child{grid-column:auto}}.admin-form .video-url-field{grid-column:1/-1}.admin-form input[type=file]{width:100%}@media(max-width:850px){.admin-form .video-url-field{grid-column:auto}}.danger-button{border:0;background:#df5266;color:#fff;border-radius:22px;padding:10px 24px;font-weight:800;margin-left:auto}.admin-form>div:last-child{display:flex;justify-content:flex-end;gap:10px;align-items:center}.file-clear{margin-top:6px;height:30px;padding:0 12px;font-size:11px}
/* Estado de presión de botones: conserva el diseño y simula hundimiento */
button,.primary,.filter-button,.table-action{transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}
button:active:not(.auth-password-toggle),.primary:active,.filter-button:active,.table-action:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.15)}
.file-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.file-choice,.file-clear{height:38px;padding:0 18px;border-radius:22px;font-weight:800}.file-name{color:var(--muted);font-size:11px;font-weight:500}.admin-form input[type=file]{position:absolute;width:1px;height:1px;opacity:0}
.file-actions{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:38px}
.file-actions .danger-button{margin-left:0}
.file-actions .file-choice,.file-actions .file-clear{margin:0;flex:0 0 auto}
.file-actions .file-name{line-height:38px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
/* Bloques de archivos en filas completas */
.admin-form>div.admin-field{grid-column:1/-1;display:grid;grid-template-columns:1fr;gap:7px}
.admin-form>div.admin-field>span:first-child{display:block}
.admin-form>div.admin-field .file-actions{grid-column:1/-1}
@media(max-width:850px){.admin-form>div.admin-field{grid-column:auto}}
.file-actions .danger-button{margin-left:auto}
.file-actions .file-name{margin-left:8px;flex:1;text-align:left}
.file-actions .file-choice,.file-actions .file-clear{display:inline-flex;align-items:center;justify-content:center;line-height:1;white-space:nowrap}
.file-actions .file-choice{min-height:38px;padding:10px 24px}
.file-actions .file-clear{min-height:38px;padding:10px 24px}
/* Botones personalizados de archivos */
.admin-form input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.file-actions .file-choice{width:145px;min-width:145px;height:38px;padding:10px 24px}
.file-actions .file-clear{width:108px;min-width:108px;height:38px;padding:10px 18px}
.state-slug-group{display:grid;gap:12px;align-self:start}.state-slug-group .admin-field{margin:0}
.state-slug-group{gap:8px;min-width:0;overflow:visible}
.state-slug-group .admin-field{min-width:0}
.extended-message{padding:10px 14px;border-radius:8px;background:#e4f7ed;color:#116445;margin:0 0 14px}.extended-message.is-error{background:#ffe9ec;color:#ab2944}.extended-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px}.extended-detail div{min-width:0;border-bottom:1px solid var(--line);padding:8px 0}.extended-detail dt{font-size:11px;color:var(--muted);font-weight:800}.extended-detail dd{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.report-grid article{display:grid;gap:7px}.report-grid strong{font-size:22px;color:var(--deep)}.categories-field{grid-column:1/-1}.form-actions{display:flex;align-items:center;gap:10px}.form-actions .danger-button{margin-left:auto}.module-card h2{font-size:17px;color:var(--deep)}.module-card [data-ext-export]{margin-top:15px}@media(max-width:850px){.extended-detail{grid-template-columns:1fr}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.state-slug-group input,.state-slug-group select{width:100%;min-width:0}
.quote-summary{border:1px solid var(--line);border-radius:10px;background:#f8fbff;padding:16px;margin:14px 0}.quote-summary h3{margin:0 0 12px;color:var(--deep);font-size:15px}.quote-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.quote-summary dl>div{min-width:0;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:8px}.quote-summary dt{color:var(--muted);font-size:11px;font-weight:800}.quote-summary dd{margin:5px 0 0;color:var(--ink);font-weight:800;overflow-wrap:anywhere}.quote-summary .quote-total{background:#fff6e8;border-color:#f5d8ac}.quote-summary .quote-total dd{color:#aa6500;font-size:16px}@media(max-width:850px){.quote-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Separación uniforme entre las tres zonas del dashboard */
.dashboard-zone-spacer,
.stats,
.two-col { margin-bottom:24px; }
.charts { margin-bottom:0; }

/* Columnas proporcionales iguales en las zonas 2 y 3 */
.two-col,
.charts { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }

/* Alturas oficiales de encabezados del panel */
.side-brand { height:100px; }
.topbar { height:100px; }
@media (max-width:850px) {
  .topbar { height:60px; }
}

.table-viajes th:nth-child(3) { text-align:center; }

table.table-viajes thead th:nth-child(3),
table.table-viajes tbody td:nth-child(3) { text-align:center; }

.field-help{font-size:11px;font-weight:500;color:var(--muted)}
.saved-media{grid-column:1/-1;display:grid;gap:10px;color:var(--ink)}.saved-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.saved-media-item{border:1px solid var(--line);border-radius:8px;padding:8px;display:grid;gap:7px;min-width:0}.saved-media-item img{width:120px;max-width:100%;height:72px;object-fit:cover;border-radius:5px}.saved-media-item span{font-size:11px;overflow-wrap:anywhere}.saved-media-item button{margin:0;padding:7px;font-size:10px}.saved-media strong{font-size:12px}
.media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.media-library article{border:1px solid var(--line);border-radius:9px;padding:9px;display:grid;gap:8px;min-width:0}.media-library img{width:100%;height:120px;object-fit:cover;border-radius:6px}.media-library strong,.media-library span{overflow-wrap:anywhere}.media-library span{font-size:11px;color:var(--muted)}.media-library a{color:var(--blue);font-size:12px}.media-library button{margin:0}
.hero-current{grid-column:1/-1;display:flex;align-items:center;gap:16px}.hero-current img{width:128px;max-width:40%;height:72px;object-fit:cover;border-radius:7px}.hero-current img[alt="Logo guardado"]{object-fit:contain}.hero-current button{margin:0}@media(max-width:850px){.hero-current{flex-wrap:wrap}.hero-current img{max-width:100%;width:128px}}
.reservation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:18px}.reservation-summary>div{display:grid;gap:5px}.reservation-summary span{color:#6885aa;font-size:13px}.reservation-summary strong{color:#073b78}.reservation-payment-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-top:20px}.reservation-payment-form label{display:grid;gap:5px;color:#42658d;font-size:13px}.reservation-payment-form input,.reservation-payment-form select{min-width:0;width:100%;height:40px;border:1px solid #dbe7f4;border-radius:9px;padding:8px;color:#073b78}.reservation-payment-form button{height:40px}@media(max-width:900px){.reservation-payment-form{grid-template-columns:repeat(2,minmax(0,1fr))}.reservation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.reservation-payment-form{grid-template-columns:1fr}.reservation-summary{grid-template-columns:1fr 1fr}}
.reservation-documents{list-style:none;padding:0}.reservation-documents li{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:8px 0}.reservation-documents .danger-button{margin:0}.reservation-document-form{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.reservation-document-form input{max-width:100%}
.travel-extra-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.travel-extra-grid textarea{width:100%;box-sizing:border-box}@media(max-width:700px){.travel-extra-grid{grid-template-columns:1fr}}

/* Operational detail additions; established headers and navigation are unchanged. */
.operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.operations-grid .module-card{margin:0}.extended-detail dd{white-space:pre-wrap;overflow-wrap:anywhere}.primary>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;margin-right:8px}#operational-backups{margin-top:20px}.reservation-payment-form label{min-width:0}.reservation-payment-form input,.reservation-payment-form select{max-width:100%}@media(max-width:760px){.operations-grid{grid-template-columns:1fr}.reservation-payment-form{display:grid;grid-template-columns:1fr}}
.config-settings .config-media-card{grid-column:1/-1;display:grid;grid-template-columns:125px minmax(0,1fr);align-items:center;gap:12px 16px;min-width:0;border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff}
.config-media-card h2,.backup-create-card h2{margin:0;color:var(--deep);font-size:17px}
.config-media-card h2{grid-column:1;margin:0}
.config-media-card .admin-field{grid-column:2;width:100%;min-width:0;margin:0}
.config-media-card .config-upload-field{width:100%}
.config-media-card .file-actions{display:grid;width:100%;grid-template-columns:150px minmax(0,1fr) 150px;gap:10px}
.config-media-card .file-name{min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.config-media-card .file-clear{grid-column:3;justify-self:end;margin:0}
.config-media-card .hero-current{grid-column:2;display:flex;width:100%;min-width:0;align-items:center;margin:0}
.config-media-card .hero-current button{margin-left:auto}
.config-settings .danger-button{box-sizing:border-box;width:150px;min-width:150px;height:42px;min-height:42px;padding:0 10px;margin:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.admin-form.config-settings>.form-actions{grid-column:1/-1;justify-content:space-between}
.config-settings>.config-actions-card{box-sizing:border-box;grid-column:1/-1;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.config-settings .mascot-current button{margin-left:auto}
.config-media-card .hero-current img[alt="Logo 2 guardado"]{width:56px;height:48px;max-width:56px;object-fit:contain}
.backup-create-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 16px;border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff}
.backup-create-card h2,.backup-create-card p{grid-column:1}
.backup-create-card p{margin:0;color:var(--muted);font-size:12px}
.backup-create-card>.primary{grid-column:2;grid-row:1/3}
.backup-accordion{margin-top:16px;border-top:1px solid var(--line)}
.backup-accordion>summary{cursor:pointer;list-style:none;padding:14px 2px;font-weight:800;color:var(--deep)}
.backup-accordion>summary::-webkit-details-marker{display:none}
.backup-accordion>summary::after{content:'+';float:right;color:var(--blue);font-size:18px;line-height:1}
.backup-accordion[open]>summary::after{content:'−'}
.backup-restore-hint{margin:0 0 10px;color:var(--muted);font-size:12px}
.backup-row-actions{display:flex;align-items:center;gap:8px;flex:none}
.backup-row-actions button{margin:0}
.backup-row-actions .danger-button{box-sizing:border-box;width:150px;min-width:150px;height:42px;min-height:42px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.users-page-actions{justify-content:flex-end}
@media(max-width:850px){.config-settings .config-media-card{grid-template-columns:minmax(0,1fr);gap:10px}.config-media-card h2,.config-media-card .admin-field,.config-media-card .hero-current{grid-column:1}.config-media-card .file-actions{grid-template-columns:150px minmax(0,1fr) 150px}.config-media-card .file-clear{justify-self:end}}
@media(max-width:420px){.config-media-card .file-actions{grid-template-columns:120px minmax(0,1fr) 120px;gap:6px}.config-media-card .file-actions .file-choice,.config-media-card .file-actions .file-clear{width:120px;min-width:120px;padding:0 6px;font-size:10px}}
@media(max-width:600px){.config-settings .config-media-card{padding:12px}.backup-create-card{grid-template-columns:1fr}.backup-create-card h2,.backup-create-card p,.backup-create-card>.primary{grid-column:1;grid-row:auto}.backup-row{flex-direction:column}.backup-row-actions{width:100%;justify-content:flex-end}}

.stats article em.metric-positive{color:#14935d}.stats article em.metric-negative{color:#c43848}.stats article em.metric-zero{color:#111}

.status[data-status="Cancelada"],.status[data-status="Rechazada"],.status[data-status="SOLD OUT"]{background:#fee2e2;color:#991b1b}
.status[data-status="Pendiente"],.status[data-status="Pocos lugares"]{background:#fff3cd;color:#855500}
.status[data-status="Vencida"],.status[data-status="Archivado"],.status[data-status="Borrador"],.status[data-status="Finalizado"]{background:#edf0f5;color:#526078}
.module-toolbar label{display:flex;align-items:center;gap:8px}.module-toolbar input[type=date]{min-width:140px}
@media(max-width:760px){.module-toolbar{flex-wrap:wrap}.module-toolbar label{flex:1 1 45%;font-size:12px}.module-toolbar input[type=date]{min-width:0;width:100%}}

/* PDF controls share existing panel button styles. */
.document-panel{margin-top:20px}.document-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px}.document-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.document-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.document-editor summary{cursor:pointer;font-weight:700;padding:16px 0}.document-editor fieldset{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:16px}.document-row,.document-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.document-panel label{display:flex;flex-direction:column;gap:6px;min-width:0}.document-panel input,.document-panel select,.document-panel textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:white;min-height:42px}.document-row .danger-button{align-self:end}.document-panel [role=status]{white-space:pre-wrap}.document-panel li{padding:6px 0;overflow-wrap:anywhere}.document-retention-note{padding:10px 12px;border-left:3px solid var(--orange);background:#fff8eb;border-radius:4px;color:var(--ink);font-size:13px}
.pdf-action-group{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:1 1 360px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.pdf-action-title{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}.pdf-action-group>div{display:flex;flex-wrap:wrap;gap:8px}.pdf-action-group button:disabled{opacity:.5;cursor:not-allowed}.quote-version-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:8px 0 14px}.quote-version-tools label{flex:1 1 280px;max-width:400px}.quote-version-tools>p{flex-basis:100%;margin:0;color:var(--muted);font-size:12px}
.report-csv-exports{flex:1 1 100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.report-csv-exports h3{display:flex;align-items:center;gap:8px;margin:2px 0 10px;color:var(--deep);font-size:14px}.report-csv-exports h3 svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}.report-csv-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.report-csv-buttons button{width:100%;min-width:0;min-height:38px;padding:8px 10px;font-size:12px;white-space:nowrap}

/* Keep branding height; first menu link moves from 151.5 to 131.5px. */
.sidebar{display:flex;flex-direction:column;overflow-y:auto}.side-brand{flex-shrink:0}.sidebar nav{padding-top:29.5px;flex-shrink:0}.sidebar-mascot{display:block;position:static;width:160px;height:130px;object-fit:contain;margin:14px auto 0}.sidebar-credit{position:static;flex-shrink:0;margin:12px 18px 24px;padding-top:14px}.dashboard-period-select{appearance:none;cursor:pointer;padding-right:13px}.bars i{flex:1;max-width:50px}.bars{justify-content:space-around}.months span{flex:1;text-align:center}

/* Dashboard: acciones y estados de solicitudes. */
.card-head{gap:12px}
.card-head .dashboard-all-link{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:36px;padding:8px 17px;border-radius:22px;color:#fff;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}
.card-head .dashboard-all-link:hover{color:#fff;filter:brightness(.96)}
.request-status{display:grid;gap:13px;min-height:140px;align-content:center}
.request-status>p{margin:0;color:var(--muted);font-size:12px}
.request-status-row{display:grid;gap:6px}
.request-status-label{display:flex;justify-content:space-between;gap:12px;color:var(--ink);font-size:12px}
.request-status-label strong{color:var(--deep);white-space:nowrap}
.request-status-label small{color:var(--muted);font-weight:600}
.request-status-track{height:11px;border-radius:999px;background:#eaf1f9;overflow:hidden}
.request-status-track span{display:block;height:100%;border-radius:inherit;min-width:0}
.operations-grid a{text-decoration:none}
.operations-grid a:hover{text-decoration:none}
.sidebar .sidebar-credit a,.sidebar .sidebar-credit a:visited,.sidebar .sidebar-credit a:hover,.sidebar .sidebar-credit a:active{display:inline;margin:0;padding:0;border-radius:0;background:transparent;color:inherit;text-decoration:none}
.sidebar .sidebar-credit a strong,.sidebar .sidebar-credit a:hover strong{color:#fff;text-decoration:none}
@media(max-width:850px){
  .notification{display:grid;flex:none;width:32px;height:36px;padding:7px;color:var(--blue)}
  .notification svg{width:19px;height:19px;stroke-width:1.8}
  .notification-badge{top:1px;right:0;min-width:14px;height:14px;font-size:8px}
}

.report-period{margin-bottom:14px}.report-period .module-toolbar{align-items:flex-end;flex-wrap:wrap;margin:0}.report-period .module-toolbar label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.report-period .module-toolbar input[type=date],.report-period .module-toolbar select{min-height:38px;min-width:150px}.report-period .module-toolbar button{margin-left:auto}.report-period-note{margin:8px 2px 0;color:var(--muted);font-size:11px}.report-content{padding:18px}.report-accordions{display:grid;gap:10px}.report-accordion{border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.report-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;cursor:pointer;list-style:none;color:var(--deep);font-weight:800}.report-accordion>summary::-webkit-details-marker{display:none}.report-accordion>summary::after{content:'+';display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#eef5ff;color:var(--blue);font-size:18px;line-height:1}.report-accordion[open]>summary::after{content:'−'}.report-accordion>summary:focus-visible{outline:3px solid #78a9ff;outline-offset:-3px}.report-accordion>summary small{margin-left:auto;color:var(--muted);font-size:11px;font-weight:600}.report-accordion .report-section{padding:14px 16px 16px;margin:0;border-top:1px solid var(--line)}.report-summary{padding:14px 16px 0}.report-summary h2{margin:0;font-size:17px;color:var(--deep)}.report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:16px}.report-grid article{display:grid;gap:7px}.report-grid strong{font-size:22px;color:var(--deep)}.report-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.report-section-heading h2{margin:0 0 4px}.report-section-heading p,.report-audit .report-section-heading p{margin:0;color:var(--muted);font-size:11px}.report-section-heading button{flex:none}.report-table-filters{display:grid;grid-template-columns:minmax(220px,1fr) repeat(2,minmax(150px,220px));gap:10px;align-items:end;margin:12px 0}.report-table-filters label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.report-table-filters input,.report-table-filters select{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}.report-table-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;color:var(--muted);font-size:11px}.report-table-pagination>div{display:flex;gap:8px}.report-table-pagination button{min-width:92px}.report-table-pagination button:disabled{opacity:.5;cursor:not-allowed}.report-audit{margin-top:16px}.report-audit-content{padding:0 16px 16px}.audit-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;align-items:end;gap:10px;margin:14px 0}.audit-filters label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.audit-filters input,.audit-filters select{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}.audit-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;color:var(--muted);font-size:11px}.audit-pagination>div{display:flex;gap:8px}.audit-pagination button{min-width:92px}.audit-pagination button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1000px){.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filters button{min-height:38px}}
@media(max-width:760px){.report-content{padding:10px}.report-period .module-toolbar label{flex:1 1 calc(50% - 8px)}.report-period .module-toolbar label:first-child{flex-basis:100%}.report-period .module-toolbar button{width:100%;min-height:42px;margin-left:0}.report-accordion>summary{padding:12px}.report-accordion .report-section{padding:12px}.report-summary{padding:12px 12px 0}.report-audit-content{padding:0 12px 12px}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.report-section-heading{align-items:flex-start;flex-direction:column}.report-section-heading button{width:100%;min-height:42px}.report-table-filters{grid-template-columns:1fr}.report-table-pagination{align-items:stretch;flex-direction:column}.report-table-pagination>div button{flex:1;min-height:42px}.audit-filters{grid-template-columns:1fr}.audit-filters button{min-height:42px}.audit-pagination{align-items:stretch;flex-direction:column}.audit-pagination>div button{flex:1;min-height:42px}}
@media(max-width:850px){
  .two-col,.charts{grid-template-columns:minmax(0,1fr)}
  .two-col>.card,.charts>.card{min-width:0}
}
@media(max-width:850px){.sidebar,.sidebar.open{z-index:1100}.sidebar .side-brand{position:relative;z-index:1}}
.backup-header{display:flex;justify-content:flex-start;margin:12px 0}.backup-list{display:grid;gap:8px}.backup-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--line)}.backup-row>span{min-width:0;overflow-wrap:anywhere}.backup-row .danger-button{margin-left:auto;flex:none}@media(max-width:600px){.backup-row{align-items:flex-start}.backup-row .danger-button{padding:9px 16px}}
@media(max-width:850px){.sidebar,.sidebar.open{position:fixed;inset:0 auto 0 0;z-index:1100}.sidebar.open .side-brand{position:relative;z-index:2;isolation:isolate}.sidebar.open .side-brand img{position:relative;z-index:2}.main .topbar{position:relative;z-index:10}}
.visually-hidden-file{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important}

/* Panel control sizing: one consistent text-button height and typeface. */
.sidebar button:not(.auth-password-toggle),
.main button:not(.auth-password-toggle),
#auth-gate button:not(.auth-password-toggle){box-sizing:border-box;height:42px!important;min-height:42px!important;padding-top:0!important;padding-bottom:0!important;font-family:Nunito,Arial,sans-serif;font-size:13px;line-height:1.2}
.main .auth-password-toggle{height:36px!important;min-height:36px!important;padding:7px!important}
.main a.primary.dashboard-all-link{box-sizing:border-box;height:42px;min-height:42px;font-family:Nunito,Arial,sans-serif;font-size:13px;line-height:1.2}
.main a.primary:not(.dashboard-all-link){box-sizing:border-box;min-height:42px;display:inline-flex;align-items:center;justify-content:center;font-family:Nunito,Arial,sans-serif;font-size:13px;line-height:1.2}
.danger-button{justify-self:end}
.danger-button>svg,.file-clear>svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.file-actions .file-choice,.file-actions .file-clear{box-sizing:border-box;width:150px;min-width:150px;height:42px;min-height:42px;padding:0 10px;gap:7px;white-space:nowrap;justify-content:center}
.saved-media-item>button,.media-library article>button{justify-self:end;margin-left:auto}
@media(min-width:851px){.topbar>.system-search{transform:translateX(20px)}}
.document-row>.danger-button{grid-column:1/-1;justify-self:end}
.document-panel li{display:flex;align-items:center;gap:10px}
.document-panel li>a{min-width:0;overflow-wrap:anywhere}
.document-panel li>.danger-button{margin-left:auto;flex:none}
.hero-current button{margin-left:auto}
.hamb{font-size:22px!important}

/* Interacción visible del header y gráficas del dashboard */
.top-actions{margin-right:25px}
.notification,.profile-trigger,.period-trigger,.period-menu button{cursor:pointer}
.request-status{display:flex;align-items:stretch;justify-content:space-around;gap:12px;height:166px;min-height:166px;padding:8px 4px 0}
.request-status>p{align-self:center;width:100%;text-align:center}
.request-status-row{flex:1 1 0;min-width:0;display:grid;grid-template-rows:20px 1fr 24px;justify-items:center;align-items:end;gap:5px}
.request-status-value{align-self:start;color:var(--deep);font-size:11px;font-weight:800;white-space:nowrap}
.request-status-value small{color:var(--muted);font-size:9px;font-weight:600}
.request-status-track{width:min(44px,70%);height:100%;min-height:0;border-radius:8px;background:#eaf1f9;overflow:hidden;display:flex;align-items:flex-end}
.request-status-track span{display:block;width:100%;min-height:0;border-radius:inherit}
.request-status-label{display:block;max-width:100%;overflow-wrap:anywhere;text-align:center;color:var(--muted);font-size:10px;line-height:1.15}
.charts .card:nth-child(2) .months{display:flex;justify-content:space-around}
.charts .card:nth-child(2) .months span{flex:1;text-align:center}
.charts .card:first-child .bar-chart{justify-content:space-around;gap:0}
.charts .card:first-child .months{display:flex;justify-content:space-around;padding-right:18px;padding-left:18px}
.charts .card:first-child .months span{flex:1;text-align:center}
@media(max-width:850px){.top-actions{margin-right:25px}.request-status{height:156px;min-height:156px;gap:6px}.request-status-track{width:min(36px,75%)}.request-status-label{font-size:9px}}

@media(max-width:600px){.pdf-action-group{align-items:flex-start;flex-direction:column}.pdf-action-group>div{width:100%}.pdf-action-group>div button{flex:1 1 130px}.quote-version-tools>button{width:100%}}
@media(max-width:850px){.report-csv-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.report-csv-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.report-csv-buttons button{white-space:nowrap}}

/* Keep the CSV title and compact actions on one desktop row. */
.report-csv-exports{display:flex;align-items:center;gap:12px}
.report-csv-exports h3{flex:0 0 auto;margin:0}
.report-csv-buttons{flex:1;min-width:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.report-csv-buttons button{min-height:32px;padding:6px 8px;font-size:11px}
@media(max-width:1100px){.report-csv-exports{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px}.report-csv-exports h3{margin:0}.report-csv-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.report-csv-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Sidebar: lift navigation while keeping the brand header fixed; enlarge and center Palmísio. */
.sidebar nav>a,.sidebar nav>small{position:relative;top:-15px}
.sidebar-mascot{width:184px;height:150px;margin-left:auto;margin-right:auto;object-position:center center}
@media(max-width:850px){.sidebar-mascot{width:121px;height:90px;margin:4px auto 0}}


@media(max-width:850px){
  .sidebar,.sidebar.open{width:240px;height:100vh;height:100dvh;inset:0 auto 0 0;overflow:hidden}
  .sidebar nav{flex:1 1 auto;min-height:0;overflow:hidden;padding:8px 8px 0}
  .sidebar small{margin:8px 10px 4px;font-size:8px}
  .sidebar nav a{gap:10px;padding:5px 10px;margin:1px 0;font-size:11px;line-height:1.15}
  .sidebar-mascot{width:105px;height:78px;margin:4px auto 0}
  .sidebar-credit{margin:5px 14px 10px;padding-top:8px}
}
.side-brand img[hidden]{display:none!important}
.config-media-card .hero-current img[alt="Palmísio del menú lateral guardado"]{width:96px;height:88px;object-fit:contain}
.admin-field [data-role-hint]{color:#6684a6;font-size:11px;font-weight:600;line-height:1.5}

/* Keep panel search and account controls available while scrolling. */
.topbar{position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(6,46,105,.06)}
@media(max-width:850px){.main .topbar{position:sticky;top:0;z-index:1000}}
