/* List a Domain — the seller's six-step listing flow.

   Two greens carry the whole flow. Every horizontal offset is a logical
   property so the same sheet mirrors for English. The page uses
   overflow-x: clip, which hides overflow rather than scrolling it, so every
   fixed width below was measured at 375px. */

.ld {
	/* Ink and lime come from the palette; the rest are the flow's own quiet
	   surfaces, declared once here and never repeated below. */
	--ld-ink:        var(--color-brand-forest, #163300);
	--ld-ink-hover:  #1E4A05;
	--ld-lime:       var(--color-brand-green, #9FE870);
	--ld-lime-hover: #8FDD5C;
	--ld-text-2:     #4A5A3C;
	--ld-hairline:   #E1E2DD;
	--ld-card:       #E4E7DE;
	--ld-field:      #D7DCD2;
	--ld-quiet:      #F4F6F1;
	--ld-success:    #FBFDF4;
	--ld-caution:    #FDF9EF;
	--ld-caution-ln: #E0C48A;
	--ld-caution-ink:#6B4E0F;
	--ld-error:      #A33A3A;
	--ld-inactive:   #E9EAE4;

	display: block;
	background: #FFFFFF;
	color: var(--ld-ink);
	overflow-x: clip;
	padding-block: 28px 96px;
}

.ld-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .ld-wrap { padding: 0 40px; } }

.ld *, .ld *::before, .ld *::after { box-sizing: border-box; }
.ld [hidden] { display: none !important; }
/* Zero-specificity reset (:where) so bare buttons inherit the ink colour, yet a
   styled .ld-btn variant's own colour always wins — otherwise .ld button would
   out-rank .ld-btn--primary and paint its label ink-on-ink (invisible). */
:where(.ld) button { font: inherit; color: inherit; }

/* ------------------------------------------------------------- back link */

.ld-back {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px; margin-block-end: 22px;
	color: var(--ld-ink); font-size: 15px; font-weight: 600; text-decoration: none;
}
.ld-back:hover { color: var(--ld-ink-hover); text-decoration: underline; }
.ld-back__arrow { width: 18px; height: 18px; }
[dir="rtl"] .ld-back__arrow { transform: scaleX(-1); }

/* -------------------------------------------------------------- tracker */

.ld-progress { padding-block-end: 22px; border-block-end: 1px solid var(--ld-hairline); margin-block-end: 26px; }
.ld-phead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-block-end: 12px; }
.ld-ptitle { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ld-ink); }
.ld-pcount { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ld-text-2); white-space: nowrap; }

.ld-psegs { display: flex; gap: 6px; align-items: flex-start; margin: 0; padding: 0; list-style: none; }
.ld-pseg-item { flex: 1; min-width: 0; }
.ld-pseg {
	display: block; width: 100%; padding: 0; border: 0; background: none;
	text-align: start; cursor: pointer;
}
.ld-pseg:disabled { cursor: default; }
.ld-segbar { display: block; height: 6px; border-radius: 999px; background: var(--ld-inactive); transition: background 140ms ease; }
.ld-seglab { display: none; margin-block-start: 10px; font-size: 12.5px; line-height: 1.3; color: var(--ld-text-2); font-weight: 400; }
.ld-pseg.is-done .ld-segbar { background: var(--ld-lime); }
.ld-pseg.is-done:hover .ld-segbar { background: var(--ld-lime-hover); }
.ld-pseg.is-done .ld-seglab { color: var(--ld-ink); font-weight: 500; }
.ld-pseg.is-current .ld-segbar { background: var(--ld-ink); }
.ld-pseg.is-current .ld-seglab { color: var(--ld-ink); font-weight: 700; }
.ld-pseg:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 4px; border-radius: 4px; }
.ld-pnext { margin: 12px 0 0; font-size: 13.5px; color: var(--ld-text-2); }

@media (min-width: 900px) {
	.ld-seglab { display: block; }
	.ld-pnext { display: none; }
}

/* ---------------------------------------------------------------- resume */

.ld-resume {
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
	margin: 0 0 26px; padding: 16px 20px; border-radius: 16px;
	background: var(--ld-quiet); font-size: 15px; color: var(--ld-text-2);
}

/* ------------------------------------------------------------------ type */

.ld-h { margin: 0 0 10px; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: var(--ld-ink); }
.ld-h3 { margin: 30px 0 6px; font-size: 18px; font-weight: 700; color: var(--ld-ink); }
.ld-lede { margin: 0 0 26px; font-size: 16px; line-height: 1.6; color: var(--ld-text-2); }
.ld-lede--tight { margin-block-end: 14px; }
.ld-label { display: block; margin-block-end: 8px; font-size: 14.5px; font-weight: 600; color: var(--ld-text-2); }
.ld-hint { margin: 8px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ld-text-2); }
.ld-note {
	margin: 0 0 14px; padding: 13px 16px; border-radius: 12px;
	background: var(--ld-quiet); font-size: 14px; line-height: 1.6; color: var(--ld-text-2);
}
.ld-note--nudge { margin-block-start: 14px; }
.ld-err {
	display: flex; align-items: flex-start; gap: 7px; margin: 8px 0 0;
	font-size: 13.5px; line-height: 1.5; color: var(--ld-error);
}
.ld-err::before { content: "!"; flex: 0 0 auto; display: grid; place-items: center; width: 16px; height: 16px; margin-block-start: 2px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 700; }

/* ---------------------------------------------------------------- fields */

.ld-fieldset { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.ld-fieldset--inner { margin-block: 14px 0; }
.ld-field {
	display: block; width: 100%; height: 56px; padding: 0 18px;
	border: 1.5px solid var(--ld-field); border-radius: 14px; background: #FFFFFF;
	font: inherit; font-size: 17px; color: var(--ld-ink); outline: none;
	transition: border-color 120ms ease;
}
.ld-field--story { height: auto; min-height: 148px; padding-block: 14px; line-height: 1.6; resize: vertical; }
.ld-field::placeholder { color: color-mix(in srgb, var(--ld-text-2) 55%, #FFFFFF); }
.ld-field:focus { border: 2px solid var(--ld-ink); padding-inline: 17.5px; }
.ld-field[aria-invalid="true"] { border-color: var(--ld-error); }
.ld-field--year { max-width: 220px; }

.ld-rows { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .ld-rows.is-two { grid-template-columns: 1fr 1fr; gap: 10px 16px; } }
.ld-rows > .ld-fieldset { margin-block-end: 0; }
.ld-rows.is-two:not(.ld-picks) { margin-block-end: 24px; }
.ld-country-summary { display:grid; gap:12px; align-items:end; padding:14px; border:1px solid var(--ld-card); border-radius:14px 14px 0 0; background:#F1F2EF; }
.ld-country-summary .ld-fieldset { margin:0; }
.ld-country-time { padding:10px 12px; border:1px solid var(--ld-card); border-radius:10px; background:#fff; color:var(--ld-ink); }
.ld-country-time span,.ld-country-time p { display:block; margin:0; font-size:13px; color:var(--ld-text-2); }
.ld-country-time strong { display:block; margin-block:5px 4px; font-size:15px; }
details.ld-contact-details { margin:0; border:1px solid var(--ld-card); border-radius:14px; background:#F1F2EF; }
details.ld-contact-details > summary { display:grid; gap:3px; padding:16px; cursor:pointer; list-style:none; }
details.ld-contact-details > summary::-webkit-details-marker { display:none; }
details.ld-contact-details > summary::after { content:'⌄'; grid-column:1; grid-row:1 / span 2; align-self:center; color:var(--ld-ink); font-size:20px; line-height:1; transition:transform 140ms ease; }
details.ld-contact-details[open] > summary::after { transform:rotate(180deg); }
details.ld-contact-details > summary span { color:var(--ld-ink); font-size:16px; font-weight:700; }
details.ld-contact-details > summary small { max-inline-size:56ch; color:var(--ld-text-2); font-size:13px; line-height:1.5; }
.ld-contact-details__content { display:flex; flex-direction:column; gap:16px; padding:16px; border-block-start:1px solid var(--ld-card); }
.ld-contact-details__content > .ld-contact-details { order:1; margin:0; padding:0; border:0; border-radius:0; background:transparent; }
.ld-contact-details__content > .ld-contact-details > .ld-label { display:block; margin-block-end:8px; font-size:14px; color:var(--ld-ink); }
.ld-contact-details__content > .ld-contact-details .ld-fieldset { margin:18px 0 0; }
.ld-contact-details__content > .ld-contact-details .ld-fieldset > .ld-label { margin-block-end:10px; }
.ld-contact-details__content > .ld-contact-details .ld-field--story { min-height:112px; }
.ld-contact-details__content > .ld-country-summary { order:2; padding:0; border:0; border-radius:0; background:transparent; }
.ld-contact-input { display:flex; align-items:center; inline-size:min(100%,260px); block-size:44px; overflow:hidden; border:1.5px solid var(--ld-field); border-radius:14px; background:#FFFFFF; transition:border-color 120ms ease,box-shadow 120ms ease; }
.ld-contact-input:focus-within { border:2px solid var(--ld-ink); box-shadow:0 0 0 3px color-mix(in srgb,var(--ld-ink) 10%,transparent); }
.ld-contact-input bdi { flex:0 0 auto; padding-inline:14px 10px; border-inline-end:1px solid var(--ld-card); color:var(--ld-text-2); font-size:14px; font-weight:700; white-space:nowrap; }
.ld-contact-choice { display:flex; gap:10px; align-items:center; }
.ld-contact-icons { display:flex; gap:6px; }
.ld-contact-icons button { display:grid; place-items:center; width:40px; height:40px; border:1px solid color-mix(in srgb, var(--ld-ink) 18%, #fff); border-radius:10px; background:#fff; color:var(--ld-ink); cursor:pointer; transition:background 140ms ease,color 140ms ease,border-color 140ms ease; }
.ld-contact-icons button svg { width:20px; height:20px; }
.ld-contact-icons button[aria-pressed="true"] { background:var(--ld-ink); border-color:var(--ld-ink); color:var(--ld-lime); box-shadow:0 0 0 2px color-mix(in srgb, var(--ld-lime) 55%, #fff); }
.ld-contact-choice .ld-contact-input { flex:1; min-width:0; }
.ld-contact-input .ld-field { flex:1; min-inline-size:0; inline-size:auto; max-width:none; height:100%; padding:0 12px; border:0; border-radius:0; background:transparent; }
.ld-contact-input .ld-field:focus { padding:0 12px; border:0; }
@media (max-width:719px) {
	.ld-contact-choice { flex-wrap:wrap; }
	.ld-contact-choice .ld-contact-input { flex-basis:100%; }
}
@media (min-width:720px) { .ld-country-summary { grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr); } }

/* ----------------------------------------------------------------- chips */

.ld-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ld-chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
	border: 1px solid var(--ld-card); border-radius: 999px; background: #FFFFFF;
	font-size: 15px; font-weight: 600; color: var(--ld-ink); cursor: pointer;
	transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}
.ld-chip:hover { border-color: var(--ld-ink); }
.ld-chip[aria-pressed="true"] { background: var(--ld-ink); border-color: var(--ld-ink); color: var(--ld-lime); }
.ld-chip:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; }
.ld-chips [hidden], .ld-registrar-auto[hidden], .ld-guide[hidden], .ld-guide [hidden] { display: none !important; }
/* The listing's domains — compact rows, one per domain, primary first. */
.ld-domains { margin: 0 0 24px; padding: 12px 16px 10px; border: 1px solid var(--ld-card); border-radius: 16px; }
.ld-domains [hidden], .ld-add-cancel[hidden], .ld-registry__listed[hidden], [data-ld-registrar-fieldset][hidden] { display: none !important; }
.ld-domains__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ld-domains__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--ld-ink); }
.ld-domains__count { flex: 0 0 auto; font-size: 13px; color: var(--ld-text-2); }
.ld-domains__list { margin: 8px 0 0; padding: 0; list-style: none; }
/* Domains as tags, side by side: the primary carries a star, each tag its own state. */
.ld-dtags { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.ld-dtag { display: inline-flex; align-items: stretch; max-width: 100%; border: 1px solid var(--ld-card); border-radius: 999px; background: #FFFFFF; }
.ld-dtag.is-active { border-color: var(--ld-ink); background: var(--ld-quiet); }
.ld-dtag__pick { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; max-width: 100%; padding-inline: 14px; border: 0; border-radius: 999px; background: none; color: var(--ld-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ld-dtag__pick[disabled] { cursor: default; }
.ld-dtag:has(.ld-dtag__x) .ld-dtag__pick { padding-inline-end: 4px; }
.ld-dtag__pick:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 2px; }
.ld-dtag__star { flex: 0 0 auto; font-size: 13px; line-height: 1; color: var(--ld-ink); }
.ld-dtag__star[hidden] { display: none; }
.ld-dtag__name { min-width: 0; overflow-wrap: anywhere; }
.ld-dtag__mark { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ld-caution-ln); color: var(--ld-caution-ink); font-size: 11px; font-weight: 700; line-height: 1; }
.ld-dtag.is-verified .ld-dtag__mark { border-color: var(--ld-lime); background: var(--ld-lime); color: var(--ld-ink); }
.ld-dtag__x { display: grid; place-items: center; width: 34px; min-height: 44px; padding: 0; border: 0; border-start-end-radius: 999px; border-end-end-radius: 999px; background: none; color: var(--ld-text-2); font: inherit; font-size: 17px; line-height: 1; cursor: pointer; }
.ld-dtag__x:hover { color: var(--ld-error); }
.ld-dtag__x:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: -2px; }
.ld-domains__add { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-block-start: 4px; padding: 0; border: 0; background: none; color: var(--ld-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ld-domains__add:hover { text-decoration: underline; }
.ld-domains__add:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; border-radius: 4px; }
.ld-add-cancel { margin: -14px 0 18px; font-size: 14px; }
.ld-registry__listed { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ld-caution); color: var(--ld-caution-ink); font-size: 13.5px; line-height: 1.55; }

.ld-registrar-auto { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 10px 0 0; font-size: 13.5px; color: var(--ld-text-2); }

/* Add-the-record guide: one ordered list per DNS host, one shown. */
.ld-guide { margin-block-start: 18px; padding: 20px 22px 16px; border: 1px solid var(--ld-card); border-radius: 18px; }
.ld-guide__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block-end: 14px; border-block-end: 1px solid var(--ld-hairline); }
.ld-guide__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ld-ink); }
.ld-guide__count { flex: 0 0 auto; font-size: 13.5px; color: var(--ld-text-2); }
.ld-guide__note { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ld-caution); color: var(--ld-caution-ink); font-size: 13.5px; line-height: 1.6; }
.ld-guide__steps { margin: 0; padding: 0; list-style: none; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.ld-guide__steps li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-block-end: 1px solid var(--ld-hairline); font-size: 15px; line-height: 1.6; color: var(--ld-ink); }
.ld-guide__steps li > span:last-child { min-width: 0; padding-block-start: 2px; overflow-wrap: anywhere; }
.ld-guide__n { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--ld-lime) 24%, #fff); color: var(--ld-ink); font-size: 13.5px; font-weight: 700; }
.ld-guide__code { padding: 1px 6px; border-radius: 6px; background: var(--ld-quiet); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.ld-guide__note--split { background: var(--ld-quiet); color: var(--ld-ink); }
.ld-guide__steptitle { display: block; margin-block-end: 2px; font-weight: 600; }
.ld-guide__callout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 8px; padding: 8px 10px; border-radius: 10px; background: var(--ld-quiet); }
.ld-guide__field { flex: 0 0 auto; font-size: 12.5px; color: var(--ld-text-2); }
.ld-guide__callout .ld-guide__code { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; background: transparent; padding: 0; }
.ld-copy--inline { flex: 0 0 auto; }
.ld-guide__stepnote { display: block; margin-block-start: 6px; font-size: 13px; line-height: 1.6; color: var(--ld-text-2); }
.ld-guide__link { display: block; margin-block-start: 6px; font-size: 13px; overflow-wrap: anywhere; }
.ld-dns__row--ttl .ld-dns__ttl { font-size: 14px; color: var(--ld-text-2); }
.ld-guide__foot { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--ld-text-2); }

/* ------------------------------------------------------------ choice rows */

.ld-picks { display: grid; gap: 10px; }
.ld-pick {
	display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 18px;
	border: 1px solid var(--ld-card); border-radius: 14px; background: #FFFFFF;
	text-align: start; cursor: pointer; transition: border-color 120ms ease, background 120ms ease;
}
.ld-pick:hover { border-color: var(--ld-ink); }
.ld-pick[aria-pressed="true"] { background: var(--ld-success); border-color: var(--ld-ink); }
.ld-pick:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; }
.ld-pick__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ld-pick__title { font-size: 15.5px; font-weight: 600; color: var(--ld-ink); }
.ld-pick__note { font-size: 13px; color: var(--ld-text-2); }

.ld-radio {
	flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
	border: 1.5px solid var(--ld-field); background: #FFFFFF; position: relative;
}
[aria-pressed="true"] > .ld-radio { border-color: var(--ld-ink); }
[aria-pressed="true"] > .ld-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ld-ink); }

