.site-footer{max-width:1280px;margin:48px auto 0;padding:24px;display:flex;justify-content:space-between;border-top:1px solid #d8e1dc;color:#53665a;font-size:14px}.company-banner{width:100%;max-height:300px;object-fit:cover;border-radius:12px;margin-top:24px}.tabs,.filters,.actions{display:flex;flex-wrap:wrap;gap:12px}.tabs{margin:24px 0;border-bottom:1px solid #d8e1dc;padding-bottom:16px}.filters label{flex:1;min-width:130px}.fleet-modal{width:min(1400px,96vw);max-width:96vw}.fleet-modal table{width:100%;border-collapse:collapse}.fleet-modal th,.fleet-modal td{padding:10px;border-bottom:1px solid #d8e1dc;text-align:left;white-space:nowrap}.fleet-modal td input{min-width:125px}.fleet-modal select{min-width:140px}.livery-icon{display:inline-block;width:33px;height:22px;vertical-align:middle;border:1px solid #71857c;border-radius:5px 8px 3px 3px;object-fit:contain;background-color:#eef2ef}.column-config{display:flex;gap:14px;align-items:center;margin:12px 0}.column-config label{display:flex;align-items:center;gap:8px}.column-config input[type=checkbox]{width:20px}.company-hero .actions{margin-top:18px}#companyContent{min-height:240px}#donationEmbed{margin:20px 0;min-height:45px}li{margin-bottom:12px}.nav nav{flex-wrap:wrap}.admin-table{overflow:auto}.form-error{color:#ac2131;white-space:pre-wrap}button,a.button{font-size:14px}label,input,select,textarea{font-size:16px}#modal p{line-height:1.65}#staffContent .card{margin-bottom:16px}@media(max-width:650px){.nav{flex-direction:column;align-items:flex-start;gap:16px}.company-hero{flex-direction:column;align-items:flex-start}.site-footer{gap:16px;flex-wrap:wrap}.column-config{flex-wrap:wrap}.fleet-modal{padding:16px}.filters{display:grid;grid-template-columns:1fr 1fr}}
.brand-link{display:flex;align-items:center;gap:12px;letter-spacing:-.5px}.brand-link img{width:54px;height:54px;object-fit:contain;border-radius:10px}.brand-link .brand-name{font-size:21px;color:var(--ink);line-height:1.1}.brand-name span{font-size:21px}.welcome-home{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;padding:28px 0 60px}.welcome-home h1{font-size:clamp(34px,4.6vw,62px);line-height:1.08;letter-spacing:-2px;margin:18px 0 24px}.welcome-copy>p{font-size:18px;line-height:1.7;max-width:570px;color:#53665a}.welcome-copy .welcome-note{font-size:14px;margin-top:18px}.welcome-preview{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:12px 16px 0 #e2e7d8;padding:30px}.preview-top{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #789b5f;padding-bottom:18px}.preview-top span{font-size:12px;font-weight:700;letter-spacing:1.4px;color:#53665a}.preview-top b{font-size:36px;background:#214f45;color:white;padding:8px 20px;border-radius:6px}.welcome-preview h2{font-size:24px;margin-top:24px}.welcome-preview>p{font-size:14px;color:#53665a}.welcome-preview th{background:#214f45;color:white}.welcome-preview td,.welcome-preview th{padding:13px 9px;font-size:14px}.welcome-preview tbody tr:nth-child(even){background:#eef1e8}.preview-footer{font-size:13px;padding-top:20px;color:#53665a}.home-features{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;padding:32px 0 50px;border-top:1px solid var(--line);margin-bottom:35px}.home-features article>span{font-size:12px;font-weight:bold;letter-spacing:1.4px;color:#68805b}.home-features h2{font-size:22px}.home-features p{font-size:16px;line-height:1.65;color:#53665a}.directory-logo{width:64px;height:64px;object-fit:contain;margin-bottom:15px}.nav{height:auto;min-height:90px;padding-top:16px;padding-bottom:16px}.eyebrow{font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #90a764;outline-offset:3px}@media(max-width:800px){.welcome-home{grid-template-columns:1fr;gap:32px;padding-top:12px}.home-features{grid-template-columns:1fr;gap:20px}.welcome-preview{padding:22px;box-shadow:6px 8px 0 #e2e7d8}.welcome-home h1{letter-spacing:-1.1px}.welcome-copy>p{font-size:16px}.brand-link img{width:48px;height:48px}.welcome-home .actions a{width:100%;text-align:center}}

/* Fit default fleet columns to desktop screens; keep smaller screens scrollable. */
.fleet-modal{width:min(1900px,98vw);max-width:98vw;padding:22px}.fleet-modal #fleetEdit,.fleet-modal #fleetTable{max-width:100%;overflow:auto}.fleet-modal table{font-size:13px}.fleet-modal th,.fleet-modal td{padding:8px;white-space:normal;overflow-wrap:anywhere}.fleet-editor #fleetEdit table{table-layout:fixed;min-width:1100px}.fleet-editor td input,.fleet-editor td select{min-width:0;width:100%;font-size:14px;padding:8px;margin:0}.fleet-editor td:last-child,.fleet-editor th:last-child{width:85px}.fleet-editor td button[data-delete-row]{font-size:12px;padding:8px}.fleet-viewer td{min-width:100px}.fleet-scroll-hint{font-size:12px;margin:10px 0}.fleet-choice{position:relative}.fleet-choice .choice-toggle{width:100%;display:flex;gap:8px;justify-content:space-between;align-items:center;padding:8px;font-size:14px;font-weight:400;text-align:left;min-height:40px}.choice-toggle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.choice-panel{position:relative;width:100%;min-width:0;background:var(--site-surface,#fff);color:var(--site-fg,#21322f);border:1px solid var(--site-line,#d8ded5);border-radius:6px;padding:8px;margin-top:5px;max-height:260px;overflow:auto}.choice-panel[hidden]{display:none}.choice-panel label{display:flex;align-items:flex-start;gap:8px;margin:8px 0;line-height:1.4;font-size:13px;font-weight:400}.fleet-editor .choice-panel input[type=checkbox]{width:16px;min-width:16px;max-width:16px;height:16px;margin:2px 0 0;padding:0;accent-color:var(--site-brand,#214f45)}.choice-panel button{font-size:12px;padding:7px;width:100%;white-space:normal}.choice-panel p{font-size:12px;margin:8px 0}.fleet-modal .filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.fleet-modal .filters label{min-width:0}.fleet-modal .filters select{min-width:0;font-size:14px}.fleet-modal .admin-table{border-radius:8px;border:1px solid var(--site-line,#d8ded5)}@media(max-width:900px){.fleet-modal .filters{grid-template-columns:repeat(3,minmax(0,1fr))}.fleet-modal{padding:16px}.fleet-editor #fleetEdit table{min-width:1100px}}@media(max-width:500px){.fleet-modal .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-modal{padding:12px;width:98vw}.fleet-modal .actions button{flex:1 1 45%}}
.fleet-editor td:last-child,.fleet-editor th:last-child{width:96px}.fleet-editor td button[data-delete-row]{white-space:nowrap;padding:7px;min-width:64px}
.fleet-sort-controls{display:flex;flex-wrap:wrap;gap:16px;margin:8px 0 16px}.fleet-sort-controls label{margin:0;flex:0 1 240px}.fleet-sort-controls select{min-width:0;font-size:14px}@media(max-width:500px){.fleet-sort-controls label{flex:1 1 45%}}
/* Compact company directory, social buttons and Discord profiles. */
.directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:14px;align-items:start}.directory-card{display:flex;gap:16px;padding:18px;border:1px solid var(--site-line);background:var(--site-surface);color:var(--site-fg);border-radius:14px;text-decoration:none;min-width:0;transition:border-color .15s,box-shadow .15s}.directory-card:hover{border-color:var(--site-brand);box-shadow:0 5px 18px var(--site-shadow)}.directory-mark{width:58px;height:58px;flex:none;border-radius:13px;overflow:hidden;background:var(--site-soft);display:grid;place-items:center;font-size:20px;font-weight:bold;color:var(--site-brand)}.directory-mark img{width:100%;height:100%;object-fit:contain}.directory-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.directory-copy strong{font-size:18px;line-height:1.3;overflow-wrap:anywhere}.directory-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5;color:var(--site-muted);overflow-wrap:anywhere}.directory-copy small{font-size:13px;color:var(--site-brand);font-weight:bold}.company-social{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.company-social:empty{display:none}.nav-profile{display:inline-flex;align-items:center;gap:8px}.user-avatar{width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid var(--site-line);background:var(--site-soft)}.profile-avatar{width:88px;height:88px;margin-bottom:12px}.livery-icon{object-fit:cover;object-position:center}
/* Contain dialog scrolling; closing returns to the same background position. */
html.dialog-open{overflow:hidden;scrollbar-gutter:stable}#modal,#libraryDialog{overscroll-behavior:contain}#modal .admin-table,#libraryDialog .library-entry-list{overscroll-behavior:contain}.fleet-viewer{max-height:90dvh;overflow:auto}.fleet-viewer #fleetTable{max-height:55dvh;overflow:auto;overscroll-behavior:contain}.fleet-viewer #fleetTable th{position:sticky;top:0;background:var(--site-soft);z-index:1}
/* Keep every wrapped line beside the fixed livery thumbnail. */
.fleet-livery-label{display:inline-flex;align-items:center;gap:7px;max-width:100%;vertical-align:middle}.fleet-livery-label>.livery-icon{flex:0 0 33px;min-width:33px;margin:0}.fleet-livery-label>span{min-width:0;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.fleet-choice .choice-toggle{border:1px solid var(--site-line);border-radius:6px;transition:background-color .15s,border-color .15s,box-shadow .15s}.fleet-choice .choice-toggle:hover{background:var(--site-hover)}.fleet-choice .choice-toggle[aria-expanded=true]{border-color:var(--site-brand);box-shadow:0 0 0 2px var(--site-shadow)}.fleet-choice .choice-toggle b{transition:transform .16s}.fleet-choice .choice-toggle[aria-expanded=true] b{transform:rotate(180deg)}.choice-panel:not([hidden]){animation:fleet-choice-open .16s ease-out}.choice-panel label{padding:7px 5px;margin:3px 0;border-radius:4px;cursor:pointer;transition:background-color .12s}.choice-panel label:hover{background:var(--site-hover)}.choice-panel label:has(input:checked){background:var(--site-soft)}.choice-panel label[hidden]{display:none}.choice-panel .choice-search{min-width:0!important;max-width:100%;margin-bottom:8px!important;font-size:13px!important}.choice-tools{position:sticky;top:-8px;background:var(--site-surface);padding:6px 0;z-index:1}.fleet-editor td select{border-radius:6px;transition:border-color .15s,box-shadow .15s}.fleet-editor td select:focus{border-color:var(--site-brand);box-shadow:0 0 0 2px var(--site-shadow)}@keyframes fleet-choice-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.choice-panel:not([hidden]){animation:none}.fleet-choice .choice-toggle,.fleet-choice .choice-toggle b,.choice-panel label,.fleet-editor td select{transition:none}}
