/* Fleet 1072 — unified collapsible navigation */
.side .nav.fleet-nav-v1072{padding:50px 8px 8px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:#304454 transparent}
.side .nav.fleet-nav-v1072::-webkit-scrollbar{width:5px}.side .nav.fleet-nav-v1072::-webkit-scrollbar-thumb{background:#304454;border-radius:8px}.side .nav.fleet-nav-v1072::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
.fleet-nav-home,.fleet-nav-settings-link{width:100%!important;margin:2px 0!important}
.fleet-nav-group{margin:3px 0;border-radius:10px;overflow:hidden}
.fleet-nav-group-head{width:100%!important;min-height:39px!important;margin:0!important;padding:0 9px!important;border:0!important;background:transparent!important;color:#b9c7d0!important;display:flex!important;align-items:center!important;gap:9px!important;font-size:11px!important;font-weight:800!important;text-align:left!important;cursor:pointer!important;border-radius:9px!important}
.fleet-nav-group-head:hover,.fleet-nav-group.has-active>.fleet-nav-group-head{background:#102431!important;color:#fff!important}
.fleet-nav-group-head .ico{width:18px!important;height:18px!important;display:grid!important;place-items:center!important;flex:0 0 auto!important}
.fleet-nav-group-head .ico svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.8!important}
.fleet-nav-group-head .group-label{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fleet-nav-group-head .group-chevron{font-size:13px;line-height:1;transition:transform .16s ease;color:#7f919d;margin-left:auto!important}
.fleet-nav-group.open>.fleet-nav-group-head .group-chevron{transform:rotate(90deg)}
.fleet-nav-sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .18s ease}
.fleet-nav-sub-inner{min-height:0;overflow:hidden}
.fleet-nav-group.open>.fleet-nav-sub{grid-template-rows:1fr}
.fleet-nav-sub button{width:100%!important;min-height:36px!important;margin:1px 0!important;padding:0 9px 0 28px!important;border-radius:8px!important;font-size:11px!important;gap:9px!important}
.fleet-nav-sub button .ico{width:18px!important;height:18px!important;flex:0 0 auto!important}.fleet-nav-sub button .ico svg{width:17px!important;height:17px!important}
.fleet-nav-sub button.active{background:#f51f37!important;color:#fff!important;box-shadow:0 7px 18px rgba(245,31,55,.18)!important}
.fleet-nav-sub button[disabled]{opacity:.45;cursor:not-allowed}
.fleet-nav-admin-lock{font-size:9px;margin-left:auto;opacity:.7}
.fleet-nav-module-page{max-width:900px}.fleet-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fleet-module-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #d7e1e8;border-radius:14px;background:#fff}.fleet-module-card h3{margin:0 0 4px;font-size:14px}.fleet-module-card p{margin:0;color:#6b7d89;font-size:11px;line-height:1.45}.fleet-module-switch{position:relative;width:46px;height:26px;flex:0 0 auto}.fleet-module-switch input{position:absolute;opacity:0}.fleet-module-switch span{position:absolute;inset:0;border-radius:999px;background:#b8c5ce;cursor:pointer;transition:.16s}.fleet-module-switch span:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:.16s}.fleet-module-switch input:checked+span{background:#16a34a}.fleet-module-switch input:checked+span:after{transform:translateX(20px)}.fleet-module-note{margin-top:14px;padding:12px 14px;border-radius:12px;background:#eef6fb;border:1px solid #d3e6f1;color:#526876;font-size:11px;line-height:1.5}
.fleet-nav-placeholder{max-width:760px;padding:22px}.fleet-nav-placeholder h2{margin-top:0}.fleet-nav-placeholder p{color:#637785;line-height:1.55}
.fleet-embedded-module{height:calc(100vh - 138px);min-height:560px;display:flex;flex-direction:column;border:1px solid #d5e0e7;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(13,30,42,.08)}
.fleet-embedded-toolbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px 7px 14px;border-bottom:1px solid #d8e2e9;background:#f7fafc;color:#5d7180;font-size:11px}
.fleet-embedded-toolbar .btn{min-height:32px!important;padding:0 11px!important;white-space:nowrap}
.fleet-embedded-frame{display:block;width:100%;height:100%;min-height:0;flex:1 1 auto;border:0;background:#fff}
body.fleet-side-collapsed .side .nav.fleet-nav-v1072{padding:50px 1px 6px!important;overflow-y:auto!important}
body.fleet-side-collapsed .fleet-nav-group-head{width:48px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:2px auto!important;justify-content:center!important}
body.fleet-side-collapsed .fleet-nav-group-head .group-label,body.fleet-side-collapsed .fleet-nav-group-head .group-chevron{display:none!important}
body.fleet-side-collapsed .fleet-nav-sub button{width:48px!important;height:42px!important;min-height:42px!important;padding:0!important;margin:1px auto!important;justify-content:center!important}
body.fleet-side-collapsed .fleet-nav-sub button .label{display:none!important}
/* An expanded sidebar always shows sub-page names, even at tablet widths where the old icon-rail rule hid them. */
body:not(.fleet-side-collapsed) .side .nav.fleet-nav-v1072 .fleet-nav-sub button{justify-content:flex-start!important}
body:not(.fleet-side-collapsed) .side .nav.fleet-nav-v1072 .fleet-nav-sub button span.label{display:block!important;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.fleet-side-collapsed .fleet-nav-group:not(.open) .fleet-nav-sub{grid-template-rows:0fr!important}
body.fleet-side-collapsed .fleet-nav-home,body.fleet-side-collapsed .fleet-nav-settings-link{width:48px!important;margin:2px auto!important;padding:0!important;justify-content:center!important}
@media(max-width:900px){.fleet-module-grid{grid-template-columns:1fr}.side .nav.fleet-nav-v1072{overscroll-behavior:contain}.fleet-embedded-module{height:calc(100vh - 118px);min-height:480px}}
:root[data-theme="dark"] .fleet-module-card{background:#121e28;border-color:#2c3c48}:root[data-theme="dark"] .fleet-module-card p{color:#9bacb7}:root[data-theme="dark"] .fleet-module-note{background:#10222e;border-color:#294353;color:#a7bbc7}
:root[data-theme="dark"] .fleet-embedded-module{background:#0f1720;border-color:#2a3a46;box-shadow:none}:root[data-theme="dark"] .fleet-embedded-toolbar{background:#101b24;border-color:#2a3a46;color:#aebdc7}:root[data-theme="dark"] .fleet-embedded-frame{background:#0f1720}


/* Custom Label Maker workspace — keep Fleet chrome, remove duplicate page chrome. */
body[data-nav-virtual="manifest-labels"] .content{
  padding:4px 8px 6px!important;
}
body[data-nav-virtual="manifest-labels"] .headline{
  display:none!important;
}
body[data-nav-virtual="manifest-labels"] .manifest-label-workspace{
  height:calc(100vh - 66px)!important;
  min-height:0!important;
  border-radius:10px!important;
}
body[data-nav-virtual="manifest-labels"] .manifest-label-workspace .fleet-embedded-toolbar{
  display:none!important;
}
body[data-nav-virtual="manifest-labels"] .manifest-label-workspace .fleet-embedded-frame{
  min-height:0!important;
  border-radius:10px!important;
}
@media(max-height:760px){
  body[data-nav-virtual="manifest-labels"] .manifest-label-workspace{
    height:calc(100vh - 62px)!important;
  }
}
