/* Support desk, customer pages (editorial, 15 Nov 2026): the account pages' language. Serif titles with an italic last
 * word, "No. 01" openers on a dark rule, ruled rows instead of boxes, light type, lime only on the main buttons.
 * Colours and type come from the store's theme.json; nothing here depends on the account stylesheet. */
.nsb-sd, .nsb-sd-page, .nsb-sd-hd {
	--sd-ink: var(--wp--preset--color--contrast);
	--sd-soft: var(--wp--preset--color--contrast-soft);
	--sd-line: var(--wp--preset--color--line, #dce4da);
	--sd-ctl: var(--wp--preset--color--border);
	--sd-fern: var(--wp--preset--color--accent);
	--sd-hi: var(--wp--preset--color--highlight);
	--sd-err: var(--wp--preset--color--error);
	--sd-serif: var(--wp--preset--font-family--evidence, var(--wp--preset--font-family--display));
	--sd-weight: var(--wp--custom--editorial--heading-weight, 400);
	--sd-italic: var(--wp--custom--editorial--italic, var(--sd-fern));
	--sd-rule: var(--wp--custom--editorial--rule, var(--sd-fern));
	color: var(--sd-ink);
	font-weight: 400;
}
.nsb-sd { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.nsb-sd p { margin: 0; }
.nsb-sd strong { font-weight: 500; }
.nsb-sd :focus-visible { outline: 2px solid var(--wp--preset--color--link); outline-offset: 2px; }

/* Type: editorial.css sets content headings in heavy sans with a strong selector; these win. */
body .wp-site-blocks :is(.nsb-sd, .nsb-sd-hd) :is(h1, h2) { font-family: var(--sd-serif); font-weight: var(--sd-weight); color: var(--sd-ink); margin: 0; }
body .wp-site-blocks :is(.nsb-sd, .nsb-sd-hd) :is(h1, h2) em { font-style: italic; color: var(--sd-italic); }
.nsb-sd h2 { font-size: 1.625rem; line-height: 1.15; letter-spacing: -.01em; }
.nsb-sd-label, .nsb-sd .nsb-op .nsb-label { font-size: .75rem; line-height: 1.2; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sd-italic); }

/* A page of its own (signed link, "message sent"): its own title, the page title hidden */
body.nsb-sd-solo .wp-block-post-title { display: none; }
.nsb-sd-page { display: flex; flex-direction: column; gap: 44px; padding-block: 8px 24px; }
.nsb-sd-hd h1 { margin-top: 12px; font-size: clamp(2.5rem, 4.2vw, 3.75rem); line-height: 1.04; letter-spacing: -.025em; }
.nsb-sd-hd .nsb-sd-sub { margin: 10px 0 0; font-size: 1rem; line-height: 1.45; color: var(--sd-soft); }
.nsb-sd-private { margin: 22px 0 0; padding-top: 12px; border-top: 1.5px solid var(--sd-rule); font-size: .9375rem; line-height: 1.5; color: var(--sd-soft); }
.nsb-sd-private a { color: var(--sd-fern); font-weight: 600; text-underline-offset: 4px; }

/* Openers (the account shell's markup) */
.nsb-sd .nsb-op { display: flex; align-items: baseline; gap: 14px; padding-top: 12px; border-top: 1.5px solid var(--sd-rule); }
.nsb-sd .nsb-op h2 { flex: 1; min-width: 0; }
.nsb-sd section { display: flex; flex-direction: column; min-width: 0; }
.nsb-sd section > .nsb-op + * { margin-top: 16px; }

/* Two columns: list/side 1 part, form/conversation 1.3 parts */
.nsb-sd-duo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.nsb-sd-duo:is(.is-help, .is-talk) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }

/* Notices */
.nsb-sd-note { padding: 14px 0; border-top: 1.5px solid var(--sd-rule); border-bottom: 1px solid var(--sd-line); font-size: 1rem; }
.nsb-sd-note.is-error { border-top-color: var(--sd-err); color: var(--sd-err); }
.nsb-sd-sent { padding: 16px 0; border-top: 1.5px solid var(--sd-rule); border-bottom: 1px solid var(--sd-line); }
.nsb-sd-sent h2 { font-size: 1.375rem; line-height: 1.2; }
.nsb-sd-sent p { margin-top: 6px; color: var(--sd-soft); }
.nsb-sd-latest { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 16px 0; border-top: 1.5px solid var(--sd-rule); border-bottom: 1px solid var(--sd-line); }
.nsb-sd-latest > div { flex: 1 1 320px; min-width: 0; }
.nsb-sd-latest h2 { margin-top: 8px !important; font-size: 1.375rem; line-height: 1.2; }
.nsb-sd-q { margin-top: 6px !important; font-size: .97rem; line-height: 1.5; color: var(--sd-soft); }

