.p100 { padding-bottom: 0; }
.p100-home { color: var(--ink); text-decoration: none; }
.p100-intro, .p100-explain, .p100-run, .p100-results, .p100-sources { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.p100-intro { padding-top: clamp(32px, 6vw, 72px); }
.p100-intro h1 { max-width: 16ch; margin: 18px 0 20px; font: 800 clamp(36px, 7vw, 76px)/.95 Archivo, sans-serif; letter-spacing: -.035em; }
.p100-disclaimer { margin: 0 0 28px; padding: 14px 16px; border: 1px solid var(--rust); background: var(--rust-tint); color: var(--rust-deep); font-size: 14px; line-height: 1.5; max-width: 70ch; }
.p100-explain { padding-top: 8px; padding-bottom: 32px; }
.p100-explain h2, .p100-card h2 { margin: 0 0 12px; font: 800 clamp(24px, 4vw, 34px)/1.05 Archivo, sans-serif; letter-spacing: -.03em; }
.p100-explain { border-top: 2px solid var(--ink); padding-top: 28px; max-width: 1160px; }
.p100-explain p { max-width: 68ch; margin: 0 0 12px; color: var(--ink-secondary); font-size: 15.5px; line-height: 1.55; }
.p100-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.p100-card { padding: clamp(18px, 4vw, 32px); }
.p100-card .kicker { margin-bottom: 12px; color: var(--muted); }
.p100-sub { margin: 22px 0 14px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 16px; }
.p100-list { list-style: none; margin: 14px 0 0; padding: 0; }
.p100-list:empty::before { content: "Nothing entered yet."; display: block; padding: 14px; border: 1px dashed var(--faint); color: var(--muted); font-size: 14px; }
.p100-item { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--hairline); animation: p100in .25s ease-out; }
.p100-item-main { min-width: 0; }
.p100-item-main strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.p100-item-main span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.p100-item-btns { display: flex; gap: 6px; flex: none; }
.p100-mini { min-width: 44px; min-height: 44px; padding: 0 10px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .1s, background .1s; }
.p100-mini:hover { background: var(--ink); color: var(--surface); }
.p100-mini:active { transform: scale(.95); }
.p100-mini.danger { border-color: var(--rust); color: var(--rust-deep); }
.p100-mini.danger:hover { background: var(--rust); color: #fff; }
.p100-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.p100-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 460px) { .p100-row { grid-template-columns: 1fr 1fr; } .p100-row .field-group:first-child { grid-column: 1 / -1; } }
.p100 select, .p100 input { min-height: 48px; }
.p100-both { margin: 14px 0 0; padding: 12px 14px; border-left: 6px solid var(--rust); background: var(--rust-tint); color: var(--rust-deep); font-size: 13.5px; line-height: 1.5; font-weight: 600; }
.p100-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.p100-actions .button { flex: 1 1 160px; text-align: center; }
.p100-run { padding-top: 28px; padding-bottom: 8px; }
.p100-run-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.p100-run-bar .button-primary { flex: 1 1 240px; text-align: center; }
.p100-run-bar .button-ghost { min-height: 48px; }
.p100-results { padding-top: 24px; padding-bottom: 40px; }
.p100-results-h { margin: 0 0 14px; padding-top: 18px; border-top: 2px solid var(--ink); font: 800 clamp(28px, 5vw, 44px)/1 Archivo, sans-serif; letter-spacing: -.03em; }
.p100-state { padding: 22px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink-secondary); font-size: 15px; line-height: 1.5; }
.p100-state strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; }
.p100-state.error { border-color: var(--rust); background: var(--rust-tint); color: var(--rust-deep); }
.p100-state.good { border-color: var(--olive); }
.p100-state .button { margin-top: 14px; }
.p100-skel { height: 64px; margin-bottom: 10px; background: linear-gradient(90deg, var(--hairline), var(--surface), var(--hairline)); background-size: 200% 100%; animation: p100sk 1.1s linear infinite; }
.p100-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); background: var(--surface); }
.p100-metric { padding: 14px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.p100-metric span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.p100-metric strong { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.p100-block { margin-top: 28px; }
.p100-block h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.02em; }
.p100-block > p { margin: 0 0 14px; color: var(--ink-secondary); font-size: 14.5px; line-height: 1.5; max-width: 70ch; }
.p100-steps { margin: 12px 0 0; padding-left: 20px; color: var(--ink-secondary); font-size: 14px; line-height: 1.6; }
.p100-win { margin: 0 0 12px; padding: 16px; border: 2px solid var(--olive); border-left-width: 8px; background: var(--surface); }
.p100-win b { color: var(--olive); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.p100-win p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; }
.p100-win .and { color: var(--olive); font-weight: 800; }
.p100-win small { display: block; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.p100-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.p100-seg { display: inline-flex; border: 2px solid var(--ink); }
.p100-seg button { min-height: 44px; padding: 0 14px; border: 0; background: transparent; font-weight: 700; font-size: 13px; cursor: pointer; }
.p100-seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.p100-out { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; padding: 14px 0 14px 12px; border-bottom: 1px solid var(--hairline); border-left: 4px solid var(--rust); }
.p100-out.hit { border-left-color: var(--olive); }
.p100-out .num { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.p100-out .num small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.p100-out .desc { grid-column: 1 / -1; color: var(--ink-secondary); font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.p100-out .facts { color: var(--muted); font-size: 12.5px; line-height: 1.5; align-self: center; }
.p100-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.p100-pager button { min-height: 48px; min-width: 96px; border: 2px solid var(--ink); background: transparent; font-weight: 700; cursor: pointer; }
.p100-pager button:disabled { opacity: .35; cursor: not-allowed; }
.p100-sources { padding-top: 24px; padding-bottom: 40px; border-top: 2px solid var(--ink); }
.p100-sources p { color: var(--ink-secondary); font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.p100-sources a { color: var(--olive); font-weight: 600; text-underline-offset: 3px; }
@keyframes p100in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes p100sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .p100-item, .p100-skel { animation: none; } * { scroll-behavior: auto !important; } }
@media (min-width: 700px) { .p100-metrics { grid-template-columns: repeat(4, 1fr); } }
