/* doors.css — R1 door pages (/data/, /classroom-pack/, /free/), live tokens from style.css :root. Built to the design brief §10 (2026-11-17). Loaded on the door pages only. */
.content-wrap.door{ padding:0 0 56px 0; }
.door p, .door li{ font-size:16px; }
.door-hero{ text-align:left; padding-top:14px; }
.door-hero .lede{ margin-left:0; font-size:16px; color:var(--text); }
.door-ver, .door-note{ color:var(--muted); font-size:16px; margin:12px 0 0 0; }
.door-ver a, .door-note a{ color:var(--muted); text-decoration:underline; text-underline-offset:2px; }
.age-line{ display:inline-block; margin:12px 0 0 0; padding:8px 14px; border-radius:99px; background:var(--green-100); color:var(--green-900); font-weight:700; font-size:16px; }
.door-sec{ margin-top:30px; }
.door-sec h2{ font-size:21px; margin:0 0 10px 0; }
.door-cards{ display:grid; gap:14px; margin-top:22px; }
.door-card{ display:block; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; color:var(--text); box-shadow:var(--shadow); }
.door-card h2{ font-size:19px; margin:0 0 6px 0; color:var(--green-900); }
.door-card p{ font-size:16px !important; color:var(--text) !important; margin:0 0 12px 0; }
.door-go{ display:inline-flex; align-items:center; min-height:48px; font-weight:700; color:var(--clay-deep); font-size:16px; }
.door-go::after{ content:"\2192"; margin-left:8px; }
.dl-list{ display:grid; gap:10px; margin:12px 0 0 0; }
.dl-row{ display:grid; grid-template-columns:1fr auto; align-items:center; gap:2px 12px; min-height:64px; padding:12px 16px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md); color:var(--text); }
.dl-row:hover{ text-decoration:none; border-color:var(--green-500); }
.dl-name{ font-weight:700; font-size:16px; grid-column:1; }
.dl-meta{ color:var(--muted); font-size:16px; grid-column:1; }
.dl-go{ grid-column:2; grid-row:1 / span 2; background:var(--clay-deep); color:#fff; font-weight:700; font-size:16px; padding:12px 14px; border-radius:var(--radius-sm); min-height:48px; display:inline-flex; align-items:center; }
.door-table{ width:100%; border-collapse:collapse; font-size:16px; table-layout:auto; background:var(--card); border-radius:var(--radius-md); }
.door-table th, .door-table td{ text-align:left; vertical-align:top; padding:10px 8px; border-bottom:1px solid var(--line); font-size:16px; overflow-wrap:anywhere; }
.door-table thead th{ color:var(--green-900); font-size:16px; text-transform:uppercase; letter-spacing:.3px; }
.door-table tbody th{ font-weight:600; }
.door-more{ display:inline-flex; align-items:center; min-height:48px; font-weight:700; color:var(--green-700); text-decoration:underline; text-underline-offset:2px; }
.cite-box{ margin-top:30px; background:var(--card); border:1px solid var(--line); border-left:4px solid var(--green-600); border-radius:var(--radius-lg); padding:18px; }
.cite-box h2{ font-size:19px; margin:0 0 8px 0; }
.cite-k{ font-weight:800; color:var(--green-900); margin:14px 0 4px 0; }
.cite-txt{ margin:0 0 10px 0; overflow-wrap:anywhere; }
.cite-box .btn-secondary, .keep-btn{ min-height:48px; font-size:16px; font-family:inherit; }
.cite-more{ margin-top:14px; }
.cite-more summary{ min-height:48px; display:flex; align-items:center; font-weight:700; color:var(--green-700); cursor:pointer; }
.cite-more pre{ white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; background:var(--green-100); padding:12px; border-radius:var(--radius-sm); }
.lic-line{ margin-top:12px; }
.lic-line a{ text-decoration:underline; text-underline-offset:2px; }
.page-img{ margin-top:26px; }
.page-img img{ max-width:330px; border:1px solid var(--line); background:#fff; }
.contents-list{ list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.contents-list li{ display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); line-height:1.45; }
.contents-list .pg{ flex:none; width:32px; height:32px; border-radius:99px; background:var(--green-100); color:var(--green-900); font-weight:800; display:flex; align-items:center; justify-content:center; font-size:15px; }
.contents-list b{ display:block; }
.mail-box{ margin-top:30px; background:var(--card); border:1px solid var(--line); border-top:4px solid var(--clay); border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow); }
.mail-tag{ display:inline-block; font-size:13px; font-weight:800; letter-spacing:.4px; text-transform:uppercase; color:var(--clay-deep); background:var(--clay-bg); padding:4px 10px; border-radius:99px; }
.mail-box h2, .mail-box h3{ font-size:19px; margin:10px 0 6px 0; }
.mail-box > p{ margin:0 0 12px 0; }
.mail-lab{ display:block; font-weight:700; margin:0 0 6px 0; font-size:16px; }
.mail-input{ display:block; width:100%; min-height:48px; font:inherit; font-size:16px; padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; color:var(--text); }
.mail-btn{ width:100%; margin-top:12px; min-height:48px; font-family:inherit; font-size:16px; }
.mail-small{ font-size:16px !important; color:var(--muted); margin:12px 0 0 0; }
.mail-small a{ color:var(--muted); text-decoration:underline; display:inline-block; padding-block:12px; margin-block:-12px; }
.work-kit{ margin-top:30px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); }
.work-kit > summary{ min-height:56px; display:flex; align-items:center; padding:0 18px; font-weight:700; font-size:17px; color:var(--green-900); cursor:pointer; }
.work-kit-body{ padding:0 18px 18px 18px; }
.work-kit-body .mail-box{ margin-top:14px; box-shadow:none; }
/* M5: keep-this-result block, live share-box look */
@media (min-width:768px){ .door-cards{ grid-template-columns:repeat(3,1fr); } .mail-btn, .keep-btn{ width:auto; } }
.door-table tbody th{ text-transform:none; letter-spacing:0; color:var(--text); font-size:16px; }
.door .door-table th:nth-child(n), .door .door-table td:nth-child(n){ width:auto; }
.door .door-table th:first-child{ width:42%; }
.door .door-table{ table-layout:fixed; } .door .door-table th:nth-child(2), .door .door-table td:nth-child(2){ width:31%; } .door .door-table th:nth-child(3), .door .door-table td:nth-child(3){ width:27%; }
/* R1 fix pass 2026-11-17 (source: doors.css in the project root; build-data writes it to assets/css/):
   X3 figures right-aligned in tabular numerals · X13 links inside door prose underlined · X15 page-10 crop at full width · X2 attribution list */
.door .door-table .num{ text-align:right; font-variant-numeric:tabular-nums; }
.door-sec p a, .door-note a{ text-decoration:underline; }
.page-img img{ width:100%; max-width:none; height:auto; }
.att-list{ padding-left:20px; } .att-list li{ margin-bottom:8px; overflow-wrap:anywhere; }
/* /feed/ (2026-11-18) */
.feed-live{ display:block; color:var(--muted); font-size:16px; }
.feed-live:not(:empty){ padding-top:8px; }
.door-ver a.door-ver-tap{ display:inline-flex; align-items:center; min-height:48px; }
.feed-list{ list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.feed-list li{ padding:12px 0; border-bottom:1px solid var(--line); line-height:1.45; }
.feed-list time{ display:block; color:var(--muted); font-size:16px; }
