/**
 * Unified Publishing Center — design system.
 *
 * All rules scoped under body.hy-unified-publish-page.
 * Design tokens and visual language from prototype/huangye-publier-prototype/.
 * Class prefix: hyup- (avoids collisions with theme/plugins).
 *
 * Responsive breakpoints:
 *   760px  — tablet/phone single-column
 *   390px  — small phone optimizations
 */

/* ─── Design tokens ─────────────────────────────────────────────── */

.hy-unified-publish-page {
	--hyup-accent: #c43d32;
	--hyup-accent-dark: #a62f27;
	--hyup-accent-soft: #fff1ee;
	--hyup-ink: #20201f;
	--hyup-muted: #6f6c68;
	--hyup-line: #dedbd6;
	--hyup-line-soft: #ece9e5;
	--hyup-surface: #ffffff;
	--hyup-canvas: #f8f7f5;
	--hyup-soft: #f2f0ed;
	--hyup-radius: 14px;
	--hyup-shadow: 0 18px 50px rgba(66, 47, 40, .07);
	color: var(--hyup-ink);
	background: var(--hyup-canvas);
}

/* ─── Reset / base ──────────────────────────────────────────────── */

.hy-unified-publish-page [hidden] {
	display: none !important;
}

.hy-unified-publish-page button,
.hy-unified-publish-page input,
.hy-unified-publish-page textarea,
.hy-unified-publish-page select {
	font: inherit;
}

.hy-unified-publish-page button {
	cursor: pointer;
}

.hy-unified-publish-page a {
	color: inherit;
	text-decoration: none;
}

/* ─── Page shell ────────────────────────────────────────────────── */

.hyup-page-shell {
	width: min(100% - 40px, 1000px);
	margin: 0 auto;
	padding: 26px 0 72px;
}

/* ─── Breadcrumb ────────────────────────────────────────────────── */

.hyup-breadcrumb {
	display: flex;
	gap: 9px;
	align-items: center;
	color: #88847f;
	font-size: 13px;
	margin-bottom: 28px;
}

.hyup-breadcrumb a:hover {
	color: var(--hyup-accent);
}

.hyup-sep {
	color: #c5c1bc;
}

/* ─── Intro ─────────────────────────────────────────────────────── */

.hyup-intro {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 60px;
	margin-bottom: 42px;
}

.hyup-kicker {
	color: var(--hyup-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.hyup-intro h1 {
	margin: 0 0 9px;
	font-size: clamp(34px, 5vw, 52px);
	letter-spacing: -.045em;
	line-height: 1.08;
}

.hyup-intro > div > p {
	color: var(--hyup-muted);
	margin: 0;
	font-size: 16px;
}

.hyup-login-note {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 380px;
	padding: 14px 16px;
	background: var(--hyup-surface);
	border: 1px solid var(--hyup-line-soft);
	border-radius: var(--hyup-radius);
}

.hyup-login-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--hyup-soft);
	display: grid;
	place-items: center;
	color: var(--hyup-accent);
	font-size: 12px;
	font-weight: 800;
	flex-shrink: 0;
}

.hyup-login-note p {
	flex: 1;
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
}

.hyup-login-note p span {
	color: var(--hyup-muted);
}

.hyup-login-note a {
	color: var(--hyup-accent);
	font-weight: 700;
	white-space: nowrap;
}

/* ─── Section heading ───────────────────────────────────────────── */

.hyup-section-heading {
	margin-bottom: 18px;
}

.hyup-section-heading h2 {
	margin: 0 0 6px;
	font-size: 24px;
	letter-spacing: -.02em;
}

.hyup-section-heading p {
	margin: 0;
	color: var(--hyup-muted);
	font-size: 14px;
}

/* ─── Type cards (chooser) ──────────────────────────────────────── */

.hyup-type-cards {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 14px;
}