.ld-check {
	flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
	border: 1.5px solid var(--ld-field); background: #FFFFFF; color: var(--ld-lime);
}
.ld-check svg { width: 14px; height: 14px; opacity: 0; }
[aria-pressed="true"] > .ld-check { background: var(--ld-ink); border-color: var(--ld-ink); }
[aria-pressed="true"] > .ld-check svg { opacity: 1; }

/* ------------------------------------------------------------ TXT record */

.ld-dns { border: 1px solid var(--ld-card); border-radius: 16px; overflow: hidden; background: #FFFFFF; }
.ld-dns__row {
	display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px;
	min-height: 68px; padding: 12px 16px; border-block-start: 1px solid var(--ld-hairline);
}
.ld-dns__row:first-child { border-block-start: 0; }
.ld-dns__row--type { grid-template-columns: 72px minmax(0, 1fr); }
.ld-dns__key { font-size: 13.5px; font-weight: 500; color: var(--ld-text-2); }
.ld-dns__type {
	justify-self: start; display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
	border-radius: 999px; background: var(--ld-quiet); font-size: 14px; font-weight: 700; color: var(--ld-ink);
}
.ld-dns__value {
	display: block; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--ld-quiet);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.45;
	color: var(--ld-ink); text-align: start; overflow-wrap: anywhere; white-space: normal;
}
.ld-dns__value--long { font-size: 13px; }
.ld-copy {
	flex: 0 0 auto; min-height: 38px; padding: 0 16px;
	border: 1px solid var(--ld-card); border-radius: 999px; background: #FFFFFF;
	font-size: 13.5px; font-weight: 600; color: var(--ld-ink); cursor: pointer; transition: border-color 120ms ease, background 120ms ease;
}
.ld-copy:hover { border-color: var(--ld-ink); background: var(--ld-quiet); }
.ld-copy:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; }
.ld-copy.is-copied { background: var(--ld-ink); border-color: var(--ld-ink); color: var(--ld-lime); }
@media (max-width: 560px) {
	.ld-dns__row, .ld-dns__row--type { grid-template-columns: 1fr auto; gap: 8px 10px; padding: 13px 14px; }
	.ld-dns__key { grid-column: 1 / -1; }
	.ld-dns__type { grid-column: 1 / -1; }
	.ld-dns__value { grid-column: 1; }
	.ld-copy { grid-column: 2; }
}

/* --------------------------------------------------------- verification */

.ld-verify { margin-block-start: 22px; }
.ld-verify__idle { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ld-spin {
	display: inline-block; width: 16px; height: 16px; margin-inline-end: 10px; vertical-align: -3px;
	border: 2px solid color-mix(in srgb, var(--ld-lime) 35%, transparent); border-inline-start-color: var(--ld-lime);
	border-radius: 50%; animation: ld-spin 800ms linear infinite;
}
@keyframes ld-spin { to { transform: rotate(360deg); } }

.ld-panel { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--ld-card); }
.ld-panel--stack { flex-direction: column; gap: 4px; margin-block-end: 24px; }
.ld-panel--caution { flex-direction: column; gap: 6px; background: var(--ld-caution); border-color: var(--ld-caution-ln); color: var(--ld-caution-ink); }
.ld-panel--success { background: var(--ld-success); border-color: var(--ld-lime); }
.ld-panel__title { margin: 0; font-size: 16px; font-weight: 700; color: inherit; }
.ld-panel--success .ld-panel__title { color: var(--ld-ink); }
.ld-panel__text { margin: 0; font-size: 14px; line-height: 1.6; color: inherit; }
.ld-panel--success .ld-panel__text { color: var(--ld-text-2); }
.ld-panel--caution .ld-btn { margin-block-start: 8px; align-self: flex-start; }

.ld-disc { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ld-lime); color: var(--ld-ink); }
.ld-disc svg { width: 18px; height: 18px; }
.ld-disc--big { width: 62px; height: 62px; margin: 0 0 22px; }
.ld-disc--big svg { width: 30px; height: 30px; }

/* ----------------------------------------------------------------- price */