/* Your messages */
.nsb-sd-list section > .nsb-op + *, .nsb-sd-list > .nsb-op + * { margin-top: 4px; }
.nsb-sd-item { display: flex; gap: 14px; align-items: center; min-height: 64px; padding: 12px 0; box-sizing: border-box; border-bottom: 1px solid var(--sd-line); color: var(--sd-ink); text-decoration: none; }
.nsb-sd-item > span:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.nsb-sd-item strong { font-size: .97rem; line-height: 1.3; text-decoration: underline; text-decoration-color: var(--sd-line); text-underline-offset: 4px; }
.nsb-sd-item:hover strong { text-decoration-color: currentColor; }
.nsb-sd-item > span:first-child > span { font-size: .875rem; color: var(--sd-soft); }
.nsb-sd-stat { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: .8125rem; line-height: 1; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sd-italic); white-space: nowrap; }
.nsb-sd-stat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nsb-sd-stat.is-with { color: var(--sd-ink); }
.nsb-sd-stat.is-closed { color: var(--sd-soft); }
.nsb-sd-stat.is-closed::before { display: none; }
.nsb-sd-empty { padding: 14px 0; border-bottom: 1px solid var(--sd-line); font-family: var(--sd-serif); font-size: 1.25rem; line-height: 1.3; color: var(--sd-soft); }

/* Forms */
.nsb-sd-form { display: flex; flex-direction: column; gap: 18px; }
.nsb-sd label { display: flex; flex-direction: column; gap: 8px; font-size: .75rem; line-height: 1.3; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sd-soft); }
/* Doubled class: the Contact block's own field rule (font: inherit) loads later. */
.nsb-sd.nsb-sd :is(input[type=text], input[type=email], select, textarea), .nsb-sd-page .nsb-sd :is(input[type=text], input[type=email], select, textarea) {
	box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1px solid var(--sd-ctl); border-radius: 8px; background: var(--wp--preset--color--base); color: var(--sd-ink);
	font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: normal; text-transform: none;
}
.nsb-sd textarea { min-height: 132px; resize: vertical; }
.nsb-sd-reply textarea { min-height: 112px; }
.nsb-sd-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.nsb-sd-hint { font-size: .875rem; line-height: 1.45; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--sd-soft); }
.nsb-sd-trap { position: absolute; left: -9999px; }
.nsb-sd-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; }
.nsb-sd-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.nsb-sd .nsb-sd-add {
	position: relative; flex-direction: row; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; box-sizing: border-box;
	border: 1.5px solid var(--sd-fern); border-radius: 999px; color: var(--sd-fern); cursor: pointer;
	font-size: .9375rem; font-weight: 600; letter-spacing: normal; text-transform: none;
}
.nsb-sd-add input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nsb-sd-add:focus-within { outline: 2px solid var(--wp--preset--color--link); outline-offset: 2px; }
.nsb-sd-photo .nsb-sd-hint { flex: 1 1 200px; }

/* Buttons (on the Contact page the account stylesheet isn't loaded) */
.nsb-sd .nsb-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; box-sizing: border-box;
	border: 1.5px solid var(--sd-fern); border-radius: 999px; background: transparent; color: var(--sd-fern);
	font: inherit; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nsb-sd .nsb-btn.is-pri { border: 2px solid var(--sd-fern); background: var(--wp--preset--color--cta); color: var(--wp--preset--color--on-cta); }
.nsb-sd .nsb-btn.is-pri:hover { filter: brightness(.95); }
.nsb-sd button[type=submit]:disabled { opacity: .6; cursor: wait; }
.nsb-sd-back, .nsb-sd-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; color: var(--sd-fern); font-weight: 600; text-underline-offset: 4px; }
.nsb-sd-talk > .nsb-sd-back { margin-bottom: -24px; }

