@import url('./print-atlas.css');
/* Session prep / Illustrated Atlas. Scoped to this view and its native dialogs.
   This sheet is linked by index.html, so shared codex print rules load even
   when the GM has never opened Session prep. */
.table-atlas{max-width:1120px;margin:0 auto;color:var(--text,#213d35)}
.table-hero{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:4px 0 32px;border-bottom:1px solid #d6ddcf;margin-bottom:30px}
.table-hero h1{margin:12px 0 18px;font-size:clamp(2.5rem,4.4vw,3.8rem)}
.table-lede{color:#526158;max-width:650px;line-height:1.8;margin:0}
.table-emblem{display:grid;place-items:center;flex:none;width:120px;height:136px;background:#e7edde;border:1px solid #d3ddc9;border-radius:65px 65px 10px 10px;color:#895334}
.table-emblem .ico{width:64px;height:64px}
.table-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:20px}
.table-section-head h2,.table-support h2{font-size:1.9rem;margin:0}
.table-count,.table-id{font-size:.76rem;color:#59695f}
.table-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.table-card{display:flex;flex-direction:column;min-width:0;border:1px solid #d3dacb;border-radius:12px;background:#fffdf8;padding:28px;box-shadow:0 6px 22px #183d3605}
.table-card>.rubric{margin:0 0 13px}.table-card h3{font-size:1.8rem;margin:0 0 14px;overflow-wrap:anywhere}
.table-summary{font-size:.87rem;color:#526158;margin:0 0 14px;overflow-wrap:anywhere}.table-id{margin:0 0 22px;overflow-wrap:anywhere}
.table-card-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:auto}
.table-card-action.btn{display:grid;grid-template-columns:23px 1fr;text-align:left;gap:0 11px;padding:12px 15px;background:#f7f7ee}
.table-card-action.btn:hover:not(:disabled){background:#eaf0e2}.table-card-action .ico{grid-row:1 / 3;align-self:center;width:21px;height:21px;color:#895334}
.table-card-action>span{font-size:.86rem;font-weight:600}.table-card-action small{grid-column:2;font-size:.74rem;font-weight:400;color:#526158;margin-top:4px;line-height:1.5}
.table-empty{padding:36px;background:#eaf0e3;border:1px solid #d3ddc9;border-radius:12px}.table-empty h3{font-size:2rem;margin:10px 0 16px}.table-empty p:not(.rubric){max-width:680px;color:#526158}.table-empty .btn{margin-top:12px}
.table-support{margin-top:44px}.table-support>p{margin:10px 0 20px}
.table-tool{border:1px solid #d3dacb;background:#fffdf8;border-radius:10px;margin:12px 0}
.table-tool>summary{cursor:pointer;padding:20px 24px;color:#213d35}.table-tool>summary strong{font-size:.95rem}.table-tool>summary span{margin-left:18px;font-size:.79rem;color:#526158}
.table-tool[open]>summary{border-bottom:1px solid #dce1d4}.table-tool-body{padding:8px 24px 24px}
.table-clock{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid #e1e5d9;margin-bottom:16px}.table-clock>div{flex:1;min-width:0;overflow-wrap:anywhere}.table-clock p{margin:4px 0}.table-clock progress{width:min(220px,70%);height:10px;accent-color:#486d59}.table-clock-count{font-size:.75rem;color:#526158;margin-left:14px}.table-clock>.btn{flex:none}
.table-party-member{padding:16px 0;border-bottom:1px solid #e1e5d9;margin-bottom:12px}.table-party-member p{margin:5px 0;overflow-wrap:anywhere}
.table-status{color:#526158;font-size:.85rem;padding:12px 0}.table-error{padding:14px 17px;border:1px solid #dfb9a4;border-radius:7px;background:#fff0e6;color:#813d29;font-size:.86rem;overflow-wrap:anywhere}
.table-dialog{width:min(820px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #cbd5c3;border-radius:12px;background:#fffdf8;color:#213d35;box-shadow:0 24px 80px #183d3630;overflow:auto}
.table-dialog::backdrop{background:#183d3680}
.table-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:24px;padding:24px 30px;border-bottom:1px solid #d9e0d0;background:#f2f4e9}.table-dialog-head h2{font-size:1.8rem;margin:4px 0;overflow-wrap:anywhere}.table-dialog-head .btn{flex:none}
.table-dialog-body{padding:26px 30px}.table-dialog-body .md{overflow-wrap:anywhere}.table-dialog-body .md pre,.table-dialog-body .md table{max-width:100%;overflow:auto;display:block}
.table-dialog-body h3{font-size:1.4rem}.table-dialog-body textarea{box-sizing:border-box;width:100%;resize:vertical}.table-notes{display:block;margin:22px 0}.table-notes>span{display:block;font-size:.85rem;font-weight:600;margin-bottom:9px}
.table-read-aloud{padding:18px 22px;background:#eef1e6;border-left:3px solid #92512e;margin-bottom:24px}.table-beat{padding:20px 0;border-bottom:1px solid #dce2d3}.table-beat h3{margin:0 0 12px}.table-risk{background:#faf1e6;border-left:3px solid #a57540;padding:15px 20px;margin:15px 0}.table-risk p{margin:7px 0}
.table-aftermath-review:not(:empty){border-top:1px solid #d9dfd0;margin-top:22px;padding-top:20px}.table-choice{display:flex;gap:12px;align-items:start;padding:12px;border:1px solid #d5decb;border-radius:7px;background:#f4f6ec;margin:10px 0;overflow-wrap:anywhere}.table-choice input{width:18px;height:18px;flex:none;margin-top:4px;accent-color:#315a43}
.table-atlas .btn:disabled,.table-dialog .btn:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){.table-hero{gap:20px}.table-emblem{width:78px;height:100px}.table-emblem .ico{width:42px;height:42px}.table-cards{grid-template-columns:1fr}.table-card,.table-empty{padding:23px}.table-tool>summary{padding:18px}.table-tool>summary span{display:block;margin:6px 0 0 19px}.table-tool-body{padding:8px 18px 20px}.table-dialog-head,.table-dialog-body{padding:20px}.table-dialog-head{gap:14px}.table-clock{flex-wrap:wrap;gap:14px}}
@media(max-width:420px){.table-emblem{display:none}.table-section-head{align-items:start}.table-dialog-head h2{font-size:1.5rem}}
