/* S4S Admin Shared Shell v1
   Shared topbar/sidebar/notification layer. Page-specific sections remain inside each HTML file. */
:root{
  --shell-side:268px;
  --shell-top:74px;
  --shell-accent:#14b8a6;
  --shell-accent-dark:#0d9488;
  --shell-accent-soft:rgba(20,184,166,.12);
  --shell-accent-border:rgba(20,184,166,.24);
  --shell-radius:14px;
  --shell-transition:180ms cubic-bezier(.2,.8,.2,1);
  --shell-shadow:0 18px 42px rgba(0,0,0,.20);
}
html,body{font-family:var(--font,'Inter Tight',Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif)!important}
.topbar{
  height:var(--top,var(--shell-top))!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 22px!important;
  background:rgba(10,22,40,.84)!important;
  border-bottom:1px solid var(--border,rgba(255,255,255,.075))!important;
  box-shadow:var(--shell-shadow)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  position:relative!important;
  z-index:80!important;
}
html[data-theme=light] .topbar{background:rgba(255,255,255,.86)!important}
.tb-brand{width:var(--side,var(--shell-side))!important;flex-shrink:0!important;min-width:0!important}
.tb-brand .sub{font-family:var(--mono,'JetBrains Mono',monospace)!important;font-size:9px!important;letter-spacing:1.45px!important;text-transform:uppercase!important;color:var(--muted,#94a3b8)!important;line-height:1.15!important}
.tb-brand .name{font-family:var(--font,'Inter Tight',Inter,sans-serif)!important;font-size:21px!important;font-weight:850!important;letter-spacing:-.045em!important;color:var(--text,#e2e8f0)!important;line-height:1.1!important;margin-top:3px!important}
.tb-crumb{flex:1!important;display:flex!important;align-items:center!important;gap:8px!important;color:var(--soft,#64748b)!important;font-size:13px!important;min-width:0!important}
.tb-crumb .cur,.tb-crumb b{color:var(--text,#e2e8f0)!important;font-weight:800!important}
.tb-crumb .sep{opacity:.55!important}.tb-right{display:flex!important;align-items:center!important;gap:9px!important;position:relative!important}
.tb-menu,.theme-btn,.shell-notif-btn{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:12px!important;background:var(--card,rgba(15,29,50,.92))!important;border:1px solid var(--border,rgba(255,255,255,.075))!important;color:var(--text,#e2e8f0)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important;transition:transform var(--shell-transition),background var(--shell-transition),border-color var(--shell-transition),color var(--shell-transition)!important}
.tb-menu:hover,.theme-btn:hover,.shell-notif-btn:hover{transform:translateY(-1px)!important;background:var(--shell-accent-soft)!important;border-color:var(--shell-accent-border)!important;color:var(--shell-accent)!important}
.tb-admin{min-height:40px!important;padding:0 14px!important;border-radius:999px!important;background:var(--card,rgba(15,29,50,.92))!important;border:1px solid var(--border,rgba(255,255,255,.075))!important;display:flex!important;align-items:center!important;gap:8px!important;box-shadow:none!important;color:var(--muted,#94a3b8)!important;white-space:nowrap!important}
.tb-av{width:26px!important;height:26px!important;border-radius:50%!important;background:var(--shell-accent-soft)!important;border:1px solid var(--shell-accent-border)!important;color:var(--shell-accent)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:900!important}
.tb-signout,.topbar .btn.btn-red{min-height:38px!important;padding:0 14px!important;border-radius:11px!important;background:var(--redd,rgba(244,63,94,.1))!important;border:1px solid var(--redb,rgba(244,63,94,.22))!important;color:var(--red,#f43f5e)!important;font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
.sidebar{width:var(--side,var(--shell-side))!important;flex-shrink:0!important;background:linear-gradient(180deg,var(--bg3,#0f1d32),var(--bg2,#0a1628) 70%,var(--bg,#070d18))!important;border-right:1px solid var(--border,rgba(255,255,255,.075))!important;transition:width var(--shell-transition),transform var(--shell-transition)!important;z-index:60!important}
html[data-theme=light] .sidebar{background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)!important}
.snav{padding:18px 14px!important}.sgrp{margin-bottom:16px!important}.sgrp-lbl{font-family:var(--mono,'JetBrains Mono',monospace)!important;font-size:9px!important;font-weight:650!important;letter-spacing:1.45px!important;text-transform:uppercase!important;color:var(--soft,#64748b)!important;padding:0 10px 7px!important}.sitem{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 14px!important;border-radius:13px!important;color:var(--muted,#94a3b8)!important;border:1px solid transparent!important;font-size:13px!important;font-weight:700!important;transition:transform var(--shell-transition),background var(--shell-transition),border-color var(--shell-transition),color var(--shell-transition)!important;margin-bottom:3px!important}.sitem:hover{transform:translateX(2px)!important;background:rgba(255,255,255,.05)!important;color:var(--text,#e2e8f0)!important}.sitem.active,[data-nav-key].active{background:var(--shell-accent-soft)!important;color:var(--shell-accent)!important;border-color:var(--shell-accent-border)!important}.sitem .ico{width:20px!important;text-align:center!important;flex-shrink:0!important}.side-mini-head{display:none}.shell-notif-wrap{position:relative;display:inline-flex}.shell-notif-btn{position:relative;font-size:17px!important}.shell-notif-badge{position:absolute;top:5px;right:5px;min-width:8px;height:8px;border-radius:999px;background:var(--red,#f43f5e);border:2px solid var(--bg2,#0a1628);display:none}.shell-notif-badge.on{display:block}.shell-notif-panel{position:absolute;right:0;top:48px;width:340px;max-width:calc(100vw - 28px);background:var(--card,#0f1d32);border:1px solid var(--border2,rgba(255,255,255,.14));border-radius:18px;box-shadow:0 24px 64px rgba(0,0,0,.45);padding:10px;z-index:200;opacity:0;transform:translateY(-6px) scale(.98);pointer-events:none;transition:opacity var(--shell-transition),transform var(--shell-transition)}.shell-notif-panel.open{opacity:1;transform:none;pointer-events:auto}.shell-notif-head{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 10px;border-bottom:1px solid var(--border,rgba(255,255,255,.075));margin-bottom:6px}.shell-notif-title{font-weight:900;letter-spacing:-.02em;color:var(--text,#e2e8f0)}.shell-notif-sub{font-family:var(--mono,'JetBrains Mono',monospace);font-size:9px;text-transform:uppercase;letter-spacing:1.1px;color:var(--soft,#64748b)}.shell-notif-empty{padding:18px 12px;text-align:center;color:var(--muted,#94a3b8);font-size:12px;line-height:1.6}.shell-notif-empty b{display:block;color:var(--text,#e2e8f0);font-size:13px;margin-bottom:2px}.shell-toast-host{position:fixed;top:88px;right:18px;z-index:9999;display:flex;flex-direction:column;gap:8px;pointer-events:none}.shell-toast{pointer-events:auto;max-width:360px;padding:11px 14px;border-radius:13px;background:var(--card,#0f1d32);border:1px solid var(--border2,rgba(255,255,255,.14));box-shadow:0 18px 44px rgba(0,0,0,.32);color:var(--text,#e2e8f0);font-size:12px;font-weight:800;animation:shellToastIn .18s ease forwards}.shell-toast.ok{border-color:var(--greenb,rgba(34,197,94,.22));color:var(--green,#22c55e)}.shell-toast.err{border-color:var(--redb,rgba(244,63,94,.24));color:var(--red,#f43f5e)}.shell-toast.warn{border-color:var(--orangeb,rgba(245,158,11,.22));color:var(--orange,#f59e0b)}@keyframes shellToastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
body.shell-ready .topbar,body.shell-ready .sidebar{will-change:transform}body.shell-side-closed .sidebar,#app.side-closed .sidebar{width:72px!important}body.shell-side-closed .sitem span:not(.ico),#app.side-closed .sitem span:not(.ico){display:none!important}body.shell-side-closed .sitem,#app.side-closed .sitem{justify-content:center!important;padding-left:0!important;padding-right:0!important}
@media(max-width:1100px){.tb-brand{width:auto!important}.sidebar{position:fixed!important;top:var(--top,var(--shell-top))!important;bottom:0!important;left:0!important;transform:translateX(-105%)!important;width:280px!important;box-shadow:0 28px 70px rgba(0,0,0,.45)!important}.sidebar.shell-mobile-open{transform:translateX(0)!important}.side-mini-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:14px 16px!important;border-bottom:1px solid var(--border)!important;font-weight:900!important}.side-mini-head button{width:32px;height:32px;border-radius:10px;background:var(--card2);color:var(--text)}}
@media(max-width:720px){.topbar{padding:0 12px!important;gap:8px!important}.tb-crumb,.tb-admin span,.tb-brand .sub{display:none!important}.tb-brand .name{font-size:16px!important}.shell-notif-panel{right:-58px;width:318px}.shell-toast-host{top:80px;right:10px;left:10px}.shell-toast{max-width:none}}


/* Shared Shell v1.1 — expanded workspace when sidebar is collapsed.
   Keeps each page layout full-width instead of staying trapped in old max-width containers. */
body.shell-side-closed .tb-brand,
#app.side-closed .tb-brand,
.app.side-closed .tb-brand{width:72px!important;max-width:72px!important;overflow:hidden!important}
body.shell-side-closed .tb-brand .sub,
#app.side-closed .tb-brand .sub,
.app.side-closed .tb-brand .sub{display:none!important}
body.shell-side-closed .tb-brand .name,
#app.side-closed .tb-brand .name,
.app.side-closed .tb-brand .name{font-size:13px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.shell-side-closed .main,
#app.side-closed .main,
.app.side-closed .main{flex:1 1 auto!important;width:calc(100vw - 72px)!important;max-width:none!important;min-width:0!important}
body.shell-side-closed .content,
#app.side-closed .content,
.app.side-closed .content{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.shell-side-closed .page,
#app.side-closed .page,
.app.side-closed .page{max-width:none!important;width:100%!important}
body.shell-side-closed .ph,
#app.side-closed .ph,
.app.side-closed .ph,
body.shell-side-closed .fbar,
#app.side-closed .fbar,
.app.side-closed .fbar{max-width:none!important;width:100%!important}
body.shell-side-closed .tw,
#app.side-closed .tw,
.app.side-closed .tw,
body.shell-side-closed .table-card,
#app.side-closed .table-card,
.app.side-closed .table-card,
body.shell-side-closed .card,
#app.side-closed .card,
.app.side-closed .card{max-width:none!important}
body.shell-side-closed table,
#app.side-closed table,
.app.side-closed table{width:100%!important}

/* Shared Shell v1.2 — universal topbar shortcuts + true full-width workspaces */
.tb-shortcuts{display:flex!important;align-items:center!important;gap:8px!important;margin-right:2px!important;min-width:0!important;flex:0 0 auto!important}
.dbshort-add{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;border:1px solid var(--border,rgba(255,255,255,.075))!important;background:var(--card,rgba(15,29,50,.92))!important;color:var(--shell-accent,#14b8a6)!important;font-size:20px!important;font-weight:900!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;transition:transform var(--shell-transition),background var(--shell-transition),border-color var(--shell-transition)!important}
.dbshort-add:hover{background:var(--shell-accent-soft)!important;border-color:var(--shell-accent-border)!important;transform:translateY(-1px)!important}
.dbshort-list{display:flex!important;align-items:center!important;gap:7px!important;max-width:380px!important;overflow:visible!important;position:relative!important;z-index:120!important}
.dbshort-item{appearance:none!important;-webkit-appearance:none!important;position:relative!important;width:40px!important;height:40px!important;min-width:40px!important;border-radius:50%!important;background:var(--card,rgba(15,29,50,.92))!important;border:1px solid var(--border,rgba(255,255,255,.075))!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;transition:transform var(--shell-transition),border-color var(--shell-transition),background var(--shell-transition)!important;cursor:pointer!important;padding:0!important;color:inherit!important;flex:0 0 auto!important}
.dbshort-item:hover{transform:translateY(-3px) scale(1.07)!important;border-color:var(--shell-accent-border)!important;background:var(--shell-accent-soft)!important;z-index:999!important}
.dbshort-item img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;display:block!important;pointer-events:none!important}
.dbshort-fallback{width:100%!important;height:100%!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;font-weight:900!important;color:var(--shell-accent,#14b8a6)!important;background:var(--shell-accent-soft)!important;pointer-events:none!important}
.dbshort-tip{position:absolute!important;top:50px!important;left:50%!important;width:282px!important;max-width:calc(100vw - 24px)!important;padding:13px 14px!important;border-radius:14px!important;background:#071221!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:0 22px 60px rgba(0,0,0,.75),0 0 0 1px rgba(0,0,0,.55)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translate(-50%,-8px) scale(.98)!important;transition:opacity var(--shell-transition),transform var(--shell-transition),visibility var(--shell-transition)!important;text-align:left!important;z-index:9999!important}
.dbshort-tip:before{content:''!important;position:absolute!important;top:-6px!important;left:50%!important;width:12px!important;height:12px!important;transform:translateX(-50%) rotate(45deg)!important;background:#071221!important;border-left:1px solid rgba(255,255,255,.18)!important;border-top:1px solid rgba(255,255,255,.18)!important}
.dbshort-item:hover .dbshort-tip,.dbshort-item:focus-visible .dbshort-tip{opacity:1!important;visibility:visible!important;transform:translate(-50%,0) scale(1)!important}
.dbshort-tip strong{display:block!important;font-size:13px!important;color:#f8fafc!important;line-height:1.25!important;margin-bottom:5px!important;font-weight:900!important}.dbshort-tip span{display:block!important;font-size:12px!important;color:#dbeafe!important;line-height:1.45!important;white-space:normal!important}.dbshort-tip small{display:block!important;margin-top:8px!important;font-family:var(--mono,'JetBrains Mono',monospace)!important;font-size:9px!important;color:#5eead4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-theme="light"] .dbshort-tip{background:#fff!important;border-color:rgba(15,23,42,.18)!important;box-shadow:0 22px 60px rgba(15,23,42,.22),0 0 0 1px rgba(15,23,42,.08)!important}html[data-theme="light"] .dbshort-tip:before{background:#fff!important;border-left-color:rgba(15,23,42,.18)!important;border-top-color:rgba(15,23,42,.18)!important}html[data-theme="light"] .dbshort-tip strong{color:#0f172a!important}html[data-theme="light"] .dbshort-tip span{color:#334155!important}html[data-theme="light"] .dbshort-tip small{color:#0d9488!important}
.dbshort-manager{display:flex!important;flex-direction:column!important;gap:10px!important;margin-top:6px!important;max-height:300px!important;overflow:auto!important;padding-right:2px!important}.dbshort-row{display:grid!important;grid-template-columns:36px 1fr auto!important;gap:10px!important;align-items:center!important;padding:10px!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important;border:1px solid var(--border,rgba(255,255,255,.075))!important}.dbshort-row-logo{width:36px!important;height:36px!important;border-radius:50%!important;background:var(--shell-accent-soft)!important;border:1px solid var(--shell-accent-border)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;color:var(--shell-accent)!important;font-size:12px!important;font-weight:900!important}.dbshort-row-logo img{width:100%!important;height:100%!important;object-fit:cover!important}.dbshort-row-main{min-width:0!important}.dbshort-row-main strong{display:block!important;font-size:13px!important;color:var(--text,#e2e8f0)!important;line-height:1.25!important}.dbshort-row-main span{display:block!important;font-size:11px!important;color:var(--muted,#94a3b8)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin-top:2px!important}.dbshort-row-actions{display:flex!important;align-items:center!important;gap:5px!important}.dbshort-empty{padding:18px!important;text-align:center!important;color:var(--soft,#64748b)!important;border:1px dashed var(--border,rgba(255,255,255,.075))!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important;font-size:12px!important}
.dbshort-drop{position:relative!important;display:flex!important;align-items:center!important;gap:14px!important;min-height:96px!important;padding:14px!important;border-radius:16px!important;background:rgba(255,255,255,.035)!important;border:1px dashed var(--border2,rgba(255,255,255,.14))!important;cursor:pointer!important;transition:all var(--shell-transition)!important}.dbshort-drop:hover,.dbshort-drop.dragover{background:var(--shell-accent-soft)!important;border-color:var(--shell-accent-border)!important;transform:translateY(-1px)!important}.dbshort-drop input{position:absolute!important;inset:0!important;opacity:0!important;cursor:pointer!important}.dbshort-preview{width:58px!important;height:58px!important;border-radius:50%!important;background:var(--card,rgba(15,29,50,.92))!important;border:1px solid var(--border2,rgba(255,255,255,.14))!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;color:var(--shell-accent)!important;font-size:22px!important;font-weight:900!important;flex-shrink:0!important}.dbshort-preview img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}.dbshort-drop-copy strong{display:block!important;font-size:13px!important;color:var(--text,#e2e8f0)!important;line-height:1.3!important}.dbshort-drop-copy span{display:block!important;font-size:11px!important;color:var(--muted,#94a3b8)!important;line-height:1.45!important;margin-top:4px!important}.dbshort-drop-copy small{display:block!important;font-size:10px!important;color:var(--soft,#64748b)!important;margin-top:5px!important}
/* These two pages had old embedded shell rules that capped the workspace. Force them to use the shared shell width. */
html[data-shell-page="live-sessions"] .content,
html[data-shell-page="customers"] .content{max-width:none!important;width:100%!important;margin:0!important;flex:1 1 auto!important}
html[data-shell-page="live-sessions"] .main,
html[data-shell-page="customers"] .main{max-width:none!important;width:auto!important;min-width:0!important;flex:1 1 auto!important}
html[data-shell-page="live-sessions"] .page,
html[data-shell-page="customers"] .page{max-width:none!important;width:100%!important}
html[data-shell-page="live-sessions"] #app.side-closed .content,
html[data-shell-page="customers"] #app.side-closed .content,
html[data-shell-page="live-sessions"] body.shell-side-closed .content,
html[data-shell-page="customers"] body.shell-side-closed .content{max-width:none!important;width:100%!important;margin:0!important}
@media(max-width:980px){.dbshort-list{max-width:170px!important}.dbshort-tip{right:auto!important;left:0!important;transform:translate(0,-8px) scale(.98)!important}.dbshort-item:hover .dbshort-tip,.dbshort-item:focus-visible .dbshort-tip{transform:translate(0,0) scale(1)!important}}
@media(max-width:720px){.tb-shortcuts{gap:5px!important}.dbshort-list{display:none!important}.dbshort-add{width:36px!important;height:36px!important;min-width:36px!important}.theme-btn{display:none!important}}


/* S4S shell hard-fix 2026-05-15: stable split-page width, no collapsed-sidebar trap, restored shortcut visibility. */
html.shell-side-closed .sidebar,
body.shell-side-closed .sidebar,
#app.side-closed .sidebar,
.app.side-closed .sidebar{width:72px!important;min-width:72px!important;max-width:72px!important;overflow:hidden!important}
html.shell-side-closed .tb-brand,
body.shell-side-closed .tb-brand,
#app.side-closed .tb-brand,
.app.side-closed .tb-brand{width:72px!important;min-width:72px!important;max-width:72px!important;overflow:hidden!important}
html.shell-side-closed .tb-brand .sub,
body.shell-side-closed .tb-brand .sub,
#app.side-closed .tb-brand .sub,
.app.side-closed .tb-brand .sub{display:none!important}
html.shell-side-closed .body,
body.shell-side-closed .body,
#app.side-closed .body,
.app.side-closed .body{display:flex!important;width:100vw!important;max-width:none!important;min-width:0!important;overflow:hidden!important}
html.shell-side-closed .main,
body.shell-side-closed .main,
#app.side-closed .main,
.app.side-closed .main{flex:1 1 auto!important;width:calc(100vw - 72px)!important;max-width:none!important;min-width:0!important;margin:0!important;overflow:auto!important}
html.shell-side-closed .content,
body.shell-side-closed .content,
#app.side-closed .content,
.app.side-closed .content{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;flex:1 1 auto!important;overflow:visible!important}
html.shell-side-closed .page,
html.shell-side-closed .tw,
html.shell-side-closed .card,
html.shell-side-closed .table-card,
html.shell-side-closed .table-wrap,
body.shell-side-closed .page,
body.shell-side-closed .tw,
body.shell-side-closed .card,
body.shell-side-closed .table-card,
body.shell-side-closed .table-wrap,
#app.side-closed .page,
#app.side-closed .tw,
#app.side-closed .card,
#app.side-closed .table-card,
#app.side-closed .table-wrap,
.app.side-closed .page,
.app.side-closed .tw,
.app.side-closed .card,
.app.side-closed .table-card,
.app.side-closed .table-wrap{width:100%!important;max-width:none!important;min-width:0!important}
html[data-shell-page="catalogs"] .main,
html[data-shell-page="catalogs"] .content,
html[data-shell-page="catalogs"] .page,
html[data-shell-page="catalogs"] .tw,
html[data-shell-page="catalogs"] .card,
html[data-shell-page="services"] .main,
html[data-shell-page="services"] .content,
html[data-shell-page="services"] .page,
html[data-shell-page="services"] .tw,
html[data-shell-page="services"] .card,
html[data-shell-page="live-sessions"] .main,
html[data-shell-page="live-sessions"] .content,
html[data-shell-page="live-sessions"] .page,
html[data-shell-page="live-sessions"] .tw,
html[data-shell-page="live-sessions"] .card,
html[data-shell-page="customers"] .main,
html[data-shell-page="customers"] .content,
html[data-shell-page="customers"] .page,
html[data-shell-page="customers"] .tw,
html[data-shell-page="customers"] .card{max-width:none!important;min-width:0!important}
html[data-shell-page="catalogs"] .content,
html[data-shell-page="services"] .content,
html[data-shell-page="live-sessions"] .content,
html[data-shell-page="customers"] .content{width:100%!important;margin:0!important}
.tb-right{min-width:0!important;flex-shrink:0!important}.tb-shortcuts{display:inline-flex!important;align-items:center!important;gap:8px!important;order:1!important;visibility:visible!important;opacity:1!important}.shell-notif-wrap{order:2!important}.tb-admin{order:3!important}.theme-btn{order:4!important}.tb-signout,.topbar .btn.btn-red{order:5!important}.dbshort-list{display:inline-flex!important;align-items:center!important;gap:7px!important;min-width:0!important}.dbshort-item,.dbshort-add{visibility:visible!important;opacity:1!important;pointer-events:auto!important}.dbshort-row-logo img,.dbshort-item img{background:#fff!important}
@media(max-width:1280px){.dbshort-list{max-width:260px!important}.tb-admin{padding:0 10px!important}.tb-admin span{max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important}}


/* DB-Short restore: keep old saved SQL icons visible, no fake/new text-only replacement look. */
.tb-shortcuts{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex:0 0 auto!important;order:1!important;visibility:visible!important;opacity:1!important}
.dbshort-list{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;max-width:420px!important;overflow:visible!important}
.dbshort-item{width:40px!important;height:40px!important;min-width:40px!important;border-radius:50%!important;padding:0!important;overflow:visible!important;background:rgba(15,29,50,.78)!important;border:1px solid rgba(148,163,184,.14)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;color:#14b8a6!important;box-shadow:none!important}
.dbshort-item img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;background:#fff!important;display:block!important}
.dbshort-fallback{width:100%!important;height:100%!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:900!important;color:#14b8a6!important;background:rgba(20,184,166,.14)!important}
.dbshort-add{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(15,29,50,.78)!important;border:1px solid rgba(148,163,184,.14)!important;color:#14b8a6!important;font-size:20px!important;font-weight:900!important;box-shadow:none!important}
.shell-notif-wrap{order:2!important}.tb-admin{order:3!important}.theme-btn{order:4!important}.tb-signout,.topbar .btn.btn-red{order:5!important}
/* Full-width shell restore for all split pages, including Catalogs. */
.app .main,#app .main{flex:1 1 auto!important;min-width:0!important;max-width:none!important}
.app .content,#app .content{width:100%!important;max-width:none!important;margin:0!important;min-width:0!important}
html.shell-side-closed .main,body.shell-side-closed .main,#app.side-closed .main,.app.side-closed .main{width:calc(100vw - 72px)!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important;margin:0!important}
html.shell-side-closed .content,body.shell-side-closed .content,#app.side-closed .content,.app.side-closed .content{width:100%!important;max-width:none!important;margin:0!important;min-width:0!important}
html.shell-side-closed .page,html.shell-side-closed .tw,html.shell-side-closed .card,html.shell-side-closed .table-card,body.shell-side-closed .page,body.shell-side-closed .tw,body.shell-side-closed .card,body.shell-side-closed .table-card,#app.side-closed .page,#app.side-closed .tw,#app.side-closed .card,#app.side-closed .table-card,.app.side-closed .page,.app.side-closed .tw,.app.side-closed .card,.app.side-closed .table-card{width:100%!important;max-width:none!important}

/* DB-Short final ownership guard — old SQL shortcuts stay visible; no text-only wipe on failed load. */
.tb-shortcuts[data-dbshort-owner="shared-shell"]{display:inline-flex!important;align-items:center!important;gap:8px!important;visibility:visible!important;opacity:1!important;min-width:0!important;flex:0 0 auto!important;order:1!important}
.dbshort-list[data-dbshort-owner="shared-shell"]{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:40px!important;min-width:0!important;max-width:440px!important;overflow:visible!important;visibility:visible!important;opacity:1!important}
.dbshort-list[data-dbshort-owner="shared-shell"] .dbshort-item{width:40px!important;height:40px!important;min-width:40px!important;border-radius:50%!important;padding:0!important;overflow:visible!important;background:rgba(15,29,50,.78)!important;border:1px solid rgba(148,163,184,.14)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;color:#14b8a6!important;box-shadow:none!important;flex:0 0 auto!important}
.dbshort-list[data-dbshort-owner="shared-shell"] .dbshort-item img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;background:#fff!important;display:block!important}
.dbshort-list[data-dbshort-owner="shared-shell"] .dbshort-fallback{width:100%!important;height:100%!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:900!important;color:#14b8a6!important;background:rgba(20,184,166,.14)!important}
.tb-shortcuts[data-dbshort-owner="shared-shell"] .dbshort-add{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:rgba(15,29,50,.78)!important;border:1px solid rgba(148,163,184,.14)!important;color:#14b8a6!important;font-size:20px!important;font-weight:900!important;box-shadow:none!important}

/* S4S real admin notifications — single owner: assets/admin-shell.js */
.shell-notif-actions{display:inline-flex;align-items:center;gap:6px}.shell-notif-list{display:flex;flex-direction:column;gap:7px;max-height:430px;overflow:auto;padding:4px}.shell-notif-item{width:100%;display:grid;grid-template-columns:34px 1fr 8px;gap:10px;align-items:start;text-align:left;border:1px solid var(--border,rgba(255,255,255,.075));background:rgba(255,255,255,.028);border-radius:14px;padding:10px;color:var(--text,#e2e8f0);cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease}.shell-notif-item:hover{transform:translateY(-1px);background:rgba(255,255,255,.052);border-color:var(--shell-accent-border,rgba(20,184,166,.28))}.shell-notif-item.unread{background:rgba(20,184,166,.09);border-color:rgba(20,184,166,.24)}.shell-notif-ico{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(15,29,50,.85);border:1px solid var(--border,rgba(255,255,255,.075));font-size:16px}.shell-notif-main{min-width:0;display:flex;flex-direction:column;gap:3px}.shell-notif-main strong{font-size:12.5px;font-weight:900;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell-notif-main em{font-style:normal;font-size:11.5px;line-height:1.35;color:var(--muted,#94a3b8);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.shell-notif-main small{font-family:var(--mono,'JetBrains Mono',monospace);font-size:9px;text-transform:uppercase;letter-spacing:.65px;color:var(--soft,#64748b)}.shell-notif-dot{width:8px;height:8px;border-radius:999px;background:transparent;margin-top:13px}.shell-notif-item.unread .shell-notif-dot{background:var(--shell-accent,#14b8a6);box-shadow:0 0 0 4px rgba(20,184,166,.12)}.shell-notif-item.warning .shell-notif-dot,.shell-notif-item.warn .shell-notif-dot{background:var(--orange,#f59e0b)}.shell-notif-item.danger .shell-notif-dot,.shell-notif-item.error .shell-notif-dot{background:var(--red,#f43f5e)}.shell-notif-item.success .shell-notif-dot{background:var(--green,#22c55e)}.shell-notif-badge{color:#fff!important;font-family:var(--mono,'JetBrains Mono',monospace)!important;font-size:8px!important;line-height:14px!important;text-align:center!important;top:2px!important;right:2px!important;min-width:15px!important;height:15px!important;border-width:2px!important}.shell-notif-badge:not(:empty){padding:0 3px!important}
