/* Fleet management: bounded pages, balanced columns and photographic records. */
.is-admin-center .fleet-admin-groups{--fleet-columns:4;display:grid;grid-template-columns:repeat(var(--fleet-columns),minmax(0,1fr));gap:16px;width:100%;max-width:calc(var(--fleet-columns)*350px + (var(--fleet-columns) - 1)*16px);margin:0 auto 22px;align-items:stretch}
.fleet-group-card{align-content:start;gap:10px;padding:20px;transition:border-color .2s,background .2s;overflow:hidden}
.fleet-group-card:hover{background:#1b1519}.fleet-group-card b{align-self:end;margin-top:auto;padding-top:6px}.fleet-group-card p{min-height:3.2em}.fleet-group-card strong{font-size:clamp(16px,1.1vw,21px);line-height:1.35}
.fleet-model-group{display:flex;flex-direction:column}.fleet-admin-model-cover{position:relative;display:block;align-self:stretch;aspect-ratio:16/10;margin:-20px -20px 8px;background:#0c0d0f;overflow:hidden}
.fleet-admin-model-cover>img:not(.fallback-logo){width:100%;height:100%;object-fit:cover}.fleet-admin-model-cover .image-unavailable{font-size:10px}.fleet-admin-model-cover .fallback-logo{width:72px;height:72px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:.35}
.fleet-dialog{width:min(1540px,calc(100% - 40px))}.fleet-dialog .fleet-dialog-body{gap:24px}.fleet-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.fleet-detail-heading p{margin:0}.fleet-model-edit{font-size:12px;flex-shrink:0}
.fleet-detail-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:18px;align-items:stretch}
.fleet-admin-vessel-card{padding:0;display:flex;flex-direction:column;overflow:hidden;width:100%;text-align:left;min-width:0;background:#151215;border:1px solid #413039;color:#eee}
.fleet-admin-vessel-card:hover{border-color:#b83b50}.fleet-admin-vessel-card>.fleet-image{position:relative;width:100%;height:auto;aspect-ratio:16/10;overflow:hidden;background:#0d0e10}
.fleet-admin-vessel-card .fleet-image>img:not(.fallback-logo){width:100%;height:100%;object-fit:cover}.fleet-admin-vessel-card .fleet-content{padding:18px;flex:1;display:flex;flex-direction:column;gap:9px;min-width:0}
.fleet-admin-vessel-card h3{font-size:21px;line-height:1.3;margin:0;overflow-wrap:anywhere}.fleet-admin-vessel-card .fleet-content>small{color:#b49aa7;line-height:1.5;font-size:10px}.fleet-admin-vessel-card .ship-role-chips{margin:0}.fleet-admin-vessel-owner{font-size:12px;color:#b8a6b0;overflow-wrap:anywhere}.fleet-admin-vessel-card .fleet-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:12px;font-size:11px;gap:10px}.fleet-admin-vessel-card .fleet-footer b{color:#f2697c}.fleet-admin-vessel-card .fleet-footer>span{color:#ad919d}
.fleet-dialog.has-editor .fleet-dialog-body,.fleet-dialog.has-model-editor .fleet-dialog-body{grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr)}
.fleet-dialog.has-editor .fleet-detail-records,.fleet-dialog.has-model-editor .fleet-detail-records{grid-template-columns:repeat(2,minmax(0,1fr))}
#fleet-model-editor-host:empty{display:none}.fleet-model-editor{border:1px solid #50343e;background:#171216;padding:24px;min-width:0}.fleet-model-editor h3{font-size:23px;margin:0 0 8px}.fleet-model-editor .field{display:grid;gap:8px;margin:18px 0}.fleet-model-editor .field-help{font-size:11px;color:#ac97a1;line-height:1.8;margin:6px 0}.fleet-model-preview{position:relative;aspect-ratio:16/10;overflow:hidden;background:#0c0c0e;margin-top:12px}.fleet-model-preview img{width:100%;height:100%;object-fit:cover}.fleet-model-editor-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.fleet-model-error{color:#ffc0ca;background:#351820;padding:12px;font-size:12px;line-height:1.7}.fleet-model-file{font-size:12px;max-width:100%}.fleet-model-clear-image{font-size:11px;margin-top:10px}
.fleet-dialog.has-model-editor #fleet-editor-host{display:block}
@media(max-width:1100px){.fleet-dialog.has-editor .fleet-dialog-body,.fleet-dialog.has-model-editor .fleet-dialog-body{grid-template-columns:minmax(0,1fr)}.fleet-dialog.has-editor #fleet-editor-host,.fleet-dialog.has-model-editor #fleet-editor-host{order:-1}.fleet-dialog.has-editor .fleet-detail-records,.fleet-dialog.has-model-editor .fleet-detail-records{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}}
@media(max-width:740px){.fleet-dialog{width:calc(100% - 20px);padding:16px}.fleet-detail-heading{align-items:start;flex-direction:column}.fleet-detail-records,.fleet-dialog.has-editor .fleet-detail-records,.fleet-dialog.has-model-editor .fleet-detail-records{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fleet-admin-vessel-card .fleet-content{padding:12px}.fleet-admin-vessel-card h3{font-size:17px}.fleet-model-editor{padding:18px}.fleet-model-editor-actions>.btn{flex:1;justify-content:center}.fleet-admin-vessel-card .fleet-footer{flex-wrap:wrap}}
@media(max-width:480px){.fleet-detail-records,.fleet-dialog.has-editor .fleet-detail-records,.fleet-dialog.has-model-editor .fleet-detail-records{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.fleet-group-card{transition:none}}
