.v23-page{display:grid;gap:1.5rem}
.v23-page>*,.v23-article>*,.v23-tool>*{min-width:0;max-width:100%}
.v23-hero-fig{margin:0;border:1px solid var(--line,rgba(255,255,255,.14));border-radius:14px;overflow:hidden;background:var(--surface,#1c1720)}
.v23-hero-fig img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.v23-hero-fig figcaption{padding:.65rem 1rem;font-size:.86rem;color:var(--muted,#c7bccd);border-top:1px solid var(--line,rgba(255,255,255,.1))}
.v23-tool{padding:1.25rem;border:1px solid var(--line,rgba(255,255,255,.16));border-radius:16px;background:var(--surface,#1c1720)}
.v23-tool-head{display:grid;gap:.45rem;margin-bottom:1rem}
.v23-tool-head h2,.v23-tool-head p{margin:0}
.v23-kicker{margin:0;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--gold,#e0b462)}
.v23-controls{display:grid;gap:.8rem;margin:.85rem 0}
.v23-control-row{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}
.v23-control-label{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#c7bccd);margin-right:.2rem}
.v23-pills{display:flex;flex-wrap:wrap;gap:.45rem}
.v23-pill{appearance:none;border:1px solid var(--line,rgba(255,255,255,.2));background:transparent;color:inherit;border-radius:999px;padding:.45rem .85rem;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer;min-height:40px;transition:background .15s ease,border-color .15s ease}
.v23-pill:hover{border-color:var(--gold,#e0b462)}
.v23-pill[aria-pressed="true"]{background:var(--gold,#e0b462);color:#171319;border-color:var(--gold,#e0b462)}
.v23-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:.8rem}
.v23-field{display:grid;gap:.35rem;min-width:0}
.v23-field label{font-size:.85rem;font-weight:700;color:var(--muted,#c7bccd)}
.v23-input,.v23-select,.v23-textarea{width:100%;box-sizing:border-box;min-height:42px;padding:.55rem .8rem;border-radius:10px;border:1px solid var(--line,rgba(255,255,255,.22));background:#16111b;color:#f5f0e6;font:inherit}
.v23-select option,.v23-select optgroup{background:#16111b;color:#f5f0e6}
.v23-input:focus,.v23-select:focus,.v23-textarea:focus{outline:2px solid var(--gold,#e0b462);outline-offset:1px}
.v23-range-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.v23-range-row input[type="range"]{flex:1 1 160px;accent-color:var(--gold,#e0b462);min-height:36px}
.v23-range-val{font-weight:700;color:var(--gold,#e0b462);min-width:4.5rem}
.v23-status{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;margin:.6rem 0 1rem;font-size:.92rem;color:var(--muted,#c7bccd)}
.v23-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));gap:.75rem;margin:1rem 0}
.v23-kpi{padding:.9rem 1rem;border-radius:12px;border:1px solid var(--line,rgba(255,255,255,.15));background:rgba(255,255,255,.03);display:grid;gap:.25rem}
.v23-kpi small{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#c7bccd)}
.v23-kpi strong{font-size:1.35rem;color:var(--gold,#e0b462);line-height:1.2}
.v23-kpi.is-ok strong{color:#7fe0bc}
.v23-kpi.is-warn strong{color:#f0a89b}
.v23-bar-track{width:100%;height:10px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:.4rem 0 .85rem}
.v23-bar-fill{height:100%;background:linear-gradient(90deg,#c8963e,#f0c774);transition:width .2s ease}
.v23-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr));gap:.9rem}
.v23-card{display:grid;gap:.5rem;align-content:start;padding:1rem;border-radius:12px;border:1px solid var(--line,rgba(255,255,255,.14));background:rgba(255,255,255,.03)}
.v23-card[hidden]{display:none}
.v23-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}
.v23-card h3{margin:0;font-size:1.03rem;line-height:1.3}
.v23-badges{display:flex;flex-wrap:wrap;gap:.35rem}
.v23-badge{font-size:.74rem;font-weight:700;padding:.2rem .55rem;border-radius:999px;background:rgba(224,180,98,.16);color:var(--gold,#e0b462);white-space:nowrap}
.v23-badge.is-new{background:rgba(92,196,158,.18);color:#7fe0bc}
.v23-badge.is-key{background:rgba(218,132,118,.18);color:#f0a89b}
.v23-badge.is-xp-ok{background:rgba(92,196,158,.16);color:#7fe0bc}
.v23-badge.is-xp-warn{background:rgba(240,168,155,.16);color:#f0a89b}
.v23-card p{margin:0;font-size:.92rem;line-height:1.5}
.v23-meta-line{font-size:.85rem;color:var(--muted,#c7bccd)}
.v23-check{display:flex;align-items:center;gap:.5rem;margin-top:.2rem;font-size:.9rem;font-weight:600;cursor:pointer;min-height:38px}
.v23-check input{width:18px;height:18px;accent-color:var(--gold,#e0b462)}
.v23-code-box{background:#0f0c14;border:1px solid var(--line,rgba(255,255,255,.18));border-radius:12px;padding:1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92rem;line-height:1.5;color:#f5e6c8;white-space:pre-wrap;word-break:break-word;margin:.75rem 0}
.v23-char-count{font-size:.86rem;font-weight:700;color:#7fe0bc}
.v23-char-count.is-over{color:#f0a89b}
.v23-saved-box{margin-top:1rem;padding:.95rem 1rem;border-radius:12px;border:1px dashed var(--line,rgba(255,255,255,.22));background:rgba(0,0,0,.18)}
.v23-saved-box h3{margin:0 0 .5rem;font-size:.96rem;color:var(--gold,#e0b462)}
.v23-saved-list{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}
.v23-saved-item{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;font-size:.88rem;padding:.45rem .65rem;border-radius:8px;background:rgba(255,255,255,.04)}
.v23-saved-item code{white-space:pre-wrap;word-break:break-word;font-size:.84rem;color:#f5e6c8}
.v23-mini-btn{appearance:none;border:1px solid var(--line,rgba(255,255,255,.22));background:transparent;color:inherit;border-radius:6px;padding:.3rem .65rem;font:inherit;font-size:.82rem;cursor:pointer;min-height:34px}
.v23-mini-btn:hover{border-color:var(--gold,#e0b462)}
.v23-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.v23-note{margin:.85rem 0 0;font-size:.86rem;color:var(--muted,#c7bccd)}
.v23-article{display:grid;gap:1.35rem}
.v23-callout{padding:1rem 1.1rem;border-left:3px solid var(--gold,#e0b462);border-radius:0 12px 12px 0;background:rgba(224,180,98,.08)}
.v23-callout p{margin:0}
.v23-table-wrap{overflow-x:auto;border:1px solid var(--line,rgba(255,255,255,.14));border-radius:12px}
.v23-table-wrap table{width:100%;border-collapse:collapse;min-width:560px}
.v23-table-wrap th,.v23-table-wrap td{padding:.65rem .8rem;text-align:left;border-bottom:1px solid var(--line,rgba(255,255,255,.1));font-size:.92rem;vertical-align:top}
.v23-table-wrap th{font-weight:700;color:var(--gold,#e0b462);background:rgba(255,255,255,.04)}
.v23-table-wrap tr:last-child td{border-bottom:0}
@media (max-width:600px){
  .v23-tool{padding:1rem}
  .v23-card{padding:.9rem}
  .v23-pill{font-size:.85rem;padding:.4rem .72rem}
}
