.article-fig .frame { font-family: var(--sans); }
.article-fig .frame .inner.pad { padding: 20px; }
.article-fig .frame-foot .more { font-size: 13px; }
.ap { font-size: 13px; line-height: 1.4; color: var(--ink); }
.ap-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 10px 30px rgba(var(--shadow-navy), .10); min-width: 0; }
.ap-k { display: block; font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ap-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.ap-h b { font-size: 14px; font-weight: 600; }
.ap small { display: block; color: var(--muted); font-size: 11.5px; }
.ap-date { flex: none; font: 500 11px var(--mono); border: 1px solid var(--line-blue); border-radius: 999px; padding: 3px 9px; color: var(--ink-2); background: #fff; white-space: nowrap; }
.ap-btn { display: inline-block; border: 1px solid var(--line-blue); border-radius: 999px; padding: 5px 14px; font-weight: 500; font-size: 12.5px; background: #fff; }
.ap-btn.is-main { border-color: var(--ink); background: var(--ink); color: #fff; }
.ap-meta { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ap-meta div { min-width: 0; }
.ap-meta dt { font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ap-meta dd { margin: 3px 0 0; font-size: 12.5px; }

.ap-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ap-part { position: relative; background: #fff; border: 1.5px dashed var(--dash-line); border-radius: 12px; padding: 14px 14px 14px 46px; }
.ap-part .ap-n { position: absolute; left: 12px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 11px var(--mono); }
.ap-part b { display: block; font-size: 14px; font-weight: 600; margin: 3px 0 2px; }
.ap-join { height: 26px; margin: 0 16.6%; border: 1.5px solid var(--line-blue); border-top: 0; border-radius: 0 0 12px 12px; position: relative; }
.ap-join::after { content: ""; position: absolute; left: 50%; top: 0; bottom: -14px; border-left: 1.5px solid var(--line-blue); }
.ap-sigrow { margin-top: 14px; }
.ap-sigtop { display: flex; align-items: center; gap: 10px; }
.ap-sigtop > div { flex: 1; min-width: 0; }
.ap-sigtop b { font-size: 15px; font-weight: 600; }

.ap-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ap-feed li { display: grid; grid-template-columns: 132px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.ap-feed b { font-weight: 600; }
.ap-feed .tag { justify-self: start; }

.ap-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; align-items: start; }
.ap-mail p { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.ap-mail mark { background: var(--blue-bg); color: var(--brand-2); border-radius: 4px; padding: 1px 4px; }
.ap-mail mark.is-off { background: var(--amber-bg); color: var(--amber); }
.ap-fields { margin: 0; display: grid; gap: 0; }
.ap-fields > div { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.ap-fields > div:first-child { border-top: 0; }
.ap-fields dt { font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ap-fields dd { margin: 0; }
.ap-status { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: var(--amber-bg); color: var(--amber); font-weight: 500; font-size: 12.5px; }
.ap-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ap-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ap-steps li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-weight: 500; font-size: 12.5px; }
.ap-steps li span { display: block; font: 500 10.5px var(--mono); color: var(--muted-2); }
.ap-steps li.is-on { border-color: var(--amber); background: var(--amber-bg); color: var(--amber); }
.ap-steps li.is-on span { color: var(--amber); }

.ap-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ap-queue li { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; }
.ap-queue li.is-open { border-color: var(--brand-1); box-shadow: 0 0 0 3px var(--blue-bg); }
.ap-queue b { font-weight: 600; }
.ap-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.ap-versus > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ap-versus .ap-num { display: block; font: 400 30px/1.1 var(--serif); margin: 4px 0 2px; }
.ap-versus .is-off .ap-num { color: var(--amber); }
.ap-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ap-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ap-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ap-table th, .ap-table td { padding: 9px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; white-space: nowrap; }
.ap-table thead th { border-top: 0; font: 500 10.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ap-table tbody th { font-weight: 600; white-space: normal; }
.ap-table .ap-r { text-align: right; font-variant-numeric: tabular-nums; }
.ap-table .is-neg { color: var(--red); }
.ap-months td { text-align: center; }
.ap-pill { display: inline-block; border-radius: 999px; padding: 4px 12px; background: var(--brand-1); color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.ap-months tbody th small { font-weight: 400; }

.ap-bridge { list-style: none; margin: 0; padding: 0; }
.ap-bridge li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.ap-bridge li:first-child { border-top: 0; }
.ap-bridge .ap-bar { height: 10px; border-radius: 999px; background: var(--tint-3); overflow: hidden; }
.ap-bridge .ap-bar i { display: block; height: 100%; border-radius: 999px; background: var(--red); opacity: .75; }
.ap-bridge .is-total .ap-bar i { background: var(--ink); opacity: 1; }
.ap-bridge .is-end .ap-bar i { background: var(--brand-1); opacity: 1; }
.ap-bridge .ap-amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.ap-bridge .is-total, .ap-bridge .is-end { font-weight: 600; }
.ap-bridge .is-total .ap-amt, .ap-bridge .is-end .ap-amt { font: 400 24px/1 var(--serif); }
.ap-bridge .tag { margin-left: 6px; }

.ap-copies { display: grid; gap: 8px; }
.ap-copy { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.ap-copy b { display: block; font-weight: 600; margin-top: 2px; }
.ap-copy .is-off { color: var(--red); font-weight: 500; }
.ap-owners { margin: 10px 0 0; display: grid; }
.ap-owners > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); align-items: center; }
.ap-owners dt { font-weight: 500; }
.ap-owners dt small { font-weight: 400; }
.ap-owners dd { margin: 0; }
.ap-reads { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); align-items: center; }

.ap-stats { display: grid; gap: 18px; }
.ap-stat { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; }
.ap-stat .ap-big { font: 400 46px/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.ap-stat.is-lead .ap-big { color: var(--brand-2); }
.ap-stat .ap-bar { height: 12px; border-radius: 999px; background: var(--tint-3); margin-top: 8px; overflow: hidden; }
.ap-stat .ap-bar i { display: block; height: 100%; border-radius: 999px; background: var(--sea-1); }
.ap-stat.is-lead .ap-bar i { background: var(--brand-1); }
.ap-stat span { font-size: 13.5px; color: var(--ink-2); }

.ap-sheet { padding: 0; overflow: hidden; }
.ap-sheetbar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--soft); border-bottom: 1px solid var(--line); font: 500 11.5px var(--mono); color: var(--ink-2); }
.ap-sheetbar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-blue); }
.ap-sheet .ap-table th, .ap-sheet .ap-table td { border: 1px solid var(--line); padding: 7px 10px; }
.ap-sheet .ap-table tr > :first-child { border-left: 0; width: 30px; text-align: center; color: var(--muted-2); background: var(--soft); font: 500 10.5px var(--mono); }
.ap-sheet .ap-table tr > :last-child { border-right: 0; }
.ap-sheet .ap-table thead th { background: var(--soft); text-align: center; }
.ap-sheet .ap-table .is-head td { font-weight: 600; background: var(--tint-2); }
.ap-sheet td.is-bad { background: var(--red-bg); }
.ap-sheet td.is-warn { background: var(--amber-bg); }
.ap-pin { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 10px var(--mono); margin-left: 6px; vertical-align: 1px; flex: none; }
.ap-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.ap-legend li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); }
.ap-legend .ap-pin { margin: 1px 0 0; }

@media (min-width: 1100px) and (max-width: 1319px) { .article-fig--wide { margin-left: -120px; margin-right: -120px; } }
@media (min-width: 1320px) { .article-fig--wide { margin-right: -250px; } }
.article-fig--wide figcaption { max-width: 728px; }
@media (min-width: 1100px) and (max-width: 1319px) { .article-fig--wide figcaption { margin-left: 120px; } }

.article-fig .dashed { font-family: var(--sans); line-height: 1.4; }
.article-fig .dashed .mini-row { padding: 12px 14px; }

@media (max-width: 700px) {
  .article-fig .frame .inner.pad { padding: 12px; }
  .ap-parts, .ap-two, .ap-meta, .ap-legend { grid-template-columns: 1fr; }
  .ap-join { display: none; }
  .ap-feed li { grid-template-columns: minmax(0, 1fr) auto; }
  .ap-feed li > :nth-child(1) { grid-column: 1; }
  .ap-feed li > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .ap-feed li > :nth-child(3) { grid-column: 1 / -1; grid-row: 3; }
  .ap-feed li > :nth-child(4) { grid-column: 2; grid-row: 1; }
  .ap-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ap-stat { grid-template-columns: 1fr; gap: 6px; }
  .ap-stat .ap-big { font-size: 38px; }
  .ap-bridge li { grid-template-columns: minmax(0, 1fr) 56px; }
  .ap-bridge .ap-bar { display: none; }
  .ap-fields > div { grid-template-columns: 72px minmax(0, 1fr) auto; }
}
