/* Short visits: illustrated task strip, compact seal collection, readable articles. */
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact{display:flex;align-items:center;gap:9px;padding:4px 8px;margin:0 0 10px;min-height:54px;box-sizing:border-box;position:relative;overflow:visible}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact>.guide-icon{width:30px;height:30px;flex-basis:30px;margin:0}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-copy{min-width:0;flex:1}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact h2{font-size:14px;line-height:1.2;margin:0 0 2px}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-progress{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.2;color:#5c452e}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-progress>span{white-space:nowrap}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-meter{height:4px;max-width:100px;flex:1}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto;min-width:0;grid-column:auto}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-step-command{min-width:44px;min-height:44px;flex:0 0 auto;padding:6px 9px;font-size:14px}
:root body[data-ui-theme] #workspace .guide-briefing-options{position:relative;flex:0 0 44px;margin:0;min-width:44px;height:44px}
:root body[data-ui-theme] #workspace .guide-briefing-options>summary{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:1px solid #a17b43;color:#4e321b;background:#e4d1aa;list-style:none;font-size:25px;line-height:1;cursor:pointer;box-sizing:border-box}
:root body[data-ui-theme] #workspace .guide-briefing-options>summary::-webkit-details-marker{display:none}
:root body[data-ui-theme] #workspace .guide-briefing-options>summary:focus-visible{outline:3px solid #7e4b1b;outline-offset:2px}
:root body[data-ui-theme] #workspace .guide-briefing-options>div{position:absolute;top:48px;right:0;width:220px;max-width:calc(100vw - 40px);padding:6px 12px;z-index:40;background:linear-gradient(#f4e7ccf5,#f4e7ccf5),url('/art/interface/ledger-paper.webp') center/420px;border:1px solid #94703a;box-shadow:0 4px 12px #20150866}
:root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-options .guide-quiet{display:flex;align-items:center;width:100%;min-width:44px;min-height:44px;padding:6px 0;color:#593612;font-size:14px;line-height:1.35;text-align:left}
/* The task remains a single readable explanation; secondary directions open on demand. */
:root body[data-ui-theme] #workspace .guide-tutorial-layout{grid-template-columns:230px minmax(0,1fr);gap:12px}
:root body[data-ui-theme] #workspace .guide-steps{padding:10px 7px}
:root body[data-ui-theme] #workspace .guide .guide-step{padding:6px 7px;min-height:44px;gap:8px;font-size:12px}
:root body[data-ui-theme] #workspace .guide .guide-step small{display:none}
:root body[data-ui-theme] #workspace .guide-task{padding:16px 20px}
:root body[data-ui-theme] #workspace .guide-task-heading{margin-bottom:10px;gap:10px}
:root body[data-ui-theme] #workspace .guide-task-heading .guide-icon{width:36px;height:36px;flex-basis:36px}
:root body[data-ui-theme] #workspace .guide-task-progress{margin:12px 0}
:root body[data-ui-theme] #workspace .guide-note{margin:10px 0;padding:0 10px}
:root body[data-ui-theme] #workspace .guide-note summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:14px;font-weight:700;color:#593612}
:root body[data-ui-theme] #workspace .guide-note summary:before{content:'+';display:inline-grid;place-items:center;border:1px solid #a17b43;border-radius:50%;width:21px;height:21px;margin-right:8px;font-size:17px;line-height:1}
:root body[data-ui-theme] #workspace .guide-note[open] summary:before{content:'−'}
:root body[data-ui-theme] #workspace .guide-note summary::-webkit-details-marker{display:none}
:root body[data-ui-theme] #workspace .guide-note summary:focus-visible{outline:3px solid #7e4b1b;outline-offset:2px}
:root body[data-ui-theme] #workspace .guide-note p{padding:2px 0 10px}
:root body[data-ui-theme] #workspace .guide-tutorial-footer{margin-top:14px;padding-top:6px}
/* A collection of brass seals replaces forty prose records. */
:root body[data-ui-theme] #workspace .guide-achievement-ledger{padding:10px 12px}
:root body[data-ui-theme] #workspace .guide-achievement-toolbar{gap:10px;padding-bottom:10px;margin-bottom:10px;align-items:center}
:root body[data-ui-theme] #workspace .guide-filter{min-width:180px}
:root body[data-ui-theme] #workspace .guide-earned-total{font-size:14px;font-weight:700;color:#5d3c19;white-space:nowrap;padding:0 4px}
:root body[data-ui-theme] #workspace .guide-filter label{display:none}
:root body[data-ui-theme] #workspace .guide-status-filters{flex-wrap:nowrap}
:root body[data-ui-theme] #workspace .guide-visible-count{padding:0}
:root body[data-ui-theme] #workspace .guide-achievement-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:9px;align-items:stretch}
:root body[data-ui-theme] #workspace .guide-achievement{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;min-height:150px;padding:9px 10px 12px;background:#e7d6b944;border:1px solid #b997625e;min-width:0;box-sizing:border-box}
:root body[data-ui-theme] #workspace .guide-achievement.is-unlocked{background:#f5dda64d;border-color:#9f773c}
:root body[data-ui-theme] #workspace .guide .guide-seal{width:48px;height:48px;margin:0;flex:0 0 48px;opacity:1}
:root body[data-ui-theme] #workspace .guide .guide-seal .guide-icon{width:33px;height:33px;flex-basis:33px}
:root body[data-ui-theme] #workspace .guide .guide-achievement h2{font-size:15px;line-height:1.25;min-height:38px;text-align:center;margin:0;font-weight:700;overflow-wrap:anywhere}
:root body[data-ui-theme] #workspace .guide-achievement-copy{width:100%;min-width:0;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:4px}
:root body[data-ui-theme] #workspace .guide-achievement-progress{width:calc(100% - 35px);max-width:none;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;min-height:30px;justify-content:flex-end}
:root body[data-ui-theme] #workspace .guide-achievement-progress .guide-meter{height:5px;width:100%;max-width:none;flex:none}
:root body[data-ui-theme] #workspace .guide-achievement-progress>span{font-size:12px;line-height:1.25}
:root body[data-ui-theme] #workspace .guide .guide-earned{font-size:12px;line-height:1.4;text-align:center;margin:0;min-height:30px;display:flex;justify-content:center;align-items:center}
:root body[data-ui-theme] #workspace .guide .guide-seal-info{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-image:none;background:none;box-shadow:none;text-shadow:none;color:#56391c;font-size:17px;font-weight:700;cursor:pointer}
:root body[data-ui-theme] #workspace .guide-seal-info>span{display:grid;place-items:center;width:23px;height:23px;border:1px solid #956d35;border-radius:50%;background:#f7ebcf;font-style:italic;line-height:1}
:root body[data-ui-theme] #workspace .guide-achievement-action{position:absolute;bottom:2px;right:2px;grid-column:auto}
:root body[data-ui-theme] #workspace .guide-achievement-action .guide-quiet{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;font-size:22px;line-height:1;text-decoration:none}
:root body[data-ui-theme] #workspace .guide-achievement-footer{padding:4px 0 0;display:flex;justify-content:flex-end}
:root body[data-ui-theme] #workspace .guide-achievement-footer .guide-quiet{min-height:44px;font-size:13px;padding:6px}
/* The wiki index is for finding a topic; its article retains the full rule text. */
:root body[data-ui-theme] #workspace .guide-wiki-layout{grid-template-columns:250px minmax(0,1fr);gap:12px}
:root body[data-ui-theme] #workspace .guide-index{max-height:calc(var(--game-height,100dvh) - 180px)}
:root body[data-ui-theme] #workspace .guide-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;margin-top:8px;padding-bottom:8px}
:root body[data-ui-theme] #workspace .guide .guide-category{min-height:44px;font-size:11px;padding:4px;gap:5px}
:root body[data-ui-theme] #workspace .guide .guide-category .guide-icon{width:23px;height:23px;flex-basis:23px}
:root body[data-ui-theme] #workspace .guide .guide-category small{display:none}
:root body[data-ui-theme] #workspace .guide .guide-topic{min-height:44px;padding:5px 8px;gap:7px}
:root body[data-ui-theme] #workspace .guide .guide-topic small{display:none}
:root body[data-ui-theme] #workspace .guide .guide-topic .guide-icon{width:27px;height:27px;flex-basis:27px}
:root body[data-ui-theme] #workspace .guide-reader{padding:18px 22px}
@media(max-width:950px){
 :root body[data-ui-theme] #workspace .guide .guide-achievement-footer .guide-quiet{font-size:14px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact{min-height:56px;gap:5px;padding:4px 5px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact>.guide-icon{width:26px;height:26px;flex-basis:26px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact h2{font-size:14px;line-height:1.2;margin:0 0 2px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-progress{font-size:12px;line-height:1.2;gap:5px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-meter{max-width:55px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-step-command{font-size:14px;padding:5px 7px;min-width:44px;min-height:44px}
 :root body[data-ui-theme] #workspace .guide.guide-briefing-compact .guide-briefing-actions{gap:3px}
 :root body[data-ui-theme] #workspace .guide-tutorial-layout{display:flex;gap:10px}
 :root body[data-ui-theme] #workspace .guide-steps,:root body[data-ui-theme] #workspace .guide-task{padding:12px}
 :root body[data-ui-theme] #workspace .guide .guide-step{font-size:16px;min-height:44px}
 :root body[data-ui-theme] #workspace .guide-task-heading h2{font-size:21px}
 :root body[data-ui-theme] #workspace .guide-achievement-ledger{padding:9px}
 :root body[data-ui-theme] #workspace .guide-achievement-toolbar{gap:8px;padding-bottom:8px}
 :root body[data-ui-theme] #workspace .guide-filter{flex:1;min-width:0}
 :root body[data-ui-theme] #workspace .guide-status-filters{gap:3px;width:100%;flex:1 1 100%}
 :root body[data-ui-theme] #workspace .guide .guide-filter-button{font-size:14px;min-height:44px;padding:6px;flex:1}
 :root body[data-ui-theme] #workspace .guide-visible-count{display:none}
 :root body[data-ui-theme] #workspace .guide-achievement-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 :root body[data-ui-theme] #workspace .guide-achievement{min-height:166px;padding:8px;gap:5px}
 :root body[data-ui-theme] #workspace .guide .guide-seal{width:44px;height:44px;flex-basis:44px;margin:0}
 :root body[data-ui-theme] #workspace .guide .guide-seal .guide-icon{width:30px;height:30px;flex-basis:30px}
 :root body[data-ui-theme] #workspace .guide .guide-achievement h2{font-size:16px;line-height:1.2;min-height:39px;margin:0}
 :root body[data-ui-theme] #workspace .guide-achievement-progress>span,:root body[data-ui-theme] #workspace .guide .guide-earned{font-size:14px;line-height:1.25}
 :root body[data-ui-theme] #workspace .guide-wiki-layout{display:block}
 :root body[data-ui-theme] #workspace .guide-index{max-height:none}
 :root body[data-ui-theme] #workspace .guide .guide-category{font-size:14px;min-height:44px;gap:7px;padding:5px}
 :root body[data-ui-theme] #workspace .guide .guide-category .guide-icon{width:25px;height:25px;flex-basis:25px}
 :root body[data-ui-theme] #workspace .guide .guide-topic{min-height:50px;padding:6px 9px}
 :root body[data-ui-theme] #workspace .guide .guide-topic strong{font-size:16px}
 :root body[data-ui-theme] #workspace .guide-reader{padding:12px 16px}
}
