.nplh-app {
    --nplh-navy: #123f5f;
    --nplh-blue: #17658a;
    --nplh-teal: #167d7a;
    --nplh-gold: #d99a24;
    --nplh-ink: #102d42;
    --nplh-muted: #5c6f7d;
    --nplh-line: #c5d7e4;
    --nplh-pale: #eef6fa;
    --nplh-paper: #ffffff;
    --nplh-success: #15745f;
    --nplh-danger: #a63b36;
    width: 100%;
    max-width: 1220px;
    margin: 24px auto;
    color: var(--nplh-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.nplh-app,
.nplh-app * {
    box-sizing: border-box;
}

.nplh-app [hidden] {
    display: none !important;
}

.nplh-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nplh-app button,
.nplh-app input,
.nplh-app select,
.nplh-app textarea {
    font: inherit;
}

.nplh-app button {
    cursor: pointer;
}

.nplh-app h1,
.nplh-app h2,
.nplh-app h3,
.nplh-app p {
    margin-top: 0;
}

.nplh-shell {
    overflow: hidden;
    border: 1px solid var(--nplh-line);
    border-radius: 18px;
    background: #f4f8fb;
    box-shadow: 0 18px 44px rgba(16, 45, 66, 0.12);
}

.nplh-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 38px 36px;
    color: #fff;
    background: linear-gradient(118deg, #123f5f 0%, #185e84 57%, #167d7a 100%);
}

.nplh-hero::before,
.nplh-hero::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.nplh-hero::before {
    width: 210px;
    height: 210px;
    right: -58px;
    top: -78px;
}

.nplh-hero::after {
    width: 145px;
    height: 145px;
    right: 120px;
    bottom: -104px;
}

.nplh-hero--compact {
    padding-block: 20px;
}

.nplh-hero__meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.nplh-pill {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 3px 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.nplh-hero__title {
    position: relative;
    z-index: 1;
    margin-bottom: 6px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.nplh-hero > p {
    position: relative;
    z-index: 1;
    max-width: 830px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.55;
}

.nplh-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 20px;
    align-items: start;
    padding: 24px;
}

.nplh-controls,
.nplh-results {
    min-width: 0;
}

.nplh-calculator {
    display: grid;
    gap: 16px;
}

.nplh-panel {
    padding: 20px;
    border: 1px solid var(--nplh-line);
    border-radius: 14px;
    background: var(--nplh-paper);
}

.nplh-panel--accent {
    border-top: 4px solid var(--nplh-gold);
    padding-top: 17px;
}

.nplh-section-heading {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.nplh-section-heading > span {
    display: inline-grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #e4f2f6;
    color: var(--nplh-blue);
    font-weight: 900;
}

.nplh-section-heading h2 {
    margin-bottom: 1px;
    color: var(--nplh-ink);
    font-size: 20px;
    line-height: 1.25;
}

.nplh-section-heading p {
    margin-bottom: 0;
    color: var(--nplh-muted);
    font-size: 14px;
}

.nplh-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.nplh-field-grid--three {
    grid-template-columns: 0.72fr 0.9fr 1.38fr;
}

.nplh-field {
    display: grid;
    min-width: 0;
    gap: 6px;
    color: var(--nplh-ink);
    font-weight: 750;
}

.nplh-field--full {
    grid-column: 1 / -1;
    margin-bottom: 15px;
}

.nplh-field small {
    color: var(--nplh-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.nplh-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid #9fbbce;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.nplh-input-wrap:focus-within {
    border-color: var(--nplh-blue);
    box-shadow: 0 0 0 3px rgba(23, 101, 138, 0.14);
}

.nplh-input-wrap .nplh-input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.nplh-input-wrap b {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-left: 1px solid #b8cedd;
    background: var(--nplh-pale);
    color: var(--nplh-ink);
    font-size: 13px;
    white-space: nowrap;
}

.nplh-input,
.nplh-select,
.nplh-textarea {
    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #9fbbce !important;
    border-radius: 10px !important;
    outline: 0;
    background: #fff !important;
    color: #172a38 !important;
    font-weight: 500;
    line-height: 1.35;
}

.nplh-textarea {
    min-height: 104px;
    resize: vertical;
}

.nplh-input:focus,
.nplh-select:focus,
.nplh-textarea:focus {
    border-color: var(--nplh-blue) !important;
    box-shadow: 0 0 0 3px rgba(23, 101, 138, 0.14) !important;
}

.nplh-input[aria-invalid="true"],
.nplh-select[aria-invalid="true"] {
    border-color: var(--nplh-danger) !important;
    background: #fff8f7 !important;
}

.nplh-input-wrap:has(.nplh-input[aria-invalid="true"]) {
    border-color: var(--nplh-danger);
}

.nplh-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 13px;
    color: var(--nplh-muted);
    font-size: 13px;
}

.nplh-chip {
    min-height: 37px;
    padding: 6px 12px;
    border: 1px solid var(--nplh-line);
    border-radius: 999px;
    background: #f8fbfd;
    color: var(--nplh-ink);
    font-size: 13px;
    font-weight: 800;
}

.nplh-chip:hover {
    border-color: var(--nplh-blue);
    color: var(--nplh-blue);
}

.nplh-info {
    display: grid;
    gap: 3px;
    margin-top: 16px;
    padding: 13px 15px;
    border-left: 4px solid var(--nplh-blue);
    border-radius: 8px;
    background: #e9f4fa;
    color: var(--nplh-muted);
    font-size: 13px;
}

.nplh-info strong {
    color: var(--nplh-ink);
}

.nplh-toggle-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.nplh-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 16px;
    align-items: center;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid var(--nplh-line);
    border-radius: 11px;
    background: #fff;
}

.nplh-toggle > span {
    display: grid;
    gap: 2px;
}

.nplh-toggle strong {
    color: var(--nplh-ink);
    font-size: 14px;
}

.nplh-toggle small {
    color: var(--nplh-muted);
    font-size: 12px;
    line-height: 1.4;
}

.nplh-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.nplh-toggle i {
    position: relative;
    display: block;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #b8c8d1;
    transition: background 0.2s ease;
}

.nplh-toggle i::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    content: "";
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
}

.nplh-toggle input:checked + i {
    background: var(--nplh-teal);
}

.nplh-toggle input:checked + i::after {
    transform: translateX(20px);
}

.nplh-toggle input:focus-visible + i {
    outline: 3px solid #17658a;
    outline-offset: 2px;
}

.nplh-toggle.is-disabled {
    cursor: not-allowed;
    opacity: 0.58;
    background: #f3f6f7;
}

.nplh-actions,
.nplh-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nplh-button {
    min-height: 46px;
    padding: 10px 17px;
    border: 1px solid var(--nplh-blue);
    border-radius: 10px;
    font-weight: 750;
    line-height: 1.2;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nplh-button:hover {
    transform: translateY(-1px);
}

.nplh-button:focus-visible,
.nplh-chip:focus-visible,
.nplh-result-details summary:focus-visible,
.nplh-check input:focus-visible {
    outline: 3px solid #17658a;
    outline-offset: 2px;
}

.nplh-button:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.nplh-button[data-privacy-disabled="1"] {
    cursor: not-allowed;
}

.nplh-button--primary {
    background: var(--nplh-blue);
    color: #fff;
}

.nplh-button--primary:hover {
    background: var(--nplh-navy);
}

.nplh-button--secondary {
    background: #fff;
    color: var(--nplh-blue);
}

.nplh-button--contact {
    border-color: #b5770d;
    background: #d99a24;
    color: #142b3a;
}

.nplh-button--contact:hover {
    background: #e3aa3f;
}

.nplh-error-summary {
    padding: 12px 14px;
    border: 1px solid #dba4a0;
    border-radius: 10px;
    background: #fff2f1;
    color: #812d29;
    font-size: 14px;
    font-weight: 700;
}

.nplh-error-summary ul {
    margin: 0;
    padding-left: 20px;
}

.nplh-results {
    position: sticky;
    top: 20px;
    overflow: hidden;
    border: 1px solid #9fbfd1;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 45, 66, 0.09);
}

.nplh-result-hero {
    padding: 23px 22px 19px;
    color: #fff;
    background: linear-gradient(120deg, #123f5f 0%, #17658a 62%, #167d7a 100%);
}

.nplh-result-hero > span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.79);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nplh-result-hero > strong {
    display: block;
    color: #fff;
    font-size: clamp(34px, 5vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.nplh-result-hero > p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.nplh-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--nplh-line);
}

.nplh-metric-grid > div {
    min-height: 83px;
    padding: 13px 14px;
    border-right: 1px solid var(--nplh-line);
    border-bottom: 1px solid var(--nplh-line);
}

.nplh-metric-grid > div:nth-child(2n) {
    border-right: 0;
}

.nplh-metric-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.nplh-metric-grid span,
.nplh-maximum span {
    display: block;
    margin-bottom: 4px;
    color: var(--nplh-muted);
    font-size: 12px;
    line-height: 1.35;
}

.nplh-metric-grid strong {
    color: var(--nplh-ink);
    font-size: 16px;
}

.nplh-result-section {
    display: grid;
    gap: 15px;
    padding: 18px 16px;
    border-bottom: 1px solid var(--nplh-line);
}

.nplh-status {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 1px 9px;
    padding: 13px;
    border-radius: 10px;
    background: #edf5f7;
}

.nplh-status > span:first-child {
    grid-row: 1 / 3;
    align-self: start;
    width: 10px;
    height: 10px;
    margin-top: 5px;
    overflow: hidden;
    border-radius: 50%;
    color: transparent;
    background: #718995;
}

.nplh-status > strong {
    color: var(--nplh-ink);
}

.nplh-status > small {
    color: var(--nplh-muted);
    font-size: 12px;
}

.nplh-status.is-ok {
    background: #eaf6f1;
}

.nplh-status.is-ok > span:first-child {
    background: var(--nplh-success);
}

.nplh-status.is-warning {
    background: #fff2ef;
}

.nplh-status.is-warning > span:first-child {
    background: var(--nplh-danger);
}

.nplh-limit-row {
    display: grid;
    gap: 6px;
}

.nplh-limit-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.nplh-limit-row span,
.nplh-limit-row strong {
    font-size: 13px;
}

.nplh-limit-row small {
    color: var(--nplh-muted);
    font-size: 11px;
}

.nplh-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dce9ef;
}

.nplh-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--nplh-blue), var(--nplh-teal));
    transition: width 0.25s ease;
}

