.ac-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #78608b;border-radius:14px;background:#18151f;color:#f2e8fa;box-shadow:0 24px 90px #000b;overflow:auto;color-scheme:dark}.ac-dialog::backdrop{background:#08070dcc;backdrop-filter:blur(4px)}.ac-dialog>header{position:sticky;top:0;background:#241d2e;border-bottom:1px solid #4d3958;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:1}.ac-dialog>header span{font-size:10px;letter-spacing:.14em;color:#cfb4df}.ac-dialog h2{font-size:24px;margin:4px 0 0}.ac-dialog>header button{font-size:25px;min-width:42px;min-height:42px}.ac-body{padding:0 22px 22px;overflow-wrap:anywhere}.ac-dialog h3{font-size:18px;margin:18px 0 15px;color:#f4e7fc}.ac-dialog p{font-size:12px;line-height:1.7;color:#cbbbce}.ac-dialog button{min-height:42px;padding:9px 13px;white-space:normal}.ac-dialog button:disabled{opacity:.5;cursor:default}.ac-dialog button:focus-visible,.ac-dialog input:focus-visible{outline:3px solid #f3d49e;outline-offset:3px}.ac-tabs{display:flex;gap:5px;flex-wrap:wrap;padding-top:18px;border-bottom:1px solid #4c3a57;padding-bottom:14px}.ac-tabs button{font-size:12px;background:transparent;color:#cab5d8;border-color:transparent}.ac-tabs button[aria-current]{background:#3a2949;color:#f1d7ff;border-color:#80618e}.ac-field{display:grid;gap:7px;margin:13px 0;font-size:12px;color:#d4c1e0}.ac-field input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #665074;border-radius:7px;background:#221c2c;color:#fff3ff;font:inherit;font-size:15px}.ac-field input:disabled{opacity:.6}.ac-dialog form>.primary{margin-top:7px;width:100%}.ac-dialog .ac-email-note{border:1px solid #65503b;border-radius:8px;padding:11px 13px;background:#2c241d;color:#e3ceaa;font-size:11px}.ac-error,.ac-notice{margin:0 22px}.ac-error{color:#f3b8ad!important}.ac-notice{color:#c9e3bd!important}.ac-error:not(:empty),.ac-notice:not(:empty){padding-top:15px}.ac-dialog>footer{border-top:1px solid #4d3958;padding:14px 22px;font-size:10px;line-height:1.6;color:#bca6c7}.ac-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ac-details dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;font-size:13px}.ac-details dt{color:#bda7cb}.ac-details dd{margin:0;color:#edddf7;overflow-wrap:anywhere}.ac-signout{border-top:1px solid #4c3a57;padding-top:18px;margin-top:20px;display:grid;gap:10px}.ac-signout button{color:#edc1ae}.ac-dialog .ac-text{display:block;width:100%;font-size:12px;border:0;background:transparent;color:#d3b0ed;margin-top:12px}.ac-code-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;background:#100e16;border:1px solid #655071;border-radius:8px;margin:16px 0}.ac-code-grid code{color:#f3d6a5;font:14px monospace;user-select:all;overflow-wrap:anywhere}.ac-ack{display:flex;gap:10px;align-items:flex-start;margin:18px 0;font-size:13px;line-height:1.6;color:#eadcf4}.ac-ack input{min-width:20px;min-height:20px;accent-color:#b888d4}.ac-recovery>.primary{width:100%}.ac-account-trigger{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;font-size:11px}.ac-state{padding:15px 0}
@media(max-width:600px){.ac-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.ac-dialog>header{padding:15px 16px}.ac-body{padding:0 16px 16px}.ac-dialog>footer{padding:14px 16px}.ac-error,.ac-notice{margin:0 16px}.ac-code-grid{grid-template-columns:minmax(0,1fr)}.ac-account-trigger{max-width:95px}.ac-tabs button{flex:1;padding:8px;font-size:11px}}

.cp-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #665279;border-radius:14px;background:#17151f;color:#eee7f5;box-shadow:0 24px 90px #000a;overflow:auto;color-scheme:dark}.cp-dialog::backdrop{background:#08070dc9;backdrop-filter:blur(4px)}.cp-dialog>header{position:sticky;top:0;z-index:1;background:#211b2c;border-bottom:1px solid #493650;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.cp-dialog>header span{font-size:10px;letter-spacing:.12em;color:#c7acd9}.cp-dialog h2{margin:4px 0 0;font-size:23px}.cp-dialog>header button{font-size:25px;min-width:42px;min-height:42px}.cp-dialog button,.cp-dialog a.cp-signin{min-height:40px;padding:8px 12px;white-space:normal}.cp-dialog button:focus-visible,.cp-dialog a:focus-visible,.cp-dialog select:focus-visible{outline:3px solid #f0d49d;outline-offset:3px}.cp-body{padding:0 22px 22px;overflow-wrap:anywhere}.cp-dialog p,.cp-dialog li{font-size:13px;line-height:1.65;color:#c9bfd3}.cp-dialog h3{font-size:16px;color:#f1e5fa;margin:0 0 10px}.cp-dialog h4{font-size:14px;margin:0 0 12px}.cp-section{border-bottom:1px solid #3c3048;padding:20px 0}.cp-section:last-child{border:0;padding-bottom:0}.cp-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cp-section-heading h3{margin:0}.cp-section ol{padding-left:21px}.cp-section li+li{margin-top:6px}.cp-notice{margin:0 22px;color:#f0c487!important}.cp-notice:not(:empty){padding:15px 0 0}.cp-select{display:grid;gap:6px;margin-top:15px;font-size:12px;color:#cbbad9}.cp-select select{min-height:42px;max-width:100%;width:100%;background:#211c2b;color:#f3e9fb;border:1px solid #65506f;border-radius:7px;padding:9px 12px;font:inherit}.cp-binding-details{font-family:monospace;color:#d7c6e5!important}.cp-binding-details small{font-family:inherit;color:#b5a5c4}.cp-reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.cp-reading-grid>div{display:grid;gap:6px;border:1px solid #47344f;border-radius:8px;background:#211b2b;padding:12px;min-width:0}.cp-reading-grid span{color:#c2adcf;font-size:11px}.cp-reading-grid b{font-size:17px;font-weight:600;color:#f1e4fb}.cp-reading-grid small{font-size:10px;line-height:1.5;color:#b9a9c7}.cp-dialog>footer{border-top:1px solid #493650;padding:14px 22px;font-size:11px;line-height:1.6;color:#bdaacb}.cp-pair-code{display:grid;gap:10px;margin:16px 0 0;padding:16px;border:1px solid #76634b;border-radius:8px;background:#2c251f}.cp-pair-code span,.cp-pair-code small{font-size:12px;color:#ddccae;line-height:1.6}.cp-pair-code strong{font:700 26px monospace;letter-spacing:.12em;color:#f2deae;user-select:all}.cp-claim{padding:16px;margin-top:18px;background:#242032;border:1px solid #79628f;border-radius:8px}.cp-claim dl{display:grid;grid-template-columns:85px minmax(0,1fr);gap:8px 12px;font-size:12px}.cp-claim dt{color:#c3afd5}.cp-claim dd{margin:0;color:#f1e4fa;overflow-wrap:anywhere}.cp-actions{display:flex;flex-wrap:wrap;gap:10px}.cp-danger{color:#f0bfab!important;border-color:#78534e!important}.cp-state{padding:16px 0}.cp-signin{display:inline-flex;align-items:center;text-decoration:none;margin-top:10px;border:1px solid #70538a;border-radius:7px;background:#473456;color:#f4e6ff}.cp-mobile-trigger{display:none}.cp-trigger{max-width:100%;font-size:11px!important}
.cp-feed{border:1px solid #47344f;border-radius:8px;background:#211b2b;margin:10px 0;padding:0 12px;min-width:0}.cp-feed>summary{display:list-item;cursor:pointer;padding:12px 0;color:#f1e4fb;font-size:13px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.cp-feed>summary>span{display:block;color:#c2adcf;font-size:11px;font-weight:400}.cp-feed>summary:focus-visible{outline:3px solid #f0d49d;outline-offset:3px;border-radius:3px}.cp-feed ul{padding-left:18px;margin:10px 0 14px}.cp-feed li{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cp-feed .cp-feed-meta{font-size:10px;line-height:1.6;color:#b9a9c7;overflow-wrap:anywhere}.cp-feed-counters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;margin:12px 0}.cp-feed-counters>div{border-top:1px solid #47344f;padding:10px 0;min-width:0}.cp-feed-counters b,.cp-feed-counters span{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.cp-feed-counters span{color:#e5d2b0;font-variant-numeric:tabular-nums}
@media(max-width:900px){.cp-mobile-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:36px}.cp-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.cp-dialog>header{padding:14px 16px}.cp-body{padding:0 16px 16px}.cp-dialog>footer{padding:14px 16px}.cp-notice{margin:0 16px}}
@media(max-width:480px){.cp-reading-grid{grid-template-columns:minmax(0,1fr)}.cp-dialog h2{font-size:21px}.cp-section-heading{align-items:flex-start}.cp-pair-code strong{font-size:23px}}
.cp-compact-trigger{display:none;min-width:0;min-height:48px;padding:8px 12px;border:1px solid #665279;border-radius:8px;background:#292233;color:#d8bff0;font-size:12px;line-height:1.4;white-space:normal}.cp-trigger:focus-visible,.cp-compact-trigger:focus-visible{outline:3px solid #f0d49d;outline-offset:2px}.navigation .connection-dot[data-connection-state="signed_out"],.navigation .connection-dot[data-connection-state="unpaired"]{background:#ee7676}.navigation .connection-dot[data-connection-state="saved"],.navigation .connection-dot[data-connection-state="saved_stale"]{background:#79d397}.navigation .connection-dot[data-connection-state="waiting"],.navigation .connection-dot[data-connection-state="checking"]{background:var(--violet,#c6ace2)}.navigation .connection-dot[data-connection-state="error"],.navigation .connection-dot[data-connection-state="saved_unknown"],.navigation .connection-dot[data-connection-state="saved_uncertain"]{background:var(--gold,#dfc183)}
@media(max-width:920px){.cp-compact-trigger{display:inline-flex;align-items:center;justify-content:center}}

:root{color-scheme:dark;--bg:#101017;--panel:#191920;--panel-raised:#202028;--panel-soft:#15151d;--line:#2c2b36;--line-soft:#24232d;--text:#f0eef5;--muted:#aaa5b7;--faint:#777183;--violet:#c2a7ff;--violet-dim:#292236;--gold:#dec799;--green:#96c6ac;--red:#ed9c9c;--radius:14px;--class-color:#c2a7ff;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,summary{touch-action:manipulation}button,input,select,textarea{color:var(--text)}button{border:1px solid var(--line);background:var(--panel-raised);border-radius:8px;min-height:40px;padding:9px 14px;font-weight:550}button:hover{border-color:#62546f;background:#2a2534}button:disabled{opacity:.34;cursor:default}input,select,textarea{background:#14141b;border:1px solid var(--line);border-radius:8px;padding:10px 12px;min-height:42px;min-width:0;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--violet);box-shadow:0 0 0 3px #b89ce514}input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:#baa0ef;cursor:pointer}input[type=number]{font-variant-numeric:tabular-nums}a{color:var(--violet);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}:focus-visible{outline:2px solid var(--violet);outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:30px;line-height:1.18;font-weight:620;letter-spacing:-1px}h2{font-weight:600}h3{font-size:16px;font-weight:600}p{line-height:1.65}small,.muted{color:var(--muted)}small{font-size:12px}img{max-width:100%;border-radius:6px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}label{display:grid;gap:7px;font-size:12px;color:var(--muted);font-weight:550}button small{display:block;font-weight:400}.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:var(--violet);color:#151020;padding:12px}.skip-link:focus{top:12px}[hidden]{display:none!important}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:650;color:var(--violet)}
.character-strip{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 28px;border-bottom:1px solid var(--line);background:#14141b;position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:12px;color:var(--text);font-size:14px;font-weight:750;letter-spacing:.08em;flex:none}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;padding:6px;background:#292333;border:1px solid #5b486d;border-radius:11px}.brand small{display:block;font-size:9px;letter-spacing:.08em;color:var(--faint);margin-top:3px}.header-build{display:flex;align-items:center;gap:16px;margin-right:auto;margin-left:35px}.class-control{display:grid;gap:1px}.class-control>span{font-size:10px;color:var(--faint);letter-spacing:.08em;text-transform:uppercase}.class-control select{padding:2px 20px 2px 0;border:0;min-height:28px;background:transparent;font-size:14px;font-weight:600;max-width:180px;box-shadow:none}.control-divider{height:29px;width:1px;background:var(--line)}.level-control{display:flex;align-items:center;gap:6px;border:1px solid #4c405b;border-radius:9px;background:#252030;padding:2px 8px;margin-left:8px}.level-control span{font-size:10px;color:var(--violet);letter-spacing:.06em}.level-control input{background:transparent;border:0;padding:3px;width:46px;min-height:34px;font-size:18px;font-weight:650;color:var(--text);box-shadow:none}.header-actions{display:flex;align-items:center;gap:18px}.save-state{font-size:11px;color:var(--muted);max-width:180px}.profile-button{display:flex;align-items:center;gap:9px;background:transparent;border:0;padding:6px;max-width:220px}.profile-button span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-button svg{width:16px;height:16px;color:var(--muted)}.profile-button img{border:1px solid #5d4a6e}
.workspace{display:grid;grid-template-columns:190px minmax(0,1fr) 275px;min-height:calc(100vh - 78px);max-width:1920px;margin:auto}.navigation{background:#14141b;padding:24px 13px 20px;border-right:1px solid var(--line-soft);display:flex;flex-direction:column;position:sticky;top:78px;height:calc(100vh - 78px)}.nav-character{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:0 8px 25px;position:relative}.avatar-ring{padding:3px;border:1px solid #594365;border-radius:12px;display:flex;background:#241b30}.nav-character b{display:block;font-size:12px;max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-character small{font-size:10px;max-width:98px;display:block;line-height:1.5}.origin-chip{font-size:9px;font-weight:650;letter-spacing:.06em;border:1px solid #5d4767;background:#2c2233;color:#c7a9d0;padding:3px 6px;border-radius:5px;white-space:nowrap}.nav-character>.origin-chip{position:absolute;right:2px;top:-9px}.nav-caption{padding:0 14px 13px;font-size:9px;color:var(--faint);letter-spacing:.12em;font-weight:650}.navigation nav{display:grid;gap:5px}.nav-button{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid transparent;background:transparent;text-align:left;color:var(--muted);font-size:12px;min-height:46px;white-space:nowrap}.nav-button svg{width:19px;height:19px;stroke-width:1.5;opacity:.75}.nav-button.active{color:var(--violet);border-color:#4b395a;background:linear-gradient(100deg,#2c2338,#211c2c)}.nav-button.active svg{opacity:1}.route-meter{margin:30px 12px 0;border-top:1px solid var(--line-soft);padding-top:20px}.route-meter div{display:grid;gap:5px}.route-meter span{font-size:11px;color:var(--faint)}.route-meter strong{font-size:15px;font-weight:550;color:var(--text)}progress{appearance:none;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;display:block;background:#2e2937}progress::-webkit-progress-bar{background:#2e2937;border-radius:5px}progress::-webkit-progress-value{background:#b69be2;border-radius:5px}progress::-moz-progress-bar{background:#b69be2;border-radius:5px}.route-meter progress{margin:10px 0}.route-meter small{display:block;font-size:10px;line-height:1.6;color:var(--faint)}.nav-bottom{margin-top:auto;border-top:1px solid var(--line-soft);padding:18px 10px 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.connection-dot,.live-dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block;flex:none}.nav-bottom #syncStatus{font-size:10px;line-height:1.6;color:var(--faint);max-width:140px}.text-button{padding:3px 0;min-height:32px;background:none;border:0;color:var(--muted);font-size:11px;width:100%;display:flex;justify-content:space-between}.small-button{font-size:11px;padding:6px 10px;min-height:32px}
.main-pane{padding:33px 32px 24px;min-width:0}.page-top{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}.page-breadcrumb{font-size:9px;letter-spacing:.12em;font-weight:650;color:var(--faint);margin-bottom:10px}.page-breadcrumb>span:first-child{padding:0 9px;color:#4b4555}.page-top p{margin-top:8px;font-size:12px;color:var(--muted)}.command-bar{display:flex;align-items:center;gap:8px}.search-box{display:flex;align-items:center;gap:8px;padding:0 10px;background:#18181f;border:1px solid var(--line);border-radius:8px;max-width:250px}.search-box svg{width:16px;height:16px;color:var(--faint)}.search-box input{background:none;border:0;box-shadow:none;padding:10px 0;width:140px;font-size:12px}.search-box kbd{font-family:inherit;font-size:10px;border:1px solid #393340;border-radius:3px;line-height:16px;padding:0 5px;color:var(--faint)}.icon-button{padding:8px;min-width:40px;min-height:40px;display:inline-grid;place-items:center;background:#1a1922}.session-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.summary-card{display:flex;text-align:left;align-items:center;gap:12px;background:#191820;border:1px solid var(--line);border-radius:11px;padding:13px 15px;min-height:76px}.summary-icon{display:grid;place-items:center;background:#2b2236;color:var(--violet);border:1px solid #493953;border-radius:8px;width:38px;height:38px}.summary-card span{display:block;font-size:10px;color:var(--faint);letter-spacing:.01em}.summary-card strong{display:block;font-size:17px;color:var(--text);font-weight:580;line-height:1.6}.summary-card em{font-size:10px;font-style:normal;color:var(--muted);display:block}.summary-card:hover{border-color:#5f4970}
.next-action-panel{position:relative;isolation:isolate;background:linear-gradient(115deg,#292233,#1b1b24);border:1px solid #4e3d5b;border-radius:var(--radius);padding:24px 26px;margin-bottom:24px;overflow:hidden}.action-decor{position:absolute;z-index:-1;inset:0 0 0 auto;width:40%;opacity:.1;background:url('/assets/wow/azeroth.png') center/cover no-repeat;mask-image:linear-gradient(to right,transparent,#000);pointer-events:none}.section-label{display:flex;align-items:center;gap:8px;margin-bottom:16px}.section-label h2{font-family:inherit;font-size:10px;letter-spacing:.12em;font-weight:650;color:#c7b4d8}.micro-badge{margin-left:auto;font-size:9px;color:#a391b2;letter-spacing:.05em;white-space:nowrap}#nextAction>.eyebrow{display:none}#nextAction>h2{font-family:Georgia,"Times New Roman",serif;font-size:29px;font-weight:500;letter-spacing:-.35px;line-height:1.3;max-width:85%}#nextAction>p{font-size:13px;color:#c7bdcf;margin:10px 0 18px;max-width:88%}#nextAction>small{display:inline-block;font-size:10px;color:#9f90ad;max-width:260px;margin-left:16px;vertical-align:middle}.primary{background:var(--violet);border-color:var(--violet);color:#21172e;font-weight:650;box-shadow:0 2px 8px #0002}.primary:hover{background:#d0bbff;border-color:#d0bbff}.primary span{margin-left:20px}.next-action-panel .callout{font-size:12px;background:#3b2b3b;border-color:#6b4a62;margin:10px 0}.right-rail{padding:33px 20px;border-left:1px solid var(--line-soft);background:#13131a;min-width:0}.rail-panel{padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line-soft)}.rail-section-title{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.09em;color:var(--faint);font-weight:650;margin-bottom:16px}.rail-section-title svg{width:17px;height:17px;opacity:.7}.rail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.rail-heading h3{font-size:14px}.rail-heading>span{font-size:12px;color:var(--violet);font-variant-numeric:tabular-nums}.rail-panel .muted{font-size:11px;line-height:1.65;margin:10px 0 22px}.slot-strip{display:flex;gap:6px}.slot{border:1px solid #42324f;border-radius:7px;padding:4px;position:relative;flex:1;min-width:0;background:#211b2a;min-height:46px}.slot img{display:block;width:100%;aspect-ratio:1;object-fit:cover;filter:saturate(.6);opacity:.65}.slot small{position:absolute;right:2px;bottom:1px;background:#17121fe8;padding:0 3px;font-size:9px;color:#c2b0d2;border-radius:3px}.slot.collected{border-color:#90b69b}.slot.collected img{filter:none;opacity:1}.mini-gear{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--line-soft);color:var(--text);font-size:12px;font-weight:500}.mini-gear img{width:32px;height:32px;border:1px solid #51445d}.mini-gear span{flex:1}.mini-gear small{display:block;font-size:10px;margin-top:3px;color:var(--faint)}.reserve{display:grid;grid-template-columns:1fr auto;gap:8px;margin:15px 0;font-size:12px}.reserve>span{color:var(--muted)}.reserve b{font-weight:550;font-size:11px}.reserve progress{grid-column:1/-1;height:4px}.rail-panel>div>h3{font-size:15px}.rail-panel small{font-size:10px;line-height:1.6;display:block}.profession-chips{display:flex;gap:6px;margin:20px 0 12px}.profession-chips span{font-size:10px;background:#26202e;border:1px solid #3c3147;padding:5px 8px;border-radius:5px;color:#b9a4c7}.quiet{font-size:11px;padding:7px 0;border:0;background:none;color:var(--violet)}.rail-footnote{font-size:10px;color:var(--faint);line-height:1.7}
#viewContent{outline:none;min-width:0}.circuit-buttons{display:flex;justify-content:flex-end;gap:8px;margin:18px 0 14px}.circuit-buttons button{font-size:11px;min-height:36px;padding:7px 12px}.circuit-toolbar{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:#1d1b25;border:1px solid var(--line);border-radius:10px;margin-bottom:12px;gap:15px}.circuit-toolbar label{display:flex;align-items:center;gap:12px;flex:1;min-width:0;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.circuit-toolbar select{min-width:0;max-width:100%;font-size:12px;background:transparent;border:0;padding:3px 15px 3px 0;min-height:28px;text-transform:none;letter-spacing:0;color:var(--text)}.circuit-toolbar>span{font-size:11px;color:var(--muted);white-space:nowrap}.circuit-notes{margin:0 0 16px}.circuit-notes ol{font-size:13px;margin:0;padding:0 24px 20px 42px;line-height:1.8}.circuit-notes li{padding:4px 0}.circuit-notes li::marker{color:var(--violet)}details{background:var(--panel);border:1px solid var(--line);border-radius:10px;margin-bottom:12px;overflow:hidden}summary{cursor:pointer;font-weight:550;padding:16px 18px;font-size:13px;line-height:1.5}details[open]>summary{border-bottom:1px solid var(--line-soft);margin-bottom:12px}.reference-card>p,.reference-card>.muted{margin:10px 18px 18px;font-size:13px}.reference-card>div,.reference-card>ol{padding:0 18px 18px}.reference-card h3,.reference-card h4{margin:18px}.reference-card ul{margin:10px 18px 18px;padding-left:20px}.reference-card li{font-size:13px;line-height:1.8}.reference-card .table-wrap{overflow:auto}.reference-grid{display:grid;gap:3px}.callout{border:1px solid #4b3b56;border-left:3px solid var(--violet);border-radius:8px;background:#261f30;padding:12px 15px;color:#cbb9d9;font-size:12px;line-height:1.7;margin:14px 0}.error{color:var(--red)}.empty,.empty-state{text-align:center;padding:48px 25px;border:1px dashed #3d3446;border-radius:12px;background:#17151f;color:var(--muted)}.empty-state h2,.empty h2{font-size:20px;color:var(--text);margin:16px 0 10px}.loading-orbit{display:block;width:35px;height:35px;border:2px solid #45314f;border-top-color:var(--violet);border-radius:50%;margin:auto}.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.material-grid>label{background:var(--panel);border:1px solid var(--line);padding:16px;border-radius:10px;min-width:0;color:var(--text);font-size:13px}.material-grid input{width:100%;font-size:18px;font-weight:550;margin-top:5px}.material-grid small{font-size:10px}.gear-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.gear-item{display:flex;align-items:flex-start;gap:12px;background:#1e1c25;border:1px solid var(--line);border-radius:10px;padding:15px;color:var(--text)}.gear-item img{width:42px;height:42px;flex:none;border:1px solid #51405f}.gear-item>span{flex:1;min-width:0}.gear-item b{font-size:13px}.gear-item small,.gear-item em{display:block;font-size:11px;line-height:1.65;margin:4px 0;font-style:normal;color:var(--muted)}.gear-item input{margin-left:auto;flex:none}.gear-item.collected{border-color:#546b60;background:#1c2724}.notes-label{margin:25px 0}.notes-label textarea{width:100%;min-height:120px;font-size:13px}.pill{display:inline-flex;border:1px solid #47384f;background:#2c2335;border-radius:5px;color:#c8b4d8;padding:4px 7px;font-size:10px;font-weight:550;line-height:1.5}.checkbox-field{display:flex;align-items:center;gap:8px;font-size:12px}.checkbox-field input{margin:0}table{width:100%;border-collapse:collapse;font-size:12px}td,th{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}th{color:var(--muted);font-size:11px}code{font-family:Consolas,monospace;font-size:11px;color:#ccbbd9}pre{white-space:pre-wrap;word-break:break-word}.details-chevron{margin-left:auto;font-size:18px;color:var(--faint)}.footer{display:flex;justify-content:space-between;gap:18px;font-size:9px;color:var(--faint);padding-top:25px;margin-top:15px}.footer span span{padding:0 6px}.character-dialog{color:var(--text);background:#1c1924;border:1px solid #5f4c70;border-radius:16px;max-width:450px;width:calc(100% - 36px);padding:27px;box-shadow:0 25px 100px #0009}.character-dialog::backdrop{background:#090810b8;backdrop-filter:blur(4px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-title h2{font-family:Georgia,serif;font-size:26px;font-weight:500;margin-top:5px}.character-dialog>.muted{font-size:12px;margin-bottom:22px}.character-dialog>label{margin-bottom:18px}.dialog-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-fields select{width:100%}.dialog-footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px;gap:15px}.dialog-footer span{font-size:11px;color:var(--muted)}
body[data-view=talents] .next-action-panel,body[data-view=gear] .next-action-panel,body[data-view=supplies] .next-action-panel,body[data-view=reference] .next-action-panel{display:none}body[data-view=talents] .right-rail,body[data-view=gear] .right-rail{display:none}body[data-view=talents] .workspace,body[data-view=gear] .workspace{grid-template-columns:190px minmax(0,1fr)}body[data-view=talents] .session-summary,body[data-view=gear] .session-summary,body[data-view=reference] .session-summary{display:none}.focus-mode .right-rail,.focus-mode .session-summary{display:none}.focus-mode .workspace{grid-template-columns:190px minmax(0,1fr);max-width:1400px}.focus-mode .main-pane{max-width:1100px;width:100%;margin:auto}
@media(min-width:1600px){.main-pane{padding:40px 44px}.workspace{grid-template-columns:210px minmax(0,1fr) 300px}.navigation{padding-left:18px;padding-right:18px}.right-rail{padding:40px 25px}body[data-view=talents] .workspace,body[data-view=gear] .workspace{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:1200px){.workspace{grid-template-columns:176px minmax(0,1fr)}.right-rail{display:none}.navigation{padding:22px 10px}.main-pane{padding:28px 25px}.header-build{margin-left:8px;gap:10px}.save-state{display:none}.profile-button span{max-width:110px}.character-strip{gap:16px;padding:0 20px}body[data-view=talents] .workspace,body[data-view=gear] .workspace,.focus-mode .workspace{grid-template-columns:176px minmax(0,1fr)}.page-top{gap:14px}.search-box input{width:110px}.summary-card{padding:12px 10px;gap:8px}.summary-card strong{font-size:15px}}
@media(max-width:900px){.character-strip{height:auto;min-height:78px;flex-wrap:wrap;padding:14px 18px;gap:14px}.brand{flex:1}.header-actions{gap:8px}.profile-button span{display:none}.header-build{order:3;width:100%;justify-content:space-between;margin:0;padding-top:9px;border-top:1px solid var(--line)}.class-control select{max-width:170px}.workspace{display:block}.navigation{position:sticky;top:0;height:auto;padding:8px 12px;border-right:0;border-bottom:1px solid var(--line);z-index:20}.navigation nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}.nav-button{display:grid;justify-items:center;text-align:center;gap:6px;min-height:58px;padding:8px 3px;font-size:10px;white-space:normal;line-height:1.2}.nav-button svg{width:19px;height:19px}.nav-character,.nav-caption,.route-meter,.nav-bottom{display:none!important}.character-strip{position:relative}.main-pane{padding:25px}.page-top{align-items:flex-start}.page-top h1{font-size:27px}.page-top p{max-width:300px}.focus-mode .workspace{display:block}.focus-mode .main-pane{max-width:none}.brand small{font-size:8px}.profile-button{padding:3px}}
@media(max-width:620px){.main-pane{padding:22px 16px}.page-top{display:grid;gap:17px}.page-top h1{font-size:27px}.command-bar{justify-content:space-between;width:100%}.search-box{flex:1;max-width:none}.search-box input{width:100%}.session-summary{gap:7px}.summary-card{padding:11px 9px;display:block;min-height:95px}.summary-icon{width:26px;height:26px;margin-bottom:7px}.summary-icon svg{width:14px;height:14px}.summary-card strong{font-size:14px}.summary-card span,.summary-card em{font-size:9px}.next-action-panel{padding:21px 18px}#nextAction>h2{font-size:25px;max-width:100%}#nextAction>p{font-size:12px;max-width:100%}#nextAction>small{display:block;max-width:none;margin:13px 0 0}.micro-badge{font-size:8px}.footer{display:grid;font-size:9px;gap:6px}.circuit-toolbar{display:grid;padding:13px}.circuit-toolbar label{display:grid;gap:5px}.circuit-toolbar select{width:100%;padding:6px 0}.circuit-toolbar>span{font-size:10px}.circuit-buttons{justify-content:space-between}.circuit-buttons button{min-height:40px;font-size:10px}.material-grid{grid-template-columns:1fr 1fr;gap:10px}.material-grid>label{padding:12px;font-size:12px}.gear-grid{grid-template-columns:1fr}.header-build{gap:8px}.class-control select{font-size:12px;max-width:140px}.class-control span{font-size:9px}.level-control{margin-left:0;padding:1px 5px}.level-control input{font-size:16px;width:40px}.level-control span{font-size:9px}.control-divider{display:none}.brand{font-size:12px;gap:8px}.brand-mark{padding:4px}.brand small{font-size:7px}.dialog-fields{grid-template-columns:1fr}.section-label{gap:6px}.section-label h2{font-size:9px}.nav-button{font-size:9px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,border-color .15s,color .15s}.loading-orbit{animation:orbit 1.4s linear infinite}@keyframes orbit{to{transform:rotate(360deg)}}}
@media print{.navigation,.right-rail,.header-actions,.command-bar,.footer{display:none}.workspace{display:block}.main-pane{padding:0}body{background:white;color:#111}.next-action-panel,details{break-inside:avoid;border-color:#999;background:white;color:#111}.character-strip{position:static;background:white;border-color:#999}p,.muted,small{color:#444}}

.loadout-meter{display:grid;gap:5px;margin:15px 0 20px}.loadout-meter b{font-size:22px;font-weight:550;color:var(--violet)}.loadout-meter small{color:var(--faint)}.loadout-meter progress{margin-top:8px}.priority-chips{display:flex;flex-wrap:wrap;gap:6px}.priority-chips span{font-size:10px;padding:5px 7px;border:1px solid #403447;background:#211a2b;border-radius:5px;color:#bda5ca}body[aria-busy=true] .header-build,body[aria-busy=true] #viewContent{pointer-events:none;opacity:.5}
@media(max-width:1200px){.header-actions .save-state{display:block;font-size:10px;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:620px){.header-actions .save-state{max-width:110px}.header-actions{gap:5px}.header-actions .small-button{font-size:10px;padding:5px 7px}}

.next-action-panel{padding:0;border-color:#72603f;background:linear-gradient(120deg,#20212a,#161b25);box-shadow:0 12px 38px #0003,0 0 0 1px #bd9b5520}
.next-action-panel>.section-label,.next-action-panel>.action-decor{display:none}
#nextAction{padding:0;overflow:hidden}
.nm-shell{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,.85fr);gap:0}
.nm-main{padding:25px 26px 21px;min-width:0}
.nm-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nm-heading .eyebrow{color:var(--gold,#dec799);font-size:10px;letter-spacing:.17em}
.nm-stage{font-size:10px;background:#20352e;color:#a5d9be;border:1px solid #4d6352;border-radius:20px;padding:5px 10px;white-space:nowrap}
.nm-stage.is-gated{color:#e7b88b;background:#382a21;border-color:#654532}
.nm-circuit{font-size:12px;color:var(--muted);margin:15px 0 5px!important}
.nm-main h2{font-size:clamp(29px,3vw,41px)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:0 0 12px!important;max-width:750px;text-wrap:balance;font-weight:650}
.nm-instruction{font-size:15px!important;font-weight:600;color:#dfc795;margin:0 0 18px!important}
.nm-route-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.nm-route-steps section{padding:10px 10px 11px;border-top:2px solid #39434f;background:#ffffff03;min-width:0;border-radius:0 0 6px 6px}
.nm-route-steps section.is-current{border-top-color:#d6af71;background:#d6af7111}
.nm-step-label{display:block;letter-spacing:.095em;font-size:9px;font-weight:700;color:#a8b0bf;margin-bottom:7px}
.nm-route-steps section.is-current>.nm-step-label{color:#e0c494}
.nm-location{display:block;margin:4px 0}
.nm-location b{font-size:12px;display:block;line-height:1.35}
.nm-location small{font-size:10px;color:var(--muted);display:block;margin-top:4px;line-height:1.5}
.nm-route-steps ul{padding-left:14px;margin:0;line-height:1.55;font-size:11px}
.nm-more{margin-top:6px;border-top:1px solid #ffffff0d;padding-top:3px;font-size:11px}
.nm-more summary{font-size:10px;cursor:pointer;color:#c8b4e9;min-height:44px;display:flex;align-items:center;gap:6px}
.nm-more summary::before{content:'+';font-size:14px}
.nm-more[open]>summary::before{content:'−'}
.nm-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:17px 0 13px}
.nm-actions button.primary{font-size:12px;padding:12px 15px;min-height:44px;background:#dec799;border-color:#dec799;color:#282017}
.nm-actions button.primary:hover{background:#eddbb6;border-color:#eddbb6}
.nm-actions button{min-height:44px}
.nm-status-control{font-size:12px;color:var(--muted);display:grid;gap:4px}
.nm-status-control select{font-size:13px;min-width:130px;padding:9px;min-height:44px}
.nm-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.nm-meta a{color:#bca4ed;min-height:44px;display:inline-flex;align-items:center;margin-top:-10px;margin-bottom:-10px}
.nm-gates{background:#cb8c4b0c;border:1px solid #ad784140;border-radius:8px;padding:10px;font-size:11px;margin-top:12px}
.nm-gates ul{margin:4px 0 0;padding-left:16px}
.nm-gate-link{padding:3px 6px;border:0;background:none;color:#dac291;font-size:inherit;text-decoration:underline;min-height:44px;min-width:44px;display:inline-flex;align-items:center}
.nm-manual-note{font-size:12px!important;line-height:1.6!important;color:var(--muted);margin-top:10px!important}
.nm-art{margin:0;min-width:0;background:#131a24;display:flex;flex-direction:column;position:relative;border-left:1px solid #ffffff0c}
.nm-exact-shot{width:100%;height:100%;max-height:475px;min-height:330px;object-fit:cover;object-position:center;flex:1;border-radius:0}
.nm-art figcaption{font-size:9px;padding:10px 14px;background:#0f1520;border-top:1px solid #ffffff0c;color:#b9b5ab}
.nm-art figcaption small{display:block;font-size:9px;color:#788697;margin-top:2px}
.nm-footer{grid-column:1/-1;border-top:1px solid #ffffff0c;padding:10px 23px;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#11172180}
.nm-footer>p{font-size:11px!important;line-height:1.5!important;color:var(--muted);margin:0!important;max-width:260px}
.nm-circuit-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px;color:var(--muted)}
.nm-circuit-nav button{padding:8px 10px;font-size:12px;min-height:44px;min-width:44px}
.nm-complete{display:block;padding:26px}
.nm-complete h2{font-size:32px!important}
.nm-complete p{color:var(--muted);margin:12px 0 18px}
.nm-milestone-actions{font-size:12px;line-height:1.6;padding-left:18px;color:var(--muted)}
.nm-class-quests{padding:12px;background:#ffffff04;border-radius:8px;margin-top:14px}
.nm-class-quests p{margin:6px 0;font-size:12px}
.nm-class-quests small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
#nextAction :focus-visible{outline:2px solid #d5beff;outline-offset:3px}
@media(max-width:1100px){.nm-shell{grid-template-columns:minmax(0,1.9fr) minmax(210px,1fr)}.nm-main{padding:21px}.nm-route-steps{grid-template-columns:1fr 1fr}.nm-route-steps section:last-child{grid-column:1/-1;display:grid;grid-template-columns:110px 1fr;align-items:start}.nm-footer{align-items:start}.nm-footer>p{max-width:190px}.nm-circuit-nav{justify-content:flex-end;gap:7px}}
@media(max-width:760px){.nm-shell{grid-template-columns:1fr}.nm-main{padding:21px}.nm-main h2{font-size:32px!important}.nm-art{border-left:0;border-top:1px solid #ffffff0c}.nm-exact-shot{height:220px;max-height:220px;min-height:0;object-position:center 45%}.nm-footer{display:block;padding:12px 20px}.nm-footer>p{max-width:none}.nm-circuit-nav{justify-content:space-between;margin-top:8px}.nm-art figcaption{padding:8px 20px}}
@media(max-width:450px){.nm-heading{gap:6px}.nm-stage{font-size:9px;padding:5px 7px}.nm-main{padding:18px}.nm-main h2{font-size:29px!important}.nm-route-steps{grid-template-columns:1fr}.nm-route-steps section{display:grid;grid-template-columns:90px 1fr;align-items:start;gap:5px}.nm-route-steps section:last-child{grid-template-columns:90px 1fr}.nm-step-label{font-size:8px;line-height:1.5}.nm-location{margin:0}.nm-status-control{flex:1}.nm-status-control select{width:100%}.nm-circuit-nav{gap:5px}.nm-circuit-nav button{font-size:9px}}

/* Circuit progress sits beside navigation without competing with the next task. */
.nm-circuit-progress{display:grid;gap:5px;min-width:112px;text-align:center;font-size:11px}.nm-circuit-progress progress{display:block;width:100%;height:5px;accent-color:var(--gold)}
.nm-route-steps .is-current{border-color:#bfa06a;background:linear-gradient(135deg,#45372255,#242735)}
.nm-route-steps .is-current .nm-step-label{color:#f0d69c}.nm-heading .eyebrow{font-size:11px}.nm-location b,.nm-route-steps li{font-size:13px;line-height:1.6}.nm-location small{font-size:11px;line-height:1.5}
@media(max-width:450px){.nm-circuit-progress{min-width:95px}.nm-circuit-nav button{font-size:11px}.nm-step-label{font-size:10px}.nm-route-steps section{display:block}.nm-route-steps section:last-child{display:block}.nm-location{margin-top:8px}}

/* Static cartography: the complete client map remains visible and undistorted. */
.nm-map-panel{display:flex;flex-direction:column;min-height:355px;flex:1;background:linear-gradient(160deg,#26251f,#111820);padding:15px;gap:0;position:relative;overflow:hidden}
.nm-map-head{display:flex;justify-content:space-between;align-items:center;color:#dbc79f;margin-bottom:11px;position:relative;z-index:1}
.nm-map-kicker{font-size:10px;font-weight:700;letter-spacing:.18em}.nm-map-compass{font-size:12px;color:#bba883;letter-spacing:.1em}
.nm-map-frame{position:relative;border:1px solid #8c7247;border-radius:5px;overflow:hidden;background:#2a2115;box-shadow:0 4px 15px #0003}
.nm-map-image{display:block;width:100%;height:auto;aspect-ratio:1002/668;object-fit:contain;border-radius:0}
.nm-map-world .nm-map-image{aspect-ratio:1280/492;min-height:170px;background:#1a1f26}
.nm-map-open{display:flex;align-items:center;justify-content:center;min-height:44px;position:absolute;bottom:8px;right:8px;padding:0 10px;background:#141821ed;border:1px solid #aa8957;color:#edd7ad;border-radius:4px;font-size:11px;text-decoration:none}
.nm-map-open:hover{background:#292334;color:#fff0cd}
.nm-map-context{padding:18px 3px 12px;position:relative}.nm-map-context .nm-map-label{position:static;display:block;text-align:left;letter-spacing:.14em;color:#bda783;font-size:9px;margin:0 0 6px}
.nm-map-title{font-family:Georgia,'Times New Roman',serif;color:#efe7d7;font-size:22px;font-weight:500;line-height:1.2;margin:0 0 8px}.nm-map-note{font-size:11px!important;line-height:1.55!important;color:#b0aea6;margin:0!important}
.nm-map-objectives{display:grid;gap:6px;margin-top:auto;padding:0 3px 10px}.nm-map-objective{display:flex;align-items:center;gap:8px;border-top:1px solid #cab08025;padding:8px 0;min-width:0}.nm-map-objective img{width:28px;height:28px;flex:none;object-fit:contain;border-radius:3px}.nm-map-objective span{font-size:12px;color:#e1d5c2;line-height:1.5;overflow-wrap:anywhere}.nm-map-objective b{color:#dabb80;font-size:12px}.nm-map-trust{padding:9px 3px 2px;border-top:1px solid #ffffff0c;font-size:10px!important;color:#8f979d}
@media(max-width:1100px){.nm-map-panel{padding:12px}.nm-map-title{font-size:21px}.nm-map-open{font-size:10px;bottom:6px;right:6px}}
@media(max-width:760px){.nm-map-panel{min-height:0;padding:18px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);column-gap:17px}.nm-map-head{grid-column:1/-1}.nm-map-frame{grid-column:1;grid-row:2/5;align-self:start}.nm-map-context{padding:0 0 12px}.nm-map-objectives{margin:0;padding:0 0 8px}.nm-map-trust{grid-column:1/-1;margin-top:10px!important}.nm-map-world .nm-map-image{min-height:170px}.nm-map-context .nm-map-label{position:static;font-size:9px;left:auto;right:auto;bottom:auto;text-align:left}.nm-map-open{position:static;border-radius:0;border-width:1px 0 0;background:#1a1c24}.nm-map-title{font-size:20px}}
@media(max-width:500px){.nm-map-panel{display:flex;padding:15px}.nm-map-frame{width:100%}.nm-map-image{max-height:250px;background:#251f18}.nm-map-context{padding:16px 0 10px}.nm-map-objectives{grid-template-columns:1fr 1fr;gap:0 14px}.nm-map-objective{padding:8px 0}.nm-map-title{font-size:22px}.nm-map-trust{margin-top:0!important}}

.nm-map-horizon{height:96px;margin:-15px -15px 13px;overflow:hidden;border-bottom:1px solid #876b434d;flex:none}.nm-map-horizon img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 42%;border-radius:0}
@media(max-width:1100px){.nm-map-horizon{margin:-12px -12px 12px}}
@media(max-width:760px){.nm-map-horizon{grid-column:1/-1;grid-row:auto;height:82px;margin:-18px -18px 15px}.nm-map-regional .nm-map-frame{grid-row:3/6}}
@media(max-width:500px){.nm-map-horizon{margin:-15px -15px 13px;height:86px}}
.nm-art>.quest-map{border:0;border-radius:0;flex:1;padding:15px}.nm-map-supplement{padding:10px 15px;border-top:1px solid #ffffff0c;color:#bdaccd;font-size:11px}.nm-map-supplement summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.nm-map-supplement .nm-exact-shot{width:100%;height:auto;min-height:0;max-height:240px;object-fit:contain}.nm-map-supplement p{font-size:10px;line-height:1.6;color:#a094af}.nm-record-link{padding:4px 0!important;background:none!important;border:0!important;color:#ccb0eb!important;font-size:11px!important;min-height:36px}.nm-art .qm-full-map img{max-height:440px}.nm-art .qm-controls label{min-width:100px}
.nm-stage.is-verification{color:#ead1a5;background:#392d21;border-color:#806641}.nm-stage.is-preview{color:#c5bed0;background:#292535;border-color:#5a5068}.nm-stage.is-assistance{color:#d8c5ef;background:#342543;border-color:#705386}.nm-plan-note{padding:10px 12px;border-left:3px solid #86709e;background:#a885d309;margin:0 0 14px}.nm-plan-note p{font-size:12px!important;line-height:1.55!important;margin:0 0 5px!important}.nm-plan-note small{display:block;font-size:11px;line-height:1.5;color:var(--muted)}.nm-plan-note.is-verification{border-left-color:#b79050;background:#af863a0c}.nm-plan-note ul{margin:5px 0;padding-left:16px;font-size:12px}.nm-shell.nm-minimal{display:block}.nm-minimal .nm-main{padding:16px 20px}.nm-minimal .nm-main h2{font-size:27px!important;margin-bottom:8px!important}.nm-minimal .nm-circuit{margin-top:9px!important}.nm-minimal .nm-instruction{font-size:13px!important;margin-bottom:10px!important}.nm-minimal .nm-actions{margin:10px 0}.nm-essential-route{font-size:11px!important;color:var(--muted);margin:8px 0 0!important}.nm-minimal .nm-plan-note{padding:8px 10px}.nm-minimal .nm-heading{flex-wrap:wrap}

/* A compact character readout stays separate from the actionable quest below it. */
.nm-hud{margin:0 0 22px;padding:17px 18px 0;border:1px solid #b49a6650;border-radius:8px;background:radial-gradient(ellipse at top left,#69542b26,transparent 70%),linear-gradient(140deg,#171f29,#111925);box-shadow:0 4px 16px #0002;min-width:0;overflow:hidden}
.nm-hud-identity{display:flex;align-items:center;gap:11px;margin-bottom:17px;min-width:0}
.nm-hud-level{display:grid;place-items:center;flex:0 0 43px;height:43px;border:1px solid #bf9a5d;border-radius:50%;background:#29283a;color:#f3d79f;font:500 24px/1 Georgia,serif;box-shadow:inset 0 0 0 3px #111923}
.nm-hud-identity>div{display:grid;gap:4px;min-width:0}.nm-hud-identity>div>b{font:500 19px/1.25 Georgia,serif;color:#efe0bc;overflow-wrap:anywhere}.nm-hud-identity>div>span{font-size:11px;line-height:1.5;color:#aca7b8;overflow-wrap:anywhere}
.nm-hud-mode{margin-left:auto;align-self:start;font-size:8px;line-height:1.5;letter-spacing:.12em;color:#c4ad7d;text-align:right;max-width:65px}
.nm-hud-bars{display:grid;gap:12px}.nm-hud-resource>div:first-child,.nm-hud-xp>div:first-child{display:flex;align-items:baseline;gap:8px;margin-bottom:6px;font-size:11px;font-variant-numeric:tabular-nums}.nm-hud-resource>div>span:first-child{font-weight:700;color:#bbc9c6}.nm-hud-resource b{font-size:12px;font-weight:600;color:#e4eee9;margin-left:auto}.nm-hud-resource small{font-size:10px;color:#959dad;min-width:27px;text-align:right}.nm-hud-resource span small{font-size:9px;font-weight:400;color:#9b94a6}
.nm-hud-track{height:10px;overflow:hidden;border-radius:3px;background:repeating-linear-gradient(120deg,#ffffff06 0 6px,#ffffff02 6px 12px);border:1px solid #ffffff0a;box-shadow:inset 0 2px 5px #0005}.nm-hud-track>span{display:block;height:100%;border-radius:2px}
.nm-hud-health .nm-hud-track>span{background:linear-gradient(90deg,#247454,#65c994);box-shadow:0 0 12px #5bcd7b30}.nm-hud-power .nm-hud-track>span{background:linear-gradient(90deg,#365999,#7ba6ef);box-shadow:0 0 12px #6b98dc30}.nm-hud-health.is-low .nm-hud-track>span{background:linear-gradient(90deg,#9a413b,#ee8a78)}
.nm-hud-xp{margin-top:14px}.nm-hud-xp>div:first-child{color:#a598bc;font-size:9px;letter-spacing:.06em}.nm-hud-xp b{font-size:10px;font-weight:400;color:#b9afc9;margin-left:auto;letter-spacing:0}.nm-hud-xp .nm-hud-track{height:5px}.nm-hud-xp .nm-hud-track>span{background:linear-gradient(90deg,#705587,#b493cc)}
.nm-hud-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:16px}.nm-hud-metric{display:grid!important;gap:5px!important;align-content:start;text-align:left;min-width:0;min-height:74px!important;padding:10px!important;border:1px solid #bda27620!important;background:#ffffff03!important;border-radius:5px!important}.nm-hud-metric:hover{border-color:#bda27670!important;background:#bda2760a!important}.nm-hud-metric>span{font-size:8px;line-height:1.4;letter-spacing:.08em;color:#a9a1ae}.nm-hud-metric>b{font-size:17px;line-height:1.3;color:#e0c998;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.nm-hud-metric>small{font-size:9px;line-height:1.4;color:#9c96a7;overflow-wrap:anywhere}
.nm-hud-location{display:flex;gap:7px;margin:12px 0;color:#aaa5b4;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.nm-hud-location>span:first-child{color:#c2a875}
.nm-hud-alert{font-size:11px!important;color:#efbc97!important;line-height:1.6!important;padding:8px 10px;background:#a4733415;border-left:2px solid #bb8e56;margin:12px 0!important}
.nm-hud-source{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #b49a6626;margin-top:12px;padding:8px 0;color:#b6aabf;font-size:10px;line-height:1.5}.nm-hud-source small{display:block;color:#8f96a6;font-size:10px}.nm-hud-source button{padding:7px 0 7px 8px!important;border:0!important;background:none!important;color:#e0c998;min-height:38px!important;font-size:11px!important;text-align:right;white-space:nowrap}.nm-hud-source button:hover{color:#fff0c9}
.nm-snapshot-dialog{width:min(590px,calc(100vw - 28px));max-height:calc(100dvh - 40px);box-sizing:border-box;overflow:auto;border:1px solid #b49a6670;border-radius:10px;background:#181f2b;color:#e7e0d4;padding:24px;box-shadow:0 20px 80px #0008}.nm-snapshot-dialog::backdrop{background:#080d16c9;backdrop-filter:blur(4px)}.nm-snapshot-dialog header{display:flex;gap:15px;justify-content:space-between;align-items:start}.nm-snapshot-dialog header span{font-size:10px;letter-spacing:.12em;color:#bd9f6e}.nm-snapshot-dialog h2{font:500 28px/1.3 Georgia,serif;margin:7px 0;color:#f0ddba}.nm-snapshot-dialog header button{padding:5px 12px;background:none;color:#c3bacb;border:1px solid #ffffff20;font-size:22px;min-height:44px}.nm-snapshot-dialog p{font-size:12px;line-height:1.65;color:#b0a9bc}.nm-snapshot-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;margin:20px 0 12px}.nm-snapshot-fields label{display:grid;gap:6px;color:#c1b8c6;font-size:11px}.nm-snapshot-fields :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:42px;border:1px solid #7a6d7b65;border-radius:5px;background:#101722;color:#e8e0d2;padding:10px;font:inherit;font-size:13px}.nm-snapshot-fields input::placeholder{color:#777b8d}.nm-snapshot-hint{font-size:11px;line-height:1.5;color:#9792a3;align-self:center}.nm-snapshot-zone{grid-column:1/-1}.nm-snapshot-dialog footer{display:flex;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid #b49a6626}.nm-snapshot-dialog footer button{min-height:44px;padding:10px 16px}.nm-snapshot-dialog .primary{background:#dec799;border:1px solid #dec799;color:#282017;border-radius:5px}.nm-snapshot-dialog :focus-visible{outline:3px solid #efd195;outline-offset:3px}#nmSnapshotError{color:#f2b6a1}
.nm-minimal .nm-hud{max-width:620px;padding-top:12px;margin-bottom:15px}.nm-minimal .nm-hud-identity{margin-bottom:12px}.nm-minimal .nm-hud-level{height:34px;flex-basis:34px;font-size:20px}
@media(max-width:520px){.nm-hud{padding:13px 12px 0}.nm-hud-identity>div>b{font-size:17px}.nm-hud-mode{display:none}.nm-hud-metrics{gap:5px}.nm-hud-metric{padding:8px!important}.nm-hud-metric>b{font-size:15px}.nm-hud-source{align-items:start}.nm-snapshot-dialog{padding:18px}.nm-snapshot-dialog h2{font-size:25px}.nm-hud-xp>div:first-child{flex-wrap:wrap}.nm-hud-xp b{margin-left:0}}

.talents-ui{--tui-line:#383346;--tui-muted:#aaa5b8;color:#e9e4f1}.talents-ui .tui-kicker{display:block;font-size:10px;font-weight:650;letter-spacing:1.1px;color:#a99bbb;line-height:1.5}.tui-toolbar{display:flex;align-items:center;gap:17px;margin-bottom:17px}.tui-toolbar>div:first-child{margin-right:auto}.tui-toolbar h2{font-size:22px;font-weight:650;letter-spacing:-.5px;margin-top:4px}.tui-mode{display:flex;background:#14141e;border:1px solid #3a3049;border-radius:8px;padding:4px;gap:3px}.tui-mode button{font-size:12px;font-weight:550;padding:8px 16px;border:0;background:none;color:#a79caf;border-radius:5px}.tui-mode button[aria-selected=true]{color:#e2d0f4;background:#3a294b;box-shadow:0 1px 4px #080810}.tui-reset{font-size:12px!important;padding:10px 13px!important;background:#24212e!important;color:#b8a9c8!important;border-color:#423748!important}.tui-budget{display:flex;align-items:center;gap:24px;padding:15px 18px;border:1px solid var(--tui-line);border-radius:9px;background:#211d2d;margin-bottom:18px}.tui-budget>div:first-child{display:flex;align-items:center;gap:10px}.tui-budget>div:first-child>b{font-size:30px;color:#cfb4ec;line-height:1;font-weight:650}.tui-budget>div:first-child>span{font-size:10px;line-height:1.5;letter-spacing:.8px;width:50px;color:#b5a5c7}.tui-budget-meter{flex:1;min-width:100px}.tui-budget-meter>div{display:flex;justify-content:space-between;color:#b6abc5;font-size:12px;gap:10px}.tui-budget-meter progress{height:4px;margin:9px 0 0}.tui-budget-context{font-size:12px;color:#d0c4dd;text-align:right}.tui-budget-context small{display:block;font-size:10px;margin-top:5px;color:#9c90ab}.tui-budget label{display:flex;align-items:center;gap:10px;font-size:12px;max-width:170px;line-height:1.4;color:#b9acc9}.tui-budget input{width:56px;padding:8px;text-align:center;font-size:13px}.tui-trees{display:grid;grid-template-columns:repeat(3,minmax(245px,1fr));gap:12px;overflow-x:auto;padding:1px 1px 8px;margin-bottom:13px;scrollbar-width:thin;scrollbar-color:#574366 #171720}.tui-tree{min-width:0;background:linear-gradient(145deg,#282132,#191b27 75%);border:1px solid #44364f;border-radius:10px;padding:14px 9px 15px}.tui-tree>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 5px 13px;border-bottom:1px solid #3d3348;margin-bottom:17px}.tui-tree h3{font-size:14px;font-weight:600;color:#e0ccef}.tui-tree>header>span{font-size:12px;color:#b9a6cd;white-space:nowrap}.talents-ui .tui-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(124px,auto);gap:12px 4px;align-items:start}.talents-ui .tui-node{padding:2px 0 0;min-width:0;text-align:center}.talents-ui .tui-node-info{padding:0;background:none;border:0;display:grid;justify-items:center;gap:8px;width:100%}.talents-ui .tui-node-info>img{width:40px;height:40px;border-radius:5px;border:1px solid #806093;box-shadow:0 0 0 2px #15111e}.talents-ui .tui-node-info>span:not(.tui-empty-icon){font-size:12px;line-height:1.25;color:#c8bbd4;max-width:100%;min-height:45px;overflow-wrap:normal;letter-spacing:-.2px}.talents-ui .tui-node-info:hover>img{border-color:#d2a9f3;box-shadow:0 0 0 2px #5b3774}.talents-ui .allocated .tui-node-info>img{border:2px solid #d4b689;box-shadow:0 0 0 2px #54412a}.talents-ui .allocated .tui-node-info>span{color:#e3d0ad}.talents-ui .locked .tui-node-info>img{filter:grayscale(1);opacity:.4}.talents-ui .locked .tui-node-info>span{color:#8c8397}.talents-ui .rank-controls{display:flex;align-items:center;justify-content:center;gap:3px;margin-top:6px}.talents-ui .rank-controls button{width:20px;height:22px;padding:0;font-size:14px;line-height:20px;border-radius:4px;background:#32263e;border:1px solid #654972;color:#dcc8ef}.talents-ui .rank-controls button:disabled{opacity:.3;cursor:default}.talents-ui .rank-controls b{font-size:12px;font-weight:600;min-width:27px;color:#bdb1c9;letter-spacing:-.5px}.talents-ui .rank-controls b span{color:#766b83;margin:0 1px}.talents-ui .allocated .rank-controls b{color:#e4cc9e}.tui-empty-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:5px;border:1px solid #574860;background:#221d2c;color:#7d6a8c;font-size:23px}.tui-legacy .tui-tree{background:linear-gradient(140deg,#24292a,#181d25);border-color:#3c4946}.tui-legacy .tui-tree>header{border-color:#3d4643}.tui-legacy .tui-tree h3{color:#c8d7cd}.tui-insight{border:1px solid #5a426b;border-radius:10px;padding:17px 19px;background:#211c2c;margin-top:12px}.tui-insight-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.tui-insight-heading>img{width:40px;height:40px;border:1px solid #9371ad}.tui-insight-heading h3{font-size:17px;color:#dec8f0;margin-top:4px}.tui-insight-rank{margin-left:auto;font-size:17px;color:#d7bd9b;font-weight:650}.tui-insight-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:26px}.tui-insight p{font-size:12px;line-height:1.65;color:#c3b5d0;margin-top:8px}.tui-insight .tui-next-rank{padding-top:11px;border-top:1px solid #3d3049;margin-top:13px}.tui-next-rank b{display:block;color:#d7b9eb;font-size:12px;margin-bottom:5px}.talents-ui .tui-all-ranks{margin:14px 0 0;background:#191521;border-color:#3e304b}.tui-all-ranks>summary{font-size:12px;padding:10px 12px;color:#bea6d0}.tui-all-ranks p{padding:0 12px 11px;margin:6px 0;font-size:12px}.tui-all-ranks p b{display:block;color:#d2bfdf;margin-bottom:4px}.tui-gates{border-left:1px solid #44334f;padding-left:22px}.tui-gates ul{list-style:none;margin:10px 0 0;padding:0}.tui-gates li{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;color:#b7a9c6;margin:11px 0}.tui-gates li>span{color:#9470ab;flex-shrink:0}.tui-gates li>b{margin-left:auto;white-space:nowrap;font-weight:550}.tui-gates .met>span,.tui-gates .met>b{color:#a1c3af}.tui-gates .unmet>b{color:#d1b58d}.tui-insight-empty{display:flex;gap:16px;align-items:center;border-style:dashed;border-color:#43354f;background:#1a1724}.tui-insight-empty>span{font-size:26px;color:#a081bd}.tui-insight-empty h3{font-size:14px;color:#d1bddf}.tui-insight-empty p{margin-top:5px}.tui-footer{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-top:15px}.tui-footer p,.tui-footer a{font-size:12px;line-height:1.6;color:#9e91ad}.tui-footer a{white-space:nowrap;color:#bea4d4}.tui-validation{font-size:12px;line-height:1.6;padding:12px 15px;background:#34222e;color:#dab5c7;border:1px solid #6b4057;border-radius:8px;margin:12px 0}
@media(max-width:900px){.tui-trees{grid-template-columns:repeat(3,minmax(245px,1fr))}.tui-budget{gap:16px}.tui-budget-context{max-width:130px}.tui-insight-columns{grid-template-columns:1fr}.tui-gates{border-left:0;border-top:1px solid #44334f;padding:16px 0 0}.tui-toolbar{flex-wrap:wrap;gap:10px}.tui-toolbar h2{font-size:20px}.tui-footer{display:grid;gap:7px}}
@media(max-width:550px){.tui-toolbar>div:first-child{flex-basis:100%}.tui-mode{flex:1}.tui-mode button{flex:1;padding:8px 12px}.tui-reset{font-size:12px!important}.tui-budget{flex-wrap:wrap;gap:14px;padding:13px}.tui-budget>div:first-child>b{font-size:27px}.tui-budget-meter{flex:1}.tui-budget-context,.tui-budget label{flex-basis:100%;text-align:left;max-width:none;display:flex;align-items:center;gap:10px}.tui-budget-context small{margin:0}.tui-insight{padding:15px}.tui-insight-heading h3{font-size:15px}.tui-trees{gap:10px}.tui-tree{padding-left:8px;padding-right:8px}.tui-footer a{white-space:normal}}
.talents-ui .tui-kicker,.talents-ui .tui-budget>div:first-child>span,.talents-ui .tui-budget-context small{font-size:12px}.talents-ui .tui-budget>div:first-child>span{width:58px;letter-spacing:.3px}
.tui-insight-actions{display:flex;flex-wrap:wrap;gap:9px;margin:-2px 0 20px}.tui-insight-actions button{min-height:44px;padding:10px 17px;font-size:13px;font-weight:600;border:1px solid #806095;background:#684982;color:#f2e6ff}.tui-insight-actions button+button{background:#2b2336;border-color:#564263;color:#d6c3e5}.tui-insight-actions button:disabled{opacity:.4;cursor:default}.tui-insight-actions button:not(:disabled):hover{background:#8762a3;border-color:#c1a1d8}.tui-insight-actions button+button:not(:disabled):hover{background:#44304f}@media(max-width:550px){.tui-insight-actions button{flex:1;padding-left:12px;padding-right:12px}}

/* Keep the inspected rank beside the trees in the bounded desktop workspace. */
body[data-view=talents] .tui-toolbar{margin-bottom:10px;gap:12px}
body[data-view=talents] .tui-budget{padding:10px 14px;gap:16px;margin-bottom:12px}
body[data-view=talents] .tui-budget-context{min-width:160px;max-width:215px}
body[data-view=talents] .tui-budget-context small.tui-talented-status{gap:3px;margin-top:3px}
body[data-view=talents] .tui-talented-icons{min-height:0}
body[data-view=talents] .tui-talented-icon{width:22px;height:22px}
.tui-workbench{display:grid;gap:14px;align-items:start;min-width:0}
body[data-view=talents] .tui-workbench .tui-insight{margin-top:0;min-width:0;padding:14px}
body[data-view=talents] .tui-insight-columns{grid-template-columns:1fr;gap:16px}
body[data-view=talents] .tui-gates{border-left:0;border-top:1px solid #44334f;padding:12px 0 0}
body[data-view=talents] .tui-insight-actions{gap:7px;margin-bottom:12px}
body[data-view=talents] .tui-insight-actions button{flex:1;padding:9px;font-size:12px}
body[data-view=talents] .tui-unlock-reason{padding:9px;border-left:3px solid #d1b58d;background:#302630;margin:8px 0 14px}
.tui-field-error{flex-basis:100%;font-size:12px;line-height:1.5;color:#efc1b5}
.tui-field-error:empty{display:none}
.tui-provenance{margin-top:14px}
.tui-provenance p{padding:0 14px 12px;font-size:12px;line-height:1.6;color:#beb2ca}
body[data-view=talents] .tui-node.selected .tui-node-info>img{outline:3px solid #edcd94;outline-offset:3px}
.vr-compact body[data-view=talents] .vr-workspace-context{grid-template-rows:48px;gap:0}
.vr-compact body[data-view=talents] .vr-workspace-context>.page-top{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1100px){
 .tui-workbench{grid-template-columns:minmax(0,1fr) 300px}
 body[data-view=talents] .tui-workbench .tui-insight{position:sticky;top:0;max-height:calc(100dvh - 260px);overflow:auto;scrollbar-gutter:stable}
 body[data-view=talents] .tui-trees{grid-template-columns:repeat(3,minmax(300px,1fr));margin:0}
}
@media(max-width:1099px){
 .tui-workbench>.tui-insight:not(.tui-insight-empty){grid-row:1}
}
/* Talent nodes retain their source row/column positions and rank controls. */
.talents-ui{--tui-line:#615144;--tui-muted:#b8adbf;color:#f0e9ef}
.talents-ui .tui-toolbar{gap:12px 16px;align-items:flex-start;margin-bottom:17px}.talents-ui .tui-toolbar h2{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.2px;color:#e7d2ad;margin:5px 0 0}
.talents-ui .tui-kicker{font-size:10px;line-height:1.6;letter-spacing:.09em;color:#c3acd8}.talents-ui .tui-mode{padding:4px;border-color:#665044;background:#181820;align-items:stretch;min-width:160px}.talents-ui .tui-mode button{min-height:38px;padding:7px 14px;font-size:12px;color:#c0b3cc}.talents-ui .tui-mode button[aria-selected=true]{background:#45304f;color:#f4e9fa;box-shadow:none;border:1px solid #9b7bae;padding:6px 13px}
.talents-ui .tui-reset{min-height:44px;font-size:12px!important;border-color:#6c5848!important;background:#2b252b!important;color:#d4bd9b!important;white-space:nowrap}
.talents-ui .tui-budget{flex-wrap:wrap;gap:14px 22px;padding:16px 18px;border-color:#79634d;border-radius:10px;background:linear-gradient(110deg,#302834,#1d2028);align-items:center}.talents-ui .tui-budget>div:first-child>b{font-size:30px;color:#ecd5ab;font-variant-numeric:tabular-nums}.talents-ui .tui-budget>div:first-child>span{color:#c7b9d0;font-size:10px;width:52px;line-height:1.55;letter-spacing:.06em}.talents-ui .tui-budget-meter{flex:1 1 180px;min-width:150px}.talents-ui .tui-budget-meter>div{font-size:12px;line-height:1.5;color:#d0c2d9}.talents-ui .tui-budget-meter progress{height:5px;margin-top:9px}.talents-ui .tui-budget label{color:#d0c2d9;line-height:1.6;max-width:200px}.talents-ui .tui-budget input{width:64px;min-height:44px;border-color:#65566f;background:#16151d;font-variant-numeric:tabular-nums}
.talents-ui .tui-budget-context{min-width:176px;max-width:250px;text-align:left;padding-left:17px;border-left:1px solid #6b594c;color:#e7d2ad;font-size:14px;line-height:1.55}.talents-ui .tui-budget-context small.tui-talented-status{display:grid;gap:6px;max-width:100%;margin-top:7px;font-size:11px;line-height:1.6;color:#c0b1cc}.talents-ui .tui-talented-label{color:#d4c1e2;font-size:11px;font-weight:600;letter-spacing:.02em}.talents-ui .tui-talented-icons{display:flex;align-items:center;gap:5px;min-height:26px;flex-wrap:wrap}.talents-ui .tui-talented-icon{width:26px;height:26px;min-width:26px;max-width:26px;max-height:26px;object-fit:contain;border:1px solid #c3a474;border-radius:4px;box-shadow:none}.talents-ui .tui-talented-bonus{color:#e3c898;font-size:11px}.talents-ui .tui-talented-zero{color:#b8adbf;font-size:11px}
.talents-ui .tui-trees{grid-template-columns:repeat(3,minmax(260px,1fr));gap:13px;padding:3px 3px 10px;scrollbar-color:#80638f #171820;overscroll-behavior-x:contain}.talents-ui .tui-tree{padding:0 10px 16px;border-color:#78624b;border-radius:10px;background:linear-gradient(135deg,#292430,#191c24);overflow:visible;box-shadow:none}.talents-ui .tui-tree>header{padding:13px 5px 12px;margin:0 0 14px;background:transparent;border-bottom:1px solid #655244;align-items:flex-start}.talents-ui .tui-tree h3{color:#e6ceaa;font-size:14px;line-height:1.45}.talents-ui .tui-tree>header>span{color:#c3b0d2;font-size:11px;line-height:1.6;font-variant-numeric:tabular-nums}
.talents-ui .tui-tree .tui-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(160px,auto);gap:13px 6px;align-items:start}.talents-ui .tui-node{min-width:0;padding:3px 0;max-width:100%}.talents-ui .tui-node-info{border-radius:6px;gap:8px;min-height:99px;align-content:start}.talents-ui .tui-node-info>img{width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain;border-radius:5px;border-color:#856699;box-shadow:none}.talents-ui .tui-node-info>span:not(.tui-empty-icon){min-height:42px;font-size:11px;line-height:1.45;letter-spacing:0;overflow-wrap:anywhere;color:#cdbfd9}.talents-ui .tui-node-info:hover>img{border-color:#d9b3f2;box-shadow:none}.talents-ui .allocated .tui-node-info>img{border:2px solid #d9b678;box-shadow:none}.talents-ui .allocated .tui-node-info>span{color:#e8ce9f}.talents-ui .locked .tui-node-info>img{filter:none;opacity:.4;border-style:dashed}.talents-ui .locked .tui-node-info>span{color:#a49aaa}
.talents-ui .rank-controls{display:flex;flex-wrap:wrap;gap:4px;margin-top:1px;justify-content:center;align-items:center}.talents-ui .rank-controls b{order:-1;flex:1 0 100%;min-width:0;text-align:center;font-size:12px;line-height:1.4;color:#c8b8d2;font-variant-numeric:tabular-nums;letter-spacing:0}.talents-ui .rank-controls button{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:4px;background:#33263c;border-color:#775689;color:#e4ceee;line-height:1;font-size:15px}.talents-ui .rank-controls button[data-delta="-1"]{grid-column:1;grid-row:2}.talents-ui .rank-controls button[data-delta="1"]{grid-column:2;grid-row:2}.talents-ui .rank-controls button:hover:not(:disabled){background:#4c325b;border-color:#b68bd0}.talents-ui .rank-controls b span{color:#a696b0}.talents-ui .allocated .rank-controls b{color:#e8ce9f}
.talents-ui .tui-legacy .tui-tree{background:linear-gradient(135deg,#252b2b,#191e25);border-color:#6b7160}.talents-ui .tui-legacy .tui-tree>header{border-bottom-color:#566352}.talents-ui .tui-legacy .tui-tree h3{color:#d7d7b8}
.talents-ui .tui-insight{margin-top:13px;padding:18px;border-color:#8b7254;border-radius:10px;background:#24202b}.talents-ui .tui-insight-heading{align-items:flex-start;gap:11px;margin-bottom:15px}.talents-ui .tui-insight-heading>img{width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain;border-color:#b19670;box-shadow:none}.talents-ui .tui-insight-heading>div{min-width:0}.talents-ui .tui-insight-heading h3{font-size:18px;line-height:1.4;color:#ead3af;overflow-wrap:anywhere}.talents-ui .tui-insight-rank{font-size:16px;color:#dbc096;white-space:nowrap;font-variant-numeric:tabular-nums}.talents-ui .tui-insight-columns{gap:24px}.talents-ui .tui-insight p,.talents-ui .tui-gates li{font-size:12px;line-height:1.7;color:#cbbdd3}.talents-ui .tui-insight-actions{gap:9px;margin-bottom:18px}.talents-ui .tui-insight-actions button{min-height:44px;padding:10px 16px;background:#594067;border-color:#b091c3;color:#f2e5fb;font-size:12px}.talents-ui .tui-insight-actions button+button{background:#302932;border-color:#7b6655;color:#dfcaac}.talents-ui .tui-insight-actions button:not(:disabled):hover{background:#6c4a7e;border-color:#d0acdF}.talents-ui .tui-insight-actions button+button:not(:disabled):hover{background:#443631;border-color:#b99a72}
.talents-ui .tui-gates{border-left-color:#6c5544;padding-left:20px}.talents-ui .tui-gates li{gap:8px;margin:12px 0;flex-wrap:wrap}.talents-ui .tui-gates li>b{font-variant-numeric:tabular-nums;line-height:1.6}.talents-ui .tui-gates li>span img{width:18px;height:18px;max-width:18px;max-height:18px;object-fit:contain}.talents-ui .tui-gates .unmet>b{color:#e0bb85}.talents-ui .tui-gates .met>b{color:#b3d0b4}.talents-ui .tui-all-ranks{border-color:#55445f;background:#1a1722}.talents-ui .tui-all-ranks>summary{min-height:40px;padding:10px 12px;color:#d2b8e3;line-height:1.5;cursor:pointer}.talents-ui .tui-all-ranks p{font-size:12px;line-height:1.7}.talents-ui .tui-all-ranks p b{color:#e6cbab}
.talents-ui .tui-insight-empty{border-style:dashed;border-color:#625165;background:#1c1a23}.talents-ui .tui-insight-empty>img{width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain;flex:none}.talents-ui .tui-insight-empty h3{color:#d7c4e4;font-size:15px}.talents-ui .tui-footer{gap:13px;margin-top:15px}.talents-ui .tui-footer p,.talents-ui .tui-footer a{font-size:11px;line-height:1.7;color:#b6a8bf}.talents-ui .tui-footer a{color:#d1b8e2}.talents-ui .tui-validation{padding:12px 14px;border-color:#995968;background:#34232d;color:#f0c7d0;font-size:12px;line-height:1.65}
.talents-ui :is(button,a,input,summary):focus-visible{outline:2px solid #d9b9f5;outline-offset:3px;box-shadow:none}.talents-ui button:disabled,.talents-ui .rank-controls button:disabled,.talents-ui .tui-insight-actions button:disabled{opacity:.5;cursor:not-allowed;border-style:dashed;background:#24202a;color:#b5a6bf}
@media(max-width:768px){.talents-ui .tui-toolbar{flex-wrap:wrap;gap:11px}.talents-ui .tui-toolbar>div:first-child{flex-basis:100%}.talents-ui .tui-toolbar h2{font-size:22px}.talents-ui .tui-mode{flex:1 1 170px}.talents-ui .tui-mode button{flex:1;min-height:40px}.talents-ui .tui-budget{padding:14px;gap:14px}.talents-ui .tui-budget-context{min-width:0;max-width:none;flex-basis:100%;border-left:0;border-top:1px solid #6b594c;padding:12px 0 0;display:block}.talents-ui .tui-budget-context small.tui-talented-status{margin-top:6px}.talents-ui .tui-budget label{max-width:none;flex:1 1 100%;justify-content:space-between}.talents-ui .tui-trees{grid-template-columns:minmax(0,1fr);overflow-x:visible;gap:16px;padding:3px 3px 9px}.talents-ui .tui-tree{padding:0 13px 16px}.talents-ui .tui-tree .tui-grid{grid-auto-rows:minmax(165px,auto);column-gap:9px}.talents-ui .tui-node-info>span:not(.tui-empty-icon){font-size:12px;line-height:1.5}.talents-ui .rank-controls button{min-height:44px;height:44px}.talents-ui .tui-insight-columns{grid-template-columns:1fr;gap:17px}.talents-ui .tui-gates{padding:15px 0 0;border-left:0;border-top:1px solid #6c5544}.talents-ui .tui-insight{padding:16px}.talents-ui .tui-footer{display:grid;gap:7px}.talents-ui .tui-footer a{white-space:normal}}
@media(max-width:400px){.talents-ui .tui-toolbar h2{font-size:21px}.talents-ui .tui-reset{flex:1 1 100%;white-space:normal}.talents-ui .tui-budget{padding:12px;gap:12px}.talents-ui .tui-budget>div:first-child>b{font-size:27px}.talents-ui .tui-budget-meter{flex-basis:140px;min-width:125px}.talents-ui .tui-tree{padding:0 8px 13px}.talents-ui .tui-tree .tui-grid{column-gap:5px;row-gap:13px}.talents-ui .tui-node-info>span:not(.tui-empty-icon){font-size:11px;min-height:46px}.talents-ui .tui-insight-heading{flex-wrap:wrap;gap:10px}.talents-ui .tui-insight-rank{margin-left:auto}.talents-ui .tui-insight-actions button{flex:1 1 100%}.talents-ui .tui-insight-heading h3{font-size:16px}}

/* Each rank action keeps its own 44px hit area. In narrow node columns the
   pair wraps vertically; source tree rows/columns and every control remain. */
.talents-ui .tui-mode button,.talents-ui .tui-all-ranks>summary{min-height:44px}

body[data-view=talents] .tui-node-info>span:not(.tui-empty-icon){font-size:11px;word-break:normal;overflow-wrap:normal}

.tui-tree-browser{min-width:0}
.tui-tree-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 9px}
.tui-tree-nav button{min-height:40px;padding:7px 12px;font-size:12px;background:#2b2336;border-color:#665174;color:#e0cdec}

/* Compact icon trees. Rank badges are display only; actions live on the icon. */
body[data-view=talents] .tui-toolbar{align-items:center;margin:0;gap:7px}
body[data-view=talents] .tui-toolbar>div>.tui-kicker{display:none}
body[data-view=talents] .tui-toolbar h2{font-size:21px;line-height:1.2;margin:0}
body[data-view=talents] .tui-mode{min-width:0;padding:3px}
body[data-view=talents] .tui-mode button{min-height:32px;padding:5px 11px}
body[data-view=talents] .tui-mode button[aria-selected=true]{padding:4px 10px}
body[data-view=talents] .tui-reset{min-height:36px;padding:6px 10px!important;font-size:11px!important}
body[data-view=talents] .tui-budget{min-width:0;flex-wrap:nowrap;gap:10px;padding:4px 10px;margin:0}
body[data-view=talents] .tui-budget>div:first-child{gap:7px}
body[data-view=talents] .tui-budget>div:first-child>b{font-size:25px}
body[data-view=talents] .tui-budget>div:first-child>span{font-size:9px;width:38px;line-height:1.3}
body[data-view=talents] .tui-budget-meter{min-width:90px;flex:1}
body[data-view=talents] .tui-budget-meter>div{font-size:10px;white-space:nowrap}
body[data-view=talents] .tui-budget-meter progress{height:3px;margin:5px 0 0}
body[data-view=talents] .tui-budget-context{min-width:0;max-width:none;padding-left:10px;font-size:11px;line-height:1.4;white-space:nowrap}
body[data-view=talents] .tui-budget-context small.tui-talented-status{display:flex;gap:6px;margin:0;font-size:10px}
body[data-view=talents] .tui-talented-label,body[data-view=talents] .tui-talented-bonus{font-size:10px}
body[data-view=talents] .tui-talented-icons{display:none}
body[data-view=talents] .tui-budget label{max-width:170px;gap:7px;font-size:11px;line-height:1.3}
body[data-view=talents] .tui-budget input{width:50px;min-height:30px;padding:3px;font-size:12px}
.tui-gesture-help{display:flex;justify-content:space-between;gap:10px;color:#d9c4e8;font-size:11px;line-height:1.5;margin:0}
.tui-gesture-help>span{color:#ab9bb9;white-space:nowrap}
body[data-view=talents] .tui-workbench{grid-template-columns:minmax(0,1fr) 240px;gap:10px;align-items:stretch;min-height:0}
body[data-view=talents] .tui-tree-browser{min-height:0}
body[data-view=talents] .tui-tree-nav{display:none}
body[data-view=talents] .tui-trees{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;height:100%;margin:0;padding:0;overflow:visible}
body[data-view=talents] .tui-tree{display:flex;flex-direction:column;min-height:0;padding:0 5px 5px;border-radius:8px}
body[data-view=talents] .tui-tree>header{flex:none;align-items:center;padding:7px 5px;margin:0;gap:4px}
body[data-view=talents] .tui-tree h3{font-size:12px;line-height:1.3}
body[data-view=talents] .tui-tree>header>span{font-size:10px}
body[data-view=talents] .tui-tree .tui-grid{position:relative;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(var(--tui-rows,7),minmax(0,1fr));grid-auto-rows:initial;gap:0;flex:1;min-height:0;align-items:center;padding:5px 0;margin:0}
body[data-view=talents] .tui-node{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-width:0;height:100%;padding:0}
body[data-view=talents] .tui-grid{container-type:size}
/* Keep breathing room in each row and column, then grow with the tree viewport.
   Class and Legacy share the same scale even when Legacy has fewer tiers. */
body[data-view=talents] .tui-node-info{--tui-icon-size:min(64px,calc(25cqw - 20px),calc(100cqh / max(7,var(--tui-rows,7)) - 10px));position:relative;display:block;flex:none;width:var(--tui-icon-size);height:var(--tui-icon-size);min-width:var(--tui-icon-size);min-height:var(--tui-icon-size);padding:0;gap:0;border:0;border-radius:4px;background:#16151d;cursor:pointer;user-select:none;touch-action:manipulation}
body[data-view=talents] .tui-node-info>img{display:block;width:var(--tui-icon-size);height:var(--tui-icon-size);max-width:var(--tui-icon-size);max-height:var(--tui-icon-size);border:1px solid #7a687e;border-radius:4px;box-shadow:0 0 0 2px #17151e}
body[data-view=talents] .tui-node-info>.tui-node-name{position:absolute;width:1px;height:1px;min-height:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-view=talents] .tui-rank{position:absolute;right:-4px;bottom:-1px;min-width:28px;padding:0 3px;border:1px solid #7b6989;border-radius:3px;background:#18151f;font-size:11px;line-height:14px;font-variant-numeric:tabular-nums;color:#cabbd1;pointer-events:none}
body[data-view=talents] .available .tui-node-info>img{border-color:#9fa48a}
body[data-view=talents] .allocated .tui-node-info>img{border:2px solid #d9b678}
body[data-view=talents] .allocated .tui-rank{color:#efd39c;border-color:#ad8c50}
body[data-view=talents] .maxed .tui-rank{color:#c7e5b0;border-color:#89a566}
body[data-view=talents] .locked .tui-node-info>img{opacity:.38;filter:grayscale(1);border-style:dashed}
body[data-view=talents] .tui-node.selected .tui-node-info>img{outline:2px solid #edcd94;outline-offset:2px}
body[data-view=talents] .tui-node-info:hover>img{outline:2px solid #bda1d0;outline-offset:2px}
.tui-links{position:absolute;inset:0;z-index:0;width:100%;height:100%;overflow:visible;pointer-events:none;color:#9b859f}
.tui-link{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.tui-link.met{color:#bca266}.tui-link.locked{stroke-dasharray:3 3;opacity:.5}
body[data-view=talents] .tui-workbench .tui-insight{position:static;min-height:0;max-height:none;padding:12px;overflow:auto;scrollbar-width:thin;scrollbar-gutter:auto}
body[data-view=talents] .tui-insight-heading{gap:8px;margin-bottom:10px}
body[data-view=talents] .tui-insight-heading>img{width:32px;height:32px;max-width:32px;max-height:32px}
body[data-view=talents] .tui-insight-heading h3{font-size:16px;line-height:1.25;margin-top:3px}
body[data-view=talents] .tui-insight-rank{font-size:13px}
body[data-view=talents] .tui-insight-columns{gap:12px}
body[data-view=talents] .tui-insight p,body[data-view=talents] .tui-gates li{font-size:11px;line-height:1.55;margin:6px 0}
body[data-view=talents] .tui-gates{padding:10px 0 0}
body[data-view=talents] .tui-gates li{gap:7px;margin:8px 0;flex-wrap:nowrap}
body[data-view=talents] .tui-gates li>span img{width:16px;height:16px}
body[data-view=talents] .tui-all-ranks{margin-top:10px}
body[data-view=talents] .tui-all-ranks>summary{min-height:30px;padding:6px 8px;font-size:11px}
body[data-view=talents] .tui-insight-empty>img{width:30px;height:30px;max-width:30px;max-height:30px}
body[data-view=talents] .tui-insight-empty h3{font-size:14px}
body[data-view=talents] .tui-footer{align-items:center;gap:8px;margin:0;min-width:0}
body[data-view=talents] .tui-footer p,body[data-view=talents] .tui-footer a{font-size:10px;line-height:1.4;margin:0}
body[data-view=talents] .tui-provenance{position:relative;margin:0;font-size:10px;background:#211d29}
body[data-view=talents] .tui-provenance>summary{min-height:24px;padding:3px 8px;white-space:nowrap}
body[data-view=talents] .tui-provenance p{font-size:11px;line-height:1.5}
body[data-view=talents] .tui-validation{padding:7px 10px;margin:0;font-size:11px;line-height:1.4;max-height:70px;overflow:auto}
@media(max-width:1099px){
 body[data-view=talents] .tui-toolbar,body[data-view=talents] .tui-budget{margin-bottom:8px}
 body[data-view=talents] .tui-budget{flex-wrap:wrap}
 .tui-gesture-help{margin:8px 0}
 body[data-view=talents] .tui-workbench{grid-template-columns:minmax(0,1fr)}
 body[data-view=talents] .tui-trees{grid-template-columns:repeat(3,minmax(180px,1fr));overflow-x:auto;min-height:350px}
 body[data-view=talents] .tui-tree .tui-grid{min-height:310px;grid-template-rows:repeat(var(--tui-rows,7),minmax(44px,1fr))}
 body[data-view=talents] .tui-tree-nav{display:flex;gap:5px;margin-bottom:6px}
 body[data-view=talents] .tui-tree-nav button{min-height:30px;padding:4px 8px;font-size:11px}
 body[data-view=talents] .tui-workbench .tui-insight{max-height:230px;grid-row:auto}
 body[data-view=talents] .tui-insight-columns{grid-template-columns:1fr 1fr}
 body[data-view=talents] .tui-footer,body[data-view=talents] .tui-provenance{margin-top:8px}
}

/* Details follow the inspected icon; all three trees share the full workspace. */
body[data-view=talents] .tui-workbench{grid-template-columns:minmax(0,1fr)}
.tui-tooltip[hidden]{display:none!important}
.tui-tooltip{position:fixed;z-index:1200;left:12px;top:12px;width:min(350px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:14px;border:1px solid #b99c69;border-radius:8px;background:linear-gradient(135deg,#292132,#171b26);color:#e9dff0;box-shadow:0 8px 30px #000a;font-size:12px;line-height:1.5}
.tui-tooltip .tui-insight-heading{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
.tui-tooltip .tui-insight-heading>img{width:34px;height:34px;max-width:34px;max-height:34px;object-fit:contain;border:1px solid #b19670;border-radius:3px}
.tui-tooltip .tui-insight-heading h3{font-size:17px;line-height:1.25;color:#ead3af;margin:3px 0 0}
.tui-tooltip .tui-insight-columns{grid-template-columns:1fr;gap:12px}
.tui-tooltip p,.tui-tooltip .tui-gates li{font-size:12px;line-height:1.55;color:#cbbdd3;margin:7px 0}
.tui-tooltip .tui-gates{padding:10px 0 0;border-left:0;border-top:1px solid #6c5544}
.tui-tooltip .tui-next-rank{padding-top:8px;margin-top:9px}
.tui-tooltip .tui-unlock-reason{padding:7px;border-left:2px solid #d1b58d;background:#302630}
.tui-tooltip .tui-all-ranks{margin-top:10px}
.tui-tooltip .tui-all-ranks>summary{min-height:30px;padding:6px 8px;font-size:12px;cursor:pointer}
.tui-tooltip .tui-gates li>b{margin-left:auto}
.tui-tooltip .tui-kicker{font-size:10px}

/* The trees lead; planning controls share a compact bottom dock. */
.tui-dock{position:relative;min-width:0;padding:8px 10px;border:1px solid #6b584b;border-radius:9px 9px 0 0;background:linear-gradient(110deg,#272331,#171e29);box-shadow:0 -5px 20px #0003;display:grid;gap:6px}
.tui-dock-main{display:grid;grid-template-columns:minmax(370px,.95fr) minmax(340px,1.05fr);align-items:center;gap:12px;min-width:0}
.tui-dock-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0}
.tui-dock-references{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
body[data-view=talents] .tui-dock .tui-toolbar,body[data-view=talents] .tui-dock .tui-budget{margin:0}
body[data-view=talents] .tui-dock .tui-budget{background:#151922;border:1px solid #514657;border-radius:6px;position:relative}
body[data-view=talents] .tui-dock .tui-toolbar h2{font-size:19px}
body[data-view=talents] .tui-dock .tb-panel{position:relative;margin:0;gap:8px;z-index:15;flex-wrap:nowrap;min-width:0}
body[data-view=talents] .tui-dock .tb-heading{margin:0;gap:0;white-space:nowrap}
body[data-view=talents] .tui-dock .tb-heading>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-view=talents] .tui-dock .tb-panel>details{min-width:0}
body[data-view=talents] .tui-dock .tb-panel :is(button,input,select){min-height:32px;padding:4px 9px}
body[data-view=talents] .tui-dock .tb-panel>details>summary{min-height:32px;padding:5px 10px;font-size:11px;white-space:nowrap}
body[data-view=talents] .tui-dock .tb-panel>details[open]{position:absolute;top:auto;bottom:0;left:0;width:min(650px,calc(100vw - 260px));max-height:calc(100dvh - 230px);overflow:auto;box-shadow:0 -12px 35px #0009;flex-basis:auto;order:initial}
body[data-view=talents] .tui-dock .tb-status{position:absolute;top:auto;bottom:calc(100% + 6px);left:0;max-width:100%;padding:5px 9px;background:#211d29;border:1px solid #79634d;border-radius:4px;font-size:11px;z-index:16}
body[data-view=talents] .tui-dock .tui-field-error:not(:empty){position:absolute;top:auto;bottom:calc(100% + 6px);right:0;z-index:16;max-width:100%;padding:6px 9px;background:#34232d;border:1px solid #995968;border-radius:4px}
body[data-view=talents] .tui-dock .tui-provenance{margin:0}
body[data-view=talents] .tui-dock .tui-provenance[open]{position:absolute;right:0;bottom:28px;width:min(520px,calc(100vw - 260px));max-height:calc(100dvh - 260px);overflow:auto;z-index:16;box-shadow:0 -12px 35px #0009}
body[data-view=talents] .tui-dock .tui-gesture-help{margin:0;font-size:10px;color:#b5a7c1}
body[data-view=talents] .tui-dock .tui-validation{max-height:70px;margin:0}
@media(min-width:1100px){
 .vr-compact body[data-view=talents] .main-pane{grid-template-rows:minmax(0,1fr) 32px;gap:0;padding-top:6px}
 .vr-compact body[data-view=talents] #vrWorkspacePanels{grid-row:1;grid-column:1}
 .vr-compact body[data-view=talents] #vrWorkspaceTools{grid-row:2;grid-column:1;gap:8px;padding:0 10px;background:#171e29;border:1px solid #6b584b;border-top:0;border-radius:0 0 8px 8px;position:relative;z-index:20}
 .vr-compact body[data-view=talents] #vrWorkspaceTools :is(.vr-observations,.vr-observations>summary){min-height:28px}
 .vr-compact body[data-view=talents] #vrWorkspaceTools .vr-observations>summary{padding:3px 6px;border:0;background:transparent;font-size:10px}
 .vr-compact body[data-view=talents] #vrWorkspaceTools #telemetryHud{top:auto;bottom:34px;max-height:min(350px,60dvh)}
 .vr-compact body[data-view=talents] #vrWorkspaceTools #focusToggle{min-height:26px;height:26px;width:32px;padding:2px}
 .vr-compact body[data-view=talents] #viewContent{height:100%;min-height:0}
 .vr-compact body[data-view=talents] #vr-task-panel{padding:0;scrollbar-gutter:auto}
 body[data-view=talents] .talents-ui{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}
 body[data-view=talents] .tui-workbench{grid-row:1;grid-column:1}
 body[data-view=talents] .tui-dock{grid-row:2;grid-column:1}
}
@media(max-width:1099px){
 .tui-dock{margin-top:10px;border-radius:8px}
 .tui-dock-main,.tui-dock-tools{grid-template-columns:minmax(0,1fr);gap:8px}
 .tui-dock-references{justify-content:space-between}
 body[data-view=talents] .tui-dock .tb-panel{flex-wrap:wrap}
 body[data-view=talents] .tui-dock .tb-panel>details[open],body[data-view=talents] .tui-dock .tui-provenance[open]{position:static;width:100%;max-height:60dvh;order:2;flex-basis:100%}
 body[data-view=talents] .tui-dock .tui-budget{flex-wrap:wrap}
}

.tui-wiki-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;border:1px solid #79648a;border-radius:7px;background:linear-gradient(180deg,#30283d,#252130);color:#ead6ab;text-decoration:none;font:600 12px/16px Segoe UI,sans-serif;white-space:nowrap}.tui-wiki-button:hover{border-color:#d4b478;background:#40324b}.tui-wiki-button:focus-visible{outline:2px solid #ffe0a0;outline-offset:3px}

/* School illustrations are decorative, transparent and fetched only when used.
   Keep their opacity below the nodes, ranks and prerequisite paths. */
body[data-view=talents] .tui-tree{position:relative;isolation:isolate;background:linear-gradient(155deg,#222632,#141c27 80%);border-color:#596071;overflow:hidden}
body[data-view=talents] .tui-tree[data-talent-art]:before{content:"";position:absolute;inset:22px -8px -10px;z-index:-1;pointer-events:none;background:var(--tui-art) center bottom/100% 100% no-repeat;opacity:.48;mask-image:linear-gradient(180deg,transparent 0%,#0003 22%,#000a 56%,#000 100%)}
body[data-view=talents] .tui-tree>header{padding:10px 9px;border-bottom:1px solid #ffffff16;min-height:40px;box-sizing:border-box}
body[data-view=talents] .tui-tree h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(14px,1.1vw,18px);font-weight:500;color:var(--tui-school,#ead6b2);letter-spacing:.01em}
body[data-view=talents] .tui-tree>header>span{font-size:11px;color:#c2c5d0;font-variant-numeric:tabular-nums}
body[data-view=talents] .tui-tree .tui-grid{z-index:1;padding:9px 2px}
body[data-view=talents] .planner-spec-tree{border-color:#c4a66e;box-shadow:inset 0 2px #c4a66e55}
body[data-view=talents] .tui-links{color:#ada9b8;opacity:.8}
body[data-view=talents] .tui-link.met{color:#e0bf78;opacity:1}
body[data-view=talents] .tui-node-info{--tui-icon-size:min(64px,calc(25cqw - 22px),calc(100cqh / max(7,var(--tui-rows,7)) - 14px));background:#0d1420;border-radius:5px}
body[data-view=talents] .tui-node-info>img{border-radius:5px;box-shadow:0 0 0 2px #121924,0 2px 6px #0008}
body[data-view=talents] .tui-rank{min-width:25px;bottom:-3px;background:#10151ff2;border-color:#6d7180;color:#e3deec;line-height:15px;font-size:11px}
body[data-view=talents] .tui-node-info:focus-visible{outline:2px solid #f2d89e;outline-offset:5px}
body[data-view=talents] .tui-dock{background:#19212c;border-color:#555568;box-shadow:none;padding:9px 11px;gap:7px;border-radius:8px}
body[data-view=talents] .tui-budget{background:#111924;border-color:#424957;border-radius:6px;padding:6px 10px}
body[data-view=talents] .tui-budget-meter>div{font-size:11px;color:#c8c9d0}
body[data-view=talents] .tui-budget-context{font-size:12px;min-width:135px;max-width:185px}
body[data-view=talents] .tui-gesture-help{font-size:11px;color:#afb9c9}
body[data-view=talents] .tui-toolbar h2{font-size:19px}
body[data-view=talents] .tui-wiki-button{min-height:30px;font-size:11px;background:#232b38;border-color:#626073}
[data-talent-art=arcane]{--tui-art:url('/assets/talents/arcane.svg')}
[data-talent-art=fire]{--tui-art:url('/assets/talents/fire.svg')}
[data-talent-art=frost]{--tui-art:url('/assets/talents/frost.svg')}
[data-talent-art=blade]{--tui-art:url('/assets/talents/blade.svg')}
[data-talent-art=claws]{--tui-art:url('/assets/talents/claws.svg')}
[data-talent-art=shield]{--tui-art:url('/assets/talents/shield.svg')}
[data-talent-art=holy]{--tui-art:url('/assets/talents/holy.svg')}
[data-talent-art=hammer]{--tui-art:url('/assets/talents/hammer.svg')}
[data-talent-art=beast]{--tui-art:url('/assets/talents/beast.svg')}
[data-talent-art=arrow]{--tui-art:url('/assets/talents/arrow.svg')}
[data-talent-art=trap]{--tui-art:url('/assets/talents/trap.svg')}
[data-talent-art=dagger]{--tui-art:url('/assets/talents/dagger.svg')}
[data-talent-art=shadow]{--tui-art:url('/assets/talents/shadow.svg')}
[data-talent-art=ward]{--tui-art:url('/assets/talents/ward.svg')}
[data-talent-art=lightning]{--tui-art:url('/assets/talents/lightning.svg')}
[data-talent-art=axe]{--tui-art:url('/assets/talents/axe.svg')}
[data-talent-art=water]{--tui-art:url('/assets/talents/water.svg')}
[data-talent-art=affliction]{--tui-art:url('/assets/talents/affliction.svg')}
[data-talent-art=demon]{--tui-art:url('/assets/talents/demon.svg')}
[data-talent-art=moon]{--tui-art:url('/assets/talents/moon.svg')}
[data-talent-art=leaf]{--tui-art:url('/assets/talents/leaf.svg')}
[data-talent-art=compass]{--tui-art:url('/assets/talents/compass.svg')}
@media(max-width:899px){
 body[data-view=talents] .tui-trees{grid-template-columns:repeat(3,minmax(230px,1fr));overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
 body[data-view=talents] .tui-tree{min-height:520px;scroll-snap-align:start}
 body[data-view=talents] .tui-tree-nav{display:flex;gap:6px;margin-bottom:8px}
 body[data-view=talents] .tui-tree-nav button{flex:1;min-height:34px;font-size:11px;padding:4px}
 body[data-view=talents] .tui-dock-main{grid-template-columns:minmax(0,1fr);gap:8px}
 body[data-view=talents] .tui-budget{flex-wrap:wrap}
}

body[data-view=talents] .tui-tree[data-talent-scene]:before{inset:22px 0 0;background-image:var(--tui-scene);background-size:300% 300%;background-position:var(--tui-scene-x) var(--tui-scene-y);opacity:.38;mask-image:linear-gradient(180deg,transparent 0%,#0008 30%,#000 100%)}
[data-talent-scene=martial]{--tui-scene:url('/assets/talents/scene-martial.jpg')}
[data-talent-scene=spirit]{--tui-scene:url('/assets/talents/scene-spirit.jpg')}
[data-talent-scene=magic]{--tui-scene:url('/assets/talents/scene-magic.jpg')}
[data-talent-scene=legacy]{--tui-scene:url('/assets/talents/scene-legacy.jpg')}
body[data-view=talents] .tui-tree[data-talent-scene=legacy]:before{background-size:300% 100%;background-position:var(--tui-scene-x) center}
@media (forced-colors:active){body[data-view=talents] .tui-tree[data-talent-scene]:before{display:none}}

/* Saved paired ranks share the planner's trees, with no rank-editing actions. */
.paired-empty{min-width:0;min-height:0;display:grid;place-items:center;padding:24px;border:1px solid #44364f;border-radius:8px;background:linear-gradient(145deg,#252130,#181d27);text-align:center}
.paired-empty>div{max-width:520px}.paired-empty h3{color:#e3cda9;font-size:21px;margin:8px 0 12px}.paired-empty p{color:#bfb1ce;font-size:13px;line-height:1.7;margin:12px 0}.paired-empty button{min-height:36px;padding:7px 14px}.paired-downloads a{color:#d8bcea;font-size:12px}
.paired-source{min-width:0;display:grid;gap:2px;color:#b9acc9;font-size:10px;line-height:1.4;padding:6px 10px;border:1px solid #514657;border-radius:6px;background:#151922}.paired-source>b{font-size:12px;color:#e0ccef;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paired-source time{font-size:10px}
.paired-dock-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.paired-dock-actions>p{font-size:10px;line-height:1.5;color:#b5a7c1;margin:0}.paired-dock-actions>div{display:flex;gap:6px;flex-shrink:0}.paired-dock-actions button{min-height:30px;padding:4px 9px;font-size:11px}.paired-notice{font-size:10px;line-height:1.4;color:#dfc28d;margin:0}.paired-tree-note{font-size:12px;line-height:1.6;color:#ab9bb9;align-self:center;justify-self:center;padding:18px;text-align:center;grid-column:1/-1;grid-row:1/-1}.paired-tree-unknown .paired-tree-note{margin:auto}.paired-talent-tooltip .paired-tooltip-time{color:#ad9bbb;font-size:11px}
body[data-view=talents] .paired-talent-icon{cursor:help}body[data-view=talents] .tui-paired .tui-dock-main{grid-template-columns:minmax(360px,.95fr) minmax(240px,1.05fr)}
@media(max-width:1099px){body[data-view=talents] .tui-paired .tui-dock-main{grid-template-columns:minmax(0,1fr)}.paired-empty{min-height:300px}.paired-dock-actions{flex-wrap:wrap}.paired-source{font-size:11px}}
body[data-view=talents] .paired-source{background:transparent;border:0;padding:0 2px;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px}
body[data-view=talents] .paired-source>b{font-size:13px;color:#ded6c8}.paired-source time{grid-column:1/-1;color:#b5bfce}
body[data-view=talents] .paired-notice{font-size:11px;line-height:1.5;color:#c7b689}
body[data-view=talents] .paired-dock-actions>p{font-size:11px;color:#b5bfce}

.tb-panel{margin:12px 0;color:#d9cddd;font-size:12px;line-height:1.6}
.tb-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:8px}
.tb-heading>span,.tb-help{color:#bfb0c8}
.tb-panel button,.tb-panel input,.tb-panel select{min-height:40px;font-size:12px}
.tb-panel button{padding:8px 12px;white-space:normal}
.tb-panel>details{border:1px solid #665046;border-radius:8px;background:#211d29}
.tb-panel>details>summary{padding:9px 13px;min-height:40px;cursor:pointer;color:#dfc7a5}
.tb-body{padding:0 13px 12px}
.tb-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:10px 0}
.tb-controls label{display:grid;gap:5px;flex:1 1 170px;min-width:0}
.tb-controls input,.tb-controls select{width:100%;min-width:0}
.tb-controls button{flex:0 1 auto}
.tb-files{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 6px}
.tb-file-label{display:grid;gap:5px;min-width:0;flex:1 1 230px}
.tb-file-label input{padding:7px;max-width:100%;width:100%}
.tb-comparison{border-top:1px solid #55415f;margin-top:12px;padding-top:10px}
.tb-comparison p{margin:0 0 7px}
.tb-comparison ul{list-style:none;padding:0;margin:0;max-height:200px;overflow-y:auto}
.tb-comparison li{display:flex;justify-content:space-between;gap:15px;padding:4px 0;border-bottom:1px solid #352b40}
.tb-comparison li>b{white-space:nowrap;color:#dbc398;font-variant-numeric:tabular-nums}
.tb-status:empty{display:none}
.tb-status{margin-top:7px;color:#dbbf8f}
.tb-panel :is(button,input,select,summary):focus-visible{outline:2px solid #d9b9f5;outline-offset:3px}
@media(max-width:550px){.tb-controls button{flex:1 1 130px}.tb-controls label{flex-basis:100%}.tb-heading button{flex:1 1 auto}.tb-comparison li{align-items:start}.tb-files>button{width:100%}}
body[data-view=talents] .tb-panel{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px}
body[data-view=talents] .tb-heading{margin:0;gap:10px}
body[data-view=talents] .tb-panel>details{flex:1;min-width:220px;margin:0}
body[data-view=talents] .tb-panel>details[open]{flex-basis:100%;order:2}
body[data-view=talents] .tb-status{flex-basis:100%;margin:0}

/* Original equipment form, refined within the available workbench width. */
#viewContent:has(> .eq-workspace){container:equipment / inline-size}
body[data-view=gear] #vrWorkspaceTools>.command-bar{justify-self:end}
.eq-workspace{--eq-surface:#1b212a;--eq-raised:#202630;--eq-line:#363b45;--eq-muted:#b1a9bd;--eq-gold:#dfc596;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:stretch;width:100%;margin-inline:auto;color:var(--text,#eee7dd);font-size:13px;min-width:0}
.eq-workspace .eq-character,.eq-workspace .eq-browser{min-width:0;border:1px solid var(--eq-line);border-radius:10px;background:var(--eq-surface);box-shadow:none;overflow:visible}
.eq-workspace .eq-character-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid var(--eq-line);border-radius:10px 10px 0 0;background:linear-gradient(110deg,#222831,#20242e)}
.eq-workspace .eq-character-heading>div{min-width:0}
.eq-workspace .eq-kicker{display:block;font-size:10px;font-weight:650;letter-spacing:.1em;line-height:1.5;color:#c4ae86}
.eq-workspace .eq-character-heading h3,.eq-workspace .eq-browser h3{font:500 22px/1.3 Georgia,"Times New Roman",serif;margin:5px 0;color:var(--eq-gold);overflow-wrap:anywhere}
.eq-workspace .eq-character-heading p,.eq-workspace .eq-browser header p{font-size:12px;line-height:1.55;color:var(--eq-muted);margin:5px 0 0}
.eq-workspace .eq-count{flex:none;white-space:nowrap;padding-top:4px;font-size:15px;line-height:1.35;text-align:right;font-variant-numeric:tabular-nums;color:var(--eq-gold)}
.eq-workspace .eq-count>span{display:block;margin-top:4px;font-size:10px;color:var(--eq-muted)}

/* Eight rows either side of the existing small class emblem; weapons below. */
.eq-workspace .eq-paperdoll{display:grid;grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);gap:8px;padding:14px;background:linear-gradient(125deg,#1c222a,#19202a);max-width:820px;margin-inline:auto}
.eq-workspace .eq-slot-column{display:grid;gap:5px;align-content:start;min-width:0}
.eq-workspace .eq-slot-row{display:flex;min-width:0;min-height:52px;border:1px solid #303640;border-radius:5px;background:#1a2029;transition:border-color .12s,background-color .12s}
.eq-workspace .eq-slot-row.is-selected{border-color:#c3a16b;background:#2d2a31;box-shadow:inset 3px 0 #d6b577}
.eq-workspace .eq-slot-button{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:50px;padding:5px 7px;border:0;border-radius:4px;background:transparent;text-align:left;color:inherit}
.eq-workspace .eq-slot-button:hover{background:#2a2934}
.eq-workspace .eq-slot-button>span:not(.eq-empty-icon){display:block;min-width:0}
.eq-workspace .eq-slot-name{display:block;font-size:10px;line-height:1.35;color:#b5acbf}
.eq-workspace .eq-slot-button strong{display:block;margin-top:2px;font-size:12px;font-weight:550;line-height:1.4;color:var(--item-quality,#c9c5d6);overflow-wrap:anywhere}
.eq-workspace .eq-slot-button>img,.eq-workspace .eq-item-card>img,.eq-workspace .eq-suggestion-top img{width:40px;height:40px;min-width:40px;max-width:40px;max-height:40px;flex:none;object-fit:contain;border:1px solid var(--item-quality,#655b6b);border-radius:4px;box-shadow:none}
.eq-workspace .eq-placeholder-icon{opacity:.72}
.eq-workspace .eq-empty-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border:1px solid #584d62;border-radius:4px;background:#22202b;color:#b29ac5;font-size:24px}
.eq-workspace .eq-clear-button{width:44px;min-width:44px;min-height:44px;padding:0;border:0;border-left:1px solid #303640;border-radius:0 4px 4px 0;background:transparent;color:#b3a8bb;font-size:19px;line-height:1}
.eq-workspace .eq-clear-button:hover{background:#432a35;color:#ffd1dc}
.eq-workspace .eq-paperdoll>.eq-slot-column:nth-child(3) .eq-slot-row{flex-direction:row-reverse}
.eq-workspace .eq-paperdoll>.eq-slot-column:nth-child(3) .eq-slot-button{flex-direction:row-reverse;text-align:right}
.eq-workspace .eq-paperdoll>.eq-slot-column:nth-child(3) .eq-clear-button{border-left:0;border-right:1px solid #303640;border-radius:4px 0 0 4px}
.eq-workspace .eq-paperdoll>.eq-slot-column:nth-child(3) .eq-slot-row.is-selected{box-shadow:inset -3px 0 #d6b577}
.eq-workspace .eq-crest{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;text-align:center}
.eq-workspace .eq-crest-halo{padding:6px;margin-bottom:2px;border:1px solid #79664a;border-radius:7px;background:#26232c;box-shadow:none}
.eq-workspace .eq-crest-halo img{display:block;width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain;border:1px solid #aa8c60;border-radius:4px;box-shadow:none}
.eq-workspace .eq-crest>strong{font-size:12px;line-height:1.4;color:var(--eq-gold);overflow-wrap:anywhere}
.eq-workspace .eq-crest>span,.eq-workspace .eq-crest>p{font-size:10px;line-height:1.6;color:var(--eq-muted);overflow-wrap:anywhere}
.eq-workspace .eq-crest>p{margin:4px 0 0}
.eq-workspace .eq-weapons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;grid-column:1/-1;margin-top:2px;min-width:0}
.eq-workspace .eq-weapons .eq-slot-button{gap:6px;padding-inline:5px}

/* Permanent equipment totals: six attributes, with quieter secondary records. */
.eq-workspace .eq-stat-panel{position:relative;display:flex;flex-direction:column;padding:12px 14px;border-top:1px solid #6f5c43;min-width:0;background:radial-gradient(ellipse at 50% 0,#40334555,transparent 66%),linear-gradient(135deg,#20262e,#1a2029)}
.eq-workspace .eq-stat-panel::before{content:"";position:absolute;inset:0 18% auto;height:1px;background:linear-gradient(90deg,transparent,#d9b97e88,transparent);pointer-events:none}
.eq-workspace .eq-stat-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:6px 10px;margin-bottom:8px;flex:none;min-width:0}
.eq-workspace .eq-stat-heading>div{min-width:0}
.eq-workspace .eq-stat-heading .eq-kicker{font-size:9px;line-height:1.4;letter-spacing:.12em;color:#c0a775}
.eq-workspace .eq-stat-heading h4{margin:2px 0 0;color:#ead3a8;font:500 19px/1.2 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-stat-coverage{display:block;margin-top:3px;color:#b5adbf;font-size:10px;line-height:1.5;text-align:right;font-variant-numeric:tabular-nums}
.eq-workspace .eq-stats-state{display:block;width:max-content;max-width:100%;margin:4px 0 0 auto;padding:2px 6px;border:1px solid #716047;border-radius:4px;background:#3b3024;color:#dec49a;font-size:9px;line-height:1.4}
.eq-workspace .eq-stat-grid{display:grid;flex:1 0 auto;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(54px,1fr);gap:8px;min-height:116px}
.eq-workspace .eq-stat-card{--stat-color:#e1c38d;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 2px;align-content:center;align-items:center;gap:4px 7px;min-width:0;min-height:54px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--stat-color) 28%,#31333e);border-radius:6px;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--stat-color) 10%,transparent),transparent 75%),linear-gradient(140deg,#282936,#202631);box-shadow:inset 0 1px #ffffff05;overflow:hidden}
.eq-workspace .eq-stat-card[data-stat=str]{--stat-color:#dfa7b1}
.eq-workspace .eq-stat-card[data-stat=agi]{--stat-color:#a1d1b5}
.eq-workspace .eq-stat-card[data-stat=sta]{--stat-color:#c4abe6}
.eq-workspace .eq-stat-card[data-stat=int]{--stat-color:#aebfea}
.eq-workspace .eq-stat-card[data-stat=spi]{--stat-color:#99cdd0}
.eq-workspace .eq-stat-card::after{content:"";position:absolute;inset:5px 5px auto auto;width:4px;height:4px;border-top:1px solid var(--stat-color);border-right:1px solid var(--stat-color);opacity:.42;pointer-events:none}
.eq-workspace .eq-stat-card>.eq-stat-label{min-width:0;color:#cec4d4;font-size:clamp(10px,1dvh,12px);line-height:1.4;overflow-wrap:anywhere}
.eq-workspace .eq-stat-card>.eq-stat-value{color:var(--stat-color);font:500 clamp(26px,3dvh,40px)/1.1 Georgia,"Times New Roman",serif;font-variant-numeric:tabular-nums;letter-spacing:-.025em;white-space:nowrap}
.eq-workspace .eq-stat-card>.eq-stat-accent{display:block;grid-column:1/-1;width:28px;height:2px;background:linear-gradient(90deg,var(--stat-color),transparent);opacity:.65}
.eq-workspace .eq-secondary-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;flex:0 1 auto;min-height:0;max-height:90px;margin:8px 0 0;padding:0 4px;overflow:auto;scrollbar-width:thin;scrollbar-color:#826b90 transparent}
.eq-workspace .eq-secondary-stats>div{display:flex;align-items:baseline;justify-content:space-between;gap:9px;min-width:0;padding:4px 0;border-bottom:1px solid #ffffff08;font-size:10px;line-height:1.5}
.eq-workspace .eq-secondary-stats dt{color:#b5acbf;overflow-wrap:anywhere}
.eq-workspace .eq-secondary-stats dd{margin:0;color:#dfd3e8;font-variant-numeric:tabular-nums;white-space:nowrap}
.eq-workspace .eq-secondary-stats:focus-visible{outline:2px solid #d9b9f2;outline-offset:2px}
.eq-workspace .eq-stat-note{flex:none;margin:8px 0 0;color:#aaa2b5;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.eq-workspace #retryEquipmentRecords{flex:none;align-self:flex-start;min-height:44px;margin-top:8px;padding:7px 10px;font-size:11px}
/* The selected item stays inside the original catalogue heading. */
.eq-workspace .eq-browser header{padding:16px 16px 12px;min-width:0}
.eq-workspace .eq-current-item{display:flex;align-items:center;gap:9px;min-width:0;margin-top:10px;color:var(--item-quality,#d5cadf);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-current-item>img{width:30px;height:30px;min-width:30px;max-width:30px;max-height:30px;flex:none;object-fit:contain;border:1px solid var(--item-quality,#655b6b);border-radius:4px;box-shadow:none}
.eq-workspace .eq-current-item>span{min-width:0}
.eq-workspace .eq-current-label{display:block;color:var(--eq-muted);font-size:10px;line-height:1.4}
.eq-workspace .eq-current-item strong{font-size:12px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}

/* Compact idle suggestions; options and comparison expand after use. */
.eq-workspace .eq-suggestions{margin:0 14px 14px;padding:12px;border:1px solid #49404f;border-radius:7px;background:linear-gradient(130deg,#282530,#20232d);min-width:0}
.eq-workspace .eq-suggest-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.eq-workspace .eq-suggest-heading>div{min-width:0}
.eq-workspace .eq-suggest-heading h4{margin:3px 0;color:#e4cfad;font:500 17px/1.4 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-suggest-heading button{flex:none;min-height:44px;padding:8px 14px;border-color:#8a6e9e;background:#443150;color:#f0e4f7;font-size:12px}
.eq-workspace .eq-suggest-status,.eq-workspace .eq-suggest-note,.eq-workspace .eq-build-profile{margin:7px 0 0;color:#bcaec8;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.eq-workspace .eq-suggest-status progress{width:100%;height:4px;margin:0 0 5px}
.eq-workspace .eq-build-profile{padding:8px 9px;border-left:2px solid #b59b71;background:#24222b}
.eq-workspace .eq-build-profile b{color:#e8d0a8}
.eq-workspace .eq-suggestions-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:9px;margin-top:12px;min-width:0}
.eq-workspace .eq-suggestion-card{display:flex;flex-direction:column;min-width:0;padding:11px;border:1px solid #514452;border-radius:6px;background:#20232b}
.eq-workspace .eq-suggestion-card.is-previewing{border-color:#c2a1df;box-shadow:inset 0 0 0 1px #8f71a7;background:#292532}
.eq-workspace .eq-suggestion-top{display:flex;align-items:flex-start;gap:9px;min-width:0}
.eq-workspace .eq-suggestion-top>div{min-width:0}
.eq-workspace .eq-option-label{display:block;margin-bottom:4px;color:#b6a7c2;font-size:10px;line-height:1.5}
.eq-workspace .eq-binding{display:inline-block;padding:1px 4px;border:1px solid #5b4869;border-radius:3px;background:#38303e;color:#d7c4e8;font-size:10px;font-weight:500;line-height:1.3}
.eq-workspace .eq-item-name{color:var(--item-quality,#d8c9e4);font-size:13px;line-height:1.5;font-weight:550;text-decoration:none;overflow-wrap:anywhere}
.eq-workspace .eq-item-name:hover{text-decoration:underline}
.eq-workspace .eq-item-meta,.eq-workspace .eq-item-stats,.eq-workspace .eq-item-delta{margin:5px 0 0;color:#b8adbf;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.eq-workspace .eq-item-stats{color:#cfc1d8}
.eq-workspace .eq-item-delta{color:#d1bbdf;font-variant-numeric:tabular-nums}
.eq-workspace .eq-suggestion-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:12px}
.eq-workspace .eq-suggestion-actions button{flex:1 1 74px;min-width:0;min-height:44px;padding:8px;font-size:12px}
.eq-workspace .eq-suggestion-actions [aria-pressed=true]{border-color:#c8a9e0;background:#4c355e;color:#f0e4f8}
.eq-workspace .eq-equip-button{flex:none;min-height:44px;padding:8px 11px;border-color:#897047;background:#423626;color:#eddbbb;font-size:12px;font-weight:550}
.eq-workspace .eq-equip-button:hover:not(:disabled){border-color:#cfb37e;background:#52422e}
.eq-workspace .eq-preview{margin-top:14px;padding-top:13px;border-top:1px solid #514452;min-width:0}
.eq-workspace .eq-comparison-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin}
.eq-workspace .eq-preview table{width:100%;min-width:420px;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
.eq-workspace .eq-preview th{color:#dfcba6;background:#25232a;line-height:1.5}
.eq-workspace .eq-preview td,.eq-workspace .eq-preview th{text-align:right;padding:8px;border-bottom:1px solid #45404b}
.eq-workspace .eq-preview td:first-child,.eq-workspace .eq-preview th:first-child{text-align:left}
.eq-workspace .eq-positive{color:#a5d1b3}
.eq-workspace .eq-negative{color:#eab0b4}
.eq-workspace .eq-suggest-coverage{margin:4px 0 0;border:0;border-radius:0;background:transparent;color:#b8a8c7;font-size:11px;line-height:1.6;overflow:visible}
.eq-workspace .eq-suggest-coverage summary{min-height:44px;padding:12px 0 6px;margin:0;border:0;cursor:pointer;color:#cdb6de;font-size:11px;line-height:1.5}
.eq-workspace .eq-suggest-coverage p{margin:7px 0 0;padding:0;line-height:1.6}

/* Four-item pages stay in the catalogue panel's single content flow. */
.eq-workspace .eq-search{padding:0 16px;min-width:0}
.eq-workspace .eq-search>label{display:block;margin-bottom:6px;color:#c0b4ca;font-size:11px;line-height:1.5}
.eq-workspace .eq-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
.eq-workspace .eq-search input{width:100%;min-width:0;min-height:44px;background:#171c24;border-color:#57505e;font-size:12px}
.eq-workspace .eq-search button{min-height:44px;padding:8px 9px;font-size:11px;white-space:nowrap}
.eq-workspace .eq-filter{display:flex;align-items:center;gap:9px;min-height:44px;padding:11px 16px;color:var(--eq-muted);font-size:11px;line-height:1.5;cursor:pointer}
.eq-workspace .eq-filter input{width:17px;height:17px;flex:none;margin:0;accent-color:#bca1df}
.eq-workspace .eq-results-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;padding:12px 16px 6px;border-top:1px solid var(--eq-line);font-size:12px;line-height:1.5}
.eq-workspace .eq-results-heading strong{font-size:12px;font-weight:550}
.eq-workspace .eq-results-heading span{color:#bba5d4;font-size:11px}
.eq-workspace .eq-status{margin:0;padding:0 16px;color:var(--eq-muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.eq-workspace .eq-results{display:grid;gap:8px;height:auto;min-height:0;max-height:none;padding:12px;overflow:visible}
.eq-workspace .eq-item-card{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--eq-line);border-radius:6px;background:#202630;content-visibility:visible;contain-intrinsic-size:none}
.eq-workspace .eq-item-card>div{flex:1;min-width:0}
.eq-workspace .eq-no-results{padding:25px 16px;border:1px dashed #4c4354;border-radius:6px;background:#1a2029;text-align:center;min-width:0}
.eq-workspace .eq-no-results>img{width:36px;height:36px;max-width:36px;max-height:36px;object-fit:contain;opacity:.7}
.eq-workspace .eq-no-results h4{margin:9px 0;color:#ddcba8;font-size:14px;font-weight:550}
.eq-workspace .eq-no-results p{max-width:300px;margin:auto;color:var(--eq-muted);font-size:12px;line-height:1.6}
.eq-workspace .eq-browser-note{padding:12px 16px;border-top:1px solid var(--eq-line);color:var(--eq-muted);font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.eq-workspace .eq-browser>.vr-reference-controls,.eq-workspace .eq-browser>.vr-reference-limit{margin-inline:14px}
.eq-workspace .eq-browser>.vr-reference-limit{font-size:11px;line-height:1.6;color:var(--eq-muted)}
.eq-workspace :is(button,a,input,summary):focus-visible{outline:2px solid #d9b9f2;outline-offset:2px;box-shadow:none}
.eq-workspace button:disabled{opacity:.55;cursor:not-allowed;border-style:dashed}
.eq-workspace #suggestItems:disabled{cursor:progress}

/* Equipment keeps its controls, with session observations outside this screen. */
body[data-view=gear] .vr-observations,body[data-view=gear] #telemetryHud{display:none!important}
.vr-compact body[data-view=gear] .vr-workspace-tools{grid-template-columns:minmax(0,1fr)}
.vr-compact body[data-view=gear] .vr-workspace-controls{justify-content:flex-end}

/* Small screens keep one workbench scroll. Wide workbenches fit two panels. */
.vr-compact body[data-view=gear] #vr-task-panel{container:equipment-workbench / inline-size;overflow:hidden;padding-right:0;padding-bottom:0}
.vr-compact body[data-view=gear] #viewContent{height:100%;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#826b90 transparent}
@container equipment-workbench (min-width:1000px){
 .vr-compact body[data-view=gear] #viewContent{overflow:hidden}
 .eq-workspace{height:100%;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);overflow:hidden}
 .eq-workspace>.eq-character,.eq-workspace>.eq-browser{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#826b90 transparent}
 .eq-workspace>.eq-character{display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto}
 .eq-workspace .eq-character-heading{flex:none}
 .eq-workspace .eq-paperdoll{flex:1 1 auto;align-content:start;min-height:0;width:100%;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#826b90 transparent;scrollbar-gutter:stable}
 .eq-workspace .eq-slot-column{gap:6px}
 .eq-workspace .eq-slot-row{min-height:60px}
 .eq-workspace .eq-slot-button{min-height:58px;gap:9px;padding:6px 7px}
 .eq-workspace .eq-slot-button>img,.eq-workspace .eq-slot-button>.eq-empty-icon{width:44px;height:44px;min-width:44px;max-width:44px;max-height:44px}
 .eq-workspace .eq-slot-name{font-size:11px}
 .eq-workspace .eq-slot-button strong{font-size:13px}
 /* Give the paperdoll the recovered height; totals keep one compact row. */
 .eq-workspace .eq-stat-panel{flex:0 0 auto;min-height:112px;box-sizing:border-box;padding:8px 12px}
 .eq-workspace .eq-stat-panel .eq-stat-heading{align-items:center;gap:6px;margin-bottom:5px}
 .eq-workspace .eq-stat-panel .eq-stat-heading .eq-kicker{display:none}
 .eq-workspace .eq-stat-panel .eq-stat-heading h4{margin:0;font-size:17px}
 .eq-workspace .eq-stat-coverage{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:3px 6px;margin:0;font-size:9px;line-height:1.3}
 .eq-workspace .eq-stats-state{margin:0;padding:1px 4px;line-height:1.3}
 .eq-workspace .eq-stat-grid{flex:0 0 auto;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:44px;gap:5px;min-height:44px}
 .eq-workspace .eq-stat-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:0;min-height:44px;padding:4px 5px;text-align:center}
 .eq-workspace .eq-stat-card>.eq-stat-label{font-size:10px;line-height:1.2}
 .eq-workspace .eq-stat-card>.eq-stat-value{font-size:20px;line-height:1.1}
 .eq-workspace .eq-stat-card>.eq-stat-accent{display:none}
 .eq-workspace .eq-secondary-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px;max-height:25px;margin:4px 0 0;padding:0 2px}
 .eq-workspace .eq-secondary-stats>div{padding:3px 0;font-size:10px;line-height:1.4}
 .eq-workspace .eq-stat-panel>.eq-stat-note{margin-top:5px;font-size:10px;line-height:1.3}
 .eq-workspace #retryEquipmentRecords{margin-top:5px}
}
@container equipment (min-width:1000px){
 .eq-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eq-workspace .eq-paperdoll{padding:12px;gap:7px;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)}
 .eq-workspace .eq-suggestions-list{grid-template-columns:1fr}
}
@container equipment (max-width:650px){
 .eq-workspace{gap:13px}
 .eq-workspace .eq-paperdoll{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:7px}
 .eq-workspace .eq-crest{grid-column:1/-1;grid-row:1;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:9px;padding:0 3px 7px}
 .eq-workspace .eq-crest-halo{margin:0;padding:4px}
 .eq-workspace .eq-crest>p{display:none}
 .eq-workspace .eq-crest>span{flex-basis:auto}
 .eq-workspace .eq-weapons{grid-template-columns:1fr}
 .eq-workspace .eq-suggestions-list{grid-template-columns:1fr}
 .eq-workspace .eq-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eq-workspace .eq-item-card{flex-wrap:wrap}
 .eq-workspace .eq-item-card>div{flex-basis:calc(100% - 50px)}
 .eq-workspace .eq-item-card .eq-equip-button{width:100%}
 .eq-workspace .eq-search>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eq-workspace .eq-search input{grid-column:1/-1}
}
@container equipment (max-width:450px){
 .eq-workspace .eq-character-heading{padding:13px;gap:10px;flex-wrap:wrap}
 .eq-workspace .eq-character-heading>div{flex:1 1 170px}
 .eq-workspace .eq-character-heading h3,.eq-workspace .eq-browser h3{font-size:21px}
 .eq-workspace .eq-count{display:flex;align-items:center;gap:8px;font-size:14px;padding-top:0}
 .eq-workspace .eq-count>span{margin:0;font-size:10px}
 .eq-workspace .eq-paperdoll{grid-template-columns:1fr;padding:11px}
 .eq-workspace .eq-slot-button strong{font-size:13px}
 .eq-workspace .eq-browser header,.eq-workspace .eq-stat-panel{padding:14px 13px}
 .eq-workspace .eq-suggestions{margin:0 12px 13px;padding:11px}
 .eq-workspace .eq-search{padding:0 13px}
 .eq-workspace .eq-filter{padding:11px 13px}
 .eq-workspace .eq-results-heading{padding-inline:13px}
 .eq-workspace .eq-status{padding-inline:13px}
 .eq-workspace .eq-suggest-heading{align-items:flex-start;gap:9px}
 .eq-workspace .eq-suggest-heading h4{font-size:16px}
 .eq-workspace .eq-suggest-heading .eq-kicker{font-size:9px;letter-spacing:.06em}
 .eq-workspace .eq-suggest-heading button{padding-inline:10px}
}
@media(prefers-reduced-motion:reduce){.eq-workspace .eq-slot-row{transition:none}}

/* A coloured cell for every normalized stat; the footer scrolls independently. */
.eq-workspace .eq-stat-panel{min-height:0;flex:none;padding:7px 10px}
.eq-workspace .eq-stat-heading{align-items:center;margin-bottom:6px}
.eq-workspace .eq-stat-grid{flex:none;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:36px;gap:4px;min-height:0;height:158px;max-height:158px;box-sizing:content-box;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#826b90 transparent;padding:1px 3px 1px 1px;scrollbar-gutter:stable}
.eq-workspace .eq-stat-grid:focus-visible{outline:2px solid #d9b9f2;outline-offset:2px;border-radius:4px}
.eq-workspace .eq-stat-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:1fr;align-items:center;gap:2px 4px;min-height:0;padding:3px 5px;text-align:left;border:1px solid color-mix(in srgb,var(--stat-color) 36%,#31333e);background:linear-gradient(145deg,color-mix(in srgb,var(--stat-color) 11%,#202631),#202631)}
.eq-workspace .eq-stat-card>.eq-stat-label{color:color-mix(in srgb,var(--stat-color) 68%,#eee8f4);font-size:9px;line-height:1.05}
.eq-workspace .eq-stat-card>.eq-stat-value{font-size:16px;line-height:1.1;text-align:right}
.eq-workspace .eq-stat-card:focus-visible{outline:2px solid var(--stat-color);outline-offset:-2px}
.eq-workspace .eq-stat-card:focus-visible::before{content:attr(aria-label);position:absolute;inset:1px;display:grid;align-content:center;padding:2px 4px;z-index:1;background:#252b35;color:var(--stat-color);font-size:9px;line-height:1.05;overflow-wrap:anywhere}
.eq-workspace .eq-stat-card>.eq-stat-accent{display:none}
.eq-workspace .eq-stat-card[data-tone=strength]{--stat-color:#ed929a}
.eq-workspace .eq-stat-card[data-tone=agility]{--stat-color:#a9da8d}
.eq-workspace .eq-stat-card[data-tone=stamina]{--stat-color:#d7a1f0}
.eq-workspace .eq-stat-card[data-tone=intellect]{--stat-color:#98bfff}
.eq-workspace .eq-stat-card[data-tone=spirit]{--stat-color:#85d9cf}
.eq-workspace .eq-stat-card[data-tone=defense]{--stat-color:#9bbbd6}
.eq-workspace .eq-stat-card[data-tone=attack]{--stat-color:#e9bb79}
.eq-workspace .eq-stat-card[data-tone=healing]{--stat-color:#8bd9b1}
.eq-workspace .eq-stat-card[data-tone=arcane]{--stat-color:#c9a0f3}
.eq-workspace .eq-stat-card[data-tone=fire]{--stat-color:#f1a17d}
.eq-workspace .eq-stat-card[data-tone=frost]{--stat-color:#8dd6f0}
.eq-workspace .eq-stat-card[data-tone=holy]{--stat-color:#efdf98}
.eq-workspace .eq-stat-card[data-tone=nature]{--stat-color:#a3d891}
.eq-workspace .eq-stat-card[data-tone=shadow]{--stat-color:#d49fdb}
.eq-workspace .eq-stat-panel>.eq-stat-note{margin-top:6px;font-size:9px;line-height:1.35}
.eq-workspace .eq-stat-heading>div:first-child{flex:1;min-width:0}
.eq-workspace .eq-stat-heading h4{font-size:16px}
.eq-workspace .eq-stat-panel .eq-stat-heading .eq-kicker{display:none}
.eq-workspace .eq-totals-info{margin:0;padding:0;flex:none;border:0;background:transparent}
.eq-workspace .eq-totals-info>summary{display:flex;align-items:center;justify-content:center;min-height:24px;width:24px;padding:0;border:1px solid #6e6176;border-radius:50%;font:14px/1 Georgia,serif;color:#cfbfd9;cursor:pointer;background:#292532;list-style:none}
.eq-workspace .eq-totals-info>summary::-webkit-details-marker{display:none}
.eq-workspace .eq-totals-info>summary:focus-visible{outline:2px solid #d9b9f2;outline-offset:2px}
.eq-workspace .eq-totals-info>p{position:absolute;right:8px;bottom:calc(100% + 5px);z-index:4;width:min(290px,calc(100% - 16px));box-sizing:border-box;margin:0;padding:10px;border:1px solid #746081;border-radius:6px;background:#292532;color:#e0d4e7;font-size:11px;line-height:1.5;box-shadow:0 5px 16px #0006}
@container equipment (max-width:650px){.eq-workspace .eq-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container equipment (max-width:450px){.eq-workspace .eq-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* Manual planning remains editable when the global header shows saved addon identity. */
.eq-workspace .eq-character-heading{flex-wrap:wrap}
.eq-workspace .eq-manual-build{flex:1 0 100%;min-width:0;margin-top:3px;font-size:11px;color:#bdb2c8}
.eq-workspace .eq-manual-build>summary{width:fit-content;min-height:28px;display:flex;align-items:center;cursor:pointer;color:#d9bb80}
.eq-workspace .eq-manual-build>summary::before{content:'▸';margin-right:7px}
.eq-workspace .eq-manual-build[open]>summary::before{content:'▾'}
.eq-workspace .eq-manual-build-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) 64px;gap:8px;margin-top:5px}
.eq-workspace .eq-manual-build-fields label{display:grid;gap:3px;min-width:0}
.eq-workspace .eq-manual-build-fields select,.eq-workspace .eq-manual-build-fields input{width:100%;min-width:0;min-height:34px;box-sizing:border-box;padding:5px;border:1px solid #62516c;border-radius:4px;background:#24202d;color:#eee3cf;font:inherit}
.eq-workspace .eq-manual-build>p{margin:6px 0 0;font-size:10px;line-height:1.4}

/* Reclaim the old crest column for equipment; identity now lives in the header. */
.eq-workspace .eq-paperdoll{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;max-width:none;width:100%;box-sizing:border-box}
.eq-workspace .eq-slot-column+ .eq-slot-column{border-left:1px solid #363b4566;padding-left:11px}
.eq-workspace .eq-browser header{padding:10px 12px}
.eq-workspace .eq-browser h3{margin:2px 0;font-size:20px}
.eq-workspace .eq-browser header .eq-slot-guidance{font-size:11px;margin:2px 0 0}
.eq-workspace .eq-current-item{margin-top:6px}
.eq-workspace .eq-suggestions{margin:0 12px 10px;padding:9px 10px}
.eq-workspace .eq-suggest-heading h4{font-size:16px}
.eq-workspace .eq-suggest-status{margin-top:4px;line-height:1.4}
.eq-workspace .eq-suggest-coverage summary{min-height:32px;padding:7px 0 3px}
.eq-workspace .eq-no-results{padding:13px 12px;text-align:left;border-style:solid}
.eq-workspace .eq-no-results>img{display:none}
.eq-workspace .eq-no-results h4{margin:0 0 5px}
.eq-workspace .eq-no-results p{max-width:none;margin:0;font-size:11px}
.eq-workspace .eq-browser-note{padding:8px 12px;font-size:10px}
@container equipment (max-width:450px){
 .eq-workspace .eq-paperdoll{grid-template-columns:1fr}
 .eq-workspace .eq-slot-column+ .eq-slot-column{border-left:0;padding-left:0}
}

/* Four complete rows grow gently with screen height; all remaining stats scroll. */
.eq-workspace .eq-stat-grid{--eq-stat-row:clamp(42px,2.7dvh,60px);grid-auto-rows:var(--eq-stat-row);gap:6px;height:calc(4 * var(--eq-stat-row) + 18px);max-height:calc(4 * var(--eq-stat-row) + 18px)}
.eq-workspace .eq-stat-card{padding:5px 7px}
.eq-workspace .eq-stat-card>.eq-stat-label{font-size:clamp(10px,.42vw,15px);line-height:1.2}
.eq-workspace .eq-stat-card>.eq-stat-value{font-size:clamp(17px,.65vw,24px)}
@container equipment-workbench (min-width:1000px){
 .eq-workspace .eq-paperdoll{align-content:stretch;grid-template-rows:minmax(522px,1fr) minmax(60px,.125fr)}
 .eq-workspace .eq-slot-column{grid-template-rows:repeat(8,minmax(60px,1fr));align-content:stretch}
 .eq-workspace .eq-slot-row{align-items:stretch}
 .eq-workspace .eq-slot-button{padding:clamp(6px,min(.45vw,.6dvh),16px);gap:clamp(9px,.55vw,20px)}
 .eq-workspace .eq-slot-button>img{width:clamp(44px,min(2.3vw,5dvh),86px);height:clamp(44px,min(2.3vw,5dvh),86px);min-width:clamp(44px,min(2.3vw,5dvh),86px);max-width:86px;max-height:86px}
 .eq-workspace .eq-slot-name{font-size:clamp(11px,.42vw,16px)}
 .eq-workspace .eq-slot-button strong{font-size:clamp(13px,.58vw,22px)}
 .eq-workspace .eq-clear-button{width:clamp(44px,1.5vw,60px);min-width:44px}
}

/* Goal tools belong to the catalogue panel; the original loadout stays intact. */
.eq-workspace .eq-browser :is(.eq-goal-about,.eq-goal-materials){margin:0 14px 12px;color:#b9aec4;font-size:11px;line-height:1.65}
.eq-workspace .eq-browser :is(.eq-goal-about,.eq-goal-materials)>summary{min-height:44px;box-sizing:border-box;padding:11px 0;color:#d9c29e;cursor:pointer}
.eq-workspace .eq-browser :is(.eq-goal-about,.eq-goal-materials) p{margin:5px 0}
:is(.eq-workspace .eq-browser,.bank-goal-summary) .eq-goal-materials table{width:100%;border-collapse:collapse;font-size:11px}
:is(.eq-workspace .eq-browser,.bank-goal-summary) .eq-goal-materials :is(th,td){padding:7px 5px;text-align:right;border-bottom:1px solid #514656}
:is(.eq-workspace .eq-browser,.bank-goal-summary) .eq-goal-materials :is(th,td):first-child{text-align:left}
:is(.eq-workspace .eq-browser,.bank-goal-summary) .eq-goal-materials a{color:#dcc290}
.bank-goal-summary{margin-top:16px;padding:18px;border:1px solid #514752;border-radius:8px;background:linear-gradient(125deg,#252732,#1d242d);color:#b9aec4;font-size:12px;line-height:1.65}
.bank-goal-summary h3{color:#e0c89f;font:500 22px Georgia,serif;margin:0 0 12px}
.bank-goal-summary :is(a,summary){color:#dcc290}
.bank-goal-summary summary{min-height:44px;padding:10px 0;box-sizing:border-box;cursor:pointer}
.bank-goal-summary .eq-goal-budget{display:grid;gap:4px;margin:12px 0}
.bank-goal-summary button{min-height:44px;padding:8px 12px;border:1px solid #665374;border-radius:5px;background:#342a40;color:#e4d2ee}
.eq-workspace .eq-browser .eq-goal-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px;margin:0 14px 14px;padding:10px;border:1px solid #514752;border-radius:7px;background:linear-gradient(120deg,#302934,#212630);box-shadow:inset 0 1px #d6b57717;min-width:0}
.eq-workspace .eq-browser .eq-goal-toolbar>button{min-width:0;min-height:44px;padding:7px 9px;border:1px solid #65516e;border-radius:5px;background:#302738;color:#cbb6d9;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;padding:3px;border:1px solid #3d3c47;border-radius:6px;background:#191e27}
.eq-workspace .eq-browser .eq-goal-tabs button{min-width:0;min-height:44px;padding:7px 8px;border:1px solid transparent;border-radius:4px;background:transparent;color:#b9adca;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-tabs button:hover:not(:disabled){background:#2b2834;color:#e9ddeb}
.eq-workspace .eq-browser .eq-goal-tabs button:is([aria-selected=true],[aria-pressed=true],.is-active){border-color:#987caa;background:linear-gradient(130deg,#49364f,#332d3e);color:#f0dfeb;box-shadow:inset 0 1px #d8b2ec20}
.eq-workspace .eq-browser .eq-goal-context{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:8px 10px;min-width:0;margin-top:9px}
.eq-workspace .eq-browser .eq-goal-context label{display:flex;flex-direction:column;flex:1 1 145px;gap:4px;min-width:0;color:#bfb1cc;font-size:10px;line-height:1.4}
.eq-workspace .eq-browser .eq-goal-context :is(select,input){width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:7px 9px;border:1px solid #5b4b68;border-radius:5px;background:#1c202a;color:#e0d5e8;font-size:12px;line-height:1.4}
.eq-workspace .eq-browser .eq-goal-context>span,.eq-workspace .eq-browser .eq-goal-context>small{max-width:100%;padding:4px 7px;border:1px solid #6a583f;border-radius:4px;background:#332c25;color:#dfc596;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-context p{flex-basis:100%;margin:0;color:var(--eq-muted,#b1a9bd);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-context>div{flex:1 1 150px;min-width:0}
.eq-workspace .eq-browser .eq-goal-context h4{margin:3px 0 5px;color:#e0c89f;font:500 19px/1.4 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goals-content>.eq-goal-context{margin:0 14px 12px}
.eq-workspace .eq-browser .eq-goals-content>.eq-goal-note{margin:0 14px 10px}
.eq-workspace .eq-browser .eq-goals-content>.eq-goal-actions{margin:0 14px 14px}
.eq-workspace .eq-browser .eq-goals-content>button,.eq-workspace .eq-browser .eq-goal-empty button{min-width:0;min-height:44px;padding:7px 10px;border:1px solid #8b724a;border-radius:5px;background:#413426;color:#e5cc9f;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goals-content>button{margin:0 14px 14px}

.eq-workspace .eq-browser .eq-goal-list{display:grid;gap:9px;min-width:0;margin:0;padding:0 14px 14px;list-style:none}
.eq-workspace .eq-browser .eq-goal-card,.eq-workspace .eq-browser .eq-loadout-card{position:relative;min-width:0;padding:12px;border:1px solid #48404f;border-radius:7px;background:linear-gradient(125deg,#252732,#1d242d);box-shadow:inset 2px 0 #a587b54d}
.eq-workspace .eq-browser .eq-goal-card.is-paused,.eq-workspace .eq-browser .eq-goal-card[data-state=paused]{border-style:dashed;box-shadow:none}
.eq-workspace .eq-browser .eq-goal-card.is-acquired,.eq-workspace .eq-browser .eq-goal-card[data-state=acquired]{border-color:#456154;box-shadow:inset 2px 0 #81ae93}
.eq-workspace .eq-browser .eq-goal-item{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 10px;min-width:0}
.eq-workspace .eq-browser .eq-goal-item>img{flex:none;width:40px;height:40px;min-width:40px;max-width:40px;max-height:40px;object-fit:contain;border:1px solid var(--item-quality,#776282);border-radius:4px;background:#151c25}
.eq-workspace .eq-browser .eq-goal-item>div{flex:1 1 130px;min-width:0}
.eq-workspace .eq-browser .eq-goal-item>.eq-goal-status{flex:0 1 auto;align-self:flex-start;margin:0 0 0 auto}
.eq-workspace .eq-browser .eq-goal-item :is(h4,h5){margin:0;color:var(--item-quality,#e6cfab);font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-item :is(h4,h5) a{color:inherit;text-decoration:none}
.eq-workspace .eq-browser .eq-goal-item :is(h4,h5) a:hover{text-decoration:underline}
.eq-workspace .eq-browser .eq-goal-item :is(p,small){display:block;margin:3px 0 0;color:#b5a8c2;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-status{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;margin:8px 0 0;color:#c6b7d2;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-status :is(span,small){display:inline-block;max-width:100%;padding:2px 6px;border:1px solid #5d4b6b;border-radius:4px;background:#342b3d;color:#d5bfdf;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-status[data-state]{display:inline-flex;max-width:100%;padding:2px 6px;border:1px solid #5d4b6b;border-radius:4px;background:#342b3d}
.eq-workspace .eq-browser .eq-goal-status:is([data-state=usable-now],[data-state=usable_now],[data-state=acquired]),.eq-workspace .eq-browser .eq-goal-status :is([data-state=usable-now],[data-state=usable_now],[data-state=acquired],.is-usable-now,.is-usable_now,.is-acquired){border-color:#4d6d5b;background:#26372e;color:#b1d9bd}
.eq-workspace .eq-browser .eq-goal-status:is([data-state=future]),.eq-workspace .eq-browser .eq-goal-status :is([data-state=future],.is-future){border-color:#73603e;background:#3c3324;color:#e4c98e}
.eq-workspace .eq-browser .eq-goal-status:is([data-state=unknown-requirements],[data-state=unknown],[data-state=paused]),.eq-workspace .eq-browser .eq-goal-status :is([data-state=unknown-requirements],[data-state=unknown],[data-state=paused],.is-unknown-requirements,.is-unknown,.is-paused){border-color:#5b5267;background:#302b39;color:#c0b4ce}
.eq-workspace .eq-browser .eq-goal-status:is([data-state=incompatible]),.eq-workspace .eq-browser .eq-goal-status :is([data-state=incompatible],.is-incompatible){border-color:#795263;background:#402b36;color:#e3b3c4}
.eq-workspace .eq-browser .eq-goal-note{min-width:0;margin:8px 0 0;color:#b9aec4;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-note strong{color:#d9c9e1;font-weight:550}
.eq-workspace .eq-browser .eq-goal-note a{color:#dcc290;text-underline-offset:2px;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-note[role=status]{padding:8px 10px;border:1px solid #62523e;border-radius:5px;background:#332d25;color:#e2c99e}
.eq-workspace .eq-browser>.eq-goal-note{margin:0 14px 12px}
.eq-workspace .eq-browser .eq-goal-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;margin-top:10px}
.eq-workspace .eq-browser .eq-goal-actions :is(button,input,select),.eq-workspace .eq-browser .eq-goal-action{min-width:0;min-height:44px;box-sizing:border-box;padding:7px 9px;border:1px solid #665374;border-radius:5px;background:#342a40;color:#e4d2ee;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-actions :is(input,select){flex:1 1 120px;width:100%;background:#1c202a;color:#dfd4e7}
.eq-workspace .eq-browser .eq-goal-actions label{display:flex;flex:1 1 120px;flex-direction:column;gap:4px;min-width:0;color:#bbafc7;font-size:10px;line-height:1.4}
.eq-workspace .eq-browser .eq-goal-actions button:hover:not(:disabled),.eq-workspace .eq-browser .eq-goal-action:hover:not(:disabled){border-color:#b093c4;background:#45334e;color:#f1e4f6}
.eq-workspace .eq-browser .eq-goal-actions button[data-destructive=true]{border-color:#6a4b5c;background:#382832;color:#d8afbf}
.eq-workspace .eq-browser .eq-goal-actions button[aria-pressed=true],.eq-workspace .eq-browser .eq-goal-action[aria-pressed=true]{border-color:#b898cc;background:#49344f;color:#f2e3f4}
.eq-workspace .eq-browser .eq-goal-action{flex:0 1 auto;align-self:center}

.eq-workspace .eq-browser .eq-goal-empty{min-width:0;margin:0 14px 14px;padding:23px 16px;border:1px dashed #615266;border-radius:7px;background:radial-gradient(ellipse at 50% 0,#51405a33,transparent 78%),#1c232d;text-align:center}
.eq-workspace .eq-browser .eq-goal-empty h4{margin:0 0 7px;color:#dec7a2;font:500 19px/1.4 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-empty p{max-width:34em;margin:0 auto;color:#b5a9c2;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-empty .eq-goal-actions{justify-content:center}
.eq-workspace .eq-browser .eq-loadout-card :is(h4,h5){margin:0;color:#e4c99e;font:500 18px/1.4 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-loadout-card>p{margin:6px 0 0;color:#b5a8c2;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-loadout-card>label{display:flex;flex-direction:column;gap:4px;min-width:0;margin-top:9px;color:#c2b2cf;font-size:11px;line-height:1.5}
.eq-workspace .eq-browser .eq-loadout-card>label input{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:7px 9px;border:1px solid #5b4b68;border-radius:5px;background:#1c202a;color:#e0d5e8}
.eq-workspace .eq-browser .eq-goal-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:8px;min-width:0;margin:0 14px 12px}
.eq-workspace .eq-browser .eq-goal-filters label{display:flex;flex-direction:column;gap:4px;min-width:0;color:#c2b2cf;font-size:10px;line-height:1.5}
.eq-workspace .eq-browser .eq-goal-filters>summary{grid-column:1/-1;min-width:0;min-height:44px;box-sizing:border-box;padding:11px 0;color:#cab4d8;font-size:11px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-filters>small{grid-column:1/-1;min-width:0;color:#b4a8bf;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-filters>button{min-width:0;min-height:44px;align-self:end;padding:7px 9px;border:1px solid #786044;border-radius:5px;background:#3c3026;color:#e0c59a;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-filters :is(input,select){width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:7px 8px;border:1px solid #5b4b68;border-radius:5px;background:#1c202a;color:#dfd4e7;font-size:11px}
.eq-workspace .eq-browser .eq-goal-card>.eq-goal-filters{margin:10px 0 0}
.eq-workspace .eq-browser .eq-goal-preview{min-width:0;margin:0 14px 14px;padding:12px;border:1px solid #897349;border-radius:7px;background:linear-gradient(130deg,#302b2c,#222831)}
.eq-workspace .eq-browser .eq-goal-preview :is(h4,h5){margin:0 0 7px;color:#e4ca9e;font:500 18px/1.4 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-preview :is(p,li){color:#c5b8ce;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-preview ul{padding-left:19px}
.eq-workspace .eq-browser .eq-goal-preview table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
.eq-workspace .eq-browser .eq-goal-preview :is(th,td){padding:7px 5px;border-bottom:1px solid #514656;text-align:right;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-preview :is(th,td):first-child{text-align:left}
.eq-workspace .eq-browser .eq-goal-preview th{color:#d9c29e;font-weight:550}
.eq-workspace .eq-browser .eq-goal-budget{display:grid;gap:3px;min-width:0;margin:0 14px 14px;padding:11px 12px;border:1px solid #514c42;border-radius:6px;background:#24272b;color:#c4b8ca;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-goal-budget :is(h4,strong){color:#e0c99e}
.eq-workspace .eq-browser .eq-goal-budget h4{margin:0 0 6px;font:500 17px/1.4 Georgia,"Times New Roman",serif}
.eq-workspace .eq-browser .eq-goal-budget p{margin:5px 0 0}
.eq-workspace .eq-browser .eq-goal-budget small{color:#b0a4bd;font-size:10px;line-height:1.5}
.eq-workspace .eq-browser .eq-goal-budget dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;margin:0;font-variant-numeric:tabular-nums}
.eq-workspace .eq-browser .eq-goal-budget dd{margin:0;color:#ded0e5;text-align:right}
.eq-workspace .eq-browser :is(.eq-goal-toolbar,.eq-goal-card,.eq-loadout-card,.eq-goal-preview,.eq-goal-filters,.eq-goal-empty) :is(button,a,input,select,summary):focus-visible,.eq-workspace .eq-browser .eq-goal-action:focus-visible{outline:2px solid #d9b9f2;outline-offset:2px;box-shadow:none}
.eq-workspace .eq-browser :is(.eq-goal-tabs,.eq-goal-actions) button:disabled,.eq-workspace .eq-browser .eq-goal-action:disabled{opacity:.55;cursor:not-allowed;border-style:dashed}

@container equipment (max-width:650px){
 .eq-workspace .eq-browser .eq-goal-toolbar{margin-inline:12px;padding:8px}
 .eq-workspace .eq-browser .eq-goal-list{padding-inline:12px}
 .eq-workspace .eq-browser :is(.eq-goal-empty,.eq-goal-preview,.eq-goal-budget,.eq-goal-filters){margin-inline:12px}
 .eq-workspace .eq-browser .eq-goal-tabs button{padding-inline:5px;font-size:11px}
 .eq-workspace .eq-browser .eq-goal-actions button{flex:1 1 100px}
 .eq-workspace .eq-browser .eq-goal-context label{flex-basis:100%}
 .eq-workspace .eq-browser .eq-goal-action{flex:1 1 90px}
}
@container equipment (max-width:450px){
 .eq-workspace .eq-browser .eq-goal-toolbar{grid-template-columns:minmax(0,1fr)}
 .eq-workspace .eq-browser .eq-goal-toolbar>button{justify-self:end}
}

/* The optimizer lives inside the existing right panel. */
.eq-workspace .eq-browser .eq-goal-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.eq-workspace .eq-browser .eq-optimizer-content{min-width:0;padding:0 14px 14px;color:#c3b7cb;font-size:11px;line-height:1.65}
.eq-workspace .eq-browser .eq-optimizer-content :is(h4,p){overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-content h4{margin:0 0 7px;color:#e4cba1;font:500 19px/1.4 Georgia,"Times New Roman",serif}
.eq-workspace .eq-browser .eq-optimizer-content p{margin:7px 0}
.eq-workspace .eq-browser .eq-optimizer-context{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 12px;min-width:0}
.eq-workspace .eq-browser .eq-optimizer-context>div{flex:1 1 175px;min-width:0}
.eq-workspace .eq-browser .eq-optimizer-context label{display:flex;flex:1 1 125px;flex-direction:column;gap:4px;min-width:0;color:#bfb1cc;font-size:10px}
.eq-workspace .eq-browser .eq-optimizer-context select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #65536e;border-radius:5px;background:#1c202a;color:#e1d6e8;font-size:12px}
.eq-workspace .eq-browser .eq-optimizer-score{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #77623e;border-radius:7px;background:radial-gradient(ellipse at 100% 0,#af853927,transparent 75%),linear-gradient(125deg,#302b2c,#202832);font-variant-numeric:tabular-nums}
.eq-workspace .eq-browser .eq-optimizer-score>div{min-width:0}
.eq-workspace .eq-browser .eq-optimizer-score small{display:block;color:#b9acbf;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-score strong{display:block;margin-top:4px;color:#ecd5ab;font:500 25px/1.2 Georgia,"Times New Roman",serif;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-score>span{align-self:center;padding:5px 7px;border:1px solid #5a5e4d;border-radius:5px;background:#222a28;font-size:13px;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-explanation{color:#bfb1c8}
.eq-workspace .eq-browser .eq-optimizer-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.eq-workspace .eq-browser .eq-optimizer-content button{min-width:0;min-height:44px;padding:8px 10px;border:1px solid #665374;border-radius:5px;background:#342a40;color:#e4d2ee;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-content button:hover:not(:disabled){border-color:#b093c4;background:#45334e;color:#f1e4f6}
.eq-workspace .eq-browser .eq-optimizer-content #eqOptimizeApply{border-color:#8e744b;background:#443627;color:#eed5a8}
.eq-workspace .eq-browser .eq-optimizer-content button:disabled{opacity:.5;cursor:not-allowed;border-style:dashed}
.eq-workspace .eq-browser .eq-optimizer-notice{padding:9px 10px;border:1px solid #665638;border-radius:5px;background:#302d27;color:#dfc99f}
.eq-workspace .eq-browser .eq-optimizer-notice.is-error{border-color:#855365;background:#382932;color:#e8bdca}
.eq-workspace .eq-browser .eq-optimizer-hint{color:#b1a1be}
.eq-workspace .eq-browser .eq-optimizer-comparison{min-width:0;margin:14px 0;padding:12px;border:1px solid #90774c;border-radius:7px;background:linear-gradient(130deg,#302c2f,#222831)}
.eq-workspace .eq-browser .eq-optimizer-comparison table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
.eq-workspace .eq-browser .eq-optimizer-comparison :is(th,td){padding:7px 5px;border-bottom:1px solid #514656;text-align:right;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-comparison :is(th,td):first-child{text-align:left}
.eq-workspace .eq-browser .eq-optimizer-comparison th{color:#ddc79f;font-weight:550}
.eq-workspace .eq-browser .eq-optimizer-content .eq-optimizer-footnote{font-size:10px;color:#afa3ba}
.eq-workspace .eq-browser .eq-optimizer-sets{margin:14px 0;padding:12px;border:1px solid #514b44;border-radius:7px;background:#24282d}
.eq-workspace .eq-browser .eq-optimizer-sets article+article{margin-top:10px;padding-top:10px;border-top:1px solid #47434b}
.eq-workspace .eq-browser .eq-optimizer-sets article>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;color:#ddc495}
.eq-workspace .eq-browser .eq-optimizer-sets ul{margin:8px 0 0;padding:0 0 0 18px}
.eq-workspace .eq-browser .eq-optimizer-sets li{padding:3px 0;color:#c6bacd;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-sets li small{display:block;color:#bba8c9}
.eq-workspace .eq-browser .eq-optimizer-sets .eq-optimizer-effect-state{color:#c4b181;font-size:10px}
.eq-workspace .eq-browser .eq-optimizer-content details{min-width:0;margin:12px 0;color:#b9aec4}
.eq-workspace .eq-browser .eq-optimizer-content summary{min-height:44px;box-sizing:border-box;padding:11px 0;color:#dbc29a;cursor:pointer;font-size:11px}
.eq-workspace .eq-browser .eq-optimizer-item-list{display:grid;gap:7px}
.eq-workspace .eq-browser .eq-optimizer-item-list article{display:flex;flex-wrap:wrap;align-items:start;gap:8px;min-width:0;padding:10px;border:1px solid #4a4150;border-radius:6px;background:linear-gradient(125deg,#252732,#1d242d)}
.eq-workspace .eq-browser .eq-optimizer-item-list img{flex:none;width:32px;height:32px;max-width:32px;border:1px solid #6b5878;border-radius:4px;background:#171e26;object-fit:contain}
.eq-workspace .eq-browser .eq-optimizer-item-list article>div{flex:1 1 160px;min-width:0}
.eq-workspace .eq-browser .eq-optimizer-item-list article>span,.eq-workspace .eq-browser .eq-optimizer-item-list small{color:#afa1bb;font-size:10px}
.eq-workspace .eq-browser .eq-optimizer-item-list a{display:block;color:#dfcae9;font-size:12px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.eq-workspace .eq-browser .eq-optimizer-item-list a:hover{text-decoration:underline}
.eq-workspace .eq-browser .eq-optimizer-item-list p{margin:4px 0 0;color:#b9aec4;font-size:10px;line-height:1.6}
.eq-workspace .eq-browser .eq-optimizer-refresh{display:flex;justify-content:end}
.eq-workspace .eq-browser .eq-optimizer-empty{padding:24px 16px;border:1px dashed #655466;border-radius:7px;background:radial-gradient(ellipse at 50% 0,#57425b33,transparent 80%),#1c232d;text-align:center}
.eq-workspace .eq-browser .eq-optimizer-empty p{max-width:36em;margin:8px auto 14px}
.eq-workspace .eq-browser .eq-optimizer-content :is(button,a,select,summary):focus-visible{outline:2px solid #d9b9f2;outline-offset:2px;box-shadow:none}
@media(max-width:520px){
 .eq-workspace .eq-browser .eq-optimizer-content{padding-inline:12px}
 .eq-workspace .eq-browser .eq-optimizer-score{gap:7px;padding:10px}
 .eq-workspace .eq-browser .eq-optimizer-score strong{font-size:22px}
 .eq-workspace .eq-browser .eq-optimizer-actions button{flex:1 1 130px}
 .eq-workspace .eq-browser .eq-goal-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* One-click saved gear inside the equipment header. */
.eq-workspace .eq-character-heading>.eq-sync{flex:1 0 100%;min-width:0;width:100%;box-sizing:border-box;border-top:1px solid #76634644;padding-top:9px}
.eq-workspace .eq-sync-source{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;min-width:0}
.eq-workspace .eq-sync-summary{flex:1 1 140px;min-width:0}
.eq-workspace .eq-sync-summary strong{display:block;color:#ddccb1;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.eq-workspace .eq-sync-meta{display:block;color:#aaa1b6;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.eq-workspace .eq-sync time{display:block;color:#968da3;font-size:9px;font-variant-numeric:tabular-nums}
.eq-workspace .eq-sync-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.eq-workspace .eq-sync button{min-height:34px;padding:7px 10px;font-size:11px;line-height:1.3;white-space:normal}
.eq-workspace #eqSyncCurrent{border-color:#94784e;background:linear-gradient(135deg,#59452b,#3d3124);color:#f5dfb5;box-shadow:inset 0 1px #ead09d15}
.eq-workspace #eqSyncCurrent:hover:enabled{background:#655033;border-color:#cba975}
.eq-workspace #eqSyncUndo,.eq-workspace #eqSyncRefresh{border-color:#51475d;background:#272331;color:#d7c8e4}
.eq-workspace #eqSyncRefresh{min-width:34px;padding:4px;font-size:20px}
.eq-workspace .eq-sync .eq-sync-message{margin:5px 0 0;color:#bad6c4;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.eq-workspace .eq-sync-message.is-error{color:#f0b9aa}
@container equipment (max-width:600px){.eq-workspace .eq-sync-actions{gap:5px}.eq-workspace .eq-sync button{min-height:40px}.eq-workspace .eq-sync-summary{flex-basis:100%}}
.eq-workspace .eq-character-heading{gap:8px;padding:12px 14px}
.eq-workspace .eq-manual-build>summary{min-height:24px;padding:2px 0;background:transparent;border:0}

/* Identity, manual build and Sync share a short header above the equipment. */
.eq-workspace .eq-character-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px 10px;padding:10px 12px}
.eq-workspace .eq-character-heading>div:first-child{grid-column:1;grid-row:1;min-width:0}
.eq-workspace .eq-character-heading>div:first-child>.eq-kicker{display:none}
.eq-workspace .eq-character-heading h3{margin:0;font-size:19px;line-height:1.2}
.eq-workspace .eq-character-heading>div:first-child>p{margin-top:3px;font-size:10px;line-height:1.3}
.eq-workspace .eq-count{grid-column:3;grid-row:1;padding:0;font-size:13px}
.eq-workspace .eq-count>span{font-size:9px;margin-top:2px}
.eq-workspace .eq-manual-build{grid-column:2;grid-row:1;align-self:center;min-width:0;margin:0;font-size:10px}
.eq-workspace .eq-manual-build>summary{min-height:28px;padding:2px 5px;font-size:10px;white-space:nowrap}
.eq-workspace .eq-manual-build[open]{grid-column:1/-1;grid-row:2}
.eq-workspace .eq-character-heading>.eq-sync{grid-column:1/-1;grid-row:2;padding-top:6px;min-width:0}
.eq-workspace .eq-character-heading:has(.eq-manual-build[open])>.eq-sync{grid-row:3}
.eq-workspace .eq-sync-source{gap:6px 10px;flex-wrap:nowrap}
.eq-workspace .eq-sync-summary{flex:1 1 0;min-width:0}
.eq-workspace .eq-sync-summary strong{font-size:10px;line-height:1.25}
.eq-workspace .eq-sync-meta{font-size:9px;line-height:1.3}
.eq-workspace .eq-sync time{display:inline;margin-left:5px;font-size:9px}
.eq-workspace .eq-sync-actions{flex-wrap:nowrap;gap:4px}
.eq-workspace .eq-sync button{min-height:32px;padding:5px 8px;font-size:10px}
.eq-workspace #eqSyncRefresh{min-width:30px;font-size:18px}
@container equipment (max-width:600px){.eq-workspace .eq-character-heading{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px}.eq-workspace .eq-count{grid-column:2}.eq-workspace .eq-manual-build{grid-column:1/-1;grid-row:2}.eq-workspace .eq-character-heading>.eq-sync{grid-row:3}.eq-workspace .eq-character-heading:has(.eq-manual-build[open])>.eq-sync{grid-row:3}.eq-workspace .eq-sync-summary{flex:1 1 0}.eq-workspace .eq-sync-source{flex-wrap:wrap}.eq-workspace .eq-sync-actions{flex-wrap:wrap}.eq-workspace .eq-sync button{min-height:40px}}

.eq-workspace .eq-character-heading>.eq-character-identity{display:flex;align-items:center;gap:8px}
.eq-workspace .eq-character-identity>div{min-width:0}
.eq-workspace .eq-header-emblem{flex:none;display:flex;padding:3px;border:1px solid #8b704b;border-radius:8px;background:linear-gradient(145deg,#514031,#252532)}
.eq-workspace .eq-header-emblem img{display:block;width:30px;height:30px;object-fit:contain;border-radius:4px}
.eq-workspace .eq-character-identity .eq-kicker{display:none}
.eq-workspace .eq-character-identity p{margin:3px 0 0;font-size:10px;line-height:1.3}

.hud-quest.qr-card{border:1px solid #383345;border-radius:12px;background:linear-gradient(115deg,#1a1922,#15151d);margin:9px 0;overflow:hidden;font-size:14px;color:#e8e5ed}
.qr-card>summary{list-style:none;display:flex;align-items:center;gap:13px;padding:15px 17px;cursor:pointer;min-height:68px}
.qr-card>summary::-webkit-details-marker{display:none}.qr-card>summary:hover{background:#ffffff04}.qr-card>summary:focus-visible{outline:2px solid #b6a1e8;outline-offset:-3px}
.qr-card .qr-marker{display:grid;place-items:center;flex:0 0 30px;width:30px;height:34px;border-radius:8px;color:#e9c476;background:#b98d251b;border:1px solid #a9813747;font-size:23px;font-weight:800}
.qr-card.is-done .qr-marker{color:#9bd4ae;background:#37644725;border-color:#5c93604d}.qr-card.is-deferred .qr-marker{color:#b7afc2;background:#57506126;border-color:#77708040}
.qr-heading{min-width:0;flex:1}.qr-heading>b{display:block;font-size:15px;line-height:1.4;color:#f1ecf8}.qr-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:5px;color:#b1a9bd;font-size:12px;line-height:1.5}
.qr-tag{padding:1px 6px;border:1px solid #6e5c8045;border-radius:5px;color:#c4b6d8}.qr-status{max-width:190px;padding:5px 9px;border-radius:6px;background:#88729815;color:#c2b3d0;font-size:12px;line-height:1.4}.is-done .qr-status{color:#a8d7b6}.qr-chevron{font-size:18px;color:#b6a6c7;transition:transform .15s}.qr-card[open] .qr-chevron{transform:rotate(180deg)}
.qr-body{padding:0 17px 15px;border-top:1px solid #383345}.qr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}.qr-toolbar label{display:flex;align-items:center;gap:10px;color:#bdb4c8;font-size:12px}.qr-toolbar select{font-size:13px;padding:7px 10px;border-radius:7px;min-width:135px;background:#24212d;color:#f0e8fa;border:1px solid #574964}.qr-source{color:#a99db7;font-size:12px}.qr-card a{color:#c9b0ee;text-decoration:none}.qr-card a:hover{text-decoration:underline}
.qr-steps{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px}.qr-steps>section{min-width:0;border:1px solid #37313f;border-radius:9px;padding:12px;background:#ffffff02}.qr-steps h4{display:flex;align-items:center;gap:7px;margin:0 0 12px;font-size:12px;font-weight:600;color:#cabdd8;letter-spacing:.03em}.qr-steps h4>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#9d81b918;color:#baa1d5;font-size:11px}.qr-person{margin:10px 0;font-size:13px;line-height:1.6}.qr-person>b{font-weight:600}.qr-location{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px;color:#b7a9c4;font-size:12px}.qr-coordinates{font:inherit;color:#d4c38d;background:#c3a65710;border:1px solid #a38e5935;padding:2px 6px;border-radius:5px;cursor:pointer}.qr-coordinates:hover{background:#c3a65725}.qr-coordinates:focus-visible{outline:2px solid #d4c38d}.qr-unrecorded{color:#a99daf;font-size:12px;line-height:1.65;margin:0}.qr-starter-item{display:block;font-size:12px;line-height:1.6;margin-top:9px}
.qr-objectives ul{list-style:none;margin:0;padding:0}.qr-objectives li{display:flex;align-items:flex-start;gap:8px;margin:10px 0;font-size:13px;line-height:1.55}.qr-objective-count{flex:0 0 34px;color:#e2cc8d;font-size:13px;text-align:center;padding:3px 0;background:#bda05612;border-radius:5px}.qr-objectives li>span:last-child>small{display:block;color:#a99db7;font-size:12px;line-height:1.5}
.qr-requirement{display:flex;align-items:flex-start;gap:12px;margin:12px 0;font-size:12px}.qr-requirement>b{flex:0 0 103px;color:#bdb0cb;font-weight:500}.qr-requirement>span{display:flex;flex-wrap:wrap;gap:6px}.qr-prerequisite{display:inline-block;border:1px solid #66547550;padding:2px 6px;border-radius:5px}.qr-prerequisite.is-met{color:#a4d1b0;border-color:#638e664d}.qr-note,.qr-skill{font-size:13px;line-height:1.65;padding:11px 13px;border-left:2px solid #a58ab9;border-radius:0 6px 6px 0;background:#9c81b40c}.qr-skill{font-size:12px;color:#c9bdac;border-left-color:#ba9c6a}.qr-gallery{margin:12px 0;border:1px solid #42364d;border-radius:8px;padding:10px 12px}.qr-gallery>summary{cursor:pointer;font-size:13px;color:#cdbbdd}.qr-gallery figure{margin:12px 0 0}.qr-gallery img{display:block;width:100%;max-height:460px;object-fit:contain;background:#101015;border-radius:6px}.qr-gallery figcaption{font-size:12px;line-height:1.7;color:#b5a6c2;margin-top:8px}.qr-gallery figcaption>span{display:block;color:#968aa0}.qr-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;font-size:12px;color:#a295af;line-height:1.6}
@media(max-width:850px){.qr-steps{grid-template-columns:1fr 1fr}.qr-steps>.qr-objectives{grid-column:1/-1;grid-row:2}.qr-status{max-width:145px}.qr-toolbar{flex-wrap:wrap}.qr-footer{flex-wrap:wrap}}
@media(max-width:550px){.qr-card>summary{gap:9px;padding:13px 11px;flex-wrap:wrap}.qr-heading{flex-basis:calc(100% - 65px)}.qr-status{margin-left:39px;max-width:none}.qr-chevron{margin-left:auto}.qr-body{padding:0 11px 13px}.qr-steps{grid-template-columns:1fr}.qr-steps>.qr-objectives{grid-row:auto;grid-column:auto}.qr-toolbar label{width:100%;justify-content:space-between}.qr-requirement{flex-direction:column;gap:5px}.qr-requirement>b{flex:auto}.qr-heading>b{font-size:14px}.qr-footer>span{display:none}}
@media(prefers-reduced-motion:reduce){.qr-chevron{transition:none}}

.qr-card .qr-coordinates{min-height:36px;padding:6px 8px}.qr-card .qr-location{gap:5px}
.qr-record-link{border:0;background:none;color:#c9b0ee;font:inherit;padding:4px 0;text-decoration:underline;text-underline-offset:3px;min-height:36px}.qr-map-details{margin:13px 0;border:1px solid #5a456640;border-radius:8px;background:#201b2b55}.qr-map-details>summary{cursor:pointer;font-size:12px;min-height:44px;padding:9px 12px;color:#d0bddf}.qr-map-details>.quest-map{border:0;border-top:1px solid #5a456640;border-radius:0 0 8px 8px}.qr-map-details .qm-frame{max-width:680px;margin:auto}.qr-map-details .qm-locations{max-height:260px}.qr-map-details .qm-full-map img{max-height:700px}

/* A single selected quest, with bounded supporting choices and a stable map pane. */
.qex-journal>header{padding:10px}.qex-journal>header>h3{margin-bottom:7px}.qex-journal>header>label[for=qexListFilter]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.qex-journal>header>select{min-height:40px;margin:0}.qex-journal>header .qex-list-tools{margin-top:5px}.qex-journal>header .qex-list-tools>summary{min-height:30px;padding:6px 0}
.qex-journal>header{max-height:55%;overflow:auto;flex-shrink:0}.qex-list-tools{margin-top:9px;font-size:12px}.qex-list-tools>summary{min-height:36px;padding:8px 0;color:#e0c995;cursor:pointer}.qex-list-tools form{display:grid;gap:5px;padding-bottom:8px}.qex-list-tools label{margin:7px 0 0!important;font-size:11px}.qex-list-tools input,.qex-list-tools select{width:100%;min-width:0;min-height:38px;margin:0}.qex-list-tools button{min-height:40px;margin-top:8px;font-size:11px}.qex-list-tools p{font-size:11px;line-height:1.5;color:#bfb2cc}.qex-area{margin:12px 4px 8px;color:#dcc99f;font-size:12px}.qex-journal .qex-list-note{font-size:10px;margin:7px 12px;line-height:1.4}
.qex-rewards{padding:9px 11px;margin:0 0 12px;border:1px solid #66533c;border-radius:7px;background:#b89c3a0b;font-size:13px;color:#e9d39e}.qex-rewards small{display:block;font-size:11px;color:#c1b3c9;margin-top:5px;line-height:1.5}.qr-footer{flex-wrap:wrap}.qr-copy-status:not(:empty){display:block!important;flex-basis:100%;font-size:12px;color:#ebd39b;border-left:2px solid #c5a665;padding-left:8px}
.qex-chooser[open]:not([data-mode=search]){height:min(580px,calc(100dvh - 64px));grid-template-rows:76px 0 54px minmax(0,1fr) 64px}.qex-chooser[open] #qexSearchForm[hidden]{display:none!important}.qex-chooser>header{grid-row:1}.qex-chooser #qexSearchForm{grid-row:2}.qex-chooser #qexChooserStatus{grid-row:3}.qex-chooser #qexChooserRows{grid-row:4}.qex-chooser #qexChooserPages{grid-row:5}
.qex-scope-label{display:flex!important;align-items:center;gap:12px;margin:8px 0 3px}.qex-scope-label select{min-height:36px;flex:1}.qex-chooser #qexScopeNote{color:#c8bbd1;font-size:11px}.qex-chooser[open][data-mode=search]{grid-template-rows:76px 162px 44px minmax(0,1fr) 64px}.qex-journal label[for=qexListScope]{display:block;margin-top:10px}
.qex-objective-counter{display:block;margin:9px 0;color:#dfc898;font-size:14px}.qex-objective-counter.is-complete{color:#a4d7b0}.qex-progress-entry{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:7px;color:#c9bbd3;font-size:12px}.qex-progress-entry input{width:100px;min-height:40px}.qex-objective-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.qex-objective-actions button{font-size:11px;min-height:40px;padding:6px 9px}.qex-progress-note{font-size:11px;line-height:1.5;color:#c1b5ca;margin:0 0 10px}
.qex-journal{min-height:0;min-width:0;display:flex;flex-direction:column;background:#171d27;border:1px solid #51415c;border-radius:11px;overflow:hidden}.qex-journal>header{padding:14px;border-bottom:1px solid #41364b}.qex-journal h3{font:19px Georgia,serif;color:#f0dfbf;margin:0 0 12px}.qex-journal label{font-size:12px;color:#c5b7d1;margin-right:8px}.qex-journal select{width:100%;min-height:44px;margin-top:5px}.qex-list-note{font-size:11px;line-height:1.5;color:#bcb0c7;margin:10px 14px}.qex-journal-rows{flex:1;min-height:0;overflow:auto;padding:0 8px}.qex-journal-choice{display:block;width:100%;text-align:left;padding:11px;margin:0 0 7px;min-height:88px;background:#242332;border:1px solid #4e405a;border-radius:7px}.qex-journal-choice[aria-current=true]{border-color:#d3b878;background:#393044}.qex-journal-choice b{font-size:13px;display:block;color:#f0e3f3}.qex-journal-choice small{display:block;font-size:11px;line-height:1.5;color:#c2b6cc;margin-top:5px}.qex-mark{display:inline-block;margin-top:7px;font-size:11px;color:#c8b8d7}.qex-mark-accepted{color:#efcc85}.qex-mark-done{color:#a4d7b0}.qex-journal nav{display:flex;align-items:center;justify-content:space-between;padding:8px;gap:4px;border-top:1px solid #41364b;font-size:11px}.qex-journal nav button{min-width:40px;min-height:44px}.qex-list-empty{padding:12px;font-size:13px;line-height:1.6}.qex-list-empty button{width:100%;min-height:44px}
.vr-compact body[data-view=quests] #viewContent{height:100%;min-height:0}.vr-compact body[data-view=quests] #vr-task-panel{overflow:hidden;padding-right:0}
.qex-workspace{height:100%;min-height:0;display:grid;grid-template-rows:76px minmax(0,1fr) 48px;gap:10px}
.qex-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 14px;background:linear-gradient(110deg,#302539,#192431);border:1px solid #5c4a66;border-radius:10px;min-width:0}.qex-toolbar>div:first-child{min-width:0}.qex-eyebrow{font-size:10px;letter-spacing:.12em;color:#dfc897;font-weight:700}.qex-toolbar h2{font:23px/1.2 Georgia,serif;color:#f1dfbb;margin:4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qex-toolbar-actions{display:flex;gap:7px;flex:0 0 auto}.qex-toolbar-actions button{min-height:44px;padding:7px 11px;font-size:12px}.qex-toolbar-actions button>span{color:#dac5ec;margin-left:4px}.qex-find{display:flex;align-items:center;gap:7px;background:#40334d!important;border-color:#9274ac!important}.qex-find kbd{font-size:11px;color:#d7c7e5;border:1px solid #806b91;border-radius:3px;padding:1px 5px}
.qex-panes{display:grid;grid-template-columns:220px minmax(0,1.4fr) minmax(320px,1fr);min-width:0;min-height:0;gap:12px}.qex-detail,.qex-map-slot{min-height:0;min-width:0;height:100%;overflow:auto;scrollbar-gutter:stable;background:#171d27;border:1px solid #51415c;border-radius:11px}.qex-detail>.qr-card{margin:0;border:0;border-radius:0;background:transparent;min-height:100%}.qr-focus-heading{display:flex;gap:12px;align-items:center;padding:16px 18px;background:linear-gradient(110deg,#2c2535,#1d2631);border-bottom:1px solid #554361}.qr-focus-heading .qr-heading{flex:1;min-width:0}.qr-focus-heading .qr-heading>b{font:25px/1.2 Georgia,serif;color:#f0e0c2}.qr-focus-heading .qr-chevron{display:none}.qex-detail .qr-body{padding:16px 18px}.qex-detail .qr-steps{grid-template-columns:1fr;gap:12px}.qex-detail .qr-steps>section{padding:13px 15px;background:#202634;border:1px solid #3b3548;border-radius:8px}.qex-detail .qr-toolbar{position:sticky;top:0;z-index:2;background:#171d27;padding:8px 0 12px;margin-top:-8px}.qex-detail .qr-toolbar select{min-height:44px}.qex-detail .qr-steps h4{font-size:13px;margin:0 0 9px}.qex-detail .qr-person{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}.qex-detail .qr-objectives ul{margin:0}.qex-map-slot{padding:12px}.qex-map-slot>.quest-map{margin:0;min-width:0}.qex-status{font-size:11px;line-height:1.4;color:#c2b4cb;min-width:0;padding:2px 9px;border-top:1px solid #46394f;overflow:auto}.qex-status button{font-size:11px;padding:2px 7px;min-height:44px;margin-left:8px}
.qex-state{height:100%;min-height:280px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:32px;color:#bfb4ca}.qex-state h2{color:#e4d2b1;font:24px/1.2 Georgia,serif;margin:14px 0 4px}.qex-state p{max-width:420px;line-height:1.6}.qex-state button{min-height:44px}
.qex-chooser{width:min(740px,calc(100vw - 48px));height:min(820px,calc(100dvh - 96px));padding:0;overflow:hidden;background:#171923;color:#eee7f3;border:1px solid #a48a64;border-radius:12px;box-shadow:0 24px 90px #000b}.qex-chooser[open]{display:grid;grid-template-rows:76px 92px 44px minmax(0,1fr) 64px}.qex-chooser::backdrop{background:#06090ed1}.qex-chooser>header{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-bottom:1px solid #5b4665;background:linear-gradient(110deg,#35283d,#1c2936)}.qex-chooser h2{font:25px/1.2 Georgia,serif;color:#ead6b0;margin:4px 0}.qex-chooser>header button{width:44px;height:44px;font-size:24px;padding:0}.qex-chooser form{padding:12px 22px;margin:0}.qex-chooser form[hidden]{display:block!important;visibility:hidden;pointer-events:none}.qex-chooser label{display:block;font-size:11px;color:#d4c4df;margin-bottom:5px}.qex-chooser form>div{display:flex;gap:8px}.qex-chooser input{min-width:0;flex:1;min-height:44px}.qex-chooser form button{min-height:44px}.qex-chooser #qexChooserStatus{padding:10px 22px;font-size:12px;color:#cdbcd9;overflow:auto}.qex-chooser #qexChooserRows{min-height:0;overflow:auto;padding:4px 22px;display:flex;flex-direction:column;gap:6px;scrollbar-gutter:stable}.qex-choice{display:flex;align-items:center;gap:12px;text-align:left;min-height:64px;padding:10px 12px;width:100%;border:1px solid #50415d;background:#242332;border-radius:7px}.qex-choice>span:nth-child(2){flex:1;min-width:0}.qex-choice b{display:block;font-size:13px;color:#f0e4f6}.qex-choice small{display:block;font-size:11px;color:#b9adc6;margin-top:4px}.qex-choice:hover{background:#352b42;border-color:#a083b5}.qex-choice-state{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px;color:#bfb1ca}.qex-chooser #qexChooserPages{padding:10px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #4d3c56;font-size:12px}.qex-chooser #qexChooserPages>button{min-height:44px}.qex-source-pages{display:flex;justify-content:space-between;width:100%;gap:8px}.qex-chooser:has(.qex-source-pages){grid-template-rows:76px 92px 44px minmax(0,1fr) 114px}.qex-workspace button:focus-visible,.qex-chooser button:focus-visible,.qex-chooser input:focus-visible{outline:3px solid #efd19a;outline-offset:-3px}
#qexPrerequisiteButton{width:156px}#qexFollowupButton{width:144px}#qexFindButton{width:160px}.qex-toolbar-actions button{justify-content:center;white-space:nowrap}.qex-toolbar-actions button>span{display:inline-block;min-width:2.5ch;text-align:center;font-variant-numeric:tabular-nums}
@media(min-width:2400px){.qex-panes{grid-template-columns:280px minmax(0,1.3fr) minmax(600px,1fr)}.qex-detail .qr-steps{grid-template-columns:1fr 1fr}.qex-detail .qr-steps>section:first-child{grid-column:1/-1}.qex-toolbar h2{font-size:26px}}
.qex-pane-tabs{display:none}
.qex-detail .qr-focus-heading{padding:10px 16px;gap:8px}.qex-detail .qr-focus-heading .qr-marker,.qex-detail .qr-focus-heading .qr-heading>b{display:none}.qex-detail .qr-focus-heading .qr-meta{margin:0;font-size:12px}.qex-detail .qr-focus-heading .qr-status{margin:0;font-size:11px}.qex-map-slot .qm-trust{font-size:11px;line-height:1.55;color:#c3b7cd}.qex-detail .qr-source{overflow-wrap:anywhere}
@media(max-width:1100px){
 .qex-workspace{grid-template-rows:auto 44px minmax(0,1fr) auto;gap:8px}.qex-toolbar{min-height:68px}.qex-status{max-height:48px}
 .qex-pane-tabs{display:flex;gap:6px}.qex-pane-tabs button{flex:1;min-width:0;min-height:44px;padding:6px;font-size:12px}.qex-pane-tabs button[aria-pressed=true]{background:#49374f;border-color:#d2b67c;color:#f3e0b9}
 .qex-panes{display:block;overflow:hidden}.qex-panes>.qex-journal,.qex-panes>.qex-detail,.qex-panes>.qex-map-slot{display:none;width:100%;height:100%;max-width:100%;min-width:0}
 .qex-workspace[data-mobile-pane=list] .qex-journal{display:flex}.qex-workspace[data-mobile-pane=detail] .qex-detail,.qex-workspace[data-mobile-pane=map] .qex-map-slot{display:block}
 .qex-journal-choice{min-height:80px}.qex-map-slot select{min-width:0;max-width:100%}.qex-detail .qr-toolbar{flex-wrap:wrap}
}
@media(max-width:750px){
 .qex-toolbar{flex-wrap:wrap;gap:8px;padding:10px}.qex-toolbar>div:first-child{width:100%}.qex-toolbar h2{font-size:20px;white-space:normal;overflow-wrap:anywhere}.qex-toolbar-actions{width:100%;flex-wrap:wrap;gap:5px}
 #qexPrerequisiteButton,#qexFollowupButton{flex:1 1 40%;width:auto;min-width:0;font-size:11px;padding:5px}#qexFindButton{flex:1 1 100%;width:auto;min-width:0;font-size:12px}
 .qex-detail .qr-body{padding:12px}.qex-detail .qr-steps>section{padding:11px}.qr-focus-heading{flex-wrap:wrap;padding:12px}.qr-focus-heading .qr-heading{flex-basis:calc(100% - 54px)}.qr-focus-heading .qr-heading>b{font-size:21px}.qr-focus-heading .qr-status{margin-left:40px}
 .qex-detail .qr-toolbar label{width:100%;justify-content:space-between}.qex-detail .qr-person{gap:5px}.qex-detail .qr-objectives li>span:last-child{min-width:0}.qex-progress-entry input{width:86px}
 .qex-chooser{width:calc(100vw - 20px);height:calc(100dvh - 32px)}.qex-chooser[open][data-mode=search]{grid-template-rows:68px 180px 48px minmax(0,1fr) 64px}.qex-chooser>header,.qex-chooser form,.qex-chooser #qexChooserStatus,.qex-chooser #qexChooserRows,.qex-chooser #qexChooserPages{padding-left:12px;padding-right:12px}.qex-chooser h2{font-size:22px}.qex-chooser form>div{flex-wrap:wrap}.qex-chooser form>div>button{font-size:12px}.qex-chooser input{width:100%}.qex-choice{padding:9px;gap:8px;flex-shrink:0}.qex-choice small{overflow-wrap:anywhere}
 #qexPrerequisiteButton,#qexFollowupButton,#qexFindButton{flex:1 1 0;font-size:10px;white-space:normal}.qex-find img,.qex-find kbd{display:none}.qex-status[data-has-error=false]{display:none}.qex-detail .qr-focus-heading .qr-heading{flex-basis:100%}
}
/* Short windows keep real result space; excess content can still be reached. */
@media(max-height:600px){
 .vr-compact body[data-view=quests] #vr-task-panel{overflow:auto}
 .qex-workspace{min-height:440px}.qex-panes{min-height:240px}
 .qex-chooser[open][data-mode]{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);grid-template-rows:auto auto auto minmax(96px,1fr) auto;overflow:auto}
 .qex-chooser>header{min-height:60px;padding:8px 12px}.qex-chooser form{padding:8px 12px}
 .qex-chooser #qexChooserStatus{padding:6px 12px;overflow:visible}.qex-chooser #qexChooserRows{min-height:96px;padding:4px 12px}
 .qex-chooser #qexChooserPages{padding:8px 12px}
}
@media(max-height:600px) and (max-width:1100px){
 .qex-workspace{grid-template-rows:auto 44px minmax(240px,1fr) auto}
}
@media(max-height:600px) and (min-width:600px){
 .qex-chooser form{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,32%);gap:4px 12px}
 .qex-chooser form>label:first-child{grid-column:1;grid-row:1;margin:0}.qex-chooser form>div{grid-column:1;grid-row:2;flex-wrap:nowrap}
 .qex-chooser form>div input{width:auto}.qex-chooser form>.qex-scope-label{grid-column:2;grid-row:1 / 3;flex-direction:column;align-items:stretch;gap:4px;margin:0}
 .qex-chooser .qex-scope-label select{min-height:44px}.qex-chooser form>#qexScopeNote{grid-column:1 / -1}
}

/* Quest Journal: one useful workspace, with the objective and map leading. */
/* The static public links stay available until the interactive shell is ready. */
body[data-view=quests].seo-shell-ready #seoPublicNavigation{display:none!important}
body[data-view=quests] .qex-workspace{--qex-edge:#9a805748;--qex-gold:#ead5a4;grid-template-rows:auto minmax(0,1fr);gap:12px}
body[data-view=quests] .qex-toolbar{min-height:68px;gap:16px;padding:12px 16px;border-color:var(--qex-edge);background:linear-gradient(115deg,#30263b,#1a2331);box-shadow:inset 0 1px #ffffff05}
body[data-view=quests] .qex-eyebrow{display:none}
body[data-view=quests] .qex-toolbar h2{margin:0;font:24px/1.2 Georgia,'Times New Roman',serif;color:var(--qex-gold);white-space:normal;overflow-wrap:anywhere}
body[data-view=quests] .qex-toolbar-actions{gap:6px}
body[data-view=quests] .qex-toolbar-actions button{min-height:40px;font-size:12px;padding:7px 10px}
body[data-view=quests] .qex-panes{grid-template-columns:minmax(184px,19%) minmax(290px,1fr) minmax(340px,1.25fr);gap:12px;align-items:stretch}
body[data-view=quests] :is(.qex-journal,.qex-detail,.qex-map-slot){border-color:var(--qex-edge);background:linear-gradient(150deg,#242030,#171d28);border-radius:10px}
body[data-view=quests] .qex-journal>header{padding:13px 12px 10px;border-bottom-color:#9a80572b}
body[data-view=quests] .qex-journal h3{margin:0 0 10px;font:20px/1.2 Georgia,'Times New Roman',serif;color:var(--qex-gold)}
body[data-view=quests] .qex-journal>header>select{min-height:40px;margin:0;font-size:13px}
body[data-view=quests] .qex-list-search{display:grid;gap:8px;margin-top:9px}
body[data-view=quests] .qex-list-quick{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
body[data-view=quests] .qex-list-quick :is(input,button){min-width:0;min-height:40px;margin:0;font-size:13px}
body[data-view=quests] .qex-list-quick input{width:100%;padding:8px}
body[data-view=quests] .qex-list-quick button{padding:7px 10px;border-color:#a78b555c;background:#3d3049}
body[data-view=quests] .qex-list-tools{margin:0;font-size:13px}
body[data-view=quests] .qex-list-tools>summary{min-height:32px;padding:5px 0;color:#d9c69f}
body[data-view=quests] .qex-list-filters{display:grid;gap:5px;padding:3px 0 8px}
body[data-view=quests] .qex-list-filters :is(input,select){min-width:0;min-height:38px;font-size:13px;margin:0}
body[data-view=quests] .qex-list-filters label,body[data-view=quests] .qex-list-tools p{font-size:12px;line-height:1.5}
body[data-view=quests] .qex-journal .qex-list-note{margin:8px 12px;font-size:12px;line-height:1.4}
body[data-view=quests] .qex-journal-rows{padding:0 7px}
body[data-view=quests] .qex-journal-choice{min-height:64px;margin:0 0 6px;padding:9px 10px;border-color:#63516e55;background:#211f2e;box-shadow:none}
body[data-view=quests] .qex-journal-choice b{font-size:14px;line-height:1.35;font-weight:600;color:#f0e5d4}
body[data-view=quests] .qex-journal-choice small{margin-top:4px;font-size:12px;line-height:1.4}
body[data-view=quests] .qex-journal-choice .qex-mark{margin-top:4px;font-size:12px;line-height:1.3}
body[data-view=quests] .qex-journal-choice[aria-current=true]{border-color:#c5a76c;background:linear-gradient(110deg,#44334c,#2a2536);box-shadow:inset 3px 0 #d6b873}
body[data-view=quests] .qex-journal nav{padding:7px;gap:5px;font-size:12px;border-top-color:#9a80572b}
body[data-view=quests] .qex-journal nav button{min-height:40px}
body[data-view=quests] .qex-detail .qr-focus-heading{gap:7px 12px;padding:10px 14px;background:#ffffff02;border-bottom-color:#9a80572b;flex-wrap:wrap}
body[data-view=quests] .qex-detail .qr-meta{font-size:13px;line-height:1.45;color:#c3b8c9}
body[data-view=quests] .qex-detail .qr-status{max-width:none;font-size:12px;padding:3px 7px;margin:0;background:#aa8a3910;color:#d7c79f}
body[data-view=quests] .qex-detail .qr-body{padding:12px 14px 14px;border-top:0;font-size:14px;line-height:1.55}
body[data-view=quests] .qex-detail .qr-toolbar{gap:7px 12px;padding:0 0 11px;margin:0;top:-1px;background:#201e2d;flex-wrap:wrap}
body[data-view=quests] .qex-detail .qr-toolbar label{font-size:13px;gap:8px}
body[data-view=quests] .qex-detail .qr-toolbar select{min-height:40px;font-size:13px}
body[data-view=quests] .qex-detail .qr-source{font-size:12px;line-height:1.4}
body[data-view=quests] .qex-detail .qr-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
body[data-view=quests] .qex-detail .qr-objectives{padding:0;border:0;border-radius:0;background:transparent}
body[data-view=quests] .qex-detail .qr-steps h4{margin:0 0 9px;font:17px/1.3 Georgia,'Times New Roman',serif;letter-spacing:0;color:var(--qex-gold)}
body[data-view=quests] .qex-detail .qr-steps h4>span{display:none}
body[data-view=quests] .qex-detail .qr-objectives li{margin:8px 0 0;padding:11px 0;gap:10px;border-top:1px solid #aa8b5929;font-size:15px;line-height:1.5}
body[data-view=quests] .qex-detail .qr-objectives li>span:last-child{flex:1;min-width:0;overflow-wrap:anywhere}
body[data-view=quests] .qex-detail .qr-objectives li>span:last-child>small{font-size:12px;line-height:1.4;color:#bcb0c7}
body[data-view=quests] .qex-detail .qr-objective-count{flex-basis:32px;font-size:13px;background:#a58b3910;color:#dfc686}
body[data-view=quests] .qex-detail .qex-progress-note{font-size:12px;line-height:1.5;margin:7px 0;color:#bdb1c9}
body[data-view=quests] .qex-detail .qex-objective-counter{display:block;margin:7px 0 5px;font-size:14px;color:#ead59a}
body[data-view=quests] .qex-detail .qex-objective-counter.is-complete{color:#a6dbb2}
body[data-view=quests] .qex-detail .qex-progress-entry{gap:7px;font-size:12px;margin:4px 0 0}
body[data-view=quests] .qex-detail .qex-progress-entry input{box-sizing:border-box;min-height:36px;width:112px;min-width:112px;max-width:100%;font-size:13px}
body[data-view=quests] .qex-detail .qex-objective-actions{gap:6px;margin-top:6px}
body[data-view=quests] .qex-detail .qex-objective-actions button{min-height:34px;padding:5px 9px;font-size:12px}
body[data-view=quests] .qex-contact-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:12px;padding-top:12px;border-top:1px solid #aa8b5933}
body[data-view=quests] .qex-contact-row .qr-stage-contact{min-width:0;padding:0;border:0;background:transparent}
body[data-view=quests] .qex-contact-row .qr-stage-contact h4{font:600 14px/1.4 'Trebuchet MS','Segoe UI',sans-serif;color:#d8c5a0;margin-bottom:6px}
body[data-view=quests] .qex-detail :is(.qr-person,.qr-unrecorded){font-size:13px;line-height:1.55;margin:5px 0}
body[data-view=quests] .qex-detail .qr-location{font-size:12px;line-height:1.5}
body[data-view=quests] .qex-detail .qex-rewards{margin:13px 0 0;padding:9px 0 0;border:0;border-top:1px solid #aa8b5929;border-radius:0;background:transparent;font-size:13px;color:#d3c4a3}
body[data-view=quests] .qex-detail .qex-rewards small{font-size:12px;line-height:1.5;margin-top:3px;color:#ada0ba}
body[data-view=quests] .qex-detail .qr-footer{margin-top:12px;font-size:12px}
body[data-view=quests] .qex-map-slot{padding:13px}
body[data-view=quests] .qex-map-slot>.quest-map{border:0;background:transparent;border-radius:0;padding:0}
/* Spend the Journal's map space on the map while preserving each image's ratio. */
body[data-view=quests] .qex-map-slot .quest-map{--qm-thumbnail-height:440px}
body[data-view=quests] .qex-map-slot .qm-frame[data-qm-preview]{box-sizing:border-box}
body[data-view=quests] .qex-map-slot :is(.qm-trust,.qm-location-status,.qm-empty){font-size:13px;line-height:1.5}
body[data-view=quests] .qex-status{font-size:12px;line-height:1.5;max-height:72px;padding:6px 8px;border-top-color:#9a80572b}
body[data-view=quests] .qex-status[data-has-error=false]{display:none}
@media(min-width:1101px){
 html.vr-compact body[data-view=quests] #viewContent{height:100%!important;min-height:0;overflow:hidden!important}
 html.vr-compact body[data-view=quests] #viewContent .qex-workspace{height:100%!important;max-height:100%!important;min-height:0;align-items:stretch}
 html.vr-compact body[data-view=quests] #viewContent :is(.qex-detail,.qex-map-slot){height:100%;max-height:none!important;overflow:auto!important}
 html.vr-compact body[data-view=quests] #viewContent .qex-journal-rows{max-height:none!important}
}
@media(min-width:2400px){body[data-view=quests] .qex-panes{grid-template-columns:280px minmax(290px,1fr) minmax(420px,1.25fr)}}
@media(max-width:1100px){
 body[data-view=quests] .qex-workspace{grid-template-rows:auto 44px minmax(0,1fr);gap:9px}
 body[data-view=quests] .qex-panes{display:block}
 body[data-view=quests] .qex-pane-tabs{gap:7px}
 body[data-view=quests] .qex-pane-tabs button{min-height:44px;font-size:13px;border-color:#9a805748;background:#211e2d}
 body[data-view=quests] .qex-pane-tabs button[aria-pressed=true]{border-color:#c5a76c;color:#f0d6a4;background:#47354f}
 body[data-view=quests] .qex-journal>header{padding:12px}
 body[data-view=quests] .qex-list-quick :is(input,button),body[data-view=quests] .qex-journal>header>select,body[data-view=quests] .qex-list-filters :is(input,select),body[data-view=quests] .qex-list-tools>summary,body[data-view=quests] .qex-journal nav button{min-height:44px}
 body[data-view=quests] .qex-journal-choice{min-height:66px}
}
@media(max-width:750px){
 body[data-view=quests] .qex-map-slot{padding:5px}
 body[data-view=quests] .qex-toolbar{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;padding:11px 12px;gap:10px}
 body[data-view=quests] .qex-toolbar>div:first-child{width:auto}
 body[data-view=quests] .qex-toolbar h2{font-size:22px}
 body[data-view=quests] .qex-toolbar-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;width:100%}
 body[data-view=quests] .qex-toolbar-actions button{width:auto!important;min-width:0;min-height:44px;padding:5px;font-size:12px}
 body[data-view=quests] .qex-detail .qr-focus-heading{padding:9px 12px}
 body[data-view=quests] .qex-detail .qr-body{padding:10px 12px 13px}
 body[data-view=quests] .qex-detail .qr-toolbar label{width:auto;flex:1 1 auto;justify-content:flex-start}
 body[data-view=quests] .qex-detail .qr-toolbar select{flex:1;min-width:120px;min-height:44px}
 body[data-view=quests] .qex-detail .qr-toolbar .qr-source{flex:1 1 100%}
 body[data-view=quests] .qex-detail :is(.qex-objective-actions button,.qex-progress-entry input,.qr-coordinates){min-height:44px}
 body[data-view=quests] .qex-detail .qex-progress-entry{flex-wrap:wrap}
}
@media(max-height:600px){
 body[data-view=quests] .qex-workspace{min-height:440px}
 body[data-view=quests] .qex-panes{min-height:240px}
}

/* Keep the Journal scrollable without visible scrollbars. */
html:has(> body[data-view=quests]),body[data-view=quests],body[data-view=quests] *{scrollbar-width:none!important;-ms-overflow-style:none}
html:has(> body[data-view=quests])::-webkit-scrollbar,body[data-view=quests]::-webkit-scrollbar,body[data-view=quests] *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Journal visual alignment and hierarchy. */
body[data-view=quests] .qex-workspace{--qex-line:#a88b6259;--qex-panel:#191b29;--qex-soft:#c5b7cf}
body[data-view=quests] .qex-panes{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-view=quests] .qex-toolbar{border:1px solid #a18b6259;background:linear-gradient(108deg,#31243b 0%,#202333 58%,#182331 100%);box-shadow:inset 0 1px #ffffff0a,0 5px 18px #07091235}
body[data-view=quests] .qex-toolbar>div:first-child{position:relative;padding-left:14px}
body[data-view=quests] .qex-toolbar>div:first-child::before{content:'';position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;background:linear-gradient(#e4c88e,#80629c)}
body[data-view=quests] .qex-toolbar h2{font:600 26px/1.18 Georgia,'Times New Roman',serif;letter-spacing:.01em;color:#f0ddba}
body[data-view=quests] .qex-toolbar-actions{gap:8px}
body[data-view=quests] .qex-toolbar-actions button,body[data-view=quests] .qex-list-quick button,body[data-view=quests] .qex-journal nav button,body[data-view=quests] .qm-open-map{border:1px solid #9d7da788;border-radius:7px;background:linear-gradient(180deg,#3b3049,#292336);color:#f2e7f4;box-shadow:inset 0 1px #ffffff14,0 2px 5px #08070d38;font-weight:600}
body[data-view=quests] .qex-toolbar-actions button:not(:disabled):hover,body[data-view=quests] .qex-list-quick button:not(:disabled):hover,body[data-view=quests] .qex-journal nav button:not(:disabled):hover,body[data-view=quests] .qm-open-map:hover{border-color:#d2b178;background:linear-gradient(180deg,#51405c,#362b40);color:#fff5e5}
body[data-view=quests] .qex-toolbar-actions button:disabled,body[data-view=quests] .qex-journal nav button:disabled{opacity:.48;box-shadow:none;cursor:not-allowed}
body[data-view=quests] .qex-toolbar-actions .qex-find{border-color:#c1a16e!important;background:linear-gradient(180deg,#5a4269,#3c304c)!important;color:#fff3df}
body[data-view=quests] .qex-toolbar-actions .qex-find:hover{background:linear-gradient(180deg,#705278,#493653)!important}
body[data-view=quests] :is(.qex-journal,.qex-detail,.qex-map-slot){border-color:var(--qex-line);background:linear-gradient(155deg,#242030,#181d2a 72%);box-shadow:inset 0 1px #ffffff08,0 4px 14px #080a1240}
body[data-view=quests] .qex-journal>header{padding:15px 14px 12px;background:linear-gradient(125deg,#30283b80,#1e203000);border-bottom-color:#b59a6440}
body[data-view=quests] .qex-journal h3{font:600 21px/1.2 Georgia,'Times New Roman',serif;color:#efdcba;letter-spacing:.01em}
body[data-view=quests] .qex-list-quick input,body[data-view=quests] .qex-journal>header>select{border-color:#706078;background:#141c28;color:#f0e6f3}
body[data-view=quests] .qex-list-tools>summary{padding-inline:9px;border:1px solid #725f7a70;border-radius:7px;background:#191c28;color:#dfccaa}
body[data-view=quests] .qex-journal .qex-list-note{margin:9px 14px;color:#bfb1ca}
body[data-view=quests] .qex-journal-rows{padding:0 8px}
body[data-view=quests] .qex-journal-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center;min-height:68px;padding:10px 11px;border:1px solid transparent;border-bottom-color:#82708936;background:#ffffff05;border-radius:7px;text-align:left}
body[data-view=quests] .qex-journal-choice b{grid-column:1/-1;min-width:0;font-size:14px;line-height:1.35;color:#f1e6d7}
body[data-view=quests] .qex-journal-choice small:first-of-type{grid-column:1;min-width:0;margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
body[data-view=quests] .qex-journal-choice small:not(:first-of-type){grid-column:1/-1;margin:0}
body[data-view=quests] .qex-journal-choice .qex-mark{grid-column:2;margin:0;font-size:11px;white-space:nowrap;color:#c7b7d0}
body[data-view=quests] .qex-journal-choice:not([aria-current=true]):hover{border-color:#92749e70;background:#3a2d424d}
body[data-view=quests] .qex-journal-choice[aria-current=true]{border-color:#c5a76c;background:linear-gradient(105deg,#4b3650,#292536);box-shadow:inset 3px 0 #e0c180}
body[data-view=quests] .qex-journal nav{border-top-color:#b59a6440;padding:9px 10px;color:#d7c9df}
body[data-view=quests] .qex-detail .qr-focus-heading{padding:13px 15px;background:linear-gradient(110deg,#30273a80,#20233320);border-bottom:1px solid #b59a6440}
body[data-view=quests] .qex-detail .qr-body{padding:14px 15px 16px}
body[data-view=quests] .qex-detail .qr-steps{gap:10px}
body[data-view=quests] .qex-detail .qr-steps>.qex-info-panel{min-width:0;padding:14px;border:1px solid #9d805154;border-radius:8px;background:linear-gradient(145deg,#2c2535,#1d202c);box-shadow:inset 0 1px #ffffff08}
body[data-view=quests] .qex-detail .qex-info-panel>h4{margin:0 0 10px;color:#eddbb8}
body[data-view=quests] .qex-detail .qex-info-objectives li:first-child{margin-top:0}
body[data-view=quests] .qex-info-contacts .qex-contact-row{padding:0;border:0}
body[data-view=quests] .qex-detail .qex-info-rewards .qex-rewards{margin:0;padding:0;border:0;background:transparent}
body[data-view=quests] .qex-map-slot{padding:14px}
body[data-view=quests] .qex-map-slot .qm-header{align-items:center;gap:8px;padding:0 0 11px;margin:0 0 12px;border-bottom:1px solid #b59a6440}
body[data-view=quests] .qex-map-slot .qm-kicker{font:600 15px/1.25 Georgia,'Times New Roman',serif;letter-spacing:.06em;color:#ead7b7}
body[data-view=quests] .qex-map-slot .qm-controls{gap:8px;margin-bottom:11px}
body[data-view=quests] .qex-map-slot .qm-controls label{font-size:12px;line-height:1.3;color:#cbbbd1}
body[data-view=quests] .qex-map-slot .qm-controls select{min-height:40px;border-color:#786280;background:#171d29;font-size:13px}
body[data-view=quests] .qex-map-slot .qm-frame{border-color:#b69a6580;border-radius:7px;box-shadow:0 4px 14px #08070e50}
body[data-view=quests] .qex-map-slot .qm-open-map{min-height:44px;margin-top:9px}
body[data-view=quests] .qex-map-slot :is(.qm-objective-areas,.qm-source-locations,.qm-coverage){border-color:#806a815c;background:#1b1b28;border-radius:7px}
@media(max-width:1100px){body[data-view=quests] .qex-toolbar-actions{gap:6px}}
@media(max-width:750px){body[data-view=quests] .qex-toolbar h2{font-size:22px}body[data-view=quests] .qex-map-slot{padding:8px}body[data-view=quests] .qex-detail .qr-steps>.qex-info-panel{padding:12px}body[data-view=quests] .qex-map-slot .qm-controls select{min-height:44px}}

body[data-view=quests] .qex-detail .qr-meta>span{display:inline-block;max-width:100%;vertical-align:top;overflow-wrap:anywhere}

body[data-view=quests] .qex-detail .qr-focus-heading .qr-heading{flex:1 1 min(200px,100%);max-width:100%;min-width:0;overflow-wrap:anywhere}

/* Exact-record artwork is decorative; the neutral image fills missing references. */
body[data-view=quests] :is(.qex-journal-art,.qex-choice-art,.qex-quest-art,.qex-objective-art,.qex-contact-art,.qex-item-art){display:block;box-sizing:border-box;flex:none;object-fit:cover;aspect-ratio:1;width:42px;height:42px;border:1px solid #aa8b6970;border-radius:7px;background:#17131d;box-shadow:0 2px 6px #08071070}
body[data-view=quests] .qex-journal-choice{grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center}
body[data-view=quests] .qex-journal-choice .qex-journal-choice-content{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center}
body[data-view=quests] .qex-journal-choice .qex-journal-choice-content b{grid-column:1/-1;overflow-wrap:anywhere}
body[data-view=quests] .qex-journal-choice .qex-journal-choice-content small:first-of-type{grid-column:1;overflow-wrap:anywhere}
body[data-view=quests] .qex-journal-choice .qex-journal-choice-content .qex-mark{grid-column:2}
body[data-view=quests] .qex-choice .qex-choice-art{width:36px;height:36px}
body[data-view=quests] .qex-detail .qex-quest-art{width:48px;height:48px}
body[data-view=quests] .qex-detail .qex-objective-art{width:40px;height:40px}
body[data-view=quests] .qex-detail .qex-contact-art{width:38px;height:38px}
body[data-view=quests] .qex-detail .qex-item-art{display:inline-block;width:32px;height:32px;vertical-align:middle;margin-right:8px}
body[data-view=quests] .qex-detail .qr-person{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:9px}
body[data-view=quests] .qex-detail .qr-person-content{display:block;min-width:0;overflow-wrap:anywhere}
body[data-view=quests] .qex-detail .qr-objectives li>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:750px){body[data-view=quests] .qex-detail .qex-quest-art{width:42px;height:42px}body[data-view=quests] .qex-detail .qex-objective-art{width:36px;height:36px}}

/* An engraved, restrained treatment for Journal controls and records. */
body[data-view=quests] .qex-toolbar-actions button{
 position:relative;min-height:42px;border:1px solid #a98b65a8;border-radius:8px;
 background:linear-gradient(180deg,#594659 0%,#30283b 54%,#211e2c 100%);
 box-shadow:inset 0 1px #f2dcac35,inset 0 -2px #09080d73,0 3px 8px #09081045;
 color:#f3e5d0;letter-spacing:.01em;text-shadow:0 1px 2px #09060c;
}
body[data-view=quests] .qex-toolbar-actions button>span{
 min-width:2.4ch;margin-left:5px;padding:1px 4px;border:1px solid #aa93675c;
 border-radius:4px;background:#17121d75;color:#e6cf9d;line-height:1.2;
}
body[data-view=quests] .qex-toolbar-actions button:not(:disabled):hover{
 border-color:#e1c285;background:linear-gradient(180deg,#6c5266,#3b3047 58%,#292335);
 box-shadow:inset 0 1px #fff1cc55,inset 0 -2px #09080d80,0 3px 12px #100b1e66;
}
body[data-view=quests] .qex-toolbar-actions button:disabled{
 opacity:.62;color:#b9aab5;border-color:#786b706e;background:linear-gradient(#38313d,#24212d);text-shadow:none;
}
body[data-view=quests] .qex-toolbar-actions .qex-find{
 border-color:#c6a478!important;background:linear-gradient(180deg,#735276,#503856 53%,#352a40)!important;
 box-shadow:inset 0 1px #f9e1b955,inset 0 -2px #150e1b88,0 3px 10px #100b1e66;
}
body[data-view=quests] .qex-toolbar-actions .qex-find:hover{background:linear-gradient(180deg,#876081,#604168 55%,#3d2c48)!important}
body[data-view=quests] .qex-toolbar-actions .qex-find img{border:1px solid #c7ae7c8c;border-radius:4px;box-shadow:0 1px 4px #07060aaa}
body[data-view=quests] .qex-toolbar-actions .qex-find kbd{background:#1b162478;border-color:#d2b38480;color:#efdfc5}

body[data-view=quests] .qex-journal>header{background:linear-gradient(150deg,#3d2d40a6,#211f2c);border-bottom:1px solid #b39b685c}
body[data-view=quests] .qex-journal h3{position:relative;padding-left:12px;color:#f3dfb9}
body[data-view=quests] .qex-journal h3::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:2px;background:#c9a66e}
body[data-view=quests] .qex-journal>header>select,body[data-view=quests] .qex-list-filters :is(input,select),body[data-view=quests] .qex-list-quick input{
 border:1px solid #7f6a7c;background:#151b28;color:#f1e8ec;border-radius:7px;box-shadow:inset 0 2px 6px #0809124d;
}
body[data-view=quests] .qex-list-quick input::placeholder,body[data-view=quests] .qex-list-filters input::placeholder{color:#a99daf;opacity:1}
body[data-view=quests] .qex-list-tools>summary{min-height:38px;display:list-item;padding:9px 11px;border-color:#8d728a99;background:linear-gradient(#292332,#1c202b);color:#e4cfa9;font-weight:600}
body[data-view=quests] .qex-list-tools[open]>summary{border-bottom-left-radius:0;border-bottom-right-radius:0;border-color:#b49973a6}
body[data-view=quests] .qex-list-filters{padding:10px 11px 12px;border:1px solid #8d728a99;border-top:0;border-radius:0 0 7px 7px;background:#191b28}
body[data-view=quests] .qex-list-filters label{color:#dbc9d7;font-weight:600}
body[data-view=quests] .qex-journal .qex-list-note{margin:10px 14px;color:#bfaec8;letter-spacing:.01em}
body[data-view=quests] .qex-journal-choice{margin-bottom:7px;border:1px solid #78627d70;background:linear-gradient(105deg,#2d2638,#201f2e);box-shadow:inset 0 1px #ffffff08}
body[data-view=quests] .qex-journal-choice:not([aria-current=true]):hover{border-color:#be9ba6;background:linear-gradient(105deg,#403145,#292431)}
body[data-view=quests] .qex-journal-choice[aria-current=true]{border-color:#d6b984;background:linear-gradient(105deg,#574052,#302a3a);box-shadow:inset 3px 0 #ebca83,inset 0 1px #ffffff14,0 2px 7px #0b081437}
body[data-view=quests] .qex-journal-choice .qex-journal-art{border-color:#a88e7399;box-shadow:0 2px 6px #08071099}
body[data-view=quests] .qex-journal-choice .qex-mark{border:1px solid #94809a59;background:#16182180;padding:2px 6px;border-radius:99px;color:#d2c0d7}
body[data-view=quests] .qex-journal nav{background:#171b26;border-top-color:#a58d6266}

body[data-view=quests] .qex-detail .qr-focus-heading{background:linear-gradient(110deg,#403044a6,#222334);border-bottom-color:#bda17480}
body[data-view=quests] .qex-detail .qr-meta{color:#d1c1d0}
body[data-view=quests] .qex-detail .qr-steps{gap:12px}
body[data-view=quests] .qex-detail .qr-steps>.qex-info-panel{padding:15px;border-color:#9f84666f;border-radius:9px;background:linear-gradient(145deg,#302738,#1e202d);box-shadow:inset 0 1px #ffffff0d,0 3px 10px #09081330}
body[data-view=quests] .qex-detail .qex-info-panel>h4{padding-bottom:9px;border-bottom:1px solid #b69b6848;color:#f0ddbb}
body[data-view=quests] .qex-detail .qex-info-objectives li{border-color:#ad967147}
body[data-view=quests] .qex-detail .qr-objective-count{border:1px solid #a488565c;background:#b3994320;color:#efd498}
body[data-view=quests] .qex-info-contacts .qex-contact-row{gap:10px}
body[data-view=quests] .qex-contact-row .qr-stage-contact{padding:11px;border:1px solid;border-radius:7px;background:#171a2480}
body[data-view=quests] .qex-contact-row .qr-pickup{border-color:#c8a96b;background:linear-gradient(145deg,#634e292c,#171a2480);box-shadow:inset 3px 0 #d8b777}
body[data-view=quests] .qex-contact-row .qr-turnin{border-color:#a88bc3;background:linear-gradient(145deg,#5b3e782e,#171a2480);box-shadow:inset 3px 0 #b798d5}
body[data-view=quests] .qex-contact-row .qr-pickup h4{color:#eed4a0}
body[data-view=quests] .qex-contact-row .qr-turnin h4{color:#e0c5f1}
body[data-view=quests] .qex-detail .qex-info-rewards .qex-rewards{color:#ecdaae}
@media(max-width:750px){
 body[data-view=quests] .qex-toolbar-actions button{min-height:44px;padding:5px 3px;font-size:11px}
 body[data-view=quests] .qex-toolbar-actions button>span{min-width:1.5ch;padding:1px 3px;margin-left:2px}
 body[data-view=quests] .qex-detail .qr-steps>.qex-info-panel{padding:12px}
 body[data-view=quests] .qex-contact-row .qr-stage-contact{padding:10px}
}

@media(max-width:750px){body[data-view=quests] .qex-list-tools>summary{min-height:44px}body[data-view=quests] .qex-toolbar-actions button{white-space:normal;overflow-wrap:anywhere}}

body[data-view=quests] .qex-detail .qex-start-progress{min-height:44px;max-width:100%;padding:9px 14px;margin:0 0 6px;text-align:left;white-space:normal;overflow-wrap:anywhere;border:1px solid #a889b5;border-radius:7px;background:linear-gradient(135deg,#483557,#2a2139);color:#f4e7f4;font-weight:700}
body[data-view=quests] .qex-detail .qex-start-progress:hover{border-color:#dac08a;background:linear-gradient(135deg,#5b4268,#362945)}
body[data-view=quests] .qex-detail .qex-start-progress:focus-visible{outline:2px solid #e1c780;outline-offset:2px}

.class-path-slim{margin:0 0 22px;padding:0;background:none;border:0;max-width:100%}
.path-focus{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px 20px;background:var(--panel,#181b25);border:1px solid var(--line,#303442);border-radius:12px}
.path-eyebrow{display:block;font-size:10px;letter-spacing:.13em;font-weight:700;color:var(--gold,#c7b48c)}
.path-focus h3{margin:5px 0 10px;font-size:17px;line-height:1.3}.path-focus h3 span{display:inline-block;margin-left:12px;color:var(--muted,#9ba2b1);font-size:11px;font-weight:500}
.path-focus p{margin:0;max-width:76ch;font-size:13px;line-height:1.6}.path-focus small{display:block;margin-top:7px;color:var(--muted,#9ba2b1)}
.path-shortcuts{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.path-shortcuts button{font-size:11px;padding:8px 10px;min-height:36px}
.path-circuit-note{margin:10px 1px 12px;color:var(--muted,#9ba2b1);font-size:12px;line-height:1.5}
.path-reference{border-top:1px solid var(--line,#303442);background:none;border-radius:0;margin:0}
.path-reference>summary,.path-quest-group>summary{display:flex;justify-content:space-between;gap:14px;cursor:pointer;padding:13px 2px;font-size:12px;font-weight:600;list-style:none}
.path-reference>summary::before,.path-quest-group>summary::before{content:'+';color:var(--muted,#9ba2b1);font-weight:400}.path-reference[open]>summary::before,.path-quest-group[open]>summary::before{content:'−'}
.path-reference>summary span,.path-quest-group>summary span{margin-left:auto;color:var(--muted,#9ba2b1);font-size:11px;font-weight:400}.path-reference>div{padding:0 2px 14px}
.path-reference p,.path-reference li{font-size:12px;line-height:1.6}.path-coverage{color:var(--muted,#9ba2b1)}
.path-stage{margin:8px 0;border:1px solid var(--line,#303442);border-radius:7px;padding:0 12px}.path-stage>summary{padding:10px 0;font-size:12px;cursor:pointer}.path-stage ol{padding-left:18px;margin:2px 0 12px}.path-stage li+li{margin-top:6px}
.path-quest-group{border-top:1px solid var(--line,#303442)}.path-quest{margin:5px 0;border:1px solid var(--line,#303442);border-radius:7px;padding:0 12px}
.path-quest>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;cursor:pointer;list-style:none}.path-quest>summary b{font-size:12px}.path-quest>summary small{display:block;font-size:10px;color:var(--muted,#9ba2b1);margin-top:3px}
.path-status{font-size:10px;color:var(--muted,#9ba2b1);white-space:nowrap}.path-quest-body{padding-bottom:13px}.path-quest-body label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.path-quest-body select{max-width:200px;min-height:34px}.path-quest-body ul{padding-left:18px}.path-quest-body a{font-size:11px}.path-quest-body small{font-size:10px;color:var(--muted,#9ba2b1)}
.path-reference summary:focus-visible,.path-stage summary:focus-visible,.path-quest summary:focus-visible,.path-quest-group summary:focus-visible{outline:2px solid var(--accent,#9b88ca);outline-offset:3px;border-radius:3px}
@media(max-width:720px){.path-focus{padding:15px;flex-direction:column;gap:12px}.path-focus h3 span{display:block;margin:5px 0 0}.path-shortcuts{width:100%}.path-shortcuts button{flex:1}.path-reference>summary span{max-width:45%;text-align:right}.path-status{white-space:normal;text-align:right;max-width:35%}}

.vr-compact .path-reference-rows{height:360px;min-height:360px;overflow:auto;scrollbar-gutter:stable}.vr-compact .path-reference-rows>.path-quest{margin:8px 0}.vr-compact .path-reference-page>.vr-reference-controls{margin:10px 0 0}

.professions-ui{font-size:14px;min-width:0}.pf-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.pf-kicker{display:block;font-size:11px;letter-spacing:.09em;font-weight:600;color:#b3a0c4}.pf-heading h2{font-size:27px;margin:6px 0}.pf-heading p{font-size:13px;color:var(--muted);line-height:1.6}.pf-prof-summary{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.pf-prof-summary span,.pf-badge{font-size:12px;border:1px solid #554265;background:#2b2236;color:#d1bce4;border-radius:6px;padding:6px 9px;line-height:1.4}.pf-tabs{display:flex;gap:4px;border-bottom:1px solid #39313f;padding-bottom:10px;margin-bottom:23px;overflow-x:auto}.pf-tabs button{border:0;background:none;color:#b1a3bf;font-size:13px;min-height:44px;white-space:nowrap;padding:10px 15px}.pf-tabs button[aria-pressed=true]{color:#e1cff2;background:#35263f}.pf-tabs small{font-size:11px;border:1px solid #635171;border-radius:4px;padding:1px 5px;margin-left:7px}.pf-section{padding:22px;border:1px solid var(--line,#38303f);background:#191820;border-radius:12px;margin:18px 0}.pf-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.pf-section-heading h3{font-size:19px;font-weight:600;margin-top:5px}.pf-section-heading button{font-size:12px;min-height:44px}.pf-primary-selectors{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:20px}.pf-primary-selectors label{font-size:12px}.pf-primary-selectors select{width:100%;font-size:14px;min-height:44px}.pf-primary-selectors p{grid-column:1/-1;color:var(--muted);font-size:12px}.pf-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pf-secondary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pf-skill-card{border:1px solid #45354f;border-radius:10px;background:linear-gradient(135deg,#292130,#1d1c28);padding:18px;min-width:0}.pf-skill-card header{display:flex;align-items:center;gap:11px;margin-bottom:16px}.pf-skill-card header>div{min-width:0;flex:1}.pf-skill-card h3{font-size:15px;line-height:1.3;margin-bottom:5px}.pf-skill-card header span{font-size:11px;color:#ac9db9}.pf-skill-card header img{width:36px;height:36px;border:1px solid #826195;flex:none}.pf-skill-card header strong{font-size:23px;color:#d6bcec;text-align:right;font-weight:600}.pf-skill-card header strong small{display:block;font-size:12px;font-weight:400;margin-top:3px;color:#a397ae}.pf-letter{display:grid!important;place-items:center;width:36px;height:36px;border-radius:6px;border:1px solid #6a507c;background:#3a2b46;color:#d1b8e3!important;font-size:12px!important;flex:none}.pf-skill-card progress{margin:0 0 17px;height:4px}.pf-skill-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pf-skill-fields label{font-size:11px;line-height:1.4;gap:6px}.pf-skill-fields input{font-size:14px;width:100%;padding:8px 7px;min-height:44px}.pf-footnote{font-size:12px;color:#ac9cb9;line-height:1.7;margin:12px 0}.pf-next{display:flex;align-items:center;gap:24px;padding:24px;border:1px solid #624673;border-radius:12px;background:linear-gradient(120deg,#32223e,#201a2a)}.pf-next>div{flex:1}.pf-next h3{font-size:21px;margin:7px 0}.pf-next p{font-size:13px;line-height:1.65;color:#baacc8}.pf-next button{flex:none;min-height:44px;background:#755397;border-color:#a180bd;font-size:13px}.pf-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.pf-metrics>div{border:1px solid #49354f;background:#231d2b;border-radius:9px;padding:17px}.pf-metrics span{display:block;font-size:12px;color:#baa8c9}.pf-metrics b{display:block;font-size:25px;color:#ddc7ed;margin:5px 0;font-weight:600}.pf-metrics small{display:block;font-size:11px;color:#a594b4;line-height:1.5}.pf-price-note{border-left:3px solid #c7a570;background:#392c231b;font-size:13px;color:#d4bf9e;padding:12px 15px;border-radius:0 6px 6px 0;line-height:1.6}.pf-warning{font-size:12px;color:#d7b68d;line-height:1.6}.pf-recipe-search{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:12px;align-items:end}.pf-recipe-search label{font-size:12px}.pf-recipe-search input,.pf-recipe-search select{font-size:13px;width:100%;min-height:44px}.pf-recipe-search button{font-size:13px;min-height:44px;padding:10px 15px}.pf-recipe-filters{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:18px 0 21px}.pf-recipe-filters label{display:flex;gap:8px;align-items:center;font-size:12px;cursor:pointer;min-height:36px}.pf-recipe-filters input{margin:0;width:17px;height:17px}.pf-recipe-filters>span{font-size:12px;color:#a28eaf;margin-left:auto}.pf-recipes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pf-recipe-card{padding:18px;background:#211b29;border:1px solid #48354f;border-radius:10px;min-width:0}.pf-recipe-card header{display:flex;justify-content:space-between;gap:12px;align-items:start}.pf-recipe-card header>div{min-width:0;flex:1}.pf-recipe-card h4{font-size:15px;margin:6px 0}.pf-recipe-card h4 a{color:#d9c3e9;line-height:1.4;overflow-wrap:anywhere}.pf-recipe-card header p{font-size:12px;color:#a997b8}.pf-recipe-card .pf-badge{font-size:11px;padding:4px 6px}.pf-badge.is-known{color:#afcfb9;border-color:#537159;background:#293930}.pf-ingredients{font-size:12px;line-height:1.75;color:#bcacca;padding:14px 0;border-bottom:1px solid #46334f;margin-bottom:14px}.pf-recipe-card footer{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap}.pf-recipe-card footer label{display:flex;align-items:center;gap:7px;font-size:12px;min-height:40px}.pf-recipe-card footer input{margin:0}.pf-recipe-card footer button{font-size:12px;min-height:44px;padding:9px 11px;background:#3f2b50;border-color:#735386;color:#dfc7ef}.pf-queue-row{display:flex;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid #3e3148}.pf-queue-row:last-child{border:0}.pf-queue-row>div{flex:1;min-width:0}.pf-queue-row h4{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.pf-queue-row p{font-size:12px;color:#a593b4;line-height:1.6;margin-top:5px}.pf-queue-row label{font-size:11px;width:85px;flex:none}.pf-queue-row input{width:85px;min-height:44px;font-size:14px}.pf-remove{min-height:44px;font-size:12px;background:transparent;color:#c6a8bc;border-color:#664457}.pf-table-wrap{max-width:100%;overflow-x:auto;margin-top:16px}.pf-materials{min-width:680px;font-size:13px}.pf-materials th{font-size:12px;font-weight:500;padding:12px 9px;color:#ab98bb;white-space:nowrap}.pf-materials td{padding:13px 9px;vertical-align:middle;border-bottom:1px solid #3c2e45}.pf-materials td:first-child{min-width:145px;max-width:260px}.pf-materials a{color:#ceb5e0}.pf-materials small{display:block;font-size:11px;color:#8b799b;margin-top:5px}.pf-materials input{width:95px;min-height:44px;padding:9px;font-size:13px}.pf-materials .is-short td:nth-child(4) b{color:#dfbf8d;font-weight:500}.pf-materials .is-covered td:nth-child(4) b{color:#a6cbb5;font-weight:500}.pf-empty{grid-column:1/-1;border:1px dashed #4c3a59;border-radius:9px;padding:32px 24px;text-align:center;color:#cfb9df}.pf-empty b{font-size:16px;font-weight:550}.pf-empty p{font-size:13px;line-height:1.6;color:#a896b7;margin:9px auto 0;max-width:460px}.pf-disclaimer{font-size:12px;line-height:1.7;color:#9a89ac;margin:24px 0 8px}
@media(max-width:1200px){.pf-secondary-grid{grid-template-columns:1fr}.pf-skill-card header strong small{display:inline;margin-left:5px}.pf-skill-card header{margin-bottom:13px}.pf-recipe-search{grid-template-columns:1fr 1fr}.pf-recipe-search button{grid-column:1/-1}.pf-skill-card{padding:15px}.pf-recipes{grid-template-columns:1fr}}@media(max-width:650px){.pf-heading{align-items:start;flex-direction:column;gap:13px}.pf-heading h2{font-size:23px}.pf-prof-summary{justify-content:start}.pf-tabs button{padding:10px 11px;font-size:12px}.pf-section{padding:16px}.pf-section-heading{align-items:start;flex-wrap:wrap;gap:10px}.pf-section-heading h3{font-size:17px}.pf-primary-selectors,.pf-skill-grid,.pf-metrics,.pf-recipe-search{grid-template-columns:1fr}.pf-skill-card{padding:17px}.pf-skill-card header strong small{display:block;margin-left:0}.pf-next{flex-direction:column;align-items:start;padding:19px;gap:17px}.pf-next h3{font-size:18px}.pf-next button{width:100%}.pf-metrics{gap:9px}.pf-metrics>div{padding:13px 16px}.pf-metrics b{font-size:23px}.pf-metrics small{font-size:12px}.pf-queue-row{flex-wrap:wrap;gap:12px}.pf-queue-row>div{flex-basis:100%}.pf-queue-row label{flex:1;width:auto}.pf-queue-row input{width:100%}.pf-remove{align-self:end}.pf-recipe-filters{gap:9px 15px}.pf-recipe-filters>span{margin-left:0;flex-basis:100%}.pf-section-heading .pf-badge{font-size:11px}.pf-materials{min-width:645px}}
.pf-advice,.pf-transition,.pf-stock-tracker,.pf-intermediates{margin-top:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.pf-advice{padding:20px}.pf-advice>p{font-size:13px;margin:12px 0;color:var(--muted)}.pf-advice details>p{padding:0 16px 12px;font-size:12px}.pf-transition-body,.pf-stock-tracker>div,.pf-intermediates>div{padding:0 20px 20px}.pf-transition-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.pf-transition-fields label{min-width:0}.pf-transition-fields input,.pf-transition-fields select{width:100%}.pf-bank-search{display:flex;gap:12px;align-items:end;margin:16px 0}.pf-bank-search label{flex:1}.pf-bank-search button{min-height:42px}.pf-stock-tracker td input{width:120px}.pf-ready{color:var(--green);font-size:12px}.pf-intermediates p{font-size:12px;color:var(--muted);margin:12px 0}.pf-intermediates button{margin:12px 0}@media(max-width:650px){.pf-transition-fields{grid-template-columns:1fr 1fr}.pf-bank-search{display:grid}.pf-stock-tracker td input{width:95px}}@media(max-width:800px){}

.vr-compact .professions-ui .pf-recipes,.vr-compact .professions-ui .pf-queue{height:420px;min-height:420px;overflow:auto;scrollbar-gutter:stable;align-content:start}.vr-compact .professions-ui .pf-recipes>.pf-empty,.vr-compact .professions-ui .pf-queue>.pf-empty{min-height:350px;display:flex;flex-direction:column;justify-content:center}.vr-compact .professions-ui .pf-materials-page>.pf-table-wrap{height:340px;min-height:340px;overflow:auto;scrollbar-gutter:stable}.vr-compact .professions-ui .pf-materials-page>.pf-empty{height:340px;min-height:340px;display:flex;flex-direction:column;justify-content:center}

/* Journey-first companion: local profession context, with explicit skill editing. */
.professions-ui .pf-heading{margin-bottom:14px;gap:16px}
.professions-ui .pf-heading h2{font-size:24px;line-height:1.25}
.professions-ui .pf-focus-rail{display:flex;gap:6px;max-width:100%;overflow:auto;padding:2px 2px 12px;scrollbar-gutter:stable}
.professions-ui .pf-focus-rail button{display:flex;flex-direction:column;align-items:start;justify-content:center;gap:5px;flex:0 0 150px;min-height:64px;padding:10px 12px;text-align:left;background:#151a24;border:1px solid #363341;color:#d7d0c7;border-radius:6px;line-height:1.3}
.professions-ui .pf-focus-rail button span{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.professions-ui .pf-focus-rail button small{font-size:12px;color:#aaa3b3}
.professions-ui .pf-focus-rail button[aria-pressed=true]{background:#2b2634;border-color:#ac9167;box-shadow:inset 3px 0 #c8aa79;color:#f1dfbd}
.professions-ui .pf-focus-rail button:focus-visible,.professions-ui .pf-context-actions button:focus-visible,.professions-ui .pf-skill-setup>summary:focus-visible{outline:2px solid #dfc596;outline-offset:3px}
.professions-ui .pf-tabs{margin-bottom:16px;padding-bottom:6px}
.professions-ui .pf-context{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(200px,1fr) minmax(200px,.75fr);align-items:center;gap:24px;min-height:174px;padding:22px 24px;background:linear-gradient(110deg,#262330,#181d27);border:1px solid #443d4b;border-radius:8px}
.professions-ui .pf-context>*{min-width:0}
.professions-ui .pf-context h3{font-size:26px;line-height:1.25;margin:7px 0;color:#ead4ad;overflow-wrap:anywhere}
.professions-ui .pf-context p{font-size:13px;line-height:1.6;color:#b7adbf;margin:6px 0 0;max-width:44ch}
.professions-ui .pf-context-progress>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.professions-ui .pf-context-progress strong{font-size:28px;color:#eee3d1;font-weight:600;font-variant-numeric:tabular-nums}
.professions-ui .pf-context-progress strong small,.professions-ui .pf-context-progress span{font-size:14px;color:#bbb1c3;font-weight:400}
.professions-ui .pf-context-progress progress{display:block;width:100%;height:6px;margin:12px 0}
.professions-ui .pf-context-progress>small{display:block;font-size:12px;line-height:1.5;color:#b7adbf}
.professions-ui .pf-context-actions{display:grid;gap:8px}
.professions-ui .pf-context-actions button{min-height:44px;white-space:normal;line-height:1.4;padding:9px 12px;font-size:13px;background:#302a3a;border-color:#65566e;color:#e9dcc5}
.professions-ui .pf-context-actions button+button{background:transparent;color:#c0b4ca;border-color:#48404f}
.professions-ui .pf-skill-setup{margin:14px 0;border:1px solid #38333f;border-radius:6px;background:#171c25}
.professions-ui .pf-skill-setup>summary{display:flex;align-items:center;gap:16px;justify-content:space-between;min-height:48px;padding:12px 16px;font-size:14px;font-weight:600;color:#d9cbb6;cursor:pointer;list-style:revert}
.professions-ui .pf-skill-setup>summary span{font-size:12px;line-height:1.4;color:#aaa0b4;font-weight:400}
.professions-ui .pf-setup-body{padding:8px 16px 16px}
.professions-ui .pf-setup-body .pf-section{margin:14px 0 0;padding:16px;border-color:#38333f;background:#1b1d28}
.professions-ui .pf-setup-body .pf-section-heading{margin-bottom:14px}
.professions-ui .pf-setup-body .pf-section-heading h3{font-size:16px;margin:0}
.professions-ui .pf-overview-next{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 4px;border-bottom:1px solid #38333f}
.professions-ui .pf-overview-next h3{font-size:18px;line-height:1.4;margin:5px 0}
.professions-ui .pf-overview-next p{font-size:13px;line-height:1.6;color:#afa5ba;margin:5px 0 0;max-width:65ch}
.professions-ui .pf-overview-next button{flex:none;min-height:44px;font-size:13px}
@media(max-width:1100px){.professions-ui .pf-context{grid-template-columns:minmax(0,1fr) minmax(200px,1fr);gap:18px}.professions-ui .pf-context-actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.professions-ui .pf-overview-next{align-items:start;flex-wrap:wrap}}
@media(max-width:650px){.professions-ui .pf-context{grid-template-columns:1fr;padding:18px}.professions-ui .pf-context-actions{grid-template-columns:1fr}.professions-ui .pf-skill-setup>summary{align-items:start;flex-direction:column;gap:4px}}
/* Professions workbench: compact, direct controls and image-led profession navigation. */
body[data-view="professions"] #viewContent,
body[data-view="professions"] #vr-task-panel {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.professions-ui.pf-screen {
  --pf-bg: #1a202a;
  --pf-panel: #202630;
  --pf-line: #3b3c48;
  --pf-gold: #dfc493;
  --pf-text: #ded9d2;
  --pf-muted: #a8a0b4;
  --pf-purple: #8e6dad;
  --pf-green: #9dc7ae;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--pf-text);
  font-size: 12px;
  line-height: 1.4;
}
.professions-ui.pf-screen *,
.professions-ui.pf-screen *::before,
.professions-ui.pf-screen *::after { box-sizing: border-box; }
.professions-ui.pf-screen h2,
.professions-ui.pf-screen h3,
.professions-ui.pf-screen h4,
.professions-ui.pf-screen p { margin: 0; }
.professions-ui.pf-screen button,
.professions-ui.pf-screen input {
  font: inherit;
  color: var(--pf-text);
}
.professions-ui.pf-screen button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #4d4558;
  border-radius: 5px;
  background: #292532;
  cursor: pointer;
  line-height: 1.3;
}
.professions-ui.pf-screen button:hover:not(:disabled) {
  background: #37303f;
  border-color: #8d769b;
}
.professions-ui.pf-screen button[aria-pressed="true"],
.professions-ui.pf-screen button.is-active {
  border-color: #b698cb;
  background: #3b2e49;
  color: #f0dffb;
}
.professions-ui.pf-screen button:disabled { cursor: default; opacity: .46; }
.professions-ui.pf-screen :is(button, input, a):focus-visible {
  outline: 2px solid var(--pf-gold);
  outline-offset: 2px;
}
.professions-ui.pf-screen input:not([type="checkbox"]) {
  height: 32px;
  min-height: 32px;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid #49414f;
  border-radius: 4px;
  background: #171c25;
  font-variant-numeric: tabular-nums;
}
.professions-ui.pf-screen input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-height: 0;
  margin: 0;
  accent-color: #a17db8;
  flex: none;
}
.professions-ui.pf-screen a { color: #d8c4e6; text-decoration-color: #6f5b82; }
.professions-ui.pf-screen a:hover { color: #f0dffb; }
.professions-ui.pf-screen small { color: var(--pf-muted); }

/* The heading and every profession remain visible above the workbench. */
.professions-ui.pf-screen .pf-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.professions-ui.pf-screen .pf-topline h2 {
  font: 23px/1.15 Georgia, "Times New Roman", serif;
  color: var(--pf-gold);
}
.professions-ui.pf-screen .pf-kicker {
  display: block;
  margin: 0 0 3px;
  color: #b89e75;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.professions-ui.pf-screen .pf-topline p { margin-top: 3px; color: var(--pf-muted); font-size: 11px; }
.professions-ui.pf-screen .pf-screen-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.professions-ui.pf-screen .pf-screen-tabs button { min-height: 32px; padding: 6px 11px; background: #1c212b; }
.professions-ui.pf-screen .pf-screen-tabs button[aria-pressed="true"] { background: #35293f; border-color: #a986bc; }
.professions-ui.pf-screen .pf-screen-tabs small {
  margin-left: 5px;
  padding: 1px 4px;
  border-radius: 3px;
  background: #46324f;
  color: #d6c1e4;
  font-size: 10px;
}
.professions-ui.pf-screen .pf-focus-rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: visible;
  scrollbar-gutter: auto;
}
.professions-ui.pf-screen .pf-focus-rail button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  min-width: 0;
  min-height: 86px;
  padding: 7px 3px 6px;
  border-color: #393b46;
  background: linear-gradient(145deg, #242933, #1c212b);
  text-align: center;
  box-shadow: none;
}
.professions-ui.pf-screen .pf-focus-rail button img {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid #77707b;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 1px 5px #0008;
}
.professions-ui.pf-screen .pf-focus-rail button span {
  display: block;
  max-width: 100%;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: normal;
}
.professions-ui.pf-screen .pf-focus-rail button small { font-size: 10px; line-height: 1.1; color: #aaa1b1; }
.professions-ui.pf-screen .pf-focus-rail button[aria-pressed="true"] {
  border-color: #b799d0;
  background: linear-gradient(145deg, #413149, #272330);
  box-shadow: inset 0 -2px #b894d0;
  color: #f2e0f6;
}
.professions-ui.pf-screen .pf-focus-rail button[aria-pressed="true"] img { border-color: var(--pf-gold); }

/* A narrow skill column, two recipe columns and a compact plan column. */
.professions-ui.pf-screen .pf-workbench {
  display: grid;
  grid-template-columns: minmax(205px, .8fr) minmax(330px, 1.4fr) minmax(340px, 1.15fr);
  gap: 10px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.professions-ui.pf-screen .pf-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 7px;
  background: linear-gradient(125deg, #222733, #1b222c);
}
.professions-ui.pf-screen .pf-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 8px;
  min-height: 43px;
  padding: 10px 12px;
  border-bottom: 1px solid #3a3743;
  background: #25233065;
}
.professions-ui.pf-screen .pf-panel-heading h3 {
  min-width: 0;
  color: var(--pf-gold);
  font: 17px/1.2 Georgia, "Times New Roman", serif;
}
.professions-ui.pf-screen .pf-panel-heading > :is(span, small) {
  color: #b89e75;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
}
.professions-ui.pf-screen .pf-panel-heading button { min-height: 27px; padding: 3px 8px; font-size: 10px; }
.professions-ui.pf-screen .pf-skill-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  padding: 15px 13px;
  overflow: auto;
}
.professions-ui.pf-screen .pf-context-icon {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.professions-ui.pf-screen .pf-context-icon img {
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid #a58b66;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 2px 8px #0007;
}
.professions-ui.pf-screen .pf-context-icon h3 { font: 20px/1.2 Georgia, "Times New Roman", serif; color: #ead4ad; }
.professions-ui.pf-screen .pf-context-icon p { margin-top: 4px; color: var(--pf-muted); font-size: 11px; }
.professions-ui.pf-screen .pf-progress { min-width: 0; }
.professions-ui.pf-screen .pf-progress > div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.professions-ui.pf-screen .pf-progress strong { font-size: 25px; line-height: 1.2; color: #e9dcc5; font-weight: 500; }
.professions-ui.pf-screen .pf-progress strong small { font-size: 13px; font-weight: 400; }
.professions-ui.pf-screen .pf-progress span { font-size: 11px; color: #baabc8; }
.professions-ui.pf-screen progress {
  display: block;
  width: 100%;
  height: 5px;
  margin: 8px 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #383240;
  accent-color: #aa87c6;
}
.professions-ui.pf-screen progress::-webkit-progress-bar { background: #383240; }
.professions-ui.pf-screen progress::-webkit-progress-value { background: linear-gradient(90deg, #806198, #b18bca); }
.professions-ui.pf-screen .pf-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.professions-ui.pf-screen .pf-inline-fields label,
.professions-ui.pf-screen .pf-transition-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  color: var(--pf-muted);
  font-size: 11px;
}
.professions-ui.pf-screen .pf-inline-fields input { width: 100%; }
.professions-ui.pf-screen .pf-rank-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.professions-ui.pf-screen .pf-rank-buttons button { padding: 7px 5px; font-size: 11px; }
.professions-ui.pf-screen .pf-slot-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.professions-ui.pf-screen .pf-slot-buttons button { padding: 7px 5px; font-size: 11px; }
.professions-ui.pf-screen .pf-note { color: #aaa1b6; font-size: 11px; line-height: 1.5; }
.professions-ui.pf-screen .pf-note strong { color: #d7c2a2; font-weight: 500; }
.professions-ui.pf-screen .pf-skill-body > .pf-note:last-child { margin-top: auto; padding-top: 4px; }

/* Recipe cards keep the artwork, requirements and add action in view. */
.professions-ui.pf-screen .pf-search { display: flex; gap: 7px; padding: 10px 11px 0; flex: none; }
.professions-ui.pf-screen .pf-search label { display: block; flex: 1; min-width: 0; }
.professions-ui.pf-screen .pf-search input { width: 100%; }
.professions-ui.pf-screen .pf-search button { flex: none; }
.professions-ui.pf-screen .pf-recipe-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 13px;
  flex: none;
  margin: 0;
  padding: 8px 12px;
}
.professions-ui.pf-screen .pf-recipe-filters label { display: flex; align-items: center; gap: 5px; min-height: 21px; font-size: 11px; cursor: pointer; }
.professions-ui.pf-screen .pf-recipe-filters > span { margin-left: auto; font-size: 10px; color: var(--pf-muted); }
.professions-ui.pf-screen .pf-recipes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  gap: 9px;
  flex: 1;
  height: auto;
  min-height: 0;
  padding: 0 11px;
  overflow: auto;
  scrollbar-gutter: auto;
}
.professions-ui.pf-screen .pf-recipe-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  min-height: 0;
  padding: 11px;
  border: 1px solid #443c4d;
  border-radius: 5px;
  background: linear-gradient(145deg, #2c2633, #212530);
  overflow: hidden;
}
.professions-ui.pf-screen .pf-recipe-card header { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.professions-ui.pf-screen .pf-recipe-card header > img,
.professions-ui.pf-screen .pf-recipe-card header img {
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid #8b7898;
  border-radius: 4px;
  object-fit: cover;
}
.professions-ui.pf-screen .pf-recipe-card header > div { flex: 1; min-width: 0; }
.professions-ui.pf-screen .pf-recipe-card h4 { font-size: 12px; font-weight: 600; line-height: 1.35; }
.professions-ui.pf-screen .pf-recipe-card h4 a { color: #e6d6ed; overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-recipe-card header p { margin-top: 3px; color: #aaa1b4; font-size: 10px; }
.professions-ui.pf-screen .pf-badge { min-height: 0; padding: 2px 5px; border-color: #6d577c; font-size: 9px; white-space: nowrap; }
.professions-ui.pf-screen .pf-badge.is-known { color: #b7d3bf; border-color: #536b5d; background: #293a32; }
.professions-ui.pf-screen .pf-ingredients {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  color: #b8afc2;
  font-size: 11px;
  line-height: 1.5;
  overflow: auto;
}
.professions-ui.pf-screen .pf-ingredients p { display: flex; align-items: center; gap: 5px; }
.professions-ui.pf-screen .pf-ingredients img { width: 18px; height: 18px; flex: none; border-radius: 3px; }
.professions-ui.pf-screen .pf-recipe-card footer { display: flex; align-items: center; justify-content: space-between; gap: 5px; flex-wrap: nowrap; padding-top: 7px; border-top: 1px solid #443b4b; }
.professions-ui.pf-screen .pf-recipe-card footer label { display: flex; align-items: center; gap: 5px; min-height: 28px; font-size: 10px; }
.professions-ui.pf-screen .pf-recipe-card footer button { min-height: 29px; padding: 5px 9px; font-size: 11px; background: #483553; border-color: #8b6d9e; color: #ecdaf5; }

/* Queue and stock remain together as a single planning column. */
.professions-ui.pf-screen .pf-plan-panel {
  display: grid;
  grid-template-rows: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 10px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.professions-ui.pf-screen .pf-queue {
  flex: 1;
  height: auto;
  min-height: 0;
  padding: 0 11px;
  overflow: auto;
  scrollbar-gutter: auto;
}
.professions-ui.pf-screen .pf-queue-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 45px;
  padding: 7px 0;
  border-bottom: 1px solid #3d3744;
}
.professions-ui.pf-screen .pf-queue-row:last-child { border-bottom: 0; }
.professions-ui.pf-screen .pf-queue-row > img,
.professions-ui.pf-screen .pf-queue-row > div > img { width: 28px; height: 28px; flex: none; border: 1px solid #76627f; border-radius: 3px; object-fit: cover; }
.professions-ui.pf-screen .pf-queue-row > div { flex: 1; min-width: 0; }
.professions-ui.pf-screen .pf-queue-row h4 { font-size: 11px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-queue-row p { margin: 2px 0 0; font-size: 10px; color: var(--pf-muted); line-height: 1.3; }
.professions-ui.pf-screen .pf-queue-row label { display: flex; flex-direction: column; gap: 2px; width: 46px; flex: none; color: var(--pf-muted); font-size: 9px; }
.professions-ui.pf-screen .pf-queue-row input { width: 46px; min-height: 28px; height: 28px; padding: 3px 4px; font-size: 11px; }
.professions-ui.pf-screen .pf-queue-row button { min-height: 28px; padding: 4px 6px; font-size: 10px; background: transparent; color: #c8a7bd; border-color: #61495d; }
.professions-ui.pf-screen .pf-table-wrap {
  flex: 1;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 8px;
  overflow: auto;
  scrollbar-gutter: auto;
}
.professions-ui.pf-screen .pf-table-wrap table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 10px;
}
.professions-ui.pf-screen .pf-table-wrap th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 7px 3px;
  background: #222630;
  color: #aa9bb6;
  font-size: 9px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}
.professions-ui.pf-screen .pf-table-wrap td { padding: 6px 3px; border-bottom: 1px solid #393441; text-align: right; vertical-align: middle; }
.professions-ui.pf-screen .pf-table-wrap :is(th, td):first-child { width: 37%; min-width: 0; max-width: none; text-align: left; }
.professions-ui.pf-screen .pf-table-wrap :is(th, td):nth-child(2) { width: 9%; }
.professions-ui.pf-screen .pf-table-wrap :is(th, td):nth-child(3) { width: 14%; }
.professions-ui.pf-screen .pf-table-wrap :is(th, td):nth-child(4) { width: 9%; }
.professions-ui.pf-screen .pf-table-wrap :is(th, td):nth-child(5) { width: 17%; }
.professions-ui.pf-screen .pf-table-wrap :is(th, td):nth-child(6) { width: 14%; }
.professions-ui.pf-screen .pf-table-wrap td:first-child > :is(a, span, div) { display: flex; align-items: center; gap: 5px; overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-table-wrap td img { display: inline-block; width: 24px; height: 24px; flex: none; vertical-align: middle; border: 1px solid #62576e; border-radius: 3px; object-fit: cover; }
.professions-ui.pf-screen .pf-table-wrap input { width: 100%; min-height: 27px; height: 27px; padding: 3px; border-color: #49404e; font-size: 10px; text-align: right; }
.professions-ui.pf-screen .pf-table-wrap small { display: block; margin-top: 2px; font-size: 9px; }
.professions-ui.pf-screen .pf-table-wrap b { font-weight: 500; font-variant-numeric: tabular-nums; }
.professions-ui.pf-screen .pf-table-wrap .is-short td:nth-child(4) b { color: #dfbf8d; }
.professions-ui.pf-screen .pf-table-wrap .is-covered td:nth-child(4) b { color: var(--pf-green); }
.professions-ui.pf-screen .pf-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 7px;
  padding: 8px 11px;
  border-top: 1px solid #3d3744;
  color: var(--pf-muted);
  font-size: 10px;
}
.professions-ui.pf-screen .pf-totals strong,
.professions-ui.pf-screen .pf-totals b { color: var(--pf-gold); font-size: 13px; font-weight: 500; }
.professions-ui.pf-screen .pf-totals > div { display: flex; flex-direction: column; gap: 1px; }
.professions-ui.pf-screen .vr-reference-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 5px;
  min-height: 39px;
  margin: 0;
  padding: 5px 10px;
  color: var(--pf-muted);
  font-size: 10px;
}
.professions-ui.pf-screen .vr-reference-controls button { min-height: 27px; min-width: 28px; padding: 4px 8px; font-size: 11px; }
.professions-ui.pf-screen .vr-reference-controls > div { display: flex; align-items: center; gap: 5px; }
.professions-ui.pf-screen .pf-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  height: auto;
  min-height: 0;
  margin: 9px;
  padding: 14px;
  border: 1px dashed #4c4257;
  border-radius: 5px;
  color: #d1bedf;
  text-align: center;
}
.professions-ui.pf-screen .pf-empty b { font-size: 13px; font-weight: 500; }
.professions-ui.pf-screen .pf-empty p { max-width: 35ch; margin: 7px auto 0; font-size: 11px; line-height: 1.5; color: var(--pf-muted); }
.professions-ui.pf-screen .pf-recipes > .pf-empty,
.professions-ui.pf-screen .pf-queue > .pf-empty,
.professions-ui.pf-screen .pf-materials-page > .pf-empty { height: auto; min-height: 0; }
.professions-ui.pf-screen .pf-materials-page > .pf-table-wrap { height: auto; min-height: 0; }
.professions-ui.pf-screen .pf-disclaimer { min-height: 0; margin: 0; color: #988da3; font-size: 10px; line-height: 1.4; }
.professions-ui.pf-screen .pf-warning,
.professions-ui.pf-screen [role="alert"] { color: #dfbd89; font-size: 11px; line-height: 1.45; }
.professions-ui.pf-screen .pf-ready { color: var(--pf-green); font-size: 11px; }

/* Other direct tabs use the same bounded panel grammar. */
.professions-ui.pf-screen .pf-secondary-view { display: grid; gap: 10px; min-width: 0; min-height: 0; overflow: hidden; }
.professions-ui.pf-screen .pf-reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; min-height: 0; overflow: auto; align-content: start; }
.professions-ui.pf-screen .pf-reference-grid > .pf-panel { min-height: 180px; }
.professions-ui.pf-screen .pf-reference-grid .pf-panel > :not(.pf-panel-heading) { margin: 11px 12px; }
.professions-ui.pf-screen .pf-transition-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 12px; }
.professions-ui.pf-screen .pf-transition-fields input { width: 100%; }
.professions-ui.pf-screen .pf-secondary-view .pf-note { padding: 0 12px 12px; }

/* A 1366px screen keeps the complete workbench without shrinking the artwork. */
@media (max-width: 1450px) {
  .professions-ui.pf-screen { gap: 8px; font-size: 11px; }
  .professions-ui.pf-screen .pf-workbench { grid-template-columns: minmax(190px, .78fr) minmax(305px, 1.35fr) minmax(325px, 1.15fr); gap: 8px; }
  .professions-ui.pf-screen .pf-focus-rail { gap: 4px; }
  .professions-ui.pf-screen .pf-focus-rail button { min-height: 80px; padding: 5px 2px; }
  .professions-ui.pf-screen .pf-focus-rail button span { font-size: 10px; }
  .professions-ui.pf-screen .pf-focus-rail button small { font-size: 9px; }
  .professions-ui.pf-screen .pf-topline h2 { font-size: 21px; }
  .professions-ui.pf-screen .pf-screen-tabs button { padding: 5px 8px; font-size: 11px; }
  .professions-ui.pf-screen .pf-skill-body { gap: 12px; padding: 12px 10px; }
  .professions-ui.pf-screen .pf-panel-heading { min-height: 39px; padding: 9px 10px; }
  .professions-ui.pf-screen .pf-panel-heading h3 { font-size: 16px; }
  .professions-ui.pf-screen .pf-recipe-card { padding: 9px; gap: 7px; }
  .professions-ui.pf-screen .pf-recipes { gap: 7px; padding: 0 9px; }
  .professions-ui.pf-screen .pf-recipe-card h4 { font-size: 11px; }
  .professions-ui.pf-screen .pf-recipe-card footer button { padding: 4px 7px; }
  .professions-ui.pf-screen .pf-ingredients { font-size: 10px; }
  .professions-ui.pf-screen .pf-plan-panel { gap: 8px; }
  .professions-ui.pf-screen .pf-context-icon { gap: 8px; }
  .professions-ui.pf-screen .pf-context-icon h3 { font-size: 18px; }
}
@media (max-height: 820px) and (min-width: 1051px) {
  .professions-ui.pf-screen { gap: 7px; }
  .professions-ui.pf-screen .pf-focus-rail button { min-height: 74px; }
  .professions-ui.pf-screen .pf-focus-rail button img { width: 32px; height: 32px; }
  .professions-ui.pf-screen .pf-skill-body { gap: 10px; }
  .professions-ui.pf-screen .pf-context-icon img { width: 46px; height: 46px; }
  .professions-ui.pf-screen .pf-rank-buttons button,
  .professions-ui.pf-screen .pf-slot-buttons button { min-height: 29px; padding: 5px; }
  .professions-ui.pf-screen .pf-queue-row { min-height: 39px; padding: 5px 0; }
  .professions-ui.pf-screen .pf-disclaimer { font-size: 9px; }
}
@media (max-width: 1050px) {
  .professions-ui.pf-screen .pf-focus-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .professions-ui.pf-screen .pf-focus-rail button { flex-direction: row; justify-content: flex-start; gap: 6px; min-height: 47px; padding: 5px 7px; text-align: left; }
  .professions-ui.pf-screen .pf-focus-rail button img { width: 28px; height: 28px; }
  .professions-ui.pf-screen .pf-focus-rail button small { margin-left: auto; }
  .professions-ui.pf-screen .pf-workbench { grid-template-columns: minmax(175px, .7fr) minmax(285px, 1.2fr) minmax(280px, 1fr); overflow: auto; }
  .professions-ui.pf-screen .pf-reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .professions-ui.pf-screen .pf-topline { align-items: flex-start; }
  .professions-ui.pf-screen .pf-topline p { display: none; }
  .professions-ui.pf-screen .pf-screen-tabs { gap: 4px; max-width: 65%; }
  .professions-ui.pf-screen .pf-screen-tabs button { min-height: 29px; font-size: 10px; padding: 5px 7px; }
  .professions-ui.pf-screen .pf-focus-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .professions-ui.pf-screen .pf-focus-rail button { flex-direction: column; gap: 3px; min-height: 65px; padding: 4px 2px; text-align: center; }
  .professions-ui.pf-screen .pf-focus-rail button small { margin: 0; }
  .professions-ui.pf-screen .pf-focus-rail button span { font-size: 9px; }
  .professions-ui.pf-screen .pf-workbench { grid-template-columns: minmax(175px, .65fr) minmax(295px, 1.2fr); grid-auto-rows: minmax(350px, 1fr); align-content: start; overflow: auto; }
  .professions-ui.pf-screen .pf-plan-panel { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(260px, 1fr); }
  .professions-ui.pf-screen .pf-reference-grid { grid-template-columns: 1fr; }
  .professions-ui.pf-screen .pf-transition-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .professions-ui.pf-screen { gap: 6px; }
  .professions-ui.pf-screen .pf-topline { gap: 6px; }
  .professions-ui.pf-screen .pf-topline h2 { font-size: 18px; }
  .professions-ui.pf-screen .pf-screen-tabs { max-width: 70%; }
  .professions-ui.pf-screen .pf-screen-tabs button { font-size: 9px; padding: 4px 6px; }
  .professions-ui.pf-screen .pf-workbench { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .professions-ui.pf-screen .pf-skill-body { display: grid; grid-template-columns: 1fr 1fr; }
  .professions-ui.pf-screen .pf-skill-body > .pf-note { grid-column: 1 / -1; }
  .professions-ui.pf-screen .pf-recipe-panel { min-height: 440px; }
  .professions-ui.pf-screen .pf-plan-panel { grid-template-columns: 1fr; grid-template-rows: minmax(240px, 1fr) minmax(280px, 1fr); }
  .professions-ui.pf-screen .pf-transition-fields { grid-template-columns: 1fr; }
}

/* Append after professions-compact.css. Keep picture tabs horizontal at every size. */
.professions-ui.pf-screen .pf-screen-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.professions-ui.pf-screen .pf-screen-tabs button img {
  width: 20px;
  height: 20px;
  flex: none;
  object-fit: cover;
  border: 1px solid #74637d;
  border-radius: 3px;
}
.professions-ui.pf-screen .pf-screen-tabs button > span { white-space: nowrap; }
.professions-ui.pf-screen:has(> .pf-calculation-notice) {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}
.professions-ui.pf-screen .pf-calculation-notice {
  padding: 5px 9px;
  border-left: 2px solid #ad89c5;
  background: #362b405c;
  color: #d8c6e4;
  font-size: 10px;
  line-height: 1.35;
}
.professions-ui.pf-screen .pf-rank-label {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  color: #b7a7c3;
  font-size: 10px;
}
.professions-ui.pf-screen .pf-rank-buttons button > span,
.professions-ui.pf-screen .pf-rank-buttons button > b { display: block; }
.professions-ui.pf-screen .pf-rank-buttons button > b { margin-top: 2px; color: #d7bfdf; font-size: 10px; font-weight: 500; }
.professions-ui.pf-screen .pf-slot-buttons button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-align: left;
}
.professions-ui.pf-screen .pf-slot-buttons button img { width: 24px; height: 24px; flex: none; object-fit: cover; border-radius: 3px; }
.professions-ui.pf-screen .pf-slot-buttons button > span { min-width: 0; font-size: 9px; color: #b7a7c3; }
.professions-ui.pf-screen .pf-slot-buttons button b { display: block; color: #dbcedf; font-size: 10px; font-weight: 500; overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-primary-slots { display: grid; gap: 5px; }
.professions-ui.pf-screen .pf-primary-slot { display: flex; align-items: stretch; gap: 3px; min-width: 0; }
.professions-ui.pf-screen .pf-primary-slot > button:first-child { flex: 1; min-width: 0; }
.professions-ui.pf-screen .pf-primary-slot > button.pf-slot-clear {
  justify-content: center;
  flex: none;
  width: 20px;
  min-width: 20px;
  padding: 2px;
  color: #c5a8bd;
  border-color: #634b5f;
  font-size: 13px;
  text-align: center;
}
.professions-ui.pf-screen .pf-skill-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.professions-ui.pf-screen .pf-skill-actions button { flex: 1; font-size: 10px; }
.professions-ui.pf-screen .pf-result-count { flex: none; padding: 0 11px 4px; color: #a99db5; font-size: 10px; line-height: 1.35; }
.professions-ui.pf-screen .pf-material-panel .pf-table-wrap :is(th, td):first-child { width: 42%; }
.professions-ui.pf-screen .pf-material-panel .pf-table-wrap :is(th, td):nth-child(2) { width: 9%; }
.professions-ui.pf-screen .pf-material-panel .pf-table-wrap :is(th, td):nth-child(3) { width: 17%; }
.professions-ui.pf-screen .pf-material-panel .pf-table-wrap :is(th, td):nth-child(4) { width: 10%; }
.professions-ui.pf-screen .pf-material-panel .pf-table-wrap :is(th, td):nth-child(5) { width: 22%; }

/* Short desktop windows retain every field, rank, slot and recipe action. */
@media (min-width: 1180px) and (max-height: 800px) {
  .professions-ui.pf-screen { gap: 6px; }
  .professions-ui.pf-screen .pf-topline { min-height: 34px; }
  .professions-ui.pf-screen .pf-topline .pf-kicker { margin-bottom: 1px; font-size: 8px; }
  .professions-ui.pf-screen .pf-topline h2 { font-size: 19px; }
  .professions-ui.pf-screen .pf-screen-tabs { gap: 4px; }
  .professions-ui.pf-screen .pf-screen-tabs button { min-height: 34px; padding: 4px 7px; font-size: 10px; }
  .professions-ui.pf-screen .pf-screen-tabs button img { width: 18px; height: 18px; }
  .professions-ui.pf-screen .pf-focus-rail { gap: 4px; }
  .professions-ui.pf-screen .pf-focus-rail button { min-height: 68px; gap: 2px; padding: 4px 2px; }
  .professions-ui.pf-screen .pf-focus-rail button img { width: 30px; height: 30px; }
  .professions-ui.pf-screen .pf-focus-rail button span { font-size: 9px; }
  .professions-ui.pf-screen .pf-focus-rail button small { font-size: 8px; }
  .professions-ui.pf-screen .pf-workbench { gap: 7px; }
  .professions-ui.pf-screen .pf-panel-heading { min-height: 35px; padding: 6px 9px; }
  .professions-ui.pf-screen .pf-panel-heading h3 { font-size: 15px; }
  .professions-ui.pf-screen .pf-panel-heading .pf-kicker { margin-bottom: 1px; font-size: 8px; }
  .professions-ui.pf-screen .pf-panel-heading button { min-height: 25px; padding: 3px 6px; font-size: 9px; }

  .professions-ui.pf-screen .pf-skill-body { gap: 5px; padding: 8px 9px; }
  .professions-ui.pf-screen .pf-context-icon { gap: 8px; min-height: 36px; }
  .professions-ui.pf-screen .pf-context-icon img { width: 36px; height: 36px; }
  .professions-ui.pf-screen .pf-context-icon h3 { font-size: 17px; }
  .professions-ui.pf-screen .pf-context-icon strong { font-size: 12px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-context-icon strong small { font-size: 10px; }
  .professions-ui.pf-screen progress.pf-progress { height: 3px; margin: 1px 0 2px; }
  .professions-ui.pf-screen .pf-inline-fields { gap: 6px; }
  .professions-ui.pf-screen .pf-inline-fields label { gap: 3px; font-size: 9px; }
  .professions-ui.pf-screen .pf-inline-fields input { height: 27px; min-height: 27px; padding: 4px 6px; font-size: 11px; }
  .professions-ui.pf-screen .pf-rank-label { font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-rank-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
  .professions-ui.pf-screen .pf-rank-buttons button { min-width: 0; min-height: 33px; padding: 4px 1px; font-size: 8px; line-height: 1.1; }
  .professions-ui.pf-screen .pf-rank-buttons button > span { white-space: nowrap; letter-spacing: -.2px; }
  .professions-ui.pf-screen .pf-rank-buttons button > b { margin-top: 2px; font-size: 10px; }
  .professions-ui.pf-screen .pf-primary-slots { gap: 3px; margin-top: 3px; }
  .professions-ui.pf-screen .pf-primary-slots > .pf-kicker { margin: 0; font-size: 8px; }
  .professions-ui.pf-screen .pf-slot-buttons { gap: 4px; }
  .professions-ui.pf-screen .pf-slot-buttons button { gap: 4px; min-height: 32px; padding: 4px; }
  .professions-ui.pf-screen .pf-slot-buttons button img { width: 19px; height: 19px; }
  .professions-ui.pf-screen .pf-slot-buttons button > span { font-size: 8px; line-height: 1.15; }
  .professions-ui.pf-screen .pf-slot-buttons button b { font-size: 8px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-primary-slot > button.pf-slot-clear { width: 16px; min-width: 16px; min-height: 32px; padding: 1px; font-size: 11px; }
  .professions-ui.pf-screen .pf-slot-empty { width: 19px; text-align: center; font-size: 15px !important; }
  .professions-ui.pf-screen .pf-primary-slots > .pf-note,
  .professions-ui.pf-screen .pf-skill-note { display: none; }
  .professions-ui.pf-screen .pf-skill-body > .pf-note { margin: 0; padding: 0; font-size: 9px; line-height: 1.25; }
  .professions-ui.pf-screen .pf-skill-body > .pf-warning { font-size: 9px; line-height: 1.25; }
  .professions-ui.pf-screen .pf-skill-actions { gap: 4px; margin-top: auto; }
  .professions-ui.pf-screen .pf-skill-actions button { min-height: 25px; padding: 4px; font-size: 9px; }

  .professions-ui.pf-screen .pf-search { gap: 5px; padding: 7px 9px 0; }
  .professions-ui.pf-screen .pf-search input,
  .professions-ui.pf-screen .pf-search button { min-height: 27px; height: 27px; padding: 4px 7px; font-size: 10px; }
  .professions-ui.pf-screen .pf-recipe-filters { gap: 4px 10px; padding: 5px 9px 3px; }
  .professions-ui.pf-screen .pf-recipe-filters label { min-height: 17px; gap: 4px; font-size: 9px; }
  .professions-ui.pf-screen input[type="checkbox"] { width: 12px; height: 12px; }
  .professions-ui.pf-screen .pf-result-count { padding: 0 9px 4px; font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-recipes { gap: 6px; padding: 0 9px; }
  .professions-ui.pf-screen .pf-recipe-card { min-height: 90px; gap: 4px; padding: 7px; }
  .professions-ui.pf-screen .pf-recipe-card header { gap: 6px; }
  .professions-ui.pf-screen .pf-recipe-card header img { width: 24px; height: 24px; }
  .professions-ui.pf-screen .pf-recipe-card h4 { font-size: 10px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-recipe-card header p { margin-top: 2px; font-size: 8px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-recipe-card > .pf-warning { font-size: 8px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-recipe-card .pf-ingredients {
    display: block;
    flex: none;
    height: 12px;
    min-height: 12px;
    font-size: 9px;
    line-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .professions-ui.pf-screen .pf-recipe-card footer { margin-top: auto; gap: 4px; padding-top: 4px; }
  .professions-ui.pf-screen .pf-recipe-card footer label { min-height: 23px; gap: 4px; font-size: 9px; }
  .professions-ui.pf-screen .pf-recipe-card footer button { min-height: 23px; padding: 3px 6px; font-size: 9px; }
  .professions-ui.pf-screen .pf-search-limit { margin: 0; padding: 0 9px 5px; font-size: 8px; line-height: 1.2; }

  .professions-ui.pf-screen .pf-plan-panel { grid-template-rows: minmax(0, .92fr) minmax(0, 1.08fr); gap: 7px; }
  .professions-ui.pf-screen .pf-queue { padding: 0 9px; }
  .professions-ui.pf-screen .pf-queue-row { min-height: 36px; gap: 5px; padding: 4px 0; }
  .professions-ui.pf-screen .pf-queue-row > img { width: 24px; height: 24px; }
  .professions-ui.pf-screen .pf-queue-row h4 { font-size: 10px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-queue-row p { margin-top: 2px; font-size: 8px; line-height: 1.15; }
  .professions-ui.pf-screen .pf-queue-row label { width: 41px; font-size: 8px; }
  .professions-ui.pf-screen .pf-queue-row input { width: 41px; min-height: 24px; height: 24px; font-size: 10px; }
  .professions-ui.pf-screen .pf-queue-row button { min-height: 24px; padding: 3px 5px; }
  .professions-ui.pf-screen .pf-table-wrap { padding: 0 7px; }
  .professions-ui.pf-screen .pf-table-wrap th { padding: 4px 3px; font-size: 8px; }
  .professions-ui.pf-screen .pf-table-wrap td { padding: 4px 3px; font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-table-wrap input { min-height: 23px; height: 23px; padding: 2px 3px; font-size: 9px; }
  .professions-ui.pf-screen .pf-totals { gap: 5px; min-height: 30px; padding: 4px 9px; font-size: 8px; line-height: 1.1; }
  .professions-ui.pf-screen .pf-totals strong,
  .professions-ui.pf-screen .pf-totals b { font-size: 11px; }
  .professions-ui.pf-screen .pf-material-panel > .pf-note { margin: 0; padding: 3px 9px; font-size: 8px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-material-panel > .pf-price-note { border: 0; background: transparent; }
  .professions-ui.pf-screen .vr-reference-controls { min-height: 27px; gap: 4px; padding: 3px 8px; font-size: 8px; }
  .professions-ui.pf-screen .vr-reference-controls button { min-height: 22px; min-width: 23px; padding: 3px 5px; font-size: 9px; }
  .professions-ui.pf-screen .pf-empty { margin: 5px; padding: 8px; }
  .professions-ui.pf-screen .pf-empty b { font-size: 11px; }
  .professions-ui.pf-screen .pf-empty p { margin-top: 4px; font-size: 9px; line-height: 1.3; }
  .professions-ui.pf-screen .pf-disclaimer { font-size: 9px; line-height: 1.25; }
}

/* Keep both editable stock rows visible in a short desktop window. */
@media (min-width:1180px) and (max-height:800px){
 .professions-ui.pf-screen .pf-stock-list th{height:18px;padding:1px 3px;font-size:9px;line-height:1.2}
 .professions-ui.pf-screen .pf-stock-list td{height:26px;padding:1px 3px;line-height:1.2}
 .professions-ui.pf-screen .pf-stock-list input{height:22px!important;min-height:22px!important;padding:2px 3px}
}
/* Secondary views use the same bounded panel area as the workbench. */
.professions-ui.pf-screen .pf-reference-grid .pf-panel{display:flex;flex-direction:column;gap:10px;padding:12px;overflow:auto}
.professions-ui.pf-screen .pf-reference-grid .pf-panel-heading{padding:0 0 8px;flex:none}
.professions-ui.pf-screen .pf-reference-grid p{padding:0!important;margin:0;line-height:1.45;font-size:12px}
.professions-ui.pf-screen .pf-reference-grid .pf-table-wrap{height:auto;min-height:0;max-height:none;flex:none;overflow:visible;margin:0}
.professions-ui.pf-screen .pf-reference-grid table{width:100%;font-size:11px}
.professions-ui.pf-screen .pf-reference-grid th,.professions-ui.pf-screen .pf-reference-grid td{padding:6px 4px;text-align:left}
.professions-ui.pf-screen .pf-reference-grid .vr-reference-controls{margin-top:auto;flex:none}
.professions-ui.pf-screen .pf-trainer-row,.professions-ui.pf-screen .pf-field-note{padding:8px 0;border-bottom:1px solid #3b3c48}
.professions-ui.pf-screen .pf-trainer-row p,.professions-ui.pf-screen .pf-field-note p{margin-top:5px}
.professions-ui.pf-screen .pf-field-note h4{font-size:13px;color:#dfc493}
.professions-ui.pf-screen .pf-funding-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:10px;padding:12px;overflow:hidden}
.professions-ui.pf-screen .pf-funding-panel>.pf-panel-heading,.professions-ui.pf-screen .pf-funding-panel>p,.professions-ui.pf-screen .pf-funding-results{grid-column:1/-1;padding:0;margin:0}
.professions-ui.pf-screen .pf-future-grid{grid-column:1;grid-row:3;display:grid;grid-template-rows:1fr 1fr;gap:8px;min-height:0}
.professions-ui.pf-screen .pf-future-grid h4{font-size:12px;margin:0 0 5px;color:#dfc493}
.professions-ui.pf-screen .pf-future-choices{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}
.professions-ui.pf-screen .pf-future-choices button{display:flex;align-items:center;flex-direction:column;gap:3px;padding:4px 1px;font-size:9px;min-width:0}
.professions-ui.pf-screen .pf-future-choices img{width:28px;height:28px;flex:none;border:1px solid #716047;border-radius:3px}
.professions-ui.pf-screen .pf-future-choices span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.professions-ui.pf-screen .pf-funding-panel .pf-transition-fields{grid-column:2;grid-row:3;align-content:start;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;min-height:0}
.professions-ui.pf-screen .pf-funding-results{display:flex;align-items:start;gap:14px;padding-top:8px;border-top:1px solid #3b3c48}
.professions-ui.pf-screen .pf-funding-results p{flex:1;font-size:12px;line-height:1.4}
@media(min-width:1180px) and (max-height:800px){
 .professions-ui.pf-screen .pf-reference-grid .pf-panel{padding:9px;gap:8px}
 .professions-ui.pf-screen .pf-reference-grid p{font-size:10px}
 .professions-ui.pf-screen .pf-reference-grid th,.professions-ui.pf-screen .pf-reference-grid td{padding:4px 3px;font-size:9px}
 .professions-ui.pf-screen .pf-trainer-row,.professions-ui.pf-screen .pf-field-note{padding:5px 0}
 .professions-ui.pf-screen .pf-funding-panel{gap:5px;padding:9px}
 .professions-ui.pf-screen .pf-future-grid{gap:5px}
 .professions-ui.pf-screen .pf-future-grid h4{font-size:10px;margin-bottom:3px}
 .professions-ui.pf-screen .pf-future-choices img{width:24px;height:24px}
 .professions-ui.pf-screen .pf-future-choices button{font-size:8px;padding:3px 0;gap:2px}
 .professions-ui.pf-screen .pf-funding-panel .pf-transition-fields{gap:6px}
 .professions-ui.pf-screen .pf-transition-fields label{font-size:9px;gap:3px}
 .professions-ui.pf-screen .pf-transition-fields input{height:26px;min-height:26px}
 .professions-ui.pf-screen .pf-funding-results{padding-top:4px;gap:8px}
 .professions-ui.pf-screen .pf-funding-results p{font-size:10px}
}
/* Reset inherited reference-card margins and keep short warnings compact. */
.professions-ui.pf-screen .pf-reference-grid .pf-panel > :not(.pf-panel-heading){margin:0}
@media(min-width:1180px) and (max-height:800px){
 .professions-ui.pf-screen .pf-reference-grid .pf-panel{gap:6px}
 .professions-ui.pf-screen .pf-queue-row{min-height:0;padding:4px 6px}
 .professions-ui.pf-screen .pf-queue-row p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.4em;overflow:hidden;line-height:1.2}
}

/* Prominent Warcraft pictures, with ingredients beside the recipe artwork. */
.professions-ui.pf-screen .pf-focus-rail button { min-height: 112px; }
.professions-ui.pf-screen .pf-focus-rail button img,
.professions-ui.pf-screen .pf-context-icon img { width: 64px; height: 64px; }
.professions-ui.pf-screen .wow-content-icon { max-width: none; max-height: none; }
.professions-ui.pf-screen .pf-focus-rail button img,
.professions-ui.pf-screen .pf-recipe-card header > img {
  box-shadow: 0 0 0 1px #0b0e15, 0 3px 10px #0008;
}
.professions-ui.pf-screen .pf-recipe-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "picture title" "picture ingredients" "learning learning" "footer footer";
}
.professions-ui.pf-screen .pf-recipe-card header { display: contents; }
.professions-ui.pf-screen .pf-recipe-card header > img {
  grid-area: picture;
  align-self: start;
  width: 64px;
  height: 64px;
}
.professions-ui.pf-screen .pf-recipe-card header > div { grid-area: title; }
.professions-ui.pf-screen .pf-recipe-card .pf-ingredients { grid-area: ingredients; align-self: center; }
.professions-ui.pf-screen .pf-recipe-card footer { grid-area: footer; align-self: end; }
.professions-ui.pf-screen .pf-recipe-card:has(> .pf-warning) {
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  grid-template-areas: "picture title" "picture warning" "picture ingredients" "learning learning" "footer footer";
}
.professions-ui.pf-screen .pf-recipe-card > .pf-warning { grid-area: warning; }
.professions-ui.pf-screen .pf-recipe-learning { grid-area: learning; min-width: 0; color: #d7c4a5; font-size: 10px; line-height: 1.3; }
.professions-ui.pf-screen .pf-recipe-learning > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.professions-ui.pf-screen .pf-recipe-learning a { color: inherit; }
.professions-ui.pf-screen .pf-learning-location { color: #b8adbf; }
.professions-ui.pf-screen .pf-queue-row > img { width: 40px; height: 40px; }
.professions-ui.pf-screen .pf-skill-body { flex: 1; gap: 9px; padding: 11px 13px; }
.professions-ui.pf-screen .pf-skill-note { display: none; }
.professions-ui.pf-screen .pf-next-training {
  flex: none;
  margin-top: auto;
  padding: 10px;
  border: 1px solid #62516d;
  border-left: 2px solid var(--pf-gold);
  border-radius: 5px;
  background: linear-gradient(125deg, #342b3d, #242632);
}
.professions-ui.pf-screen .pf-next-training-heading .pf-kicker { margin: 0 0 3px; font-size: 9px; }
.professions-ui.pf-screen .pf-next-training h4 { color: #ead4ad; font: 16px/1.2 Georgia, "Times New Roman", serif; }
.professions-ui.pf-screen .pf-training-requirements { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-top: 7px; }
.professions-ui.pf-screen .pf-training-chip { color: #d8bd92; font-size: 10px; }
.professions-ui.pf-screen .pf-training-chip.is-met { color: var(--pf-green); }
.professions-ui.pf-screen .pf-training-method,
.professions-ui.pf-screen .pf-training-inspection { margin-top: 6px; color: #b8adbf; font-size: 10px; line-height: 1.3; }
.professions-ui.pf-screen .pf-training-contact { display: block; color: #ead4ad; font-size: 11px; line-height: 1.3; }
.professions-ui.pf-screen .pf-training-contact a { color: inherit; }
.professions-ui.pf-screen .pf-training-location { display: block; margin-top: 3px; color: #c4b9cc; overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-training-coverage { display: block; margin-top: 3px; color: #d8bd92; font-size: 9px; line-height: 1.2; }
@media (min-width: 1180px) and (max-height: 800px) {
  .professions-ui.pf-screen .pf-focus-rail button { min-height: 80px; }
  .professions-ui.pf-screen .pf-focus-rail button img,
  .professions-ui.pf-screen .pf-context-icon img { width: 48px; height: 48px; }
  .professions-ui.pf-screen .pf-skill-body { gap: 0; padding: 4px 9px; }
  .professions-ui.pf-screen .pf-context-icon { flex: none; min-height: 48px; }
  .professions-ui.pf-screen .pf-primary-slots { margin-top: 0; }
  .professions-ui.pf-screen .pf-training-inspection { display: none; }
  .professions-ui.pf-screen .pf-skill-actions { margin-top: 1px; }
  .professions-ui.pf-screen .pf-next-training { padding: 6px; }
  .professions-ui.pf-screen .pf-next-training-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px; }
  .professions-ui.pf-screen .pf-next-training-heading .pf-kicker { margin-bottom: 0; font-size: 8px; }
  .professions-ui.pf-screen .pf-next-training h4 { font-size: 13px; }
  .professions-ui.pf-screen .pf-training-requirements { gap: 2px 7px; margin-top: 4px; }
  .professions-ui.pf-screen .pf-training-chip { font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-training-method,
  .professions-ui.pf-screen .pf-training-inspection { margin-top: 3px; font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-training-contact { font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-training-location,
  .professions-ui.pf-screen .pf-training-coverage { margin-top: 2px; font-size: 9px; line-height: 1.2; }
  .professions-ui.pf-screen .pf-recipe-card,
  .professions-ui.pf-screen .pf-recipe-card:has(> .pf-warning) { position: relative; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto minmax(24px, 1fr) 12px auto; grid-template-areas: "picture title" "picture learning" "ingredients ingredients" "footer footer"; gap: 1px 7px; padding: 4px; }
  .professions-ui.pf-screen .pf-recipe-card footer { padding-top: 0; border-top: 0; }
  .professions-ui.pf-screen .pf-recipe-card h4,
  .professions-ui.pf-screen .pf-recipe-card h4 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .professions-ui.pf-screen .pf-recipe-card > .pf-warning { position: absolute; grid-area: auto; top: 4px; left: 4px; width: 14px; height: 14px; margin: 0; padding: 0; overflow: hidden; font-size: 0; line-height: 14px; text-align: center; color: #ffe0a0; background: #47331d; border: 1px solid #a68648; border-radius: 50%; }
  .professions-ui.pf-screen .pf-recipe-card > .pf-warning::before { content: "!"; font-size: 10px; font-weight: 700; }
  .professions-ui.pf-screen .pf-recipe-card header > img { width: 48px; height: 48px; }
  .professions-ui.pf-screen .pf-recipe-card .pf-ingredients { white-space: nowrap; height: 12px; max-height: 12px; line-height: 12px; }
  .professions-ui.pf-screen .pf-recipe-learning { font-size: 9px; line-height: 12px; }
  .professions-ui.pf-screen .pf-search { padding-top: 5px; }
  .professions-ui.pf-screen .pf-recipe-filters { padding-top: 3px; padding-bottom: 2px; }
  .professions-ui.pf-screen .pf-recipe-panel > .vr-reference-controls { min-height: 32px; padding-top: 3px; padding-bottom: 3px; }
  .professions-ui.pf-screen .pf-queue-row > img { width: 32px; height: 32px; }
  .professions-ui.pf-screen .pf-queue-row { padding: 1px 6px; }
  .professions-ui.pf-screen .pf-plan-panel { grid-template-rows: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (max-width: 1179px) {
  .professions-ui.pf-screen .pf-focus-rail button img { width: 44px; height: 44px; }
  .professions-ui.pf-screen .pf-focus-rail button { min-height: 86px; }
  .professions-ui.pf-screen .pf-recipe-card { grid-template-columns: 48px minmax(0, 1fr); }
  .professions-ui.pf-screen .pf-recipe-card header > img { width: 48px; height: 48px; }
}

/* Readable recipe references use wrapping and paging instead of tiny text. */
.professions-ui.pf-screen .pf-focus-rail button span,
.professions-ui.pf-screen .pf-focus-rail button small,
.professions-ui.pf-screen .pf-recipe-card h4,
.professions-ui.pf-screen .pf-recipe-card header p,
.professions-ui.pf-screen .pf-recipe-card .pf-ingredients,
.professions-ui.pf-screen .pf-recipe-card .pf-recipe-learning,
.professions-ui.pf-screen .pf-recipe-card footer label,
.professions-ui.pf-screen .pf-recipe-card footer button {
  font-size: 12px;
  line-height: 1.4;
}
.professions-ui.pf-screen .pf-focus-rail button { min-height: 116px; }
.professions-ui.pf-screen .pf-recipe-card h4,
.professions-ui.pf-screen .pf-recipe-card h4 a {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.professions-ui.pf-screen .pf-recipe-card .pf-ingredients {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  white-space: normal;
  overflow: auto;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.professions-ui.pf-screen .pf-recipe-learning > span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.professions-ui.pf-screen .pf-recipe-card footer button { min-height: 28px; }
@media (min-width: 1180px) and (max-height: 800px) {
  .professions-ui.pf-screen .pf-focus-rail button { min-height: 100px; }
  .professions-ui.pf-screen .pf-recipes {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .professions-ui.pf-screen .pf-recipe-card,
  .professions-ui.pf-screen .pf-recipe-card:has(> .pf-warning) {
    grid-template-rows: auto minmax(28px, 1fr) auto auto;
    grid-template-areas: "picture title" "ingredients ingredients" "learning learning" "footer footer";
    gap: 3px 8px;
    padding: 6px;
    overflow: auto;
  }
}
.professions-ui.pf-screen .pf-generate-shortcut { color: #192820; background: #a4d5b7; grid-column: 1 / -1; font-weight: 700; }
.professions-ui.pf-screen .pf-leveling-view { display: grid; grid-template-columns: minmax(400px,.95fr) minmax(320px,1.05fr); gap: 8px; height: 100%; min-height: 0; }
.professions-ui.pf-screen .pf-leveling-plan { display: grid; grid-template-rows: auto minmax(0,1fr); gap: 8px; min-height: 0; }
.professions-ui.pf-screen .pf-leveling-view .pf-panel { min-height: 0; overflow: auto; padding: 12px; }
.professions-ui.pf-screen .pf-leveling-setup { display: flex; flex-direction: column; gap: 7px; }
.professions-ui.pf-screen .pf-leveling-actions { display: flex; gap: 8px; }
.professions-ui.pf-screen .pf-leveling-actions > button { flex: 1; min-width: 0; }
.professions-ui.pf-screen .pf-leveling-view .pf-note { padding: 0; }
.professions-ui.pf-screen .pf-leveling-setup h3 { display: flex; align-items: center; gap: 8px; }
.professions-ui.pf-screen .pf-leveling-setup p { margin: 0; line-height: 1.45; }
.professions-ui.pf-screen .pf-leveling-setup [data-prof-generate],
.professions-ui.pf-screen .pf-leveling-setup [data-prof-add-leveling] { background: #d4bc80; color: #211c14; padding: 10px; font-weight: 700; }
.professions-ui.pf-screen .pf-leveling-route { display: flex; flex-direction: column; gap: 8px; }
.professions-ui.pf-screen .pf-leveling-steps { flex: 1; overflow: auto; min-height: 0; display: grid; gap: 8px; align-content: start; }
.professions-ui.pf-screen .pf-leveling-step { display: flex; gap: 10px; padding: 12px; background: #282432; border: 1px solid #494151; border-radius: 6px; }
.professions-ui.pf-screen .pf-leveling-step > img { width: 56px; height: 56px; flex-shrink: 0; }
.professions-ui.pf-screen .pf-leveling-step > div { min-width: 0; }
.professions-ui.pf-screen .pf-leveling-step h4 { margin: 5px 0; }
.professions-ui.pf-screen .pf-leveling-step p { margin: 7px 0; overflow-wrap: anywhere; line-height: 1.4; font-size: 12px; }
.professions-ui.pf-screen .pf-leveling-materials { display: flex; flex-direction: column; }
.professions-ui.pf-screen .pf-leveling-supplies { overflow: auto; flex: 1; min-height: 0; }
.professions-ui.pf-screen .pf-leveling-supplies p { font-size: 12px; line-height: 1.4; }
.professions-ui.pf-screen .pf-leveling-stock { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.professions-ui.pf-screen .pf-leveling-stock th { color: #aaa5b1; font-size: 10px; font-weight: 500; }
.professions-ui.pf-screen .pf-leveling-stock th,.professions-ui.pf-screen .pf-leveling-stock td { padding: 8px 4px; text-align: right; border-bottom: 1px solid #39333f; }
.professions-ui.pf-screen .pf-leveling-stock th:first-child,.professions-ui.pf-screen .pf-leveling-stock td:first-child { width: 32%; text-align: left; overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-leveling-stock td:not(:first-child) { overflow-wrap: anywhere; }
.professions-ui.pf-screen .pf-stock-total { color: #d4bc80; font-weight: 700; }
.professions-ui.pf-screen .pf-material-label { display: flex; align-items: center; gap: 7px; min-width: 0; }
.professions-ui.pf-screen .pf-material-label img { width: 32px; height: 32px; flex: 0 0 32px; border: 1px solid #5b5065; border-radius: 4px; object-fit: cover; }
.professions-ui.pf-screen .pf-step-material { display: inline-flex; align-items: center; gap: 6px; margin: 3px 12px 3px 0; }
.professions-ui.pf-screen .pf-step-material img { width: 24px; height: 24px; flex: 0 0 24px; border: 1px solid #5b5065; border-radius: 3px; }
.professions-ui.pf-screen .pf-leveling-bank-status { margin-top: 8px; }
.professions-ui.pf-screen .pf-training-checkpoint { border-top: 1px solid #494151; padding-top: 10px; color: #d4bc80; }
@media (max-width: 1179px) {
 .professions-ui.pf-screen .pf-leveling-view { grid-template-columns: minmax(0,1fr); height: auto; }
 .professions-ui.pf-screen .pf-leveling-plan { grid-template-rows: auto auto; }
 .professions-ui.pf-screen .pf-leveling-view .pf-panel { overflow: visible; }
 .professions-ui.pf-screen .pf-leveling-steps,.professions-ui.pf-screen .pf-leveling-supplies { overflow: visible; }
}
/* Saved professions stay visually separate from catalogue browsing. */
.professions-ui.pf-screen .pf-grouped-rail {
  grid-template-columns: var(--pf-groups);
  gap: 12px;
}
.professions-ui.pf-screen .pf-profession-group { min-width: 0; }
.professions-ui.pf-screen .pf-profession-group > h3 {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 19px;
  margin: 0 0 5px;
  color: #aaa5b1;
  font: 600 10px/1.2 Arial, sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.professions-ui.pf-screen .pf-profession-group > h3 i { font-style: normal; }
.professions-ui.pf-screen .pf-profession-group > h3 small {
  margin-left: auto;
  color: inherit;
  font-size: 9px;
  font-weight: 400;
}
.professions-ui.pf-screen .pf-group-primary > h3 { color: #93dfb4; }
.professions-ui.pf-screen .pf-group-secondary > h3 { color: #8fd2e4; }
.professions-ui.pf-screen .pf-group-cards { display: grid; grid-template-columns: repeat(var(--pf-count), minmax(0, 1fr)); gap: 5px; }
.professions-ui.pf-screen .pf-focus-rail button { position: relative; }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-primary {
  border-color: #548a6d;
  background: linear-gradient(145deg, #223d34, #1b2c29);
  box-shadow: inset 0 2px #70c792;
}
.professions-ui.pf-screen .pf-focus-rail .pf-profession-secondary {
  border-color: #477b8d;
  background: linear-gradient(145deg, #233a43, #1b2932);
  box-shadow: inset 0 2px #70b9d0;
}
.professions-ui.pf-screen .pf-focus-rail :is(.pf-profession-primary,.pf-profession-secondary)[aria-pressed="true"] {
  outline: 2px solid var(--pf-gold);
  outline-offset: -2px;
}
.professions-ui.pf-screen .pf-focus-rail .pf-profession-primary[aria-pressed="true"] { background: linear-gradient(145deg, #2e5140, #20372e); }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-secondary[aria-pressed="true"] { background: linear-gradient(145deg, #2c4b59, #20333e); }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-primary small { color: #a5e9be; font-weight: 600; }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-secondary small { color: #a4deed; font-weight: 600; }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-unrecorded { background: #1d212b; border-color: #343943; }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-unrecorded img { filter: grayscale(.72) saturate(.45); opacity: .76; }
.professions-ui.pf-screen .pf-focus-rail .pf-profession-unrecorded:hover img,
.professions-ui.pf-screen .pf-focus-rail .pf-profession-unrecorded[aria-pressed="true"] img { filter: none; opacity: 1; }
.professions-ui.pf-screen .pf-focus-rail .pf-capture-check {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #182c24;
  color: #a4edc0;
  font: 700 10px/1 Arial, sans-serif;
  border: 1px solid #639f7d;
}
.professions-ui.pf-screen .pf-profession-secondary .pf-capture-check { color: #afe7f5; background: #1b2e38; border-color: #6598a9; }
.professions-ui.pf-screen .pf-skill-synced { border-color: #548a6d; }
.professions-ui.pf-screen .pf-skill-synced > .pf-panel-heading { background: #243a30; border-bottom-color: #486b55; }
.professions-ui.pf-screen .pf-skill-synced > .pf-panel-heading .pf-kicker { color: #a5e9be; }
.professions-ui.pf-screen .pf-skill-synced .pf-context-icon strong { color: #b3ebc8; }
.professions-ui.pf-screen .pf-grouped-rail button[aria-pressed="true"] { outline: 2px solid var(--pf-gold); outline-offset: -2px; }
.professions-ui.pf-screen .pf-skill-synced .pf-panel-heading .pf-badge { border-color: #548a6d; background: #243d2f; color: #b3ebc8; }
.professions-ui.pf-screen .pf-skill-secondary { border-color: #477b8d; }
.professions-ui.pf-screen .pf-skill-secondary > .pf-panel-heading { background: #243b46; border-bottom-color: #477b8d; }
.professions-ui.pf-screen .pf-skill-secondary > .pf-panel-heading .pf-kicker,
.professions-ui.pf-screen .pf-skill-secondary .pf-context-icon strong { color: #afe7f5; }
.professions-ui.pf-screen .pf-skill-secondary .pf-panel-heading .pf-badge { border-color: #477b8d; background: #243b46; color: #afe7f5; }
@media (min-width: 1180px) and (max-height: 800px) {
  .professions-ui.pf-screen .pf-profession-group > h3 { font-size: 9px; min-height: 16px; margin-bottom: 4px; letter-spacing: 0; }
  .professions-ui.pf-screen .pf-grouped-rail { gap: 9px; }
}
@media (max-width: 1179px) {
  .professions-ui.pf-screen .pf-grouped-rail { grid-template-columns: 2fr 3fr; }
  .professions-ui.pf-screen .pf-group-unrecorded { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .professions-ui.pf-screen .pf-grouped-rail { grid-template-columns: 1fr; }
  .professions-ui.pf-screen .pf-group-cards { grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); }
  .professions-ui.pf-screen .pf-grouped-rail button span { overflow-wrap: anywhere; }
}

/* Home quality pass: bounded content, clear tasks and readable controls. */
#professionsWorkspace.pf-quality{--pf-gold:#dfc391;--pf-muted:#b6bfce;display:grid;gap:16px;align-content:start;height:auto;min-height:0;font-size:14px;overflow:visible;padding-bottom:12px}
#professionsWorkspace .pf-topline{margin:0;padding:4px 0 2px;gap:20px;align-items:center;flex-wrap:wrap}
#professionsWorkspace .pf-topline h2{font-size:30px;line-height:1.15;margin:5px 0;color:#f0dcba}
#professionsWorkspace .pf-intro{margin:5px 0 0;color:#b6bfce;font-size:13px;line-height:1.5}
#professionsWorkspace .pf-kicker{font-size:10px;letter-spacing:.09em;color:#bca78a}
#professionsWorkspace .pf-screen-tabs{flex-wrap:wrap;gap:5px;overflow:visible}
#professionsWorkspace .pf-screen-tabs button{min-height:38px;font-size:12px;padding:7px 10px;gap:7px;border:1px solid #404654;background:#1b2430;border-radius:6px}
#professionsWorkspace .pf-screen-tabs button img{width:22px;height:22px}
#professionsWorkspace .pf-screen-tabs button[aria-pressed=true]{background:#38303d;border-color:#b49a6a;color:#f5dfb4;box-shadow:inset 0 -2px #b49a6a}
#professionsWorkspace .pf-grouped-rail{margin:0;padding:0 0 2px;gap:12px;overflow:visible;flex:none;min-height:0}
#professionsWorkspace .pf-profession-group{min-width:0;gap:7px}
#professionsWorkspace .pf-profession-group h3{font-size:10px;line-height:1.5;letter-spacing:.04em;margin:0 0 6px;color:#aab6c6}
#professionsWorkspace .pf-group-cards{gap:5px}
#professionsWorkspace .pf-focus-rail button{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:1fr 1fr;column-gap:8px;row-gap:1px;align-items:center;align-content:center;min-height:68px;height:auto;padding:8px;min-width:0;flex:none;box-shadow:inset 0 1px #ffffff08}
#professionsWorkspace .pf-focus-rail button img{grid-row:1/3;width:44px;height:44px;max-width:none;border-radius:5px;border:1px solid #75644d}
#professionsWorkspace .pf-focus-rail button>span:not(.pf-capture-check){font-size:12px;line-height:1.3;align-self:end;white-space:normal;overflow-wrap:anywhere}
#professionsWorkspace .pf-focus-rail button small{font-size:11px;line-height:1.3;align-self:start;white-space:normal}
#professionsWorkspace .pf-focus-rail .pf-capture-check{top:3px;right:3px;width:13px;height:13px;font-size:9px}
#professionsWorkspace .pf-workbench{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(360px,1.5fr) minmax(270px,.95fr);gap:16px;min-height:0;flex:none;height:auto;align-items:start}
#professionsWorkspace .pf-panel{min-width:0;min-height:0;height:auto;border-radius:9px;border:1px solid #434654;background:linear-gradient(130deg,#202632,#19222d);overflow:hidden;box-shadow:inset 0 1px #ffffff06}
#professionsWorkspace .pf-panel-heading{padding:13px 15px;min-height:62px;gap:12px;border-bottom:1px solid #45404e;background:#292636}
#professionsWorkspace .pf-panel-heading h3{font-size:21px;line-height:1.2;margin:4px 0 0;color:#eedbb7}
#professionsWorkspace .pf-panel-heading button{font-size:12px;min-height:32px;padding:5px 9px}
#professionsWorkspace .pf-skill-body{padding:16px;gap:12px;min-height:0}
#professionsWorkspace .pf-context-icon{gap:13px;min-height:64px}
#professionsWorkspace .pf-context-icon img{width:56px;height:56px;border-radius:7px}
#professionsWorkspace .pf-context-icon h3{font-size:25px;line-height:1.2;margin:0 0 4px}
#professionsWorkspace .pf-context-icon strong{font-size:16px;line-height:1.4}
#professionsWorkspace .pf-context-icon strong small{font-size:12px}
#professionsWorkspace .pf-inline-fields{gap:10px}
#professionsWorkspace .pf-inline-fields label{font-size:12px;gap:6px}
#professionsWorkspace .pf-inline-fields input{height:38px;min-height:38px;font-size:15px;padding:7px 9px}
#professionsWorkspace .pf-rank-label{font-size:12px;line-height:1.4}
#professionsWorkspace .pf-rank-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#professionsWorkspace .pf-rank-buttons button{min-height:43px;font-size:11px;padding:7px 5px}
#professionsWorkspace .pf-rank-buttons button b{font-size:12px}
#professionsWorkspace .pf-slot-buttons button{min-height:40px;padding:7px;gap:6px}
#professionsWorkspace .pf-slot-buttons button img{width:24px;height:24px}
#professionsWorkspace .pf-slot-buttons button span,#professionsWorkspace .pf-slot-buttons button b{font-size:11px;line-height:1.4}
#professionsWorkspace .pf-skill-actions{margin:0;gap:7px}
#professionsWorkspace .pf-skill-actions button{min-height:35px;font-size:12px;padding:7px 10px}
#professionsWorkspace .pf-skill-actions .pf-generate-shortcut,#professionsWorkspace [data-prof-generate]{background:#d9be83;color:#24202a;border-color:#d9be83;font-weight:650}
#professionsWorkspace .pf-next-training{margin:3px 0 0;padding:12px;border-color:#6e6148;background:linear-gradient(120deg,#302c31,#252b36)}
#professionsWorkspace .pf-next-training h4{font-size:17px;line-height:1.3}
#professionsWorkspace .pf-next-training p,#professionsWorkspace .pf-next-training a,#professionsWorkspace .pf-training-requirements{font-size:12px;line-height:1.5}
#professionsWorkspace .pf-search{padding:12px 14px 0;gap:7px}
#professionsWorkspace .pf-search input,#professionsWorkspace .pf-search button{min-height:38px;height:38px;font-size:13px;padding:8px 10px}
#professionsWorkspace .pf-recipe-filters{padding:9px 14px 3px;gap:12px}
#professionsWorkspace .pf-recipe-filters label{font-size:12px;min-height:26px}
#professionsWorkspace input[type=checkbox]{width:15px;height:15px}
#professionsWorkspace .pf-result-count{padding:2px 14px 8px;font-size:11px;line-height:1.4;color:#aebccc}
#professionsWorkspace .pf-recipes{display:grid;grid-template-columns:1fr;grid-template-rows:none;gap:8px;padding:0 14px 12px;min-height:0;overflow:visible;flex:none}
#professionsWorkspace .pf-recipe-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;min-height:132px;height:auto;padding:12px;background:#19212c;border:1px solid #414452;border-radius:7px;align-content:start}
#professionsWorkspace .pf-recipe-card header{grid-column:1/-1;gap:11px;align-items:center}
#professionsWorkspace .pf-recipe-card header img{width:48px;height:48px;flex:none;border-radius:5px}
#professionsWorkspace .pf-recipe-card h4{font-size:14px;line-height:1.35;display:block;overflow:visible;white-space:normal;margin:0}
#professionsWorkspace .pf-recipe-card header p{font-size:11px;line-height:1.4;margin:3px 0 0}
#professionsWorkspace .pf-recipe-card .pf-ingredients{grid-column:1;display:block;flex:none;height:auto;min-height:0;white-space:normal;overflow:visible;line-height:1.5;font-size:12px;margin:0}
#professionsWorkspace .pf-recipe-card .pf-learning{grid-column:1;min-height:0;font-size:11px;line-height:1.5;margin:0;overflow:visible;display:block}
#professionsWorkspace .pf-recipe-card footer{grid-column:2;grid-row:2/4;align-self:end;display:grid;justify-items:end;gap:3px;padding:0;margin:0;border:0}
#professionsWorkspace .pf-recipe-card footer label{font-size:11px;min-height:27px}
#professionsWorkspace .pf-recipe-card footer button{min-height:32px;font-size:12px;padding:6px 10px}
#professionsWorkspace .pf-warning{font-size:12px;line-height:1.5;grid-column:1/-1}
#professionsWorkspace .pf-plan-panel{display:grid;grid-template-rows:none;gap:16px;height:auto;min-height:0}
#professionsWorkspace .pf-empty{min-height:120px;height:auto;padding:20px 16px;gap:7px;line-height:1.5;font-size:13px}
#professionsWorkspace .pf-empty b{font-size:14px}
#professionsWorkspace .pf-empty p{font-size:12px;line-height:1.5}
#professionsWorkspace .pf-note,#professionsWorkspace .pf-disclaimer{font-size:11px;line-height:1.5}
#professionsWorkspace .pf-disclaimer{margin:0;padding:0 2px;color:#aab5c5;min-height:0}
#professionsWorkspace .pf-queue-row{padding:10px 0;gap:8px;min-height:60px}
#professionsWorkspace .pf-queue-row h4{font-size:13px;line-height:1.4}
#professionsWorkspace .pf-queue-row p,#professionsWorkspace .pf-queue-row label{font-size:11px;line-height:1.4}
#professionsWorkspace .pf-queue-row input{height:32px;min-height:32px;font-size:13px}
#professionsWorkspace .pf-totals{min-height:44px;padding:9px 14px;font-size:11px}
#professionsWorkspace .pf-table-wrap th,#professionsWorkspace .pf-table-wrap td{padding:8px 5px;font-size:12px;line-height:1.4}
#professionsWorkspace .pf-table-wrap input{min-height:32px;font-size:12px}
#professionsWorkspace .vr-reference-controls{font-size:11px;min-height:38px;padding:6px 12px;gap:8px}
#professionsWorkspace .vr-reference-controls button{font-size:12px;min-height:29px;padding:5px 8px}
#professionsWorkspace :is(button,input,a):focus-visible{outline:3px solid #ffe0a3;outline-offset:3px}
#professionsWorkspace .pf-leveling-view{min-height:0;height:auto;gap:16px}
#professionsWorkspace .pf-leveling-steps{overflow:visible;max-height:none}
#professionsWorkspace .pf-leveling-step{padding:14px;gap:12px}
#professionsWorkspace .pf-leveling-step h4{font-size:16px;line-height:1.4}
#professionsWorkspace .pf-leveling-step p{font-size:13px;line-height:1.5}
@media(min-width:1700px){#professionsWorkspace .pf-recipes{grid-template-columns:repeat(2,minmax(0,1fr))}#professionsWorkspace .pf-recipe-card{min-height:205px}#professionsWorkspace .pf-recipe-card header img{width:56px;height:56px}}
@media(max-width:1450px){#professionsWorkspace .pf-focus-rail button{grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;text-align:center;min-height:94px;gap:3px;padding:7px 3px}#professionsWorkspace .pf-focus-rail button img{grid-row:1;width:40px;height:40px}#professionsWorkspace .pf-focus-rail button>span:not(.pf-capture-check){font-size:11px;align-self:center}#professionsWorkspace .pf-focus-rail button small{font-size:10px}#professionsWorkspace .pf-workbench{grid-template-columns:minmax(220px,.8fr) minmax(310px,1.4fr) minmax(230px,.85fr);gap:12px}#professionsWorkspace .pf-panel-heading{padding:10px 12px}#professionsWorkspace .pf-panel-heading h3{font-size:19px}}
@media(max-width:1180px){#professionsWorkspace .pf-workbench{grid-template-columns:minmax(220px,.75fr) minmax(0,1.5fr)}#professionsWorkspace .pf-recipe-panel{grid-column:2;grid-row:1/3}#professionsWorkspace .pf-plan-panel{grid-column:1}#professionsWorkspace .pf-grouped-rail{display:flex;flex-wrap:wrap}#professionsWorkspace .pf-profession-group{flex:1 1 240px}#professionsWorkspace .pf-group-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(66px,1fr))}}
@media(max-height:800px) and (min-width:1180px){#professionsWorkspace{gap:11px}#professionsWorkspace .pf-topline h2{font-size:25px}#professionsWorkspace .pf-intro{font-size:12px}#professionsWorkspace .pf-skill-body{padding:12px;gap:8px}#professionsWorkspace .pf-context-icon img{width:44px;height:44px}#professionsWorkspace .pf-context-icon h3{font-size:21px}#professionsWorkspace .pf-rank-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}#professionsWorkspace .pf-rank-buttons button{font-size:10px;min-height:36px;padding:5px 2px}#professionsWorkspace .pf-slot-buttons{display:none}#professionsWorkspace .pf-next-training{padding:9px}#professionsWorkspace .pf-recipe-card{min-height:190px}#professionsWorkspace .pf-empty{min-height:100px}}
@media(max-width:700px){#professionsWorkspace .pf-topline h2{font-size:26px}#professionsWorkspace .pf-screen-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}#professionsWorkspace .pf-screen-tabs button{min-height:42px;font-size:11px;padding:7px;justify-content:center}#professionsWorkspace .pf-profession-group{flex-basis:100%}#professionsWorkspace .pf-group-cards{grid-template-columns:repeat(4,minmax(0,1fr))}#professionsWorkspace .pf-workbench{grid-template-columns:1fr}#professionsWorkspace .pf-recipe-panel,#professionsWorkspace .pf-plan-panel{grid-column:auto;grid-row:auto}#professionsWorkspace .pf-recipes{grid-template-columns:1fr}#professionsWorkspace .pf-recipe-card{min-height:160px;grid-template-columns:minmax(0,1fr)}#professionsWorkspace .pf-recipe-card footer{grid-column:1;grid-row:auto;display:flex;justify-content:space-between;justify-items:start}#professionsWorkspace .pf-recipe-card header img{width:56px;height:56px}#professionsWorkspace .pf-screen-tabs button,#professionsWorkspace .pf-skill-actions button,#professionsWorkspace .pf-search button,#professionsWorkspace .pf-recipe-card footer button{min-height:42px}#professionsWorkspace .pf-leveling-view{display:grid;grid-template-columns:1fr}}

#professionsWorkspace .pf-recipe-card header>div{flex:1;min-width:0;text-align:left}
#professionsWorkspace .pf-recipe-card .pf-recipe-learning{grid-column:1;display:grid;gap:2px;height:auto;min-height:0;max-height:none;margin:0;padding:0;font-size:11px;line-height:1.5;overflow:visible}
#professionsWorkspace .pf-recipe-learning .pf-learning-source,#professionsWorkspace .pf-recipe-learning .pf-learning-location{display:block;white-space:normal;overflow:visible;font-size:11px;line-height:1.5}
@media(max-width:1450px){#professionsWorkspace .pf-focus-rail button>span:not(.pf-capture-check){font-size:10.5px;overflow-wrap:normal}}

#professionsWorkspace .pf-recipe-card header{display:flex;justify-content:flex-start;text-align:left}
#professionsWorkspace .pf-skill-body{display:flex;flex-direction:column}
#professionsWorkspace .pf-skill-body>progress{width:100%;flex:none}
#professionsWorkspace .pf-focus-rail button{grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;text-align:center;gap:3px;min-height:100px}
#professionsWorkspace .pf-focus-rail button img{grid-row:1;width:44px;height:44px}
#professionsWorkspace .pf-focus-rail button>span:not(.pf-capture-check){align-self:center;overflow-wrap:normal}
@media(max-width:1180px){#professionsWorkspace .pf-focus-rail:not(.pf-grouped-rail){display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}}
@media(max-width:700px){#professionsWorkspace .pf-topline{display:flex;flex-direction:column;align-items:stretch;gap:12px}#professionsWorkspace .pf-topline>div{max-width:none}#professionsWorkspace .pf-intro{display:block}#professionsWorkspace .pf-screen-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;width:100%}#professionsWorkspace .pf-focus-rail:not(.pf-grouped-rail){grid-template-columns:repeat(4,minmax(0,1fr))}#professionsWorkspace .pf-focus-rail button{min-width:0;min-height:100px}#professionsWorkspace .pf-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#professionsWorkspace .pf-rank-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}#professionsWorkspace .pf-next-training{margin-top:5px}}

/* Compact aligned workbench refinement. */
#professionsWorkspace.pf-quality{gap:12px;align-content:start}
#professionsWorkspace .pf-topline{min-height:58px;gap:18px;padding:0}
#professionsWorkspace .pf-title-lockup{display:flex;align-items:center;gap:13px;min-width:0}
#professionsWorkspace .pf-title-art{display:grid;place-items:center;width:58px;height:58px;flex:none;background:radial-gradient(ellipse at center,#b79b5340,#302938 70%);border:1px solid #917b52;border-radius:12px;box-shadow:inset 0 1px #eeddb43d,0 4px 12px #0003}
#professionsWorkspace .pf-title-art img{width:44px;height:44px;border-radius:8px}
#professionsWorkspace .pf-title-lockup h2{font-size:27px;line-height:1.12;margin:4px 0 0;letter-spacing:.01em;color:#f3ddaf}
#professionsWorkspace .pf-title-lockup .pf-kicker{font-size:10px;color:#c3a775;letter-spacing:.16em}
#professionsWorkspace .pf-screen-tabs{padding:4px;gap:4px;border:1px solid #454451;border-radius:10px;background:#111923;box-shadow:inset 0 1px #ffffff05}
#professionsWorkspace .pf-screen-tabs button{min-height:43px;gap:8px;padding:8px 12px;border-radius:7px;background:linear-gradient(180deg,#29313e,#202632);border:1px solid transparent;color:#c6c9d0;box-shadow:inset 0 1px #ffffff09;transition:background-color .12s,border-color .12s}
#professionsWorkspace .pf-screen-tabs button img{width:25px;height:25px;border-radius:5px}
#professionsWorkspace .pf-screen-tabs button[aria-pressed=true]{background:linear-gradient(135deg,#56452f,#35313a);border-color:#b79b63;color:#ffe1a4;box-shadow:inset 0 1px #f4d89838,0 1px 3px #0004}
#professionsWorkspace .pf-screen-tabs button:hover:not([aria-pressed=true]){background:#353542;border-color:#766b80;color:#f3e2c7}
#professionsWorkspace .pf-focus-rail button{min-height:84px;gap:2px;padding:7px 4px}
#professionsWorkspace .pf-focus-rail button img{width:42px;height:42px}
#professionsWorkspace .pf-workbench{height:min(720px,calc(100dvh - 310px));min-height:0;grid-template-columns:minmax(220px,.78fr) minmax(390px,1.55fr) minmax(245px,.95fr);align-items:stretch;gap:12px}
#professionsWorkspace .pf-workbench>.pf-panel{height:100%;min-height:0;display:flex;flex-direction:column}
#professionsWorkspace .pf-panel-heading{height:49px;min-height:49px;flex:none;padding:9px 13px;align-items:center}
#professionsWorkspace .pf-panel-heading h3{font-size:19px;margin:2px 0 0}
#professionsWorkspace .pf-panel-heading .pf-kicker{font-size:9px}
#professionsWorkspace .pf-skill-body{gap:9px;padding:12px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
#professionsWorkspace .pf-context-icon{min-height:58px;gap:10px}
#professionsWorkspace .pf-context-icon img{width:54px;height:54px}
#professionsWorkspace .pf-context-icon h3{font-size:24px}
#professionsWorkspace .pf-inline-fields label{font-size:11px;gap:4px}
#professionsWorkspace .pf-inline-fields input{min-height:34px;height:34px;padding:6px 9px}
#professionsWorkspace .pf-rank-buttons button{min-height:37px;padding:5px;font-size:11px}
#professionsWorkspace .pf-primary-slots>.pf-note,#professionsWorkspace .pf-skill-note{display:none}
#professionsWorkspace .pf-slot-buttons button{min-height:36px;padding:5px;font-size:11px}
#professionsWorkspace .pf-next-training{margin-top:auto;padding:10px}
#professionsWorkspace .pf-next-training>.pf-note{display:none}
#professionsWorkspace .pf-next-training h4{font-size:17px}
#professionsWorkspace .pf-next-training p{font-size:11px}
#professionsWorkspace .pf-skill-actions{gap:5px}
#professionsWorkspace .pf-skill-actions button{min-height:34px;padding:6px;font-size:11px}
#professionsWorkspace .pf-recipe-panel .pf-search{padding:10px 12px 0}
#professionsWorkspace .pf-recipe-filters{padding:6px 12px 2px}
#professionsWorkspace .pf-result-count{padding:0 12px 6px}
#professionsWorkspace .pf-recipes{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px;padding:0 12px 10px;flex:1;min-height:0;overflow:auto;scrollbar-width:thin;align-content:stretch}
#professionsWorkspace .pf-recipe-card{display:flex;flex-direction:column;gap:7px;padding:11px;min-height:0;overflow:auto;scrollbar-width:thin;border-color:#484451;background:linear-gradient(140deg,#252b37,#1b2530)}
#professionsWorkspace .pf-recipe-card header{display:flex;gap:11px;min-height:78px;flex:none}
#professionsWorkspace .pf-recipe-card header img{width:76px;height:76px;border-radius:8px;border:1px solid #958166;box-shadow:0 3px 8px #0005;flex:none}
#professionsWorkspace .pf-recipe-card h4{font-size:14px;line-height:1.35}
#professionsWorkspace .pf-recipe-card header p{font-size:11px}
#professionsWorkspace .pf-recipe-card .pf-ingredients{font-size:11px;line-height:1.4;min-height:0}
#professionsWorkspace .pf-recipe-card .pf-recipe-learning{font-size:11px;line-height:1.4;margin:0}
#professionsWorkspace .pf-recipe-card footer{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:auto;padding-top:3px;flex:none}
#professionsWorkspace .pf-recipe-card footer button{min-height:30px;padding:5px 10px}
#professionsWorkspace .pf-plan-panel{grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:12px;height:100%;min-height:0}
#professionsWorkspace .pf-plan-panel>.pf-panel{height:100%;min-height:0;display:flex;flex-direction:column}
#professionsWorkspace .pf-queue{flex:1;min-height:0;overflow:auto}
#professionsWorkspace .pf-queue:has(>.pf-empty){display:flex;padding:0}
#professionsWorkspace .pf-plan-panel .pf-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:0;height:auto;flex:1;padding:16px 18px;border:0;background:transparent}
#professionsWorkspace .pf-empty p{max-width:26ch;font-size:12px;color:#9ca9bb}
#professionsWorkspace .pf-material-panel>.pf-table-wrap{flex:1;min-height:0;overflow:auto}
#professionsWorkspace .pf-material-panel .pf-totals{min-height:41px;flex:none;border-top:1px solid #3c414e;background:#171f2a}
#professionsWorkspace .vr-reference-controls{min-height:34px;padding:5px 11px;flex:none}
#professionsWorkspace .pf-disclaimer{font-size:10px;line-height:1.3;padding:0}
@media(min-width:1180px) and (max-height:800px){#professionsWorkspace .pf-title-lockup h2{font-size:24px}#professionsWorkspace .pf-title-art{width:48px;height:48px}#professionsWorkspace .pf-title-art img{width:36px;height:36px}#professionsWorkspace .pf-topline{min-height:49px}#professionsWorkspace .pf-focus-rail button{min-height:77px}#professionsWorkspace .pf-focus-rail button img{width:36px;height:36px}#professionsWorkspace .pf-workbench{height:calc(100dvh - 280px)}#professionsWorkspace .pf-recipes{grid-template-rows:minmax(0,1fr)}#professionsWorkspace .pf-recipe-card header img{width:72px;height:72px}#professionsWorkspace .pf-skill-body{gap:7px;padding:10px}#professionsWorkspace .pf-rank-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}#professionsWorkspace .pf-rank-buttons button{font-size:9px;padding:4px 1px}#professionsWorkspace .pf-slot-buttons{display:grid}#professionsWorkspace .pf-skill-actions button{font-size:10px}}
@media(max-width:1179px){#professionsWorkspace .pf-workbench{height:auto;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);align-items:start}#professionsWorkspace .pf-workbench>.pf-panel,#professionsWorkspace .pf-plan-panel{height:auto}#professionsWorkspace .pf-recipe-panel{grid-row:1/3}#professionsWorkspace .pf-recipes{grid-template-columns:1fr;grid-template-rows:none;overflow:visible}#professionsWorkspace .pf-recipe-card{min-height:220px;overflow:visible}#professionsWorkspace .pf-skill-body{overflow:visible}}
@media(max-width:700px){#professionsWorkspace .pf-title-lockup h2{font-size:24px}#professionsWorkspace .pf-title-art{width:49px;height:49px}#professionsWorkspace .pf-title-art img{width:36px;height:36px}#professionsWorkspace .pf-screen-tabs{border:0;padding:0;background:none;gap:5px}#professionsWorkspace .pf-screen-tabs button{font-size:11px;padding:7px 5px;gap:5px}#professionsWorkspace .pf-workbench{grid-template-columns:1fr}#professionsWorkspace .pf-recipe-panel{grid-row:auto}#professionsWorkspace .pf-recipe-card header img{width:80px;height:80px}#professionsWorkspace .pf-plan-panel{grid-template-rows:auto auto}#professionsWorkspace .pf-plan-panel .pf-empty{min-height:120px}}

@media(min-width:1180px){#professionsWorkspace .pf-material-panel .pf-panel-heading h3{font-size:17px;line-height:1.1}#professionsWorkspace .pf-primary-slot{min-width:0}#professionsWorkspace .pf-primary-slot>button:first-child{grid-template-columns:24px minmax(0,1fr);gap:5px;text-align:left}#professionsWorkspace .pf-primary-slot>button:first-child>span{min-width:0;font-size:9px}#professionsWorkspace .pf-primary-slot b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}#professionsWorkspace .pf-material-panel .pf-panel-heading button{font-size:10px;padding:4px 6px;white-space:nowrap}}

.bank-workspace{min-width:0;background:#181c26;border:1px solid #3d3647;border-radius:7px}
.bank-workspace>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:12px 16px;color:#dfd1bb;font-size:15px;font-weight:600;cursor:pointer}
.bank-workspace>summary small{color:#aaa0b4;font-size:12px;font-weight:400;line-height:1.5}
.bank-workspace>.bw-body{padding:6px 16px 16px}
.bank-workspace .bw-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:8px 0 16px}
.bank-workspace .bw-kicker{font-size:11px;font-weight:600;letter-spacing:.08em;color:#b7a5c6}
.bank-workspace .bw-heading h3{font-size:20px;line-height:1.4;color:#e7d4b1;margin:5px 0}
.bank-workspace .bw-heading p{max-width:60ch;font-size:13px;line-height:1.6;color:#ada3b8;margin:4px 0 0}
.bank-workspace .bw-manual-badge{flex:none;border:1px solid #54485f;border-radius:4px;background:#272132;padding:5px 9px;color:#cbbbdc;font-size:11px;line-height:1.5}
.bank-workspace .bw-search{display:flex;align-items:end;gap:12px}
.bank-workspace .bw-search label{flex:1;min-width:0;display:grid;gap:7px;font-size:12px;color:#beb2c9}
.bank-workspace .bw-search input{width:100%;min-width:0;min-height:44px;font-size:14px}
.bank-workspace .bw-search button{min-height:44px;font-size:13px;white-space:nowrap}
.bank-workspace .bw-search-status{min-height:20px;margin:6px 0 0;color:#a99bb8;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.bank-workspace .bw-search-error{color:#e7bb85}
.bank-workspace .bw-filters{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 10px}
.bank-workspace .bw-filters button{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 12px;background:#1c202c;border:1px solid #3d3647;color:#bdb1ca;font-size:13px}
.bank-workspace .bw-filters button small{font-size:12px;font-variant-numeric:tabular-nums;color:#a499b2}
.bank-workspace .bw-filters button[aria-pressed=true]{border-color:#a98b61;background:#302837;color:#ecdbbc;box-shadow:inset 0 -2px #c1a477}
.bank-workspace .bw-status{min-height:24px;font-size:12px;line-height:1.5;color:#b9adbe}
.bank-workspace .bw-table-wrap{height:clamp(288px,36vh,480px);min-height:288px;overflow:auto;scrollbar-gutter:stable;border-top:1px solid #383341;border-bottom:1px solid #383341}
.bank-workspace .bw-table{width:100%;min-width:690px;border-collapse:collapse;table-layout:fixed;font-size:13px}
.bank-workspace .bw-table th{position:sticky;top:0;background:#20222d;color:#b8adc5;text-align:left;font-size:12px;font-weight:500;padding:12px 10px;z-index:1}
.bank-workspace .bw-table th:first-child{width:32%}
.bank-workspace .bw-table td{padding:11px 10px;border-bottom:1px solid #36313f;vertical-align:middle;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.5}
.bank-workspace .bw-table td a{color:#dfcba8;text-decoration-thickness:1px;text-underline-offset:3px}
.bank-workspace .bw-table td small{display:block;font-size:11px;color:#93889f;margin-top:3px}
.bank-workspace .bw-table input{width:100%;min-width:74px;min-height:40px;padding:8px;font-size:13px}
.bank-workspace .bw-unrecorded{font-size:12px;color:#9e93ad}
.bank-workspace .bw-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:52px;padding-top:8px}
.bank-workspace .bw-pagination button{min-height:40px;font-size:13px}
.bank-workspace .bw-pagination span{font-size:12px;color:#b8adbf;white-space:nowrap}
.bank-workspace .bw-note{font-size:12px;line-height:1.6;color:#9d91ad;margin:10px 0 0}
.bank-workspace .bw-saved{padding:0 0 20px;margin-bottom:22px;border-bottom:1px solid #4e455c}
.bank-workspace .bw-saved .bw-heading{margin-bottom:8px}
.bank-workspace .bw-saved .bw-manual-badge{color:#b8d3bf;border-color:#506e5d}
.bank-workspace .bw-saved-meta{font-size:12px;color:#c5b8d5;overflow-wrap:anywhere;margin:8px 0}
.bank-workspace .bw-saved .bw-search{margin-top:14px}
.bank-workspace .bw-saved .bw-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.bank-workspace .bw-saved>button{margin-top:12px}
.bank-workspace .bw-saved-empty{padding:14px 0;color:#c5b8d5}
.bank-workspace.bw-standalone>.bw-body{padding:16px 20px}
.bank-workspace.bw-standalone .bw-heading{margin:0 0 16px}
.bank-workspace.bw-standalone .bw-heading h3{font-family:Georgia,serif;font-size:23px;font-weight:500}
.bank-workspace.bw-standalone .bw-table-wrap{height:auto;min-height:0;max-height:none;overflow-x:auto}
.bank-workspace.bw-standalone .bw-table th{position:static;padding:10px}
.bank-workspace.bw-standalone .bw-table td{padding:8px 10px}
.bank-workspace.bw-standalone .bw-table tbody tr:hover{background:#22232e}
.bank-workspace.bw-standalone .bw-empty{min-height:180px;padding:24px}
.bank-workspace .bw-empty button{min-height:44px;margin-top:4px}
.bank-workspace .bw-empty{min-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;text-align:center}
.bank-workspace .bw-empty strong{font-size:16px;color:#cfbfa9}
.bank-workspace .bw-empty p{max-width:55ch;font-size:13px;line-height:1.7;color:#a99bb8;margin:10px 0}
.bank-workspace button:focus-visible,.bank-workspace input:focus-visible,.bank-workspace a:focus-visible,.bank-workspace>summary:focus-visible{outline:2px solid #d5b984;outline-offset:3px}
@media(max-width:900px){.bank-workspace .bw-heading{align-items:start;flex-direction:column;gap:6px}.bank-workspace .bw-heading p{max-width:65ch}.bank-workspace>summary{align-items:start;flex-direction:column;gap:4px}}
@media(max-width:650px){.bank-workspace .bw-search{align-items:stretch;flex-direction:column}.bank-workspace .bw-pagination{gap:8px}.bank-workspace .bw-pagination button{padding:8px}.bank-workspace>.bw-body,.bank-workspace.bw-standalone>.bw-body{padding:12px}.bank-workspace .bw-filters button{flex:1;justify-content:center}.bank-workspace.bw-standalone .bw-heading h3{font-size:21px}}

/* Saved personal storage: preserve container and slot identity, never auto-sort. */
.bank-workspace .bw-vault{background:radial-gradient(ellipse at top left,#342a24 0,transparent 48%),#141318;border:1px solid #786345;border-radius:9px;box-shadow:0 12px 32px #0005,inset 0 0 0 3px #242026;overflow:hidden;padding:0;margin-bottom:30px}
.bank-workspace .bw-vault-header{display:flex;align-items:center;gap:16px;padding:19px 22px;background:linear-gradient(105deg,#4d1b20,#2a171d 70%,#21171d);border-bottom:1px solid #9c7844;box-shadow:inset 0 1px #b9864b55}
.bank-workspace .bw-vault-seal{display:grid;place-items:center;flex:none;width:48px;height:48px;border:2px solid #b89a5b;border-radius:50%;color:#e3c68a;background:radial-gradient(#6b4931,#272026);font-size:27px;box-shadow:0 0 0 3px #1a1418,inset 0 0 14px #0008}
.bank-workspace.bw-standalone .bw-vault-header h3{margin:3px 0;color:#f1d5a1;font-family:Georgia,serif;font-size:29px;font-weight:500}
.bank-workspace .bw-vault-header .bw-kicker{color:#c7a58b;letter-spacing:.14em;font-size:10px}
.bank-workspace .bw-vault-header p{margin:3px 0 0;color:#baaaa3;font-size:12px;overflow-wrap:anywhere}
.bank-workspace .bw-snapshot-badge{margin-left:auto;flex:none;padding:5px 9px;border:1px solid #6e7657;background:#23332877;color:#c4d3b4;border-radius:3px;font-size:11px}
.bank-workspace .bw-vault-content{padding:18px 22px 0}
.bank-workspace .bw-vault-summary{display:flex;flex-wrap:wrap;gap:10px 26px;color:#aca096;font-size:12px}
.bank-workspace .bw-vault-summary b{font-size:16px;color:#e1ceb0;font-weight:500;margin-right:3px;font-variant-numeric:tabular-nums}
.bank-workspace .bw-vault-toolbar{display:flex;gap:16px;align-items:end;justify-content:space-between;margin:16px 0}
.bank-workspace .bw-vault .bw-search{flex:1;margin:0;max-width:650px;gap:8px}
.bank-workspace .bw-vault .bw-search label{color:#bdb0a6;font-size:11px;gap:5px}
.bank-workspace .bw-vault .bw-search input{background:#100f15;border-color:#514637;min-height:40px;font-size:13px}
.bank-workspace .bw-vault .bw-search button{min-height:40px;border-color:#6b573f;background:linear-gradient(#352d29,#231e21);color:#ddc8a6}
.bank-workspace .bw-layout-switch{display:flex;flex:none;gap:2px;padding:3px;border:1px solid #4e4236;background:#100e13;border-radius:5px}
.bank-workspace .bw-layout-switch button{min-height:34px;padding:6px 11px;background:transparent;border:1px solid transparent;font-size:12px;color:#b2a696;border-radius:3px}
.bank-workspace .bw-layout-switch button[aria-pressed=true]{border-color:#8c724a;background:linear-gradient(#49392c,#2d2624);color:#f0dab5}
.bank-workspace .bw-bag-tabs{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid #5d4b344d;margin-bottom:18px}
.bank-workspace .bw-bag-tabs button{display:flex;align-items:center;gap:7px;min-height:42px;background:#211e22;border:1px solid #534638;border-radius:4px;padding:7px 10px;color:#baad9e;font-size:12px}
.bank-workspace .bw-bag-tabs button small{color:#8e857c;font-size:10px}
.bank-workspace .bw-bag-tabs button[aria-pressed=true]{background:linear-gradient(#4b392a,#2c2423);border-color:#c19a5b;box-shadow:inset 0 -2px #ba914f;color:#f0d4a0}
.bank-workspace .bw-bag-tabs button[aria-pressed=true] small{color:#c1ad8e}
.bank-workspace .bw-bag-glyph{font-size:20px;color:#bca076}
.bank-workspace .bw-vault-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}
.bank-workspace .bw-bag-area{min-width:0;display:grid;gap:18px}
.bank-workspace .bw-bag-panel{background:linear-gradient(135deg,#242025,#19171c);border:1px solid #64523c;border-radius:5px;padding:14px;box-shadow:inset 0 0 0 2px #0d0c1055}
.bank-workspace .bw-bag-panel>header{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:14px}
.bank-workspace .bw-bag-panel h4{margin:0;font-family:Georgia,serif;font-size:17px;font-weight:500;color:#ddc18f}
.bank-workspace .bw-bag-panel>header>span{font-size:10px;line-height:1.5;color:#a79887;text-align:right}
.bank-workspace .bw-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:11px 8px;align-items:start}
.bank-workspace .bw-slot-cell{min-width:0;text-align:center;transition:opacity .12s}
.bank-workspace .bw-slot{position:relative;display:grid;place-items:center;width:56px;height:56px;min-height:56px;margin:0 auto;padding:3px;background:linear-gradient(135deg,#19141c,#302528);border:2px solid #82705a;border-radius:5px;box-shadow:0 2px 3px #0008,inset 0 0 0 2px #0b080c,inset 0 0 14px #0008;overflow:hidden;color:#d7c3a5}
.bank-workspace .bw-slot img{width:44px;height:44px;object-fit:cover;border-radius:2px}
.bank-workspace .bw-slot-filled:hover{border-color:#e0bf7f;background:#41322a;box-shadow:0 0 9px #ba965344,inset 0 0 0 2px #0b080c}
.bank-workspace .bw-slot-filled[aria-pressed=true]{border-color:#f1cd83;box-shadow:0 0 0 1px #e8bc65,0 0 15px #be8d4e44,inset 0 0 0 2px #0b080c}
.bank-workspace .bw-slot-count{position:absolute;bottom:1px;right:3px;max-width:100%;font-size:11px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;text-shadow:1px 1px 2px #000,-1px -1px 2px #000,0 0 4px #000;line-height:1.4}
.bank-workspace .bw-slot-index{position:absolute;top:2px;left:4px;font-size:9px;color:#e8d5b6;line-height:1.2;text-shadow:0 1px 3px #000}
.bank-workspace .bw-slot-empty{border-color:#473c36;background:radial-gradient(#111016,#08070c);opacity:.7}
.bank-workspace .bw-slot-empty .bw-slot-index{color:#7c7168}
.bank-workspace .bw-slot-caption{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:#bbada1;font-size:10px;line-height:1.35;margin:7px auto 0;max-width:92px;min-height:27px}
.bank-workspace .bw-slot-dim{opacity:.23}
.bank-workspace .bw-slot-dim:focus-within,.bank-workspace .bw-slot-dim:hover{opacity:.8}
.bank-workspace .bw-item-monogram{display:grid;place-items:center;width:100%;height:100%;background:radial-gradient(ellipse at top,#665447,#302631);color:#e7cda6;font-family:Georgia,serif;font-size:19px;letter-spacing:-1px;text-shadow:0 2px 2px #000a}
.bank-workspace .bw-stack-detail{min-width:0;position:sticky;top:10px;border:1px solid #62503c;border-radius:5px;padding:20px;background:linear-gradient(145deg,#232027,#15131b);box-shadow:inset 0 0 0 2px #0c0b1055}
.bank-workspace .bw-detail-icon{width:64px;height:64px;padding:4px;border:2px solid #b59460;background:#0c0a0e;margin-bottom:18px;border-radius:5px;box-shadow:0 4px 15px #0006}
.bank-workspace .bw-detail-icon img{width:52px;height:52px;object-fit:cover}
.bank-workspace .bw-stack-detail .bw-kicker{font-size:9px;letter-spacing:.12em;color:#a98e69}
.bank-workspace .bw-stack-detail h4{margin:8px 0 5px;font-family:Georgia,serif;font-size:20px;font-weight:500;color:#f0dbb8;line-height:1.3;overflow-wrap:anywhere}
.bank-workspace .bw-detail-id{margin:0 0 20px;font-size:10px;color:#857d8a}
.bank-workspace .bw-stack-detail dl{margin:0;border-top:1px solid #4c4035;padding-top:8px}
.bank-workspace .bw-stack-detail dl>div{display:flex;justify-content:space-between;gap:10px;margin:11px 0;font-size:12px}
.bank-workspace .bw-stack-detail dt{color:#a79b90}.bank-workspace .bw-stack-detail dd{margin:0;color:#e7d6bb;font-variant-numeric:tabular-nums}
.bank-workspace .bw-stack-detail .bw-note{font-size:11px;color:#968b9a;margin-top:18px}
.bank-workspace .bw-detail-empty>span{font-size:32px;color:#a18562}.bank-workspace .bw-detail-empty p{color:#a99cab;font-size:12px;line-height:1.6}
.bank-workspace .bw-capacity-note{margin:18px 0;font-size:11px;line-height:1.6;color:#9a8f83;max-width:90ch}
.bank-workspace .bw-vault-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px 20px;font-size:10px;line-height:1.6;color:#a29485;border-top:1px solid #554635;padding:13px 0}
.bank-workspace .bw-vault .bw-sync-note{margin:0;padding:12px 22px;background:#0e0d12;border-top:1px solid #433827;font-size:11px;color:#a99d90}
.bank-workspace .bw-saved:not(.bw-vault)>.bw-layout-switch{width:max-content;margin:10px 0 16px}
@media(min-width:1600px){.bank-workspace .bw-vault-layout{grid-template-columns:minmax(0,1fr) 280px}.bank-workspace .bw-slot-grid{grid-template-columns:repeat(auto-fill,72px)}}
@media(max-width:1050px){.bank-workspace .bw-vault-layout{grid-template-columns:minmax(0,1fr) 210px;gap:14px}.bank-workspace .bw-stack-detail{padding:15px}.bank-workspace .bw-vault-toolbar{flex-wrap:wrap}.bank-workspace .bw-vault-toolbar .bw-search{max-width:none;flex-basis:100%}}
@media(max-width:720px){.bank-workspace .bw-vault-header{padding:16px;gap:12px}.bank-workspace .bw-vault-seal{width:38px;height:38px;font-size:22px}.bank-workspace.bw-standalone .bw-vault-header h3{font-size:25px}.bank-workspace .bw-snapshot-badge{font-size:9px;padding:4px 6px}.bank-workspace .bw-vault-content{padding:14px 14px 0}.bank-workspace .bw-vault-layout{grid-template-columns:1fr}.bank-workspace .bw-stack-detail{position:static}.bank-workspace .bw-slot-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:10px 5px}.bank-workspace .bw-bag-panel{padding:10px}.bank-workspace .bw-bag-tabs button{flex:1;justify-content:center}.bank-workspace .bw-vault .bw-sync-note{padding:12px 14px}.bank-workspace .bw-detail-icon{float:left;margin:0 16px 12px 0}.bank-workspace .bw-stack-detail dl{clear:both}.bank-workspace .bw-vault-summary{gap:8px 16px}}
@media(prefers-reduced-motion:reduce){.bank-workspace .bw-slot-cell{transition:none}}

/* The Bank screen dedicates the available workspace to saved personal storage. */
.vr-compact body[data-view=bank] #viewContent{height:100%;min-height:0;min-width:0}
.vr-compact body[data-view=bank] #vr-task-panel{padding:0;overflow:hidden}
.bank-workspace.bw-saved-only{height:100%;min-height:0;border:0;background:transparent;border-radius:0}
.bank-workspace.bw-saved-only>.bw-body{height:100%;min-height:0;display:flex;flex-direction:column;padding:0}
.bank-workspace.bw-saved-only .bw-vault{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;margin:0}
.bank-workspace.bw-saved-only .bw-vault-header{flex:none;padding-top:16px;padding-bottom:16px}
.bank-workspace.bw-saved-only .bw-vault-content{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;display:flex;flex-direction:column}
.bank-workspace.bw-saved-only .bw-vault-layout{flex:1;min-height:min-content}
.bank-workspace.bw-saved-only .bw-vault-content>:not(.bw-vault-layout){flex:none}
.bank-workspace.bw-saved-only .bw-sync-note{flex:none}
.bank-workspace.bw-saved-only .bw-saved:not(.bw-vault){flex:1;min-height:0;overflow:auto;margin:0;padding:20px;border:0}
@media(max-width:720px){.bank-workspace.bw-saved-only .bw-vault-header{padding:12px}.bank-workspace.bw-saved-only .bw-sync-note{font-size:10px;padding:9px 12px}.bank-workspace.bw-saved-only .bw-vault-content{padding:12px 12px 0}}
.bank-workspace .bw-storage-switch{display:flex;gap:5px;flex:none;padding:0 0 8px;min-height:48px}
.bank-workspace .bw-storage-switch button{min-width:130px;min-height:40px;padding:8px 22px;border:1px solid #60503e;background:linear-gradient(#2b252b,#1b1820);color:#bcae9c;font-family:Georgia,serif;font-size:16px;border-radius:5px}
.bank-workspace .bw-storage-switch button[aria-pressed=true]{border-color:#c39c62;background:linear-gradient(#5c352c,#352129);color:#f1d5a1;box-shadow:inset 0 -2px #c49a55}
.bank-workspace .bw-storage-switch button:focus-visible{outline:2px solid #f0d08f;outline-offset:-4px}
@media(max-width:720px){.bank-workspace .bw-storage-switch button{min-width:0;flex:1}}

/* Interactive item preview lives in the top layer, outside scrolling bag panes. */
.bw-item-hover{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:310px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:14px;border:1px solid #c19a60;border-radius:7px;background:linear-gradient(145deg,#29212b,#14121c);color:#e5d7c0;box-shadow:0 10px 34px #000b;font:13px/1.5 Arial,sans-serif;z-index:2147483000}
.bw-item-hover[hidden]{display:none}
.bw-item-hover::backdrop{background:transparent;pointer-events:none}
.bw-item-hover header{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
.bw-item-hover header img{flex:none;border:1px solid #b18a51;border-radius:4px}
.bw-item-hover header>div{flex:1;min-width:0}
.bw-item-hover h4{margin:0 0 3px;color:#f4d99f;font:600 17px/1.25 Georgia,serif;overflow-wrap:anywhere}
.bw-item-hover small{color:#a99daf;font-size:11px}
.bw-item-hover button{flex:none;min-width:28px;min-height:28px;padding:0;border:1px solid #62505e;border-radius:4px;background:#211b27;color:#dfd0ba;font-size:20px;cursor:pointer}
.bw-item-hover dl{margin:0;padding:10px 0;border-block:1px solid #58434a}
.bw-item-hover dl>div{display:flex;justify-content:space-between;gap:18px;margin:4px 0}
.bw-item-hover dt{color:#b8aaba;text-transform:capitalize}
.bw-item-hover dd{margin:0;text-align:right;color:#eee0c9;overflow-wrap:anywhere}
.bw-item-hover p{margin:11px 0;color:#cfc1b2;white-space:pre-line;overflow-wrap:anywhere}
.bw-item-hover>a{display:block;margin-top:12px;padding:9px 10px;border:1px solid #9b794c;border-radius:4px;background:#352532;color:#f0d29c;text-decoration:none;font-weight:600}
.bw-item-hover>a:hover{background:#4a3039;color:#fff0d2}
.bw-item-hover :focus-visible{outline:2px solid #f4d698;outline-offset:3px}
.bank-workspace .bw-list-item-preview{display:block;padding:0;border:0;background:none;color:#dfc39a;font:inherit;text-align:left;cursor:pointer}
.bank-workspace .bw-list-item-preview:hover{text-decoration:underline}
.bank-workspace .bw-list-item-preview:focus-visible{outline:2px solid #e4c084;outline-offset:3px}

/* Account-only screen: hide every Bank navigation entry until sign-in is confirmed. */
body:not([data-bank-access="signed-in"]) [data-view="bank"]{display:none!important}
.bank-sign-in{max-width:480px;margin:40px auto;padding:28px;border:1px solid #66503f;border-radius:8px;background:#211c27;color:#dfd0bb}
.bank-sign-in h2{margin:0 0 12px;font-family:Georgia,serif;color:#ecd2a1}
.bank-sign-in p{line-height:1.6;color:#bcaec2}
.bank-sign-in button{padding:10px 22px;border:1px solid #aa8454;border-radius:5px;background:#49313b;color:#f2dbb3;cursor:pointer}

/* World Wiki: illustrated overview, focused catalogue, readable reference pages.
   Common owns the available height. Wiki owns its internal reading surfaces. */
.wiki-workbench{--wiki-border:#403a49;--wiki-muted:#bcb1c7;--wiki-faint:#a79aad;--wiki-gold:#e7c999;--wiki-violet:#cfb2e4;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;width:100%;max-width:2100px;height:100%;min-width:0;min-height:0;margin-inline:auto;overflow:hidden;color:#e7e0dc;font-size:clamp(14px,.72vw,18px);line-height:1.5;color-scheme:dark}
.wiki-workbench *,.wiki-workbench *::before,.wiki-workbench *::after{box-sizing:border-box}
.wiki-workbench button,.wiki-workbench input,.wiki-workbench select{font:inherit}.wiki-workbench button{cursor:pointer}.wiki-workbench button:disabled{cursor:default;opacity:.43}.wiki-workbench a{color:var(--wiki-violet);text-underline-offset:3px}.wiki-workbench :focus-visible{outline:2px solid #f3d19d;outline-offset:-2px}.wiki-workbench [tabindex="-1"]:focus{outline:2px solid #c9a2e0;outline-offset:3px}
.wiki-workbench .wiki-kicker{display:block;color:#c7b18b;font-size:.72em;font-weight:650;letter-spacing:.1em;line-height:1.5}.wiki-workbench .wiki-icon{display:block;flex:0 0 auto;width:36px;height:36px;max-width:36px;max-height:36px;object-fit:cover;aspect-ratio:1;border:1px solid #8b7552;border-radius:6px;background:#10161f}.wiki-workbench .wiki-icon-large{width:64px;height:64px;max-width:64px;max-height:64px;border-radius:9px;box-shadow:0 5px 18px #0005}
/* Persistent search and route. */
.wiki-workbench .wiki-toolbar{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:17px 22px;min-width:0;border:1px solid #60506b;border-radius:11px;background:linear-gradient(110deg,#302638,#1a222e 68%)}.wiki-workbench .wiki-toolbar-title{flex:0 1 auto;min-width:190px}.wiki-workbench .wiki-toolbar-title :is(h1,h2){margin:3px 0 4px;font:clamp(24px,1.4vw,32px)/1.2 Georgia,serif;color:#f0dcb7;letter-spacing:-.015em}.wiki-workbench .wiki-toolbar-title>small{display:block;font-size:.81em;color:var(--wiki-muted)}
.wiki-workbench .wiki-search-form{flex:0 1 800px;min-width:0;margin:0;padding:0;border:0;background:none}.wiki-workbench .wiki-search-form>label{display:block;color:#c9bdd2;font-size:.82em;margin-bottom:7px}.wiki-workbench .wiki-search-row{display:flex;align-items:stretch;gap:8px;min-width:0}.wiki-workbench .wiki-search-row input{flex:1 1 260px;width:0;min-width:0;min-height:46px;padding:9px 13px;border:1px solid #645570;border-radius:6px;background:#101823;color:#eee5f3}.wiki-workbench .wiki-search-row input::placeholder{color:#a495b0;opacity:1}.wiki-workbench .wiki-search-row select{flex:0 1 190px;min-width:0;min-height:46px;padding:8px 29px 8px 10px;border:1px solid #645570;border-radius:6px;background:#222331;color:#d9cce0;text-overflow:ellipsis}.wiki-workbench .wiki-search-row button{flex:0 0 auto;min-width:88px;min-height:46px;padding:8px 17px;border:1px solid #9a7ab2;border-radius:6px;background:#47334f;color:#f5e8fe;font-weight:600}.wiki-workbench .wiki-search-row button:hover{background:#594061;border-color:#c49bdc}.wiki-workbench .wiki-search-form>p{margin:7px 0 0;color:var(--wiki-faint);font-size:.76em}.wiki-workbench .wiki-search-form>p span{color:var(--wiki-gold)}
.wiki-workbench .wiki-trail{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;min-height:32px;padding:0 3px;color:var(--wiki-faint);font-size:.85em;line-height:1.5}.wiki-workbench .wiki-trail button,.wiki-workbench .wiki-trail a{display:inline-flex;align-items:center;min-height:32px;max-width:100%;margin:0;padding:3px 6px;border:0;border-radius:4px;background:none;color:#d9c4e7;text-decoration:none;overflow-wrap:anywhere;text-align:left}.wiki-workbench .wiki-trail button:hover,.wiki-workbench .wiki-trail a:hover{background:#302638;color:#f0dfba}.wiki-workbench .wiki-trail>span:last-child{color:#e2d8cf;overflow-wrap:anywhere}
/* Five illustrated topics. */
.wiki-workbench .wiki-home-content{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px 3px 24px}.wiki-workbench .wiki-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:2px 0 16px}.wiki-workbench .wiki-intro>div{max-width:75ch}.wiki-workbench .wiki-intro>button{flex:0 0 auto;min-height:44px;padding:9px 14px;border:1px solid #80668c;border-radius:6px;background:#30273d;color:#e4d0ef;font-size:.9em}.wiki-workbench .wiki-intro>button:hover{background:#4a3656;border-color:#b18bc4}.wiki-workbench .wiki-intro h3,.wiki-workbench .wiki-intro h2{margin:0 0 7px;font:clamp(22px,1.15vw,28px)/1.25 Georgia,serif;color:#eedbc0}.wiki-workbench .wiki-intro p{margin:0;color:var(--wiki-muted);font-size:1em;line-height:1.65}
.wiki-workbench .wiki-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.wiki-workbench .wiki-topic-card{display:grid;grid-template-columns:66px minmax(0,1fr);align-content:start;gap:17px 15px;min-width:0;padding:22px;border:1px solid #51455c;border-radius:11px;background:linear-gradient(140deg,#252634,#1a222e);box-shadow:0 10px 30px #0002;overflow:hidden}.wiki-workbench .wiki-topic-art{display:flex;align-items:flex-start;justify-content:center;min-width:0}.wiki-workbench .wiki-topic-picture{display:block;width:64px;height:64px;object-fit:cover;aspect-ratio:1;border:1px solid #a38a5d;border-radius:9px;background:#111822;box-shadow:0 6px 16px #0005}.wiki-workbench .wiki-topic-copy{min-width:0}.wiki-workbench .wiki-topic-copy h3{margin:0 0 6px;color:#ecd4aa;font:1.3em/1.3 Georgia,serif}.wiki-workbench .wiki-topic-copy p{margin:0;color:var(--wiki-muted);font-size:.9em;line-height:1.6}
.wiki-workbench .wiki-topic-links{grid-column:1/-1;display:grid;gap:3px;min-width:0;padding-top:12px;border-top:1px solid #ffffff13}.wiki-workbench .wiki-topic-links button{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:44px;padding:7px 9px;border:1px solid transparent;border-radius:6px;background:#141d2844;color:#ded1e9;text-align:left}.wiki-workbench .wiki-topic-links button:hover{border-color:#81668c;background:#3b2e45;color:#f3e5fc}.wiki-workbench .wiki-topic-links button img{display:block;flex:0 0 auto;width:25px;height:25px;max-width:25px;max-height:25px;border:1px solid #78684d;border-radius:4px;object-fit:cover}.wiki-workbench .wiki-topic-links button>span{min-width:0;overflow-wrap:anywhere}.wiki-workbench .wiki-topic-links button>small{margin-left:auto;color:var(--wiki-faint);font-size:.79em;white-space:nowrap}.wiki-workbench .wiki-topic-links button>span[aria-hidden]{margin-left:0;color:#cdb288;font-size:1.3em;line-height:1}.wiki-workbench .wiki-topic-links button>b,.wiki-workbench .wiki-topic-links button>i{color:#cdb288;font-size:1.3em;font-style:normal;font-weight:400}.wiki-workbench .wiki-home-note{margin:18px 0 0;color:var(--wiki-faint);font-size:.8em}
/* Grouped category rail and compact result list. */
.wiki-workbench .wiki-layout{display:grid;grid-template-columns:214px minmax(0,1fr);gap:14px;height:100%;min-width:0;min-height:0;align-items:stretch;overflow:hidden}.wiki-workbench .wiki-categories{min-width:0;min-height:0;height:100%;padding:11px 9px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--wiki-border);border-radius:10px;background:#151d28}.wiki-workbench .wiki-categories>h3{margin:2px 8px 10px;color:#bba8ca;font-size:.86em;font-weight:600}.wiki-workbench .wiki-categories button{display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:44px;margin:2px 0;padding:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--wiki-muted);text-align:left;font-size:.86em;line-height:1.4}.wiki-workbench .wiki-categories button>span{flex:1;min-width:0;overflow-wrap:anywhere}.wiki-workbench .wiki-categories button>small{color:var(--wiki-faint);font-size:.79em;white-space:nowrap}.wiki-workbench .wiki-categories .wiki-icon{width:23px;height:23px;max-width:23px;max-height:23px;border-radius:4px}.wiki-workbench .wiki-categories button:hover{border-color:#5f4b6e;background:#282635;color:#f0dfba}.wiki-workbench .wiki-categories button.wiki-category-active{border-color:#9775ad;background:#3a2c45;color:#f2e3ff;box-shadow:inset 3px 0 #c9a5e1}
.wiki-workbench .wiki-category-group{margin-top:10px;padding-top:7px;border-top:1px solid #ffffff12}.wiki-workbench .wiki-category-group>summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:6px 8px;color:#d3bd99;font-size:.82em;font-weight:600;cursor:pointer;list-style:none}.wiki-workbench .wiki-category-group>summary::before{content:'›';flex:0 0 auto;color:#bc9ed0;font-size:1.5em;font-weight:400;line-height:1}.wiki-workbench .wiki-category-group[open]>summary::before{transform:rotate(90deg)}.wiki-workbench .wiki-category-group>summary::-webkit-details-marker{display:none}.wiki-workbench .wiki-category-group>div{padding-left:3px}.wiki-workbench .wiki-index-note{padding:12px 8px 0;border-top:1px solid #ffffff12;color:var(--wiki-faint);font-size:.77em;line-height:1.6}.wiki-workbench .wiki-quick{margin-top:12px;padding-top:8px;border-top:1px solid #403348}.wiki-workbench .wiki-quick>summary{display:flex;align-items:center;min-height:44px;color:#c4afd4;font-size:.86em;cursor:pointer}.wiki-workbench .wiki-quick button{background:#292433;border-color:#51405f}
.wiki-workbench .wiki-content{display:grid;grid-template-columns:minmax(315px,.77fr) minmax(0,1.5fr);gap:14px;height:100%;min-width:0;min-height:0;align-items:start;overflow:hidden}.wiki-workbench .wiki-results{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;width:100%;height:100%;max-height:100%;min-width:0;min-height:0;border:1px solid var(--wiki-border);border-radius:10px;overflow:hidden;background:#191f2b}.wiki-workbench .wiki-section-head{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:16px 17px;border-bottom:1px solid var(--wiki-border);background:#232432}.wiki-workbench .wiki-section-head h3{margin:0;color:#ecdece;font-size:1.18em;line-height:1.4;overflow-wrap:anywhere}.wiki-workbench .wiki-section-head small{color:var(--wiki-faint);font-size:.8em}
.wiki-workbench .wiki-result-status,.wiki-workbench .wiki-related-status{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:43px;padding:10px 16px;border-bottom:1px solid #3d3447;color:var(--wiki-muted);font-size:.82em;line-height:1.5}.wiki-workbench .wiki-result-status>span,.wiki-workbench .wiki-related-status>span{min-width:0;overflow-wrap:anywhere}.wiki-workbench .wiki-result-status button,.wiki-workbench .wiki-related-status button{flex:0 0 auto;min-height:44px;padding:7px 10px;border:1px solid #987987;border-radius:5px;background:#392836;color:#f3dce4;font-size:.94em}
.wiki-workbench .wiki-result-list{display:block;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.wiki-workbench .wiki-result{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:90px;padding:14px;border:0;border-bottom:1px solid #37303f;border-radius:0;background:transparent;color:#e9dedb;text-align:left}.wiki-workbench .wiki-result:last-child{border-bottom:0}.wiki-workbench .wiki-result:hover{background:#2b283a}.wiki-workbench .wiki-result.wiki-selected{background:#382b43;box-shadow:inset 3px 0 #c8a3e2}.wiki-workbench .wiki-result-copy{display:grid;gap:5px;flex:1;min-width:0}.wiki-workbench .wiki-result-copy strong{display:block;font-size:1em;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.wiki-workbench .wiki-result-copy>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--wiki-muted);font-size:.84em;line-height:1.5}.wiki-workbench .wiki-result-type{display:inline-block;flex:0 0 auto;max-width:95px;padding:3px 6px;border:1px solid #5b4967;border-radius:4px;background:#201e2b;color:#cfbadf;font-size:.69em;line-height:1.4;overflow-wrap:anywhere}.wiki-workbench .wiki-result-copy>.wiki-result-type{display:inline-block;justify-self:start}.wiki-workbench .wiki-result-arrow{flex:0 0 auto;color:#c8a979;font-size:1.65em;font-weight:400;line-height:1}
.wiki-workbench .wiki-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 12px;border-top:1px solid var(--wiki-border);background:#171c27}.wiki-workbench .wiki-pagination button{flex:0 0 auto;min-width:84px;min-height:44px;padding:8px 10px;border:1px solid #5d4c6a;border-radius:6px;background:#2b2638;color:#e4d4ef;font-size:.85em}.wiki-workbench .wiki-pagination button:hover:not(:disabled){border-color:#a184b4;background:#44344e}.wiki-workbench .wiki-pagination span{min-width:0;color:var(--wiki-muted);text-align:center;font-size:.8em;line-height:1.5}
.wiki-workbench .wiki-empty-results{display:grid;justify-items:center;align-content:center;gap:12px;min-height:260px;padding:30px 20px;text-align:center}.wiki-workbench .wiki-empty-results h4{margin:0;color:#eadbc8;font-size:1.1em}.wiki-workbench .wiki-empty-results p{max-width:34ch;margin:0;color:var(--wiki-muted);font-size:.94em;line-height:1.65}.wiki-workbench .wiki-empty-results button,.wiki-workbench .wiki-error button,.wiki-workbench .wiki-detail>button{min-height:44px;padding:8px 13px;border:1px solid #8e72a2;border-radius:6px;background:#3a2c46;color:#eedfff;font-size:.9em}.wiki-workbench .wiki-error{margin:14px;padding:15px;border:1px solid #96545f;border-radius:8px;background:#4f293238}.wiki-workbench .wiki-error p{margin:0 0 12px;color:#f1bcc5;line-height:1.6}
/* One scrolling reader; practical information comes first. */
.wiki-workbench .wiki-detail{position:static;width:100%;height:100%;min-width:0;min-height:0;padding:24px clamp(20px,1.7vw,38px);border:1px solid #62506f;border-radius:10px;background:linear-gradient(145deg,#262532,#19232d);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-top:20px}.wiki-workbench .wiki-detail-idle{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center;border-color:#4e425b}.wiki-workbench .wiki-idle-art{display:block;width:100%;max-width:480px;height:180px;object-fit:cover;aspect-ratio:16/9;margin:0 0 26px;border:1px solid #76634e;border-radius:8px;opacity:.85}.wiki-workbench .wiki-detail-mark{display:flex;justify-content:center;margin:0 0 22px}.wiki-workbench .wiki-detail h3,.wiki-workbench .wiki-detail h1{margin:10px 0 13px;font:1.65em/1.3 Georgia,serif;color:#eed7b3;overflow-wrap:anywhere}.wiki-workbench .wiki-detail p{max-width:80ch;margin:12px 0;color:var(--wiki-muted);font-size:1em;line-height:1.75;overflow-wrap:anywhere}.wiki-workbench .wiki-detail-idle small{display:block;max-width:65ch;margin-top:25px;color:var(--wiki-faint);font-size:.78em;line-height:1.7}.wiki-workbench .wiki-inspector-topics{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:18px}.wiki-workbench .wiki-inspector-topics span{padding:6px 9px;border:1px solid #53425e;border-radius:5px;background:#2c2536;color:#cbb4dc;font-size:.83em}
.wiki-workbench .wiki-detail-top,.wiki-workbench .wiki-reader-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-width:0;margin-bottom:24px}.wiki-workbench .wiki-detail-top .wiki-kicker{overflow-wrap:anywhere}.wiki-workbench .wiki-reader-actions button{min-height:44px;padding:8px 12px;border:1px solid #695176;border-radius:6px;background:#302a3e;color:#e9d7f4;font-size:.86em}.wiki-workbench .wiki-reader-actions button:hover{border-color:#b28dc7;background:#493653}.wiki-workbench .wiki-reader-actions>span,.wiki-workbench .wiki-reader-actions>small{color:#baa4c8;font-size:.8em;overflow-wrap:anywhere}.wiki-workbench .wiki-close{min-width:44px;min-height:44px;padding:5px 10px;border:1px solid #6d557b;border-radius:6px;background:#2d293a;color:#e9d9f4;font-size:1.5em}
.wiki-workbench .wiki-record-heading{display:flex;align-items:flex-start;gap:18px;min-width:0;margin:0 0 18px}.wiki-workbench .wiki-record-heading>div{min-width:0}.wiki-workbench .wiki-record-heading :is(h1,h3){margin:0 0 7px;font-size:1.8em}.wiki-workbench .wiki-record-heading p{margin:0;color:#bdafc8;font-size:.9em;line-height:1.6}.wiki-workbench .wiki-record-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}.wiki-workbench .wiki-record-facts>div{min-width:0;padding:12px;border:1px solid #4c4058;border-radius:7px;background:#171f2b}.wiki-workbench .wiki-record-facts small{display:block;margin-bottom:6px;color:#b3a3c1;font-size:.76em}.wiki-workbench .wiki-record-facts b{display:block;color:#ead0a3;font-size:.93em;line-height:1.5;overflow-wrap:anywhere}.wiki-workbench .wiki-record-summary{padding-bottom:17px;border-bottom:1px solid #ffffff15}
.wiki-workbench .wiki-jumps{display:flex;flex-wrap:wrap;gap:6px 9px;margin:20px 0 25px;padding:12px 0;border-block:1px solid #ffffff15}.wiki-workbench .wiki-jumps a{display:inline-flex;align-items:center;min-height:36px;padding:5px 9px;border-radius:4px;background:#30283a;color:#ddc4ec;font-size:.84em;text-decoration:none}.wiki-workbench .wiki-jumps a:hover{background:#4b3658;color:#f6e6ff}.wiki-workbench .wiki-article-section{min-width:0;max-width:90ch;margin:25px 0;scroll-margin-top:20px}.wiki-workbench .wiki-article-section h4{margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid #66516f;color:#e7d4b5;font:1.22em/1.35 Georgia,serif}.wiki-workbench .wiki-readable-list{display:grid;gap:11px;margin:0;padding:0;list-style:none}.wiki-workbench .wiki-readable-list>li{min-width:0;padding:11px 13px;border-left:2px solid #9371aa;border-radius:0 5px 5px 0;background:#151e2955;color:#d8ccdf;font-size:.96em;line-height:1.7;overflow-wrap:anywhere}.wiki-workbench .wiki-readable-list>li>b,.wiki-workbench .wiki-readable-list>li>strong{color:#d9c09b;font-weight:600}.wiki-workbench .wiki-readable-list>li p{margin:5px 0 0;font-size:inherit}
.wiki-workbench .wiki-table-wrap{width:100%;min-width:0;border:1px solid #4d405a;border-radius:7px;overflow:hidden}.wiki-workbench .wiki-data-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.93em;line-height:1.6}.wiki-workbench .wiki-data-table th{padding:11px 13px;background:#30283a;color:#dfc69f;font-size:.88em;font-weight:600;text-align:left;overflow-wrap:anywhere}.wiki-workbench .wiki-data-table td{padding:11px 13px;border-top:1px solid #3c3348;color:#dfd4e4;vertical-align:top;overflow-wrap:anywhere}.wiki-workbench .wiki-data-table tbody th{border-top:1px solid #3c3348;background:#202431;color:#dfd4e4;font-size:1em;font-weight:500;vertical-align:top}.wiki-workbench .wiki-data-table tbody tr:nth-child(even){background:#161f2855}.wiki-workbench .wiki-data-table .wiki-icon{display:inline-block;width:25px;height:25px;max-width:25px;max-height:25px;margin-right:8px;border-radius:4px;vertical-align:middle}
.wiki-workbench .wiki-coverage{padding:11px 13px;border:1px solid #776045;border-radius:6px;background:#4c3b2645;color:#e1c595!important;font-size:.86em!important;line-height:1.65}.wiki-workbench .wiki-source-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:16px 0}.wiki-workbench .wiki-source-row a{color:#d1b2e2;font-size:.83em;overflow-wrap:anywhere}.wiki-workbench .wiki-source-row small{color:var(--wiki-faint);font-size:.77em}.wiki-workbench .wiki-technical{margin-top:27px;padding-top:15px;border-top:1px solid #4e405a}.wiki-workbench .wiki-technical>h4{margin:0 0 15px;color:#ddc29b;font:1.18em/1.4 Georgia,serif}.wiki-workbench .wiki-technical>summary{display:flex;align-items:center;gap:9px;min-height:44px;color:#d0b7df;font-size:.9em;cursor:pointer}
.wiki-workbench .wiki-record-section{min-width:0;margin:12px 0;border:1px solid #493c55;border-radius:7px;background:#17212c;overflow:hidden}.wiki-workbench .wiki-record-section>summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:12px 14px;background:#292634;color:#ded0e7;font-size:.9em;font-weight:600;line-height:1.4;cursor:pointer;list-style:none}.wiki-workbench .wiki-record-section>summary::before{content:'›';flex:0 0 auto;color:#cfb284;font-size:1.5em;font-weight:400;line-height:1}.wiki-workbench .wiki-record-section[open]>summary::before{transform:rotate(90deg)}.wiki-workbench .wiki-record-section>summary::-webkit-details-marker{display:none}.wiki-workbench .wiki-record-section>summary span{margin-left:auto;color:var(--wiki-faint);font-size:.8em;font-weight:400}.wiki-workbench .wiki-record-section>p{margin:12px 14px}
.wiki-workbench .wiki-fields{margin:0;padding:0 14px}.wiki-workbench .wiki-fields>div{padding:13px 0;border-bottom:1px solid #383343}.wiki-workbench .wiki-fields>div:last-child{border-bottom:0}.wiki-workbench .wiki-fields dt{margin:0 0 6px;color:#cdb18b;font-size:.77em;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.wiki-workbench .wiki-fields dd{margin:0;color:#d8cfe0;font-size:.93em;line-height:1.7;overflow-wrap:anywhere}.wiki-workbench .wiki-fields a{color:#d1b3e0}.wiki-workbench .wiki-value-text{white-space:pre-wrap}.wiki-workbench .wiki-muted{color:var(--wiki-faint)}.wiki-workbench .wiki-value-list{margin:0;padding-left:19px}.wiki-workbench .wiki-value-list li+li{margin-top:7px}.wiki-workbench .wiki-value-object{display:grid;gap:9px;margin:0}.wiki-workbench .wiki-value-object>div{padding-left:11px;border-left:1px solid #6a517e}.wiki-workbench .wiki-value-object dt{margin:0 0 4px;color:#bca5ce;font-size:.9em;letter-spacing:0;text-transform:none}.wiki-workbench .wiki-value-object dd{margin:0;font-size:.94em}.wiki-workbench .wiki-structured{max-width:100%;margin:0;color:#c6b9d1;font-size:.82em;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.wiki-workbench .wiki-detail-note{margin:24px 0 0;color:var(--wiki-faint)!important;font-size:.78em!important;line-height:1.7}
/* Related records stay in the reader flow without another scrolling box. */
.wiki-workbench .wiki-related{margin:28px 0 18px}.wiki-workbench .wiki-related>h4{margin:0;padding:15px 16px;background:#2a2634;color:#e2c9a3;font:1.18em/1.3 Georgia,serif}.wiki-workbench .wiki-related-list{display:block;min-width:0;margin:0;padding:0 16px;list-style:none}.wiki-workbench .wiki-related-list>li{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:62px;padding:10px 0;border-bottom:1px solid #3b3245;font-size:.9em}.wiki-workbench .wiki-related-list>li:last-child{border-bottom:0}.wiki-workbench .wiki-related-list>li>a{max-width:100%;color:#dec0ed;font-size:1em;line-height:1.5;overflow-wrap:anywhere}.wiki-workbench .wiki-related-list>li>small{color:#b5a5c2;font-size:.85em;line-height:1.5}.wiki-workbench .wiki-related-list>.wiki-related-state{align-items:center;min-height:90px;color:var(--wiki-muted);text-align:center}.wiki-workbench .wiki-relation-kind{display:inline-block;margin-right:6px;padding:2px 6px;border:1px solid #624c71;border-radius:4px;background:#2d2539;color:#d9bce8;font-size:.8em}
/* Keep long lines and images useful at 4K. */
@media(min-width:2400px){.wiki-workbench{gap:16px}.wiki-workbench .wiki-toolbar{padding:20px 28px}.wiki-workbench .wiki-topics{gap:22px}.wiki-workbench .wiki-topic-card{padding:25px}.wiki-workbench .wiki-layout{grid-template-columns:245px minmax(0,1fr);gap:18px}.wiki-workbench .wiki-content{grid-template-columns:minmax(390px,.8fr) minmax(0,1.6fr);gap:18px}.wiki-workbench .wiki-result{padding:16px;min-height:104px}.wiki-workbench .wiki-detail{padding:30px 38px}}
/* Constrained workspaces get a grouped picker and a single main column. */
@media(max-width:1399px){.wiki-workbench .wiki-toolbar{gap:18px;padding:14px 17px}.wiki-workbench .wiki-toolbar-title{min-width:170px}.wiki-workbench .wiki-search-form{flex-basis:620px}.wiki-workbench .wiki-search-row select{flex-basis:150px}.wiki-workbench .wiki-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:11px}.wiki-workbench .wiki-categories{display:flex;align-items:flex-start;flex-wrap:wrap;gap:5px 10px;height:auto;max-height:200px;padding:7px 10px}.wiki-workbench .wiki-categories>h3{display:none}.wiki-workbench .wiki-categories>button{width:auto;min-width:150px;margin:0}.wiki-workbench .wiki-category-group{flex:1 1 145px;min-width:0;margin:0;padding:0;border-top:0}.wiki-workbench .wiki-category-group>summary{min-height:44px;padding:6px}.wiki-workbench .wiki-category-group>div{padding:0}.wiki-workbench .wiki-category-group button{margin:2px 0}.wiki-workbench .wiki-index-note,.wiki-workbench .wiki-quick{display:none}.wiki-workbench .wiki-content{grid-template-columns:minmax(0,1fr)}.wiki-workbench.wiki-reading .wiki-categories{display:none}.wiki-workbench.wiki-reading .wiki-layout{grid-template-rows:minmax(0,1fr)}.wiki-workbench.wiki-reading .wiki-results{display:none}.wiki-workbench:not(.wiki-reading) .wiki-detail{display:none}.wiki-workbench .wiki-results{max-width:900px}.wiki-workbench .wiki-result-type{max-width:130px}.wiki-workbench .wiki-topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
@media(max-width:920px){.wiki-workbench{gap:8px}.wiki-workbench .wiki-toolbar{flex-wrap:wrap;gap:13px;padding:13px 15px}.wiki-workbench .wiki-toolbar-title{flex:1 1 100%;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px}.wiki-workbench .wiki-toolbar-title .wiki-kicker{display:none}.wiki-workbench .wiki-toolbar-title :is(h1,h2){margin:0;font-size:24px}.wiki-workbench .wiki-toolbar-title>small{font-size:11px}.wiki-workbench .wiki-search-form{flex:1 1 100%}.wiki-workbench .wiki-search-form>label{font-size:11px;margin-bottom:5px}.wiki-workbench .wiki-search-row input{font-size:13px}.wiki-workbench .wiki-trail{min-height:28px;gap:3px;font-size:11px}.wiki-workbench .wiki-trail button,.wiki-workbench .wiki-trail a{min-height:28px;padding:3px 4px}.wiki-workbench .wiki-topic-card{padding:17px;gap:13px;grid-template-columns:54px minmax(0,1fr)}.wiki-workbench .wiki-topic-picture{width:52px;height:52px;border-radius:7px}.wiki-workbench .wiki-topic-copy h3{font-size:18px}.wiki-workbench .wiki-topic-copy p{font-size:12px}.wiki-workbench .wiki-categories{max-height:144px}.wiki-workbench .wiki-categories>button{flex-basis:100%;width:100%}.wiki-workbench .wiki-category-group{flex-basis:155px}.wiki-workbench .wiki-detail{padding:20px}}
@media(max-width:600px){.wiki-workbench .wiki-toolbar{padding:12px;gap:10px}.wiki-workbench .wiki-toolbar-title{gap:3px 9px}.wiki-workbench .wiki-toolbar-title :is(h1,h2){font-size:22px}.wiki-workbench .wiki-toolbar-title>small{font-size:10px}.wiki-workbench .wiki-search-row{flex-wrap:wrap;gap:6px}.wiki-workbench .wiki-search-row input{flex-basis:100%;width:100%;min-height:44px}.wiki-workbench .wiki-search-row select{flex:1 1 140px;min-height:44px;font-size:12px}.wiki-workbench .wiki-search-row button{flex:0 0 86px;min-height:44px;font-size:13px}.wiki-workbench .wiki-search-form>p{font-size:10px}.wiki-workbench .wiki-intro{align-items:flex-start;flex-direction:column;gap:12px;padding-bottom:17px}.wiki-workbench .wiki-intro h3,.wiki-workbench .wiki-intro h2{font-size:25px}.wiki-workbench .wiki-intro p{font-size:13px}.wiki-workbench .wiki-topics{grid-template-columns:minmax(0,1fr);gap:13px}.wiki-workbench .wiki-topic-card{gap:14px;padding:18px}.wiki-workbench .wiki-topic-links{gap:3px;padding-top:10px}.wiki-workbench .wiki-topic-links button{gap:9px;font-size:13px}.wiki-workbench .wiki-categories{gap:3px 7px;max-height:144px;padding:4px 7px}.wiki-workbench .wiki-categories>button{min-height:44px;font-size:12px}.wiki-workbench .wiki-category-group{flex-basis:140px}.wiki-workbench .wiki-category-group>summary{font-size:11px}.wiki-workbench .wiki-categories button{font-size:12px}.wiki-workbench .wiki-results{max-width:100%}.wiki-workbench .wiki-section-head{padding:13px;gap:4px}.wiki-workbench .wiki-section-head h3{font-size:16px}.wiki-workbench .wiki-result-status,.wiki-workbench .wiki-related-status{padding:10px 12px;font-size:11px}.wiki-workbench .wiki-result{gap:9px;padding:12px 10px;min-height:92px}.wiki-workbench .wiki-result .wiki-icon{width:30px;height:30px;max-width:30px;max-height:30px}.wiki-workbench .wiki-result-copy strong{font-size:13px}.wiki-workbench .wiki-result-copy>span{font-size:11px}.wiki-workbench .wiki-result-type{max-width:70px;font-size:9px}.wiki-workbench .wiki-result-copy>.wiki-result-type{font-size:9px}.wiki-workbench .wiki-result-arrow{font-size:21px}.wiki-workbench .wiki-pagination{padding:8px;gap:5px}.wiki-workbench .wiki-pagination button{min-width:74px;padding:7px;font-size:11px}.wiki-workbench .wiki-pagination span{font-size:10px}.wiki-workbench .wiki-detail{padding:15px}.wiki-workbench .wiki-reader-actions,.wiki-workbench .wiki-detail-top{margin-bottom:18px}.wiki-workbench .wiki-reader-actions>span,.wiki-workbench .wiki-reader-actions>small{font-size:10px}.wiki-workbench .wiki-record-heading{gap:12px}.wiki-workbench .wiki-record-heading .wiki-icon-large{width:48px;height:48px;max-width:48px;max-height:48px}.wiki-workbench .wiki-record-heading :is(h1,h3){font-size:22px}.wiki-workbench .wiki-record-heading p{font-size:11px}.wiki-workbench .wiki-detail p{font-size:13px}.wiki-workbench .wiki-record-facts{gap:5px;margin-block:16px}.wiki-workbench .wiki-record-facts>div{padding:9px 7px}.wiki-workbench .wiki-record-facts small{font-size:9px}.wiki-workbench .wiki-record-facts b{font-size:11px}.wiki-workbench .wiki-jumps{gap:5px;margin-block:16px}.wiki-workbench .wiki-jumps a{min-height:36px;font-size:11px}.wiki-workbench .wiki-article-section h4{font-size:17px}.wiki-workbench .wiki-readable-list>li{padding:10px;font-size:12px}.wiki-workbench .wiki-data-table{font-size:11px}.wiki-workbench .wiki-data-table th,.wiki-workbench .wiki-data-table td{padding:9px 8px}.wiki-workbench .wiki-related-list{padding-inline:12px}.wiki-workbench .wiki-related-list>li>a{font-size:12px}.wiki-workbench .wiki-record-section>summary{padding-inline:11px;font-size:12px}.wiki-workbench .wiki-fields{padding-inline:11px}.wiki-workbench .wiki-fields dt{font-size:10px}.wiki-workbench .wiki-fields dd{font-size:12px}}
@media(prefers-reduced-motion:reduce){.wiki-workbench *{scroll-behavior:auto!important;transition:none!important}}
.wiki-workbench .wiki-learning-item{margin:18px 0;padding:14px;border:1px solid #4e405a;border-radius:6px;background:#232332}.wiki-workbench #wiki-learning h5{margin:14px 0 9px;color:#d9c1e5;font-size:.95em;line-height:1.5}.wiki-workbench #wiki-learning small{color:var(--wiki-muted);line-height:1.7}.wiki-workbench .wiki-learning-more>summary{min-height:40px;padding:9px 0;color:#d1b3e0;cursor:pointer}
/* Reference records share readable field groups and disclose lengthy collections. */
.wiki-workbench .wiki-reference-layout{display:grid;gap:25px;min-width:0;padding:18px 16px 22px}
.wiki-workbench .wiki-reference-layout *{min-width:0}
.wiki-workbench .wiki-reference-group{min-width:0;margin:0;padding:0}
.wiki-workbench .wiki-reference-group+.wiki-reference-group{padding-top:20px;border-top:1px solid #57435f}
.wiki-workbench .wiki-reference-group>h5{margin:0 0 13px;color:#e7d0aa;font:1.08em/1.4 Georgia,serif;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-field{min-width:0;margin-top:16px}
.wiki-workbench .wiki-reference-field>h6{margin:0 0 9px;color:#cbb6d9;font-size:.9em;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 22px;margin:0}
.wiki-workbench .wiki-reference-facts>div{min-width:0;padding:0 0 12px;border-bottom:1px solid #ffffff10}
.wiki-workbench .wiki-reference-facts>.wiki-reference-wide{grid-column:1/-1}
.wiki-workbench .wiki-reference-facts dt,.wiki-workbench .wiki-reference-fields dt{margin:0 0 5px;color:#bda9cc;font-size:.79em;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-facts dd,.wiki-workbench .wiki-reference-fields dd{margin:0;color:#e0d6e6;font-size:.93em;line-height:1.7;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-facts dd>p,.wiki-workbench .wiki-reference-fields dd>p{margin:0;font-size:inherit;line-height:inherit}
.wiki-workbench .wiki-reference-collection{min-width:0;margin:12px 0 0;border:1px solid #4d4058;border-radius:6px;background:#202330;overflow:hidden}
.wiki-workbench .wiki-reference-collection>summary,.wiki-workbench .wiki-reference-entry>summary{display:flex;align-items:center;gap:10px;min-width:0;min-height:48px;padding:11px 13px;cursor:pointer;list-style:none;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-collection>summary{background:#2c2838;color:#dec8eb;font-size:.9em;font-weight:600}
.wiki-workbench .wiki-reference-collection>summary::before,.wiki-workbench .wiki-reference-entry>summary::before{content:'›';flex:0 0 12px;color:#d4b485;font-size:1.45em;font-weight:400;line-height:1;transform-origin:center}
.wiki-workbench .wiki-reference-collection[open]>summary::before,.wiki-workbench .wiki-reference-entry[open]>summary::before{transform:rotate(90deg)}
.wiki-workbench .wiki-reference-collection>summary::-webkit-details-marker,.wiki-workbench .wiki-reference-entry>summary::-webkit-details-marker{display:none}
.wiki-workbench .wiki-reference-collection>summary>span{flex:1;min-width:0}
.wiki-workbench .wiki-reference-collection>summary>small{flex:0 0 auto;margin-left:auto;color:#b7a5c3;font-size:.84em;font-weight:400;line-height:1.5;text-align:right}
.wiki-workbench .wiki-reference-collection>summary:hover,.wiki-workbench .wiki-reference-entry>summary:hover{background:#3a2d44}
.wiki-workbench .wiki-reference-collection>summary:focus-visible,.wiki-workbench .wiki-reference-entry>summary:focus-visible{outline:2px solid #f3d19d;outline-offset:-3px;border-radius:4px}
.wiki-workbench .wiki-reference-collection>p,.wiki-workbench .wiki-reference-collection>.wiki-reference-fields,.wiki-workbench .wiki-reference-collection>.wiki-reference-chips{margin:13px}
.wiki-workbench .wiki-reference-entry{min-width:0;margin:0;border-bottom:1px solid #ffffff12;background:transparent}
.wiki-workbench .wiki-reference-entry:last-child{border-bottom:0}
.wiki-workbench .wiki-reference-group>.wiki-reference-entry:first-of-type{border-top:1px solid #ffffff12}
.wiki-workbench .wiki-reference-entry>summary{align-items:flex-start;color:#dfd0e8;font-size:.9em;line-height:1.5}
.wiki-workbench .wiki-reference-entry>summary::before{margin-top:3px}
.wiki-workbench .wiki-reference-entry-title{display:flex;align-items:center;gap:9px;flex:1;min-width:0}
.wiki-workbench .wiki-reference-entry-title strong{min-width:0;color:#e0c2ec;font-size:1em;font-weight:600;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-entry-title>.wiki-icon{width:28px;height:28px;max-width:28px;max-height:28px;border-radius:4px}
.wiki-workbench .wiki-race-picture{position:relative;overflow:hidden}.wiki-workbench .wiki-race-picture>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}.wiki-workbench .wiki-race-picture.wiki-icon-large{width:56px;height:56px;max-width:56px;max-height:56px}
/* Face crops of the original Skyborne screenshots; keep text and faction marks outside the frame. */
.wiki-workbench .wiki-race-skyborne>img{position:absolute;width:600%;height:337.5%;left:-250%;top:0;max-width:none;object-fit:fill}
.wiki-workbench .wiki-reference-entry>summary>small{flex:0 1 36%;margin:2px 0 0 auto;color:#b7a7c4;font-size:.83em;font-weight:400;line-height:1.6;text-align:right;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-entry-body{min-width:0;padding:3px 16px 18px 35px}
.wiki-workbench .wiki-reference-entry-body>p{margin:8px 0 13px;font-size:.91em;line-height:1.75}
.wiki-workbench .wiki-reference-entry-body>:first-child{margin-top:0}
.wiki-workbench .wiki-reference-entry-body>:last-child{margin-bottom:0}
.wiki-workbench .wiki-reference-entry-body .wiki-reference-collection{border-color:#4b3c54;background:#171f2b55}
.wiki-workbench .wiki-reference-entry-body .wiki-reference-collection>summary{background:#292535}
.wiki-workbench .wiki-reference-fields{display:grid;gap:0;min-width:0;margin:0}
.wiki-workbench .wiki-reference-fields>div{display:grid;grid-template-columns:minmax(110px,.38fr) minmax(0,1fr);gap:8px 16px;min-width:0;padding:11px 0;border-bottom:1px solid #ffffff0e}
.wiki-workbench .wiki-reference-fields>div:last-child{border-bottom:0}
.wiki-workbench .wiki-reference-fields dt{margin:2px 0 0}
.wiki-workbench .wiki-reference-fields dd>.wiki-reference-fields>div:first-child{padding-top:0}
.wiki-workbench .wiki-reference-fields dd>.wiki-reference-fields>div{grid-template-columns:minmax(80px,.4fr) minmax(0,1fr)}
.wiki-workbench .wiki-reference-chips{display:flex;flex-wrap:wrap;gap:7px;min-width:0;margin:8px 0 0;padding:0;list-style:none}
.wiki-workbench .wiki-reference-chips>li{max-width:100%;min-width:0;margin:0;padding:5px 9px;border:1px solid #594361;border-radius:5px;background:#30243966;color:#d8c8e1;font-size:.87em;line-height:1.6;overflow-wrap:anywhere}
.wiki-workbench .wiki-reference-notice{max-width:75ch!important;margin:12px 0!important;padding:10px 12px;border-left:2px solid #a3865f;background:#44372a33;color:#c8b8a0!important;font-size:.86em!important;line-height:1.75!important}
.wiki-workbench .wiki-reference-table{width:100%;min-width:0;max-width:100%;margin:12px 0;overflow-x:auto;overscroll-behavior-x:contain}
.wiki-workbench .wiki-reference-table .wiki-table-wrap{min-width:0}
.wiki-workbench .wiki-reference-table .wiki-data-table{font-size:.87em}
@media(max-width:600px){.wiki-workbench .wiki-reference-layout{gap:21px;padding:15px 11px 18px}.wiki-workbench .wiki-reference-group+.wiki-reference-group{padding-top:17px}.wiki-workbench .wiki-reference-group>h5{font-size:15px}.wiki-workbench .wiki-reference-facts{grid-template-columns:minmax(0,1fr);gap:12px}.wiki-workbench .wiki-reference-facts>div{padding-bottom:10px}.wiki-workbench .wiki-reference-facts dt,.wiki-workbench .wiki-reference-fields dt{font-size:11px}.wiki-workbench .wiki-reference-facts dd,.wiki-workbench .wiki-reference-fields dd{font-size:12px}.wiki-workbench .wiki-reference-collection>summary,.wiki-workbench .wiki-reference-entry>summary{gap:8px;padding:10px;font-size:12px}.wiki-workbench .wiki-reference-entry>summary{flex-wrap:wrap}.wiki-workbench .wiki-reference-entry-title{flex-basis:calc(100% - 24px)}.wiki-workbench .wiki-reference-entry>summary>small{flex-basis:100%;margin:0 0 0 20px;text-align:left}.wiki-workbench .wiki-reference-entry-body{padding:2px 10px 15px 20px}.wiki-workbench .wiki-reference-entry-body>p{font-size:12px}.wiki-workbench .wiki-reference-fields>div,.wiki-workbench .wiki-reference-fields dd>.wiki-reference-fields>div{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px 0}.wiki-workbench .wiki-reference-fields dt{margin:0}.wiki-workbench .wiki-reference-chips{gap:6px}.wiki-workbench .wiki-reference-chips>li{padding:4px 7px;font-size:11px}.wiki-workbench .wiki-reference-table .wiki-data-table{font-size:11px}}

.wiki-workbench .wiki-result-type.wiki-result-type-race{border-color:#536e69;background:#20332f;color:#c1ddd2}

.wiki-workbench .wiki-entry-picture.wiki-icon-large{width:56px;height:56px;max-width:56px;max-height:56px}
.wiki-workbench .wiki-record-picture{min-width:0;margin:18px 0}.wiki-workbench .wiki-record-picture>img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;background:#10161f;border:1px solid var(--wiki-border);border-radius:7px}.wiki-workbench .wiki-record-picture>figcaption,.wiki-workbench .wiki-record-heading p.wiki-picture-caption{margin:8px 0 0;color:#bdae9d;font-size:.8em;line-height:1.6}
@media(max-width:600px){.wiki-workbench .wiki-record-picture>img{max-height:220px}}

/* A vertical picker leaves room for entries in short desktop windows. */
@media(min-width:1000px) and (max-width:1399px) and (max-height:800px){
 .wiki-workbench:not(.wiki-reading) .wiki-layout{grid-template-columns:180px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
 .wiki-workbench:not(.wiki-reading) .wiki-categories{display:block;height:100%;max-height:none}
 .wiki-workbench:not(.wiki-reading) .wiki-categories>button{width:100%;min-width:0}
}
/* Reference completion is distinct from character progress and game availability. */
.wiki-workbench .wiki-completion-controls{display:flex;align-items:center;gap:10px;margin-top:9px;color:var(--wiki-muted);font-size:.78em;flex-wrap:wrap}
.wiki-workbench .wiki-completion-controls select{min-width:190px;max-width:100%;min-height:34px;padding:5px 9px;border:1px solid #645570;border-radius:5px;background:#222331;color:#e2d5e9}
.wiki-workbench .wiki-completion{display:inline-block;width:fit-content;max-width:100%;padding:2px 7px;border:1px solid #685978;border-radius:4px;font-size:.7em;line-height:1.4;white-space:normal;color:#d7c1e5;background:#31283b}
.wiki-workbench .wiki-completion-completed{color:#b9dcc5;border-color:#496b59;background:#22362f}
.wiki-workbench .wiki-completion-partially_completed{color:#ebd0a0;border-color:#7a6441;background:#3b3124}
.wiki-workbench .wiki-completion-to_be_completed{color:#d5c2e4;border-color:#685978;background:#31283b}
.wiki-workbench .wiki-completion-summary{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin:18px 0;padding:12px;border:1px solid var(--wiki-border);border-radius:6px;background:#202330;font-size:.88em}
.wiki-workbench .wiki-completion-summary>span{color:var(--wiki-muted);font-size:.85em}
.wiki-workbench .wiki-completion-summary details{flex:1 1 210px;min-width:0;color:#e1cba7}
.wiki-workbench .wiki-completion-summary summary{cursor:pointer;padding:4px 0;min-height:0;border:0;background:none;font-size:.85em}
.wiki-workbench .wiki-completion-summary ul{margin:7px 0;padding-left:21px;color:#d5c8df}
.wiki-workbench .wiki-completion-summary p{margin:10px 0 0;color:var(--wiki-muted);font-size:.8em;line-height:1.6}
.wiki-workbench .wiki-placeholder{padding:13px;border-left:3px solid #a389b4;background:#302638;color:#ddcce7}
.wiki-workbench .wiki-piece-placeholder{display:block;margin-top:4px;color:var(--wiki-muted);font-size:.8em;font-weight:400}


/* Reference category refinement stays within the existing results column. */
.wiki-workbench .wiki-results:has(.wiki-refine){grid-template-rows:auto auto auto minmax(0,1fr) auto}
.wiki-refine{padding:0 12px 10px;max-height:min(300px,32vh);min-height:0;overflow:auto;border-bottom:1px solid var(--line,#443a30);scrollbar-width:thin}
.wiki-subcategories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:154px;overflow:auto;padding:2px;scrollbar-width:thin}
.wiki-subcategories button{display:flex;align-items:center;gap:8px;text-align:left;padding:8px;border:1px solid #4c4236;border-radius:5px;background:#211e1a;color:inherit;min-width:0;font-size:12px}
.wiki-subcategories button[aria-pressed="true"]{border-color:#cda66a;background:#3a3023;color:#f7d79b}
.wiki-subcategories .wiki-icon{width:28px;height:28px;flex:none}.wiki-subcategories button span{min-width:0;overflow-wrap:anywhere}.wiki-subcategories small{display:block;color:#c7bba6;font-size:11px}
.wiki-facet-note{font-size:10px;line-height:1.5;color:#b5aa98;margin:6px 0}
.wiki-filter-panel summary{cursor:pointer;font-size:12px;padding:6px 0;color:#e3c48d}
.wiki-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0}
.wiki-filter-grid label{font-size:11px;display:grid;gap:4px;min-width:0}.wiki-filter-grid select{width:100%;min-width:0;background:#1c1a17;color:#e6dcc8;border:1px solid #63533d;border-radius:4px;padding:6px;font:inherit}
.wiki-active-filters{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.wiki-active-filters button{font-size:11px;padding:4px 6px;border:1px solid #76603f;border-radius:12px;color:#e8ce9f;background:#30291f}
@media(max-width:600px){.wiki-refine{max-height:300px}.wiki-subcategories{max-height:138px}.wiki-filter-grid{grid-template-columns:1fr 1fr}}
@media(min-width:601px) and (max-height:850px){.wiki-refine{max-height:125px}.wiki-subcategories{max-height:58px}.wiki-facet-note{margin:3px 0}.wiki-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Six equal subject hubs; the landing screen fits the workspace. */
.wiki-workbench.wiki-home .wiki-toolbar{padding:12px 18px;gap:18px}
.wiki-workbench.wiki-home .wiki-toolbar-title :is(h1,h2){font-size:24px}
.wiki-workbench.wiki-home .wiki-search-form{flex-basis:640px}
.wiki-workbench.wiki-home .wiki-home-content{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;overflow:visible;scrollbar-gutter:auto;padding:0;max-height:550px;height:100%;align-self:start}
.wiki-workbench.wiki-home .wiki-intro{margin:0;min-height:28px;gap:8px;align-items:center}
.wiki-workbench.wiki-home .wiki-intro h3{margin:0;font-size:16px}
.wiki-workbench.wiki-home .wiki-intro p{margin:3px 0;font-size:12px}
.wiki-workbench.wiki-home .wiki-intro>button{padding:5px 10px;min-height:30px;font-size:12px}
.wiki-workbench.wiki-home .wiki-topics{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;min-height:0}
.wiki-workbench.wiki-home .wiki-topic-card{grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto minmax(24px,1fr);padding:13px;gap:9px 10px;min-height:0;overflow:visible}
.wiki-workbench.wiki-home .wiki-topic-art{grid-row:1;grid-column:1;position:static;min-height:0}
.wiki-workbench.wiki-home .wiki-topic-picture{width:44px;height:44px;object-fit:cover;position:static;border-radius:7px}
.wiki-workbench.wiki-home .wiki-topic-copy{grid-row:1;grid-column:2;padding:0}
.wiki-workbench.wiki-home .wiki-topic-copy h3{font-size:18px;line-height:1.25;margin:0 0 4px}
.wiki-workbench.wiki-home .wiki-topic-copy p{font-size:11px;line-height:1.3}
.wiki-workbench.wiki-home .wiki-topic-links{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding-top:8px;margin:0}
.wiki-workbench.wiki-home .wiki-topic-links button{min-height:34px;gap:6px;padding:5px;font-size:11px;line-height:1.2}
.wiki-workbench.wiki-home .wiki-topic-links button img{width:22px;height:22px;max-width:22px;max-height:22px}
.wiki-workbench.wiki-home .wiki-topic-links button small{display:none}
.wiki-workbench.wiki-home .wiki-topic-links button>span[aria-hidden]{display:none}
.wiki-workbench.wiki-home .wiki-hub-open{grid-column:1/-1;grid-row:3;align-self:end;justify-self:start;border:0;background:none;color:#e7c999;font-size:12px;padding:4px 0;min-height:26px;text-align:left}
.wiki-workbench.wiki-home .wiki-home-note{margin:0;font-size:10px;line-height:1.4}
.wiki-workbench.wiki-home .wiki-hub-content{overflow:auto;scrollbar-width:thin;max-height:none}
.wiki-hub-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start;min-height:0}
.wiki-hub-categories article{min-width:0;padding:14px;border:1px solid var(--wiki-border);border-radius:8px;background:#202532}
.wiki-hub-categories article>button{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;color:#ecd4aa;text-align:left;padding:0;min-height:38px}
.wiki-hub-categories article>button small{margin-left:auto}.wiki-hub-categories article>p{font-size:12px;color:var(--wiki-muted);margin:8px 0 0}
@media(min-width:601px) and (max-height:760px){.wiki-workbench.wiki-home{gap:8px}.wiki-workbench.wiki-home .wiki-topic-card{padding:10px;gap:6px 8px}.wiki-workbench.wiki-home .wiki-topic-copy h3{font-size:16px}.wiki-workbench.wiki-home .wiki-topic-links{padding-top:5px}.wiki-workbench.wiki-home .wiki-topic-links button{min-height:30px}.wiki-workbench.wiki-home .wiki-toolbar-title :is(h1,h2){font-size:22px}}
@media(max-width:1000px){.wiki-workbench.wiki-home .wiki-topics{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.wiki-workbench.wiki-home .wiki-home-content{height:auto;max-height:none;overflow:visible}.wiki-workbench.wiki-home{height:auto;min-height:100%;overflow:visible;grid-template-rows:auto auto auto}.wiki-hub-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wiki-workbench.wiki-home .wiki-topics{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.wiki-workbench.wiki-home .wiki-topic-card{padding:16px;gap:12px}.wiki-workbench.wiki-home .wiki-topic-links button{font-size:13px;min-height:40px}.wiki-workbench.wiki-home .wiki-topic-copy h3{font-size:19px}.wiki-workbench.wiki-home .wiki-hub-open{min-height:36px;font-size:13px}.wiki-hub-categories{grid-template-columns:minmax(0,1fr)}}
.wiki-workbench.wiki-home .wiki-home-content:has(.wiki-home-banner){max-height:none;gap:18px;padding:0 4px 16px}
.wiki-workbench.wiki-home .wiki-home-banner{position:relative;isolation:isolate;height:clamp(96px,16vh,190px);min-height:96px;padding:16px 20px;border:1px solid #76634c;border-radius:9px;overflow:hidden;background:#262d36}
.wiki-home-banner>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 28%}
.wiki-home-banner::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#111923b8,transparent 65%,#11192375)}
.wiki-workbench.wiki-home .wiki-home-banner h3{color:#fff2d5;font:24px/1.2 Georgia,serif;text-shadow:0 2px 5px #000}
.wiki-workbench.wiki-home .wiki-home-banner>button{background:#17212dd9;border-color:#bca77a;color:#fff2d5}
@media(min-width:1001px) and (max-height:760px){.wiki-workbench.wiki-home .wiki-home-banner{height:96px;min-height:96px}.wiki-workbench.wiki-home .wiki-topic-card{padding:8px;gap:5px 8px}.wiki-workbench.wiki-home .wiki-topic-links{gap:3px}}
@media(max-width:1000px){.wiki-workbench.wiki-home .wiki-home-content:has(.wiki-home-banner){max-height:none}.wiki-workbench.wiki-home .wiki-home-banner{height:160px}}
@media(max-width:600px){.wiki-workbench.wiki-home .wiki-home-banner{padding:14px}.wiki-workbench.wiki-home .wiki-home-banner h3{font-size:21px}}
.wiki-hub-section+ .wiki-hub-section{margin-top:20px}
.wiki-hub-section h4{margin:0 0 10px;color:var(--wiki-gold);font:19px/1.3 Georgia,serif}

/* Dungeon reference lists reuse the existing reader and disclosure styles. */
.wiki-workbench .wiki-dungeon-loot{margin:10px 0;border:1px solid var(--wiki-border);border-radius:7px;padding:12px}.wiki-workbench .wiki-dungeon-loot>summary{cursor:pointer;color:var(--gold);line-height:1.6}.wiki-workbench .wiki-dungeon-loot>summary small{float:right;color:#bdae9d;margin-left:12px}.wiki-workbench .wiki-dungeon-loot>ul{margin-bottom:0}
.wiki-workbench #wiki-dungeon-quests small{display:block;margin-top:3px}

/* Wiki-only compact controls; desktop geometry remains unchanged. */
.wiki-mobile-tools{display:none}
@media(max-width:600px){
 body[data-view="wiki"] .wiki-mobile-tools{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
 body[data-view="wiki"] .wiki-mobile-tools button{padding:6px 10px;min-height:36px}
 body[data-view="wiki"] .wiki-toolbar-title .wiki-kicker,body[data-view="wiki"] .wiki-toolbar-title small{display:none}
 body[data-view="wiki"] .wiki-toolbar-title :is(h1,h2){font-size:18px;margin:0}
 body[data-view="wiki"] .wiki-toolbar{gap:8px;padding:8px}
 body[data-view="wiki"] .wiki-reading .wiki-toolbar-title{display:none}
 body[data-view="wiki"] .wiki-mobile-search-hidden{display:none}
 body[data-view="wiki"] #wikiCategories{display:none}
 body[data-view="wiki"] .wiki-categories-open #wikiCategories{display:block;max-height:40vh;overflow:auto}
 body[data-view="wiki"] .wiki-search-row{gap:6px}
 body[data-view="wiki"] .wiki-search-form label{font-size:12px}
 body[data-view="wiki"] .wiki-completion-controls{margin-top:6px}
 body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) .header-build,
 body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) .tb-navigation,
 body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) .vr-goal-tools{display:none!important}
 html.vr-compact.vr-topbar body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) .character-strip{height:64px;min-height:64px;flex-wrap:nowrap}
 body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) .character-strip .brand{flex:1 1 0;min-width:0}
 body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="true"]) .vr-goal-tools{flex-wrap:wrap;max-width:100%;order:5}
}
@media(max-width:600px){
 html.vr-compact.vr-topbar body[data-view="wiki"] .wiki-workbench .wiki-toolbar-title :is(h1,h2){font-size:18px!important}
 html.vr-compact.vr-topbar body[data-view="wiki"] .wiki-workbench .wiki-toolbar{gap:8px!important;padding:8px!important}
 body[data-view="wiki"] .wiki-reading .wiki-toolbar:has(.wiki-mobile-search-hidden){display:none}
 body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) #tbAddonDownload{display:none!important}
}
@media(max-width:600px){body[data-view="wiki"]:has(#wikiAppControls[aria-expanded="false"]) .header-actions .cp-mobile-trigger{display:none!important}}

/* Dungeon maps share the Dungeon tab catalogue; only the selected floor loads. */
.wiki-workbench .wiki-dungeon-map-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.wiki-workbench .wiki-dungeon-map-toolbar strong{flex:1 1 180px;min-width:0}.wiki-workbench .wiki-dungeon-map-toolbar label{display:flex;align-items:center;gap:9px;min-width:0}.wiki-workbench .wiki-dungeon-map-toolbar select{max-width:100%;min-height:40px}.wiki-workbench .wiki-dungeon-map-toolbar>a{display:inline-flex;align-items:center;min-height:40px;padding:6px 10px;border:1px solid #61506c;border-radius:5px}.wiki-workbench .wiki-dungeon-map-figure img{max-width:100%;height:auto;object-fit:contain}.wiki-workbench .wiki-dungeon-map-legend{margin:16px 0}.wiki-workbench .wiki-dungeon-map-legend>summary{cursor:pointer;min-height:36px;padding:7px 0}
@media(max-width:600px){.wiki-workbench .wiki-dungeon-map-toolbar label{width:100%;flex-wrap:wrap}.wiki-workbench .wiki-dungeon-map-toolbar select{width:100%;min-width:0}.wiki-workbench .wiki-dungeon-map-figure>a{padding:5px}}

/* Keep the established reader design; put practical answers before supporting art. */
.wiki-workbench .wiki-record-heading{gap:12px;margin-bottom:10px}
.wiki-workbench .wiki-record-heading :is(h1,h3){font-size:1.6em;margin-bottom:3px}
.wiki-workbench .wiki-completion-summary{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:8px 0 12px;padding:6px 10px}
.wiki-workbench .wiki-reader-actions{margin-bottom:14px}
.wiki-workbench .wiki-completion-summary details{flex:1;min-width:180px}
.wiki-workbench .wiki-completion-summary details>summary{font-size:.78em}
.wiki-workbench .wiki-record-facts{margin:16px 0;gap:7px}
.wiki-workbench .wiki-record-facts>div{padding:8px 10px}
.wiki-workbench .wiki-record-facts small{margin-bottom:3px}
.wiki-workbench .wiki-jumps{margin:15px 0;padding:8px 0;gap:5px}
.wiki-workbench .wiki-jumps a{min-height:30px;padding:4px 7px}
.wiki-workbench .wiki-record-picture>img{height:220px;max-height:220px}
.wiki-workbench .wiki-source-instructions{margin-top:15px}
.wiki-workbench .wiki-source-instructions h5{margin:0 0 8px}

/* Wiki navigation: consistent category links and a quiet, distinct active state. */
.wiki-workbench.wiki-home .wiki-topic-links button{
 min-height:38px;padding:6px 8px;gap:8px;border:1px solid #ffffff12;
 background:#121a254d;color:#e2d9e9;font-size:12px;border-radius:6px;
}
.wiki-workbench.wiki-home .wiki-topic-links button>span:not([aria-hidden]){flex:1}
.wiki-workbench.wiki-home .wiki-topic-links button>span[aria-hidden]{display:block;flex:0 0 auto;margin-left:auto;color:#aa94ba}
.wiki-workbench.wiki-home .wiki-topic-links button:hover{border-color:#9a7bb56b;background:#322b3f;color:#fff0d3}
.wiki-workbench.wiki-home .wiki-hub-open{
 display:flex;align-items:center;justify-content:space-between;gap:8px;justify-self:stretch;
 min-height:34px;padding:7px 3px 0;border-top:1px solid #ffffff12;border-radius:0;
 color:#d7c2e6;font-size:12px;
}
.wiki-workbench.wiki-home .wiki-hub-open:hover{color:#fff0d3;background:transparent}
.wiki-workbench.wiki-home .wiki-hub-open>span{font-size:16px;color:#b599c8}
.wiki-workbench .wiki-hub-categories article{border-color:#ffffff17;background:linear-gradient(125deg,#252735,#1b232e)}
.wiki-workbench .wiki-hub-categories article:has(button:hover),
.wiki-workbench .wiki-hub-categories article:focus-within{border-color:#8d709e;background:#2a293a}
.wiki-workbench .wiki-hub-categories article>button{gap:10px;font-size:14px;color:#eadfc8}
.wiki-workbench .wiki-hub-categories article>button>small{font-size:11px;color:#aa9eb4;font-variant-numeric:tabular-nums}
.wiki-workbench .wiki-hub-categories article>p{color:#b5acbf}
.wiki-workbench .wiki-category-group{
 margin:8px 0 0;padding:8px 0 0;border:0;border-top:1px solid #ffffff12;border-radius:0;background:none;box-shadow:none;
}
.wiki-workbench .wiki-category-group>summary{
 min-height:40px;margin:0;padding:7px 6px;border:0;border-radius:5px;background:none;
 color:#c7b6d2;font-size:12px;line-height:1.4;box-shadow:none;
}
.wiki-workbench .wiki-category-group>summary:hover{background:#ffffff07;color:#eee1f4}
.wiki-workbench .wiki-category-group>summary::before{color:#9d84b0;font-size:18px}
.wiki-workbench .wiki-category-group[open]>summary{color:#e5d5ee}
.wiki-workbench .wiki-categories button{font-size:12px;gap:9px;color:#c7becf}
.wiki-workbench .wiki-categories button>small{font-size:10px;color:#a79aad;font-variant-numeric:tabular-nums}
.wiki-workbench .wiki-categories button:hover{border-color:#ffffff16;background:#ffffff08;color:#f0e3f6}
.wiki-workbench .wiki-categories button.wiki-category-active,
.wiki-workbench .wiki-subcategories button[aria-pressed="true"]{
 border-color:#9775ad88;background:#3a2c454f;color:#f5e6fc;box-shadow:inset 3px 0 #c6a1dc;
}
.wiki-workbench .wiki-categories button.wiki-category-active>small{color:#d5bfdf}
.wiki-workbench .wiki-categories .wiki-overview-button{min-height:36px;color:#d5bcdf}
.wiki-workbench .wiki-subcategories button{border-color:#ffffff1c;background:#19212d;color:#d4c9dd;border-radius:6px}
.wiki-workbench .wiki-subcategories button:hover{border-color:#9775ad88;background:#2c2638}
.wiki-workbench .wiki-subcategories small{color:#ac9eb8;font-variant-numeric:tabular-nums}
.wiki-workbench .wiki-jumps a{min-height:34px;padding:6px 10px;border:1px solid #ffffff24;background:#1a222e;color:#d6c0e5;border-radius:5px;text-decoration:none}
.wiki-workbench .wiki-jumps a:hover{border-color:#9775ad;background:#322b3f;color:#f2e4fb}
.wiki-workbench .wiki-topic-links button:focus-visible,
.wiki-workbench .wiki-hub-open:focus-visible,
.wiki-workbench .wiki-category-group>summary:focus-visible,
.wiki-workbench .wiki-subcategories button:focus-visible{outline:2px solid #efcf99;outline-offset:-2px}
@media(min-width:601px) and (max-height:760px){
 .wiki-workbench.wiki-home .wiki-topic-links button{min-height:32px;padding:4px 6px}
 .wiki-workbench.wiki-home .wiki-hub-open{min-height:30px;padding-top:5px}
}
@media(max-width:1399px){.wiki-workbench .wiki-category-group{margin:0;padding:0;border:0}}
@media(max-width:600px){
 .wiki-workbench.wiki-home .wiki-topic-links button{min-height:44px;font-size:13px}
 .wiki-workbench.wiki-home .wiki-hub-open{min-height:40px;font-size:13px}
}

/* Keep the artwork clickable, with four independent shortcuts below each image. */
.wiki-workbench.wiki-home .wiki-home-content:has(.wiki-home-banner){grid-template-rows:auto minmax(min-content,1fr) auto;overflow:auto}
.wiki-workbench.wiki-home .wiki-topics{grid-template-rows:repeat(3,minmax(228px,1fr));gap:18px}
.wiki-workbench.wiki-home .wiki-topic-card{
 position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(100px,1fr) auto 34px;
 padding:0;gap:0;min-height:0;overflow:hidden;border:1px solid #514657;border-radius:9px;background:#1a222e;
}
.wiki-workbench.wiki-home .wiki-topic-art{grid-column:1;grid-row:1;position:relative;display:block;min-height:0;overflow:hidden}
.wiki-workbench.wiki-home .wiki-topic-picture{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;border:0;border-radius:0;box-shadow:none}
.wiki-workbench.wiki-home .wiki-topic-art::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0c101718 10%,#0c101740 45%,#0c1017e0)}
.wiki-workbench.wiki-home .wiki-topic-copy{grid-column:1;grid-row:1;align-self:end;z-index:1;padding:15px 18px;pointer-events:none}
.wiki-workbench.wiki-home .wiki-topic-copy h3{margin:0;color:#fff0d4;font:22px/1.25 Georgia,serif;text-shadow:0 2px 5px #000}
.wiki-workbench.wiki-home .wiki-topic-links{grid-column:1;grid-row:2;position:relative;z-index:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:10px 12px;border-top:1px solid #ffffff13;background:#1a222e}
.wiki-workbench.wiki-home .wiki-topic-links button{min-height:34px;padding:5px 7px;gap:7px;font-size:12px}
.wiki-workbench.wiki-home .wiki-topic-links button img{width:21px;height:21px;max-width:21px;max-height:21px}
.wiki-workbench.wiki-home .wiki-hub-open{grid-column:1;grid-row:3;align-self:stretch;justify-self:stretch;min-height:0;margin:0;padding:6px 14px;border:0;border-top:1px solid #ffffff13;border-radius:0;background:#1b2330;color:#cbbbd7;box-shadow:none}
.wiki-workbench.wiki-home .wiki-hub-open::after{content:'';position:absolute;inset:0;z-index:2;cursor:pointer}
.wiki-workbench.wiki-home .wiki-hub-open>small{font-size:11px;font-family:inherit;line-height:1.4;color:#bdb0c9;text-align:left}
.wiki-workbench.wiki-home .wiki-hub-open>span{color:#d5b5ec;font-size:17px}
.wiki-workbench.wiki-home .wiki-topic-card:has(.wiki-hub-open:hover){border-color:#b395c4;box-shadow:0 0 0 1px #b395c42b}
.wiki-workbench.wiki-home .wiki-hub-open:hover{background:#29283b;color:#f7e5ff}
.wiki-workbench.wiki-home .wiki-topic-card:focus-within{outline:2px solid #efcf99;outline-offset:2px}
.wiki-workbench.wiki-home .wiki-hub-open:focus-visible{outline:none}
@media(min-width:1001px) and (max-height:760px){
 .wiki-workbench.wiki-home .wiki-home-content:has(.wiki-home-banner){gap:12px;padding-bottom:12px}
 .wiki-workbench.wiki-home .wiki-topics{gap:12px}
 .wiki-workbench.wiki-home .wiki-topic-card{grid-template-rows:minmax(100px,1fr) auto 34px}
 .wiki-workbench.wiki-home .wiki-topic-copy{padding:6px 10px}
 .wiki-workbench.wiki-home .wiki-topic-copy h3{font-size:16px}
 .wiki-workbench.wiki-home .wiki-hub-open{padding:4px 10px}
}
@media(max-width:1000px){
 .wiki-workbench.wiki-home .wiki-topics{grid-template-rows:none;grid-auto-rows:290px;gap:18px}
 .wiki-workbench.wiki-home .wiki-topic-card{grid-template-rows:minmax(100px,1fr) auto 36px}
}
@media(max-width:600px){
 .wiki-workbench.wiki-home .wiki-topics{grid-auto-rows:320px}
 .wiki-workbench.wiki-home .wiki-topic-links{padding:10px 12px;gap:8px}
 .wiki-workbench.wiki-home .wiki-topic-links button{min-height:44px;font-size:13px}
 .wiki-workbench.wiki-home .wiki-topic-copy{padding:12px 14px}
 .wiki-workbench.wiki-home .wiki-topic-copy h3{font-size:22px}
 .wiki-workbench.wiki-home .wiki-hub-open{padding:6px 14px}

}

/* The public article remains readable until matching interactive content commits. */
.seo-public-pending #viewContent,.seo-public-pending .page-top,.seo-public-pending .next-action-panel,.seo-public-pending #guestPages{display:none!important}
#seoPublicRoot[hidden]{display:none!important}
#seoPublicRoot{max-width:1100px;margin:0 auto;padding:20px;color:var(--text)}
#seoPublicRoot h1{font:400 30px/1.2 Georgia,serif;color:var(--gold,#dfc68f)}
#seoPublicRoot a{color:var(--gold,#dfc68f)}
.wiki-record-heading h1{margin:0}

.wiki-result{text-decoration:none;color:inherit}

/* Neutral public chrome stays in place until real client context/header readiness. */
#seoStartupHelp,#seoPublicNavigation{display:none}
body:has(#seoPublicRoot):not(.seo-shell-ready) :is(.header-build,.header-actions,.nav-character,.route-meter,.nav-bottom){display:none!important}
body:has(#seoPublicRoot):not(.seo-shell-ready):not(.seo-nav-ready) .navigation nav:not(#seoPublicNavigation),body.nav-context-changing:has(#seoPublicRoot) .navigation nav:not(#seoPublicNavigation){display:none!important}
body:has(#seoPublicRoot):not(.seo-shell-ready):not(.seo-nav-ready) .navigation>.nav-caption,body.nav-context-changing:has(#seoPublicRoot) .navigation>.nav-caption{display:none!important}
body:has(#seoPublicRoot):not(.seo-shell-ready):not(.seo-nav-ready):not(.nav-context-changing) #seoStartupHelp{display:block}
body:has(#seoPublicRoot):not(.seo-shell-ready):not(.seo-nav-ready):not(.nav-context-changing) #seoPublicNavigation{display:grid;gap:8px}
body:has(#seoPublicRoot):not(.seo-shell-ready):not(.seo-nav-ready) :is(.vr-screens-trigger,.vr-nav-edge),body.nav-context-changing:has(#seoPublicRoot) :is(.vr-screens-trigger,.vr-nav-edge){display:none!important}
#seoStartupHelp{position:fixed;right:12px;bottom:12px;z-index:100;max-width:min(320px,calc(100vw - 24px));max-height:50vh;overflow:auto;margin:0;padding:8px 12px;border:1px solid #655264;border-radius:7px;background:#1b2230;color:var(--muted);font-size:12px;line-height:1.5}
#seoStartupHelp summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:6px;width:fit-content}
#seoStartupHelp summary::after{content:'▾';color:var(--gold,#dfc68f)}#seoStartupHelp[open] summary::after{content:'▴'}
#seoStartupHelp :is(summary,a):focus-visible{outline:3px solid #f1d49c;outline-offset:2px}
#seoPublicNavigation p{margin:0}#seoPublicNavigation a{color:var(--gold,#dfc68f)}
@media(max-width:920px){body:has(#seoPublicRoot):not(.seo-shell-ready):not(.seo-nav-ready) .navigation,body.nav-context-changing:has(#seoPublicRoot) .navigation{min-height:56px;box-sizing:border-box}}

/* Initial public fallback only: contain provenance text and separate narrow Home actions. */
#seoPublicRoot{min-width:0;width:100%;box-sizing:border-box;overflow-wrap:anywhere}
#seoPublicRoot :is(p,dl,dt,dd,li,a){min-width:0;overflow-wrap:anywhere;white-space:normal}
body:has(#seoPublicRoot):not(.seo-shell-ready) #workspaceMain{scroll-margin-top:90px}
@media(max-width:900px){body:has(#seoPublicRoot):not(.seo-shell-ready) #workspaceMain{scroll-margin-top:16px}}
@media(max-width:680px){
 #seoPublicRoot .home-intro{grid-template-columns:minmax(0,1fr);gap:12px}
 #seoPublicRoot .home-intro :is(.home-intro-title,.home-intro-search,.home-intro-journey){grid-column:1;grid-row:auto;min-width:0}
 #seoPublicRoot .home-intro h1{white-space:normal;margin:0}
 #seoPublicRoot .home-intro .home-intro-journey{justify-self:start;border-left:0;padding-left:0}
}

.observations-panel{margin-top:20px;padding-top:18px;border-top:1px solid rgba(177,147,226,.2);color:var(--text,#e6e2ed)}.obs-heading,.obs-heading>div,.obs-entry header,.obs-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.obs-heading>div{display:block}.obs-heading h4{margin:6px 0}.obs-scope,.obs-status{font-size:11px;color:#c2b0df;border:1px solid rgba(177,147,226,.24);border-radius:20px;padding:4px 8px;white-space:nowrap}.obs-intro,.obs-empty,.obs-form>p{font-size:12px;line-height:1.6;color:#b1aabd}.obs-actions,.obs-entry-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.obs-actions button,.obs-entry-actions button{font-size:11px;padding:7px 10px}.obs-list{display:grid;gap:10px;margin-top:14px}.obs-entry{padding:12px;background:rgba(23,17,36,.65);border:1px solid rgba(177,147,226,.16);border-radius:8px;overflow-wrap:anywhere}.obs-entry header b{font-size:12px}.obs-entry p{font-size:12px;line-height:1.55;margin:10px 0}.obs-entry small,.obs-entry-actions span{font-size:10px;line-height:1.7;color:#aaa2b8}.obs-withdrawn{opacity:.75}.obs-note{border-left:2px solid #9780b9;padding-left:9px;white-space:pre-wrap}.obs-error{padding:10px;border:1px solid #86454e;background:rgba(137,52,69,.12);color:#f2b0ba;font-size:12px}.obs-notice{padding:10px;border:1px solid #49736a;background:rgba(43,115,93,.1);color:#a6d8c9;font-size:12px}.obs-form{padding:14px;background:rgba(89,62,119,.12);border:1px solid rgba(177,147,226,.25);border-radius:8px;margin:15px 0}.obs-form h4{margin:0}.obs-form label{display:grid;gap:6px;margin:12px 0;font-size:12px}.obs-form input,.obs-form textarea{width:100%;min-width:0;padding:8px;border:1px solid #51435f;border-radius:5px;background:#191222;color:#e6e2ed;font:inherit}.obs-form textarea{min-height:70px;resize:vertical}.obs-form .obs-checkbox{display:flex;align-items:center;gap:8px}.obs-checkbox input{width:auto}.obs-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.obs-form>small{font-size:11px;color:#b1aabd}.obs-values{margin:12px 0}.obs-values>div{margin:8px 0}.obs-values dt{font-size:10px;color:#aaa2b8}.obs-values dd{margin:5px 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto}.obs-cohorts{font-size:12px;border:1px solid rgba(177,147,226,.16);border-radius:7px;padding:10px;margin-top:12px}.obs-cohorts summary{cursor:pointer}.obs-cohorts ul{list-style:none;padding:0;display:grid;gap:12px}.obs-cohorts li{display:grid;gap:5px;padding-bottom:10px;border-bottom:1px solid rgba(177,147,226,.12)}.obs-cohorts span,.obs-cohorts small{font-size:11px;color:#b1aabd}.obs-conflict{font-size:11px;color:#e9b37e}.observation-dialog{color:#e6e2ed;background:#191321;border:1px solid #67517f;border-radius:12px;padding:20px;width:min(630px,calc(100vw - 28px));max-height:85vh;overflow:auto;box-sizing:border-box;box-shadow:0 20px 100px rgba(0,0,0,.6)}.observation-dialog::backdrop{background:rgba(10,5,19,.72)}.obs-dialog-heading h3{margin:0}.obs-dialog-heading button{min-width:32px;height:32px}.obs-evidence-note{padding:12px;border:1px solid #493c57;border-radius:7px;margin:10px 0}.obs-evidence-note p{white-space:pre-wrap;font-size:12px;line-height:1.6}.obs-evidence-note small{color:#b1aabd;font-size:11px}.observations-panel button:focus-visible,.obs-form input:focus-visible,.obs-form textarea:focus-visible,.observation-dialog button:focus-visible{outline:2px solid #b695e9;outline-offset:3px}@media(max-width:600px){.obs-form-grid{grid-template-columns:1fr;gap:0}.obs-heading{align-items:flex-start}.obs-entry header{align-items:flex-start;flex-wrap:wrap}.obs-actions button{flex:1 1 40%}}
.obs-import{margin:14px 0;padding:12px;border:1px solid #493c57;border-radius:8px;font-size:12px}.obs-import summary{cursor:pointer;color:#cfb8f0}.obs-import p{line-height:1.6;color:#b1aabd}.obs-import label{display:block;margin:8px 0}.obs-import textarea{box-sizing:border-box;width:100%;padding:10px;background:#100c17;border:1px solid #51435f;color:#e6e2ed;border-radius:5px;font:11px/1.6 ui-monospace,monospace;resize:vertical}.obs-import textarea:focus-visible{outline:2px solid #b695e9;outline-offset:3px}

.route-planner{border:1px solid #41344f;border-radius:12px;background:linear-gradient(145deg,rgba(78,46,104,.2),rgba(19,19,28,.7));padding:14px;margin-top:16px;color:#ded7e7}.rp-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}.rp-heading h3{margin:0;font-size:15px}.rp-heading span,.route-planner small{font-size:11px;color:#b5a7c5}.rp-mode{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center;margin:12px 0;font-size:12px}.rp-mode select{width:100%;min-height:34px;background:#17141d;color:#e3d9ed;border:1px solid #51405e;border-radius:5px}.rp-current{border-top:1px solid #493650;padding-top:10px}.rp-current>button[data-internal-id]{display:block;font-weight:600;color:#e2c5ff;text-align:left;padding:7px 0;background:none;border:0}.rp-current p,.rp-reasons p{font-size:12px;line-height:1.5;margin:5px 0 10px}.rp-itinerary,.rp-reasons{margin-top:12px;font-size:12px}.rp-itinerary ol{padding-left:19px;display:grid;gap:9px}.rp-itinerary li button,.rp-reasons button{background:none;border:0;color:#dfc2f4;text-align:left;padding:0;font:inherit}.rp-itinerary small,.rp-reasons small{display:block;line-height:1.5}.rp-progress{display:grid;gap:7px;font-size:11px;margin-top:12px}.rp-progress input{width:100%;background:#18131e;border:1px solid #594566;border-radius:4px;color:#f5eafa;padding:7px}.rp-progress button,.rp-error button{font-size:11px;min-height:32px}.rp-origin{display:block;margin-top:12px}.rp-error{font-size:12px;color:#f0c5bb}.route-planner button:focus-visible,.route-planner select:focus-visible,.route-planner input:focus-visible{outline:2px solid #c2a0ef;outline-offset:3px}@media(max-width:700px){.route-planner{margin-top:10px}.rp-heading{flex-wrap:wrap}}
.rp-party-editor{margin-top:12px;padding-top:10px;border-top:1px solid #493650;font-size:12px}.rp-party-editor p{line-height:1.5}.rp-party-editor label{display:grid;gap:6px;margin:10px 0}.rp-party-editor select,.rp-party-editor textarea{width:100%;background:#17141d;color:#e3d9ed;border:1px solid #51405e;border-radius:5px;padding:7px;font-size:12px}.rp-party-editor textarea{font:11px/1.5 ui-monospace,monospace;resize:vertical}.rp-party-editor .rp-party-select label{display:flex;align-items:center;gap:7px}.rp-party-select input{width:auto}.rp-party-buttons{display:grid;grid-template-columns:1fr 1fr;gap:6px}.rp-party-buttons button{font-size:11px;min-height:32px;padding:6px}.rp-party-guidance{border-top:1px solid #493650;margin-top:12px;padding-top:6px}.rp-party-guidance small{display:block;line-height:1.5}

.quest-map{padding:14px;background:linear-gradient(145deg,#211e2c,#151820);color:#e6dfef;border:1px solid #5f4c7040;border-radius:8px;min-width:0}.qm-header{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#b4a6c5;margin-bottom:10px}.qm-kicker{font-weight:700;letter-spacing:.16em;color:#d4bfdc}.qm-controls{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.qm-controls label{font-size:10px;color:#b2a4c1;display:grid;gap:4px;flex:1;min-width:90px}.qm-controls select{width:100%;min-height:38px;padding:7px;font-size:12px;background:#24202d;color:#e6def0;border:1px solid #685478;border-radius:5px}.qm-frame{position:relative;width:100%;background:#191723;border:1px solid #876d45;overflow:hidden;border-radius:5px}.qm-image{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:0}.qm-image:not([src]){background:linear-gradient(140deg,#302634,#211b28)}.qm-gap{padding:28px 16px;border:1px dashed #6b586c;border-radius:6px;color:#c2b3ce;font-size:13px;line-height:1.6}.qm-locations{padding:0;margin:12px 0 0;list-style:none;max-height:260px;overflow:auto}.qm-locations li{display:flex;gap:8px;padding:8px 0;border-top:1px solid #ffffff0b;font-size:12px;line-height:1.6}.qm-role{width:17px;flex:none;color:#d2b28b}.qm-locations small{display:block;color:#ad9fbf;font-size:11px}.qm-record{padding:2px 0;border:0;background:none;color:#d8c2ec;text-align:left;font:inherit;text-decoration:underline;text-underline-offset:3px;min-height:32px}.qm-unknown,.qm-trust,.qm-image-error{font-size:11px!important;line-height:1.6!important;color:#b8acc3;margin:9px 0 0!important}.qm-trust{color:#91889d;font-size:10px!important}.qm-full-map,.qm-provenance{margin-top:9px;font-size:11px;color:#b7a8c9}.qm-full-map>summary,.qm-provenance>summary{cursor:pointer;min-height:35px;display:flex;align-items:center}.qm-full-map img{display:block;width:100%;height:auto;object-fit:contain}.qm-provenance p,.qm-coverage p{font-size:11px;line-height:1.6;color:#a99ab9}.qm-pin{position:absolute;z-index:2;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;gap:0;box-sizing:border-box;width:26px;height:26px;min-height:26px;padding:0;border:1.5px solid #000;border-radius:50%;background:rgba(51,15,82,.5);color:#fff;box-shadow:0 1px 3px #0005;font-family:inherit;cursor:pointer;transition:background-color .12s,box-shadow .12s}.qm-pin::before{content:'';position:absolute;inset:-9px;border-radius:50%}.qm-pin[hidden]{display:none}.qm-pin-icon{display:none}.qm-pin-number{display:inline-block;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1;text-shadow:0 1px 2px #0008}.qm-pin:hover{background:rgba(51,15,82,.65);border-color:#000;box-shadow:0 1px 4px #0007}.qm-pin:active{background:rgba(51,15,82,.75)}.qm-pin:focus-visible{outline:2px solid #e1cbf5;outline-offset:3px;z-index:3}.quest-map :focus-visible{outline:2px solid #d2b1fc;outline-offset:3px}.qm-coverage{font-size:11px;color:#b8a7cf;padding:12px;border:1px solid #594666;border-radius:7px;margin-top:12px}.qm-coverage>summary{cursor:pointer;min-height:36px}@media(max-width:500px){.quest-map{padding:11px}.qm-header{flex-wrap:wrap}.qm-controls label{min-width:100px}.qm-controls select{min-height:44px}.qm-record{min-height:40px}}@media(prefers-reduced-motion:reduce){.quest-map *{scroll-behavior:auto}}
.qm-coverage-table{overflow:auto}.qm-coverage table{width:100%;border-collapse:collapse;font-size:11px;color:#bcafcc;text-align:left}.qm-coverage caption{text-align:left;font-size:10px;color:#9c8fab;padding:7px 0}.qm-coverage th,.qm-coverage td{padding:7px 8px;border-bottom:1px solid #5a47644d;white-space:nowrap}.qm-coverage thead th{color:#d4bde8;font-weight:600}.qm-coverage tbody th{font-weight:400}
.qm-location-panel{display:grid;grid-template-rows:44px minmax(0,1fr);height:244px;margin-top:10px;min-width:0}.qm-location-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.qm-location-count{font-size:11px;color:#c5b6d2}.qm-location-tools [role=group]{display:flex;gap:6px;flex:none}.qm-location-tools button{min-height:44px;padding:6px 9px;font-size:11px}.qm-location-panel>.qm-locations{margin:0;max-height:none;min-height:0;overflow:auto;scrollbar-gutter:stable}.qm-location-panel>.qm-locations:focus-visible{outline-offset:-2px}
.qm-open-map{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:8px;border:1px solid #685478;border-radius:5px;background:#292232;color:#e6def0;font-size:12px;cursor:pointer}.qm-image[hidden]{display:none}.qm-frame>.qm-image-error{padding:14px}.qm-frame[data-qm-preview]{width:min(100%,calc(var(--qm-thumbnail-height,240px)*var(--qm-map-ratio,1.5)));margin-inline:auto;cursor:zoom-in}
.qm-overlay{position:fixed;z-index:1200;box-sizing:border-box;top:16px;left:16px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:16px;background:#1b1824;color:#e6dfef;border:1px solid #9b80b3;border-radius:10px;box-shadow:0 18px 70px #000a;font-family:inherit}.qm-overlay-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.qm-overlay-heading h2{margin:4px 0 0;font-size:18px;line-height:1.3;color:#e8deef;overflow-wrap:anywhere}.qm-overlay-heading .qm-kicker{font-size:10px}.qm-overlay-close{display:flex;align-items:center;gap:10px;flex:none;min-height:44px;padding:8px 12px;border:1px solid #776087;border-radius:6px;background:#30263a;color:#eee4f5;font:inherit;font-size:12px;cursor:pointer}.qm-overlay-close span{font-size:22px;line-height:1}.qm-overlay-note{margin:12px 0 0;font-size:11px;line-height:1.6;color:#bdafca}.qm-overlay :focus-visible{outline:2px solid #d2b1fc;outline-offset:3px}.qm-overlay .qm-pin{cursor:pointer}.qm-overlay[data-mode=preview]{border-color:#80678e}

.qm-trust+.qm-frame,.qm-unknown+.qm-frame{margin-top:10px}

.qm-objective-areas{margin-top:12px;border:1px solid #80618f80;border-radius:7px;background:#211b2b;padding:0 10px;font-size:11px}.qm-objective-areas>summary{min-height:44px;cursor:pointer;color:#e4ccf7;font-weight:600;align-content:center}.qm-objective-areas p{font-size:11px;line-height:1.6;color:#b9a9c8;margin:0 0 8px}.qm-objective-areas ol{list-style:none;margin:0;padding:0;max-height:220px;overflow:auto}.qm-objective-areas li{display:flex;gap:8px;padding:9px 0;border-top:1px solid #ffffff0c;line-height:1.5}.qm-objective-areas small{display:block;color:#c4b2d1;margin-top:3px}.qm-zone-key{display:inline-flex;flex:none;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid var(--qm-zone-color);border-radius:5px;color:var(--qm-zone-color);background:#382742;font-size:11px;font-weight:700}.qm-zone-layer{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:1}.qm-zone-layer[hidden]{display:none}.qm-objective-zone{fill:var(--qm-zone-color);fill-opacity:.24;stroke:var(--qm-zone-color);stroke-width:2.5;stroke-dasharray:6 3;pointer-events:visiblePainted}.qm-objective-zone:hover,.qm-objective-zone:focus{fill-opacity:.4;stroke:#fff4cf;outline:none}.qm-location-status{color:#d7bce8!important}.qm-role{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #ac84c7;border-radius:5px;background:#462f5c;color:#efd9ff;font-size:10px;font-weight:700}.qm-overlay .qm-objective-zone:focus{stroke:#fff4cf}@media(prefers-reduced-motion:reduce){.qm-pin{transition:none}}

.qm-pin-cluster{width:28px;height:28px;min-width:28px;min-height:28px}.qm-pin-cluster .qm-pin-number{font-size:8px}.qm-marker-choices{box-sizing:border-box;position:absolute;z-index:5;transform:translate(-50%,calc(-100% - 28px));width:220px;max-width:calc(100% - 16px);overflow:auto;overscroll-behavior:contain;padding:5px;background:#241b32;border:1px solid #b58bda;border-radius:8px;box-shadow:0 6px 20px #0008}.qm-marker-choices[hidden]{display:none}.qm-marker-choices button{box-sizing:border-box;display:block;width:100%;min-height:44px;padding:6px 8px;border:0;border-radius:4px;color:#f1e4ff;background:transparent;text-align:left;white-space:normal;overflow-wrap:anywhere;font:inherit;font-size:11px;line-height:1.4}.qm-marker-choices button:hover{background:#543773}.qm-marker-choices button:focus-visible{outline-offset:-2px}.qm-frame:has(.qm-marker-choices:not([hidden])){overflow:visible;z-index:6}

.qm-source-locations{margin-top:10px;padding:0 10px;border:1px solid #675478;border-radius:7px;background:#1d1a25;font-size:11px}.qm-source-locations>summary,.qm-source-locations details>summary{min-height:40px;align-content:center;cursor:pointer;color:#d8c3e7}.qm-source-locations>p{margin:0 0 8px!important}.qm-source-locations ul{list-style:none;padding:0;margin:0}.qm-source-locations>ul{max-height:350px;overflow:auto;scrollbar-gutter:stable}.qm-source-locations li{padding:8px 0;border-top:1px solid #ffffff0d}.qm-source-locations h4{margin:0 0 6px;font:inherit;font-weight:650;color:#ece1f3}.qm-source-locations small{color:#b1a0bf;font-size:10px}.qm-source-locations p{font-size:11px;line-height:1.6;color:#beaccd;overflow-wrap:anywhere}.qm-source-region{margin-top:7px;padding:7px 9px;background:#15141e;border-radius:5px;color:#cbb9d9;line-height:1.5}.qm-source-coordinates{font-variant-numeric:tabular-nums}.qm-source-evidence{margin-top:5px}

/* Unverified search previews use teal; approved purple contact markers stay intact. */
.qm-search-area-layer{pointer-events:none;z-index:1}.qm-search-area{fill:#2dd4bf;fill-opacity:.22;stroke:#159b89;stroke-width:1.4;stroke-opacity:.85;stroke-linejoin:round;pointer-events:none}.qm-search-area-key{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#a8d9cf}.qm-search-area-key i{width:10px;height:10px;border:1px solid #159b89;border-radius:2px;background:#2dd4bf45}.qm-header:has(.qm-search-area-key){flex-wrap:wrap}
/* Fixed screen emphasis only; this stroke does not enlarge source geometry. */
.qm-search-area-halo{fill:none;stroke:#2dd4bf;stroke-width:32px;stroke-opacity:.3;stroke-linejoin:round;pointer-events:none}

@media(max-width:600px){
 .qm-overlay[data-qm-wiki="true"][data-mode="persistent"]{inset:0!important;width:100vw!important;height:100dvh;max-width:100vw;max-height:100dvh;box-sizing:border-box;border-radius:0;margin:0;padding:12px;overflow:auto}
 .qm-overlay[data-qm-wiki="true"][data-mode="persistent"] .qm-overlay-heading{position:sticky;top:0;z-index:2;background:#111827}
 .qm-overlay[data-qm-wiki="true"]::backdrop{background:rgba(0,0,0,.7)}
}

/* Command center: a quiet shell, legible telemetry, and one dominant next action. */
:root{--bg:#0b0f16;--panel:#161d28;--panel-raised:#202937;--panel-soft:#101721;--line:#384355;--line-soft:#283242;--text:#f1eee6;--muted:#b4bdcb;--faint:#919fb2;--violet:#c8b3ed;--violet-dim:#282335;--gold:#e4c690;--green:#a8d2bd;--red:#efadb9;--radius:12px;--frame:#806b4d;--frame-dim:#574b3a}
body{background:linear-gradient(135deg,#151b29 0,#0b0f16 45%);font-variant-numeric:tabular-nums;color:var(--text)}
.character-strip{height:76px;padding:0 26px;background:#101722f5;border-color:var(--line-soft);box-shadow:0 5px 28px #0003}
.brand{font-size:14px;letter-spacing:.1em}.brand-mark{background:linear-gradient(145deg,#3b2e49,#1c2737);border-color:#82708f}.brand small{color:var(--muted)}
.header-build{margin-left:30px}.header-actions .save-state{font-size:12px;color:var(--muted)}.profile-button{background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:7px 11px;min-height:44px}.level-control{background:#292337;border-color:#77618b}
.workspace{max-width:1920px;grid-template-columns:190px minmax(0,1fr) 252px;min-height:calc(100vh - 76px)}
.navigation{top:76px;height:calc(100vh - 76px);padding:25px 12px;background:#101721;border-color:var(--line-soft)}.nav-character{padding-bottom:26px}.avatar-ring{background:#242133;border-color:#847194}.nav-character b{font-size:14px}.nav-character small{color:var(--muted);font-size:12px}.nav-caption{font-size:11px;color:var(--faint);letter-spacing:.12em}.navigation nav{gap:7px}
.nav-button{min-height:48px;padding:11px 12px;border-radius:9px;color:var(--muted);font-size:13px;letter-spacing:0}.nav-button:hover{background:#202b3b;border-color:#44536a;color:var(--text)}.nav-button.active{background:linear-gradient(110deg,#392d49,#222d3c);border-color:#89729b;color:#f1e8fd;font-weight:700;box-shadow:inset 3px 0 var(--violet)}
.route-meter{margin-top:25px;border-color:var(--line)}.route-meter strong{color:var(--text)}.connection-dot{background:var(--gold)}.nav-bottom{border-color:var(--line)}.nav-bottom #syncStatus{color:var(--muted);font-size:12px}.text-button{color:var(--violet)}
.main-pane{padding:25px 30px 30px;min-width:0}.page-top{margin-bottom:20px;align-items:center;gap:18px}.page-breadcrumb{font-size:11px;letter-spacing:.13em;color:var(--faint)}.page-top h1{font-family:inherit;font-size:27px;letter-spacing:-.035em;margin:7px 0;font-weight:650}.page-top p{font-size:13px;color:var(--muted);line-height:1.6}.command-bar{align-items:center}.search-box{background:var(--panel-soft);border-color:var(--line);border-radius:9px}.search-box input{font-size:13px}.icon-button{background:var(--panel);border-color:var(--line);min-width:44px;min-height:44px}
/* Telemetry is a readable instrument strip, not a second hero. */
.telemetry-panel{padding:12px 18px;margin-bottom:22px;background:linear-gradient(110deg,#1a2230,#161e29);border:1px solid var(--line);border-radius:12px;box-shadow:none}.tm-header{margin-bottom:12px}.tm-header h2{font-size:13px;letter-spacing:.02em;color:var(--text)}.tm-tools button{font-size:12px;padding:7px 10px}.tm-source{font-size:11px}.tm-card{padding:4px 10px;border-color:var(--line);gap:5px}.tm-label{font-size:11px;letter-spacing:0;color:var(--muted)}.tm-card strong{font-size:22px;letter-spacing:-.035em}.tm-gold strong{font-size:16px;white-space:normal;line-height:1.5}.tm-card small{font-size:11px;line-height:1.5;color:var(--faint)}.tm-level-progress{margin-top:12px}.tm-level-progress progress{height:6px}.tm-foot{font-size:11px;color:var(--muted);line-height:1.6;margin-top:8px}.tm-more summary,.tm-import summary{font-size:12px}.tm-detail{font-size:13px}.tm-coverage,.tm-warning,.tm-test-report,.tm-import-body p{font-size:12px;line-height:1.65}.tm-import-body textarea{font-size:13px}.tm-resource span{font-size:12px}
/* The next move owns the visual hierarchy. Native game icons remain crisp. */
.next-action-panel{border:1px solid #9b8152;border-radius:16px;background:linear-gradient(120deg,#232432,#171f2b);box-shadow:0 14px 38px #0003}.nm-main{padding:28px 28px 24px}.nm-heading .eyebrow{font-size:11px;letter-spacing:.12em}.nm-stage{font-size:12px;padding:6px 10px}.nm-circuit{font-size:13px}.nm-main h2{font-size:clamp(30px,3vw,43px)!important;line-height:1.15!important}.nm-instruction{font-size:16px!important;line-height:1.5}.nm-route-steps{gap:10px}.nm-route-steps section{padding:12px;background:#ffffff05}.nm-step-label{font-size:11px;letter-spacing:.055em}.nm-location b{font-size:14px;line-height:1.5}.nm-location small,.nm-route-steps ul,.nm-more,.nm-more summary{font-size:13px;line-height:1.65}.nm-actions{gap:12px;margin:20px 0 14px}.nm-actions button.primary{font-size:14px;padding:12px 18px;box-shadow:0 3px 12px #0002}.nm-status-control{font-size:12px}.nm-status-control select{font-size:13px}.nm-meta,.nm-gates,.nm-manual-note{font-size:12px!important;line-height:1.65!important}.nm-art figcaption,.nm-art figcaption small{font-size:11px;line-height:1.55}.nm-footer{padding:12px 25px;gap:16px}.nm-footer>p{font-size:11px!important;max-width:310px}.nm-circuit-nav,.nm-circuit-nav button{font-size:12px}.nm-class-quests p,.nm-class-quests small{font-size:13px;line-height:1.65}
.session-summary{margin:18px 0 24px;gap:12px}.summary-card{min-height:82px;padding:14px 16px;border-color:var(--line-soft);background:var(--panel)}.summary-card strong{font-size:21px}.summary-card em{color:var(--muted);font-size:12px;line-height:1.55}.summary-icon{background:#292638;border-color:#6b597c}.summary-card:hover{background:var(--panel-raised);border-color:#857096}.session-summary .summary-card>span>span{font-size:11px;letter-spacing:.055em}
.right-rail{padding:26px 17px;background:#101721;border-color:var(--line-soft)}.rail-panel{background:var(--panel);border:1px solid var(--line-soft);border-radius:12px;padding:17px;margin-bottom:16px}.rail-section-title{font-size:11px;color:var(--faint);letter-spacing:.085em}.rail-heading h3{font-size:14px;color:var(--text)}.rail-heading span{color:var(--violet)}.rail-panel .muted,.rail-footnote{font-size:12px;color:var(--muted);line-height:1.65}.slot-strip{gap:7px}.rail-panel .quiet{min-height:44px;background:#222d3c;border-color:#485971;font-size:13px}.mini-gear{background:#1d2735;border-color:var(--line)}.profession-chips span{background:#292338;border-color:#655376;color:#e0d0f1;font-size:12px}
/* Common tools: consistent surfaces, spacing, and readable labels. */
button{min-height:44px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #e0caff;outline-offset:3px}input:focus,select:focus,textarea:focus{border-color:#c4a3e1;box-shadow:0 0 0 3px #b794d822}input,select,textarea{background:#101925;border-color:var(--line);border-radius:8px;font-size:13px}button:disabled{cursor:not-allowed}
.reference-card,.hud-quest,.circuit-toolbar,.circuit-notes,.builder-toolbar,.eq-character,.eq-browser,.pf-section,.path-panel,.qj-card{background:var(--panel);border-color:var(--line);border-radius:12px}.reference-card p,.hud-quest p,.circuit-notes,.path-panel p{font-size:13px;line-height:1.7}.builder-toolbar{padding:16px;gap:16px}.builder-toolbar label{font-size:12px}.builder-toolbar select{min-height:44px}.circuit-buttons button{background:#233044;border-color:#465a76;font-size:13px}.eq-character-heading{background:linear-gradient(110deg,#302740,#1c2b3d)}.eq-paperdoll{background:radial-gradient(ellipse at 50% 43%,#49375d45,transparent 60%),#111c29}.eq-slot-row,.eq-item-card{background:#1c2736;border-color:var(--line)}.eq-stat-grid>div{background:#1c2736;border-color:var(--line)}.eq-browser-note{border-color:var(--line)}.eq-slot-label,.eq-item-card p,.eq-browser-note,.eq-stat-grid span{font-size:12px;line-height:1.6}.eq-item-card h4,.eq-slot-row b{font-size:13px}.eq-stat-grid b{font-size:17px}.pf-skill-card{background:linear-gradient(135deg,#30273e,#1b2a3a)}.pf-tabs{border-color:var(--line)}.pf-tabs button{font-size:13px}.pf-tabs button[aria-pressed=true]{background:#3a2d49;border-color:#9676ac;color:#f1e5ff}.pf-section p,.pf-section label,.pf-section small{font-size:13px;line-height:1.65}.tui-tree{border-color:var(--line);border-radius:12px;overflow:hidden}.tui-tree>header{background:#202b3b;padding:15px}.tui-tree>header h3{font-size:15px}.tui-toolbar h2{font-size:23px}.tui-kicker{font-size:11px}.tui-budget{background:#1a2534;border-color:var(--line);border-radius:11px}.tui-budget-meter span,.tui-budget-context,.tui-budget label{font-size:13px}.tui-node-info>span{font-size:12px;line-height:1.45}.tui-node.allocated{border-color:#9f8556}.tui-insight{background:#1b2635;border-color:var(--line);border-radius:12px}.tui-insight p,.tui-gates li,.tui-footer p,.tui-footer a,.tui-all-ranks summary{font-size:13px;line-height:1.65}.qj-card p,.qj-card small{font-size:13px;line-height:1.65}.ah-panel{border-color:var(--line);background:var(--panel)}.ah-panel p,.ah-panel small,.ah-market td,.ah-market th,.ah-import label{font-size:13px;line-height:1.6}.origin-chip{background:#352b23;border-color:#756046;color:#f0d8b0;font-size:11px}.footer{border-top:1px solid var(--line-soft);padding-top:20px;color:var(--muted);font-size:12px;line-height:1.6}.character-dialog{background:#192433;border-color:#75839b;box-shadow:0 35px 120px #030508bb}.character-dialog .dialog-title h2{font-family:inherit;font-size:27px}
body[data-view=auction] .next-action-panel,body[data-view=auction] .session-summary,body[data-view=auction] .right-rail{display:none}body[data-view=auction] .workspace,body[data-view=talents] .workspace,body[data-view=gear] .workspace{grid-template-columns:190px minmax(0,1fr)}body[data-view=quests] .session-summary,body[data-view=bank] .session-summary,body[data-view=professions] .session-summary{display:none}.focus-mode .workspace{grid-template-columns:190px minmax(0,1fr);max-width:1600px}.focus-mode .main-pane{max-width:1300px}
@media(min-width:1600px){.workspace{grid-template-columns:204px minmax(0,1fr) 275px}.main-pane{padding:30px 36px}.navigation{padding-left:16px;padding-right:16px}.right-rail{padding:30px 20px}body[data-view=talents] .workspace,body[data-view=gear] .workspace,body[data-view=auction] .workspace{grid-template-columns:204px minmax(0,1fr)}}
@media(max-width:1280px){.workspace{grid-template-columns:176px minmax(0,1fr)}.right-rail{display:none}.main-pane{padding:24px}.navigation{padding:24px 10px}body[data-view=talents] .workspace,body[data-view=gear] .workspace,body[data-view=auction] .workspace,.focus-mode .workspace{grid-template-columns:176px minmax(0,1fr)}.header-build{margin-left:8px;gap:10px}.character-strip{padding:0 20px;gap:16px}.profile-button span{max-width:105px}.tm-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}.tm-card:nth-child(4){border-left:0;padding-left:0}.nm-shell{grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr)}}
@media(max-width:920px){.character-strip{position:relative;height:auto;min-height:76px;flex-wrap:wrap;padding:13px 18px;gap:12px}.header-build{order:3;width:100%;margin:0;justify-content:space-between;padding-top:8px}.brand{flex:1}.profile-button span{display:none}.workspace,body[data-view=talents] .workspace,body[data-view=gear] .workspace,body[data-view=auction] .workspace,.focus-mode .workspace{display:block}.navigation{height:auto;position:sticky;top:0;z-index:25;padding:7px 12px;border-bottom:1px solid var(--line);box-shadow:0 5px 15px #0003}.navigation nav{display:flex;overflow-x:auto;gap:6px;scrollbar-width:thin;scrollbar-color:#7d6494 #111720}.nav-button{display:grid;flex:0 0 104px;justify-items:center;min-height:64px;padding:8px 6px;gap:5px;font-size:12px;line-height:1.3;white-space:normal}.nav-character,.nav-caption,.route-meter,.nav-bottom{display:none!important}.main-pane{padding:22px}.header-actions{gap:8px}.page-top h1{font-size:25px}.focus-mode .main-pane{max-width:none}}
@media(max-width:760px){.nm-shell{grid-template-columns:1fr}.nm-main{padding:23px}.nm-main h2{font-size:32px!important}.nm-footer{padding:15px 22px}.nm-footer>p{max-width:none}.nm-circuit-nav{gap:9px}.tm-details{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.main-pane{padding:16px 13px 25px}.page-top{display:flex;flex-wrap:wrap;gap:13px;margin-bottom:18px}.page-top h1{font-size:24px}.page-top p{font-size:13px}.page-breadcrumb{font-size:10px}.command-bar{width:100%;display:flex}.search-box{flex:1;min-width:0}.session-summary{grid-template-columns:1fr;gap:8px;margin:16px 0 22px}.summary-card{padding:12px 14px;min-height:72px;display:flex}.summary-card strong{font-size:20px}.summary-card strong small,.summary-card em{font-size:12px}.summary-icon{width:36px;height:36px;margin:0}.header-actions .save-state{font-size:11px;max-width:105px}.class-control select{max-width:145px}.footer{display:grid;gap:10px;font-size:12px}.brand small{font-size:9px}.brand{font-size:13px}.navigation{padding-left:8px;padding-right:8px}.nav-button{flex-basis:96px}.character-dialog{padding:22px}.telemetry-panel{padding:14px}.tm-header{gap:10px}.tm-header h2,.tm-tools button{font-size:12px}.tm-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 6px}.tm-card:nth-child(4){border-left:1px solid var(--line);padding-left:10px}.tm-card:nth-child(odd){border-left:0;padding-left:0}.tm-card strong{font-size:21px}.tm-gold strong{font-size:15px}.tm-details{grid-template-columns:1fr}.nm-main{padding:21px 18px}.nm-stage{font-size:11px}.nm-main h2{font-size:29px!important}.nm-route-steps{grid-template-columns:1fr}.nm-route-steps section,.nm-route-steps section:last-child{grid-template-columns:90px minmax(0,1fr);gap:8px}.nm-actions button.primary{flex:1}.nm-status-control{flex:1;min-width:130px}.nm-footer>p{font-size:12px!important}.nm-circuit-nav button{font-size:12px}.tui-node-info>span{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.nm-stage,.summary-card{animation:none!important}}
@media print{#telemetryHud,.navigation,.right-rail{display:none}.main-pane{padding:0}.workspace{display:block}body{background:white;color:black}.page-top{margin:12px 0}.next-action-panel,.reference-card,.hud-quest{box-shadow:none;break-inside:avoid}}

/* Expedition frame. Static borders and artwork do the work; nothing idles. */
.character-strip{background:#101621;border-bottom:1px solid var(--frame-dim);box-shadow:none}
.brand-mark{border-color:var(--frame);border-radius:7px;background:#25202d;box-shadow:none}
.brand{color:#eee3c9;letter-spacing:.12em}.brand small{color:#a79d91;letter-spacing:.09em}
.navigation{background:#10151e;border-right-color:var(--frame-dim)}
.nav-character{gap:10px;border-bottom:1px solid var(--line-soft);margin-bottom:21px;padding-bottom:20px}
.nav-character b{color:#eadfc9}.avatar-ring{border-color:#8b7553;box-shadow:none}
.nav-caption{color:#c3ab83;letter-spacing:.14em}
.nav-button{border:1px solid transparent;position:relative;line-height:1.4}
.nav-button.active{background:linear-gradient(105deg,#32283e,#1d2431);border-color:#897154;box-shadow:inset 3px 0 #dcc08d;color:#f1e6d3}.nav-button:hover{border-color:#64543f;background:#222632}
.route-meter{background:#151c26;border:1px solid var(--line-soft);border-radius:8px;padding:13px 11px}
.route-meter small{line-height:1.6;color:var(--faint)}.nav-bottom{margin-top:24px}
.page-breadcrumb{color:#baa37d}.page-breadcrumb>span:first-child{color:#657084}
.page-top h1{color:#f4ebd9;letter-spacing:-.025em}.page-top p{max-width:66ch}
.main-pane{padding-top:22px}.telemetry-panel{border-color:#6e5c43;background:#141b27;border-radius:12px;padding:16px 18px;box-shadow:none}
.tm-header{padding-bottom:11px;border-bottom:1px solid var(--line-soft);margin-bottom:16px}
.tm-header h2{color:#e8d6b5;letter-spacing:.04em}.tm-source{border-color:#67543c;color:#dec392;background:#29251f}
.tm-tools button{border-color:#435168;background:#1e293a;color:#d9dcea}
.tm-cards{padding-top:6px}.tm-card strong{color:#f5e8d0}.tm-card small{color:#a7b4c6}.tm-label{color:#b6c3d4}
.tm-level-progress{padding-top:12px;border-top:1px solid var(--line-soft)}
.tm-more,.tm-import{background:#101722;border-color:#354056;border-radius:8px}
.tm-more>summary,.tm-import>summary{padding:10px 12px;color:#bfcade}
.next-action-panel{border-color:#99805a;border-radius:14px;background:linear-gradient(115deg,#222130,#171e2b);box-shadow:none}
.nm-shell{grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr)}
.nm-main{padding:27px 28px 23px;background:linear-gradient(155deg,#272532,#18202d)}.nm-heading .eyebrow{color:#e4c690;font-weight:700}
.nm-main h2{font-family:Georgia,"Times New Roman",serif;font-weight:500!important;letter-spacing:-.015em!important;color:#f5ead7}
.nm-instruction{color:#e4c58f}.nm-circuit{color:#b4bfd0}.nm-stage{border-radius:6px;letter-spacing:.02em}
.nm-route-steps section{background:#151e2b;border:1px solid #344156;border-top:2px solid #586276;border-radius:7px}
.nm-route-steps section.is-current{background:#2b2930;border:1px solid #776448;border-top:2px solid #d6b078}
.nm-location b{color:#eae7e0}.nm-map-panel{border-left-color:#6b5a40}
.nm-map-head{color:#dfc491}.nm-map-title{font-family:Georgia,"Times New Roman",serif;letter-spacing:0;font-weight:500}
.nm-map-open{border-color:#ab8e59;color:#eedbb5;background:#282821}
.nm-footer{border-top-color:#605139;background:#121924;padding-top:13px;padding-bottom:13px}
.nm-circuit-nav button{border-color:#655740;background:#242533;color:#eadbc0}
.nm-actions button.primary{background:#d9bd85;border-color:#eed8ab;color:#251e16}
.nm-actions button.primary:hover{background:#e8cf9e;border-color:#f2dfba}
.nm-status-control select{background:#131b29;border-color:#696048}
.session-summary{gap:12px}.summary-card{background:#151d29;border-color:#39465b;border-radius:10px;box-shadow:none}
.summary-icon{border-radius:7px;background:#2a2532;border-color:#73634d}.summary-card strong{color:#eedbb9}
.summary-card:hover{background:#202838;border-color:#796c54}
.right-rail{background:#10151e;border-left-color:var(--frame-dim)}.rail-panel{border-color:#443e37;border-radius:10px;background:#171d27;box-shadow:none}
.rail-section-title{color:#c3ab83}.rail-heading h3{color:#eadfc9}.slot-strip .slot{border-radius:5px;background:#171924}
.reference-card,.hud-quest,.circuit-toolbar,.builder-toolbar,.eq-character,.eq-browser,.pf-section,.path-panel,.qj-card{box-shadow:none}
.eq-character-heading{border-bottom-color:#685940}.tui-tree>header{border-bottom-color:#756047}.pf-skill-card{box-shadow:none}.origin-chip{border-color:#8b7046;color:#ead5ae;background:#332a20}
.wow-credits-footer{border-top-color:#4f4435}.wow-art-credits>summary{font-size:11px;color:#b9a788}.wow-art-credits p{font-size:11px}
.character-dialog::backdrop{background:#080d15dc;backdrop-filter:none;-webkit-backdrop-filter:none}
/* Avoid filters, fixed background effects, promoted layers, and a perpetual spinner. */
.loading-orbit{animation:none!important;border-color:#8f7854;border-top-color:#d8c191;background:#222434;box-shadow:none}
.slot img,.talents-ui .locked .tui-node-info>img{filter:none}
.slot img{opacity:.55}.slot.collected img{opacity:1}.talents-ui .locked .tui-node-info>img{opacity:.35;border-style:dashed}
.eq-crest-halo,.tui-talented-icon,.wow-ui-icon{box-shadow:none}
.summary-card,.nm-stage{animation:none!important}
/* Each card retains its estimated space while the browser skips offscreen work. */
@supports(content-visibility:auto){
  .qr-card:not([open]){content-visibility:auto;contain-intrinsic-size:auto 82px}
  .eq-results>.eq-item-card{content-visibility:auto;contain-intrinsic-size:auto 105px}
  .pf-recipes>.pf-recipe-card{content-visibility:auto;contain-intrinsic-size:auto 245px}
  .wiki-results>.wiki-result{content-visibility:auto;contain-intrinsic-size:auto 90px}
}
body[data-view=wiki] .next-action-panel,body[data-view=wiki] .session-summary,body[data-view=wiki] .right-rail{display:none}
body[data-view=wiki] .workspace{grid-template-columns:190px minmax(0,1fr)}
@media(min-width:1600px){body[data-view=wiki] .workspace{grid-template-columns:204px minmax(0,1fr)}.nm-shell{grid-template-columns:minmax(0,1.65fr) minmax(335px,1fr)}}
@media(max-width:1280px){body[data-view=wiki] .workspace{grid-template-columns:176px minmax(0,1fr)}.nm-shell{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)}.nm-main{padding:24px}}
@media(max-width:1100px){.nm-shell{grid-template-columns:minmax(0,1.55fr) minmax(230px,1fr)}.nm-main{padding:22px}.nm-main h2{font-size:34px!important}}
@media(max-width:920px){body[data-view=wiki] .workspace{display:block}.navigation{box-shadow:none;border-bottom-color:#796648}.nav-character{margin:0;padding:0;border:0}.main-pane{padding-top:20px}}
@media(max-width:760px){.nm-shell{grid-template-columns:1fr}.nm-main{padding:23px}.nm-map-panel{border-left:0;border-top:1px solid #6b5a40}.nm-main h2{font-size:33px!important}}
@media(max-width:620px){.telemetry-panel{padding:14px 12px}.tm-header{padding-bottom:12px}.tm-cards{padding-top:4px}.nm-main{padding:22px 18px}.nm-main h2{font-size:30px!important}.nm-route-steps section{padding:11px}.summary-card{min-height:74px}.main-pane{padding-top:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Minimal mode omits optional markup in app.js; CSS only composes what remains. */
body.minimal-hud .right-rail,body.minimal-hud .session-summary,body.minimal-hud #routePlanner,body.minimal-hud .action-decor,body.minimal-hud .wow-art-credits{display:none}
body.minimal-hud .workspace{grid-template-columns:186px minmax(0,1fr)}
body.minimal-hud .next-action-panel{max-width:1080px}
body.minimal-hud .nm-shell{grid-template-columns:1fr}
.profile-notice,.minimal-notice{padding:10px 14px;border:1px solid var(--border);border-radius:8px;color:var(--muted);font-size:12px;background:var(--panel)}
@media(max-width:900px){body.minimal-hud .workspace{grid-template-columns:1fr}}

/* Compact instruments leave the current task in charge of the page. */
.main-pane{padding:20px 26px 28px}
.page-top{gap:16px;margin-bottom:14px}
.page-breadcrumb{margin-bottom:5px;font-size:10px;letter-spacing:.11em}
.page-top h1{margin:4px 0;font-size:24px;line-height:1.25}
.page-top p{margin:4px 0 0;line-height:1.5}
.command-bar{flex:0 0 auto}
.search-box input{min-height:42px}
.profile-notice,.minimal-notice{border:1px solid var(--line);line-height:1.6}

/* Preserve readable values, source labels and every explicit telemetry tool. */
#telemetryHud .telemetry-panel{padding:10px 15px;margin-bottom:16px;border-color:#574d43;background:#141b26;box-shadow:none;gap:0 12px}
#telemetryHud .tm-header{min-height:44px;padding-bottom:6px;margin-bottom:8px;align-items:center}
#telemetryHud .tm-header h2{font-size:12px;letter-spacing:.025em}
#telemetryHud .tm-tools{flex-wrap:wrap;gap:6px}
#telemetryHud .tm-tools button{min-height:44px;padding:7px 10px;font-size:11px}
#telemetryHud .tm-source{font-size:11px;line-height:1.4;white-space:normal}
#telemetryHud .tm-vitals{padding:5px 0 10px;margin:0 0 10px;gap:0;border-bottom-color:#334052}
#telemetryHud .tm-vital-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#telemetryHud .tm-vital-heading{gap:8px;margin-bottom:5px;flex-wrap:wrap}
#telemetryHud .tm-vital-heading span{font-size:12px}
#telemetryHud .tm-vital-heading b{font-size:13px;line-height:1.35}
#telemetryHud .tm-vital-heading small{font-size:10px;min-width:34px}
#telemetryHud .tm-vital[data-known=false] .tm-vital-heading small{min-width:0;color:#b4c0d0}
#telemetryHud .tm-vital-track{height:19px;border-color:#70778166;border-radius:4px}
#telemetryHud .tm-vital-fill{border-radius:3px;box-shadow:inset 0 1px 0 #ffffff28;transition:transform 150ms ease-out,background-color 150ms ease-out}
#telemetryHud .tm-cards{grid-template-columns:repeat(6,minmax(0,1fr));padding-top:0;gap:7px}
#telemetryHud .tm-card{padding:2px 8px;gap:4px}
#telemetryHud .tm-card strong{font-size:19px;line-height:1.25;color:#f2e9d9;overflow-wrap:anywhere}
#telemetryHud .tm-gold strong{font-size:14px;white-space:normal;line-height:1.45}
#telemetryHud .tm-label{font-size:11px;line-height:1.4;color:#bdc8d8}
#telemetryHud .wow-metric-icon{width:20px;height:20px}
#telemetryHud .tm-card small{font-size:11px;line-height:1.4;color:#a6b2c4}
#telemetryHud .tm-level-progress{margin-top:8px;padding-top:7px}
#telemetryHud .tm-level-progress progress{height:5px}
#telemetryHud .tm-no-progress{font-size:11px;line-height:1.45;color:#a6b2c4}
#telemetryHud .tm-foot{margin-top:7px;gap:6px 16px;font-size:11px;line-height:1.5;color:#b5bfce}
#telemetryHud .tm-more,#telemetryHud .tm-import{margin-top:7px;padding-top:0;border-color:#354056;background:#101721}
#telemetryHud .tm-more>summary,#telemetryHud .tm-import>summary{min-height:44px;padding:0 10px;font-size:11px;line-height:44px;color:#c3b3dd}
#telemetryHud .tm-details{font-size:12px}
#telemetryHud .tm-coverage,#telemetryHud .tm-warning{font-size:11px;line-height:1.6;color:#b4bdcb}

/* The name can wrap beside its portrait rather than lose its identity. */
.navigation{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#77634d #10151e}
.navigation .nav-character{display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 10px;padding:0 3px 17px;margin-bottom:17px;align-items:center}
.navigation .nav-character>.avatar-ring{grid-column:1;grid-row:1;flex-basis:56px;width:56px;height:56px;padding:3px;border-radius:11px}
.navigation .nav-character .avatar-ring img{width:48px;height:48px;border-radius:7px}
.navigation .nav-character .avatar-ring .vr-portrait-symbol{width:44px;height:44px}
.navigation .nav-character>span:nth-child(2){grid-column:2;min-width:0;text-align:left}
.navigation .nav-character b,.navigation .nav-character b[title]{max-width:none;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.4;color:#eee1c7}
.navigation .nav-character small{font-size:11px;line-height:1.45;color:#b7c1d0}
.navigation .nav-character>.origin-chip{position:static;grid-column:2;justify-self:start;align-self:start;font-size:10px;margin-top:2px}
.navigation .route-meter{margin-top:20px}
.right-rail{padding-top:22px}
.right-rail .rail-panel{padding:15px}

/* Give the action text room while keeping unaltered map geometry beside it. */
.next-action-panel{border-color:#a58a5d;background:#1c2130;box-shadow:none}
#nextAction .nm-shell{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr)}
#nextAction .nm-main{padding:21px 23px 18px;min-width:0}
#nextAction .nm-heading{gap:8px;flex-wrap:wrap}
#nextAction .nm-heading .eyebrow{font-size:11px;letter-spacing:.09em;color:#e5c891}
#nextAction .nm-stage{font-size:11px;line-height:1.4;max-width:100%;white-space:normal}
#nextAction .nm-circuit{margin:11px 0 5px!important;font-size:12px;line-height:1.5}
#nextAction .nm-main h2{font-size:clamp(28px,2.35vw,36px)!important;line-height:1.15!important;margin-bottom:9px!important;color:#f7eddb;overflow-wrap:anywhere}
#nextAction .nm-instruction{font-size:15px!important;line-height:1.45;margin-bottom:12px!important;color:#e6cb98}
#nextAction .nm-plan-note{margin-bottom:12px;padding:9px 11px}
#nextAction .nm-plan-note p{font-size:12px!important;line-height:1.55!important}
#nextAction .nm-route-steps{gap:8px}
#nextAction .nm-route-steps section{padding:10px 9px;background:#141d29}
#nextAction .nm-route-steps section.is-current{background:#2b2930;border-color:#9b8053}
#nextAction .nm-step-label{font-size:10px;line-height:1.45;letter-spacing:.045em}
#nextAction .nm-location b{font-size:13px;line-height:1.45}
#nextAction .nm-location small,#nextAction .nm-route-steps ul{font-size:12px;line-height:1.55}
#nextAction .nm-actions{margin:14px 0 10px;gap:10px}
#nextAction .nm-actions button.primary{min-height:44px;padding:10px 15px;font-size:13px;box-shadow:none}
#nextAction .nm-status-control select{min-height:44px}
#nextAction .nm-meta{font-size:11px!important;gap:7px 12px;line-height:1.5!important}
#nextAction .nm-art{border-left-color:#62523c}
#nextAction .nm-art>.quest-map{padding:12px;background:#141b26}
#nextAction .nm-art .qm-locations{max-height:180px;scrollbar-width:thin}
#nextAction .nm-art .qm-gap{padding:18px 12px}
#nextAction .nm-art figcaption{padding:8px 12px;line-height:1.5}
#nextAction .nm-footer{padding:10px 18px;gap:10px 16px;flex-wrap:wrap}
.session-summary{margin:14px 0 19px;gap:10px}
.session-summary .summary-card{min-height:76px;padding:12px 14px}

@media(min-width:1600px){.main-pane{padding:23px 30px 30px}#nextAction .nm-shell{grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr)}}
@media(max-width:1280px){
 .main-pane{padding:18px 22px 26px}
 #telemetryHud .tm-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 8px}
 #telemetryHud .tm-card:nth-child(4){border-left:0;padding-left:0}
 #nextAction .nm-shell{grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr)}
 #nextAction .nm-main{padding:20px}
}
@media(max-width:920px){
 .navigation{overflow:visible;padding:8px 11px}
 .navigation .nav-character{padding:4px 4px 10px;margin:0;gap:10px}
 .navigation nav .nav-button{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;justify-items:start;text-align:left;gap:8px;flex:0 0 140px;min-height:48px;padding:8px 10px;font-size:12px;line-height:1.35}
 .navigation nav .nav-button .nav-wow-icon{width:24px;height:24px}
 .main-pane{padding:17px 20px 25px}
 #viewContent{scroll-margin-top:145px}
}
@media(max-width:760px){
 #nextAction .nm-shell{grid-template-columns:1fr}
 #nextAction .nm-art{border-left:0;border-top:1px solid #62523c}
 #nextAction .nm-main h2{font-size:30px!important}
 #nextAction .nm-footer{align-items:flex-start}
 #nextAction .nm-footer>p{max-width:none}
 #nextAction .nm-circuit-nav{width:100%;justify-content:space-between;gap:8px}
}
@media(max-width:620px){
 .main-pane{padding:14px 12px 23px}
 .page-top{gap:10px;margin-bottom:12px}
 .page-top h1{font-size:22px}
 .page-top p{font-size:12px}
 .navigation .nav-character>.avatar-ring{width:48px;height:48px;flex-basis:48px;padding:2px}
 .navigation .nav-character .avatar-ring img{width:42px;height:42px}
 .navigation .nav-character .avatar-ring .vr-portrait-symbol{width:38px;height:38px}
 .navigation nav .nav-button{flex-basis:136px;min-height:46px;padding:7px 9px}
 #telemetryHud .telemetry-panel{padding:10px 12px;margin-bottom:13px}
 #telemetryHud .tm-header{margin-bottom:7px;gap:6px;flex-wrap:wrap}
 #telemetryHud .tm-tools{width:100%;gap:5px}
 #telemetryHud .tm-vital-stack{grid-template-columns:1fr;gap:10px}
 #telemetryHud .tm-vital-heading{flex-wrap:nowrap;gap:7px}
 #telemetryHud .tm-vital-track{height:20px}
 #telemetryHud .tm-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 7px}
 #telemetryHud .tm-card:nth-child(4){border-left:1px solid var(--line);padding-left:8px}
 #telemetryHud .tm-card:nth-child(odd){border-left:0;padding-left:0}
 #telemetryHud .tm-card strong{font-size:18px}
 #telemetryHud .tm-gold strong{font-size:14px}
 #telemetryHud .tm-foot{flex-wrap:wrap;gap:3px;font-size:10px}
 #telemetryHud .tm-more,#telemetryHud .tm-import{grid-column:1/-1}
 #telemetryHud .tm-import:not([open])>summary{text-align:left}
 #nextAction .nm-main{padding:18px 15px}
 #nextAction .nm-main h2{font-size:28px!important}
 #nextAction .nm-route-steps{grid-template-columns:1fr;gap:7px}
 #nextAction .nm-route-steps section{padding:9px 10px}
 #nextAction .nm-art>.quest-map{padding:11px}
 #nextAction .nm-footer{padding:12px 14px}
 #nextAction .nm-circuit-nav{gap:7px;justify-content:flex-start}
 .session-summary .summary-card{min-height:70px;padding:11px 12px}
}

/* Minimal markup is produced by the controllers; retained controls stay usable. */
body.minimal-hud .main-pane{width:100%;max-width:1160px;padding-top:16px}
body.minimal-hud .page-top{margin-bottom:11px}
body.minimal-hud .page-top h1{font-size:22px}
body.minimal-hud .next-action-panel{max-width:none;border-color:#8e7855}
body.minimal-hud #nextAction .nm-shell{grid-template-columns:1fr}
body.minimal-hud #nextAction .nm-main{padding:16px 20px}
body.minimal-hud #nextAction .nm-main h2{font-size:27px!important}
body.minimal-hud #nextAction .nm-instruction{font-size:13px!important;margin-bottom:9px!important}
body.minimal-hud #nextAction .nm-actions{margin:10px 0}
body.minimal-hud #telemetryHud .tm-minimal{padding:9px 14px;margin-bottom:12px}
body.minimal-hud #telemetryHud .tm-minimal .tm-header{min-height:44px;margin-bottom:5px;padding-bottom:5px}
body.minimal-hud #telemetryHud .tm-minimal .tm-tools button{min-height:44px}
body.minimal-hud #telemetryHud .tm-minimal .tm-vitals{padding:4px 0 6px;margin:0;border:0}
body.minimal-hud #telemetryHud .tm-minimal .tm-vital-stack{gap:16px}
@media(max-width:620px){body.minimal-hud .main-pane{padding:12px}body.minimal-hud #nextAction .nm-main{padding:16px 14px}body.minimal-hud #telemetryHud .tm-minimal .tm-vital-stack{gap:9px}}
@media(prefers-reduced-motion:reduce){#telemetryHud .tm-vital-fill{transition:none}}

/* Keep every desktop navigation label and shortcut inside the narrow rail. */
@media(min-width:921px){
 .navigation nav{min-width:0;width:100%}
 .navigation nav .nav-button{display:grid;grid-template-columns:24px minmax(0,1fr);width:100%;min-width:0;gap:8px;white-space:normal}
 .navigation nav .nav-button>span{min-width:0;overflow-wrap:anywhere}
}

/* Use the space the instruments actually receive, including the wider pane
   created when the desktop rail is absent. Keep narrow layouts in normal flow. */
#telemetryHud{container-name:telemetry;container-type:inline-size;min-width:0}
@container telemetry (min-width:900px){
 #telemetryHud .telemetry-panel:not(.tm-minimal){grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr)}
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-header{grid-column:1;grid-row:1;align-self:center;flex-wrap:wrap;padding:0;margin:0 0 10px;border-bottom:0;gap:7px 12px}
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-vitals{grid-column:2;grid-row:1;align-self:center;padding:0;margin:0 0 10px;border-bottom:0}
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-vital-stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-cards{grid-template-columns:repeat(6,minmax(0,1fr));padding-top:10px;border-top:1px solid #334052;gap:7px}
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-card:nth-child(4){border-left:1px solid var(--line);padding-left:8px}
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-card:first-child{border-left:0;padding-left:0}
}

/* Observation refreshes change values, not the surrounding task's position. */
#telemetryHud .tm-level-progress{min-block-size:32px;display:flex;align-items:center}
#telemetryHud .tm-level-progress>progress{flex:1}
#telemetryHud .tm-foot{min-block-size:17px;align-items:flex-start}
#telemetryHud .tm-card small{min-block-size:2.8em}
#telemetryHud .tm-tools #telemetryRefresh{min-inline-size:70px}
#telemetryHud .tm-tools #telemetryLoadTest{min-inline-size:130px}
@container telemetry (min-width:900px){
 #telemetryHud .telemetry-panel:not(.tm-minimal) .tm-header .tm-tools{flex:1 0 100%}
}

/* Actual WoW textures retain their square proportions at restrained UI sizes. */
.wow-ui-icon{display:block;flex:0 0 auto;width:24px;height:24px;aspect-ratio:1;object-fit:contain;border:1px solid #796d51;border-radius:4px;background:#101318;box-shadow:none}
.nav-button .nav-wow-icon{width:24px;height:24px;opacity:.9;filter:none}
.nav-button.active .nav-wow-icon,.nav-button:hover .nav-wow-icon{opacity:1;border-color:#c1a779}
.search-box .search-wow-icon,.rail-section-title .rail-wow-icon{width:20px;height:20px;border-radius:3px}
.icon-button .wow-ui-icon{width:26px;height:26px}
.profile-button .profile-chevron{display:inline-block;font-size:17px;color:#a8b5c8;overflow:visible;line-height:1}
.wow-credits-footer{align-items:flex-start;gap:12px;flex-wrap:wrap}
.wow-art-credits{max-width:520px;margin:0;border:0;background:transparent;padding:0;font-size:10px;color:#94a3b8}
.wow-art-credits>summary{cursor:pointer;color:#a9b9ce;min-height:24px;list-style:disclosure-closed;padding:0;display:list-item}
.wow-art-credits[open]>summary{list-style:disclosure-open}
.wow-art-credits>div{padding:9px 12px;margin-top:5px;border:1px solid #344158;border-radius:7px;background:#141c28;line-height:1.7}
.wow-art-credits p{font-size:10px;line-height:1.7;margin:0 0 7px;color:#a5b2c6}
.wow-art-credits a{color:#cbb8ea;text-decoration:underline;text-underline-offset:3px}
@media(max-width:920px){.nav-button .nav-wow-icon{width:24px;height:24px}.profile-button .profile-chevron{display:inline-block}.wow-art-credits{max-width:100%}}

/* Familiar game artwork in content cards stays below its native resolution. */
.wow-content-icon{display:block;width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain;border-radius:4px;flex:0 0 auto}
.wow-status-icon{display:inline-block;width:20px;height:20px;max-width:20px;max-height:20px;object-fit:contain;vertical-align:middle;flex:0 0 auto;border-radius:3px}
.wow-metric-icon{display:inline-block;width:24px;height:24px;object-fit:contain;flex:0 0 auto;border-radius:3px}
.tm-label{display:flex;align-items:center;gap:7px}
.eq-placeholder-icon{opacity:.55}
.summary-icon img{display:block;width:28px;height:28px;max-width:100%;max-height:100%;object-fit:contain;border-radius:3px}
.eq-crest img{width:56px;height:56px;max-width:56px;max-height:56px;object-fit:contain}
.ah-item-button{display:flex;align-items:center;gap:10px}
.ah-item-label{display:block;min-width:0}
.ah-item-icon{display:block;width:32px;height:32px;max-width:32px;max-height:32px;object-fit:contain;flex:0 0 auto;border-radius:4px}
.ah-detail h3{display:flex;align-items:center;gap:10px}
.tui-insight-empty>img{width:40px;height:40px;max-width:40px;max-height:40px;object-fit:contain}
.tui-talented-status{color:#b8dec7;line-height:1.5}
.ah-market button[data-ah-item]{display:flex;align-items:center;gap:10px;text-align:left}
.tui-budget-context small.tui-talented-status{color:#b8dec7}
.talents-ui .tui-grid{grid-auto-rows:minmax(130px,auto)}
@media(max-width:620px){.eq-crest img{width:40px;height:40px}.summary-icon img{width:23px;height:23px}}

/* The named Legacy talent is represented once per earned rank. */
.tui-budget{flex-wrap:wrap}.tui-budget-context{min-width:170px;max-width:230px;text-align:left;padding-left:16px;border-left:1px solid var(--line)}
.tui-budget-context small.tui-talented-status{display:grid;gap:7px;font-size:12px;margin-top:8px;color:var(--muted)}
.tui-talented-label{font-weight:650;color:var(--text)}.tui-talented-icons{display:flex;align-items:center;gap:5px;min-height:28px;flex-wrap:wrap}
.tui-talented-icon{display:block;width:26px;height:26px;aspect-ratio:1;object-fit:contain;border:1px solid #b9a06e;border-radius:4px;box-shadow:none}
.tui-talented-zero{font-size:12px;color:var(--faint)}.tui-talented-bonus{font-size:12px;color:var(--gold)}
@media(max-width:620px){.tui-budget-context{display:block;flex-basis:100%;max-width:none;min-width:0;border-left:0;border-top:1px solid var(--line);padding:12px 0 0}.tui-budget-context small.tui-talented-status{margin-top:7px}.tui-talented-icons{gap:6px}}

/* Character identity and compact class/spec controls */
.vr-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.header-native-select{display:none!important}.header-build>.control-divider{display:none}
.header-build{gap:10px;flex-wrap:nowrap;justify-content:flex-start}
#headerClassControl,#headerSpecControl{flex:0 0 auto}
.vr-icon-control{position:relative;display:flex;align-items:center}
.vr-icon-select{display:flex;align-items:center;justify-content:center;gap:4px;min-width:48px;min-height:46px;padding:5px;border:1px solid #77618b;border-radius:9px;background:#292337;color:#d8c8ee}
.vr-icon-select img{display:block;width:32px;height:32px;border-radius:5px;object-fit:cover}.vr-icon-chevron{font-size:12px}.vr-icon-select:hover,.vr-icon-select.is-open{background:#40314f;border-color:#ba9bd5}
.vr-icon-select:focus-visible,.vr-icon-menu button:focus-visible,#spotlightTrigger:focus-visible,.vr-spotlight button:focus-visible,.vr-spotlight input:focus-visible{outline:2px solid #d9b9f5;outline-offset:3px}
.vr-icon-tooltip{position:absolute;top:calc(100% + 9px);left:0;background:#171a26;border:1px solid #806799;padding:7px 9px;border-radius:6px;z-index:75;font-size:12px;color:#f4e8ff;white-space:nowrap;pointer-events:none;visibility:hidden}
.vr-icon-select:hover+.vr-icon-tooltip,.vr-icon-select:focus-visible+.vr-icon-tooltip{visibility:visible}.vr-icon-select.is-open+.vr-icon-tooltip{visibility:hidden}
.vr-icon-menu{position:absolute;top:calc(100% + 9px);left:0;z-index:80;min-width:215px;max-height:min(65vh,440px);overflow-y:auto;padding:5px;border:1px solid #806799;border-radius:9px;background:#171b27;box-shadow:0 10px 28px #0007}.vr-icon-menu[hidden]{display:none}
.vr-icon-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:43px;padding:5px 7px;text-align:left;border:1px solid transparent;border-radius:5px;background:transparent;color:#e3dced;font-size:13px}.vr-icon-menu button:hover,.vr-icon-menu button:focus{background:#332b43}.vr-icon-menu [aria-checked=true]{border-color:#75538a;background:#2a2537}.vr-icon-menu img{width:30px;height:30px;border-radius:4px}.vr-option-check{margin-left:auto;color:#d2b1ef}
#spotlightTrigger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;padding:7px 10px;border:1px solid #77618b;border-radius:9px;background:#252133;color:#e0cfef;font-size:12px}#spotlightTrigger img,#spotlightTrigger svg{width:20px;height:20px}#spotlightTrigger kbd{color:#bda7d3;font-size:10px;border:1px solid #63516f;padding:2px 4px;border-radius:4px}
.nav-character{align-items:center;flex-wrap:nowrap;gap:10px}.nav-character>span:nth-child(2){min-width:0;flex:1}.nav-character b{max-width:100%;font-size:13px}.nav-character small{max-width:none;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.avatar-ring{align-items:center;justify-content:center;flex:0 0 70px;width:70px;height:70px;box-sizing:border-box;padding:3px;border-radius:14px}.avatar-ring img{display:block;aspect-ratio:1;object-fit:cover;width:62px;height:62px;border-radius:10px}.avatar-ring .vr-portrait-symbol{object-fit:contain;width:56px;height:56px}.nav-character b[title]{text-overflow:ellipsis}
/* Native dialog keeps search above the sticky companion navigation. */
.vr-spotlight{position:fixed;inset:12vh auto auto 50%;transform:translateX(-50%);margin:0;width:min(660px,calc(100vw - 28px));max-width:660px;max-height:78vh;box-sizing:border-box;padding:0;border:1px solid #9879b0;border-radius:14px;background:#151a26;color:#efe8f7;box-shadow:0 24px 100px #000a;overflow:auto}.vr-spotlight::backdrop{background:#070912bb}.vr-spotlight-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 20px 12px}.vr-spotlight-heading h2{margin:0;font-size:20px}.vr-spotlight-heading p{margin:5px 0 0;font-size:12px;color:#b3a7bf}.vr-spotlight-heading button{font-size:23px;line-height:1;min-width:36px;min-height:36px;border:1px solid #5f4c6d;background:#252030;border-radius:7px;color:#ddc5ed}.vr-spotlight-search{display:flex;align-items:center;gap:10px;margin:0 20px;border:1px solid #8c71a0;border-radius:8px;background:#242033;padding:3px 11px}.vr-spotlight-search input{width:100%;min-width:0;min-height:43px;padding:8px 0;border:0;background:transparent;color:#f3eafb;box-shadow:none;font-size:15px}.vr-spotlight-search kbd{color:#b5a3c3;font-size:10px}.vr-spotlight-status{min-height:18px;margin:12px 20px;color:#bcaacb;font-size:12px}.vr-spotlight-results{padding:0 9px 10px;max-height:48vh;overflow-y:auto}.vr-spotlight-result{display:flex;align-items:center;gap:12px;width:100%;min-height:65px;padding:10px;text-align:left;background:transparent;color:#e7deef;border:1px solid transparent;border-radius:8px}.vr-spotlight-result:hover,.vr-spotlight-result.is-active{background:#33293f;border-color:#785389}.vr-spotlight-result>img{width:36px;height:36px;border-radius:6px;flex:none}.vr-spotlight-result>span:nth-child(2){min-width:0;flex:1}.vr-spotlight-result b{display:block;font-size:14px;font-weight:650}.vr-spotlight-result small{display:block;color:#beadc9;font-size:11px;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.vr-spotlight-result em{display:block;color:#adbcab;font-size:10px;font-style:normal;margin-top:3px}.vr-result-open{color:#baa0cb;font-size:17px}.vr-spotlight-retry{margin:0 10px;background:#352541;border:1px solid #926fa7;color:#f1ddff;border-radius:7px;padding:8px 14px}.vr-spotlight-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:11px 20px;border-top:1px solid #40344d;color:#a693b7;font-size:10px}
@media(min-width:921px) and (max-width:1280px){.nav-character{flex-wrap:wrap}.nav-character>span:nth-child(2){flex-basis:100%;text-align:left}.avatar-ring{width:70px;height:70px}}
@media(max-width:920px){.navigation .nav-character{display:flex!important;align-items:center;gap:12px;padding:7px 5px 13px;border:0;margin:0}.nav-character>.avatar-ring{width:52px;height:52px;flex-basis:52px;padding:2px}.nav-character .avatar-ring img{width:46px;height:46px;border-radius:9px}.nav-character>span:nth-child(2){flex:1}.nav-character b{font-size:14px;max-width:100%}.nav-character small{font-size:11px;max-width:100%}.nav-character>.test-chip{position:static;align-self:center}.header-build{width:auto;flex:1;justify-content:flex-start;gap:9px}.header-build .level-control{margin-left:0}.header-build #spotlightTrigger{margin-left:0}.vr-spotlight{inset:9vh auto auto 50%;max-height:83vh}}
@media(max-width:620px){.header-build{width:100%;flex:none;gap:8px;padding-top:3px}.vr-icon-select{min-width:43px;min-height:43px;padding:4px}.vr-icon-select img{width:29px;height:29px}.vr-icon-chevron{display:none}#spotlightTrigger{margin-left:0;padding:8px;min-width:42px}#spotlightTrigger kbd,#spotlightTrigger .header-search-label{display:none}.vr-icon-menu{min-width:185px}.vr-spotlight{inset:18px auto auto 50%;max-height:calc(100dvh - 36px);border-radius:11px}.vr-spotlight-heading{padding:16px 15px 11px}.vr-spotlight-search{margin:0 15px}.vr-spotlight-search input{font-size:13px}.vr-spotlight-status{margin:12px 15px}.vr-spotlight-results{max-height:60vh}.vr-spotlight-footer{padding:11px 15px}.vr-spotlight-result{gap:9px;padding:9px}.vr-spotlight-result small{font-size:11px}}
@media(prefers-reduced-motion:reduce){.vr-icon-control *,.vr-spotlight *{scroll-behavior:auto;transition:none}}

/* Dungeon workspace only. Shared navigation remains owned by the sidebar. */
body[data-view=dungeons] .next-action-panel,body[data-view=dungeons] .session-summary,body[data-view=dungeons] .right-rail{display:none}
.vr-compact body[data-view=dungeons] #viewContent{height:100%;min-height:0;min-width:0}
.vr-compact body[data-view=dungeons] #vr-task-panel{overflow:hidden;padding:0;scrollbar-gutter:auto}
.vr-compact body[data-view=dungeons] .main-pane{grid-template-rows:0 minmax(0,1fr);gap:0;padding:16px}
.dg-workspace{--dg-border:#494155;--dg-gold:#ecd8af;--dg-muted:#bfb5cb;display:flex;flex-direction:column;gap:14px;height:100%;min-height:0;min-width:0;color:#e7e2ec;font:14px/1.6 Arial,sans-serif}
.dg-workspace *{box-sizing:border-box}.dg-workspace [hidden]{display:none!important}.dg-workspace button,.dg-workspace input,.dg-workspace select,.dg-workspace summary,.dg-wiki-link{min-height:44px;font:inherit}
.dg-workspace button{cursor:pointer;border:1px solid #655674;border-radius:6px;background:#30283c;color:#f0e8f5;padding:8px 12px;box-shadow:none}.dg-workspace button:hover:not(:disabled){border-color:#c0a3d2;background:#3b304b}.dg-workspace button:disabled{opacity:.4;cursor:default}
.dg-workspace :focus-visible{outline:3px solid #ead09a;outline-offset:-3px}.dg-workspace a{color:#e6cc98;text-decoration:none;text-underline-offset:3px}.dg-workspace a:hover{text-decoration:underline}.dg-workspace a:focus-visible{outline-offset:3px}
.dg-workspace h1,.dg-workspace h2,.dg-workspace h3,.dg-workspace h4{font-family:Georgia,serif;color:var(--dg-gold);margin:0;line-height:1.3;font-weight:500}.dg-workspace p{margin:10px 0}.dg-workspace ul{padding:0;margin:0;list-style:none}.dg-workspace img{max-width:100%}
.dg-kicker,.dg-field-label{display:block;font:600 11px/1.5 Arial,sans-serif;letter-spacing:.09em;color:#c9b48c}.dg-muted,.dg-unknown{color:var(--dg-muted)}
.dg-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;padding:0 2px}.dg-page-header h1{font-size:29px}.dg-page-header p{margin:3px 0 0;color:var(--dg-muted);font-size:13px}.dg-reference-label{color:#b4a8c0;font-size:12px}
.dg-columns{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;min-height:0;flex:1;min-width:0}.dg-library,.dg-reader{background:linear-gradient(140deg,#262332,#1c232d 75%);border:1px solid var(--dg-border);border-radius:10px;min-width:0;min-height:0}
.dg-library{display:flex;flex-direction:column;overflow:hidden}.dg-library>header{padding:16px;border-bottom:1px solid var(--dg-border);flex:0 0 auto}.dg-library-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:3px}.dg-library-title h2{font-size:20px}.dg-library-title>span{font-size:12px;color:#cfb9dc;border:1px solid #665374;border-radius:4px;min-width:28px;text-align:center;padding:1px 5px}.dg-sort-note{font-size:11px;color:#c9b48c;margin:0 0 13px!important}
.dg-library label{display:block;font-size:12px;color:#d5cbdc;margin-bottom:5px}.dg-search-controls{display:flex;gap:6px}.dg-search-controls input{width:0;min-width:0;flex:1;border:1px solid #51475f;background:#111823;border-radius:5px;color:#f4eef6;padding:8px 10px;font-size:13px}.dg-search-controls button{padding:8px 10px;font-size:13px}.dg-list-summary{font-size:12px;color:var(--dg-muted);margin:10px 0 0!important}.dg-library button.dg-clear{border:0;background:transparent;min-height:36px;text-decoration:underline;color:#d7bbec;font-size:12px;padding:4px 0}
.dg-results{min-height:0;flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#796389 transparent;scroll-padding:8px}.dg-results li{margin:0}.dg-results .dg-library-row{display:grid;grid-template-columns:minmax(0,1fr) 36px;min-width:0;border-bottom:1px solid #3e3748}
.dg-workspace button.dg-result{display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-height:82px;padding:12px 10px;border:0;border-radius:0;background:transparent;color:#f2eaf4;min-width:0}.dg-workspace button.dg-result:hover{background:#332c40}.dg-workspace button.dg-result.is-selected{background:linear-gradient(90deg,#443449,#302c3f);box-shadow:inset 3px 0 #d5bb8c}
.dg-image{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:44px;border:1px solid #605267;border-radius:5px;overflow:hidden;background:linear-gradient(135deg,#342c42,#15232c);position:relative}.dg-image img{display:block;width:100%;height:100%;object-fit:cover}.dg-image-fallback{font:25px Georgia,serif;color:#b6a3c5}
.dg-result-copy{min-width:0;flex:1}.dg-result-copy strong{display:block;font:500 15px/1.35 Georgia,serif;color:#eadbbd;overflow-wrap:anywhere}.dg-result-copy small{display:block;font-size:11px;color:#c1b7cc;line-height:1.5;margin-top:4px}.dg-row-level{font-size:12px;white-space:nowrap;color:#e4ce9f;background:#171d27;border:1px solid #534655;border-radius:4px;padding:2px 5px}
.dg-row-wiki{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:44px;gap:0;color:#bc9dca!important}.dg-row-wiki>span:first-child{font-size:19px}.dg-wiki-word{font-size:9px}.dg-row-wiki:hover{background:#332c40}
.dg-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;background:#171c27;border-top:1px solid var(--dg-border);flex:0 0 auto}.dg-pagination span{font-size:12px;color:var(--dg-muted)}.dg-pagination button{min-width:44px}
.dg-reader{position:relative;overflow:auto;padding:22px 26px;scrollbar-width:thin;scrollbar-color:#796389 transparent;scroll-padding-top:82px}.dg-dungeon-header{display:grid;grid-template-columns:82px minmax(0,1fr) auto auto;align-items:center;gap:17px;padding-bottom:18px;min-width:0}.dg-dungeon-header>.dg-image{width:82px;height:76px}.dg-dungeon-header>div{min-width:0}.dg-dungeon-header h2{font-size:30px;overflow-wrap:anywhere}.dg-dungeon-header p{font-size:13px;color:var(--dg-muted);margin:7px 0 0}.dg-badge{display:inline-block;font-size:10px;line-height:1.5;padding:2px 7px;border:1px solid #655b4d;border-radius:4px;color:#ddc8a1;background:#302c2a;margin-left:7px;vertical-align:middle}
.dg-level-feature{text-align:center;min-width:90px;padding:0 12px;border-left:1px solid #4d4357}.dg-level-feature span{display:block;font-size:11px;color:#c9bbd1}.dg-level-feature strong{display:block;font:27px/1.35 Georgia,serif;color:#f0d7a4}.dg-wiki-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #5e526a;border-radius:5px;padding:7px 11px;font-size:12px;white-space:nowrap}
.dg-section-nav{position:sticky;top:-22px;z-index:3;display:flex;gap:3px;overflow:auto;scrollbar-width:thin;scrollbar-color:#796389 transparent;flex-wrap:nowrap;background:#242331;padding:10px 0 12px;border-bottom:1px solid #57465f;margin:0 -1px;box-shadow:0 7px 10px -8px #0a0c14}.dg-section-nav button{flex:0 0 auto;background:transparent;border-color:transparent;padding:7px 10px;font-size:13px;color:#cfc1dc;white-space:nowrap}.dg-section-nav button[aria-current]{background:#3c2d48;border-color:#8a6c9d;color:#f2e8f7}.dg-section-nav button>span{margin-left:6px;font-size:11px;color:#ddc0ec;background:#171c27;border-radius:4px;padding:1px 5px}
.dg-reading{max-width:1260px}.dg-section{padding:23px 0;border-bottom:1px solid #403b4c;scroll-margin-top:80px}.dg-section:last-child{border-bottom:0;padding-bottom:8px}.dg-section-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;margin-bottom:11px}.dg-section h3{font-size:23px}.dg-section h4{font-size:18px;margin:0 0 10px}.dg-section-count{font-size:12px;color:#c6b3d0}.dg-section>p{max-width:940px;font-size:14px;line-height:1.7}.dg-section-description{margin:0 0 16px!important;color:#c2b8cc;font-size:13px!important}
.dg-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px}.dg-access-card,.dg-coverage-card{background:#191f2a;border:1px solid #494050;border-radius:7px;padding:15px 17px;min-width:0}.dg-access-card>strong,.dg-coverage-card>strong{display:block;font:18px/1.45 Georgia,serif;color:#e9d8b6;margin:5px 0 7px;overflow-wrap:anywhere}.dg-access-card p,.dg-coverage-card p{font-size:13px;color:#d0c4d9;margin:6px 0 0;line-height:1.65}.dg-coverage-card{background:#24222d}.dg-coverage-card button{font-size:12px;min-height:36px;margin:12px 0 0;padding:5px 8px;background:transparent}.dg-access-references{margin-top:14px;font-size:12px}.dg-access-references>span{color:#bba7ca;font-size:11px}.dg-access-references ul{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:4px}
.dg-wing-list{margin-top:20px}.dg-wing-list p{display:flex;gap:16px;justify-content:space-between;border-top:1px solid #423a50;padding:9px 0;font-size:13px}.dg-wing-list p span{color:var(--dg-muted);white-space:nowrap}.dg-attention{background:#342c26;border-left:2px solid #b7955f;padding:10px 13px;color:#e5cfa5;font-size:12px!important}.dg-source-note,.dg-map-credit{font-size:12px!important;color:#bdadcb;line-height:1.6!important}.dg-verification-note{border-left:2px solid #88709c;padding:6px 12px;font-size:13px!important}
.dg-quest-rows{border:1px solid #494153;border-radius:7px;overflow:hidden;margin:15px 0}.dg-quest-table{border-collapse:collapse;width:100%;table-layout:fixed;text-align:left;background:#191f2a}.dg-quest-table thead{background:#292535;color:#c7b7d2}.dg-quest-table thead th{font-size:11px;letter-spacing:.025em;font-weight:500;padding:9px 14px}.dg-quest-table th:first-child{width:auto}.dg-quest-table thead th:not(:first-child){width:102px;text-align:right}.dg-quest-table tbody th,.dg-quest-table td{padding:11px 14px;border-top:1px solid #3d374a}.dg-quest-table tbody th{font-weight:400;min-width:0;overflow-wrap:anywhere}.dg-quest-table tbody th a{font-size:14px}.dg-quest-table tbody small{display:block;font-size:11px;color:#afa1ba;margin-top:3px}.dg-quest-table td{text-align:right;font-size:15px;color:#e5d2af;font-variant-numeric:tabular-nums}.dg-quest-table tbody tr:hover{background:#252332}
.dg-encounters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:13px!important}.dg-encounters li{display:flex;gap:13px;align-items:center;padding:12px 10px;border-bottom:1px solid #423b4d;font-size:14px;min-width:0;overflow-wrap:anywhere}.dg-encounter-number{font:14px Georgia,serif;color:#b49cc8;background:#211c2c;min-width:30px;text-align:center;border-radius:4px;padding:4px}.dg-encounters small{display:block;font-size:11px;color:#b7a5c2;margin-top:2px}
.dg-section details{border:1px solid #4f435d;border-radius:7px;overflow:hidden;margin:10px 0;background:#1a1e29}.dg-section summary{cursor:pointer;padding:12px 15px;color:#e2d4ea;font-size:14px;line-height:1.7}.dg-section details[open]>summary{border-bottom:1px solid #4f435d;background:#30283d}.dg-section details>p,.dg-section details>ul,.dg-section details>.dg-quest-rows{margin:12px 15px}
.dg-loot-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;font-size:12px;color:#bbaac9}.dg-loot-controls>div{display:flex;gap:5px}.dg-loot-controls button{min-height:36px;font-size:11px;background:transparent;padding:5px 8px}.dg-loot-groups summary{display:list-item;list-style-position:inside}.dg-loot-groups summary>span{font-family:Georgia,serif;font-size:17px;color:#ead8b6}.dg-loot-groups summary small{float:right;color:#c7b1d2;font-size:12px;padding-top:3px}.dg-loot-source{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #393143;padding:10px 15px;font-size:11px;color:#b5a5c2}.dg-loot-source p{margin:0;max-width:700px}.dg-loot-source a{white-space:nowrap}
.dg-loot-groups details>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0 15px}.dg-loot-item{display:flex;align-items:center;gap:11px;min-height:91px;padding:13px 0;border-bottom:1px solid #35303e;min-width:0}.dg-loot-item:last-child{border-bottom:0}.dg-item-image{flex-basis:38px;width:38px;height:38px;border-radius:5px}.dg-item-copy{min-width:0;flex:1;overflow-wrap:anywhere}.dg-item-copy>a{font-size:14px;line-height:1.4}.dg-item-metadata{display:flex;align-items:center;flex-wrap:wrap;gap:2px 7px;font-size:11px;color:#c5b9cf;margin-top:3px}.dg-item-id{display:block;font-size:10px;color:#9e8fac;margin-top:3px}.dg-quality-label{font-size:10px;border:1px solid currentColor;border-radius:3px;line-height:1.4;padding:0 4px;color:inherit}.dg-quality-0 .dg-item-copy>a,.dg-quality-0 .dg-quality-label{color:#b5aeb8}.dg-quality-1 .dg-item-copy>a,.dg-quality-1 .dg-quality-label{color:#eee8ef}.dg-quality-2 .dg-item-copy>a,.dg-quality-2 .dg-quality-label{color:#89ce75}.dg-quality-3 .dg-item-copy>a,.dg-quality-3 .dg-quality-label{color:#87b6f4}.dg-quality-4 .dg-item-copy>a,.dg-quality-4 .dg-quality-label{color:#c69af0}.dg-quality-5 .dg-item-copy>a,.dg-quality-5 .dg-quality-label{color:#f2ad6b}
.dg-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 12px}.dg-map-toolbar>div{display:flex;flex-direction:column;min-width:0}.dg-map-toolbar strong{font:18px Georgia,serif;color:#e8d5ad}.dg-map-toolbar>div>span{font-size:11px;color:#bca8cc;margin-top:4px}.dg-map-toolbar label{font-size:11px;color:#bca8cc;display:flex;gap:6px;align-items:center}.dg-map-toolbar select{max-width:250px;min-width:0;border:1px solid #766084;border-radius:5px;background:#211d2d;color:#e8d9f0;padding:7px 30px 7px 10px;font-size:13px}
.dg-map-figure{margin:0;border:1px solid #5a4a63;border-radius:8px;overflow:hidden;background:#111720}.dg-map-figure>a{display:flex;align-items:center;justify-content:center;padding:14px;min-height:200px}.dg-map-figure img{display:block;width:auto;height:auto;max-width:100%;max-height:620px;object-fit:contain}.dg-map-figure figcaption{display:flex;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;padding:10px 14px;background:#24202e;font-size:11px;color:#bca8cb;border-top:1px solid #514157}.dg-map-figure figcaption>a{white-space:nowrap}.dg-map-legend{margin:20px 0}.dg-map-legend ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.dg-map-legend li{display:flex;gap:10px;font-size:13px;min-width:0}.dg-map-legend b{min-width:25px;color:#dcb575;font-variant-numeric:tabular-nums}.dg-map-legend li>span{min-width:0;overflow-wrap:anywhere}.dg-map-unavailable{display:flex;gap:18px;padding:23px;border:1px dashed #63536d;border-radius:8px;background:#1b1e29}.dg-map-unavailable>span{font:42px Georgia,serif;color:#aa8dba}.dg-map-unavailable p{font-size:13px;margin:6px 0}.dg-section-empty{padding:18px 20px;background:#1a202b;border:1px solid #484050;border-radius:6px;color:#c6b8cf;font-size:13px}
.dg-coverage-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin:20px 0}.dg-coverage-grid>div{border-left:2px solid #5f506c;padding:4px 0 4px 15px}.dg-coverage-grid ul{list-style:disc;padding-left:16px;font-size:13px;color:#c9bbd3}.dg-coverage-grid dl{display:grid;grid-template-columns:95px minmax(0,1fr);gap:6px 12px;font-size:13px;margin:0}.dg-coverage-grid dt{color:#b9aac6}.dg-coverage-grid dd{margin:0;overflow-wrap:anywhere}.dg-sources li{font-size:12px;padding:3px 0;overflow-wrap:anywhere}
.dg-mobile-back{display:none}.dg-empty{padding:32px 20px;text-align:center;color:#baacc6;font-size:13px}.dg-empty h2,.dg-empty h3{font-size:22px;margin-bottom:10px}.dg-empty button{margin-top:10px}.dg-loader{display:inline-block;width:23px;height:23px;border:2px solid #6e587f;border-top-color:#dac3ec;border-radius:50%;animation:dg-spin 1s linear infinite}.dg-reader-welcome{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;gap:8px;padding:40px}.dg-reader-welcome h2{font-size:29px}.dg-reader-welcome p{max-width:420px;font-size:14px}.dg-welcome-mark{font:64px Georgia,serif;color:#b49bc7}.dg-reader-welcome .dg-kicker{margin-top:14px}
@keyframes dg-spin{to{transform:rotate(360deg)}}
@media(min-width:2000px){.dg-columns{grid-template-columns:350px minmax(0,1fr)}.dg-reader{padding:28px 34px}.dg-section-nav{top:-28px}.dg-reading{max-width:1450px}.dg-result-copy strong{font-size:17px}.dg-row-level{font-size:14px}.dg-result-copy small{font-size:12px}.dg-section>p{font-size:15px}.dg-section h3{font-size:26px}.dg-dungeon-header h2{font-size:35px}.dg-map-figure img{max-height:760px}}
@media(max-width:1300px){.dg-columns{grid-template-columns:295px minmax(0,1fr);gap:12px}.dg-reader{padding:20px}.dg-section-nav{top:-20px}.dg-dungeon-header{grid-template-columns:64px minmax(0,1fr) auto;gap:12px}.dg-dungeon-header>.dg-image{width:64px;height:64px}.dg-dungeon-header h2{font-size:26px}.dg-wiki-link{grid-column:2 / 4;justify-self:start;min-height:36px;margin-top:-6px}.dg-level-feature{padding:0 8px;min-width:85px}.dg-overview-grid{grid-template-columns:1fr}.dg-coverage-card{display:flex;flex-wrap:wrap;gap:3px 12px;align-items:center;padding:10px 14px}.dg-coverage-card>.dg-field-label{display:none}.dg-coverage-card>strong{font:13px Arial,sans-serif;margin:0}.dg-coverage-card>p{flex:1;min-width:170px;font-size:12px;margin:0}.dg-coverage-card button{margin:0;min-height:32px}.dg-loot-groups details>ul{grid-template-columns:1fr}.dg-loot-item{min-height:83px}.dg-item-copy>a{font-size:15px}.dg-item-metadata{font-size:12px}}
@media(max-width:920px){.vr-compact body[data-view=dungeons] .main-pane{padding:10px}.dg-workspace{gap:11px}.dg-page-header h1{font-size:26px}.dg-page-header p{font-size:12px}.dg-reference-label{display:none}.dg-columns{display:block;position:relative}.dg-library{height:100%}.dg-reader{display:none;height:100%;padding:16px}.dg-show-detail .dg-library{display:none}.dg-show-detail .dg-reader{display:block}.dg-mobile-back{display:inline-flex!important;align-items:center;position:sticky;top:0;z-index:5;margin:0 0 16px;background:#30283c!important;box-shadow:0 5px 12px #161c28;font-size:12px!important}.dg-section-nav{top:60px;padding:7px 0 9px;gap:1px;flex-wrap:wrap;overflow:visible}.dg-section-nav button{font-size:12px;padding:6px 8px;min-height:40px}.dg-section-nav button>span{font-size:10px;padding:1px 4px;margin-left:4px}.dg-dungeon-header{grid-template-columns:60px minmax(0,1fr);gap:12px}.dg-dungeon-header>.dg-image{width:60px;height:64px}.dg-dungeon-header h2{font-size:25px}.dg-dungeon-header p{font-size:12px}.dg-dungeon-header .dg-badge{display:block;width:max-content;margin:6px 0 0}.dg-level-feature{grid-column:1 / 3;text-align:left;border-left:0;border-top:1px solid #4a3f52;display:flex;align-items:baseline;justify-content:space-between;padding:8px 0 0}.dg-level-feature strong{font-size:23px}.dg-level-feature span{font-size:12px}.dg-wiki-link{grid-column:1 / 3;width:100%;justify-self:stretch;margin:0;min-height:38px}.dg-section{padding:21px 0}.dg-section-heading{margin-bottom:10px}.dg-section h3{font-size:22px}.dg-section-count{font-size:11px}.dg-section-description{font-size:12px!important}.dg-access-card{padding:13px}.dg-access-card>strong{font-size:17px}.dg-coverage-card{padding:12px}.dg-coverage-card>p{min-width:100%}.dg-coverage-card button{margin-top:5px}.dg-encounters,.dg-map-legend ul,.dg-coverage-grid{grid-template-columns:1fr}.dg-encounters li{font-size:14px;padding:11px 0}.dg-map-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.dg-map-toolbar label{width:100%;justify-content:space-between}.dg-map-toolbar select{flex:1;max-width:100%}.dg-map-figure>a{padding:5px}.dg-map-figure figcaption{padding:9px 11px}.dg-map-figure img{max-height:none}.dg-coverage-grid{gap:18px}.dg-loot-controls{align-items:flex-start}.dg-loot-controls>span{display:none}.dg-loot-controls>div{margin-left:auto}.dg-loot-source{flex-wrap:wrap;gap:5px}.dg-loot-source a{min-height:30px;display:inline-flex;align-items:center}.dg-loot-groups summary>span{font-size:16px}.dg-loot-groups summary small{font-size:11px}.dg-item-metadata{font-size:11px}.dg-item-copy>a{font-size:14px}.dg-reader-welcome{display:none}.dg-wing-list p{font-size:12px;gap:10px}.dg-result-copy strong{font-size:17px}.dg-row-level{font-size:13px}.dg-results .dg-library-row{grid-template-columns:minmax(0,1fr) 40px}}
@media(max-width:520px){.dg-quest-table thead{display:none}.dg-quest-table,.dg-quest-table tbody,.dg-quest-table tr{display:block;width:100%}.dg-quest-table tr{padding:12px 13px;border-top:1px solid #3d374a}.dg-quest-table tr:first-child{border-top:0}.dg-quest-table tbody th{display:block;padding:0;border:0;width:100%}.dg-quest-table tbody th a{font-size:14px}.dg-quest-table td{display:inline-block;text-align:left;padding:9px 18px 0 0;border:0;font-size:14px}.dg-quest-table td:before{content:attr(data-label) ' ';font-size:11px;color:#b7a6c4;margin-right:4px}.dg-result-copy strong{font-size:16px}.dg-section-heading{align-items:center}.dg-map-unavailable{padding:17px;gap:12px}.dg-map-unavailable h4{font-size:17px}}
@media(prefers-reduced-motion:reduce){.dg-loader{animation:none}}
@media print{body[data-view=dungeons] #vr-task-panel,body[data-view=dungeons] #viewContent,.dg-workspace,.dg-reader{height:auto!important;overflow:visible!important}.dg-columns{display:block}.dg-library,.dg-section-nav,.dg-mobile-back{display:none!important}.dg-reader{display:block}.dg-map-figure{break-inside:avoid}}
 .dg-map-legend small{display:block;color:#b8a4c4;font-size:11px;margin-top:2px}
.dg-map-attribution{margin-top:16px;padding:10px 13px;border:1px solid #4c4056;border-radius:6px;background:#1b202b}.dg-map-attribution>summary{cursor:pointer;color:#c8b8d4;font-size:12px;min-height:24px;line-height:24px}.dg-map-attribution a{display:inline-flex;align-items:center;min-height:32px;font-size:12px}.dg-map-attribution .dg-map-credit{font-size:12px;line-height:1.65}
.dg-map-status,.dg-map-error{padding:12px 14px;color:#c8b8d4;font-size:12px;background:#24202e;border-top:1px solid #514157}.dg-map-status{display:flex;align-items:center;gap:9px}.dg-map-status .dg-loader{width:14px;height:14px;margin:0;flex:none}.dg-map-error p{margin:0 0 10px;font-size:12px}.dg-map-error button{min-height:36px}.dg-map-figure [hidden]{display:none!important}

.dg-map-content{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.85fr);gap:20px;align-items:start}.dg-map-content .dg-map-legend{margin:0;padding:17px;border:1px solid #4c4056;border-radius:7px;background:#1b202b}.dg-map-content .dg-map-legend ul{grid-template-columns:1fr;gap:12px}.dg-map-content .dg-map-legend h4{font-size:18px}
@media(max-width:1300px){.dg-map-content{grid-template-columns:1fr}.dg-map-content .dg-map-legend ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.dg-map-content .dg-map-legend ul{grid-template-columns:1fr}}

.dg-map-open{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:5px 10px;border:1px solid #61506c;border-radius:5px;font-size:12px;white-space:nowrap;order:2}.dg-map-toolbar>div{order:1}.dg-map-toolbar>label{order:3}.dg-map-toolbar{flex-wrap:wrap}.dg-map-mobile-note{display:none}.dg-map-figure>a{cursor:zoom-in}
@media(max-width:920px){.dg-mobile-back::before{content:'';position:absolute;left:-17px;top:-17px;bottom:-17px;width:calc(100vw - 40px);background:#242331;z-index:-1;pointer-events:none}.dg-section-nav::before{content:'';position:absolute;inset:0 -4px 0 -17px;background:#242331;z-index:-1;pointer-events:none}.dg-map-detail-note{display:none}.dg-map-mobile-note{display:inline}.dg-map-toolbar{flex-direction:row;align-items:center;gap:10px}.dg-map-toolbar>div{flex:1}.dg-map-toolbar>div>span{display:none}.dg-map-toolbar label{flex-basis:100%}.dg-map-open{min-height:32px}}

/* Dungeon quality pass: a compact library and a clear map-first reading surface. */
.dg-workspace{--dg-border:#4e4659;--dg-muted:#b9b6c7;gap:12px}
.dg-page-header{min-height:52px;padding:0 2px;align-items:center}
.dg-page-header>div{display:flex;gap:16px;align-items:baseline}.dg-page-header .dg-kicker{font-size:10px;letter-spacing:.13em;color:#ad9a78}.dg-page-header h1{font-size:30px}.dg-page-header>p{font-size:12px;color:#aaa7b8;margin:0}.dg-page-header>p>span{padding:0 8px;color:#a58a5e}
.dg-columns{grid-template-columns:clamp(276px,23vw,330px) minmax(0,1fr);gap:14px}
.dg-library,.dg-reader{border-radius:8px;border-color:#4e4659;background:linear-gradient(135deg,#292537,#1c2230 70%);box-shadow:inset 0 1px #ffffff06}
.dg-library>header{padding:17px 16px 12px;border-color:#514457;background:linear-gradient(110deg,#302839,#242735)}
.dg-library-title h2{font-size:21px}.dg-library-title>span{font-size:11px;color:#d6c09c;border-color:#776040;background:#1d202a;min-width:25px}
.dg-sort-note{font-size:10px;color:#c0aa82;margin-bottom:12px!important}.dg-library label{font-size:11px;color:#bfb6ca}.dg-search-controls input{background:#151926;border-color:#68566f;border-radius:4px}.dg-search-controls button{font-size:12px;background:#403247;border-color:#7e657e}.dg-list-summary{font-size:11px;margin-top:9px!important}
.dg-results{scrollbar-color:#71607d transparent;scrollbar-gutter:stable}.dg-library-row{border-bottom-color:#3e394a!important}.dg-workspace button.dg-result{min-height:70px;padding:10px;gap:11px}.dg-result-copy strong{font-size:15px;line-height:1.3}.dg-result-copy small{font-size:10px;letter-spacing:.02em;margin-top:3px;color:#b6afc2}.dg-image{width:42px;height:46px;flex-basis:42px;border-radius:4px;border-color:#69576a;box-shadow:0 2px 5px #0005}.dg-row-level{font-size:11px;color:#e4c58e;background:#171c26;border-color:#65583e;padding:2px 6px;font-variant-numeric:tabular-nums}
.dg-workspace button.dg-result.is-selected{background:linear-gradient(90deg,#4b384c,#342b40);box-shadow:inset 3px 0 #ddbf80}.dg-workspace button.dg-result:hover:not(.is-selected){background:#343044}.dg-row-wiki{color:#b9a6c9!important}.dg-pagination{padding:7px 11px;background:#1c1e2b;border-top-color:#514457}.dg-pagination span{font-size:11px}.dg-pagination button{min-height:38px}
.dg-reader{padding:20px 24px;scroll-padding-top:74px;scrollbar-gutter:stable}.dg-dungeon-header{grid-template-columns:70px minmax(0,1fr) auto auto;gap:16px;padding-bottom:14px}.dg-dungeon-header>.dg-image{width:70px;height:70px;border-color:#9a7c4d;box-shadow:0 4px 12px #0005}.dg-dungeon-header h2{font-size:30px;letter-spacing:-.025em}.dg-dungeon-header .dg-kicker{font-size:10px;letter-spacing:.1em;color:#c4ad83}.dg-dungeon-header p{font-size:12px;margin-top:5px}.dg-badge{font-size:9px;border-color:#665c50;color:#c4b99f;background:#2b292b}.dg-level-feature{padding:0 18px;border-color:#5a4b58}.dg-level-feature span{font-size:10px;color:#bcb2c8}.dg-level-feature strong{font-size:27px;color:#ebcf98}.dg-wiki-link{grid-column:auto;margin:0;min-height:40px;border-color:#726044;color:#e5cd9d!important;font-size:11px;background:#29262e}
.dg-section-nav{top:-20px;gap:2px;padding:8px 0 10px;background:#282534;border-bottom:1px solid #786348;box-shadow:0 8px 12px -11px #000}.dg-section-nav button{min-height:40px;padding:7px 11px;border-radius:4px;font-size:12px}.dg-section-nav button[aria-current]{background:#493449;border-color:#937751;color:#f0d6a2}.dg-section-nav button>span{font-size:10px;background:#1b1c29;color:#c8bbd2;margin-left:6px}
.dg-reading{max-width:none}.dg-section{padding:20px 0;border-bottom-color:#48404f}.dg-section h3{font-size:23px;letter-spacing:-.02em}.dg-section-heading{margin-bottom:8px}.dg-section-description{font-size:12px!important;line-height:1.6!important;margin-bottom:12px!important;color:#aca6bc}.dg-section-count{font-size:11px;color:#b9aac9}.dg-map-toolbar{margin:10px 0 12px;gap:12px}.dg-map-toolbar strong{font-size:16px}.dg-map-toolbar>div>span{display:none}.dg-map-toolbar label{font-size:11px}.dg-map-toolbar select{min-height:40px}.dg-map-open{min-height:38px;border-color:#796347;font-size:11px;color:#ecd09a!important}
.dg-map-content{grid-template-columns:minmax(0,1.65fr) minmax(205px,.8fr);gap:22px}.dg-map-figure{border-color:#786148;border-radius:6px;box-shadow:0 6px 20px #0002}.dg-map-figure>a{padding:12px;background:radial-gradient(ellipse at center,#242030,#11151f 80%);min-height:220px}.dg-map-figure img{width:auto;max-width:100%;max-height:clamp(280px,calc(100vh - 365px),720px);height:auto;object-fit:contain}.dg-map-figure figcaption{padding:8px 12px;background:#252230;border-top-color:#615043;font-size:10px}.dg-map-content .dg-map-legend{border:0;border-left:1px solid #5a4c57;border-radius:0;background:transparent;padding:2px 0 0 19px}.dg-map-content .dg-map-legend h4{font-size:19px;margin-bottom:14px}.dg-map-content .dg-map-legend ul{gap:0}.dg-map-legend li{font-size:12px;line-height:1.6;padding:8px 0;border-bottom:1px solid #47404d}.dg-map-legend b{min-width:23px;color:#e2bb78}.dg-map-legend small{font-size:11px;color:#aaa0b5}.dg-map-attribution{background:transparent;border-color:#484050;margin-top:12px;padding:5px 11px}.dg-map-attribution>summary{font-size:11px;min-height:32px;line-height:32px}.dg-map-unavailable{border-color:#756044;background:#252432;padding:24px}
.dg-overview-grid{gap:14px}.dg-access-card,.dg-coverage-card{background:#20222e;border-color:#4d4556;border-radius:5px}.dg-coverage-card{background:#292432}.dg-loot-body>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;padding:0 15px!important}.dg-loot-body .dg-loot-item{min-height:82px}.dg-encounters li{border-bottom-color:#4b4255}.dg-section details{border-color:#4e4558;border-radius:5px}.dg-section summary{padding:10px 14px}.dg-loot-groups summary small{font-size:11px}.dg-section details[open]>summary{background:#3a2e44;border-color:#685470}
.dg-reader-welcome{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;text-align:left;overflow:hidden;min-height:0;padding:clamp(28px,5vw,80px);border-color:#796347;background:#171c29}
.dg-welcome-art{position:absolute;inset:0;z-index:-2;background:url('/assets/guest/home-dungeons-warcraft-v1.jpg') center/cover no-repeat}.dg-reader-welcome:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#161a28f5,#1c192ac9 43%,#1c192a21 90%),linear-gradient(0deg,#171a29d9,transparent 70%)}.dg-welcome-copy{max-width:520px;padding:12px 0}.dg-welcome-copy>.dg-kicker{font-size:10px;letter-spacing:.17em;color:#dcc18c}.dg-reader-welcome h2{font-size:clamp(32px,3.3vw,56px);line-height:1.1;letter-spacing:-.035em;margin:18px 0}.dg-reader-welcome p{max-width:330px;font-size:14px;line-height:1.7;color:#d2c9dc}.dg-welcome-actions{display:grid;gap:10px;max-width:290px;margin:28px 0}.dg-welcome-actions button{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;padding:10px 14px;font-size:12px;min-height:46px;background:#4a3548ed;border-color:#a18454;color:#f0d8ab}.dg-welcome-actions button+button{background:#20212dbd;border-color:#726077;color:#d9cbdf}.dg-welcome-copy>small{font-size:10px;color:#b2a5bc;letter-spacing:.04em}
@media(min-width:2200px){.dg-columns{grid-template-columns:360px minmax(0,1fr)}.dg-reader{padding:26px 34px}.dg-section-nav{top:-26px}.dg-result-copy strong{font-size:17px}.dg-workspace button.dg-result{min-height:82px}.dg-dungeon-header h2{font-size:36px}.dg-map-content{grid-template-columns:minmax(0,1.6fr) minmax(270px,.7fr)}.dg-map-content .dg-map-legend{padding-left:26px}.dg-map-legend li{font-size:14px}.dg-map-legend small{font-size:12px}.dg-map-figure img{max-height:clamp(400px,calc(100vh - 390px),1100px)}}
@media(max-width:1300px){.dg-columns{grid-template-columns:276px minmax(0,1fr);gap:12px}.dg-reader{padding:18px}.dg-dungeon-header{grid-template-columns:60px minmax(0,1fr) auto;gap:12px}.dg-dungeon-header>.dg-image{width:60px;height:60px}.dg-dungeon-header h2{font-size:26px}.dg-wiki-link{grid-column:2/4;justify-self:start;min-height:34px;margin-top:-3px}.dg-level-feature{padding:0 8px;min-width:80px}.dg-section-nav{top:-18px}.dg-map-content{grid-template-columns:minmax(0,1.35fr) minmax(170px,.8fr);gap:16px}.dg-map-content .dg-map-legend{padding-left:14px}.dg-map-content .dg-map-legend ul{grid-template-columns:1fr}.dg-map-legend li{font-size:11px}.dg-map-legend small{font-size:10px}.dg-map-figure>a{padding:6px}.dg-loot-body>ul{grid-template-columns:1fr}}
@media(max-width:1050px) and (min-width:921px){.dg-map-content{grid-template-columns:1fr}.dg-map-content .dg-map-legend{padding:12px 0;border-left:0}.dg-map-content .dg-map-legend ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}}
@media(max-width:920px){.dg-page-header{min-height:38px}.dg-page-header>div{gap:10px}.dg-page-header .dg-kicker{font-size:9px}.dg-page-header h1{font-size:26px}.dg-page-header>p{display:none}.dg-reader{padding:14px}.dg-reader-welcome{display:none}.dg-dungeon-header{grid-template-columns:56px minmax(0,1fr);gap:12px}.dg-dungeon-header>.dg-image{width:56px;height:60px}.dg-dungeon-header h2{font-size:26px}.dg-dungeon-header .dg-badge{display:inline-block;margin:4px 0 0 5px}.dg-level-feature{grid-column:1/2;grid-row:2;text-align:left;display:block;min-width:0;border:0;padding:0}.dg-level-feature span{font-size:9px;white-space:nowrap}.dg-level-feature strong{font-size:22px}.dg-wiki-link{grid-column:2/3;grid-row:2;justify-self:end;align-self:center;width:auto;margin:0;padding:7px 14px;min-height:40px}.dg-mobile-back{top:-14px;min-height:40px!important;margin-bottom:15px;font-size:11px!important}.dg-mobile-back::before{inset:-2px -12px -8px -15px;width:calc(100vw - 48px)}.dg-section-nav{top:34px;flex-wrap:nowrap;overflow-x:auto;padding:7px 0 9px;margin:0;gap:1px}.dg-section-nav:before{inset:0 -1px}.dg-section-nav button{padding:7px 9px;min-height:40px;font-size:11px}.dg-section-nav button>span{font-size:9px;margin-left:4px}.dg-section{padding:18px 0}.dg-section h3{font-size:22px}.dg-map-content{grid-template-columns:1fr;gap:16px}.dg-map-content .dg-map-legend{padding:0;border:0}.dg-map-content .dg-map-legend ul{grid-template-columns:1fr}.dg-map-legend li{font-size:13px;padding:9px 0}.dg-map-legend small{font-size:11px}.dg-map-toolbar{gap:8px}.dg-map-toolbar label{flex-basis:100%}.dg-map-figure img{max-height:none;width:100%;height:auto}.dg-map-figure>a{padding:5px;min-height:180px}.dg-map-figure figcaption{font-size:10px}.dg-results .dg-result-copy strong{font-size:17px}.dg-workspace button.dg-result{min-height:76px}.dg-result-copy small{font-size:11px}.dg-row-level{font-size:12px}.dg-loot-body>ul{grid-template-columns:1fr}.dg-map-attribution{margin-top:14px}.dg-list-summary{font-size:12px}}

@media(min-width:921px) and (max-width:1300px){.dg-dungeon-header{grid-template-columns:56px minmax(0,1fr) auto auto;gap:12px}.dg-dungeon-header>.dg-image{width:56px;height:60px}.dg-wiki-link{grid-column:auto;min-height:40px;margin:0;justify-self:auto}.dg-dungeon-header h2{font-size:25px}.dg-level-feature{padding:0 10px}}
@media(min-width:921px) and (max-height:820px){.dg-page-header{min-height:40px}.dg-map-figure img{max-height:clamp(220px,calc(100vh - 448px),440px)}.dg-section-description{font-size:11px!important}.dg-map-toolbar{margin-top:6px}.dg-section{padding-top:16px}}
@media(max-width:920px){.dg-level-feature{grid-column:1/3;justify-self:start;min-width:120px}.dg-level-feature strong{white-space:nowrap}.dg-mobile-back,.dg-section-nav button{min-height:44px!important}.dg-section-nav{top:38px}}
body[data-view=dungeons].seo-shell-ready #seoPublicNavigation{display:none!important}

.talent-planner{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px}
.planner-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.planner-heading h2{margin:0;font-size:22px;color:#e4c98e}.planner-heading p{margin:4px 0 0;font-size:12px;color:#aaa3b8}.planner-heading button{white-space:nowrap}
.planner-controls{display:flex;align-items:center;gap:var(--tb-gap,8px);flex-wrap:wrap;padding:8px 10px;border:1px solid #44394e;border-radius:9px;background:#191823;position:relative;z-index:3}
.planner-tile-wrap{position:relative;flex:none;width:var(--tb-button-width,80px)}.planner-native{display:none!important}
.planner-tile,.planner-controls .planner-level-tile{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 var(--tb-button-width,80px);width:var(--tb-button-width,80px);height:50px;min-height:50px;max-height:50px;margin:0;padding:2px 5px;gap:2px;border:1px solid #a75c51;border-radius:8px;background:linear-gradient(180deg,#34303b,#191c28);box-shadow:inset 0 1px #e8c09c24,0 1px 3px #0007;color:#f8eacb;font-family:'Segoe UI','Trebuchet MS',sans-serif;font-size:clamp(12px,calc(.390625vw + 7px),13px);font-weight:650;line-height:15px;letter-spacing:0;text-align:center;position:relative;cursor:pointer}
.planner-tile>img{box-sizing:border-box;width:26px;height:26px;flex:none;border:1px solid #c5a777;border-radius:5px;box-shadow:inset 0 0 0 1px #f8d69122,0 1px 3px #0008;object-fit:cover}.planner-tile>span:not(.planner-chevron){display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.planner-chevron{position:absolute;right:5px;top:6px;font-size:11px;color:#cfb9ae}
.planner-tile:hover,.planner-tile.is-open{background:linear-gradient(180deg,#483946,#252335);border-color:#e0b78d}.planner-tile:focus-visible,.planner-level-tile:focus-within{outline:2px solid #ffe0a0;outline-offset:3px}
.planner-controls .planner-level-tile{cursor:text}.planner-level-tile input{box-sizing:border-box;width:42px;min-width:0;height:24px;min-height:24px;padding:0;border:1px solid #bfa47066;border-radius:4px;background:#19152266;color:#ffe0a0;font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:21px;font-weight:700;line-height:22px;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield}.planner-level-tile input:focus-visible{outline:0}.planner-level-tile input::-webkit-inner-spin-button,.planner-level-tile input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.planner-level-tile>span{font-size:12px;line-height:15px}
.planner-choice-menu{min-width:245px;max-width:calc(100vw - 32px);max-height:min(55dvh,440px)}.planner-choice-menu button{width:100%;min-height:43px;display:flex;align-items:center;gap:10px;text-align:left}.planner-choice-menu button img{width:26px;height:26px;object-fit:cover;border-radius:4px}.planner-choice-menu button>span:first-of-type{flex:1}.planner-choice-menu small{display:block;color:#aaa3b8;font-size:10px}.planner-choice-menu button[aria-checked=true]{background:#352b40;color:#f3d89e}
.planner-save-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.planner-save-actions button{min-height:36px;white-space:nowrap}.planner-message{font-size:12px;color:#e5bd83;align-self:center}.planner-message:empty{display:none}.planner-message small{display:block;font-size:11px;color:#aaa3b8}
.planner-canvas{min-height:0}.planner-canvas>.talents-ui{height:100%}.planner-loading{display:flex;align-items:center;justify-content:center;height:100%;gap:12px;color:#bcb1cd}.tui-planner-open{border-color:#a18c5d;background:#302a3a;color:#f0d69a}.planner-canvas .planner-spec-tree{border-color:#b79b63;box-shadow:inset 0 0 0 1px #b79b6328}.planner-canvas .planner-spec-tree h3{color:#f5d59a}
.planner-spec-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(740px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid #947350;border-radius:12px;background:linear-gradient(150deg,#242130,#141823);color:#e7dfee;box-shadow:0 20px 70px #000b}.planner-spec-dialog::backdrop{background:#080b13bb}.planner-spec-dialog h2{margin:0 32px 10px 0;font-size:22px;color:#edd39c}.planner-spec-dialog p{font-size:13px;line-height:1.55;color:#bcb0c9}.planner-spec-dialog label{display:block;margin:18px 0 7px;font-size:12px}.planner-spec-dialog input{box-sizing:border-box;width:100%;min-height:42px;padding:8px 12px}.planner-dialog-close{position:absolute;right:12px;top:12px;min-width:32px;min-height:32px;padding:2px;font-size:22px}.planner-dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.planner-spec-list{display:grid;gap:8px;margin-top:18px}.planner-spec-list article{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #44394e;border-radius:8px;background:#171a26}.planner-spec-list article>div{flex:1;min-width:0}.planner-spec-list b{display:block;overflow-wrap:anywhere}.planner-spec-list small{display:block;font-size:11px;color:#b4a5bf;margin-top:5px}.planner-spec-list button{white-space:nowrap}.planner-spec-dialog .planner-spec-error{color:#f0b3a4;padding:10px;border:1px solid #814a48;border-radius:6px}
@media(max-width:1099px){.talent-planner{height:auto;min-height:100%}.planner-heading{align-items:start}.planner-canvas{min-height:500px}}
@media(max-width:600px){.planner-heading{flex-direction:column;gap:8px}.planner-heading h2{font-size:20px}.planner-controls{gap:8px}.planner-save-actions{margin-left:0;flex-basis:100%}.planner-spec-dialog{padding:18px}.planner-spec-list article{flex-wrap:wrap}.planner-spec-list article>div{flex-basis:100%}.planner-choice-menu{min-width:min(245px,calc(100vw - 32px))}}

.talent-planner{grid-template-rows:auto minmax(0,1fr);gap:9px}
.planner-controls.planner-heading{flex-direction:row;align-items:center;padding:8px 10px;gap:8px;background:#19212c;border-color:#535365;border-radius:8px}
.planner-title{margin-right:7px;max-width:145px;flex:none}.planner-title h2{font-size:20px;line-height:1.2;font-family:Georgia,'Times New Roman',serif;font-weight:500;color:#edd9b0}
.planner-save-actions button{min-height:34px;font-size:12px;padding:6px 10px}.planner-save-actions .planner-back{background:transparent;border-color:transparent;color:#b9c3d2;font-weight:500}
.planner-save-actions .planner-back:hover{color:#f1dab0;border-color:#687184}.planner-controls .planner-message{flex-basis:100%;font-size:11px;margin:0;line-height:1.4}.planner-message small{display:inline;margin-left:10px}
.planner-controls .planner-tile,.planner-controls .planner-level-tile{border-color:#786b69;background:linear-gradient(180deg,#343342,#202733);box-shadow:inset 0 1px #e4cda71a}
.planner-canvas .tui-dock{position:relative;padding-bottom:9px}
.planner-canvas .tui-dock-tools{position:absolute;right:11px;bottom:7px;width:auto;display:flex}
.planner-canvas .tui-gesture-help{padding-right:100px;min-height:24px;align-items:center}
body[data-view=talents].seo-shell-ready #seoPublicNavigation{display:none!important}
@media(max-width:1200px){.planner-title{max-width:100px}.planner-title h2{font-size:18px}.planner-save-actions{gap:4px}.planner-save-actions button{padding:5px 8px}.planner-save-actions .planner-back{max-width:100px;white-space:normal;line-height:1.2}}
@media(max-width:899px){.planner-title{max-width:none;flex:1 0 100%}.planner-title h2{font-size:21px}.planner-save-actions{margin-left:0;flex-basis:100%;flex-wrap:wrap}.planner-save-actions .planner-back{max-width:none;margin-left:auto}.planner-canvas{min-height:640px}}

.auction-workbench{--ahw-line:var(--line,#35313f);--ahw-muted:var(--muted,#aaa4b5);--ahw-panel:var(--panel,#1b1923);--ahw-gold:var(--gold,#dfc38c);display:flex;flex-direction:column;gap:16px;min-width:0;color:var(--text,#eeeaf4)}
.auction-workbench *{box-sizing:border-box}.auction-workbench button{cursor:pointer}.auction-workbench button:disabled{cursor:default;opacity:.45}.auction-workbench :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #c6a9fa;outline-offset:3px}
.ahw-heading,.ahw-heading-title{display:flex;align-items:center;gap:14px}.ahw-heading{padding-bottom:14px;border-bottom:1px solid var(--ahw-line)}.ahw-heading-title>img{border:1px solid #715b38;border-radius:8px}.ahw-eyebrow{font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--ahw-gold)}.ahw-heading h2{font-size:24px;margin:4px 0 0}.ahw-table-scroll{overflow:auto;max-width:100%}.ahw-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.auction-workbench table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}.auction-workbench th,.auction-workbench td{padding:10px 12px;border-top:1px solid var(--ahw-line);line-height:1.5}.auction-workbench th{color:var(--ahw-muted);font-weight:500;white-space:nowrap}.auction-workbench td{white-space:nowrap}
.ahv2-panel{border:1px solid var(--line,#51415f);border-radius:12px;padding:18px;margin:16px 0;background:rgba(30,23,39,.7);min-width:0;grid-column:1/-1}.ahv2-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ahv2-panel h3{margin:4px 0 12px}.ahv2-panel p{color:#c5b7d2;line-height:1.5}.ahv2-panel table{width:100%;border-collapse:collapse;min-width:560px}.ahv2-panel th,.ahv2-panel td{text-align:left;padding:9px;border-bottom:1px solid #483750}.ahv2-fields{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.ahv2-fields label{display:grid;gap:5px;flex:1;min-width:130px}.ahv2-fields input,.ahv2-fields select{width:100%;box-sizing:border-box;min-height:36px;background:#211a2b;color:#eee0fa;border:1px solid #665271;border-radius:5px;padding:6px}.ahv2-panel caption{text-align:left;padding:8px 0;color:#baa9c8}
.ahv2-panel>.ahw-table-scroll,.ahv2-rows{max-width:100%;overflow:auto}.ahv2-rows{max-height:360px}.ahv2-pagination{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:12px 0}.ahv2-panel details{margin:16px 0;padding:12px;border:1px solid #51415f;border-radius:8px}.ahv2-panel :focus-visible{outline:2px solid #ddbcff;outline-offset:3px}
.ahv2-command{display:block;padding:12px;white-space:normal;overflow-wrap:anywhere;user-select:all;background:#15111d;border-radius:6px}
.ahv2-plot-scroll{max-width:100%;overflow:auto}.ahv2-chart-hint{display:none}.ahv2-metrics strong span{font:inherit;color:inherit}
@media(max-width:720px){.ahv2-chart .ahv2-chart-hint{display:block;font-size:12px;color:#c5b7d2}}
.ahv2-shared{min-width:0}.ahv2-shared h4{margin:24px 0 12px;font-size:20px}.ahv2-shared h4 small{display:block;margin-top:5px;color:#c5b7d2;font-size:13px;font-weight:400;overflow-wrap:anywhere}.ahv2-badge{font-size:12px;color:#d7c395;border:1px solid #66543d;border-radius:20px;padding:6px 10px}.ahv2-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}.ahv2-metrics>div{display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;background:#191823;border:1px solid #4b3e55;border-radius:10px}.ahv2-metrics span{color:#c6b6cd;font-size:12px}.ahv2-metrics strong{font-size:20px;font-weight:600;color:#f0dbb2;overflow-wrap:anywhere}.ahv2-metrics small{line-height:1.5;color:#c6b6cd;overflow-wrap:anywhere}.ahv2-chart{margin:18px 0;background:#151720;border:1px solid #4b3e55;border-radius:10px;overflow:auto;padding:16px}.ahv2-chart figcaption{font-size:16px;color:#efe4cf;font-weight:600;margin-bottom:10px}.ahv2-chart svg{display:block;width:100%;min-width:680px;height:auto}.ahv2-chart text{fill:#c7bed0;font:14px system-ui,sans-serif}.ahv2-grid{stroke:#363442;stroke-width:1}.ahv2-minimum{stroke:#d9b979;fill:#d9b979;stroke-width:2}.ahv2-median{stroke:#b99ae6;fill:#b99ae6;stroke-width:2;stroke-dasharray:5 3}.ahv2-gap-point{fill:#151720;stroke-dasharray:none}.ahv2-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:#ccc1d5;margin:10px 0}.ahv2-legend span:before{content:'';display:inline-block;width:18px;margin-right:8px;vertical-align:middle;border-top:2px solid #a99caf}.ahv2-legend .ahv2-min-key:before{border-color:#d9b979}.ahv2-legend .ahv2-med-key:before{border-color:#b99ae6;border-top-style:dashed}.ahv2-chart-empty{padding:38px 20px;margin:18px 0;border:1px dashed #64516f;border-radius:10px;color:#c5b7d2;text-align:center;line-height:1.7}.ahv2-shared td small{display:block;color:#c5b7d2;margin-top:5px;font-size:12px}.ahv2-shared .ahw-table-scroll{max-height:320px;overflow:auto}.ahv2-freshness{font-size:13px;border-left:2px solid #a88ac8;padding-left:12px}.ahv2-panel>.ahv2-archives{margin-top:24px;background:#1c1823}.ahv2-archives>summary{font-weight:600;cursor:pointer}.ahv2-panel button{cursor:pointer}.ahv2-panel button:disabled{cursor:default}
@media(max-width:1000px){.ahv2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ahv2-fields label{min-width:150px}}
@media(max-width:520px){.ahv2-panel{padding:12px}.ahv2-metrics{grid-template-columns:minmax(0,1fr)}.ahv2-fields{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.ahv2-fields label{min-width:0}.ahv2-chart{padding:10px}.ahv2-metrics>div{padding:12px}.ahv2-shared h4{font-size:18px}.ahv2-panel>.ahv2-archives{padding:8px}.ahv2-badge{line-height:1.5}}
@media(min-width:1100px){
 .vr-compact body[data-view=auction] .auction-workbench:has(>.ahv2-panel){display:flex;flex-direction:column;height:auto;min-height:100%}
 .vr-compact body[data-view=auction] .auction-workbench:has(>.ahv2-panel)>*{flex-shrink:0}
 .vr-compact body[data-view=auction] .auction-workbench:has(>.ahv2-panel)>.ahw-board-layout{height:auto;min-height:320px}
}
.ahv2-chart text{stroke:none;stroke-width:0}
.ahv2-chart .ahv2-sparse-line{stroke-dasharray:2 5;stroke-linecap:round}.ahv2-legend .ahv2-sparse-key:before{border-top-style:dotted}

/* Shared market workspace: restrained surfaces, aligned controls, room for the plot. */
.auction-workbench{--ahw-line:#8f785348;--ahw-muted:#adb5c2;--ahw-gold:#dfc28b;--ahw-panel:#1b2531;color:#e9e6df;gap:0;font-family:'Segoe UI',system-ui,sans-serif}
.auction-workbench>.ahw-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}
.auction-workbench :is(button,input,select,summary):focus-visible{outline:2px solid #e6c785;outline-offset:3px}
.ahv2-panel.ahv2-two-panel{display:grid;grid-template-columns:296px minmax(0,1fr);gap:16px;align-items:stretch;border:0;padding:0;margin:0;background:none;min-height:0}
.ahv2-library,.ahv2-analysis{min-width:0;min-height:0;border:1px solid #89724e;border-radius:9px;background:linear-gradient(145deg,#202a36,#19222d);box-shadow:inset 0 0 0 1px #e5c58e0a}
.ahv2-library{display:grid;grid-template-rows:minmax(0,1.35fr) minmax(0,1fr);overflow:hidden}
.ahv2-library>section{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;padding:16px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#68717c transparent}
.ahv2-library>section+section{border-top:1px solid var(--ahw-line);background:#121c2638}
.ahv2-library header{flex:none;min-height:25px}
.ahv2-library header .ahw-eyebrow{display:none}
.ahv2-library h3,.ahv2-analysis .ahv2-shared>header h3{margin:0;color:#efddb9;font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.02em;line-height:1.2}
.ahv2-library h3{font-size:21px}
.ahv2-panel :is(input,select,button){min-height:44px;font:inherit}
.ahv2-panel :is(input,select){width:100%;min-width:0;padding:10px 11px;border:1px solid #61707d;border-radius:5px;background:#121d29;color:#ece9e2;font-size:13px;line-height:1.3;box-shadow:inset 0 1px 3px #04080d24}
.ahv2-panel input::placeholder{color:#97a2b0;opacity:1}
.ahv2-panel :is(input,select):hover{border-color:#a7906a}
.ahv2-panel button{padding:9px 13px;border:1px solid #776b54;border-radius:5px;background:linear-gradient(#303944,#242e3a);color:#eadfc9;font-size:12px;font-weight:600;line-height:1.3;box-shadow:inset 0 1px #ffffff08}
.ahv2-panel button:hover:not(:disabled){border-color:#c9ab72;background:#35404d;color:#fff0d0}
.ahv2-panel button:active:not(:disabled){background:#202b37}
.ahv2-panel button:disabled{opacity:.46}
.ahv2-list-label{display:grid;gap:6px;min-width:0;color:#bac3ce;font-size:11px;line-height:1.3}
.ahv2-shortlist-select{display:flex;align-items:end;gap:8px;min-width:0;flex:none}
.ahv2-shortlist-select>label{flex:1;min-width:0}
.ahv2-search-row{display:flex;gap:8px;min-width:0}
.ahv2-search-row input{flex:1;min-width:0}
.ahv2-search-row button{flex:none}
.ahv2-library .ahv2-delete-list,#ahv2NewList .ahv2-search-row>button{width:76px;flex:0 0 76px}
.ahv2-delete-list{height:44px;padding:0!important;font-size:22px!important;color:#d5b7ad!important}
#ahv2NewList{flex:none;margin:0}
.ahv2-library-rows{flex:1;min-height:36px;max-height:none;list-style:none;margin:0;padding:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#68717c transparent}
.ahv2-library-rows>li{display:flex;align-items:center;gap:4px;min-width:0;border-bottom:1px solid #8291a01f;padding:3px 0}
.ahv2-library-rows>li:last-child{border-bottom:0}
.ahv2-library-rows .ahv2-library-item{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:50px;border:1px solid transparent;border-radius:5px;padding:8px 5px;background:transparent;box-shadow:none;text-align:left;color:#e9dfca;font-size:13px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.ahv2-library-rows .ahv2-library-item:hover:not(:disabled){border-color:#ba9b6135;background:#a7bbd10a}
.ahv2-item-label{min-width:0;flex:1}
.ahv2-library-item small{display:block;margin-top:4px;color:#aeb8c7;font-size:10px;font-weight:400;line-height:1.45}
.ahv2-library-rows .ahv2-library-empty{display:grid;align-content:center;min-height:54px;padding:10px 8px;border:0;border-radius:0;background:none;color:#aeb8c7;font-size:12px;line-height:1.65;text-wrap:pretty}
.ahv2-library-rows:has(.ahv2-library-empty){overflow:auto}
.ahv2-library-rows :is(button[data-ahv2-remove],button[data-ahv2-remove-recent]){flex:none;min-width:36px;min-height:44px;padding:6px;border:1px solid transparent;background:transparent;box-shadow:none;color:#acb6c6;font-size:20px}
.ahv2-library-rows :is(button[data-ahv2-remove],button[data-ahv2-remove-recent]):hover:not(:disabled){color:#efbfb6;border-color:#b0867b50;background:#c1887b12}
.ahv2-library .ahv2-library-status{flex:none;margin:0;color:#b9bdca;font-size:11px;line-height:1.5}
.ahv2-delete-confirm{flex:none;padding:12px;border:1px solid #a57d6c;border-radius:6px;background:#312a2b}
.ahv2-delete-confirm p{margin:0 0 8px;color:#dfd4cb;font-size:12px;overflow-wrap:anywhere}
.ahv2-delete-confirm>div{display:flex;flex-wrap:wrap;gap:8px}
.ahv2-delete-confirm #ahv2ConfirmListDelete{color:#f6cfc1;border-color:#b98670}
.ahv2-transfer{flex:none;display:grid;gap:7px;padding-top:10px;border-top:1px solid var(--ahw-line);min-width:0}
.ahv2-transfer>button{width:100%}
.ahv2-transfer p{margin:0;color:#aeb8c7;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.ahv2-transfer-status:empty{display:none}
.ahv2-transfer-preview{display:grid;gap:8px;min-width:0;padding:10px;border:1px solid #887553;border-radius:5px;background:#121d29}
.ahv2-transfer-preview strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ahv2-transfer-preview button{width:100%}
.ahv2-analysis{display:flex;flex-direction:column;overflow:hidden;padding:18px}
.ahv2-shared{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%}
.ahv2-analysis .ahv2-shared>header{flex:none;flex-wrap:nowrap;min-height:40px;margin:0 0 14px;gap:12px}
.ahv2-analysis .ahv2-shared>header h3{font-size:27px}
.ahv2-analysis .ahv2-shared>header button{flex:none;min-height:36px;padding:7px 12px;background:#202b37;font-size:11px}
#ahv2TrackerForm{flex:none;display:grid;gap:12px;margin:0;padding:0 0 14px;border-bottom:1px solid var(--ahw-line)}
.ahv2-search-block{min-width:0}
.ahv2-search-label{display:block;margin:0 0 6px;color:#b9c3cf;font-size:11px;line-height:1.3}
.ahv2-analysis .ahv2-search-row input{font-size:14px}
#ahv2TrackerForm .ahv2-search-row button{border-color:#b49359;background:linear-gradient(#675137,#4b3e2d);color:#fff0cb;min-width:76px}
#ahv2TrackerForm .ahv2-search-row button:hover:not(:disabled){background:#725b3d;border-color:#e5c586}
.ahv2-analysis .ahv2-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px;align-items:start;margin:0;min-width:0}
.ahv2-analysis .ahv2-fields label{display:grid;gap:6px;min-width:0;align-content:start;color:#b9c3cf;font-size:11px;line-height:1.3}
.ahv2-fields small{color:#aab5c2;font-size:10px;line-height:1.4}
.ahv2-analysis .ahv2-notice{flex:none;margin:9px 0;color:#d6c6a3;font-size:12px;line-height:1.5}
.ahv2-notice.ahw-sr-only{margin:-1px!important}
.ahv2-analysis .ahv2-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin:16px 0}
.ahv2-selected h4{display:flex;align-items:center;gap:12px;flex:1;min-width:0;margin:0;color:#f0dfbc;font-family:Georgia,'Times New Roman',serif;font-size:23px;font-weight:600;line-height:1.25}
.ahv2-selected h4>span{min-width:0;overflow-wrap:anywhere}
.ahv2-selected h4 small{display:block;margin-top:4px;color:#aeb9c9;font-family:'Segoe UI',system-ui,sans-serif;font-size:11px;font-weight:400;line-height:1.4}
.ahv2-selected h4 .ahv2-scan-status{color:#cfbc96;font-size:10px}
.ahv2-item-icon{flex:none;object-fit:cover;border:1px solid #af9461;border-radius:5px;background:#111c28;box-shadow:0 2px 5px #050b1440}
.ahv2-item-actions{display:flex;align-items:center;gap:8px;flex:none}
.ahv2-item-actions>button{min-height:36px;padding:7px 10px;font-size:11px}
.ahv2-analysis .ahv2-chart{display:flex;flex-direction:column;flex:1;min-height:180px;margin:0;padding:14px 14px 10px;border:1px solid #8291a030;border-radius:6px;background:linear-gradient(160deg,#131f2c,#111a25);overflow:hidden}
.ahv2-chart figcaption{flex:none;margin:0 0 8px;color:#d8d8d2;font-family:'Segoe UI',system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:.01em}
.ahv2-chart .ahv2-plot-scroll{flex:1;min-width:0;min-height:140px;max-width:100%;overflow:hidden}
.ahv2-chart svg{display:block;min-width:0;max-width:none}
.ahv2-chart text{fill:#aebbc9;font:12px 'Segoe UI',system-ui,sans-serif;stroke:none;stroke-width:0}
.ahv2-chart .ahv2-grid{stroke:#7e8d9c29;stroke-width:1}
.ahv2-chart .ahv2-minimum{stroke:#e0bd79;fill:#e0bd79;stroke-width:2}
.ahv2-chart .ahv2-median{stroke:#b4a2de;fill:#b4a2de;stroke-width:2;stroke-dasharray:5 3}
.ahv2-chart .ahv2-gap-point{fill:#131f2c;stroke-dasharray:none}
.ahv2-chart .ahv2-sparse-line{stroke-dasharray:2 5;stroke-linecap:round}
.ahv2-legend{display:flex;align-items:center;flex-wrap:wrap;flex:none;gap:8px 20px;margin:10px 0 0;color:#aeb9c9;font-size:10px;line-height:1.4}
.ahv2-legend span:before{width:17px;margin-right:6px}
.ahv2-legend .ahv2-min-key:before{border-color:#e0bd79}
.ahv2-legend .ahv2-med-key:before{border-color:#b4a2de}
.ahv2-legend .ahv2-sparse-key:before{border-top-style:dotted}
.ahv2-chart-empty{display:grid;place-content:center;justify-items:center;flex:1;gap:14px;min-height:210px;margin:0;padding:28px;border:1px solid #8291a030;border-radius:6px;background:#131e2a;color:#aeb9c9;font-size:13px;line-height:1.7;text-align:center;text-wrap:pretty}
.ahv2-chart-empty>p{max-width:44ch;margin:0;color:inherit}
.ahv2-chart-empty>button{justify-self:center}
.ahv2-search-workspace{display:flex;flex-direction:column;flex:1;min-height:0;gap:12px;padding-top:14px}
.ahv2-search-workspace .ahv2-search-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));grid-auto-rows:max-content;align-content:start;flex:1;min-height:0;max-height:none;gap:8px;list-style:none;margin:0;padding:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#68717c transparent}
.ahv2-search-results button{display:flex;align-items:center;gap:12px;width:100%;height:100%;min-height:64px;padding:11px;border-color:#69758359;background:#15202c;box-shadow:none;text-align:left;font-size:13px;font-weight:500;line-height:1.4}
.ahv2-search-results button>span{min-width:0;overflow-wrap:anywhere}
.ahv2-search-results small{display:block;margin-top:3px;color:#aab6c5;font-size:10px;font-weight:400}
.ahv2-search-workspace .ahv2-catalogue-note{flex:none;margin:0;color:#aab6c5;font-size:11px;line-height:1.5}
.ahv2-search-workspace>button{align-self:flex-start;flex:none}
.ahv2-analysis details.ahv2-context-info{position:relative;flex:none;margin:0;padding:0;border:0;background:transparent;overflow:visible}
.ahv2-context-info>summary{display:grid;place-content:center;list-style:none;width:36px;height:36px;padding:0!important;border:1px solid #887553;border-radius:50%;color:#d9c28f;font:italic 16px Georgia,serif;cursor:pointer}
.ahv2-context-info>summary::-webkit-details-marker{display:none}
.ahv2-analysis .ahv2-context-info[open]>.ahv2-context-popover{position:absolute;top:44px;right:0;z-index:10;width:min(350px,calc(100vw - 56px));max-height:300px;margin:0!important;padding:16px;border:1px solid #a38b5e;border-radius:7px;background:#202b38;box-shadow:0 12px 24px #040b1470;color:#d3dae1;font-size:12px;overflow:auto;overscroll-behavior:contain}
.ahv2-context-popover p{margin:9px 0;color:#b9c4d0;font-size:12px;line-height:1.65}
@media(min-width:1100px){
 .vr-compact body[data-view=auction] #viewContent{height:100%;min-height:0}
 .vr-compact body[data-view=auction] #vr-task-panel{overflow:hidden;padding-right:0}
 .vr-compact body[data-view=auction] .auction-workbench:has(>.ahv2-panel){height:100%;min-height:0;display:flex;flex-direction:column}
 .auction-workbench>.ahv2-panel.ahv2-two-panel{height:100%;min-height:0;flex:1}
}
@media(min-width:1500px){
 .auction-workbench>.ahv2-panel.ahv2-two-panel{grid-template-columns:320px minmax(0,1fr)}
 #ahv2TrackerForm{grid-template-columns:minmax(230px,1.2fr) minmax(400px,1.6fr);align-items:start;gap:16px}
}
@media(min-width:2200px){.auction-workbench>.ahv2-panel.ahv2-two-panel{grid-template-columns:350px minmax(0,1fr);gap:20px}.ahv2-analysis{padding:22px}.ahv2-library>section{padding:20px}.ahv2-analysis .ahv2-shared>header h3{font-size:30px}.ahv2-chart text{font-size:13px}}
@media(max-width:1099px){
 .auction-workbench>.ahv2-panel.ahv2-two-panel{grid-template-columns:minmax(0,1fr);height:auto;gap:14px}
 .ahv2-analysis{grid-row:1;overflow:visible;padding:16px}
 .ahv2-shared{height:auto}
 .ahv2-analysis .ahv2-chart{flex:none;min-height:0}
 .ahv2-chart .ahv2-plot-scroll{flex:none;height:clamp(250px,44vh,430px)}
 .ahv2-library{grid-template-rows:auto auto}
 .ahv2-library>section{overflow:visible}
 .ahv2-library-rows{flex:none;max-height:320px}
 .ahv2-search-workspace{flex:none;height:clamp(320px,60vh,600px)}
 .ahv2-chart-empty{min-height:250px}
}
@media(max-width:560px){
 .ahv2-library>section,.ahv2-analysis{padding:14px}
 .ahv2-analysis .ahv2-shared>header h3{font-size:24px}
 .ahv2-analysis .ahv2-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ahv2-analysis .ahv2-fields label:first-child{grid-column:1/-1}
 .ahv2-analysis .ahv2-selected{align-items:flex-start;flex-wrap:wrap;margin:14px 0}
 .ahv2-selected h4{font-size:21px;flex-basis:100%}
 .ahv2-item-actions{width:100%;justify-content:flex-end}
 .ahv2-analysis .ahv2-context-info[open]>.ahv2-context-popover{right:-110px}
 .ahv2-chart .ahv2-plot-scroll{height:270px}
 .ahv2-analysis .ahv2-chart{padding:10px}
 .ahv2-legend{gap:8px 14px}
 .ahv2-search-results button{min-height:62px}
}
@media(min-width:1100px) and (max-height:720px){
 .ahv2-analysis{padding:14px}
 .ahv2-analysis .ahv2-shared>header{margin-bottom:10px;min-height:36px}
 .ahv2-analysis .ahv2-shared>header h3{font-size:24px}
 #ahv2TrackerForm{gap:9px;padding-bottom:10px}
 .ahv2-analysis .ahv2-selected{margin:10px 0}
 .ahv2-library>section{gap:8px;padding:12px}
 .ahv2-library h3{font-size:19px}
 .ahv2-transfer{padding-top:8px}
 .ahv2-transfer-help{font-size:10px}
}
@media(min-width:1100px) and (max-height:590px){.vr-compact body[data-view=auction] #vr-task-panel{overflow:auto}.auction-workbench>.ahv2-panel.ahv2-two-panel{min-height:530px}}
@media(prefers-reduced-motion:reduce){.auction-workbench *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Touch actions keep a full target without enlarging desktop utility controls. */
@media(max-width:560px){.ahv2-item-actions>button,.ahv2-analysis .ahv2-shared>header button{min-height:44px}.ahv2-context-info>summary{width:44px;height:44px}}

/* Auction House refinement: a quiet market setting and an observation-led plot. */
.auction-workbench{--ahw-line:#a4895c38;--ahw-panel:#231f29;--ahw-gold:#e7c989}
.ahv2-library{border-color:#776347;background:linear-gradient(155deg,#28242d,#1b1c27 75%);box-shadow:inset 0 1px #e7c98913}
.ahv2-analysis{border-color:#8b724c;background:linear-gradient(145deg,#24212b,#1c1d29 70%);box-shadow:inset 0 1px #e7c98913}
.ahv2-library>section+section{background:#14172260;border-color:#b4955b38}
.ahv2-library header{min-height:32px;gap:8px}
.ahv2-library h3{font-size:20px;font-weight:500;letter-spacing:-.015em}
.ahv2-library .ahv2-new-list-toggle{min-height:32px;padding:5px 9px;border-color:#a58b5b55;background:#302b30;color:#e6c98e;font-size:11px;box-shadow:none}
.ahv2-library .ahv2-new-list-toggle[aria-expanded=true]{background:#4a3b35;border-color:#b79459}
#ahv2NewList[hidden]{display:none!important}
.ahv2-panel :is(input,select){background:#171824;border-color:#5d5b65;color:#ece8e2;box-shadow:inset 0 1px 4px #08070d35}
.ahv2-panel button{background:linear-gradient(#3a353b,#2b2933);border-color:#78664d;color:#eadac0}
.ahv2-panel button:hover:not(:disabled){background:#433b40;border-color:#c3a76e}
.ahv2-library-rows>li{border-color:#b1a18a18;gap:5px;padding:4px 0}
.ahv2-library-rows .ahv2-library-item{padding:10px 8px;border-radius:5px;color:#e8dfd1;font-size:13px;min-height:58px}
.ahv2-library-rows .ahv2-library-item small{color:#a7a3b3;font-size:10px}
.ahv2-library-rows .ahv2-library-item.is-selected{border-color:#b89b6a45;background:linear-gradient(90deg,#59406b50,#30263e60);box-shadow:inset 3px 0 #d6b676;color:#fae7c0}
.ahv2-library-rows .ahv2-library-item.is-selected:hover:not(:disabled){border-color:#c7a9728c;background:#49345160}
.ahv2-library-rows .ahv2-library-item.is-selected .ahv2-item-icon{border-color:#d7b66c}
.ahv2-item-icon{border-color:#a58c5e;box-shadow:0 2px 7px #05030c50}
.ahv2-library .ahv2-delete-list{color:#c9b7b2!important}
.ahv2-library .ahv2-transfer{padding-top:12px;border-top-color:#b4955b30;gap:5px}
.ahv2-transfer>button{min-height:38px;background:#292631}
.ahv2-transfer .ahv2-sync-help{margin:0;padding:0;border:0;border-radius:0;background:none;color:#a7a3b3}
.ahv2-sync-help>summary{min-height:30px;padding:6px 0;font-size:10px;line-height:1.5;cursor:pointer;color:#b5afbf}
.ahv2-sync-help p{padding:1px 0 5px;font-size:10px;line-height:1.6}
.ahv2-analysis .ahv2-shared>.ahv2-market-header{position:relative;isolation:isolate;min-height:76px;margin:-18px -18px 16px;padding:14px 18px;overflow:hidden;border-bottom:1px solid #c6a66b68;background:#211e29}
.ahv2-market-header:before{content:'';position:absolute;inset:0;z-index:-2;background:right 50%/auto 330px no-repeat url('/assets/guest/home-market-warcraft-v1.jpg');opacity:.72;pointer-events:none}
.ahv2-market-header:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#211d29 2%,#211d29f2 35%,#211d2999 70%,#211d2999);pointer-events:none}
.ahv2-market-title{display:flex;align-items:center;gap:13px;min-width:0}
.ahv2-market-title>img{flex:none;width:44px;height:44px;border:1px solid #c2a15e;border-radius:6px;box-shadow:0 0 0 3px #17121b80,0 2px 9px #05030b66}
.ahv2-market-title>div{min-width:0}
.ahv2-market-eyebrow{display:block;margin:0 0 4px;color:#d4b77e;font-size:9px;font-weight:600;line-height:1.2;letter-spacing:.16em}
.ahv2-analysis .ahv2-shared>.ahv2-market-header h3{font-size:28px;font-weight:500;letter-spacing:-.025em;line-height:1.05;color:#f6e0ad}
.ahv2-analysis .ahv2-shared>.ahv2-market-header button{min-height:36px;background:#29242de8;border-color:#a78a596b;color:#dfc99e}
#ahv2TrackerForm{gap:10px;padding-bottom:13px;border-bottom-color:#b0956536}
.ahv2-search-label{font-size:11px;color:#c4bccd}
.ahv2-analysis .ahv2-search-row input{border-color:#9a80574d;background:#141521;font-size:14px}
.ahv2-analysis .ahv2-search-row input:focus{border-color:#c4a36b}
#ahv2TrackerForm .ahv2-search-row button{min-width:86px;background:linear-gradient(#7e603c,#55412e);border-color:#d4af69;color:#fff0c9;box-shadow:inset 0 1px #ffe8a727,0 2px 5px #100b1233}
#ahv2TrackerForm .ahv2-search-row button:hover:not(:disabled){background:#82653f;border-color:#f0d18c}
.ahv2-analysis .ahv2-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr)}
.ahv2-analysis .ahv2-fields label{font-size:11px;color:#aaa5b7}
.ahv2-analysis .ahv2-fields :is(input,select){background:#1c1b27;border-color:#5f596359;color:#d1cad9}
.ahv2-analysis .ahv2-selected{margin:14px 0;gap:12px}
.ahv2-selected h4{font-size:24px;gap:13px;font-weight:500;color:#f3dfb3}
.ahv2-selected h4 small{font-size:10px;color:#a9a4b7}
.ahv2-selected h4 .ahv2-scan-status{display:inline-flex;align-items:center;gap:5px;width:fit-content;margin-top:6px;padding:3px 7px;border:1px solid #8b7b5650;border-radius:4px;background:#b89d5e0c;color:#c7b88e;font-size:9px;line-height:1.2}
.ahv2-scan-status:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:#938983}
.ahv2-scan-status[data-freshness=recent]:before{background:#a6c99a}
.ahv2-scan-status[data-freshness=stale]:before{background:#c2a477}
.ahv2-item-actions>button{background:#2b2732;border-color:#9b845c66;color:#d5c5a7}
.ahv2-context-info>summary{border-color:#8a77556e;background:#24222d;color:#d8bd80}
.ahv2-analysis .ahv2-chart{padding:14px 16px 8px;border-color:#b0966633;background:linear-gradient(160deg,#141522,#0f1520);box-shadow:inset 0 1px #b8a17308;border-radius:6px}
.ahv2-chart .ahv2-chart-rail{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;min-width:0;margin:0 0 10px}
.ahv2-chart-rail .ahv2-chart-label{margin:0;color:#e1d7c5;font-size:13px;font-weight:600;line-height:1.25}
.ahv2-chart-rail .ahv2-chart-label small{display:block;margin-top:4px;color:#918d9e;font-size:10px;font-weight:400}
.ahv2-chart-rail .ahv2-legend{justify-content:flex-end;margin:0;gap:7px 16px;color:#aba3b8;font-size:11px}
.ahv2-observation-readout{display:flex;align-items:baseline;flex-wrap:wrap;flex:none;gap:8px 22px;min-height:36px;padding:8px 0 10px;border-bottom:1px solid #a598b71a;margin-bottom:3px;color:#c0b8ca;font-size:11px;font-variant-numeric:tabular-nums}
.ahv2-observation-readout>span{display:flex;align-items:baseline;gap:8px;min-width:0}
.ahv2-observation-readout small{color:#8f8b9d;font-size:10px;font-weight:400;line-height:1.4}
.ahv2-observation-readout time{color:#bdb5c8;white-space:nowrap;font-size:11px}
.ahv2-observation-readout strong{font-size:15px;font-weight:600;line-height:1.1}
.ahv2-readout-min strong{color:#e4bd75}
.ahv2-readout-med strong{color:#b9a2e2}
.ahv2-observation-readout .ahv2-readout-state{margin-left:auto;color:#91899f;font-size:10px}
.ahv2-chart text{font-size:13px;fill:#aaa3b7}
.ahv2-chart .ahv2-grid{stroke:#a298b61e}
.ahv2-chart .ahv2-inspection-cursor{stroke:#c2b2dd66;stroke-width:1;stroke-dasharray:3 4;pointer-events:none}
.ahv2-chart circle[data-ahv2-inspected=true]{stroke-width:3;r:5}
.ahv2-inspect-control{display:flex;align-items:center;flex:none;gap:12px;min-width:0;min-height:32px;padding:3px 0 0;border-top:1px solid #a598b716;color:#928b9f}
.ahv2-inspect-control>label{flex:none;font-size:10px;line-height:1.3}
.ahv2-inspect-control>span{flex:none;font-size:9px;color:#817b90;white-space:nowrap}
.ahv2-panel .ahv2-inspect-control>input[type=range]{appearance:auto;flex:1;min-width:60px;width:100%;height:28px;min-height:28px;max-height:28px;padding:0;border:0;background:transparent;box-shadow:none;accent-color:#b49acb;cursor:ew-resize}
.ahv2-chart-empty{background:#151622;border-color:#b0966633;color:#a9a1b7}
.ahv2-chart-empty strong{display:block;margin-bottom:7px;color:#d9c9a7;font-family:Georgia,serif;font-size:20px;font-weight:500}
.ahv2-search-results button{background:#1a1928;border-color:#8a78933b}
.ahv2-search-results button:hover:not(:disabled){background:#34263f;border-color:#b89b6a80}
.ahv2-analysis .ahv2-context-info[open]>.ahv2-context-popover{background:#282330;border-color:#a68c5f;color:#d1c8d9}
@media(min-width:1500px){#ahv2TrackerForm{grid-template-columns:minmax(230px,1.2fr) minmax(400px,1.6fr);gap:16px}}
@media(min-width:2200px){.ahv2-analysis .ahv2-shared>.ahv2-market-header{margin:-22px -22px 18px;padding:16px 22px;min-height:82px}.ahv2-chart-rail .ahv2-chart-label{font-size:15px}.ahv2-observation-readout{gap:8px 28px}.ahv2-observation-readout strong{font-size:17px}}
@media(min-width:1100px) and (max-height:780px){
 .ahv2-analysis .ahv2-shared>.ahv2-market-header{min-height:56px;margin:-14px -14px 10px;padding:10px 14px}
 .ahv2-market-title>img{width:36px;height:36px}
 .ahv2-analysis .ahv2-shared>.ahv2-market-header h3{font-size:24px}
 .ahv2-market-eyebrow{font-size:8px;margin-bottom:3px}
 #ahv2TrackerForm{gap:8px;padding-bottom:10px}
 .ahv2-analysis .ahv2-selected{margin:10px 0}
 .ahv2-selected h4{font-size:22px}
 .ahv2-chart .ahv2-chart-rail{margin-bottom:5px}
 .ahv2-chart-rail .ahv2-chart-label{font-size:12px}
 .ahv2-chart-rail .ahv2-chart-label small{margin-top:2px;font-size:9px}
 .ahv2-chart-rail .ahv2-legend{font-size:10px;gap:6px 10px}
 .ahv2-observation-readout{padding:6px 0;min-height:32px;gap:7px 15px}
 .ahv2-observation-readout strong{font-size:14px}
 .ahv2-observation-readout .ahv2-readout-state{display:none}
 .ahv2-inspect-control{min-height:28px}
 .ahv2-chart text{font-size:12px}
}
@media(max-width:1099px){
 .ahv2-analysis .ahv2-shared>.ahv2-market-header{margin:-16px -16px 14px;padding:13px 16px;min-height:72px}
 .ahv2-chart .ahv2-chart-rail{flex-wrap:wrap;gap:8px}
 .ahv2-chart-rail .ahv2-legend{justify-content:flex-start}
 .ahv2-observation-readout{gap:8px 18px}
}
@media(max-width:560px){
 .ahv2-analysis .ahv2-shared>.ahv2-market-header{margin:-14px -14px 14px;padding:12px 14px;min-height:72px;gap:8px}
 .ahv2-market-title{gap:10px}
 .ahv2-market-title>img{width:34px;height:34px}
 .ahv2-market-eyebrow{font-size:8px;letter-spacing:.12em}
 .ahv2-analysis .ahv2-shared>.ahv2-market-header h3{font-size:23px}
 .ahv2-analysis .ahv2-shared>.ahv2-market-header button{min-height:36px;padding:7px 10px;font-size:10px}
 .ahv2-library header{min-height:36px}
 .ahv2-library .ahv2-new-list-toggle{min-height:36px}
 .ahv2-analysis .ahv2-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ahv2-observation-readout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;padding:8px 0}
 .ahv2-observation-readout>span{display:grid;gap:3px}
 .ahv2-observation-readout .ahv2-readout-time{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:7px}
 .ahv2-observation-readout .ahv2-readout-state{margin:0;grid-column:1/-1}
 .ahv2-observation-readout strong{font-size:16px}
 .ahv2-chart-rail .ahv2-legend{font-size:10px;gap:7px 12px}
 .ahv2-inspect-control{flex-wrap:wrap;gap:0 8px;padding-top:6px}
 .ahv2-inspect-control>label{flex-basis:100%;font-size:10px}
 .ahv2-inspect-control>span{font-size:8px}
 .ahv2-panel .ahv2-inspect-control>input[type=range]{min-height:36px;height:36px;max-height:36px}
 .ahv2-selected h4{font-size:22px}
 .ahv2-selected h4 .ahv2-scan-status{font-size:9px}
}
/* Extra helpers and long names must never hide the plot inspector. */
@media(min-width:1100px){.ahv2-analysis{overflow-y:auto;overflow-x:hidden}.ahv2-analysis .ahv2-chart{flex:1 0 290px;min-height:290px}}
/* Market history: luminous Warcraft gold and violet on a quiet chart grid. */
.ahv2-analysis .ahv2-chart{background:#111720;border-color:#8b806d47}
.ahv2-chart .ahv2-grid{stroke:#a1a0a538;stroke-width:1;vector-effect:non-scaling-stroke}
.ahv2-chart .ahv2-grid-minor{stroke:#9b9da221;stroke-width:1;vector-effect:non-scaling-stroke}
.ahv2-chart :is(path,line).ahv2-minimum{fill:none;stroke:#ebc779;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.ahv2-chart :is(path,line).ahv2-median{fill:none;stroke:#c4a9f1;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:5 3;vector-effect:non-scaling-stroke}
.ahv2-chart .ahv2-sparse-line{stroke-dasharray:2 5!important;stroke-linecap:round}
.ahv2-chart .ahv2-series-minimum{filter:drop-shadow(0 0 3px #e7bc6680)}
.ahv2-chart .ahv2-series-median{filter:drop-shadow(0 0 3px #b998ef85)}
.ahv2-chart circle.ahv2-minimum{stroke:#ebc779;fill:#ebc779}
.ahv2-chart circle.ahv2-median{stroke:#c4a9f1;fill:#c4a9f1}
.ahv2-chart circle.ahv2-gap-point{fill:#111720}
.ahv2-legend .ahv2-min-key:before{border-color:#ebc779}
.ahv2-legend .ahv2-med-key:before{border-color:#c4a9f1}
@media(forced-colors:active){.ahv2-chart :is(.ahv2-series-minimum,.ahv2-series-median){filter:none}.ahv2-chart .ahv2-minimum{stroke:CanvasText}.ahv2-chart .ahv2-median{stroke:Highlight}.ahv2-chart circle.ahv2-gap-point{fill:Canvas}}

.local-session-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;background:#211a2d;border-bottom:1px solid #63516f;color:#eee5fa}.local-session-bar>div:first-child{display:grid;gap:4px;min-width:0}.local-session-bar strong{color:#e4ce9d}.local-session-bar [role=status]{font-size:13px;overflow-wrap:anywhere}.local-session-actions{display:flex;gap:8px;flex-wrap:wrap}.local-session-actions button{min-height:44px;padding:8px 12px}.local-session-actions button[aria-pressed=true]{border-color:#dbc28e;background:#493450}.local-observed{padding:16px;margin-bottom:16px;border:1px solid #665372;border-radius:10px;background:#211a2b}.local-observed h2{font-size:20px;margin:0 0 6px}.local-observed p{color:#d1c4df;font-size:13px}.local-observed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.local-observed-grid>div{display:grid;gap:5px;padding:10px;background:#17121f;border-radius:6px;min-width:0}.local-observed-grid strong{font-size:24px;color:#ead5a5}.local-observed-grid span,.local-observed-grid small{color:#d2c5de;overflow-wrap:anywhere}.local-observed-grid small{font-size:12px}.local-unavailable{padding:18px;border:1px solid #745d71;border-radius:8px;background:#251e2e}.local-unavailable p{color:#d8cbe3}.local-session-bar button:focus-visible{outline:3px solid #e9d3a0;outline-offset:3px}@media(max-width:800px){.local-session-bar{align-items:stretch;flex-direction:column;padding:12px}.local-session-actions button{flex:1 1 auto}.local-observed-grid{grid-template-columns:1fr}.local-observed{padding:12px}}
#saveStatus[tabindex="-1"]:focus{outline:2px solid #e0caff;outline-offset:3px}
.manual-plan-scope{display:grid;gap:2px;font-size:12px;min-width:145px}.manual-plan-scope select{min-height:32px;max-width:220px;background:#211a2d;color:#eee5fa;border:1px solid #887599;border-radius:4px;padding:4px}.manual-plan-scope select:focus-visible{outline:3px solid #e9d3a0;outline-offset:3px}

.vlc-dialog{color:#eee7f4;background:#15121c;border:1px solid #8e7455;border-radius:12px;padding:0;width:min(1120px,calc(100vw - 28px));max-height:90vh;overflow:auto;overscroll-behavior:contain}
.vlc-dialog::backdrop{background:#08070bd9}.vlc-shell{padding:22px;min-width:0;overflow-wrap:anywhere;font:14px/1.55 "Segoe UI",Arial,sans-serif}.vlc-shell *{box-sizing:border-box}.vlc-shell h2,.vlc-shell h3{font-family:Georgia,serif;color:#e7d2ad;font-weight:500}.vlc-shell h2{font-size:27px;line-height:1.25;margin:4px 0 12px}.vlc-shell h3{font-size:21px;margin:14px 0 10px}.vlc-shell h4{font-size:14px;margin:15px 0 8px}.vlc-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.vlc-kicker{font-size:11px;letter-spacing:.1em;color:#d9bd89}.vlc-context,.vlc-byte-count{font-size:12px;color:#c5b9d0}.vlc-status{min-height:54px;max-height:110px;overflow:auto;scrollbar-gutter:stable;margin:12px 0;padding:10px 12px;border-left:3px solid #b69bce;background:#241d2e;font-size:13px}.vlc-status[data-state=error]{border-color:#efadb9;background:#35232c;color:#ffd2d6}.vlc-input-label{display:block;font-weight:600;margin:14px 0 7px}.vlc-shell textarea{display:block;width:100%;min-height:120px;resize:vertical;padding:12px;border:1px solid #75617f;border-radius:7px;background:#0f1420;color:#eee7f4;font:12px/1.6 Consolas,monospace}.vlc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}.vlc-shell button{min-height:44px;min-width:44px;padding:9px 13px;border:1px solid #8c6c9e;border-radius:6px;background:#33263f;color:#f0e5fa;font-family:inherit;font-size:13px;line-height:1.4;cursor:pointer}.vlc-heading>button{font-size:24px;padding:4px 10px}.vlc-shell .vlc-primary{background:#674b7d;border-color:#b295c1}.vlc-shell button:disabled{opacity:.5;cursor:not-allowed;border-style:dashed}.vlc-shell :is(button,input,textarea,summary,[tabindex]):focus-visible{outline:3px solid #f1d49c;outline-offset:3px}.vlc-selection{min-height:22px;color:#d7c5e4;font-size:13px}.vlc-domain{padding:15px;margin:16px 0;background:#211b2a;border:1px solid #725d7d;border-radius:8px;min-width:0}.vlc-domain-choice{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}.vlc-domain-choice input{flex:none;width:24px;height:24px;margin:8px;accent-color:#b594d0}.vlc-domain-choice strong,.vlc-domain-choice small{display:block}.vlc-domain-choice strong{font-size:16px;color:#ead7b5}.vlc-shell small{font-size:12px;line-height:1.5;color:#bfb1ca}.vlc-shell details{border:1px solid #51405f;border-radius:7px;margin:12px 0;background:#19151f}.vlc-shell summary{min-height:44px;padding:11px 13px;cursor:pointer;color:#dcc4ec}.vlc-shell details[open]>summary{border-bottom:1px solid #51405f}.vlc-shell details>p,.vlc-shell details>dl,.vlc-shell details>ul,.vlc-shell details>button{margin:12px}.vlc-table-scroll{overflow:auto;max-width:100%;margin:12px 0;scrollbar-width:thin}.vlc-shell table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed;font-size:12px}.vlc-shell caption{text-align:left;padding:0 12px 10px;font-size:13px;color:#e1cbea}.vlc-shell th,.vlc-shell td{padding:10px;border-top:1px solid #50405c;text-align:left;vertical-align:top;overflow-wrap:anywhere}.vlc-shell thead th{background:#2b2234}.vlc-shell td>span,.vlc-shell td>code{display:block}.vlc-shell code{font:11px/1.5 Consolas,monospace;overflow-wrap:anywhere;white-space:normal;color:#d6c0e4}.vlc-shell ul{list-style:none;padding:0}.vlc-shell li{padding:10px 0;border-top:1px solid #49384f}.vlc-shell li>strong,.vlc-shell li>span{display:block}.vlc-shell dt{font-size:12px;font-weight:600}.vlc-shell dd{margin:4px 0 13px}.vlc-fact-state{padding:4px 6px;border:1px solid #776286;border-radius:5px;font-size:11px;line-height:1.4}.vlc-fresh{color:#c6f0d3;background:#24372b}.vlc-retained{color:#f4dc9e;background:#39311f}.vlc-removed{color:#ffd1c9;background:#3b2523}.vlc-unknown{color:#ded1ed;background:#342b40}.vlc-operation{border:1px solid #d0ac71;border-radius:7px;padding:14px;background:#30271c}.vlc-operation[hidden]{display:none}.vlc-operation>code{display:block;user-select:all}.vlc-receipt{border-top:1px solid #88714e;margin-top:20px;padding-top:12px}.vlc-receipt>p{color:#c6b8d0;font-size:13px}
@media(max-width:620px){.vlc-dialog{width:calc(100vw - 16px);max-height:94vh}.vlc-shell{padding:14px;font-size:13px}.vlc-shell h2{font-size:23px}.vlc-domain{padding:11px}.vlc-actions button{flex:1 1 140px}.vlc-status{min-height:68px}.vlc-domain-choice strong{font-size:15px}.vlc-shell table{font-size:12px}.vlc-shell th,.vlc-shell td{padding:9px}}

.vli-dialog{width:min(980px,calc(100vw - 28px));height:min(900px,calc(100dvh - 28px));max-height:90vh;padding:0;border:1px solid #947858;border-radius:12px;background:#15121c;color:#eee7f4;overflow:hidden}
.vli-dialog::backdrop{background:#08070bd9}.vli-shell{height:100%;min-width:0;display:grid;grid-template-rows:auto 76px 48px minmax(0,1fr) 136px;font:14px/1.5 "Segoe UI",Arial,sans-serif;overflow-wrap:anywhere}.vli-shell *{box-sizing:border-box}
.vli-shell :where(details){margin:0;padding:0;border:0;background:transparent;overflow:visible}.vli-shell summary{margin:0}
.vli-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 20px 10px;border-bottom:1px solid #44364e}.vli-kicker{color:#d9bd89;font-size:11px;letter-spacing:.1em}.vli-shell h2,.vli-shell h3{font-family:Georgia,serif;font-weight:500;color:#e7d2ad}.vli-shell h2{font-size:25px;line-height:1.2;margin:3px 0 5px}.vli-heading p{margin:3px 0;font-size:13px}.vli-context,.vli-help{font-size:12px;color:#c9bdd3}.vli-heading .vli-context{font-size:12px}
.vli-status{position:sticky;top:0;z-index:1;min-height:54px;margin:8px 20px;padding:9px 12px;border-left:3px solid #b69bce;background:#241d2e;font-size:13px;overflow:auto;scrollbar-gutter:stable}.vli-status:focus{outline:3px solid #f1d49c;outline-offset:-3px}.vli-status:empty::before{content:"Ready to store or look up an import.";color:#c9bdd3}.vli-status[data-state=error]{border-color:#efadb9;background:#35232c;color:#ffd2d6}
.vli-tabs{display:flex;gap:4px;padding:0 20px;border-bottom:1px solid #65506f;align-items:stretch}.vli-tabs button{border:0;border-bottom:3px solid transparent;border-radius:6px 6px 0 0;background:transparent}.vli-tabs button[aria-selected=true]{background:#33263f;border-bottom-color:#dec08a}.vli-tabs span{font-size:11px;margin-left:6px;color:#d2c4dd}
.vli-panes{min-height:0;overflow:hidden}.vli-pane{height:100%;padding:14px 20px;min-height:0;overflow:auto;scrollbar-gutter:stable}.vli-pane[hidden],.vli-shell [hidden]{display:none!important}.vli-draft{display:flex;flex-direction:column;gap:7px}.vli-id-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center}.vli-id-row>label{grid-column:1/-1}.vli-id-row>input{min-width:0}.vli-help-detail{position:relative}.vli-help-detail p{position:absolute;right:0;top:36px;width:min(330px,70vw);z-index:3;padding:12px;background:#2a2133;border:1px solid #8c6c9e;box-shadow:0 8px 24px #0006;font-size:13px}
.vli-shell label{display:block;font-weight:600;margin:0}.vli-shell input[type=text],.vli-shell textarea{display:block;width:100%;min-height:44px;padding:10px;border:1px solid #75617f;border-radius:7px;background:#0f1420;color:#eee7f4;font:13px/1.5 Consolas,monospace}.vli-shell textarea{flex:1 1 140px;min-height:120px;resize:none}.vli-draft>.vli-help{margin:0}.vli-shell input[type=file]{display:block;max-width:100%;min-height:44px;font:13px/1.5 inherit;color:#eee7f4}.vli-shell input[type=file]::file-selector-button{min-height:44px;margin-right:10px;border:1px solid #8c6c9e;border-radius:6px;background:#33263f;color:#f0e5fa;padding:8px 12px}.vli-file-detail[open]{flex:0 0 auto}.vli-file-detail label{margin:8px 0}.vli-file-detail p{margin:6px 0 0}
.vli-shell button,.vli-shell summary{min-height:44px;min-width:44px;font-family:inherit;font-size:13px;line-height:1.4;cursor:pointer}.vli-shell button{padding:9px 13px;border:1px solid #8c6c9e;border-radius:6px;background:#33263f;color:#f0e5fa}.vli-heading>button{font-size:24px;padding:4px 10px;flex:0 0 44px}.vli-shell summary{display:flex;align-items:center;gap:8px;color:#e7d5b7}.vli-shell summary::before{content:"▸";color:#d4b1e2}.vli-shell details[open]>summary::before{content:"▾"}.vli-shell .vli-primary{background:#674b7d;border-color:#b295c1}.vli-shell :is(button,input,textarea,pre,summary,[tabindex]):focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}.vli-shell :disabled{opacity:.55;cursor:not-allowed}
.vli-footer{position:relative;border-top:1px solid #65506f;padding:12px 20px;background:#1c1625;min-height:0}.vli-footer p{margin:0;color:#c9bdd3;font-size:12px}.vli-footer .vli-actions{position:absolute;left:20px;right:20px;bottom:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.vli-footer button{height:44px}.vli-operation h3{font:600 13px/1.4 "Segoe UI",Arial,sans-serif;margin:0 0 4px}.vli-operation>code{display:block;font:12px/1.4 Consolas,monospace;color:#e8d5ae}.vli-operation p{margin:2px 0 4px}.vli-result h3,.vli-empty h3{font-size:21px;margin:0 0 7px}.vli-result>p,.vli-empty>p{font-size:13px;color:#d3c6dc;margin:0 0 10px}.vli-shell dl{display:grid;grid-template-columns:145px minmax(0,1fr);gap:7px 12px;margin:10px 0}.vli-shell dt{font-size:12px;font-weight:600;color:#dac8e5}.vli-shell dd{margin:0;overflow-wrap:anywhere;font:12px/1.5 Consolas,monospace}.vli-receipt-details,.vli-canonical-detail{border-top:1px solid #51405c;margin-top:10px}.vli-shell pre{max-width:100%;max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #725d7d;border-radius:6px;background:#0d111b;color:#eee7f4;padding:10px;font:12px/1.6 Consolas,monospace}.vli-pane,.vli-status,.vli-shell textarea,.vli-shell pre{scrollbar-width:thin;scrollbar-color:#8c729e transparent}
@media(max-width:620px){.vli-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px);max-height:94vh}.vli-shell{grid-template-rows:auto 84px 48px minmax(0,1fr) 176px;font-size:13px}.vli-heading{padding:12px 14px 8px}.vli-shell h2{font-size:22px}.vli-heading p{font-size:12px}.vli-status{margin:6px 14px;padding:8px 10px}.vli-tabs{padding:0 14px}.vli-pane{padding:10px 14px}.vli-draft{gap:5px}.vli-shell textarea{min-height:100px}.vli-footer{padding:10px 14px}.vli-footer .vli-actions{left:14px;right:14px;bottom:12px;gap:8px}.vli-footer button{height:56px;padding:6px;font-size:12px}.vli-shell dl{grid-template-columns:95px minmax(0,1fr);gap:7px}.vli-tabs span{display:none}}

/* Viewport framing only. Character, planning, import and transport semantics stay unchanged. */
html.vr-compact,html.vr-compact body{height:100%;overflow:hidden}
.vr-compact .vr-compact-app{height:100dvh;max-width:none;display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}
.vr-compact .character-strip{height:68px;min-height:68px;padding:0 20px}.vr-compact .header-actions{display:grid;grid-template-areas:"status retry profile";grid-template-columns:160px 106px auto;align-items:center;gap:8px}.vr-compact #saveStatus{grid-area:status;max-height:44px;overflow:auto;font-size:12px}.vr-compact #retrySave{grid-area:retry;min-height:44px}.vr-compact #openCharacter{grid-area:profile}
.vr-compact .workspace{display:grid!important;grid-template-columns:192px minmax(0,1fr)!important;width:100%;height:100%;min-height:0;max-width:none;overflow:hidden;justify-self:stretch;align-self:stretch}.vr-compact .navigation{position:relative;top:auto;height:100%;min-height:0;overflow:auto;padding:16px 12px}.vr-compact .nav-button{min-height:48px}.vr-compact .nav-character{margin-bottom:15px}.vr-compact .route-meter{margin-top:18px}
.vr-compact :is(.vr-session-menu,.vr-observations,.vr-task-secondary){margin:0;padding:0;background:transparent;overflow:visible}.vr-compact :is(.vr-session-menu,.vr-observations){border:0}.vr-compact :is(.vr-session-menu,.vr-observations,.vr-task-secondary)>summary{margin:0}
.vr-compact .main-pane{display:grid;grid-template-rows:44px minmax(0,1fr);gap:8px;padding:10px 16px 12px;min-width:0;min-height:0;overflow:hidden}.vr-compact .page-top{margin:0;min-height:0;gap:12px}.vr-compact .page-top h1{font-size:25px;margin:3px 0;line-height:1.15}.vr-compact .page-top p{margin:0;font-size:12px}.vr-compact .page-breadcrumb{font-size:10px}.vr-compact .command-bar{min-width:0}
.vr-workspace-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;min-height:0}
.vr-workspace-controls{display:flex;align-items:center}.vr-workspace-control{min-height:44px;padding:8px 12px;font-size:12px;white-space:nowrap;border-color:#806c49;background:#292333;color:#e5d2ad}.vr-workspace-control[aria-expanded=true]{background:#3a2f43;border-color:#d4b478}.vr-workspace-control:focus-visible{outline:3px solid #f1d49c;outline-offset:2px}.vr-workspace-panels{min-height:0;overflow:hidden}.vr-workspace-panel{height:100%;min-width:0;min-height:0;overflow:auto;padding:8px 6px 8px 0;scrollbar-gutter:stable}.vr-workspace-panel[hidden],.vr-workspace-controls[hidden]{display:none!important}.vr-workspace-panel:focus-visible{outline:2px solid #d4bcf0;outline-offset:-2px}.vr-compact .page-top.vr-screen-description{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vr-compact #vr-task-panel>.next-action-panel{display:flex;flex-direction:column;height:100%;min-height:0;margin:0;overflow:hidden}.vr-compact #vr-task-panel>.next-action-panel[hidden]{display:none!important}.vr-compact #nextAction{flex:1;min-height:0;overflow:hidden}.vr-compact .next-action-panel>.section-label{padding:10px 16px 4px;min-height:30px}.vr-compact .nm-shell{display:flex!important;flex-direction:column;height:100%;min-height:0;gap:0}.vr-compact .nm-main{padding:10px 16px;flex:1;min-height:0;overflow:auto}.vr-compact .nm-main h2{font-size:27px!important;line-height:1.15!important;margin:8px 0}.vr-compact .nm-circuit{margin:5px 0;font-size:12px}.vr-compact .nm-instruction{font-size:15px!important;margin:5px 0}.vr-compact .nm-plan-note{margin:5px 0}.vr-compact .nm-plan-note p{margin:3px 0;font-size:13px}.vr-compact .nm-plan-note small{font-size:12px}.vr-compact .nm-heading{gap:8px}.vr-compact .nm-route-steps{margin:8px 0;gap:8px}.vr-compact .vr-current-step{display:block}.vr-compact .nm-route-steps section{padding:8px 10px}.vr-compact .nm-route-steps ul{margin:3px 0;font-size:13px}.vr-compact .nm-location b{font-size:13px}.vr-compact .nm-location small{font-size:12px}.vr-compact .nm-actions{display:flex;align-items:center;position:sticky;bottom:0;z-index:2;margin:8px 0;padding:6px 0;background:#1e2330;gap:10px}.vr-compact .nm-actions button.primary{min-height:44px;padding:8px 14px}.vr-compact .nm-status-control select{min-height:44px}.vr-compact .nm-meta{margin:5px 0;font-size:12px!important}.vr-compact .nm-footer{flex:0 0 auto;padding:8px 16px;min-height:34px}.vr-compact .nm-footer>p{max-width:none;margin:0;font-size:11px!important}
.vr-task-secondary{border-top:1px solid #65513f;margin-top:8px}.vr-task-secondary>summary{display:flex;align-items:center;min-height:44px;font-size:13px;color:#dfcaab;cursor:pointer}.vr-task-secondary>summary::before{content:"▸";margin-right:8px}.vr-task-secondary[open]>summary::before{content:"▾"}.vr-task-secondary .nm-art{display:block;max-width:760px;margin:10px 0}.vr-task-secondary .qm-map{max-height:220px}.vr-task-secondary .nm-circuit-nav{margin:8px 0}.vr-task-secondary .vr-other-steps{grid-template-columns:1fr 1fr}
.vr-compact #vr-goals-panel .right-rail{display:block!important;position:static;padding:0;background:transparent;border:0;max-width:1000px}.vr-compact #vr-goals-panel .rail-panel{margin:0 0 12px}.vr-compact #vr-details-panel .session-summary{margin:0 0 12px}.vr-compact #vr-details-panel #routePlanner{margin:0 0 12px}.vr-compact #vr-details-panel .footer{margin-top:16px}
.vr-observations{position:relative;min-height:44px;min-width:0;z-index:12}.vr-observations>summary{display:flex;align-items:center;min-height:44px;padding:8px 12px;background:#1b2230;border:1px solid #675342;border-radius:7px;cursor:pointer;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vr-observations>summary::before{content:"▸";margin-right:9px;color:#d5bc91}.vr-observations[open]>summary::before{content:"▾"}.vr-observations>#telemetryHud{position:absolute;top:48px;left:0;right:0;max-height:min(350px,50vh);overflow:auto;padding:10px;background:#141b27;border:1px solid #8a7352;border-radius:8px;box-shadow:0 10px 35px #0009}.vr-compact .local-observed{margin:0}
.vr-compact .local-session-bar{position:relative;min-height:64px;max-height:100px;padding:8px 16px;gap:10px}.vr-compact .local-session-bar strong{font-size:12px}.vr-compact .local-session-bar>div:first-child{max-height:80px;overflow:auto}.vr-compact .local-session-bar [role=status]{font-size:12px;line-height:1.45}.vr-compact .local-session-actions{align-items:center;gap:8px;flex-wrap:nowrap}.vr-compact .local-session-actions>button{min-height:44px;font-size:12px;white-space:nowrap}.vr-session-menu{position:relative}.vr-session-menu>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #80678c;border-radius:7px;cursor:pointer;font-size:12px;white-space:nowrap}.vr-session-choices{position:absolute;top:48px;right:0;width:220px;z-index:60;padding:10px;display:grid;gap:7px;background:#241d30;border:1px solid #ad8dc1;border-radius:8px;box-shadow:0 10px 30px #0009}.vr-session-choices button{min-height:44px}.vr-session-menu:not([open])>.vr-session-choices{display:none}
.vr-compact .navigation,.vr-workspace-panel,.vr-compact .nm-main,.vr-observations>#telemetryHud{scrollbar-width:thin;scrollbar-color:#826b90 transparent}.vr-compact :is(summary,.vr-workspace-control):focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}
.vr-compact body.minimal-hud .main-pane{grid-template-rows:44px minmax(0,1fr);max-width:none}
@media(max-width:920px){.vr-compact .vr-compact-app{grid-template-rows:auto auto minmax(0,1fr)}.vr-compact .character-strip{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "build build";padding:8px 10px;gap:6px 8px}.vr-compact .brand{grid-area:brand;font-size:11px;min-width:0}.vr-compact .brand small{display:none}.vr-compact .brand-mark{width:28px;height:28px}.vr-compact .header-build{grid-area:build;order:initial;width:100%;margin:0;padding:0;gap:6px;justify-content:space-between}.vr-compact .header-actions{grid-area:actions;grid-template-columns:95px 70px 44px;gap:4px}.vr-compact #saveStatus{font-size:10px;line-height:1.3}.vr-compact #retrySave{font-size:10px;padding:4px}.vr-compact .header-search-label,.vr-compact #spotlightTrigger kbd{display:none}.vr-compact .workspace{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:60px minmax(0,1fr)!important}.vr-compact .navigation{position:relative;top:auto;height:60px;padding:4px 8px;overflow:hidden}.vr-compact .navigation nav{height:52px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.vr-compact .nav-button{flex:0 0 88px;min-height:48px;padding:4px;display:flex;gap:6px;align-items:center;justify-content:center;font-size:11px}.vr-compact .nav-button img{width:18px;height:18px}.vr-compact .main-pane{grid-template-rows:44px minmax(0,1fr);gap:6px;padding:6px 10px 8px}.vr-compact .page-top h1{font-size:20px}.vr-compact .page-top p{display:none}.vr-compact .page-breadcrumb{font-size:9px}.vr-compact .page-top{flex-wrap:nowrap}.vr-compact .command-bar{width:auto;flex:0 0 auto}.vr-compact .search-box{width:150px}.vr-compact .search-box input{min-width:0;width:100%}.vr-compact .search-box kbd{display:none}.vr-workspace-control{padding:7px 10px;font-size:12px}.vr-compact .nm-main{padding:8px 10px}.vr-compact .nm-main h2{font-size:23px!important}.vr-compact .nm-route-steps section{padding:7px}.vr-compact .local-session-bar{display:flex;flex-direction:column;align-items:stretch;min-height:88px;max-height:112px;padding:6px 10px;gap:5px}.vr-compact .local-session-bar strong{display:none}.vr-compact .local-session-bar>div:first-child{max-height:36px;min-height:29px}.vr-compact .local-session-actions{display:flex;gap:5px;overflow:visible}.vr-compact .local-session-actions>button,.vr-session-menu{flex:1 1 0;min-width:0}.vr-compact .local-session-actions>button{font-size:11px;padding:4px}.vr-session-menu>summary{padding:5px;font-size:11px}.vr-observations>summary{font-size:11px;padding:7px 9px}.vr-task-secondary .vr-other-steps{grid-template-columns:1fr}}
@media(max-width:430px){.vr-compact .brand>span:last-child{font-size:10px;letter-spacing:0}.vr-compact .brand{gap:5px}.vr-compact .header-actions{grid-template-columns:82px 61px 40px}.vr-compact .header-build{gap:4px}.vr-compact .search-box{width:110px}.vr-compact .page-top h1{font-size:18px}.vr-compact .page-breadcrumb{display:none}.vr-compact .nm-stage{max-width:160px;font-size:10px;padding:4px}.vr-compact .nm-main h2{font-size:21px!important}.vr-compact .nm-plan-note p{font-size:12px}.vr-compact .nm-instruction{font-size:13px!important}.vr-compact .nm-meta{font-size:11px!important}.vr-compact .nm-actions{gap:6px}.vr-compact .nm-actions button.primary{font-size:12px;padding:6px 8px}.vr-compact .nm-status-control{min-width:100px;font-size:10px}.vr-compact .nm-status-control select{font-size:11px}}
@media print{html.vr-compact,html.vr-compact body{height:auto;overflow:visible}.vr-compact .vr-compact-app,.vr-compact .workspace,.vr-compact .main-pane{display:block!important;height:auto;overflow:visible}.vr-workspace-controls{display:none}.vr-workspace-panel{display:block!important;height:auto;overflow:visible}}

.vr-sidebar-reserves{margin:14px 0;padding:0;border:1px solid #6c5847;border-radius:9px;background:linear-gradient(135deg,#2c2533,#1b2430);overflow:hidden}.vr-reserve-summary{display:grid;grid-template-rows:20px 16px 54px;gap:4px;height:118px;padding:10px;cursor:pointer;list-style:none;min-width:0;color:#eee0c4}.vr-reserve-summary::marker{content:""}.vr-reserve-caption{display:flex;align-items:center;justify-content:space-between;gap:5px}.vr-reserve-caption strong{font-size:12px}.vr-reserve-arrow{font-size:21px;line-height:1;transition:transform .12s}.vr-sidebar-reserves[open] .vr-reserve-arrow{transform:rotate(90deg)}.vr-reserve-set{font-size:10px;color:#d2bd9e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vr-reserve-values{display:grid;align-content:start;gap:2px;font-size:11px;color:#bfb3cd}.vr-reserve-value{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;line-height:16px}.vr-reserve-value>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vr-reserve-value>b{color:#eee0c9;font-weight:600;white-space:nowrap}.vr-reserve-unavailable{color:#c2b5cd}.vr-reserve-summary:focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}
.vr-reserve-panel{position:fixed;z-index:1100;left:clamp(16px,208px,calc(100vw - 456px));top:146px;width:min(440px,calc(100vw - 32px));height:min(760px,calc(100dvh - 170px));display:grid;grid-template-rows:84px minmax(0,1fr);overflow:hidden;border:1px solid #b09568;border-radius:11px;background:#1a1c28;color:#eee3f0;box-shadow:0 20px 70px #000a}.vr-reserve-panel[hidden]{display:none!important}.vr-reserve-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #6d5764;background:linear-gradient(115deg,#382d3f,#202a36)}.vr-reserve-heading h2{font:22px/1.2 Georgia,serif;color:#eddbb8;margin:0}.vr-reserve-heading p{font-size:11px;line-height:1.5;color:#cbbbce;margin:5px 0 0}.vr-reserve-close{min-height:44px;min-width:80px;padding:8px 10px;font-size:12px;flex:0 0 auto}.vr-reserve-body{min-height:0;overflow:auto;scrollbar-gutter:stable;padding:14px}.vr-reserve-body>.right-rail{position:static;top:auto;display:grid;grid-template-columns:1fr;gap:12px;width:100%;height:auto;max-height:none;padding:0;margin:0}.vr-reserve-body .rail-card{min-width:0;box-shadow:none}.vr-reserve-panel :focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}.vr-reserve-empty{font-size:13px;line-height:1.6;color:#cfbfd9}.vr-reserve-empty[hidden]{display:none!important}.vr-compact body.minimal-hud #vrSidebarReserves{display:none}
@media(max-width:920px){.vr-sidebar-reserves{position:fixed;right:12px;bottom:12px;width:118px;z-index:900;margin:0}.vr-reserve-summary{height:44px;grid-template-rows:24px;padding:10px}.vr-reserve-summary>.vr-reserve-set,.vr-reserve-summary>.vr-reserve-values{display:none}.vr-reserve-panel{top:96px;left:16px;height:min(760px,calc(100dvh - 112px))}}
@media(prefers-reduced-motion:reduce){.vr-reserve-arrow{transition:none}}
@media(min-width:1100px){.vr-compact body[data-view=wiki] #viewContent{height:100%;min-height:0;min-width:0}.vr-compact body[data-view=wiki] #vr-task-panel{overflow:hidden;padding-right:0}}

/* Sidebar framing: keep real control heights; scroll the rail rather than its cards. */
.vr-compact .navigation,.vr-compact .navigation nav{scrollbar-width:none}
.vr-compact .navigation::-webkit-scrollbar,.vr-compact .navigation nav::-webkit-scrollbar{display:none;width:0;height:0}
.vr-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.vr-compact .navigation>*{flex-shrink:0}
.vr-sidebar-actions{min-width:0;flex:0 0 auto}
.vr-sidebar-reserves{position:static;width:auto;flex:0 0 auto}
.vr-reserve-summary{height:auto;min-height:76px;grid-template-rows:auto auto auto;gap:6px;padding:11px 10px}
.vr-reserve-caption strong{font-size:12px;line-height:1.4}
.vr-reserve-set{font-size:11px;line-height:1.5;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.vr-reserve-values{font-size:11px;line-height:1.5;color:#d7c9e1}
.vr-reserve-panel{left:12px;top:12px;width:min(440px,calc(100vw - 24px));height:min(760px,calc(100dvh - 24px));grid-template-rows:auto minmax(0,1fr)}
.vr-reserve-heading{align-items:flex-start;min-width:0;padding:12px;gap:10px}
.vr-reserve-heading>div{min-width:0}.vr-reserve-heading h2{font-size:21px;overflow-wrap:anywhere}
.vr-reserve-heading p{line-height:1.5}.vr-reserve-close{min-width:68px}
.vr-reserve-body>.right-rail .rail-panel[hidden]{display:none!important}
#vrReservePanel .vr-reserve-body>.right-rail{display:grid}
.vr-equipment-context{font-size:12px;line-height:1.6;color:#d4c6d9;margin:0 0 12px}
.vr-material-status{border-top:1px solid #62536a;padding:14px 0 0;margin-top:14px;min-width:0}
.vr-material-status h3{font:18px/1.3 Georgia,serif;color:#e7d2ac;margin:0 0 8px}
.vr-material-status p{font-size:12px;line-height:1.6;color:#d3c7db;margin:0 0 10px}
.vr-material-list{list-style:none;padding:0;margin:0 0 10px;display:grid;gap:6px}
.vr-material-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;font-size:12px;line-height:1.5}
.vr-material-list li>span{overflow-wrap:anywhere}.vr-material-list b{color:#efe1c7;white-space:nowrap}
.vr-material-refresh,.vr-goal-destinations button{min-height:44px;font-size:12px;padding:8px 10px}
.vr-material-refresh[aria-disabled=true]{opacity:.65;cursor:default}
.vr-goal-destinations{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #62536a}
.vr-nav-overflow-hint{display:none;font-size:11px;color:#c5cddd;line-height:1.5;text-align:right}
.vr-nav-overflow-hint[hidden]{display:none!important}
.vr-compact .navigation .nav-button:focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}
@media(min-width:921px){.vr-compact .navigation nav .nav-button{grid-template-columns:24px minmax(0,1fr)}.vr-compact .nav-bottom{margin-top:20px}.vr-compact .route-meter{margin:18px 4px 0}}
@media(max-width:920px){
 .vr-compact .workspace{grid-template-rows:auto minmax(0,1fr)!important}
 .vr-compact .navigation{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible;padding:6px 8px;gap:4px}
 .vr-compact .navigation .nav-character{display:none!important}
 .vr-compact .navigation nav:not(.vr-goal-destinations){height:auto;min-height:52px;flex:0 0 auto;display:flex;gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-padding-inline:3px}
 .vr-compact .navigation nav .nav-button{flex:0 0 140px;min-height:48px;height:auto;grid-template-columns:24px minmax(0,1fr);padding:8px;white-space:normal;overflow-wrap:anywhere}
 .vr-nav-overflow-hint{display:block}
 .vr-sidebar-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:8px}
 .vr-sidebar-reserves{position:static;inset:auto;z-index:auto;margin:0;width:auto;min-width:0}
 .vr-reserve-summary{display:flex;align-items:center;min-height:48px;height:auto;padding:8px 10px;grid-template-rows:none}
 .vr-reserve-caption{width:100%;gap:8px;min-width:0}.vr-reserve-caption strong{white-space:normal}
 .vr-reserve-summary>.vr-reserve-set,.vr-reserve-summary>.vr-reserve-values{display:none}
 .vr-compact .navigation .cp-compact-trigger{min-width:0;white-space:normal;overflow-wrap:anywhere}
 .vr-reserve-panel{height:min(760px,calc(100dvh - 24px));top:12px;left:12px}
}
/* Desktop task and geography retain their own scroll without moving the host. */
.vr-compact .nm-shell.vr-journey-map.nm-complete{padding:0;text-align:left}.vr-map-placeholder>.qm-gap{display:flex;align-items:center;justify-content:center;height:100%;min-height:240px;text-align:center;line-height:1.6}
@media(min-width:1100px){
 .vr-compact body[data-view=route]:not(.minimal-hud) #nextAction .nm-shell.vr-journey-map{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(400px,1fr);grid-template-rows:minmax(0,1fr) 48px;gap:12px;background:#111822}
 .vr-compact body[data-view=route] .vr-journey-map>.nm-main{grid-column:1;grid-row:1;padding:20px 22px;background:linear-gradient(130deg,#282332,#1a2330);border:1px solid #57465f;border-radius:10px;scrollbar-gutter:stable}
 .vr-compact body[data-view=route] .vr-journey-map>.nm-art{display:block!important;grid-column:2;grid-row:1;min-width:0;min-height:0;max-height:none;overflow:auto;scrollbar-gutter:stable;margin:0;padding:12px;background:#191c28;border:1px solid #57465f;border-radius:10px}
 .vr-compact body[data-view=route] .vr-journey-map>.nm-art>.quest-map{margin:0;padding:14px;background:#1c1d29}
 .vr-compact body[data-view=route] .vr-journey-map>.nm-art figcaption{padding:10px 4px}
 .vr-compact body[data-view=route] .vr-journey-map>.nm-footer{grid-column:1/-1;grid-row:2;padding:8px 14px;min-height:48px;background:#171d28;border-radius:8px;border-top:1px solid #514158}
 .vr-compact body[data-view=route] .vr-journey-map>.nm-main h2{font-size:34px!important;margin:14px 0!important}
 .vr-compact body[data-view=route] .vr-journey-map .nm-route-steps section{padding:17px;margin:14px 0;background:#202738;border:1px solid #4b4058;border-radius:8px}
 .vr-compact body[data-view=route] .vr-journey-map .nm-instruction{font-size:17px!important}
 .vr-compact body[data-view=route] .vr-journey-map .nm-plan-note{margin:14px 0}
 .vr-compact body[data-view=route] .vr-journey-map .nm-actions{position:static;background:transparent;padding:10px 0}
 .vr-compact body[data-view=route] .vr-journey-map .nm-actions button.primary{font-size:14px;padding:12px 18px}
}
.vr-compact .rp-reference-page{border:1px solid #5c4867;border-radius:8px;background:#1c2130;margin:14px 0;overflow:hidden}
.vr-compact .rp-page-list{height:300px;min-height:300px;overflow:auto;margin:0;padding:10px 18px 10px 38px;scrollbar-gutter:stable}

/* Compact sidebar: fixed support actions, with overflow confined to destinations. */
.vr-compact .navigation{display:flex;flex-direction:column;gap:4px;padding:8px 12px;overflow:hidden}
.vr-compact .navigation>.nav-character{margin:0;padding:0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:4px 8px;align-items:center}
.vr-compact .nav-character .avatar-ring{padding:0;width:42px;height:42px;border-radius:9px;overflow:hidden}
.vr-compact .nav-character .avatar-ring img{width:40px;height:40px;object-fit:cover}
.vr-compact .nav-character b{max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.vr-compact .nav-character small{max-width:none;font-size:10px;line-height:1.4}
.vr-compact .nav-character>.origin-chip{position:static;grid-column:2;justify-self:start;font-size:9px;padding:1px 4px}
.vr-compact .navigation>.nav-character{height:64px;min-height:64px;grid-template-columns:28px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 16px;gap:2px 8px;padding:3px 7px;border:1px solid #746247;border-radius:8px;background:linear-gradient(135deg,#2d2638,#1b1d28);box-shadow:inset 0 1px 0 #ffffff0a}
.vr-compact .nav-character .avatar-ring{grid-row:1/3;align-self:center;width:28px;height:28px;border:1px solid #9b825c;border-radius:6px;box-shadow:0 2px 5px #0004}
.vr-compact .nav-character .avatar-ring img{width:26px;height:26px}
.vr-compact .nav-character>span:nth-child(2){min-width:0;align-self:center}
.vr-compact .nav-character b{font-size:12px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#efdfbd}
.vr-compact .nav-character small{font-size:10px;line-height:12px;color:#d0c4dc}
.vr-character-level,.vr-character-spec{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vr-compact .nav-character>.origin-chip{font-size:10px;line-height:14px;letter-spacing:0;padding:0 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.vr-compact .nav-character>.origin-chip[data-source=addon]{color:#a7e5b8;background:#1c382b;border-color:#5a9870}
.vr-compact .nav-character>.origin-chip[data-source=awaiting]{color:#efd29d;background:#382e22;border-color:#94764b}
.vr-compact .nav-character:focus-visible{outline:3px solid #f1d49c;outline-offset:2px}
html[data-vr-contrast=high].vr-compact .nav-character>.origin-chip[data-source=addon]{color:#bdffd0;background:#10291b;border-color:#8dcc9f}
html[data-vr-text-size=larger].vr-compact .navigation>.nav-character{height:76px;min-height:76px;grid-template-rows:minmax(0,1fr) 18px;padding-block:5px}
html[data-vr-text-size=larger].vr-compact .nav-character b{font-size:13px;line-height:16px}
html[data-vr-text-size=larger].vr-compact .nav-character small{font-size:11px;line-height:14px}
html[data-vr-text-size=larger].vr-compact .nav-character>.origin-chip{font-size:10px;line-height:14px}
@media(min-width:921px){.vr-compact .vr-primary-navigation>nav:not(.vr-goal-destinations){gap:2px}}
.vr-compact .navigation>.nav-caption{padding:6px 4px 4px;font-size:9px;line-height:1.3}
.vr-compact .navigation>.vr-primary-navigation{position:relative;display:flex;flex:1 1 auto;min-height:0;min-width:0}
.vr-compact .vr-primary-navigation>nav{display:grid;align-content:start;gap:3px;flex:1 1 auto;min-width:0;min-height:0;height:auto;overflow-x:hidden;overflow-y:auto}
.vr-compact .navigation nav .nav-button{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;min-height:48px;padding:6px 8px;font-size:13px;line-height:18px;white-space:normal}
.navigation nav .nav-button[hidden]{display:none!important}
.vr-compact .navigation nav .nav-button{border:1px solid #414451;border-radius:7px;background:linear-gradient(110deg,#222632,#191f2a);color:#e2d9e5;transition:background-color .15s,border-color .15s,color .15s}
.vr-compact .navigation nav .nav-button:hover{border-color:#a18a67;background:#30303d;color:#fff0cf}
.vr-compact .navigation nav .nav-button.active{border-color:#c4aa78;background:linear-gradient(110deg,#423748,#282b3b);color:#fff0cf;box-shadow:inset 3px 0 #e2c58a}
.vr-sidebar-actions{margin:0}
.vr-sidebar-reserves{margin:0;border-color:#655463;background:linear-gradient(115deg,#292432,#1b2430)}
.vr-reserve-summary{height:auto;min-height:48px;padding:6px 8px;grid-template-rows:auto auto;gap:2px}
.vr-reserve-set{font-size:11px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vr-reserve-summary>.vr-reserve-values{display:none}
.vr-guide-trigger{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto 8px;align-items:center;gap:4px;min-height:44px;margin:0;padding:5px 6px;text-align:left;border:1px solid #49414f;border-radius:6px;background:#1b1e28;color:#d5c9dc;font-size:11px;line-height:1.4}
.vr-guide-count{font-size:10px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap;color:#e5d0a6}
.vr-guide-arrow{font-size:18px;color:#e5d0a6}
.vr-guide-trigger:hover{background:#242633;color:#eee0c4}
.vr-guide-trigger{position:relative}
.vr-guide-trigger>span:not(.vr-guide-track),.vr-guide-trigger>.vr-guide-count{transform:translateY(-3px)}
.vr-guide-track{position:absolute;left:6px;right:6px;bottom:6px;height:3px;border-radius:2px;background:#665334;overflow:hidden;pointer-events:none}
.vr-guide-track[hidden]{display:none}
.vr-guide-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#b58b43,#f0d291);border-radius:inherit}
.vr-compact .navigation .nav-bottom{flex:0 0 auto;display:grid;grid-template-columns:6px minmax(0,1fr);grid-template-rows:auto 44px;gap:2px 6px;margin:0;padding:5px 0 0;align-items:center}
.vr-compact .nav-bottom .connection-dot{grid-column:1;grid-row:1}
.vr-compact .nav-bottom #syncStatus{grid-column:2;grid-row:1;max-width:none;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vr-compact .nav-bottom .cp-trigger{grid-column:1/-1;grid-row:2;min-height:44px;justify-content:flex-start;padding:8px;font-size:12px;border:1px solid #62506d;border-radius:6px;background:#262131}
.vr-screens-trigger{display:none}
.vr-nav-edge{position:absolute;z-index:3;pointer-events:none;right:-12px;width:12px;height:20px;display:flex;align-items:center;justify-content:center;border:1px solid #88724f;border-radius:4px;background:#272333;color:#f0d094;font-size:16px;line-height:1}
.vr-nav-edge[hidden]{display:none!important}
.vr-nav-start{top:0}.vr-nav-end{bottom:0}
.vr-nav-overflow-hint{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vr-screens-panel{position:fixed;z-index:1110;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 24px);display:grid;grid-template-rows:auto minmax(0,1fr);padding:10px;border:1px solid #a08a65;border-radius:10px;background:#1a1e2b;box-shadow:0 16px 60px #000a;color:#eee0c4}
.vr-screens-panel[hidden]{display:none!important}
.vr-screens-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.vr-screens-panel h2{font:21px/1.3 Georgia,serif;margin:0}
.vr-screens-identity{min-width:0;flex:1}
.vr-screens-context{margin:3px 0 0;font-size:11px;line-height:1.4;color:#d1c1d9;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vr-screens-panel>header button{min-height:48px;padding:8px 12px;font-size:12px}
.vr-screens-panel>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-height:0;overflow:auto}
.vr-screen-choice{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px;text-align:left;font-size:12px;line-height:1.4;color:#d8d0df;background:#222735;border:1px solid #4c4559;border-radius:6px}
.vr-screen-choice img{width:24px;height:24px;flex:none}
.vr-screen-choice[aria-current=page]{color:#f0d49d;border-color:#b69b6e;background:#332d3c;box-shadow:inset 3px 0 #e7cb89}
.vr-screens-panel :focus-visible,.vr-guide-trigger:focus-visible,.vr-screens-trigger:focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}
/* Both summaries lead; optional references and guide detail expand below them. */
.vr-reserve-panel{grid-template-rows:auto minmax(0,1fr) auto}
.vr-reserve-body{padding:12px}
.vr-equipment-status h3,.vr-material-status h3{margin:0 0 6px;font:18px/1.3 Georgia,serif;color:#e7d2ac}
.vr-equipment-context{margin:0 0 8px;font-size:12px;line-height:1.5}
.vr-material-status{margin-top:12px;padding-top:12px}
.vr-material-status p{margin-bottom:8px;line-height:1.5}
.vr-material-list:empty{display:none}
.vr-reference-details,.vr-guide-details{margin-top:12px;border-top:1px solid #544656}
.vr-reference-details>summary,.vr-guide-details>summary{cursor:pointer;min-height:44px;padding:10px 0;color:#d8c5a9;font-size:12px;line-height:1.5}
.vr-reference-note{font-size:11px;line-height:1.5;color:#cbbdd2;margin:0 0 10px}
.vr-reference-details>.right-rail{display:grid!important;position:static;top:auto;grid-template-columns:1fr;gap:12px;width:100%;height:auto;max-height:none;margin:0;padding:0}
.vr-reference-details .rail-panel[hidden],.vr-reference-details[hidden]{display:none!important}
.vr-guide-details .route-meter{display:block!important;margin:0;padding:8px 0;border:0;background:transparent}
.vr-goal-destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:10px;border-top:1px solid #655264;background:#202331}
.vr-goal-destinations button{min-width:0;min-height:44px;padding:6px;font-size:12px;line-height:1.4;white-space:normal}
/* Removed shared telemetry presentation; compatibility mounts do not reserve space. */
#telemetryHud,#vrWorkspaceTools{display:none!important}
.vr-compact .main-pane,.vr-compact body.minimal-hud .main-pane{grid-template-rows:minmax(0,1fr)!important;gap:0}
#vr-details-panel>.command-bar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}
@media(min-width:921px) and (max-height:800px){
 .vr-compact .navigation nav .nav-button{min-height:44px;padding:4px 8px}
}
@media(max-width:920px){
 .vr-compact .navigation{height:auto;display:flex;gap:4px;padding:4px 8px;overflow:visible}
 .vr-compact .navigation>.nav-character,.vr-compact .navigation>.nav-caption,.vr-compact .navigation>.nav-bottom,.vr-guide-trigger{display:none!important}
 .vr-compact .navigation>.vr-primary-navigation{flex:0 0 auto;gap:4px;min-height:48px}
 .vr-screens-trigger{display:block;flex:0 0 72px;min-height:48px;padding:6px;font-size:12px;line-height:1.3;color:#e9d0a5;border:1px solid #776181;border-radius:7px;background:#2a2333}
 .vr-screens-trigger::after{content:' ▾'}
 .vr-screens-trigger[aria-expanded=true]{background:#3a3045;border-color:#d2b27b}
 .vr-compact .vr-primary-navigation>nav:not(.vr-goal-destinations){display:flex;flex:1 1 0;gap:4px;width:0;height:48px;min-height:48px;margin-inline:16px;overflow-x:auto;overflow-y:hidden}
 .vr-compact .navigation nav .nav-button{flex:0 0 132px;height:48px;min-height:48px;display:flex;justify-content:flex-start;gap:8px;padding:6px 8px;font-size:12px;line-height:16px;text-align:left}
 .vr-compact .navigation nav .nav-button img{width:20px;height:20px;flex:none}
 .vr-nav-edge{top:13px;bottom:auto;width:14px;height:22px;font-size:19px}
 .vr-nav-start{left:76px;right:auto}.vr-nav-end{right:0}
 .vr-sidebar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .vr-reserve-summary{display:grid;grid-template-rows:auto auto;align-content:center;gap:1px;min-height:48px;height:auto;padding:5px 8px}
 .vr-reserve-caption{width:100%;min-width:0;line-height:16px}.vr-reserve-caption strong{font-size:12px}
 .vr-reserve-summary>.vr-reserve-set{display:block;min-width:0;font-size:10px;line-height:13px}
 .vr-sidebar-actions>.cp-compact-trigger{min-height:48px;padding:6px 8px;font-size:12px;line-height:1.4}
 .vr-goal-destinations button,.vr-material-refresh{min-height:48px}
}
.vr-compact div.rp-page-list{padding-left:18px}
.vr-compact .rp-page-list>li,.vr-compact .rp-page-list>[data-route-blocker]{min-height:64px;margin:0;padding:10px 0;border-bottom:1px solid #57475f;font-size:13px;overflow-wrap:anywhere}
.vr-compact .rp-page-list button{min-height:32px;text-align:left;max-width:100%;white-space:normal}
.vr-compact .rp-page-list small{display:block;font-size:12px;line-height:1.5;color:#c5b7d1}
.vr-compact .rp-page-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 14px;border-top:1px solid #5c4867}
.vr-compact .rp-page-controls button{min-height:44px;font-size:12px;min-width:110px}
.vr-compact .rp-page-controls [role=status]{font-size:12px;color:#dcc9e9;font-variant-numeric:tabular-nums}
.vr-compact .rp-page-controls button:focus-visible{outline:3px solid #f0d29b;outline-offset:-3px}
/* Shared addon action: decoration survives connection-label refreshes. */
.vr-compact .nav-bottom .cp-trigger,.vr-compact .vr-sidebar-actions>.cp-compact-trigger{position:relative;align-items:center;justify-content:flex-start;gap:8px;padding:7px 9px;border:1px solid #a38962;border-radius:8px;background:linear-gradient(135deg,#3d304b,#282334 85%);color:#f1dfba;font-weight:600;line-height:1.4;text-align:left;white-space:normal;box-shadow:inset 0 1px 0 #ffffff12,0 2px 5px #0003;transition:background .15s,border-color .15s,box-shadow .15s}
.vr-compact .nav-bottom .cp-trigger{display:flex}
.vr-compact .nav-bottom .cp-trigger::before,.vr-compact .vr-sidebar-actions>.cp-compact-trigger::before{content:'';display:block;flex:0 0 24px;width:24px;height:24px;border:1px solid #b797625e;border-radius:6px;background-color:#211d2b;background-image:url("/assets/ui-wow/inv_misc_gear_01.jpg");background-position:center;background-repeat:no-repeat;background-size:22px}
.vr-compact .nav-bottom .cp-trigger:hover,.vr-compact .vr-sidebar-actions>.cp-compact-trigger:hover{border-color:#e2c58d;background:linear-gradient(135deg,#4a3959,#332a40 85%);box-shadow:inset 0 1px 0 #ffffff18,0 2px 6px #0004}
.vr-compact .nav-bottom .cp-trigger:focus-visible,.vr-compact .vr-sidebar-actions>.cp-compact-trigger:focus-visible{outline:3px solid #f1d49c;outline-offset:-3px}
.vr-compact .nav-bottom .cp-trigger:active,.vr-compact .vr-sidebar-actions>.cp-compact-trigger:active{background:#302639;box-shadow:inset 0 2px 4px #0005}
@media(prefers-reduced-motion:reduce){.vr-compact .nav-bottom .cp-trigger,.vr-compact .vr-sidebar-actions>.cp-compact-trigger{transition:none}}
/* Retain the existing Guide detail without its former sidebar summary tile. */
#vrSidebarReserves[hidden]{display:none!important}
#vrRetiredPlanningMount{display:none!important}
@media(min-width:921px){.vr-compact .navigation>.vr-sidebar-actions{display:none}}
@media(max-width:920px){.vr-compact .vr-sidebar-actions{grid-template-columns:minmax(0,1fr)}}

/* Dungeon destination: intentionally empty until its content is available. */
.dungeon-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;margin:18px;padding:32px 20px;text-align:center;border:1px solid #645267;border-radius:10px;background:linear-gradient(135deg,#292436,#1b222b)}.dungeon-welcome img{border:1px solid #a98a55;border-radius:8px;box-shadow:0 4px 18px #0006}.dungeon-welcome h2{margin:24px 0 10px;color:#e3cda4;font:26px/1.3 Georgia,serif}.dungeon-welcome p{color:#c1b3ce;line-height:1.6}.dungeon-welcome small{margin-top:24px;color:#a89ab7}

.vr-reference-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:10px 14px;background:#202232;border:1px solid #5d4967;border-radius:7px;margin:10px 0;font-size:12px;color:#dbcae6}
.vr-reference-controls button{min-width:106px;min-height:44px;padding:8px 10px;font-size:12px}.vr-reference-controls [role=status]{font-variant-numeric:tabular-nums;text-align:center;line-height:1.5}.vr-reference-controls button:focus-visible{outline:3px solid #f0d29b;outline-offset:-3px}.vr-reference-controls button:disabled{opacity:.5;cursor:not-allowed}
.vr-reference-limit{font-size:12px;line-height:1.5;color:#d2bd9a;margin:8px 0}
@media(max-width:600px){.vr-reference-controls{gap:6px;padding:8px 6px}.vr-reference-controls button{min-width:80px}.vr-reference-controls [role=status]{font-size:11px}}

/* Journey composition. Every shell override is limited to this screen. */
html.vr-compact body[data-view=route]:not(.minimal-hud) .main-pane{grid-template-rows:minmax(0,1fr);gap:0;padding:16px 20px}
html.vr-compact body[data-view=route] #vrWorkspaceTools,html.vr-compact body[data-view=route] #spotlightTrigger{display:none!important}
html.vr-compact.vr-topbar body[data-view=route] .character-strip #spotlightTrigger{display:none!important}
html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel{padding:0;overflow:auto;scrollbar-gutter:auto}
html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel>.next-action-panel{background:transparent;border:0;box-shadow:none;overflow:visible}
html.vr-compact body[data-view=route] .next-action-panel>.section-label{display:none}
html.vr-compact body[data-view=route]:not(.minimal-hud) #nextAction{overflow:visible}
.jy-dashboard{--jy-body:clamp(14px,.45vw,18px);--jy-caption:clamp(12px,.36vw,15px);--jy-heading:clamp(22px,.85vw,28px);height:100%;max-height:none;max-width:none;margin:0;min-width:0;min-height:780px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-template-areas:"plan hud map" "gear move quest";gap:12px;color:#eee7db;font-size:var(--jy-body)}
.jy-dashboard>section{box-sizing:border-box;min-height:0;min-width:0;margin:0;padding:16px;display:flex;flex-direction:column;container-type:size;background:linear-gradient(140deg,#202631,#171f29);border:1px solid #baa27338;border-radius:10px;overflow:hidden;box-shadow:0 8px 24px #06090e24}
.jy-dashboard>.jy-plan{grid-area:plan}.jy-dashboard>.jy-hud{grid-area:hud}.jy-dashboard>.jy-map{grid-area:map}.jy-dashboard>.jy-gear{grid-area:gear}.jy-dashboard>.jy-move{grid-area:move}.jy-dashboard>.jy-quest{grid-area:quest}
.jy-dashboard :is(h2,h3){letter-spacing:-.02em}.jy-dashboard h2{font:500 var(--jy-heading)/1.2 Georgia,'Times New Roman',serif;color:#efddba;margin:0}
.jy-cell-heading,.jy-support-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;margin:0 0 14px;min-height:30px}
.jy-kicker{font:600 11px/1.4 system-ui,sans-serif;letter-spacing:.1em;color:#c6b18b}.jy-support-heading>div>.jy-kicker{display:block;margin-bottom:5px}
.jy-plan-state{font-size:var(--jy-caption);line-height:1.4;color:#c2b4d0;text-align:right;max-width:110px}
.jy-dashboard button{cursor:pointer}.jy-dashboard button:disabled{cursor:default;opacity:.38}.jy-dashboard :is(button,input,select,summary):focus-visible{outline:3px solid #f3d697!important;outline-offset:3px}
.jy-sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* Three route rows retain their context without becoming giant empty cards. */
.jy-circuit-name{margin:0 0 12px;color:#bcb4c7;font-size:var(--jy-caption);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex-shrink:0}
.jy-plan-steps{min-height:0;display:grid;grid-template-rows:repeat(3,minmax(58px,1fr));gap:6px;flex:1;margin:0 0 12px;padding:0;list-style:none}
.jy-plan-steps>li{min-height:0;min-width:0}.jy-step{box-sizing:border-box;width:100%;height:100%;min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) 12px;gap:10px;align-items:center;padding:10px!important;background:#ffffff02!important;border:1px solid transparent!important;border-radius:6px!important;color:#eee2cf!important;text-align:left;font:inherit}
.jy-step:hover{background:#e8c98e0b!important;border-color:#d1b27244!important}.jy-step.is-selected{background:linear-gradient(110deg,#b9985824,#674a7920)!important;border-color:#c6a76d88!important;box-shadow:inset 3px 0 #e0bd7b}
.jy-step-order{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#aaa5b7}.jy-step.is-selected .jy-step-order{color:#e7ce9b}.jy-step-content{display:grid;gap:4px;min-width:0}.jy-step-content b{font-size:var(--jy-body);line-height:1.35;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jy-step-content small{font-size:var(--jy-caption);line-height:1.4;color:#c1b5cb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jy-step-chevron{font-size:22px;color:#c6a873}
.jy-plan-progress{flex-shrink:0;padding-top:12px;border-top:1px solid #c5aa7b28}.jy-plan-progress>span{display:flex;justify-content:space-between;gap:10px;font-size:var(--jy-caption);line-height:1.4;color:#c4b9cd}.jy-plan-progress b{font-variant-numeric:tabular-nums;color:#e7cf9f}.jy-plan-progress progress{width:100%;height:5px;display:block;margin:8px 0 9px;accent-color:#c6a76d}
.jy-plan-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}.jy-plan-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px!important;padding:7px 0!important;background:none!important;border:0!important;color:#e3c99c!important;text-align:left;font-size:var(--jy-caption)!important}.jy-plan-link:hover{color:#fff1cf!important}.jy-plan-bottom>.jy-plan-link{flex:1}.jy-circuit-buttons{display:flex;gap:6px}.jy-circuit-buttons button{width:36px;min-height:36px;padding:5px;background:#ffffff05;border:1px solid #bda27644;color:#e3c898;font-size:18px}
.jy-plan-empty{grid-row:1/-1;align-self:center;padding:12px 0;color:#c9bcd3;font-size:var(--jy-body);line-height:1.6}
/* The snapshot remains one of the six equal cells. */
.jy-dashboard>.jy-hud{padding:0;background:linear-gradient(115deg,#1c292a,#202535 75%)}
.jy-hud>.nm-hud{box-sizing:border-box;display:flex;flex-direction:column;gap:10px;width:100%;height:100%;min-height:0;padding:16px;border:0;border-radius:10px;margin:0;background:none;box-shadow:none}
.jy-hud .nm-hud-identity{flex-shrink:0;margin:0;gap:10px;min-width:0}.jy-hud .nm-hud-level{width:40px;height:40px;flex-basis:40px;font-size:24px}.jy-hud .nm-hud-identity>div>b{font-size:19px;line-height:1.25}.jy-hud .nm-hud-identity>div>span{font-size:var(--jy-caption);line-height:1.4}.jy-hud .nm-hud-mode{display:none}
.jy-hud .nm-hud-bars{flex-shrink:0;gap:7px}.jy-hud .nm-hud-resource>div:first-child{font-size:var(--jy-caption);line-height:1.3;margin-bottom:3px}.jy-hud .nm-hud-resource b{font-size:var(--jy-caption)}.jy-hud .nm-hud-resource small{font-size:11px}.jy-hud .nm-hud-track{height:6px}.jy-hud .nm-hud-resource.is-unknown .nm-hud-track{display:none}.jy-hud .nm-hud-resource.is-unknown{opacity:.75}
.jy-hud .nm-hud-xp{flex-shrink:0;margin:0}.jy-hud .nm-hud-xp>div:first-child{font-size:var(--jy-caption);margin-bottom:5px}.jy-hud .nm-hud-xp .nm-hud-track{height:4px}.jy-hud .nm-hud-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:auto 0 0;padding:0;flex-shrink:0}.jy-hud .nm-hud-metric{box-sizing:border-box;min-height:58px!important;padding:6px!important;gap:2px!important}.jy-hud .nm-hud-metric>span{font-size:10px}.jy-hud .nm-hud-metric>b{font-size:18px}.jy-hud .nm-hud-metric>small{font-size:10px;line-height:1.3}.jy-hud .nm-hud-location{margin:0;font-size:var(--jy-caption);flex-shrink:0}
.jy-hud .nm-hud-source{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:0;border:0;font-size:var(--jy-caption);min-width:0;flex-shrink:0}.jy-hud .nm-hud-source small{font-size:10px;line-height:1.4}.jy-hud .nm-hud-source button{min-height:34px;padding:6px 9px;font-size:var(--jy-caption);flex-shrink:0}.jy-hud .nm-hud-alert{padding:4px 7px;margin:0!important;font-size:11px!important;line-height:1.35!important;flex-shrink:0}
.jy-hud>.nm-hud-empty{gap:18px}.jy-hud-empty{min-width:0;margin:auto 0;padding:16px 0;border-block:1px solid #c5b18135}.jy-hud-empty-title{font-size:17px;font-weight:600;color:#e4d7bd;margin:0 0 9px}.jy-hud-empty-copy{font-size:var(--jy-body);line-height:1.5;color:#bdb4ca;margin:5px 0}.jy-hud>.nm-hud-empty .nm-hud-source>span>small{display:none}
/* Quest facts follow the selected objective; inspection has its own identity. */
.jy-quest-title h3{font:500 clamp(25px,1vw,34px)/1.15 Georgia,serif;color:#f1dfbb;margin:0 0 7px}.jy-quest-title>span{font-size:var(--jy-caption);line-height:1.4;color:#bdb3c9}.jy-quest-stage{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px;padding-top:12px;border-top:1px solid #c5aa7b28;font-size:var(--jy-caption);line-height:1.4;color:#d0b684}.jy-quest-stage>span{text-transform:uppercase;letter-spacing:.06em;font-size:11px}.jy-quest-stage>b{color:#cec5d6;font-weight:500}
.jy-quest-facts{margin:0;padding:0;list-style:none;display:grid;gap:12px}.jy-quest-facts li,.jy-quest-facts .nm-location{display:grid;gap:5px;margin:0;min-width:0}.jy-quest-facts b,.jy-quest-facts .nm-location b{font-size:var(--jy-body);font-weight:600;line-height:1.4;color:#eee1cf}.jy-quest-facts small,.jy-quest-facts .nm-location small{font-size:var(--jy-caption);line-height:1.5;color:#c5b8d0}.jy-quest-facts li.is-current{padding:9px 11px;background:#d0ad6e0c;border-left:2px solid #d0ad6e;border-radius:0 5px 5px 0}
.jy-quest-gap,.jy-quest-location-note,.jy-inspection-note{font-size:var(--jy-caption);line-height:1.5;color:#c6b7d0;margin:12px 0}.jy-quest-location-note{color:#d2b98b}.jy-inspection-note{margin:0 0 12px;padding:8px 10px;background:#8b66a41a;border-left:2px solid #ac87c5;color:#d7bee9}
.jy-return-now{min-height:36px!important;padding:7px 10px!important;font-size:var(--jy-caption)!important;white-space:nowrap;color:#e8d3f4;background:#74608222;border:1px solid #ab8bb95c}.jy-quest-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:14px;border-top:1px solid #c5aa7b28}.jy-quest-footer>span{font-size:var(--jy-caption);line-height:1.5;color:#bdb2c7}.jy-quest-footer button{min-height:36px;padding:7px 0 7px 8px;border:0;background:none;color:#e2c598;font-size:var(--jy-caption);text-align:right;flex-shrink:0}
/* The next action keeps its reason and primary action in the same pane. */
.jy-dashboard>.jy-move{background:linear-gradient(125deg,#312a38,#1b2531);border-color:#c7a87150}.jy-action-main{padding:0 0 10px}.jy-action-badge{display:inline-block;font-size:var(--jy-caption);line-height:1.4;color:#c1dfc9;border:1px solid #88b39244;background:#4c785424;border-radius:4px;padding:5px 8px}.jy-action-badge.is-verification{color:#e5ca9a;border-color:#bd975a55;background:#a279391c}.jy-action-main h3{font:500 clamp(25px,1vw,34px)/1.2 Georgia,serif;color:#f5e3bf;margin:12px 0 8px}.jy-action-target{font-size:var(--jy-body);line-height:1.45;color:#d8c9e0;margin:0}.jy-action-objective{display:grid;gap:5px;font-size:var(--jy-body);line-height:1.45;color:#f1d9a7;margin:9px 0 0}.jy-action-objective small{font-size:var(--jy-caption);font-weight:400;color:#c6b8d0}
.jy-action-reason{font-size:var(--jy-body);line-height:1.55;color:#d0c3da;margin:5px 0 12px;max-width:65ch}.jy-action-reason>b{display:block;font-size:11px;font-weight:600;line-height:1.4;color:#d0b584;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}.jy-action-caution{font-size:var(--jy-caption);line-height:1.45;color:#e3c58f;margin:0 0 12px}.jy-action-controls{margin-top:auto;padding-top:12px;flex-shrink:0}.jy-action-controls .nm-actions{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(140px,1fr);gap:12px;margin:0!important;padding:0!important;position:static;background:none;align-items:end}.jy-action-controls .nm-actions button.primary{min-height:44px;padding:11px 14px;font-size:var(--jy-body);border-radius:6px;white-space:nowrap}.jy-action-controls .nm-actions button.primary>span{display:none}.jy-action-controls .nm-status-control{display:grid;gap:6px;font-size:var(--jy-caption);min-width:0}.jy-action-controls .nm-status-control select{width:100%;min-width:0;min-height:44px;padding:9px;font-size:var(--jy-body)}.jy-action-controls>button{min-height:44px;padding:10px 14px;font-size:var(--jy-body)}
/* The game inventory order stays inside the original equipment cell. */
.jy-equipment-count{font-size:var(--jy-caption);color:#e9cf9c;white-space:nowrap;font-variant-numeric:tabular-nums}.jy-equipment-source,.jy-equipment-time{margin:0;font-size:11px;line-height:1.4;color:#bfb2cc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.jy-equipment-time{font-size:10px;color:#998fa6;margin-top:2px}.jy-paperdoll{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 30px;gap:5px;margin:8px 0 4px}.jy-equipment-column,.jy-equipment-weapons{min-height:0;display:grid;grid-template-rows:repeat(8,minmax(0,1fr));gap:3px;list-style:none;padding:0;margin:0}.jy-equipment-column li,.jy-equipment-weapons li{min-width:0;min-height:0}.jy-equipment-weapons{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:5px}.jy-equipment-item{box-sizing:border-box;display:flex;align-items:center;gap:5px;width:100%;height:100%;min-height:0;padding:1px 4px;border:1px solid #baa27330;border-radius:4px;background:#10172270;color:#eee2cf;text-align:left;font:inherit}.jy-equipment-item>img{width:24px;height:24px;max-height:100%;object-fit:contain;flex:0 0 auto;border-radius:2px;border:1px solid #b59b6c50}.jy-equipment-item>span{min-width:0;display:grid;gap:1px}.jy-equipment-item small{font-size:10px;line-height:1.1;color:#baafc6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jy-equipment-item b{font-size:12px;font-weight:500;line-height:1.1;color:var(--jy-item-quality,#b6adbf);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jy-paperdoll .is-unassigned .jy-equipment-item{border-color:#a598ba1b;background:#11182135}.jy-paperdoll .is-unassigned img{opacity:.35}.jy-paperdoll .is-unassigned b{color:#938b9e;font-weight:400}.jy-paperdoll button:hover{border-color:#c9aa6a8c;background:#c9aa6a12}.jy-equipment-right .jy-equipment-item{flex-direction:row-reverse;text-align:right}.jy-equipment-spacer{min-width:0;min-height:0}.jy-equipment-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;margin-top:auto}.jy-equipment-footer .jy-plan-link{min-height:28px!important;padding:3px 0!important;font-size:11px!important}.jy-equipment-retry{min-height:28px;padding:3px 6px;font-size:10px;background:none;border:1px solid #b69b6940;color:#dec58f}
@container(max-height:420px){.jy-equipment-item small{font-size:9px}.jy-equipment-item b{font-size:11px}.jy-equipment-item>img{width:21px;height:21px}}
@container(max-width:360px){.jy-paperdoll{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:3px}.jy-equipment-item{gap:3px;padding-inline:2px}.jy-equipment-item>img{width:21px;height:21px}.jy-equipment-item b{font-size:10px}.jy-equipment-source{font-size:10px}}
/* Map art and an always-visible location legend share one stable pane. */
.jy-map-caption{flex-shrink:0;font-size:var(--jy-caption);line-height:1.4;color:#c2b3cd;margin:-6px 0 14px}.jy-map-content{flex:1;min-height:0;display:flex;flex-direction:column}.jy-map-content>.quest-map{height:100%;min-height:0;display:flex;flex-direction:column;padding:0;margin:0;border:0;background:none}.jy-map-content .qm-header{display:none}.jy-map-content .qm-controls{flex-shrink:0;display:flex;flex-wrap:nowrap;gap:12px;margin:0 0 12px}.jy-map-content .qm-controls label{display:flex;align-items:center;gap:8px;min-width:0;flex:1;font-size:var(--jy-caption)}.jy-map-content .qm-controls select{min-width:0;flex:1;min-height:40px;padding:8px;font-size:var(--jy-caption)}
.jy-map-art-slot{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden;margin:0 0 12px}.jy-map-art-slot>.qm-frame{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#111821}.jy-map-content .qm-image-plane{flex-shrink:0;max-width:100%;max-height:100%;width:100%;height:auto;aspect-ratio:1002/668}.jy-map-content .qm-image{display:block;width:100%;height:100%;object-fit:fill}.jy-map-content .qm-open-map{flex-shrink:0;width:100%;min-height:42px;margin:0 0 10px;padding:9px 12px;font-size:var(--jy-body)}
.jy-map-content .qm-location-panel{flex-shrink:0;margin:0 0 8px;padding:0;border:0;background:none}.jy-map-content .qm-location-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#b7a9c6}.jy-map-content .qm-location-tools [role=group]:not(:has(button:not(:disabled))){display:none}.jy-map-content .qm-location-tools button{min-height:30px;padding:5px 8px;font-size:12px}.jy-map-content .qm-locations{display:grid;gap:6px;max-height:124px;overflow:auto;list-style:none;margin:7px 0 0;padding:0}.jy-map-content .qm-locations li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px 8px;align-items:center;padding:8px 10px;border:1px solid #a78a6033;border-radius:5px;background:#0f16224d}.jy-map-content .qm-locations li>button{min-height:26px;padding:0;text-align:left;background:none;border:0;color:#ecdbbc;font-size:var(--jy-body)}.jy-map-content .qm-locations li>small,.jy-map-content .qm-locations li>.qm-unknown{grid-column:2;font-size:var(--jy-caption);line-height:1.4;color:#bfb1cb}.jy-map-content .qm-role{font-size:12px;grid-column:1;grid-row:1/3}
.jy-map-details{flex-shrink:0;min-width:0;margin:0;padding:0;border:0;background:none}.jy-map-details>summary{box-sizing:border-box;min-height:36px;padding:9px 0;font-size:var(--jy-caption);line-height:1.5;color:#d6bd91;cursor:pointer}.jy-map-records{max-height:180px;overflow:auto;padding:10px 12px;border:1px solid #b7986744;border-radius:6px;background:#151c28;font-size:var(--jy-caption)}.jy-map-records .qm-trust{margin:0 0 10px;font-size:var(--jy-caption);line-height:1.5;color:#c7bad1}.jy-map-records .qm-provenance{margin:0}.jy-map-content>.qm-gap,.jy-map-content .quest-map>.qm-gap{flex-shrink:0;padding:12px;margin:0 0 10px;font-size:var(--jy-caption);line-height:1.5;border-color:#a98d594d}.jy-empty{margin:auto 0;color:#cbbcd5;font-size:var(--jy-body);line-height:1.6}
body[data-view=route] dialog.qm-overlay::backdrop{background:#080c14bd;backdrop-filter:blur(2px)}
/* The desktop design is fixed at three equal columns and two equal rows. */
@container (max-height:390px){
 .jy-cell-heading,.jy-support-heading{min-height:26px;margin-bottom:8px}.jy-dashboard h2{font-size:22px}.jy-circuit-name{margin-bottom:7px}.jy-plan-steps{grid-template-rows:repeat(3,minmax(44px,1fr));gap:3px;margin-bottom:6px}.jy-step{min-height:44px;padding:6px!important}.jy-plan-progress{padding-top:7px}.jy-plan-progress progress{margin:5px 0}.jy-plan-link{min-height:32px!important;padding:4px 0!important}.jy-circuit-buttons button{min-height:30px;width:32px}.jy-action-main{padding-bottom:5px}.jy-action-main h3{font-size:24px;margin:7px 0 5px}.jy-action-badge{padding:3px 6px}.jy-action-objective{gap:3px;margin-top:6px}.jy-action-reason{font-size:13px;line-height:1.4;margin:4px 0 7px}.jy-action-reason>b{margin-bottom:3px}.jy-action-caution{margin-bottom:6px}.jy-action-controls{padding-top:6px}.jy-action-controls .nm-actions button.primary,.jy-action-controls .nm-status-control select{min-height:38px;padding:7px;font-size:13px}.jy-action-controls .nm-status-control{gap:3px}.jy-quest-title h3{font-size:24px}.jy-quest-stage{margin:10px 0 8px;padding-top:8px}.jy-inspection-note{margin-bottom:7px;padding:5px 7px}.jy-quest-facts{gap:7px}.jy-quest-facts small{line-height:1.35}.jy-quest-location-note{margin:7px 0}.jy-quest-footer{padding-top:7px}.jy-hud>.nm-hud{padding:12px;gap:7px}.jy-hud .nm-hud-identity>div>b{font-size:18px}.jy-hud .nm-hud-level{height:34px;width:34px;flex-basis:34px;font-size:22px}.jy-hud .nm-hud-metric{min-height:48px!important;padding:4px!important}.jy-hud .nm-hud-source small{font-size:9px}.jy-hud-empty{padding:10px 0}.jy-hud-empty-copy{font-size:13px}
}
@container (max-width:360px){.jy-cell-heading .jy-kicker{display:none}.jy-action-controls .nm-actions{grid-template-columns:minmax(0,1fr) minmax(105px,.9fr);gap:7px}.jy-action-controls .nm-actions button.primary{white-space:normal}.jy-map-content .qm-controls label{flex-direction:column;align-items:stretch;gap:3px}}
@container (max-height:340px){.jy-circuit-name{display:none}.jy-plan-link{box-sizing:border-box;min-height:30px!important}.jy-plan-progress{padding-top:5px}.jy-plan-progress>span{font-size:11px}.jy-step-content b{font-size:13px}.jy-step-content small{font-size:11px}.jy-step{grid-template-columns:38px minmax(0,1fr) 10px;gap:6px}.jy-hud-empty-copy{font-size:12px;line-height:1.4}}
@media(max-width:999px){html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel{overflow:auto}.jy-dashboard{height:auto;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,440px);grid-template-areas:"plan hud" "map gear" "move quest"}}
@media(max-width:600px){html.vr-compact body[data-view=route]:not(.minimal-hud) .main-pane{padding:12px}.jy-dashboard{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,440px);grid-template-areas:"plan" "hud" "map" "gear" "move" "quest";gap:10px}}
/* Fit the actual image plane, so map coordinates never use a cropped frame. */
.jy-map-art-slot{container-type:size}
.jy-map-art-slot>.qm-frame{width:min(100%,calc(100cqh * var(--qm-map-ratio,1.5)));height:auto;max-height:100%;aspect-ratio:var(--qm-map-ratio,1.5);display:block;flex-shrink:0;margin-inline:auto}
.jy-map-content .qm-image-plane{width:100%;height:auto;max-width:none;max-height:none;aspect-ratio:inherit}
.jy-map-content .qm-image{object-fit:contain}
.jy-map-content .qm-location-panel{display:block;height:auto;min-height:0}
.jy-map-content .qm-location-tools{min-height:22px}
.jy-map-content .qm-location-panel>.qm-locations{height:auto;max-height:130px;grid-auto-rows:min-content;align-content:start;margin-top:7px}
.jy-map-content .qm-locations li{min-height:0;align-content:center}
.jy-map-content .qm-locations li>span:not(.qm-role){min-width:0}
.jy-map-content .qm-locations li>span:not(.qm-role)>button{min-height:28px;padding:0;font-size:var(--jy-body);text-decoration:none;color:#ead7b5}
.jy-map-content .qm-locations li>span:not(.qm-role)>small{font-size:var(--jy-caption);line-height:1.4;color:#bdafca}
.jy-workspace:not(.jy-dashboard){height:100%;display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px}.jy-support{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:16px;min-height:0}.jy-task-stage{min-height:0;min-width:0}
@media print{.jy-dashboard{height:auto;max-height:none;grid-template-rows:repeat(2,420px)}.jy-dashboard button{display:none!important}}

/* Action guidance fits the cell; it is not a nested scrolling region. */
.jy-action-copy{flex:0 0 auto;min-height:0;overflow:visible;padding:0}
.jy-action-controls{margin-top:auto}
.jy-map-content .qm-controls{order:0}.jy-map-content .qm-unknown{order:1}.jy-map-art-slot{order:2}.jy-map-content .qm-location-panel{order:3}.jy-map-content .qm-open-map{order:4}.jy-map-content .jy-map-details{order:5}
.jy-quest-title,.jy-quest-stage,.jy-quest-footer,.jy-quest-location-note,.jy-inspection-note{flex-shrink:0}
.jy-quest-facts{min-height:0;overflow:auto;scrollbar-width:thin}
/* Reference details open above the map footer without changing any cell size. */
.jy-map-details{position:relative}.jy-map-records{position:absolute;z-index:1150;top:auto;bottom:36px;right:0;box-sizing:border-box;width:min(460px,calc(100cqw - 32px));max-height:min(270px,calc(100cqh - 76px));overflow:auto;background:#151c28;box-shadow:0 14px 45px #0009}
.jy-map-content .qm-controls{gap:8px;margin-bottom:7px}.jy-map-content .qm-controls select{min-height:32px;padding:5px;font-size:12px}.jy-map-caption{margin:-3px 0 8px}.jy-map-content .qm-open-map{width:48%;min-height:32px;padding:6px;margin:7px 0 0;font-size:12px}.jy-map-content .jy-map-details{box-sizing:border-box;width:49%;align-self:flex-end;min-height:32px;margin-top:-32px}.jy-map-content .jy-map-details>summary{min-height:32px;padding:6px 0;font-size:11px}.jy-map-art-slot{margin-bottom:0}.jy-map-content .qm-location-panel{margin:5px 0 0}.jy-map-content .qm-location-tools{min-height:18px;font-size:10px}.jy-map-content .qm-location-panel>.qm-locations{max-height:78px;margin-top:3px;gap:3px}.jy-map-content .qm-locations li{padding:4px 7px}.jy-map-content .qm-locations li>span:not(.qm-role)>button{min-height:22px;font-size:13px}.jy-map-content .qm-locations li>span:not(.qm-role)>small{font-size:11px;line-height:1.3}.jy-map-content .qm-unknown{font-size:11px!important;line-height:1.3!important;margin:0 0 4px!important}
/* Journey keeps source diagnostics on demand, with one bounded scroll surface. */
.jy-dashboard .jy-map-details{overflow:visible}
.jy-dashboard .jy-map-records{overscroll-behavior:contain}
.jy-dashboard .jy-map-details[open]>summary{margin-bottom:0}
.jy-dashboard .jy-map-records .qm-source-locations{margin:10px 0;padding:0;border:0;border-radius:0;background:none}
.jy-dashboard .jy-map-records .qm-locations,.jy-dashboard .jy-map-records .qm-source-locations>ul,.jy-dashboard .jy-map-records .qm-objective-areas ol{max-height:none;overflow:visible;scrollbar-gutter:auto}
/* The desktop grid uses the space left by the actual shell and plan bar. */
@media(min-width:1000px){
 html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel,
 html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel>.next-action-panel,
 html.vr-compact body[data-view=route]:not(.minimal-hud) #nextAction{overflow:hidden}
 .jy-dashboard{min-height:0}
 @container(max-height:310px){
  .jy-cell-heading,.jy-support-heading{min-height:24px;margin-bottom:5px;gap:6px}
  .jy-dashboard h2{font-size:20px}.jy-support-heading>div>.jy-kicker{display:none}
  .jy-plan-state{font-size:11px}.jy-plan-steps{grid-template-rows:repeat(3,minmax(36px,1fr));gap:3px;margin-bottom:4px}
  .jy-step{min-height:36px;padding:3px 5px!important}.jy-step-content{gap:1px}
  .jy-plan-progress{padding-top:4px}.jy-plan-progress progress{margin:4px 0}
  .jy-plan-link{min-height:28px!important;padding:3px 0!important}.jy-circuit-buttons button{min-height:28px;width:28px;padding:2px}
  .jy-hud>.nm-hud{padding:10px;gap:5px}.jy-hud .nm-hud-level{width:30px;height:30px;flex-basis:30px;font-size:20px}
  .jy-hud .nm-hud-identity>div>b{font-size:16px}.jy-hud .nm-hud-identity>div>span{font-size:11px}
  .jy-hud .nm-hud-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .jy-hud .nm-hud-resource>div:first-child,.jy-hud .nm-hud-resource b,.jy-hud .nm-hud-xp>div:first-child{font-size:11px}
  .jy-hud .nm-hud-metric{min-height:38px!important;padding:3px!important}.jy-hud .nm-hud-metric>b{font-size:16px}
  .jy-hud .nm-hud-location{font-size:11px}.jy-hud .nm-hud-source{gap:6px;font-size:11px}.jy-hud .nm-hud-source small{font-size:10px}
  .jy-hud .nm-hud-source button{min-height:30px;padding:4px 6px;font-size:11px}.jy-hud-empty{padding:7px 0}.jy-hud>.nm-hud-empty{gap:7px}
  .jy-action-main{padding-bottom:2px}.jy-action-badge{font-size:11px;line-height:1.2;padding:2px 5px}
  .jy-action-main h3{font-size:20px;line-height:1.1;margin:5px 0 3px}.jy-action-target,.jy-action-objective{font-size:12px;line-height:1.25}
  .jy-action-objective{gap:1px;margin-top:3px}.jy-action-objective small{font-size:11px;line-height:1.25}
  .jy-action-reason{font-size:12px;line-height:1.25;margin:3px 0}.jy-action-reason>b{display:inline;font-size:10px;letter-spacing:0;margin:0 4px 0 0}
  .jy-action-caution{font-size:11px;line-height:1.25;margin:3px 0}.jy-action-controls{padding-top:4px}
  .jy-action-controls .nm-actions{gap:6px}.jy-action-controls .nm-status-control{font-size:11px;gap:2px}
  .jy-action-controls .nm-actions button.primary,.jy-action-controls .nm-status-control select{min-height:34px!important;font-size:12px!important;padding:5px!important}
  .jy-quest-title h3{font-size:20px;line-height:1.1;margin-bottom:3px}.jy-quest-title>span{font-size:11px;line-height:1.25}
  .jy-quest-stage{margin:5px 0;padding-top:4px;font-size:11px}.jy-quest-stage>span{font-size:10px}
  .jy-quest-facts{gap:4px}.jy-quest-facts li,.jy-quest-facts .nm-location{gap:2px}.jy-quest-facts b,.jy-quest-facts .nm-location b{font-size:12px;line-height:1.25}
  .jy-quest-facts small,.jy-quest-facts .nm-location small{font-size:11px;line-height:1.25}.jy-quest-facts li.is-current{padding:4px 6px}
  .jy-quest-location-note,.jy-quest-gap,.jy-inspection-note{font-size:11px;line-height:1.25;margin:4px 0}
  .jy-quest-footer{padding-top:4px;gap:6px}.jy-quest-footer>span{font-size:11px;line-height:1.25}.jy-quest-footer button{min-height:28px;font-size:11px;padding:4px 0}
  .jy-equipment-source{font-size:10px}.jy-equipment-time{line-height:1.1;margin-top:1px}
  .jy-paperdoll{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 20px;gap:3px;margin:3px 0}
  .jy-equipment-column{gap:2px}.jy-equipment-item{gap:3px;padding:0 2px}.jy-equipment-item>img{width:16px;height:16px}
  .jy-equipment-item>span{display:flex;align-items:center;gap:3px;flex:1}.jy-equipment-item small{font-size:9px;flex:0 1 auto;max-width:42%}.jy-equipment-item b{font-size:11px;flex:1}
  .jy-equipment-right .jy-equipment-item>span{flex-direction:row-reverse}.jy-equipment-footer .jy-plan-link,.jy-equipment-retry{min-height:24px!important;padding-block:2px!important}
  .jy-map-caption{font-size:11px;line-height:1.25;margin:0 0 4px}.jy-map-content .qm-controls{margin-bottom:4px;gap:6px}
  .jy-map-content .qm-controls label{flex-direction:row;align-items:center;gap:4px;font-size:11px}.jy-map-content .qm-controls select{min-height:28px;padding:3px;font-size:11px}
 }
}
@media(min-width:1000px) and (max-height:820px){.jy-dashboard>section{padding:10px}.jy-dashboard>.jy-hud{padding:0}}
/* Each pane keeps its own purpose within the six equal cells. */
.jy-dashboard .jy-step-order{font-weight:800;color:#c9bdcf}
.jy-dashboard .jy-step.is-selected .jy-step-order{color:#f2d79f}
.jy-dashboard .jy-step-stage{font-weight:650;color:#dfc99f}
.jy-dashboard .jy-plan-state{text-decoration:underline dotted #c6a76d70;text-underline-offset:4px}
.jy-dashboard .jy-capture-status{flex-shrink:0;margin:0;padding:5px 0 8px;border-bottom:1px solid #c5aa7b28;font-size:12px;line-height:1.35;color:#d3c2a7}
.jy-dashboard .jy-capture-status time{font-variant-numeric:tabular-nums}
.jy-dashboard .nm-hud-metrics{margin:0;padding-top:8px}
.jy-dashboard .nm-hud-source{margin-top:auto}
.jy-dashboard .nm-hud-source>span{font-size:11px;line-height:1.35;color:#beb2ca}
.jy-dashboard .nm-hud-resource b{min-width:0;text-align:right;font-weight:500}
.jy-dashboard .jy-action-main h3{margin:9px 0 7px}
.jy-dashboard .jy-action-contact{display:grid;gap:3px;margin:8px 0 0;color:#d6c6de;font-size:13px;line-height:1.35}
.jy-dashboard .jy-action-contact b{font-weight:600;color:#e6d6b8}
.jy-dashboard .jy-action-contact span{font-size:12px;color:#c2b4ca}
.jy-dashboard .jy-action-reason{padding-top:7px;border-top:1px solid #c5aa7b20}
.jy-dashboard .jy-quest-stage{margin:12px 0 9px;padding-top:9px}
.jy-dashboard .jy-quest-facts{padding:8px 0;gap:8px}
.jy-dashboard .jy-equipment-item small{font-size:11px;line-height:1.1}
.jy-dashboard .jy-equipment-item b{font-size:12px;line-height:1.1}
.jy-dashboard .jy-paperdoll .is-unassigned img{opacity:.2;filter:saturate(.3)}
.jy-dashboard .jy-paperdoll .is-unassigned .jy-equipment-item{background:#11182122;border-color:#a598ba12}
.jy-dashboard .jy-map-legend{order:3;flex-shrink:0;display:flex;flex-wrap:wrap;gap:3px 12px;margin:5px 0 0;font-size:12px;line-height:1.3;color:#c9bbce}
.jy-dashboard .jy-map-legend[hidden]{display:none!important}
.jy-dashboard .jy-map-legend-entry{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jy-dashboard .jy-map-legend-entry b{color:#e6d1a8;font-weight:700}
.jy-dashboard .jy-map-legend-more{color:#b9adc3}
.jy-dashboard .jy-map-legend-note{flex-basis:100%;font-size:11px;line-height:1.25;color:#b6a9c1}
.jy-dashboard .jy-map-content .quest-map:not(:has(.qm-open-map:not([hidden]))) .jy-map-details{width:100%;align-self:stretch;margin-top:6px}
@container(max-height:420px){
 .jy-dashboard .jy-equipment-item>span{display:flex;align-items:center;gap:3px;flex:1}
 .jy-dashboard .jy-equipment-item small{flex:0 1 auto;max-width:44%}
 .jy-dashboard .jy-equipment-item b{flex:1}
 .jy-dashboard .jy-equipment-right .jy-equipment-item>span{flex-direction:row-reverse}
}
@container(min-height:420px){
 .jy-dashboard .jy-plan-steps{flex:0 1 auto;grid-template-rows:repeat(3,minmax(64px,1fr));gap:8px;margin-bottom:16px}
 .jy-dashboard .jy-plan-progress{margin-top:auto}
}
@container(max-height:390px){
 .jy-dashboard .jy-capture-status{font-size:11px;line-height:1.25;padding:2px 0 5px}
 .jy-dashboard .jy-hud>.nm-hud{gap:6px}
 .jy-dashboard .jy-hud .nm-hud-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .jy-dashboard .jy-hud .nm-hud-source button{min-height:30px!important;padding:4px 6px!important;font-size:11px}
 .jy-dashboard .nm-hud-metrics{padding-top:2px}
 .jy-dashboard .nm-hud-metric>b{font-size:14px;line-height:1.2}
 .jy-dashboard .jy-action-main h3{font-size:22px;line-height:1.15;margin:6px 0 4px}
 .jy-dashboard .jy-action-contact{font-size:12px;line-height:1.25;gap:2px;margin-top:4px}
 .jy-dashboard .jy-action-contact span{font-size:11px;line-height:1.25}
 .jy-dashboard .jy-action-reason{padding-top:4px}
 .jy-dashboard .jy-quest-stage{margin:6px 0;padding-top:5px}
 .jy-dashboard .jy-quest-facts{padding:4px 0;gap:4px}
 .jy-dashboard .jy-map-legend{font-size:11px;line-height:1.25;gap:2px 8px;margin-top:3px}
}
@container(max-height:310px){
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-plan-steps{gap:1px}
 .jy-dashboard .jy-helper-history{font-size:10px;line-height:1.25}
 .jy-dashboard .jy-hud>.nm-hud{gap:4px}
 .jy-dashboard .jy-action-main h3{font-size:20px;line-height:1.1;margin:4px 0 3px}
 .jy-dashboard .jy-action-contact{margin-top:3px}
 .jy-dashboard .jy-action-reason{margin:3px 0;padding-top:3px}
 .jy-dashboard .jy-equipment-item small{max-width:44%}
 .jy-dashboard .jy-map-legend{margin-top:2px}
 .jy-dashboard .jy-map-legend-entry{max-width:100%}
}
@container(min-height:391px){
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-step{padding:2px 6px!important}
}
/* Narrow desktop cells keep their content readable inside the same grid. */
@container(max-width:300px){
 .jy-dashboard .jy-hud>.nm-hud{padding:10px;gap:3px}
 .jy-dashboard .nm-hud-identity>div>b{font-size:16px}
 .jy-dashboard .nm-hud-identity>div>span{font-size:11px}
 .jy-dashboard .jy-hud .nm-hud-bars{grid-template-columns:minmax(0,1fr);gap:3px}
 .jy-dashboard .nm-hud-resource>div:first-child,.jy-dashboard .nm-hud-resource b,.jy-dashboard .nm-hud-xp>div:first-child,.jy-dashboard .nm-hud-xp b{font-size:11px;line-height:1.25}
 .jy-dashboard .nm-hud-metrics{gap:4px}
 .jy-dashboard .nm-hud-metric{min-height:38px!important;padding:3px!important}
 .jy-dashboard .nm-hud-metric>b{font-size:12px;line-height:1.2}
 .jy-dashboard .nm-hud-metric:last-child>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .jy-dashboard .nm-hud-location{font-size:11px;line-height:1.25}
 .jy-dashboard .nm-hud-source{gap:4px}
 .jy-dashboard .jy-cell-heading{min-height:24px;gap:6px;margin-bottom:6px}
 .jy-dashboard h2{font-size:18px}
 .jy-dashboard .jy-return-now{min-height:28px!important;padding:4px 6px!important;font-size:11px!important}
 .jy-dashboard .jy-inspection-note{font-size:11px;line-height:1.25;margin:4px 0;padding:4px 6px}
 .jy-dashboard .jy-quest-title h3{font-size:20px;line-height:1.1;margin-bottom:3px}
 .jy-dashboard .jy-quest-title>span{display:block;font-size:11px;line-height:1.25}
 .jy-dashboard .jy-quest-stage{margin:5px 0;padding-top:4px;gap:5px;font-size:11px;line-height:1.25}
 .jy-dashboard .jy-quest-stage>span{font-size:10px;letter-spacing:0}
 .jy-dashboard .jy-quest-facts{padding:3px 0;gap:4px}
 .jy-dashboard .jy-quest-facts li,.jy-dashboard .jy-quest-facts .nm-location{gap:2px}
 .jy-dashboard .jy-quest-facts li.is-current{padding:4px 6px}
 .jy-dashboard .jy-quest-facts b,.jy-dashboard .jy-quest-facts .nm-location b{font-size:12px;line-height:1.25}
 .jy-dashboard .jy-quest-facts small,.jy-dashboard .jy-quest-facts .nm-location small{font-size:11px;line-height:1.25}
 .jy-dashboard .jy-quest-location-note{font-size:11px;line-height:1.25;margin:5px 0}
 .jy-dashboard .jy-quest-footer{padding-top:4px;gap:6px}
 .jy-dashboard .jy-quest-footer>span{font-size:11px;line-height:1.25}
 .jy-dashboard .jy-quest-footer button{min-height:28px;font-size:11px;padding:4px 0}
}
@container(max-width:300px) and (max-height:310px){
 .jy-dashboard .jy-hud>.nm-hud{gap:2px}
 .jy-dashboard .jy-quest-location-note{margin:2px 0}
}
/* Slot names retain their full width; only long item names may abbreviate. */
.jy-dashboard .jy-paperdoll{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) 36px;column-gap:10px;row-gap:4px}
.jy-dashboard .jy-equipment-spacer{display:none}
.jy-dashboard .jy-equipment-item>img{box-sizing:border-box}
.jy-dashboard .jy-equipment-item>span{flex:1;min-width:0}
.jy-dashboard .jy-equipment-item small{max-width:none;flex:0 0 auto;font-size:12px;line-height:1.2;color:#d0c3d8;overflow:visible;text-overflow:clip}
.jy-dashboard .jy-equipment-item b{min-width:0;font-size:12px;line-height:1.2}
.jy-dashboard .jy-equipment-weapons{grid-template-columns:1fr 1fr 1.2fr}
.jy-dashboard .jy-equipment-weapons .jy-equipment-item>span{display:grid;gap:1px;align-content:center}
@container(max-height:420px){
 .jy-dashboard .jy-equipment-item>span{gap:4px}
}
@container(max-width:360px){
 .jy-dashboard .jy-equipment-weapons .jy-equipment-item>img{display:none}
}
@container(max-width:300px){
 .jy-dashboard .jy-equipment-item>img{display:none}
}
/* Saved helper text stays in its existing cells; full facts open on demand. */
.jy-dashboard .jy-helper-copy .jy-action-main h3,.jy-dashboard .jy-helper-cell .jy-quest-title h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.jy-dashboard .jy-helper-quest-name,.jy-dashboard .jy-helper-readonly{font-size:12px;line-height:1.3;color:#c8bad2;margin:4px 0}
.jy-dashboard .jy-helper-quest-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jy-dashboard .jy-helper-instruction,.jy-dashboard .jy-helper-copy .jy-action-caution{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.jy-dashboard .jy-helper-facts b,.jy-dashboard .jy-helper-facts small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jy-dashboard .jy-helper-details{overflow:visible;position:relative;flex-shrink:0;min-width:0;margin:4px 0}
.jy-dashboard .jy-helper-details>summary{min-height:28px;padding:4px 0;font-size:12px;line-height:1.4;color:#e2c598;cursor:pointer}
.jy-dashboard .jy-helper-records{position:absolute;z-index:1150;bottom:32px;right:0;box-sizing:border-box;width:100%;max-height:calc(100cqh - 76px);overflow:auto;overscroll-behavior:contain;padding:10px 12px;border:1px solid #b7986744;border-radius:6px;background:#151c28;box-shadow:0 14px 45px #0009;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.jy-dashboard .jy-helper-records h4{font-size:15px;color:#f1dfbb;margin:0 0 8px}.jy-dashboard .jy-helper-records p{margin:8px 0}.jy-dashboard .jy-helper-records ol{padding-left:18px}.jy-dashboard .jy-helper-records li{margin:8px 0}.jy-dashboard .jy-helper-records li>span{display:block;color:#c8bad2}
@container(max-height:390px){
 .jy-dashboard .jy-helper-readonly{font-size:11px;margin:3px 0}
 .jy-dashboard .jy-helper-copy .jy-action-main h3{font-size:20px;line-height:1.1}
 .jy-dashboard .jy-helper-copy .jy-action-badge{font-size:11px;line-height:1.2;padding:2px 5px}
 .jy-dashboard .jy-helper-cell .jy-quest-stage{margin:5px 0;padding-top:4px}
}

.jy-dashboard .jy-helper-cell .jy-action-controls{flex-shrink:0}
.jy-dashboard .jy-helper-cell .jy-action-controls>button{min-height:34px;font-size:12px;padding:6px 10px}

.jy-dashboard .jy-helper-upcoming-heading{display:block;color:#c6b18b;font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jy-dashboard .jy-plan-steps>li:has(.jy-helper-upcoming-heading){display:flex;flex-direction:column;min-height:0}
.jy-dashboard .jy-helper-upcoming-heading+.jy-step{flex:1;min-height:0;height:auto}
.jy-dashboard .jy-helper-route-name{display:block;white-space:nowrap;text-overflow:ellipsis;-webkit-line-clamp:unset;line-height:1.3;margin:0 0 6px}
.jy-dashboard .jy-helper-coverage{display:block;color:#c6b18b;font-size:11px;line-height:1.25}

.jy-dashboard div.jy-step:hover{background:#ffffff02!important;border-color:transparent!important}

@container(max-width:300px) and (max-height:390px){
 .jy-dashboard .nm-hud-source>span>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .jy-dashboard .jy-helper-instruction,.jy-dashboard .jy-helper-copy .jy-action-caution{-webkit-line-clamp:2}
}

/* Journey must fit the viewport even when header controls have a wider intrinsic size. */
html.vr-compact body[data-view=route] .vr-compact-app{grid-template-columns:minmax(0,1fr)}
.jy-dashboard .jy-xp-remaining{margin:0;color:#f1d9a7;font-size:18px;line-height:1.3;flex-shrink:0}
.jy-dashboard .jy-helper-plan .jy-plan-steps{grid-template-rows:repeat(var(--jy-step-count,3),minmax(0,1fr));flex:1;gap:3px;margin-bottom:4px}
.jy-dashboard .jy-helper-plan .jy-step{min-height:0}
.jy-dashboard .jy-helper-plan .jy-step-chevron{font-size:18px;line-height:1}
.jy-dashboard .jy-helper-facts b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.3}
.jy-dashboard .jy-helper-facts li:only-child b{-webkit-line-clamp:3}
@container(max-width:400px){
 .jy-dashboard .jy-equipment-item>img{display:none}
 .jy-dashboard .jy-equipment-item{padding-inline:3px}
}
@container(max-height:390px){
 .jy-dashboard .jy-xp-remaining{font-size:16px}
 .jy-dashboard .jy-helper-plan .jy-step{padding:0 4px!important;grid-template-columns:32px minmax(0,1fr) 8px;gap:6px}
 .jy-dashboard .jy-helper-plan .jy-step-content{gap:1px}
 .jy-dashboard .jy-helper-plan .jy-step-content b{font-size:12px;line-height:1.2}
 .jy-dashboard .jy-helper-plan .jy-step-content small{font-size:10px;line-height:1.2}
 .jy-dashboard .jy-helper-plan .jy-step-order{font-size:10px}
 .jy-dashboard .jy-helper-plan .jy-helper-upcoming-heading{font-size:10px;line-height:1.1}
 .jy-dashboard .jy-helper-plan .jy-plan-progress{padding-top:3px}
 .jy-dashboard .jy-helper-plan .jy-plan-progress progress{margin:3px 0}
}
@container(max-height:310px){
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-plan-progress progress{display:none}
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-plan-link{min-height:24px!important;padding:1px 0!important}
}
/* Journey's primary readings precede the compact resource row in DOM order. */
.jy-dashboard .jy-hud .nm-hud-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.jy-dashboard .nm-hud-resource>div:first-child{display:flex;flex-wrap:wrap;gap:2px 6px}
.jy-dashboard .nm-hud-resource b{overflow-wrap:anywhere}
.jy-dashboard .nm-hud-resource small{display:block;font-size:10px}
.jy-dashboard .nm-hud-resource.is-unknown{font-size:11px}
.jy-dashboard .nm-hud-resource.is-unknown>div:first-child>small{display:none}
.jy-dashboard .jy-helper-contact{margin:0 0 6px;color:#ead7af;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.jy-dashboard .jy-helper-preparation{margin:4px 0;font-size:11px;line-height:1.3;color:#e3c58f}
.jy-dashboard .jy-map-caption>b{display:block;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ead7af}
.jy-dashboard .jy-map-caption>span{display:block;font-size:10px}
.jy-equipment-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:22px;border:1px solid #ad9462;border-radius:9px;background:#192330;color:#e6d9ca;box-shadow:0 18px 80px #000b;overflow:auto;font:14px/1.5 system-ui,sans-serif}
.jy-equipment-dialog::backdrop{background:#080b12bb}
.jy-equipment-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.jy-equipment-dialog header span{font-size:12px;color:#c8b4d5}
.jy-equipment-dialog h2{margin:6px 0 14px;font:500 26px/1.2 Georgia,serif;color:#f1dfbb;overflow-wrap:anywhere}
.jy-equipment-dialog p{overflow-wrap:anywhere}
.jy-equipment-dialog button{padding:8px 12px;min-height:36px;border:1px solid #b3986655;border-radius:5px;background:#c3a57213;color:#f0dbaf;font:inherit;cursor:pointer}
.jy-equipment-dialog footer{display:flex;justify-content:space-between;gap:12px;margin-top:22px}
.jy-equipment-dialog button:focus-visible{outline:2px solid #e2c598;outline-offset:3px}
@container(max-width:300px) and (max-height:390px){
 .jy-dashboard .jy-hud .nm-hud-bars{grid-template-columns:minmax(0,1fr);gap:3px}
 .jy-dashboard .nm-hud-resource>div:first-child{flex-wrap:nowrap}
 .jy-dashboard .jy-helper-contact{font-size:11px;margin-bottom:3px}
 .jy-dashboard .jy-helper-copy .jy-action-main{padding-bottom:4px}
 .jy-dashboard .jy-helper-copy .jy-action-main h3{margin-top:6px;margin-bottom:4px}
 .jy-dashboard .jy-helper-copy .jy-action-objective{margin-top:4px;font-size:12px}
}

/* Next dungeon stays inside Road ahead and does not resize the six cells. */
.jy-dashboard .jy-dungeon{flex:none;border-top:1px solid #c5a66633;padding-top:6px;margin:3px 0 4px;min-width:0}
.jy-dashboard .jy-dungeon-heading,.jy-dashboard .jy-dungeon-name{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.jy-dashboard .jy-dungeon h3{margin:0;font:500 11px/1.3 system-ui,sans-serif;color:#cdb9d9}
.jy-dashboard .jy-dungeon-heading>span,.jy-dashboard .jy-dungeon-name small{font:10px/1.3 system-ui,sans-serif;color:#b6acb9;white-space:nowrap}
.jy-dashboard .jy-dungeon-name b{font:500 14px/1.35 Georgia,serif;color:#ead7af;overflow-wrap:anywhere}
.jy-dashboard .jy-dungeon p,.jy-dashboard .jy-dungeon-readiness{display:block;margin:0;font:10px/1.3 system-ui,sans-serif;color:#c2b8c6}
@container(max-width:300px){.jy-dashboard .jy-dungeon-name small{display:none}}
@container(max-height:390px){.jy-dashboard .jy-dungeon{padding-top:3px;margin:2px 0}.jy-dashboard .jy-dungeon-heading h3{font-size:10px}.jy-dashboard .jy-dungeon-name b{font-size:12px}.jy-dashboard .jy-dungeon-name small{display:none}}

@container(max-height:390px){
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-step-content small{display:none}
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-step-content b{font-size:13px;line-height:1.25}
}
@container(max-height:310px){.jy-dashboard .jy-dungeon p{display:none}}

/* Whole-card wiki destination, with a labelled local picture at every level. */
.jy-dashboard .jy-dungeon{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit}
.jy-dashboard a.jy-dungeon:hover{background:#c5a6660c}.jy-dashboard a.jy-dungeon:focus-visible{outline:2px solid #d5bb88;outline-offset:2px;border-radius:4px}
.jy-dashboard .jy-dungeon-copy{flex:1;min-width:0}
.jy-dashboard .jy-dungeon-picture{position:relative;flex:none;width:86px;height:58px;margin:0;border-radius:4px;overflow:hidden;background:#151723}
.jy-dashboard .jy-dungeon-picture img{display:block;width:100%;height:100%;object-fit:cover}
.jy-dashboard .jy-dungeon-picture figcaption{position:absolute;bottom:0;left:0;right:0;padding:2px 3px;font:9px/1.1 system-ui,sans-serif;background:#10121ddd;color:#eee;text-align:center}
@container(max-width:330px){.jy-dashboard .jy-dungeon{gap:6px}.jy-dashboard .jy-dungeon-picture{width:58px;height:53px}.jy-dashboard .jy-dungeon-heading{flex-wrap:wrap;gap:0 6px}.jy-dashboard .jy-dungeon-name b{font-size:12px}}
@container(max-height:390px){.jy-dashboard .jy-dungeon-picture{height:46px;width:62px}.jy-dashboard .jy-dungeon-picture figcaption{font-size:8px}.jy-dashboard .jy-dungeon p{display:none}}
/* Readability pass: retain the six cells and let their content adapt to each pane. */
.jy-dashboard .jy-helper-plan .jy-step-content b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.jy-dashboard .jy-helper-plan .jy-step-content{min-height:0}
.jy-dashboard .nm-hud-xp>div:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px;line-height:1.35}
.jy-dashboard .nm-hud-xp>div:first-child>b{font-size:12px;line-height:1.35;text-align:left;overflow-wrap:anywhere;color:#d9cfdf}
.jy-dashboard .nm-hud-xp .nm-hud-track[role=img]{display:none}
.jy-dashboard .nm-hud-metric{min-width:0}
.jy-dashboard .nm-hud-metric>b{overflow-wrap:anywhere}
.jy-dashboard .nm-hud-metric:last-child>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.jy-dashboard .nm-hud-location{color:#c9bdcf}
.jy-dashboard .jy-paperdoll .is-unassigned b{color:#b6adbf}
.jy-dashboard .jy-equipment-time{color:#b2a8bd}
.jy-dashboard .jy-equipment-item>span{column-gap:6px}
@container(max-height:540px){
 .jy-dashboard .jy-helper-plan .jy-support-heading>div>.jy-kicker{display:none}
 .jy-dashboard .jy-helper-plan .jy-support-heading{margin-bottom:6px;min-height:26px}
 .jy-dashboard .jy-helper-plan .jy-step-content b{font-size:13px;line-height:1.2}
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-step-content small{display:none}
 .jy-dashboard .jy-helper-plan .jy-helper-route-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;line-height:1.25;flex-shrink:0;margin-bottom:5px}
}
@container(max-width:300px){
 .jy-dashboard .nm-hud-metrics{grid-template-columns:minmax(0,1fr);gap:4px;padding-top:4px}
 .jy-dashboard .nm-hud-metric{display:grid!important;grid-template-columns:82px minmax(0,1fr);align-items:center;min-height:30px!important;padding:5px 7px!important;gap:6px!important;text-align:left}
 .jy-dashboard .nm-hud-metric>span{font-size:10px;line-height:1.2}
 .jy-dashboard .nm-hud-metric>b{font-size:13px;line-height:1.25;text-align:right}
 .jy-dashboard .nm-hud-metric>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .jy-dashboard .nm-hud-xp>div:first-child{gap:2px}
}
@container(max-height:540px){
 .jy-dashboard .jy-helper-plan .jy-step-content small{display:none}
}
@container(max-height:390px){
 .jy-dashboard .jy-helper-plan .jy-helper-route-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jy-dashboard .jy-helper-plan .jy-plan-link{min-height:24px!important;padding-block:1px!important}
}
.jy-dashboard .jy-helper-plan .jy-plan-steps{grid-template-rows:repeat(var(--jy-step-count,3),auto)}
/* Current-stream Journey HUD: independent of the other screens' shared readout. */
.jy-dashboard .jy-saved-hud{box-sizing:border-box;display:flex;flex-direction:column;height:100%;min-height:0;gap:9px;padding:16px;color:#e8dfcf;font:13px/1.35 system-ui,sans-serif}
.jy-hud-identity{display:flex;align-items:center;gap:10px;min-width:0;flex-shrink:0}
.jy-hud-level{box-sizing:border-box;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #bda16a88;border-radius:50%;font:22px/1 Georgia,serif;color:#eddaa9;background:#121a23}
.jy-hud-identity>div{min-width:0;flex:1}.jy-hud-identity b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 21px/1.2 Georgia,serif;color:#f0dfba}.jy-hud-identity>div>span{display:block;font-size:11px;line-height:1.3;color:#c6bacd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jy-hud-observation{margin:0;font-size:11px;line-height:1.3;color:#cabb9f;flex-shrink:0}
.jy-hud-experience{flex-shrink:0;padding:9px 0;border-block:1px solid #c5aa7b26}
.jy-hud-xp-label{display:flex;justify-content:space-between;gap:8px;color:#c1afd0;font-size:11px;line-height:1.25}.jy-hud-xp-label>b{font-variant-numeric:tabular-nums;color:#e3cfed;font-size:12px}
.jy-hud-experience>strong{display:block;margin:4px 0 2px;font:500 26px/1.15 Georgia,serif;color:#f1d9a7;overflow-wrap:anywhere}.jy-hud-experience>strong>small{font:12px/1.3 system-ui,sans-serif;color:#deceb3}
.jy-hud-xp-detail{font-size:12px;line-height:1.3;color:#d8cbdc}.jy-hud-xp-track{height:5px;background:#100f1e;border-radius:4px;overflow:hidden;margin-top:7px}.jy-hud-xp-track>span{display:block;height:100%;background:linear-gradient(90deg,#81619d,#cfb5df)}
.jy-hud-field-time{display:block;font-size:10px;line-height:1.25;margin-top:4px;color:#b8acbf}
.jy-hud-preparation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex-shrink:0}
.jy-dashboard .jy-hud-stat{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;min-height:66px;padding:7px;border:1px solid #bca16e30;border-radius:5px;background:#ffffff03;color:inherit;text-align:left;gap:3px;font:inherit}
.jy-hud-stat>span{display:flex;justify-content:space-between;gap:4px;font-size:10px;line-height:1.2;color:#c9bdd0}.jy-hud-stat i{font-style:normal;color:#d6bd91}.jy-hud-stat>b{font-size:14px;line-height:1.25;color:#e9d6aa;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.jy-hud-stat>small{font-size:10px;line-height:1.25;color:#b8acbf;overflow-wrap:anywhere}.jy-hud-stat.is-warning{border-color:#d5a65b88;background:#b6812710}.jy-hud-stat.is-warning>small{color:#e6c78d}.jy-dashboard .jy-hud-stat:hover{background:#c5aa7b0b;border-color:#c5aa7b88}
.jy-hud-summary{flex-shrink:0;min-width:0;margin:0;padding:5px 0;font-size:12px;line-height:1.3;color:#d6c6dd;border-bottom:1px solid #c5aa7b20}.jy-hud-summary b{font-weight:500;color:#dfd3e5}.jy-hud-summary>small{display:block;font-size:10px;line-height:1.25;color:#b8acbf}
.jy-hud-footer{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;min-width:0;flex-shrink:0}.jy-hud-footer>p{min-width:0;margin:0;font-size:12px;line-height:1.3;overflow-wrap:anywhere;color:#d3c5da}.jy-hud-footer>p>small{display:block;font-size:10px;line-height:1.25;color:#b8acbf}.jy-dashboard .jy-hud-footer>button{flex-shrink:0;min-height:30px;padding:4px 0 4px 4px;border:0;background:none;color:#e6cc9f;font-size:11px;line-height:1.3;text-align:right}
@container(max-height:390px){
 .jy-dashboard .jy-saved-hud{padding:10px;gap:6px;font-size:12px}
 .jy-hud-level{width:32px;height:32px;flex-basis:32px;font-size:20px}.jy-hud-identity b{font-size:18px}
 .jy-hud-experience{padding:5px 0}.jy-hud-experience>strong{font-size:22px;margin-top:2px}.jy-hud-experience>strong>small{font-size:11px}.jy-hud-field-time{margin-top:3px}
 .jy-dashboard .jy-hud-stat{padding:5px;min-height:55px;gap:2px}.jy-hud-stat>b{font-size:13px}.jy-hud-summary{padding:2px 0;font-size:11px}
 .jy-hud-footer>p{font-size:11px}.jy-hud-footer>p>small{font-size:9px}.jy-dashboard .jy-hud-footer>button{min-height:26px;font-size:11px}
}
@container(max-width:300px){
 .jy-dashboard .jy-saved-hud{padding:10px;gap:5px}.jy-hud-identity{gap:7px}.jy-hud-identity b{font-size:17px}.jy-hud-identity>div>span{font-size:10px}
 .jy-hud-preparation{grid-template-columns:minmax(0,1fr);gap:4px}
 .jy-dashboard .jy-hud-stat{display:grid;grid-template-columns:70px minmax(0,1fr);min-height:32px;padding:4px 6px;gap:1px 6px}
 .jy-hud-stat>span{grid-row:1/3;align-self:center;font-size:10px}.jy-hud-stat>b{font-size:12px;text-align:right}.jy-hud-stat>small{text-align:right;font-size:9px}
 .jy-hud-experience>strong{font-size:21px}.jy-hud-xp-detail{font-size:11px}.jy-hud-summary{font-size:11px}.jy-hud-footer{gap:5px}.jy-hud-footer>p{font-size:10px}.jy-dashboard .jy-hud-footer>button{font-size:10px}
}
@container(max-height:390px){
 .jy-dashboard .jy-saved-hud{gap:4px}
 .jy-hud-experience{padding-block:3px}.jy-hud-xp-track{margin-top:4px}
 .jy-hud-xp-label>span{font-size:10px}
}
.jy-hud-footer>p>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@container(max-width:300px) and (max-height:390px){.jy-hud-summary{display:none}}

/* Approved Journey composition. All selectors stay within the Journey screen. */
.jy-dashboard{--jy-body:15px;--jy-caption:12px;--jy-heading:24px;grid-template-areas:"plan hud map" "gear move supplies";gap:12px;color:#eae4db;font:var(--jy-body)/1.4 system-ui,sans-serif}
.jy-dashboard>.jy-supplies{grid-area:supplies}
.jy-dashboard>section{padding:14px;border-color:#afa9ba30;border-radius:10px;background:linear-gradient(125deg,#252c37,#1b2630);box-shadow:0 6px 20px #090d1430}
.jy-dashboard h2{font:500 var(--jy-heading)/1.15 Georgia,'Times New Roman',serif;color:#efdcb1;letter-spacing:-.02em}
.jy-dashboard :is(.jy-cell-heading,.jy-support-heading){min-height:36px;gap:10px;margin:0 0 12px;flex:none}
.jy-dashboard :is(.jy-cell-heading,.jy-support-heading)>div:first-child{min-width:0}
.jy-dashboard .jy-panel-title{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.jy-dashboard .jy-title-picture{box-sizing:border-box;display:inline-block;width:36px;height:36px;object-fit:cover;flex:0 0 36px;border:1px solid #bda16a88;border-radius:6px;box-shadow:0 2px 5px #0005}
.jy-dashboard :is(.jy-cell-heading,.jy-support-heading)>h2:has(.jy-title-picture),.jy-dashboard :is(.jy-cell-heading,.jy-support-heading)>div:has(>.jy-title-picture){display:flex;align-items:center;gap:10px}
.jy-dashboard :is(.jy-cell-heading,.jy-support-heading) h2{min-width:0}
.jy-dashboard .jy-kicker{font-size:10px;line-height:1.3;color:#c2b6cc;letter-spacing:.03em;font-weight:500}
.jy-dashboard .jy-plan-state{font-size:11px;line-height:1.3;max-width:88px;color:#cdc3d6;text-decoration:none;padding:2px 6px;border:1px solid #aea1c329;border-radius:3px}
.jy-dashboard :is(button,a,summary):focus-visible{outline:3px solid #dfc0fc!important;outline-offset:3px}
.jy-dashboard a{color:#e8cd9a;text-decoration:none}
.jy-dashboard a:hover{text-decoration:underline}
.jy-dashboard [hidden]{display:none!important}

/* Current and upcoming actions use the available height before the dungeon. */
.jy-dashboard .jy-plan{gap:0}
.jy-dashboard .jy-helper-plan .jy-support-heading .jy-kicker{display:none}
.jy-dashboard .jy-circuit-name{flex:none;margin:0 0 9px;font-size:12px;line-height:1.4;color:#c7bbd0}
.jy-dashboard .jy-helper-plan .jy-helper-route-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 9px}
.jy-dashboard .jy-plan-steps,.jy-dashboard .jy-helper-plan .jy-plan-steps{display:grid;grid-template-rows:repeat(var(--jy-step-count,3),minmax(0,1fr));flex:1;min-height:0;gap:5px;margin:0 0 9px}
.jy-dashboard .jy-plan-steps>li{min-width:0;min-height:0}
.jy-dashboard .jy-step,.jy-dashboard .jy-helper-plan .jy-step{box-sizing:border-box;display:grid;grid-template-columns:28px minmax(0,1fr) 10px;align-items:center;gap:8px;width:100%;height:100%;min-height:0;padding:6px!important}
.jy-dashboard .jy-step:has(.jy-step-picture){grid-template-columns:24px 28px minmax(0,1fr) 10px}
.jy-dashboard .jy-step-picture{width:28px;height:28px;border-radius:4px;object-fit:cover;border:1px solid #bba36d50}
.jy-dashboard .jy-step-order{font-size:12px;line-height:1.2;font-weight:500;letter-spacing:0;text-transform:none;color:#cbb9d8}
.jy-dashboard .jy-step.is-current .jy-step-order,.jy-dashboard .jy-step.is-selected .jy-step-order{color:#a4dbb6}
.jy-dashboard .jy-step-content{display:grid;gap:4px;min-width:0;min-height:0}
.jy-dashboard .jy-step-content b,.jy-dashboard .jy-helper-plan .jy-step-content b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:16px;line-height:1.23;font-weight:600;overflow:hidden;overflow-wrap:anywhere}
.jy-dashboard .jy-step-content small,.jy-dashboard .jy-helper-plan .jy-step-content small{display:block;font-size:11px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;color:#c9bdd1;overflow:hidden}
.jy-dashboard .jy-step-stage{font-weight:500;color:#d5b8ec}
.jy-dashboard .jy-helper-upcoming-heading{font-size:10px;line-height:1.2;margin:0 0 2px;color:#ccb6dc}
.jy-dashboard .jy-dungeon{flex:none;gap:10px;min-height:68px;margin:1px 0 9px;padding:7px;border:1px solid #b2996530;border-radius:6px;background:#0f182030}
.jy-dashboard .jy-dungeon-picture{width:78px;height:58px;border-radius:4px}
.jy-dashboard .jy-dungeon-heading h3{font-size:11px;line-height:1.3;color:#c9bcd2}
.jy-dashboard .jy-dungeon-heading>span{font-size:10px;line-height:1.3}
.jy-dashboard .jy-dungeon-name b{font:500 21px/1.2 Georgia,serif;color:#ead3a5}
.jy-dashboard .jy-dungeon-name small{font-size:10px}
.jy-dashboard .jy-dungeon p,.jy-dashboard .jy-dungeon-readiness{font-size:11px;line-height:1.3;color:#c4bacb}
.jy-dashboard .jy-dungeon-picture figcaption{display:none}
.jy-dashboard .jy-plan-progress{padding-top:5px;flex:none;border-top:0}
.jy-dashboard .jy-plan-progress>span{font-size:12px;line-height:1.35}
.jy-dashboard .jy-plan-progress progress{height:5px;margin:5px 0 0;accent-color:#b29ad0}
.jy-dashboard .jy-plan-bottom{flex:none;margin-top:3px}
.jy-dashboard .jy-plan-link{min-height:28px!important;padding:3px 0!important;font-size:11px!important}

/* Saved character readings keep provenance beside each independently timed stream. */
.jy-dashboard>.jy-hud{padding:0;background:linear-gradient(125deg,#252c37,#1b2830)}
.jy-dashboard .jy-saved-hud{padding:14px;gap:10px;font-size:14px}
.jy-dashboard .jy-hud-identity{gap:10px;min-height:36px}
.jy-dashboard .jy-hud-level{order:3;flex:0 0 28px;width:28px;height:28px;font-size:20px;border-color:#b8a16b55}
.jy-dashboard .jy-hud-identity b{font:500 26px/1.15 Georgia,serif;color:#efdcb1}
.jy-dashboard .jy-hud-identity>div>span{font-size:11px;line-height:1.3}
.jy-dashboard .jy-hud-observation{font-size:11px;line-height:1.35;color:#c4b4ce}
.jy-dashboard .jy-hud-experience{padding:9px 0;border-block:1px solid #bca7ce20}
.jy-dashboard .jy-hud-xp-label{font-size:12px}.jy-dashboard .jy-hud-xp-label>b{font-size:12px}
.jy-dashboard .jy-hud-experience>strong{font-size:34px;line-height:1.1;margin:5px 0}
.jy-dashboard .jy-hud-experience>strong>small{font-size:12px}
.jy-dashboard .jy-hud-xp-detail{font-size:12px;line-height:1.3}
.jy-dashboard .jy-hud-xp-track{height:5px;margin-top:8px}
.jy-dashboard .jy-hud-preparation{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.jy-dashboard .jy-hud-stat{padding:9px;min-height:70px;gap:4px;border-color:#bca7ce29;background:#ffffff02}
.jy-dashboard .jy-hud-stat>span{font-size:12px;line-height:1.25}
.jy-dashboard .jy-hud-stat>b{font-size:17px;line-height:1.25;color:#efd6a3}
.jy-dashboard .jy-hud-stat>small{font-size:10px;line-height:1.35}
.jy-dashboard .jy-hud-summary{font-size:12px;padding:5px 0;border-color:#bca7ce20}
.jy-dashboard .jy-hud-summary>small{font-size:10px;line-height:1.35}
.jy-dashboard .jy-hud-skills{flex:none;min-width:0;padding-top:8px;border-top:1px solid #bca7ce26}
.jy-dashboard .jy-hud-skills header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
.jy-dashboard .jy-hud-skills :is(h3,h4){font:600 14px/1.3 system-ui,sans-serif;color:#e4d9e9;margin:0}
.jy-dashboard .jy-hud-skills ul,.jy-dashboard .jy-skills-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px}
.jy-dashboard .jy-hud-skills li,.jy-dashboard .jy-skill-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;color:#ddd2e4;font-size:13px;line-height:1.3}
.jy-dashboard .jy-hud-skills img,.jy-dashboard .jy-skill-row img{width:20px;height:20px;border:1px solid #b49f7855;border-radius:3px;object-fit:cover}
.jy-dashboard .jy-hud-skills b{font-size:13px;line-height:1.3;color:#e7d3a3;font-weight:600}
.jy-dashboard .jy-hud-skills>small,.jy-dashboard .jy-hud-skills>p{display:block;margin:7px 0 0;font-size:11px;line-height:1.35;color:#bfb1cb}
.jy-dashboard .jy-hud-skills button{min-height:26px;font-size:11px;padding:2px 0;border:0;background:none;color:#e4c995}
.jy-dashboard .jy-hud-footer{padding-top:5px;gap:9px;margin-top:auto}
.jy-dashboard .jy-hud-footer>p{font-size:12px}.jy-dashboard .jy-hud-footer>p>small{font-size:10px}
.jy-dashboard .jy-hud-footer>button{font-size:11px;min-height:30px}

/* The map uses its existing image-plane projection; only surrounding typography changes. */
.jy-dashboard .jy-map-caption{font-size:12px;line-height:1.3;margin:0 0 8px;color:#c5b8cf}
.jy-dashboard .jy-map-caption>b{font-size:12px;font-weight:500;white-space:nowrap}
.jy-dashboard .jy-map-caption>span{font-size:10px;line-height:1.3}
.jy-dashboard .jy-map-content .qm-controls{gap:8px;margin-bottom:8px}
.jy-dashboard .jy-map-content .qm-controls label{font-size:11px;line-height:1.3}
.jy-dashboard .jy-map-content .qm-controls select{font-size:12px;min-height:32px;padding:5px}
.jy-dashboard .jy-map-legend{font-size:12px;line-height:1.35;margin-top:7px;gap:3px 10px}
.jy-dashboard .jy-map-legend-note{font-size:10px;line-height:1.3}
.jy-dashboard .jy-map-content .qm-location-tools{font-size:10px;line-height:1.3}
.jy-dashboard .jy-map-content .qm-location-panel>.qm-locations{max-height:78px;overflow:hidden}
.jy-dashboard .jy-map-content .qm-locations li{padding:5px 7px}
.jy-dashboard .jy-map-content .qm-locations li>span:not(.qm-role)>button{font-size:13px;line-height:1.25}
.jy-dashboard .jy-map-content .qm-locations li>span:not(.qm-role)>small{font-size:10px;line-height:1.3}
.jy-dashboard .jy-map-content .qm-open-map{font-size:12px;min-height:32px;margin-top:8px}
.jy-dashboard .jy-map-content .jy-map-details>summary{font-size:11px;min-height:32px}

/* Nineteen real slots remain in game order. Slot names are never abbreviated. */
.jy-dashboard .jy-equipment-count{font-size:11px;line-height:1.3;padding:2px 6px;border:1px solid #aaa2b629;border-radius:3px;color:#c5b9d0}
.jy-dashboard .jy-equipment-source{font-size:11px;line-height:1.3;margin:0}
.jy-dashboard .jy-equipment-time{font-size:10px;line-height:1.3;margin:2px 0 0;color:#bfb2c9}
.jy-dashboard .jy-paperdoll{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr) 50px;gap:8px 10px;margin:10px 0 4px}
.jy-dashboard .jy-equipment-column{gap:5px}
.jy-dashboard .jy-equipment-weapons{grid-template-columns:1fr 1fr 1.15fr;gap:6px}
.jy-dashboard .jy-equipment-item{padding:4px!important;gap:7px!important;background:#111c272e;border-color:#aaa1b220;border-radius:5px;text-align:left}
.jy-dashboard .jy-equipment-item>img{display:block!important;width:28px;height:28px;max-height:none;flex:0 0 28px;object-fit:cover}
.jy-dashboard .jy-equipment-item>span,.jy-dashboard .jy-equipment-right .jy-equipment-item>span{display:grid!important;gap:2px!important;min-width:0;flex:1;align-content:center}
.jy-dashboard .jy-equipment-item small{display:block;max-width:none;font:11px/1.15 system-ui,sans-serif;white-space:nowrap;overflow:visible;text-overflow:clip;color:#cdbfd7}
.jy-dashboard .jy-equipment-item b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;word-break:normal;font-size:14px;line-height:1.15;font-weight:500}
.jy-dashboard .jy-equipment-right .jy-equipment-item{flex-direction:row;text-align:left}
.jy-dashboard .jy-equipment-weapons .jy-equipment-item{gap:5px!important}
.jy-dashboard .jy-equipment-weapons .jy-equipment-item small{font-size:10px}
.jy-dashboard .jy-equipment-weapons .jy-equipment-item b{font-size:12px}
.jy-dashboard .jy-paperdoll .is-unassigned img{filter:grayscale(1) brightness(.78);opacity:.56;border-color:#7e8b9855}
.jy-dashboard .jy-paperdoll .is-unassigned b{font-size:12px;color:#b5aabc}
.jy-dashboard .jy-equipment-footer .jy-plan-link{min-height:26px!important;font-size:11px!important}

/* Combined current quest and next action: one truthful selected context. */
.jy-dashboard>.jy-move.jy-combined{background:linear-gradient(125deg,#252c37,#1c2832);border-color:#afa9ba30}
.jy-dashboard .jy-combined .jy-cell-heading h2{font-size:23px}
.jy-dashboard .jy-current-layout{display:flex;flex-direction:column;flex:1;gap:10px;min-height:0;min-width:0}
.jy-dashboard .jy-current-status{flex:none;min-width:0}
.jy-dashboard .jy-current-status h3{font:500 30px/1.16 Georgia,serif;color:#f0ddb6;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.jy-dashboard .jy-current-status p{margin:0;color:#c7dccc;font-size:13px;line-height:1.4}
.jy-dashboard .jy-current-status small{font-size:11px;line-height:1.4;color:#c6b8d1}
.jy-dashboard .jy-current-status .jy-action-badge{font-size:12px;line-height:1.3;padding:2px 6px}
.jy-dashboard .jy-current-contact{display:flex;align-items:center;gap:13px;flex:none;min-height:76px;min-width:0;padding:10px 12px;border:1px solid #b59c6542;border-left:3px solid #c4a56d;border-radius:7px;background:linear-gradient(110deg,#c2a16a0a,#13212c55)}
.jy-dashboard .jy-current-contact>img,.jy-dashboard .jy-current-contact>a>img{width:56px;height:68px;flex:none;object-fit:cover;object-position:50% 12%;border:1px solid #b8a87a55;border-radius:5px}
.jy-dashboard .jy-current-contact>div{min-width:0}
.jy-dashboard .jy-current-contact small{display:block;margin:0 0 4px;font-size:10px;line-height:1.3;color:#c6b6d1}
.jy-dashboard .jy-current-contact :is(b,strong){display:block;font:500 23px/1.18 Georgia,serif;color:#ead5ad;overflow-wrap:anywhere}
.jy-dashboard .jy-current-contact p{font-size:13px;line-height:1.4;margin:5px 0 0;color:#d1c4db}
.jy-dashboard .jy-current-objectives{display:flex;flex-direction:column;justify-content:center;flex:1.1 1 0;min-height:85px;min-width:0;padding:12px;border:1px solid #8aa28f2e;border-radius:7px;background:linear-gradient(120deg,#6ba98114,#14262d66)}
.jy-dashboard .jy-current-objectives :is(h4,h5){font:500 12px/1.3 system-ui,sans-serif;color:#c4d8ca;margin:0 0 8px}
.jy-dashboard .jy-current-objectives p{font-size:15px;line-height:1.4;margin:5px 0;color:#e5e3d9}
.jy-dashboard .jy-current-objectives ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;min-width:0}
.jy-dashboard .jy-current-objectives li{font-size:14px;line-height:1.4;min-width:0}
.jy-dashboard .jy-current-objectives :is(b,strong){font-weight:500}
.jy-dashboard .jy-current-objectives small{font-size:11px;line-height:1.3;color:#bad2c2}
.jy-dashboard .jy-current-objectives progress{display:block;width:100%;height:5px;margin:7px 0 0;accent-color:#8dc5a3}
.jy-dashboard .jy-current-instruction{display:flex;flex-direction:column;justify-content:center;flex:.8 1 0;min-height:65px;padding:11px 12px;border:1px solid #a797be36;border-left:3px solid #a88bc7;border-radius:7px;background:#131c2855}
.jy-dashboard .jy-current-instruction :is(h4,h5,small){font:500 11px/1.35 system-ui,sans-serif;color:#c8b1df;margin:0 0 5px}
.jy-dashboard .jy-current-instruction p{font-size:15px;line-height:1.4;color:#ded2e5;margin:0}
.jy-dashboard .jy-current-controls{display:flex;align-items:stretch;gap:8px;flex:none;margin-top:auto;min-width:0}
.jy-dashboard .jy-current-controls button,.jy-dashboard .jy-current-controls a{min-height:38px;box-sizing:border-box;padding:8px 12px;font-size:13px;line-height:1.25;border-radius:5px;display:flex;align-items:center;justify-content:center;text-align:center}
.jy-dashboard .jy-current-controls button:first-child{flex:1;background:#c2a2e7;border:1px solid #d3b5ef;color:#201c2c;font-weight:600}
.jy-dashboard .jy-current-controls .jy-return-now{flex:none!important;background:#74608222!important;color:#e8d3f4!important;border-color:#ab8bb95c!important}
.jy-dashboard .jy-current-layout>.jy-current-source,.jy-dashboard .jy-current-layout>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;font-size:10px;line-height:1.35;color:#bfb0ca;margin:0;padding-top:3px}

/* Supplies: capacity, carried/bank evidence and durability each retain their time. */
.jy-dashboard>.jy-supplies{gap:10px}
.jy-dashboard .jy-supplies>.jy-cell-heading{margin-bottom:0}
.jy-dashboard .jy-supplies .jy-cell-heading h2{font-size:23px}
.jy-dashboard .jy-supplies-capacity{display:flex;flex-direction:column;justify-content:center;flex:1.1 1 0;gap:8px;min-height:120px;padding:13px 14px;border:1px solid #8dbc9a47;border-radius:7px;background:linear-gradient(125deg,#29443e55,#182c3355)}
.jy-dashboard .jy-supplies-capacity h3{font:500 13px/1.3 system-ui,sans-serif;margin:0;color:#e2dfd3}
.jy-dashboard .jy-supplies-capacity>strong,.jy-dashboard .jy-bag-free{font:500 47px/1.05 Georgia,serif;color:#a7dfb7}
.jy-dashboard .jy-supplies-capacity strong small{font:16px/1.3 system-ui,sans-serif;color:#e7e1d5}
.jy-dashboard .jy-supplies-capacity p{margin:0;font-size:13px;line-height:1.3;color:#d5d4d1}
.jy-dashboard .jy-supplies-capacity small{font-size:11px;line-height:1.35;color:#c3cbc7}
.jy-dashboard .jy-supplies-capacity progress{display:block;height:6px;width:100%;accent-color:#8dc5a3;margin:0}
.jy-dashboard .jy-supplies-stock{display:flex;flex-direction:column;justify-content:center;flex:1.2 1 0;gap:10px;min-height:142px;padding:12px;border:1px solid #a297b53b;border-radius:7px;background:#121e2c40;min-width:0}
.jy-dashboard .jy-supplies-stock h3{font:500 22px/1.2 Georgia,serif;color:#ead7b0;margin:0;overflow-wrap:anywhere}
.jy-dashboard .jy-supplies-stock>header{display:flex;align-items:center;gap:11px;min-width:0}
.jy-dashboard .jy-supplies-stock img{width:45px;height:45px;flex:none;border:1px solid #b5a57560;border-radius:5px;object-fit:cover}
.jy-dashboard .jy-supplies-stock p{font-size:13px;line-height:1.45;color:#c8bdcf;margin:0}
.jy-dashboard .jy-supplies-stock small{font-size:10px;line-height:1.35;color:#c6b5d2}
.jy-dashboard .jy-supplies-stock dl,.jy-dashboard .jy-supplies-stock .jy-stock-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;margin:0}
.jy-dashboard .jy-supplies-stock dl>div,.jy-dashboard .jy-stock-counts>div{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 10px;border:1px solid #a99aba2e;border-radius:5px;background:#b6a0cc05;min-width:0}
.jy-dashboard .jy-supplies-stock dt{font-size:12px;line-height:1.3;color:#c6b5d2;margin:0}
.jy-dashboard .jy-supplies-stock dd{font-size:13px;line-height:1.35;color:#ddd4df;margin:0;overflow-wrap:anywhere}
.jy-dashboard .jy-supplies-durability{display:flex;align-items:center;flex:.6 1 0;gap:12px;min-height:65px;padding:11px 12px;border:1px solid #a3ac8a33;border-radius:7px;background:#15272b3a}
.jy-dashboard .jy-supplies-durability>div{flex:1;min-width:0}
.jy-dashboard .jy-supplies-durability img{width:32px;height:32px;flex:none;border-radius:4px;object-fit:cover}
.jy-dashboard .jy-supplies-durability :is(h3,b){display:block;font:500 15px/1.3 system-ui,sans-serif;color:#e0d5df;margin:0}
.jy-dashboard .jy-supplies-durability small{display:block;font-size:11px;line-height:1.35;margin-top:4px;color:#bdb4ca}
.jy-dashboard .jy-supplies-durability>strong{font:500 32px/1.1 Georgia,serif;color:#dedaa5;flex:none}
.jy-dashboard .jy-supplies-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:32px;margin-top:auto;font-size:11px;line-height:1.3}
.jy-dashboard .jy-supplies-footer :is(button,a){min-height:32px;padding:6px 10px;box-sizing:border-box;font-size:12px;display:flex;align-items:center;justify-content:center}

/* Equal cells adapt their secondary detail to the actual space they receive. */
@container(max-height:540px){
 .jy-dashboard :is(.jy-cell-heading,.jy-support-heading){min-height:30px;margin-bottom:8px;gap:8px}
 .jy-dashboard .jy-title-picture{width:30px;height:30px;flex-basis:30px}
 .jy-dashboard h2,.jy-dashboard .jy-combined .jy-cell-heading h2,.jy-dashboard .jy-supplies .jy-cell-heading h2{font-size:21px}
 .jy-dashboard .jy-plan-state{font-size:10px}
 .jy-dashboard .jy-circuit-name,.jy-dashboard .jy-helper-plan .jy-helper-route-name{font-size:11px;line-height:1.3;margin-bottom:5px}
 .jy-dashboard .jy-plan-steps,.jy-dashboard .jy-helper-plan .jy-plan-steps{gap:3px;margin-bottom:5px}
 .jy-dashboard .jy-step,.jy-dashboard .jy-helper-plan .jy-step{padding:3px 4px!important;gap:6px;grid-template-columns:24px minmax(0,1fr) 8px}
 .jy-dashboard .jy-step:has(.jy-step-picture){grid-template-columns:21px 23px minmax(0,1fr) 8px}
 .jy-dashboard .jy-step-picture{width:23px;height:23px}
 .jy-dashboard .jy-step-content b,.jy-dashboard .jy-helper-plan .jy-step-content b{font-size:14px;line-height:1.22}
 .jy-dashboard .jy-step-content small,.jy-dashboard .jy-helper-plan .jy-step-content small{display:block;font-size:10px;line-height:1.25}
 .jy-dashboard .jy-helper-plan[data-upcoming-count="4"] .jy-step-content small{display:none}
 .jy-dashboard .jy-dungeon{min-height:54px;padding:5px;gap:8px;margin-bottom:5px}
 .jy-dashboard .jy-dungeon-picture{width:62px;height:45px}
 .jy-dashboard .jy-dungeon-name b{font-size:19px}
 .jy-dashboard .jy-dungeon-readiness{font-size:10px}.jy-dashboard .jy-dungeon p{display:none}
 .jy-dashboard .jy-plan-progress>span{font-size:11px}.jy-dashboard .jy-plan-progress{padding-top:3px}
 .jy-dashboard .jy-saved-hud{padding:12px;gap:7px}
 .jy-dashboard .jy-hud-identity b{font-size:23px}
 .jy-dashboard .jy-hud-experience{padding:6px 0}.jy-dashboard .jy-hud-experience>strong{font-size:28px}
 .jy-dashboard .jy-hud-stat{min-height:60px;padding:7px;gap:3px}.jy-dashboard .jy-hud-stat>span{font-size:11px}.jy-dashboard .jy-hud-stat>b{font-size:15px}
 .jy-dashboard .jy-hud-skills{padding-top:6px}.jy-dashboard .jy-hud-skills ul,.jy-dashboard .jy-skills-list{gap:5px 9px}.jy-dashboard .jy-hud-skills li{font-size:12px;grid-template-columns:17px minmax(0,1fr) auto;gap:5px}
 .jy-dashboard .jy-hud-skills img{width:17px;height:17px}.jy-dashboard .jy-hud-skills b{font-size:12px}.jy-dashboard .jy-hud-skills>small,.jy-dashboard .jy-hud-skills>p{font-size:10px;margin-top:5px}
 .jy-dashboard .jy-paperdoll{grid-template-rows:minmax(0,1fr) 38px;gap:4px 7px;margin:6px 0 3px}
 .jy-dashboard .jy-equipment-column{gap:3px}.jy-dashboard .jy-equipment-item{padding:2px 3px!important;gap:5px!important}
 .jy-dashboard .jy-equipment-item>img{width:23px;height:23px;flex-basis:23px}.jy-dashboard .jy-equipment-item small{font-size:10px;line-height:1.1}
 .jy-dashboard .jy-equipment-item b{font-size:12px;line-height:1.15;display:block;white-space:nowrap;text-overflow:ellipsis}
 .jy-dashboard .jy-equipment-weapons .jy-equipment-item b{font-size:11px}.jy-dashboard .jy-equipment-weapons .jy-equipment-item small{font-size:9px}
 .jy-dashboard .jy-current-layout{gap:8px}.jy-dashboard .jy-current-status h3{font-size:26px;line-height:1.15;margin-bottom:5px}
 .jy-dashboard .jy-current-status p{font-size:12px}.jy-dashboard .jy-current-status small{font-size:10px}
 .jy-dashboard .jy-current-contact{min-height:57px;padding:7px 9px;gap:9px}.jy-dashboard .jy-current-contact>img,.jy-dashboard .jy-current-contact>a>img{width:38px;height:47px}.jy-dashboard .jy-current-contact :is(b,strong){font-size:20px}.jy-dashboard .jy-current-contact p{font-size:12px;margin-top:3px}
 .jy-dashboard .jy-current-objectives{min-height:65px;padding:9px}.jy-dashboard .jy-current-objectives p,.jy-dashboard .jy-current-objectives li{font-size:13px;line-height:1.35}
 .jy-dashboard .jy-current-instruction{display:none}
 .jy-dashboard .jy-current-controls :is(button,a){min-height:34px;padding:6px 9px;font-size:12px}
 .jy-dashboard>.jy-supplies{gap:8px}.jy-dashboard .jy-supplies-capacity{min-height:100px;padding:10px 12px;gap:6px}
 .jy-dashboard .jy-supplies-capacity>strong,.jy-dashboard .jy-bag-free{font-size:37px}.jy-dashboard .jy-supplies-capacity p{font-size:12px}.jy-dashboard .jy-supplies-capacity small{font-size:10px}
 .jy-dashboard .jy-supplies-stock{min-height:111px;padding:10px;gap:7px}.jy-dashboard .jy-supplies-stock h3{font-size:19px}.jy-dashboard .jy-supplies-stock img{width:36px;height:36px}.jy-dashboard .jy-supplies-stock p{font-size:12px}.jy-dashboard .jy-supplies-stock dl>div,.jy-dashboard .jy-stock-counts>div{padding:6px 7px;gap:3px}.jy-dashboard .jy-supplies-stock dt{font-size:11px}.jy-dashboard .jy-supplies-stock dd{font-size:11px}
 .jy-dashboard .jy-supplies-durability{min-height:48px;padding:7px 9px;gap:9px}.jy-dashboard .jy-supplies-durability img{width:26px;height:26px}.jy-dashboard .jy-supplies-durability :is(h3,b){font-size:13px}.jy-dashboard .jy-supplies-durability small{font-size:10px;margin-top:2px}.jy-dashboard .jy-supplies-durability>strong{font-size:26px}
}
@container(max-height:340px){
 .jy-dashboard :is(.jy-cell-heading,.jy-support-heading){min-height:25px;margin-bottom:5px;gap:7px}
 .jy-dashboard .jy-title-picture{width:24px;height:24px;flex-basis:24px;border-radius:4px}
 .jy-dashboard h2,.jy-dashboard .jy-combined .jy-cell-heading h2,.jy-dashboard .jy-supplies .jy-cell-heading h2{font-size:19px}
 .jy-dashboard .jy-kicker{font-size:9px}
 .jy-dashboard .jy-circuit-name,.jy-dashboard .jy-helper-plan .jy-helper-route-name{margin-bottom:3px;font-size:10px}
 .jy-dashboard .jy-step,.jy-dashboard .jy-helper-plan .jy-step{padding:1px 3px!important;gap:5px}
 .jy-dashboard .jy-step-content b,.jy-dashboard .jy-helper-plan .jy-step-content b{font-size:13px;line-height:1.2}
 .jy-dashboard .jy-step-order{font-size:10px}.jy-dashboard .jy-step-picture{width:20px;height:20px}
 .jy-dashboard .jy-plan-steps,.jy-dashboard .jy-helper-plan .jy-plan-steps{gap:2px;margin-bottom:3px}
 .jy-dashboard .jy-dungeon{min-height:43px;margin:0 0 3px;padding:3px}.jy-dashboard .jy-dungeon-picture{width:48px;height:35px}.jy-dashboard .jy-dungeon-name b{font-size:17px}.jy-dashboard .jy-dungeon-heading h3{font-size:10px}.jy-dashboard .jy-dungeon-heading>span{display:none}.jy-dashboard .jy-dungeon-readiness{font-size:9px}
 .jy-dashboard .jy-plan-link{min-height:24px!important;font-size:10px!important;padding:1px 0!important}
 .jy-dashboard .jy-plan-progress>span{font-size:10px}.jy-dashboard .jy-plan-progress progress{margin-top:3px}
 .jy-dashboard .jy-saved-hud{padding:10px;gap:5px}.jy-dashboard .jy-hud-identity{min-height:26px;gap:7px}.jy-dashboard .jy-hud-identity b{font-size:21px}.jy-dashboard .jy-hud-identity>div>span{font-size:10px}
 .jy-dashboard .jy-hud-level{width:25px;height:25px;flex-basis:25px;font-size:18px}.jy-dashboard .jy-hud-observation{font-size:10px}.jy-dashboard .jy-hud-experience{padding:4px 0}.jy-dashboard .jy-hud-experience>strong{font-size:25px;margin:3px 0}.jy-dashboard .jy-hud-xp-detail{font-size:11px}.jy-dashboard .jy-hud-xp-track{margin-top:4px}
 .jy-dashboard .jy-hud-stat{min-height:47px;padding:5px;gap:2px}.jy-dashboard .jy-hud-stat>span{font-size:10px}.jy-dashboard .jy-hud-stat>b{font-size:13px}.jy-dashboard .jy-hud-stat>small{font-size:9px}
 .jy-dashboard .jy-hud-summary{display:none}.jy-dashboard .jy-hud-skills{padding-top:4px}.jy-dashboard .jy-hud-skills ul,.jy-dashboard .jy-skills-list{gap:3px 8px}.jy-dashboard .jy-hud-skills li,.jy-dashboard .jy-hud-skills b{font-size:11px}.jy-dashboard .jy-hud-skills img{width:15px;height:15px}.jy-dashboard .jy-hud-skills li{grid-template-columns:15px minmax(0,1fr) auto;gap:4px}.jy-dashboard .jy-hud-skills header{margin-bottom:4px}.jy-dashboard .jy-hud-skills :is(h3,h4){font-size:12px}.jy-dashboard .jy-hud-skills>small{font-size:9px;margin-top:3px}.jy-dashboard .jy-hud-footer>p{font-size:10px}.jy-dashboard .jy-hud-footer>p>small{font-size:9px}
 .jy-dashboard .jy-paperdoll{grid-template-rows:minmax(0,1fr) 28px;gap:3px 6px;margin:4px 0 1px}.jy-dashboard .jy-equipment-column{gap:2px}.jy-dashboard .jy-equipment-source{font-size:10px}.jy-dashboard .jy-equipment-time{font-size:9px;margin-top:1px}.jy-dashboard .jy-equipment-item{gap:4px!important;padding:1px 2px!important}.jy-dashboard .jy-equipment-item>img{width:20px;height:20px;flex-basis:20px}.jy-dashboard .jy-equipment-item small{font-size:9px;line-height:1.05}.jy-dashboard .jy-equipment-item b{font-size:11px;line-height:1.05}.jy-dashboard .jy-equipment-weapons .jy-equipment-item small{font-size:9px}.jy-dashboard .jy-equipment-weapons .jy-equipment-item b{font-size:10px}.jy-dashboard .jy-equipment-footer .jy-plan-link{min-height:22px!important}
 .jy-dashboard .jy-current-layout{gap:5px}.jy-dashboard .jy-current-status h3{font-size:23px;line-height:1.1;margin-bottom:3px}.jy-dashboard .jy-current-status p{font-size:11px;line-height:1.25}.jy-dashboard .jy-current-contact{min-height:42px;padding:5px 7px;gap:8px}.jy-dashboard .jy-current-contact>img,.jy-dashboard .jy-current-contact>a>img{width:28px;height:34px}.jy-dashboard .jy-current-contact small{display:none}.jy-dashboard .jy-current-contact :is(b,strong){font-size:17px;line-height:1.15}.jy-dashboard .jy-current-contact p{font-size:11px;line-height:1.25;margin-top:2px}
 .jy-dashboard .jy-current-objectives{min-height:43px;padding:7px}.jy-dashboard .jy-current-objectives :is(h4,h5){margin-bottom:4px;font-size:10px}.jy-dashboard .jy-current-objectives p,.jy-dashboard .jy-current-objectives li{font-size:12px;line-height:1.25;margin:2px 0}.jy-dashboard .jy-current-objectives ul{gap:3px}.jy-dashboard .jy-current-objectives progress{margin-top:4px;height:4px}
 .jy-dashboard .jy-current-controls :is(button,a){min-height:30px;padding:5px 8px;font-size:11px}.jy-dashboard .jy-current-layout>.jy-current-source,.jy-dashboard .jy-current-layout>footer{font-size:9px;line-height:1.3}
 .jy-dashboard>.jy-supplies{gap:5px}.jy-dashboard .jy-supplies-capacity{min-height:73px;padding:7px 9px;gap:4px}.jy-dashboard .jy-supplies-capacity h3{font-size:11px}.jy-dashboard .jy-supplies-capacity>strong,.jy-dashboard .jy-bag-free{font-size:29px}.jy-dashboard .jy-supplies-capacity p{font-size:11px}.jy-dashboard .jy-supplies-capacity small{font-size:9px}.jy-dashboard .jy-supplies-capacity progress{height:4px}
 .jy-dashboard .jy-supplies-stock{min-height:71px;padding:7px 9px;gap:5px}.jy-dashboard .jy-supplies-stock h3{font-size:16px;line-height:1.15}.jy-dashboard .jy-supplies-stock img{width:28px;height:28px}.jy-dashboard .jy-supplies-stock>header{gap:8px}.jy-dashboard .jy-supplies-stock p{font-size:11px;line-height:1.3}.jy-dashboard .jy-supplies-stock small{font-size:9px}.jy-dashboard .jy-supplies-stock dl,.jy-dashboard .jy-supplies-stock .jy-stock-counts{gap:5px}.jy-dashboard .jy-supplies-stock dl>div,.jy-dashboard .jy-stock-counts>div{padding:4px 5px;gap:2px}.jy-dashboard .jy-supplies-stock dt,.jy-dashboard .jy-supplies-stock dd{font-size:10px;line-height:1.2}
 .jy-dashboard .jy-supplies-durability{min-height:37px;padding:5px 7px;gap:7px}.jy-dashboard .jy-supplies-durability img{width:21px;height:21px}.jy-dashboard .jy-supplies-durability :is(h3,b){font-size:11px}.jy-dashboard .jy-supplies-durability small{font-size:9px}.jy-dashboard .jy-supplies-durability>strong{font-size:23px}.jy-dashboard .jy-supplies-footer{min-height:28px;font-size:10px}.jy-dashboard .jy-supplies-footer :is(button,a){min-height:28px;font-size:11px;padding:5px 7px}
 .jy-dashboard .jy-map-caption{font-size:11px;line-height:1.25;margin-bottom:4px}.jy-dashboard .jy-map-caption>b{font-size:11px}.jy-dashboard .jy-map-caption>span{font-size:9px}.jy-dashboard .jy-map-content .qm-controls{margin-bottom:4px}.jy-dashboard .jy-map-content .qm-controls select{min-height:26px;font-size:10px;padding:3px}.jy-dashboard .jy-map-legend{font-size:10px;line-height:1.25;margin-top:4px}.jy-dashboard .jy-map-legend-note{font-size:9px}.jy-dashboard .jy-map-content .qm-location-panel>.qm-locations{max-height:56px}.jy-dashboard .jy-map-content .qm-open-map{min-height:28px;font-size:11px}.jy-dashboard .jy-map-content .jy-map-details{margin-top:-28px;min-height:28px}.jy-dashboard .jy-map-content .jy-map-details>summary{font-size:10px;min-height:28px;padding:5px 0}
}
@container(max-width:330px){
 .jy-dashboard .jy-panel-title{gap:7px}.jy-dashboard .jy-plan-state{max-width:62px;font-size:10px}
 .jy-dashboard .jy-equipment-item>img{width:22px;height:22px;flex-basis:22px}.jy-dashboard .jy-equipment-item small{font-size:10px}.jy-dashboard .jy-equipment-item b{font-size:12px}
 .jy-dashboard .jy-paperdoll{column-gap:6px}.jy-dashboard .jy-equipment-weapons{gap:4px}.jy-dashboard .jy-equipment-weapons .jy-equipment-item{gap:3px!important}.jy-dashboard .jy-equipment-weapons .jy-equipment-item>img{width:18px;height:18px;flex-basis:18px}
 .jy-dashboard .jy-equipment-weapons .jy-equipment-item small{font-size:9px}.jy-dashboard .jy-equipment-weapons .jy-equipment-item b{font-size:10px}
 .jy-dashboard .jy-current-controls{gap:5px}.jy-dashboard .jy-current-controls :is(button,a){padding-inline:6px}
}

/* Below desktop, preserve six equal cells and use the page as the only main scroll surface. */
@media(max-width:999px){
 .jy-dashboard{height:auto;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,460px);grid-template-areas:"plan hud" "map gear" "move supplies";gap:12px}
 .jy-dashboard>section{padding:12px}.jy-dashboard>.jy-hud{padding:0}
}
/* The desktop sidebar leaves too little card width for three columns here. */
@media(min-width:1000px) and (max-width:1199px){
 html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel{overflow:auto}
 html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel>.next-action-panel,
 html.vr-compact body[data-view=route]:not(.minimal-hud) #nextAction{overflow:visible}
 .jy-dashboard{height:auto;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,460px);grid-template-areas:"plan hud" "map gear" "move supplies";gap:12px}
 .jy-dashboard>section{padding:12px}.jy-dashboard>.jy-hud{padding:0}
}
/* Short desktops keep full card content and scroll the page instead of shrinking rows. */
@media(min-width:1200px) and (max-height:820px){
 html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel{overflow:auto}
 html.vr-compact body[data-view=route]:not(.minimal-hud) #vr-task-panel>.next-action-panel,
 html.vr-compact body[data-view=route]:not(.minimal-hud) #nextAction{overflow:visible}
 .jy-dashboard{height:auto;max-height:none;grid-template-rows:repeat(2,460px)}
}
@media(max-width:600px){
 .jy-dashboard{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(6,560px);grid-template-areas:"plan" "hud" "map" "gear" "move" "supplies";gap:12px}
 .jy-dashboard>section{padding:13px}.jy-dashboard>.jy-hud{padding:0}
 .jy-dashboard .jy-current-instruction{display:flex;min-height:64px;flex:.7}
 .jy-dashboard .jy-current-contact :is(b,strong){font-size:21px}.jy-dashboard .jy-current-status h3{font-size:27px}
}

/* Production hooks: the panels retain real saved observations and existing controls. */
.jy-dashboard .jy-hud-panel-heading{display:flex;align-items:center;gap:10px;flex:none;min-width:0;font:500 24px/1.15 Georgia,serif;color:#efdcb1}
.jy-dashboard .jy-panel-picture{width:36px;height:36px;flex:0 0 36px;object-fit:cover;border:1px solid #bda16a88;border-radius:6px;box-sizing:border-box}
.jy-dashboard .jy-hud-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none;min-width:0}
.jy-dashboard .jy-hud-wallet>span{align-items:center;justify-content:flex-start}
.jy-dashboard .jy-hud-wallet>span img{width:18px;height:18px;border-radius:3px;object-fit:cover}
.jy-dashboard .jy-hud-wallet>span i{margin-left:auto}
.jy-dashboard .jy-hud-quest-log{display:flex;flex-direction:column;gap:4px;padding:9px;min-width:0;border:1px solid #bca7ce29;border-radius:5px;background:#ffffff02}
.jy-dashboard .jy-hud-quest-log>span{font-size:12px;color:#c9bdd0}
.jy-dashboard .jy-hud-quest-log>b{font-size:17px;line-height:1.25;color:#efd6a3;font-weight:600}
.jy-dashboard .jy-hud-quest-log>small{font-size:10px;line-height:1.35;color:#b8acbf}
.jy-dashboard .jy-hud-xp-time{display:block;font:10px/1.35 system-ui,sans-serif;color:#b8acbf;margin-top:4px}
.jy-dashboard .jy-hud-feed-details{font:11px/1.3 system-ui,sans-serif;color:#e4c995}
.jy-dashboard .jy-hud-feed-details>summary{display:block;min-height:24px;padding:3px 0;box-sizing:border-box;cursor:pointer;list-style:none;color:#e4c995}
.jy-dashboard .jy-hud-feed-details>summary::-webkit-details-marker{display:none}
.jy-dashboard .jy-hud-feed-details>summary:hover{text-decoration:underline}
.jy-dashboard .jy-hud-feed-records{position:absolute;inset:12px;z-index:25;padding:18px;box-sizing:border-box;border:1px solid #c5a87b88;border-radius:8px;background:#202936;color:#e9dfec;box-shadow:0 8px 24px #080d17cc;overflow:auto;font:14px/1.45 system-ui,sans-serif}
.jy-dashboard .jy-hud-feed-records h4{font:500 26px/1.2 Georgia,serif;margin:0 0 18px;color:#efdcb1}
.jy-dashboard .jy-hud-feed-records>p{font-size:12px;line-height:1.45;color:#c7b9d0;margin:18px 0 0}
.jy-dashboard .jy-hud-feed-records .jy-hud-skill-list{grid-template-columns:minmax(0,1fr);gap:12px}
.jy-dashboard .jy-hud-feed-records .jy-hud-skill-list li{grid-template-columns:24px minmax(0,1fr) auto;font-size:15px}
.jy-dashboard .jy-hud-feed-records .jy-hud-skill-list img{width:24px;height:24px}
.jy-dashboard .jy-hud-quest-records{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.jy-dashboard .jy-hud-quest-records li{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid #bba5cf24}
.jy-dashboard .jy-hud-quest-records li small{font-size:12px;color:#c6b8cf;line-height:1.4}
.jy-dashboard .jy-hud-session{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;border-top:1px solid #bca7ce26;padding-top:7px;flex:none;min-width:0}
.jy-dashboard .jy-hud-session>div{min-width:0}
.jy-dashboard .jy-hud-session b{display:block;font-size:11px;font-weight:500;color:#d7c8df;line-height:1.3}
.jy-dashboard .jy-hud-session small{display:block;font-size:10px;color:#b7a9c1;line-height:1.3;margin-top:3px}
.jy-dashboard .jy-hud-session .jy-hud-feed-details{flex:none;font-size:10px}
.jy-dashboard .jy-hud-skills .jy-hud-feed-empty{font-size:12px;line-height:1.4;color:#bfb1cb}
.jy-dashboard .jy-hud-skills .jy-hud-skill-preview li>span{min-width:0;overflow-wrap:anywhere}
.jy-dashboard .jy-hud-skills .jy-hud-skill-preview li>b{white-space:nowrap}
.jy-dashboard .jy-current-state{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;font-size:12px;line-height:1.3;color:#c5b4d0}
.jy-dashboard .jy-current-state .jy-current-context{border:1px solid #a798bd50;border-radius:3px;padding:2px 6px;color:#dbcae6;background:#a58bbb0c}
.jy-dashboard .jy-current-state>b{font-weight:500;color:#d0bfdc}
.jy-dashboard .jy-current-state>b.is-ready{color:#a7dfb7}
.jy-dashboard .jy-current-state>small{font-size:10px;flex:1 0 auto}
.jy-dashboard .jy-current-objective-list li>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.jy-dashboard .jy-current-objective-list li>div>b{flex:1;min-width:0}
.jy-dashboard .jy-current-objective-list li>div>strong{flex:none;font:500 15px/1.3 system-ui,sans-serif;color:#b3e0bf}
.jy-dashboard .jy-current-objectives>small:first-child{margin-bottom:8px;font-size:12px}
.jy-dashboard .jy-current-manual{overflow:hidden}
.jy-dashboard .jy-current-manual .jy-action-main h3{font-size:28px;margin-block:0 7px}
.jy-dashboard .jy-current-manual .jy-action-reason{font-size:13px;line-height:1.4}
.jy-dashboard .jy-current-manual .jy-current-objectives{justify-content:flex-start;overflow:hidden}
.jy-dashboard .jy-current-manual :is(.jy-quest-title h3,.nm-main h2){font-size:24px}
.jy-dashboard .jy-supplies-capacity>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:12px;color:#e2dfd3}
.jy-dashboard .jy-supplies-capacity>strong>span{font:16px/1.3 system-ui,sans-serif;color:#e7e1d5}
.jy-dashboard .jy-supplies-capacity>strong>span small{font:12px/1.3 system-ui,sans-serif;color:#c3cbc7}
.jy-dashboard .jy-supplies-capacity-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#bfcfc6}
.jy-dashboard .jy-supplies-capacity p{font-size:11px;line-height:1.35}
.jy-dashboard .jy-supplies-item{display:flex;align-items:center;gap:11px;min-width:0}
.jy-dashboard .jy-supplies-item>div{min-width:0}
.jy-dashboard .jy-supplies-item a{display:block;font:500 21px/1.2 Georgia,serif;color:#ead7b0;overflow-wrap:anywhere}
.jy-dashboard .jy-supplies-item small{display:block;margin-bottom:5px}
.jy-dashboard .jy-supplies-stock-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0}
.jy-dashboard .jy-supplies-stock-values>div{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid #a99aba2e;border-radius:5px;background:#b6a0cc05;min-width:0}
.jy-dashboard .jy-supplies-stock-values span{font-size:12px;color:#c6b5d2}
.jy-dashboard .jy-supplies-stock-values b{font-size:13px;line-height:1.3;color:#ddd4df;font-weight:500;overflow-wrap:anywhere}
.jy-dashboard .jy-supplies-stock-values small{font-size:10px;line-height:1.3;color:#bcaec9}
.jy-dashboard .jy-supplies-stock .jy-supplies-qualifier{font-size:10px;line-height:1.4;color:#bfb1ca}
.jy-dashboard .jy-equipment-spacer{display:none}
.jy-dashboard .jy-equipment-right{grid-column:2}
.jy-dashboard .jy-step-art{width:28px;height:28px;object-fit:cover;border:1px solid #bba36d50;border-radius:4px}
.jy-dashboard .jy-step:has(>.jy-step-art){grid-template-columns:24px 28px minmax(0,1fr) 10px}
.jy-current-dialog .jy-current-dialog-content{font:14px/1.5 system-ui,sans-serif;color:#ded3e6}
.jy-current-dialog .jy-helper-records{padding:0;border:0;background:none}
.jy-current-dialog .jy-helper-source-note{font-size:12px;color:#c4b5ce}
.jy-hud-feed-dialog{box-sizing:border-box;width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid #bda16a88;border-radius:10px;background:#202936;color:#e9dfec;overflow:auto;box-shadow:0 18px 65px #0009;font:14px/1.5 system-ui,sans-serif}
.jy-hud-feed-dialog::backdrop{background:#080c14c9}
.jy-hud-feed-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.jy-hud-feed-dialog h2{font:500 28px/1.2 Georgia,serif;margin:0;color:#efdcb1}
.jy-hud-feed-dialog button{min-height:36px;padding:6px 11px;border:1px solid #b3986655;border-radius:5px;background:#c3a57213;color:#f0dbaf;font:inherit;cursor:pointer}
.jy-hud-feed-dialog :is(button,a):focus-visible{outline:3px solid #dfc0fc;outline-offset:3px}
.jy-hud-feed-dialog ul{list-style:none;display:grid;gap:14px;margin:0;padding:0}
.jy-hud-feed-dialog li{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid #bba5cf24}
.jy-hud-feed-dialog .jy-hud-skill-list li{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:16px}
.jy-hud-feed-dialog .jy-hud-skill-list img{width:28px;height:28px;border-radius:3px;object-fit:cover}
.jy-hud-feed-dialog a{color:#e8cd9a}
.jy-hud-feed-dialog small,.jy-hud-feed-dialog p{font-size:12px;line-height:1.45;color:#c7b9d0}
.jy-hud-feed-dialog>footer{display:flex;justify-content:flex-end;margin-top:20px}
@container(max-height:540px){
 .jy-dashboard .jy-hud-panel-heading{font-size:21px;gap:8px}.jy-dashboard .jy-panel-picture{width:30px;height:30px;flex-basis:30px}
 .jy-dashboard .jy-hud-secondary{gap:6px}.jy-dashboard .jy-hud-quest-log{padding:7px;gap:3px}.jy-dashboard .jy-hud-quest-log>span{font-size:11px}.jy-dashboard .jy-hud-quest-log>b{font-size:15px}.jy-dashboard .jy-hud-quest-log>small{font-size:9px}
 .jy-dashboard .jy-hud-session{padding-top:5px}.jy-dashboard .jy-hud-session b{font-size:10px}.jy-dashboard .jy-hud-session small{font-size:9px}.jy-dashboard .jy-hud-feed-details>summary{min-height:22px;padding-block:2px}
 .jy-dashboard .jy-supplies-item a{font-size:19px}.jy-dashboard .jy-supplies-item{gap:8px}.jy-dashboard .jy-supplies-stock-values{gap:7px}.jy-dashboard .jy-supplies-stock-values>div{padding:6px 7px;gap:3px}.jy-dashboard .jy-supplies-stock-values b{font-size:12px}.jy-dashboard .jy-supplies-stock-values small{font-size:9px}
 .jy-dashboard .jy-current-state{font-size:11px;gap:4px 6px}.jy-dashboard .jy-current-state>small{font-size:9px}.jy-dashboard .jy-current-objective-list li>div>strong{font-size:13px}
 .jy-dashboard .jy-step-art{width:23px;height:23px}.jy-dashboard .jy-step:has(>.jy-step-art){grid-template-columns:21px 23px minmax(0,1fr) 8px}
}
@container(max-height:340px){
 .jy-dashboard .jy-hud-panel-heading{font-size:19px;gap:7px}.jy-dashboard .jy-panel-picture{width:24px;height:24px;flex-basis:24px}
 .jy-dashboard .jy-hud-secondary{gap:5px}.jy-dashboard .jy-hud-quest-log{padding:5px;gap:2px}.jy-dashboard .jy-hud-quest-log>span{font-size:10px}.jy-dashboard .jy-hud-quest-log>b{font-size:13px}.jy-dashboard .jy-hud-quest-log>small{font-size:9px}.jy-dashboard .jy-hud-xp-time{font-size:9px;margin-top:2px}
 .jy-dashboard .jy-hud-session{padding-top:4px}.jy-dashboard .jy-hud-session small{display:none}.jy-dashboard .jy-hud-feed-details>summary{min-height:20px;font-size:9px}
 .jy-dashboard .jy-supplies-capacity>div:first-child{font-size:11px}.jy-dashboard .jy-supplies-capacity>div:first-child>small{font-size:9px}.jy-dashboard .jy-supplies-capacity>strong>span{font-size:13px}.jy-dashboard .jy-supplies-capacity-label,.jy-dashboard .jy-supplies-capacity p{font-size:9px}
 .jy-dashboard .jy-supplies-item a{font-size:16px}.jy-dashboard .jy-supplies-item small{margin-bottom:3px}.jy-dashboard .jy-supplies-stock-values>div{padding:4px 5px;gap:2px}.jy-dashboard .jy-supplies-stock-values span,.jy-dashboard .jy-supplies-stock-values b{font-size:10px}.jy-dashboard .jy-supplies-stock-values small,.jy-dashboard .jy-supplies-stock .jy-supplies-qualifier{font-size:9px}
 .jy-dashboard .jy-current-state{font-size:10px;gap:3px 5px}.jy-dashboard .jy-current-state .jy-current-context{padding:1px 4px}.jy-dashboard .jy-current-objective-list li>div>strong{font-size:12px}.jy-dashboard .jy-current-objectives>small:first-child{font-size:10px;margin-bottom:4px}
 .jy-dashboard .jy-step-art{width:20px;height:20px}.jy-dashboard .jy-step:has(>.jy-step-art){grid-template-columns:20px 20px minmax(0,1fr) 8px}
}

/* Short desktop cells keep primary facts visible and put full skills behind Details. */
@container(max-height:340px){
 .jy-dashboard .jy-saved-hud{padding:9px;gap:4px}
 .jy-dashboard .jy-hud-identity{min-height:28px}.jy-dashboard .jy-hud-identity b{font-size:21px;line-height:1.1}.jy-dashboard .jy-hud-identity>div>span{font-size:9px;line-height:1.2}
 .jy-dashboard .jy-hud-observation{font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jy-dashboard .jy-hud-experience{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 6px;padding:5px 0}
 .jy-dashboard .jy-hud-xp-label{display:contents}.jy-dashboard .jy-hud-xp-label>span{grid-column:1;grid-row:1;font-size:10px}.jy-dashboard .jy-hud-xp-label>b{grid-column:2;grid-row:1;font-size:11px;text-align:right}
 .jy-dashboard .jy-hud-experience>strong{grid-column:1;grid-row:2;font-size:21px;line-height:1.1;margin:0;white-space:nowrap}.jy-dashboard .jy-hud-experience>strong>small{font-size:10px}
 .jy-dashboard .jy-hud-xp-detail{grid-column:2;grid-row:2;text-align:right;font-size:9px;line-height:1.2}.jy-dashboard .jy-hud-xp-track{grid-column:1/-1;grid-row:3;height:4px;margin:2px 0 0}
 .jy-dashboard .jy-hud-xp-time{grid-column:1/-1;font-size:8px;line-height:1.2;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jy-dashboard .jy-hud-secondary>.jy-hud-stat,.jy-dashboard .jy-hud-secondary>.jy-hud-quest-log{min-height:0;padding:5px;gap:2px}
 .jy-dashboard .jy-hud-wallet>span{font-size:10px;line-height:1.1}.jy-dashboard .jy-hud-wallet>span img{width:13px;height:13px}.jy-dashboard .jy-hud-wallet>b,.jy-dashboard .jy-hud-quest-log>b{font-size:13px;line-height:1.15}
 .jy-dashboard .jy-hud-wallet>small,.jy-dashboard .jy-hud-quest-log>small{display:block;font-size:8px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jy-dashboard .jy-hud-quest-log .jy-hud-feed-details>summary{min-height:16px;font-size:9px;padding:1px 0}
 .jy-dashboard .jy-hud-skills{padding-top:4px}.jy-dashboard .jy-hud-skills header{margin:0;min-height:20px}.jy-dashboard .jy-hud-skills>.jy-hud-skill-preview,.jy-dashboard .jy-hud-skills>.jy-hud-feed-time{display:none}
 .jy-dashboard .jy-hud-skills .jy-hud-feed-empty{margin:2px 0 0;font-size:9px;line-height:1.2}
 .jy-dashboard .jy-hud-session{padding-top:3px;min-height:17px;gap:6px}.jy-dashboard .jy-hud-session>div b{font-size:9px;line-height:1.3}.jy-dashboard .jy-hud-session .jy-hud-feed-details>summary{min-height:17px;padding:0}
 .jy-dashboard .jy-hud-footer{padding-top:0;gap:6px}.jy-dashboard .jy-hud-footer>p{font-size:10px;line-height:1.2}.jy-dashboard .jy-hud-footer>p>small{font-size:8px;line-height:1.2}.jy-dashboard .jy-hud-footer>button{min-height:24px;padding:2px 0;font-size:9px}
 .jy-dashboard>.jy-supplies{gap:4px}
 .jy-dashboard .jy-supplies-capacity{flex:1 1 90px;min-height:90px;padding:5px 8px;gap:2px}
 .jy-dashboard .jy-supplies-capacity>div:first-child{font-size:10px;line-height:1.2}.jy-dashboard .jy-supplies-capacity>div:first-child>small{font-size:8px;line-height:1.2}
 .jy-dashboard .jy-supplies-capacity>strong{font-size:28px;line-height:1}.jy-dashboard .jy-supplies-capacity>strong>span{font-size:12px}.jy-dashboard .jy-supplies-capacity>strong>span small{font-size:10px}
 .jy-dashboard .jy-supplies-capacity-label,.jy-dashboard .jy-supplies-capacity p{font-size:9px;line-height:1.2}.jy-dashboard .jy-supplies-capacity progress{height:4px}
 .jy-dashboard .jy-supplies-stock{flex:1 1 95px;min-height:95px;padding:5px 8px;gap:4px;justify-content:center}
 .jy-dashboard .jy-supplies-item{gap:7px}.jy-dashboard .jy-supplies-item>img{width:25px;height:25px}.jy-dashboard .jy-supplies-item a{font-size:15px;line-height:1.1}.jy-dashboard .jy-supplies-item small{font-size:8px;line-height:1.2;margin-bottom:2px}
 .jy-dashboard .jy-supplies-stock-values{gap:5px}.jy-dashboard .jy-supplies-stock-values>div{padding:3px 4px;gap:1px}.jy-dashboard .jy-supplies-stock-values span,.jy-dashboard .jy-supplies-stock-values b{font-size:9px;line-height:1.2}.jy-dashboard .jy-supplies-stock-values small{font-size:8px;line-height:1.2}.jy-dashboard .jy-supplies-stock .jy-supplies-qualifier{font-size:8px;line-height:1.2}
 .jy-dashboard .jy-supplies-durability{min-height:37px;flex:0 0 auto;padding:4px 7px}.jy-dashboard .jy-supplies-durability small{font-size:8px;line-height:1.2;margin-top:2px}
 .jy-dashboard .jy-supplies-footer{min-height:24px;gap:5px;font-size:9px}.jy-dashboard .jy-supplies-footer :is(button,a){min-height:24px;padding:3px 6px;font-size:9px}
}
/* Align the class picture with character identity; the accessible panel title stays in the shell. */
.jy-dashboard .jy-saved-hud{position:relative}
.jy-dashboard .jy-hud-panel-heading{position:absolute;left:14px;top:14px;display:block;min-height:0;height:36px;pointer-events:none}
.jy-dashboard .jy-hud-panel-heading>span{display:none}
.jy-dashboard .jy-hud-identity{box-sizing:border-box;min-height:36px;padding-left:46px}
.jy-dashboard .jy-hud .jy-hud-feed-details{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#e4c995}
.jy-dashboard .jy-hud .jy-hud-feed-details>summary{margin:0;border:0;border-radius:0;background:none;box-shadow:none;color:#e4c995}
@container(max-height:540px){
 .jy-dashboard .jy-hud-panel-heading{left:12px;top:12px;height:30px}.jy-dashboard .jy-hud-identity{min-height:30px;padding-left:40px}
}
@container(max-height:340px){
 .jy-dashboard .jy-hud-panel-heading{left:9px;top:9px;height:24px}.jy-dashboard .jy-hud-identity{min-height:28px;padding-left:32px}
}
/* Mid-height desktop cells: keep icons and key saved facts on the dashboard. */
@container(min-height:341px) and (max-height:540px){
 .jy-dashboard .jy-hud .jy-saved-hud{padding:9px;gap:3px}
 .jy-dashboard .jy-hud-panel-heading{left:9px;top:9px;height:30px}
 .jy-dashboard .jy-hud .jy-hud-identity{padding-left:39px;min-height:34px;gap:7px}
 .jy-dashboard .jy-hud .jy-hud-identity b{font-size:23px;line-height:1.1}.jy-dashboard .jy-hud .jy-hud-identity>div>span{font-size:9px;line-height:1.2}
 .jy-dashboard .jy-hud .jy-hud-observation{font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jy-dashboard .jy-hud .jy-hud-experience{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 6px;padding:4px 0}
 .jy-dashboard .jy-hud .jy-hud-xp-label{display:contents}.jy-dashboard .jy-hud .jy-hud-xp-label>span{grid-column:1;grid-row:1;font-size:10px}.jy-dashboard .jy-hud .jy-hud-xp-label>b{grid-column:2;grid-row:1;font-size:11px;text-align:right}
 .jy-dashboard .jy-hud .jy-hud-experience>strong{grid-column:1;grid-row:2;font-size:23px;line-height:1.1;margin:0;white-space:nowrap}.jy-dashboard .jy-hud .jy-hud-experience>strong>small{font-size:10px;line-height:1.2}
 .jy-dashboard .jy-hud .jy-hud-xp-detail{grid-column:2;grid-row:2;font-size:9px;line-height:1.2;text-align:right}.jy-dashboard .jy-hud .jy-hud-xp-track{grid-column:1/-1;grid-row:3;height:4px;margin:2px 0 0}
 .jy-dashboard .jy-hud .jy-hud-xp-time{display:none}
 .jy-dashboard .jy-hud .jy-hud-secondary{gap:6px}
 .jy-dashboard .jy-hud .jy-hud-secondary>.jy-hud-stat,.jy-dashboard .jy-hud .jy-hud-secondary>.jy-hud-quest-log{min-height:0;padding:5px 6px;gap:2px;position:relative}
 .jy-dashboard .jy-hud .jy-hud-wallet>span{font-size:10px;line-height:1.2}.jy-dashboard .jy-hud .jy-hud-wallet>span img{width:14px;height:14px}.jy-dashboard .jy-hud .jy-hud-wallet>b,.jy-dashboard .jy-hud .jy-hud-quest-log>b{font-size:14px;line-height:1.15}
 .jy-dashboard .jy-hud .jy-hud-wallet>small,.jy-dashboard .jy-hud .jy-hud-quest-log>small{display:block;font-size:8px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .jy-dashboard .jy-hud .jy-hud-quest-log>span{font-size:10px;line-height:1.2;max-width:calc(100% - 38px)}
 .jy-dashboard .jy-hud .jy-hud-quest-log>.jy-hud-feed-details{position:absolute;top:5px;right:6px;font-size:9px}.jy-dashboard .jy-hud .jy-hud-quest-log>.jy-hud-feed-details>summary{font-size:9px;min-height:15px;padding:0}
 .jy-dashboard .jy-hud .jy-hud-skills{padding-top:4px}
 .jy-dashboard .jy-hud .jy-hud-skills header{min-height:18px;margin:0 0 3px}.jy-dashboard .jy-hud .jy-hud-skills h3{font-size:12px;line-height:1.25}
 .jy-dashboard .jy-hud .jy-hud-skill-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 8px}
 .jy-dashboard .jy-hud .jy-hud-skill-preview li{grid-template-columns:15px minmax(0,1fr) auto;gap:3px;font-size:10.5px;line-height:1.15;min-height:15px}
 .jy-dashboard .jy-hud .jy-hud-skill-preview li>img{width:15px;height:15px}.jy-dashboard .jy-hud .jy-hud-skill-preview li>b{font-size:10.5px;line-height:1.15}
 .jy-dashboard .jy-hud .jy-hud-skills>.jy-hud-feed-time{margin-top:3px;font-size:8px;line-height:1.2}.jy-dashboard .jy-hud .jy-hud-skills .jy-hud-feed-details>summary{min-height:18px;padding:1px 0;font-size:10px}
 .jy-dashboard .jy-hud .jy-hud-session{padding-top:3px;min-height:17px;gap:6px}.jy-dashboard .jy-hud .jy-hud-session small{display:none}.jy-dashboard .jy-hud .jy-hud-session b{font-size:9px;line-height:1.3}.jy-dashboard .jy-hud .jy-hud-session .jy-hud-feed-details>summary{min-height:17px;padding:0;font-size:9px}
 .jy-dashboard .jy-hud .jy-hud-footer{gap:6px;padding-top:0}.jy-dashboard .jy-hud .jy-hud-footer>p{font-size:10px;line-height:1.2}.jy-dashboard .jy-hud .jy-hud-footer>p>small{font-size:8px;line-height:1.2}.jy-dashboard .jy-hud .jy-hud-footer>button{min-height:24px;padding:2px 0;font-size:9px}
 .jy-dashboard>.jy-supplies{gap:7px}.jy-dashboard .jy-supplies-capacity{min-height:112px;flex:1 1 112px;gap:4px;padding:8px 10px}.jy-dashboard .jy-supplies-capacity>strong{font-size:35px;line-height:1.05}.jy-dashboard .jy-supplies-capacity>strong>span{font-size:14px}.jy-dashboard .jy-supplies-capacity p{font-size:10px;line-height:1.2}
 .jy-dashboard .jy-supplies-stock{min-height:100px;flex:1 1 100px;gap:6px;padding:8px 10px}.jy-dashboard .jy-supplies-stock-values>div{padding:5px 6px;gap:2px}.jy-dashboard .jy-supplies-stock-values small{font-size:9px;line-height:1.2}.jy-dashboard .jy-supplies-stock .jy-supplies-qualifier{font-size:9px;line-height:1.25}
 .jy-dashboard .jy-supplies-durability{min-height:44px;flex:0 0 auto;padding:6px 9px}.jy-dashboard .jy-supplies-footer{min-height:28px}.jy-dashboard .jy-supplies-footer :is(button,a){min-height:28px;padding:5px 7px;font-size:10px}
}
/* Compact shortcut: full skill icons and ranks remain in the accessible Skills dialog. */
@container(min-height:341px) and (max-height:540px){
 .jy-dashboard .jy-hud .jy-saved-hud{gap:4px}
 .jy-dashboard .jy-hud .jy-hud-observation{font-size:10px}
 .jy-dashboard .jy-hud .jy-hud-xp-label>span,.jy-dashboard .jy-hud .jy-hud-xp-detail{font-size:11px}.jy-dashboard .jy-hud .jy-hud-xp-detail{font-size:10px}
 .jy-dashboard .jy-hud .jy-hud-experience>strong{font-size:25px;line-height:1.1}.jy-dashboard .jy-hud .jy-hud-experience>strong>small{font-size:11px}
 .jy-dashboard .jy-hud .jy-hud-wallet>span,.jy-dashboard .jy-hud .jy-hud-quest-log>span{font-size:11px}.jy-dashboard .jy-hud .jy-hud-wallet>b,.jy-dashboard .jy-hud .jy-hud-quest-log>b{font-size:15px}
 .jy-dashboard .jy-hud .jy-hud-wallet>small,.jy-dashboard .jy-hud .jy-hud-quest-log>small{font-size:10px}
 .jy-dashboard .jy-hud .jy-hud-quest-log>.jy-hud-feed-details>summary{font-size:10px;min-height:17px}
 .jy-dashboard .jy-hud .jy-hud-skill-preview{display:none}
 .jy-dashboard .jy-hud .jy-hud-skills header{margin-bottom:2px}.jy-dashboard .jy-hud .jy-hud-skills>.jy-hud-feed-time{margin-top:0;font-size:10px;line-height:1.2}
 .jy-dashboard .jy-hud .jy-hud-session>div{display:none}.jy-dashboard .jy-hud .jy-hud-session{justify-content:flex-end;min-height:17px;padding-top:0}.jy-dashboard .jy-hud .jy-hud-session .jy-hud-feed-details>summary{font-size:10px;min-height:17px}
 .jy-dashboard .jy-hud .jy-hud-footer>p{font-size:11px}.jy-dashboard .jy-hud .jy-hud-footer>p>small{font-size:10px}.jy-dashboard .jy-hud .jy-hud-footer>button{font-size:10px;min-height:26px}
}
.jy-dashboard .jy-current-contact a>b{display:inline}

@container(min-height:380px) and (max-height:540px){
 .jy-dashboard .jy-hud .jy-hud-skill-preview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;margin:5px 0 0;padding:0}
 .jy-dashboard .jy-hud .jy-hud-skill-preview li{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:6px;font-size:12px;line-height:18px}
 .jy-dashboard .jy-hud .jy-hud-skill-preview img{width:18px;height:18px}.jy-dashboard .jy-hud .jy-hud-skill-preview b{font-size:12px}
}

@container(max-height:340px){
 .jy-dashboard>.jy-supplies{gap:4px;padding:9px}
 .jy-dashboard .jy-supplies-capacity{flex:0 0 auto;min-height:76px;padding:5px 7px;gap:1px}
 .jy-dashboard .jy-supplies-capacity p{margin:0;font-size:9px}.jy-dashboard .jy-supplies-capacity>strong{font-size:27px}
 .jy-dashboard .jy-supplies-capacity progress{margin:2px 0;height:3px}
 .jy-dashboard .jy-supplies-stock{flex:1 1 80px;min-height:80px;padding:5px 7px;gap:3px}
 .jy-dashboard .jy-supplies-stock .jy-supplies-qualifier{display:none}
 .jy-dashboard .jy-supplies-stock-values>div{padding:3px 4px;gap:1px}
 .jy-dashboard .jy-supplies-durability{min-height:32px;padding:3px 6px}.jy-dashboard .jy-supplies-durability img{width:24px;height:24px}
 .jy-dashboard .jy-supplies-footer{min-height:24px}.jy-dashboard .jy-supplies-footer :is(a,button){min-height:24px;padding:3px 5px}
}
/* Live saved-session content retains its own window without pushing the footer out. */
@container(min-height:541px) and (max-height:580px){
 .jy-dashboard .jy-hud .jy-saved-hud{padding:12px;gap:7px}
 .jy-dashboard .jy-hud .jy-hud-xp-time{display:none}
 .jy-dashboard .jy-hud .jy-hud-experience{padding-block:6px}
}
@container(max-height:340px){
 .jy-dashboard>.jy-supplies{gap:2px;padding-block:7px}
 .jy-dashboard .jy-supplies-capacity{padding-block:3px;min-height:72px}
 .jy-dashboard .jy-supplies-stock{min-height:76px;padding-block:3px}
 .jy-dashboard .jy-equipment-item b{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:12px;max-height:12px;-webkit-line-clamp:1}
 .jy-dashboard .jy-equipment-item small{display:block;white-space:nowrap;font-size:10px;line-height:10px}
 .jy-dashboard .jy-equipment-item>span{display:block;min-width:0}.jy-dashboard .jy-equipment-item>img{width:20px;height:20px;flex-basis:20px}
}

/* Fixed header slots; existing workspace and Journey content retain their owners. */
html.vr-compact.vr-topbar{--tb-button-width:clamp(72px,calc(5.833333vw - 2.666667px),100px);--tb-gap:clamp(6px,calc(.78125vw - 4px),8px)}
.vr-topbar .vr-compact-app{grid-template-rows:68px minmax(0,1fr)}
html.vr-compact.vr-topbar .character-strip{box-sizing:border-box;display:flex;gap:10px;height:68px;min-height:68px;padding:0 16px;background:linear-gradient(180deg,#181621,#10131c);border-bottom:1px solid #756044}
.vr-topbar .character-strip .brand{display:flex;align-items:center;flex:1 1 0;width:auto;min-width:200px;max-width:none;height:56px;margin-right:0;gap:12px;letter-spacing:0;font-family:Georgia,'Times New Roman',serif;font-weight:700;color:#f0dbad;container-type:inline-size}
.vr-topbar .brand-mark{display:grid;place-items:center;box-sizing:border-box;width:56px;height:56px;flex:none;padding:4px;border-radius:12px;border-color:#b79a65;background:linear-gradient(145deg,#51335c,#14243c);box-shadow:inset 0 0 0 2px #d8b77433,0 0 18px #7950aa30}
.vr-topbar .brand-mark img{width:44px;height:44px;border-radius:8px}.vr-topbar .tb-brand-copy{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:center;gap:4px}.vr-topbar .tb-wordmark{display:block;width:min(100%,calc(40px * 770 / 86));height:auto;aspect-ratio:770/86;max-height:none;object-fit:contain;object-position:left center;filter:drop-shadow(0 1px 1px #0009)}.vr-topbar .brand small{display:block;font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:clamp(7px,1.6cqi,10px);line-height:1.2;letter-spacing:clamp(.02em,.3cqi,.2em);white-space:nowrap;color:#cdbd9e;margin:0;text-align:left}
html.vr-compact.vr-topbar .header-build{display:flex;flex:0 0 auto;width:auto;margin:0;padding:0;gap:var(--tb-gap);align-items:center;flex-wrap:nowrap}
.vr-topbar .header-build>.control-divider{display:none}.vr-topbar .header-build .level-control{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 var(--tb-button-width);width:var(--tb-button-width);min-width:var(--tb-button-width);max-width:var(--tb-button-width);height:50px;min-height:50px;max-height:50px;margin:0;padding:2px 5px;gap:2px;border:1px solid #79648a;border-radius:8px;background:linear-gradient(180deg,#30283d,#252130);color:#f2e6d1;box-shadow:inset 0 1px #ffffff0c,0 1px 2px #0003;cursor:text}.vr-topbar .level-control input{box-sizing:border-box;order:-1;width:42px;min-width:0;height:24px;min-height:24px;padding:0;border:1px solid #bfa47066;border-radius:4px;background:#19152266;color:#ffe0a0;font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:21px;font-weight:700;line-height:22px;font-variant-numeric:tabular-nums;text-align:center;box-shadow:inset 0 1px 2px #0004;appearance:textfield}.vr-topbar .level-control span{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:12px;font-weight:700;line-height:13px;letter-spacing:.04em;color:#f2e6d1}.vr-topbar .level-control:has(input:enabled):hover{background:#40324b;border-color:#d4b478}.vr-topbar .level-control:focus-within{outline:2px solid #ffe0a0;outline-offset:3px;border-color:#d4b478}.vr-topbar .character-strip .level-control input:focus-visible{outline:0}.vr-topbar .level-control:has(input:disabled){opacity:.6;cursor:default}.vr-topbar .level-control input:disabled{color:#dccaa8;-webkit-text-fill-color:#dccaa8;opacity:1;cursor:default}
.vr-topbar .level-control input::-webkit-inner-spin-button,.vr-topbar .level-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html.vr-compact.vr-topbar .header-actions{display:flex;flex:0 0 auto;width:var(--tb-button-width);gap:0}
.vr-topbar .vr-goal-tools{display:flex;gap:var(--tb-gap);align-items:center;min-width:0;margin-left:0}.vr-topbar #vrWorkspaceControls{display:flex!important}
html.vr-compact.vr-topbar .character-strip :is(.vr-icon-select,#spotlightTrigger,.vr-goal-button,.vr-workspace-control,.tb-button,.ac-account-trigger){box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:0 0 var(--tb-button-width);width:var(--tb-button-width);min-width:var(--tb-button-width);max-width:var(--tb-button-width);height:50px;min-height:50px;max-height:50px;margin:0;padding:2px 5px;border:1px solid #79648a;border-radius:8px;background:linear-gradient(180deg,#30283d,#252130);color:#f2e6d1;font-family:'Trebuchet MS','Segoe UI',sans-serif;font-size:12px;font-weight:700;line-height:13px;letter-spacing:.01em;text-align:center;box-shadow:inset 0 1px #ffffff0c,0 1px 2px #0003}
html.vr-compact.vr-topbar .character-strip :is(button:hover,button[aria-expanded=true],button[aria-pressed=true]):not(:disabled){background:#40324b;border-color:#d4b478;color:#fff1d3}
.vr-topbar .character-strip button:disabled{opacity:.48;cursor:default}.vr-topbar .character-strip :is(button,a,input):focus-visible{outline:2px solid #ffe0a0;outline-offset:3px}
html.vr-compact.vr-topbar body[data-view=route] .character-strip #spotlightTrigger,html.vr-compact.vr-topbar #spotlightTrigger{display:flex!important}.vr-topbar #spotlightTrigger>img,.vr-topbar #spotlightTrigger kbd{display:none}.vr-topbar .header-search-label{display:inline!important}
.vr-topbar .vr-icon-select{position:relative}.vr-topbar .vr-icon-select img{width:24px;height:24px;border:1px solid #bfa47088;border-radius:4px;box-shadow:0 1px 4px #0006}.vr-topbar .vr-icon-chevron{position:absolute;top:9px;right:8px;font-size:11px;color:#cbb7dc}.vr-topbar .vr-goal-button>img,.vr-topbar .vr-goal-status{display:none}.vr-topbar .vr-goal-text{min-width:0;width:100%}.vr-topbar .vr-goal-label{display:block;white-space:normal;font:inherit;line-height:13px;overflow-wrap:normal}.vr-topbar .ac-account-trigger .tb-button-label{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr-topbar .tb-control-icon{position:relative;display:block;box-sizing:content-box;width:24px;height:24px;flex:none;overflow:hidden;border:1px solid #bfa47088;border-radius:4px;background:#171320;box-shadow:inset 0 0 0 1px #e3c88a22,0 1px 4px #0006}.vr-topbar .tb-control-icon>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}.vr-topbar .tb-direction-mark{position:absolute;right:0;bottom:0;width:13px;height:12px;border-radius:3px 0 3px 0;background:#171320e8;color:#ffebbd}.vr-topbar .tb-goal-long .tb-control-icon{box-sizing:border-box;width:16px;height:16px}.vr-topbar .tb-button-label,.vr-topbar .header-search-label{font:inherit}
.tb-navigation{display:flex;flex:0 0 auto;gap:var(--tb-gap)}.tb-needs-attention{position:relative}.tb-needs-attention::after{content:'';position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:#f4c579;box-shadow:0 0 0 2px #282233}
.tb-planning-management{margin-bottom:20px;padding:18px;border:1px solid #6b597c;border-radius:10px;background:#1d1c29}.tb-planning-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.tb-planning-heading h2{margin:0 0 5px;font:24px Georgia,serif;color:#edd4a0}.tb-planning-heading p{margin:0;font-size:13px;color:#bfb0cc}.tb-planning-heading #openCharacter{display:flex;min-width:130px;max-width:260px;min-height:44px;padding:9px 12px;border:1px solid #927450;border-radius:8px;background:#302735;color:#f1d9ab}.tb-planning-save{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tb-planning-save #saveStatus{max-width:none;font-size:13px;line-height:1.5}.tb-planning-save #retrySave{min-height:44px}.tb-status-duplicate:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tb-planning-heading #openCharacter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;text-align:left}.tb-planning-heading .tb-character-caption{grid-column:1;font-size:12px;font-weight:700}.tb-planning-heading .tb-character-name{grid-column:1;grid-row:2;font-size:11px;color:#c4b5cd}.tb-planning-heading .profile-chevron{grid-column:2;grid-row:1/3}
html.vr-compact.vr-topbar .tb-planning-management .local-session-bar{display:flex;flex-direction:column;align-items:stretch;min-height:0;max-height:none;margin:0;padding:0;gap:14px;background:transparent;border:0}.tb-planning-management .local-session-bar>div:first-child{max-height:none;overflow:visible}.tb-planning-management .local-session-bar strong{display:none}.tb-planning-management .local-session-actions{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:8px}.tb-planning-management .manual-plan-scope{min-width:190px}.tb-planning-management .local-session-actions button{flex:0 0 auto}.tb-planning-management .local-session-bar [role=status]{font-size:13px;line-height:1.5;color:#d6c7e0}
.tb-dialog{box-sizing:border-box;position:fixed;inset:10vh auto auto 50%;transform:translateX(-50%);margin:0;width:min(560px,calc(100vw - 32px));max-width:560px;max-height:80vh;padding:22px;border:1px solid #9c7dae;border-radius:14px;background:#191c29;color:#f1e7d8;box-shadow:0 24px 100px #000b;overflow:auto}.tb-dialog::backdrop{background:#070912b8}.tb-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.tb-dialog-heading h2{margin:0 0 7px;font:28px Georgia,serif;color:#efd5a2}.tb-dialog-heading p,.tb-empty,.tb-settings-status{font-size:13px;line-height:1.5;color:#c6b6d3;margin:0}.tb-dialog .tb-close{flex:none;min-width:36px;min-height:36px;border:1px solid #725981;border-radius:7px;background:#302638;color:#f1e0fa;font-size:22px}.tb-dialog :is(button,select):focus-visible{outline:2px solid #ffe0a0;outline-offset:3px}.tb-recent-list{display:grid;gap:7px;list-style:none;padding:0;margin:0 0 16px}.tb-recent-place{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:54px;padding:10px 12px;border:1px solid #51415f;border-radius:8px;background:#242234;color:#efe5d7;text-align:left}.tb-recent-place:hover{background:#3a2d45;border-color:#c3a06c}.tb-recent-place strong{font-size:13px;overflow-wrap:anywhere}.tb-recent-place small{font-size:11px;color:#bca7cd}.tb-empty{margin:12px 0 20px}.tb-secondary{min-height:40px;padding:8px 12px;border:1px solid #80668f;border-radius:7px;background:#302638;color:#e5d3f0;font-size:12px}.tb-settings-fields{display:grid;gap:16px;margin-bottom:18px}.tb-settings-fields label{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,1fr);align-items:center;gap:20px;font-size:14px;color:#e5d9ed}.tb-settings-fields select{width:100%;min-height:42px;padding:8px 10px;background:#292234;border:1px solid #80668f;border-radius:7px;color:#f0e4f6}.tb-settings-status{min-height:20px;margin:0 0 12px}
html[data-vr-text-size=larger] :is(.main-pane p,.main-pane .wiki-record-section,.main-pane .wiki-record-description,.tb-dialog p){font-size:max(15px,1em)!important;line-height:1.5}
html[data-vr-contrast=high]{--text:#fff6e8;--muted:#e7dded;--faint:#d2c1dd;--line:#8b779a}html[data-vr-contrast=high] :is(.main-pane p,.main-pane small,.tb-dialog p,.navigation small){color:#f1e9f7}html[data-vr-contrast=high] :is(.tb-dialog,.tb-planning-management,.jy-cell,.nav-button,.wiki-record-section){border-color:#b6a0c8}html[data-vr-contrast=high] .character-strip{border-bottom-color:#eccd92}
html[data-vr-motion=reduced] *,html[data-vr-motion=reduced] *::before,html[data-vr-motion=reduced] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
/* Extend the gold ornament into spare width while the lettering keeps its proportions. */
@media(min-width:1200px){@container(min-width:480px){.vr-topbar .tb-brand-copy{display:grid;grid-template-columns:calc(40px * 770 / 86) minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:center}.vr-topbar .tb-wordmark{grid-area:1/1}.vr-topbar .brand small{grid-area:2/1/3/3}.vr-topbar .tb-brand-copy::before,.vr-topbar .tb-brand-copy::after{content:'';display:block;grid-area:1/2;align-self:center;pointer-events:none}.vr-topbar .tb-brand-copy::before{height:1px;background:linear-gradient(90deg,#b89a6155,#edd7a5 50%,#b89a6155)}.vr-topbar .tb-brand-copy::after{box-sizing:border-box;width:9px;height:9px;justify-self:center;border:1px solid #d8ba7c;background:#211b29;box-shadow:0 0 7px #d3b87522;transform:rotate(45deg)}}}
@media(max-width:1199px){html.vr-compact.vr-topbar{--tb-button-width:72px;--tb-gap:4px}.vr-topbar .character-strip .brand{min-width:145px;gap:7px}.vr-topbar .tb-wordmark{width:min(100%,calc(28px * 770 / 86))}.vr-topbar .brand small{font-size:6px}.vr-topbar .brand-mark{width:42px;height:42px}.vr-topbar .brand-mark img{width:32px;height:32px}html.vr-compact.vr-topbar .character-strip{gap:6px;padding:0 10px}}
@media(max-width:920px){.vr-topbar .vr-compact-app{grid-template-rows:auto minmax(0,1fr)}html.vr-compact.vr-topbar .character-strip{height:auto;min-height:68px;display:flex;flex-wrap:wrap;padding:10px;gap:8px}.vr-topbar .character-strip .brand{margin-right:0;flex:1 1 150px}.vr-topbar .header-build{order:3;flex:1 1 100%;justify-content:center}.tb-navigation{margin-left:auto}.vr-topbar .header-actions{order:2}html.vr-compact.vr-topbar .header-build{width:100%;flex-wrap:wrap}.tb-planning-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:500px){html.vr-compact.vr-topbar{--tb-button-width:60px}.vr-topbar .tb-navigation{order:4;margin:0 auto}.vr-topbar .character-strip .brand{flex:1 1 170px}.tb-settings-fields label{grid-template-columns:1fr;gap:7px}.tb-dialog{padding:16px}}
/* Readability and hierarchy, with no changes to slot geometry. */
html.vr-compact.vr-topbar .character-strip :is(.vr-icon-select,#spotlightTrigger,.vr-goal-button,.vr-workspace-control,.tb-button,.ac-account-trigger){font-family:'Segoe UI','Trebuchet MS',sans-serif;font-size:clamp(12px,calc(.390625vw + 7px),13px);font-weight:650;line-height:15px;letter-spacing:0;border-color:#776886;background:linear-gradient(180deg,#332b41,#242231);text-shadow:0 1px 1px #0009}
.vr-topbar .tb-control-icon,.vr-topbar .vr-icon-select img{box-sizing:border-box;width:26px;height:26px;border-color:#c5a777;border-radius:5px;box-shadow:inset 0 0 0 1px #f8d69122,0 1px 3px #0008}
.vr-topbar .tb-symbol-icon{display:grid;place-items:center;color:#efd39b;background:radial-gradient(ellipse at 40% 20%,#62436e,#292038 72%)}
.vr-topbar .tb-symbol-icon svg{display:block;width:21px;height:21px;filter:drop-shadow(0 1px 1px #000)}
.vr-topbar .tb-button-label,.vr-topbar .header-search-label{white-space:nowrap}
.vr-topbar .vr-goal-label{white-space:nowrap;font-size:inherit;line-height:15px}
.vr-topbar .level-control span{font-family:'Segoe UI','Trebuchet MS',sans-serif;font-size:12px;font-weight:650;line-height:15px;letter-spacing:0}
html.vr-compact.vr-topbar .character-strip :is(button[aria-expanded=true],button[aria-pressed=true]):not(:disabled){background:linear-gradient(180deg,#51405b,#332b40);border-color:#e2c080;box-shadow:inset 0 -3px #dabb7d,inset 0 1px #fff2; color:#fff3d7}
html.vr-compact.vr-topbar .character-strip button:hover:not(:disabled){background:linear-gradient(180deg,#473951,#302a40);border-color:#dcc08a}
.vr-topbar .character-strip :is(button,a,input,[tabindex="0"]):focus-visible{outline:2px solid #ffe6ac;outline-offset:3px}
.vr-topbar .character-strip button:disabled{opacity:.58;filter:saturate(.6)}
html.vr-compact.vr-topbar .character-strip .tb-readonly .vr-icon-select,.vr-topbar .header-build .level-control.tb-readonly{opacity:1;filter:none;border-color:#5d667b;background:linear-gradient(180deg,#282d3a,#202430);color:#d3d8e3;box-shadow:inset 0 1px #fff1}
.vr-topbar .tb-readonly .vr-icon-select img{filter:saturate(.72)}
.vr-topbar .tb-readonly{position:relative;cursor:default;border-radius:8px}
.vr-topbar .tb-readonly::before{content:'';position:absolute;z-index:1;top:6px;right:7px;width:4px;height:4px;border:1px solid #aab5c9;border-radius:50%;background:#64748b;pointer-events:none}
.vr-topbar .tb-readonly:focus-visible .vr-icon-tooltip,.vr-topbar .tb-readonly:hover .vr-icon-tooltip{visibility:visible}
.vr-topbar .level-control.tb-readonly input{color:#f2d49b;-webkit-text-fill-color:#f2d49b;background:#191e2a;border-color:#8791a455}
.vr-topbar .level-control.tb-readonly::after{content:attr(data-tb-hint);position:absolute;top:calc(100% + 9px);left:0;width:max-content;max-width:280px;padding:8px 10px;border:1px solid #806799;border-radius:6px;background:#171a26;color:#f4e8ff;font-size:12px;line-height:1.4;box-shadow:0 5px 18px #0006;z-index:75;visibility:hidden;pointer-events:none}
.vr-topbar .level-control.tb-readonly:hover::after,.vr-topbar .level-control.tb-readonly:focus-visible::after{visibility:visible}
.vr-topbar .tb-unrecorded{position:relative}.vr-topbar .tb-unrecorded img{visibility:hidden}.vr-topbar .tb-unrecorded::before{content:'—';position:absolute;top:3px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:24px;height:24px;border:1px solid #8291a766;border-radius:5px;background:#1c2230;color:#d9c49a;font-size:21px;line-height:24px}
.vr-topbar .tb-subtitle-short{display:none}
.vr-topbar .brand small{font-size:10px;line-height:12px;letter-spacing:.12em;color:#dfcda9}
@container(max-width:365px){.vr-topbar .tb-subtitle-full{display:none}.vr-topbar .tb-subtitle-short{display:inline}.vr-topbar .brand small{font-size:9px;letter-spacing:.12em}}
/* Dividers sit in existing gaps, so groups never consume title space. */
@media(min-width:1200px){.vr-topbar #spotlightTrigger,.vr-topbar .vr-goal-tools,.vr-topbar .tb-navigation,.vr-topbar .header-actions{position:relative}.vr-topbar #spotlightTrigger::before,.vr-topbar .vr-goal-tools::before,.vr-topbar .tb-navigation::before,.vr-topbar .header-actions::before{content:'';position:absolute;left:-5px;top:10px;bottom:10px;width:1px;background:linear-gradient(transparent,#b599655c,transparent);pointer-events:none}.vr-topbar #spotlightTrigger::before{left:calc(var(--tb-gap) / -2 - .5px)}.vr-topbar .vr-goal-tools::before{display:none}}
html[data-vr-contrast=high].vr-topbar .character-strip :is(button,.level-control){border-color:#baa5ca;color:#fff4df}
html[data-vr-contrast=high].vr-topbar .character-strip button:disabled{opacity:.8}
html[data-vr-contrast=high].vr-topbar .tb-readonly .vr-icon-select{color:#f1eaf8;border-color:#a8b6cb}
html[data-vr-text-size=larger].vr-topbar .character-strip :is(.tb-button-label,.header-search-label,.vr-goal-label){font-size:13px}
@media(max-width:1199px){html.vr-compact.vr-topbar .character-strip :is(.vr-icon-select,#spotlightTrigger,.vr-goal-button,.vr-workspace-control,.tb-button,.ac-account-trigger){font-size:11px}.vr-topbar .vr-goal-label{white-space:normal}.vr-topbar .brand small{font-size:8px;letter-spacing:0}}
/* Unavailable acquisition control; existing companion connections remain separate. */
html.vr-compact.vr-topbar .character-strip .tb-addon-download{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 var(--tb-button-width);width:var(--tb-button-width);height:50px;padding:0 5px;gap:0;border:1px solid #776886;border-radius:8px;background:linear-gradient(180deg,#332b41,#242231);color:#f2e6d1;font-family:'Segoe UI','Trebuchet MS',sans-serif;font-size:clamp(12px,calc(.390625vw + 7px),13px);font-weight:650;line-height:15px;text-align:center;text-decoration:none;text-shadow:0 1px 1px #0009;box-shadow:inset 0 1px #ffffff0c,0 1px 2px #0003}
html.vr-compact.vr-topbar .character-strip .tb-addon-download:disabled{opacity:1;filter:none;cursor:not-allowed;border-style:dashed}
html.vr-compact.vr-topbar .character-strip #tbAddonDownload{padding:0 5px;gap:0}
html.vr-compact.vr-topbar .tb-addon-download .tb-button-label{width:100%;white-space:normal;font-size:11px;line-height:11px}
html.vr-compact.vr-topbar .tb-addon-download .tb-addon-availability{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vr-topbar .brand small{display:none}
.vr-topbar .tb-brand-copy{gap:0}
@media(min-width:1200px){@container(min-width:480px){.vr-topbar .tb-brand-copy{grid-template-rows:40px;row-gap:0}}}
html[data-vr-contrast=high].vr-topbar .character-strip .tb-addon-download{border-color:#baa5ca;color:#fff4df}
html[data-vr-text-size=larger].vr-topbar .tb-addon-download .tb-button-label{font-size:13px;line-height:13px}
html[data-vr-text-size=larger].vr-topbar .tb-addon-download .tb-control-icon{width:20px;height:20px}
html.vr-compact.vr-topbar .character-strip .tb-goal-long .vr-goal-label{white-space:normal;font-size:11.5px;line-height:12px}
.vr-topbar .tb-goal-long .vr-goal-text{width:calc(100% + 8px)}

/* Leave room for the race tile while retaining equal control sizes. */
@media(min-width:1200px) and (max-width:1400px){.vr-topbar .character-strip .brand{min-width:150px;gap:8px}.vr-topbar .brand-mark{width:44px;height:44px}.vr-topbar .brand-mark img{width:34px;height:34px}html.vr-compact.vr-topbar .character-strip{gap:8px;padding:0 12px}}

/* Crimson enamel and gold trim, matching the supplied Warcraft header reference. */
html.vr-compact.vr-topbar .character-strip{background:radial-gradient(ellipse at 24% 0%,#86102066,transparent 54%),linear-gradient(110deg,#140306 0%,#38050c 31%,#260408 58%,#100307 100%);border-top:1px solid #e94046;border-bottom:1px solid #d03835;box-shadow:inset 0 1px #ffc87580,inset 0 -2px #790b13,0 1px 8px #a10b1740}
.vr-topbar .brand-mark{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.vr-topbar .tb-brand-crest{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 1px 2px #0009)}
.vr-topbar .tb-wordmark{filter:drop-shadow(0 1px 1px #000c) drop-shadow(0 0 4px #c99a391f)}
html.vr-compact.vr-topbar .character-strip :is(.vr-icon-select,#spotlightTrigger,.vr-goal-button,.vr-workspace-control,.tb-button,.ac-account-trigger,.tb-addon-download,.level-control){border-color:#a75c51;background:linear-gradient(180deg,#34303b,#191c28);box-shadow:inset 0 1px #e8c09c24,0 1px 3px #0007;color:#f8eacb}
html.vr-compact.vr-topbar .character-strip :is(.vr-icon-select,#spotlightTrigger,.vr-goal-button,.vr-workspace-control,.tb-button,.ac-account-trigger,.tb-addon-download):hover:not(:disabled),.vr-topbar .character-strip .level-control:has(input:enabled):hover{border-color:#f0cf7a;background:linear-gradient(180deg,#53404a,#2c2331)}
html.vr-compact.vr-topbar .character-strip :is(.is-open,[aria-expanded=true]){border-color:#f3d17d;background:linear-gradient(180deg,#5a2837,#33202b);box-shadow:inset 0 0 0 1px #d8ac5333,0 0 7px #c934292e}
html.vr-compact.vr-topbar .character-strip :is(button,a,.level-control):focus-visible{outline:2px solid #ffdf8b;outline-offset:2px}
@media(min-width:1200px){@container(min-width:480px){.vr-topbar .tb-brand-copy::before{background:linear-gradient(90deg,#dba83855,#fce3a3 50%,#dba83855);box-shadow:0 0 4px #b8792240}.vr-topbar .tb-brand-copy::after{border-color:#ffe1a0;background:#550b14;box-shadow:0 0 0 3px #caa75c33;transform:rotate(45deg)}}}
html[data-vr-contrast=high].vr-topbar .character-strip :is(button,.tb-addon-download,.level-control){border-color:#e7c58e;color:#fff4df}

/* Long observed race names retain their exact label inside the shared tile. */
.vr-topbar .tb-race-long img{width:16px;height:16px}
html.vr-compact.vr-topbar .tb-race-long .tb-button-label{white-space:normal;font-size:11.5px;line-height:12px}

/* Keep long observed tree names inside the same fixed-size header tile. */
.vr-topbar .tb-spec-long img{width:16px;height:16px}
html.vr-compact.vr-topbar .tb-spec-long .tb-button-label{width:100%;white-space:normal;overflow-wrap:anywhere;font-size:11.5px;line-height:12px}

/* Planning and goal selection are sidebar actions; neither occupies a header slot. */
.vr-topbar .tb-sidebar-planning{flex:none;min-width:0;margin:7px 0 9px}
.vr-topbar .tb-sidebar-planning .vr-goal-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;width:100%;margin:0}
.vr-topbar .tb-sidebar-planning #vrWorkspaceControls{display:contents!important}
.vr-topbar .tb-sidebar-planning :is(.vr-goal-button,.vr-workspace-control){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;min-height:48px;margin:0;padding:4px;border:1px solid #79648a;border-radius:6px;background:linear-gradient(180deg,#30283d,#252130);color:#f2e6d1;font:700 11px/12px 'Segoe UI',sans-serif;text-align:center}
.vr-topbar .tb-sidebar-planning .tb-control-icon{width:22px;height:22px}
.vr-topbar .tb-sidebar-planning .vr-goal-label{font-size:11px;line-height:12px;white-space:normal}
.vr-topbar .tb-sidebar-planning .vr-goal-text{width:100%}
.vr-topbar .tb-sidebar-planning :is(.vr-goal-button,.vr-workspace-control):focus-visible{outline:2px solid #ffe29b;outline-offset:2px}
.vr-topbar .tb-sidebar-planning :is(button:hover,button[aria-expanded=true]){border-color:#ffe3a0;background:#423047}
.vr-topbar #vrScreensPanel .tb-sidebar-planning{margin:12px}

/* Keep download availability distinct from existing addon connections. */
@media(min-width:921px){html.vr-compact.vr-topbar .character-strip #tbAddonDownload{flex:0 0 116px!important;width:116px!important;min-width:116px!important;max-width:116px!important}html.vr-compact.vr-topbar #tbAddonDownload .tb-button-label{font-size:11px;line-height:12px}}

/* Local Home proposal. No selectors affect the shared shell or other screens. */
.home-hub{display:grid;gap:16px;min-width:0;align-content:start;flex:0 0 auto}
.home-hub a{text-decoration:none}.home-hub a:focus-visible,.home-hub button:focus-visible,.home-hub summary:focus-visible{outline:3px solid #ffe5a0;outline-offset:3px}
.home-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:2px 0 4px}.home-heading h1{font-size:34px;line-height:1.12}.home-heading p{font-size:14px;margin-top:6px}
.home-finder{width:min(440px,43%);flex:none;display:grid;gap:4px}.home-search{width:100%;display:flex;align-items:center;gap:13px;min-height:56px;padding:9px 15px;background:linear-gradient(105deg,#2b2c3a,#1d2530);border:1px solid #927b52;border-radius:8px;color:var(--text);text-align:left;box-shadow:inset 0 1px #ffffff0b}.home-search>img{width:27px;height:27px;border-radius:5px}.home-search>span{flex:1}.home-search strong{display:block;font-size:15px;color:#eed9ae;font-weight:600}.home-search small{display:block;font-size:12px;color:#bcc4d0;margin-top:2px}.home-search>b{font-size:23px;color:var(--gold);font-weight:400}.home-search:hover{border-color:#e1c38b;background:#34303d}.home-finder>small{font-size:10px;color:var(--muted);text-align:right}
.home-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr);gap:24px;align-items:start}.home-explore,.home-plan{display:grid;gap:12px;min-width:0;align-content:start}.home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:2px}.home-section-heading h2{font-size:22px}.home-section-heading>span{font-size:11px;color:#a8b5c4;letter-spacing:.04em}
.home-atlas{border:1px solid #79684d;border-radius:9px;overflow:hidden;min-width:0;background:#16202b}.home-atlas-open{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:190px;height:clamp(190px,24vh,275px);padding:23px;color:var(--text);overflow:hidden}.home-atlas-map{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 62%;z-index:-2;filter:saturate(.6) brightness(.85)}.home-atlas-open:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#121c2bea,#142131b0 50%,#17233318),linear-gradient(0deg,#142032b8,transparent 70%)}.home-atlas-open h3{font-size:34px;line-height:1.12;margin:6px 0 8px}.home-atlas-open p{font-size:14px;color:#e0e2e2;max-width:340px}.home-open{display:inline-block;margin-top:16px;font-size:13px;font-weight:650;color:#f0d7a6}.home-atlas-open:hover .home-open{text-decoration:underline;text-underline-offset:4px}.home-map-caption{position:absolute;right:12px;bottom:9px;font-size:9px;color:#c7c7bd;max-width:45%;text-align:right}.home-subjects{display:flex;align-items:center;gap:16px;padding:9px 15px;flex-wrap:wrap;border-top:1px solid #75634866;font-size:12px;min-height:38px}.home-subjects>span{color:#8f9daa;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.home-subjects>a{color:#e3cfaa}.home-subjects>a:hover{text-decoration:underline;text-underline-offset:3px}
.home-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-destination{display:flex;align-items:center;gap:12px;border:1px solid #414755;background:#1b2632;border-radius:8px;overflow:hidden;min-height:94px;color:var(--text);padding-right:12px}.home-destination>img{width:82px;align-self:stretch;min-height:92px;object-fit:cover;object-position:68% center;flex:none;filter:saturate(.8)}.home-destination:nth-child(2)>img{object-position:center 70%}.home-destination>div{flex:1;min-width:0;padding:12px 0}.home-destination h3{font-size:21px;line-height:1.2;margin-bottom:6px}.home-destination p{font-size:12px;line-height:1.5}.home-destination>span{font-size:20px;color:#cfb789}.home-destination:hover{border-color:#bda371;background:#24313d}
.home-plan-list{display:grid;gap:8px}.home-plan-row{display:flex;align-items:center;gap:14px;min-height:77px;padding:12px 16px;border:1px solid #51475f;border-radius:7px;background:linear-gradient(105deg,#292536,#202735);color:var(--text);box-shadow:inset 3px 0 #76608733}.home-plan-row>img{width:37px;height:37px;flex:none;border:1px solid #816e53;border-radius:7px}.home-plan-row>div{flex:1;min-width:0}.home-plan-row h3{font-size:21px;line-height:1.15;margin:0 0 5px}.home-plan-row p{font-size:13px;line-height:1.4}.home-plan-row>span{color:#cfb28a;font-size:21px}.home-plan-row:hover{border-color:#c3a976;background:#343044}.home-plan-row.home-live{background:linear-gradient(110deg,#2d2b2e,#222c35);border-color:#72664b;box-shadow:inset 3px 0 #bfa56c55}.home-plan-row .home-live-label{font-size:11px;text-align:right;line-height:1.4;white-space:nowrap}.home-live-label small{display:block;color:#aab5c1;font-size:10px}
.home-utilities{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;padding-top:2px}.home-market,.home-account{display:flex;gap:13px;align-items:center;min-height:74px;padding:12px 16px;border-radius:7px;min-width:0}.home-market{border:1px solid #66583f;background:linear-gradient(110deg,#2c2a23,#1d2731);color:var(--text)}.home-market>img,.home-account>img{width:30px;height:30px;flex:none;border-radius:5px}.home-market>div,.home-account>div{flex:1;min-width:0}.home-market h2,.home-account h2{font-size:19px;line-height:1.2;margin:0 0 4px}.home-market p,.home-account p{font-size:12px}.home-market>span{color:#d6bc85;font-size:21px}.home-market:hover{border-color:#ba9c5f}.home-account{border:1px solid #3e4655;background:#1a222e}.home-account h2{color:#cfccd4}.home-account .button{font-size:12px;min-height:38px;flex:none;padding:8px 12px}
.home-foot{display:flex;align-items:start;justify-content:space-between;gap:18px;font-size:11px;color:#98a6b5}.home-foot nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-foot nav>span{color:#8f9baa;font-size:10px}.home-foot a{color:#bbb4c5;text-decoration:underline;text-underline-offset:3px}.home-foot details{text-align:right;max-width:440px}.home-foot summary{cursor:pointer;color:#9aa7b5}.home-foot details p{font-size:11px;line-height:1.5;margin-top:7px}
@media(min-width:1001px){.content:has(.home-hub:not([hidden])){overflow:auto}.home-hub{min-height:0}}
@media(min-width:1500px){.home-hub{gap:20px}.home-heading{padding-top:6px;padding-bottom:7px}.home-heading h1{font-size:40px}.home-heading p{font-size:15px}.home-workspace,.home-utilities{gap:28px}.home-explore,.home-plan{gap:14px}.home-section-heading h2{font-size:25px}.home-atlas-open{padding:28px}.home-atlas-open h3{font-size:39px}.home-atlas-open p{font-size:16px;max-width:420px}.home-destination h3{font-size:24px}.home-destination p{font-size:14px}.home-destination>img{width:112px}.home-destination{min-height:116px}.home-plan-list{gap:10px}.home-plan-row{min-height:90px;padding:16px 20px;gap:17px}.home-plan-row>img{width:42px;height:42px}.home-plan-row h3{font-size:24px}.home-plan-row p{font-size:14px}.home-utilities{padding-top:3px}.home-market,.home-account{min-height:84px}.home-market h2,.home-account h2{font-size:22px}.home-market p,.home-account p{font-size:13px}}
@media(min-width:1001px) and (max-width:1499px) and (max-height:800px){.home-hub{gap:12px}.home-heading h1{font-size:30px}.home-heading p{font-size:13px;margin-top:4px}.home-finder{gap:2px}.home-search{min-height:49px;padding:7px 13px}.home-explore,.home-plan{gap:9px}.home-workspace,.home-utilities{gap:18px}.home-section-heading h2{font-size:21px}.home-atlas-open{height:166px;min-height:166px;padding:17px 20px}.home-atlas-open h3{font-size:29px}.home-atlas-open p{font-size:13px;max-width:275px}.home-open{margin-top:11px}.home-subjects{min-height:35px;padding:8px 13px;gap:12px}.home-plan-row{min-height:69px;padding:10px 12px;gap:11px}.home-plan-row>img{width:33px;height:33px}.home-plan-row h3{font-size:20px}.home-plan-row p{font-size:12px}.home-shortcuts{gap:10px}.home-destination{min-height:91px;gap:10px;padding-right:10px}.home-destination>img{width:68px;min-height:89px}.home-destination h3{font-size:19px;margin-bottom:4px}.home-destination p{font-size:12px;line-height:1.4}.home-market,.home-account{min-height:64px;padding:10px 13px}}
@media(max-width:1150px) and (min-width:1001px){.home-workspace{grid-template-columns:minmax(0,1.15fr) minmax(305px,1fr)}.home-shortcuts{grid-template-columns:1fr}.home-destination{min-height:74px}.home-destination>img{width:85px;min-height:72px}.home-destination>div{padding:10px 0}.home-account{flex-wrap:wrap}.home-account .button{margin-left:43px}}
@media(max-width:1000px){.home-workspace{grid-template-columns:minmax(0,1.15fr) minmax(285px,.85fr);gap:18px}.home-shortcuts{grid-template-columns:1fr}.home-destination{min-height:82px}.home-destination>img{min-height:80px;width:92px}.home-utilities{grid-template-columns:1fr;gap:10px}.home-atlas-open{height:245px}.home-account{flex-wrap:wrap}.home-account .button{margin-left:auto}}
@media(max-width:680px){.home-heading{flex-direction:column;align-items:stretch;gap:15px}.home-finder{width:100%}.home-finder>small{text-align:left}.home-workspace{grid-template-columns:1fr;gap:23px}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-destination{display:block;padding:0;position:relative}.home-destination>img{width:100%;height:75px;min-height:0;display:block}.home-destination>div{padding:13px}.home-destination>span{position:absolute;right:12px;top:85px}.home-destination h3{font-size:21px;padding-right:18px}.home-destination p{font-size:13px}.home-atlas-open{height:210px;min-height:210px;padding:22px}.home-atlas-open h3{font-size:34px}.home-map-caption{max-width:45%;font-size:9px}.home-subjects{gap:12px;font-size:12px}.home-plan-row{min-height:80px}.home-plan-row h3{font-size:22px}.home-plan-row p{font-size:13px}.home-utilities{gap:10px}.home-account{gap:11px}.home-account .button{margin-left:43px}.home-foot{flex-wrap:wrap;gap:12px}.home-foot details{text-align:left;max-width:none}.home-heading h1{font-size:34px}}

/* Compact heading, followed by a fluid allocation to existing navigation. */
.home-heading{padding:0;gap:22px;min-height:60px}.home-heading h1{font-size:34px}.home-heading p{font-size:13px;margin-top:4px}.home-finder{width:min(560px,48%);gap:0}.home-search{min-height:56px}.home-search small{font-size:12px}
@media(min-width:1201px) and (min-height:900px){
 .home-hub{flex:1 1 0;min-height:0;grid-template-rows:auto minmax(0,1fr) auto auto;gap:clamp(18px,2vh,30px)}
 .home-heading h1{font-size:clamp(34px,3vh,52px)}
 .home-workspace{align-items:stretch;min-height:0;gap:clamp(24px,2vw,40px)}
 .home-explore{height:100%;min-height:0;grid-template-rows:auto minmax(235px,1fr) minmax(150px,.45fr);gap:clamp(14px,1.6vh,24px)}
 .home-section-heading h2{font-size:clamp(25px,2.5vh,42px)}
 .home-section-heading>span{font-size:clamp(11px,1.2vh,18px)}
 .home-atlas{display:flex;flex-direction:column;min-height:0}
 .home-atlas-open{flex:1;min-height:235px;height:auto;padding:clamp(25px,3vh,55px)}
 .home-atlas-open h3{font-size:clamp(36px,4.2vh,68px)}
 .home-atlas-open p{font-size:clamp(15px,1.7vh,27px);max-width:70%}
 .home-open{font-size:clamp(14px,1.4vh,22px)}
 .home-subjects{flex:none;min-height:42px;font-size:clamp(12px,1.25vh,20px);padding:clamp(10px,1.1vh,18px) clamp(16px,1.8vw,30px)}
 .home-subjects>span{font-size:clamp(10px,1vh,16px)}
 .home-map-caption{font-size:clamp(9px,1vh,15px)}
 .home-shortcuts{min-height:0;gap:clamp(12px,1.5vw,24px)}
 .home-destination{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(90px,1fr) auto;align-items:stretch;height:100%;min-height:0;padding:0;gap:0}
 .home-destination>img{grid-column:1/-1;grid-row:1;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 60%}
 .home-destination>div{grid-column:1;grid-row:2;padding:clamp(14px,1.5vh,26px)}
 .home-destination>span{grid-column:2;grid-row:2;align-self:center;padding-right:clamp(14px,1.5vw,24px)}
 .home-destination h3{font-size:clamp(24px,2.5vh,40px)}
 .home-destination p{font-size:clamp(13px,1.45vh,22px)}
 .home-plan{height:100%;min-height:0;grid-template-rows:auto minmax(min-content,1fr);gap:clamp(14px,1.6vh,24px)}
 .home-plan-list{min-height:0;grid-template-rows:repeat(4,minmax(min-content,1fr));gap:clamp(12px,1.5vh,24px)}
 .home-plan-row{min-height:0;padding:clamp(18px,2.4vh,45px) clamp(20px,2vw,42px);gap:clamp(16px,1.7vw,34px)}
 .home-plan-row>img{width:clamp(44px,5.8vh,100px);height:clamp(44px,5.8vh,100px)}
 .home-plan-row h3{font-size:clamp(24px,2.5vh,44px)}
 .home-plan-row p{font-size:clamp(14px,1.55vh,26px)}
 .home-plan-row>span{font-size:clamp(21px,2.3vh,36px)}
 .home-plan-row .home-live-label{font-size:clamp(11px,1.2vh,18px)}
 .home-live-label small{font-size:clamp(10px,1.1vh,16px)}
}
@media(min-width:1201px) and (min-height:900px) and (max-height:1150px){
 .home-hub{gap:14px}
 .home-explore,.home-plan{gap:12px}
 .home-plan-row{padding:18px 20px}
}
@media(max-width:680px){.home-heading{gap:12px}.home-finder{width:100%}}

/* Decorative Home card art only; parent layout and all navigation stay intact. */
.home-plan-row.home-talents{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;padding:10px 17px;border-color:#8d7757;background:radial-gradient(ellipse at 85% 45%,#51426a7a,transparent 62%),linear-gradient(115deg,#292236,#171e2c);box-shadow:inset 0 0 0 1px #d4b98214,inset 3px 0 #b598643b}
.home-talents:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#211e2cf5 0%,#211e2cdb 38%,#211e2c66 64%,transparent 89%)}
.home-talents:after{content:"";position:absolute;inset:5px;border:1px solid #bba27213;border-radius:3px;pointer-events:none;z-index:2}
.home-talents .home-talents-copy{position:relative;z-index:3;flex:0 1 75%;min-width:0}
.home-talents h3{font-size:22px;line-height:1.12;letter-spacing:-.01em;color:#f3dfb2;margin:0;text-shadow:0 2px 10px #0c0a10}
.home-talents .home-talents-copy p{display:none;margin:7px 0 0;color:#d4cbdc;font-size:14px;line-height:1.4}
.home-talents .home-talents-action{display:inline-flex;align-items:center;gap:12px;margin-top:6px;font-size:12px;font-weight:650;line-height:16px;color:#e4c78f}
.home-talents .home-talents-action>span{font-size:17px;font-weight:400}
.home-talents .home-talents-art{position:absolute;z-index:0;right:-7px;top:50%;width:280px;height:200px;pointer-events:none;transform:translateY(-50%) scale(.55);transform-origin:right center;opacity:.85}
.home-talents .home-talents-art:before{content:"";position:absolute;inset:15px 0 10px 80px;border-radius:50%;background:radial-gradient(ellipse,#9372c047 0%,#58477326 45%,transparent 70%);filter:blur(8px)}
.home-talents .home-talents-art svg{position:absolute;inset:0;width:100%;height:100%}
.home-talents .home-talents-art img{position:absolute;display:block;width:40px;height:40px;object-fit:cover;border:1px solid #ad976d;border-radius:4px;box-shadow:0 3px 12px #080b13c7,inset 0 0 0 1px #17151d;filter:saturate(.7) brightness(.85)}
.home-talents .home-talents-arcane{left:30px;top:92px}
.home-talents .home-talents-fire{left:157px;top:27px}
.home-talents .home-talents-frost{left:202px;top:132px}
.home-plan-row.home-talents:hover{border-color:#d6bc83;background:radial-gradient(ellipse at 85% 45%,#6b53877a,transparent 62%),linear-gradient(115deg,#30273e,#1b2232);box-shadow:inset 0 0 0 1px #dcc18728,inset 3px 0 #c7aa7355}
.home-talents:hover .home-talents-action{text-decoration:underline;text-underline-offset:4px}
.home-talents:focus-visible{outline:3px solid #ffe5a0;outline-offset:3px}
@media(min-width:1201px) and (min-height:900px){
 .home-plan-row.home-talents{padding:17px 23px}
 .home-talents .home-talents-copy{flex-basis:65%}
 .home-talents h3{font-size:28px}
 .home-talents .home-talents-copy p{display:block}
 .home-talents .home-talents-action{font-size:13px;margin-top:17px}
 .home-talents .home-talents-art{right:-5px;transform:translateY(-50%) scale(.95);opacity:1}
}
@media(min-width:1201px) and (min-height:900px) and (max-height:1150px){.home-plan-row.home-talents{padding:14px 20px}.home-talents h3{font-size:26px}.home-talents .home-talents-action{margin-top:12px}.home-talents .home-talents-art{transform:translateY(-50%) scale(.8)}}
@media(max-width:680px){.home-plan-row.home-talents{padding:10px 16px}.home-talents h3{font-size:21px}.home-talents .home-talents-copy{flex-basis:78%}}

@media(min-width:1001px) and (max-height:850px){.home-talents .home-talents-art{transform:translateY(-50%) scale(.46)}.home-talents .home-talents-action{margin-top:4px}}

/* Equipment card only. The shared grid and accepted Talents card are untouched. */
.home-plan-row.home-equipment{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;padding:10px 17px;border-color:#8d7757;background:radial-gradient(ellipse at 83% 52%,#5c485b75,transparent 62%),linear-gradient(115deg,#292236,#171e2c);box-shadow:inset 0 0 0 1px #d4b98214,inset 3px 0 #b598643b}
.home-equipment:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#211e2cf5 0%,#211e2cdb 38%,#211e2c66 64%,transparent 89%)}
.home-equipment:after{content:"";position:absolute;inset:5px;border:1px solid #bba27213;border-radius:3px;pointer-events:none;z-index:2}
.home-equipment .home-equipment-copy{position:relative;z-index:3;flex:0 1 75%;min-width:0}
.home-equipment h3{font-size:22px;line-height:1.12;letter-spacing:-.01em;color:#f3dfb2;margin:0;text-shadow:0 2px 10px #0c0a10}
.home-equipment .home-equipment-copy p{display:none;margin:7px 0 0;color:#d4cbdc;font-size:14px;line-height:1.4}
.home-equipment .home-equipment-action{display:inline-flex;align-items:center;gap:12px;margin-top:6px;font-size:12px;font-weight:650;line-height:16px;color:#e4c78f}
.home-equipment .home-equipment-action>span{font-size:17px;font-weight:400}
.home-equipment .home-equipment-art{position:absolute;z-index:0;right:-7px;top:50%;width:280px;height:200px;pointer-events:none;transform:translateY(-50%) scale(.55);transform-origin:right center;opacity:.9}
.home-equipment .home-equipment-art:before{content:"";position:absolute;inset:20px 6px 12px 85px;border-radius:50%;background:radial-gradient(ellipse,#b4936540 0%,#72567e26 48%,transparent 72%);filter:blur(9px)}
.home-equipment .home-equipment-art svg{position:absolute;inset:0;width:100%;height:100%}
.home-equipment .home-equipment-art img{position:absolute;display:block;width:42px;height:42px;object-fit:cover;border:1px solid #ad976d;border-radius:5px;box-shadow:0 4px 13px #080b13d9;filter:saturate(.72) brightness(.9)}
.home-equipment .home-equipment-art .home-equipment-chest{left:140px;top:77px;width:56px;height:56px;transform:rotate(-4deg);z-index:2;border-color:#c1a674}
.home-equipment .home-equipment-sword{left:85px;top:117px;transform:rotate(-17deg);z-index:1}
.home-equipment .home-equipment-shield{left:220px;top:111px;transform:rotate(12deg);z-index:1}
.home-equipment .home-equipment-art .home-equipment-helm{left:179px;top:32px;width:36px;height:36px;transform:rotate(7deg)}
.home-plan-row.home-equipment:hover{border-color:#d6bc83;background:radial-gradient(ellipse at 83% 52%,#7b5a657c,transparent 62%),linear-gradient(115deg,#30273e,#1b2232);box-shadow:inset 0 0 0 1px #dcc18728,inset 3px 0 #c7aa7355}
.home-equipment:hover .home-equipment-action{text-decoration:underline;text-underline-offset:4px}
.home-equipment:focus-visible{outline:3px solid #ffe5a0;outline-offset:3px}
@media(min-width:1201px) and (min-height:900px){
 .home-plan-row.home-equipment{padding:17px 23px}
 .home-equipment .home-equipment-copy{flex-basis:65%}
 .home-equipment h3{font-size:28px}
 .home-equipment .home-equipment-copy p{display:block}
 .home-equipment .home-equipment-action{font-size:13px;margin-top:17px}
 .home-equipment .home-equipment-art{right:-5px;transform:translateY(-50%) scale(.95);opacity:1}
}
@media(min-width:1201px) and (min-height:900px) and (max-height:1150px){.home-plan-row.home-equipment{padding:14px 20px}.home-equipment h3{font-size:26px}.home-equipment .home-equipment-action{margin-top:12px}.home-equipment .home-equipment-art{transform:translateY(-50%) scale(.8)}}
@media(max-width:680px){.home-plan-row.home-equipment{padding:10px 16px}.home-equipment h3{font-size:21px}.home-equipment .home-equipment-copy{flex-basis:78%}}
@media(min-width:1001px) and (max-height:850px){.home-equipment .home-equipment-art{transform:translateY(-50%) scale(.46)}.home-equipment .home-equipment-action{margin-top:4px}}

/* Professions card only; preserve the shared grid and accepted card geometry. */
.home-plan-row.home-professions{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;padding:10px 17px;border-color:#8d7757;background:radial-gradient(ellipse at 83% 52%,#5b4a6375,transparent 62%),linear-gradient(115deg,#292236,#171e2c);box-shadow:inset 0 0 0 1px #d4b98214,inset 3px 0 #b598643b}
.home-professions:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#211e2cf5 0%,#211e2cdb 38%,#211e2c66 64%,transparent 89%)}
.home-professions:after{content:"";position:absolute;inset:5px;border:1px solid #bba27213;border-radius:3px;pointer-events:none;z-index:2}
.home-professions .home-professions-copy{position:relative;z-index:3;flex:0 1 75%;min-width:0}
.home-professions h3{font-size:22px;line-height:1.12;letter-spacing:-.01em;color:#f3dfb2;margin:0;text-shadow:0 2px 10px #0c0a10}
.home-professions .home-professions-copy p{display:none;margin:7px 0 0;color:#d4cbdc;font-size:14px;line-height:1.4}
.home-professions .home-professions-action{display:inline-flex;align-items:center;gap:12px;margin-top:6px;font-size:12px;font-weight:650;line-height:16px;color:#e4c78f}
.home-professions .home-professions-action>span{font-size:17px;font-weight:400}
.home-professions .home-professions-art{position:absolute;z-index:0;right:-7px;top:50%;width:280px;height:200px;pointer-events:none;transform:translateY(-50%) scale(.55);transform-origin:right center;opacity:.9}
.home-professions .home-professions-art:before{content:"";position:absolute;inset:20px 6px 12px 85px;border-radius:50%;background:radial-gradient(ellipse,#9b93743d 0%,#67557d26 48%,transparent 72%);filter:blur(9px)}
.home-professions .home-professions-art svg{position:absolute;inset:0;width:100%;height:100%}
.home-professions .home-professions-art img{position:absolute;display:block;width:42px;height:42px;object-fit:cover;border:1px solid #ad976d;border-radius:5px;box-shadow:0 4px 13px #080b13d9;filter:saturate(.72) brightness(.9)}
.home-professions .home-professions-art .home-professions-potion{left:147px;top:76px;width:56px;height:56px;transform:rotate(6deg);z-index:2;border-color:#c1a674}
.home-professions .home-professions-herb{left:88px;top:112px;transform:rotate(-12deg);z-index:1}
.home-professions .home-professions-cloth{left:220px;top:120px;transform:rotate(9deg);z-index:1}
.home-professions .home-professions-art .home-professions-tools{left:185px;top:27px;width:36px;height:36px;transform:rotate(-8deg)}
.home-plan-row.home-professions:hover{border-color:#d6bc83;background:radial-gradient(ellipse at 83% 52%,#7360807c,transparent 62%),linear-gradient(115deg,#30273e,#1b2232);box-shadow:inset 0 0 0 1px #dcc18728,inset 3px 0 #c7aa7355}
.home-professions:hover .home-professions-action{text-decoration:underline;text-underline-offset:4px}
.home-professions:focus-visible{outline:3px solid #ffe5a0;outline-offset:3px}
@media(min-width:1201px) and (min-height:900px){
 .home-plan-row.home-professions{padding:17px 23px}
 .home-professions .home-professions-copy{flex-basis:65%}
 .home-professions h3{font-size:28px}
 .home-professions .home-professions-copy p{display:block}
 .home-professions .home-professions-action{font-size:13px;margin-top:17px}
 .home-professions .home-professions-art{right:-5px;transform:translateY(-50%) scale(.95);opacity:1}
}
@media(min-width:1201px) and (min-height:900px) and (max-height:1150px){.home-plan-row.home-professions{padding:14px 20px}.home-professions h3{font-size:26px}.home-professions .home-professions-action{margin-top:12px}.home-professions .home-professions-art{transform:translateY(-50%) scale(.8)}}
@media(max-width:680px){.home-plan-row.home-professions{padding:10px 16px}.home-professions h3{font-size:21px}.home-professions .home-professions-copy{flex-basis:78%}}
@media(min-width:1001px) and (max-height:850px){.home-professions .home-professions-art{transform:translateY(-50%) scale(.46)}.home-professions .home-professions-action{margin-top:4px}}

/* Annotation pass: local Home only. Accepted planning card styles stay separate. */
.home-hub .home-title-block{min-width:0}
.home-title-block>.eyebrow{font-size:10px;letter-spacing:.16em;color:#bda77f;display:block;margin-bottom:4px}
.home-title-block .home-intro-line{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.home-intro-line p{margin-top:4px}
.home-intro-line .home-planner-link{font-size:12px;color:#dac5a3;white-space:nowrap;text-decoration:underline;text-decoration-color:#8b765b;text-underline-offset:4px}
.home-hub .home-workspace{gap:24px;align-items:stretch}
.home-hub .home-section-heading{min-height:30px;padding-bottom:0;align-items:center}
.home-hub .home-atlas{border-color:#a28a5c;box-shadow:inset 0 0 0 1px #d7ba7812,0 8px 28px #060d1824}
.home-hub .home-atlas-open{background:#1e2a36}
.home-hub .home-atlas-open:before{content:"";position:absolute;inset:8px;z-index:0;border:1px solid #e4ca8838;pointer-events:none;border-radius:3px}
.home-hub .home-atlas-map{object-position:64% 53%;filter:saturate(.82) brightness(1.05)}
.home-hub .home-atlas-open:after{background:linear-gradient(90deg,#101a29f2 0%,#111e30d9 27%,#1823374a 64%,#2633390d),linear-gradient(0deg,#121e32e6,transparent 63%)}
.home-hub .home-atlas-open>div{position:relative;z-index:1;max-width:76%}
.home-hub .home-atlas-open h3{color:#f2dfae;text-shadow:0 2px 15px #070f1ce0;letter-spacing:-.025em}
.home-hub .home-atlas-open p{color:#e0e5e8;max-width:330px}
.home-hub .home-map-caption{z-index:1;right:18px;bottom:15px;color:#ddd2b5;font-size:10px;text-shadow:0 1px 4px #000}
.home-hub .home-atlas-compass{position:absolute;z-index:0;right:7%;top:12%;width:100px;height:100px;color:#eed39c;opacity:.7;filter:drop-shadow(0 3px 8px #121722);pointer-events:none}
.home-hub .home-subjects{background:linear-gradient(90deg,#1c2631,#262a31);border-top-color:#a98c535e;column-gap:18px}
.home-hub .home-shortcuts{gap:14px}
.home-hub .home-destination{border-color:#69604f;background:linear-gradient(120deg,#232c38,#1b2532)}
.home-hub .home-destination>img{filter:saturate(.88) brightness(.96)}
/* Native-resolution dungeon illustration: crop with object-fit; no image magnification. */
.home-hub .home-destination[href="/?view=dungeons"]>img{object-position:50% 58%}
.home-hub .home-destination h3{color:#ead6ac}
.home-hub .home-signup-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;padding:10px 17px;border-color:#c4a366;background:linear-gradient(110deg,#3e3048,#2b2738 62%,#464034);box-shadow:inset 0 0 0 1px #e5c78816,inset 3px 0 #d8b77270}
.home-signup-card:before{content:"";position:absolute;inset:5px;border:1px solid #dbc18a20;border-radius:3px;pointer-events:none;z-index:2}
.home-signup-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#33293bee 0%,#33293bd6 44%,#33293b20 78%);z-index:0;pointer-events:none}
.home-signup-card .home-signup-copy{position:relative;z-index:3;flex:1;min-width:0}
.home-signup-card h3{font-size:22px;line-height:1.12;letter-spacing:-.02em;margin:0;color:#ffe4ab}
.home-signup-card p{display:none;font-size:14px;line-height:1.4;margin-top:7px;color:#dfd4e6}
.home-signup-card .home-signup-action{display:inline-flex;align-items:center;gap:12px;margin-top:6px;font-size:12px;font-weight:650;line-height:16px;color:#f3d79e}
.home-signup-card .home-signup-art{position:absolute;z-index:-1;right:8px;top:50%;width:144px;height:144px;transform:translateY(-50%);opacity:.9}
.home-signup-art svg{position:absolute;inset:0;width:100%;height:100%;color:#e7ca84}
.home-signup-art img{position:absolute;width:64px;height:64px;left:40px;top:40px;border-radius:50%;filter:sepia(.2) saturate(.7);box-shadow:0 0 35px #f1ca5940}
.home-signup-card:hover{border-color:#f4d69a;background:linear-gradient(110deg,#493750,#302b40 62%,#57503b)}
.home-signup-card:hover .home-signup-action{text-decoration:underline;text-underline-offset:4px}
.home-hub .home-utilities{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.home-hub .home-market,.home-hub .home-account{position:relative;display:flex;align-items:center;gap:15px;padding:12px 17px;min-height:92px;overflow:hidden;border:1px solid #796b53;background:radial-gradient(ellipse at 10% 45%,#64533c50,transparent 43%),linear-gradient(110deg,#272a2c,#1c2632);box-shadow:inset 0 0 0 1px #dcc2850b}
.home-hub .home-account{border-color:#746583;background:radial-gradient(ellipse at 10% 45%,#63507450,transparent 43%),linear-gradient(110deg,#282632,#1c2632)}
.home-hub .home-utility-art{position:relative;flex:0 0 70px;align-self:center;width:70px;height:65px;pointer-events:none;color:#c2a976}
.home-utility-art svg{position:absolute;inset:0;width:100%;height:100%;opacity:.6}
.home-utility-art img{position:absolute;left:14px;top:11px;width:43px;height:43px;object-fit:cover;border:1px solid #a68e61;border-radius:7px;transform:rotate(-6deg);box-shadow:0 5px 12px #060b1380}
.home-account .home-utility-art{color:#b49dc9}
.home-account .home-utility-art img{transform:rotate(6deg);border-color:#a18ab9}
.home-hub .home-utility-copy{flex:1;min-width:0}
.home-utility-copy>.eyebrow{font-size:9px;line-height:1.2;letter-spacing:.12em;display:block;margin-bottom:4px;color:#cdb68c}
.home-account .home-utility-copy>.eyebrow{color:#baa3d3}
.home-hub .home-market h2,.home-hub .home-account h2{font-size:21px;color:#eadcc2;line-height:1.16;margin:0 0 4px}
.home-hub .home-market p,.home-hub .home-account p{font-size:12px;line-height:1.4;color:#bdc5d0}
.home-hub .home-market>.home-utility-arrow{align-self:center;flex:none;color:#ddc08a;font-size:22px}
.home-hub .home-account .button{margin:0;min-height:37px;padding:7px 12px;font-size:12px}
@media(min-width:1201px) and (min-height:900px){
 .home-hub .home-workspace{gap:24px}
 .home-hub .home-explore{grid-template-rows:auto minmax(0,1fr) minmax(0,1fr);gap:16px}
 .home-hub .home-plan{gap:16px}
 .home-hub .home-atlas-open{min-height:0;padding:24px}
 .home-hub .home-atlas-open h3{font-size:clamp(38px,3.6vh,50px)}
 .home-hub .home-atlas-open p{font-size:15px;max-width:330px}
 .home-hub .home-destination{grid-template-rows:minmax(80px,1fr) auto}
 .home-hub .home-destination>div{padding:16px}
 .home-hub .home-destination h3{font-size:25px}
 .home-hub .home-destination p{font-size:13px;line-height:1.4}
 .home-hub .home-signup-card{padding:17px 23px}
 .home-signup-card h3{font-size:28px}
 .home-signup-card p{display:block}
 .home-signup-card .home-signup-action{font-size:13px;margin-top:17px}
 .home-signup-card .home-signup-copy{flex:0 1 75%}
 .home-signup-card .home-signup-art{right:10px;width:170px;height:170px}
 .home-signup-art img{left:53px;top:53px}
}
@media(min-width:1201px) and (min-height:900px) and (max-height:1150px){
 .home-hub .home-explore,.home-hub .home-plan{gap:12px}
 .home-hub .home-signup-card{padding:14px 20px}
 .home-signup-card h3{font-size:26px}
 .home-signup-card .home-signup-action{margin-top:12px}
 .home-signup-card .home-signup-art{width:145px;height:145px}
 .home-signup-art img{left:40px;top:40px}
}
@media(min-width:1001px) and (max-height:850px){
 .home-title-block>.eyebrow{display:none}
 .home-hub .home-heading{gap:18px}
 .home-intro-line{gap:10px}
 .home-intro-line p,.home-intro-line .home-planner-link{font-size:11px}
 .home-hub .home-workspace,.home-hub .home-utilities{gap:18px}
 .home-hub .home-section-heading{min-height:26px}
 .home-hub .home-signup-card{padding:10px 17px}
 .home-signup-card h3{font-size:21px}
 .home-signup-card .home-signup-action{margin-top:4px}
 .home-signup-card .home-signup-art{width:88px;height:88px;right:8px}
 .home-signup-art img{width:40px;height:40px;left:24px;top:24px}
 .home-hub .home-market,.home-hub .home-account{min-height:76px;padding:9px 12px;gap:11px}
 .home-hub .home-utility-art{flex-basis:52px;width:52px;height:54px}
 .home-utility-art img{width:34px;height:34px;left:9px;top:10px}
 .home-hub .home-market h2,.home-hub .home-account h2{font-size:19px}
 .home-hub .home-market p,.home-hub .home-account p{font-size:11px}
 .home-hub .home-map-caption{font-size:9px;right:13px;bottom:10px}
 .home-hub .home-atlas-compass{width:70px;height:70px}
}
@media(max-width:1000px){.home-hub .home-utilities{grid-template-columns:1fr;gap:10px}.home-hub .home-workspace{gap:18px}.home-title-block .home-intro-line{gap:8px}.home-hub .home-account{flex-wrap:nowrap}}
@media(max-width:680px){
 .home-title-block>.eyebrow{font-size:9px}
 .home-title-block .home-intro-line{display:block}
 .home-intro-line .home-planner-link{display:inline-block;margin-top:7px}
 .home-hub .home-workspace{gap:24px}
 .home-hub .home-section-heading{min-height:28px}
 .home-hub .home-shortcuts{gap:10px}
 .home-hub .home-atlas-open{padding:22px}
 .home-hub .home-atlas-open>div{max-width:88%}
 .home-hub .home-atlas-open p{font-size:13px}
 .home-hub .home-atlas-compass{width:78px;height:78px;right:6%;top:10%}
 .home-hub .home-map-caption{font-size:9px;right:13px;bottom:10px}
 .home-hub .home-signup-card{padding:10px 16px}
 .home-signup-card h3{font-size:21px}
 .home-signup-card .home-signup-copy{flex-basis:80%}
 .home-signup-card .home-signup-art{width:100px;height:100px;right:3px}
 .home-signup-art img{width:44px;height:44px;left:28px;top:28px}
 .home-hub .home-market,.home-hub .home-account{padding:13px;gap:12px}
 .home-hub .home-account{display:grid;grid-template-columns:58px minmax(0,1fr);column-gap:12px;row-gap:9px}
 .home-hub .home-account .home-utility-art{grid-column:1;grid-row:1/3;width:58px}
 .home-hub .home-account .home-utility-copy{grid-column:2;grid-row:1}
 .home-hub .home-account .button{grid-column:2;grid-row:2;justify-self:start}
 .home-hub .home-utility-art{flex-basis:58px;width:58px}
 .home-utility-art img{left:8px}
 .home-hub .home-market h2,.home-hub .home-account h2{font-size:20px}
}

/* Local Home entrance only. Reclaim the old column-heading rows for existing cards. */
.home-hub .home-intro{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:24px;min-height:62px;padding:0 0 14px;border-bottom:1px solid #b79b633d}
.home-intro .home-intro-title{display:flex;align-items:center;gap:12px;min-width:0}
.home-intro-title>img{width:32px;height:32px;border:1px solid #a28a61;border-radius:6px;box-shadow:0 3px 12px #070b1445;flex:none}
.home-hub .home-intro h1{font-size:30px;line-height:1.15;letter-spacing:-.025em;color:#eeddb9;white-space:nowrap}
.home-hub .home-intro-search{display:flex;align-items:center;gap:11px;min-width:0;min-height:44px;width:100%;padding:9px 13px;border:1px solid #8f7c594d;border-radius:5px;background:linear-gradient(90deg,#23273385,#23273335);box-shadow:none;text-align:left}
.home-intro-search>img{width:22px;height:22px;flex:none;opacity:.9}
.home-intro-search>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}
.home-hub .home-intro-search strong{font-size:13px;font-weight:500;color:#d9d4ce}
.home-hub .home-intro-search small{font-size:10px;color:#a8a7b5;margin:0;white-space:nowrap}
.home-hub .home-intro-search:hover{border-color:#c0a879;background:#2c2d3899}
.home-intro .home-intro-journey{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 0 8px 18px;border-left:1px solid #9d855240;color:#d9c396;font-size:12px;white-space:nowrap;text-decoration:none}
.home-intro-journey>span{font-size:16px;color:#d8b87d}
.home-intro .home-intro-journey:hover{color:#ffe4aa;text-decoration:underline;text-underline-offset:4px}
.home-intro-section-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1201px) and (min-height:900px){
 .home-hub .home-explore{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
 .home-hub .home-plan{grid-template-rows:minmax(0,1fr)}
}
@media(min-width:1001px) and (max-height:850px){
 .home-hub .home-intro{min-height:54px;padding-bottom:10px;gap:18px}
 .home-hub .home-intro h1{font-size:26px}
 .home-intro-title>img{width:28px;height:28px}
 .home-hub .home-intro-search{min-height:40px;padding:7px 11px}
 .home-intro .home-intro-journey{min-height:40px;padding-left:14px}
}
@media(max-width:1000px){
 .home-hub .home-intro{grid-template-columns:minmax(0,1fr) auto;column-gap:18px;row-gap:12px}
 .home-intro .home-intro-title{grid-column:1;grid-row:1}
 .home-intro .home-intro-journey{grid-column:2;grid-row:1}
 .home-hub .home-intro-search{grid-column:1/-1;grid-row:2}
}
@media(max-width:680px){
 .home-hub .home-intro{gap:11px;padding-bottom:12px}
 .home-hub .home-intro h1{font-size:23px}
 .home-intro .home-intro-title{gap:9px}
 .home-intro-title>img{width:27px;height:27px}
 .home-intro .home-intro-journey{font-size:11px;padding:6px 0 6px 10px;gap:5px}
 .home-hub .home-intro-search strong{font-size:13px}
 .home-hub .home-intro-search small{display:none}
}

/* Warcraft scene artwork stays inside the existing card geometry. */
.home-hub .home-plan-row .home-card-art{position:absolute;z-index:0;inset:0;pointer-events:none;overflow:hidden;opacity:.85}
.home-hub .home-card-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:saturate(.8) brightness(.9)}
.home-hub .home-talents .home-card-art img{object-position:50% 27%}
.home-hub .home-equipment .home-card-art img{object-position:50% 32%}
.home-hub .home-professions .home-card-art img{object-position:60% 52%}
.home-hub .home-signup-card .home-signup-art{z-index:1;right:4%;width:140px;height:140px;opacity:1;filter:drop-shadow(0 0 12px #b8945d28)}
.home-hub .home-signup-art svg{stroke-width:1.2;transform:rotate(-12deg)}
.home-hub .home-signup-art img{left:50%;top:50%;width:64px;height:64px;transform:translate(-50%,-50%);filter:none;box-shadow:0 0 24px #b8925628,0 0 0 1px #d7b87c55}
.home-hub .home-destination[href="/?view=dungeons"]>img{object-position:55% 40%}
@media(min-width:1201px) and (min-height:900px){.home-hub .home-signup-card .home-signup-art{width:176px;height:176px}.home-hub .home-signup-art img{width:78px;height:78px}}
@media(max-width:680px){.home-hub .home-signup-card .home-signup-art{width:118px;height:118px;right:1%}.home-hub .home-signup-art img{width:54px;height:54px}}

/* Account welcome card: restrained Warcraft scenery and a compact brand emblem. */
.home-hub .home-signup-card{background:#26272c;border-color:#ac8954;box-shadow:inset 0 0 0 1px #ead4a116,inset 3px 0 #b9965960}
.home-hub .home-signup-card .home-account-scene{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.home-hub .home-account-scene img{display:block;width:100%;height:100%;object-fit:cover;object-position:62% 54%;filter:saturate(.65) brightness(.73)}
.home-hub .home-signup-card:after{background:linear-gradient(90deg,#19212af5 0%,#24232bdf 39%,#30272b3d 78%,#211e2426)}
.home-hub .home-signup-card .home-signup-art{z-index:2;width:46px;height:46px;right:18px;top:50%;transform:translateY(-50%);filter:drop-shadow(0 2px 6px #080b1480)}
.home-hub .home-signup-art img{width:100%;height:100%;left:0;top:0;transform:none;border-radius:50%;box-shadow:0 0 0 1px #d6b16b50;background:#1c1b2870}
.home-hub .home-signup-card .home-signup-action{padding:0 7px;border-radius:3px;background:linear-gradient(#4b3e2bbd,#352d24cc);box-shadow:inset 0 0 0 1px #e3bd756e;color:#ffe3ab}
.home-hub .home-signup-card:hover{border-color:#e9cc89;box-shadow:inset 0 0 0 1px #e3c48835,inset 3px 0 #d4b06b8c}
.home-hub .home-signup-card:hover .home-signup-action{background:#655037;color:#fff1d0;text-decoration:none}
@media(min-width:1201px) and (min-height:900px){.home-hub .home-signup-card .home-signup-art{width:64px;height:64px;right:26px}}
@media(max-width:680px){.home-hub .home-signup-card .home-signup-art{width:42px;height:42px;right:14px}}

/* Scenic destinations and aligned utility cells share the main Home grid. */
@media(min-width:1001px){.home-hub .home-utilities{grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr)}}
.home-hub .home-destination{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:118px;padding:16px;border-color:#86724f;background:#18222d}
.home-hub .home-destination>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;min-height:0;object-fit:cover;filter:saturate(.86) brightness(.9)}
.home-hub .home-destination:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#121c29f7,#14202ac7 37%,#14202a12 90%)}
.home-hub .home-destination>div{position:relative;align-self:flex-end;flex:1;min-width:0;padding:0}
.home-hub .home-destination h3{margin:0 0 5px;font-family:Georgia,serif;font-size:23px;line-height:1.12;color:#f0ddb4}
.home-hub .home-destination p{margin:0;font-size:12px;line-height:1.4;color:#d0d4dc}
.home-hub .home-destination-action{display:inline-flex;align-items:center;gap:8px;margin-top:8px;color:#e7cb92;font:600 12px/16px 'Segoe UI',sans-serif}
.home-hub .home-destination:hover{border-color:#d0b377;background:#18222d}
.home-hub .home-destination:hover .home-destination-action{text-decoration:underline;text-underline-offset:3px}
.home-hub .home-utilities :is(.home-market,.home-account){position:relative;isolation:isolate;overflow:hidden;min-height:84px;border-color:#89724e;background:#1c2530;padding:12px 16px;gap:12px;box-shadow:inset 0 0 0 1px #dcc28512}
.home-hub .home-utilities :is(.home-market,.home-account):before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:50% 45%/cover no-repeat url('/assets/guest/home-market-warcraft-v1.jpg');opacity:.5;filter:saturate(.7)}
.home-hub .home-utilities .home-account:before{background-image:url('/assets/guest/home-account-warcraft-v1.jpg');background-position:65% 53%;opacity:.4}
.home-hub .home-utilities :is(.home-market,.home-account):after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#17212aed,#1c2530ce 60%,#20252c5c)}
.home-hub .home-utilities .home-utility-art{flex:0 0 46px;width:46px;height:46px}
.home-hub .home-utilities .home-utility-art svg{display:none}
.home-hub .home-utilities .home-utility-art img{width:40px;height:40px;left:3px;top:3px;border-radius:5px;box-shadow:0 2px 8px #060a1260}
.home-hub .home-utilities .home-account{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center}
.home-hub .home-account .home-utility-art{grid-column:1;grid-row:1}
.home-hub .home-account .home-utility-copy{grid-column:2;grid-row:1}
.home-hub .home-account .home-bank-action{grid-column:3;grid-row:1}
.home-hub .home-utilities h2{font:400 21px/1.15 Georgia,serif;color:#eedcb5}
.home-hub .home-account .home-bank-action .button{background:#3d352a;border:1px solid #b79a6169;color:#f0ddb5}
@media(min-width:1201px) and (min-height:900px){.home-hub .home-destination{padding:20px}.home-hub .home-destination h3{font-size:27px}.home-hub .home-destination p{font-size:13px}}
@media(max-width:680px){.home-hub .home-destination{min-height:190px;padding:14px}.home-hub .home-destination h3{font-size:23px}.home-hub .home-destination-action{font-size:11px;gap:5px}.home-hub .home-utilities .home-account{grid-template-columns:46px minmax(0,1fr)}.home-hub .home-account .home-bank-action{grid-column:2;grid-row:2;justify-self:start}.home-hub .home-account .home-utility-art{grid-row:1/3}}

/* The account action is visually substantial; its parent remains the only link. */
.home-hub .home-signup-card .home-signup-action{min-height:28px;padding:5px 10px;border-radius:4px;font:600 13px/18px 'Segoe UI',sans-serif;vertical-align:top;background:linear-gradient(#615035ed,#3d3228ed);box-shadow:inset 0 0 0 1px #d9b779a8;color:#ffe9bc}
.home-hub .home-signup-card:is(:hover,:focus-visible) .home-signup-action{background:#78603e;box-shadow:inset 0 0 0 1px #f6db9a;color:#fff5dc;text-decoration:none}
@media(max-width:1200px),(max-height:900px){.home-hub .home-signup-card .home-signup-action{min-height:24px;padding:4px 9px;margin-top:3px;font-size:12px;line-height:16px}.home-hub .home-signup-card{padding-top:7px;padding-bottom:7px}}

/* Share Home row tracks and gutters; out-rank the inherited guest canvas rules. */
body.guest-workspace.guest-landing #guestHome.home-hub{--home-card-gap:16px;gap:var(--home-card-gap)}
body.guest-workspace.guest-landing #guestHome.home-hub .home-intro{grid-template-columns:auto minmax(0,1fr);gap:var(--home-card-gap)}
body.guest-workspace.guest-landing #guestHome.home-hub .home-workspace,body.guest-workspace.guest-landing #guestHome.home-hub .home-utilities{gap:var(--home-card-gap)}
body.guest-workspace.guest-landing #guestHome.home-hub .home-utilities{padding-top:0}
body.guest-workspace.guest-landing #guestHome.home-hub .home-shortcuts{gap:var(--home-card-gap)}
body.guest-workspace.guest-landing #guestHome.home-hub .home-foot{justify-content:flex-end;gap:0}
@media(min-width:1001px){
 body.guest-workspace.guest-landing #guestHome.home-hub .home-workspace{grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr);grid-template-rows:repeat(4,minmax(70px,1fr));align-items:stretch}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-explore{grid-column:1;grid-row:1 / span 4;grid-template-rows:subgrid;gap:var(--home-card-gap);height:auto;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-atlas{grid-row:1 / span 2;display:flex;flex-direction:column;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-atlas-open{flex:1;min-height:0;height:auto}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-shortcuts{grid-row:3 / span 2;height:auto;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-destination{height:100%;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-plan{grid-column:2;grid-row:1 / span 4;grid-template-rows:subgrid;gap:var(--home-card-gap);height:auto;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-plan-list{grid-row:1 / span 4;grid-template-rows:subgrid;gap:var(--home-card-gap);height:auto;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-plan-row{height:100%;min-height:0}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-utilities{grid-template-columns:minmax(0,1.3fr) minmax(310px,.9fr)}
}
@media(min-width:1001px) and (max-height:850px){body.guest-workspace.guest-landing #guestHome.home-hub{--home-card-gap:12px}}
@media(max-width:1000px){
 body.guest-workspace.guest-landing #guestHome.home-hub .home-intro{grid-template-columns:minmax(0,1fr)}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-intro .home-intro-title,body.guest-workspace.guest-landing #guestHome.home-hub .home-intro .home-intro-search{grid-column:1;grid-row:auto}
 body.guest-workspace.guest-landing #guestHome.home-hub .home-workspace,body.guest-workspace.guest-landing #guestHome.home-hub .home-explore,body.guest-workspace.guest-landing #guestHome.home-hub .home-plan-list{gap:var(--home-card-gap)}
}

/* Guest shell only: authenticated workspaces keep their established layout. */
#guestPages[hidden]{display:none!important}.guest-landing #vrWorkspacePanels,.guest-landing #vrWorkspaceTools{display:none!important}
#guestPages{width:100%;max-width:1600px;margin-inline:auto;padding:16px;overflow:visible;--text:#eee2c7;--muted:#b7becb;--gold:#dfc68f;--line:#424653}
.guest-landing #workspaceMain{display:block!important;overflow:auto!important;min-height:0}
.guest-landing .home-hub{height:auto!important;min-height:0!important;max-width:1600px;margin:auto}
.guest-landing .home-workspace{max-height:1100px;min-height:0}.guest-landing .home-hub .home-plan-list{min-height:0}
.guest-landing .home-hub .home-intro-search{cursor:pointer}.guest-landing .home-hub .home-intro-search strong:after{content:'  ↗'}
.guest-landing .home-hub .home-intro-search small{display:none}
.guest-header-ad,.guest-tools,.guest-create,.guest-sidebar-ad,.guest-home-nav,.guest-soon{display:none}
.guest-workspace .nav-character{display:none!important}
.guest-workspace .character-strip{height:68px!important;min-height:68px!important;display:flex!important;align-items:center;gap:12px;padding:8px 16px!important}
.guest-workspace .character-strip .brand{flex:0 1 365px!important;min-width:170px!important}
.guest-workspace .guest-header-ad{display:flex;flex:1 1 220px;min-width:100px;max-width:none;height:48px;border:1px solid #68573c;border-radius:5px;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#161b22;color:#b4ab98;font:10px 'Segoe UI',sans-serif}
.guest-header-ad small,.guest-sidebar-ad small{letter-spacing:.12em;font-size:9px;color:#b7a17e}
.guest-workspace .guest-tools{display:block;position:relative;flex:none}
.guest-tools>summary,.guest-create{list-style:none;min-height:42px;padding:11px 14px;border:1px solid #8c7451;border-radius:6px;background:#2c2531;color:#eeddb7;font:600 12px/18px 'Segoe UI',sans-serif;white-space:nowrap;cursor:pointer;text-decoration:none}
.guest-tools>div{position:absolute;z-index:1000;right:0;top:calc(100% + 8px);width:220px;background:#202733;border:1px solid #a38757;border-radius:6px;box-shadow:0 12px 40px #0008;padding:6px}
.guest-tools>div>:is(button,a){display:block;width:100%;text-align:left;border:0;background:transparent;padding:12px;color:#eee2c7;border-radius:4px;cursor:pointer;text-decoration:none;font:inherit;box-sizing:border-box}
.guest-tools>div>:is(button,a):hover,.guest-tools>div>a:focus-visible{background:#3a3344}.guest-tools summary::-webkit-details-marker{display:none}
.guest-workspace .guest-create{display:block;background:linear-gradient(#e3c98e,#c4a670);color:#241b12}
.guest-workspace .tb-navigation,.guest-workspace .tb-addon-download .tb-addon-availability{display:none!important}
.guest-workspace .header-actions{flex:0 0 auto!important;margin:0!important}.guest-workspace .header-actions .ac-account-trigger{min-height:42px!important}
.guest-workspace #spotlightTrigger{flex:0 0 auto!important;min-height:42px!important;margin:0!important}
.guest-workspace .tb-addon-download{min-height:42px!important;flex:0 0 auto!important}
.guest-workspace .guest-home-nav{display:flex}
.guest-workspace .guest-soon{display:inline;font-size:9px;color:#c1aa80;margin-left:auto}
.guest-workspace .guest-sidebar-ad{display:flex;min-height:100px;max-height:360px;flex:1;align-items:center;justify-content:space-between;flex-direction:column;margin:12px;padding:12px 8px;border:1px solid #66563b;border-radius:5px;color:#aba798;font-size:10px;text-align:center}
.guest-context-dialog{background:#202633;color:#eee2c7;border:1px solid #b0955e;border-radius:8px;width:min(680px,calc(100% - 24px));padding:22px;max-height:85dvh;overflow:auto}
.guest-context-dialog::backdrop{background:#05070a99}.guest-context-dialog>header{display:flex;align-items:center;justify-content:space-between}.guest-context-dialog h2{font:26px Georgia,serif;color:#e5c88a}
.guest-context-dialog .header-build{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin-top:20px!important;width:100%!important}.guest-context-dialog .header-build>*{flex:none}
.guest-workspace .navigation{display:flex;flex-direction:column}
.guest-signup-layout{display:grid;grid-template-columns:1fr 1fr;max-width:1100px;margin:24px auto;border:1px solid #796349;border-radius:12px;overflow:hidden;background:#202632}
.guest-signup-art{position:relative;isolation:isolate;min-height:570px;padding:40px;display:flex;flex-direction:column;justify-content:flex-end;background:#151e28}
.guest-signup-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.guest-signup-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#111924);z-index:-1}
.guest-signup-art h1{font:40px/1.1 Georgia,serif;color:#ead5a1}.guest-signup-art p{color:#d9d6cc;line-height:1.5}
.guest-signup-panel{padding:36px;display:flex;flex-direction:column;gap:18px}.guest-signup-panel h2{font:30px Georgia,serif;color:#e5c78e}.guest-signup-panel p{line-height:1.6;color:#bfc7d3}
.guest-primary,.guest-provider-list button,.guest-text{min-height:44px;padding:10px 14px;border:1px solid #847256;border-radius:6px;background:#302b39;color:#eee0be;font:600 14px/1.4 'Segoe UI',sans-serif;cursor:pointer}
.guest-primary{background:#d9bd80;color:#211b13}.guest-provider-list{display:grid;gap:8px}.guest-provider-list>span{font-size:12px;text-align:center;color:#bbb2a2}.guest-provider-list button:disabled{opacity:.65;cursor:not-allowed}.guest-text{background:transparent}.guest-auth-error{color:#f0b0a0!important}

html[data-vr-text-size="larger"] .guest-workspace :is(.home-hub p,.home-hub small,.home-hub a,.home-hub button,.guest-signup-panel p,.guest-provider-list button){font-size:18px!important;line-height:1.5!important}
html[data-vr-text-size="larger"] .guest-workspace .home-hub h3{font-size:clamp(30px,2.7vh,48px)!important}
html[data-vr-text-size="larger"] .guest-workspace :is(#viewContent p,#viewContent label,#viewContent button,#viewContent td,#viewContent input,#viewContent select){font-size:18px!important;line-height:1.45!important}
html[data-vr-motion="reduced"] *,html[data-vr-motion="reduced"] *:before,html[data-vr-motion="reduced"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html:not([data-vr-motion="system"]) *{scroll-behavior:auto!important}}
@media(max-height:1000px){.guest-workspace .guest-sidebar-ad{display:none}}
@media(max-width:1200px){.guest-workspace .guest-header-ad{display:none}.guest-workspace .character-strip .brand{flex:1 1 auto!important}.guest-landing .home-workspace{min-height:0;max-height:none}}
@media(max-width:920px){
 .guest-workspace .character-strip{height:auto!important;min-height:60px!important;flex-wrap:wrap!important;gap:6px;padding:8px!important}
 .guest-workspace .character-strip .brand{flex:1 1 100%!important;max-width:350px!important;height:36px!important;margin:auto!important}
 .guest-workspace .character-strip .tb-wordmark{height:30px!important;width:auto!important}.guest-workspace .guest-create{padding:10px;font-size:11px}
 .guest-workspace .guest-tools>summary{padding:10px;font-size:11px}.guest-workspace #spotlightTrigger kbd{display:none}.guest-workspace .guest-sidebar-ad{display:none}
 #guestPages{padding:12px}.guest-landing .home-workspace{display:flex;flex-direction:column}.guest-signup-layout{grid-template-columns:1fr;margin:0}.guest-signup-art{min-height:180px;padding:24px}.guest-signup-art h1{font-size:30px}.guest-signup-panel{padding:22px}
}
@media(max-width:400px){.guest-workspace .tb-addon-download .tb-button-label{display:none!important}.guest-workspace .tb-addon-download{width:38px!important;min-width:38px!important}.guest-workspace .guest-create{font-size:10px!important;padding:10px 8px!important}.guest-landing .home-intro{display:flex!important;flex-wrap:wrap!important}.guest-landing .home-intro-title{flex:1 1 100%}.guest-landing .home-intro-journey{border:0!important;padding:0!important}.guest-landing .home-intro-search{order:3;flex-basis:100%}.guest-landing .home-intro h1{font-size:25px!important}}

#guestDraftNotice{padding:12px;margin:10px;border:1px solid #c9ad70;border-radius:6px;background:#282632;color:#eee0bf}#guestDraftNotice button{padding:8px 12px;margin:8px 8px 0 0}

html[data-vr-text-size="larger"] .guest-workspace :is(.home-hub h1,#viewTitle){font-size:36px!important;white-space:normal}

/* Guest journal: one main reading scroller, with a bounded independent index. */
@media(min-width:1101px){
 body.guest-workspace[data-view="quests"] #viewContent{overflow:auto!important}
 body.guest-workspace[data-view="quests"] .qex-workspace{height:auto!important;max-height:none!important;align-items:start}
 body.guest-workspace[data-view="quests"] :is(.qex-detail,.qex-map-slot){overflow:visible!important;max-height:none!important}
 body.guest-workspace[data-view="quests"] .qex-journal-rows{max-height:55vh;overflow:auto}
}

.guest-workspace .guest-tools{overflow:visible!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.guest-workspace .guest-tools>summary{margin:0!important}
.guest-workspace .guest-soon{display:block;margin:2px 0 0;font-size:9px;line-height:11px;color:#c1aa80}
.guest-landing .home-hub :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif!important}

.guest-landing .home-hub :is(h1,h2,h3){font-weight:400!important}
.guest-workspace .navigation>.vr-sidebar-actions{margin-top:auto}
.guest-workspace .guest-sidebar-ad{max-height:465px}
#guestPages,.guest-landing .home-hub,.guest-landing .home-intro,.guest-landing .home-workspace,.guest-landing .home-explore,.guest-landing .home-plan,.guest-landing .home-plan-list{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:920px){
 .guest-landing .home-intro{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;gap:10px}
 .guest-landing .home-intro>*{grid-column:1!important;grid-row:auto!important;min-width:0;max-width:100%}
 .guest-landing .home-intro h1{white-space:normal!important}
 .guest-landing .home-intro-search{width:100%!important;min-width:0!important;max-width:100%!important;order:0}
 .guest-landing .home-intro-search>span{min-width:0;width:100%}
 .guest-landing .home-intro-journey{justify-self:start;padding:0!important;border:0!important}
 .guest-landing .home-atlas,.guest-landing .home-shortcuts,.guest-landing .home-destination{min-width:0;max-width:100%}
}

/* Guest connection access lives in Tools on compact screens. Existing connected
   and authenticated controls remain in their original nodes and regain their
   normal styling as soon as guest-workspace is removed. */
.guest-workspace .character-strip .cp-mobile-trigger{display:none!important}
@media(max-width:920px){
 .guest-workspace .navigation>.vr-sidebar-actions,
 .guest-workspace .navigation>.nav-bottom{display:none!important}
}
@media(max-width:600px){
 html.vr-compact.vr-topbar body.guest-workspace .character-strip{
  display:grid!important;grid-template-columns:minmax(42px,.8fr) minmax(45px,.9fr) 32px minmax(52px,1fr) minmax(88px,1.55fr);
  grid-template-rows:36px 40px;column-gap:5px;row-gap:6px;padding:6px 8px!important;
  height:94px!important;min-height:94px!important;align-items:stretch;
 }
 .guest-workspace .character-strip .brand{
  grid-column:1/-1;grid-row:1;width:min(280px,100%)!important;min-width:0!important;max-width:100%!important;
  height:36px!important;margin:0 auto!important;justify-self:center;
 }
 .guest-workspace .character-strip #spotlightTrigger{grid-column:1;grid-row:2}
 .guest-workspace .character-strip .guest-tools{grid-column:2;grid-row:2;width:100%;min-width:0}
 .guest-workspace .character-strip .tb-addon-download{grid-column:3;grid-row:2}
 .guest-workspace .character-strip .header-actions{grid-column:4;grid-row:2;width:100%!important;min-width:0!important;max-width:none!important}
 .guest-workspace .character-strip .guest-create{grid-column:5;grid-row:2}
 html.vr-compact.vr-topbar body.guest-workspace .character-strip :is(#spotlightTrigger,.tb-addon-download,.ac-account-trigger,.guest-create){
  box-sizing:border-box;min-width:0!important;max-width:none!important;width:100%!important;
  height:40px!important;min-height:40px!important;max-height:40px!important;padding:4px!important;
  font-size:11px!important;line-height:14px!important;margin:0!important;
 }
 .guest-workspace .guest-tools>div{left:0;right:auto;width:240px;max-width:calc(100vw - 80px)}
 .guest-workspace .guest-tools>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;height:40px;min-height:40px;padding:4px;font-size:11px;line-height:14px}
 .guest-workspace .header-actions .ac-account-trigger .tb-control-icon{display:none}
 .guest-workspace .header-actions .ac-account-trigger .tb-button-label{font-size:11px!important;line-height:14px!important}
 .guest-workspace .tb-addon-download .tb-control-icon{width:20px!important;height:20px!important}
 .guest-workspace .tb-addon-download .tb-button-label{display:none!important}
 .guest-workspace .guest-create{display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center}
}

/* Bound the guest landing canvas after the inherited annotation rules. The
   1599px composition stays fluid; wider windows gain margins, not wider cards. */
body.guest-workspace.guest-landing #guestPages{
 width:100%;max-width:1600px;margin-inline:auto;
}
@media(min-width:1201px) and (min-height:900px){
 body.guest-workspace.guest-landing #guestHome{
  height:min(1100px,calc(100dvh - 120px))!important;min-height:0!important;
  grid-template-rows:62px minmax(0,1fr) 90px 42px;gap:16px;align-content:stretch;
 }
 body.guest-workspace.guest-landing #guestHome .home-workspace{
  height:100%;min-height:0;max-height:none;align-items:stretch;gap:24px;
 }
 body.guest-workspace.guest-landing #guestHome :is(.home-explore,.home-plan,.home-plan-list,.home-shortcuts){
  height:100%;min-height:0;
 }
 body.guest-workspace.guest-landing #guestHome .home-explore{grid-template-rows:minmax(0,1.1fr) minmax(0,1fr);gap:16px}
 body.guest-workspace.guest-landing #guestHome .home-plan{grid-template-rows:minmax(0,1fr)}
 body.guest-workspace.guest-landing #guestHome .home-plan-list{grid-template-rows:repeat(4,minmax(0,1fr));gap:16px}
 body.guest-workspace.guest-landing #guestHome .home-plan-row{height:auto;min-height:0}
 body.guest-workspace.guest-landing #guestHome .home-atlas{display:flex;flex-direction:column;height:100%;min-height:0}
 body.guest-workspace.guest-landing #guestHome .home-atlas-open{height:auto;min-height:0;flex:1}
 body.guest-workspace.guest-landing #guestHome .home-destination{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto}
 body.guest-workspace.guest-landing #guestHome .home-destination>img{height:100%;min-height:0;max-height:100%}
 body.guest-workspace.guest-landing #guestHome .home-utilities{min-height:0;gap:24px}
 body.guest-workspace.guest-landing #guestHome .home-foot{min-height:0;align-items:center}
 /* Reading preferences may need more space; never clip enlarged text to a
    one-screen target. The width cap remains in force. */
 html[data-vr-text-size="larger"] body.guest-workspace.guest-landing #guestHome{
  height:auto!important;grid-template-rows:auto auto auto auto;
 }
 html[data-vr-text-size="larger"] body.guest-workspace.guest-landing #guestHome .home-plan-list{grid-template-rows:repeat(4,minmax(140px,auto))}
}

/* Match the guest Tools disclosure to the surrounding branded action tiles. */
.guest-workspace .guest-tools>summary{box-sizing:border-box;display:grid;grid-template-columns:1fr 8px;grid-template-rows:26px 14px;align-items:center;justify-items:center;gap:1px 0;width:var(--tb-button-width,72px);height:50px;min-height:50px;padding:4px 7px;border:1px solid #776886;border-radius:7px;background:linear-gradient(180deg,#332b41,#242231);box-shadow:inset 0 1px 0 #e3c98e18,0 2px 4px #0005;color:#f0e2c5;font:650 12px/15px 'Segoe UI','Trebuchet MS',sans-serif;text-shadow:0 1px 1px #0009;transition:background .15s,border-color .15s,box-shadow .15s}
.guest-workspace .guest-tools-icon{grid-column:1/-1;display:block;box-sizing:border-box;width:26px;height:26px;object-fit:cover;border:1px solid #c5a777;border-radius:5px;box-shadow:0 1px 3px #0008}
.guest-workspace .guest-tools-chevron{grid-column:2;grid-row:2;font-size:13px;color:#c6af83;line-height:1;transition:transform .15s}
.guest-workspace .guest-tools>summary:hover{border-color:#c5a777;background:linear-gradient(180deg,#44374e,#302839)}
.guest-workspace .guest-tools>summary:focus-visible{outline:2px solid #efd39b;outline-offset:3px}
.guest-workspace .guest-tools[open]>summary{border-color:#d8b875;background:linear-gradient(180deg,#49394b,#342938);box-shadow:inset 0 0 0 1px #e3c98e24,0 2px 4px #0005}
.guest-workspace .guest-tools[open] .guest-tools-chevron{transform:rotate(180deg)}
@media(max-width:600px){
 .guest-workspace .guest-tools>summary{height:40px;min-height:40px;grid-template-columns:18px auto;grid-template-rows:1fr;width:100%;gap:3px;padding:3px;font-size:11px;line-height:14px}
 .guest-workspace .guest-tools-icon{grid-column:auto;width:18px;height:18px;border-radius:3px}
 .guest-workspace .guest-tools-chevron{display:none}
}

/* Home is a destination for resolved accounts and guests. */
.navigation .guest-home-nav{display:flex}
.home-bank-action{flex:none}
.home-account .home-bank-action .button{display:inline-flex;align-items:center;gap:6px}
@media(max-width:680px){.home-hub .home-account .home-bank-action{grid-column:2;grid-row:2;justify-self:start}}

.home-account .home-bank-action .button{border:1px solid #4d5665;border-radius:6px;background:#242d39;text-decoration:none}

/* Sidebar and mobile destination availability */
.guest-workspace .guest-soon{font-size:11px;line-height:14px}
.vr-screens-panel .guest-soon{display:block;margin-top:2px;font-size:11px;line-height:14px;color:#c1aa80}

/* Decorative only: preserve the header CTA's existing layout and link. */
body.guest-workspace .character-strip a.guest-create {
 position:relative;isolation:isolate;
 border-color:#b99ade;
 background:radial-gradient(ellipse at 50% 0%,#fff0b5 0%,transparent 68%),linear-gradient(180deg,#efd79a 0%,#d8ae59 48%,#c08c38 50%,#e4bd70 100%);
 color:#29180d;text-shadow:0 1px 0 #fff1bb9c;
 box-shadow:inset 0 1px 0 #fff6ca,inset 0 -2px 0 #805021,0 0 0 1px #533368,0 0 13px #9a5bd945,0 3px 7px #0009;
 transition:box-shadow .16s ease,border-color .16s ease,background-color .16s ease;
}
body.guest-workspace .character-strip a.guest-create::before {
 content:'';position:absolute;pointer-events:none;inset:3px;border:1px solid #9165b0b3;border-radius:3px;
 background:linear-gradient(135deg,#cda8ee 0 4px,transparent 4px) top left/9px 9px no-repeat,linear-gradient(225deg,#cda8ee 0 4px,transparent 4px) top right/9px 9px no-repeat,linear-gradient(45deg,#79459b 0 4px,transparent 4px) bottom left/9px 9px no-repeat,linear-gradient(315deg,#79459b 0 4px,transparent 4px) bottom right/9px 9px no-repeat;
}
body.guest-workspace .character-strip a.guest-create::after {
 content:'';position:absolute;pointer-events:none;top:-4px;left:calc(50% - 4px);width:8px;height:8px;
 transform:rotate(45deg);border:1px solid #e3c6ff;border-radius:1px;
 background:linear-gradient(135deg,#eedbff,#a06bdd 48%,#563070);box-shadow:0 0 7px #b578e578;
}
body.guest-workspace .character-strip a.guest-create:hover {
 border-color:#dfbaff;box-shadow:inset 0 1px 0 #fff9d7,inset 0 -2px 0 #805021,0 0 0 1px #734e91,0 0 19px #b879f36b,0 3px 7px #0009;
}
body.guest-workspace .character-strip a.guest-create:focus-visible {
 outline:3px solid #e5ccff;outline-offset:4px;box-shadow:inset 0 1px 0 #fff9d7,inset 0 -2px 0 #805021,0 0 0 1px #734e91,0 0 19px #b879f36b;
}
body.guest-workspace .character-strip a.guest-create:active {box-shadow:inset 0 2px 4px #6d421e88,0 0 0 1px #533368}
@media(prefers-reduced-motion:reduce){body.guest-workspace .character-strip a.guest-create{transition:none}}

/* Only residual header/sidebar space may hold these fixed manual units. */
.guest-workspace .guest-header-ad{
 position:relative;flex:1 1 0;min-width:0;max-width:none;height:50px;
 padding:0;border:0;border-radius:0;background:transparent;gap:0;
 container:vr-ad-header / inline-size;
}
/* One flexible middle area absorbs spare width; keep action gaps consistent. */
@media(min-width:1201px){
 .guest-workspace .character-strip{justify-content:flex-start}
}
/* In eligible desktop layouts, only the ad consumes spare sidebar height. */
@media(min-width:1001px) and (min-height:1001px){
 .guest-workspace .navigation>.vr-primary-navigation{flex:0 1 auto}
}
.guest-workspace .guest-sidebar-ad{
 position:relative;flex:1 1 0;min-height:0;max-height:465px;width:160px;max-width:160px;
 margin:12px auto;padding:0;border:0;border-radius:0;background:transparent;
 container:vr-ad-sidebar / size;
}
.guest-header-ad .vr-ad-label,.guest-sidebar-ad .vr-ad-label{
 position:absolute;display:block;margin:0;padding:0;border:0;color:#b7a17e;
 font:7px/8px 'Segoe UI',sans-serif;letter-spacing:.08em;text-transform:uppercase;
 pointer-events:none;
}
.guest-header-ad .vr-ad-label{right:150px;top:-9px;transform:translateX(50%)}
/* Use the top of the existing residual slot, keeping 14px for its label. */
.guest-sidebar-ad .vr-ad-label{left:0;right:0;top:0;text-align:center}
.guest-header-ad .vr-manual-ad,.guest-sidebar-ad .vr-manual-ad{
 position:absolute;display:block;margin:0;padding:0;border:0;background:transparent;
 left:50%;transform:translateX(-50%);text-decoration:none;
}
.guest-header-ad .vr-manual-ad{top:0;left:auto;right:0;transform:none;width:300px;height:50px}
.guest-sidebar-ad .vr-manual-ad{top:14px;width:160px;height:400px}
/* Suppress placeholder copy without hiding real units while Google requests them. */
.guest-header-ad>:not(.vr-manual-ad):not(.vr-ad-label),
.guest-sidebar-ad>:not(.vr-manual-ad):not(.vr-ad-label){display:none!important}
/* No-fill must not leave a white unit or label; retain the stable slot geometry. */
.guest-header-ad>.vr-manual-ad[data-ad-status="unfilled"],
.guest-sidebar-ad>.vr-manual-ad[data-ad-status="unfilled"]{display:none!important}
.guest-header-ad:has(> .vr-manual-ad[data-ad-status="unfilled"])>.vr-ad-label,
.guest-sidebar-ad:has(> .vr-manual-ad[data-ad-status="unfilled"])>.vr-ad-label{display:none!important}
.guest-header-ad[data-ad-visible="false"]>*,.guest-sidebar-ad[data-ad-visible="false"]>*,
.guest-header-ad[data-ad-state="unavailable"]>*,.guest-sidebar-ad[data-ad-state="unavailable"]>*{display:none!important}
@container vr-ad-header (max-width:299px){.vr-manual-ad,.vr-ad-label{display:none!important}}
@container vr-ad-sidebar (max-height:413px){.vr-manual-ad,.vr-ad-label{display:none!important}}
@media(max-width:1200px){.guest-workspace .guest-header-ad{display:none}}
@media(max-width:1000px),(max-height:1000px){.guest-workspace .guest-sidebar-ad{display:none}}
