/* El Jefe’s operations workspace. Loaded only by the isolated demo layouts. */
@font-face { font-family:'Jefes Display'; src:url('../fonts/jefes-display.ttf') format('truetype'); font-weight:700; font-style:normal; font-display:swap; }
:root {
    --jefes-red:#C24544; --jefes-red-hover:#A63837; --jefes-yellow:#F2E6AA;
    --jefes-white:#FFFEFA; --jefes-ink:#242321; --jefes-muted:#6D6964; --jefes-border:#E5E0D8;
    --jefes-surface:#F5F3EE; --jefes-soft:#FBEEEB;
    --brand-white:#fff; --brand-off-white:var(--jefes-surface); --brand-black:var(--jefes-ink);
    --brand-gray:var(--jefes-muted); --brand-slate:var(--jefes-ink); --brand-mint:var(--jefes-red);
    --brand-mint-hover:var(--jefes-red-hover); --brand-mint-soft:var(--jefes-soft); --brand-lemon:var(--jefes-yellow);
    --brand-teal:var(--jefes-red); --nav-accent:var(--jefes-red); --nav-accent-hover:var(--jefes-red-hover); --nav-accent-rgb:194,69,68;
    --color-bg:var(--jefes-surface); --color-surface:#fff; --color-primary:var(--jefes-red); --color-secondary:#fff;
    --color-accent:var(--jefes-yellow); --color-text:var(--jefes-ink); --color-muted:var(--jefes-muted);
    --border-color:var(--jefes-border); --text-secondary:var(--jefes-muted); --bg-secondary:var(--jefes-surface);
    --radius:12px; --radius-sm:8px; --sidebar-width:246px;
    --jefes-display:'Jefes Display','Arial Narrow',Impact,sans-serif;
}
body { color:var(--jefes-ink); background:var(--jefes-surface); font-family:Inter,Arial,sans-serif; -webkit-font-smoothing:antialiased; }
*,*::before,*::after { box-sizing:border-box; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid var(--jefes-red); outline-offset:3px; }
.jefes-admin .app-main { min-width:0; }
.jefes-admin .app-content { max-width:1600px; padding:32px 36px 48px; min-width:0; }
.jefes-admin .topbar { min-height:80px; padding:16px 36px; background:var(--jefes-white); border-bottom:1px solid var(--jefes-border); box-shadow:none; gap:16px; }
.jefes-admin .topbar-left { min-width:0; }
.jefes-admin .topbar-right { gap:14px; min-width:0; }
.jefes-admin .topbar-search { max-width:340px; }
.jefes-admin .topbar-search input { background:var(--jefes-surface); border:1px solid transparent; border-radius:8px; font-size:12px; min-height:44px; }
.jefes-admin .topbar-profile-trigger { min-width:44px; min-height:44px; }
.jefes-admin .user-avatar { background:var(--jefes-yellow); color:var(--jefes-ink); font-weight:700; }
.jefes-admin #location-context { min-height:44px; background:#fff; font-size:12px; border-radius:8px; }
.jefes-admin .jefes-location-link { display:none; }
.jefes-admin .topbar-menu-btn,.jefes-admin .sidebar-close { min-width:44px; min-height:44px; }
.jefes-sidebar { background:var(--jefes-white); border-right:1px solid var(--jefes-border); }
.jefes-sidebar .sidebar-header { min-height:102px; padding:23px 22px; border:0; }
.jefes-sidebar .sidebar-logo { display:flex; align-items:flex-start; flex-direction:column; gap:7px; }
.jefes-sidebar .sidebar-logo img { width:146px; height:58px; object-fit:contain; }
.jefes-wordmark { font:900 0/.95 var(--jefes-display); letter-spacing:-.8px; color:var(--jefes-red); }
.jefes-wordmark small { display:block; margin-top:0; font:700 8px/1.2 Inter,Arial,sans-serif; letter-spacing:1.2px; color:var(--jefes-muted); }
.jefes-sidebar .sidebar-nav { padding:6px 14px 18px; overflow-y:auto; }
.jefes-sidebar .sidebar-nav:not(.is-filtering) { overflow-y:auto; min-height:0; flex:1 1 auto; overscroll-behavior:contain; }
.jefes-sidebar .sidebar-header,.jefes-sidebar-bottom,.jefes-nav-account { flex-shrink:0; }
.jefes-sidebar .nav-section { margin:0 0 20px; padding:0; }
.jefes-nav-label { margin:12px 10px 8px; font-size:10px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#817A72; }
.jefes-sidebar .nav-item { min-height:44px; padding:11px 12px; gap:12px; margin:3px 0; border-radius:7px; color:#55504B; font-size:12px; font-weight:500; transition:background .15s,color .15s; }
.jefes-sidebar .nav-item i,.jefes-sidebar .nav-item svg { width:18px; height:18px; opacity:1; color:currentColor; stroke-width:1.7; transform:none; }
.jefes-sidebar .nav-item:hover { background:#F0EDE6; color:var(--jefes-ink); }
.jefes-sidebar .nav-item.active { background:var(--jefes-soft); color:var(--jefes-red); font-weight:700; box-shadow:inset 3px 0 var(--jefes-red); }
.jefes-sidebar .nav-item::before,.jefes-sidebar .nav-item::after { display:none; }
.jefes-sidebar-bottom { display:flex; gap:10px; align-items:center; margin:0 20px 16px; padding:14px 0; border-top:1px solid var(--jefes-border); }
.jefes-demo-dot { width:7px; height:7px; border-radius:50%; background:var(--jefes-red); flex:none; }
.jefes-sidebar-bottom strong { display:block; font-size:11px; }
.jefes-sidebar-bottom small { display:block; margin-top:3px; font-size:9px; color:var(--jefes-muted); }
.jefes-nav-account { display:flex; align-items:center; gap:10px; padding:16px 20px; border-top:1px solid var(--jefes-border); font-size:12px; font-weight:600; }
.jefes-nav-account>span:nth-child(2) { flex:1; }
.jefes-nav-account small { display:block; color:var(--jefes-muted); font-size:10px; font-weight:400; margin-top:3px; }
.jefes-nav-account>svg { width:16px; color:var(--jefes-muted); }
.jefes-admin h1,.jefes-admin .page-heading,.jefes-admin .page-header h1,.jefes-admin .page-header h2 { font-family:var(--jefes-display); font-weight:800; letter-spacing:-.8px; color:var(--jefes-ink); }
.jefes-admin .page-heading,.jefes-admin .page-header h1,.jefes-admin .page-header h2 { font-size:32px; line-height:1.15; }
.jefes-admin .page-header { margin-bottom:24px; gap:16px; }
.jefes-admin .card { background:#fff; border:1px solid var(--jefes-border); border-radius:12px; box-shadow:0 2px 2px rgb(36 35 33 / 2%); overflow:visible; }
.jefes-admin .card-header { padding:18px 22px; border-bottom:1px solid var(--jefes-border); background:transparent; border-radius:12px 12px 0 0; }
.jefes-admin .card-title { font-size:14px; font-weight:700; letter-spacing:-.1px; }
.jefes-admin .card-body { padding:22px; }
.btn-primary,.auth-card .btn-primary { background:var(--jefes-red)!important; border-color:var(--jefes-red)!important; color:#fff!important; }
.btn-primary:hover,.auth-card .btn-primary:hover { background:var(--jefes-red-hover)!important; border-color:var(--jefes-red-hover)!important; }
.jefes-admin .btn,.jefes-auth .btn { min-height:44px; border-radius:7px; padding:11px 16px; font-size:12px; font-weight:600; gap:7px; box-shadow:none; }
.jefes-admin .btn svg { width:16px; height:16px; }
.jefes-admin .btn-secondary { background:#fff; color:var(--jefes-ink); border:1px solid #D9D3C9; }
.jefes-admin .btn-secondary:hover { background:var(--jefes-surface); border-color:#B8ADA0; }
.jefes-admin .btn-icon { min-width:44px; min-height:44px; border-radius:7px; }
.jefes-admin .form-input,.jefes-admin .form-select,.jefes-admin select:not([size]),.jefes-auth .form-input { min-height:44px; border:1px solid #DAD5CC; border-radius:7px; background:#fff; color:var(--jefes-ink); padding:10px 12px; font-size:13px; }
.jefes-admin .form-input:focus,.jefes-admin .form-select:focus,.jefes-auth .form-input:focus { border-color:var(--jefes-red); box-shadow:0 0 0 3px rgb(194 69 68 / 9%); }
.jefes-admin .form-label { font-size:12px; font-weight:600; color:#4C4842; margin-bottom:7px; }
.jefes-admin .form-group { min-width:0; }
.jefes-admin .form-row { gap:18px; }
.jefes-admin input[type=checkbox],.jefes-admin input[type=radio],.jefes-auth input[type=checkbox] { accent-color:var(--jefes-red); }
.jefes-admin .badge { font-size:10px; padding:5px 9px; letter-spacing:.01em; border-radius:5px; }
.jefes-admin table { font-size:12px; font-variant-numeric:tabular-nums; }
.jefes-admin table th { color:var(--jefes-muted); background:#FAF9F5; font-size:10px; font-weight:600; letter-spacing:.04em; }
.jefes-admin table td { border-color:var(--jefes-border); padding-top:15px; padding-bottom:15px; }
.jefes-admin table tbody tr:hover { background:#FDFCF8; }
.jefes-admin .alert { border-radius:8px; font-size:12px; padding:14px 18px; }
.jefes-admin .form-sticky-header { position:static; background:transparent; border:0; box-shadow:none; padding:0 0 24px; gap:18px; }
.jefes-admin .form-sticky-left { min-width:0; }
.jefes-admin .form-sticky-actions { gap:8px; }
.jefes-builder-steps { display:flex; gap:30px; padding:16px 20px; margin-bottom:24px; background:var(--jefes-white); border:1px solid var(--jefes-border); border-radius:10px; }
.jefes-builder-steps span { display:flex; gap:9px; align-items:center; font-size:11px; font-weight:600; color:var(--jefes-muted); }
.jefes-builder-steps b { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; background:var(--jefes-yellow); color:var(--jefes-ink); font-size:10px; }
.jefes-admin #order-form { min-width:0; }
.jefes-admin #order-form>.form-group { display:block; max-width:380px; margin-bottom:24px; font-size:12px; font-weight:600; }
.jefes-admin #order-form>.form-group select { display:block; margin-top:8px; width:100%; }
.jefes-admin #order-form .form-column-main { min-width:0; }
.jefes-admin .order-summary-card { border-top:3px solid var(--jefes-red); }
.jefes-admin .summary-totals { font-variant-numeric:tabular-nums; }
.jefes-admin .detail-row { padding:8px 0; font-size:12px; gap:12px; }
.jefes-admin .detail-row-total { padding-top:16px; margin-top:12px; border-top:1px solid var(--jefes-border); font-size:20px; font-weight:700; }
.jefes-admin #payment-card label:has(input[type=radio]) { min-height:44px; padding:12px!important; margin-bottom:8px; border:1px solid var(--jefes-border); border-radius:7px; }
.jefes-admin #payment-card label:has(input[type=radio]:checked) { border-color:var(--jefes-red); background:#FFFAF8; }
.jefes-admin .form-grid-single .order-summary-card { max-width:none; }
.jefes-kicker { margin:0 0 8px; color:var(--jefes-muted); font-size:10px; line-height:1.4; font-weight:650; text-transform:uppercase; letter-spacing:.085em; }
.jefes-kicker span { color:#8D857B; font-weight:400; letter-spacing:0; text-transform:none; }
.jefes-dashboard { display:grid; gap:24px; min-width:0; }
.jefes-overview-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.jefes-overview-heading h1 { margin:0 0 7px; font-size:44px; line-height:1.03; }
.jefes-overview-heading>div>p:last-child { color:var(--jefes-muted); font-size:12px; margin:0; }
.jefes-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.jefes-service-bar { display:grid; grid-template-columns:210px minmax(0,1fr) 210px; align-items:center; gap:24px; padding:24px; border-radius:12px; background:#fff; border:1px solid var(--jefes-border); border-left:4px solid var(--jefes-red); }
.jefes-service-count>div { display:flex; align-items:center; gap:14px; }
.jefes-service-count strong { font:800 68px/.95 var(--jefes-display); letter-spacing:-2px; }
.jefes-service-count>div>span { font-size:11px; color:var(--jefes-muted); line-height:1.7; }
.jefes-financial-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:0; border-left:1px solid var(--jefes-border); padding-left:28px; }
.jefes-financial-summary dt { font-size:10px; color:var(--jefes-muted); margin-bottom:7px; }
.jefes-financial-summary dd { margin:0; font-size:22px; font-weight:650; letter-spacing:-.7px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.jefes-financial-summary dd span { font-size:10px; font-weight:400; letter-spacing:0; }
.jefes-financial-summary small { display:block; font-size:9px; color:#8D857B; margin-top:5px; }
.jefes-service-link { display:flex; gap:12px; align-items:center; padding:17px; background:var(--jefes-yellow); border-radius:8px; }
.jefes-service-link>svg:first-child { width:25px; height:25px; }
.jefes-service-link>svg:last-child { width:15px; margin-left:auto; flex:none; }
.jefes-service-link span { font-size:10px; }
.jefes-service-link strong { display:block; font-size:11px; margin-top:4px; }
.jefes-overview-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
.jefes-panel { border:1px solid var(--jefes-border); background:#fff; border-radius:12px; min-width:0; overflow:hidden; }
.jefes-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:22px 24px 18px; }
.jefes-panel-heading .jefes-kicker { margin-bottom:5px; font-size:9px; }
.jefes-panel h2,.jefes-proposal-strip h2 { margin:0; font-size:17px; line-height:1.2; font-weight:650; letter-spacing:-.4px; }
.jefes-text-link { display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:600; color:var(--jefes-red); white-space:nowrap; min-height:44px; }
.jefes-text-link svg { width:13px; height:13px; }
.jefes-location-list { padding:0 24px; }
.jefes-location-row { display:flex; align-items:center; gap:12px; padding:17px 0; border-top:1px solid #F0ECE6; }
.jefes-location-symbol { display:grid; place-items:center; width:36px; height:36px; border-radius:8px; background:var(--jefes-surface); color:#8B7A68; flex:none; }
.jefes-location-symbol svg { width:17px; height:17px; }
.jefes-location-row h3 { margin:0 0 4px; font-size:12px; font-weight:600; }
.jefes-location-row p { margin:0; font-size:10px; color:var(--jefes-muted); }
.jefes-location-value { margin-left:auto; text-align:right; flex:none; }
.jefes-location-value strong { font-size:12px; font-weight:650; font-variant-numeric:tabular-nums; }
.jefes-location-value small { display:block; margin-top:4px; font-size:9px; color:var(--jefes-muted); }
.jefes-panel-footnote { padding:14px 24px; margin:0; color:var(--jefes-muted); background:#FCFBF8; border-top:1px solid #F0ECE6; font-size:9px; line-height:1.6; }
.jefes-queue { padding:0 24px 10px; }
.jefes-queue-row { display:flex; align-items:center; gap:12px; min-height:80px; padding:16px 0; border-top:1px solid #F0ECE6; }
.jefes-queue-row time { display:grid; justify-items:center; width:38px; flex:none; border:1px solid var(--jefes-border); border-radius:6px; padding:5px 2px; }
.jefes-queue-row time strong { font-size:18px; line-height:1.1; }
.jefes-queue-row time span { font-size:8px; text-transform:uppercase; letter-spacing:.06em; color:var(--jefes-muted); }
.jefes-queue-info { min-width:0; flex:1; }
.jefes-queue-info h3 { font-size:12px; margin:0 0 4px; overflow-wrap:anywhere; }
.jefes-queue-info p { font-size:10px; color:var(--jefes-muted); margin:0; }
.jefes-queue-info small { color:#8D857B; font-size:9px; }
.jefes-queue-row>svg { width:14px; flex:none; color:#A89E91; }
.jefes-status { display:inline-flex; align-items:center; border:1px solid #E4DED2; background:#F9F7F1; color:#625748; padding:4px 7px; font-size:9px; font-weight:550; border-radius:5px; line-height:1.5; }
.jefes-empty { display:flex; min-height:260px; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:30px; }
.jefes-empty>svg { width:30px; height:30px; color:#AC9B83; margin-bottom:16px; }
.jefes-empty h3 { margin:0 0 7px; font-size:15px; }
.jefes-empty p { font-size:11px; color:var(--jefes-muted); max-width:290px; margin:0 0 18px; line-height:1.7; }
.jefes-empty-inline { min-height:150px; flex-direction:row; gap:18px; text-align:left; }
.jefes-empty-inline>svg { flex:none; margin:0; }
.jefes-empty-inline p { max-width:450px; margin:0; }
.jefes-proposal-strip { display:flex; align-items:center; gap:25px; border:1px solid #E7DCA1; border-radius:12px; padding:20px 24px; background:#FBF7E1; }
.jefes-proposal-strip>div:first-child { display:flex; gap:14px; align-items:center; }
.jefes-proposal-strip>div:first-child>svg { width:24px; color:#887336; flex:none; }
.jefes-proposal-strip h2 { font-size:14px; }
.jefes-proposal-strip p { font-size:10px; color:#7E7353; margin:5px 0 0; }
.jefes-quote-counts { display:flex; flex:1; flex-wrap:wrap; gap:8px; justify-content:center; font-size:10px; color:#7E7353; }
.jefes-quote-counts>span:has(strong) { padding:7px 11px; background:var(--jefes-white); border-radius:5px; border:1px solid #ECE3BA; }
.jefes-quote-counts strong { margin-left:10px; font-size:13px; color:var(--jefes-ink); }
.jefes-table { overflow-x:auto; max-width:100%; }
.jefes-table table { width:100%; border-collapse:collapse; text-align:left; }
.jefes-table th,.jefes-table td { padding:14px 24px; border-bottom:1px solid #F0ECE6; vertical-align:middle; }
.jefes-table th { font-size:9px; text-transform:uppercase; white-space:nowrap; }
.jefes-table td { font-size:11px; }
.jefes-table td a { color:var(--jefes-red); font-weight:650; }
.jefes-table small { display:block; font-size:10px; color:var(--jefes-muted); margin-top:3px; }
.jefes-table tbody tr:last-child td { border:0; }
.jefes-align-right { text-align:right!important; font-variant-numeric:tabular-nums; white-space:nowrap; }
.jefes-demo-note { display:flex; align-items:center; gap:9px; font-size:10px; color:var(--jefes-muted); }
.jefes-demo-note svg { width:14px; flex:none; }
.jefes-demo-note a { margin-left:auto; color:var(--jefes-red); font-weight:600; white-space:nowrap; min-height:44px; display:flex; align-items:center; }
.jefes-admin .operations-filters { background:#fff; border:1px solid var(--jefes-border); border-radius:10px; padding:18px; margin:24px 0; gap:12px; }
.jefes-admin .operations-filters label { font-size:11px; font-weight:600; flex:1 1 130px; }
.jefes-admin .operations-filters input,.jefes-admin .operations-filters select { margin-top:7px; width:100%; }
.jefes-admin .operations-table { border:1px solid var(--jefes-border); border-radius:10px; background:#fff; }
.jefes-admin .operations-table th,.jefes-admin .operations-table td { padding:14px 18px; border-color:var(--jefes-border); }
.jefes-admin .operations-table td { overflow-wrap:normal; }
.jefes-admin .operations-table td:first-child { font-weight:550; }
.jefes-admin .notification-message { padding:24px; }
.jefes-admin .notification-message h3 { font-size:15px; }
.jefes-admin .notification-meta { font-size:10px; padding-bottom:12px; border-bottom:1px solid var(--jefes-border); }
.jefes-admin details summary { cursor:pointer; min-height:44px; padding:12px 0; font-size:12px; font-weight:600; }
.jefes-admin .notification-message pre { background:var(--jefes-surface); font-size:12px; }
.auth-footer a,.form-label-link { color:var(--jefes-red); }
.jefes-auth { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); background:var(--jefes-white); min-height:100svh; padding:0; }
.jefes-auth-intro { min-height:100svh; padding:70px 12%; background:var(--jefes-red); color:var(--jefes-white); display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden; }
.jefes-auth-intro::after { content:'EL JEFE’S'; position:absolute; bottom:10px; right:-15px; color:rgb(255 255 255 / 7%); font:900 clamp(80px,10vw,160px)/1 var(--jefes-display); white-space:nowrap; pointer-events:none; }
.jefes-auth-intro .jefes-kicker { color:var(--jefes-yellow); font-size:10px; }
.jefes-auth-intro h1 { font:900 clamp(36px,4.3vw,64px)/1.03 var(--jefes-display); letter-spacing:-1.4px; margin:28px 0 24px; }
.jefes-auth-intro>p { font-size:13px; line-height:1.7; max-width:280px; color:#F5D8D0; }
.jefes-auth-note { display:flex; align-items:center; gap:15px; margin-top:65px; color:var(--jefes-yellow); font-size:11px; line-height:1.7; }
.jefes-auth-note svg { width:25px; height:25px; }
.jefes-auth .auth-container { width:min(420px,100%); max-width:none; justify-self:center; align-self:center; padding:45px 30px; }
.jefes-auth .auth-card { background:transparent; border:0; box-shadow:none; padding:0; }
.jefes-auth .auth-logo { justify-content:flex-start; margin-bottom:35px; }
.jefes-auth .auth-logo img { width:160px; max-height:75px; object-fit:contain; margin:0 auto; }
.jefes-auth .auth-title { text-align:left; color:var(--jefes-ink); font:800 34px/1.1 var(--jefes-display); letter-spacing:-.6px; }
.jefes-auth .auth-subtitle { text-align:left; font-size:12px; color:var(--jefes-muted); margin:12px 0 28px; }
.jefes-auth .form-label { font-size:12px; }
.jefes-auth .auth-footer { font-size:10px; color:var(--jefes-muted); margin-top:35px; }
.jefes-auth .btn-full { width:100%; margin-top:12px; }
.jefes-admin .jefes-house { display:grid; gap:22px; min-width:0; }
.jefes-admin .jefes-house .page-header { margin:0; }
.jefes-admin .jefes-house>p { margin:-12px 0 0; font-size:12px; color:var(--jefes-muted); }
.jefes-admin .jefes-house .card-body>h3 { font-size:16px; margin:0 0 18px; }
.jefes-admin .jefes-house .card-body>p { color:var(--jefes-muted); font-size:12px; margin:0 0 20px; }
.jefes-admin .jefes-house form { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:18px; align-items:end; }
.jefes-admin .jefes-house label { display:block; color:#4C4842; font-size:12px; font-weight:600; min-width:0; }
.jefes-admin .jefes-house .form-control { width:100%; display:block; margin-top:8px; min-height:44px; padding:11px 12px; border:1px solid #DAD5CC; border-radius:7px; background:#fff; font-size:13px; color:var(--jefes-ink); }
.jefes-admin .jefes-house textarea.form-control { min-height:85px; resize:vertical; }
.jefes-admin .jefes-house table { min-width:620px; width:100%; }
.jefes-admin .jefes-house .card:has(table) { overflow-x:auto; }
.jefes-admin .jefes-house table a { color:var(--jefes-red); font-weight:600; }
.jefes-admin .jefes-operations>h2 { font:700 36px/1.1 var(--jefes-display); margin:0 0 12px; }
.jefes-admin .jefes-operations>h3 { margin:26px 0 12px; font-size:16px; }
.jefes-admin .jefes-operations>p { font-size:12px; color:var(--jefes-muted); line-height:1.7; }
/* The picker uses inline display:flex, not an active class. Keep its footer clear. */
.jefes-admin:has(#product-picker[style*="display: flex"]) .fly-fab,
.jefes-admin:has(#modifier-modal[style*="display: flex"]) .fly-fab,
.jefes-admin:has(#product-picker[style*="display: flex"]) .fly-panel:not(.fly-page-panel),
.jefes-admin:has(#modifier-modal[style*="display: flex"]) .fly-panel:not(.fly-page-panel) { display:none!important; }
/* Standalone customer proposal retains its existing acceptance contracts. */
.jefes-proposal { background:var(--jefes-surface); color:var(--jefes-ink); }
.jefes-proposal main { border:1px solid var(--jefes-border); box-shadow:0 8px 40px rgb(36 35 33 / 5%); padding:40px; }
.jefes-proposal-brand { display:flex; justify-content:space-between; align-items:center; gap:18px; padding-bottom:25px; border-bottom:1px solid var(--jefes-border); }
.jefes-proposal-brand img { width:130px; max-height:60px; object-fit:contain; }
.jefes-proposal-brand>div { text-align:right; }
.jefes-proposal-brand span { font-size:10px; color:var(--jefes-muted); }
.jefes-proposal h1 { font:700 46px/1.05 var(--jefes-display); letter-spacing:-.8px; color:var(--jefes-ink); margin:28px 0 20px; }
.jefes-proposal h2 { font-size:18px; color:var(--jefes-ink); margin-top:28px; }
.jefes-proposal .muted { font-size:11px; letter-spacing:.03em; color:var(--jefes-muted); }
.jefes-proposal table { font-size:13px; font-variant-numeric:tabular-nums; }
.jefes-proposal .terms { border-left:3px solid var(--jefes-yellow); font-size:13px; line-height:1.7; }
.jefes-proposal button { background:var(--jefes-red); color:#fff; min-height:44px; border-radius:7px; }
.jefes-proposal button:hover { background:var(--jefes-red-hover); }
.jefes-proposal .secondary { background:var(--jefes-yellow); color:var(--jefes-ink); }
.jefes-proposal .terms { background:#FBF7E1; }
@media(min-width:1025px) { .jefes-sidebar .sidebar-close { display:none; } }
@media(max-width:1250px) {
    .jefes-service-bar { grid-template-columns:160px minmax(0,1fr); gap:20px; }
    .jefes-service-link { grid-column:1/-1; padding:12px 16px; }
    .jefes-service-link strong { display:inline; margin:0 0 0 6px; }
    .jefes-overview-heading { align-items:flex-start; flex-direction:column; gap:18px; }
    .jefes-overview-grid { grid-template-columns:minmax(0,1fr); }
    .jefes-admin .topbar { padding:16px 24px; }
}
@media(max-width:1024px) { .jefes-admin .app-main { margin-left:0; } .jefes-admin .app-content { padding:26px 24px 40px; } .jefes-sidebar { transform:translateX(-100%); visibility:hidden; height:100svh; } .jefes-sidebar.open { transform:translateX(0); visibility:visible; } .jefes-admin .topbar-menu-btn,.jefes-sidebar .sidebar-close { display:flex; align-items:center; justify-content:center; } .jefes-admin .sidebar-overlay.open { display:block; position:fixed; inset:0; background:rgb(36 35 33 / 35%); z-index:99; } }
@media(max-width:700px) {
    .jefes-admin .app-content { padding:24px 16px 36px; }
    .jefes-admin .topbar { padding:12px 16px; min-height:72px; gap:8px; }
    .jefes-admin .topbar-search { display:none; }
    .jefes-admin .topbar-right { margin-left:auto; gap:8px!important; }
    .jefes-admin .topbar-right>.topbar-profile-container:first-of-type { display:none!important; }
    .jefes-admin #location-context { max-width:190px; min-height:44px; }
    .jefes-overview-heading h1 { font-size:37px; }
    .jefes-overview-heading .jefes-kicker span { display:block; margin-top:4px; }
    .jefes-actions { width:100%; }
    .jefes-actions .btn { flex:1 1 140px; justify-content:center; padding-left:10px; padding-right:10px; }
    .jefes-service-bar { grid-template-columns:minmax(0,1fr); padding:20px; gap:20px; }
    .jefes-service-count { display:flex; align-items:center; gap:22px; }
    .jefes-service-count>.jefes-kicker { max-width:85px; margin:0; }
    .jefes-service-count strong { font-size:58px; }
    .jefes-financial-summary { grid-template-columns:minmax(0,1fr); padding:18px 0 0; border-left:0; border-top:1px solid var(--jefes-border); gap:16px; }
    .jefes-financial-summary>div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); column-gap:16px; align-items:baseline; }
    .jefes-financial-summary dt { margin:0; font-size:11px; }
    .jefes-financial-summary dd { font-size:22px; text-align:right; min-width:0; white-space:normal; overflow-wrap:anywhere; }
    .jefes-financial-summary small { grid-column:1/-1; font-size:9px; line-height:1.5; margin-top:3px; }
    .jefes-financial-summary dd span { display:none; }
    .jefes-service-link { grid-column:auto; }
    .jefes-panel-heading { padding:20px 18px 15px; }
    .jefes-panel h2 { font-size:16px; }
    .jefes-location-list,.jefes-queue { padding-left:18px; padding-right:18px; }
    .jefes-location-row { gap:9px; }
    .jefes-location-row h3 { font-size:11px; }
    .jefes-location-row p { font-size:9px; }
    .jefes-location-value strong { font-size:11px; }
    .jefes-location-value small { font-size:8px; }
    .jefes-location-symbol { width:30px; height:30px; }
    .jefes-queue-row .jefes-status { display:none; }
    .jefes-proposal-strip { flex-wrap:wrap; padding:20px; gap:12px; }
    .jefes-proposal-strip>div:first-child { flex:1 1 100%; }
    .jefes-quote-counts { justify-content:flex-start; }
    .jefes-table table { min-width:650px; }
    .jefes-demo-note { align-items:flex-start; flex-wrap:wrap; line-height:1.7; }
    .jefes-demo-note span { flex:1; }
    .jefes-demo-note a { margin:0 0 0 23px; }
    .jefes-admin .form-sticky-header { flex-wrap:wrap; padding-bottom:20px; }
    .jefes-admin .form-sticky-left { flex:1 1 100%; gap:9px; }
    .jefes-admin .form-sticky-left h2 { font-size:26px; }
    .jefes-admin .form-sticky-actions { width:100%; display:flex; }
    .jefes-admin .form-sticky-actions .btn { flex:1; justify-content:center; }
    .jefes-builder-steps { gap:16px; padding:14px 12px; }
    .jefes-builder-steps span { gap:6px; font-size:9px; }
    .jefes-builder-steps b { width:20px; height:20px; }
    .jefes-admin .card-header { padding:16px; }
    .jefes-admin .card-body { padding:18px 16px; }
    .jefes-admin .form-row { flex-wrap:wrap; }
    .jefes-admin .form-row>.form-group { flex:1 1 100%; }
    .jefes-admin .form-column-side,.jefes-admin .order-summary-card { position:static!important; }
    .jefes-auth { display:block; }
    .jefes-auth-intro { min-height:0; padding:30px 28px; }
    .jefes-auth-intro h1 { font-size:34px; margin:14px 0; }
    .jefes-auth-intro>p { font-size:11px; margin:0; }
    .jefes-auth-note { display:none; }
    .jefes-auth .auth-container { margin:0 auto; padding:35px 26px; }
    .jefes-auth .auth-logo { margin-bottom:25px; }
    .jefes-auth .auth-logo img { max-height:60px; width:130px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none!important; animation:none!important; scroll-behavior:auto!important; } }
@media print { .jefes-admin .sidebar,.jefes-admin .topbar,.jefes-admin .no-print { display:none!important; } .jefes-admin .app-main { margin:0; } .jefes-admin .app-content { padding:0; } .jefes-admin .operations-table { overflow:visible; border:0; } }