/* The conversation */
.nsb-sd-thread { border-top: 1px solid var(--sd-line); }
.nsb-sd section > .nsb-op + .nsb-sd-thread { margin-top: 6px; }
.nsb-sd-msg { padding: 16px 0 18px; border-bottom: 1px solid var(--sd-line); font-size: 1rem; line-height: 1.55; }
.nsb-sd-msg.is-store { padding-left: 18px; border-left: 2px solid var(--sd-fern); }
.nsb-sd-msg p { margin: 10px 0 0; }
.nsb-sd-msg p:empty { display: none; }
.nsb-sd .nsb-sd-who { margin: 0; font-size: .75rem; line-height: 1.2; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sd-soft); }
.nsb-sd-msg.is-store .nsb-sd-who { color: var(--sd-italic); }
.nsb-sd-media { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nsb-sd-tile { display: block; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--wp--preset--color--surface); }
.nsb-sd-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nsb-sd-file { font-size: .875rem; color: var(--sd-soft); }
.nsb-sd-closed { margin-top: 22px; padding: 14px 0; border-top: 1.5px solid var(--sd-ctl); border-bottom: 1px solid var(--sd-line); }
.nsb-sd-closed__t { font-family: var(--sd-serif); font-weight: var(--sd-weight); font-size: 1.25rem; line-height: 1.25; }
.nsb-sd-closed__t em { font-style: italic; color: var(--sd-italic); }
.nsb-sd-closed p + p { margin-top: 4px; font-size: .9375rem; color: var(--sd-soft); }
.nsb-sd-reply { margin-top: 22px; gap: 14px; }

/* What happens next / so far */
.nsb-sd-track { list-style: none; margin: 0; padding: 0; }
.nsb-sd section > .nsb-op + .nsb-sd-track { margin-top: 18px; }
.nsb-sd-track li { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.nsb-sd-track li:last-child { padding-bottom: 0; }
.nsb-sd-track li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: -4px; width: 1.5px; background: var(--sd-line); }
.nsb-sd-dot { flex: none; box-sizing: border-box; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--sd-ctl); color: var(--sd-soft); font-size: .75rem; font-weight: 600; line-height: 1; }
.nsb-sd-track .is-done .nsb-sd-dot { border-color: var(--sd-fern); background: var(--sd-fern); color: var(--sd-hi); }
.nsb-sd-track .is-now .nsb-sd-dot { border: 2px solid var(--sd-fern); color: var(--sd-fern); background: var(--wp--preset--color--base); }
.nsb-sd-done .nsb-sd-track .nsb-sd-dot { border-color: var(--sd-fern); color: var(--sd-fern); }
.nsb-sd-track strong { display: block; margin-top: 3px; font-size: 1rem; line-height: 1.35; font-weight: 500; }
.nsb-sd-track .is-now strong { font-weight: 600; }
.nsb-sd-track .is-later strong { color: var(--sd-ink); }
.nsb-sd-track em { display: block; margin-top: 4px; font-style: normal; font-size: .6875rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--sd-soft); }
.nsb-sd-track .is-now em { color: var(--sd-italic); }
.nsb-sd-done .nsb-sd-actions { justify-content: flex-start; margin-top: 24px; }

/* Rows beside the conversation */
.nsb-sd-rows { margin-top: 26px; border-top: 1px solid var(--sd-line); }
.nsb-sd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 52px; padding: 12px 0; box-sizing: border-box; border-bottom: 1px solid var(--sd-line); }
.nsb-sd-row .nsb-sd-label { flex: 0 0 100%; }
.nsb-sd-row__v { flex: 1; min-width: 0; font-size: 1rem; overflow-wrap: anywhere; }
.nsb-sd-row a { color: var(--sd-fern); font-weight: 600; text-underline-offset: 4px; }
.nsb-sd-row__v a { color: inherit; font-weight: 400; }