.nplh-progress i.is-over {
    background: var(--nplh-danger);
}

.nplh-maximum {
    padding: 13px;
    border: 1px solid #c2d8e5;
    border-radius: 10px;
    background: #f0f7fb;
}

.nplh-maximum strong {
    display: block;
    color: var(--nplh-navy);
    font-size: 22px;
}

.nplh-maximum small {
    color: var(--nplh-muted);
    font-size: 11px;
}

.nplh-result-details {
    border-bottom: 1px solid var(--nplh-line);
}

.nplh-result-details summary {
    position: relative;
    padding: 15px 42px 15px 16px;
    color: var(--nplh-ink);
    font-size: 14px;
    font-weight: 850;
    list-style: none;
    cursor: pointer;
}

.nplh-result-details summary::-webkit-details-marker {
    display: none;
}

.nplh-result-details summary::after {
    position: absolute;
    right: 17px;
    top: 14px;
    content: "+";
    color: var(--nplh-blue);
    font-size: 20px;
    line-height: 1;
}

.nplh-result-details[open] summary::after {
    content: "−";
}

.nplh-sensitivity {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 14px 12px;
}

.nplh-sensitivity > div {
    padding: 10px 8px;
    border: 1px solid var(--nplh-line);
    border-radius: 9px;
    background: #fff;
    text-align: center;
}

