/* R31 / R28 Task density, scoped to the independent structured-response lane. */
.aps-structured-card{--line:#ffffff22;--accent:#00dce9;background:#080808;border:1px solid var(--line);border-radius:12px;overflow:hidden;font:16px/1.5 ui-monospace,Consolas,monospace;color:#e2e8f0}
.aps-structured-card :is(button,code,pre){font-family:ui-monospace,Consolas,monospace!important}
.aps-structured-card .board-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px}
.aps-structured-card .board-identity{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 10px}
.aps-structured-card .board-identity code{font-size:11px;line-height:normal;padding:1.6px 4.8px;overflow-wrap:anywhere;background:#111;color:#94a3b8}
.aps-structured-card .tag{color:#00dce9;border:1px solid #00dce94d;background:#00dce915;padding:3px 9px;font:9px/1.5 ui-monospace,Consolas,monospace}
.aps-structured-card .board-card-head>.tag{font-size:10px;white-space:nowrap}
.aps-structured-card .board-card-head h2{font:22px/1.4 Georgia,"Yu Mincho",serif;color:#fff;margin:0 0 5px}
.aps-structured-card .board-card-head p{font-size:14px;line-height:1.5;color:#94a3b8}
.aps-structured-card .board-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ffffff22;border-block:1px solid var(--line)}
.aps-structured-card .board-metrics>div{min-width:0;background:#111;padding:22px 15px;text-align:center}
.aps-structured-card .board-metrics span{display:flex;align-items:flex-start;justify-content:center;gap:4px;font-size:9px;line-height:1.5;min-height:27px;color:#64748b;letter-spacing:.7px}
.aps-structured-card .board-metrics strong{display:block;font-size:13px;line-height:normal;margin-top:12px;color:#fff}
.aps-structured-card .board-metrics>div:first-child strong,.aps-structured-card .board-metrics>div:nth-child(5) strong{color:#fb923c}
.aps-structured-card .board-metrics>div:nth-child(6) strong{color:#0aff00}
.aps-structured-card .board-metrics p{font-size:10px;line-height:1.5;margin:8px 0 0;color:#94a3b8}
.aps-structured-card .board-card-body{padding:24px}
.aps-structured-card .board-definition{padding:20px;border:1px solid #1e293b;border-radius:4px;background:#050505}
.aps-structured-card .board-definition>h3{font-size:14px;line-height:normal;margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid #334155}
.aps-structured-card .board-definition-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.aps-structured-card .board-definition-grid>div{min-width:0}
.aps-structured-card .board-definition h4{font-size:10px;line-height:1.5;margin:0 0 10px;color:#00dce9;letter-spacing:1px}
.aps-structured-card .board-label{display:block;font-size:10px;line-height:1.5;margin:12px 0 6px;color:#64748b}
.aps-structured-card .board-definition code{display:block;font-size:11px;line-height:1.5;padding:6px;border:1px solid var(--line);background:#111;color:#00dce9;overflow-wrap:anywhere}
.aps-structured-card .board-definition a{display:block;font-size:12px;line-height:1.5;margin:12px 0;color:#00dce9}
.aps-structured-card .board-definition details{font-size:12px;line-height:1.5;padding:12px;margin:12px 0 0;border:1px solid var(--line)}
.aps-structured-card .board-definition details summary{font-size:12px;line-height:1.5;cursor:pointer}
.aps-structured-card .board-reward{align-self:start;padding:16px;background:#111;border:1px solid var(--line);border-radius:4px}
.aps-structured-card .board-reward>small{font-size:9px;line-height:1.5;color:#64748b}
.aps-structured-card .board-reward>strong{display:block;font-size:22px;line-height:1.5;margin:5px 0 16px;color:#0aff00}
.aps-structured-card .board-reward>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:1.5;padding:8px 0;border-bottom:1px solid #ffffff0d}
.aps-structured-card .board-reward>div span{color:#94a3b8}
.aps-structured-card .board-reward>p{font-size:11px;line-height:1.5;margin:14px 0 0;color:#94a3b8}
.aps-structured-card .board-card-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:20px;border-top:1px solid var(--line)}
.aps-structured-card .board-card-actions button{font-size:12px;line-height:1.5;padding:8px 16px;min-height:44px;color:#00dce9;border:1px solid #00dce955;background:#00dce915}
.aps-structured-card [data-raw],.aps-structured-detail [data-raw]{white-space:pre-wrap;overflow-wrap:anywhere}
.aps-structured-card .aps-participation{font-size:11px;line-height:1.5;margin-top:16px;color:#94a3b8}
.aps-structured-detail .board-answer-card{padding:24px;border:1px solid #ffffff22;background:#111;margin:16px 0}
.aps-structured-detail input{display:block;background:#080808;color:#fff;border:1px solid #475569;padding:10px;width:100%;max-width:600px;margin:12px 0}
.aps-language-root button[data-aps-language]{padding:8px 14px;border:1px solid #00dce955;background:#00dce915;color:#00dce9}
.aps-language-root button[data-aps-language][aria-pressed=true]{background:#00dce9;color:#080808}
@media(max-width:700px){.aps-structured-card .board-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.aps-structured-card .board-definition-grid{grid-template-columns:minmax(0,1fr)}.aps-structured-card .board-card-head,.aps-structured-card .board-card-body,.aps-structured-card .board-definition,.aps-structured-card .board-card-actions{padding:16px}}
.aps-structured-detail table{width:100%;border-collapse:collapse}.aps-structured-detail td,.aps-structured-detail th{padding:10px;border-bottom:1px solid #ffffff22;text-align:left;overflow-wrap:anywhere}
@media(max-width:700px){.aps-structured-detail .r17-mobile-table,.aps-structured-detail .r17-mobile-table tbody{display:block}.aps-structured-detail .r17-mobile-table thead{display:none}.aps-structured-detail .r17-mobile-table tr{display:block;border:1px solid #ffffff22;border-radius:6px;margin:14px 0;padding:8px}.aps-structured-detail .r17-mobile-table td{display:block;width:100%;padding:9px 4px;border:0}.aps-structured-detail .r17-mobile-table td::before{content:attr(data-label);display:block;color:#94a3b8;font-size:10px;font-weight:700;margin-bottom:5px}}
