/* Static lacquer, gold rules and seal marks. No hover shimmer or moving art. */
.career-guide .career-guide-action{display:flex;align-items:center;gap:14px;width:100%;min-height:96px;padding:16px 18px;text-align:left;white-space:normal;color:#fff3d6;background:linear-gradient(120deg,#3b3f47,#282c34);border:1px solid #b59559;border-radius:7px;box-shadow:inset 0 0 0 3px #ffffff09,0 3px 8px #1f232b18;cursor:pointer;transform:none;transition:none}
.career-guide-action .career-guide-seal{display:grid;place-items:center;flex:0 0 44px;height:54px;border:1px solid #dfc38b;outline:1px solid #dfc38b55;outline-offset:-5px;border-radius:4px;color:#ffe4af;background:#803f32;font:700 30px/1 var(--serif)}
.career-guide-action-copy{display:grid;gap:6px;min-width:0}.career-guide-action-copy small{color:#ead29f;font-size:12px;font-weight:700;letter-spacing:.06em}.career-guide-action-copy strong{color:#fff8e7;font:700 16px/1.55 var(--serif);word-break:keep-all;overflow-wrap:anywhere}.career-guide-action-cta{color:#ffe1a1;font-size:12px;font-weight:700}.career-guide-suggestions>li:has(.career-guide-action){padding:0;background:none}.career-guide-suggestions>li>p{margin-top:8px;padding-inline:3px}
.career-guide .career-guide-action:hover{background:linear-gradient(120deg,#3b3f47,#282c34);color:#fff3d6;transform:none;box-shadow:inset 0 0 0 3px #ffffff09,0 3px 8px #1f232b18}.career-guide-action:focus-visible{outline:3px solid #cba653;outline-offset:3px}
.routine-choice-card{position:relative;border-radius:8px;box-shadow:0 3px 9px #23272f10;overflow:hidden}
.routine-choice-card .card-corner-seal{position:absolute;right:28px;bottom:10px;display:grid;place-items:center;width:23px;height:27px;border:1px solid #9a794344;color:#8c713b;font:700 17px/1 var(--serif);border-radius:3px;pointer-events:none;opacity:.75}
.routine-choice-card .routine-choice-detail>summary{padding-right:52px}
.routine-choice-card:has([data-choice]:disabled) .card-corner-seal{color:var(--muted);border-color:var(--line);opacity:.5}
.routine-choice-card:has([data-choice]:not(:disabled)){border-top:2px solid #bca66d}
.career-guide,.world-strip,.patronage-strip,.policy-panel,.income-panel,.hall-card,.conquest-card,.historical-duty-group,.story-choice-group,.annual-actions{border-radius:9px;border-top:2px solid #b2955f;box-shadow:inset 0 1px 0 #ffffff40,0 4px 12px #272b330b}
.career-guide-heading>.eyebrow,.historical-duty-heading>span,.story-choice-group>.eyebrow,.policy-panel-top>.eyebrow{letter-spacing:.08em}
.historical-duty-heading,.recruitment-group-heading{border-left:3px double #a3824b;padding-left:12px}
.recruitment-group-heading{padding:15px 16px 14px}
.hall-card .hall-card-score{border:1px solid #b99b6060;border-radius:6px;padding:8px 12px;background:linear-gradient(135deg,#a7893d0a,#a7893d20)}
:root[data-color-mode="dark"] .routine-choice-card .card-corner-seal{color:#dbc087;border-color:#dbc08760}
:root[data-color-mode="dark"] :is(.career-guide,.world-strip,.patronage-strip,.policy-panel,.income-panel,.hall-card,.conquest-card,.historical-duty-group,.story-choice-group,.annual-actions){border-top-color:#aa8f5b;box-shadow:inset 0 1px 0 #d9c48d14,0 4px 12px #0002}
@media(max-width:600px){.career-guide .career-guide-action{gap:10px;min-height:94px;padding:12px}.career-guide-action .career-guide-seal{flex-basis:34px;height:46px;font-size:25px}.career-guide-action-copy strong{font-size:14px}.hall-card .hall-card-score{padding:6px 9px}.routine-choice-card .card-corner-seal{right:26px}}

.life-progress-card,.life-project,.recruitment-review,.personnel-review{border-radius:8px;border-top:2px solid #b2955f;box-shadow:inset 0 1px 0 #ffffff20,0 3px 10px #272b330b}
.policy-panel .policy-seal{border:1px solid #b59559;outline:1px solid #b5955944;outline-offset:3px;border-radius:4px;background:#7b3e30;color:#ffe5b3;font-family:var(--serif)}
.routine-choice-card .choice:focus-visible{outline:3px solid #cba653;outline-offset:-4px}

.choice-category-tabs #tab-choices-main{border:1px solid #ac8b4f;font-weight:800}.choice-category-tabs #tab-choices-main[aria-selected="true"]{background:#3b3f47;color:#fff3d6;box-shadow:inset 0 -3px 0 #d5b36f}

/* The unfolded report uses separate panels for certainty, probability and cost. */
.choice-report{--report-paper:#f7f4e9;--report-ink:#343840;--report-muted:#5a5e66;position:relative;display:block;min-width:0;margin:20px 2px 16px;padding:22px 18px;background:linear-gradient(90deg,#d1c6a44d,transparent 5%,transparent 95%,#d1c6a44d),var(--report-paper);color:var(--report-ink);border:1px solid #b6a575;border-radius:4px;box-shadow:inset 0 0 0 5px #ad96571a,0 4px 10px #28261315;text-align:left;white-space:normal}
.choice-report::before,.choice-report::after{content:'';position:absolute;left:-4px;right:-4px;height:10px;border:1px solid #927347;border-radius:5px;background:linear-gradient(#b5a079,#ebe1c5 35%,#c0a77b 65%,#806545);pointer-events:none}.choice-report::before{top:-6px}.choice-report::after{bottom:-6px}
.choice-report-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 13px;margin-bottom:16px;border-bottom:3px double #aa966066}.choice-report-heading>span{display:grid;gap:4px}.choice-report-heading small{font:11px/1.5 var(--serif);letter-spacing:.12em;color:#755636}.choice-report-heading b{font:700 18px/1.5 var(--serif);color:var(--report-ink)}.choice-report-heading i{display:grid;place-items:center;width:32px;height:36px;font:700 23px/1 var(--serif);color:#944b3e;border:2px double currentColor;border-radius:3px;transform:rotate(-4deg)}
.choice-report .choice-experience,.choice-report .growth-report,.choice-report .fixed-report{display:flex;flex-wrap:wrap;gap:10px;min-width:0;padding:14px;margin:0 0 16px;border:1px solid;border-radius:6px;line-height:1.65}
.choice-report .choice-experience{background:#ebeff7;border-color:#aeb2ba;color:#3b3f47}.choice-report .growth-report{background:#f3eddf;border-color:#bdac86;color:#554322}.choice-report .fixed-report{background:#f0e8e2;border-color:#c0afa2;color:#594238;margin-bottom:4px}
.choice-report .report-section-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;flex-basis:100%;font:700 14px/1.5 var(--serif);color:inherit}.report-section-title>span{display:grid;place-items:center;flex:0 0 26px;height:28px;border:1px solid currentColor;border-radius:3px;font:700 19px/1 var(--serif)}.choice-report .report-section-title>small{padding:2px 7px;border:1px solid currentColor;border-radius:20px;font:700 10px/1.5 var(--sans);color:inherit;margin-left:auto}
.choice-report .experience-gain{display:flex;align-items:center;justify-content:space-between;flex:1 1 180px;gap:12px;padding:8px 10px;border:1px solid #a6c1b8;background:#ffffff8c;border-radius:4px;font-size:13px;color:inherit}.choice-report .experience-gain strong{white-space:nowrap;color:#254f3c;font-size:16px}.choice-report .choice-experience>small,.choice-report .report-note{display:block;flex-basis:100%;font:12px/1.75 var(--sans);color:var(--report-muted)}
.choice-report .choice-forecast{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;width:100%;margin:0}.choice-report .forecast-gain{border:1px solid #cdbb97;border-radius:4px;background:#fffaf0;padding:10px;gap:5px;min-width:0}.choice-report .forecast-gain b{font-size:13px;color:#59421a}.choice-report .forecast-gain small{font-size:12px;line-height:1.65;color:#625846}.choice-report .forecast-fixed{padding:7px 10px;background:#fffaf5;font-size:13px;border-radius:4px}.choice-report .forecast-fixed small{font-size:11px}.choice-report .report-empty{font-size:12px;color:var(--report-muted)}
.choice-report .political-chance{padding:10px 12px;border:1px solid #ac9378;border-radius:5px;color:#59412d;background:#fffaf077;font-size:13px;line-height:1.75}.routine-choice-card:has(>.routine-choice-detail[open])>.card-corner-seal{display:none}
:root[data-color-mode="dark"] .choice-report{--report-paper:#2d3139;--report-ink:#f0e7cf;--report-muted:#d0d4dc;border-color:#9c865d;box-shadow:inset 0 0 0 5px #d9c59b0a,0 4px 10px #0003;background:linear-gradient(90deg,#d1c6a410,transparent 5%,transparent 95%,#d1c6a410),var(--report-paper)}
:root[data-color-mode="dark"] .choice-report-heading small{color:#dac090}:root[data-color-mode="dark"] .choice-report-heading i{color:#e7ab97}
:root[data-color-mode="dark"] .choice-report .choice-experience{background:#343840;border-color:#8a8e96;color:#e5e9f1}:root[data-color-mode="dark"] .choice-report .growth-report{background:#3d392a;border-color:#a18c5e;color:#f1dfb3}:root[data-color-mode="dark"] .choice-report .fixed-report{background:#40332d;border-color:#a28b77;color:#f1ded1}
:root[data-color-mode="dark"] .choice-report .experience-gain{background:#17352b;border-color:#709282}:root[data-color-mode="dark"] .choice-report .experience-gain strong{color:#c6edca}:root[data-color-mode="dark"] .choice-report .forecast-gain{background:#29291f;border-color:#857551}:root[data-color-mode="dark"] .choice-report .forecast-gain b{color:#f0d798}:root[data-color-mode="dark"] .choice-report .forecast-gain small{color:#e0d8bf}
:root[data-color-mode="dark"] .choice-report .forecast-fixed{background:#2b3028;color:#d1ebc5;border-color:#849578}:root[data-color-mode="dark"] .choice-report .forecast-fixed.is-cost{background:#3c2823;color:#ffc6b5;border-color:#b38d7d}:root[data-color-mode="dark"] .choice-report .political-chance{background:#322e25;color:#f0ddba;border-color:#a5926e}
.hall-card-actions{display:grid;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.hall-card .hall-card-actions>button{width:100%;min-height:46px;margin:0;white-space:normal;line-height:1.6}
@media(max-width:600px){.choice-report{padding:18px 10px;margin-inline:0}.choice-report .choice-experience,.choice-report .growth-report,.choice-report .fixed-report{padding:11px;gap:9px}.choice-report .choice-forecast{grid-template-columns:1fr}.choice-report .report-section-title{font-size:13px}.choice-report .experience-gain{flex-basis:100%;font-size:12px}.choice-report-heading b{font-size:16px}.hall-card-actions{gap:12px;margin-top:16px}}
/* Keep the seal anchored to its own disclosure row, including the focus pane. */
.routine-choice-card .routine-choice-detail>summary{position:relative;padding-right:58px;min-height:40px}
.routine-choice-card .routine-choice-detail>summary>.card-corner-seal{position:absolute;inset:50% 18px auto auto;transform:translateY(-50%);width:23px;height:27px;margin:0}
