
/* Signage CMS shell: one predictable navigation layout at all viewport widths */
html,body{width:100%;max-width:100%}
.app-layout{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;min-height:100vh;width:100%;align-items:start;background:#f4f6fa}
.app-layout>.workspace{width:100%;min-width:0;max-width:none;background:#f4f6fa;min-height:100vh}
.app-layout .main{width:100%;max-width:100%!important;min-width:0;padding:24px clamp(17px,2.4vw,40px) 40px;background:#f4f6fa;color:#182346}
.app-layout .topbar{position:relative;min-width:0;background:#fff;border-bottom:1px solid #dce2ec;padding:25px clamp(17px,2.4vw,40px);color:#000548}
.app-layout .topbar h1{color:#000548;margin:6px 0 0;letter-spacing:-.7px}
.app-layout .eyebrow{color:#667393}
.app-layout .time-pill{background:#f4f6fa;border:1px solid #dce2ec;color:#5b6783}
.app-layout .footer{background:transparent;border-color:#e0e4eb;color:#69738c}
.app-layout .panel,.app-layout .panel.elevated,.app-layout .stat,.app-layout .channel-card,.app-layout .table-wrap,.app-layout .studio-feature,.app-layout .playlist-tile{background:#fff!important;border:1px solid #dee3ec!important;color:#192544!important;box-shadow:none}
.app-layout .hero{background:#000548!important;color:#fff!important;border:0!important;border-radius:14px}
.app-layout .hero h2,.app-layout .hero strong{color:#fff}
.app-layout .hero p{color:#cdd6e8}
.app-layout .section-heading h2,.app-layout .panel h2,.app-layout .panel h3,.app-layout .channel-card h3{color:#101b40}
.app-layout .muted,.app-layout .hint,.app-layout .panel p,.app-layout .studio-feature p{color:#64718c}
.app-layout .studio-feature h3,.app-layout .studio-feature span,.app-layout .playlist-tile strong{color:#142047}
.app-layout .studio-feature:hover,.app-layout .channel-card:hover,.app-layout .playlist-tile:hover{background:#f6f8fc!important}
.app-layout .button.primary{background:#eb003c;color:#fff;border-color:#eb003c}
.app-layout .button.secondary,.app-layout .button.ghost{background:#fff;color:#17254c;border:1px solid #ced6e3}
.app-layout .button.secondary:hover,.app-layout .button.ghost:hover{background:#eff2f7}
.app-layout input:not([type=checkbox]):not([type=color]):not([type=file]),.app-layout select,.app-layout textarea{background:#fff!important;color:#172246!important;border-color:#cfd6e4!important}
.app-layout label,.app-layout .text-link{color:#1d2a4b}
.app-layout .count,.app-layout .type-pill{background:#e9edf5;color:#293c68}
.app-layout .studio-list-item,.app-layout .playlist-entry,.app-layout .rule-list-row,.app-layout .media-item.studio-media,.app-layout .tag-choice,.app-layout .rule-details{background:#f9fafc;border-color:#e1e5ec;color:#1c2949}
.app-layout .studio-list-item strong,.app-layout .rule-list-row strong,.app-layout .playlist-entry strong{color:#172442}
.app-layout .studio-list-item small,.app-layout .rule-list-row small,.app-layout .rule-path{color:#65728a}
.app-layout .studio-list-item.selected,.app-layout .rule-list-row.selected,.app-layout .playlist-tile.selected,.app-layout .studio-media.selected{background:#ecf1fb!important}
.app-layout .rule-priority{background:#e9eef8;color:#1e315a}
.app-layout .table-wrap thead th,.app-layout th{background:#f3f5f9;color:#45516f;border-color:#e3e8ef}
.app-layout td{border-color:#e3e8ef}
.app-layout .cron-command{background:#f2f4f9;color:#1e2b4b}
.app-layout .tag-line,.app-layout .default-row{border-color:#e0e5ef}
.app-layout .notice{background:#e8f6f2;border-color:#bcddd3;color:#255347}
.app-layout .notice.error{background:#fff0f3;border-color:#f0c4cd;color:#942c4b}
.shell-sidebar{position:sticky!important;top:0!important;left:0!important;height:100vh!important;min-height:0!important;width:248px!important;min-width:0!important;max-width:248px!important;display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden!important;background:#000548!important;border:0!important;border-right:1px solid #27315e!important;color:#fff!important;z-index:50}
.shell-brand{display:flex;flex-direction:column;align-items:flex-start;gap:15px;padding:26px 21px 23px;flex-shrink:0;border-bottom:1px solid #263167}
.shell-brand img{display:block;width:178px;height:auto;max-width:100%}
.shell-brand strong{display:block;font-size:15px;color:#fff;letter-spacing:-.25px}
.shell-brand small{display:block;font-size:11px;color:#aebbd7;margin-top:4px}
.shell-desktop-nav{display:block;overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding:9px 10px 22px;scrollbar-width:thin;scrollbar-color:#53618c transparent}
.shell-nav-group{padding-top:16px}
.shell-nav-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#8796bc;font-weight:700;padding:0 13px 8px}
.shell-link{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#ccd6ea!important;text-decoration:none!important;padding:10px 13px;border-radius:8px;margin:2px 0;font-size:12.5px;font-weight:500;line-height:1.3;min-height:38px}
.shell-link:hover{background:#182558;color:#fff!important}
.shell-link.active{background:#303d73;color:#fff!important;font-weight:700}
.shell-link-current{font-size:8px;color:#ecf0ff}
.shell-footer{flex-shrink:0;padding:15px 20px;border-top:1px solid #263167;color:#bdc8df;font-size:11px;white-space:nowrap}
.shell-footer .online-dot{width:7px;height:7px;margin-right:6px}
.shell-footer-dot{opacity:.5}
.shell-mobile-menu{display:none}
@media(max-width:1000px){
 .app-layout{display:block!important;min-height:100vh}
 .shell-sidebar{position:sticky!important;top:0!important;overflow:visible!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between;padding:0!important;border-right:0!important;border-bottom:1px solid #293563!important}
 .shell-brand{padding:10px 14px;display:flex;flex-direction:row;align-items:center;gap:13px;border:0}
 .shell-brand img{width:110px}
 .shell-brand strong{font-size:12px}.shell-brand small{font-size:10px}
 .shell-desktop-nav,.shell-footer{display:none!important}
 .shell-mobile-menu{display:block;position:relative;margin:0 12px;min-width:170px;max-width:260px;flex:0 1 230px}
 .shell-mobile-menu summary{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 12px;background:#1d2a62;border:1px solid #42517f;border-radius:8px;cursor:pointer;list-style:none}
 .shell-mobile-menu summary::-webkit-details-marker{display:none}
 .shell-mobile-menu summary span:first-child{font-size:11px;color:#d3dbed}
 .shell-mobile-menu summary strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .shell-mobile-menu .shell-menu-arrow{font-size:19px;color:#dde4f0}
 .shell-mobile-links{position:absolute;top:100%;right:0;margin-top:8px;width:min(330px,90vw);max-height:min(80vh,650px);overflow-y:auto;padding:8px 12px 18px;background:#000548;border:1px solid #354373;border-radius:10px;box-shadow:0 15px 35px #060e3680;z-index:100}
 .shell-mobile-menu:not([open]) .shell-mobile-links{display:none}
 .app-layout .topbar{padding:21px 22px}
 .app-layout .main{padding:20px 22px 34px}
}
@media(max-width:550px){
 .shell-brand img{width:95px}.shell-brand{gap:6px;padding:9px 10px}.shell-brand strong{font-size:11px}
 .shell-brand small{font-size:9px}
 .shell-mobile-menu{min-width:0;flex:0 1 148px;margin:0 9px}
 .shell-mobile-menu summary{padding:9px;gap:5px}.shell-mobile-menu summary span:first-child{display:none}
 .shell-mobile-menu summary strong{font-size:11px}
 .app-layout .topbar{padding:17px 15px}
 .app-layout .main{padding:16px 13px 30px}
 .app-layout .topbar h1{font-size:22px}
 .app-layout .time-pill{display:none}
}


/* Signage administration 2026-11 cleanup: compact navigation, shared patterns. */
.shell-nav-section{padding:4px 0 9px;border-bottom:1px solid rgba(255,255,255,.075)}
.shell-nav-section:last-child{border-bottom:0}
.shell-nav-heading{display:flex;align-items:center;justify-content:space-between;
 min-height:32px;padding:8px 12px 6px;color:#96a8cd;letter-spacing:.08em;
 text-transform:uppercase;font-size:10px;font-weight:750;cursor:pointer;list-style:none;
 border-radius:7px;user-select:none}
.shell-nav-heading::-webkit-details-marker{display:none}
.shell-nav-heading:hover{color:#fff;background:#182455}
.shell-nav-heading:focus-visible,.shell-link:focus-visible,.shell-mobile-menu summary:focus-visible{outline:2px solid #c5d5ff;outline-offset:2px}
.shell-nav-chevron{display:inline-block;font-size:17px;line-height:12px;opacity:.75;transition:transform .15s ease}
.shell-nav-section[open]>.shell-nav-heading .shell-nav-chevron{transform:rotate(180deg)}
.shell-nav-group{padding:3px 0 2px}
.shell-nav-section .shell-link{gap:11px;justify-content:flex-start;
 min-height:39px;padding:9px 11px;font-weight:520;font-size:12px}
.shell-icon{width:17px;height:17px;flex-shrink:0;opacity:.78}
.shell-link:hover .shell-icon,.shell-link.active .shell-icon{opacity:1}
.shell-nav-section .shell-link-text{flex:1;min-width:0}
.shell-link-current{width:6px;height:6px;border-radius:50%;background:#ec003c;flex:none}
.shell-link.active{background:#233875!important}
.shell-brand{padding:21px 20px 20px;gap:12px}
.shell-brand img{width:142px}
.shell-brand strong{font-size:15px}
.shell-desktop-nav{padding:7px 10px 14px}
.shell-footer{display:flex;align-items:center;gap:5px;font-size:10px;white-space:normal;padding:13px 18px;line-height:1.3}
.app-layout .main{padding-top:24px}
.app-layout .topbar{padding-top:22px;padding-bottom:22px}
.app-layout .panel,.app-layout .channel-card,.app-layout .playlist-tile,.app-layout .stat{border-radius:12px}
.app-layout .button{border-radius:9px}
.app-layout .section-heading{align-items:center}
/* Admin shortcuts: task-oriented home, no duplicated marketing panels. */
.signage-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 30px}
.signage-quick-link{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:105px;
 padding:17px;background:#fff;color:#182346!important;border:1px solid #dce3ef;border-radius:12px;
 text-decoration:none!important;transition:background .16s ease,border-color .16s ease}
.signage-quick-link:hover,.signage-quick-link:focus-visible{background:#f3f6fd}
.signage-quick-link strong{font-size:13px;font-weight:730;line-height:1.35}
.signage-quick-link small{color:#71809c;font-size:11px;line-height:1.5}
.signage-quick-link .sq-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e8eeff;color:#254482;margin-bottom:3px}
.signage-quick-link .sq-icon .shell-icon{width:20px;height:20px;opacity:1}
.signage-help{display:flex;gap:14px;align-items:flex-start;border:1px solid #dce5f1;background:#fff;
 border-radius:12px;padding:17px 20px;margin:20px 0;color:#273657}
.signage-help strong{font-size:13px}
.signage-help p{color:#64718c!important;font-size:12px;line-height:1.6;margin:6px 0 0}
@media(max-width:1180px){.signage-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){
 .shell-sidebar{top:var(--dy-chrome)!important;height:auto!important;max-height:none!important;min-height:0!important}
 .shell-brand{padding:10px 14px;gap:9px}
 .shell-mobile-menu{z-index:150}
 .shell-mobile-links{max-height:calc(100dvh - var(--dy-chrome) - 85px);padding:6px 8px 16px}
 .shell-nav-section{padding-bottom:4px}
 .shell-nav-group{padding:0 2px 5px}
 .shell-nav-heading{font-size:10px}
 .shell-link{font-size:12px}
}
@media(max-width:640px){
 .signage-quick-grid{gap:9px;margin-top:15px}
 .signage-quick-link{padding:13px;min-height:96px}
 .signage-quick-link strong{font-size:12px}
 .app-layout .main{padding-top:18px}
 .shell-brand img{width:90px}
}
@media(max-width:380px){.signage-quick-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.shell-nav-chevron,.signage-quick-link{transition:none}}

/* Wide desktop: keep operational pages readable without constraining the plugin IDE. */
@media(min-width:1800px){
 .app-layout:not(.cms-app) .main{max-width:1720px!important;width:100%!important;margin-left:auto;margin-right:auto}
 .app-layout:not(.cms-app) .topbar{padding-left:max(40px,calc((100% - 1640px)/2));padding-right:max(40px,calc((100% - 1640px)/2))}
}