.hyup-type-card {
	min-height: 150px;
	appearance: none;
	border: 1px solid var(--hyup-line);
	border-radius: var(--hyup-radius);
	background: var(--hyup-surface);
	padding: 26px;
	text-align: left;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px;
	color: var(--hyup-ink);
	transition: border-color .2s, transform .2s, box-shadow .2s;
}

.hyup-type-card:first-child {
	grid-row: span 2;
	min-height: 314px;
	align-content: end;
	background: var(--hyup-accent-soft);
	border-color: #ebc8c2;
}

.hyup-type-card:hover {
	transform: translateY(-2px);
	border-color: #b8b2aa;
	box-shadow: var(--hyup-shadow);
}

.hyup-type-card:active {
	transform: translateY(1px);
}

.hyup-type-monogram {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: var(--hyup-soft);
	color: var(--hyup-accent);
	font-weight: 800;
	font-size: 19px;
}

.hyup-business-card .hyup-type-monogram {
	width: 68px;
	height: 68px;
	background: var(--hyup-accent);
	color: white;
	font-size: 24px;
}

.hyup-type-card strong {
	display: block;
	margin-bottom: 7px;
	font-size: 18px;
}

.hyup-business-card strong {
	font-size: 24px;
}

.hyup-type-card small {
	display: block;
	color: var(--hyup-muted);
	font-size: 13px;
	line-height: 1.55;
}

.hyup-card-arrow {
	font-size: 24px;
	color: var(--hyup-accent);
}

/* ─── Publisher ─────────────────────────────────────────────────── */

.hyup-publisher {
	animation: hyup-enter .28s ease both;
	scroll-margin-top: 84px;
}