.nplh-sensitivity > div.is-base {
    border-color: var(--nplh-teal);
    background: #eef9f6;
}

.nplh-sensitivity span,
.nplh-sensitivity strong,
.nplh-sensitivity small {
    display: block;
}

.nplh-sensitivity span {
    color: var(--nplh-muted);
    font-size: 12px;
}

.nplh-sensitivity strong {
    margin: 2px 0;
    color: var(--nplh-ink);
    font-size: 13px;
}

.nplh-sensitivity small {
    color: var(--nplh-muted);
    font-size: 10px;
    line-height: 1.25;
}

.nplh-detail-note {
    margin: 0;
    padding: 0 16px 15px;
    color: var(--nplh-muted);
    font-size: 11px;
}

.nplh-variable-note {
    margin: 0;
    padding: 11px 15px;
    border-top: 1px solid #e2ebf0;
    background: #fff8e8;
    color: #6d4a0b;
    font-size: 11px;
    line-height: 1.45;
}

.nplh-table-wrap {
    max-height: 330px;
    overflow: auto;
    border-top: 1px solid #e2ebf0;
}

.nplh-table-wrap table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 11px;
}

.nplh-table-wrap th,
.nplh-table-wrap td {
    padding: 8px 7px;
    border: 0;
    border-bottom: 1px solid #e2ebf0;
    text-align: right;
    white-space: nowrap;
}

