/* Partner program pages (/partners). Azhar Tawseel navy "ink" + light surface, bento grid, wizard form.
   Colours match the homepage tokens in talab-public.css; everything here is prefixed pt-.
   --pt-blue is the interactive accent; --pt-green is kept for done / success states only. */
:root {
    --pt-ink: #002E52;
    --pt-ink-2: #003A66;
    --pt-ink-3: #0B4A78;
    --pt-sand: #F6F9FC;
    --pt-sand-2: #EEF5FB;
    --pt-line: #E2E8F0;
    --pt-blue: #0A67A8;
    --pt-blue-dark: #004B80;
    --pt-blue-tint: #E6F0FA;
    --pt-green: #6DB33F;
    --pt-green-dark: #3E8E1E;
    --pt-green-tint: #E9F6E0;
    --pt-amber: #FFC928;
    --pt-text: #1E293B;
    --pt-muted: #64748B;
    --pt-on-ink: #BFD3E6;
    --pt-danger: #b42318;
    --pt-display: "Cairo", "Segoe UI", sans-serif;
}

.pt-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.pt-display { font-family: var(--pt-display); letter-spacing: -0.01em; }

/* —— Buttons —— */
.pt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 14px; border: 2px solid transparent;
    font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.pt-btn:hover { transform: translateY(-2px); }
