/* Fixed application shell; only worklists and dialog content scroll. */
html,body{height:100%;height:100dvh;overflow:hidden}body{display:flex;flex-direction:column}body>header{flex:0 0 60px;height:60px;position:relative}.fleet-workspace #library{display:flex;flex-direction:column;flex:1;min-height:0;max-width:none;width:100%;padding:0;margin:0}.fleet-workspace #library>.eyebrow,.fleet-workspace #library>h1,.fleet-workspace #library>.intro,.fleet-workspace #login{display:none}.fleet-workspace #documents{display:grid;grid-template-columns:216px minmax(0,1fr);flex:1;min-height:0;margin:0}.fleet-rail{display:flex;flex-direction:column;border-right:1px solid var(--halo-rule);padding:26px 14px 20px;background:var(--halo-bg-raised);min-height:0;overflow:auto}.fleet-workspace-name{padding:0 12px 28px;display:grid;gap:9px}.fleet-workspace-name strong{font-size:17px;font-weight:550}.fleet-workspace-name small,.fleet-rail-foot small{font-size:11px;color:var(--halo-muted);line-height:1.5}.fleet-nav{position:static;display:flex;flex-direction:column;gap:5px;margin:0;border:0;box-shadow:none;background:none;min-height:0}.fleet-nav button{min-height:42px;text-align:left;padding:10px 12px;border:1px solid transparent;border-radius:4px;font-size:13px}.fleet-nav button.active{background:var(--halo-accent-soft);border-color:var(--halo-rule);color:var(--halo-ink)}.fleet-nav button.active:before{content:'';display:inline-block;width:5px;height:5px;background:var(--halo-accent);border-radius:50%;margin-right:8px}.fleet-nav span{margin-left:5px}.fleet-rail-section{display:grid;gap:5px;margin-top:30px}.fleet-rail-section>span{padding:0 12px 8px}.fleet-rail-section button{border:0;background:none;text-align:left;font-size:12px}.fleet-rail-foot{margin-top:auto;padding:32px 12px 0;font-size:12px}.fleet-rail-foot small{display:block;margin-top:8px}#fleet-body{overflow:auto;min-height:0;min-width:0;padding:28px 32px;overscroll-behavior:contain;scrollbar-gutter:stable}.fleet-page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.fleet-page-head h1{font-size:30px;margin:10px 0;letter-spacing:-.9px}.fleet-page-head p{color:var(--halo-muted);font-size:13px;margin:0}.fleet-page-head button{white-space:nowrap}.fleet-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.fleet-metrics button{display:grid;gap:10px;text-align:left;padding:18px;border-color:var(--halo-rule)}.fleet-metrics span{font-size:12px;color:var(--halo-muted)}.fleet-metrics strong{font-size:32px;line-height:1.1;font-weight:500;font-variant-numeric:tabular-nums}.fleet-metrics small{font-size:10px;color:var(--halo-muted)}.overview-work{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:24px}.overview-work>section{min-width:0}.overview-work .fleet-section-head{margin-top:18px}.fleet-section-head>button{border:0;background:none;font-size:12px;padding:6px}.overview-work .fleet-table th{padding:12px}.overview-work .fleet-table td{padding:14px 12px;font-size:12px}.overview-work .fleet-table td:first-child{min-width:0}.overview-workflows>button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;margin-bottom:10px;padding:15px;border-color:var(--halo-rule)}.overview-workflows strong{font-size:12px;font-weight:550}.overview-workflows small{display:block;color:var(--halo-muted);font-size:11px;line-height:1.5;margin-top:6px}.overview-workflows b{font:22px var(--halo-font-sans)}.overview-capture-note{padding:16px;background:var(--halo-bg-quiet);border:1px solid var(--halo-rule);border-radius:4px}.overview-capture-note p{font-size:12px;color:var(--halo-muted);line-height:1.5}.overview-capture-note button{font-size:11px;padding:8px;min-height:34px}.fleet-vehicle-heading{position:static;padding:8px 0 16px}.fleet-detail-head{margin-bottom:16px}.purpose-grid{margin:12px 0 18px}.purpose-grid article{padding:14px}.purpose-grid p{font-size:12px}.fleet-next{padding:14px;margin-top:16px}.fleet-table th{position:sticky;top:0;background:var(--halo-bg-raised);z-index:1}.fleet-table td{padding:12px 14px}.fleet-section-head{margin-top:16px}.fleet-toolbar input,.fleet-toolbar select{min-height:42px}.fleet-toolbar label{font-size:12px}.fleet-collections{margin:16px 0}.fleet-summary{margin:14px 0}#library[hidden]{display:none!important}#document{flex:1;height:auto!important;min-height:0}#document iframe{min-height:0;flex:1;height:0}#document>nav{flex-wrap:nowrap}#document>nav>div{flex-wrap:nowrap}.workflow-summary{gap:14px}.workflow-summary>div:first-child{min-width:0}.workflow-summary p{max-width:650px}.workflow-actions{flex-wrap:wrap}.fleet-breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.modal-head #close{flex:none;min-width:40px}#modal-content{scrollbar-gutter:stable}#modal-error{max-height:90px;overflow:auto}
@media(min-width:1100px) and (max-height:800px){#fleet-body{padding:20px 26px}.fleet-page-head{margin-bottom:18px}.fleet-metrics button{padding:14px;gap:6px}.fleet-metrics strong{font-size:28px}.overview-work .fleet-table td{padding:10px}.overview-workflows>button{padding:12px}.overview-capture-note{padding:12px}.purpose-grid p{margin-bottom:10px}.purpose-grid h3{margin:8px 0}.fleet-next p{margin-top:4px}}
@media(max-width:1000px){.fleet-workspace #documents{grid-template-columns:180px minmax(0,1fr)}#fleet-body{padding:22px}.overview-work{grid-template-columns:1fr}.overview-workflows{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.overview-workflows .fleet-section-head,.overview-capture-note{grid-column:1/-1}.fleet-metrics{gap:8px}.fleet-metrics button{padding:12px}.workflow-summary p{display:none}#document>nav{padding:6px 12px}.preview-note{display:none}}
@media(max-width:650px){body>header{padding:0 14px;flex-basis:54px;height:54px}.fleet-workspace #documents{display:flex;flex-direction:column}.fleet-rail{padding:6px 10px;flex:none;border-right:0;border-bottom:1px solid var(--halo-rule);overflow:visible}.fleet-workspace-name,.fleet-rail-section,.fleet-rail-foot{display:none}.fleet-nav{flex-direction:row;gap:4px}.fleet-nav button{font-size:11px;min-height:38px;padding:8px;flex:1;text-align:center;white-space:nowrap}.fleet-nav button.active:before{display:none}.fleet-nav span{display:none}#fleet-body{padding:18px 14px;flex:1}.fleet-page-head{align-items:flex-start;gap:12px;margin-bottom:18px}.fleet-page-head h1{font-size:24px}.fleet-page-head p{font-size:12px}.fleet-page-head>button{font-size:11px;padding:8px}.fleet-metrics{grid-template-columns:repeat(2,1fr)}.fleet-metrics button{gap:6px}.fleet-metrics strong{font-size:28px}.overview-workflows{display:block}.fleet-detail-head h2{font-size:22px}.fleet-vehicle-heading{flex-wrap:wrap}.fleet-heading-actions{width:100%}.purpose-grid{grid-template-columns:1fr}.fleet-table th{position:absolute}.fleet-table td{padding:6px 0}.overview-work .fleet-table td{padding:6px 0}.fleet-next{gap:12px}.fleet-form-pair{grid-template-columns:1fr}#document>nav{flex-wrap:wrap;gap:4px;min-height:42px}#document>nav>a{font-size:11px}#document>nav>div{gap:4px;flex-wrap:wrap}#document>nav button{font-size:10px;padding:5px 7px;min-height:30px}.view-switch{padding:4px 12px;min-height:38px}.view-switch button{font-size:11px;min-height:28px}.workflow-summary{flex-direction:row;align-items:center;padding:7px 12px;gap:6px}.workflow-summary h2{font-size:16px}.workflow-audience{font-size:8px}.workflow-actions{width:auto;gap:4px}.workflow-actions button{font-size:10px;min-height:30px;padding:5px 7px}.fleet-breadcrumb{font-size:9px;padding:4px 12px}}
@media(min-width:1100px){#fleet-body.vehicle-detail{display:flex;flex-direction:column;overflow:hidden}.vehicle-detail>.fleet-table-wrap{min-height:100px;flex:1;overflow:auto}.vehicle-detail>.fleet-detail-tools,.vehicle-detail>.fleet-detail-head,.vehicle-detail>.purpose-grid,.vehicle-detail>.fleet-section-head,.vehicle-detail>.fleet-next{flex:none}.vehicle-detail .fleet-section-head{margin-top:0}.vehicle-detail .fleet-section-head h3{margin:10px 0}.vehicle-detail .fleet-detail-tools{margin-bottom:4px}.vehicle-detail .fleet-detail-head{margin-bottom:6px;padding-bottom:12px}.vehicle-detail .purpose-grid{margin:8px 0 10px}.vehicle-detail .purpose-grid article{padding:12px}.vehicle-detail .purpose-grid p{min-height:32px;margin-bottom:8px}.vehicle-detail .fleet-next{padding:10px 14px;margin-top:12px}.vehicle-detail .fleet-next strong{font-size:12px}.vehicle-detail .fleet-next p{font-size:11px;margin:4px 0 0}.vehicle-detail .fleet-next button{min-height:36px;font-size:11px}.vehicle-detail .fleet-table small{margin-top:3px}.vehicle-detail .fleet-table td{padding:9px 12px;font-size:12px}.vehicle-detail .fleet-table th{padding:10px 12px}}

/* Keep workflow context compact; supporting tools remain one click away. */
.workflow-tools{position:relative;margin:0}.workflow-actions{align-items:center}.workflow-tools>summary{cursor:pointer;list-style:none;padding:10px 12px;border:1px solid var(--halo-rule);border-radius:4px;font-size:12px}.workflow-tools>summary::after{content:' ▾'}.workflow-tools>div{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:190px;padding:6px;background:var(--halo-bg-raised);border:1px solid var(--halo-rule);box-shadow:0 8px 28px #0002;border-radius:4px;display:grid;gap:4px}.workflow-tools button{text-align:left;width:100%;border:0}.workflow-summary .workflow-audience{display:none}.workflow-summary{padding-top:6px;padding-bottom:6px}.view-switch>span:first-child{display:none}.view-switch{border-bottom:0}.fleet-breadcrumb{display:none}.workflow-tools summary:focus-visible{outline:2px solid var(--halo-accent)}