@keyframes hyup-enter {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

/* ─── Type tabs ─────────────────────────────────────────────────── */

.hyup-type-tabs {
	background: var(--hyup-surface);
	border: 1px solid var(--hyup-line);
	border-radius: var(--hyup-radius);
	padding: 6px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	margin-bottom: 18px;
	position: sticky;
	top: 82px;
	z-index: 20;
	box-shadow: 0 8px 30px rgba(50, 40, 35, .04);
}

.hyup-type-tabs button {
	border: 0;
	background: transparent;
	color: var(--hyup-muted);
	border-radius: 10px;
	padding: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.hyup-type-tabs button span {
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	background: var(--hyup-soft);
	font-size: 11px;
}

.hyup-type-tabs button[aria-selected="true"] {
	background: var(--hyup-accent-soft);
	color: var(--hyup-accent-dark);
}

.hyup-type-tabs button[aria-selected="true"] span {
	color: white;
	background: var(--hyup-accent);
}

/* ─── Edit banner ───────────────────────────────────────────────── */

.hyup-edit-banner {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: var(--hyup-radius);
	background: #fff8e7;
	border: 1px solid #eeddb2;
}

.hyup-edit-banner > span {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: #f0c763;
	color: #463713;
	font-weight: 800;
	font-size: 12px;
	flex-shrink: 0;
}

.hyup-edit-banner p {
	margin: 0;
	font-size: 13px;
}

.hyup-edit-banner small {
	display: block;
	color: #766844;
	font-size: 12px;
	margin-top: 3px;
}

/* ─── Publish form (shared) ─────────────────────────────────────── */

.hyup-publish-form {
	background: var(--hyup-surface);
	border: 1px solid var(--hyup-line);
	border-radius: var(--hyup-radius);
	overflow: clip;
	box-shadow: var(--hyup-shadow);
}

.hyup-form-title {
	padding: 28px 32px 25px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	border-bottom: 1px solid var(--hyup-line-soft);
}

.hyup-form-title p {
	margin: 0 0 6px;
	color: var(--hyup-accent);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.hyup-form-title h2 {
	margin: 0;
	font-size: 24px;
	letter-spacing: -.025em;
}

.hyup-form-title > span {
	color: var(--hyup-muted);
	font-size: 12px;
}

/* ─── Form sections (collapsible) ───────────────────────────────── */

.hyup-form-section {
	border: 0;
	border-bottom: 1px solid var(--hyup-line-soft);
	padding: 0;
	margin: 0;
	min-width: 0;
}

.hyup-form-section:last-child {
	border-bottom: 0;
}

.hyup-section-toggle {
	width: 100%;
	min-height: 82px;
	padding: 18px 32px;
	display: grid;
	grid-template-columns: 36px 1fr auto;
	gap: 16px;
	align-items: center;
	border: 0;
	background: var(--hyup-surface);
	text-align: left;
	color: var(--hyup-ink);
}

.hyup-section-toggle:hover {
	background: #fcfbfa;
}

.hyup-section-index {
	color: var(--hyup-accent);
	font-size: 12px;
	font-weight: 800;
}

.hyup-section-toggle strong {
	display: block;
	font-size: 16px;
}

.hyup-section-toggle small {
	display: block;
	margin-top: 4px;
	color: var(--hyup-muted);
	font-size: 12px;
	font-weight: 400;
}

.hyup-chevron {
	font-size: 22px;
	color: #89847e;
	transition: transform .2s;
}

.hyup-section-toggle[aria-expanded="true"] .hyup-chevron {
	transform: rotate(180deg);
}

.hyup-section-content {
	padding: 4px 32px 32px 84px;
}

/* 曝光引导提示（图片区 / 详细介绍区）——纯文字提示，不是弹窗，
   沿用表单自己的 tokens；块级全宽，窄屏自然换行，不需要额外断点。 */
.hyup-exposure-tip {
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid var(--hyup-line-soft);
	border-left: 3px solid var(--hyup-accent);
	border-radius: 12px;
	background: var(--hyup-accent-soft);
}

.hyup-exposure-tip strong {
	display: block;
	margin-bottom: 4px;
	color: var(--hyup-ink);
	font-size: 14px;
	font-weight: 700;
}

.hyup-exposure-tip p {
	margin: 0;
	color: var(--hyup-muted);
	font-size: 13px;
	line-height: 1.55;
}

.hyup-exposure-tip em {
	color: var(--hyup-accent-dark);
	font-style: normal;
	font-weight: 700;
}

/* ─── Fields ────────────────────────────────────────────────────── */

.hyup-field-grid {
	display: grid;
	gap: 18px;
}

.hyup-grid-two {
	grid-template-columns: 1fr 1fr;
}

.hyup-grid-zip-city {
	grid-template-columns: .45fr 1fr;
}

.hyup-field {
	display: block;
	margin-bottom: 20px;
	min-width: 0;
}

.hyup-field > span:first-child {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
}

.hyup-required > span:first-child::after {
	content: " *";
	color: var(--hyup-accent);
}

.hyup-publish-form input,
.hyup-publish-form textarea,
.hyup-publish-form select {
	width: 100%;
	color: var(--hyup-ink);
	background: white;
	border: 1px solid #cfcac4;
	border-radius: 10px;
	padding: 12px 13px;
	outline: none;
	transition: border-color .18s, box-shadow .18s;
}

.hyup-publish-form input,
.hyup-publish-form select {
	min-height: 46px;
}

.hyup-publish-form textarea {
	resize: vertical;
	line-height: 1.65;
}

.hyup-publish-form input::placeholder,
.hyup-publish-form textarea::placeholder {
	color: #97938e;
}

.hyup-publish-form input:focus,
.hyup-publish-form textarea:focus,
.hyup-publish-form select:focus {
	border-color: var(--hyup-accent);
	box-shadow: 0 0 0 3px rgba(196, 61, 50, .12);
}

.hyup-field.hyup-has-error input,
.hyup-field.hyup-has-error textarea,
.hyup-field.hyup-has-error select {
	border-color: var(--hyup-accent);
	background: #fff9f8;
}

.hyup-field-hint {
	display: flex;
	justify-content: space-between;
	margin-top: 7px;
	color: var(--hyup-muted);
	font-size: 11px;
}

/* Choice row (e.g. 匿名发布) — a quiet inline option, not a bordered field. */
.hyup-choice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: -4px 0 20px;
	font-size: 13px;
	color: var(--hyup-ink, #1f2530);
	cursor: pointer;
}

/* The form's global `input` rules (width:100%, padding, border, min-height:46px)
   are text-field styles; they must not leak into this checkbox. */
.hyup-choice input[type="checkbox"] {
	flex: none;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	accent-color: var(--hyup-accent);
	cursor: pointer;
}

.hyup-choice > span {
	font-weight: 600;
}

.hyup-choice > small {
	flex: 1 1 100%;
	color: var(--hyup-muted);
	font-size: 11.5px;
	line-height: 1.5;
}

/* ─── Upload ────────────────────────────────────────────────────── */

.hyup-upload-grid {
	display: grid;
	grid-template-columns: .45fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.hyup-upload-box,
.hyup-upload-strip {
	border: 1px dashed #c9c3bc;
	background: #faf9f7;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 154px;
	padding: 20px;
	cursor: pointer;
	position: relative;
}

.hyup-upload-box:hover,
.hyup-upload-strip:hover {
	border-color: var(--hyup-accent);
	background: var(--hyup-accent-soft);
}

.hyup-upload-box input[type="file"],
.hyup-upload-strip input[type="file"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	cursor: pointer;
	border: 0;
	padding: 0;
	min-height: 0;
	background: transparent;
}

.hyup-upload-plus {
	width: 35px;
	height: 35px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	color: var(--hyup-accent);
	background: white;
	border: 1px solid var(--hyup-line);
	font-size: 20px;
	margin-bottom: 10px;
}

.hyup-upload-box strong {
	font-size: 13px;
}

.hyup-upload-box small,
.hyup-upload-strip small {
	margin-top: 5px;
	color: var(--hyup-muted);
	font-size: 11px;
}

.hyup-upload-strip {
	min-height: 92px;
}

.hyup-upload-strip span {
	color: var(--hyup-accent);
	font-size: 13px;
	font-weight: 800;
}

/* Upload preview thumbnails */
.hyup-upload-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.hyup-upload-thumb {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--hyup-line-soft);
}

.hyup-upload-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hyup-upload-thumb button {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0,0,0,.55);
	color: white;
	border: 0;
	font-size: 12px;
	line-height: 1;
	display: grid;
	place-items: center;
	padding: 0;
	min-height: 0;
}

/* Drag-and-drop visual feedback. */
.hyup-upload-box.hyup-drag-over,
.hyup-upload-strip.hyup-drag-over {
	border-color: var(--hyup-accent);
	background: var(--hyup-accent-soft);
	border-style: solid;
}

/* Loading spinner placeholder for in-progress uploads. */
.hyup-thumb-loading {
	display: block;
	width: 100%;
	height: 100%;
	background: #f0ede9;
	background-image: linear-gradient(90deg, transparent 0%, rgba(196,61,50,.12) 50%, transparent 100%);
	background-size: 200% 100%;
	animation: hyup-shimmer 1.4s ease-in-out infinite;
}

@keyframes hyup-shimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* ─── Business hours editor ─────────────────────────────────────── */

.hyup-hours-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.hyup-hours-preset {
	border: 1px solid var(--hyup-line-soft);
	background: #fdfcfb;
	color: #4e4b47;
	border-radius: 999px;
	padding: 6px 13px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .15s ease, color .15s ease;
}

.hyup-hours-preset:hover {
	border-color: var(--hyup-accent);
	color: var(--hyup-accent);
}

.hyup-hours-grid {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hyup-hours-row {
	display: grid;
	grid-template-columns: 90px 1fr auto;
	gap: 10px;
	align-items: center;
	padding: 8px 12px;
	border: 1px solid var(--hyup-line-soft);
	border-radius: 10px;
	background: #fdfcfb;
}

.hyup-hours-row:not(.hyup-hours-active) .hyup-hours-times,
.hyup-hours-row:not(.hyup-hours-active) .hyup-hours-allday {
	opacity: .4;
	pointer-events: none;
}

.hyup-hours-day {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.hyup-hours-day input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--hyup-accent);
}

.hyup-hours-times {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hyup-hours-slot {
	display: flex;
	align-items: center;
	gap: 6px;
}

.hyup-hours-slot input[type="time"] {
	min-height: 36px !important;
	padding: 6px 8px !important;
	font-size: 13px;
	width: 110px;
}

.hyup-hours-slot span {
	color: var(--hyup-muted);
	font-size: 12px;
}

.hyup-hours-allday {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	font-size: 12px;
	color: var(--hyup-muted);
	cursor: pointer;
	white-space: nowrap;
}

.hyup-hours-allday input[type="checkbox"] {
	width: 14px;
	height: 14px;
	margin: 0;
	accent-color: var(--hyup-accent);
}

.hyup-hours-add-slot {
	margin-top: 4px;
	border: 0;
	background: transparent;
	color: var(--hyup-accent);
	font-size: 12px;
	font-weight: 700;
	padding: 2px 0;
}

.hyup-hours-add-slot:hover {
	text-decoration: underline;
}

/* ─── Single form (annonce / question) ──────────────────────────── */

.hyup-single-form {
	padding: 30px 32px 12px;
}

.hyup-price-row {
	display: grid;
	grid-template-columns: 1fr 96px;
	gap: 8px;
}

/* ─── Question tip ──────────────────────────────────────────────── */

.hyup-question-tip {
	margin: 24px 32px 0;
	border-radius: 12px;
	background: var(--hyup-accent-soft);
	padding: 16px;
	display: flex;
	gap: 12px;
	align-items: center;
}

.hyup-question-tip > span {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: white;
	background: var(--hyup-accent);
	font-weight: 800;
	font-size: 13px;
	flex-shrink: 0;
}

.hyup-question-tip p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

/* ─── Action bar ────────────────────────────────────────────────── */

.hyup-action-bar {
	margin-top: 18px;
	position: sticky;
	bottom: 0;
	z-index: 25;
	background: rgba(248, 247, 245, .92);
	backdrop-filter: blur(14px);
	border-top: 1px solid rgba(222, 219, 214, .8);
	padding: 12px 0;
}

.hyup-action-inner {
	display: flex;
	justify-content: space-between;
	gap: 14px;
}

.hyup-save-actions {
	display: flex;
	gap: 10px;
}

.hyup-back-choice,
.hyup-secondary-button,
.hyup-primary-button {
	min-height: 44px;
	border-radius: 10px;
	padding: 0 18px;
	font-weight: 700;
	white-space: nowrap;
}

.hyup-back-choice {
	border: 0;
	background: transparent;
	color: var(--hyup-muted);
}

.hyup-back-choice:hover {
	color: var(--hyup-accent);
}

.hyup-secondary-button {
	border: 1px solid #c9c4be;
	background: white;
	color: #4e4b47;
}

.hyup-secondary-button:hover {
	border-color: #918b84;
}

.hyup-primary-button {
	border: 1px solid var(--hyup-accent);
	background: var(--hyup-accent);
	color: white;
	min-width: 126px;
}

.hyup-primary-button:hover {
	background: var(--hyup-accent-dark);
	border-color: var(--hyup-accent-dark);
}

/* ─── Toast ─────────────────────────────────────────────────────── */

.hyup-toast {
	position: fixed;
	z-index: 60;
	left: 50%;
	bottom: 26px;
	transform: translate(-50%, 16px);
	background: #272624;
	color: white;
	padding: 12px 17px;
	border-radius: 10px;
	font-size: 13px;
	opacity: 0;
	pointer-events: none;
	transition: .22s ease;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.hyup-toast.hyup-show {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ─── Responsive: tablet / phone ────────────────────────────────── */

@media (max-width: 760px) {
	.hyup-page-shell {
		width: calc(100% - 28px);
		padding-top: 18px;
		padding-bottom: 46px;
	}

	.hyup-breadcrumb {
		margin-bottom: 22px;
	}

	.hyup-intro {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-bottom: 32px;
	}

	.hyup-intro h1 {
		font-size: 38px;
	}

	.hyup-login-note {
		max-width: none;
	}

	.hyup-type-cards {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hyup-type-card,
	.hyup-type-card:first-child {
		grid-row: auto;
		min-height: 112px;
		padding: 19px;
		align-content: center;
	}

	.hyup-type-card:first-child {
		min-height: 126px;
	}

	.hyup-type-monogram,
	.hyup-business-card .hyup-type-monogram {
		width: 48px;
		height: 48px;
		border-radius: 12px;
		font-size: 17px;
	}

	.hyup-business-card strong,
	.hyup-type-card strong {
		font-size: 17px;
	}

	.hyup-type-tabs {
		top: 70px;
	}

	.hyup-publisher {
		scroll-margin-top: 70px;
	}

	.hyup-type-tabs button {
		padding: 10px 5px;
		font-size: 12px;
	}

	.hyup-type-tabs button span {
		display: none;
	}

	.hyup-form-title {
		padding: 22px 20px;
		align-items: flex-start;
	}

	.hyup-form-title h2 {
		font-size: 20px;
	}

	.hyup-form-title > span {
		margin-top: 4px;
	}

	.hyup-section-toggle {
		min-height: 76px;
		padding: 16px 20px;
		grid-template-columns: 30px 1fr auto;
		gap: 10px;
	}

	.hyup-section-content {
		padding: 4px 20px 24px 60px;
	}

	.hyup-grid-two,
	.hyup-grid-zip-city,
	.hyup-upload-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.hyup-upload-grid {
		gap: 12px;
	}

	.hyup-upload-box {
		min-height: 124px;
	}

	.hyup-single-form {
		padding: 24px 20px 8px;
	}

	.hyup-question-tip {
		margin: 18px 20px 0;
		align-items: flex-start;
	}

	.hyup-price-row {
		grid-template-columns: 1fr;
	}

	.hyup-action-bar {
		margin-left: -14px;
		margin-right: -14px;
		padding: 10px 14px max(10px, env(safe-area-inset-bottom));
	}

	.hyup-action-inner {
		display: block;
	}

	.hy-unified-publish-page .hyup-back-choice {
		display: block;
		width: 100%;
		min-height: 30px;
		padding: 4px 0 8px;
		font-size: 12px;
		font-weight: 600;
		text-align: center;
		color: var(--hyup-muted);
		background: transparent;
		border: 0;
	}

	.hyup-save-actions {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 7px;
	}

	.hyup-secondary-button,
	.hyup-primary-button {
		padding: 0 11px;
		min-width: 0;
		font-size: 12px;
	}

	.hyup-hours-row {
		grid-template-columns: 80px 1fr;
		gap: 6px;
	}

	.hyup-hours-allday {
		grid-column: 2;
		justify-self: start;
	}

	.hyup-hours-slot input[type="time"] {
		width: 100px;
	}
}

/* ─── Responsive: small phone ───────────────────────────────────── */

@media (max-width: 390px) {
	.hyup-section-content {
		padding-left: 20px;
	}

	.hyup-section-index {
		display: none;
	}

	.hyup-section-toggle {
		grid-template-columns: 1fr auto;
	}

	.hyup-login-note {
		padding: 12px;
	}

	.hyup-login-icon {
		display: none;
	}
}

/* ─── Reduced motion ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.hy-unified-publish-page *,
	.hy-unified-publish-page *::before,
	.hy-unified-publish-page *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
