/* Orbital Glass account pages. Decorative CSS only; native ship/rank/faction art stays original. */
#accountScreen .account-sidebar nav button{transition:background-color .18s ease,border-color .18s ease,color .18s ease}
#accountScreen [data-account-page]:not([data-account-page='overview']){
 position:relative;isolation:isolate;border:0;box-shadow:none;min-height:570px;margin:0 0 18px;
 background:radial-gradient(ellipse at 95% 0,var(--dash-glow),transparent 52%),linear-gradient(125deg,#06212aed,#00131ef5 65%);
 padding:8px 24px 26px;
}

#accountScreen [data-account-page]:not([data-account-page='overview'])::after{
 content:'';position:absolute;inset:0;pointer-events:none;border:16px solid transparent;border-image:var(--dash-frame) 20 stretch;z-index:-1;
}
#accountScreen .account-panel>header.dashboard-page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0 12px}
#accountScreen .account-panel>header.dashboard-page-heading h2{font:600 clamp(23px,2.1vw,30px)/1.2 PortalOxanium,sans-serif;letter-spacing:1.4px;text-transform:uppercase}
#accountScreen .page-kicker{margin:0 0 9px;font-size:10px!important;letter-spacing:2.2px;color:var(--dash-accent)!important;line-height:1.5}
#accountScreen .page-intro{margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid #50778955;font-size:14px;line-height:1.7;color:#a8c4d2}
#accountScreen .page-status{display:inline-flex;align-items:center;gap:8px;color:var(--dash-accent);font-size:11px;letter-spacing:.6px}
#accountScreen .page-status::before{content:'';width:5px;height:5px;background:var(--dash-accent);box-shadow:0 0 8px var(--dash-glow)}
#accountScreen .command-card{border:1px solid #355766;background:linear-gradient(135deg,#0c2c36b8,#00151fc9 75%);box-shadow:inset 0 1px 0 #9abbc318;padding:24px;min-width:0}
#accountScreen .command-card h3{margin:0 0 10px;font:600 21px/1.25 PortalOxanium,sans-serif;letter-spacing:.5px;color:#e5f0f2}
#accountScreen .command-card :is(p,small){color:#aac2cf;line-height:1.7}
#accountScreen .command-card .card-intro{font-size:13px;margin:0 0 22px}
#accountScreen :is(.command-card,.ranking-filters) label{display:block;color:#c3d7e1;font-size:12px;letter-spacing:.6px;margin:17px 0 7px}
#accountScreen :is(.command-card,.ranking-filters) :is(input:not([type=checkbox]),select){
 display:block;width:100%;min-width:0;max-width:100%;height:46px;min-height:46px;padding:10px 12px;
 border:1px solid #466d7e;border-radius:0;box-shadow:inset 0 2px 10px #0004;background:#01141fe0;color:#edf6f8;font-size:14px;
}
#accountScreen :is(.command-card,.ranking-filters) select{color-scheme:dark;padding-right:28px}
#accountScreen .command-card input[readonly]{color:#90afbf;border-color:#355565;background:#001019a6}
#accountScreen .command-card small{display:block;margin-top:9px;font-size:12px}
#accountScreen .command-card .field-note{display:block;float:right;color:#8aabba;font-size:10px;letter-spacing:0}
#accountScreen [data-account-page]:not([data-account-page='overview']) button:not(.pilot-link){
 min-height:42px;padding:9px 16px;border:1px solid #507c89;border-radius:0;
 background:linear-gradient(110deg,#173c48cc,#08232ec9);color:#dceaf1;box-shadow:inset 0 1px 0 #9abbc326;font:500 12px/1.5 PortalOxanium,sans-serif;letter-spacing:.5px;
}
#accountScreen [data-account-page]:not([data-account-page='overview']) button:not(.pilot-link):hover:not(:disabled){background:linear-gradient(110deg,#2a5160,#12303e);border-color:var(--dash-accent);color:#fff}
#accountScreen [data-account-page]:not([data-account-page='overview']) button:not(.pilot-link):active:not(:disabled){background:#001019;box-shadow:inset 0 2px 5px #0007}
#accountScreen [data-account-page]:not([data-account-page='overview']) button:disabled{opacity:.42;cursor:not-allowed}
#accountScreen :is([data-account-page],.news-arrow) :focus-visible,#accountScreen .news-arrow:focus-visible{outline:2px solid #b8e6f4;outline-offset:3px}
#accountScreen .profile-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;align-items:start}
#accountScreen .profile-layout:has(#profilePasswordForm[hidden]){grid-template-columns:minmax(0,1fr)}
#accountScreen #profileDetails{min-width:0}
#accountScreen .profile-hero{position:relative;display:flex;align-items:center;gap:25px;padding:30px 25px;margin:0 0 18px;min-height:200px;border:1px solid #355766;background:radial-gradient(ellipse at 0 50%,var(--dash-glow),transparent 75%),url('assets/dashboard-orbit-overlay.svg') center/cover no-repeat,#00151d;overflow:hidden}
#accountScreen .profile-vessel{flex:0 0 118px;display:grid;place-items:center;gap:12px;min-width:0}
#accountScreen .profile-vessel>img{display:block;width:110px;height:100px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 5px 14px #0009)}
#accountScreen .profile-vessel>span{font-size:10px;color:#96b6c8;letter-spacing:1px;text-align:center}
#accountScreen .profile-identity{min-width:0}
#accountScreen .profile-hero h3{font:600 clamp(22px,2vw,32px)/1.25 PortalOxanium,sans-serif;letter-spacing:.6px;margin:0 0 12px;color:#edf5f7;overflow-wrap:anywhere}
#accountScreen .profile-hero .profile-rank{display:flex;align-items:center;gap:9px;color:#e0c684;margin:0 0 10px;font-size:14px}
#accountScreen .profile-company{display:flex;align-items:center;gap:10px;font-size:12px;color:#9fc2d4;margin:0;line-height:1.5}
#accountScreen .profile-company img{width:36px;height:28px;object-fit:contain;flex:none}
#accountScreen .profile-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;margin:0}
#accountScreen .profile-record>div{padding:17px 18px;border:1px solid #34546388;border-top-color:#547681;background:linear-gradient(120deg,#0a2934aa,#00151daa);min-width:0}
#accountScreen .profile-record dt{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8baec1;margin:0 0 9px;line-height:1.4}
#accountScreen .profile-record dd{font:600 clamp(16px,1.5vw,22px)/1.3 PortalOxanium,sans-serif;color:#c4dfef;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#accountScreen .profile-record>div:first-child dd{color:#e2c37c}
#accountScreen .profile-edit{margin:18px 0 0}
#accountScreen .profile-password{max-width:none;margin:0;padding:24px}
#accountScreen .profile-password p{font-size:13px}
#accountScreen #profilePasswordStatus:empty{display:none}
#accountScreen #profilePasswordStatus:not(:empty){border-left:2px solid var(--dash-accent);padding:10px 12px;background:#22404a55}
#accountScreen .profile-password button{width:100%;margin-top:20px}
#accountScreen .ranking-filters{display:grid;grid-template-columns:minmax(170px,1fr) minmax(200px,1.3fr) minmax(140px,1fr);align-items:end;gap:18px;margin:0 0 20px;padding:18px 20px;border:1px solid #365664;background:#06212b99}
#accountScreen .ranking-filters label{margin:0;min-width:0;width:auto}
#accountScreen .ranking-filters select{margin-top:8px}
#accountScreen #hallFormula{margin:0;padding:0 0 9px;color:#9dbac9;font-size:12px;line-height:1.6}
#accountScreen .ranking-scroll{max-width:100%;max-height:540px;overflow:auto;border:1px solid #365867;background:#00131eb0;scrollbar-width:thin;scrollbar-color:#527989 #031722}
#accountScreen .ranking-table{width:100%;min-width:590px;margin:0;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
#accountScreen .ranking-table :is(td,th){padding:8px 16px;border-bottom:1px solid #2f526174;text-align:left}
#accountScreen .ranking-table th{position:sticky;top:0;z-index:1;background:#102c39;color:#a2c0d0;font-size:10px;font-weight:500;letter-spacing:1.1px;text-transform:uppercase}
#accountScreen .ranking-table :is(td,th):first-child{width:64px}
#accountScreen .ranking-table td:first-child{color:#98b5c5}
#accountScreen .ranking-table tbody tr:nth-child(-n+3)>td:first-child{color:#dec680;font-weight:600}
#accountScreen .ranking-table tbody tr:nth-child(even){background:#1c3d491e}
#accountScreen .ranking-table tbody tr:hover{background:#24515e55}
#accountScreen .ranking-table tbody tr.own{background:var(--dash-glow);box-shadow:inset 3px 0 var(--dash-accent)}
#accountScreen .ranking-table :is(td,th):nth-child(n+4){text-align:right}
#accountScreen .ranking-table td:last-child{color:#c5e0f1;font-weight:600}
#accountScreen .ranking-table .pilot-link{display:inline-flex;align-items:center;gap:12px;color:#d5e7f1;font:500 14px/1.5 PortalOxanium,sans-serif;padding:4px 0;max-width:100%;background:none;box-shadow:none}
#accountScreen .ranking-table .pilot-link span{overflow-wrap:anywhere}
#accountScreen .ranking-table .pilot-link:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
#accountScreen .ranking-faction{display:flex;align-items:center;gap:8px;color:#accbd8;font-size:12px;white-space:nowrap}
#accountScreen .ranking-faction img{width:25px;height:20px;object-fit:contain}
#accountScreen .ranking-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 0;padding:0;font-size:12px;color:#9bb9ca}
#accountScreen .ranking-page-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 20px;min-width:0;text-align:center}
#accountScreen .ranking-page-jump{display:flex;align-items:center;gap:8px;margin:0}
#accountScreen .ranking-page-jump label{margin:0;font:inherit;letter-spacing:0;color:inherit;white-space:nowrap}
#accountScreen .ranking-page-jump input{width:74px;height:34px;padding:0 8px;border:1px solid #3c6373;border-radius:0;background:#001822;color:#d5edf6;font:inherit;text-align:center}
#accountScreen .ranking-page-jump button{min-height:34px;padding:5px 12px}
#accountScreen .ranking-page-jump :disabled{cursor:default}
#accountScreen .pilot-settings{padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
#accountScreen .pilot-settings .pilot-connection{grid-column:1/-1;margin:0;border:1px solid #4c6e7170;border-left:2px solid var(--dash-accent);padding:14px 18px;background:var(--dash-glow);color:#c0d2db;font-size:13px;line-height:1.6}
#accountScreen .pilot-settings .pilot-connection[data-online='true']{border-left-color:#d4ae76;color:#e6cda6}
#accountScreen .pilot-settings form{padding:24px;background:linear-gradient(135deg,#0c2c36b8,#00151fc9 75%);border:1px solid #355766}
#accountScreen .pilot-settings form button{width:100%;margin-top:24px}
#accountScreen .company-destination{display:flex;align-items:center;gap:17px;margin:18px 0;padding:15px;border-block:1px solid #43637166}
#accountScreen .company-destination>img{width:60px;height:40px;object-fit:contain}
#accountScreen .company-destination strong{display:block;letter-spacing:2px;color:#dbe9ee;font-size:17px}
#accountScreen .company-destination span{display:block;font-size:11px;color:#9bbbc9;line-height:1.5}
#accountScreen .company-transfer-cost{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px;padding:15px;background:#00121c99;border:1px solid #4e6d7555}
#accountScreen .company-transfer-cost>span{color:#94b4c5;font-size:10px;letter-spacing:.6px;line-height:1.6}
#accountScreen .company-transfer-cost strong{display:block;color:#e4c680;font-size:17px;font-weight:500;letter-spacing:0}
#accountScreen #companyHonorPreview{color:#bbd0dc;font-size:12px}
#accountScreen .pilot-settings .company-confirm{display:flex;align-items:flex-start;gap:11px;margin-top:20px;padding-top:17px;border-top:1px solid #43637166;font-size:12px;letter-spacing:0;line-height:1.7}
#accountScreen .company-confirm input{flex:none;width:18px;height:18px;margin-top:2px;accent-color:var(--dash-accent)}
/* Center true chevrons rather than font glyphs with asymmetric baselines. */
#accountScreen .news-arrow{display:grid;place-items:center;width:44px;height:49px;min-height:44px;padding:0;line-height:1;z-index:3;touch-action:manipulation}
#accountScreen .news-chevron{display:block;width:11px;height:11px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateX(-2px) rotate(-45deg);pointer-events:none}
#accountScreen .previous .news-chevron{transform:translateX(2px) rotate(135deg)}
#accountScreen .news-arrow:hover{color:#fff;border-color:#a8cbd7;background:#163a49}
#accountScreen .news-arrow:active{background:#001019;box-shadow:inset 0 2px 8px #0009}
@media(max-width:1200px){
 #accountScreen .profile-layout{grid-template-columns:minmax(0,1fr)}
 #accountScreen .profile-record{grid-template-columns:repeat(4,minmax(0,1fr))}
 #accountScreen .ranking-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #accountScreen #hallFormula{grid-column:1/-1;padding:0}
}
@media(max-width:1000px){
 #accountScreen .pilot-settings{grid-template-columns:minmax(0,1fr)}
 #accountScreen .profile-record{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
 #accountScreen [data-account-page]:not([data-account-page='overview']){padding:5px 17px 22px;min-height:0}
 #accountScreen .account-panel>header.dashboard-page-heading{align-items:flex-start;flex-wrap:wrap;padding-top:21px}
 #accountScreen .account-panel>header.dashboard-page-heading h2{font-size:23px;letter-spacing:.8px}
 #accountScreen .page-status{font-size:10px}
 #accountScreen .page-intro{font-size:13px;margin-bottom:18px}
 #accountScreen .profile-hero{padding:24px 17px;gap:15px;flex-wrap:wrap}
 #accountScreen .profile-vessel{flex-basis:88px}
 #accountScreen .profile-vessel>img{width:85px;height:83px}
 #accountScreen .profile-identity{flex:1 1 150px}
 #accountScreen .profile-hero h3{font-size:23px}
 #accountScreen .profile-layout{gap:18px}
 #accountScreen .profile-record{gap:9px}
 #accountScreen .profile-record>div{padding:13px 12px}
 #accountScreen .profile-record dt{font-size:9px;letter-spacing:.6px}
 #accountScreen :is(.profile-password,.pilot-settings form){padding:19px 16px}
 #accountScreen .command-card .field-note{float:none;margin-top:4px}
 #accountScreen .ranking-filters{padding:16px;gap:14px;grid-template-columns:minmax(0,1fr)}
 #accountScreen .ranking-filters label{width:100%}
 #accountScreen .ranking-table :is(td,th){padding:11px 13px}
 #accountScreen .ranking-pagination{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:11px}
 #accountScreen .ranking-page-controls{grid-column:1/-1;grid-row:1}
 #accountScreen .news-arrow{width:44px;height:44px}
 #accountScreen .news-slide{margin-inline:52px}
 #accountScreen .company-transfer-cost{gap:10px;padding:12px}
 #accountScreen .company-transfer-cost strong{font-size:15px}
}
/* Keep the original brand colors and proportions beside readable link labels. */
:is(#authScreen,#accountScreen) .site-footer .footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px}
:is(#authScreen,#accountScreen) .site-footer .footer-links a{display:inline-flex;align-items:center;gap:9px;min-height:34px;text-underline-offset:4px}
:is(#authScreen,#accountScreen) .footer-brand{display:block;flex:none;object-fit:contain;filter:none;opacity:1}
:is(#authScreen,#accountScreen) .footer-elitepvpers{width:32px;height:28px;border-radius:0;background:none;padding:0;filter:invert(1)}
#accountScreen .site-footer .footer-rights{font-size:11px;line-height:1.7;color:#b4c9d6}
#accountScreen .site-footer .footer-rights span{font-size:11px;line-height:1.7}

/* Authored website link panels; original brand artwork and map HUD stay intact. */
:is(#authScreen,#accountScreen) .site-footer .footer-links{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
 width:100%;max-width:660px;min-width:0;flex:1 1 600px;gap:9px;
}
:is(#authScreen,#accountScreen) .site-footer .footer-links .footer-link{
 --footer-link-accent:#a6c7d7;display:grid;grid-template-columns:52px minmax(0,1fr) 12px;
 align-items:center;gap:9px;min-width:0;min-height:54px;box-sizing:border-box;padding:8px 11px;
 border:1px solid #4a697a70;border-radius:0;
 background:linear-gradient(135deg,#263a4799,#0b151ce6);box-shadow:inset 0 1px 0 #ffffff08;
 text-decoration:none;text-align:left;color:#d4e2eb;line-height:1.2;
 transition:border-color .18s ease,background-color .18s ease,transform .18s ease;
}
:is(#authScreen,#accountScreen) .site-footer [data-footer-link=discord]{--footer-link-accent:#bbc6ff}
:is(#authScreen,#accountScreen) .site-footer [data-footer-link=darkorbit]{--footer-link-accent:#dfcda6}
:is(#authScreen,#accountScreen) .site-footer [data-footer-link=elitepvpers]{--footer-link-accent:#a2d4db}
:is(#authScreen,#accountScreen) .footer-brand-well{
 display:flex;align-items:center;justify-content:center;width:52px;height:32px;min-width:0;
 border-right:1px solid #67859338;padding-right:8px;box-sizing:border-box;
}
:is(#authScreen,#accountScreen) .footer-brand-well .footer-darkorbit{width:50px;height:26px;max-width:none}
:is(#authScreen,#accountScreen) .footer-brand-well .footer-discord{width:25px;height:21px}
:is(#authScreen,#accountScreen) .footer-link-copy{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left}
:is(#authScreen,#accountScreen) .footer-link-copy small{
 display:block;font:500 9px/1.2 PortalOxanium,Tahoma,sans-serif;letter-spacing:1.1px;
 text-transform:uppercase;color:#9db0bf;white-space:nowrap;
}
:is(#authScreen,#accountScreen) .footer-link-copy strong{
 display:block;font:500 13px/1.25 PortalOxanium,Tahoma,sans-serif;letter-spacing:0;
 color:#dce7ee;overflow-wrap:anywhere;text-decoration:none;
}
:is(#authScreen,#accountScreen) .footer-external{display:block;flex:none;color:#90a8b7;transition:color .18s ease,transform .18s ease}
:is(#authScreen,#accountScreen) .site-footer .footer-link:hover{
 border-color:var(--footer-link-accent);background-color:#203544;transform:translateY(-1px);color:#fff;
}
:is(#authScreen,#accountScreen) .site-footer .footer-link:hover .footer-link-copy strong{color:#fff}
:is(#authScreen,#accountScreen) .site-footer .footer-link:hover .footer-external{color:var(--footer-link-accent);transform:translate(1px,-1px)}
:is(#authScreen,#accountScreen) .site-footer .footer-link:focus-visible{outline:2px solid var(--footer-link-accent);outline-offset:3px;border-color:var(--footer-link-accent)}
:is(#authScreen,#accountScreen) .site-footer .footer-link:active{transform:none;background-color:#0a1720}
@media(max-width:640px){
 :is(#authScreen,#accountScreen) .site-footer .footer-links{grid-template-columns:minmax(0,1fr);max-width:380px;flex-basis:100%;gap:8px}
 :is(#authScreen,#accountScreen) .site-footer .footer-link{min-height:52px;grid-template-columns:48px minmax(0,1fr) 12px;padding-inline:13px}
 :is(#authScreen,#accountScreen) .footer-brand-well{width:48px}
}
@media(prefers-reduced-motion:reduce){
 :is(#authScreen,#accountScreen) .site-footer :is(.footer-link,.footer-external){transition:none;transform:none}
 :is(#authScreen,#accountScreen) .site-footer .footer-links .footer-link:is(:hover,:active),
 :is(#authScreen,#accountScreen) .site-footer .footer-links .footer-link:hover .footer-external{transform:none;transition:none}
}
/* Profile owns editing; the native modal supplies focus trapping and backdrop. */
#accountScreen .profile-layout{grid-template-columns:minmax(0,1fr)}
#accountScreen #profileUpdateStatus:empty{display:none}
#accountScreen #profileUpdateStatus{font-size:12px;color:var(--dash-accent);margin:12px 0 0}
#accountScreen .pilot-settings-dialog{width:min(620px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);height:fit-content;min-height:0;position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;padding:0;border:1px solid #678995;border-radius:0;background:linear-gradient(135deg,#0a2631,#02141f 75%);color:#dceaf1;box-shadow:0 22px 90px #000b,inset 0 0 0 3px #06141b;overflow:hidden;font-family:PortalOxanium,sans-serif}
#accountScreen .pilot-settings-dialog[open]{display:flex;flex-direction:column}
#accountScreen .pilot-settings-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}
#accountScreen .pilot-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #456b7b;background:linear-gradient(110deg,#17344180,#061a25)}
#accountScreen .pilot-settings-heading h2{margin:0;font:600 21px/1.3 PortalOxanium,sans-serif;letter-spacing:1px}
#accountScreen .pilot-settings-dialog button{min-height:42px;padding:9px 16px;border:1px solid #507c89;border-radius:0;background:linear-gradient(110deg,#173c48cc,#08232ec9);color:#dceaf1;font:500 12px/1.5 PortalOxanium,sans-serif;letter-spacing:.3px;box-shadow:inset 0 1px 0 #9abbc326;cursor:pointer}
#accountScreen .pilot-settings-dialog button:hover:not(:disabled){background:#254958;border-color:var(--dash-accent)}
#accountScreen .pilot-settings-dialog button:disabled{opacity:.45;cursor:not-allowed}
#accountScreen .pilot-settings-dialog :focus-visible{outline:2px solid #b8e6f4;outline-offset:3px}
#accountScreen #pilotSettingsClose{min-height:32px;width:32px;padding:0;font-size:23px;line-height:1}
#accountScreen .pilot-settings-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:16px 22px 0;flex:none}
#accountScreen .pilot-settings-tabs button{padding:9px 8px;color:#9fbcca}
#accountScreen .pilot-settings-tabs button[aria-selected=true]{border-color:var(--dash-accent);background:var(--dash-glow);color:#f1f7fa;box-shadow:inset 0 -2px 0 var(--dash-accent)}
#accountScreen .pilot-settings-dialog .pilot-settings{display:block;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 22px 22px;scrollbar-color:#547989 #071823}
#accountScreen .pilot-settings-dialog .command-card{border:0;background:none;padding:0}
#accountScreen .pilot-settings-dialog .pilot-connection{margin:16px 0 0;padding:10px 12px;font-size:12px}
#accountScreen .pilot-settings-dialog .command-card label{margin-top:18px}
#accountScreen .pilot-settings-dialog .command-card input:not([type=checkbox]),#accountScreen .pilot-settings-dialog .command-card select{height:44px;min-height:44px;font-size:13px}
#accountScreen .pilot-settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:16px;border-top:1px solid #43637166}
#accountScreen .pilot-settings-dialog .pilot-settings-actions button{width:auto;min-width:104px;margin:0}
#accountScreen .pilot-settings-dialog [hidden]{display:none!important}
#accountScreen #pilotSettingsError:empty,#accountScreen #profilePasswordStatus:empty{display:none}
#accountScreen #pilotSettingsError,#accountScreen #profilePasswordStatus{padding:10px 12px;margin:16px 0 0;border-left:2px solid #dd9d87;background:#54322750;color:#f1c5b1;font-size:12px;line-height:1.6}
#accountScreen .pilot-settings-dialog .company-destination{margin:15px 0;padding:12px 0}
#accountScreen .pilot-settings-dialog .company-confirm{margin-top:16px;padding-top:14px}
#accountScreen #companyUnavailable{font-size:13px;line-height:1.6;color:#b2c8d3;margin:22px 0}
#accountScreen #companyUnavailableCancel{display:block;margin-left:auto}
#accountScreen .admin-dashboard-chat{margin:18px 0;padding:16px;border:1px solid #45616b;background:#071e27;min-width:0}
#accountScreen .admin-dashboard-chat header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#a8c5d2}
#adminDashboardChatLog{max-height:230px;overflow:auto;overflow-wrap:anywhere;margin-top:12px;font-size:13px;line-height:1.6}
#adminDashboardChatLog p{margin:5px 0}#adminDashboardChatLog time{color:#90aebc;font-size:11px}
#accountScreen .chat-admin-name{color:#ffd166}
@media(min-width:1001px){#accountScreen .profile-record{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:480px){#accountScreen .pilot-settings-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}#accountScreen .pilot-settings-heading{padding:14px 16px}#accountScreen .pilot-settings-tabs{padding:14px 16px 0;gap:4px}#accountScreen .pilot-settings-tabs button{font-size:11px;padding:9px 4px}#accountScreen .pilot-settings-dialog .pilot-settings{padding:0 16px 16px}#accountScreen .pilot-settings-dialog .command-card .field-note{float:right;margin:0}#accountScreen .company-transfer-cost{gap:8px;padding:12px}#accountScreen .company-transfer-cost strong{font-size:15px}}
#accountScreen .referral-page{max-width:1120px}
#accountScreen .referral-hangar-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 165px;min-height:235px;gap:16px;padding:28px 30px 24px;border:1px solid #537d8f;background:linear-gradient(90deg,#071e2df5 5%,#082a3be5 60%,#072231b0),url("assets/background-eic.jpg") center 54%/cover;box-shadow:inset 0 1px #85bdcc80,0 12px 28px #010b1280;overflow:hidden}
#accountScreen .referral-hangar-hero:before{content:"";position:absolute;left:24px;top:0;width:110px;height:2px;background:#83c8d8}
#accountScreen .referral-hangar-copy{position:relative;z-index:1;min-width:0}
#accountScreen .referral-hangar-kicker{margin:0;color:#82c8d9;font:700 11px PortalOxanium,sans-serif;letter-spacing:2px}
#accountScreen .referral-hangar-hero h2{margin:9px 0 8px;color:#eef8fb;font:800 clamp(27px,3vw,38px)/1.08 PortalOxanium,sans-serif;letter-spacing:.3px}
#accountScreen .referral-hangar-intro{max-width:620px;margin:0 0 17px;color:#b9d1da;font-size:13px;line-height:1.5}
#accountScreen .referral-hangar-art{align-self:center;justify-self:center;width:126px;height:126px;object-fit:contain;filter:drop-shadow(0 0 17px #66c4df88)}
#accountScreen .referral-status-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:13px 2px 0}
#accountScreen #referralRefresh{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:32px;padding:5px 9px;border:1px solid #436e7d;background:#0c2936;color:#b6dbe5;font:700 11px PortalOxanium,sans-serif;white-space:nowrap;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
#accountScreen #referralRefresh svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#accountScreen #referralRefresh:hover,#accountScreen #referralRefresh:focus-visible{border-color:#75c0cf;background:#174455;color:#f0fafc}
#accountScreen #referralRefresh:focus-visible{outline:2px solid #e5c47c;outline-offset:2px}
#accountScreen .referral-code-panel{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:0}
#accountScreen .referral-code-panel>div{min-width:0;padding:9px 14px;border:1px solid #6c9caf;background:#061923dc;box-shadow:inset 0 1px #85bdcc44}
#accountScreen .referral-code-panel small{display:block;color:#8bb8c9;font-size:10px;letter-spacing:1.6px}
#accountScreen .referral-code-panel strong{display:block;margin-top:3px;color:#f1c678;font:800 clamp(16px,2vw,23px)/1.2 PortalOxanium,sans-serif;letter-spacing:2px;overflow-wrap:anywhere;user-select:all}
#accountScreen .referral-code-panel button{align-self:stretch;padding:8px 15px;border:1px solid #6995a5;background:#173e50;color:#e3f4fa;font:700 11px PortalOxanium,sans-serif;white-space:nowrap;cursor:pointer}
#accountScreen .referral-code-panel button:disabled{opacity:.55;cursor:default}
#accountScreen #referralStatus{flex:1;min-width:0;margin:0;color:#a9c4ce;line-height:1.45}
#accountScreen .referral-tracks{display:grid;gap:17px;margin-top:17px}
#accountScreen .referral-track{padding:17px 19px 19px;border:1px solid #436b7d;background:linear-gradient(135deg,#0b2330,#071925);box-shadow:inset 0 1px #77a7b43d}
#accountScreen .referral-track-heading{display:flex;justify-content:space-between;align-items:start;gap:16px}
#accountScreen .referral-track h3{margin:0;color:#def0f6;font:800 18px PortalOxanium,sans-serif;text-transform:uppercase}
#accountScreen .referral-track-heading p{margin:5px 0 0;color:#9dbbc7;font-size:12px}
#accountScreen .referral-next{margin-top:2px;color:#e5c47c;font-size:11px;text-align:right}
#accountScreen .referral-track progress{display:block;width:100%;height:9px;margin:12px 0 14px;accent-color:#5cc4d8}
#accountScreen .referral-track-level progress{accent-color:#d5aa60}
#accountScreen .referral-milestones{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
#accountScreen .referral-milestone{min-width:0;min-height:151px;border:1px solid #3c6577;background:linear-gradient(#153446,#0a202d);padding:8px 6px;text-align:center}
#accountScreen .referral-prize-visual{height:79px;display:grid;place-items:center}
#accountScreen .referral-prize-visual img{width:76px;height:76px;max-width:100%;object-fit:contain}
#accountScreen .referral-premium-prize .referral-prize-visual img{width:88px;height:53px}
#accountScreen .referral-prize-info strong{display:block;color:#dbeaf0;font:800 11px PortalOxanium,sans-serif;text-transform:uppercase}
#accountScreen .referral-prize-info span{display:block;min-height:30px;margin-top:3px;color:#d7e5eb;font-size:11px;line-height:1.25;overflow-wrap:anywhere}
#accountScreen .referral-prize-info small{display:block;color:#8eacb8;font-size:10px;text-transform:uppercase}
#accountScreen .referral-milestone[data-state="applied"]{border-color:#d6a954;background:linear-gradient(#293a3e,#0c2530);box-shadow:inset 0 0 17px #c58d252b}
#accountScreen .referral-milestone[data-state="applied"] .referral-prize-info small{color:#e8c271}
#accountScreen .referral-milestone[data-state="pending"]{border-color:#71c5d5;box-shadow:inset 0 0 14px #3a9cba3b}
#accountScreen .referral-milestone[data-state="pending"] .referral-prize-info small{color:#8edbe8}
#accountScreen .referral-milestone[data-state="locked"]{filter:saturate(.64);opacity:.78}
#accountScreen .referral-track-level .referral-milestones{grid-template-columns:repeat(3,minmax(0,1fr))}
#accountScreen .referral-track-level .referral-milestone{min-height:94px;display:flex;align-items:center;gap:13px;padding:9px 13px;text-align:left}
#accountScreen .referral-track-level .referral-prize-visual{height:72px;flex:0 0 72px}
#accountScreen .referral-track-level .referral-prize-info span{min-height:0}
@media(max-width:1000px){#accountScreen .referral-track-invite .referral-milestones{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){#accountScreen .referral-hangar-hero{grid-template-columns:minmax(0,1fr) 85px;padding:23px 19px 20px}.referral-hangar-art{max-width:82px;max-height:82px}#accountScreen .referral-status-row{display:block}#accountScreen #referralRefresh{margin-top:9px}#accountScreen .referral-track-invite .referral-milestones{grid-template-columns:repeat(3,minmax(0,1fr))}#accountScreen .referral-track-level .referral-milestones{grid-template-columns:1fr}#accountScreen .referral-track-level .referral-milestone{min-height:76px}}
@media(max-width:520px){#accountScreen .referral-hangar-hero{display:block}#accountScreen .referral-hangar-art{position:absolute;top:25px;right:17px;width:60px;height:60px;opacity:.55}#accountScreen .referral-hangar-hero h2{max-width:calc(100% - 50px)}#accountScreen .referral-hangar-intro{position:relative;z-index:1}#accountScreen .referral-code-panel{display:flex;flex-wrap:wrap}#accountScreen .referral-code-panel>div{flex:1 1 100%}#accountScreen .referral-code-panel button{min-height:38px}#accountScreen .referral-track{padding:14px 12px}#accountScreen .referral-track-heading{display:block}#accountScreen .referral-next{display:block;text-align:left;margin-top:8px}#accountScreen .referral-track-invite .referral-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Voucher milestones use the existing dashboard surfaces. */
#accountScreen .voucher-page{max-width:1120px}
#accountScreen .voucher-ticket{width:1.25em;height:1.25em;flex:none;color:var(--work-accent,#9ed9e7)}
#accountScreen .voucher-header{display:flex;align-items:center;gap:18px;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--work-border,#365665)}
#accountScreen .voucher-header>.voucher-ticket{width:44px;height:44px}
#accountScreen .voucher-header h2,#accountScreen .voucher-header p{margin:0 0 4px}
#accountScreen .voucher-level{margin-left:auto;color:#f4cc7c;white-space:nowrap}
#accountScreen .voucher-entry{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
#accountScreen .voucher-entry label{display:grid;gap:5px;flex:1 1 190px}
#accountScreen .voucher-entry a{padding:.7rem 0;margin-inline:6px;color:#b2e4ef}
#accountScreen .voucher-list{display:grid;gap:8px;margin-block:12px 0}
#accountScreen .voucher-card{display:flex;gap:12px;justify-content:space-between;align-items:center;min-width:0;padding:12px 14px;background:var(--bracket-surface,#0c202b);border:1px solid var(--work-border,#365665)}
#accountScreen .voucher-card h3,#accountScreen .voucher-card p{margin:0}
#accountScreen .voucher-card h3{font-size:1rem;color:#f4cc7c}
#accountScreen .voucher-reward p{margin-top:4px}
#accountScreen .voucher-actions{display:flex;gap:9px;align-items:center;flex:none}
#accountScreen .voucher-state{font-size:.82rem;color:#a9c3cd}
#accountScreen .voucher-card[data-status="available"]{border-color:#6b8a78}
#accountScreen .voucher-card[data-status="claimed"] .voucher-state{color:#a6dcc0}
@media(max-width:590px){
 #accountScreen .voucher-header,#accountScreen .voucher-card{align-items:flex-start;flex-wrap:wrap}
 #accountScreen .voucher-level{margin-left:0}
 #accountScreen .voucher-actions{width:100%;justify-content:space-between}
}
