.fo-tree{width:100%;min-width:0}.fo-filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:10px}.fo-filters select{flex:1;min-width:140px}.fo-tree select,.fo-body select,.fo-body input:not([type=checkbox]),.fu-field select{box-sizing:border-box;padding:10px;border:1px solid var(--hz-line,#dce3ed);border-radius:8px;background:var(--hz-surface-solid,#fff);color:var(--hz-text,#1a2b45);font:13px Inter,sans-serif;max-width:100%}.fu-field select{display:block;width:100%;margin-top:6px}.fo-group{border-bottom:1px solid var(--hz-line,#e3e9f0)}.fo-group>summary{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer;background:var(--hz-canvas,#f5f8fc);color:var(--hz-text,#1a2b45);font-size:13px;list-style:none}.fo-group>summary::before{content:'›';font-size:20px;transition:transform .15s}.fo-group[open]>summary::before{transform:rotate(90deg)}.fo-group>summary strong{flex:1;min-width:0;overflow-wrap:anywhere}.fo-group>summary small{padding:3px 7px;border-radius:10px;background:#e5edfb;color:#2468e8}.fo-group>.fo-group>summary{padding-inline-start:22px;background:var(--hz-surface-solid,#fff)}.fo-group[hidden]{display:none!important}.fo-group .fu-user-card{padding-inline-start:32px}.fo-pick{font-size:10px;padding:5px;border:1px solid #dce3ed;border-radius:6px;cursor:pointer}.fo-overlay{position:fixed;inset:0;z-index:42000;display:flex;align-items:center;justify-content:center;padding:16px;background:#0c182a94;backdrop-filter:blur(4px)}.fo-dialog{width:min(920px,100%);max-height:90vh;overflow:auto;border-radius:18px;background:var(--hz-surface-solid,#fff);color:var(--hz-text,#1a2b45)}.fo-dialog header{position:sticky;top:0;z-index:1;display:flex;gap:16px;align-items:center;padding:18px 22px;background:#173d70;color:#fff}.fo-dialog h2{flex:1;font-size:18px;margin:0}.fo-body{padding:20px}.fo-hint{font-size:13px;color:var(--hz-muted,#728197)}.fo-error{color:#b34620;white-space:pre-wrap;font-size:13px}.fo-create,.fo-admin-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(170px,1fr) auto auto;gap:8px;padding:12px 0;border-bottom:1px solid #e3e9f0;align-items:center}.fo-create{grid-template-columns:minmax(0,2fr) minmax(170px,1fr) auto}.fo-body button{padding:9px 12px;border:1px solid #dce3ed;border-radius:8px;background:#f5f8fc;color:#173d70;font:600 12px Inter,sans-serif;cursor:pointer}.fo-body button:disabled{opacity:.5}.fo-device-list{max-height:50vh;overflow:auto;margin-bottom:14px}.fo-device{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #edf0f5;font-size:13px}.fo-device input{width:18px;height:18px;accent-color:#2b73e8}.fo-tree .rp-vehicle-button{width:100%}@media(max-width:700px){.fo-create,.fo-admin-row{grid-template-columns:1fr 1fr}.fo-admin-row>input,.fo-create>input{grid-column:1/-1}.fo-group .fu-user-card{padding-inline-start:16px}.fo-filters select{min-width:100px}}

/* One annex/account identity needs one line; retain separate headings for teams. */
.fu-list .fo-compact-annex{border-bottom:1px solid var(--hz-line,#e3e9f0)}
.fu-list .fo-tree .fu-user-card{padding:12px 18px;gap:16px}
.fu-list .fo-tree .fu-identity small{margin-top:4px}
.fu-list .fo-tree>.fo-group>summary{padding:9px 12px}
.fu-list .fo-tree>.fo-group>.fo-group>summary{padding-top:8px;padding-bottom:8px}
.fu-list .fo-compact-annex>.fu-user-card{border-bottom:0}
@media(max-width:900px){.fu-list .fo-tree .fu-user-card{padding:12px;gap:10px}}

/* Direct annex editing: one compact identity, one pencil. */
.fo-annex-identity{display:flex!important;align-items:center;gap:8px}
.fo-annex-pen{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid var(--hz-line,#dce3ed);border-radius:8px;background:var(--sm-selected,#edf3ff);color:var(--sm-blue,#3068ed);cursor:pointer;vertical-align:middle}
.fo-annex-pen:focus-visible{outline:2px solid #3068ed;outline-offset:2px}
.fo-empty-annex{margin:0;padding:10px 22px;color:var(--hz-muted,#728197);font-size:12px}
.fo-single-overlay .fo-dialog{width:min(470px,100%);box-shadow:var(--sm-shadow,0 16px 48px #172b4d26)}
.fo-single-overlay .fo-dialog header{padding:18px 20px;background:var(--sm-panel,#fff);color:var(--sm-ink,#26354b);border-bottom:1px solid var(--sm-line,#e7edf4)}
.fo-single-overlay .fo-dialog h2{font-size:17px;font-weight:600}
.fo-single-overlay .fo-body{padding:18px 20px}
.fo-field{display:block;font-size:12px;color:var(--sm-muted,#748299);margin-bottom:14px}
.fo-field>input,.fo-field>select{display:block;width:100%;margin-top:6px}
.fo-annex-form footer{display:flex;justify-content:flex-end;border-top:1px solid var(--sm-line,#e7edf4);padding-top:14px;margin-top:16px}
.fo-body .fo-save{background:var(--sm-blue,#3068ed);color:white;border:0;padding:11px 18px;border-radius:10px}
.fo-annex-options{border-top:1px solid var(--sm-line,#e7edf4);padding-top:12px;font-size:13px}
.fo-annex-options summary{cursor:pointer;color:var(--sm-muted,#748299)}
.fo-annex-options>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px}
.fo-user-location{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;border-bottom:1px solid var(--hz-line,#e7edf4);margin-bottom:16px;padding-bottom:12px}
.fo-user-location .fu-field{min-width:0}.fo-user-location .fo-create-inline{grid-column:1/-1;justify-self:start;font-size:12px;background:transparent;color:var(--sm-blue,#3068ed);border:0;padding:4px 0}
@media(max-width:480px){.fo-user-location{grid-template-columns:1fr}}

.fo-annex-form footer{align-items:center;gap:12px;flex-wrap:wrap}
.fo-body button.fo-delete{margin-inline-end:auto;background:transparent;border:1px solid #f1d6d9;color:#c53e4b;font-size:12px}
.fo-body button.fo-delete:hover:not(:disabled){background:#fff1f2}
.fo-body button.fo-delete:disabled{cursor:not-allowed}

/* The report picker has one full-width organization tree, never grid cells. */
#pageReport #rpVehiclePicker .rp-picker-options{width:min(420px,calc(100vw - 100px))!important}
#pageReport #rpVehiclePicker .rp-vehicle-list{display:block!important;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0;max-height:none!important;overflow:visible!important}
#pageReport #rpVehiclePicker .rp-vehicle-list>.fo-tree{grid-column:1/-1;width:100%;min-width:0}
#pageReport #rpVehiclePicker .fo-group{min-width:0;max-width:100%}
#pageReport #rpVehiclePicker .fo-group>summary{display:grid;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:7px;padding:10px 8px}
#pageReport #rpVehiclePicker .fo-group>summary::before{grid-column:1;grid-row:1}
#pageReport #rpVehiclePicker .fo-group>summary>strong{grid-column:2;grid-row:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
#pageReport #rpVehiclePicker .fo-group>summary>small{grid-column:3;grid-row:1;justify-self:end}
#pageReport #rpVehiclePicker .fo-pick{grid-column:2/-1;grid-row:2;justify-self:end;min-width:0;width:auto;max-width:100%;padding:6px 10px;border-radius:7px;white-space:nowrap;font:500 11px Inter,sans-serif;background:var(--sm-selected,#eef3ff);color:var(--sm-blue,#3068ed);border:1px solid var(--hz-line,#dce3ed)}
#pageReport #rpVehiclePicker .rp-vehicle-button{min-width:0;max-width:100%}
@media(max-width:480px){#pageReport #rpVehiclePicker .rp-picker-options{width:calc(100vw - 100px)!important;padding:10px!important}}

/* Separate administrative filters from the flat vehicle picker. */
#pageReport#pageReport#pageReport .rp-filter-toolbar .rp-org-field{display:flex;align-items:center;gap:8px;flex:0 1 200px;min-width:160px;max-width:260px;box-sizing:border-box;min-height:38px;padding:0 10px;border:1px solid var(--hz-line,#e2e8f1);border-radius:9px;background:var(--hz-surface-solid,#fff);color:var(--hz-text,#26354b)}
#pageReport#pageReport#pageReport .rp-org-field>span{font:500 11px Inter,sans-serif;color:var(--hz-muted,#7a8aa2);flex-shrink:0}
#pageReport#pageReport#pageReport .rp-org-field>select{display:block;flex:1;width:0;min-width:0;max-width:100%;height:36px;padding:5px 0;border:0;background:transparent;color:inherit;font:500 12px Inter,sans-serif;text-overflow:ellipsis}
#pageReport#pageReport#pageReport .rp-org-field>select:disabled{opacity:.55}
#pageReport #rpVehiclePicker .rp-vehicle-list{display:block!important;grid-template-columns:minmax(0,1fr)!important}
#pageReport #rpVehiclePicker .rp-vehicle-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#pageReport #rpVehiclePicker .rp-focus-hint{display:none}
#pageReport #rpVehiclePicker .rp-vehicle-button{grid-template-columns:18px minmax(0,1fr)}
@media(max-width:700px){#pageReport#pageReport#pageReport .rp-filter-toolbar .rp-org-field{flex:1 1 160px;max-width:none;min-width:140px}}

#pageReport#pageReport#pageReport .rp-filter-toolbar #rpVehiclePicker{flex:0 1 240px!important;width:240px!important;max-width:280px!important;min-width:180px!important}
#pageReport #rpVehiclePicker>summary>.rp-filter-caption{font:500 11px Inter,sans-serif;color:var(--hz-muted,#7a8aa2);flex-shrink:0}
