/* ==========================================================================
NANKAI v6.6 — CONSOLIDATED SINGLE CASCADE
Replaces the v6.1 base plus all appended patches (v6.2, v6.5.1–v6.5.4, v6.6).
One file, no append-only blocks. Swiss-Brutalist / Inkan system:
sharp edges, high contrast, zero grain, zero rotation, zero marquee.
Scoped under body.nk-mod on the frontend; admin chrome is scoped under
body.nk-admin-page (never nk-mod — the base reset would strip WP admin UI).
Brand accent: #bf0001 (inkan red). Single documented radius exception:
hanko seals and ticket punch notches (reference sheet 1).
========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	/* Neutrals */
	--nk-ink:        #141414;
	--nk-paper:      #FAFAF7;
	--nk-panel:      #FFFFFF;
	--nk-line:       #141414;
	--nk-line-soft:  #D8D4CC;
	--nk-muted:      #5D584F;
	--nk-concrete:   #E9E1D2;
	--nk-wheat:      #EFE2C4;
	/* Brand */
	--nk-accent:     #bf0001;
	/* Semantic */
	--nk-error:        #8F130B;
	--nk-error-bg:     #FFF3F2;
	--nk-warn-line:    #8A6D00;
	--nk-warn-bg:      #FFF9E8;
	--nk-warn-text:    #5D4A00;
	--nk-success-line: #14532D;
	--nk-success-bg:   #EDF6EF;
	--nk-success-text: #14532D;
	/* Tier colours */
	--nk-t1:  #F5B841;
	--nk-t2a: #E4572E;
	--nk-t2b: #7A6A66;
	--nk-t3:  #8A9A5B;
	/* Layout */
	--nk-header-h: 58px;
	/* Assets (protocol-safe) */
	--nk-logo: url('https://naankai.sharmas.jp/wp-content/uploads/2026/09/naankai-logo-03.webp');
	/* Typography — system stack only (Total Data Ownership: no font requests) */
	--nk-font:
		"Helvetica Neue", Helvetica, Arial,
		"Hiragino Kaku Gothic ProN", "Hiragino Sans",
		"Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
	--nk-mono:
		ui-monospace, SFMono-Regular, Menlo,
		Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. Base reset (frontend) ---------- */
html { scroll-behavior: auto; overflow-x: hidden; max-width: 100%; }
body.nk-mod {
	margin: 0;
	background: var(--nk-paper);
	color: var(--nk-ink);
	font-family: var(--nk-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-bottom: 56px;
	overflow-x: hidden;
	max-width: 100%;
}
body.nk-mod *,
body.nk-mod *::before,
body.nk-mod *::after { box-sizing: border-box; border-radius: 0 !important; }
::selection { background: var(--nk-accent); color: var(--nk-paper); }
body.nk-mod img { max-width: 100%; height: auto; display: block; }
body.nk-mod a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
body.nk-mod a:hover { color: var(--nk-accent); }
body.nk-mod :focus-visible { outline: 3px solid var(--nk-accent); outline-offset: 2px; }
body.nk-mod [hidden] { display: none !important; }
body.nk-mod button,
body.nk-mod input,
body.nk-mod select,
body.nk-mod textarea { font: inherit; color: inherit; }
body.nk-mod button { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; }
body.nk-mod h1, body.nk-mod h2, body.nk-mod h3,
body.nk-mod h4, body.nk-mod h5, body.nk-mod h6 {
	margin: 0 0 0.5em; font-weight: 800; line-height: 1.08; letter-spacing: 0;
}
body.nk-mod h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
body.nk-mod h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
body.nk-mod h3 { font-size: 1.25rem; }
body.nk-mod p { margin: 0 0 1em; }
body.nk-mod ul, body.nk-mod ol { margin: 0 0 1em; padding-left: 1.2em; }
body.nk-mod code, body.nk-mod pre { font-family: var(--nk-mono); }

/* ---------- 3. Legacy decorative remnants: off ---------- */
body.nk-mod .nk-grain,
body.nk-mod .nk-grain-paper,
body.nk-mod .nk-grain-ink,
body.nk-mod .nk-hanging-tab,
body.nk-mod .nk-marquee,
body.nk-mod .nk-marquee-track,
body.nk-mod .nk-marquee-text,
body.nk-mod .nk-photo-collage,
body.nk-mod .nk-dm-tab-wrap,
body.nk-mod .nk-dm-tab,
body.nk-mod .nk-dm-collage,
body.nk-mod .nk-dm-collage-img,
body.nk-mod .nk-dm-statement,
body.nk-mod .nk-dm-statement-in,
body.nk-mod .nk-dm-statement-text,
body.nk-mod .nk-dm-flank,
body.nk-mod .nk-dm-sticker,
body.nk-mod .nk-dm-hash,
body.nk-mod .nk-dm-footnav,
body.nk-mod .nk-dm-footseal,
body.nk-mod .nk-dm-social,
body.nk-mod .nk-dm-notice,
body.nk-mod .nk-dm-nav-glyph,
body.nk-mod .nk-dm-stage-nav,
body.nk-mod .nk-dm-stage-bg-text,
body.nk-mod .nk-dm-stage { display: none !important; }

/* ---------- 4. Layout primitives ---------- */
body.nk-mod .nk-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
body.nk-mod .nk-section,
body.nk-mod .nk-storefront-section,
body.nk-mod .nk-settings-section,
body.nk-mod .nk-profile-section,
body.nk-mod .nk-reports-wrap,
body.nk-mod .nk-analytics-wrap,
body.nk-mod .nk-design-hub,
body.nk-mod .nk-lean-wrap { padding: 32px 0; }
body.nk-mod .nk-storefront-section { border-top: 3px solid var(--nk-line); }
body.nk-mod .nk-sec {
	position: relative;
	padding: clamp(56px, 7vw, 104px) 20px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
body.nk-mod .nk-sec-in { max-width: 1240px; margin: 0 auto; }
body.nk-mod .nk-sec--paper { background: var(--nk-paper); }
body.nk-mod .nk-sec--concrete { background: var(--nk-concrete); }
body.nk-mod .nk-sec--ink { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .nk-sec-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
body.nk-mod .nk-sec-num {
	font-family: var(--nk-font);
	font-size: clamp(2rem, 6vw, 3.4rem);
	line-height: 1; color: var(--nk-accent); font-weight: 900;
}
body.nk-mod .nk-sec-title { font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.6rem); margin: 0; }
body.nk-mod .nk-sec-en {
	display: block; font-family: var(--nk-mono); font-size: .66rem; font-weight: 700;
	letter-spacing: .25em; text-transform: uppercase; opacity: .7; margin-top: 6px;
}
body.nk-mod .nk-sec .nk-perforation { margin: 20px 0 28px; }
body.nk-mod .nk-section-head,
body.nk-mod .nk-lean-head,
body.nk-mod .nk-dh-head,
body.nk-mod .nk-pos-panel-head,
body.nk-mod .nk-kds-head {
	display: flex; justify-content: space-between; align-items: flex-start;
	gap: 18px; margin-bottom: 20px; flex-wrap: wrap;
}
body.nk-mod .nk-section-title,
body.nk-mod .nk-lean-title,
body.nk-mod .nk-dh-title,
body.nk-mod .nk-pos-panel-title { font-size: 1.4rem; font-weight: 900; margin: 0; }
body.nk-mod .nk-sub,
body.nk-mod .nk-lean-sub,
body.nk-mod .nk-dh-sub { color: var(--nk-muted); margin: 4px 0 0; }
body.nk-mod .nk-actions,
body.nk-mod .nk-dh-actions,
body.nk-mod .nk-lean-actions,
body.nk-mod .nk-route-actions,
body.nk-mod .nk-form-actions,
body.nk-mod .nk-incident-note-actions,
body.nk-mod .nk-mrp-actions,
body.nk-mod .nk-factory-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- 5. Bands, header, utility bar ---------- */
body.nk-mod .nk-band {
	background: var(--nk-accent); color: var(--nk-paper);
	padding: 10px 20px; font-family: var(--nk-mono); font-size: .72rem;
	font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
	margin-bottom: 16px;
}
body.nk-mod .nk-info-band {
	background: var(--nk-wheat); color: var(--nk-ink);
	padding: 16px 24px; border: 1px solid var(--nk-line-soft);
	font-weight: 700; position: relative;
}
body.nk-mod .nk-banner {
	background: var(--nk-accent); color: var(--nk-paper);
	border-bottom: 2px solid var(--nk-ink);
	padding: 10px 14px; text-align: center; font-weight: 800; font-size: .9rem;
}
body.nk-mod .nk-header {
	position: sticky; top: 0; z-index: 100;
	min-height: var(--nk-header-h);
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 0 20px;
	background: var(--nk-paper); border-bottom: 3px solid var(--nk-line);
}
body.nk-mod .nk-brand,
body.nk-mod .nk-logo { font-weight: 900; font-size: 1.15rem; text-decoration: none; }
/* Header block pattern (nk-header-bar) */
body.nk-mod .nk-header-bar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap; min-height: 64px;
}
body.nk-mod .nk-header-chip {
	font-family: var(--nk-mono); font-size: .68rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
	background: var(--nk-accent); color: #fff;
	padding: 6px 10px; margin: 0; white-space: nowrap;
}
body.nk-mod .nk-header-nav { font-family: var(--nk-mono); }
body.nk-mod .nk-cutoff { font-weight: 700; }
/* Fixed utility bar (footer chrome) */
body.nk-mod .nk-utility {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
	background: var(--nk-ink); color: var(--nk-paper);
	border-top: 2px solid var(--nk-accent);
	display: flex !important; justify-content: space-between; align-items: center;
	gap: 16px; flex-wrap: wrap; padding: 10px 14px;
	font-family: var(--nk-mono); font-size: .68rem; letter-spacing: .08em;
}
body.nk-mod .nk-utility > span { display: inline-block; color: var(--nk-paper); }
body.nk-mod .nk-utility a,
body.nk-mod .nk-utility > span a { color: var(--nk-paper); font-weight: 700; text-decoration: none; }
body.nk-mod .nk-utility a:hover { text-decoration: underline; }
body.nk-mod .nk-utility-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
	display: flex; justify-content: center; gap: 18px; padding: 10px 16px;
	background: var(--nk-ink); color: #fff; font-size: .8rem;
	border-top: 3px solid var(--nk-line);
}
body.nk-mod .nk-utility-bar a { color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
body.nk-mod .nk-utility-bar a:hover { text-decoration: underline; }

/* ---------- 6. Typography helpers ---------- */
body.nk-mod .nk-micro,
body.nk-mod .nk-pos-tier,
body.nk-mod .nk-kpi-label,
body.nk-mod .nk-wall-en,
body.nk-mod .nk-details strong,
body.nk-mod .nk-drv-meta,
body.nk-mod .nk-cart-total,
body.nk-mod .nk-pos-stock,
body.nk-mod .nk-hero-cutoff,
body.nk-mod .nk-drv-badge,
body.nk-mod .nk-table th,
body.nk-mod .nk-bal-exp,
body.nk-mod .nk-bal-lbl,
body.nk-mod .nk-wall-cutoff { font-family: var(--nk-mono); }
body.nk-mod .nk-pos-tier,
body.nk-mod .nk-kpi-label,
body.nk-mod .nk-wall-en,
body.nk-mod .nk-table th,
body.nk-mod .nk-details strong {
	font-size: .68rem; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--nk-muted);
}
body.nk-mod .nk-label {
	font-family: var(--nk-mono); font-size: .75rem; font-weight: 700;
	letter-spacing: .25em; text-transform: uppercase;
	color: var(--nk-accent); margin-bottom: 16px; display: block;
}
body.nk-mod .nk-spaced { letter-spacing: .3em; font-weight: 900; }
body.nk-mod .nk-vertical { writing-mode: vertical-rl; letter-spacing: .2em; }

