/* BAK CARE / 467 — Sistema visual unificado del Centro de Operaciones.
   Exclusivo a sesion Admin. Un CSS de presentación: NO altera DOM, flujos,
   controladores, permisos, datos, pagos ni documentos PDF generados.
   ESCALA (tres tamaños): 12px meta · 14px interfaz · 24px título/indicador.
   Excepción necesaria: inputs de 16px en iPhone para evitar zoom de Safari.
*/
body.bak-admin-session466{
 --bak-type-caption467:12px;
 --bak-type-body467:14px;
 --bak-type-title467:24px;
 --bak-bg467:#0b0b0d;
 --bak-rail467:#111113;
 --bak-panel467:#19191c;
 --bak-input467:#242428;
 --bak-hover467:#242428;
 --bak-selected467:#29292e;
 --bak-border467:#313138;
 --bak-text467:#f3f3f5;
 --bak-muted467:#a5a5ad;
 --bak-soft467:#d0d0d7;
 --bak-link467:#9dc7f3;
 --bak-space467:16px;
 color:var(--bak-text467);
 background:var(--bak-bg467);
 font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Arial,sans-serif;
 font-size:var(--bak-type-body467);
 font-weight:450;
 line-height:1.48
}
body.bak-admin-session466 .shell{
 /* Standard margin on left and meaningful breathing room on right. */
 padding-left:calc(var(--bak-admin-rail-width466) + clamp(26px,2.5vw,44px))!important;
 padding-right:clamp(46px,5.2vw,104px)!important;
 padding-top:22px!important;
 background:var(--bak-bg467);
 min-width:0
}
body.bak-admin-session466 .shell *,
body.bak-admin-session466 .shell *::before,
body.bak-admin-session466 .shell *::after{box-sizing:border-box}
/* Typography: three tokens, shared by each admin module. */
body.bak-admin-session466 .shell :is(
 p,span,small,strong,b,em,label,a,button,summary,li,dt,dd,
 th,td,input,select,textarea
):not(.qs261-preview .qs261-paper *){font-size:var(--bak-type-body467)!important}
body.bak-admin-session466 .shell :is(
 h1,h2,h3,h4,h5,h6
):not(.qs261-preview .qs261-paper *){
 font-size:var(--bak-type-body467)!important;
 line-height:1.4;
 letter-spacing:-.015em;
 font-weight:650;
 color:var(--bak-text467)
}
/* Page titles and numerals: largest of exactly three type sizes. */
body.bak-admin-session466 .shell :is(
 .adm181 .head181 h1,
 .simple257 .s257-top h1,
 .simple257 .s257-detail-header h2,
 .simple257 .s292-sales-head h2,
 .of300 .of300-header h1,
 .of300 .of300-detail-head h2,
 .of301-head h2,
 .dir330 .dir330-header h1,
 .bak-adminsupport373 .bak-adminsupport-head373 h2,
 .adm181 .metric181 strong,
 .office304-finance .s292-sales-cell strong,
 .of300 .of300-total-row strong
){
 font-size:var(--bak-type-title467)!important;
 line-height:1.16!important;
 font-weight:680!important;
 letter-spacing:-.045em!important
}
body.bak-admin-session466 .shell :is(
 .adm181 .eyebrow181,
 .simple257 .s257-eyebrow,
 .s292-sales-head p,
 .of300 .of300-header p,
 .of300 .of300-status,
 .of300 .of300-muted,
 .of300 .of300-row span,
 .of300 .of300-row small,
 .of300 .of300-field,
 .dir330 .dir330-secondary,
 .dir330 .dir330-status,
 .bak-adminsupport373 .bak-adminsupport-status373,
 .bak-adminsupport373 .bak-adminsupport-eyebrow373,
 .bak-adminsupport373 .bak-adminsupport-feedback373,
 .bak-adminsupport373 .bak-adminsupport-itemtop373 small,
 .qs261 .qs261-field,
 .qs261 .qs261-muted,
 .qs261 .qs261-state,
 .simple257 .s257-muted,
 .simple257 .s257-note,
 .simple257 .s257-small,
 .simple257 .s257-badge,
 .simple257 .s257-count,
 .simple257 .s257-item p,
 .simple257 .s257-info-line span,
 .adm181 .metric181 small,
 .adm181 .row181 span,
 .adm181 .row181 em,
 .adm181 .section-head181 small,
 .adm181 .note181,
 .shell>.top #who,
 .shell>.top #logout,
 .shell>footer,
 .shell .muted,
 .bak-admin-group-label466,
 .bak-admin-side-brand466 span,
 .bak-admin-sidebar-foot466,
 .bak-admin-sidebar-foot466 strong,
 .bak-admin-location466 small,
 .bak-admin-sub-btn466
){font-size:var(--bak-type-caption467)!important;line-height:1.52!important}
body.bak-admin-session466 .shell :is(
 label,
 .of300-field,
 .qs261-field,
 .dir330-review>label,
 .s292-sales-range label,
 .bak-adminsupport-fields373 label
){font-size:var(--bak-type-caption467)!important;line-height:1.45!important}
body.bak-admin-session466 .shell :is(
 .bak-admin-rail-btn466,.bak-admin-rail-label466,
 .s257-tab,.of300-button,.of300-primary,.qs261-primary,.qs261-secondary,
 .of304-filter,.office304-agenda-nav button,.s257-primary
){font-size:var(--bak-type-body467)!important}
body.bak-admin-session466 .shell .bak-admin-location466 strong{
 font-size:var(--bak-type-body467)!important;
 font-weight:650!important;
 letter-spacing:-.015em
}
/* The chosen sidebar IS the reference: same surface, colors and selection. */
body.bak-admin-session466 .bak-admin-sidebar466{
 background:var(--bak-rail467);border-right:1px solid var(--bak-border467)
}
body.bak-admin-session466 .bak-admin-rail-btn466[aria-current=page],
body.bak-admin-session466 .bak-admin-sub-btn466[aria-current=page]{
 background:var(--bak-selected467);color:#fff;border-color:#424248
}
body.bak-admin-session466 .shell>.top{
 margin-bottom:26px!important;
 border-color:var(--bak-border467);
 background:transparent
}
body.bak-admin-session466 .shell>.top #logout{color:var(--bak-muted467)!important}
body.bak-admin-session466 .shell>.top #logout:hover{color:#fff!important}
/* Panels, cards, lists, chips and separators share one visual vocabulary. */
body.bak-admin-session466 .shell :is(
 .card,
 .adm181 .metric181,
 .adm181 button.metric181,
 .bo-card,
 .bo-quick81,
 .of300-item-editor,
 .service-rate-card083
){
 border-radius:12px!important;
 border-color:var(--bak-border467)!important;
 box-shadow:none!important
}
body.bak-admin-session466 .shell :is(
 .card,
 .adm181 .metric181,
 .adm181 button.metric181,
 .bo-card
){background:var(--bak-panel467)!important}
body.bak-admin-session466 .shell :is(
 .s257-item[aria-current=true],
 .of300-row[aria-current=true],
 .adm181 button.metric181:hover,
 .s257-item:hover,
 .of300-row:hover
){background:var(--bak-selected467)!important}
body.bak-admin-session466 .shell :is(
 .adm181 .section-head181,
 .adm181 .row181,
 .simple257 .s257-tabs,
 .simple257 .s257-list-wrap,
 .simple257 .s257-info-line,
 .simple257 .s257-more,
 .of300-list,
 .of300-row,
 .of300-info-line,
 .of300-section-head,
 .office304-agenda-row,
 .of304-activity-row,
 .bak-adminsupport-item373,
 .s292-sales-row
){border-color:var(--bak-border467)!important}
/* Inputs unify dark fill + 10 px rounding, no white boxed fragments. */
body.bak-admin-session466 .shell :is(
 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
 textarea,
 select
){
 background:var(--bak-input467)!important;
 border:1px solid #414148!important;
 border-radius:10px!important;
 color:var(--bak-text467)!important;
 box-shadow:none!important;
 font-family:inherit!important;
 font-size:var(--bak-type-body467)!important;
 line-height:1.45!important;
 min-width:0
}
body.bak-admin-session466 .shell :is(input,textarea,select)::placeholder{
 color:#94949e!important
}
body.bak-admin-session466 .shell :is(
 button,
 a,
 input,
 textarea,
 select,
 summary
):focus-visible{
 outline:2px solid var(--bak-link467)!important;
 outline-offset:3px!important
}
/* Uniform controls: no competing huge pill/button styles in module content. */
body.bak-admin-session466 .shell :is(
 .s257-primary,
 .of300-primary,
 .qs261-primary,
 .dir330-primary,
 .of300-button,
 .qs261-secondary,
 .dir330-secondary-button,
 .s257-issued-view,
 .office304-agenda-nav button,
 .of304-filter,
 .s257-tab,
 .s257-page-button430,
 .bak-adminsupport-form373 button,
 .shell button.btn,
 .shell button.ghost
){
 border-radius:10px!important;
 font-family:inherit!important;
 font-size:var(--bak-type-body467)!important;
 font-weight:600!important;
 letter-spacing:-.01em;
 box-shadow:none!important
}
body.bak-admin-session466 .shell :is(
 .s257-primary,
 .of300-primary,
 .qs261-primary,
 .dir330-primary,
 .bak-adminsupport-form373 button,
 button.bo-primary,
 button.btn
){
 background:#f0f0f2!important;
 border-color:#f0f0f2!important;
 color:#161619!important
}
body.bak-admin-session466 .shell :is(
 .s257-issued-view,
 .of300-button,
 .qs261-secondary,
 .dir330-secondary-button,
 .office304-agenda-nav button
){
 border:1px solid #48484e!important;
 color:var(--bak-soft467)!important;
 background:transparent!important
}
body.bak-admin-session466 .shell :is(
 button:disabled,
 input:disabled,
 select:disabled
){cursor:not-allowed}
body.bak-admin-session466 .shell :is(
 .s257-badge,.of301-status,.of304-filter,.dir330-state
){
 border-radius:8px!important
}
/* Overview: match sidebar typography, keep indicators restrained. */
body.bak-admin-session466 .adm181{gap:23px!important}
body.bak-admin-session466 .adm181 .head181 h1{margin:6px 0 9px!important}
body.bak-admin-session466 .adm181 .head181 p{
 max-width:640px!important;
 color:var(--bak-muted467)!important;
 font-size:var(--bak-type-body467)!important
}
body.bak-admin-session466 .adm181 .stats181{gap:12px!important}
body.bak-admin-session466 .adm181 .metric181{
 min-height:116px!important;
 padding:17px 18px!important;
 border-top:1px solid var(--bak-border467)!important
}
body.bak-admin-session466 .adm181 .metric181 strong{margin:12px 0 3px!important}
body.bak-admin-session466 .adm181 .main181{gap:clamp(22px,2.5vw,42px)!important;margin-top:10px!important}
body.bak-admin-session466 .adm181 .section-head181{padding-bottom:13px!important}
body.bak-admin-session466 .adm181 .section-head181 h2{margin:0}
body.bak-admin-session466 .adm181 .row181{padding:16px 5px!important;gap:18px}
body.bak-admin-session466 .adm181 .row181 strong{font-weight:620!important}
body.bak-admin-session466 .adm181 .quick181 button{
 min-height:46px;
 padding:15px 0!important;
 color:var(--bak-soft467)!important
}
body.bak-admin-session466 .adm181 .quick181 button:hover{color:#fff!important}
body.bak-admin-session466 .adm181 .note181{color:var(--bak-muted467)!important}
body.bak-admin-session466 .adm181 .section-head181 small{
 color:var(--bak-muted467)!important
}
/* Work/customer/quote workspace has the same list-to-detail rhythm. */
body.bak-admin-session466 .simple257 .s257-top,
body.bak-admin-session466 .of300 .of300-header{margin:4px 0 20px!important}
body.bak-admin-session466 .simple257 .s257-item{
 border-radius:10px!important;padding:14px 13px!important
}
body.bak-admin-session466 .simple257 .s257-detail{padding-top:8px!important}
body.bak-admin-session466 .simple257 .s257-detail-header{padding-bottom:18px!important}
body.bak-admin-session466 .simple257 .s257-detail-header h2{
 margin:13px 0 9px!important
}
body.bak-admin-session466 .of300 .of300-header h1{margin:5px 0 10px!important}
body.bak-admin-session466 .of300 .of300-row{
 padding:14px 12px!important;border-radius:9px!important
}
body.bak-admin-session466 .of300 .of300-detail{
 padding:8px 0 45px!important
}
body.bak-admin-session466 .of300 .of300-form{
 max-width:900px
}
body.bak-admin-session466 .qs261{
 gap:16px!important
}
body.bak-admin-session466 .qs261 .qs261-question{
 font-size:var(--bak-type-body467)!important;
 font-weight:650!important
}
body.bak-admin-session466 .qs261 .qs261-actions button{
 min-height:43px
}
/* Directory and support: these modules also use the full available width. */
body.bak-admin-session466 .dir330{
 max-width:none!important;width:100%!important;
 margin:4px 0 45px!important
}
body.bak-admin-session466 .bak-adminsupport373{
 max-width:none!important;width:100%!important;
 margin:4px 0 38px!important;
 border:1px solid var(--bak-border467)!important;
 border-radius:12px!important;
 background:transparent!important;
 padding:22px 24px!important
}
body.bak-admin-session466 .bak-adminsupport-head373 h2{margin:0 0 9px!important}
body.bak-admin-session466 .dir330 .dir330-header h1{margin:4px 0 8px!important}
body.bak-admin-session466 .office304-finance{
 margin-top:4px!important
}
body.bak-admin-session466 .shell :is(
 .bak-slots85,
 .office304-finance,
 .dir330,
 .bak-adminsupport373
){font-size:var(--bak-type-body467)!important}
/* Preserve the official quotation document (white PDF proof), its typographic
   hierarchy and paper table. It is NOT the admin UI design system. */
/* The official quotation's paper typesetting is handled by its own CSS.
   All preceding global type rules explicitly exclude descendants of paper. */
@media(max-width:1180px){
 body.bak-admin-session466 .shell{
  padding-right:clamp(28px,4vw,58px)!important
 }
}
@media(max-width:980px){
 body.bak-admin-session466 .shell{
  padding:15px clamp(18px,3.8vw,34px) 52px!important
 }
 body.bak-admin-session466 .adm181 .stats181{gap:10px!important}
 body.bak-admin-session466 .simple257 .s257-top,
 body.bak-admin-session466 .of300 .of300-header{margin-top:12px!important}
 body.bak-admin-session466 .bak-adminsupport373{padding:18px!important}
}
@media(max-width:700px){
 body.bak-admin-session466 .shell{
  padding:15px 18px 42px!important
 }
 body.bak-admin-session466 .adm181 .head181 h1{
  font-size:var(--bak-type-title467)!important
 }
 body.bak-admin-session466 .adm181 .stats181{gap:8px!important}
 body.bak-admin-session466 .adm181 .metric181{
  min-height:104px!important;padding:14px!important
 }
 body.bak-admin-session466 .adm181 .metric181 strong{
  font-size:var(--bak-type-title467)!important
 }
 body.bak-admin-session466 .shell :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  select,textarea
 ){font-size:16px!important} /* Safari iOS prevents auto zoom */
}
/* Never restyle the HTML/body of a signed-out admin; password recovery remains
   in its previously verified layout. No changes to Customer/Professional. */

/* V508: mobile touch selection uses only the existing neutral active border.
   Suppress browser persistent focus outline on touch; keep a single visible
   focus indicator for keyboard/fine-pointer navigation. */
@media (hover:none) and (pointer:coarse){
 body.bak-admin-session466 .bak-admin-sidebar466 .bak-admin-rail-btn466:focus-visible,
 body.bak-admin-session466 .bak-admin-sidebar466 .bak-admin-sub-btn466:focus-visible{
  outline:none!important;outline-offset:0!important;box-shadow:none!important
 }
}