.ld-money {
	display: flex; align-items: center; gap: 12px; max-width: 420px;
}
.ld-money__cur { font-size: 31px; font-weight: 650; color: var(--ld-text-2); }
.ld-price-digits { display: grid; flex: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.ld-price-digit {
	width: 100%; height: 62px; padding: 0; border: 1.5px solid var(--ld-field); border-radius: 14px; background: #FFFFFF;
	outline: none; color: var(--ld-ink); font: inherit; font-size: 28px; font-weight: 700; line-height: 1; text-align: center;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ld-price-digit:hover { border-color: color-mix(in srgb, var(--ld-ink) 32%, var(--ld-field)); }
.ld-price-digit:focus { border: 2px solid var(--ld-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ld-lime) 38%, transparent); }
.ld-price-words { min-height: 24px; margin: 11px 0 0; color: var(--ld-text-2); font-size: 14px; line-height: 1.7; }
.ld-price-words[hidden] { display: none; }

.ld-price-entry { display: flex; align-items: end; gap: 28px; }
.ld-price-control { flex: 0 1 420px; min-width: min(100%, 280px); }
.ld-price-currency { max-width: 25ch; margin: 0 0 11px; color: var(--ld-text-2); font-size: 14px; line-height: 1.6; }

.ld-breakdown { max-width: none; margin-block-start: 32px; padding: 27px 30px 24px; border: 1px solid var(--ld-card); border-radius: 20px; background: #FFFFFF; }
.ld-breakdown__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 13px; }
.ld-breakdown__title { font-size: 16px; font-weight: 700; color: var(--ld-ink); }
.ld-tier { padding: 5px 12px; border-radius: 999px; background: var(--ld-ink); color: var(--ld-lime); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ld-breakdown .ld-hint { margin-block-start: 12px; }

.ld-kv {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
	padding: 11px 0; border-block-start: 1px solid color-mix(in srgb, var(--ld-hairline) 82%, transparent); font-size: 15px;
}
.ld-breakdown .ld-kv:first-of-type { border-block-start: 0; }
.ld-kv > :first-child { flex: 0 1 46%; min-width: 0; color: var(--ld-text-2); }
.ld-kv > :last-child { flex: 1; min-width: 0; text-align: end; font-weight: 600; color: var(--ld-ink); white-space: normal; overflow-wrap: anywhere; }
.ld-kv__atomic { white-space: nowrap !important; }
.ld-kv__minus { color: var(--ld-error) !important; }
.ld-kv__strong { font-size: 17px; font-weight: 700 !important; }
.ld-kv--net { border-block-start: 2px solid var(--ld-ink); margin: 12px 0 0; padding: 17px 0 14px; border-radius: 0; background: transparent; box-shadow: inset 0 -4px var(--ld-lime); }
.ld-kv--net > :first-child { color: var(--ld-ink); font-weight: 600; }
.ld-kv--net > :last-child { font-size: 30px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.ld-breakdown .ld-hint { margin: 14px 2px 0; font-size: 13.5px; }
.ld-step[data-ld-step="4"] .ld-note { max-width: none; margin-block-start: 14px; border: 1px solid var(--ld-card); background: #FFFFFF; }

/* ----------------------------------------------------------- agreement */

.ld-declarations { margin-block-start:32px; padding-block-start:4px; }
.ld-declarations > .ld-label { display:block; margin-block-end:12px; }
.ld-declare { display:grid; gap:10px; }
.ld-declare__row {
	display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 13px 16px;
	border: 1px solid var(--ld-card); border-radius:12px; background:#FFFFFF;
	text-align: start; font-size: 15px; line-height: 1.5; color: var(--ld-ink); cursor: pointer;
	transition:border-color 140ms ease,background 140ms ease,box-shadow 140ms ease;
}
.ld-declare__row:hover { border-color:color-mix(in srgb,var(--ld-ink) 32%,var(--ld-card)); }
.ld-declare__row[aria-pressed="true"] { border-color:color-mix(in srgb,var(--ld-ink) 30%,var(--ld-lime)); background:var(--ld-quiet); box-shadow:0 1px 0 color-mix(in srgb,var(--ld-ink) 8%,transparent); font-weight:650; }
.ld-declare__row[aria-pressed="true"] > .ld-check { background:var(--ld-lime); border-color:var(--ld-lime); color:var(--ld-ink); box-shadow:0 0 0 3px color-mix(in srgb,var(--ld-lime) 36%,transparent); }
.ld-declare__row[aria-pressed="true"] > .ld-check svg { opacity:1; }
.ld-declare__row:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 2px; }
.ld-declare__row--final { margin-block-start:22px; font-weight:600; }

/* ---------------------------------------------------------------- review */

.ld-review__group { padding-block: 6px 12px; border-block-start: 1px solid var(--ld-hairline); }
.ld-review__group:first-child { border-block-start: 0; padding-block-start: 0; }
.ld-review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block: 14px 4px; }
.ld-review__head h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ld-ink); }
.ld-review .ld-kv { border-block-start: 0; padding-block: 8px; }

/* ------------------------------------------------------------------ nav */

.ld-nav {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-block-start: 34px; padding-block-start: 26px; border-block-start: 1px solid var(--ld-hairline);
}
.ld-nav__main { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ld-nav__aside { display: flex; align-items: center; gap: 12px; }
.ld-nav__reason { font-size: 14px; color: var(--ld-text-2); }
.ld-nav__saved { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ld-ink); }
.ld-nav__saved svg { width: 16px; height: 16px; color: var(--ld-ink); }

.ld-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
	border-radius: 999px; border: 1px solid transparent; font-size: 17px; font-weight: 700;
	text-decoration: none; cursor: pointer; transition: background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}
.ld-btn--primary { background: var(--ld-ink); color: var(--ld-lime); }
.ld-btn--primary:hover { background: var(--ld-ink-hover); color: var(--ld-lime); }
.ld-btn--primary:disabled { background: var(--ld-inactive); color: var(--ld-text-2); cursor: not-allowed; }
.ld-btn--ghost { background: #FFFFFF; border-color: var(--ld-card); color: var(--ld-ink); }
.ld-btn--ghost:hover { border-color: var(--ld-ink); color: var(--ld-ink); }
.ld-btn--small { min-height: 44px; padding-inline: 20px; font-size: 15px; }
.ld-btn:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; }

.ld-quiet {
	display: inline; padding: 0; border: 0; background: none;
	font-size: 15px; font-weight: 600; color: var(--ld-ink); text-decoration: underline; text-underline-offset: 4px;
	text-decoration-color: color-mix(in srgb, var(--ld-ink) 40%, transparent); cursor: pointer; min-height: 44px;
}
.ld-quiet:hover { text-decoration-color: var(--ld-ink); color: var(--ld-ink-hover); }
.ld-quiet:disabled { color: var(--ld-text-2); cursor: not-allowed; text-decoration-color: transparent; }
.ld-quiet:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- drafts */

.ld-drafts { margin-block-start: 30px; }
.ld-drafts__title { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: var(--ld-text-2); }
.ld-drafts__list { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--ld-hairline); }
.ld-draft { display: flex; align-items: center; gap: 10px; border-block-end: 1px solid var(--ld-hairline); }
.ld-draft__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px 0; text-decoration: none; color: inherit; }
.ld-draft__main:hover .ld-draft__domain { text-decoration: underline; }
.ld-draft__domain { font-size: 16px; font-weight: 700; color: var(--ld-ink); text-align: start; overflow-wrap: anywhere; }
.ld-draft__meta { font-size: 13.5px; color: var(--ld-text-2); }
.ld-draft__delete {
	flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: 50%; background: none; color: var(--ld-text-2); cursor: pointer;
}
.ld-draft__delete svg { width: 18px; height: 18px; }
.ld-draft__delete:hover { background: #FBF2F1; color: var(--ld-error); }
.ld-draft__delete:focus-visible { outline: 2px solid var(--ld-ink); }

/* -------------------------------------------------------------- success */

.ld-success { text-align: start; padding-block-start: 10px; }
.ld-success__domain { margin: 0 0 22px; font-size: 26px; font-weight: 700; color: var(--ld-ink); }
.ld-success__steps { margin: 0 0 30px; padding-inline-start: 22px; font-size: 16px; line-height: 1.7; color: var(--ld-text-2); }
.ld-success__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ld-pop { animation: ld-pop 360ms cubic-bezier(.2,.9,.3,1.3); }
@keyframes ld-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------ responsive */

@media (max-width: 719px) {
	.ld { padding-block-start: 18px; }
	.ld-h { font-size: 26px; }
	.ld-price-entry { display: grid; align-items: start; gap: 10px; }
	.ld-price-control { min-width: 0; }
	.ld-price-currency { max-width: 32ch; margin-block: 0; }
	.ld-money { max-width: 100%; }
	.ld-price-digit { height: 54px; border-radius: 12px; font-size: 24px; }
	.ld-nav__main { width: 100%; }
	.ld-nav__main .ld-btn { flex: 1; min-width: 140px; padding-inline: 18px; }
	.ld-nav__reason { flex-basis: 100%; }
	.ld-verify__idle { gap: 14px; }
	.ld-verify__idle .ld-btn { width: 100%; }
	.ld-kv--net > :last-child { font-size: 26px; }
	.ld-success__actions .ld-btn { flex: 1; min-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
	.ld *, .ld *::before, .ld *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- redesign
   The listing task has one calm spine: the form stays readable while a small
   progress rail keeps the seller oriented.  These rules intentionally live
   after the base component rules so the same controls retain their complete
   focus, disabled and error states. */

.ld {
	padding-block: 18px 56px;
}

.ld-wrap {
	max-width: 1040px;
	padding-inline: 20px;
}

.ld-back {
	margin-block-end: 12px;
	font-size: 14px;
	color: var(--ld-text-2);
}

.ld-progress {
	border: 1px solid var(--ld-card);
	border-radius: 20px;
	padding: 20px 18px 16px;
	margin: 0;
	background: #fff;
}

.ld-phead {
	display: block;
	margin: 0 0 16px;
}

.ld-ptitle {
	font-size: 17px;
	line-height: 1.35;
}

.ld-pcount {
	margin-block-start: 16px;
	padding-block-start: 14px;
	border-block-start: 1px solid var(--ld-hairline);
	font-size: 13px;
	font-weight: 400;
}

.ld-psegs {
	display: grid;
	gap: 0;
	position: relative;
}

.ld-pseg-item { min-height: 40px; }

.ld-pseg {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 40px;
	position: relative;
	text-align: start;
}

.ld-segbar {
	grid-column: 1;
	grid-row: 1;
	width: 2px;
	height: 100%;
	margin-inline: auto;
	border-radius: 0;
	background: var(--ld-inactive);
}

.ld-pseg-item:first-child .ld-segbar { height: 50%; align-self: end; }
.ld-pseg-item:last-child .ld-segbar { height: 50%; align-self: start; }
.ld-pseg.is-done .ld-segbar { background: var(--ld-lime); }
.ld-pseg.is-current .ld-segbar { background: var(--ld-lime); }

.ld-pseg::after {
	content: "";
	grid-column: 1;
	grid-row: 1;
	place-self: center;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--ld-field);
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
}

.ld-pseg.is-done::after {
	content: "✓";
	display: grid;
	place-items: center;
	border-color: var(--ld-lime);
	background: var(--ld-lime);
	color: var(--ld-ink);
	font-size: 12px;
	font-weight: 800;
}

.ld-pseg.is-current::after {
	border: 4px solid var(--ld-ink);
	background: var(--ld-ink);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ld-lime) 58%, #fff);
}

.ld-seglab {
	display: block;
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--ld-ink);
}

.ld-pseg.is-current .ld-seglab { font-weight: 700; }
.ld-pseg:disabled .ld-seglab { color: var(--ld-text-2); }
.ld-pnext { display: none !important; }

/* Step numbers live in the circles; a completed step keeps its tick. */
.ld-pseg::after {
	content: attr(data-ld-seg);
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	color: var(--ld-text-2);
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
}
.ld-pseg.is-current::after { border: 2px solid var(--ld-ink); color: var(--ld-lime); }
.ld-seglab { display: grid; gap: 1px; }
.ld-segsub { display: none; font-size: 12px; font-weight: 400; line-height: 1.35; color: var(--ld-text-2); }
.ld-pseg.is-current .ld-segsub,
.ld-segsub.is-fact { display: block; }
.ld-pseg-item { min-height: 44px; }
.ld-psub { display: none; }

.ld-resume,
.ld-strength {
	border: 1px solid var(--ld-card);
	border-radius: 16px;
	background: var(--ld-quiet);
}

.ld-resume {
	display: block;
	margin: 10px 0 0;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.55;
}

.ld-resume .ld-quiet {
	display: inline-block;
	min-height: 0;
	margin-block-start: 4px;
	font-size: 13px;
}

.ld-strength {
	margin-block-start: 10px;
	padding: 14px 16px;
	background: #fff;
}