.nplh-table-wrap th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #edf5f9;
    color: var(--nplh-ink);
    font-weight: 800;
}

.nplh-table-wrap th:first-child,
.nplh-table-wrap td:first-child {
    text-align: left;
}

.nplh-result-actions {
    padding: 15px;
}

.nplh-result-actions .nplh-button {
    flex: 1 1 145px;
}

.nplh-browser-note {
    margin: -2px 16px 16px;
    color: var(--nplh-muted);
    font-size: 11px;
    text-align: center;
}

.nplh-contact-card {
    display: grid;
    gap: 13px;
    padding: 19px 17px;
    border-top: 4px solid var(--nplh-gold);
    background: linear-gradient(145deg, #fff9ec 0%, #fff 62%);
}

.nplh-contact-card__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #8a5b0a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nplh-contact-card h2 {
    margin-bottom: 4px;
    color: var(--nplh-ink);
    font-size: 20px;
}

.nplh-contact-card p {
    margin-bottom: 0;
    color: var(--nplh-muted);
    font-size: 13px;
}

.nplh-contact-form {
    display: grid;
    gap: 13px;
    padding-top: 15px;
    border-top: 1px solid #e9d5aa;
}

.nplh-contact-form .nplh-field--full {
    margin-bottom: 0;
}

.nplh-check {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    color: var(--nplh-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.nplh-check input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--nplh-teal);
}

.nplh-check a {
    color: var(--nplh-blue);
    font-weight: 750;
}

.nplh-check [aria-disabled="true"] {
    color: var(--nplh-danger);
    text-decoration: none;
}