.pt-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.pt-btn--amber { background: var(--pt-amber); color: var(--pt-ink); }
.pt-btn--amber:hover { background: #FFD54F; color: var(--pt-ink); }
.pt-btn--ink { background: var(--pt-ink); color: #fff; }
.pt-btn--ink:hover { background: var(--pt-ink-3); color: #fff; }
.pt-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.pt-btn--ghost:hover { border-color: #fff; color: #fff; }
.pt-btn--line { border-color: var(--pt-line); color: var(--pt-text); background: #fff; }
.pt-btn--line:hover { border-color: var(--pt-blue); color: var(--pt-blue-dark); }
.pt-btn--sm { padding: 10px 18px; font-size: .92rem; border-radius: 12px; }

/* —— Hero —— */
.pt-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(60% 80% at 85% 10%, rgba(255,201,40,.18), transparent 60%),
        radial-gradient(40% 50% at 5% 100%, rgba(109,179,63,.22), transparent 60%),
        linear-gradient(135deg, #002E52 0%, #004B80 45%, #0A67A8 100%);
    padding: 72px 0 96px;
}
.pt-hero::after { /* soft grain */
    content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.pt-hero__grid { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .pt-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.pt-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    font-size: .85rem; font-weight: 700; color: #D6E8F7; margin-bottom: 22px;
}
.pt-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--pt-green); box-shadow: 0 0 0 4px rgba(109,179,63,.3); }
.pt-hero h1 { margin: 0 0 20px; font-family: var(--pt-display); font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.2; letter-spacing: -0.01em; }
.pt-hero h1 em { font-style: normal; color: var(--pt-amber); }
[dir="rtl"] .pt-hero h1 { line-height: 1.3; letter-spacing: 0; }
.pt-hero__lead { margin: 0 0 32px; max-width: 34em; font-size: 1.15rem; color: var(--pt-on-ink); }
.pt-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.pt-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; color: var(--pt-on-ink); font-size: .95rem; font-weight: 600; }
.pt-facts li::before { content: "✓"; color: var(--pt-amber); margin-inline-end: 8px; font-weight: 800; }
.pt-closed-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: rgba(255,201,40,.14); border: 1px solid rgba(255,201,40,.4); color: #FFE8A3; font-weight: 600; }

/* Decorative order-ticket mockup */
.pt-mock { position: relative; max-width: 380px; margin-inline: auto; width: 100%; }
.pt-ticket { background: #fff; color: var(--pt-text); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: rotate(-2deg); }
[dir="rtl"] .pt-ticket { transform: rotate(2deg); }
.pt-ticket__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pt-ticket__top strong { font-family: var(--pt-display); font-size: 1.15rem; }
.pt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--pt-green-tint); color: var(--pt-green-dark); }
.pt-chip--amber { background: #FFF6D6; color: #8A5A00; }
.pt-ticket ul { list-style: none; margin: 0 0 16px; padding: 0; border-block: 1px dashed var(--pt-line); }
.pt-ticket li { display: flex; justify-content: space-between; padding: 9px 0; font-size: .92rem; }
.pt-ticket li span:last-child { font-weight: 700; }
.pt-ticket__row { display: flex; gap: 10px; }
.pt-ticket__btn { flex: 1; text-align: center; padding: 11px; border-radius: 12px; font-weight: 700; font-size: .92rem; background: var(--pt-ink); color: #fff; }
.pt-ticket__btn--soft { background: var(--pt-sand); color: var(--pt-text); }
.pt-float { position: absolute; padding: 10px 14px; border-radius: 14px; background: var(--pt-ink-3); color: #fff; font-size: .85rem; font-weight: 700; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.pt-float--a { inset-block-start: -18px; inset-inline-end: -14px; }
.pt-float--b { inset-block-end: 28px; inset-inline-start: -26px; }
@media (max-width: 480px) { .pt-float--a { inset-inline-end: 0; } .pt-float--b { inset-inline-start: 0; } }

/* —— Business-type strip —— */
.pt-strip { background: var(--pt-ink-2); border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.pt-strip__row { display: flex; gap: 12px; padding: 16px 20px; overflow-x: auto; scrollbar-width: none; justify-content: center; flex-wrap: wrap; }
.pt-strip__row span { white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); color: #DCE9F5; font-weight: 600; font-size: .92rem; }

/* —— Sections —— */
.pt-section { padding: 88px 0; background: var(--pt-sand); }
.pt-section--white { background: #fff; }
.pt-section--ink { background: linear-gradient(135deg, #002E52, #004B80); color: #fff; }
.pt-head { max-width: 640px; margin-bottom: 44px; }
.pt-head h2 { margin: 0 0 12px; font-family: var(--pt-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.3; color: var(--pt-ink); }
[dir="rtl"] .pt-head h2 { line-height: 1.4; }
.pt-section--ink .pt-head h2 { color: #fff; }
.pt-head p { margin: 0; color: var(--pt-muted); font-size: 1.08rem; }
.pt-section--ink .pt-head p { color: var(--pt-on-ink); }
.pt-kicker { display: block; margin-bottom: 10px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pt-blue); }
[dir="rtl"] .pt-kicker { letter-spacing: 0; }

/* Bento grid */
.pt-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pt-bento { grid-template-columns: repeat(6, 1fr); } .pt-bento .b-lg { grid-column: span 4; } .pt-bento .b-sm { grid-column: span 2; } .pt-bento .b-md { grid-column: span 3; } }
.pt-card { background: #fff; border: 1px solid var(--pt-line); border-radius: 22px; padding: 28px; }
.pt-card h3 { margin: 14px 0 8px; font-family: var(--pt-display); font-size: 1.3rem; line-height: 1.25; }
.pt-card p { margin: 0; color: var(--pt-muted); }
.pt-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--pt-blue-tint); font-size: 1.5rem; }
.pt-card--ink { background: var(--pt-ink); border-color: var(--pt-ink); color: #fff; }
.pt-card--ink p { color: var(--pt-on-ink); }
.pt-card--ink .pt-card__icon { background: var(--pt-ink-3); }
.pt-card--green { background: linear-gradient(135deg, #FFD95A, #FFC928); border-color: var(--pt-amber); color: var(--pt-ink); }
.pt-card--green p { color: #3B3000; }
.pt-card--green .pt-card__icon { background: rgba(255,255,255,.35); }
.pt-card--ink ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pt-card--ink li { color: #DCE9F5; font-weight: 600; font-size: .95rem; }
.pt-card--ink li::before { content: "→"; color: var(--pt-amber); margin-inline-end: 8px; }
[dir="rtl"] .pt-card--ink li::before { content: "←"; }

/* —— Journey (timeline) —— */
.pt-journey { position: relative; display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 900px) { .pt-journey { grid-template-columns: repeat(4, 1fr); gap: 24px; } .pt-journey::before { content: ""; position: absolute; inset-block-start: 31px; inset-inline: 8% 8%; border-top: 2px dashed rgba(255,255,255,.25); } }
.pt-step { position: relative; display: flex; gap: 16px; }
@media (min-width: 900px) { .pt-step { flex-direction: column; gap: 18px; } }
.pt-step__num { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--pt-ink); border: 2px solid var(--pt-amber); color: var(--pt-amber); font-family: var(--pt-display); font-weight: 800; font-size: 1.5rem; position: relative; z-index: 1; }
.pt-step h3 { margin: 0 0 6px; font-family: var(--pt-display); font-size: 1.2rem; }
.pt-step p { margin: 0; color: var(--pt-on-ink); font-size: .98rem; }

/* —— Estimator —— */
.pt-calc { display: grid; gap: 28px; background: #fff; border: 1px solid var(--pt-line); border-radius: 26px; padding: 32px; }
@media (min-width: 860px) { .pt-calc { grid-template-columns: 1fr 1fr; padding: 40px; gap: 48px; } }
.pt-field { margin-bottom: 22px; }
.pt-field label { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 700; }
.pt-field output { color: var(--pt-blue); font-variant-numeric: tabular-nums; }
.pt-range { width: 100%; accent-color: var(--pt-blue); }
.pt-result { background: linear-gradient(150deg, #002E52, #0A67A8); color: #fff; border-radius: 20px; padding: 28px; align-self: start; }
.pt-result small { color: #9DB8D1; font-weight: 600; }
.pt-result strong { display: block; font-family: var(--pt-display); font-size: 2.4rem; line-height: 1.1; margin: 4px 0 18px; font-variant-numeric: tabular-nums; }
.pt-result dl { margin: 0; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.pt-result dl div { display: flex; justify-content: space-between; color: #CFE0F0; }
.pt-result dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-fineprint { margin: 16px 0 0; color: var(--pt-muted); font-size: .85rem; }
.pt-result .pt-fineprint { color: #9DB8D1; }

/* —— Requirements + villages —— */
.pt-two { display: grid; gap: 28px; }
@media (min-width: 860px) { .pt-two { grid-template-columns: 1fr 1fr; } }
.pt-check { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.pt-check li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.pt-check li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pt-green-tint); color: var(--pt-green-dark); font-size: .8rem; font-weight: 800; margin-top: 2px; }
.pt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pt-pills span { padding: 7px 14px; border-radius: 999px; background: var(--pt-sand); border: 1px solid var(--pt-line); font-weight: 600; font-size: .92rem; }

/* —— FAQ —— */
.pt-faq { max-width: 780px; display: grid; gap: 10px; }
.pt-faq details { background: #fff; border: 1px solid var(--pt-line); border-radius: 16px; padding: 4px 22px; }
.pt-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pt-blue); }
.pt-faq details[open] summary::after { content: "–"; }
.pt-faq details p { margin: 0 0 18px; color: var(--pt-muted); }

/* —— Final CTA —— */
.pt-final { text-align: center; padding: 88px 0; background: linear-gradient(135deg, #002E52, #0A67A8); color: #fff; position: relative; overflow: hidden; }
.pt-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgba(255,201,40,.22), transparent 70%); }
.pt-final .pt-wrap { position: relative; }
.pt-final h2 { margin: 0 0 14px; font-family: var(--pt-display); font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 900; line-height: 1.3; }
.pt-final p { margin: 0 auto 28px; max-width: 34em; color: var(--pt-on-ink); font-size: 1.1rem; }
.pt-final .pt-hero__cta { justify-content: center; margin: 0; }

/* —— Apply wizard —— */
.pt-apply { background: var(--pt-sand); padding: 40px 0 88px; }
.pt-apply__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .pt-apply__grid { grid-template-columns: 320px 1fr; gap: 32px; } }
.pt-side { background: linear-gradient(160deg, #002E52, #004B80); color: #fff; border-radius: 24px; padding: 28px; }
@media (min-width: 960px) { .pt-side { position: sticky; inset-block-start: 96px; } }
.pt-side h1 { margin: 0 0 6px; font-family: var(--pt-display); font-size: 1.6rem; line-height: 1.2; }
.pt-side > p { margin: 0 0 22px; color: var(--pt-on-ink); font-size: .95rem; }
.pt-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pt-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #8AA6C1; font-weight: 600; font-size: .95rem; }
.pt-steps li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; font-size: .8rem; flex: none; }
.pt-steps li.is-active { background: rgba(255,255,255,.08); color: #fff; }
.pt-steps li.is-active b { background: var(--pt-amber); border-color: var(--pt-amber); color: var(--pt-ink); }
.pt-steps li.is-done { color: #9BD772; }
.pt-steps li.is-done b { background: var(--pt-green); border-color: var(--pt-green); color: var(--pt-ink); }
.pt-side__help { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: var(--pt-on-ink); }
.pt-side__help a { color: var(--pt-amber); font-weight: 700; }
.pt-progress { display: none; height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); margin: 0 0 18px; overflow: hidden; }
.pt-js .pt-progress { display: block; }
.pt-progress span { display: block; height: 100%; width: 0; background: var(--pt-amber); transition: width .3s ease; }

.pt-form { background: #fff; border: 1px solid var(--pt-line); border-radius: 24px; padding: 32px; }
@media (max-width: 560px) { .pt-form { padding: 22px 18px; } }
.pt-step-panel { margin: 0 0 36px; padding: 0; border: 0; min-width: 0; }
.pt-js .pt-step-panel { display: none; margin: 0; }
.pt-js .pt-step-panel.is-active { display: block; }
.pt-step-panel > legend { padding: 0; margin-bottom: 4px; font-family: var(--pt-display); font-weight: 800; font-size: 1.6rem; color: var(--pt-ink); }
.pt-step-panel > .pt-sub { margin: 0 0 24px; color: var(--pt-muted); }
.pt-grid2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .pt-grid2 { grid-template-columns: 1fr 1fr; } .pt-grid2 .span2 { grid-column: span 2; } }
.pt-input { display: block; }
.pt-input > span { display: block; margin-bottom: 6px; font-weight: 700; font-size: .92rem; }
.pt-input > span small { font-weight: 500; color: var(--pt-muted); }
.pt-input input:not([type=radio]):not([type=checkbox]):not([type=file]), .pt-input select, .pt-input textarea {
    width: 100%; padding: 13px 14px; border: 1.5px solid var(--pt-line); border-radius: 12px; background: #fff; color: var(--pt-text);
    font: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-input textarea { min-height: 100px; resize: vertical; }
.pt-input input:focus, .pt-input select:focus, .pt-input textarea:focus { outline: none; border-color: var(--pt-blue); box-shadow: 0 0 0 4px rgba(10,103,168,.16); }
.pt-input.has-error input, .pt-input.has-error select, .pt-input.has-error textarea { border-color: var(--pt-danger); }
.pt-err { display: block; margin-top: 6px; color: var(--pt-danger); font-size: .86rem; font-weight: 600; }
.pt-form-error { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: #fef3f2; border: 1px solid #fecdca; color: var(--pt-danger); font-weight: 600; }

/* Selectable cards (business type, daily orders) */
.pt-choices { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .pt-choices { grid-template-columns: repeat(4, 1fr); } }
.pt-choice { position: relative; }
.pt-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pt-choice span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; text-align: center; border: 1.5px solid var(--pt-line); border-radius: 16px; font-weight: 700; font-size: .9rem; transition: all .15s ease; }
.pt-choice span em { font-style: normal; font-size: 1.6rem; }
.pt-choice input:checked + span { border-color: var(--pt-blue); background: var(--pt-blue-tint); box-shadow: 0 0 0 3px rgba(10,103,168,.18); }
.pt-choice input:focus-visible + span { outline: 3px solid var(--pt-amber); outline-offset: 2px; }
.pt-choices--pills .pt-choice span { padding: 11px 6px; flex-direction: row; justify-content: center; }

.pt-geo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--pt-line); border-radius: 14px; background: var(--pt-sand); }
.pt-geo small { color: var(--pt-muted); font-weight: 600; }
.pt-drop { display: block; padding: 20px; border: 2px dashed var(--pt-line); border-radius: 16px; text-align: center; cursor: pointer; background: var(--pt-sand); transition: border-color .15s ease; }
.pt-drop:hover { border-color: var(--pt-blue); }
.pt-drop input { display: block; margin: 10px auto 0; max-width: 100%; }
.pt-drop strong { display: block; }
.pt-drop small { color: var(--pt-muted); }
.pt-terms { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; margin-top: 8px; }
.pt-terms input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--pt-blue); flex: none; }
.pt-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pt-review { margin: 0 0 22px; display: grid; gap: 0; border: 1px solid var(--pt-line); border-radius: 16px; overflow: hidden; }
.pt-review div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--pt-line); }
.pt-review div:last-child { border-bottom: 0; }
.pt-review dt { color: var(--pt-muted); font-weight: 600; }
.pt-review dd { margin: 0; font-weight: 700; text-align: end; overflow-wrap: anywhere; }

/* Wizard navigation: JS-only. Without JS every step is visible and the plain submit button is shown. */
.pt-nav { display: none; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--pt-line); }
.pt-js .pt-nav { display: flex; }
.pt-nonjs-submit { display: block; }
.pt-js .pt-nonjs-submit { display: none; }
.pt-nav [data-submit] { display: none; }
.pt-nav [data-prev] { visibility: hidden; }
.pt-js:not(.pt-first) .pt-nav [data-prev] { visibility: visible; }
.pt-js.pt-last .pt-nav [data-next] { display: none; }
.pt-js.pt-last .pt-nav [data-submit] { display: inline-flex; }

/* —— Tracking page —— */
.pt-track { background: var(--pt-sand); padding: 40px 0 88px; }
.pt-track__wrap { max-width: 820px; }
.pt-banner { margin-bottom: 20px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #002E52, #004B80); color: #fff; display: flex; gap: 14px; align-items: flex-start; }
.pt-banner b { font-size: 1.6rem; line-height: 1; }
.pt-banner p { margin: 2px 0 0; color: var(--pt-on-ink); }
.pt-panel { background: #fff; border: 1px solid var(--pt-line); border-radius: 22px; padding: 28px; margin-bottom: 18px; }
.pt-panel h2 { margin: 0 0 14px; font-family: var(--pt-display); font-size: 1.3rem; }
.pt-ref { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.pt-ref code { direction: ltr; unicode-bidi: isolate; font: 800 1.5rem var(--pt-display); letter-spacing: .08em; color: var(--pt-ink); }
.pt-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: var(--pt-green-tint); color: var(--pt-green-dark); }
.pt-pill--new, .pt-pill--in_review { background: var(--pt-blue-tint); color: var(--pt-blue-dark); }
.pt-pill--needs_info { background: #FFF6D6; color: #8A5A00; }
.pt-pill--rejected { background: #fee4e2; color: var(--pt-danger); }
.pt-timeline { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.pt-timeline li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.pt-timeline li:last-child { padding-bottom: 0; }
.pt-timeline li::before { content: ""; position: absolute; inset-block: 28px 0; inset-inline-start: 13px; border-inline-start: 2px solid var(--pt-line); }
.pt-timeline li:last-child::before { display: none; }
.pt-timeline li.is-done::before { border-color: var(--pt-green); }
.pt-timeline i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--pt-line); background: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 800; color: transparent; }
.pt-timeline li.is-done i { background: var(--pt-green); border-color: var(--pt-green); color: #fff; }
.pt-timeline li.is-current i { border-color: var(--pt-amber); background: var(--pt-amber); color: var(--pt-ink); }
.pt-timeline li.is-bad i { background: var(--pt-danger); border-color: var(--pt-danger); color: #fff; }
.pt-timeline strong { display: block; }
.pt-timeline small { color: var(--pt-muted); }
.pt-quote { margin: 0 0 16px; padding: 14px 16px; border-inline-start: 4px solid var(--pt-amber); background: var(--pt-sand); border-radius: 8px; white-space: pre-line; }
.pt-lookup { max-width: 520px; margin-inline: auto; }
.pt-lookup .pt-input { margin-bottom: 16px; }

/* The hidden attribute must win over the display rules above. */
.pt-wrap [hidden] { display: none !important; }