.ld-strength__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.ld-strength__head bdi { font-size: 16px; font-weight: 750; }
.ld-strength__track { height: 6px; margin-block: 10px 8px; border-radius: 999px; background: var(--ld-inactive); overflow: hidden; }
.ld-strength__track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ld-ink); transition: width 180ms ease-out; }
.ld-strength p { margin: 0; font-size: 12.5px; color: var(--ld-text-2); }

.ld-form {
	min-width: 0;
}

.ld-h {
	margin-block-end: 6px;
	font-size: 31px;
	letter-spacing: -.025em;
}

.ld-lede { margin-block-end: 22px; font-size: 15px; line-height: 1.65; }
.ld-h3 { margin-block-start: 26px; font-size: 17px; }
.ld-fieldset { margin-block-end: 20px; }
.ld-label { margin-block-end: 7px; font-size: 13px; }
.ld-hint { font-size: 12.5px; }
.ld-field { height: 52px; border-radius: 13px; font-size: 16px; }
.ld-field--story { height: auto; min-height: 148px; }
.ld-field:focus { padding-inline: 17px; }
.ld-chip { min-height: 42px; padding-inline: 16px; font-size: 14px; }
.ld-pick { min-height: 54px; padding: 10px 16px; border-radius: 13px; }
.ld-pick__title { font-size: 15px; }
.ld-pick__note { font-size: 12.5px; }
.ld-note { padding: 12px 14px; border-radius: 13px; font-size: 13px; }
.ld-panel { padding: 15px 16px; border-radius: 14px; }
.ld-dns { border-radius: 14px; }
.ld-dns__row { padding: 12px 14px; }
.ld-dns__val { font-size: 15px; }
.ld-dns__code { padding: 12px 14px; font-size: 13px; }
.ld-money { height: 60px; max-width: 306px; }
.ld-money__input { font-size: 27px; }
.ld-breakdown { margin-block-start: 18px; padding: 16px 18px; border-radius: 15px; }
.ld-kv { padding-block: 8px; font-size: 14px; }
.ld-kv--net > :last-child { font-size: 27px; }
.ld-nav { margin-block-start: 30px; padding-block-start: 22px; }
.ld-btn { min-height: 50px; padding-inline: 24px; font-size: 16px; }
.ld-btn--small { min-height: 42px; font-size: 14px; }

.ld-registry { margin: -5px 0 22px; }
.ld-registry [hidden] { display: none !important; }
.ld-registry__loading { margin: 0; color: var(--ld-text-2); font-size: 13px; }
.ld-registry__result { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--ld-card); border-radius: 14px; background: var(--ld-quiet); }
.ld-registry__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ld-registry__head > div { display: grid; gap: 3px; min-width: 0; }
.ld-registry__head strong { font-size: 14px; }
.ld-registry__head span { color: var(--ld-text-2); font-size: 12.5px; overflow-wrap: anywhere; }
.ld-registry__result--empty { background: var(--ld-caution); border-color: var(--ld-caution-ln); }
.ld-registry__result--empty strong { color: var(--ld-caution-ink); }
.ld-registry__more { padding-block-start: 10px; border-block-start: 1px solid var(--ld-card); }
.ld-registry__more summary { width: fit-content; color: var(--ld-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.ld-registry__more summary:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; border-radius: 4px; }
.ld-registry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 12px 0 10px; }
.ld-registry__grid > div { display: grid; gap: 2px; min-width: 0; }
.ld-registry__grid dt { color: var(--ld-text-2); font-size: 12px; }
.ld-registry__grid dd { margin: 0; color: var(--ld-ink); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.ld-registry__more .ld-hint { margin: 0; }

.ld-agerow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ld-agerow .ld-fieldset { min-width: 0; }
.ld-readonly { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--ld-card); border-radius: 13px; background: #f7f9f3; color: var(--ld-ink); font-size: 16px; font-weight: 700; }
.ld-readonly span { color: var(--ld-text-2); font-size: 13px; font-weight: 500; }
.ld-after-approval { display: flex; align-items: flex-start; gap: 14px; margin: 4px 0 24px; padding: 17px 18px; border: 1px solid var(--ld-card); border-radius: 16px; background: var(--ld-quiet); color: var(--ld-ink); }
.ld-after-approval__icon { display: grid; flex: 0 0 auto; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--ld-lime) 28%, #fff); }
.ld-after-approval__icon svg { width: 18px; height: 18px; }
.ld-after-approval h3 { margin: 1px 0 5px; font-size: 15px; }
.ld-after-approval p { margin: 0; color: var(--ld-text-2); font-size: 13.5px; line-height: 1.65; }
.ld-after-approval strong { display: block; margin-block-start: 9px; font-size: 13.5px; }

@media (min-width: 900px) {
	.ld-wrap {
		display: grid;
		grid-template-columns: 254px minmax(0, 1fr);
		grid-template-areas:
			"back back"
			"side form"
			"resume form"
			"strength form";
		gap: 0 36px;
		align-items: start;
	}
	.ld-back { grid-area: back; }
	.ld-progress { grid-area: side; position: sticky; top: 96px; }
	.ld-resume { grid-area: resume; }
	.ld-strength { grid-area: strength; }
	.ld-form, .ld-success { grid-area: form; }
	.ld-h { font-size: 32px; }
}

@media (max-width: 899px) {
	.ld-wrap { max-width: 760px; }
	.ld-progress { margin-block-end: 14px; padding: 12px 14px; border-radius: 16px; }
	.ld-phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
	.ld-ptitle { font-size: 15px; }
	.ld-pcount { margin: 0; padding: 0; border: 0; font-size: 12px; white-space: nowrap; }
	.ld-psegs { display: flex; align-items: center; gap: 0; }
	.ld-pseg-item { flex: 1; min-width: 0; height: 26px; }
	.ld-pseg { display: grid; grid-template-columns: 1fr; min-height: 26px; }
	.ld-segbar { width: 100%; height: 2px !important; margin: auto 0; }
	.ld-pseg-item:first-child .ld-segbar { width: 50%; margin-inline-start: auto; }
	.ld-pseg-item:last-child .ld-segbar { width: 50%; }
	.ld-pseg::after { width: 16px; height: 16px; }
	.ld-pseg.is-current::after { border-width: 3px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ld-lime) 58%, #fff); }
	.ld-seglab { display: none; }
	.ld-pseg:not(.is-done)::after { content: ""; }
	.ld-psub { display: block; margin: -2px 0 8px; font-size: 12px; line-height: 1.4; color: var(--ld-text-2); }
	.ld-resume { margin: 0 0 10px; }
	.ld-strength { margin: 0 0 18px; }
}

@media (max-width: 619px) {
	.ld { padding-block: 12px 32px; }
	.ld-wrap { padding-inline: 16px; }
	.ld-h { font-size: 25px; }
	.ld-lede { font-size: 14px; }
	.ld-registry__head { align-items: stretch; flex-direction: column; }
	.ld-registry__head .ld-btn { width: 100%; }
	.ld-registry__grid { grid-template-columns: 1fr; }
	.ld-guide { padding: 16px 16px 12px; border-radius: 16px; }
	.ld-guide__title { font-size: 15.5px; }
	.ld-guide__steps { max-height: none; }
	.ld-guide__steps li { gap: 12px; padding: 12px 0; font-size: 14px; }
	.ld-guide__n { width: 26px; height: 26px; font-size: 12.5px; }
	.ld-agerow { grid-template-columns: 1fr; gap: 0; }
	.ld-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.ld-nav__main { display: contents; }
	.ld-nav__main .ld-btn { min-width: 0; width: 100%; }
	.ld-nav__reason { grid-column: 1 / -1; }
	.ld-nav__aside { grid-column: 1 / -1; justify-content: center; }
}

/* ------------------------------------------------------ readiness (step 6) */

.ld-ready [hidden] { display: none !important; }
.ld-ready__status { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--ld-card); border-radius: 16px; background: var(--ld-quiet); }
.ld-ready__status.is-ready { background: var(--ld-success); border-color: var(--ld-lime); }
.ld-ready__status.is-attention { background: var(--ld-caution); border-color: var(--ld-caution-ln); }
.ld-ready__badge { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ld-inactive); color: var(--ld-ink); font-size: 14px; font-weight: 800; }
.ld-ready__status.is-ready .ld-ready__badge { background: var(--ld-lime); }
.ld-ready__status.is-attention .ld-ready__badge { background: var(--ld-caution-ink); color: #fff; }
.ld-ready__statustext { flex: 1; min-width: 0; }
.ld-ready__title { margin: 4px 0 2px; font-size: 17px; font-weight: 700; color: var(--ld-ink); }
.ld-ready__status.is-attention .ld-ready__title { color: var(--ld-caution-ink); }
.ld-ready__text { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ld-text-2); }
.ld-ready__blockers { display: grid; gap: 2px; margin: 10px 0 0; padding: 0; list-style: none; }
.ld-ready__blocker { display: inline-flex; align-items: baseline; gap: 8px; min-height: 34px; padding: 0; border: 0; background: none; color: var(--ld-caution-ink); font: inherit; font-size: 14.5px; font-weight: 700; text-align: start; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; overflow-wrap: anywhere; }
.ld-ready__blocker::before { content: "•"; display: inline-block; text-decoration: none; }
.ld-ready__blocker:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; border-radius: 4px; }
.ld-ready__body { margin-block-start: 8px; }
.ld-ready__group { padding-block: 2px 10px; border-block-start: 1px solid var(--ld-hairline); }
.ld-ready__group:first-child { border-block-start: 0; }
.ld-ready__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block: 14px 6px; }
.ld-ready__head h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--ld-ink); }
.ld-ready__group.is-attention .ld-ready__head h3 { color: var(--ld-caution-ink); }
.ld-ready__meta { font-size: 13px; color: var(--ld-text-2); }
.ld-ready__list { margin: 0; padding: 0; list-style: none; }
.ld-ready__row { display: flex; align-items: baseline; gap: 10px; padding-block: 6px; font-size: 14px; }
.ld-ready__mark { flex: 0 0 auto; align-self: center; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ld-lime); color: var(--ld-ink); font-size: 10.5px; font-weight: 800; }
.ld-ready__row.is-attention .ld-ready__mark { border: 1px solid var(--ld-caution-ln); background: var(--ld-caution); color: var(--ld-caution-ink); }
.ld-ready__name { flex: 0 1 auto; min-width: 0; font-weight: 600; color: var(--ld-ink); overflow-wrap: anywhere; }
.ld-ready__value { flex: 1 1 auto; min-width: 0; margin-inline-start: auto; text-align: end; color: var(--ld-text-2); overflow-wrap: anywhere; }
.ld-ready__row.is-attention .ld-ready__value { color: var(--ld-caution-ink); }
.ld-ready__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ld-ready__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--ld-card); border-radius: 999px; font-size: 13.5px; color: var(--ld-ink); }
.ld-ready__chip.is-complete { border-color: color-mix(in srgb, var(--ld-lime) 55%, var(--ld-card)); background: var(--ld-success); font-weight: 600; }
.ld-ready__chip.is-optional { color: var(--ld-text-2); }
.ld-ready__chipmark { font-weight: 800; }
.ld-ready__missing { margin: 4px 0 0; font-size: 14px; color: var(--ld-caution-ink); }
.ld-review--compact { margin-block-start: 22px; }
.ld-review--compact .ld-ready__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.ld-review--compact .ld-ready__group { min-width: 0; }
@media (max-width: 720px) { .ld-review--compact .ld-ready__body { display: block; } }
.ld-success__lede { margin: -12px 0 18px; font-size: 15.5px; line-height: 1.7; color: var(--ld-text-2); }
.ld-success__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; padding: 14px 16px; border: 1px solid var(--ld-card); border-radius: 14px; }
.ld-success__facts div { display: grid; gap: 3px; min-width: 0; }
.ld-success__facts dt { font-size: 12.5px; color: var(--ld-text-2); }
.ld-success__facts dd { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ld-ink); overflow-wrap: anywhere; }
.ld-success__pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--ld-inactive); font-size: 13px; }

