/* Gabra administration: visual system adapted from Long Pause Media.
   Intentionally scoped: the shared attendee/speaker/sponsor CSS is untouched. */
html.gabra-lpm-ui {
  color-scheme:dark; --bg:#050b15; --text:#f5f9ff; --muted:rgba(224,236,250,.74);
  --muted2:rgba(174,195,221,.58); --border:rgba(153,191,230,.14);
  --card:rgba(13,28,49,.74); --card2:rgba(18,37,63,.54);
  --brand1:#42c8ff; --brand2:#1e9fe7; --brand3:#72ddff;
  --grad:linear-gradient(135deg,#59d4ff,#259fe9); --grad-strong:linear-gradient(135deg,#84e2ff,#42baff);
  --radius:18px; --shadow:0 1px 0 rgba(255,255,255,.035),0 16px 38px rgba(0,0,0,.20);
  --focus:0 0 0 3px rgba(66,200,255,.22);
  --gabra-line:rgba(153,191,230,.14); --gabra-sidebar:264px; --gabra-header:64px;
}
html.gabra-lpm-ui body {
  color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background-color:var(--bg);font-size:14px;line-height:1.55;
  background-image:radial-gradient(circle at 8% -8%,rgba(50,188,255,.18),transparent 31rem),radial-gradient(circle at 98% 1%,rgba(102,83,255,.16),transparent 37rem),radial-gradient(circle at 55% 110%,rgba(21,111,183,.13),transparent 40rem),linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(180deg,#07111f 0%,#050b15 55%,#030811 100%);
  background-size:auto,auto,auto,48px 48px,48px 48px,auto;background-attachment:fixed;
}
html.gabra-lpm-ui body::before{display:none}
html.gabra-lpm-ui *{scrollbar-color:rgba(120,179,228,.4) rgba(3,10,20,.25)}
html.gabra-lpm-ui ::selection{background:rgba(69,199,255,.38);color:#fff}
html.gabra-lpm-ui :focus-visible{outline:2px solid #75e0ff;outline-offset:3px}
html.gabra-lpm-ui .skip:focus{z-index:20000}
html.gabra-lpm-ui h1,html.gabra-lpm-ui h2,html.gabra-lpm-ui h3{color:#f5f9ff;letter-spacing:-.025em}
html.gabra-lpm-ui h1{font-size:clamp(25px,2.3vw,34px);line-height:1.2;font-weight:750}
html.gabra-lpm-ui h2{font-size:20px;line-height:1.3;font-weight:700}
html.gabra-lpm-ui h3{font-size:16px;font-weight:700}
html.gabra-lpm-ui .muted{color:var(--muted)}
html.gabra-lpm-ui .small{font-size:13px}
html.gabra-lpm-ui .gabra-topbar{position:sticky;top:0;z-index:220;min-height:64px;display:grid;grid-template-columns:244px minmax(180px,640px) minmax(180px,1fr);gap:20px;align-items:center;padding:0 22px 0 16px;background:rgba(4,10,19,.95);border-bottom:1px solid rgba(132,184,229,.13);box-shadow:0 8px 28px rgba(0,0,0,.18);backdrop-filter:blur(22px)}
.gabra-brand-area{display:flex;align-items:center;gap:10px;min-width:0}
html.gabra-lpm-ui .gabra-brand{display:flex;align-items:center;gap:10px;min-width:0;color:#f7fbff;font-size:17px;font-weight:850;letter-spacing:-.02em;text-decoration:none}
.gabra-brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gabra-brand-mark{display:grid;place-items:center;color:#69dcff;font-size:25px;flex-shrink:0}
.gabra-workspace{min-width:0}
html.gabra-lpm-ui .gabra-tenant-form{display:flex;align-items:center;gap:12px;max-width:480px;margin:0;padding:7px 12px;border:1px solid rgba(132,184,229,.14);border-radius:12px;background:rgba(17,33,52,.55)}
.gabra-tenant-form>svg{flex:0 0 22px;color:#9cb9d5}
html.gabra-lpm-ui .gabra-tenant-form label{display:grid;gap:0;min-width:0;flex:1;margin:0}
.gabra-tenant-form label>span{font-size:10px;color:#8fa8c2;line-height:1.3}
html.gabra-lpm-ui .gabra-tenant-form select{padding:0 20px 0 0;min-height:23px;border:0;box-shadow:none;background-color:transparent;color:#e7f2ff;font-size:13px;font-weight:650;width:100%;border-radius:2px}
html.gabra-lpm-ui select option{background:#0c1c30;color:#f5f9ff}
.gabra-workspace-label{display:grid;line-height:1.4}.gabra-workspace-label strong{font-size:13px}.gabra-workspace-label span{font-size:11px;color:var(--muted2)}
.gabra-account{position:relative;justify-self:end;min-width:0}
.gabra-account summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:7px 0;color:#c2d4e8}
.gabra-account summary::-webkit-details-marker{display:none}
.gabra-avatar{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:linear-gradient(135deg,#1d5475,#123049);border:1px solid rgba(104,209,248,.24);border-radius:50%;color:#d8f6ff;font-size:12px;font-weight:750}
.gabra-account-copy{display:grid;min-width:0;line-height:1.4}.gabra-account-copy strong{font-size:12px;color:#edf5ff;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gabra-account-copy small{font-size:10px;color:#8fa8c2}
.gabra-account-popover{position:absolute;right:0;top:calc(100% + 8px);width:240px;padding:18px;background:#0c1c30;border:1px solid var(--border);border-radius:16px;box-shadow:0 24px 64px #0008;display:grid;gap:4px}
.gabra-account-popover>small{color:var(--muted);margin-bottom:12px}.gabra-account-popover>a{display:flex;gap:10px;align-items:center;padding:10px;border-top:1px solid var(--border);color:#d5e9fc}
html.gabra-lpm-ui .gabra-sidebar{position:fixed;top:64px;bottom:0;left:0;width:264px;z-index:210;display:flex;flex-direction:column;border-right:1px solid rgba(132,184,229,.11);background:radial-gradient(circle at 20% 0%,rgba(48,190,255,.055),transparent 15rem),linear-gradient(180deg,rgba(6,15,27,.98),rgba(4,11,20,.98))}
.gabra-sidebar-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 12px 24px;scrollbar-width:thin}
.gabra-nav-section{margin:0 0 20px}
html.gabra-lpm-ui .gabra-nav-section h2{padding:0 12px;margin:0 0 7px;color:rgba(154,183,216,.54);font-size:10px;line-height:1.5;font-weight:750;letter-spacing:.12em;text-transform:uppercase}
html.gabra-lpm-ui .gabra-nav-link{display:flex;align-items:center;gap:12px;padding:9px 12px;min-height:38px;margin:2px 0;border-radius:9px;color:rgba(210,226,244,.68);font-size:13px;font-weight:550;line-height:1.4;text-decoration:none;transition:background .15s,color .15s}
.gabra-nav-link svg{flex:0 0 19px;width:19px;height:19px;opacity:.85}
html.gabra-lpm-ui .gabra-nav-link:hover{background:rgba(65,97,128,.17);color:#f0f8ff}
html.gabra-lpm-ui .gabra-nav-link[aria-current="page"]{background:rgba(72,108,142,.24);box-shadow:inset 0 0 0 1px rgba(135,203,242,.08);color:#b0eaff}
.gabra-sidebar-footer{display:flex;align-items:center;gap:10px;padding:16px 24px;border-top:1px solid var(--border)}.gabra-sidebar-footer>div{display:grid}.gabra-sidebar-footer strong{font-size:12px;color:#c4d8ec}.gabra-sidebar-footer small{font-size:10px;color:#7692ae}
html.gabra-lpm-ui .gabra-menu-toggle,html.gabra-lpm-ui .gabra-nav-close{display:none;align-items:center;justify-content:center;width:38px;height:38px;padding:8px;border:1px solid var(--border);border-radius:50%;color:#dbeeff;background:#102239;cursor:pointer}
.gabra-menu-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.gabra-sidebar-heading{display:none}
html.gabra-lpm-ui .gabra-nav-backdrop{display:none}
html.gabra-lpm-ui body.gabra-admin .main.portal-admin-main{width:calc(100% - 264px);max-width:none;margin:0 0 0 264px;padding:30px 32px 64px;min-height:calc(100vh - 64px)}
html.gabra-lpm-ui .head-row{gap:20px;align-items:center;margin-bottom:20px}
html.gabra-lpm-ui .head-row h1{margin:0 0 6px}
html.gabra-lpm-ui .grid,html.gabra-lpm-ui .grid3{gap:20px}
/* Shared components plus the existing bespoke editor surfaces. */
html.gabra-lpm-ui :is(.card,.sp-admin-card,.sp-stat,.event-card,.session-file-card,.ops-panel,.ops-control-deck,.ops-health-console,.ops-alerts){border:1px solid var(--gabra-line);border-radius:18px;background:linear-gradient(145deg,rgba(20,42,71,.70),rgba(8,21,40,.77));box-shadow:var(--shadow)}
html.gabra-lpm-ui :is(.card,.card.pad,.sp-admin-card){padding:24px}
html.gabra-lpm-ui :is(.card,.sp-admin-card) :is(.card,.sp-admin-card){box-shadow:none;background:rgba(12,28,47,.45)}
html.gabra-lpm-ui .kpi>div{border:1px solid var(--border);border-radius:14px;background:rgba(18,37,63,.54);padding:18px}
html.gabra-lpm-ui .kpi strong{font-size:28px;letter-spacing:-.03em}
html.gabra-lpm-ui :is(.btn,.ops-action){font-family:inherit;min-height:38px;line-height:1.2;padding:10px 16px;font-size:13px;font-weight:650;border-radius:10px;color:#d5e9fc;background:rgba(23,48,75,.6);border:1px solid rgba(133,183,225,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.035);text-decoration:none}
html.gabra-lpm-ui :is(.btn,.ops-action):hover{transform:none;background:rgba(40,77,113,.65);border-color:rgba(104,209,248,.45)}
html.gabra-lpm-ui :is(.btn.primary,.ops-action.primary){color:#042035;background:var(--grad);border-color:rgba(133,224,255,.55);font-weight:750}
html.gabra-lpm-ui :is(.btn.primary,.ops-action.primary):hover{background:var(--grad-strong)}
html.gabra-lpm-ui .btn.ghost{background:transparent;color:#b2d5ef}
html.gabra-lpm-ui .btn.danger{background:rgba(211,54,86,.15);border-color:rgba(255,143,162,.27);color:#ffabb9}
html.gabra-lpm-ui .btn.small{min-height:32px;font-size:12px;padding:7px 11px;border-radius:9px}
html.gabra-lpm-ui :is(button,input,select,textarea):disabled{opacity:.5;cursor:not-allowed}
html.gabra-lpm-ui :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea){font-family:inherit;font-size:14px;color:#edf6ff;background:rgba(4,14,28,.64);border:1px solid rgba(153,191,230,.21);border-radius:10px;padding:10px 12px;box-shadow:inset 0 1px 3px rgba(0,0,0,.12);min-width:0;max-width:100%}
html.gabra-lpm-ui :is(input,select,textarea):focus{border-color:rgba(66,200,255,.66);box-shadow:var(--focus)}
html.gabra-lpm-ui :is(input,textarea)::placeholder{color:#718aa4}
html.gabra-lpm-ui :is(input[type=checkbox],input[type=radio]){accent-color:#42c8ff}
html.gabra-lpm-ui .table-wrap{border:1px solid var(--border);border-radius:14px;overflow-x:auto}
html.gabra-lpm-ui table{border-collapse:collapse;width:100%;font-size:13px;background:transparent}
html.gabra-lpm-ui th{padding:13px 16px;background:rgba(4,15,29,.65);color:#8fa9c5;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid var(--border)}
html.gabra-lpm-ui td{padding:15px 16px;border-bottom:1px solid rgba(153,191,230,.10);color:#d6e6f8}
html.gabra-lpm-ui tbody tr:hover{background:rgba(49,99,144,.10)}
html.gabra-lpm-ui td a:not(.btn){color:#8bdfff}
html.gabra-lpm-ui :is(.tabs,.pill-row){gap:8px}
html.gabra-lpm-ui :is(.pill-btn,.tab){border-radius:10px;border-color:var(--border);background:rgba(18,37,63,.4);color:#a9c0d9}
html.gabra-lpm-ui :is(.pill-btn.is-active,.tab.active,.tab.is-active){background:rgba(66,200,255,.13);border-color:rgba(66,200,255,.32);color:#a7eaff}
html.gabra-lpm-ui :is(.notice,.alert){border-radius:12px;border-color:rgba(66,200,255,.26);background:rgba(29,119,160,.13);color:#d5f0ff}
html.gabra-lpm-ui :is(.alert.error,.notice.error){border-color:rgba(255,143,162,.3);background:rgba(211,54,86,.15);color:#ffc2cd}
html.gabra-lpm-ui .gabra-modal-panel{border-radius:20px;border-color:rgba(153,191,230,.24);background:linear-gradient(145deg,#122942,#081528);box-shadow:0 30px 90px #0009}
html.gabra-lpm-ui .gabra-modal-head{border-color:var(--border)}
html.gabra-lpm-ui .gabra-modal-head h2{font-size:24px}
html.gabra-lpm-ui .gabra-modal-close{background:#10243c;border-color:var(--border);color:#d5e9fc;border-radius:50%}
html.gabra-lpm-ui .gabra-modal-panel label{color:#c4d8ec}
html.gabra-lpm-ui .ops-shell{--ops-panel:#0d1c31;--ops-panel-2:#12253f;--ops-line:rgba(153,191,230,.14);--ops-text:#f5f9ff;--ops-muted:rgba(224,236,250,.74);--ops-blue:#72ddff;gap:20px}
html.gabra-lpm-ui .ops-console-top{padding:0 0 6px;background:transparent;border:0;box-shadow:none}
html.gabra-lpm-ui .ops-console-top h1{font-size:30px;line-height:1.2}
html.gabra-lpm-ui .ops-kicker{color:#8fa9c5;font-size:10px;letter-spacing:.12em}
html.gabra-lpm-ui .ops-top-status{font-family:inherit;font-weight:600}
html.gabra-lpm-ui :is(.sp-admin-hero,.sp-admin-toolbar){border-color:var(--border);background:rgba(13,28,49,.55);box-shadow:none;border-radius:18px}
/* Authentication retains the configured branding and all sign-in methods. */
html.gabra-lpm-ui .auth-shell{border:1px solid rgba(153,191,230,.2);border-radius:24px;box-shadow:0 28px 74px #0006;overflow:hidden;background:rgba(8,21,40,.85)}
html.gabra-lpm-ui .auth-left{background:radial-gradient(circle at 15% 10%,rgba(66,200,255,.18),transparent 65%),linear-gradient(145deg,#122c49,#071323);border-color:var(--border)}
html.gabra-lpm-ui .auth-right{background:rgba(8,21,40,.85)}
html.gabra-lpm-ui .auth-left-title{font-weight:800;letter-spacing:-.035em}
html.gabra-lpm-ui .auth-left-sub,html.gabra-lpm-ui .auth-right-title{color:#72ddff}
html.gabra-lpm-ui .auth-mark-dot{background:var(--grad);box-shadow:0 0 45px rgba(66,200,255,.3)}
@media(min-width:1800px){html.gabra-lpm-ui body.gabra-admin .main.portal-admin-main{padding-left:44px;padding-right:44px}}
@media(max-width:1100px){html.gabra-lpm-ui .gabra-topbar{grid-template-columns:224px minmax(160px,1fr) auto;gap:14px}.gabra-account-copy{display:none}html.gabra-lpm-ui body.gabra-admin .main.portal-admin-main{padding:24px}}
@media(max-width:900px){
  html.gabra-lpm-ui .gabra-topbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:0 16px;min-height:64px}
  .gabra-workspace{grid-row:2;grid-column:1/-1;padding:0 0 10px}.gabra-workspace-label{display:none}
  html.gabra-lpm-ui .gabra-tenant-form{max-width:none}.gabra-account{grid-row:1;grid-column:2}
  html.gabra-lpm-ui .gabra-menu-toggle,html.gabra-lpm-ui .gabra-nav-close{display:flex;flex-shrink:0}
  html.gabra-lpm-ui .gabra-sidebar{top:0;z-index:240;width:min(300px,85vw);transform:translateX(-102%);transition:transform .18s;visibility:hidden}
  html.gabra-lpm-ui .gabra-sidebar.is-open{transform:translateX(0);visibility:visible}
  .gabra-sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--border)}
  html.gabra-lpm-ui .gabra-nav-close{font-size:25px}
  html.gabra-lpm-ui .gabra-nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;border-radius:0;background:rgba(1,6,13,.72);backdrop-filter:blur(4px);z-index:230}
  html.gabra-lpm-ui body.gabra-nav-open{overflow:hidden}
  html.gabra-lpm-ui body.gabra-admin .main.portal-admin-main{width:100%;margin:0;padding:22px 16px 40px;min-height:calc(100vh - 64px)}
  html.gabra-lpm-ui .head-row{flex-wrap:wrap;gap:14px}
  html.gabra-lpm-ui :is(.card,.card.pad,.sp-admin-card){padding:18px}
}
@media(prefers-reduced-motion:reduce){html.gabra-lpm-ui *,html.gabra-lpm-ui *::before,html.gabra-lpm-ui *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{html.gabra-lpm-ui :is(.gabra-topbar,.gabra-sidebar,.gabra-nav-backdrop){display:none!important}html.gabra-lpm-ui body.gabra-admin .main.portal-admin-main{margin:0;width:100%;padding:0}}

/* Bespoke Gabra screens retain their layouts and status semantics. */
html.gabra-lpm-ui :is(.event-admin-card,.workflow-panel,.commerce-order-card,.slot-card){border:1px solid var(--border);border-radius:18px;background:linear-gradient(145deg,rgba(20,42,71,.70),rgba(8,21,40,.77));box-shadow:var(--shadow)}
html.gabra-lpm-ui :is(.event-filter-panel,.workflow-step-card,.ticket-inner-card,.event-admin-metrics>div){border-color:var(--border);border-radius:14px;background:rgba(18,37,63,.4)}
html.gabra-lpm-ui .workflow-step-card.attention{border-color:rgba(255,197,109,.35);background:rgba(214,139,31,.10)}
html.gabra-lpm-ui .workflow-kicker{color:#a7eaff;background:rgba(66,200,255,.10);border-color:rgba(66,200,255,.25);font-size:10px}
html.gabra-lpm-ui .sp-admin-tabs a{font-size:13px;font-weight:650;background:rgba(18,37,63,.4);border-color:var(--border)}
html.gabra-lpm-ui .sp-admin-tabs a.active{color:#a7eaff;background:rgba(66,200,255,.13);border-color:rgba(66,200,255,.32)}
html.gabra-lpm-ui .sp-admin-tabs a:hover{transform:none}
html.gabra-lpm-ui .sp-offer-actions-panel{top:84px}
@media(min-width:901px) and (max-width:1450px){
 html.gabra-lpm-ui .event-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 html.gabra-lpm-ui .event-admin-card-top{flex-wrap:wrap}
 html.gabra-lpm-ui .event-admin-card-actions{flex-wrap:wrap}
}
@media(min-width:901px) and (max-width:1200px){
 html.gabra-lpm-ui :is(.workflow-hero,.sp-offer-detail-grid,.sp-category-manager){grid-template-columns:minmax(0,1fr)}
 html.gabra-lpm-ui .sp-admin-two{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:900px){html.gabra-lpm-ui .sp-offer-actions-panel{position:static}}
/* Keep overlays above the persistent header and sticky editors below it. */
html.gabra-lpm-ui :is(.modal,.ops-modal){z-index:10000}
html.gabra-lpm-ui .ops-toasts{z-index:10010}
html.gabra-lpm-ui :is(.modal-card,.discount-modal-panel,.commerce-edit-card.is-editing .commerce-edit-body){background:linear-gradient(145deg,#122942,#081528);border-color:rgba(153,191,230,.24);border-radius:20px}
html.gabra-lpm-ui :is(.event-workspace-sticky-nav,.ops-side,.sp-category-editor-column){top:80px}
@media(max-width:900px){html.gabra-lpm-ui :is(.event-workspace-sticky-nav,.ops-side,.sp-category-editor-column){position:static}}
html.gabra-lpm-ui :is(.auth-right label,.auth-right label>span,.auth-right .field>span){color:#c4d8ec;font-weight:650}
html.gabra-lpm-ui :is(.auth-p,.auth-inline-links,.auth-help,.auth-right-sub){color:#a7bdd5}
html.gabra-lpm-ui :is(.auth-inline-links a,.auth-help a){color:#8bdfff}
html.gabra-lpm-ui .sso-button{border-color:var(--border);background:rgba(23,48,75,.6);color:#d5e9fc;border-radius:10px;box-shadow:none}
html.gabra-lpm-ui .sso-divider::before,html.gabra-lpm-ui .sso-divider::after{background:var(--border)}
html.gabra-lpm-ui .auth-shell{border:0;border-radius:0}
