/* ===== Poems (English): hub, guide, quote bank, quick check, essay ===== */
.po-kicker { margin: 0; font-weight: 800; color: var(--biro); }
.po-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 18px 0; }
.po-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--paper); color: var(--ink); border: 2px solid var(--rule); border-radius: var(--r-lg); box-shadow: 0 4px 0 var(--rule); transition: transform .2s, border-color .2s, box-shadow .2s; }
.po-tile:hover { text-decoration: none; border-color: var(--biro); box-shadow: 0 4px 0 var(--biro); transform: translateY(-2px); }
.po-tile:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--biro); }
.po-tile b { font-size: 1.12rem; line-height: 1.2; font-weight: 800; }
.po-gist { color: var(--muted); font-weight: 600; flex: 1; }
.po-num { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--biro-soft); color: var(--biro); font-weight: 900; font-size: .9rem; }
.po-prog { display: flex; gap: 6px; margin-top: 6px; }
.po-prog i { font-style: normal; font-size: .78rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.po-prog i.on { background: var(--good-soft); color: var(--good-dark); }
:root[data-theme="dark"] .po-prog i.on { color: var(--good); }
.po-threads h2, .po-pane h2 { margin-top: 0; }
.po-claim { font-weight: 700; margin: 14px 0 10px; }
.po-links { display: flex; flex-wrap: wrap; gap: 8px; }
.po-links .button { padding: 8px 14px; font-weight: 800; }
.po-qs { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; }
.po-qs li { font-weight: 700; padding-left: 4px; }
.po-qs li button { display: block; margin: 4px 0 0 -10px; padding: 4px 10px; }
.po-foot { text-align: center; margin: 22px 0 0; }
.po-about { font-size: 1.08rem; font-weight: 600; line-height: 1.6; margin: 4px 0 16px; }
.po-idea { padding: 0; overflow: hidden; }
.po-idea summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; }
.po-idea summary::-webkit-details-marker { display: none; }
.po-idea summary b { display: block; font-size: 1.1rem; font-weight: 800; }
.po-idea summary .po-claim { display: block; margin: 2px 0 0; color: var(--muted); font-weight: 600; }
.po-idea summary::after { content: ''; margin-left: auto; flex: none; width: 9px; height: 9px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.po-idea[open] summary::after { transform: rotate(225deg); }
.po-ev { padding: 14px 18px; border-top: 2px solid var(--rule); }
.po-find { margin: 0; font-weight: 800; }
.po-tech { display: inline-block; margin: 6px 0; padding: 2px 10px; border-radius: 999px; background: var(--hl); color: #3d3300; font-size: .82rem; font-weight: 800; }
:root[data-theme="dark"] .po-tech { color: var(--ink); }
.po-effect { margin: 0 0 8px; }
input.po-quote { margin: 0; font-style: italic; }
input.po-quote:placeholder-shown { border-style: dashed; background: none; font-style: normal; }
.po-link { margin: 0; padding: 12px 18px; background: var(--soft); border-top: 2px solid var(--rule); }
.po-form { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 4px; font-weight: 600; }
.po-alt { color: var(--muted); font-weight: 600; margin: 14px 4px; }
.po-next { display: block; text-align: right; margin: 20px 0 0; font-weight: 700; color: var(--muted); }
.po-next b { color: var(--biro); }
.po-qhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 4px; }
.po-big { margin: 0; font-size: 2.6rem; font-weight: 900; line-height: 1; }
.po-big span { font-size: 1.2rem; color: var(--muted); }
.po-qhead .primary, .po-done .primary { padding: 12px 22px; font-size: 1.05rem; }
.po-bank { padding: 0; }
.po-brow { padding: 14px 18px; border-top: 2px solid var(--rule); }
.po-brow:first-child { border-top: 0; }
.po-brow .po-tech { margin: 6px 0 8px; }
.po-drill .po-find { font-size: 1.25rem; margin-top: 6px; }
.po-hint { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--muted); margin: 4px 0 10px; overflow-wrap: anywhere; }
.po-bar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.po-out { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-style: italic; }
.po-out b { display: block; font-style: normal; margin-bottom: 2px; }
.po-out.good { background: var(--good-soft); } .po-out.near { background: var(--hl); color: #3d3300; } .po-out.bad { background: var(--bad-soft); }
:root[data-theme="dark"] .po-out.near { color: var(--ink); }
.po-out .miss { text-decoration: underline wavy var(--bad); text-underline-offset: 3px; }
.po-eff { display: block; margin-top: 8px; font-style: normal; font-size: .9rem; opacity: .85; }
.po-done { text-align: center; padding: 28px 18px; }
.po-done .primary { display: block; margin: 16px auto 6px; }
.po-score { position: sticky; top: 64px; z-index: 5; width: max-content; margin: 0 0 0 auto; padding: 6px 16px; border-radius: 999px; background: var(--paper); border: 2px solid var(--rule); box-shadow: 0 3px 0 var(--rule); font-weight: 700; color: var(--muted); }
.po-score b { font-size: 1.25rem; color: var(--ink); font-weight: 900; }
.po-score.done { border-color: var(--good); box-shadow: 0 3px 0 var(--good-dark); }
.po-q { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-weight: 800; font-size: 1.05rem; }
.po-opt { display: block; width: 100%; text-align: left; margin: 8px 0 0; padding: 11px 14px; font-weight: 700; }
.po-opt:disabled { opacity: 1; color: var(--muted); box-shadow: 0 4px 0 var(--rule); }
.po-opt.good { background: var(--good-soft); border-color: var(--good); color: var(--ink); box-shadow: 0 4px 0 var(--good-dark); }
.po-opt.bad { background: var(--bad-soft); border-color: var(--bad); color: var(--ink); box-shadow: 0 4px 0 var(--bad-dark); }
.po-why { margin: 12px 0 0; font-weight: 600; }
.po-para p { line-height: 1.75; }
.po-fill { background: var(--hl); color: #3d3300; border-radius: 4px; padding: 0 3px; font-style: italic; }
:root[data-theme="dark"] .po-fill { color: var(--ink); }
.po-slot { border: 2px dashed var(--rule-strong); border-radius: 6px; padding: 0 6px; color: var(--muted); font-size: .92em; font-weight: 700; }
.po-pair { margin: 8px 0 0; } .po-pair b { margin-right: 8px; }
@media (max-width: 640px) { .po-qhead { flex-direction: column; align-items: stretch; text-align: center; } .po-score { top: 8px; } }
/* Write: the guided paragraph */
.po-steps { display: flex; gap: 6px; margin: 4px 0 14px; }
.po-steps button { flex: 1; min-width: 0; padding: 7px 4px 6px; font-size: .8rem; font-weight: 800; color: var(--muted); border-radius: 999px; box-shadow: none; overflow: hidden; }
.po-steps button span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-steps button.done { background: var(--good-soft); border-color: var(--good-soft); color: var(--good-dark); }
:root[data-theme="dark"] .po-steps button.done { color: var(--good); }
.po-steps button.on { background: var(--biro); border-color: var(--biro); color: #fff; opacity: 1; }
.po-steps button:disabled { opacity: .55; }
.po-step h2 { margin: 0 0 4px; font-size: 1.5rem; }
.po-sub { margin: 0 0 12px; color: var(--muted); font-weight: 700; }
.po-step .po-opt b { display: block; font-weight: 800; }
.po-step .po-opt span { display: block; color: var(--muted); font-weight: 600; }
.po-opt.sel, .po-pick.sel { border-color: var(--biro); background: var(--biro-soft); box-shadow: 0 4px 0 var(--biro); }
textarea.po-ta { margin: 8px 0 4px; line-height: 1.6; font-weight: 600; }
.po-pick { margin: 10px 0 0; padding: 12px 14px; border: 2px solid var(--rule); border-radius: var(--r); box-shadow: 0 4px 0 var(--rule); cursor: pointer; }
.po-pick .po-tech { margin: 6px 0 8px; }
.po-note { margin: 12px 0 0; }
.po-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.po-ticks li { font-size: .82rem; font-weight: 800; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.po-ticks li::before { content: '○ '; }
.po-ticks li.on { background: var(--good-soft); color: var(--good-dark); }
.po-ticks li.on::before { content: '✓ '; }
:root[data-theme="dark"] .po-ticks li.on { color: var(--good); }
.po-rub { margin-top: 6px; }
.po-rub button { font-size: .82rem; padding: 4px 11px 3px; }
.po-hintline { margin: 0 0 10px; padding: 8px 12px; border-radius: var(--r-sm); background: var(--hl); color: #3d3300; font-weight: 700; }
:root[data-theme="dark"] .po-hintline { color: var(--ink); }
.po-count { margin: 0; text-align: right; }
.po-model summary { cursor: pointer; font-weight: 800; }
.po-model[open] summary { margin-bottom: 8px; }
.po-qs li { font-weight: 700; }
@media (max-width: 640px) { .po-steps button span { font-size: 0; } .po-steps button span::first-letter { font-size: .8rem; } .po-steps button.on span { font-size: .8rem; } .po-steps button.on { flex: 3; } }