@media (max-width: 619px) {
	.ld-ready__status { padding: 14px; gap: 12px; }
	.ld-ready__row { flex-wrap: wrap; }
	.ld-ready__value { flex-basis: 100%; margin-inline-start: 28px; text-align: start; }
	.ld-success__facts { grid-template-columns: 1fr; }
}


/* Searchable country picker: opens in document flow, so the rest of step 5
   moves down instead of being covered by an overlay. */
.ld-country { position: relative; }
.ld-country__trigger {
	display: flex; width: 100%; align-items: center; justify-content: space-between;
	gap: 12px; text-align: start; cursor: pointer; background: #fff; color: var(--ld-ink);
}
.ld-country__trigger:hover { border-color: var(--ld-ink); }
.ld-country__menu {
	margin-block-start: 8px; padding: 10px; border: 1px solid var(--ld-card);
	border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(22,51,0,.09);
}
.ld-country__menu[hidden] { display: none !important; }
.ld-country__search {
	display: flex; align-items: center; gap: 9px; min-height: 46px; padding-inline: 13px;
	border: 1px solid var(--ld-field); border-radius: 11px; background: #fff;
}
.ld-country__search:focus-within { border-color: var(--ld-ink); box-shadow: 0 0 0 1px var(--ld-ink); }
.ld-country__search input {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
	color: var(--ld-ink); font: inherit; font-size: 14px; text-align: start;
}
.ld-country__options {
	max-height: 300px; margin-block-start: 8px; overflow-y: auto; overscroll-behavior: contain;
}
.ld-country__option {
	display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between;
	gap: 12px; padding: 8px 11px; border: 0; border-block-end: 1px solid var(--ld-hairline);
	background: transparent; color: var(--ld-ink); font: inherit; font-size: 14px; text-align: start; cursor: pointer;
}
.ld-country__option:last-child { border-block-end: 0; }
.ld-country__option:hover, .ld-country__option:focus-visible { background: var(--ld-quiet); outline: none; }
.ld-country__option small { color: var(--ld-text-2); font-size: 11px; direction: ltr; }
.ld-country__option[hidden] { display: none !important; }


