/* 店员入驻：宽屏资料桌，沿用晨雾流光的玻璃与光谱。 */
.ap-page { max-width: 1200px; margin: 0 auto; padding-bottom: 24px; min-width: 0; }
.ap-page [hidden] { display: none !important; }
.ap-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 8px 4px 28px; }
.ap-back { font-size: 12.5px; }
.ap-header h1 { margin: 12px 0 6px; font-size: clamp(27px, 3.5vw, 38px); font-weight: 400; letter-spacing: .12em; line-height: 1.35; }
.ap-header p { margin: 0; color: var(--ink-2); }
.ap-header-note { flex: none; color: var(--ink-3); font-size: 12.5px; letter-spacing: .12em; }
.ap-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ap-form { min-width: 0; position: relative; overflow: hidden; }
.ap-form::before, .ap-status::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--spectrum); }
.ap-form-intro { padding: 28px 30px 24px; border-bottom: 1px solid var(--line); }
.ap-form-intro h2, .ap-card h2 { margin: 0 0 10px; font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.ap-form-intro p { margin: 8px 0; color: var(--ink-2); }
.ap-form-intro .linkish { margin-top: 4px; font-size: 12.5px; }
.ap-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.ap-section { padding: 24px 30px 28px; scroll-margin-top: 90px; }
.ap-section + .ap-section, .ap-confirm { border-top: 1px solid var(--line); }
.ap-section h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.ap-section > p { margin: 5px 0 18px; color: var(--ink-3); font-size: 12.5px; }
.ap-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.ap-wide { grid-column: 1 / -1; min-width: 0; }
.ap-field, .ap-field.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; }
.ap-field + .ap-field, .ap-field.field + .ap-field.field { margin-top: 0; }
.ap-section > .ap-field + .ap-field { margin-top: 22px; }
.ap-field > label, .ap-field > span { padding: 0; font-weight: 600; font-size: 13px; line-height: 1.5; }
.ap-required { color: var(--primary); }
.ap-optional { font-weight: 400; font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.ap-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .ap-field select, .ap-field textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass-strong); padding: 10px 12px; font: inherit; color: var(--ink); }
.ap-field select { padding-right: 24px; }
.ap-field textarea { resize: vertical; line-height: 1.7; }
.ap-field input::placeholder, .ap-field textarea::placeholder { color: var(--ink-3); font-size: 12.5px; }
.ap-field [aria-invalid="true"] { outline: 2px solid var(--primary); outline-offset: 2px; }
.ap-tip, .ap-tip.field-tip { margin: 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; overflow-wrap: anywhere; }
.ap-error { margin: 8px 0 0; color: var(--gold); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.ap-error:empty { display: none; }
.ap-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-choice { display: inline-flex; position: relative; align-items: center; gap: 8px; padding: 9px 16px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass-strong); font-size: 13px; cursor: pointer; }
.ap-choice:has(input:checked) { color: var(--primary); border-color: var(--primary); }
.ap-choice input, .ap-agree input { margin: 0; width: 16px; height: 16px; accent-color: var(--primary); flex: none; }
.ap-choice:focus-within, .ap-file-pick:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.ap-written, .ap-field textarea.ap-written { font-family: var(--kai); font-size: 16px; }
.ap-counter { float: right; font-size: 12px; color: var(--ink-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.ap-audio-box { padding: 16px; border: 1px solid var(--line); background: var(--glass); border-radius: 16px; }
.ap-audio { width: 100%; min-width: 0; height: 40px; display: block; margin-bottom: 8px; }
.ap-media-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.ap-media-actions .ghost-btn { justify-content: center; font-size: 13px; height: 40px; max-width: 100%; }
.ap-file-pick { position: relative; overflow: hidden; cursor: pointer; }
.ap-file-pick input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ap-file-pick:has(input:disabled), .ap-page button:disabled { opacity: .55; cursor: not-allowed; }
.ap-file-pick input:disabled { cursor: not-allowed; }
.ap-rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: ap-record-pulse 1.1s ease-in-out infinite; }
.ap-recording { gap: 7px; color: var(--primary); font-variant-numeric: tabular-nums; }
.ap-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.ap-photo, .ap-photo-add { position: relative; aspect-ratio: 3 / 4; min-width: 0; border-radius: 14px; background: var(--glass-strong); overflow: hidden; }
.ap-photo-view { width: 100%; height: 100%; display: block; }
.ap-photo-view img, .ap-photo-view .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.ap-photo-view:hover img { opacity: .9; }
.ap-photo-placeholder { display: grid; height: 100%; place-items: center; color: var(--ink-3); }
.ap-photo-remove { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink); background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow); font-size: 21px; line-height: 1; }
.ap-photo-remove:hover { background: var(--glass-line); color: var(--primary); }
.ap-photo-state { position: absolute; bottom: 0; left: 0; right: 0; padding: 7px 4px; background: var(--glass-strong); color: var(--ink-2); font-size: 12px; text-align: center; }
.ap-photo-retry { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ap-photo-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px dashed var(--line); color: var(--ink-3); }
.ap-photo-add > span { font-size: 26px; color: var(--primary); }
.ap-photo-add b { font-size: 12.5px; font-weight: 500; }
.ap-photo-add small { font-size: 12px; }
.ap-agree { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 13px; cursor: pointer; line-height: 1.8; }
.ap-agree input { margin-top: 4px; }
.ap-agreement { display: inline-block; margin: 10px 0 0 26px; font-size: 12.5px; text-align: left; }
.ap-confirm > .ap-tip { margin: 12px 0; }
.ap-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 18px 0 8px; }
.ap-submit-row .cta { min-width: 180px; justify-content: center; flex: none; }
.ap-submit-row > span { flex: 1; min-width: 150px; }
.ap-aside { position: sticky; top: 88px; display: grid; gap: 16px; min-width: 0; }
.ap-card { padding: 22px; min-width: 0; }
.ap-card p, .ap-rules p { color: var(--ink-2); font-size: 13px; line-height: 1.8; margin: 10px 0; overflow-wrap: anywhere; }
.ap-flow { list-style: none; margin: 20px 0; padding: 0; counter-reset: ap-flow; }
.ap-flow li { position: relative; counter-increment: ap-flow; padding: 0 0 18px 32px; }
.ap-flow li:last-child { padding-bottom: 0; }
.ap-flow li::before { content: counter(ap-flow); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass-strong); color: var(--primary); font-size: 11px; }
.ap-flow li:not(:last-child)::after { content: ""; position: absolute; top: 26px; bottom: 4px; left: 10px; width: 1px; background: var(--line); }
.ap-flow b, .ap-flow span { display: block; }
.ap-flow b { font-size: 13px; font-weight: 500; }
.ap-flow span { color: var(--ink-3); font-size: 12px; }
.ap-rules summary { cursor: pointer; font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.ap-rules[open] summary { margin-bottom: 16px; }
.ap-seg { display: flex; width: fit-content; max-width: 100%; }
.ap-seg button { padding: 6px 13px; font-size: 12px; letter-spacing: 0; }
.ap-tier-table { border-collapse: collapse; width: 100%; margin: 16px 0; text-align: left; font-size: 13px; }
.ap-tier-table th, .ap-tier-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); font-weight: 400; }
.ap-tier-table thead { color: var(--ink-3); font-size: 12px; }
.ap-tier-table th:last-child, .ap-tier-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ap-banner { padding: 14px 22px; color: var(--online); margin: 0 0 18px; overflow-wrap: anywhere; }
.ap-status { position: relative; overflow: hidden; padding: 40px 32px; margin-bottom: 22px; text-align: center; }
.ap-status h2 { margin: 18px 0 10px; font-size: clamp(20px, 2.8vw, 27px); font-weight: 500; letter-spacing: .06em; }
.ap-status > p { max-width: 620px; margin: 10px auto; color: var(--ink-2); overflow-wrap: anywhere; }
.ap-status-mark { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto; border-radius: 50%; color: var(--primary); background: var(--glass-strong); border: 1px solid var(--line); font-size: 27px; }
.ap-status-data { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 24px; padding: 20px; margin: 24px auto; max-width: 540px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); text-align: left; }
.ap-status-data dt { color: var(--ink-3); font-size: 13px; }
.ap-status-data dd { margin: 0; overflow-wrap: anywhere; }
.ap-status-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.ap-status-actions .cta { justify-content: center; }
.ap-rejected { margin-bottom: 22px; border-left: 3px solid var(--gold); }
.ap-rejected .ap-written { white-space: pre-wrap; font-family: var(--kai); font-size: 16px; }
.ap-notice { margin-top: 18px; }
.ap-notice .ghost-btn { margin-top: 6px; }
.ap-review-qrs { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 24px auto 12px; }
.ap-review-qr { display: grid; gap: 10px; width: min(210px, 100%); text-align: center; color: var(--ink-3); font-size: 12.5px; }
.ap-review-qr img, .ap-review-qr .ph { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass-strong); }
.ap-preview.sheet-modal { width: min(800px, 100%); max-height: calc(100dvh - 48px); overflow: auto; }
.ap-preview > img, .ap-preview > .ph { display: block; width: auto; max-width: 100%; max-height: 65vh; object-fit: contain; margin: 20px auto 0; border-radius: 14px; }
.ap-document.sheet-modal { width: min(740px, 100%); max-height: calc(100dvh - 48px); overflow: auto; }
.ap-document-body { max-height: 60vh; margin-top: 16px; padding: 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; color: var(--ink-2); line-height: 1.9; }
.ap-one-act.acts { grid-template-columns: 1fr; }
@keyframes ap-record-pulse { 50% { opacity: .35; } }
@media (max-width: 1000px) {
	.ap-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
	.ap-section, .ap-form-intro { padding-left: 22px; padding-right: 22px; }
	.ap-fields { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.ap-header { padding-bottom: 20px; }
	.ap-header-note { display: none; }
	.ap-layout { grid-template-columns: minmax(0, 1fr); }
	.ap-aside { position: static; grid-row: 1; }
	.ap-aside .ap-card:first-child { display: none; }
	.ap-aside .ap-card { padding: 16px 20px; }
	.ap-form-intro, .ap-section { padding: 20px 18px; }
	.ap-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.ap-status { padding: 28px 18px; }
	.ap-status-data { padding: 16px 12px; gap: 10px 14px; }
	.ap-submit-row { align-items: stretch; flex-direction: column; }
	.ap-submit-row .cta { width: 100%; }
	.ap-audio-box { padding: 12px; }
	.ap-media-actions { gap: 8px; }
	.ap-media-actions .ghost-btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.ap-rec-dot { animation: none; }
	.ap-page *, .ap-preview *, .ap-document * { scroll-behavior: auto; transition: none; }
}
