/* noam-links CONTENT module: /content/, the account endpoint my-content, the guest approval page.
   Uses the theme tokens (--red, --line, --cream, --r …) from the theme's style.css. */

.nlcc-page .nlt-content { max-width: 1200px; }
.nlcc { --nlcc-ok: #17713f; }

/* ------------------------------------------------------------ jump nav + steps */
.nlcc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.nlcc-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.nlcc-jump a:hover { border-color: var(--red); color: var(--red); }
.nlcc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0 !important; margin: 0 0 28px; counter-reset: nlcc; }
.nlcc-steps li { position: relative; padding: 16px 16px 16px 16px; padding-inline-start: 54px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); counter-increment: nlcc; margin: 0 !important; }
.nlcc-steps li::before { content: counter(nlcc); position: absolute; inset-inline-start: 14px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9375rem; }
.nlcc-steps b { display: block; font-size: 1.0625rem; }
.nlcc-steps span { display: block; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }

/* ------------------------------------------------------------ cards */
.nlcc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: start; }
.nlcc-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); scroll-margin-top: 90px; min-width: 0; }
.nlcc-card__head h2 { margin: 0; font-size: 1.375rem; }
.nlcc-card__from { margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }
.nlcc-card__from b { color: var(--ink); font-size: 1.125rem; }
.nlcc-card__lead { margin: 0; color: var(--ink-2); }
.nlcc-card__best { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.nlcc-feat { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 6px; }
.nlcc-feat li { display: flex; gap: 8px; align-items: flex-start; margin: 0 !important; font-size: .9375rem; line-height: 1.45; }
.nlcc-feat__i { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 800; margin-top: 1px; }
.nlcc-feat .is-yes .nlcc-feat__i { background: #e3f4e9; color: var(--nlcc-ok, #17713f); }
.nlcc-feat .is-no { color: var(--muted); }
.nlcc-feat .is-no .nlcc-feat__i { background: #eee; color: #777; }

/* ------------------------------------------------------------ buy form */
.nlcc-buy { display: grid; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.nlcc-seg { display: flex; flex-wrap: wrap; gap: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; margin: 0; background: var(--cream); }
.nlcc-seg legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nlcc-seg label { flex: 1 1 auto; position: relative; margin: 0; cursor: pointer; }
.nlcc-seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nlcc-seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .9375rem; text-align: center; color: var(--ink-2); }
.nlcc-seg input:checked + span { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(28, 26, 23, .15); }
.nlcc-seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 1px; }
.nlcc-pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.nlcc-pkgs legend { font-weight: 700; font-size: .9375rem; margin-bottom: 6px; padding: 0; }
.nlcc-pkg { position: relative; display: block; cursor: pointer; margin: 0; }
.nlcc-pkg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nlcc-pkg__b { display: grid; gap: 1px; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; height: 100%; }
.nlcc-pkg__b b { font-size: .9375rem; }
.nlcc-pkg__p { font-weight: 800; font-size: 1.125rem; color: var(--ink); }
.nlcc-pkg__b small { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.nlcc-pkg__b .nlcc-pkg__save { color: var(--nlcc-ok, #17713f); font-weight: 700; }
.nlcc-pkg input:checked + .nlcc-pkg__b { border-color: var(--red); background: var(--red-50); box-shadow: inset 0 0 0 1px var(--red); }
.nlcc-pkg input:focus-visible + .nlcc-pkg__b { outline: 3px solid var(--gold); outline-offset: 2px; }
.nlcc-custom input[type=number] { width: 100%; max-width: 220px; height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: 1.0625rem var(--font); background: #fff; text-align: left; }
.nlcc-custom input:focus { border-color: var(--red); }
.nlcc-total { margin: 0; font-size: 1rem; min-height: 1.6em; }
.nlcc-total b { font-size: 1.375rem; color: var(--ink); }
.nlcc-total small { display: block; color: var(--muted); font-size: .8125rem; }
.nlcc-total .nlcc-save { color: var(--nlcc-ok, #17713f); font-weight: 700; }
.nlcc-err { margin: 0; padding: 8px 12px; border-radius: var(--r-sm); background: var(--red-50); color: var(--red-d); font-weight: 600; font-size: .9375rem; }
.nlcc-buy .nlc-ok { padding: 14px; }
.nlcc-buy .nlc-ok p { margin: 0 0 6px; }

.nlcc-withlink { margin: 22px 0 0; padding: 14px 18px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }

/* ------------------------------------------------------------ comparison */
.nlcc-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.nlcc-scroll:focus-visible { outline: 3px solid var(--gold); }
.nlcc-cmp { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .9375rem; }
.nlcc-cmp th, .nlcc-cmp td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.nlcc-cmp thead th { border-top: 0; background: var(--cream); font-weight: 800; }
.nlcc-cmp tbody th { text-align: start; font-weight: 600; color: var(--ink-2); }
.nlcc-y { color: var(--nlcc-ok, #17713f); font-weight: 800; font-size: 1.125rem; }
.nlcc-n { color: #999; font-weight: 800; }
.nlcc-cta { margin-top: 32px; padding: 24px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); text-align: center; }
.nlcc-cta h2 { margin-top: 0 !important; }

/* ------------------------------------------------------------ account */
.nlcc-acc { display: grid; gap: 16px; }
.nlcc-acc__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.nlcc-acc__top p { margin: 0; color: var(--ink-2); }
.nlcc-msg { margin: 0; padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600; }
.nlcc-msg--ok { background: #eef8f1; border: 1px solid #bfe3cb; color: #145c34; }
.nlcc-msg--err { background: var(--red-50); border: 1px solid #f1c7cb; color: var(--red-d); }
.nlcc-bals { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.nlcc-bal { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 8px; align-content: start; }
.nlcc-bal--empty { background: var(--cream); }
.nlcc-bal h3 { margin: 0 !important; font-size: 1.0625rem; }
.nlcc-bal__n { margin: 0; color: var(--ink-2); }
.nlcc-bal__n b { font-size: 1.625rem; color: var(--ink); font-weight: 800; }
.nlcc-bal__c { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .875rem; color: var(--muted); }
.nlcc-bal__c li { margin: 0 !important; }
.nlcc-bal__c b { color: var(--ink); }
.nlcc-bal__c .is-hot, .nlcc-bal__c .is-hot b { color: var(--red); font-weight: 700; }
.nlcc-bal__a { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nlcc-hint { font-size: .8125rem; color: var(--muted); }
.nlcc-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--line); margin-top: 8px; }
.nlcc-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; text-decoration: none; color: var(--ink-2); font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -2px; }
@media (hover: hover) and (pointer: fine) { .nlcc-tabs a:hover { color: var(--red); } }
.nlcc-tabs a.is-on { color: var(--red); border-bottom-color: var(--red); }
.nlcc-tbl-wrap { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.nlcc-tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.nlcc-tbl th, .nlcc-tbl td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: start; vertical-align: middle; }
.nlcc-tbl thead th { border-top: 0; background: var(--cream); font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
.nlcc-tbl thead th a { color: inherit; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
@media (hover: hover) and (pointer: fine) { .nlcc-tbl thead th a:hover { color: var(--red); } }
.nlcc-tbl tr.is-hot td { background: #fffaf0; }
.nlcc-tbl small { color: var(--muted); }
.nlcc-acts { white-space: nowrap; }
.nlcc-acts a { display: inline-block; padding: 6px 0; }
.nlcc-assign { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nlcc-assign select { max-width: 230px; height: 38px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: .875rem var(--font); background: #fff; }
.nlcc-inline { display: inline; margin: 0; }
.nlcc-muted { color: var(--muted); }
.nlcc-plus { color: var(--nlcc-ok, #17713f); font-weight: 700; }
.nlcc-minus { color: var(--ink-2); font-weight: 700; }
.nlcc-cancelled { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: #fff; }
.nlcc-cancelled summary { cursor: pointer; padding: 10px 0; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.nlcc-note { font-size: .9375rem; color: var(--muted); margin: 0; }
.nlc-st--review { background: var(--red-50); color: var(--red-d); }
.nlcc-h { margin: 0 !important; font-size: 1.5rem; }
.nlcc-bal-line { margin: 0; }
.nlcc-brief { display: grid; gap: 14px; margin-top: 0 !important; }
.nlcc-brief fieldset { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; margin: 0; display: grid; gap: 10px; }
.nlcc-brief fieldset legend { font-weight: 800; padding: 0 6px; }
.nlcc-brief textarea[dir=ltr], .nlcc-brief input[dir=ltr] { text-align: left; }
.nlcc-brief [aria-invalid=true] { border-color: var(--red) !important; box-shadow: 0 0 0 3px var(--red-50); }
.nlcc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.nlcc-job { display: grid; gap: 14px; }
.nlcc-job__h { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nlcc-steps-mini { display: flex; list-style: none; padding: 0 !important; margin: 0; gap: 0; counter-reset: s; flex-wrap: wrap; }
.nlcc-steps-mini li { flex: 1 1 0; min-width: 70px; margin: 0 !important; padding: 8px 4px 0; border-top: 4px solid var(--line); text-align: center; font-size: .8125rem; color: var(--muted); }
.nlcc-steps-mini .is-done { border-top-color: #9fd3b2; color: var(--ink-2); }
.nlcc-steps-mini .is-now { border-top-color: var(--red); color: var(--red); font-weight: 800; }
.nlcc-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); }
.nlcc-dl div { min-width: 0; }
.nlcc-dl dt { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.nlcc-dl dd { margin: 0; overflow-wrap: anywhere; }
.nlcc-plain { list-style: none; padding: 0 !important; margin: 0; }
.nlcc-fb { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: #fff; }
.nlcc-fb summary { cursor: pointer; padding: 10px 0; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.nlcc-art { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 18px 20px; overflow-wrap: anywhere; }
.nlcc-art__meta { margin: 0 0 10px; font-size: .8125rem; color: var(--muted); }
.nlcc-art__body { line-height: 1.75; }
.nlcc-art__body img { max-width: 100%; height: auto; }
.nlcc-art__body table { max-width: 100%; display: block; overflow-x: auto; }
.nlcc-art__doc { margin: 10px 0 0; }
.nlcc-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0; }
.nlcc-copied { color: var(--nlcc-ok, #17713f); font-weight: 700; font-size: .875rem; }
.nlcc-review { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px; border: 2px solid var(--red-50); border-radius: var(--r); background: #fffaf9; }
.nlcc-review__fix { display: grid; gap: 8px; }
.nlcc-review textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: 1rem var(--font); box-sizing: border-box; }
.nlcc-review textarea:focus { border-color: var(--red); }
.nlcc-guestbox { padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r); background: #fff; display: grid; gap: 8px; }
.nlcc-guestbox h3 { margin: 0 !important; font-size: 1.0625rem; }
.nlcc-guestbox p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.nlcc-guestbox input[readonly] { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--cream); font: .875rem var(--font); box-sizing: border-box; }
.nlcc-cancel { margin-top: 4px; }
.nlcc-guest { display: grid; gap: 14px; }

@media (max-width: 900px) {
	.nlcc-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.nlcc-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
	.nlcc-steps { grid-template-columns: 1fr; }
	.nlcc-row2 { grid-template-columns: 1fr; }
	.nlcc-review { grid-template-columns: 1fr; }
	.nlcc-card { padding: 16px; }
	/* tables become stacked cards */
	.nlcc-tbl-wrap { border: 0; background: none; }
	.nlcc-tbl, .nlcc-tbl tbody, .nlcc-tbl tr, .nlcc-tbl td { display: block; width: 100%; }
	.nlcc-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.nlcc-tbl tr { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: 10px; padding: 6px 12px; }
	.nlcc-tbl td { border-top: 0; padding: 5px 0; }
	.nlcc-tbl td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-size: .8125rem; font-weight: 600; }
	.nlcc-assign select { max-width: 100%; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.nlcc-card { scroll-margin-top: 90px; }
}

/* ================================================================ premium pass 2026-10-04 (design-system/MASTER.md)
   Hero chips, the package / word-count picker's press + selection motion, SVG yes/no marks, the reveal when the
   picker switches between "חבילה" and "כמות לבחירה". transform + opacity only; hover only on fine pointers; reveals
   run only after the first paint (content.js adds .nlcc-anim). */
:root { --nlcc-yes-bg: #e3f4e9; --nlcc-no-bg: #eee; --nlcc-no: #6f6f6f; --nlcc-line-up: #d6c9b2; --nlcc-chip: rgba(255, 255, 255, .78); }
.nlc-hero .nlcc-jump { margin: 0; gap: 8px; }
.nlc-hero .nlcc-jump a { background: var(--nlcc-chip); border-color: transparent; box-shadow: 0 1px 2px rgba(28, 26, 23, .06); }

.nlcc-jump a, .nlcc .nlc-btn, .nlcc-acc .nlc-btn, .nlcc-tabs a {
	transition: background-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}
.nlcc-jump a:active, .nlcc .nlc-btn:active, .nlcc-acc .nlc-btn:active, .nlcc-tabs a:active { transform: scale(0.97); }
.nlcc-jump a:hover { border-color: var(--line); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
	.nlcc-jump a:hover { border-color: var(--red); color: var(--red); }
	.nlc-hero .nlcc-jump a:hover { background: #fff; }
}

/* segmented "חבילה / כמות לבחירה": the white pill and its colour follow the choice */
.nlcc-seg span { transition: background-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
.nlcc-seg label:active span { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
	.nlcc-seg input:not(:checked) + span:hover { color: var(--ink); }
}

/* package tiles */
.nlcc-pkg__b { transition: border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), background-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
.nlcc-pkg:active .nlcc-pkg__b { transform: scale(0.97); }
.nlcc-pkg__p, .nlcc-total b { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
	.nlcc-pkg:hover input:not(:checked) + .nlcc-pkg__b { border-color: var(--nlcc-line-up); }
}

/* word-count field */
.nlcc-custom input[type=number] { transition: border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); font-variant-numeric: tabular-nums; }

/* yes / no marks (SVG) */
.nlcc-feat__i svg { display: block; }
.nlcc-y, .nlcc-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.nlcc-y { background: var(--nlcc-yes-bg); color: var(--nlcc-ok, #17713f); }
.nlcc-n { background: var(--nlcc-no-bg); color: var(--nlcc-no); }
.nlcc-y svg, .nlcc-n svg { display: block; }

/* the picker part that appears when the mode changes, and the "added to cart" box */
@media (prefers-reduced-motion: no-preference) {
	.nlcc-anim .nlcc-pkgs, .nlcc-anim .nlcc-custom, .nlcc-anim [data-nlcc-ok] > * {
		transition: opacity 200ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 200ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
	}
	@starting-style {
		.nlcc-anim .nlcc-pkgs:not([hidden]), .nlcc-anim .nlcc-custom:not([hidden]), .nlcc-anim [data-nlcc-ok] > * { opacity: 0; transform: translateY(6px); }
	}
}
@media (prefers-reduced-motion: reduce) {
	.nlcc-jump a:active, .nlcc .nlc-btn:active, .nlcc-acc .nlc-btn:active, .nlcc-tabs a:active, .nlcc-seg label:active span, .nlcc-pkg:active .nlcc-pkg__b { transform: none; }
}