/* Saved drafts — calm Wise-style side cards. Scoped to the draft panel only. */
.ld-drafts {
	margin-block: 34px 8px;
	padding: 24px;
	border: 0;
	border-radius: 22px;
	background: #f5f7f2;
}
.ld-drafts__head { margin-block-end: 16px; }
.ld-drafts__title { margin: 0; color: var(--ld-ink); font-size: 20px; font-weight: 750; line-height: 1.3; }
.ld-drafts__head p { margin: 7px 0 0; color: var(--ld-text-2); font-size: 13px; line-height: 1.55; }
.ld-drafts__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ld-draft {
	position: relative; display: flex; align-items: stretch; min-width: 0;
	border: 1px solid transparent; border-radius: 18px; background: #fff;
	transition: border-color 140ms ease, transform 140ms ease;
}
.ld-draft:hover { border-color: var(--ld-field); transform: translateY(-1px); }
.ld-draft__main {
	display: grid; flex: 1; min-width: 0; grid-template-columns: 44px minmax(0,1fr) 20px;
	align-items: center; gap: 13px; padding: 17px 48px 17px 16px;
	color: var(--ld-ink); text-decoration: none;
}
.ld-draft__main:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 2px; border-radius: 18px; }
.ld-draft__icon {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: color-mix(in srgb, var(--ld-lime) 30%, #fff); color: var(--ld-ink);
	font-size: 25px; font-weight: 700; line-height: 1;
}
.ld-draft__body { display: grid; min-width: 0; gap: 3px; }
.ld-draft__domain { color: var(--ld-ink); font-size: 17px; font-weight: 750; overflow-wrap: anywhere; }
.ld-draft__meta { color: var(--ld-text-2); font-size: 13px; line-height: 1.4; }
.ld-draft__saved { color: color-mix(in srgb, var(--ld-text-2) 70%, #fff); font-size: 11.5px; line-height: 1.4; }
.ld-draft__arrow { color: var(--ld-text-2); font-size: 28px; line-height: 1; transform: scaleX(-1); }
[dir="ltr"] .ld-draft__arrow { transform: none; }
.ld-draft__delete {
	position: absolute; inset-inline-end: 10px; inset-block-start: 10px;
	display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--ld-text-2); cursor: pointer;
	opacity: .62;
}
.ld-draft__delete svg { width: 16px; height: 16px; }
.ld-draft__delete:hover { background: #f2f3ef; color: var(--ld-ink); opacity: 1; }

@media (min-width: 900px) {
	.ld-drafts { max-width: 420px; }
}
@media (max-width: 619px) {
	.ld-drafts { margin-block-start: 26px; padding: 18px; border-radius: 18px; }
	.ld-draft__main { grid-template-columns: 38px minmax(0,1fr) 16px; gap: 10px; padding: 14px 42px 14px 12px; }
	.ld-draft__icon { width: 38px; height: 38px; font-size: 22px; }
	.ld-draft__domain { font-size: 15.5px; }
}


/* Review request tracking — seller-facing, scoped to the submitted state. */
.ld-review-track{max-width:900px;margin-inline:auto}
.ld-review-track__eyebrow{display:inline-flex;align-items:center;gap:8px;margin:14px 0 4px;padding:7px 12px;border-radius:999px;background:#f2f5ed;color:var(--ld-text-2);font-size:13px;font-weight:650}
.ld-review-track__eyebrow bdi{color:var(--ld-ink);font-weight:800;letter-spacing:.02em}
.ld-review-track__ticket{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:28px 0 18px;border:1px solid var(--ld-field);border-radius:18px;background:#fff;overflow:hidden}
.ld-review-track__ticket>div{display:grid;gap:7px;padding:18px 20px}
.ld-review-track__ticket>div+div{border-inline-start:1px solid var(--ld-field)}
.ld-review-track__ticket span{color:var(--ld-text-2);font-size:12px}
.ld-review-track__ticket strong{color:var(--ld-ink);font-size:15px;line-height:1.4}
.ld-review-track__timeline{margin:26px 0;padding:24px;border-radius:20px;background:#f5f7f2;text-align:start}
.ld-review-track__timeline h3{margin:0 0 20px;color:var(--ld-ink);font-size:18px}
.ld-review-track__timeline ol{margin:0;padding:0;list-style:none}
.ld-review-track__timeline li{position:relative;display:grid;grid-template-columns:24px 1fr;gap:13px;padding-bottom:22px}
.ld-review-track__timeline li:last-child{padding-bottom:0}
.ld-review-track__timeline li>span{position:relative;z-index:1;width:12px;height:12px;margin:4px 6px;border:2px solid #cdd4c7;border-radius:50%;background:#fff}
.ld-review-track__timeline li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:11px;top:18px;width:2px;height:calc(100% - 8px);background:#dfe4da}
.ld-review-track__timeline li.is-done>span,.ld-review-track__timeline li.is-current>span{border-color:var(--ld-ink);background:var(--ld-lime)}
.ld-review-track__timeline li.is-current>span{box-shadow:0 0 0 5px color-mix(in srgb,var(--ld-lime) 28%,transparent)}
.ld-review-track__timeline li div{display:grid;gap:3px}
.ld-review-track__timeline li strong{color:var(--ld-ink);font-size:14px}
.ld-review-track__timeline li small{color:var(--ld-text-2);font-size:12.5px;line-height:1.5}
@media(max-width:680px){.ld-review-track__ticket{grid-template-columns:1fr}.ld-review-track__ticket>div+div{border-inline-start:0;border-top:1px solid var(--ld-field)}.ld-review-track__timeline{padding:19px}}

.ld-review-requested{margin:0 0 24px;padding:20px 22px;border:1px solid #d8decf;border-radius:18px;background:#f5f7f2;text-align:start}
.ld-review-requested__head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.ld-review-requested__head span{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff;color:var(--ld-ink);font-size:12px;font-weight:750}
.ld-review-requested__head bdi{color:var(--ld-text-2);font-size:12px;font-weight:700}
.ld-review-requested h2{margin:0 0 7px;color:var(--ld-ink);font-size:19px}
.ld-review-requested p{margin:0 0 9px;color:var(--ld-ink);font-size:15px;line-height:1.65}
.ld-review-requested small{color:var(--ld-text-2);font-size:12.5px;line-height:1.5}

/* ----------------------------------------------------- name features */
.ld-name-features { margin-block: 26px 22px; padding: 20px; border: 1px solid var(--ld-card); border-radius: 18px; background: #fff; }
.ld-name-features__head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-block-end:16px; }
.ld-name-features__head h3 { margin:0 0 4px; font-size:19px; color:var(--ld-ink); }
.ld-name-features__head p { margin:0; font-size:13.5px; line-height:1.6; color:var(--ld-text-2); }
.ld-name-features__spark { display:grid; place-items:center; width:30px; height:30px; border:1px solid var(--ld-card); border-radius:50%; font-weight:700; color:var(--ld-ink); }
.ld-name-facts { list-style:none; padding:0; margin:0 0 20px; display:grid; gap:10px; }
.ld-name-facts li { display:flex; align-items:center; gap:10px; font-size:15px; color:var(--ld-ink); }
.ld-name-facts li > span { font-size:17px; font-weight:800; }
.ld-name-facts .ld-name-fact--selected { padding:9px 12px; border:1px solid color-mix(in srgb, var(--ld-lime) 45%, var(--ld-card)); border-radius:10px; background:color-mix(in srgb, var(--ld-lime) 22%, #fff); }
.ld-name-facts .ld-name-fact--selected > span { color:var(--ld-ink); }
.ld-feature-picker { padding-block-start:16px; border-block-start:1px solid var(--ld-hairline); }
.ld-feature-chips { display:flex; flex-wrap:wrap; gap:8px; margin-block-start:10px; }
.ld-feature-chip,.ld-custom-feature-chip { border:1px solid var(--ld-card); border-radius:999px; background:#fff; color:var(--ld-ink); padding:8px 13px; font:inherit; font-size:13.5px; cursor:pointer; }
.ld-feature-chip[aria-pressed="true"] { background:var(--ld-ink); border-color:var(--ld-ink); color:var(--ld-lime); }
.ld-feature-words { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:10px; margin-block-start:14px; }
.ld-custom-feature { display:grid; grid-template-columns:1fr auto; gap:10px; margin-block-start:16px; }
.ld-custom-feature-list { display:flex; flex-wrap:wrap; gap:8px; margin-block-start:10px; }
.ld-custom-feature-chip { background:var(--ld-quiet); }
@media(max-width:560px){.ld-name-features{padding:16px}.ld-feature-words{grid-template-columns:1fr}.ld-feature-words>span{display:none}.ld-custom-feature{grid-template-columns:1fr}.ld-custom-feature .ld-btn{width:100%}}

/* Price step: a compact, single-column decision surface. */
.ld-step[data-ld-step="4"] .ld-lede{margin-block-end:24px}.ld-price-fieldset{margin:0}.ld-pr-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px}.ld-pr-field{display:inline-flex;align-items:center;gap:10px;flex:0 1 360px;min-width:0;height:72px;padding:0 20px;border:1.5px solid #d7dcd2;border-radius:16px;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.ld-pr-field:focus-within{border-color:#163300;box-shadow:0 0 0 3px #e4f5ce}.ld-pr-cur{flex:none;color:#4a5a3c;font-size:30px;font-weight:700}.ld-pr-input{flex:1;min-width:0;height:100%;border:0!important;outline:0;background:transparent;color:#163300;font:700 34px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.03em}.ld-pr-input::placeholder{color:#c9cec1}.ld-pr-note{flex:0 1 230px;min-width:0;margin:0;color:#4a5a3c;font-size:13.5px;line-height:22px}.ld-pr-words{margin:12px 0 0;color:#4a5a3c;font-size:13.5px;line-height:20px}
.ld-ap-shell{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-block:18px 24px;padding:12px 14px;border-radius:14px;background:#f2f2f0}.ld-ap-mount{width:100%;min-width:0}.ld-ap-shell .bp-appraisal{width:100%;max-width:none;margin-block-start:0;padding:0;background:none}.ld-ap-state{width:100%;margin:0;color:#8a9585;font-size:13.5px;line-height:21px}.ld-net{margin-block-start:24px;padding:20px 20px 16px;border:1px solid #e4e7de;border-radius:18px;background:#fff}.ld-net-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin-block-end:14px}.ld-net-head strong{color:#163300;font-size:16px}.ld-net-head span{color:#4a5a3c;font-size:13.5px}.ld-net-rows{position:relative}.ld-net-rows::before{position:absolute;top:22px;bottom:30px;inset-inline-start:11px;width:1px;background:#e1e2dd;content:""}.ld-net-row{position:relative;display:flex;align-items:center;gap:12px;min-height:44px}.ld-net-op{display:flex;justify-content:center;width:23px;flex:none}.ld-net-ico{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:#f2f2f0;color:#4a5a3c;font-size:14px;font-style:normal;font-weight:700}.ld-net-row:first-child .ld-net-ico{width:9px;height:9px;background:#c9cec1}.ld-net-ico.is-eq{background:#9fe870;color:#163300}.ld-net-lab{flex:1;min-width:0;color:#4a5a3c;font-size:15px}.ld-net-val{color:#163300;font-size:16px;font-weight:600;white-space:nowrap}.ld-net-val.is-minus{color:#a33a3a}.ld-net-row.is-total{min-height:58px;margin-block-start:4px}.ld-net-row.is-total .ld-net-lab{color:#163300;font-size:15.5px;font-weight:700}.ld-net-big{color:#163300;font-size:30px;font-weight:700;letter-spacing:-.03em;white-space:nowrap}.ld-lr{border-radius:14px;background:#f2f2f0}.ld-lr-in{position:relative;margin:2px 0 6px;margin-inline-start:35px;border-radius:12px}.ld-lr-head{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 14px;border:0;background:none;color:#163300;font:700 14.5px system-ui;text-align:start;cursor:pointer}.ld-lr-head i{font-style:normal;transition:transform .18s}.ld-lr-head.is-open i{transform:rotate(180deg)}.ld-lr-body{margin:0;padding:0 14px 12px;color:#4a5a3c;font-size:14px;line-height:22px}.ld-net-note{margin:12px 0 0;padding-block-start:12px;border-block-start:1px solid #edefec;color:#4a5a3c;font-size:13.5px;line-height:21px}
@media(max-width:599px){.ld-pr-row{align-items:stretch}.ld-pr-note{flex-basis:100%}.ld-net{padding:16px 16px 14px}}@media(max-width:420px){.ld-pr-field{flex-basis:100%;height:64px;padding-inline:16px}.ld-pr-input{font-size:28px}.ld-pr-cur{font-size:26px}.ld-net-big{font-size:26px}}@media(prefers-reduced-motion:reduce){.ld-lr-head i{transition:none}}

/* ------------------------------------------------ verification helper (step 2)
   Additive UX around the existing TXT check: sub-progress, provider card and
   picker, quick/guided modes, open-provider link, polling panel. Scoped to
   .ld-dv; reuses the flow's tokens above. Logical properties only, so it
   mirrors for LTR. Mobile order follows the DOM: provider → values → open →
   verify → steps. */

.ld-dv { margin-block-start: 26px; }

/* Sub-progress: a picture of step 2, not a listing state. */
.ld-dvsteps { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.ld-dvsteps__item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ld-text-2); }
.ld-dvsteps__dot { display: block; height: 4px; border-radius: 999px; background: var(--ld-inactive); }
.ld-dvsteps__item.is-done .ld-dvsteps__dot { background: var(--ld-ink); }
.ld-dvsteps__item.is-current { color: var(--ld-ink); }
.ld-dvsteps__item.is-current .ld-dvsteps__dot { background: var(--ld-lime); box-shadow: inset 0 0 0 1px var(--ld-ink); }
.ld-dvsteps-compact { display: none; margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--ld-ink); }
.ld-dvsteps-compact__n { font-weight: 600; color: var(--ld-text-2); }

/* Quick / guided switch. */
.ld-dvquick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-block-end: 14px; padding: 10px 14px; border-radius: 14px; background: var(--ld-quiet); }
.ld-dvquick__ask { margin: 0; font-size: 14px; color: var(--ld-text-2); }
.ld-dvquick__toggle { min-height: 44px; padding: 8px 16px; border: 1px solid var(--ld-card); border-radius: 999px; background: #FFFFFF; font-size: 14px; font-weight: 600; cursor: pointer; }
.ld-dvquick__toggle:hover { border-color: var(--ld-ink); }
.ld-dvquick__toggle[aria-pressed="true"] { border-color: var(--ld-ink); background: var(--ld-ink); color: var(--ld-lime); }
.ld-dvquick__toggle:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 3px; }

/* Provider card. */
.ld-dvcard { position: relative; margin-block-end: 22px; padding: 18px 20px; border: 1px solid var(--ld-card); border-radius: 16px; background: #FFFFFF; }
.ld-dvcard__main { display: flex; align-items: flex-start; gap: 14px; }
.ld-dvcard__mark { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ld-card); border-radius: 12px; background: color-mix(in srgb, var(--ld-lime) 22%, #FFFFFF); color: var(--ld-ink); font-size: 19px; font-weight: 700; direction: ltr; }
.ld-dvcard__mark.is-generic::before { content: ""; width: 20px; height: 20px; border: 1.8px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 5px #FFFFFF, inset 0 0 0 6.8px currentColor; }
.ld-dvcard__mark.is-generic { background: var(--ld-quiet); color: var(--ld-text-2); }
.ld-dvcard__body { min-width: 0; flex: 1 1 auto; }
.ld-dvcard__eyebrow { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--ld-text-2); }
.ld-dvcard__name { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ld-ink); overflow-wrap: anywhere; }
.ld-dvcard__type { font-size: 13.5px; font-weight: 500; color: var(--ld-text-2); }
.ld-dvcard__text { margin: 6px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--ld-ink); overflow-wrap: anywhere; }
.ld-dvcard__split { margin: 12px 0 0; margin-inline-start: 58px; padding: 10px 12px; border-radius: 12px; background: var(--ld-caution); color: var(--ld-caution-ink); font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.ld-dvcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-block-start: 16px; padding-inline-start: 58px; }
.ld-dvcard.is-confirmed { padding-block: 14px; }
.ld-dvcard.is-confirmed .ld-dvcard__actions { margin-block-start: 8px; }

/* Picker (combobox). */
.ld-dvpick { margin-block-start: 16px; padding-block-start: 16px; border-block-start: 1px solid var(--ld-hairline); }
.ld-dvpick__box { position: relative; }
.ld-dvpick__icon { position: absolute; inset-inline-start: 14px; top: 50%; width: 20px; height: 20px; margin-block-start: -10px; color: var(--ld-text-2); pointer-events: none; }
.ld .ld-dvpick__input { width: 100%; padding-inline-start: 44px; }
.ld-dvpick__list { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px); max-height: min(340px, 55vh); margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; list-style: none; border: 1px solid var(--ld-card); border-radius: 14px; background: #FFFFFF; box-shadow: 0 14px 30px rgba(22, 51, 0, .12); }
.ld-dvpick__group { padding: 10px 10px 4px; font-size: 12px; font-weight: 700; color: var(--ld-text-2); }
.ld-dvpick__empty { padding: 12px 10px; font-size: 14px; color: var(--ld-text-2); }
.ld-dvpick__opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 10px; border-radius: 10px; cursor: pointer; }
.ld-dvpick__opt:hover, .ld-dvpick__opt[aria-selected="true"] { background: var(--ld-quiet); box-shadow: inset 0 0 0 1px var(--ld-card); }
.ld-dvpick__opt[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--ld-ink); }
.ld-dvpick__mark { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ld-quiet); font-size: 14px; font-weight: 700; direction: ltr; }
.ld-dvpick__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ld-dvpick__body > * { max-width: 100%; }
.ld-dvpick__name { font-size: 15px; font-weight: 600; color: var(--ld-ink); }
.ld-dvpick__meta { overflow: hidden; font-size: 12.5px; color: var(--ld-text-2); text-overflow: ellipsis; white-space: nowrap; }
.ld-dvpick__meta:empty { display: none; }
.ld-dvpick__tag { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: var(--ld-quiet); font-size: 12px; font-weight: 600; color: var(--ld-text-2); white-space: nowrap; }
.ld-dvpick__tag.is-guided { background: color-mix(in srgb, var(--ld-lime) 30%, #FFFFFF); color: var(--ld-ink); }
.ld-dvpick__note { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--ld-text-2); }
.ld-dvpick__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block-start: 6px; }

/* Values: long TXT values wrap inside their own box, never the page. */
.ld-dv .ld-dns__value { min-width: 0; overflow-wrap: anywhere; word-break: break-all; unicode-bidi: isolate; }

/* Open the provider. */
.ld-dvopen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-block-start: 18px; }
.ld-dvopen__btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ld-dvopen__arrow { flex: 0 0 auto; width: 16px; height: 16px; }
[dir="rtl"] .ld-dvopen__arrow { transform: scaleX(-1); }
.ld-dvopen__hint { flex: 1 1 260px; margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ld-text-2); }
.ld-dvopen__help { flex: 1 1 100%; font-size: 13.5px; color: var(--ld-ink); }

/* Polling panel (replaces the old one-line busy button; same hook). */

.ld-dvgeneric { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ld-quiet); font-size: 14px; line-height: 1.6; color: var(--ld-ink); }

/* Quick mode: only the record, the copy buttons and the check. */
.ld-dv[data-mode="quick"] :is(.ld-dvcard, .ld-dvopen, .ld-guide, .ld-dvgeneric) { display: none !important; }

@media (max-width: 619px) {
	.ld-dvsteps { display: none; }
	.ld-dvsteps-compact { display: block; }
	.ld-dvquick { padding: 10px 12px; }
	.ld-dvquick__toggle { flex: 1 1 100%; }
	.ld-dvcard { padding: 16px; }
	.ld-dvcard__actions { padding-inline-start: 0; }
	.ld-dvcard__split { margin-inline-start: 0; }
	.ld-dvcard__actions .ld-btn { width: 100%; }
	.ld-dvopen__btn { width: 100%; justify-content: center; }
	.ld-dvpick__tag { display: none; }
}


/* Touch targets inside the verification component: 44px minimum. */
.ld-dv .ld-copy, .ld-dv .ld-btn--small { min-height: 44px; }
.ld-dv .ld-copy { min-width: 64px; }
.ld-dv .ld-dvltr { unicode-bidi: isolate; overflow-wrap: anywhere; }

/* Auto-check ended without the record: calm, not an error. */
.ld-dv .ld-panel--caution.ld-dvcalm { background: var(--ld-quiet); border-color: var(--ld-card); color: var(--ld-ink); }
.ld-dv .ld-dvcalm .ld-panel__text { color: var(--ld-text-2); }

/* Text-style actions inside the component still get a 44px hit area. */
.ld-dv .ld-quiet { display: inline-flex; align-items: center; min-height: 44px; }
.ld-dv .ld-dvopen__help { display: inline-flex; align-items: center; min-height: 44px; }

/* Provider steps: before the check, collapsed until opened. */
.ld-dv .ld-guide { margin-block: 18px 0; padding: 6px 18px; }
.ld-dv .ld-guide__head { display: block; padding: 0; border: 0; }
.ld-dv .ld-guide.is-open .ld-guide__head { border-block-end: 1px solid var(--ld-hairline); }
.ld-dv .ld-guide.is-open { padding-block-end: 14px; }
.ld-guide__toggle { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 0; border: 0; background: none; color: var(--ld-ink); font: inherit; text-align: start; cursor: pointer; }
.ld-guide__toggle:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 2px; border-radius: 10px; }
.ld-guide__label { flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 700; }
.ld-guide__toggle .ld-guide__count { font-size: 13.5px; font-weight: 500; }
.ld-guide__chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ld-text-2); transition: transform .2s; }
.ld-guide__toggle[aria-expanded="true"] .ld-guide__chev { transform: rotate(180deg); }
.ld-guide__toggle:hover .ld-guide__label { text-decoration: underline; text-underline-offset: 4px; }
.ld-dv .ld-guide__body .ld-guide__steps { max-height: none; }
@media (prefers-reduced-motion: reduce) { .ld-guide__chev { transition: none; } }

