/* Kitsu Coffee — client portal. A light, airy working surface: warm paper page,
   white cards with a soft shadow, a slim olive bar on top and a plain side menu. */
:root {
  --bg: #f6f3ec;
  --card: #ffffff;
  --line: #ece6d8;
  --foot: #faf8f3;
  --ink: #232a14;
  --muted: #5f6450;
  --green: #2f3a1c;
  --green-soft: #e6ecd6;
  --ok-ink: #2f5a1c;
  --terra: #b4572f;
  --terra-ink: #8a3d1a;
  --terra-bg: #fbeadf;
  --edge: #8a8466;
  --err-bg: #f8e1da; --err-ink: #8f2f17;
  --shadow: 0 1px 3px rgba(35, 42, 20, .08), 0 6px 20px rgba(35, 42, 20, .05);
  --serif: "Fraunces", "Noto Serif KR", Georgia, serif;
  --sans: "DM Sans", "Noto Sans KR", system-ui, sans-serif;
  --radius: 8px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  /* names kept for the sign-in pages */
  --side: var(--green); --accent: var(--terra); --cream: #f5ece0;
}
html[lang="ja"] { --serif: "Fraunces", "Noto Serif JP", Georgia, serif; --sans: "DM Sans", "Noto Sans JP", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 15.5px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html[lang="ko"] body { word-break: keep-all; }
html[lang="ja"] body { line-break: strict; }
[hidden] { display: none !important; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 2px; }

h1 { font: 600 clamp(28px, 3.6vw, 36px)/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
h2 { font: 700 16px/1.3 var(--sans); }
h3 { font: 600 15px/1.3 var(--sans); }
.pt-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-ink); margin-bottom: 8px; }
html:is([lang="ko"], [lang="ja"]) .pt-eyebrow { letter-spacing: .06em; }
.pt-muted { color: var(--muted); }
.pt-small { font-size: 13.5px; }
.pt-num { font-variant-numeric: tabular-nums; }
.pt-strong { font-weight: 600; }
.pt-code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; letter-spacing: .02em; overflow-wrap: anywhere; }
.pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pt-skip { position: absolute; left: -9999px; }
.pt-skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--card); padding: 10px 14px; border-radius: 4px; box-shadow: var(--shadow); }

/* ---------- Icons ---------- */
.pt-svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-ico { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); }

/* ---------- Buttons: rectangles with a 4px radius ---------- */
.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 4px; border: 1px solid var(--green);
  background: var(--green); color: #fff; cursor: pointer; text-decoration: none;
  font: 600 14.5px/1.2 var(--sans); text-align: center;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.pt-btn:active { transform: scale(.98); }
.pt-btn--ghost { background: #fff; color: var(--ink); border-color: var(--edge); }
.pt-btn--accent { background: var(--terra-ink); border-color: var(--terra-ink); color: #fff; }
.pt-btn--small { padding: 8px 14px; font-size: 14px; }
.pt-btn:disabled, .pt-btn[aria-disabled="true"] { background: #e4e1d8; border-color: #e4e1d8; color: #6a675d; cursor: not-allowed; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .pt-btn:not(:disabled):not([aria-disabled="true"]):hover { background: #3d4a26; }
  .pt-btn--ghost:not(:disabled):not([aria-disabled="true"]):hover { background: var(--foot); }
  .pt-btn--accent:not(:disabled):hover { background: #74310f; }
}
.pt-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ok-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pt-link[aria-disabled="true"] { color: var(--muted); text-decoration: none; cursor: not-allowed; font-weight: 400; }

/* ---------- Forms ---------- */
.pt-form { display: grid; gap: 18px; }
.pt-form--two { grid-template-columns: 1fr 1fr; }
.pt-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.pt-field--full { grid-column: 1 / -1; }
.pt-field label, .pt-label { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.pt-field input, .pt-field select, .pt-field textarea, .pt-input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--edge); border-radius: 4px;
}
.pt-field textarea { min-height: 96px; resize: vertical; }
.pt-field input:focus, .pt-field select:focus, .pt-field textarea:focus, .pt-input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.pt-field input:disabled, .pt-field select:disabled, .pt-field textarea:disabled, .pt-input:disabled { background: #f1eee6; color: #6a675d; border-color: var(--line); }
.pt-hint { font-size: 13px; color: var(--muted); }
.pt-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 14.5px; }
.pt-check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--green); }
.pt-check a { color: var(--terra-ink); }
.pt-captcha { min-height: 78px; max-width: 100%; overflow: hidden; }
.pt-msg { padding: 12px 14px; border-radius: 4px; font-size: 14.5px; font-weight: 500; background: var(--green-soft); color: var(--ok-ink); }
.pt-msg.is-error { background: var(--err-bg); color: var(--err-ink); }
.pt-note { padding: 12px 14px; border-radius: 4px; background: var(--foot); border: 1px solid var(--line); font-size: 14.5px; }
.pt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.pt-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.pt-divider::before, .pt-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pt-loading { color: var(--muted); padding: 40px 0; }

