.intake-history{background:radial-gradient(ellipse at top,#f2edf5,#faf8fb 36rem)}
.intake-history .intake-shell{max-width:680px}
.intake-history .history-head{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:clamp(16px,4vw,24px);background:#fff;border-color:#e2d6e6;box-shadow:0 5px 17px #2417280a}
.history-head h1{margin:.15em 0 .35em}
.history-head p:last-child{margin:0;color:#66556b;word-break:keep-all}
.history-head a{flex:none;min-height:44px;background:#624166;color:#fff;border-color:#624166}
.history-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:16px 0 12px;padding:4px;border:1px solid #e1d4e6;border-radius:13px;background:#f2ebf5}
.history-tabs a{display:grid;align-content:center;justify-items:center;gap:3px;min-height:58px;padding:7px 5px;text-align:center;font-weight:750;color:#543a5b;border-radius:9px}
.history-tabs a small{color:inherit;font-size:.78rem;font-weight:600;line-height:1.35;word-break:keep-all}
.history-tabs a:focus-visible{outline:2px solid #624166;outline-offset:2px}
.history-tabs [aria-current=page]{background:#624166;color:#fff;box-shadow:0 1px 5px #3f254725}
.history-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.history-list-head h2{font-size:1.08rem;margin:0;color:#35223d}
#history-tab-guide{margin:4px 0 0;font-size:.875rem;color:#5c4864;line-height:1.5;word-break:keep-all}.history-refresh{flex:none}
.history-refresh{min-height:44px;padding:3px 6px;border:0;background:transparent;color:#624166;font:inherit;font-size:.88rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
#history-status,#history-page-info{color:#5c4864;margin:10px 3px;font-size:.9rem}
#history-status:empty{display:none}
#history-items{list-style:none;display:grid;gap:8px;padding:0;margin:8px 0}
.history-row{display:grid;gap:.65rem;padding:12px 14px;border:1px solid #e4d7e9;border-radius:11px;background:#fff}
.history-row-main{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}
.history-row-main h3{font-size:1rem;margin:0;overflow-wrap:anywhere}
.history-row-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.history-row-meta dt{color:#6e5d74;font-size:.78rem}.history-row-meta dd{margin:.15rem 0 0;color:#33283a;font-size:.9rem;font-weight:650}
.history-badge{border-radius:999px;padding:4px 8px;background:#f1e7f6;color:#624166;font-size:.79rem;font-weight:750;white-space:nowrap}
.history-badge[data-state=published]{background:#e3f2e9;color:#235242}
.history-badge[data-state=ended]{background:#ededf0;color:#4a4852}
.history-row a{color:#235242;width:max-content;font-size:.88rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
@media(max-width:510px){.intake-history .history-head{align-items:flex-start;flex-direction:column}.intake-history #history-content{padding:12px}}