/* DNS verification status: propagation wait → one check → calm result.
   The timer is the focus; it is LTR and tabular so digits never jump. */
.ld-dvwait { padding: 22px 20px 20px; border: 1px solid var(--ld-card); border-radius: 16px; background: var(--ld-quiet); text-align: center; }
.ld-dvwait__title { margin: 0; font-size: 16px; font-weight: 700; color: var(--ld-ink); }
.ld-dvwait__timer { margin: 6px 0 0; font-size: 44px; font-weight: 700; line-height: 1.1; letter-spacing: .02em; color: var(--ld-ink); font-variant-numeric: tabular-nums; }
.ld-dvwait__timer bdi { unicode-bidi: isolate; }
.ld-dvwait__bar { width: min(220px, 70%); height: 4px; margin: 12px auto 0; border-radius: 999px; background: var(--ld-inactive); overflow: hidden; }
.ld-dvwait__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--ld-ink); transition: width .25s linear; }
.ld-dvwait__checking { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--ld-ink); }
.ld-dvwait__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ld-ink); animation: ld-dvblink 1.2s ease-in-out infinite; }
@keyframes ld-dvblink { 50% { opacity: .3; } }
.ld-dvwait__text { max-width: 44ch; margin: 12px auto 0; font-size: 14px; line-height: 1.65; color: var(--ld-text-2); }
.ld-dvwait[data-state="checking"] .ld-dvwait__title { display: none; }
.ld-dvwait[data-state="checking"] .ld-dvwait__text { margin-block-start: 6px; }