/* ---------- Sign-in / register ---------- */
.pt-auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(280px, 38%) 1fr; }
.pt-auth__side { background: var(--green); color: var(--cream); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.pt-auth__side h1 { font-size: clamp(28px, 3.2vw, 42px); }
.pt-auth__side p { color: rgb(245 236 224 / .82); max-width: 30em; }
.pt-auth__side :focus-visible { outline-color: #fff; }
.pt-auth__main { padding: clamp(24px, 5vw, 64px) clamp(16px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pt-auth__top { width: 100%; max-width: 520px; display: flex; justify-content: flex-end; }
.pt-auth__card { width: 100%; max-width: 520px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; }
.pt-auth__card h2 { font: 600 22px/1.2 var(--serif); }
.pt-auth__card--wide { max-width: 640px; }
.pt-brand { font-family: var(--serif); font-weight: 600; font-size: 26px; font-variant-caps: small-caps; letter-spacing: .015em; text-decoration: none; line-height: 1; }
.pt-brand span { display: block; margin-top: 8px; font: 500 12px/1 var(--sans); font-variant-caps: normal; letter-spacing: .16em; text-transform: uppercase; color: rgb(245 236 224 / .8); }
html:is([lang="ko"], [lang="ja"]) .pt-brand span { letter-spacing: .06em; }

/* ---------- Language switch ---------- */
.pt-lang { display: inline-flex; border: 1px solid var(--edge); border-radius: 4px; padding: 2px; gap: 2px; background: #fff; }
.pt-lang button { min-width: 44px; min-height: 44px; font: 500 13px/1 var(--sans); color: var(--muted); white-space: nowrap; background: none; border: 0; padding: 0 10px; border-radius: 3px; cursor: pointer; }
.pt-lang button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* ---------- Top bar (52px, olive) ---------- */
.pt-top { position: sticky; top: 0; z-index: 20; height: 52px; background: var(--green); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 clamp(12px, 2.4vw, 28px); }
.pt-top :focus-visible { outline-color: #fff; }
.pt-top__brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 600 18px/1 var(--serif); white-space: nowrap; }
.pt-top__area { font-size: 14px; color: rgb(255 255 255 / .86); padding-left: 14px; border-left: 1px solid rgb(255 255 255 / .28); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-top__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pt-top .pt-lang { background: none; border-color: rgb(255 255 255 / .3); padding: 1px; }
.pt-top .pt-lang button { color: rgb(255 255 255 / .9); }
.pt-top .pt-lang button[aria-pressed="true"] { background: #fff; color: var(--green); }
.pt-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green); font: 700 13px/1 var(--sans); text-decoration: none; letter-spacing: .02em; }
.pt-menu { display: none; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 4px; color: #fff; cursor: pointer; }

/* ---------- Shell: light side menu + main ---------- */
.pt-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); max-width: 1320px; margin: 0 auto; padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 32px) 64px; align-items: start; }
.pt-side { position: sticky; top: 76px; display: grid; gap: 20px; min-width: 0; }
.pt-me { display: grid; gap: 2px; min-width: 0; }
.pt-me .pt-avatar { width: 56px; height: 56px; font-size: 19px; margin-bottom: 10px; }
.pt-me__name { font-weight: 700; overflow-wrap: anywhere; }
.pt-me__mail { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-me__id { color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pt-nav { display: grid; gap: 4px; }
.pt-nav a, .pt-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px;
  border: 0; border-left: 3px solid transparent; border-radius: 4px; background: none; cursor: pointer;
  text-decoration: none; text-align: left; font: 500 14.5px/1.3 var(--sans); color: var(--ink);
}
.pt-nav [aria-current] { background: var(--card); box-shadow: var(--shadow); border-left-color: var(--green); font-weight: 700; }
.pt-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.pt-nav__note { padding: 8px 12px; font-size: 13px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .pt-nav a:not([aria-current]):hover, .pt-nav button:hover { background: rgb(47 58 28 / .06); } }

.pt-main { display: grid; gap: 20px; align-content: start; min-width: 0; }
#view, .pt-stack { display: grid; gap: 20px; min-width: 0; }
.pt-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.pt-head > div { display: grid; gap: 6px; min-width: 0; }
.pt-head p { max-width: 62ch; }
.pt-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ok-ink); font-weight: 600; text-decoration: none; }
.pt-quick { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pt-quick a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.pt-quick .pt-ico { background: var(--card); box-shadow: var(--shadow); }

/* ---------- Cards ---------- */
.pt-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; }
.pt-card__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.pt-card__head > div { display: grid; gap: 1px; min-width: 0; flex: 1; }
.pt-card__sub { color: var(--muted); font-size: 13.5px; }
.pt-card__body { display: grid; gap: 16px; padding: 20px; min-width: 0; align-content: start; flex: 1; }
.pt-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 6px 20px; background: var(--foot); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); font-size: 14px; }
.pt-card--plain { padding: 20px; display: grid; gap: 14px; }
.pt-card--plain h2 { font: 600 20px/1.2 var(--serif); }
.pt-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-span { grid-column: 1 / -1; }