/* ---------- 7. Buttons ---------- */
body.nk-mod .nk-btn,
body.nk-mod button.nk-btn,
body.nk-mod a.nk-btn,
body.nk-mod .nk-tier-buy,
body.nk-mod .nk-store-meal-buy,
body.nk-mod .nk-meal-select,
body.nk-mod .nk-meal-skip,
body.nk-mod .nk-method-btn,
body.nk-mod .nk-kds-complete,
body.nk-mod .nk-building-approve,
body.nk-mod .nk-building-reject,
body.nk-mod .nk-customer-approve,
body.nk-mod .nk-mrp-note-save,
body.nk-mod .nk-incident-note-submit,
body.nk-mod .nk-micro-form button,
body.nk-mod .nk-kanban-move {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 16px;
	border: 2px solid var(--nk-line);
	background: var(--nk-panel); color: var(--nk-ink);
	font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem;
	transition: background-color .12s ease, color .12s ease;
}
body.nk-mod .nk-btn:hover,
body.nk-mod .nk-tier-buy:hover,
body.nk-mod .nk-store-meal-buy:hover,
body.nk-mod .nk-meal-select:hover,
body.nk-mod .nk-meal-skip:hover,
body.nk-mod .nk-method-btn:hover,
body.nk-mod .nk-kds-complete:hover,
body.nk-mod .nk-building-approve:hover,
body.nk-mod .nk-building-reject:hover,
body.nk-mod .nk-customer-approve:hover { background: var(--nk-ink); color: #fff; }
body.nk-mod .nk-btn--primary,
body.nk-mod .nk-tier-buy,
body.nk-mod .nk-store-meal-buy,
body.nk-mod .nk-meal-select,
body.nk-mod .nk-method-btn.is-active,
body.nk-mod .nk-building-approve,
body.nk-mod .nk-customer-approve,
body.nk-mod .nk-kds-complete { background: var(--nk-ink); color: #fff; }
body.nk-mod .nk-btn--danger,
body.nk-mod .nk-building-reject,
body.nk-mod .nk-mrp-delete,
body.nk-mod .nk-ingredient-delete,
body.nk-mod .nk-dh-delete,
body.nk-mod .nk-cart-remove { border-color: var(--nk-error); color: var(--nk-error); background: var(--nk-error-bg); }
body.nk-mod .nk-btn--danger:hover,
body.nk-mod .nk-building-reject:hover,
body.nk-mod .nk-mrp-delete:hover,
body.nk-mod .nk-ingredient-delete:hover,
body.nk-mod .nk-dh-delete:hover,
body.nk-mod .nk-cart-remove:hover { background: var(--nk-error); color: #fff; }
body.nk-mod .nk-btn[disabled],
body.nk-mod button[disabled] { opacity: .45; cursor: not-allowed; }
/* Legacy aliases still referenced by templates */
body.nk-mod .nk-btn-red {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 10px 22px;
	background: var(--nk-accent); color: var(--nk-paper);
	border: 1px solid var(--nk-accent);
	font-weight: 800; font-size: 1rem; cursor: pointer; text-decoration: none; text-align: center;
}
body.nk-mod .nk-btn-red:hover { background: #8a0001; }
body.nk-mod .nk-btn-ink {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 10px 22px;
	background: var(--nk-ink); color: var(--nk-paper);
	border: 1px solid var(--nk-ink);
	font-weight: 800; font-size: 1rem; cursor: pointer; text-decoration: none; text-align: center;
}
body.nk-mod .nk-btn-ink:hover { background: var(--nk-accent); }
body.nk-mod .nk-btn-line,
body.nk-mod .nk-btn-plain,
body.nk-mod .nk-btn-sec {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 10px 22px;
	background: transparent; color: var(--nk-ink);
	border: 1px solid var(--nk-line-soft);
	font-weight: 700; cursor: pointer; text-decoration: none;
}
body.nk-mod .nk-btn-line:hover,
body.nk-mod .nk-btn-plain:hover,
body.nk-mod .nk-btn-sec:hover { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .nk-btn-confirm,
body.nk-mod .nk-btn-primary {
	background: var(--nk-accent); color: var(--nk-paper);
	border: 1px solid var(--nk-accent);
	min-height: 48px; padding: 10px 22px;
	font-weight: 800; cursor: pointer;
}
body.nk-mod .nk-btn-primary { width: 100%; }
body.nk-mod .nk-btn-confirm:hover,
body.nk-mod .nk-btn-primary:hover { background: #8a0001; }
body.nk-mod .nk-qty-btn {
	background: var(--nk-paper); color: var(--nk-ink);
	border: 1px solid var(--nk-line-soft);
	min-height: 40px; width: 40px; padding: 0; font-weight: 900; cursor: pointer;
}
body.nk-mod .nk-qty-ctrl { display: flex; align-items: center; gap: 10px; }
@media (pointer: coarse) {
	body.nk-mod input, body.nk-mod select, body.nk-mod textarea, body.nk-mod button { min-height: 52px; }
}

/* ---------- 8. Forms (selectors corrected) ---------- */
body.nk-mod input[type="text"],
body.nk-mod input[type="email"],
body.nk-mod input[type="tel"],
body.nk-mod input[type="password"],
body.nk-mod input[type="number"],
body.nk-mod input[type="date"],
body.nk-mod input[type="time"],
body.nk-mod input[type="url"],
body.nk-mod input[type="search"],
body.nk-mod select,
body.nk-mod textarea {
	width: 100%; min-height: 48px;
	border: 2px solid var(--nk-line);
	background: #fff; padding: 10px 12px; font-size: 16px;
}
body.nk-mod textarea { min-height: 100px; resize: vertical; }
body.nk-mod input[readonly],
body.nk-mod input[disabled],
body.nk-mod textarea[disabled] { background: #F1EFEA; color: var(--nk-muted); }
body.nk-mod label { display: block; margin: 0 0 6px; font-weight: 700; font-size: .95rem; }
body.nk-mod input:-webkit-autofill,
body.nk-mod input:-webkit-autofill:hover,
body.nk-mod input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px var(--nk-paper) inset;
	-webkit-text-fill-color: var(--nk-ink);
	caret-color: var(--nk-ink);
}
body.nk-mod .nk-form-row,
body.nk-mod .nk-field,
body.nk-mod .nk-dh-field,
body.nk-mod .nk-meal-field,
body.nk-mod .nk-ingredient-field,
body.nk-mod .nk-incident-note-field,
body.nk-mod .nk-route-note,
body.nk-mod .nk-mrp-note,
body.nk-mod .nk-micro-form-head,
body.nk-mod .nk-factory-note { margin-bottom: 16px; }
body.nk-mod .nk-form-row { display: grid; gap: 16px; }
body.nk-mod .nk-field--half,
body.nk-mod .nk-form-row--cols {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
body.nk-mod .nk-inline-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
body.nk-mod .woocommerce form .form-row,
body.nk-mod .woocommerce-form-row { display: block; margin: 0 0 16px; }
body.nk-mod .woocommerce form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .9rem; }
body.nk-mod .woocommerce form .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- 9. Notices / messages ---------- */
body.nk-mod .nk-notice,
body.nk-mod .nk-msg-error,
body.nk-mod .nk-msg-warn,
body.nk-mod .nk-msg-success,
body.nk-mod .nk-error-box,
body.nk-mod .nk-success-box,
body.nk-mod .nk-pending-box,
body.nk-mod .nk-register-notice,
body.nk-mod .nk-balance-notice,
body.nk-mod .nk-pending-note,
body.nk-mod .nk-venue-note-box {
	border: 2px solid var(--nk-line); background: var(--nk-panel);
	padding: 12px 14px; margin: 0 0 16px; font-weight: 600;
}
body.nk-mod .nk-msg-error,
body.nk-mod .nk-error-box,
body.nk-mod .nk-register-notice { border-color: var(--nk-error); background: var(--nk-error-bg); color: var(--nk-error); }
body.nk-mod .nk-msg-warn,
body.nk-mod .nk-pending-box,
body.nk-mod .nk-pending-note,
body.nk-mod .nk-notice.is-warning { border-color: var(--nk-warn-line); background: var(--nk-warn-bg); color: var(--nk-warn-text); }
body.nk-mod .nk-msg-success,
body.nk-mod .nk-success-box,
body.nk-mod .nk-balance-notice { border-color: var(--nk-success-line); background: var(--nk-success-bg); color: var(--nk-success-text); }

/* ---------- 10. Tables ---------- */
body.nk-mod table.nk-admin-table,
body.nk-mod table.nk-table,
body.nk-mod table.nk-audit-table,
body.nk-mod table.nk-analytics-table,
body.nk-mod table.nk-pass-catalog-table,
body.nk-mod table.nk-tiers-table,
body.nk-mod table.nk-meals-table,
body.nk-mod table.nk-mrp-table,
body.nk-mod table.nk-micro-table,
body.nk-mod table.nk-dh-table,
body.nk-mod table.nk-wc-table {
	width: 100%; border-collapse: collapse;
	background: var(--nk-panel); border: 2px solid var(--nk-line);
}
body.nk-mod .nk-admin-table th, body.nk-mod .nk-admin-table td,
body.nk-mod .nk-table th, body.nk-mod .nk-table td,
body.nk-mod .nk-audit-table th, body.nk-mod .nk-audit-table td,
body.nk-mod .nk-analytics-table th, body.nk-mod .nk-analytics-table td,
body.nk-mod .nk-pass-catalog-table th, body.nk-mod .nk-pass-catalog-table td,
body.nk-mod .nk-tiers-table th, body.nk-mod .nk-tiers-table td,
body.nk-mod .nk-meals-table th, body.nk-mod .nk-meals-table td,
body.nk-mod .nk-mrp-table th, body.nk-mod .nk-mrp-table td,
body.nk-mod .nk-micro-table th, body.nk-mod .nk-micro-table td,
body.nk-mod .nk-dh-table th, body.nk-mod .nk-dh-table td,
body.nk-mod .nk-wc-table th, body.nk-mod .nk-wc-table td {
	border-bottom: 1px solid var(--nk-line-soft);
	padding: 10px 12px; text-align: left; vertical-align: top;
}
body.nk-mod .nk-admin-table thead th,
body.nk-mod .nk-table thead th,
body.nk-mod .nk-audit-table thead th,
body.nk-mod .nk-analytics-table thead th,
body.nk-mod .nk-pass-catalog-table thead th,
body.nk-mod .nk-tiers-table thead th,
body.nk-mod .nk-meals-table thead th,
body.nk-mod .nk-mrp-table thead th,
body.nk-mod .nk-micro-table thead th,
body.nk-mod .nk-dh-table thead th,
body.nk-mod .nk-wc-table thead th {
	background: #F2F0EB; border-bottom: 2px solid var(--nk-line); font-weight: 800;
}
body.nk-mod .nk-num,
body.nk-mod td.nk-num,
body.nk-mod th.nk-num { text-align: right; font-variant-numeric: tabular-nums; }
body.nk-mod .entry-content table,
body.nk-mod main table:not(.nk-table) { width: 100%; border-collapse: collapse; border: 1px solid var(--nk-line-soft); }
body.nk-mod .entry-content table th,
body.nk-mod main table:not(.nk-table) th {
	background: var(--nk-ink); color: var(--nk-paper);
	font-family: var(--nk-mono); font-size: .7rem; letter-spacing: .1em;
	text-transform: uppercase; padding: 10px 12px; text-align: left;
}
body.nk-mod .entry-content table td,
body.nk-mod main table:not(.nk-table) td { border: 1px solid var(--nk-concrete); padding: 12px; }

/* ---------- 11. Cards / panels ---------- */
body.nk-mod .nk-stage-card,
body.nk-mod .nk-store-meal-card,
body.nk-mod .nk-store-venue-card,
body.nk-mod .nk-building-row,
body.nk-mod .nk-customer-row,
body.nk-mod .nk-incident,
body.nk-mod .nk-kds-card,
body.nk-mod .nk-manifest-item,
body.nk-mod .nk-route-item,
body.nk-mod .nk-pos-tile,
body.nk-mod .nk-factory-tile,
body.nk-mod .nk-analytics-card,
body.nk-mod .nk-balance-card,
body.nk-mod .nk-micro-card,
body.nk-mod .nk-setting-card,
body.nk-mod .nk-reports-card,
body.nk-mod .nk-dh-card,
body.nk-mod .nk-sale-card,
body.nk-mod .nk-pos-panel,
body.nk-mod .nk-kanban-col,
body.nk-mod .nk-lean-mrp,
body.nk-mod .nk-kanban,
body.nk-mod .nk-profile-note,
body.nk-mod .nk-audit-log,
body.nk-mod .nk-sleeve-card,
body.nk-mod .nk-drv-card,
body.nk-mod .nk-cart { border: 2px solid var(--nk-line); background: var(--nk-panel); }
body.nk-mod .nk-stage-card,
body.nk-mod .nk-store-venue-card,
body.nk-mod .nk-building-row,
body.nk-mod .nk-customer-row,
body.nk-mod .nk-incident,
body.nk-mod .nk-kds-card,
body.nk-mod .nk-manifest-item,
body.nk-mod .nk-route-item,
body.nk-mod .nk-factory-tile,
body.nk-mod .nk-analytics-card,
body.nk-mod .nk-balance-card,
body.nk-mod .nk-micro-card,
body.nk-mod .nk-setting-card,
body.nk-mod .nk-reports-card,
body.nk-mod .nk-sale-card,
body.nk-mod .nk-pos-panel,
body.nk-mod .nk-profile-note { padding: 18px; }
body.nk-mod .nk-audit-log { padding: 12px; font-family: var(--nk-mono); font-size: .85rem; overflow: auto; }

/* ---------- 12. Hero ---------- */
body.nk-mod .nk-hero {
	width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
	background: var(--nk-ink); color: var(--nk-paper);
	border-bottom: 1px solid var(--nk-line-soft);
	padding: 0; margin-top: 0;
	display: grid; grid-template-columns: minmax(0, 1fr);
}
body.nk-mod .nk-hero-media {
	background: var(--nk-ink); min-height: 220px; position: relative; overflow: hidden;
}
body.nk-mod .nk-hero-media img { width: 100%; height: 100%; object-fit: cover; }
body.nk-mod .nk-hero-text { padding: 40px 20px; min-width: 0; }
body.nk-mod .nk-hero-title {
	color: var(--nk-paper); font-weight: 900;
	font-size: clamp(1.9rem, 7vw, 3.6rem); line-height: 1.15; margin: 0 0 12px;
}
body.nk-mod .nk-hero-sub { color: var(--nk-line-soft); line-height: 1.8; margin: 0 0 18px; font-size: .95rem; }
body.nk-mod .nk-hero-cutoff {
	font-family: var(--nk-mono); font-size: .72rem; letter-spacing: .25em;
	text-transform: uppercase; color: var(--nk-paper);
	border-top: 1px solid var(--nk-accent); padding-top: 12px; margin: 0;
}
body.nk-mod .nk-scroll-cue {
	display: inline-block; margin-top: 18px; font-family: var(--nk-mono);
	font-size: .66rem; letter-spacing: .18em; color: var(--nk-paper); text-decoration: none;
}
@media (min-width: 900px) {
	body.nk-mod .nk-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
	body.nk-mod .nk-hero-text { padding: 56px 20px; display: flex; flex-direction: column; justify-content: center; }
}

/* ---------- 13. Spec strip ---------- */
body.nk-mod .nk-specstrip,
body.nk-mod .nk-store-hero-spec {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
	border: 1px solid var(--nk-line-soft); background: var(--nk-paper); margin-top: 24px;
}
body.nk-mod .nk-store-hero-spec { border: 3px solid var(--nk-line); margin: 28px 0; background: #fff; grid-template-columns: repeat(4, 1fr); }
body.nk-mod .nk-spec-cell,
body.nk-mod .nk-store-hero-item { padding: 12px; border-right: 1px solid var(--nk-line-soft); background: transparent; min-width: 0; }
body.nk-mod .nk-store-hero-item { padding: 14px; }
body.nk-mod .nk-spec-cell:last-child,
body.nk-mod .nk-store-hero-item:last-child { border-right: 0; }
body.nk-mod .nk-spec-cell__label,
body.nk-mod .nk-store-hero-item-label {
	font-family: var(--nk-mono); font-size: .62rem; font-weight: 700;
	letter-spacing: .18em; text-transform: uppercase; color: var(--nk-muted); margin-bottom: 4px;
}
body.nk-mod .nk-store-hero-item-label { font-size: .78rem; }
body.nk-mod .nk-spec-cell__value,
body.nk-mod .nk-store-hero-item-value {
	font-size: 1.15rem; line-height: 1.2; color: var(--nk-ink);
	word-break: break-word; font-weight: 900; font-variant-numeric: tabular-nums;
}
body.nk-mod .nk-store-hero-item-value { font-size: 1.25rem; }
@media (max-width: 760px) {
	body.nk-mod .nk-store-hero-spec { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 14. Accordion / rail ---------- */
body.nk-mod .nk-acc { border-top: 2px solid var(--nk-line); }
body.nk-mod .nk-acc-item { border-bottom: 2px solid var(--nk-line); }
body.nk-mod .nk-acc-head { margin: 0; }
body.nk-mod .nk-acc-toggle {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px;
	background: var(--nk-paper); border: 0; cursor: pointer; text-align: left;
	font-family: var(--nk-font); font-size: 1.1rem; font-weight: 900; color: var(--nk-ink);
}
body.nk-mod .nk-acc-toggle:hover { background: var(--nk-concrete); }
body.nk-mod .nk-acc-num { font-family: var(--nk-mono); font-size: .72rem; font-weight: 700; color: var(--nk-accent); letter-spacing: .1em; }
body.nk-mod .nk-acc-title { flex: 1; }
body.nk-mod .nk-acc-jp {
	display: block; font-family: var(--nk-mono); font-size: .62rem; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase; color: var(--nk-muted); margin-top: 2px;
}
body.nk-mod .nk-acc-meta { font-family: var(--nk-mono); font-size: .68rem; color: var(--nk-muted); white-space: nowrap; }
body.nk-mod .nk-acc-glyph { width: 20px; height: 20px; border: 2px solid var(--nk-ink); position: relative; flex-shrink: 0; }
body.nk-mod .nk-acc-glyph::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 10px; height: 2px; background: var(--nk-ink); transform: translate(-50%, -50%);
}
body.nk-mod .nk-acc-item.open .nk-acc-glyph::before {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 2px; height: 10px; background: var(--nk-ink); transform: translate(-50%, -50%);
}
body.nk-mod .nk-acc-panel { display: none; }
body.nk-mod .nk-acc-item.open .nk-acc-panel { display: block; }
body.nk-mod .nk-acc-inner { border-top: 1px solid var(--nk-line-soft); }
body.nk-mod .nk-acc-pad { padding: 24px 20px; }
/* Home-index accent color-blocking */
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-toggle { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-toggle:hover { background: #000; }
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-jp,
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-meta { color: #C9C4BB; }
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-glyph { border-color: var(--nk-paper); }
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-glyph::after,
body.nk-mod .nk-acc-item[data-accent="ink"] .nk-acc-glyph::before { background: var(--nk-paper); }
body.nk-mod .nk-acc-item[data-accent="concrete"] .nk-acc-panel { background: var(--nk-concrete); }
body.nk-mod .nk-acc-item[data-accent="wheat"] .nk-acc-panel { background: var(--nk-wheat); }
body.nk-mod .nk-acc-item[data-accent="red"] .nk-acc-inner { border-top: 3px solid var(--nk-accent); }
/* Section rail */
body.nk-mod .nk-rail {
	position: fixed; right: 12px; top: 50%; transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 6px; z-index: 9999;
}
body.nk-mod .nk-rail button {
	width: 36px; height: 36px; border: 2px solid var(--nk-ink); background: var(--nk-paper);
	font-family: var(--nk-mono); font-size: .68rem; font-weight: 700; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
body.nk-mod .nk-rail button[aria-current="true"],
body.nk-mod .nk-rail button:hover { background: var(--nk-ink); color: var(--nk-paper); }

/* ---------- 15. Stamp calendar, day stubs, seals ---------- */
body.nk-mod .nk-stampgrid {
	display: grid; gap: 1px; background: var(--nk-line-soft);
	border: 1px solid var(--nk-line-soft); margin: 24px 0 8px;
}
body.nk-mod .nk-stamp-head {
	background: var(--nk-ink); color: var(--nk-paper);
	font-family: var(--nk-mono); font-weight: 700; font-size: .8rem;
	letter-spacing: .25em; text-align: center; padding: 10px 0;
}
body.nk-mod .nk-stamp-cell {
	background: var(--nk-paper); min-height: 96px;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; padding: 10px 6px; text-decoration: none; position: relative;
}
body.nk-mod .nk-stamp-cell:hover { background: var(--nk-concrete); }
body.nk-mod .nk-stamp-num { font-size: 1.1rem; color: var(--nk-muted); line-height: 1; font-weight: 900; }
body.nk-mod .nk-stamp-meal {
	font-family: var(--nk-mono); font-size: .6rem; font-weight: 700; color: var(--nk-ink);
	max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.nk-mod .nk-stamp-cell--confirm .nk-stamp-num,
body.nk-mod .nk-stamp-cell--wait .nk-stamp-num { color: var(--nk-ink); }
body.nk-mod .nk-stamp-cell--lock,
body.nk-mod .nk-stamp-cell--out-locked { background: var(--nk-concrete); }
body.nk-mod .nk-stamp-cell--out { background: var(--nk-concrete); opacity: .55; pointer-events: none; }
body.nk-mod .nk-stamp-cell .nk-seal { width: 44px; height: 44px; font-size: .95rem; border-width: 2px; }
body.nk-mod .nk-stamp-cell .nk-seal--skip { width: 52px; height: 34px; font-size: .62rem; }
body.nk-mod .nk-stamp-legend { font-family: var(--nk-mono); font-size: .66rem; letter-spacing: .08em; color: var(--nk-muted); margin: 8px 0 28px; }
/* Seals (inkan devices) */
body.nk-mod .nk-seal {
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 900; text-align: center; line-height: 1; position: relative; z-index: 2;
}
body.nk-mod .nk-seal--confirm {
	width: 64px; height: 64px; background: var(--nk-accent); color: var(--nk-paper);
	font-size: 1.2rem; letter-spacing: .05em; border: 3px solid var(--nk-accent);
}
body.nk-mod .nk-seal--wait {
	width: 64px; height: 64px; background: var(--nk-paper); color: var(--nk-accent);
	font-size: 1.2rem; border: 3px solid var(--nk-accent);
}
body.nk-mod .nk-seal--lock {
	width: 56px; height: 56px; background: var(--nk-ink); color: var(--nk-paper);
	font-size: 1rem; letter-spacing: .1em; border: 2px solid var(--nk-ink);
}
body.nk-mod .nk-seal--skip {
	width: 72px; height: 48px; background: transparent; color: var(--nk-muted);
	font-size: .9rem; letter-spacing: .1em; border: 2px solid var(--nk-line-soft);
}
body.nk-mod .nk-seal--fail {
	width: 56px; height: 56px; background: var(--nk-paper); color: #E4572E;
	font-size: 1rem; font-weight: 900; border: 2px solid #E4572E; text-decoration: line-through;
}
/* SCOPED RADIUS EXCEPTION — hanko geometry (reference sheet 1).
   The global sharp-edge reset stands everywhere else. */
body.nk-mod .nk-seal--confirm,
body.nk-mod .nk-seal--wait,
body.nk-mod .nk-seal--lock { border-radius: 50% !important; }
body.nk-mod .nk-seal--confirm,
body.nk-mod .nk-seal--wait { box-shadow: inset 0 0 0 2px rgba(250, 250, 247, .85); }
body.nk-mod .nk-seal--lock { box-shadow: inset 0 0 0 2px rgba(20, 20, 20, .35); }
body.nk-mod .nk-seal--corner {
	position: absolute; right: 12px; bottom: 44px; width: 40px; height: 40px;
	border-radius: 50% !important;
	background: var(--nk-accent); color: var(--nk-paper);
	border: 2px solid var(--nk-accent);
	box-shadow: inset 0 0 0 2px rgba(250, 250, 247, .85);
	font-size: .68rem;
}
/* Day stubs */
body.nk-mod .nk-day { display: block; border: 0; padding: 0; }
body.nk-mod .nk-day.nk-ticket { margin: 0 0 24px; padding: 20px 20px 24px; }
body.nk-mod .nk-day-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; }
body.nk-mod .nk-day-date { font-weight: 900; font-size: clamp(1.4rem, 5vw, 2rem); letter-spacing: -0.01em; color: var(--nk-ink); }
body.nk-mod .nk-day .nk-perforation { margin: 14px 0 18px; }
body.nk-mod .nk-day select { width: 100%; }
body.nk-mod .nk-day-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
body.nk-mod .nk-details { margin-top: 12px; border-top: 1px solid var(--nk-line-soft); padding-top: 10px; font-size: .88rem; }
body.nk-mod .nk-details p,
body.nk-mod .nk-details-panel p { border-bottom: 1px solid var(--nk-concrete); padding: 6px 0; margin: 0; }
body.nk-mod .nk-perforation { border-top: 2px dashed var(--nk-line-soft); margin: 28px 0; position: relative; }
body.nk-mod .nk-ticket { position: relative; background: var(--nk-paper); border: 1px solid var(--nk-line-soft); padding: 24px; }

/* ---------- 16. Catalog grid / sales wall (selectors corrected) ---------- */
body.nk-mod .nk-catalog-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 0; border: 1px solid var(--nk-line-soft); background: var(--nk-paper);
}
body.nk-mod .nk-catalog-card {
	border-right: 1px solid var(--nk-line-soft);
	border-top: 2px dashed var(--nk-line-soft);
	padding: 24px 20px; display: flex; flex-direction: column; position: relative;
}
body.nk-mod .nk-catalog-card:last-child { border-right: 0; }
body.nk-mod .nk-catalog-card.featured { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .nk-catalog-duration {
	font-family: var(--nk-mono); font-size: .72rem; font-weight: 700;
	letter-spacing: .25em; text-transform: uppercase; color: var(--nk-muted); margin-bottom: 8px;
}
body.nk-mod .nk-catalog-card.featured .nk-catalog-duration { color: var(--nk-line-soft); }
body.nk-mod .nk-catalog-title { font-size: 1.4rem; font-weight: 900; line-height: 1.1; margin: 0 0 12px; }
body.nk-mod .nk-catalog-price { font-size: 1.6rem; color: var(--nk-accent); margin-bottom: 4px; font-weight: 900; }
body.nk-mod .nk-catalog-card.featured .nk-catalog-price { color: var(--nk-paper); }
body.nk-mod .nk-catalog-perday { font-family: var(--nk-mono); font-size: .72rem; color: var(--nk-muted); margin-bottom: 16px; }
body.nk-mod .nk-catalog-card.featured .nk-catalog-perday { color: var(--nk-concrete); }
body.nk-mod .nk-catalog-props { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--nk-concrete); padding-top: 12px; }
body.nk-mod .nk-catalog-card.featured .nk-catalog-props { border-top-color: var(--nk-muted); }
body.nk-mod .nk-catalog-props li { font-size: .82rem; line-height: 1.5; padding: 4px 0; color: var(--nk-ink); }
body.nk-mod .nk-catalog-card.featured .nk-catalog-props li { color: var(--nk-paper); }
body.nk-mod .nk-catalog-props li::before { content: "— "; color: var(--nk-muted); font-weight: 700; }
body.nk-mod .nk-catalog-tiers { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--nk-concrete); }
body.nk-mod .nk-catalog-card.featured .nk-catalog-tiers { border-top-color: var(--nk-muted); }
body.nk-mod .nk-catalog-tier-row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; font-size: .78rem; }
body.nk-mod .nk-catalog-tier-name { font-family: var(--nk-mono); font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--nk-muted); }
body.nk-mod .nk-catalog-card.featured .nk-catalog-tier-name { color: var(--nk-concrete); }
body.nk-mod .nk-catalog-tier-price { font-family: var(--nk-mono); font-weight: 700; color: var(--nk-ink); }
body.nk-mod .nk-catalog-card.featured .nk-catalog-tier-price { color: var(--nk-paper); }
body.nk-mod .nk-catalog-cta {
	display: block; width: 100%; min-height: 44px; margin-top: 16px; padding: 10px;
	border: 1px solid var(--nk-ink); background: var(--nk-ink); color: var(--nk-paper);
	font-weight: 800; font-size: .88rem; text-align: center; text-decoration: none; cursor: pointer;
}
body.nk-mod .nk-catalog-cta:hover { background: var(--nk-accent); color: var(--nk-paper); }
body.nk-mod .nk-catalog-card.featured .nk-catalog-cta { background: var(--nk-paper); color: var(--nk-ink); }
body.nk-mod .nk-catalog-card.featured .nk-catalog-cta:hover { background: var(--nk-accent); color: var(--nk-paper); }
/* Sales wall helpers */
body.nk-mod .nk-sales-wall { padding: 36px 0; }
body.nk-mod .nk-sales-grid {
	display: grid; gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	align-items: stretch;
}
body.nk-mod .nk-tier-row {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nk-line-soft);
}
body.nk-mod .nk-tier-name { font-weight: 700; }
body.nk-mod .nk-tier-price { font-weight: 900; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
body.nk-mod .nk-tier-unit { color: var(--nk-muted); font-size: .85rem; }
body.nk-mod .nk-tier-props { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--nk-muted); }
body.nk-mod .nk-tier-buy { margin-top: auto; width: 100%; }
body.nk-mod .nk-wall-cutoff { font-weight: 700; color: var(--nk-ink); margin-bottom: 20px; }

/* ---------- 17. Balance / Kaisūken tickets (selectors corrected) ---------- */
body.nk-mod .nk-bal { display: grid; gap: 20px; }
body.nk-mod .nk-bal-total { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
body.nk-mod .nk-bal-num { font-size: clamp(3rem, 10vw, 5rem); line-height: .9; color: var(--nk-accent); font-weight: 900; }
body.nk-mod .nk-bal-lbl {
	font-family: var(--nk-mono); font-size: .7rem; letter-spacing: .12em;
	text-transform: uppercase; color: var(--nk-muted);
}
body.nk-mod .nk-bal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nk-ink); }
body.nk-mod .nk-bal-row {
	display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
	padding: 12px 0 12px 26px; border-bottom: 1px solid var(--nk-concrete); position: relative;
}
body.nk-mod .nk-bal-row::before {
	content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 12px; background: var(--nk-ink);
}
body.nk-mod .nk-bal-row[data-tier="tier1"]::before  { background: var(--nk-t1); }
body.nk-mod .nk-bal-row[data-tier="tier2a"]::before { background: var(--nk-t2a); }
body.nk-mod .nk-bal-row[data-tier="tier2b"]::before { background: var(--nk-t2b); }
body.nk-mod .nk-bal-row[data-tier="tier3"]::before  { background: var(--nk-t3); }
body.nk-mod .nk-bal-tier { font-weight: 800; flex: 1 1 200px; }
body.nk-mod .nk-bal-credits { font-family: var(--nk-mono); font-weight: 700; font-size: 1.1rem; }
body.nk-mod .nk-bal-exp { font-family: var(--nk-mono); font-size: .68rem; color: var(--nk-muted); letter-spacing: .08em; }
body.nk-mod .nk-passtickets { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 900px) {
	body.nk-mod .nk-passtickets { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
body.nk-mod .nk-passticket {
	position: relative; display: grid; grid-template-columns: 12px 1fr;
	border: 1px solid var(--nk-line-soft); background: var(--nk-paper);
}
body.nk-mod .nk-passticket-sleeve { background: var(--nk-ink); }
body.nk-mod .nk-passticket[data-tier="tier1"] .nk-passticket-sleeve  { background: var(--nk-t1); }
body.nk-mod .nk-passticket[data-tier="tier2a"] .nk-passticket-sleeve { background: var(--nk-t2a); }
body.nk-mod .nk-passticket[data-tier="tier2b"] .nk-passticket-sleeve { background: var(--nk-t2b); }
body.nk-mod .nk-passticket[data-tier="tier3"] .nk-passticket-sleeve  { background: var(--nk-t3); }
body.nk-mod .nk-passticket-body { padding: 14px 16px; }
body.nk-mod .nk-passticket-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
body.nk-mod .nk-passticket-tier { font-weight: 900; font-size: 1.15rem; }
body.nk-mod .nk-passticket-code { font-family: var(--nk-mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: var(--nk-muted); }
body.nk-mod .nk-passticket-credits { font-size: 2.2rem; line-height: 1; margin: 8px 0 6px; font-weight: 900; }
body.nk-mod .nk-passticket-credits span { font-family: var(--nk-mono); font-size: .72rem; font-weight: 700; color: var(--nk-muted); margin-left: 8px; }
body.nk-mod .nk-passticket-meta {
	display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--nk-mono);
	font-size: .62rem; letter-spacing: .08em; color: var(--nk-muted); margin-bottom: 10px;
}
body.nk-mod .nk-passticket-meta b { display: inline-block; color: var(--nk-ink); font-size: .72rem; margin-top: 2px; }
body.nk-mod .nk-barcode {
	height: 30px;
	background: repeating-linear-gradient(90deg,
		var(--nk-ink) 0 2px, transparent 2px 5px,
		var(--nk-ink) 5px 6px, transparent 6px 9px,
		var(--nk-ink) 9px 12px, transparent 12px 14px);
}
body.nk-mod .nk-passticket-notch-l,
body.nk-mod .nk-passticket-notch-r {
	position: absolute; width: 18px; height: 18px;
	background: var(--nk-paper); border: 1px solid var(--nk-line-soft);
	top: 62%; border-radius: 50% !important; /* scoped exception: punch holes */
}
body.nk-mod .nk-passticket-notch-l { left: -11px; border-right-color: transparent; }
body.nk-mod .nk-passticket-notch-r { right: -11px; border-left-color: transparent; }
/* Ticket-stub variant: Kaisūken sold as horizontal tickets (reference sheet 1) */
body.nk-mod .nk-passticket--sale { grid-template-columns: 1fr; display: flex; flex-direction: column; }
body.nk-mod .nk-passticket--sale .nk-passticket-sleeve {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 14px; font-family: var(--nk-mono); font-size: .7rem; font-weight: 700;
	letter-spacing: .22em; text-transform: uppercase; color: var(--nk-paper);
}
body.nk-mod .nk-passticket--sale[data-tier="tier1"] .nk-passticket-sleeve { color: var(--nk-ink); }
body.nk-mod .nk-passticket--sale .nk-passticket-head-num {
	font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 900; line-height: .95; letter-spacing: -0.02em;
}
/* Punch-hole notches adopt the colour of the surface they sit on:
   ink on the Kaisūken band, paper everywhere else. */
body.nk-mod #nk-store-passes .nk-passticket-notch-l,
body.nk-mod #nk-store-passes .nk-passticket-notch-r {
	background: var(--nk-ink);
	border-color: var(--nk-ink);
}
body.nk-mod .nk-micro-legal {
	font-family: var(--nk-mono); font-size: .58rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--nk-muted); margin: 10px 0 0;
}
/* Balance card (Swiss) */
body.nk-mod .nk-balance-card { display: grid; gap: 14px; }
body.nk-mod .nk-balance-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
body.nk-mod .nk-balance-label { font-size: .85rem; font-weight: 700; color: var(--nk-muted); text-transform: uppercase; letter-spacing: .04em; }
body.nk-mod .nk-balance-count { font-size: 2.6rem; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; }
body.nk-mod .nk-balance-bar { display: grid; gap: 6px; }
body.nk-mod .nk-balance-track { height: 14px; border: 2px solid var(--nk-line); background: #fff; }
body.nk-mod .nk-balance-fill { height: 100%; background: var(--nk-ink); }
body.nk-mod .nk-balance-expiry { font-size: .9rem; color: var(--nk-muted); }
body.nk-mod .nk-balance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
body.nk-mod .nk-balance-item { border: 1px solid var(--nk-line-soft); background: #fff; padding: 10px; }
body.nk-mod .nk-balance-num { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- 18. Steps / onboarding / sleeve cards / lineup ---------- */
body.nk-mod .nk-steps { display: grid; gap: 0; }
body.nk-mod .nk-step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--nk-concrete); }
body.nk-mod .nk-step-num { font-size: 1.6rem; color: var(--nk-accent); line-height: 1; font-weight: 900; }
body.nk-mod .nk-step h3 { margin: 0 0 6px; font-size: 1.2rem; }
body.nk-mod .nk-step p { margin: 0; color: var(--nk-muted); font-size: .92rem; line-height: 1.7; }
body.nk-mod .nk-onb-lead { font-weight: 700; font-size: clamp(1.2rem, 4vw, 1.8rem); margin: 0 0 14px; line-height: 1.5; }
body.nk-mod .nk-onb-list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--nk-ink); }
body.nk-mod .nk-onb-list li { padding: 10px 0; border-bottom: 1px solid var(--nk-concrete); font-family: var(--nk-mono); font-size: .78rem; letter-spacing: .04em; }
body.nk-mod .nk-sleeve-card {
	display: grid; grid-template-columns: 12px 1fr;
	border: 1px solid var(--nk-line-soft); background: var(--nk-paper);
	overflow: hidden; margin-bottom: 16px;
}
body.nk-mod .nk-sleeve-card__band { grid-column: 1; grid-row: 1 / span 3; background: var(--nk-ink); }
body.nk-mod .nk-sleeve-card__band--tier1  { background: var(--nk-t1); }
body.nk-mod .nk-sleeve-card__band--tier2a { background: var(--nk-t2a); }
body.nk-mod .nk-sleeve-card__band--tier2b { background: var(--nk-t2b); }
body.nk-mod .nk-sleeve-card__band--tier3  { background: var(--nk-t3); }
body.nk-mod .nk-sleeve-card__body { grid-column: 2; padding: 16px; display: grid; gap: 12px; }
body.nk-mod .nk-lineup { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--nk-line-soft); }
body.nk-mod .nk-lineup li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nk-concrete); }
body.nk-mod .nk-lineup-thumb { width: 56px; height: 56px; object-fit: cover; background: var(--nk-concrete); border: 2px solid var(--nk-line-soft); flex: none; }
body.nk-mod .nk-lineup-name { font-weight: 700; flex: 1; color: var(--nk-ink); }
body.nk-mod .nk-lineup-allerg { display: block; font-family: var(--nk-mono); font-size: .62rem; color: var(--nk-muted); }
body.nk-mod .nk-price-circle {
	flex: none; width: 56px; height: 56px; border: 2px solid var(--nk-ink);
	display: flex; align-items: center; justify-content: center;
	font-size: .95rem; background: var(--nk-paper); color: var(--nk-ink); font-weight: 900;
}
body.nk-mod .nk-meal-nutr {
	font-family: var(--nk-mono); font-size: .66rem; letter-spacing: .06em;
	color: var(--nk-muted); border-top: 1px solid var(--nk-line-soft); padding-top: 6px; margin: 0;
}
body.nk-mod .nk-spec-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	border-top: 1px solid var(--nk-line-soft); border-left: 1px solid var(--nk-line-soft);
}
body.nk-mod .nk-spec-grid .nk-spec-cell { border-right: 1px solid var(--nk-line-soft); border-bottom: 1px solid var(--nk-line-soft); }
/* Registration / profile / pioneer */
body.nk-mod .nk-register-section { margin: 0 0 24px; }
body.nk-mod .nk-register-heading {
	font-family: var(--nk-mono); font-size: .72rem; font-weight: 700; letter-spacing: .22em;
	text-transform: uppercase; color: var(--nk-accent);
	border-bottom: 2px solid var(--nk-line); padding-bottom: 8px; margin: 0 0 16px;
}
body.nk-mod .nk-optional { color: var(--nk-muted); font-weight: 400; font-size: .8rem; }
body.nk-mod .nk-pioneer-fields { border-left: 4px solid var(--nk-accent); padding-left: 16px; margin: 8px 0 16px; }
body.nk-mod .nk-tagline { font-weight: 900; font-size: 1.4rem; }

/* ---------- 19. POS / Factory / KDS ---------- */
body.nk-mod .nk-pos-wrap { max-width: 1200px; margin: 0 auto; }
body.nk-mod .nk-pos-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { body.nk-mod .nk-pos-layout { grid-template-columns: 2fr 1fr; } }
body.nk-mod .nk-pos-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1px; background: var(--nk-line-soft); border: 1px solid var(--nk-line-soft);
}
body.nk-mod .nk-pos-item {
	position: relative; background: var(--nk-paper); border: 0; padding: 14px;
	min-height: 120px; display: flex; flex-direction: column; justify-content: space-between;
	cursor: pointer; user-select: none;
}
body.nk-mod .nk-pos-item:active,
body.nk-mod .nk-pos-item:hover:not(.sold-out) { background: var(--nk-concrete); }
body.nk-mod .nk-pos-item.sold-out { background: var(--nk-concrete); opacity: .55; pointer-events: none; }
body.nk-mod .nk-pos-item h3 { font-size: 1.05rem; margin: 0 0 6px; line-height: 1.25; }
body.nk-mod .nk-pos-price { font-family: var(--nk-mono); font-weight: 900; font-size: 1.1rem; color: var(--nk-accent); letter-spacing: -0.02em; margin: 2px 0 6px; }
body.nk-mod .nk-pos-price small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .1em; color: var(--nk-muted); text-transform: uppercase; }
body.nk-mod .nk-pos-stock { font-weight: 700; color: #5D7A3A; font-size: .9rem; }
body.nk-mod .nk-pos-item.sold-out .nk-pos-stock { color: #E4572E; }
body.nk-mod .nk-pos-ph { aspect-ratio: 4 / 3; background-color: var(--nk-concrete); background-size: cover; background-position: center; margin: 0 0 12px; display: flex; }
body.nk-mod .nk-pos-tier { margin-bottom: 4px; }
body.nk-mod .nk-pos-item::before {
	content: attr(data-spine);
	position: absolute; left: 0; top: 0; bottom: 0; width: 56px;
	writing-mode: vertical-rl; transform: rotate(180deg);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--nk-mono); font-size: .68rem; font-weight: 700; letter-spacing: .22em;
	background: var(--nk-ink); color: var(--nk-paper); padding: 8px 0;
}
body.nk-mod [data-meal-tier="tier1"]::before  { background: var(--nk-t1); color: var(--nk-ink); }
body.nk-mod [data-meal-tier="tier2a"]::before { background: var(--nk-t2a); color: var(--nk-paper); }
body.nk-mod [data-meal-tier="tier2b"]::before { background: var(--nk-t2b); color: var(--nk-paper); }
body.nk-mod [data-meal-tier="tier3"]::before  { background: var(--nk-t3); color: var(--nk-paper); }
body.nk-mod .nk-cart {
	border: 1px solid var(--nk-line-soft); background: var(--nk-paper);
	position: sticky; top: 12px; max-height: 85vh; display: flex; flex-direction: column;
}
body.nk-mod .nk-cart-head { background: var(--nk-ink); color: var(--nk-paper); padding: 14px 16px; font-weight: 900; font-size: 1.1rem; }
body.nk-mod .nk-cart-body { padding: 14px 16px; overflow-y: auto; flex-grow: 1; }
body.nk-mod .nk-cart-empty { text-align: center; color: var(--nk-muted); font-style: italic; margin-top: 40px; }
body.nk-mod .nk-cart-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--nk-concrete); padding: 10px 0; font-weight: 700; }
body.nk-mod .nk-cart-foot { padding: 14px 16px; border-top: 1px solid var(--nk-line-soft); background: var(--nk-concrete); }
body.nk-mod .nk-cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; margin-bottom: 12px; }
body.nk-mod .nk-cart-money { border-top: 1px solid var(--nk-line-soft); margin: 8px 0 12px; padding-top: 8px; display: grid; gap: 4px; }
body.nk-mod .nk-cart-line { display: flex; justify-content: space-between; gap: 10px; font-family: var(--nk-mono); font-size: .8rem; font-weight: 700; color: var(--nk-muted); }
body.nk-mod .nk-cart-line span:last-child { color: var(--nk-ink); }
body.nk-mod .nk-cart-line-total { font-size: 1.05rem; font-weight: 900; }
body.nk-mod .nk-cart-line-total span:last-child { color: var(--nk-accent); }
body.nk-mod .nk-cart-line-tax { font-size: .72rem; }
body.nk-mod .nk-factory-wrap { max-width: 1000px; }
body.nk-mod .nk-kpi-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px; background: var(--nk-line-soft); border: 1px solid var(--nk-line-soft); margin-bottom: 28px;
}
body.nk-mod .nk-kpi-card { background: var(--nk-paper); padding: 16px; border: 0; }
body.nk-mod .nk-kpi-card.dark { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .nk-kpi-value { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; font-weight: 900; }
body.nk-mod .nk-bar-bg { background: var(--nk-concrete); height: 6px; width: 100%; margin-top: 6px; }
body.nk-mod .nk-bar { background: var(--nk-ink); height: 100%; }
body.nk-mod .nk-bar.warn { background: #E4572E; }
body.nk-mod .nk-kds-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
body.nk-mod .nk-kds-card { padding: 16px; border-width: 3px; }
body.nk-mod .nk-kds-card.is-priority { border-color: var(--nk-accent); }
body.nk-mod .nk-kds-count { font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
body.nk-mod .nk-kds-timer { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- 20. Driver ---------- */
body.nk-mod .nk-drv { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
body.nk-mod .nk-drv-head { background: var(--nk-ink); color: var(--nk-paper); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
body.nk-mod .nk-drv-title { margin: 0; font-size: 1.15rem; color: var(--nk-paper); }
body.nk-mod .nk-drv-badge { font-size: .7rem; letter-spacing: .08em; border: 1px solid var(--nk-paper); padding: 4px 8px; font-weight: 700; font-family: var(--nk-mono); }
body.nk-mod .nk-drv-badge.ok { background: var(--nk-accent); border-color: var(--nk-accent); }
body.nk-mod .nk-drv-body { padding: 14px; }
body.nk-mod .nk-drv-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--nk-concrete); font-weight: 700; }
body.nk-mod .nk-drv-meta { font-size: .72rem; color: var(--nk-muted); margin: 4px 0; }
body.nk-mod .nk-drv input[type="file"] { width: 100%; min-height: 48px; border: 1px solid var(--nk-line-soft); background: var(--nk-paper); padding: 8px; margin: 10px 0; }
body.nk-mod .nk-drv button { min-height: 52px; width: 100%; margin-top: 8px; font-weight: 900; border: 1px solid var(--nk-ink); cursor: pointer; }
body.nk-mod .nk-drv-deliver { background: var(--nk-accent); color: var(--nk-paper); border-color: var(--nk-accent); }
body.nk-mod .nk-drv-fail { background: var(--nk-paper); color: var(--nk-ink); }
body.nk-mod .nk-drv-failbox select,
body.nk-mod .nk-drv-failbox textarea { width: 100%; border: 1px solid var(--nk-line-soft); background: var(--nk-paper); min-height: 48px; margin-bottom: 8px; }

/* ---------- 21. LEAN / MRP / Kanban ---------- */
body.nk-mod .nk-lean-day-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin: 16px 0; }
body.nk-mod .nk-lean-day { border: 2px solid var(--nk-line-soft); padding: 10px; text-align: center; background: #fff; }
body.nk-mod .nk-lean-day.is-today { border-color: var(--nk-accent); }
body.nk-mod .nk-lean-day.is-prep { background: #F4F2EE; border-color: var(--nk-line); }
body.nk-mod .nk-lean-day.is-demand { border-color: var(--nk-accent); }
body.nk-mod .nk-lean-day.is-off { background: #F6F5F2; color: #8B867D; }
body.nk-mod .nk-mrp-plan { display: grid; gap: 12px; }
body.nk-mod .nk-mrp-plan-row,
body.nk-mod .nk-mrp-row { display: grid; grid-template-columns: 130px 110px 1fr auto; gap: 10px; align-items: center; }
body.nk-mod .nk-kanban { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
body.nk-mod .nk-kanban-head { padding: 10px 12px; border-bottom: 2px solid var(--nk-line); background: #F2F0EB; font-weight: 800; display: flex; justify-content: space-between; gap: 10px; }
body.nk-mod .nk-kanban-body { padding: 10px; display: grid; gap: 8px; }
body.nk-mod .nk-kanban-card { border: 1px solid var(--nk-line-soft); padding: 8px; background: #fff; }
body.nk-mod .nk-micro-body { padding: 14px; }

/* ---------- 22. Manifests / routes / receipts ---------- */
body.nk-mod .nk-manifest-list,
body.nk-mod .nk-route-sheet { display: grid; gap: 12px; }
body.nk-mod .nk-manifest-main,
body.nk-mod .nk-route-main { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
body.nk-mod .nk-manifest-building,
body.nk-mod .nk-route-building { font-weight: 900; font-size: 1.05rem; }
body.nk-mod .nk-manifest-count,
body.nk-mod .nk-route-qty { font-weight: 900; font-variant-numeric: tabular-nums; }
body.nk-mod .nk-manifest-row,
body.nk-mod .nk-route-item-row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--nk-line-soft); padding-top: 6px; margin-top: 6px; }
/* Driver mobile manifest typography (mobile-first mandate) */
body.nk-mod .nk-manifest-item { padding: 16px; }
body.nk-mod .nk-manifest-stop-num { font-size: 2rem; font-weight: 900; line-height: 1; min-width: 2ch; font-variant-numeric: tabular-nums; color: var(--nk-accent); }
body.nk-mod .nk-manifest-addr,
body.nk-mod .nk-manifest-recept { font-family: var(--nk-mono); font-size: .72rem; color: var(--nk-muted); margin-top: 2px; }
body.nk-mod .nk-manifest-meta {
	display: flex; justify-content: space-between; gap: 10px; align-items: center;
	font-family: var(--nk-mono); font-size: .68rem; letter-spacing: .08em; color: var(--nk-muted);
	border-top: 1px solid var(--nk-line-soft); margin-top: 10px; padding-top: 8px;
}
body.nk-mod .nk-manifest-status { border: 2px solid currentColor; padding: 2px 8px; font-weight: 700; }
body.nk-mod .nk-manifest-actions .nk-btn { width: 100%; }
body.nk-mod .nk-receipt-sheet { max-width: 420px; border: 3px solid var(--nk-line); background: #fff; padding: 18px; font-family: var(--nk-mono); }
body.nk-mod .nk-receipt-row,
body.nk-mod .nk-receipt-item,
body.nk-mod .nk-receipt-total { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
body.nk-mod .nk-receipt-items { border-top: 1px solid var(--nk-line); border-bottom: 1px solid var(--nk-line); margin: 10px 0; padding: 8px 0; }

/* ---------- 23. Storefront ---------- */
body.nk-mod .nk-storefront { background: var(--nk-paper); }
body.nk-mod .nk-storefront-hero { padding: 72px 0 48px; border-bottom: 3px solid var(--nk-line); background: #fff; }
body.nk-mod .nk-store-hero-title { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 900; line-height: .98; margin: 0 0 18px; }
body.nk-mod .nk-store-hero-sub { max-width: 62ch; font-size: 1.08rem; color: var(--nk-ink); }
body.nk-mod .nk-store-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
body.nk-mod .nk-stage-head { display: grid; gap: 8px; margin-bottom: 32px; }
body.nk-mod .nk-stage-num { font-size: .9rem; font-weight: 900; color: var(--nk-accent); }
body.nk-mod .nk-stage-title { font-size: 1.6rem; font-weight: 900; margin: 0; }
body.nk-mod .nk-stage-copy { max-width: 62ch; }
body.nk-mod .nk-stage-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
body.nk-mod .nk-store-menu-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.nk-mod .nk-store-meal-card { display: grid; }
body.nk-mod .nk-store-meal-thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--nk-line); }
body.nk-mod .nk-store-meal-body { padding: 16px; display: grid; gap: 10px; }
body.nk-mod .nk-store-meal-name { font-weight: 800; }
body.nk-mod .nk-store-meal-price { font-weight: 900; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
body.nk-mod .nk-store-venue-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
body.nk-mod .nk-store-venue-status { display: inline-block; border: 2px solid currentColor; padding: 2px 8px; font-weight: 700; font-size: .8rem; }
body.nk-mod .nk-store-faq-item { border-bottom: 1px solid var(--nk-line-soft); padding: 16px 0; }
body.nk-mod .nk-store-faq-q { font-weight: 800; margin: 0 0 6px; }
body.nk-mod .nk-store-faq-a { margin: 0; }
body.nk-mod .nk-store-contact { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
body.nk-mod .nk-store-contact-item { border: 1px solid var(--nk-line-soft); background: #fff; padding: 12px; }
body.nk-mod .nk-store-footer { background: var(--nk-ink); color: #fff; padding: 42px 0; }
body.nk-mod .nk-store-footer a { color: #fff; }
body.nk-mod .nk-store-footer .nk-store-contact-item { border-color: #3a3a3a; background: transparent; color: var(--nk-paper); }
body.nk-mod .nk-store-tagline { font-weight: 900; font-size: 1.4rem; margin: 0 0 10px; }
body.nk-mod .nk-store-copyright { font-size: .85rem; color: #C9C4BB; }
/* Color-blocking: Kaisūken section = full ink band; menu = concrete band */
body.nk-mod #nk-store-passes { background: var(--nk-ink); }
body.nk-mod #nk-store-passes .nk-stage-title,
body.nk-mod #nk-store-passes .nk-stage-head p { color: var(--nk-paper); }
body.nk-mod #nk-store-passes .nk-stage-num { color: var(--nk-paper); }
body.nk-mod #nk-store-passes .nk-stage-card {
	background: var(--nk-paper); color: var(--nk-ink);
	border-color: var(--nk-paper); box-shadow: 8px 8px 0 var(--nk-accent);
}
body.nk-mod #nk-store-menu { background: var(--nk-concrete); }
/* Press feedback: brutalist offset-shadow hover */
body.nk-mod .nk-stage-card,
body.nk-mod .nk-store-meal-card,
body.nk-mod .nk-store-venue-card { transition: transform .08s ease, box-shadow .08s ease; }
body.nk-mod .nk-stage-card:hover,
body.nk-mod .nk-store-meal-card:hover,
body.nk-mod .nk-store-venue-card:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--nk-ink); }
body.nk-mod #nk-store-passes .nk-stage-card:hover { box-shadow: 10px 10px 0 var(--nk-accent); }
body.nk-mod .nk-btn:hover,
body.nk-mod .nk-tier-buy:hover { transform: translate(1px, 1px); box-shadow: none; }

/* ---------- 24. CTA band / auth band ---------- */
body.nk-mod .nk-cta-band {
	background: var(--nk-accent);
	border-top: 2px solid var(--nk-ink); border-bottom: 2px solid var(--nk-ink);
	padding: 28px 20px; margin: 40px 0 0;
	width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
body.nk-mod .nk-cta-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; }
body.nk-mod .nk-cta-title { color: var(--nk-paper); font-weight: 900; font-size: clamp(1.1rem, 4vw, 1.6rem); margin: 0; }
body.nk-mod .nk-auth-band {
	background: var(--nk-ink); border-bottom: 2px solid var(--nk-accent);
	padding: 20px 24px; display: flex; align-items: center; gap: 18px; margin-bottom: 24px;
}
body.nk-mod .nk-auth-seal {
	width: 64px; height: 64px; background: var(--nk-paper); color: var(--nk-ink);
	display: flex; align-items: center; justify-content: center;
	font-weight: 900; font-size: .9rem; letter-spacing: .1em; padding: 6px;
}

/* ---------- 25. Colophon ---------- */
body.nk-mod .nk-colophon {
	background: var(--nk-paper); color: var(--nk-ink);
	padding: 56px 24px; text-align: center; position: relative;
	border-top: 1px solid var(--nk-line-soft);
	width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
body.nk-mod .nk-colophon-logo { width: 80px; height: 80px; display: inline-block; margin-bottom: 20px; }
body.nk-mod .nk-colophon-logo img { width: 100%; height: 100%; object-fit: contain; }
body.nk-mod .nk-colophon-contact { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
body.nk-mod .nk-colophon-contact-item { font-family: var(--nk-mono); font-size: .68rem; letter-spacing: .1em; writing-mode: vertical-rl; line-height: 1.8; }

/* ---------- 26. WooCommerce overrides ---------- */
body.nk-mod .woocommerce table.shop_table,
body.nk-mod .woocommerce table.shop_table td,
body.nk-mod .woocommerce table.shop_table th { border: 1px solid var(--nk-line-soft); }
body.nk-mod .woocommerce table.shop_table { border: 2px solid var(--nk-line); }
body.nk-mod .woocommerce table.shop_table th { background: var(--nk-ink); color: var(--nk-paper); font-weight: 800; }
body.nk-mod .woocommerce .cart_totals,
body.nk-mod .woocommerce .woocommerce-checkout-review-order,
body.nk-mod .woocommerce-cart-form,
body.nk-mod .col2-set { border: 2px solid var(--nk-line); background: var(--nk-panel); padding: 20px; }
body.nk-mod .woocommerce span.amount,
body.nk-mod .woocommerce .order-total .amount { font-weight: 900; font-family: var(--nk-mono); color: var(--nk-accent); }
body.nk-mod .woocommerce-message,
body.nk-mod .woocommerce-error,
body.nk-mod .woocommerce-info {
	border: 2px solid var(--nk-line); border-left: 6px solid var(--nk-accent);
	background: var(--nk-panel); color: var(--nk-ink); font-weight: 700; padding: 14px 16px;
}
body.nk-mod .woocommerce-error { border-color: #E4572E; border-left-color: #E4572E; color: #E4572E; }
body.nk-mod .woocommerce-message::before,
body.nk-mod .woocommerce-error::before,
body.nk-mod .woocommerce-info::before { display: none; }
body.nk-mod .woocommerce button.button,
body.nk-mod .woocommerce a.button,
body.nk-mod .woocommerce button.button.alt {
	background: var(--nk-ink); color: var(--nk-paper);
	border: 2px solid var(--nk-ink); border-radius: 0;
	font-weight: 800; min-height: 48px; padding: 10px 22px;
}
body.nk-mod .woocommerce button.button:hover,
body.nk-mod .woocommerce a.button:hover { background: var(--nk-accent); border-color: var(--nk-accent); color: #fff; }
body.nk-mod .woocommerce-MyAccount-navigation { border: 1px solid var(--nk-line-soft); margin-bottom: 28px; }
body.nk-mod .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
body.nk-mod .woocommerce-MyAccount-navigation li { flex: 1 1 33%; min-width: 150px; border: 1px solid var(--nk-concrete); margin: 0; display: flex; }
body.nk-mod .woocommerce-MyAccount-navigation li a {
	display: flex; align-items: center; min-height: 52px; padding: 10px 14px; flex: 1 1 auto;
	font-family: var(--nk-mono); font-size: .78rem; font-weight: 700; letter-spacing: .06em;
	color: var(--nk-ink); background: var(--nk-paper); text-decoration: none;
}
body.nk-mod .woocommerce-MyAccount-navigation li.is-active a,
body.nk-mod .woocommerce-MyAccount-navigation li a:hover { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
body.nk-mod .woocommerce div.product .woocommerce-product-gallery,
body.nk-mod .woocommerce div.product .summary { width: 100%; max-width: 100%; min-width: 0; float: none; }
body.nk-mod .woocommerce div.product img.wp-post-image,
body.nk-mod .woocommerce-product-gallery img { background: var(--nk-concrete); border: 1px solid var(--nk-line-soft); }
body.nk-mod .woocommerce div.product .product_title {
	font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.2;
	border-bottom: 1px solid var(--nk-accent); padding-bottom: 10px; margin: 0 0 12px;
}
body.nk-mod .woocommerce div.product p.price { font-size: 1.8rem; color: var(--nk-accent); font-weight: 900; }
body.nk-mod .woocommerce-breadcrumb { font-family: var(--nk-mono); font-size: .66rem; letter-spacing: .25em; text-transform: uppercase; color: var(--nk-muted); margin: 0 0 16px; }
body.nk-mod .woocommerce div.product .woocommerce-Reviews,
body.nk-mod .woocommerce-tabs li.reviews_tab { display: none; }
@media (max-width: 719px) { body.nk-mod .woocommerce div.product { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- 27. Empty states / placeholders ---------- */
body.nk-mod .nk-ph { position: relative; overflow: hidden; }
body.nk-mod .nk-ph::after,
body.nk-mod .nk-empty::after {
	content: ""; position: absolute; right: 10px; top: 10px; width: 48px; height: 48px;
	background-image: var(--nk-logo); background-size: contain;
	background-repeat: no-repeat; background-position: center; opacity: .8;
}
body.nk-mod .nk-empty { position: relative; border: 1px solid var(--nk-line-soft); background: var(--nk-concrete); padding: 48px 20px; text-align: center; }
body.nk-mod .nk-empty::after { right: 14px; top: 14px; opacity: .6; }
body.nk-mod .nk-empty p { font-family: var(--nk-mono); font-size: .78rem; letter-spacing: .08em; font-weight: 700; margin: 0 0 14px; }
/* Placeholder plate until real photography lands */
body.nk-mod .nk-store-meal-card > .nk-store-meal-body:first-child::before {
	content: ""; display: block; aspect-ratio: 4 / 3; max-height: 220px;
	background: var(--nk-concrete) var(--nk-logo) center / 72px no-repeat;
	border-bottom: 2px solid var(--nk-line);
}

/* ---------- 28. Badges / misc ---------- */
body.nk-mod .nk-badge { font-family: var(--nk-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; border: 0; padding: 4px 8px; display: inline-block; }
body.nk-mod .nk-badge.ok { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-mod .nk-badge.lock { background: var(--nk-concrete); color: var(--nk-muted); }
body.nk-mod .nk-badge.wait { background: var(--nk-line-soft); color: var(--nk-ink); }
body.nk-mod .nk-badge.out { background: #E4572E; color: var(--nk-paper); }
body.nk-mod .nk-table { width: 100%; border-collapse: collapse; border: 1px solid var(--nk-line-soft); background: var(--nk-paper); }
body.nk-mod .nk-table th { background: var(--nk-ink); color: var(--nk-paper); padding: 10px 12px; text-align: left; }
body.nk-mod .nk-table td { padding: 12px; border-bottom: 1px solid var(--nk-concrete); }
body.nk-mod .nk-building-list,
body.nk-mod .nk-customer-list,
body.nk-mod .nk-incident-list,
body.nk-mod .nk-analytics-list,
body.nk-mod .nk-dh-meals,
body.nk-mod .nk-ingredients-list { display: grid; gap: 14px; }
body.nk-mod .nk-building-row.is-pending,
body.nk-mod .nk-customer-row.is-pending { border-color: var(--nk-warn-line); }
body.nk-mod .nk-building-main,
body.nk-mod .nk-customer-main,
body.nk-mod .nk-incident-head,
body.nk-mod .nk-analytics-row,
body.nk-mod .nk-dh-meal-main,
body.nk-mod .nk-ingredient-main { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
body.nk-mod .nk-building-status,
body.nk-mod .nk-profile-status,
body.nk-mod .nk-meal-status,
body.nk-mod .nk-incident-status,
body.nk-mod .nk-route-status,
body.nk-mod .nk-pass-status,
body.nk-mod .nk-tier-status { display: inline-block; border: 2px solid currentColor; padding: 2px 8px; font-weight: 700; font-size: .8rem; }

/* ---------- 29. Theme containment (composer pages + TT5 chrome) ---------- */
body.nk-mod .nk-storefront-hero,
body.nk-mod .nk-storefront-section,
body.nk-mod .nk-cta-band,
body.nk-mod .nk-store-footer { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
body.nk-mod.nk-has-composer .entry-header,
body.nk-mod.nk-has-composer .wp-block-post-title { display: none; }
body.nk-mod.nk-has-composer,
body.nk-mod.nk-has-composer .wp-site-blocks,
body.nk-mod.nk-has-composer .entry-content { background: var(--nk-paper); }
body.nk-mod.nk-has-composer .entry-content,
body.nk-mod.nk-has-composer .wp-block-post-content { max-width: none; width: 100%; }
body.nk-mod.nk-has-composer footer.wp-block-template-part,
body.nk-mod.nk-has-composer .wp-block-site-logo:not(header .wp-block-site-logo) { display: none !important; }
body.nk-mod.nk-has-composer main { padding: 0 !important; background: transparent !important; }
body.nk-mod.nk-has-composer main > *:first-child:empty { display: none !important; }
body.nk-mod.nk-has-composer main > .wp-block-group:first-child,
body.nk-mod.nk-has-composer main .is-layout-constrained:first-child,
body.nk-mod.nk-has-composer main [style*="padding-top"]:first-child,
body.nk-mod.nk-has-composer .wp-block-post-content { padding-top: 0 !important; margin-top: 0 !important; }
/* Ink header bar over the base theme */
body.nk-mod header.wp-block-template-part {
	position: sticky; top: 0; z-index: 200;
	background: var(--nk-ink); border-bottom: 3px solid var(--nk-accent);
	min-height: 64px; padding: 0 20px; padding-bottom: 0 !important;
}
body.nk-mod header.wp-block-template-part > .wp-block-group { margin-bottom: 0 !important; padding-bottom: 0 !important; }
body.nk-mod header.wp-block-template-part p:empty,
body.nk-mod header.wp-block-template-part .wp-block-spacer { display: none !important; }
body.nk-mod header.wp-block-template-part .wp-block-site-title a,
body.nk-mod header.wp-block-template-part .wp-block-navigation a { color: var(--nk-paper); }
body.nk-mod .wp-block-navigation a {
	text-decoration: none; font-family: var(--nk-mono); font-size: .72rem;
	font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
body.nk-mod header.wp-block-template-part .wp-block-navigation a:hover,
body.nk-mod header.wp-block-template-part .wp-block-navigation .current-menu-item > a { background: var(--nk-accent); color: #fff; }
body.nk-mod .wp-block-navigation a:hover { color: var(--nk-accent); }
body.nk-mod header .wp-block-site-logo a,
body.nk-mod header .wp-block-site-logo img { display: block; }
body.nk-mod header .wp-block-site-logo img {
	width: 44px; height: 44px; object-fit: contain;
	background: var(--nk-paper); padding: 5px; border: 2px solid var(--nk-paper);
}
body.nk-mod .wp-block-site-title a { font-weight: 900; text-decoration: none; color: var(--nk-ink); }
body.nk-mod .wp-block-footer .wp-block-navigation,
body.nk-mod .wp-block-footer .has-text-align-right { display: none; }

/* ---------- 30. Admin shell (scoped: body.nk-admin-page only) ---------- */
body.nk-admin-page { padding-bottom: 0 !important; }
body.nk-admin-page .nk-cart { position: static; max-height: none; }
body.nk-admin-page .nk-admin-shell-header {
	display: flex; justify-content: space-between; align-items: center;
	gap: 16px; flex-wrap: wrap;
	background: var(--nk-ink); color: var(--nk-paper);
	padding: 10px 16px; border-bottom: 3px solid var(--nk-accent); margin: 0 0 16px;
}
body.nk-admin-page .nk-admin-shell-brand { display: flex; align-items: center; gap: 10px; }
body.nk-admin-page .nk-admin-shell-brand img { display: block; background: var(--nk-paper); padding: 3px; }
body.nk-admin-page .nk-admin-shell-name { font-weight: 900; }
body.nk-admin-page .nk-admin-shell-version { font-family: var(--nk-mono); font-size: .68rem; color: #C9C4BB; }
body.nk-admin-page .nk-admin-shell-context { font-family: var(--nk-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
body.nk-admin-page .nk-admin-nav {
	display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 20px;
	border: 2px solid var(--nk-line); background: var(--nk-panel); padding: 12px 14px;
}
body.nk-admin-page .nk-admin-nav-group { min-width: 150px; }
body.nk-admin-page .nk-admin-nav-group-label {
	font-family: var(--nk-mono); font-size: .62rem; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase; color: var(--nk-muted); margin-bottom: 6px;
}
body.nk-admin-page .nk-admin-nav-items { display: grid; gap: 4px; }
body.nk-admin-page .nk-admin-nav-item {
	display: block; padding: 6px 8px; font-weight: 700; font-size: .85rem;
	color: var(--nk-ink); text-decoration: none;
}
body.nk-admin-page .nk-admin-nav-item:hover { background: var(--nk-ink); color: var(--nk-paper); }
body.nk-admin-page .nk-admin-nav-item.is-active { background: var(--nk-accent); color: #fff; }

/* ---------- 31. Motion ---------- */
body.nk-mod button,
body.nk-mod .nk-btn-red,
body.nk-mod .nk-btn-ink,
body.nk-mod .nk-btn-line,
body.nk-mod .nk-wall-btn { transition: background-color .12s ease, color .12s ease; }
body.nk-mod button:active,
body.nk-mod .nk-btn-red:active,
body.nk-mod .nk-btn-ink:active,
body.nk-mod .nk-btn-line:active,
body.nk-mod .nk-wall-btn:active { transform: translate(1px, 1px); }
body.nk-mod button,
body.nk-mod a,
body.nk-mod .nk-pos-item,
body.nk-mod .nk-stamp-cell { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
	body.nk-mod *,
	body.nk-mod *::before,
	body.nk-mod *::after { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- 32. Print ---------- */
@media print {
	body.nk-mod { padding: 0; background: #fff; }
	body.nk-mod .nk-header,
	body.nk-mod .nk-utility-bar,
	body.nk-mod .nk-utility,
	body.nk-mod .nk-banner,
	body.nk-mod .nk-btn,
	body.nk-mod form,
	body.nk-mod .nk-actions,
	body.nk-mod .no-print { display: none !important; }
	body.nk-mod .nk-receipt-sheet,
	body.nk-mod .nk-route-sheet,
	body.nk-mod .nk-manifest-item { border: 2px solid #000; }
	body.nk-pos-page * { visibility: hidden; }
	body.nk-pos-page #nk-print-area,
	body.nk-pos-page #nk-print-area * { visibility: visible; }
	body.nk-pos-page #nk-print-area { position: absolute; left: 0; top: 0; width: 100%; margin: 0; padding: 0; }
	body.nk-mod .nk-label {
		width: 50mm; height: 30mm; border: 1px dashed #000; padding: 4mm;
		page-break-inside: avoid; display: flex; flex-direction: column;
		justify-content: center; align-items: center;
		font-family: var(--nk-font); margin: 0;
	}
	body.nk-mod .nk-label h4 { margin: 0; font-size: 14pt; font-weight: 900; text-align: center; }
	body.nk-mod .nk-label p { margin: 2mm 0 0; font-size: 10pt; font-weight: 700; text-align: center; }
}

/* ---------- 33. Responsive ---------- */
@media (max-width: 900px) {
	body.nk-mod .nk-mrp-plan-row,
	body.nk-mod .nk-mrp-row { grid-template-columns: 1fr; }
	body.nk-mod .nk-cart-row { grid-template-columns: 1fr auto; }
}
@media (max-width: 760px) {
	body.nk-mod .nk-wrap { width: calc(100% - 24px); }
	body.nk-mod .nk-meal-option { grid-template-columns: 64px 1fr; }
	body.nk-mod .nk-meal-actions { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
	body.nk-mod .nk-stampgrid { gap: 4px; }
	body.nk-mod .nk-stamp-cell { min-height: 44px; }
	body.nk-mod .nk-header { padding: 0 12px; }
	body.nk-mod .nk-header-chip { display: none; }
	body.nk-mod .nk-header-bar { flex-wrap: wrap; gap: 10px; }
	body.nk-mod .nk-utility-bar { gap: 12px; font-size: .72rem; }
	body.nk-mod .nk-rail { display: none; }
}
@media (max-width: 719px) {
	body.nk-mod .nk-stamp-cell { min-height: 76px; }
	body.nk-mod .nk-stamp-cell .nk-seal { width: 34px; height: 34px; font-size: .8rem; }
	body.nk-mod .nk-stamp-cell .nk-seal--skip { width: 42px; height: 26px; font-size: .55rem; }
	body.nk-mod .nk-stamp-meal { display: none; }
}
/* ==========================================================================
IMPECCABLE POLISH: Typography & Optical Alignment
========================================================================== */
body.nk-mod {
	text-autospace: ideograph-alpha ideograph-numeric; /* Micro-spaces between JP and EN/Numbers */
	line-break: strict; /* Prevents small JP punctuation from wrapping to line start */
	text-wrap: pretty; /* Prevents orphans in short Japanese paragraphs */
}
body.nk-mod .nk-store-hero-item-value {
	word-break: keep-all; /* Prevents awkward breaks in Japanese spec phrases */
}
/* Tactile Brutalism: Hard offset shadows for primary actions */
body.nk-mod .nk-btn--primary,
body.nk-mod .nk-tier-buy,
body.nk-mod .nk-catalog-cta,
body.nk-mod .nk-btn-confirm {
	box-shadow: 4px 4px 0 var(--nk-ink);
	transition: transform .08s ease, box-shadow .08s ease;
}
body.nk-mod .nk-btn--primary:hover,
body.nk-mod .nk-tier-buy:hover,
body.nk-mod .nk-catalog-cta:hover,
body.nk-mod .nk-btn-confirm:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--nk-ink);
}
body.nk-mod .nk-btn--primary:active,
body.nk-mod .nk-tier-buy:active,
body.nk-mod .nk-catalog-cta:active,
body.nk-mod .nk-btn-confirm:active {
	transform: translate(2px, 2px);
	box-shadow: 0 0 0 var(--nk-ink); /* Physical "pressed into surface" state */
}
/* Invert shadow on the ink band */
body.nk-mod #nk-store-passes .nk-tier-buy { box-shadow: 4px 4px 0 var(--nk-accent); }
body.nk-mod #nk-store-passes .nk-tier-buy:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--nk-accent); }
/* Impeccable Accessibility: High-contrast double focus ring */
body.nk-mod :focus-visible {
	outline: 3px solid var(--nk-accent) !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 2px var(--nk-paper); /* Paper cutout ensures visibility on ink backgrounds */
}