/* After a check that did not verify: the cooldown, then one more check on request. */
.ld-dvretry { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-block-start: 10px; }
.ld-dvretry__wait { margin: 0; font-size: 14px; color: var(--ld-text-2); }
.ld-dvretry__timer { margin-inline-start: 4px; font-size: 18px; font-weight: 700; color: var(--ld-ink); font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.ld-dvretry .ld-btn { margin: 0; }
.ld-dv .ld-panel--caution .ld-dvretry .ld-btn { margin-block-start: 0; align-self: auto; }
.ld-dvexpect { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; margin-block-start: 8px; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; }
.ld-dvexpect__label { grid-column: 1 / -1; font-size: 12.5px; font-weight: 600; color: var(--ld-text-2); }
.ld-dvexpect__value { min-width: 0; overflow-wrap: anywhere; word-break: break-all; font-size: 12.5px; }
.ld-dvexpect__hint { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.6; color: var(--ld-text-2); }
@media (max-width: 619px) {
	.ld-dvwait { padding: 20px 16px; }
	.ld-dvwait__timer { font-size: 40px; }
	.ld-dvretry { flex-direction: column; align-items: stretch; }
	.ld-dvretry .ld-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ld-dvwait__dot { animation: none; }
	.ld-dvwait__bar span { transition: none; }
}

/* ------------------------------------------------ delete-draft dialog
   Native <dialog>: focus trap, Escape and the backdrop come from the
   browser. Visual language follows the dashboard's modal (scrim colour and
   blur, rounded card, bottom sheet on phones). Only this action is red. */
.ld-confirm {
	--ld-danger: var(--color-error, #B8232B);
	--ld-danger-hover: color-mix(in srgb, var(--ld-danger) 86%, #000);
	width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px 26px 22px;
	border: 1px solid var(--ld-card); border-radius: 20px; background: #FFFFFF; color: var(--ld-ink);
	box-shadow: 0 18px 44px rgba(11, 59, 46, .16); text-align: start; overflow-y: auto;
}
.ld-confirm::backdrop { background: rgba(11, 59, 46, 0.34); backdrop-filter: blur(3px); }
.ld-confirm[open] { animation: ld-confirm-in .18s ease-out both; }
@keyframes ld-confirm-in { from { opacity: 0; transform: translateY(8px); } }
.ld-confirm__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--ld-ink); }
.ld-confirm__domain { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--ld-quiet); font-size: 17px; font-weight: 700; color: var(--ld-ink); overflow-wrap: anywhere; }
.ld-confirm__domain bdi { unicode-bidi: isolate; }
.ld-confirm__text { margin: 12px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--ld-text-2); }
.ld-confirm__error { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--ld-danger) 9%, #FFFFFF); color: var(--ld-danger); font-size: 14px; line-height: 1.6; }
.ld-confirm__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-block-start: 22px; }
.ld-confirm__actions .ld-btn { min-height: 48px; padding-inline: 22px; font-size: 15px; }
.ld .ld-confirm__delete, .ld-confirm__delete { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ld-danger); border-color: var(--ld-danger); color: #FFFFFF; }
.ld-confirm__delete:hover { background: var(--ld-danger-hover); border-color: var(--ld-danger-hover); color: #FFFFFF; }
.ld-confirm__delete:focus-visible { outline: 2px solid var(--ld-danger); outline-offset: 3px; }
.ld-confirm__delete:disabled { background: color-mix(in srgb, var(--ld-danger) 70%, #FFFFFF); border-color: transparent; color: #FFFFFF; cursor: progress; }
.ld-confirm__cancel:disabled { opacity: .55; cursor: not-allowed; }
.ld-confirm__spin { border-color: rgba(255, 255, 255, .45); border-top-color: #FFFFFF; }
.ld-confirm [hidden] { display: none !important; }

/* The card leaves only after the server confirmed the delete. */
.ld-draft.is-leaving { opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.ld-toast[hidden] { display: none; }

@media (max-width: 619px) {
	.ld-confirm { width: 100%; max-width: 100%; margin: auto 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
	.ld-confirm__actions { flex-direction: column-reverse; }
	.ld-confirm__actions .ld-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ld-confirm[open] { animation: none; }
	.ld-draft.is-leaving { transition: none; }
}
/* Centred in both directions (the shared .toast's translateX assumes LTR). */
.ld-toast { inset-inline: 0; width: max-content; max-width: calc(100vw - 32px); margin-inline: auto; transform: none; text-align: center; line-height: 1.5; }
/* Optional visual identity, deliberately outside the completion requirements. */
.ld-visuals{margin:20px 0 28px;border:1px solid var(--ld-line,#dfe5da);border-radius:18px;background:#fff;overflow:hidden}.ld-visuals summary{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;color:var(--ld-ink,#163300);font-weight:700;cursor:pointer}.ld-visuals summary small{padding:3px 8px;border-radius:999px;background:#f0f5eb;color:#657160;font-weight:600}.ld-visuals>p{margin:0;padding:0 18px 16px;color:var(--ld-muted,#657160);font-size:13px}.ld-visuals__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 18px 18px}.ld-visuals__tile,.ld-visuals__preview{display:grid;gap:7px;padding:10px;border:1px solid #dfe5da;border-radius:14px;background:#fff;color:#163300}.ld-visuals__tile{cursor:pointer}.ld-visuals__tile input{font-size:12px;max-width:100%}.ld-visuals__tile small,.ld-visuals__preview>span{color:#7b8776;font-size:12px}.ld-visuals__image,.ld-visuals__preview-band{position:relative;display:grid;place-items:center;min-height:112px;overflow:hidden;border-radius:10px;background:#fff}.ld-visuals__image:empty:before{content:"+";font-size:26px;color:#163300}.ld-visuals__image img,.ld-visuals__preview-band img{width:100%;height:100%;object-fit:cover}.ld-visuals__preview-band{background-position:center;background-size:cover}.ld-visuals__preview-band img{position:absolute;inset:0}.ld-visuals__preview{align-content:start}@media(max-width:680px){.ld-visuals__grid{grid-template-columns:1fr}.ld-visuals{margin-block:16px 22px}}
.ld-visuals__grid{gap:0;padding:0 18px 18px;border:1.5px solid #c8d2c2;border-radius:16px;overflow:hidden;background:#fff}.ld-visuals__tile,.ld-visuals__preview{min-width:0;margin:0;padding:12px;border:0;border-radius:0;background:#fff}.ld-visuals__tile+.ld-visuals__tile,.ld-visuals__preview{border-inline-start:1px solid #c8d2c2}.ld-visuals__image,.ld-visuals__preview-band{min-height:126px;background:#f7f9f5}.ld-visuals__image img{display:block;width:100%;height:126px;object-fit:contain;background:#fff}.ld-visuals__tile small{min-height:54px;line-height:1.55}.ld-visuals__tile input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.ld-visuals__pick{display:flex;align-items:center;justify-content:center;min-height:36px;margin-top:auto;border-radius:999px;background:#e3f6d3;color:#163300;font-size:13px;font-weight:700}.ld-visuals__tile:hover .ld-visuals__pick{background:#9fe870}.ld-visuals__preview{display:flex;flex-direction:column;gap:7px}.ld-visuals__preview-band{flex:0 0 126px;cursor:grab;touch-action:none;background-position:center;background-size:cover}.ld-visuals__preview-band:active{cursor:grabbing}.ld-visuals__preview-band img{object-position:var(--ld-logo-x,50%) var(--ld-logo-y,50%);transform:scale(var(--ld-logo-scale,1))}.ld-visuals__preview-band i{position:relative;z-index:2;padding:5px 8px;border-radius:7px;background:rgba(22,51,0,.84);color:#fff;font-size:11px;font-style:normal}.ld-visuals__zoom{display:flex;align-items:center;gap:7px;padding:7px 2px;border-bottom:1px solid #e1e7dd}.ld-visuals__zoom button{display:grid;place-items:center;width:26px;height:26px;padding:0;border:1px solid #c8d2c2;border-radius:50%;background:#fff;color:#163300;font-size:17px}.ld-visuals__zoom input{flex:1;min-width:0;accent-color:#163300}@media(max-width:680px){.ld-visuals__grid{grid-template-columns:1fr}.ld-visuals__tile+.ld-visuals__tile,.ld-visuals__preview{border-inline-start:0;border-top:1px solid #c8d2c2}}
.ld-visuals__preview-band img{transform-origin:center;will-change:transform,object-position}.ld-visuals__tile.is-uploading{pointer-events:none}.ld-visuals__tile.is-uploading .ld-visuals__image:after{content:"";position:absolute;z-index:3;width:28px;height:28px;border:3px solid rgba(22,51,0,.2);border-top-color:#163300;border-radius:50%;animation:ld-visual-spin .7s linear infinite}.ld-visuals__tile.is-uploading .ld-visuals__image:before{content:"";position:absolute;inset:0;z-index:2;background:rgba(255,255,255,.78)}.ld-visuals__tile.is-uploading .ld-visuals__pick{opacity:.55}@keyframes ld-visual-spin{to{transform:rotate(360deg)}}
.ld-visuals,.ld-visuals summary{background:#eef0ed}.ld-visuals[open] summary{border-bottom:1px solid #cfd5cb}.ld-visuals[open]>.ld-visuals__grid{background:#fff}
.ld-visuals__actions{display:flex;align-items:center;gap:7px;margin-top:auto}.ld-visuals__actions .ld-visuals__pick{flex:1;margin-top:0;cursor:pointer}.ld-visuals__remove{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #c8d2c2;border-radius:50%;background:#fff;color:#596454;cursor:pointer}.ld-visuals__remove:hover{border-color:#9e3b3b;background:#fff1f1;color:#8a2525}.ld-visuals__remove span{font-size:20px;line-height:1}.ld-visuals__remove[hidden]{display:none}

/* ------------------------------------------------ step 4: classification */

/* Brandpa's structure — two searchable, bordered lists side by side — drawn
   in the flow's own language: forest ink, lime for what is selected. */
.ld-tax { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 720px) { .ld-tax { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }

.ld-tax__col { min-width: 0; }
.ld-tax__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block-end: 10px; }
.ld-tax__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ld-ink); }
.ld-tax__en { font-size: 13px; font-weight: 500; color: var(--ld-text-2); unicode-bidi: isolate; }
.ld-tax__title .ld-tax__en { margin-inline-start: 4px; }
.ld-tax__count {
	flex: 0 0 auto; min-width: 48px; padding: 3px 10px; border-radius: 999px;
	background: var(--ld-quiet); color: var(--ld-text-2);
	font-size: 13px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums;
	transition: background-color 160ms ease, color 160ms ease;
}
.ld-tax__count.is-met { background: var(--ld-lime); color: var(--ld-ink); }

.ld-tax__search { position: relative; margin-block-end: 10px; }
.ld-tax__search-icon { position: absolute; inset-inline-start: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ld-text-2); pointer-events: none; }
.ld-tax__search-input {
	display: block; width: 100%; height: 46px; padding-inline: 42px 14px;
	border: 1.5px solid var(--ld-field); border-radius: 999px; background: var(--color-white, #FFFFFF);
	font: inherit; font-size: 15px; color: var(--ld-ink); outline: none;
	transition: border-color 120ms ease;
}
.ld-tax__search-input::placeholder { color: color-mix(in srgb, var(--ld-text-2) 60%, var(--color-white, #FFFFFF)); }
.ld-tax__search-input:focus { border-color: var(--ld-ink); box-shadow: 0 0 0 1px var(--ld-ink); }
.ld-tax__search-input::-webkit-search-cancel-button { cursor: pointer; }

.ld-tax__picked { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.ld-tax__chip {
	display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding-block: 4px; padding-inline: 12px 8px;
	border: 0; border-radius: 999px; background: var(--color-green-soft, #E2F6D5); color: var(--ld-ink);
	font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.ld-tax__chip svg { width: 16px; height: 16px; opacity: .7; }
.ld-tax__chip:hover { background: var(--ld-lime); }
.ld-tax__chip:hover svg { opacity: 1; }
.ld-tax__chip:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: 2px; }

.ld-tax__list {
	margin: 0; padding: 0; list-style: none;
	max-height: 420px; overflow-y: auto; overscroll-behavior: contain;
	border: 1.5px solid var(--ld-card); border-radius: 16px; background: var(--color-white, #FFFFFF);
	scrollbar-width: thin;
}
.ld-tax__list > li + li { border-block-start: 1px solid var(--ld-hairline); }

.ld-tax__row { display: flex; align-items: center; gap: 4px; padding-inline-end: 6px; }
.ld-tax__row > .ld-tax__opt { flex: 1 1 auto; }

.ld-tax__opt {
	position: relative; display: flex; align-items: center; gap: 12px; min-width: 0;
	min-height: 48px; padding-block: 8px; padding-inline: 14px 10px;
	cursor: pointer; transition: background-color 120ms ease;
}
.ld-tax__opt:hover { background: var(--ld-quiet); }
.ld-tax__opt.is-checked { background: color-mix(in srgb, var(--ld-lime) 16%, var(--color-white, #FFFFFF)); }
.ld-tax__input { position: absolute; inset-inline-start: 14px; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.ld-tax__box {
	flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px;
	border: 1.5px solid color-mix(in srgb, var(--ld-ink) 38%, var(--color-white, #FFFFFF)); border-radius: 6px;
	background: var(--color-white, #FFFFFF); color: var(--ld-lime);
	transition: background-color 120ms ease, border-color 120ms ease;
}
.ld-tax__box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: opacity 120ms ease, transform 160ms cubic-bezier(.3, 1.4, .5, 1); }
.ld-tax__input:checked + .ld-tax__box { border-color: var(--ld-ink); background: var(--ld-ink); }
.ld-tax__input:checked + .ld-tax__box svg { opacity: 1; transform: none; }
.ld-tax__input:focus-visible + .ld-tax__box { outline: 2px solid var(--ld-ink); outline-offset: 2px; }
.ld-tax__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ld-ink); }
.ld-tax__opt.is-checked .ld-tax__name { font-weight: 600; }

.ld-tax__toggle {
	flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 12px; background: transparent; color: var(--ld-ink); cursor: pointer;
}
.ld-tax__toggle svg { width: 30px; height: 30px; padding: 6px; border: 1.5px solid var(--ld-card); border-radius: 999px; transition: background-color 120ms ease, border-color 120ms ease; }
.ld-tax__toggle:hover svg { background: var(--ld-quiet); border-color: var(--ld-field); }
.ld-tax__toggle:focus-visible { outline: 2px solid var(--ld-ink); outline-offset: -2px; }
.ld-tax__plus-v { transition: opacity 140ms ease; }
.ld-tax__group.is-open .ld-tax__plus-v { opacity: 0; }
.ld-tax__group.is-open .ld-tax__toggle svg { background: var(--ld-ink); border-color: var(--ld-ink); color: var(--color-white, #FFFFFF); }

.ld-tax__children { margin: 0; padding: 0 0 6px; list-style: none; background: var(--ld-quiet); border-block-start: 1px solid var(--ld-hairline); }
.ld-tax__child .ld-tax__opt { min-height: 44px; padding-inline-start: 40px; }
.ld-tax__child .ld-tax__input { inset-inline-start: 40px; }
.ld-tax__child .ld-tax__opt:hover { background: color-mix(in srgb, var(--ld-ink) 5%, var(--ld-quiet)); }
.ld-tax__child .ld-tax__opt.is-checked { background: color-mix(in srgb, var(--ld-lime) 22%, var(--ld-quiet)); }

.ld-tax__pair { display: flex; align-items: stretch; }
.ld-tax__pair > .ld-tax__opt { flex: 1 1 0; }
.ld-tax__or { flex: 0 0 auto; align-self: center; padding-inline: 2px; font-size: 13px; font-weight: 500; color: var(--ld-text-2); }

.ld-tax__empty { margin: 0; padding: 22px 16px; border: 1.5px dashed var(--ld-card); border-radius: 16px; font-size: 14px; color: var(--ld-text-2); text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.ld-tax__box svg, .ld-tax__plus-v, .ld-tax__count { transition: none; }
}

/* ------------------------------------------------- step 4: price & offers */

/* Brandpa's row — list price, how offers are taken, the private floor —
   in the flow's quiet fields. Three columns where they fit, stacked below. */
.ld-offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-block-end: 4px; }
/* The offers select carries the longest words, so its column is the widest;
   the three sit in one row once each label fits without clipping. */
@media (min-width: 640px) { .ld-offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; } .ld-offer__cell[data-ld-floor-wrap] { grid-column: 1 / -1; max-width: calc(50% - 9px); } }
@media (min-width: 1000px) { .ld-offer { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1fr); } .ld-offer__cell[data-ld-floor-wrap] { grid-column: auto; max-width: none; } }
.ld-offer__cell { min-width: 0; }
.ld-offer__label { display: block; margin-block-end: 8px; font-size: 14.5px; font-weight: 600; color: var(--ld-ink); }
.ld-offer__help { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ld-text-2); }

.ld-offer__money {
	display: flex; align-items: stretch; height: 48px; overflow: hidden;
	border: 1.5px solid var(--ld-field); border-radius: 12px; background: var(--color-white, #FFFFFF);
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ld-offer__money:focus-within { border-color: var(--ld-ink); box-shadow: 0 0 0 1px var(--ld-ink); }
.ld-offer__money:has([aria-invalid="true"]) { border-color: var(--ld-error); }
.ld-offer__cur {
	flex: none; display: grid; place-items: center; width: 42px;
	border-inline-end: 1.5px solid var(--ld-field); background: var(--ld-quiet);
	font-size: 16px; font-weight: 600; color: var(--ld-text-2);
}
.ld-offer__input {
	flex: 1; min-width: 0; padding: 0 14px; border: 0; outline: 0; background: transparent;
	font: inherit; font-size: 17px; font-weight: 600; color: var(--ld-ink); font-variant-numeric: tabular-nums;
}
.ld-offer__input::placeholder { color: color-mix(in srgb, var(--ld-text-2) 45%, var(--color-white, #FFFFFF)); font-weight: 500; }

.ld-offer__select { position: relative; }
.ld-offer__select select {
	appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 48px;
	padding-inline: 14px 40px; border: 1.5px solid var(--ld-field); border-radius: 12px;
	background: var(--color-white, #FFFFFF); font: inherit; font-size: 15px; font-weight: 500; color: var(--ld-ink);
	cursor: pointer; outline: 0; text-overflow: ellipsis;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ld-offer__select select:focus-visible { border-color: var(--ld-ink); box-shadow: 0 0 0 1px var(--ld-ink); }
.ld-offer__select svg { position: absolute; inset-inline-end: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ld-text-2); pointer-events: none; }
