/*
 * Abercarn Primary School | Bright Tile Dashboard
 * Full visual layer for the existing PHP 8.4 service desk.
 * Accent colours, tile labels and links are managed in Staff > Admin >
 * Customisation Centre. No routing or permissions are replaced by this theme.
 */
:root {
  --bt-navy: #102746;
  --bt-navy-deep: #0b1e39;
  --bt-blue: #0e5bd9;
  --bt-red: #ed2835;
  --bt-yellow: #ffcf08;
  --bt-green: #159d34;
  --bt-purple: #8820b8;
  --bt-orange: #fb6411;
  --bt-teal: #06999f;
  --bt-pink: #e82786;
  --bt-ink: #172743;
  --bt-subtle: #52647b;
  --bt-soft: #f5f8fd;
  --bt-stroke: #dbe3ef;
  --bt-shadow: 0 3px 12px rgba(24,54,96,.07), 0 1px 3px rgba(24,54,96,.04);
  --bt-radius: 13px;
}
body.bright-tile { background:var(--bt-soft); color:var(--bt-ink); font-family:inherit; line-height:1.45; }
.bright-tile .page-main { padding-bottom:0; min-width:0; }
.bright-tile .wrap { width:min(1320px, calc(100% - 48px)); max-width:100%; }
.bright-tile h1,.bright-tile h2,.bright-tile h3 { color:var(--bt-navy); letter-spacing:-.026em; }
.bright-tile h1 { font-size:clamp(2.1rem,4vw,3.3rem); line-height:1.14; }
.bright-tile a { text-underline-offset:3px; }
.bright-tile .bt-icon { flex:none; display:inline-block; vertical-align:middle; }
.bright-tile .site-header { z-index:15000!important; isolation:isolate; border:0; border-bottom:3px solid rgba(255,255,255,.08); background:var(--bt-navy); box-shadow:0 3px 12px rgba(10,33,65,.12); }
.bright-tile .header-inner { width:min(1560px, calc(100% - 38px)); min-height:86px; gap:22px; }
.bright-tile .brand { min-width:0; gap:15px; color:#fff; }
.bright-tile .brand img { object-fit:contain; width:70px; height:75px; }
.bright-tile .brand-copy { padding-left:16px; border-left:2px solid rgba(255,255,255,.65); line-height:1.13; }
.bright-tile .brand-copy strong { font-size:clamp(1rem,1.7vw,1.65rem); font-weight:800; color:#fff; letter-spacing:-.04em; }
.bright-tile .brand-copy small { margin-top:4px; color:#e6effe; font-size:clamp(.91rem,1.1vw,1.23rem); }
.bright-tile .main-nav { gap:clamp(8px,1.5vw,26px); }
.bright-tile .main-nav>a { position:relative; display:inline-flex; align-items:center; white-space:nowrap; gap:7px; padding:14px 4px; font-size:clamp(.84rem,.95vw,1.01rem); color:#f9fcff; font-weight:750; }
.bright-tile .main-nav>a .bt-icon { width:24px; height:24px; stroke-width:1.85; }
.bright-tile .main-nav>a:not(.nav-cta)::after { content:""; position:absolute; bottom:4px; left:4px; right:4px; height:4px; border-radius:8px; background:transparent; transition:background .2s; }
.bright-tile .main-nav>a:not(.nav-cta):hover,.bright-tile .main-nav>a:not(.nav-cta).is-current { color:#fff; }
.bright-tile .main-nav>a:not(.nav-cta):hover::after,.bright-tile .main-nav>a:not(.nav-cta).is-current::after { background:var(--bt-yellow); }
.bright-tile .bt-help-menu { position:relative; }
.bright-tile .bt-help-menu summary { display:flex; align-items:center; gap:8px; padding:10px 16px; border:1px solid rgba(255,255,255,.6); border-radius:9px; color:#fff; font-size:.96rem; font-weight:750; cursor:pointer; list-style:none; }
.bright-tile .bt-help-menu summary::-webkit-details-marker { display:none; }
.bright-tile .bt-help-menu summary .bt-icon { width:23px; height:23px; }
.bright-tile .bt-help-menu[open] summary,.bright-tile .bt-help-menu summary:hover { background:rgba(255,255,255,.14); }
.bright-tile .bt-help-list { position:absolute; top:calc(100% + 7px); right:0; z-index:15100; display:grid; gap:4px; width:235px; border:1px solid var(--bt-stroke); border-radius:13px; padding:8px; background:#fff; box-shadow:0 20px 50px rgba(8,31,68,.22); }
.bright-tile .bt-help-list a { display:flex; gap:10px; align-items:center; padding:11px; border-radius:8px; color:var(--bt-ink); text-decoration:none; font-size:.95rem; }
.bright-tile .bt-help-list a .bt-icon { width:20px; height:20px; color:var(--bt-blue); }
.bright-tile .bt-help-list a:hover { color:var(--bt-navy); background:#ebf3ff; }
.bright-tile .mobile-nav-toggle { color:#fff; border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.08); }
.bright-tile .site-footer { margin-top:52px; border-top:4px solid var(--bt-blue); background:var(--bt-navy); }
.bright-tile .footer-inner { width:min(1320px, calc(100% - 48px)); }
.bright-tile .site-footer a { color:#f1f6ff; }
/* Homepage hero reproduces the blue/green landscape composition from the selected mockup. */
.bt-hero { position:relative; overflow:hidden; min-height:258px; background:#c6f1fe url('bright-landscape.svg') center/cover no-repeat; border-bottom:1px solid #bfe5db; }
.bt-hero.bt-hero-plain { background-image:none; background-color:#b7e7fc; }
.bt-hero.bt-hero-gradient { background-image:linear-gradient(120deg,#d2f6ff 0%,#9edcfc 45%,#a8e6c5 100%); }
.bt-hero.bt-hero-none { background-image:none; background-color:transparent; }
.bt-hero-inner { position:relative; z-index:1; width:min(1490px,calc(100% - 40px)); margin:auto; display:flex; justify-content:center; text-align:center; }
.bt-hero-content { width:min(840px,100%); padding:26px 10px 32px; }
.bt-hero h1 { margin:0 0 10px; font-size:clamp(1.9rem,3.6vw,3rem); line-height:1.1; font-weight:850; color:var(--bt-navy-deep); text-shadow:0 1px 0 rgba(255,255,255,.5); }
.bt-hero h1 span { display:block; color:var(--bt-blue); }
.bt-hero p { margin:10px auto 15px; color:#122842; font-size:clamp(1rem,1.3vw,1.23rem); font-weight:600; }
.bt-hero-search { width:min(760px,100%); margin:0 auto; display:flex; align-items:center; gap:12px; height:58px; border:2px solid rgba(255,255,255,.8); border-radius:100px; padding:4px 5px 4px 19px; box-shadow:0 8px 25px rgba(16,58,87,.17); background:#fff; }
.bt-hero-search .bt-icon { width:26px; height:26px; color:var(--bt-blue); }
.bt-hero-search input { flex:1; min-width:0; height:44px; padding:0 7px; border:0!important; outline:0!important; background:transparent; font-size:1.04rem; color:#22344e; box-shadow:none!important; }
.bt-hero-search input:focus-visible { outline:0; }
.bt-hero-search:focus-within { outline:3px solid #fdcb24; outline-offset:2px; }
.bt-hero-search button { min-width:108px; align-self:stretch; padding:0 22px; border:0; border-radius:27px; background:linear-gradient(135deg,#1681ed,#0050bd); color:#fff; font-weight:800; cursor:pointer; }
.bt-hero-search button:hover { background:#0c56c5; }
/* Eight distinctive interactive action tiles */
.bt-home-main { width:min(1550px,calc(100% - 20px)); margin:16px auto 0; }
.bt-tile-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.bt-tile { display:flex; align-items:center; gap:16px; min-width:0; min-height:130px; padding:22px 19px; border-radius:10px; text-decoration:none!important; color:#fff!important; box-shadow:0 2px 5px rgba(21,49,77,.13); transition:transform .17s ease, filter .17s ease, box-shadow .17s ease; }
.bt-tile:hover { transform:translateY(-3px); filter:brightness(1.04); box-shadow:0 12px 22px rgba(26,52,93,.15); }
.bt-tile:focus-visible { outline:4px solid var(--bt-navy); outline-offset:2px; }
.bt-tile-submit { background:linear-gradient(135deg,var(--bt-red),#db1829); }
.bt-tile-track { background:linear-gradient(135deg,var(--bt-yellow),#ffbd00); color:#101d2f!important; }
.bt-tile-kb { background:linear-gradient(135deg,var(--bt-green),#0b8d2f); }
.bt-tile-devices { background:linear-gradient(135deg,#088bec,var(--bt-blue)); }
.bt-tile-password { background:linear-gradient(135deg,var(--bt-purple),#761ba7); }
.bt-tile-microsoft { background:linear-gradient(135deg,var(--bt-orange),#f14c08); }
.bt-tile-wifi { background:linear-gradient(135deg,var(--bt-teal),#04888d); }
.bt-tile-parents { background:linear-gradient(135deg,var(--bt-pink),#db1175); }
.bt-tile-icon { display:grid; place-items:center; flex:none; width:88px; }
.bt-tile-icon .bt-icon { width:70px; height:70px; stroke-width:1.75; }
.bt-tile-copy { display:grid; align-content:center; min-width:0; gap:5px; flex:1; }
.bt-tile-copy strong { font-size:clamp(1.1rem,1.55vw,1.69rem); font-weight:850; line-height:1.14; letter-spacing:-.02em; }
.bt-tile-copy small { font-size:clamp(.85rem,1.05vw,1rem); line-height:1.42; font-weight:550; color:inherit; }
.bt-tile-arrow { margin-left:auto; width:23px!important; height:23px!important; stroke-width:3!important; }
/* Live information widgets, no invented status/incident/announcement data */
.bt-home-widgets { display:grid; grid-template-columns:1fr 1.12fr 1.12fr; gap:12px; margin-top:18px; }
.bt-widget { min-width:0; border:1px solid #d6e1ed; border-radius:var(--bt-radius); background:#fff; box-shadow:var(--bt-shadow); padding:13px 13px 16px; }
.bt-widget-head { min-height:37px; display:flex; justify-content:space-between; align-items:center; gap:8px; border-bottom:1px solid #e0e7ef; padding:0 3px 11px; margin-bottom:12px; }
.bt-widget-head h2 { display:flex; align-items:center; gap:10px; margin:0; font-size:clamp(1rem,1.3vw,1.38rem); font-weight:850; }
.bt-widget-head h2 .bt-icon { width:30px; height:30px; color:#0062c4; }
.bt-widget-head>a { display:inline-flex; align-items:center; white-space:nowrap; gap:0; color:#004eaf; font-size:.9rem; font-weight:700; text-decoration:none; }
.bt-widget-head>a .bt-icon { width:16px; height:16px; }
.bt-widget-head>a:hover { text-decoration:underline; }
.bt-status-summary { display:flex; align-items:center; gap:14px; border-radius:9px; min-height:99px; padding:15px 13px; background:#d8f4dd; color:#123824!important; text-decoration:none!important; }
.bt-status-summary:hover { filter:brightness(.98); }
.bt-status-summary.bt-status-degraded,.bt-status-summary.bt-status-maintenance { background:#fff0c9; color:#6c3d09!important; }
.bt-status-summary.bt-status-outage { background:#ffe0dd; color:#842e2b!important; }
.bt-status-summary.bt-status-unreported { background:#edf2f9; color:#40506a!important; }
.bt-status-symbol { display:grid; flex:none; place-items:center; width:51px; height:51px; border-radius:50%; background:#09a428; color:#fff; }
.bt-status-degraded .bt-status-symbol,.bt-status-maintenance .bt-status-symbol { background:#d58c10; }
.bt-status-outage .bt-status-symbol { background:#d82b26; }
.bt-status-unreported .bt-status-symbol { background:#65778e; }
.bt-status-symbol .bt-icon { width:32px; height:32px; stroke-width:3; }
.bt-status-summary strong { display:block; font-size:1.08rem; font-weight:850; }
.bt-status-summary small { display:block; margin-top:5px; color:inherit; line-height:1.35; font-size:.89rem; }
.bt-status-minis { display:flex; flex-wrap:wrap; gap:6px; margin:10px 2px 0; }
.bt-mini-status { display:inline-flex; align-items:center; gap:5px; padding:4px 8px; background:#e9f9ef; border-radius:99px; font-size:.72rem; color:#236b38; }
.bt-mini-outage { background:#ffe4e2;color:#a92c29; }.bt-mini-degraded,.bt-mini-maintenance { background:#fff4d7;color:#966306; }
.bt-app-links { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; }
.bt-app-link { min-width:0; min-height:112px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:7px; background:#f4f6fa; padding:9px 3px; border-radius:10px; color:#19304f!important; font-size:.78rem; font-weight:650; text-decoration:none!important; }
.bt-app-link:hover { background:#e7f1ff; }
.bt-app-mark { width:42px; height:42px; display:grid; place-items:center; color:#fff; font-weight:900; border-radius:8px; font-size:1.8rem; box-shadow:0 3px 8px rgba(10,53,100,.14); }
.bt-app-teams { background:linear-gradient(135deg,#7c7de5,#4645ad); }.bt-app-outlook { background:linear-gradient(135deg,#32a5f5,#0c59c7); }.bt-app-onedrive { background:linear-gradient(135deg,#35bcff,#096ac5); }.bt-app-sharepoint { background:linear-gradient(135deg,#19c3b4,#147b8d); }.bt-app-m365 { background:linear-gradient(135deg,#1687fc,#044aac); }
.bt-announcement-list { display:grid; margin-top:-3px; }
.bt-announcement-item { min-height:49px; display:flex; align-items:start; gap:12px; padding:8px 3px; border-bottom:1px solid #e1e8f1; text-decoration:none!important; color:var(--bt-ink)!important; }
.bt-announcement-item:last-child { border:0; }
.bt-announcement-item>.bt-icon { width:23px; height:23px; color:#0766c9; }
.bt-announcement-item strong { display:block; font-size:.86rem; font-weight:850; line-height:1.2; }
.bt-announcement-item small { display:block; margin-top:4px; color:#34445d; font-size:.77rem; line-height:1.3; }
.bt-announcement-item time { display:block; margin-top:3px; color:#6b7b90; font-size:.69rem; }
.bt-announcement-item:hover strong { color:#0757ad; text-decoration:underline; }
.bt-empty-announcements { display:flex; align-items:start; gap:12px; padding:15px; color:#465a72; }
.bt-empty-announcements>.bt-icon { color:#0d6bc9; }
.bt-empty-announcements strong { color:var(--bt-navy); }.bt-empty-announcements p { margin:5px 0 0; font-size:.9rem; }
/* Content below the main reference artwork */
.bt-featured-section { width:min(1370px,calc(100% - 42px)); margin:42px auto 0; }
.bt-section-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:0 0 18px; }
.bt-kicker { display:block; color:#1264c1; font-size:.76rem; font-weight:850; letter-spacing:.12em; }
.bt-section-heading h2 { margin:4px 0 2px; font-size:1.7rem; }
.bt-section-heading p { margin:0; color:#5e6f83; }
.bt-outline-link { display:inline-flex; align-items:center; gap:6px; padding:10px 14px; border:1px solid #b6c9e5; border-radius:8px; color:#0753a5; background:#fff; text-decoration:none; font-weight:750; white-space:nowrap; }
.bt-outline-link .bt-icon { width:17px; height:17px; }
.bt-articles-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.bt-article-card { display:flex; gap:13px; min-width:0; padding:17px; border:1px solid var(--bt-stroke); border-radius:12px; background:#fff; color:var(--bt-ink)!important; text-decoration:none!important; box-shadow:var(--bt-shadow); }
.bt-article-icon { display:grid; place-items:center; width:46px; height:46px; flex:none; color:#076ac2; background:#eaf4ff; border-radius:12px; }
.bt-article-content { display:grid; gap:3px; flex:1; min-width:0; }
.bt-article-content small { color:#0874b5; font-size:.75rem; font-weight:800; }
.bt-article-content strong { font-size:1rem; line-height:1.3; }
.bt-article-content>span { font-size:.84rem; color:#63728a; line-height:1.4; }
.bt-article-arrow { margin-top:2px; width:18px!important; height:18px!important; color:#1362bb; }
.bt-article-card:hover { border-color:#8cbbf1; background:#fcfdff; }
.bt-article-empty { padding:18px; border:1px solid #dee9f6; border-radius:12px; background:#fff; }
.bt-safety-band { width:min(1370px,calc(100% - 42px)); margin:30px auto 0; }
.bt-safety-band>div { display:flex; align-items:center; gap:15px; padding:17px 20px; background:#e9f3fe; border:1px solid #cbdff5; border-radius:11px; }
.bt-safety-band>div>.bt-icon { color:#1465b5; width:30px; height:30px; }
.bt-safety-band p { flex:1; display:grid; gap:3px; margin:0; }.bt-safety-band strong { font-size:.93rem; }.bt-safety-band p span { color:#46566a; font-size:.89rem; }
.bt-safety-band a { display:inline-flex; align-items:center; gap:8px; color:#0054ad; font-weight:800; text-decoration:none; white-space:nowrap; }
.bt-safety-band a .bt-icon { width:16px; height:16px; }
/* Cohesive redesign of all existing public and private page templates */
.bright-tile .page-intro,.bright-tile .public-page-heading { padding:32px 0 22px; }
.bright-tile .page-intro .eyebrow,.bright-tile .form-intro .eyebrow,.bright-tile .staff-page .eyebrow { color:#1168b5; }
.bright-tile .page-intro h1,.bright-tile .public-page-heading h1,.bright-tile .form-intro h1 { font-weight:850; }
.bright-tile .page-intro p,.bright-tile .public-page-heading p,.bright-tile .form-intro>p { color:var(--bt-subtle); }
.bright-tile .card-panel,.bright-tile .kb-category-group,.bright-tile .kb-directory-card,.bright-tile .article-card,.bright-tile .stats-grid .stat-card,.bright-tile .service-announcement,.bright-tile .health-card,.bright-tile .message-card { border:1px solid var(--bt-stroke); border-radius:13px; background:#fff; box-shadow:var(--bt-shadow); }
.bright-tile .card-panel,.bright-tile .support-form { border-color:var(--bt-stroke); }
.bright-tile .button-primary,.bright-tile .main-nav .nav-cta { background:var(--bt-blue); color:#fff; border-color:var(--bt-blue); border-radius:9px; }
.bright-tile .button-primary:hover,.bright-tile .main-nav .nav-cta:hover { background:#0847a4; color:#fff; }
.bright-tile .button-secondary { color:#0956a5; border:1px solid #bed1e9; background:#fff; border-radius:9px; }
.bright-tile .button-secondary:hover { background:#eaf3fd; color:#043c83; }
.bright-tile :is(input,select,textarea) { border-color:#cbd9e9; border-radius:9px; }
.bright-tile :is(input,select,textarea):focus-visible { outline-color:#006edc; }
.bright-tile .field>label,.bright-tile .form-grid label { color:#203652; font-weight:700; }
.bright-tile .breadcrumbs { padding-top:20px; color:#64758b; }
.bright-tile .breadcrumbs a,.bright-tile .text-link { color:#095fbc; }
.bright-tile .search-form,.bright-tile .kb-filter-form { border:1px solid #d8e3ef; border-radius:13px; background:#fff; box-shadow:var(--bt-shadow); }
.bright-tile .results-header,.bright-tile .section-heading { color:var(--bt-navy); }
.bright-tile .kb-category-heading { border-color:#cbdced; }
.bright-tile .kb-row,.bright-tile .kb-subcategory-group { border-color:#e3eaf3; }
.bright-tile .kb-row:hover,.bright-tile .kb-card-link:hover { background:#edf5ff; }
.bright-tile .kb-subcategory-group h3 a,.bright-tile .kb-category-heading h2 a { color:#064e9c; }
.bright-tile .article-category { color:#0369b1; }
.bright-tile .form-page { padding-top:36px; }
.bright-tile .form-intro .privacy-note { background:#edf6ff; border-color:#a8d1f7; }
.bright-tile .support-form { box-shadow:0 8px 28px rgba(13,49,91,.07); }
.bright-tile .form-actions { border-color:#e0e8f2; }
.bright-tile .login-page { padding-top:56px; }
.bright-tile .login-brand img { width:85px; height:92px; object-fit:contain; }
.bright-tile .login-form { border-top:5px solid var(--bt-blue); }
.bright-tile .status-hero,.bright-tile .ticket-heading,.bright-tile .staff-page-heading { border-color:#dbe6f3; }
.bright-tile .status-hero { border-radius:14px; }
.bright-tile .health-pill,.bright-tile .status-pill { border-radius:90px; }
.bright-tile .service-announcement,.bright-tile .status-message-bar { border-radius:12px; }
.bright-tile .page-main .empty-state,.bright-tile .queue-empty { border:1px solid #d5e3f4; border-radius:12px; background:#f8fbff; }
/* Private staff and admin workspaces retain all underlying routes, forms and permissions. */
.bright-tile.staff-shell .main-nav { gap:7px; }
.bright-tile.staff-shell .main-nav>a { font-size:.88rem; }
.bright-tile.staff-shell .main-nav>a::after { display:none; }
.bright-tile.staff-shell .staff-nav-queue { background:#176bda; border-color:#377ddd; padding:11px 12px; }
.bright-tile.staff-shell .staff-nav-menu>summary { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.28); color:#fff; border-radius:8px; padding:10px 12px; font-size:.89rem; }
.bright-tile.staff-shell .staff-nav-menu>summary:hover,.bright-tile.staff-shell .staff-nav-menu[open]>summary { background:#2366aa; }
.bright-tile.staff-shell .staff-nav-menu>summary::after { color:#e8f5ff; }
.bright-tile.staff-shell .staff-nav-dropdown { border:1px solid #cddbeb; background:#fff; box-shadow:0 20px 40px rgba(8,30,65,.22); min-width:230px; }
.bright-tile.staff-shell .staff-nav-dropdown a { color:#203a59; }
.bright-tile.staff-shell .staff-nav-dropdown a:hover,.bright-tile.staff-shell .staff-nav-dropdown a.is-current { background:#eaf3ff; color:#074ca2; }
.bright-tile.staff-shell .staff-nav-submenu>summary { color:#17395b; }
.bright-tile.staff-shell .staff-chip { color:#dff1ff; background:#24496e; border:1px solid rgba(255,255,255,.16); }
.bright-tile.staff-shell .nav-form .nav-link { color:#fff; border:1px solid rgba(255,255,255,.32); border-radius:8px; padding:9px; }
.bright-tile.staff-shell .quick-search-button { color:#e9f5ff; border-color:rgba(255,255,255,.27); }
.bright-tile .staff-page { padding-top:25px; }
.bright-tile .staff-page-heading h1 { font-weight:850; }
.bright-tile .queue-stats .stat-card { border-top:5px solid #2681db; border-radius:12px; color:var(--bt-navy)!important; }
.bright-tile .queue-stats .stat-card:nth-child(2) { border-top-color:#25a057; }
.bright-tile .queue-stats .stat-card:nth-child(3) { border-top-color:#f0b41d; }
.bright-tile .queue-stats .stat-card:nth-child(4) { border-top-color:#e1494b; }
.bright-tile .premium-shortcuts>a,.bright-tile .queue-toolbar,.bright-tile .queue-saved-filters,.bright-tile .queue-ticket-card,.bright-tile .queue-table,.bright-tile .queue-compact-row { border:1px solid var(--bt-stroke); border-radius:12px; background:#fff; box-shadow:var(--bt-shadow); }
.bright-tile .queue-ticket-card:hover,.bright-tile .premium-shortcuts>a:hover { border-color:#70a8e6; }
.bright-tile .queue-filter input,.bright-tile .queue-filter select,.bright-tile .queue-filter button { border-radius:9px; }
.bright-tile .queue-filter button { color:#0759ac; }
.bright-tile .staff-page .card-panel h2,.bright-tile .staff-page .editor-panel h2 { color:var(--bt-navy); }
.bright-tile .design-page .customisation-section-tabs { background:#fff; border:1px solid var(--bt-stroke); border-radius:11px; padding:9px; }
.bright-tile .design-page .customisation-section-tabs a { border-radius:7px; }
.bright-tile .design-live-preview { border-radius:14px; overflow:hidden; }
.bright-tile .design-live-preview [data-design-preview-head] { background:var(--bt-navy)!important; color:#fff!important; }
.bright-tile .design-live-preview [data-design-preview-button] { background:var(--bt-blue)!important; color:#fff!important; }
.bright-tile .bt-theme-notice { padding:13px; border-radius:10px; background:#edf5ff; border:1px solid #c5ddf7; }
/* Mobile and tablet, explicit no-horizontal-scroll in the new homepage and staff menus */
@media(max-width:1280px){
  .bright-tile .header-inner { width:calc(100% - 26px); }
  .bright-tile .brand img { width:55px; height:60px; }
  .bright-tile .brand-copy strong { font-size:1.22rem; }
  .bright-tile .main-nav { gap:9px; }
  .bright-tile .main-nav>a { font-size:.88rem; }
  .bt-tile { padding:18px 14px; gap:11px; min-height:116px; }
  .bt-tile-icon { width:56px; }.bt-tile-icon .bt-icon { width:55px; height:55px; }
  .bt-tile-copy strong { font-size:1.25rem; }
  .bt-tile-copy small { font-size:.85rem; }
}
@media(max-width:1050px){
  .bt-tile-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bt-home-widgets { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bt-announcement-widget { grid-column:1 / -1; }
  .bt-articles-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bright-tile .header-inner { flex-wrap:wrap; padding-block:8px; }
  .bright-tile .mobile-nav-toggle { display:inline-flex; margin-left:auto; }
  .bright-tile .main-nav { display:none; width:100%; flex-basis:100%; flex-direction:column; align-items:stretch; gap:4px; padding:8px 0 12px; }
  .bright-tile .main-nav.mobile-nav-open { display:flex; }
  .bright-tile .main-nav>a { padding:11px 13px; border-radius:8px; }
  .bright-tile .main-nav>a:hover,.bright-tile .main-nav>a.is-current { background:rgba(255,255,255,.12); }
  .bright-tile .main-nav>a::after { display:none; }
  .bright-tile .bt-help-menu,.bright-tile .bt-help-menu summary { width:100%; }
  .bright-tile .bt-help-list { position:static; width:100%; margin-top:6px; }
  .bright-tile.staff-shell .staff-nav-menu { width:100%; }
  .bright-tile.staff-shell .staff-nav-menu>summary { display:flex; justify-content:space-between; }
  .bright-tile.staff-shell .staff-nav-dropdown { position:static; width:100%; max-width:100%; max-height:60vh; margin-top:5px; }
  .bright-tile.staff-shell .nav-form { width:100%; }.bright-tile.staff-shell .nav-form .nav-link { width:100%; }
  .bright-tile.staff-shell .staff-chip { width:fit-content; }
}
@media(max-width:700px){
  .bright-tile .wrap { width:calc(100% - 28px); }
  .bright-tile .header-inner { width:calc(100% - 24px); min-height:75px; }
  .bright-tile .brand { gap:9px; }.bright-tile .brand img { width:48px; height:55px; }
  .bright-tile .brand-copy { padding-left:9px; }.bright-tile .brand-copy strong { font-size:1.02rem; }.bright-tile .brand-copy small { font-size:.78rem; }
  .bt-hero { min-height:270px; background-position:65% center; }
  .bt-hero-inner { width:calc(100% - 24px); }
  .bt-hero-content { padding:34px 5px 28px; }
  .bt-hero h1 { font-size:clamp(1.85rem,8vw,2.5rem); }
  .bt-hero p { margin:13px 0 17px; font-size:.95rem; }
  .bt-hero-search { height:53px; gap:3px; padding-left:12px; }.bt-hero-search input { font-size:.83rem; }
  .bt-hero-search button { min-width:75px; padding:0 10px; font-size:.85rem; }
  .bt-home-main { width:calc(100% - 20px); margin-top:12px; }
  .bt-tile-grid { gap:9px; }.bt-tile { min-height:100px; border-radius:9px; gap:7px; padding:13px 10px; }
  .bt-tile-icon { width:41px; }.bt-tile-icon .bt-icon { width:39px; height:39px; }
  .bt-tile-copy { gap:4px; }.bt-tile-copy strong { font-size:clamp(.93rem,3.6vw,1.17rem); }.bt-tile-copy small { font-size:clamp(.72rem,2.6vw,.83rem); }
  .bt-tile-arrow { width:15px!important; height:15px!important; }
  .bt-home-widgets { grid-template-columns:1fr; gap:12px; }.bt-announcement-widget { grid-column:auto; }
  .bt-widget-head h2 { font-size:1.2rem; }
  .bt-articles-grid { grid-template-columns:1fr; }.bt-featured-section,.bt-safety-band { width:calc(100% - 28px); }
  .bt-section-heading { flex-wrap:wrap; align-items:start; }.bt-safety-band>div { flex-wrap:wrap; }
  .bright-tile .site-footer { margin-top:30px; }
}
@media(max-width:425px){
  .bt-tile-grid { grid-template-columns:1fr 1fr; }
  .bt-tile { flex-direction:column; align-items:flex-start; min-height:138px; }
  .bt-tile-icon { width:auto; }.bt-tile-icon .bt-icon { width:34px; height:34px; }
  .bt-tile-copy strong { font-size:1rem; }.bt-tile-copy small { font-size:.77rem; line-height:1.33; }
  .bt-tile-arrow { position:absolute; top:14px; right:9px; }.bt-tile { position:relative; padding-right:20px; }
  .bt-app-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce){ .bt-tile,.bt-hero-search button { transition:none; } .bt-tile:hover { transform:none; } }