.nplh-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.nplh-form-status {
    min-height: 0;
    padding: 0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.nplh-form-status.is-success,
.nplh-form-status.is-error {
    padding: 11px 12px;
}

.nplh-form-status.is-success {
    background: #e8f5ef;
    color: #145d4e;
}

.nplh-form-status.is-error {
    background: #fff0ef;
    color: #8f302b;
}

.nplh-form-note {
    font-size: 11px !important;
}

.nplh-guide {
    margin-top: 28px;
    padding: 0 4px;
    color: var(--nplh-ink);
}

.nplh-guide__intro,
.nplh-guide__section,
.nplh-faq,
.nplh-sources,
.nplh-disclaimer {
    max-width: 1000px;
    margin: 0 auto 24px;
}

.nplh-guide h2 {
    color: var(--nplh-ink);
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.2;
}

.nplh-guide h3 {
    color: var(--nplh-ink);
    font-size: 18px;
}

.nplh-guide p,
.nplh-guide li {
    color: #415866;
}

.nplh-eyebrow {
    margin-bottom: 5px;
    color: var(--nplh-teal) !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nplh-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto 28px;
}

.nplh-rule-card {
    padding: 19px;
    border: 1px solid var(--nplh-line);
    border-radius: 13px;
    background: #fff;
}

.nplh-rule-card__value {
    display: block;
    margin-bottom: 6px;
    color: var(--nplh-blue);
    font-size: 27px;
    font-weight: 900;
}

.nplh-rule-card h3 {
    margin-bottom: 5px;
}

.nplh-rule-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.nplh-example {
    padding: 19px 21px;
    border-left: 5px solid var(--nplh-gold);
    border-radius: 10px;
    background: #fff8e9;
}

.nplh-example h2 {
    font-size: 22px;
}

.nplh-faq details {
    border-bottom: 1px solid var(--nplh-line);
}

.nplh-faq summary {
    padding: 13px 2px;
    color: var(--nplh-ink);
    font-weight: 800;
    cursor: pointer;
}

.nplh-faq details p {
    padding: 0 2px 13px;
}

.nplh-sources {
    padding: 18px 21px;
    border: 1px solid var(--nplh-line);
    border-radius: 12px;
    background: #f3f8fb;
}

.nplh-sources h2 {
    font-size: 22px;
}

.nplh-sources a {
    color: var(--nplh-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nplh-disclaimer {
    padding: 15px 17px;
    border-radius: 10px;
    background: #eaf1f5;
    color: #425a68;
    font-size: 13px;
}

@media (max-width: 980px) {
    .nplh-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .nplh-results {
        position: static;
    }
}

@media (max-width: 720px) {
    .nplh-app {
        margin: 14px auto;
    }

    .nplh-shell {
        border-radius: 13px;
    }

    .nplh-hero {
        padding: 27px 22px 29px;
    }

    .nplh-hero > p {
        font-size: 16px;
    }

    .nplh-workspace {
        padding: 15px;
    }

    .nplh-field-grid,
    .nplh-field-grid--three,
    .nplh-rule-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nplh-field--full {
        grid-column: auto;
    }

    .nplh-sensitivity {
        grid-template-columns: minmax(0, 1fr);
    }

    .nplh-sensitivity > div {
        display: grid;
        grid-template-columns: 0.65fr 1fr;
        align-items: center;
        text-align: left;
    }

    .nplh-sensitivity small {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    .nplh-app {
        font-size: 15px;
    }

    .nplh-hero {
        padding: 23px 18px 25px;
    }

    .nplh-hero__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .nplh-hero__title {
        font-size: 33px;
    }

    .nplh-workspace {
        padding: 11px;
    }

    .nplh-panel {
        padding: 15px;
    }

    .nplh-panel--accent {
        padding-top: 13px;
    }

    .nplh-section-heading > span {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }

    .nplh-section-heading h2 {
        font-size: 18px;
    }

    .nplh-input,
    .nplh-select,
    .nplh-button,
    .nplh-chip {
        min-height: 45px;
    }

    .nplh-input-wrap b {
        padding-inline: 9px;
        font-size: 12px;
    }

    .nplh-metric-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nplh-metric-grid > div,
    .nplh-metric-grid > div:nth-child(2n),
    .nplh-metric-grid > div:nth-last-child(-n + 2) {
        min-height: 68px;
        border-right: 0;
        border-bottom: 1px solid var(--nplh-line);
    }

    .nplh-metric-grid > div:last-child {
        border-bottom: 0;
    }

    .nplh-result-hero {
        padding: 20px 17px 17px;
    }

    .nplh-result-hero > strong {
        font-size: 36px;
    }

    .nplh-limit-row > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .nplh-actions .nplh-button,
    .nplh-contact-card > .nplh-button {
        width: 100%;
    }

    .nplh-guide {
        padding-inline: 2px;
    }
}

@media (max-width: 340px) {
    .nplh-hero {
        padding: 20px 14px 22px;
    }

    .nplh-hero__title {
        font-size: 28px;
    }

    .nplh-workspace {
        padding: 8px;
    }

    .nplh-panel,
    .nplh-result-section,
    .nplh-contact-card {
        padding-inline: 12px;
    }

    .nplh-result-hero > strong {
        font-size: 31px;
    }

    .nplh-quick-row {
        gap: 6px;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .nplh-app,
    .nplh-app * {
        visibility: visible !important;
    }

    .nplh-app {
        position: absolute;
        inset: 0 auto auto 0;
        max-width: none;
        margin: 0;
        font-size: 11pt;
    }

    .nplh-shell {
        border: 0;
        box-shadow: none;
    }

    .nplh-workspace {
        display: block;
        padding: 0;
    }

    .nplh-controls,
    .nplh-result-actions,
    .nplh-contact-card,
    .nplh-browser-note,
    .nplh-guide {
        display: none !important;
    }

    .nplh-results {
        position: static;
        border: 0;
        box-shadow: none;
    }

    .nplh-result-details {
        break-inside: avoid;
    }
}
