/* Shared theme finish, loaded after module-specific styles. */
.bright-tile .page-main {color:var(--ink);font-family:var(--desk-font,system-ui),sans-serif;}
.bright-tile .page-main :is(.card-panel,.staff-page-heading,.staff-ticket-heading,.sm-card,.premium-card,.ops-card) {border-color:var(--line);color:var(--ink);min-width:0;}
.bright-tile .page-main :is(.staff-page-heading,.staff-ticket-heading) {gap:16px;flex-wrap:wrap;margin-bottom:20px;}
.bright-tile .page-main :is(.staff-page-heading,.staff-ticket-heading) h1 {color:var(--bt-navy);font-family:var(--desk-font,system-ui),sans-serif;line-height:1.2;}
.bright-tile .page-main :is(.card-panel,.sm-card,.premium-card,.ops-card) {background:var(--white);border-radius:12px;}
.bright-tile .page-main :is(input,select,textarea,button) {font-family:inherit;max-width:100%;}
.staff-shell .main-nav {flex-wrap:wrap;gap:5px;}
.staff-shell .staff-nav-dropdown {max-height:min(65vh,580px);overflow:auto;overscroll-behavior:contain;}
.staff-shell .staff-nav-menu:not([open])>.staff-nav-dropdown {display:none;}
.staff-shell .staff-nav-menu[open]>.staff-admin-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(540px,85vw);}
.staff-shell .staff-nav-dropdown a:focus-visible {outline:2px solid var(--bt-blue);outline-offset:-2px;}
.ticket-permanent-delete {margin-block:12px 20px;border:1px solid #b42318!important;}
.ticket-permanent-delete summary {color:#b42318;font-weight:700;cursor:pointer;}
.ticket-permanent-delete form {display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.ticket-danger {background:#b42318!important;color:white!important;border-color:#b42318!important;}
@media(max-width:760px){.staff-shell .staff-nav-menu[open]>.staff-admin-grid {grid-template-columns:1fr;width:100%;}.bright-tile .page-main .wrap {min-width:0;}.bright-tile .page-main :is(.staff-page-heading,.staff-ticket-heading) {display:flex;flex-direction:column;align-items:stretch;}.ticket-permanent-delete form {align-items:stretch;flex-direction:column;}}
/* Staff header: dedicated identity row and compact service navigation. */
.bright-tile.staff-shell .site-header .header-inner {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 16px;padding-block:8px 0;min-height:0;}
.bright-tile.staff-shell .site-header .brand {grid-column:1;grid-row:1;justify-self:start;min-width:0;}
.bright-tile.staff-shell .staff-header-account {grid-column:2;grid-row:1;justify-self:end;min-width:0;}
.bright-tile.staff-shell .staff-account-menu {position:relative;}
.bright-tile.staff-shell .staff-account-menu>summary {max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bright-tile.staff-shell .staff-account-menu>.staff-nav-dropdown {position:absolute;right:0;left:auto;top:100%;width:240px;max-width:85vw;z-index:110;}
.bright-tile.staff-shell .staff-account-menu .nav-form {width:100%;margin:0;}
.bright-tile.staff-shell .staff-account-menu .nav-link {width:100%;text-align:left;color:var(--bt-navy);background:transparent;border:0;padding:10px 12px;}
.bright-tile.staff-shell .site-header .main-nav {grid-column:1/-1;grid-row:2;width:100%;justify-content:flex-start;align-items:center;gap:4px;padding:6px 0;min-width:0;border-top:1px solid rgba(128,145,165,.25);margin-top:7px;}
.bright-tile.staff-shell .site-header .main-nav>a,.bright-tile.staff-shell .site-header .main-nav .staff-nav-menu>summary {white-space:nowrap;padding:8px 11px;border:1px solid transparent;border-radius:6px;font-size:.88rem;}
.bright-tile.staff-shell .site-header .main-nav .quick-search-button {margin-left:auto;white-space:nowrap;}
@media(min-width:1051px){.bright-tile.staff-shell .site-header .main-nav {display:flex;flex-wrap:nowrap;}.bright-tile.staff-shell .site-header .mobile-nav-toggle {display:none;}}
@media(max-width:1050px){.bright-tile.staff-shell .site-header .header-inner {grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding-bottom:8px;}.bright-tile.staff-shell .site-header .mobile-nav-toggle {grid-column:3;grid-row:1;}.bright-tile.staff-shell .site-header .main-nav {display:none;align-items:stretch;}.bright-tile.staff-shell .site-header .main-nav.mobile-nav-open {display:flex;}.bright-tile.staff-shell .site-header .main-nav .quick-search-button {margin-left:0;}.bright-tile.staff-shell .staff-account-menu>summary {max-width:120px;}.bright-tile.staff-shell .staff-account-menu {width:auto;}}
@media(max-width:480px){.bright-tile.staff-shell .site-header .header-inner {grid-template-columns:minmax(0,1fr) auto;}.bright-tile.staff-shell .staff-header-account {grid-column:1;grid-row:2;justify-self:start;}.bright-tile.staff-shell .site-header .mobile-nav-toggle {grid-column:2;grid-row:2;}.bright-tile.staff-shell .site-header .main-nav {grid-row:3;}.bright-tile.staff-shell .staff-account-menu>.staff-nav-dropdown {left:0;right:auto;}}
/* Grouped administration panel, anchored to the navigation row. */
.bright-tile.staff-shell .main-nav {position:relative;}
.bright-tile.staff-shell .main-nav .staff-admin-menu {position:static;}
.bright-tile.staff-shell .staff-admin-menu[open]>.staff-admin-grid {position:absolute;top:100%;right:0;left:auto;width:min(940px,100%);max-width:100%;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px;max-height:65vh;border-radius:12px;box-sizing:border-box;}
.bright-tile.staff-shell .staff-admin-section {min-width:0;border-right:1px solid var(--line);padding-right:10px;}
.bright-tile.staff-shell .staff-admin-section:last-child {border-right:0;}
.bright-tile.staff-shell .staff-admin-section h2 {font-size:.92rem;line-height:1.35;color:var(--bt-navy);margin:0 0 8px;padding:6px 8px 10px;border-bottom:1px solid var(--line);font-weight:700;}
.bright-tile.staff-shell .staff-admin-section a {font-size:.86rem;line-height:1.35;padding:8px;border-radius:6px;overflow-wrap:anywhere;}
@media(max-width:1050px){.bright-tile.staff-shell .staff-admin-menu[open]>.staff-admin-grid {position:static;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;box-shadow:none;}.bright-tile.staff-shell .staff-admin-menu {width:100%;}.bright-tile.staff-shell .staff-admin-section {border:0;}}
@media(max-width:540px){.bright-tile.staff-shell .staff-admin-menu[open]>.staff-admin-grid {grid-template-columns:1fr;padding:10px;gap:8px;}}
/* Staff workspaces use the viewport, independently of public page width settings. */
.bright-tile.staff-shell {--staff-gutter:24px;}
.bright-tile.staff-shell .page-main {width:100%;max-width:none;min-width:0;}
.bright-tile.staff-shell :is(.header-inner,.footer-inner,.page-main>.wrap,.page-main>.bt-context-banner-wrap,.page-main>.queue-page,.page-main>.staff-ticket-page) {width:calc(100% - 2 * var(--staff-gutter));max-width:none;min-width:0;margin-inline:auto;box-sizing:border-box;}
.bright-tile.staff-shell .page-main .wrap .wrap {width:100%;max-width:none;min-width:0;}
.bright-tile.staff-shell .page-main :is(.table-wrap,.table-scroll,.table-responsive,.responsive-table) {max-width:100%;min-width:0;overflow-x:auto;}
@media(max-width:760px){.bright-tile.staff-shell {--staff-gutter:12px;}}
@media(min-width:1051px) and (max-width:1250px){.bright-tile.staff-shell .site-header .main-nav {flex-wrap:wrap;}}
