@font-face {
	font-family: "HNC Zen Maru Gothic";
	src: url("../fonts/zen-maru-gothic-bold-v1.001.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: block;
}

.hns-root,
.hns-root * {
	box-sizing: border-box;
}

.hns-root {
	--hns-ink: #211f1d;
	--hns-muted: #716b65;
	--hns-line: #e5dfd8;
	--hns-soft: #f7f4ef;
	--hns-accent: #9b5c31;
	--hns-orange: #ff750d;
	max-width: 1180px;
	margin: 34px auto;
	color: var(--hns-ink);
	font-family: inherit;
}

.hns-root .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hns-parent-navigation {
	margin: 0 0 14px;
}

.hns-parent-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 14px;
	border: 1px solid #d7c8b6;
	border-radius: 999px;
	background: #fffdf9;
	box-shadow: 0 4px 14px rgba(83, 60, 34, 0.08);
	color: #4f3829;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hns-parent-link:hover,
.hns-parent-link:focus-visible {
	border-color: var(--hns-accent);
	color: var(--hns-accent);
	transform: translateX(-2px);
}

.hns-parent-link:focus-visible {
	outline: 3px solid rgba(155, 92, 49, 0.2);
	outline-offset: 2px;
}

.hns-heading {
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	display: flex;
	min-height: clamp(310px, 34vw, 400px);
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 24px;
	padding: clamp(42px, 7vw, 78px) clamp(28px, 8vw, 92px);
	border: 0;
	border-radius: 6px;
	background:
		radial-gradient(circle at 82% 26%, rgba(140, 96, 67, 0.38), transparent 32%),
		linear-gradient(132deg, #171310 0%, #2b201a 58%, #493124 100%);
	box-shadow: 0 24px 68px rgba(49, 33, 23, 0.24);
	color: #fffdf9;
}

.hns-heading::before {
	content: "";
	position: absolute;
	z-index: 0;
	right: -110px;
	bottom: -210px;
	width: 470px;
	height: 470px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgba(255, 255, 255, 0.018), 0 0 0 98px rgba(255, 255, 255, 0.012);
}

.hns-heading::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 7px;
	background: #d58a4f;
	z-index: 0;
	pointer-events: none;
}

.hns-root .hns-heading h2 {
	all: unset !important;
	display: block !important;
	position: relative !important;
	z-index: 1 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 12px 0 22px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #fffdf9 !important;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", Georgia, serif !important;
	font-size: clamp(34px, 4.9vw, 58px) !important;
	font-size: clamp(25px, 7cqw, 58px) !important;
	font-weight: 500 !important;
	line-height: 1.22 !important;
	letter-spacing: -0.045em !important;
	text-align: left !important;
}

.hns-root .hns-heading h2::before,
.hns-root .hns-heading h2::after {
	content: none !important;
	display: none !important;
}

.hns-heading h2 span,
.hns-heading h2 em {
	display: block !important;
	white-space: nowrap !important;
}

.hns-heading h2 em {
	color: #f2a15f !important;
	font-style: normal !important;
}

.hns-heading > p:last-child {
	position: relative;
	z-index: 1;
	max-width: min(100%, 880px);
	margin: 0 !important;
	color: rgba(255, 253, 249, 0.7) !important;
	font-size: clamp(13px, 1.55vw, 16px);
	line-height: 1.9;
	text-wrap: pretty;
}

.hns-step p,
.hns-disclaimer,
.hns-case-file-name,
.hns-order-note {
	color: var(--hns-muted);
}

.hns-schedule-card { margin: 16px 0; padding: 16px; border: 1px solid #dfcbb9; border-radius: 12px; background: #fffaf4; }
.hns-schedule-kicker { margin: 0 0 9px; color: var(--hns-accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hns-schedule-card dl { margin: 0; }
.hns-schedule-card dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eadfd5; }
.hns-schedule-card dt { color: var(--hns-muted); font-size: 12px; font-weight: 700; }
.hns-schedule-card dd { margin: 0; font-size: 13px; font-weight: 800; }
.hns-schedule-card > p:not(.hns-schedule-kicker) { margin: 10px 0 0; color: var(--hns-muted); font-size: 11px; line-height: 1.7; }
.hns-schedule-card .hns-schedule-extra { color: #7a3c0c; font-weight: 700; }
.hns-b2b-callout { margin: 20px 0 0; padding: 16px; border-radius: 12px; background: #211913; color: #fff; }
.hns-b2b-callout strong { display: block; font-size: 14px; }
.hns-b2b-callout p { margin: 8px 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.7; }
.hns-b2b-callout a { color: #f2a15f; font-size: 12px; font-weight: 800; }

.hns-eyebrow {
	margin: 0;
	color: var(--hns-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.hns-heading > .hns-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 1;
	margin: 0 !important;
	color: #f2a15f !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: none;
}

.hns-heading > .hns-eyebrow::before {
	content: "" !important;
	display: block !important;
	width: 34px;
	height: 1px;
	background: currentColor;
}

.hns-heading > .hns-eyebrow::after {
	content: none !important;
	display: none !important;
}

.hns-layout,
.hns-case-layout,
.hns-order-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
	gap: 24px;
}

.hns-panel,
.hns-preview,
.hns-case,
.hns-order {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--hns-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(49, 38, 27, 0.06);
}

.hns-case,
.hns-order {
	margin-top: 24px;
}

.hns-step {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.hns-step-spaced {
	margin-top: 28px;
}

.hns-step-number {
	display: grid;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	place-items: center;
	border-radius: 50%;
	background: var(--hns-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.hns-step h3,
.hns-step p {
	margin: 0;
}

.hns-step h3 {
	font-size: 18px;
}

.hns-step p {
	margin-top: 3px;
	font-size: 13px;
}

.hns-colors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 18px 0 0 43px;
}

.hns-color-compact {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 0 0 43px;
	padding: 7px 9px;
	border: 1px solid var(--hns-line);
	border-radius: 11px;
	background: var(--hns-soft);
}

.hns-selected-swatch {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 50%;
}

.hns-color-select {
	width: 100%;
	min-width: 0;
	min-height: 38px;
	padding: 6px 34px 6px 10px;
	border: 0;
	background-color: transparent;
	color: var(--hns-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hns-color-select:focus {
	outline: 2px solid rgba(155, 92, 49, 0.28);
	outline-offset: 1px;
}

.hns-color {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 10px 11px;
	border: 1px solid var(--hns-line);
	border-radius: 12px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.hns-color.is-active {
	border-color: var(--hns-accent);
	box-shadow: inset 0 0 0 1px var(--hns-accent);
}

.hns-swatch {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
}

.hns-color strong,
.hns-color small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hns-color small {
	color: var(--hns-muted);
	font-size: 11px;
}

.hns-fallback-note {
	margin: 7px 0 0 43px;
	padding: 9px 11px;
	border-radius: 8px;
	background: #fff5df;
	color: #7d5619;
	font-size: 12px;
}

.hns-mode-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	margin: 14px 0 0 43px;
	padding: 4px;
	border-radius: 11px;
	background: var(--hns-soft);
}

.hns-mode-tab {
	min-height: 42px;
	padding: 7px 10px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: var(--hns-muted);
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.hns-mode-tab.is-active {
	border-color: var(--hns-line);
	background: #fff;
	color: var(--hns-ink);
	box-shadow: 0 3px 10px rgba(49, 38, 27, 0.07);
}

.hns-plate-guide {
	display: grid;
	gap: 3px;
	margin: 10px 0 12px 43px;
	padding: 10px 12px;
	border-left: 3px solid var(--hns-accent);
	border-radius: 7px;
	background: #fff6ea;
	color: #5d3a1f;
	font-size: 11px;
	line-height: 1.6;
}

.hns-plate-guide strong {
	font-size: 12px;
}

.hns-text-controls,
.hns-image-controls {
	margin-left: 43px;
}

.hns-art-file-name,
.hns-art-note,
.hns-companion-upload p {
	margin: 8px 0 0;
	color: var(--hns-muted);
	font-size: 11px;
	line-height: 1.65;
}

.hns-companion-upload {
	margin-top: 10px;
	padding: 11px;
	border: 1px solid #e5c68d;
	border-radius: 10px;
	background: #fff8e8;
}

.hns-companion-upload p {
	margin-top: 0;
	color: #704d16;
}

.hns-upload-compact {
	margin-top: 9px !important;
	padding: 10px !important;
}

.hns-text-label,
.hns-quantity-label,
.hns-fonts legend {
	display: block;
	margin: 16px 0 7px;
	font-size: 13px;
	font-weight: 800;
}

.hns-text {
	width: 100%;
	min-height: 78px;
	padding: 10px 13px;
	border: 1px solid #bdb4ac;
	border-radius: 10px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	font-size: 18px;
	line-height: 1.45;
	resize: vertical;
}

.hns-text:focus {
	border-color: var(--hns-accent);
	box-shadow: 0 0 0 3px rgba(155, 92, 49, 0.13);
	outline: none;
}

.hns-text-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
	color: var(--hns-muted);
	font-size: 11px;
}

.hns-char-count {
	font-weight: 700;
	text-align: right;
}

.hns-char-count.is-warning {
	color: #a94819;
}

.hns-symbol-picker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}

.hns-symbol-picker > span {
	margin-right: 2px;
	color: var(--hns-muted);
	font-size: 11px;
	font-weight: 700;
}

.hns-symbol {
	display: inline-grid;
	width: 36px;
	height: 34px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--hns-line);
	border-radius: 8px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	font-size: 19px;
	cursor: pointer;
}

.hns-symbol:hover,
.hns-symbol:focus-visible {
	border-color: var(--hns-accent);
	background: #fff8f1;
}

.hns-condense-status {
	display: inline-block;
	margin: 8px 0 0;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f4f1ed;
	color: #635b53;
	font-size: 11px;
	font-weight: 700;
}

.hns-condense-status.is-warning {
	background: #fff0ed;
	color: #b42318;
}

.hns-text-options {
	margin: 15px 0 0;
	padding: 0;
	border: 0;
}

.hns-text-options legend {
	display: block;
	width: 100%;
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 800;
}

.hns-option {
	min-height: 40px;
	margin: 0 5px 6px 0;
	padding: 7px 13px;
	border: 1px solid var(--hns-line);
	border-radius: 9px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.hns-option.is-active {
	border-color: var(--hns-accent);
	background: #fff7ef;
	box-shadow: inset 0 0 0 1px var(--hns-accent);
}

.hns-option:focus-visible {
	outline: 2px solid rgba(155, 92, 49, 0.28);
	outline-offset: 1px;
}

.hns-error,
.hns-case-error {
	margin: 7px 0 0;
	color: #b42318;
	font-size: 12px;
}

.hns-fonts {
	margin: 17px 0 0;
	padding: 0;
	border: 0;
}

.hns-fonts legend {
	margin-top: 0;
}

.hns-font {
	min-height: 44px;
	margin: 0 5px 6px 0;
	padding: 8px 12px;
	border: 1px solid var(--hns-line);
	border-radius: 9px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	font-size: 14px;
	letter-spacing: 0.04em;
	cursor: pointer;
}

.hns-font.is-active {
	border-color: var(--hns-accent);
	background: #fff8f1;
	box-shadow: inset 0 0 0 1px var(--hns-accent);
}

.hns-font-status {
	min-height: 1.4em;
	margin: 1px 0 0;
	color: var(--hns-muted);
	font-size: 11px;
}

.hns-font-status.is-error {
	color: #b42318;
}

.hns-range-label {
	display: flex;
	justify-content: space-between;
	margin: 14px 0 7px;
	font-size: 13px;
	font-weight: 700;
}

.hns-size,
.hns-angle,
.hns-fit-interval,
.hns-case-size,
.hns-case-angle {
	width: 100%;
	accent-color: var(--hns-accent);
}

.hns-button-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px;
}

.hns-button,
.hns-size-choice,
.hns-quantity-button {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--hns-line);
	border-radius: 11px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hns-button-subtle,
.hns-size-choice,
.hns-quantity-button {
	background: #fff;
	color: var(--hns-ink);
}

.hns-button-primary,
.hns-submit {
	width: 100%;
	border-color: var(--hns-orange);
	background: var(--hns-orange);
	color: #fff;
}

.hns-button:disabled,
.hns-size-choice:disabled,
.hns-submit:disabled {
	cursor: not-allowed;
	opacity: 0.48;
}

.hns-text-button {
	display: block;
	margin: 13px auto 0;
	padding: 3px;
	border: 0;
	background: transparent;
	color: var(--hns-accent);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.hns-preview-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.hns-preview-head > span {
	font-weight: 800;
}

.hns-preview-head small {
	color: var(--hns-muted);
}

.hns-fit-controls {
	margin: 0 0 14px;
	padding: 13px 14px 12px;
	border: 1px solid #e5ddd3;
	border-radius: 13px;
	background: #fbf8f4;
}

.hns-device-picker {
	display: grid;
	gap: 6px;
	margin-bottom: 8px;
}

.hns-device-picker > span {
	font-size: 12px;
	font-weight: 800;
}

.hns-device-select {
	width: 100%;
	min-height: 42px;
	padding: 7px 34px 7px 10px;
	border: 1px solid #d8cec3;
	border-radius: 9px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	font-size: 13px;
}

.hns-device-status {
	margin: 0 0 11px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f1ede8;
	color: var(--hns-muted);
	font-size: 11px;
	line-height: 1.55;
}

.hns-device-status.is-verified {
	background: #e8f5eb;
	color: #1f6b36;
}

.hns-fit-size-row {
	display: grid;
	grid-template-columns: auto repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 8px;
}

.hns-fit-size-row > span {
	font-size: 12px;
	font-weight: 800;
}

.hns-fit-size {
	min-height: 42px;
	padding: 6px 9px;
	border: 1px solid #d8cec3;
	border-radius: 9px;
	background: #fff;
	color: var(--hns-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.hns-fit-size small {
	display: block;
	margin-top: 1px;
	color: var(--hns-muted);
	font-size: 10px;
	font-weight: 600;
}

.hns-fit-size.is-active {
	border-color: var(--hns-accent);
	background: #fff7ef;
	box-shadow: inset 0 0 0 1px var(--hns-accent);
}

.hns-fit-controls .hns-range-label {
	margin-top: 12px;
	margin-bottom: 5px;
}

.hns-fit-scale {
	display: flex;
	justify-content: space-between;
	margin-top: 2px;
	color: var(--hns-muted);
	font-size: 10px;
}

.hns-fit-note {
	margin: 8px 0 0;
	color: var(--hns-muted);
	font-size: 11px;
	line-height: 1.6;
}

.hns-fit-render-note {
	margin: 8px 0 0;
	padding: 8px 10px;
	border-left: 3px solid var(--hns-accent);
	border-radius: 6px;
	background: #fff4e9;
	color: #71451f;
	font-size: 11px;
	line-height: 1.55;
}

.hns-canvas-shell,
.hns-case-canvas-shell {
	position: relative;
	display: grid;
	min-height: 430px;
	place-items: center;
	overflow: hidden;
	border-radius: 15px;
	background: #f1eeea;
}

.hns-loading,
.hns-case-empty {
	position: absolute;
	z-index: 2;
	max-width: 300px;
	padding: 28px;
	color: var(--hns-muted);
	font-size: 14px;
	text-align: center;
}

.hns-canvas,
.hns-case-canvas {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 650px;
	object-fit: contain;
	touch-action: none;
	cursor: grab;
}

.hns-canvas.is-dragging,
.hns-case-canvas.is-dragging {
	cursor: grabbing;
}

.hns-preview-rotate {
	position: absolute;
	right: 14px;
	bottom: 14px;
	z-index: 3;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(33, 31, 29, 0.88);
	box-shadow: 0 5px 16px rgba(33, 31, 29, 0.24);
	color: #fff;
	font: inherit;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.hns-preview-rotate:hover,
.hns-preview-rotate:focus-visible,
.hns-preview-rotate.is-landscape {
	background: var(--hns-accent);
}

.hns-preview-rotate:focus-visible {
	outline: 3px solid rgba(155, 92, 49, 0.28);
	outline-offset: 3px;
}

.hns-preview-rotate:disabled {
	cursor: wait;
	opacity: 0.45;
}

.hns-download,
.hns-case-download {
	margin-top: 14px;
}

.hns-disclaimer {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.7;
}

.hns-case-layout,
.hns-order-layout {
	margin: 20px 0 0 43px;
}

.hns-upload {
	display: block;
	padding: 20px;
	border: 1px dashed #b9ada2;
	border-radius: 12px;
	background: var(--hns-soft);
	text-align: center;
	cursor: pointer;
}

.hns-upload:hover {
	border-color: var(--hns-accent);
}

.hns-art-upload {
	margin-top: 12px;
}

.hns-upload-title,
.hns-upload-sub {
	display: block;
}

.hns-upload-title {
	font-weight: 800;
}

.hns-upload-sub {
	margin-top: 3px;
	color: var(--hns-muted);
	font-size: 12px;
}

.hns-case-file,
.hns-art-file,
.hns-art-preview-file {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

@media (min-width: 821px) {
	.hns-preview {
		position: sticky;
		top: 16px;
		align-self: start;
	}
}

.hns-case-file-name {
	margin: 8px 0 0;
	font-size: 12px;
}

.hns-case-edit {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--hns-line);
}

.hns-order-layout {
	grid-template-columns: minmax(300px, 1.15fr) minmax(280px, 0.85fr);
}

.hns-quantity-control {
	display: flex;
	gap: 8px;
	align-items: center;
}

.hns-quantity-button {
	width: 48px;
	padding: 0;
	font-size: 18px;
}

.hns-quantity {
	width: 86px;
	min-height: 48px;
	padding: 8px;
	border: 1px solid var(--hns-line);
	border-radius: 9px;
	font: inherit;
	text-align: center;
}

.hns-size-list {
	display: grid;
	gap: 9px;
	margin-top: 16px;
}

.hns-size-row {
	display: grid;
	grid-template-columns: minmax(76px, 1fr) repeat(2, minmax(88px, 1fr));
	gap: 8px;
	align-items: center;
	padding: 9px;
	border: 1px solid var(--hns-line);
	border-radius: 11px;
}

.hns-size-row strong {
	font-size: 13px;
}

.hns-size-choice {
	min-height: 42px;
	padding: 7px 10px;
}

.hns-size-choice.is-active {
	border-color: var(--hns-accent);
	background: #fff8f1;
	box-shadow: inset 0 0 0 1px var(--hns-accent);
}

.hns-order-summary {
	padding: 20px;
	border-radius: 13px;
	background: var(--hns-soft);
}

.hns-purchase-type {
	margin: 0 0 18px;
	padding: 0 0 18px;
	border: 0;
	border-bottom: 1px solid #d7cfc7;
}

.hns-purchase-type legend {
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 800;
}

.hns-purchase-type label {
	display: block;
	position: relative;
	margin-top: 7px;
	cursor: pointer;
}

.hns-purchase-type input {
	position: absolute;
	opacity: 0;
}

.hns-purchase-type span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 12px;
	border: 1px solid #d8cfc6;
	border-radius: 9px;
	background: #fff;
	font-size: 12px;
	font-weight: 700;
}

.hns-purchase-type input:checked + span {
	border-color: var(--hns-accent);
	background: #fff8f1;
	box-shadow: inset 0 0 0 1px var(--hns-accent);
}

.hns-purchase-type input:focus-visible + span {
	outline: 3px solid rgba(165, 94, 49, 0.22);
	outline-offset: 2px;
}

.hns-monitor-panel {
	margin: 0 0 18px;
	padding: 15px;
	border: 1px solid #e3cfb7;
	border-radius: 11px;
	background: #fff9ef;
	font-size: 12px;
	line-height: 1.65;
}

.hns-monitor-panel[hidden] {
	display: none;
}

.hns-monitor-panel > p {
	margin: 0 0 9px;
}

.hns-monitor-title {
	color: #7e4726;
	font-size: 14px;
	font-weight: 800;
}

.hns-monitor-check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 10px 0;
	cursor: pointer;
}

.hns-monitor-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--hns-accent);
}

.hns-monitor-review-note {
	margin-bottom: 0 !important;
	color: var(--hns-muted);
}

.hns-price-row,
.hns-price-total {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	font-size: 14px;
}

.hns-price-total {
	margin-top: 10px;
	padding-top: 16px;
	border-top: 1px solid #d7cfc7;
	font-weight: 800;
}

.hns-price-total strong {
	font-size: 23px;
}

.hns-important-terms {
	margin-top: 18px;
	padding: 14px 15px;
	border: 1px solid #dccbb7;
	border-left: 4px solid var(--hns-accent);
	border-radius: 10px;
	background: #fffdf9;
	font-size: 12px;
	line-height: 1.65;
}

.hns-important-terms > strong {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
}

.hns-important-terms ul {
	margin: 0 0 0 1.25em;
	padding: 0;
}

.hns-important-terms a {
	color: #7e4726;
	font-weight: 700;
}

.hns-confirm-check {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin: 18px 0;
	font-size: 12px;
	line-height: 1.55;
}

.hns-confirm-check input {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin-top: 1px;
	accent-color: var(--hns-accent);
}

.hns-rights-check {
	margin-top: 12px;
	padding: 13px 14px;
	border: 1px solid #d8c4b2;
	border-radius: 10px;
	background: #fff;
}

.hns-rights-check strong {
	display: inline-block;
	margin-bottom: 3px;
	font-size: 13px;
}

.hns-reference {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 24px;
	align-items: center;
	margin-top: 24px;
	padding: 24px;
	border: 1px solid var(--hns-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--hns-shadow);
}

.hns-reference h3 {
	margin: 4px 0 8px;
	font-size: 21px;
}

.hns-reference p:last-child {
	margin: 0;
	color: var(--hns-muted);
	font-size: 13px;
	line-height: 1.75;
}

.hns-reference img {
	display: block;
	width: 100%;
	max-height: 480px;
	object-fit: contain;
	border-radius: 14px;
	background: var(--hns-soft);
}

.hns-submit-status {
	min-height: 1.5em;
	margin: 9px 0 0;
	color: #b42318;
	font-size: 12px;
}

.hns-submit-status.is-success {
	color: #18733c;
	font-weight: 700;
}

.hns-order-note {
	margin: 8px 0 0;
	font-size: 11px;
	line-height: 1.65;
}

@media (max-width: 820px) {
	.hns-canvas,
	.hns-case-canvas {
		width: 100%;
		max-width: none;
	}
	.hns-layout,
	.hns-case-layout,
	.hns-order-layout,
	.hns-reference {
		grid-template-columns: 1fr;
	}

	.hns-case-layout,
	.hns-order-layout {
		margin-left: 0;
	}

	.hns-canvas-shell,
	.hns-case-canvas-shell {
		min-height: 330px;
	}
}

@media (max-width: 520px) {
	.hns-root {
		margin: 22px auto;
	}

	.hns-heading {
		min-height: 310px;
		padding: 44px 24px 42px 30px;
		border-radius: 4px;
	}

	.hns-root .hns-heading h2 {
		margin: 13px 0 19px !important;
		line-height: 1.25 !important;
	}

	.hns-heading::before {
		right: -190px;
		bottom: -250px;
	}

	.hns-heading > .hns-eyebrow {
		font-size: 9px;
		letter-spacing: 0.12em;
	}

	.hns-panel,
	.hns-preview,
	.hns-case,
	.hns-order {
		padding: 18px;
		border-radius: 15px;
	}

	.hns-colors,
	.hns-color-compact,
	.hns-fallback-note,
	.hns-mode-tabs,
	.hns-plate-guide,
	.hns-text-controls,
	.hns-image-controls {
		margin-left: 0;
	}

	.hns-colors {
		grid-template-columns: 1fr;
	}

	.hns-size-row {
		grid-template-columns: 1fr 1fr;
	}

	.hns-size-row strong {
		grid-column: 1 / -1;
	}

	.hns-fit-size-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hns-fit-size-row > span {
		grid-column: 1 / -1;
	}

	.hns-text-meta,
	.hns-preview-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.hns-preview-rotate {
		right: 10px;
		bottom: 10px;
		width: 44px;
		height: 44px;
	}
}
.hns-root .hnc-order-context { margin: 18px 0; font-size: 13px; line-height: 1.7; }
.hns-root .hnc-order-context label { display: block; }
.hns-root .hnc-order-context textarea { display: block; width: 100%; margin-top: 8px; padding: 10px; border: 1px solid #c9c1b8; border-radius: 8px; background: #fff; color: #211f1d; font: inherit; resize: vertical; }
.hns-root .hnc-order-context p { margin: 6px 0; font-size: 11px; color: #716b65; }
.hns-root .hns-preview-controls { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; font-size: 13px; }
.hns-root .hns-preview-controls label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.hns-root .hns-preview-controls input { width: 18px; height: 18px; margin: 0; accent-color: #995b31; }
.hns-root .hns-preview-controls small { flex-basis: 100%; color: #746e68; font-size: 11px; }

/* V0.21.7: on mobile, detailed transform controls live only in the adjustment dialog. */
@media(max-width:767px){
  .hns-panel > .hns-range-label,
  .hns-panel > .hns-size,
  .hns-panel > .hns-angle,
  .hns-panel > .hns-button-grid,
  .hns-panel > .hns-text-button{display:none!important}
}

/* V0.21.8: SIGNATURE mobile setup + preview are one continuous white card. */
@media(max-width:767px){
  .hns-layout{gap:0!important}
  .hns-layout>.hns-panel{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-bottom:0!important;box-shadow:none!important}
  .hns-layout>.hns-preview{border-top-left-radius:0!important;border-top-right-radius:0!important;border-top:0!important;margin-top:0!important}
}

/* V0.21.21: preparation notice shown before simulator steps */
.hns-prep-notice {
  max-width: 1120px; margin: 0 auto 24px; padding: 16px 18px;
  border-left: 4px solid #8a6848; background: #f7f3ed; border-radius: 8px;
  color: #333; line-height: 1.75;
}
.hns-prep-notice strong { display:block; margin-bottom:4px; font-size:14px; }
.hns-prep-notice p { margin:0; font-size:13px; }
@media (max-width: 767px) {
  .hns-prep-notice { margin: 0 16px 20px; padding: 14px 15px; }
}
