/* A single selected quest, with bounded supporting choices and a stable map pane. */
.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:minmax(0,1.4fr) minmax(400px,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: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}}