.pt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 4px; font-size: 12.5px; font-weight: 700; background: #efece3; color: var(--ink); white-space: nowrap; }
.pt-chip--ok { background: var(--green-soft); color: var(--ok-ink); }
.pt-chip--warn { background: var(--terra-bg); color: var(--terra-ink); }
.pt-chip--bad { background: var(--err-bg); color: var(--err-ink); }
.pt-state { font-weight: 700; }
.pt-state--ok { color: var(--ok-ink); }
.pt-state--warn { color: var(--terra-ink); }
.pt-state--bad { color: var(--err-ink); }

.pt-kv { display: grid; }
.pt-kv > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pt-kv > div:first-child { padding-top: 0; }
.pt-kv > div:last-child { border-bottom: 0; padding-bottom: 0; }
.pt-kv dt { color: var(--muted); font-size: 14px; }
.pt-kv dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }

.pt-rows { display: grid; }
.pt-rows > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pt-rows > li:first-child { padding-top: 0; }
.pt-rows > li:last-child { border-bottom: 0; padding-bottom: 0; }
.pt-rows__main { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.pt-rows__main > * { overflow-wrap: anywhere; }
.pt-rows__side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pt-empty { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; }
.pt-empty .pt-ico { background: var(--foot); color: var(--muted); }

/* ---------- Green-coffee sack illustration ---------- */
.pt-sack { width: 132px; height: auto; flex: none; }
.pt-sack--thumb { width: 72px; }

/* ---------- Order in progress ---------- */
.pt-order { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.pt-order__info { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.pt-order__no { font: 600 24px/1.2 var(--serif); }
.pt-order__new { display: grid; justify-items: center; gap: 6px; max-width: 170px; text-align: center; text-decoration: none; padding: 8px; border-radius: 8px; }
.pt-order__new .pt-ico { width: 52px; height: 52px; background: var(--green); color: #fff; }
.pt-order__new .pt-svg { width: 24px; height: 24px; }
.pt-order__new strong { font-size: 14.5px; }
.pt-order__new span:last-child { font-size: 13px; color: var(--muted); }

.pt-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 4px; }
.pt-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; font-size: 13.5px; color: var(--muted); padding: 0 4px; }
.pt-steps li::after { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.pt-steps li:first-child::after { display: none; }
.pt-steps li.is-done::after, .pt-steps li.is-current::after { background: var(--green); }
.pt-step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #efece3; color: var(--muted); font-weight: 700; font-size: 14px; }
.pt-steps li.is-done { color: var(--ink); }
.pt-steps li.is-done .pt-step__dot { background: var(--green); color: #fff; }
.pt-steps li.is-current { color: var(--ink); font-weight: 700; }
.pt-steps li.is-current .pt-step__dot { background: var(--terra); color: #fff; box-shadow: 0 0 0 5px var(--terra-bg); }
.pt-step__date { font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* ---------- My orders ---------- */
.pt-ocard, #detail-card, #panel, #proforma, #thread-card, #pm-form-card { scroll-margin-top: 68px; }
.pt-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.pt-filters .pt-field { flex: 0 1 220px; }
.pt-ocard__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pt-ocard__top strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.pt-ocard__body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; }
.pt-ocard__info { display: grid; gap: 4px; min-width: 0; }
.pt-ocard__name { font: 600 19px/1.25 var(--serif); }
.pt-ocard__actions { display: grid; gap: 8px; min-width: 190px; }
.pt-ocard__foot { justify-content: space-between; }
.pt-ocard__details { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.pt-lines { display: grid; }
.pt-lines > li { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pt-lines > li:last-child { border-bottom: 0; }
.pt-lines .pt-num { white-space: nowrap; }

/* ---------- Request a quote ---------- */
.pt-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 372px); gap: 20px; align-items: start; }
.pt-coffees { display: grid; gap: 12px; }
.pt-coffee { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px 14px 13px; border-left: 3px solid transparent; }
.pt-coffee.is-picked { border-left-color: var(--green); }
.pt-coffee img { width: 96px; height: 96px; border-radius: 6px; object-fit: cover; background: var(--line); }
.pt-coffee__info { display: grid; gap: 3px; min-width: 0; }
.pt-coffee__name { font: 600 20px/1.2 var(--serif); }
.pt-coffee__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.pt-coffee__qty { display: grid; gap: 4px; justify-items: end; }
.pt-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--edge); border-radius: 4px; background: #fff; }
.pt-stepper button { display: grid; place-items: center; width: 44px; min-height: 44px; background: none; border: 0; cursor: pointer; color: var(--green); }
.pt-stepper button:disabled { color: #a9a698; cursor: not-allowed; }
.pt-stepper input { width: 64px; min-height: 44px; border: 0; border-inline: 1px solid var(--line); border-radius: 0; text-align: center; font: 600 16px/1 var(--sans); font-variant-numeric: tabular-nums; background: #fff; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.pt-stepper input::-webkit-outer-spin-button, .pt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pt-stepper input:disabled { background: #f1eee6; color: #6a675d; }
.pt-cart { position: sticky; top: 76px; }
.pt-progress { height: 10px; border-radius: 999px; background: #ebe7dc; overflow: hidden; }
.pt-progress span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--terra); transition: width .3s var(--ease-out), background-color .3s ease; }
.pt-progress.is-full span { background: var(--green); }
.pt-progress__text { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 13.5px; }
.pt-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; font-weight: 600; }
.pt-total strong { font: 600 30px/1.1 var(--serif); font-variant-numeric: tabular-nums; }

/* ---------- Admin: counters that are buttons ---------- */
.pt-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 16px; }
.pt-counter { display: grid; gap: 4px; justify-items: start; align-content: start; min-height: 132px; padding: 18px 18px 14px; background: var(--card); border: 0; border-bottom: 4px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; cursor: pointer; color: var(--ink); }
.pt-counter[aria-pressed="true"] { border-bottom-color: var(--green); }
.pt-counter strong { font: 600 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.pt-counter.is-hot strong { color: var(--terra); }
.pt-counter__title { font-weight: 600; }
.pt-counter__go { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ok-ink); }
@media (hover: hover) and (pointer: fine) { .pt-counter:hover { background: var(--foot); } }

.pt-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.pt-toolbar .pt-field { flex: 0 1 230px; }
.pt-sub { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--foot); min-width: 0; }

/* ---------- Messages ---------- */
.pt-pre { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.pt-pre a { color: var(--ok-ink); font-weight: 600; }
.pt-dot { flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: var(--terra); }
.pt-thread { display: grid; gap: 12px; max-height: 62vh; overflow-y: auto; padding: 2px 4px 2px 2px; }
.pt-bubble { justify-self: start; max-width: min(100%, 620px); display: grid; gap: 6px; padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: var(--foot); border: 1px solid var(--line); min-width: 0; }
.pt-bubble--mine { justify-self: end; border-radius: 14px 4px 14px 14px; background: var(--green-soft); border-color: #d5dec0; }
.pt-bubble__meta { font-size: 12.5px; color: var(--muted); }
.pt-bubble a.pt-chip { min-height: 44px; }
.pt-bubble__meta .pt-strong { color: var(--ink); }
.pt-compose { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.pt-compose__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.pt-about { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.pt-inbox { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.pt-threads { display: grid; gap: 6px; }
.pt-threads button { display: grid; gap: 2px; width: 100%; min-height: 44px; padding: 10px 12px; text-align: left; background: none; border: 0; border-left: 3px solid transparent; border-radius: 4px; cursor: pointer; }
.pt-threads button[aria-current="true"] { background: var(--foot); border-left-color: var(--green); }
.pt-threads button > span { overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .pt-threads button:hover { background: var(--foot); } }

/* ---------- Payments ---------- */
.pt-pay { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--foot); min-width: 0; }
.pt-pay__text { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.pt-warn { padding: 12px 14px; border-radius: 4px; background: var(--terra-bg); color: var(--terra-ink); font-size: 14.5px; font-weight: 500; }
.pt-field input[type="file"] { padding: 8px; }

/* ---------- Admin: answer a quote ---------- */
.pt-qt { display: grid; }
.pt-qt__row { display: grid; grid-template-columns: minmax(0, 1.5fr) 80px 110px 130px 110px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pt-qt__row--head { padding-top: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pt-qt__row > .pt-num { text-align: right; }
.pt-qt__name { font-weight: 600; }
.pt-money { position: relative; display: block; }
.pt-money::before { content: "$"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.pt-money input { width: 100%; min-height: 44px; padding: 8px 10px 8px 22px; text-align: right; font: 500 16px/1.2 var(--sans); font-variant-numeric: tabular-nums; border: 1px solid var(--edge); border-radius: 4px; background: #fff; }
.pt-money input:disabled { background: #f1eee6; color: #6a675d; border-color: var(--line); }
.pt-money input[aria-invalid="true"] { border-color: var(--err-ink); background: var(--err-bg); }
.pt-extra { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto 44px; gap: 10px; align-items: center; padding: 8px 0; }
.pt-extra .pt-check { align-items: center; min-height: 44px; font-size: 14px; white-space: nowrap; }
.pt-extra .pt-check input { margin: 0; }
.pt-iconbtn { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid transparent; border-radius: 4px; cursor: pointer; color: var(--muted); }
.pt-iconbtn:disabled { cursor: not-allowed; opacity: .5; }
@media (hover: hover) and (pointer: fine) { .pt-iconbtn:not(:disabled):hover { border-color: var(--edge); color: var(--ink); } }
.pt-summary { display: grid; gap: 8px; padding: 16px; background: var(--foot); border-radius: 6px; }
.pt-summary .pt-total:last-of-type { padding-top: 10px; border-top: 1px solid var(--line); }
.pt-private { background: transparent; box-shadow: none; border: 1.5px dashed var(--edge); }
.pt-private .pt-card__head { border-bottom-style: dashed; }
.pt-private .pt-ico { background: #efece3; color: var(--muted); }
.pt-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }

/* Printable proforma preview */
.pt-proforma { background: #fff; color: #111; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 4vw, 40px); display: grid; gap: 18px; }
.pt-proforma__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; }
.pt-proforma__top img { width: 84px; height: auto; }
.pt-proforma h2 { font: 600 24px/1.2 var(--serif); }
.pt-proforma table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt-proforma th, .pt-proforma td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #ddd; vertical-align: top; overflow-wrap: anywhere; }
.pt-proforma th { font-size: 12.5px; }
.pt-proforma .pt-num { text-align: right; white-space: nowrap; }
.pt-proforma tfoot td { font-weight: 700; border-bottom: 0; }
.pt-watermark { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); }
@media print {
  body { background: #fff; }
  .pt-top, .pt-side, .pt-skip, body.is-proforma #view > :not(#proforma), .pt-noprint { display: none !important; }
  .pt-shell { display: block; padding: 0; max-width: none; }
  .pt-proforma { box-shadow: none; padding: 0; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1120px) {
  .pt-quote { grid-template-columns: minmax(0, 1fr); }
  .pt-cart { position: static; }
}
@media (max-width: 900px) {
  .pt-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pt-menu { display: grid; }
  .pt-top .pt-avatar { display: none; }
  .pt-side { position: static; display: none; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
  .pt-side.is-open { display: grid; }
  .pt-nav [aria-current] { background: var(--foot); box-shadow: none; }
  .pt-auth { grid-template-columns: minmax(0, 1fr); }
  .pt-auth__side { padding: 24px 16px; gap: 12px; }
  .pt-auth__side p { display: none; }
  .pt-auth__side h1 { font-size: 22px; }
  .pt-order { grid-template-columns: auto minmax(0, 1fr); }
  .pt-inbox { grid-template-columns: minmax(0, 1fr); }
  .pt-order__new { grid-column: 1 / -1; max-width: none; grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 12px; padding: 12px; background: var(--foot); }
  .pt-order__new .pt-ico { grid-row: span 2; width: 44px; height: 44px; }
  .pt-qt__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; }
  .pt-qt__row--head { display: none; }
  .pt-qt__name { grid-column: 1 / -1; }
  .pt-qt__row > [data-label]::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); text-align: left; }
  .pt-qt__row > .pt-num { text-align: left; }
}
@media (max-width: 680px) {
  .pt-grid { grid-template-columns: minmax(0, 1fr); }
  .pt-form--two { grid-template-columns: minmax(0, 1fr); }
  .pt-top { gap: 8px; }
  .pt-top__area { display: none; }
  .pt-ocard__body { grid-template-columns: auto minmax(0, 1fr); }
  .pt-ocard__actions { grid-column: 1 / -1; min-width: 0; }
  .pt-coffee { grid-template-columns: 72px minmax(0, 1fr); }
  .pt-coffee img { width: 72px; height: 72px; }
  .pt-coffee__qty { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; justify-items: start; align-items: center; }
  .pt-kv dd { text-align: left; flex-basis: 100%; }
  .pt-btn--block-sm { width: 100%; }
  .pt-extra { grid-template-columns: minmax(90px, 1fr) auto 44px; }
  .pt-extra .pt-check { white-space: normal; }
  .pt-extra > :first-child { grid-column: 1 / -1; }
  .pt-actions .pt-btn { width: 100%; }
}
@media (max-width: 520px) {
  .pt-top__brand span { display: none; }
  .pt-top .pt-lang button { padding: 0 7px; }
  .pt-card__head, .pt-card__body, .pt-ocard__top, .pt-ocard__body, .pt-ocard__details { padding-inline: 16px; }
  .pt-card__foot { padding-inline: 16px; }
  .pt-order { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pt-sack { width: 108px; }
  .pt-sack--thumb { width: 60px; }
  .pt-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pt-steps li { grid-template-columns: 40px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; column-gap: 12px; row-gap: 0; font-size: 15px; padding: 0; }
  .pt-steps li::after { top: -14px; right: auto; left: 19px; width: 2px; height: 14px; }
  .pt-step__dot { grid-row: span 2; }
  .pt-steps li:not(:has(.pt-step__date)) .pt-step__dot { grid-row: auto; }
  .pt-counters { gap: 12px; }
  .pt-counter { min-height: 120px; padding: 14px 14px 12px; }
  .pt-counter strong { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- applying for an account (schema-v5): steps, consent boxes, legal texts, profile form ---- */
.pt-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; counter-reset: none; }
.pt-journey li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13.5px; color: var(--muted); }
.pt-journey li::after { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.pt-journey li:first-child::after { display: none; }
.pt-journey li.is-done::after, .pt-journey li.is-current::after { background: var(--green); }
.pt-journey__n { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 15px/1 var(--sans); background: #fff; border: 2px solid var(--line); color: var(--muted); }
.pt-journey li.is-done .pt-journey__n { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.pt-journey li.is-current { color: var(--ink); font-weight: 600; }
.pt-journey li.is-current .pt-journey__n { background: var(--green); border-color: var(--green); color: #fff; }

/* one white card per consent, 24 px apart */
.pt-consent { border: 0; margin: 0; padding: 0; display: grid; gap: 24px; min-width: 0; }
.pt-consent__all, .pt-consent__item { display: grid; gap: 12px; min-width: 0; padding: 24px; background: var(--card); border: 1px solid var(--auth-line); border-radius: var(--radius); box-shadow: var(--auth-shadow); }
.pt-consent__all { gap: 4px; }
.pt-consent__all .pt-check { min-height: 0; }
.pt-consent__all .pt-hint { margin: 0 0 0 34px; }
.pt-consent__title { font: 600 18px/1.3 var(--sans); }
.pt-consent__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pt-consent__row .pt-check { min-height: 0; }
.pt-consent__row .pt-link { flex: none; white-space: nowrap; min-height: 24px; }
.pt-consent .pt-check { font-size: 16px; line-height: 1.45; }
.pt-consent .pt-check input { width: 24px; height: 24px; margin: 0; }
.pt-consent__box { max-height: 220px; overflow: auto; padding: 14px 16px; border: 1px solid var(--auth-line); border-radius: 6px; background: var(--foot); font-size: 14px; line-height: 1.6; color: var(--ink); overscroll-behavior: contain; }
.pt-consent__box p { margin: 0 0 8px; }
.pt-consent__summary { margin-left: 34px; font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 62ch; }
.pt-consent__box .pt-table-wrap { margin: 0 0 6px; }
.pt-draft { margin: 0; padding: 8px 12px; border-radius: 4px; background: var(--terra-bg); color: var(--terra-ink); font-size: 13px; font-weight: 600; }

.pt-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); background: var(--card); }
.pt-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pt-dialog::backdrop { background: rgb(35 42 20 / .45); }
.pt-dialog__head { padding: 18px 20px 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.pt-dialog__head h2 { margin: 0; font: 600 20px/1.25 var(--serif); }
.pt-dialog__body { overflow: auto; padding: 16px 20px; font-size: 14.5px; line-height: 1.6; }
.pt-dialog__body p { margin: 0 0 10px; }
.pt-dialog__foot { padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.pt-table--legal { width: 100%; border-collapse: collapse; font-size: 13px; }
.pt-table--legal th, .pt-table--legal td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.pt-table--legal th { background: var(--foot); }
.pt-table-wrap { overflow-x: auto; }

.pt-field__error { margin: 4px 0 0; color: var(--err-ink); font-size: 13.5px; font-weight: 600; }
.pt-field [aria-invalid="true"] { border-color: var(--err-ink); }
.pt-phone { display: grid; grid-template-columns: minmax(0, 22ch) minmax(0, 1fr); gap: 8px; }
.pt-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pt-fieldset legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.pt-radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; }
.pt-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.pt-field input[readonly] { background: var(--foot); color: var(--muted); }

.pt-review { display: grid; gap: 12px; }
.pt-review .pt-journey { margin-bottom: 8px; }
.pt-journey h1:focus, [tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.pt-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.pt-subcard { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pt-subcard h3, .pt-subcard summary { font: 600 16px/1.3 var(--sans); }
.pt-subcard summary { cursor: pointer; min-height: 32px; }
@media (max-width: 520px) {
  .pt-consent__row { flex-direction: column; gap: 2px; }
  .pt-consent__row .pt-link { margin-left: 34px; }
  .pt-consent__all, .pt-consent__item { padding: 16px; }
  .pt-consent__box { max-height: 200px; }
  .pt-consent__summary { margin-left: 0; }
  .pt-phone { grid-template-columns: 1fr; }
  .pt-journey li { font-size: 12.5px; }
}

/* ---- admin: applications (schema-v5) ---- */
.pt-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--terra); color: #fff; font: 700 12px/1 var(--sans); }
.pt-appstats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pt-appstats__line { margin: 0; font: 600 16px/1.3 var(--sans); font-variant-numeric: tabular-nums; }
.pt-appstats.is-warn { border-left: 4px solid var(--terra); }
.pt-appstats.is-full { border-left: 4px solid var(--err-ink); }
.pt-appstats .pt-chip { white-space: normal; }
.pt-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.pt-app { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; background: #fff; min-width: 0; }
.pt-app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pt-app__head > div { display: grid; gap: 2px; min-width: 0; }
.pt-warns { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-warnline { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 4px; font-size: 14px; }
.pt-warnline .pt-svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.pt-warnline--warn { background: var(--terra-bg); color: var(--terra-ink); }
.pt-warnline--bad { background: var(--err-bg); color: var(--err-ink); font-weight: 600; }
.pt-decide { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pt-decide textarea { min-height: 64px; }
.pt-confirm { display: grid; gap: 8px; padding: 10px 12px; border-radius: 4px; background: var(--foot); border: 1px solid var(--edge); }
.pt-history summary { cursor: pointer; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pt-history[open] summary { margin-bottom: 6px; }
.pt-app .pt-kv dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-content: flex-end; }
@media (max-width: 520px) { .pt-app { padding: 12px; } .pt-app__head { flex-direction: column; } }

/* ---- entry pages (login, register, join, callback): a very light grey page, a header with
   room around it, white cards with a fine border and a soft shadow, and one type scale:
   page title 28 px (24 on a phone), card titles 18, text 16, help 14 ---- */
.pt-auth {
  --auth-bg: #f3f3f1; --auth-line: #e2e0d9;
  --auth-shadow: 0 1px 2px rgba(35, 42, 20, .05), 0 4px 16px rgba(35, 42, 20, .05);
  display: block; background: var(--auth-bg); min-height: 100vh; min-height: 100dvh; font-size: 16px;
}
.pt-auth__side { background: none; color: var(--ink); padding: 48px 16px 8px; display: grid; justify-content: center; justify-items: center; text-align: center; gap: 16px; }
.pt-auth__side > div { max-width: 34em; }
.pt-auth .pt-auth__side h1 { font: 600 22px/1.3 var(--serif); }
.pt-auth__side p { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; }
.pt-auth__side :focus-visible { outline-color: var(--terra); }
.pt-brand { display: grid; justify-items: center; gap: 10px; color: var(--ink); }
.pt-brand span { margin-top: 0; color: var(--muted); }
.pt-brand__logo { width: 72px; height: 72px; border-radius: 50%; object-fit: contain; }   /* the file is 192 × 186: never stretched */
.pt-auth__main { padding: 16px 16px 64px; gap: 24px; }
.pt-auth__top { max-width: 480px; justify-content: center; }
.pt-auth__card { max-width: 480px; background: var(--card); border: 1px solid var(--auth-line); border-radius: var(--radius); box-shadow: var(--auth-shadow); padding: 32px; gap: 24px; }
.pt-auth h1 { font: 600 28px/1.2 var(--serif); }
.pt-auth h2, .pt-auth__card h2 { font: 600 18px/1.3 var(--sans); }
.pt-auth .pt-hint, .pt-auth .pt-small, .pt-auth .pt-divider, .pt-auth .pt-field__error { font-size: 14px; }
.pt-auth .pt-field label, .pt-auth .pt-fieldset legend { font-size: 15px; font-weight: 600; color: var(--ink); }
.pt-auth .pt-check, .pt-auth .pt-radio, .pt-auth .pt-note, .pt-auth .pt-msg, .pt-auth .pt-btn { font-size: 16px; }
.pt-auth .pt-draft { font-size: 14px; padding: 12px 16px; }
/* join and register: a wider column, the steps on top, one card per part */
.pt-flow { width: 100%; max-width: 880px; display: grid; gap: 24px; }
.pt-flow .pt-journey { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); max-width: 420px; justify-self: center; width: 100%; padding: 4px 0; }
.pt-flow .pt-journey li { font-size: 15px; }
.pt-step { display: grid; gap: 24px; min-width: 0; }
.pt-step__head { display: grid; gap: 8px; }
.pt-step__head p { color: var(--muted); }
.pt-panel { background: var(--card); border: 1px solid var(--auth-line); border-radius: var(--radius); box-shadow: var(--auth-shadow); padding: 32px; min-width: 0; }
.pt-panel.pt-form { gap: 24px 20px; }
/* the buttons of a step stay at the bottom of the screen while the step is on it */
.pt-actionbar { position: sticky; bottom: 0; z-index: 5; display: grid; gap: 8px; padding: 16px 24px; background: var(--card); border: 1px solid var(--auth-line); border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -4px 16px rgba(35, 42, 20, .08); }
@media (max-width: 680px) {
  .pt-auth__side { padding-top: 32px; }
  .pt-auth h1 { font-size: 24px; }
  .pt-auth .pt-auth__side h1 { font-size: 20px; }
  .pt-auth__card, .pt-panel { padding: 20px 16px; }
  .pt-actionbar { padding: 12px 16px; margin-inline: -16px; border-radius: 0; border-inline: 0; }
  .pt-actionbar .pt-btn { flex: 1 1 0; padding-inline: 10px; }
}
/* how long to keep the account data: one choice per line */
.pt-keep__options { display: grid; gap: 2px; }
/* the optional fields of an application, folded */
.pt-more { border: 1px solid var(--auth-line, var(--line)); border-radius: 6px; background: var(--foot); }
.pt-more summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; cursor: pointer; font-weight: 600; list-style: none; }
.pt-more summary::-webkit-details-marker { display: none; }
.pt-more summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s var(--ease-out); }
.pt-more[open] summary::before { transform: rotate(45deg); }
.pt-more__body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; padding: 8px 16px 20px; background: var(--card); border-top: 1px solid var(--auth-line, var(--line)); border-radius: 0 0 6px 6px; }
@media (max-width: 680px) { .pt-more__body { grid-template-columns: minmax(0, 1fr); } }
/* links to the Privacy Policy, Terms of use and account deletion pages */
.pt-legal-links { margin: 8px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.pt-legal-links a, .pt-nav__legal a { color: var(--ok-ink); text-underline-offset: 3px; }
.pt-legal-links__privacy { font-weight: 700; }
.pt-nav__legal { margin: 8px 0 0; padding: 0 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pt-legal-list { margin: 0 0 10px; padding-left: 1.2em; }
.pt-legal-list li { margin: 0 0 6px; }
.pt-dialog__body h3 { margin: 18px 0 8px; font: 600 16px/1.3 var(--sans); }
.pt-btn--block { width: 100%; justify-content: center; }
.pt-center { text-align: center; }
/* the official provider buttons, as they come: only their size on the page is set (height 46 px, width from the image) */
.pt-providers { display: grid; gap: 14px; }
.pt-providers__list { display: grid; justify-items: center; gap: 10px; }
.pt-provider { display: inline-block; padding: 0; margin: 0; border: 0; background: none; line-height: 0; cursor: pointer; border-radius: 4px; }
.pt-provider img { display: block; height: 46px; width: auto; max-width: 100%; }
.pt-provider--kakao, .pt-provider--kakao img { border-radius: 12px; }   /* Kakao: 12 px corners (the file has 8 px) */
.pt-provider:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.pt-provider:disabled { cursor: not-allowed; opacity: .55; }
