/* Compact village tools stay with the existing corner HUD and shared dialog. */
#first-watch-guide { pointer-events:auto; margin:14px -9px -8px; padding:13px 10px 10px; border-top:1px solid var(--line); background:linear-gradient(145deg,#263b34aa,#17282ddd); border-radius:0 0 4px 4px; }
.guide-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.guide-heading button { background:none; border:0; padding:3px 0; color:var(--gold); font-size:10px; }
.guide-toggle { display:flex; align-items:center; gap:8px; flex:1; text-align:left; letter-spacing:1.4px; }
.guide-toggle strong { margin-left:auto; color:#f2dfac; font-size:9px; }
.guide-dismiss { min-width:24px; min-height:24px; font-size:19px!important; }
.guide-progress { height:4px; margin:7px 0 12px; background:#0b191d99; border-radius:5px; overflow:hidden; }
.guide-progress i { display:block; height:100%; background:linear-gradient(90deg,#819d67,#e0c278); box-shadow:0 0 8px #d9c17255; transition:width .25s; }
.guide-card { display:grid; grid-template-columns:48px 1fr; gap:11px; align-items:center; }
.guide-art { position:relative; width:48px; height:48px; display:grid; place-items:center; color:#e4c77e; border:1px solid #d2b96a55; border-radius:50%; background:radial-gradient(circle at 35% 25%,#66725288,#1a2928 70%); box-shadow:inset 0 0 15px #d6bd7130; }
.guide-art svg { width:27px; height:27px; filter:drop-shadow(0 3px 2px #0005); }
.guide-art>span { position:absolute; right:-3px; bottom:-3px; display:grid; place-items:center; width:18px; height:18px; border-radius:50%; background:#d5bb79; color:#26312b; font-size:9px; font-weight:700; }
.guide-copy small,.guide-checklist small { display:block; color:#94a99a; font-size:7px; letter-spacing:1.2px; margin-bottom:3px; }
#first-watch-guide .guide-next { margin:0 0 4px; color:var(--pale); font:500 11px Cinzel,Georgia,serif; }
#first-watch-guide .guide-detail { font-size:9px; line-height:1.55; margin:0; color:#b7c5b8; }
#first-watch-guide .guide-mark { width:100%; margin-top:11px; background:linear-gradient(100deg,#334a3b,#273b33); color:#ead39a; border:1px solid #cbb06b55; border-radius:3px; font-size:9px; padding:8px 10px; }
.guide-mark span { margin-right:5px; }
.guide-checklist { display:grid; gap:5px; padding:10px 0 0; list-style:none; margin-bottom:0; max-height:190px; overflow:auto; }
.guide-checklist li { display:grid; grid-template-columns:28px 1fr 18px; gap:7px; align-items:center; min-height:34px; padding:5px 7px; border:1px solid #aec08f20; background:#101f2380; border-radius:3px; color:#c3ccbf; font-size:9px; }
.guide-step-icon { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; background:#34473c; color:#c9b06d; }
.guide-step-icon svg { width:15px; height:15px; }
.guide-checklist b { color:#9aa99b; text-align:center; }
.guide-checklist .complete { color:#a9c991; opacity:.75; }
.guide-checklist .complete b { color:#b9d49d; }
.progression-milestones { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:18px 0; }
.progression-milestone { padding:13px; border:1px solid var(--line); background:#17272c; border-radius:3px; }
.progression-milestone.earned { background:#2c3a2d; border-color:#a9965b88; }
.progression-milestone strong,.progression-milestone span { display:block; margin-bottom:6px; }
.progression-milestone span { color:var(--gold); font-size:11px; }
.progression-milestone p { margin:0; font-size:10px; line-height:1.6; }
.progression-panel .transfer-form { align-items:end; }
.progression-panel label { display:grid; gap:6px; font-size:10px; color:#c3ccba; flex:1; }
.progression-panel select { min-width:110px; }
.progression-panel button { border:1px solid var(--line); border-radius:3px; padding:10px 13px; background:#304035; color:var(--pale); font-size:11px; }
.progression-panel .panel-row { flex-wrap:wrap; gap:10px; }
.progression-panel .panel-row select { width:auto; }
.progression-panel h3,#guard-orders-panel h3 { margin:20px 0 10px; font-size:14px; }
#guard-orders-panel .settlement-card { border:1px solid var(--line); padding:15px; margin:14px 0; background:#25352e60; border-radius:3px; }
#guard-orders-panel .settlement-card h3 { margin-top:0; }
#guard-orders-panel button[aria-pressed="true"] { border-color:var(--gold); color:var(--gold); background:#73623944; }
#siege-health { border-top:1px solid #be79644d; margin-top:12px; padding-top:12px; font-size:9px; letter-spacing:1px; color:#e5a98d; }
#siege-hp { float:right; letter-spacing:0; }
#siege-health .meter { clear:both; margin-top:8px; }
#siege-bar { background:#c77c63; }
@media(max-height:850px) { #first-watch-guide .guide-detail { display:none; } .guide-checklist { max-height:82px; } }
@media(max-width:760px) { .progression-milestones { grid-template-columns:1fr; } .progression-panel .panel-row>span { flex-basis:100%; } }

/* A physical board of pinned, funded parchment requests. */
.settlement-dialog:has(.request-board-view){width:900px;background:#342a20;border:5px solid #725330;padding:28px 28px 32px;box-shadow:0 18px 70px #000a,inset 0 0 0 1px #a17b4c}.request-board-view{background:repeating-linear-gradient(0deg,#65462b28 0 2px,transparent 2px 53px,#18130d38 53px 56px);padding:4px 6px}.request-board-view>.eyebrow{color:#d2b16f}.request-board-view>h2{font-size:27px;color:#f3deb0;max-width:none}.request-board-view>p{color:#e0cbaa;font-size:11px;line-height:1.8}.request-papers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;margin:28px 0}.request-paper{position:relative;display:flex;flex-direction:column;min-width:0;padding:20px 20px 18px;background:radial-gradient(ellipse at 20% 10%,#fff2c833,transparent 45%),linear-gradient(115deg,#ead7aa,#d7bf8b 94%);border:1px solid #b69560;border-radius:1px 2px 2px 5px;color:#3b3021;box-shadow:3px 7px 12px #09060366,inset 0 0 22px #88612630;transform:rotate(-.6deg)}.request-paper:nth-child(even){transform:rotate(.65deg)}.request-pin{position:absolute;z-index:1;top:-5px;left:50%;width:12px;height:12px;border-radius:50%;border:2px solid #bda676;background:radial-gradient(circle at 35% 30%,#e3d6a4,#775b33 75%);box-shadow:1px 3px 3px #3e2c1d66}.request-wax-seal{position:absolute;top:72px;right:14px;display:block;width:49px;height:49px;transform:rotate(9deg);filter:drop-shadow(1px 3px 2px #442c1e44)}.request-wax-seal>svg{width:100%;height:100%}.request-resource-art{height:94px;width:150px;margin:-5px auto 6px}.request-resource-art>svg{width:100%;height:100%;filter:drop-shadow(1px 4px 2px #78532f2b)}.request-paper .request-paper-kicker{font-size:8px;letter-spacing:1.4px;text-transform:uppercase;margin:0 0 11px;color:#715434}.request-paper>strong{font:600 17px Cinzel,Georgia,serif;color:#322619;line-height:1.55;padding-right:30px}.request-paper>p{font-size:11px;color:#5e4930;line-height:1.7;margin:12px 0}.request-paper>.settlement-stats{gap:7px;margin:4px 0}.request-paper>.settlement-stats>div{padding:8px 6px;background:#f9edcb60;border:1px solid #9b784b55}.request-paper>.settlement-stats span{color:#755f3e;font-size:8px}.request-paper>.settlement-stats strong{color:#362b1b;font-size:11px}.request-paper>button{margin-top:auto;border:1px solid #8b6638!important;background:#645033!important;color:#ffedc3!important;box-shadow:inset 0 1px #ead19b55;font-size:11px;padding:11px!important;width:100%}.request-paper>button:focus-visible{outline:2px solid #203e32;outline-offset:3px}.request-delivery-card{position:relative;padding:20px;margin:18px 0;border:1px solid #9b855d77;border-left:3px solid #c6a66a;border-radius:5px;background:linear-gradient(120deg,#344535,#1d2e27);overflow:hidden}.request-delivery-card>.request-pin{display:none}.request-delivery-card>.request-wax-seal{top:12px;right:14px;width:36px;height:36px}.request-delivery-card>.request-resource-art{height:100px;float:right;width:130px;margin:26px 0 4px 14px}.request-delivery-card>.request-paper-kicker{font-size:8px;text-transform:uppercase;letter-spacing:1.5px;color:#d3b476;margin-top:0}.request-delivery-card>strong{font:600 16px Cinzel,Georgia,serif;color:#f0dbaf}.request-delivery-card>p{font-size:11px;line-height:1.7}.request-delivery-card .settlement-stats,.request-delivery-card .transfer-form{clear:both}.request-counter-view>h2{color:#e9d2a1}
@media(max-width:640px){.settlement-dialog:has(.request-board-view){padding:23px 17px;border-width:3px}.request-papers{grid-template-columns:1fr;gap:23px}.request-paper{padding:18px}.request-board-view>h2{font-size:22px}.request-delivery-card{padding:16px}.request-delivery-card>.request-resource-art{width:90px;height:85px}.request-paper>.settlement-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.request-paper{transform:none!important}}
