/* v37 — no double focus outlines, redesigned group chooser and persistent footer. */
#group.hgroup,#group{display:none!important}
#app .bar>div:first-child{min-width:0}
#app #subtitle.fleet-group-subtitle-hidden37{display:none!important}
.fleet-group-button37{display:inline-flex;align-items:center;gap:7px;max-width:min(300px,70vw);min-height:31px;padding:5px 10px;margin:4px 0 0!important;border:0!important;background:var(--shade)!important;color:var(--muted)!important;border-radius:11px;box-shadow:none!important;font-size:11px;font-weight:760;text-align:left}
.fleet-group-button37[hidden]{display:none!important}
.fleet-group-button37>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}
.fleet-group-button37 svg{width:15px;height:15px;flex:0 0 15px;color:#b72734}
.fleet-group-button37 svg:last-child{color:var(--muted);width:13px;height:13px}
.fleet-group-dialog37,.fleet-select-dialog37{position:fixed;inset:0;z-index:350;display:flex;align-items:center;justify-content:center;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))}
.fleet-group-dialog37[hidden],.fleet-select-dialog37[hidden]{display:none!important}
.fleet-group-backdrop37,.fleet-select-backdrop37{position:absolute;inset:0;background:#101319af;backdrop-filter:blur(7px)}
.fleet-group-sheet37,.fleet-select-sheet37{position:relative;width:min(420px,100%);max-height:min(76dvh,620px);overflow:hidden;background:var(--surface);border:0;border-radius:20px;box-shadow:0 23px 70px #0005;display:flex;flex-direction:column;padding:9px}
.fleet-group-head37,.fleet-select-head37{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px 12px;background:transparent!important;color:inherit!important;position:static!important;box-shadow:none!important;border:0!important}
.fleet-group-head37>div{display:flex;align-items:center;gap:10px}
.fleet-group-head37>div>svg{width:24px;height:24px;color:#be2635}
.fleet-group-head37 span{display:grid;gap:3px}
.fleet-group-head37 strong,.fleet-select-head37 strong{font-size:14px}
.fleet-group-head37 small{font-size:11px;color:var(--muted)}
.fleet-group-close37,.fleet-select-head37 button{display:grid;place-items:center;min-width:33px;width:33px;height:33px;padding:0!important;background:var(--shade)!important;color:inherit!important;box-shadow:none!important;border:0!important;border-radius:11px}
.fleet-group-close37 svg,.fleet-select-head37 button svg{width:18px;height:18px}
.fleet-group-list37,.fleet-select-items37{display:grid;gap:6px;overflow-y:auto;overscroll-behavior:contain;padding:5px}
.fleet-group-item37,.fleet-select-choice37{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:58px;padding:11px 13px;border:0!important;border-radius:13px;background:var(--shade)!important;color:inherit!important;box-shadow:none!important}
.fleet-group-item37.is-active,.fleet-select-choice37.is-selected{background:color-mix(in srgb,#bf2634 13%,var(--surface))!important;color:inherit!important}
.fleet-group-icon37,.fleet-select-icon37{display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;border-radius:10px;color:#c1212f;background:var(--surface)}
.fleet-group-icon37 svg,.fleet-select-icon37 svg{width:19px;height:19px}
.fleet-group-item-label37{flex:1;display:grid;gap:3px}
.fleet-group-item-label37 strong{font-size:13px}
.fleet-group-item-label37 small{font-size:10px;color:var(--muted)}
.fleet-group-item37>svg:last-child,.fleet-select-choice37>svg:last-child{width:18px;height:18px;flex:0 0 18px;color:#b82331}
.fleet-select-sheet37{max-height:min(78dvh,650px)}
.fleet-select-choice37{min-height:46px;padding:8px 10px;font-size:13px}
.fleet-select-choice37>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.fleet-select-icon37{width:30px;height:30px;flex-basis:30px}
.fleet-select-icon37 svg{width:17px;height:17px}
.fleet-select-heading37{font-size:10px;text-transform:uppercase;letter-spacing:.4px;font-weight:800;margin:12px 9px 4px;color:var(--muted)}
body.fleet-group-modal37,body.fleet-select-active37{overflow:hidden}
.fleet-history-clickable{cursor:pointer;transition:background .15s;position:relative}
.fleet-history-clickable:hover,.fleet-history-clickable:focus-visible{background:var(--shade);outline:0!important}
.fleet-history-edit-hint{display:inline-flex;align-items:center;gap:5px;margin-top:10px;color:#b42030;font-weight:730;font-size:11px}
.fleet-history-edit-hint svg{width:15px;height:15px}
#quickBar:not(.hidden){display:grid!important}
body.keyboard-open #quickBar:not(.hidden){display:grid!important}
#quickBar{position:fixed!important;bottom:0!important;top:auto!important;left:0;right:0;z-index:70}
@media(min-width:900px){#quickBar{position:sticky!important;top:60px!important;bottom:auto!important}}
/* Keep one surface per control; no secondary strokes, square focus frames or outlines. */
:where(button,input,select,textarea,[role="button"],[tabindex]):focus,
:where(button,input,select,textarea,[role="button"],[tabindex]):focus-visible{outline:0!important;outline-offset:0!important;box-shadow:none!important}
:where(button,select,input,textarea):focus-visible{background-color:var(--shade)}
:where(button,input,select,textarea):not(.fleet-group-button37){outline:0!important;outline-offset:0!important}
#app button,header button,#quickBar button,#appMenu button,.fleet-group-dialog37 button,.fleet-select-dialog37 button{border:0!important;outline:0!important;box-shadow:none!important}
#app :is(input,textarea,select),#login :is(input,textarea,select){border:0!important;box-shadow:inset 0 0 0 1px #00000009!important}
#app :is(input,textarea,select):focus{box-shadow:inset 0 0 0 1px #00000012!important;background:var(--shade)}
#quickBar .is-current{background:#fbe9ec}
body.dark #quickBar .is-current{background:#63252d}
#quickBar button{border-radius:14px}
#quickBar .tile-icon{transition:color .15s}
@media(max-width:600px){#app .bar{margin-top:3px}#app #pagetitle{font-size:21px}}
@media(prefers-reduced-motion:reduce){.fleet-history-clickable{transition:none}}