@media (max-width: 781px) {
	.nsb-sd, .nsb-sd-page { gap: 36px; }
	.nsb-sd-hd h1 { font-size: 2.5rem; }
	.nsb-sd-duo, .nsb-sd-duo:is(.is-help, .is-talk) { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.nsb-sd .nsb-sd-add { width: 100%; justify-content: center; }
	.nsb-sd-actions > .nsb-btn, .nsb-sd-latest .nsb-btn { width: 100%; }
	.nsb-sd-done .nsb-sd-actions > .nsb-btn { width: auto; }
	.nsb-sd-talk > .nsb-sd-back { margin-bottom: -16px; }
}
/* A long order name in the select must not widen the page (WebKit sizes it to the longest option). */
.nsb-sd label, .nsb-sd .nsb-sd-form { min-width: 0; }
.nsb-sd.nsb-sd.nsb-sd select, .nsb-sd-page .nsb-sd.nsb-sd select {
	-webkit-appearance: none; appearance: none; max-width: 100%; min-width: 0; overflow: hidden; padding-right: 40px; text-overflow: ellipsis;
	background: var(--wp--preset--color--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2333443a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}

/* ---- New message, step by step (tej 15 Nov 2026): numbered steps, each shown once the one before is answered ---- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nsb-sd-steplist { list-style: none; margin: 0; padding: 0; }
.nsb-sd-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; padding: 20px 0 22px; border-top: 1px solid var(--sd-line); }
.nsb-sd-step:first-child { border-top: 0; padding-top: 2px; }
.nsb-sd-step[hidden] { display: none; }
.nsb-sd-step__n { box-sizing: border-box; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--sd-fern); color: var(--sd-fern); display: inline-flex; align-items: center; justify-content: center; font-size: .875rem; font-weight: 600; background: var(--wp--preset--color--base); }
.nsb-sd-step.is-done .nsb-sd-step__n { background: var(--sd-fern); color: var(--sd-hi); }
.nsb-sd-step__b { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nsb-sd .nsb-sd-step__t { margin: 0; font-family: var(--sd-serif); font-weight: var(--sd-weight); font-size: 1.3125rem; line-height: 32px; color: var(--sd-ink); }
.nsb-sd-cards { margin: 0; padding: 0; border: 0; min-width: 0; }
.nsb-sd-cards > .nsb-sd-hint { margin: -6px 0 10px; }
.nsb-sd-cards > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nsb-sd .nsb-sd-card {
	position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 3px 12px; align-items: start;
	min-height: 64px; padding: 14px 16px; box-sizing: border-box; border: 1px solid var(--sd-ctl); border-radius: 12px;
	background: var(--wp--preset--color--base); color: var(--sd-ink); cursor: pointer;
	font-size: 1rem; font-weight: 400; letter-spacing: normal; text-transform: none;
}
.nsb-sd-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nsb-sd-card__dot { grid-row: 1 / span 2; box-sizing: border-box; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--sd-ctl); background: var(--wp--preset--color--base); }
.nsb-sd-card__t { font-size: 1rem; line-height: 1.35; font-weight: 500; }
.nsb-sd-card__h { font-size: .875rem; line-height: 1.4; color: var(--sd-soft); }
.nsb-sd .nsb-sd-card:hover { border-color: var(--sd-fern); }
.nsb-sd .nsb-sd-card:has(input:checked) { border: 2px solid var(--sd-fern); padding: 13px 15px; background: var(--wp--preset--color--surface, var(--wp--preset--color--base)); }
.nsb-sd-card:has(input:checked) .nsb-sd-card__dot { border: 6px solid var(--sd-fern); }
.nsb-sd-card:has(input:checked) .nsb-sd-card__t { font-weight: 600; }
.nsb-sd-card:has(input:focus-visible) { outline: 2px solid var(--wp--preset--color--link); outline-offset: 2px; }
.nsb-sd-next { align-self: flex-start; }
.nsb-sd-why p { margin: 0; padding: 12px 14px; border-left: 3px solid var(--sd-fern); background: var(--wp--preset--color--surface, transparent); font-size: .9375rem; line-height: 1.5; color: var(--sd-ink); }
.nsb-sd-why p strong { font-weight: 600; }
.nsb-sd-why p[hidden], .nsb-sd-err[hidden] { display: none; }
.nsb-sd-err { margin: 0; padding: 12px 0; border-top: 1.5px solid var(--sd-err); color: var(--sd-err); font-size: .97rem; line-height: 1.5; }
.nsb-sd-send { padding-left: 48px; justify-content: flex-start; }
.nsb-sd-send[hidden] { display: none; }
.nsb-sd-steps .nsb-turnstile { margin-left: 48px !important; }
.nsb-sd-steps .nsb-turnstile[hidden] { display: none; }
.nsb-sd-tile.is-video { display: flex; align-items: center; justify-content: center; background: var(--sd-fern); color: var(--sd-hi); }
@media (max-width: 781px) {
	.nsb-sd-cards > div { grid-template-columns: minmax(0, 1fr); }
	.nsb-sd-step { grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; }
	.nsb-sd-step__n { width: 28px; height: 28px; }
	.nsb-sd .nsb-sd-step__t { line-height: 28px; font-size: 1.1875rem; }
	.nsb-sd-send { padding-left: 0; }
	.nsb-sd-send .nsb-btn { width: 100%; }
	.nsb-sd-steps .nsb-turnstile { margin-left: 0 !important; }
}
.nsb-sd-next[hidden] { display: none; }
.nsb-sd-closedtext { font-size: 1rem; line-height: 1.5; color: var(--sd-soft); }
