@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/cached-assets/BricolageGrotesque-Variable-a97804dc9fbe5fc9.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --action: #fabb52;
  --motion: #5ca1fa;
  --coral: #f76e74;
  --coral-soft: #fcd1ce;
  --mint: #6cd6ca;
  --mint-soft: #dcf4ec;
  --teal: #217a69;
  --warm: #fcfbf3;
  --surface: #fffdf8;
  --ink: #171312;
  --muted: #57595d;
  --line: #ded8d0;
  --danger: #b83242;
  --warning: #9a5b00;
  --info: #2e64b7;
  --shadow: 0 12px 32px rgba(23, 19, 18, .08);
  --nav-h: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--warm);
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--warm); color: var(--ink); }
body.qa-capture .prototype-bar { display: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--motion); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 9999; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; }
.skip-link:focus { top: 12px; }

.prototype-bar {
  position: fixed; z-index: 800; left: 18px; top: 18px; width: 248px;
  padding: 14px; border: 1px solid rgba(23,19,18,.14); border-radius: 20px;
  background: rgba(255,253,248,.96); box-shadow: var(--shadow); backdrop-filter: blur(16px);
}
.prototype-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prototype-head strong { font: 800 14px/1.2 "Bricolage Grotesque", Arial, sans-serif; }
.prototype-toggle { width: 38px; height: 38px; border-radius: 14px; background: var(--ink); color: #fff; }
.prototype-body { display: grid; gap: 12px; margin-top: 12px; }
.prototype-bar.is-collapsed { width: auto; padding: 8px; }
.prototype-bar.is-collapsed .prototype-head strong,
.prototype-bar.is-collapsed .prototype-body { display: none; }
.prototype-label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.prototype-label select { min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.prototype-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.prototype-links button { min-height: 40px; padding: 8px 10px; border-radius: 12px; background: var(--mint-soft); font-size: 12px; font-weight: 800; }
.prototype-links button:nth-child(2) { background: var(--coral-soft); }
.prototype-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.app-shell { width: min(100%, 480px); min-height: 100vh; margin: 0 auto; background: var(--warm); position: relative; overflow: clip; }
.app-shell.has-bottom-nav .page { padding-bottom: calc(108px + var(--safe-bottom)); }
.page { min-height: 100vh; padding: calc(24px + var(--safe-top)) 24px 48px; animation: pageIn 180ms ease-out both; }
.page.is-detail { padding-top: calc(88px + var(--safe-top)); }
.page-header { position: fixed; z-index: 80; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); padding: calc(10px + var(--safe-top)) 16px 10px; display: flex; align-items: center; gap: 12px; background: rgba(252,251,243,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(222,216,208,.68); }
.page-header h1 { margin: 0; font-size: 18px; line-height: 26px; flex: 1; }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 23px; }
.icon-button.is-quiet { border-color: transparent; background: transparent; }
.brand { margin: 0; font: 900 40px/42px "Bricolage Grotesque", Arial, sans-serif; letter-spacing: -1.8px; }
.eyebrow { margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 18px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-title { margin: 0 0 8px; font-size: 30px; line-height: 38px; letter-spacing: -.03em; }
.section-title { margin: 0; font-size: 24px; line-height: 32px; letter-spacing: -.02em; }
.card-title { margin: 0; font-size: 18px; line-height: 26px; }
.body-copy { margin: 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.meta { color: var(--muted); font-size: 12px; line-height: 18px; font-weight: 600; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 24px; }
.cluster { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.space-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section { margin-top: 30px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }

.card { background: var(--surface); border-radius: 28px; padding: 20px; }
.card.outlined { border: 1px solid var(--line); }
.card.elevated { box-shadow: var(--shadow); }
.card.tint-coral { background: var(--coral-soft); }
.card.tint-mint { background: var(--mint-soft); }
.card.tint-blue { background: #e6f0ff; }
.card.tint-yellow { background: #fff0cd; }
.hard-card { background: var(--action); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 rgba(23,19,18,.18); padding: 18px; }
.card-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; }
.icon-tile { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.6); font-size: 27px; }
.chevron { font-size: 24px; }
.progress { width: 100%; height: 12px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.82); }
.progress > span { display: block; height: 100%; width: var(--value, 58%); border-radius: inherit; background: var(--coral); }
.tint-mint .progress > span { background: var(--mint); }
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.level-card { min-height: 170px; display: grid; gap: 10px; align-content: space-between; border-radius: 38px 28px 36px 28px; padding: 20px 18px; }
.level-card:nth-child(2) { border-radius: 28px 38px 28px 36px; }
.level-number { font: 800 40px/1 "Bricolage Grotesque", Arial, sans-serif; font-variant-numeric: tabular-nums; }

.hero { margin-top: 24px; min-height: 440px; position: relative; overflow: hidden; border-radius: 44px 32px 42px 28px; background: var(--action); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(250,187,82,.12); }
.hero-copy { position: relative; z-index: 2; width: 60%; min-height: 440px; padding: 32px 26px; background: rgba(250,187,82,.9); border-radius: 0 46px 46px 0; }
.hero-copy h2 { margin: 0; font-size: 36px; line-height: 42px; letter-spacing: -.05em; }
.hero-copy .english { display: block; margin-top: 6px; font: 800 30px/34px "Bricolage Grotesque", Arial, sans-serif; }
.hero-copy p { margin: 18px 0 24px; font-size: 15px; line-height: 23px; }
.play-button { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 28px; }

.media-card { overflow: hidden; padding: 0; }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-card-body { padding: 18px; }
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip > * { scroll-snap-align: start; }
.avatar { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); }
.avatar.lg { width: 74px; height: 74px; }
.user-line { display: flex; align-items: center; gap: 12px; }
.user-line > div { min-width: 0; }

.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 20px; background: var(--action); color: var(--ink); font-weight: 800; }
.btn:hover { filter: brightness(.98); }
.btn:active { transform: scale(.98); }
.btn.secondary { min-height: 46px; background: var(--surface); border: 1px solid var(--line); }
.btn.teal { background: var(--teal); color: #fff; }
.btn.coral { background: var(--coral); color: var(--ink); }
.btn.danger { color: var(--danger); background: #fff1f1; border: 1px solid #efc5ca; }
.btn.ghost { background: transparent; border: 1px solid transparent; color: var(--muted); }
.btn.small { min-height: 44px; padding: 0 14px; border-radius: 16px; font-size: 14px; }
.btn.wide { width: 100%; }
.btn.loading i { animation: spin .8s linear infinite; }
.text-button { min-height: 44px; padding: 4px 0; background: transparent; color: var(--muted); font-weight: 700; }
.text-button.link { color: var(--teal); }

.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 14px; line-height: 20px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.field textarea { min-height: 118px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--motion); outline: 3px solid rgba(92,161,250,.2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 0; color: var(--danger); font-size: 13px; line-height: 19px; font-weight: 700; }
.field-help { margin: 0; color: var(--muted); font-size: 12px; line-height: 18px; }
.check-row { min-height: 48px; display: flex; align-items: flex-start; gap: 10px; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: #eee9e1; color: var(--muted); font-size: 14px; font-weight: 700; }
button.chip { min-height: 44px; }
.chip.is-active { background: var(--ink); color: #fff; }
.chip.status { background: var(--mint-soft); color: #145b50; }
.chip.status.pending { background: #fff0cd; color: #6f4300; }
.chip.status.rejected { background: #ffe6e9; color: var(--danger); }
.chip.status.hidden { background: #e8e7e4; color: #4b4b4b; }

.search-row { display: grid; grid-template-columns: 1fr 52px; gap: 10px; }
.search-box { position: relative; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 21px; color: var(--muted); }
.search-box input { width: 100%; height: 52px; padding: 0 16px 0 48px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.list { display: grid; gap: 12px; }
.list-item { width: 100%; min-height: 78px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 13px; padding: 14px; text-align: left; border-radius: 22px; background: var(--surface); border: 1px solid rgba(222,216,208,.8); }
.list-item .title { font-weight: 800; }
.list-item .sub { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 19px; }
.list-item .count { font-variant-numeric: tabular-nums; font-weight: 800; }

.status-panel { display: grid; place-items: center; gap: 14px; min-height: 270px; padding: 32px 20px; text-align: center; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.status-panel i { font-size: 44px; }
.status-panel h2 { margin: 0; font-size: 22px; line-height: 30px; }
.status-panel p { margin: 0; max-width: 32ch; color: var(--muted); line-height: 1.6; }
.skeleton { overflow: hidden; position: relative; background: #eeeae2; border-radius: 16px; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.5); animation: shimmer 1.25s infinite alternate; }
.skeleton.line { height: 16px; }
.skeleton.line.short { width: 58%; }
.skeleton.block { height: 170px; }
.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #e7f0ff; color: #204d8f; font-size: 14px; line-height: 20px; }
.notice.warning { background: #fff0cd; color: #714500; }
.notice.error { background: #ffe8ea; color: #8b2130; }
.notice.success { background: var(--mint-soft); color: #145b50; }
.notice i { margin-top: 1px; font-size: 21px; flex: 0 0 auto; }

.bottom-nav { position: fixed; z-index: 70; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 480px); height: calc(var(--nav-h) + var(--safe-bottom)); padding: 7px 10px var(--safe-bottom); display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(222,216,208,.7); border-bottom: 0; border-radius: 34px 34px 0 0; background: rgba(255,253,248,.96); box-shadow: 0 -10px 28px rgba(23,19,18,.08); backdrop-filter: blur(16px); }
.nav-item { min-width: 0; display: grid; place-items: center; align-content: center; gap: 3px; border-radius: 22px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.nav-item i { font-size: 24px; }
.nav-item.is-active { background: var(--coral-soft); color: var(--ink); }

.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; background: #efebe4; border-radius: 18px; }
.tab { min-height: 44px; padding: 8px 12px; border-radius: 14px; background: transparent; font-size: 14px; font-weight: 800; }
.tab.is-active { background: var(--surface); box-shadow: 0 3px 10px rgba(23,19,18,.06); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 16px 10px; text-align: center; border-radius: 20px; background: rgba(255,255,255,.62); }
.stat strong { display: block; font: 800 28px/34px "Bricolage Grotesque", Arial, sans-serif; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 12px; }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; padding: 0 0 22px 34px; }
.timeline-item::before { content: ""; position: absolute; left: 10px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.timeline-item::after { content: ""; position: absolute; left: 14px; top: 20px; bottom: 2px; width: 2px; background: var(--line); }
.timeline-item:last-child::after { display: none; }

.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.upload-tile { aspect-ratio: 1; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 18px; background: #f0ece5; border: 1px dashed #bcb5ac; }
.upload-tile img { width: 100%; height: 100%; object-fit: cover; }
.upload-progress { position: absolute; inset: auto 8px 8px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.68); overflow: hidden; }
.upload-progress span { display: block; height: 100%; width: 72%; background: var(--teal); }

.identity-card-wrap { perspective: 900px; }
.identity-card { min-height: 260px; overflow: hidden; position: relative; transform-style: preserve-3d; transition: transform 180ms ease; border-radius: 34px; background: var(--motion); box-shadow: var(--shadow); }
.identity-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .54; }
.identity-card::after { content: ""; position: absolute; inset: 58% 0 0; background: rgba(23,19,18,.78); }
.identity-card-content { position: absolute; z-index: 2; inset: auto 22px 22px; color: #fff; transform: translateZ(30px); }
.identity-card-content h2 { margin: 0; font-size: 28px; }
.identity-card-content p { margin: 6px 0 0; color: rgba(255,255,255,.82); }
.identity-static-badge { position: absolute; z-index: 3; right: 14px; top: 14px; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 12px; font-weight: 800; }

.overlay { position: fixed; z-index: 900; inset: 0; display: grid; place-items: end center; padding: 20px; background: rgba(23,19,18,.42); animation: fadeIn 160ms ease both; }
.sheet { width: min(100%, 480px); max-height: min(90dvh, 760px); overflow: auto; padding: 22px; padding-bottom: calc(22px + var(--safe-bottom)); border-radius: 30px 30px 22px 22px; background: var(--surface); box-shadow: 0 24px 60px rgba(23,19,18,.2); animation: sheetIn 200ms ease-out both; }
.modal { align-self: center; width: min(100%, 430px); max-height: 90dvh; overflow: auto; padding: 24px; border-radius: 28px; background: var(--surface); box-shadow: 0 24px 60px rgba(23,19,18,.22); }
.overlay-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.overlay-head h2 { margin: 0; font-size: 22px; line-height: 30px; }
.toast-root { position: fixed; z-index: 1000; left: 50%; bottom: calc(24px + var(--safe-bottom)); transform: translateX(-50%); width: min(calc(100% - 32px), 420px); display: grid; gap: 8px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 18px; color: #fff; background: var(--ink); box-shadow: var(--shadow); animation: toastIn 180ms ease-out both; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); background: #f4f1eb; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px; background: var(--ink); color: #fff; }
.admin-brand { margin: 4px 10px 26px; font: 800 22px/1.1 "Bricolage Grotesque", Arial, sans-serif; }
.admin-brand span { display: block; margin-top: 7px; color: rgba(255,255,255,.56); font: 600 12px/1.4 "Noto Sans SC", sans-serif; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav :is(button,a) { min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 14px; color: rgba(255,255,255,.72); background: transparent; text-align: left; font-size: 14px; font-weight: 700; }
.admin-nav :is(button,a) i { font-size: 20px; }
.admin-nav :is(button,a).is-active { color: var(--ink); background: var(--action); }
.admin-main { min-width: 0; padding: 28px 30px 48px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.admin-title { margin: 0; font-size: 24px; line-height: 32px; }
.admin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.admin-stat { min-height: 132px; display: grid; align-content: space-between; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.admin-stat strong { font: 800 36px/1 "Bricolage Grotesque", Arial, sans-serif; font-variant-numeric: tabular-nums; }
.workbench { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(420px, 1.15fr); gap: 16px; }
.admin-panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.admin-panel-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.admin-panel-body { padding: 18px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.admin-list { display: grid; }
.admin-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; border-top: 1px solid #ebe6df; background: #fff; text-align: left; }
.admin-row:first-child { border-top: 0; }
.admin-row.is-selected { background: #fff5dc; box-shadow: inset 4px 0 var(--action); }
.admin-row strong { display: block; font-size: 14px; }
.admin-row span { color: var(--muted); font-size: 12px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid #e8e3dc; vertical-align: top; }
.admin-table th { position: sticky; top: 0; background: #f4f1eb; color: var(--muted); font-size: 12px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; }
.admin-mode .prototype-bar.is-collapsed { left: 18px; top: auto; bottom: 18px; }

@keyframes pageIn { from { opacity: 0; transform: translateY(4px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(20px); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { opacity: .25; } }

@media (max-width: 1020px) {
  .prototype-bar { left: 10px; top: 10px; }
  .admin-shell { grid-template-columns: 86px minmax(0, 1fr); }
  .admin-sidebar { padding-inline: 10px; }
  .admin-brand { font-size: 0; margin-inline: 6px; }
  .admin-brand::before { content: "PN"; font: 800 20px/1 "Bricolage Grotesque", Arial, sans-serif; }
  .admin-brand span, .admin-nav :is(button,a) span { display: none; }
  .admin-nav :is(button,a) { justify-content: center; padding: 0; }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
  .workbench { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .prototype-bar { left: auto; right: 8px; top: calc(8px + var(--safe-top)); width: min(238px, calc(100% - 16px)); }
  .prototype-bar.is-collapsed { left: auto; right: 0; top: 50%; width: auto; padding: 6px; border-radius: 18px 0 0 18px; transform: translateY(-50%); }
  .prototype-bar:not(.is-collapsed) { z-index: 850; }
  .app-shell { box-shadow: none; }
  .page { padding-inline: 24px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; width: 100%; height: auto; padding: calc(12px + var(--safe-top)) 12px 12px; overflow-x: auto; }
  .admin-brand { display: none; }
  .admin-nav { display: flex; min-width: max-content; }
  .admin-nav :is(button,a) { width: 46px; flex: 0 0 46px; }
  .admin-main { padding: 22px 16px 40px; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .admin-stat { min-height: 112px; }
  .workbench { grid-template-columns: 1fr; }
  .levels { gap: 8px; }
  .level-card { min-height: 160px; padding: 18px 15px; }
  .hero { min-height: 410px; }
  .hero-copy { width: 66%; padding: 28px 22px; }
}

@media (max-width: 374px) {
  .page { padding-left: 16px; padding-right: 16px; }
  .page-header { padding-left: 10px; padding-right: 10px; }
  .brand { font-size: 35px; line-height: 38px; }
  .page-title { font-size: 27px; line-height: 34px; }
  .hero { min-height: 380px; border-radius: 34px 26px 34px 24px; }
  .hero-copy { width: 69%; padding: 24px 18px; }
  .hero-copy h2 { font-size: 32px; line-height: 38px; }
  .hero-copy .english { font-size: 25px; line-height: 30px; }
  .level-card { min-width: 0; padding: 16px 13px; }
  .level-number { font-size: 34px; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (min-width: 661px) {
  body:not(.admin-mode) .app-shell { box-shadow: 0 0 0 1px rgba(23,19,18,.06), 0 30px 80px rgba(23,19,18,.08); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .identity-card { transform: none !important; }
}

/* Gate 5 样板页：只覆盖 P08 / P11 / P18 / A02。 */
.sample-p08 { background: #fffdf7; }
.sample-p08 .page { padding: calc(22px + var(--safe-top)) 14px 38px; }
.sample-p08.has-bottom-nav .page { padding-bottom: calc(112px + var(--safe-bottom)); }
.sample-p08 .brand { font-size: clamp(33px, 9.2vw, 37px); line-height: .98; letter-spacing: -1.7px; white-space: nowrap; }
.pn-home-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pn-home-head p { margin: 9px 0 0; color: #434247; font-size: 17px; font-weight: 650; }
.pn-home-actions { display: flex; align-items: center; gap: 10px; }
.pn-round-action, .pn-avatar-button { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #f1eee8; }
.pn-round-action { font-size: 25px; color: #55555a; }
.pn-avatar-button { overflow: hidden; background: var(--motion); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(23,19,18,.08); }
.pn-avatar-button img { width: 100%; height: 100%; object-fit: cover; }
.pn-notice-dot { position: absolute; right: 3px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); border: 2px solid #fffdf7; }
.pn-hand-note { position: absolute; right: 22px; top: calc(60px + var(--safe-top)); margin: 0; width: max-content; color: #66646b; font: 700 10px/1.2 "Bricolage Grotesque", sans-serif; letter-spacing: .08em; transform: rotate(-7deg); }
.pn-level-rack { display: grid; grid-template-columns: 1fr .94fr; gap: 8px; margin-top: 2px; }
.pn-level-card { min-width: 0; min-height: 96px; display: grid; grid-template-columns: 44px minmax(0,1fr) 16px; align-items: center; gap: 8px; padding: 10px 11px; text-align: left; color: var(--ink); transition: transform 160ms ease, filter 160ms ease; }
.pn-level-card:active { transform: scale(.985); }
.pn-level-skill { background: linear-gradient(135deg,#ffd9d5,#f6bcc0); border-radius: 40px 30px 42px 30px; }
.pn-level-community { background: linear-gradient(140deg,#ccf3eb,#a9e8e0); border-radius: 34px 46px 32px 42px; }
.pn-level-icon { width: 44px; height: 50px; display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.46); font-size: 23px; }
.pn-level-copy { min-width: 0; display: grid; gap: 8px; }
.pn-level-copy strong { font-size: clamp(16px,4.4vw,20px); line-height: 1.1; white-space: nowrap; }
.pn-level-copy small { color: #434247; font-size: 11px; white-space: nowrap; }
.pn-meter { height: 10px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.78); }
.pn-meter i { display: block; height: 100%; border-radius: inherit; background: var(--coral); }
.pn-level-community .pn-meter i { background: #38b8aa; }
.pn-training-hero { --parallax-y: 0px; height: 320px; position: relative; overflow: hidden; margin-top: 9px; border-radius: 58px 48px 56px 38px; background: #fabe45; isolation: isolate; }
.pn-training-copy { position: relative; z-index: 3; width: 55%; padding: 31px 0 24px 24px; }
.pn-training-copy .eyebrow { color: #171312; font-size: 13px; letter-spacing: .32em; }
.pn-training-copy h2 { margin: 10px 0 0; font-size: clamp(34px,10vw,43px); line-height: .95; letter-spacing: -.055em; }
.pn-training-copy h2 span { display: block; margin-top: 7px; font: 850 clamp(27px,7.8vw,34px)/.95 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; }
.pn-training-copy > p:not(.eyebrow) { margin: 18px 0 0; font-size: 13px; line-height: 1.65; font-weight: 650; }
.pn-play { width: 66px; height: 66px; margin-top: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 27px; box-shadow: 0 8px 0 rgba(23,19,18,.08); transition: transform 160ms ease; }
.pn-play:active { transform: scale(.94); }
.pn-training-visual { position: absolute; z-index: 1; right: -4%; top: 50px; width: 72%; height: 264px; overflow: hidden; border-radius: 50% 24px 38px 58%; background: #4f99f8; transform: translate3d(0,var(--parallax-y),0); transition: transform 140ms linear; }
.pn-training-visual img { position: absolute; right: -8%; bottom: 0; width: 165%; height: auto; max-width: none; }
.pn-training-visual p { position: absolute; z-index: 2; right: 28px; top: 24px; margin: 0; color: #fff; font: 750 15px/1.2 "Bricolage Grotesque", sans-serif; letter-spacing: .06em; transform: rotate(-7deg); }
.pn-week-pill { position: absolute; z-index: 5; right: 10px; bottom: 10px; min-width: 180px; min-height: 70px; display: grid; grid-template-columns: 46px 1fr 16px; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 40px 32px 38px 28px; background: rgba(255,253,248,.96); box-shadow: 0 10px 26px rgba(23,19,18,.10); text-align: left; }
.pn-week-pill > span:first-child { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff2d6; color: #f5a400; font-size: 24px; }
.pn-week-pill small, .pn-week-pill strong { display: block; }
.pn-week-pill small { font-size: 12px; color: var(--muted); }
.pn-week-pill strong { margin-top: 3px; font: 850 24px/1 "Bricolage Grotesque", sans-serif; }
.pn-nearby-card { min-height: 205px; position: relative; overflow: hidden; display: grid; grid-template-columns: 57% 43%; margin-top: 12px; border-radius: 44px 58px 42px 34px; background: #238b79; color: #fff; }
.pn-nearby-copy { position: relative; z-index: 2; padding: 22px 0 22px 22px; }
.pn-nearby-copy .pn-level-icon { width: 46px; height: 46px; border-radius: 50%; font-size: 22px; background: rgba(10,69,60,.35); }
.pn-nearby-copy p { margin: 12px 0 3px; color: #d9fff6; font-size: 14px; }
.pn-nearby-copy h2 { margin: 0; font-size: clamp(22px,6.5vw,30px); line-height: 1.1; letter-spacing: -.03em; }
.pn-nearby-copy > span:last-child { display: block; margin-top: 22px; font-size: 12px; white-space: nowrap; }
.pn-nearby-photo { position: relative; overflow: hidden; border-radius: 50% 0 0 48%; }
.pn-nearby-photo img { width: 100%; height: 100%; object-fit: cover; }
.pn-nearby-photo button { position: absolute; right: 10px; bottom: 12px; min-height: 48px; padding: 0 16px; border-radius: 24px; background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 8px 20px rgba(23,19,18,.13); }
.pn-community-section { margin-top: 12px; padding: 20px 12px 4px; border-radius: 40px 32px 38px 34px; background: #fff8f1; }
.pn-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pn-section-head h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.pn-section-head :is(button,a) { min-height: 44px; background: transparent; color: var(--muted); font-weight: 750; }
.pn-community-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 10px; overflow-x: auto; padding: 10px 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.pn-community-strip::-webkit-scrollbar { display: none; }
.pn-community-strip > * { scroll-snap-align: start; }
.pn-community-strip .card { border-radius: 24px 32px 24px 24px; box-shadow: none; border: 1px solid rgba(23,19,18,.06); }
.pn-community-strip .media-card > button > img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; }
.pn-community-strip .media-card .avatar { width: 44px; height: 44px; aspect-ratio: 1; border-radius: 50%; }
.sample-p08 .bottom-nav { width: min(calc(100% - 20px), 460px); bottom: 8px; height: calc(78px + var(--safe-bottom)); padding-inline: 8px; border: 0; border-radius: 38px; background: rgba(255,253,248,.98); box-shadow: 0 12px 34px rgba(23,19,18,.13); }
.sample-p08 .nav-item.is-active { border-radius: 26px; background: linear-gradient(145deg,#ffbabd,#ff8e98); }

.sample-p11 .page { padding-bottom: calc(118px + var(--safe-bottom)); background: #fffdf7; }
.pn-skill-page { display: grid; gap: 18px; }
.pn-segment { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 20px; background: #eeebe4; isolation: isolate; }
.pn-segment > span { position: absolute; z-index: -1; left: 5px; top: 5px; width: calc(50% - 5px); height: calc(100% - 10px); border-radius: 15px; background: #fff; box-shadow: 0 4px 12px rgba(23,19,18,.06); transform: translateX(0); transition: transform 220ms cubic-bezier(.2,.75,.2,1); }
.pn-segment[data-value="technique"] > span { transform: translateX(100%); }
.pn-segment button { min-height: 44px; border-radius: 15px; background: transparent; color: var(--muted); font-weight: 800; }
.pn-segment button.is-active { color: var(--ink); }
.pn-skill-intro { padding: 24px 22px; border-radius: 34px 26px 38px 28px; background: linear-gradient(145deg,#ffd7d1,#f9c1c4); }
.pn-skill-intro h1 { margin: 0; font: 850 41px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.04em; }
.pn-skill-intro > p:last-of-type { margin: 14px 0 0; color: #4f4545; font-size: 15px; line-height: 1.65; }
.pn-skill-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 22px; }
.pn-skill-stats span { padding: 11px 8px; border-radius: 18px; background: rgba(255,255,255,.48); color: #5a4b4c; text-align: center; font-size: 11px; }
.pn-skill-stats strong { display: block; margin-bottom: 3px; color: var(--ink); font: 800 20px/1 "Bricolage Grotesque", sans-serif; }
.pn-progress-card { padding: 22px; border-radius: 30px 38px 28px 34px; background: #d9f4ed; }
.pn-card-heading { display: flex; align-items: center; justify-content: space-between; }
.pn-card-heading h2 { margin: 0; font-size: 23px; }
.pn-card-heading > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.58); font-size: 25px; }
.pn-progress-track { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 24px; }
.pn-progress-track::before { content: ""; position: absolute; left: 15%; right: 15%; top: 18px; height: 3px; background: rgba(33,122,105,.2); }
.pn-progress-node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 0 3px; background: transparent; text-align: center; }
.pn-progress-node i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #f5faf7; border: 2px solid #8fcfc2; font-style: normal; font-weight: 850; transition: transform 180ms ease, background 180ms ease; }
.pn-progress-node.is-active i { transform: scale(1.12); background: var(--action); border-color: var(--ink); }
.pn-progress-node.is-done i { background: var(--teal); color: #fff; border-color: var(--teal); }
.pn-progress-node strong, .pn-progress-node small { display: block; }
.pn-progress-node strong { font-size: 13px; }
.pn-progress-node small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.pn-node-detail { margin-top: 20px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.62); color: #31544e; font-size: 13px; line-height: 1.6; animation: pnNodeIn 180ms ease-out both; }
.pn-fold-list { display: grid; gap: 10px; }
.pn-fold-card { overflow: hidden; border: 1px solid #e0d9cf; border-radius: 24px 30px 22px 26px; background: #fff; transition: background 180ms ease; }
.pn-fold-card:nth-child(2) { border-radius: 30px 22px 28px 22px; }
.pn-fold-card.is-open { background: #fff1ce; }
.pn-fold-card > button { width: 100%; min-height: 76px; display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; gap: 12px; padding: 12px 16px; background: transparent; text-align: left; }
.pn-fold-card > button > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; background: #f2eee8; font: 800 15px/1 "Bricolage Grotesque", sans-serif; }
.pn-fold-card > button > i { transition: transform 180ms ease; }
.pn-fold-card.is-open > button > i { transform: rotate(180deg); }
.pn-fold-card > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms ease; }
.pn-fold-card > div > p { overflow: hidden; margin: 0; padding: 0 18px; color: var(--muted); line-height: 1.65; }
.pn-fold-card.is-open > div { grid-template-rows: 1fr; }
.pn-fold-card.is-open > div > p { padding-bottom: 18px; }
.pn-safety-note { display: flex; gap: 12px; padding: 16px; border-radius: 22px; background: #e6f0ff; color: #244a80; }
.pn-safety-note > i { margin-top: 2px; font-size: 22px; }
.pn-safety-note p, .pn-safety-note strong, .pn-safety-note span { display: block; margin: 0; }
.pn-safety-note span { margin-top: 4px; font-size: 13px; line-height: 1.55; }
.pn-status-card { display: grid; grid-template-columns: 1fr 56px; gap: 16px; padding: 20px; border: 1px solid #ded8d0; border-radius: 28px 24px 32px 22px; background: #fff; }
.pn-status-card h2 { margin: 0; font-size: 22px; }
.pn-status-card p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.pn-status-card > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 20px; background: #ffd4d1; color: #9d3041; font-size: 28px; }
.pn-safe-action { position: fixed; z-index: 75; left: 50%; bottom: 0; width: min(100%,480px); display: grid; grid-template-columns: .68fr 1.32fr; gap: 10px; padding: 12px 16px calc(12px + var(--safe-bottom)); transform: translateX(-50%); background: rgba(255,253,248,.97); border-top: 1px solid rgba(222,216,208,.75); box-shadow: 0 -10px 28px rgba(23,19,18,.07); }

.sample-p18 .page { padding: calc(66px + var(--safe-top)) 0 calc(112px + var(--safe-bottom)); background: #fcfcf3; animation: none; }
.sample-p18 .page-header { border: 0; background: #fcfcf3; backdrop-filter: none; }
.sample-p18 .page-header h1 { font-size: 19px; font-weight: 900; }
.pn-post-page { display: grid; gap: 0; }
.pn-post-page > .notice { margin: 9px 16px 16px; border-radius: 24px 29px 21px 26px; }
.pn-post-author { width: calc(100% - 32px); min-height: 70px; display: grid; grid-template-columns: 54px 1fr 36px; align-items: center; gap: 11px; margin: 1px 16px 10px; padding: 0 3px; background: transparent; text-align: left; }
.pn-post-author img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.pn-post-author strong, .pn-post-author small { display: block; }
.pn-post-author strong { font-size: 16px; font-weight: 900; }
.pn-post-author small { margin-top: 3px; color: #656369; font-size: 11px; }
.pn-author-arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 17px 20px 16px 18px; background: #d5f3eb; color: #217a69; font-size: 18px; }
.pn-post-media { overflow: hidden; margin: 0 12px; border-radius: 38px 47px 30px 43px / 31px 39px 34px 37px; background: #dcecff; }
.pn-post-media img { width: 100%; height: auto; aspect-ratio: 356 / 248; object-fit: cover; }
.sample-p18 .pn-post-media img[src$="community-photo-1.png"] { transform: scale(1.05); transform-origin: center top; }
.pn-post-copy { margin: 19px 20px 0; }
.pn-post-kicker { width: max-content; display: flex; align-items: center; gap: 6px; margin: 0 0 11px; padding: 7px 11px; border-radius: 14px 19px 16px 18px; background: #ffe5a5; font-size: 11px; font-weight: 850; }
.pn-post-kicker i { font-size: 16px; }
.pn-post-copy h2 { margin: 0; font-size: clamp(27px, 7.7vw, 34px); line-height: 1.16; font-weight: 900; letter-spacing: -.055em; }
.pn-post-copy > p:last-child { margin: 11px 0 0; color: #46464a; font-size: 14px; line-height: 1.72; }
.pn-post-links { display: flex; gap: 8px; overflow-x: auto; margin: 18px 0 0; padding: 0 18px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pn-post-links::-webkit-scrollbar { display: none; }
.pn-post-links :is(button,a) { flex: none; min-height: 43px; display: flex; align-items: center; gap: 6px; padding: 0 13px; border-radius: 19px 24px 17px 21px; background: #d0f3eb; font-size: 12px; font-weight: 800; scroll-snap-align: start; }
.pn-post-links :is(button,a):nth-child(2) { border-radius: 23px 18px 22px 16px; background: #dcefff; }
.pn-post-links :is(button,a) i:first-child { font-size: 18px; }
.pn-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 13px 20px 0; padding: 16px 0; border-top: 1px solid #e9e3d9; color: #64636a; font-size: 11px; }
.pn-post-meta span:first-child { color: #aa3e4b; font-weight: 850; }
.pn-post-meta strong { font-weight: inherit; }
.pn-comments { margin: 2px 13px 0; padding: 21px 17px 9px; border-radius: 39px 32px 42px 34px / 31px 38px 34px 40px; background: #fff5eb; }
.pn-comments .pn-section-head { align-items: end; }
.pn-comments .pn-section-head p { margin: 0 0 3px; color: #75665e; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.pn-comments .pn-section-head h2 { font-size: 24px; font-weight: 900; }
.pn-comments .pn-section-head h2 span { color: #a76b65; font: 850 16px/1 "Bricolage Grotesque", sans-serif; }
.pn-comments .pn-section-head :is(button,a) { min-height: 38px; color: #217a69; font-size: 12px; }
.pn-comments article { display: grid; grid-template-columns: 42px 1fr; gap: 11px; padding: 18px 0; border-top: 1px solid #eadfd4; }
.pn-comments article:first-of-type { margin-top: 15px; }
.pn-comments article img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.pn-comments article strong { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pn-comments article small { color: #817a78; font-size: 10px; font-weight: 500; }
.pn-comments article p { margin: 7px 0; color: #46464a; font-size: 13px; line-height: 1.6; }
.pn-comments article :is(button,a) { min-height: 34px; padding: 0; background: transparent; color: #217a69; font-size: 12px; font-weight: 850; }
.pn-comments article.is-pending { margin: 0 -5px 8px; padding: 13px 5px; border: 0; border-radius: 23px 27px 20px 25px; background: #fff0c9; }
.pn-pending-label { display: inline-flex; align-items: center; gap: 5px; color: #7a570d; font-size: 11px; font-weight: 850; }
.pn-report-link { min-height: 47px; justify-self: center; margin: 13px 0 0; padding: 0 12px; background: transparent; color: #66636a; font-size: 12px; font-weight: 750; }
.pn-post-actions { position: fixed; z-index: 75; left: 50%; bottom: 0; width: min(100%,480px); display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 8px; padding: 11px 13px calc(11px + var(--safe-bottom)); transform: translateX(-50%); border-radius: 30px 30px 0 0; background: #fffefa; box-shadow: 0 -8px 28px rgba(52,41,31,.07); }
.pn-post-actions :is(button,a) { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; background: #ffdcdd; color: #171312; font-size: 12px; font-weight: 850; transition: transform 160ms ease, background 160ms ease; touch-action: manipulation; }
.pn-post-actions :is(button,a) i { font-size: 21px; }
.pn-post-actions :is(button,a):active { transform: scale(.96); }
.pn-post-actions .pn-post-comment { background: #171312; color: #fff; }
.pn-post-actions .pn-post-save { background: #d4f3eb; }
.pn-post-actions .pn-post-like.is-active { background: #ff939d; }
.pn-post-actions .pn-post-save.is-active { background: #a6e3d5; }
.pn-comment-sheet { border-radius: 39px 42px 22px 22px; background: #fcfcf3; }
.pn-comment-sheet .overlay-head h2 { font-weight: 900; }
.pn-comment-form { display: grid; gap: 17px; }
.pn-comment-form > p { margin: 0; color: #56575c; font-size: 13px; }
.pn-comment-form .field > span { font-weight: 800; }
.pn-comment-form textarea { min-height: 130px; border-radius: 22px; background: #fffefa; resize: vertical; }
.pn-comment-hint { display: flex; gap: 8px; padding: 12px; border-radius: 19px 23px 17px 21px; background: #d7f2eb; color: #386357; font-size: 11px; line-height: 1.5; }
.pn-comment-hint i { flex: none; font-size: 18px; }
.pn-comment-form .btn { min-height: 50px; justify-content: center; border-radius: 999px; background: #171312; color: #fff; }
.pn-author-sheet { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pn-author-sheet img { width: 80px; height: 80px; border-radius: 50%; }
.pn-author-sheet p { margin: 0; color: #64636a; font-size: 12px; }
.pn-author-sheet strong { font-size: 17px; line-height: 1.4; }
.pn-author-sheet .btn { margin-top: 12px; border-radius: 999px; }
.pn-post-unavailable .status-panel { min-height: 280px; margin: 20px 16px; border: 0; border-radius: 43px 52px 36px 41px; background: #fff7f1; }
.pn-post-unavailable .status-panel .btn { border-radius: 999px; background: #171312; color: #fff; }

.sample-a02 { background: #f4f1e9; }
.sample-a02 .admin-sidebar { background: #fffdf7; color: var(--ink); border-right: 1px solid #ddd6cb; }
.sample-a02 .admin-brand span { color: var(--muted); }
.sample-a02 .admin-nav :is(button,a) { color: #5b5a5e; }
.sample-a02 .admin-nav :is(button,a).is-active { color: var(--ink); background: #f9c351; box-shadow: inset 0 0 0 1px rgba(23,19,18,.06); }
.sample-a02 .admin-main { padding: 24px 26px 34px; }
.sample-a02 .admin-topbar { margin-bottom: 18px; }
.sample-a02 .admin-title { font-size: 28px; letter-spacing: -.03em; }
.sample-a02 .admin-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.sample-a02 .admin-filters::-webkit-scrollbar { display: none; }
.sample-a02 .admin-filters .chip { flex: 0 0 auto; background: #e8e4dc; }
.sample-a02 .admin-filters .chip.is-active { background: var(--ink); }
.pn-review-workbench { grid-template-columns: minmax(280px,.62fr) minmax(560px,1.38fr); gap: 12px; }
.pn-review-workbench .admin-panel { border-radius: 18px 22px 18px 20px; box-shadow: 0 8px 22px rgba(23,19,18,.035); }
.pn-queue-panel .admin-row { grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; padding: 13px 14px; }
.pn-row-type { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: #efebe4; color: var(--ink) !important; font-size: 18px !important; }
.pn-row-status { color: var(--muted); font-size: 11px; font-weight: 800; }
.pn-queue-panel .admin-row.is-selected { background: #fff0c8; box-shadow: inset 4px 0 #f6b83b; }
.pn-queue-panel .admin-row.is-processed { opacity: .62; }
.pn-review-body { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: 14px; padding: 14px; }
.pn-review-primary { overflow: hidden; align-self: start; border: 1px solid #ded8d0; border-radius: 16px; background: #f3efe8; }
.pn-review-primary img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.pn-review-caption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; color: var(--muted); font-size: 11px; }
.pn-text-submission { min-height: 280px; display: grid; place-items: center; align-content: center; gap: 16px; padding: 30px; text-align: center; }
.pn-text-submission i { font-size: 42px; color: var(--coral); }
.pn-text-submission p { margin: 0; max-width: 28ch; font-size: 20px; line-height: 1.6; }
.pn-review-facts { display: grid; gap: 10px; align-content: start; }
.pn-review-facts section { padding: 14px; border: 1px solid #e1dbd2; border-radius: 15px; background: #fffdf8; }
.pn-review-facts p { margin: 0; color: #55575a; font-size: 13px; line-height: 1.55; }
.pn-review-facts ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #4d4f52; font-size: 12px; }
.pn-review-facts li { display: flex; align-items: center; gap: 8px; }
.pn-review-facts li i { color: var(--teal); font-size: 17px; }
.pn-review-facts li:last-child i { color: var(--warning); }
.pn-review-footer { grid-column: 1 / -1; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 14px; border-radius: 16px; background: #f3efe7; transition: background 180ms ease, transform 180ms ease; }
.pn-review-footer > span > strong, .pn-review-footer > span > small { display: block; }
.pn-review-footer > span > small { margin-top: 3px; color: var(--muted); }
.pn-review-footer .admin-actions { flex-wrap: nowrap; padding: 0; }
.pn-review-footer.is-complete { background: #dff2eb; animation: pnReviewDone 260ms ease-out both; }
.pn-review-result { display: flex; align-items: center; gap: 12px; }
.pn-review-result > i { font-size: 32px; color: var(--teal); }

@keyframes pnNodeIn { from { opacity: 0; transform: translateY(5px); } }
@keyframes pnLikePop { 50% { transform: scale(1.08); } }
@keyframes pnReviewDone { from { opacity: .65; transform: scale(.985); } }

@media (max-width: 1020px) {
  .sample-a02 .admin-sidebar { background: #fffdf7; }
  .pn-review-workbench { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .pn-level-rack { grid-template-columns: 1fr 1fr; }
  .pn-level-card { grid-template-columns: 42px minmax(0,1fr) 13px; min-height: 94px; padding: 9px; gap: 7px; }
  .pn-level-icon { width: 42px; height: 48px; font-size: 22px; }
  .pn-training-hero { height: 316px; border-radius: 52px 42px 52px 34px; }
  .pn-training-copy { width: 58%; padding: 30px 0 22px 22px; }
  .pn-training-visual { right: -4%; top: 50px; width: 73%; height: 260px; }
  .pn-nearby-card { grid-template-columns: 59% 41%; }
  .pn-review-body { grid-template-columns: 1fr; }
  .pn-review-footer { grid-column: 1; align-items: flex-start; flex-direction: column; }
  .pn-review-footer .admin-actions { width: 100%; flex-wrap: wrap; }
}

@media (max-width: 374px) {
  .sample-p08 .page { padding-inline: 10px; }
  .pn-home-actions { gap: 6px; }
  .pn-round-action, .pn-avatar-button { width: 48px; height: 48px; }
  .pn-level-card { min-height: 92px; grid-template-columns: 39px minmax(0,1fr) 12px; padding-inline: 7px; }
  .pn-level-icon { width: 42px; height: 52px; border-radius: 20px; }
  .pn-level-copy strong { font-size: 15px; }
  .pn-level-copy small { font-size: 9px; }
  .pn-training-hero { height: 306px; }
  .pn-training-copy { width: 61%; padding-left: 18px; }
  .pn-training-copy h2 { font-size: 33px; }
  .pn-training-copy h2 span { font-size: 27px; }
  .pn-training-visual { right: -5%; width: 74%; height: 252px; }
  .pn-week-pill { min-width: 170px; }
  .pn-nearby-copy { padding-left: 18px; }
  .pn-nearby-copy > span:last-child { font-size: 10px; }
  .pn-skill-stats { gap: 5px; }
  .pn-skill-stats span { padding-inline: 4px; }
}

/* P08: measured against the 853 × 1844 approved artwork, scaled to the viewport. */
.sample-p08 { min-height: 0; background: #fcfcf3; }
.sample-p08 .page { min-height: 0; padding: 0; animation: none; }
.p08-frame { position: relative; margin: 0 auto; overflow: hidden; }
.p08-stage { position: absolute; inset: 0 auto auto 0; width: 853px; height: 1844px; overflow: hidden; transform-origin: 0 0; background: #fcfcf3; font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }
.p08-stage button { position: absolute; margin: 0; padding: 0; background: transparent; text-align: left; }
.p08-stage img { max-width: none; }
.p08-wordmark { position: absolute; left: 43px; top: 31px; width: 379px; height: 57px; margin: 0; }
.p08-wordmark img { width: 100%; height: 100%; }
.p08-greeting { position: absolute; left: 44px; top: 93px; margin: 0; font-size: 30px; font-weight: 800; line-height: 43px; letter-spacing: 1px; }
.p08-bell { left: 590px; top: 39px; width: 90px; height: 90px; display: grid; place-items: center; border-radius: 50%; background: #f3f1ed !important; color: #55555b; font-size: 45px; }
.p08-bell-dot { position: absolute; right: 5px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #f86978; }
.p08-avatar { left: 706px; top: 29px; width: 108px; height: 108px; border-radius: 50%; overflow: hidden; }
.p08-avatar img { width: 108px; height: 108px; }
.p08-hand-note { position: absolute; z-index: 3; left: 696px; top: 147px; width: 132px; height: 82px; }
.p08-level { z-index: 2; color: #171312; background-size: 100% 100% !important; }
.p08-level-skill { left: 19px; top: 161px; width: 413px; height: 209px; background-image: url("/cached-assets/level-skill-d890e8a0fd888f40.png") !important; }
.p08-level-community { left: 436px; top: 192px; width: 395px; height: 178px; background-image: url("/cached-assets/level-community-9066cd25f8ed5764.png") !important; }
.p08-level > * { position: absolute; }
.p08-level-icon { display: grid; place-items: center; color: #171312; }
.p08-level-skill .p08-level-icon { left: 30px; top: 49px; width: 104px; height: 113px; border-radius: 44px 49px 47px 43px / 49px 51px 54px 51px; background: #ff8992; font-size: 59px; }
.p08-level-community .p08-level-icon { left: 22px; top: 38px; width: 95px; height: 105px; border-radius: 42px 45px 44px 39px / 45px 46px 52px 48px; background: #6bd4cb; font-size: 55px; }
.p08-level strong { white-space: nowrap; font-weight: 900; letter-spacing: -1.7px; }
.p08-level-skill strong { left: 157px; top: 42px; font-size: 40px; line-height: 55px; }
.p08-level-community strong { left: 135px; top: 48px; font-size: 35px; line-height: 48px; }
.p08-meter { display: block; height: 22px; border-radius: 20px; overflow: hidden; background: #fffefa; }
.p08-meter span { display: block; height: 100%; border-radius: inherit; }
.p08-level-skill .p08-meter { left: 156px; top: 108px; width: 197px; }
.p08-level-skill .p08-meter span { width: 61%; background: #ff6977; }
.p08-level-community .p08-meter { left: 135px; top: 98px; width: 195px; }
.p08-level-community .p08-meter span { width: 64%; background: #4bbdb4; }
.p08-level small { color: #4d4d4e; white-space: nowrap; font-size: 19px; line-height: 26px; }
.p08-level-skill small { left: 156px; top: 143px; }
.p08-level-community small { left: 135px; top: 128px; }
.p08-level-arrow { font-size: 25px; }
.p08-level-skill .p08-level-arrow { left: 371px; top: 105px; }
.p08-level-community .p08-level-arrow { left: 344px; top: 95px; }
.p08-hero { position: absolute; left: 0; top: 357px; width: 853px; height: 665px; }
.p08-hero-art { position: absolute; inset: 0; width: 853px; height: 665px; }
.p08-hero-kicker,.p08-hero-title,.p08-hero-english,.p08-hero-copy { position: absolute; z-index: 1; margin: 0; color: #171312; }
.p08-hero-kicker { left: 64px; top: 62px; font-size: 21px; line-height: 32px; font-weight: 700; letter-spacing: 3px; }
.p08-hero-title { left: 62px; top: 103px; font-size: 71px; line-height: 84px; font-weight: 900; letter-spacing: -4px; white-space: nowrap; }
.p08-hero-english { left: 56px; top: 183px; font: 900 57px/72px "Bricolage Grotesque", Arial, sans-serif; letter-spacing: -2px; }
.p08-hero-copy { left: 63px; top: 258px; font-size: 23px; line-height: 34px; font-weight: 600; letter-spacing: .1px; }
.p08-play { z-index: 2; left: 55px; top: 343px; width: 156px; height: 154px; display: grid; place-items: center; border-radius: 50%; background: #191411 !important; color: #fff; font-size: 60px; }
.p08-play i { transform: translateX(4px); }
.p08-dots { position: absolute; z-index: 3; left: 386px; top: 620px; display: flex; gap: 11px; }
.p08-dots span { width: 18px; height: 18px; border-radius: 50%; background: #c9c9c9; }
.p08-dots .is-current { background: #363638; }
.p08-progress { z-index: 4; left: 539px; top: 533px; width: 291px; height: 133px; background: url("/cached-assets/progress-surface-1b8bf6bb457d3415.png") center/100% 100% !important; color: #171312; }
.p08-progress-icon { position: absolute; left: 48px; top: 39px; width: 57px; text-align: center; color: #f8a11b; font-size: 49px; }
.p08-progress-copy { position: absolute; left: 125px; top: 24px; }
.p08-progress-copy small { display: block; font-size: 22px; line-height: 34px; white-space: nowrap; }
.p08-progress-copy strong { display: block; font: 900 46px/57px "Bricolage Grotesque", Arial, sans-serif; white-space: nowrap; }
.p08-progress-copy em { font: 800 24px/1 "Microsoft YaHei UI", sans-serif; font-style: normal; }
.p08-progress > i { position: absolute; left: 247px; top: 53px; font-size: 28px; }
.p08-venue { position: absolute; z-index: 5; left: 15px; top: 1013px; width: 823px; height: 241px; color: #fff; }
.p08-venue-art { position: absolute; inset: 0; width: 823px; height: 241px; }
.p08-venue-pin { position: absolute; left: 28px; top: 59px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,54,49,.3); font-size: 38px; }
.p08-venue-label { position: absolute; left: 108px; top: 57px; margin: 0; font-size: 25px; line-height: 33px; }
.p08-venue h2 { position: absolute; left: 108px; top: 92px; margin: 0; font-size: 42px; line-height: 56px; font-weight: 900; white-space: nowrap; letter-spacing: -1px; }
.p08-venue-meta { position: absolute; left: 43px; top: 162px; display: flex; align-items: center; gap: 14px; margin: 0; font-size: 22px; line-height: 34px; white-space: nowrap; }
.p08-venue-meta i { font-size: 31px; }
.p08-venue-arrow { left: 360px; top: 161px; width: 55px; height: 52px; display: grid; place-items: center; color: #fff; font-size: 27px; }
.p08-venue-go { left: 648px; top: 162px; width: 160px; height: 64px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 37px; background: #fff !important; color: #171312; font-size: 26px; font-weight: 900; white-space: nowrap; }
.p08-venue-go i { font-size: 30px; }
.p08-community { position: absolute; left: 15px; top: 1265px; width: 838px; height: 405px; border-radius: 81px 80px 71px 66px / 60px 63px 56px 57px; background: #fff7f1; }
.p08-community h2 { position: absolute; left: 45px; top: 24px; margin: 0; font-size: 38px; font-weight: 900; line-height: 55px; letter-spacing: -1px; }
.p08-community-all { left: 677px; top: 32px; display: flex; align-items: center; gap: 12px; color: #56575c; font-size: 24px; white-space: nowrap; }
.p08-community-all i { font-size: 25px; }
.p08-post { position: absolute; top: 86px; height: 313px; overflow: hidden; border-radius: 34px 34px 38px 38px; background: #fff; }
.p08-post-one { left: 25px; width: 358px; }
.p08-post-two { left: 393px; width: 307px; }
.p08-post-three { left: 709px; width: 129px; }
.p08-post button { position: static; width: 100%; height: 100%; }
.p08-post button > img { width: 100%; height: 246px; object-fit: cover; }
.p08-post-meta { position: relative; display: flex; align-items: center; width: 100%; height: 67px; padding: 0 15px; background: #fff; }
.p08-post-meta > img { width: 52px; height: 52px; flex: none; margin-right: 12px; }
.p08-post-meta > span:nth-child(2) { display: grid; gap: 2px; white-space: nowrap; }
.p08-post-meta strong { color: #171312; font-size: 18px; line-height: 24px; font-weight: 800; }
.p08-post-meta small { color: #85858c; font-size: 17px; line-height: 23px; }
.p08-post-like { position: absolute; right: 17px; top: 19px; display: flex; align-items: center; gap: 6px; color: #171312; font-size: 20px; }
.p08-post-like i { color: #f86c7a; font-size: 27px; }
.p08-post-three .p08-post-meta { padding-left: 12px; }
.p08-nav { position: absolute; left: 15px; top: 1678px; width: 823px; height: 145px; display: flex; justify-content: space-between; align-items: center; padding: 12px 26px; border-radius: 87px 90px 83px 89px / 72px 74px 70px 72px; background: #fffefa; box-shadow: 0 3px 25px rgba(52,41,31,.035); }
.p08-stage .p08-nav-item { position: relative; width: 140px; height: 121px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border-radius: 40px; color: #535358; text-align: center; }
.p08-nav-item.is-current { background: #ff959e; color: #171312; }
.p08-nav-item > i { font-size: 48px; line-height: 52px; }
.p08-nav-item > span { font-size: 24px; line-height: 30px; font-weight: 650; }
.p08-nav-item.is-current > span { font-weight: 900; }

/* P08 interaction states only: the approved resting image stays unchanged. */
.p08-stage button { touch-action: manipulation; transition: transform 180ms cubic-bezier(.2,.8,.2,1); }
.p08-stage button:active { transform: translateY(3px) scale(.98); }
.p08-stage .p08-play:active { transform: scale(.93); }
.p08-stage .p08-nav-item:active { transform: scale(.95); }
.p08-training-sheet { background: #fcfcf3; border-radius: 36px 36px 22px 22px; }
.p08-training-detail { display: grid; gap: 20px; }
.p08-training-summary { padding: 20px 22px; border-radius: 28px 32px 25px 30px; background: #ffc461; }
.p08-training-summary strong { display: block; font: 900 42px/1 "Bricolage Grotesque", Arial, sans-serif; }
.p08-training-summary strong small { font-size: 22px; }
.p08-training-summary p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.p08-training-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; text-align: center; }
.p08-training-days > div { display: grid; justify-items: center; gap: 7px; color: #56575c; font-size: 11px; white-space: nowrap; }
.p08-training-days i { color: #217a69; font-size: 25px; }
.p08-training-days > div:nth-child(n+4) i { color: #a6aaa8; }
.p08-training-days small { font-size: 10px; }
.p08-training-detail > .btn { justify-content: center; }

/* P11 extends the approved P08 palette, curves and illustration without changing P08. */
.sample-p11 .page { padding: calc(66px + var(--safe-top)) 0 calc(112px + var(--safe-bottom)); background: #fcfcf3; animation: none; }
.sample-p11 .page-header { border: 0; background: #fcfcf3; backdrop-filter: none; }
.sample-p11 .page-header h1 { font-size: 19px; font-weight: 900; }
.pn-skill-page { gap: 0; }
.pn-skill-page [hidden] { display: none !important; }
.pn-skill-hero { position: relative; height: clamp(215px, 60vw, 278px); overflow: hidden; border-radius: 0 0 54px 28px / 0 0 32px 22px; background: #ffc461; }
.pn-skill-hero img { width: 100%; height: auto; max-width: none; }
.pn-skill-hero-copy { position: absolute; left: 7%; top: 15%; width: 43%; color: #171312; }
.pn-skill-hero-copy p { margin: 0 0 9px; font-size: 11px; line-height: 1.3; font-weight: 900; letter-spacing: 2px; }
.pn-skill-hero-copy h2 { margin: 0; font-size: clamp(29px, 8vw, 38px); line-height: 1.12; font-weight: 900; letter-spacing: -1.5px; white-space: nowrap; }
.pn-skill-hero-copy strong { display: block; margin-top: 5px; font: 900 clamp(26px, 7.3vw, 35px)/1 "Bricolage Grotesque", Arial, sans-serif; letter-spacing: -1.5px; white-space: nowrap; }
.pn-skill-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: -14px 16px 0; padding: 13px 6px; border-radius: 32px 36px 29px 35px / 27px 31px 29px 30px; background: #fffefa; box-shadow: 0 7px 24px rgba(52,41,31,.07); }
.pn-skill-stats span { padding: 3px 2px; border-radius: 0; background: none; color: #56575c; font-size: 11px; line-height: 1.4; }
.pn-skill-stats span + span { border-left: 1px solid #eee9de; }
.pn-skill-stats strong { margin-bottom: 2px; font-size: 23px; font-weight: 900; }
.pn-skill-description { margin: 18px 24px 19px; color: #3f4143; font-size: 14px; line-height: 1.65; }
.pn-segment { height: 53px; margin: 0 16px 20px; padding: 5px; border-radius: 30px 27px 31px 28px; background: #fffefa; box-shadow: 0 4px 18px rgba(52,41,31,.055); }
.pn-segment > span { z-index: 0; border-radius: 25px 23px 27px 24px; background: #ff959e; box-shadow: none; }
.pn-segment button { position: relative; z-index: 1; min-height: 43px; border-radius: 24px; color: #57595d; font-size: 14px; }
.pn-segment button.is-active { color: #171312; }
.pn-skill-overview, .pn-skill-technique { display: grid; gap: 18px; margin: 0 16px; }
.pn-progress-card { padding: 24px 20px 21px; border-radius: 44px 51px 34px 39px / 37px 43px 33px 35px; background: #d0f3eb; }
.pn-card-heading h2 { font-size: 23px; font-weight: 900; letter-spacing: -.5px; }
.pn-card-heading > span { border-radius: 20px 23px 19px 22px; background: #f5fffa; color: #217a69; }
.pn-progress-track { margin-top: 21px; }
.pn-progress-node { touch-action: manipulation; }
.pn-progress-node i { border-color: #8bc9bc; background: #fffefa; }
.pn-progress-node.is-active i { border-color: #171312; background: #ffc461; }
.pn-progress-node.is-done i { border-color: #217a69; background: #217a69; }
.pn-progress-node strong { font-size: 14px; }
.pn-progress-node small { font-size: 10px; }
.pn-node-detail { min-height: 67px; margin-top: 18px; border-radius: 24px 29px 23px 27px; background: #fffefa; color: #335a50; }
.pn-skill-links h2, .pn-skill-resources h2 { margin: 0 7px 12px; font-size: 22px; line-height: 1.35; font-weight: 900; }
.pn-skill-link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.pn-skill-link-grid button { position: relative; min-height: 132px; display: grid; justify-items: start; align-content: space-between; padding: 15px; border-radius: 30px 38px 27px 32px; background: #ffd7d9; text-align: left; }
.pn-skill-link-grid button:nth-child(2) { border-radius: 37px 28px 34px 26px; background: #d8efff; }
.pn-skill-link-grid button > span { font-size: 27px; }
.pn-skill-link-grid button > small { color: #4c4c50; font-size: 11px; }
.pn-skill-link-grid button > strong { font-size: 15px; line-height: 1.3; }
.pn-skill-link-grid button > i:last-child { position: absolute; right: 16px; bottom: 17px; font-size: 18px; }
.pn-skill-resources { padding: 19px 17px 7px; border-radius: 36px 32px 39px 31px; background: #fff7f1; }
.pn-skill-resources h2 { margin-left: 6px; }
.pn-skill-resources button { width: 100%; min-height: 68px; display: grid; grid-template-columns: 30px 1fr 18px; align-items: center; gap: 9px; padding: 10px 6px; border-top: 1px solid #e9e1d8; background: none; text-align: left; }
.pn-skill-resources button > i:first-child { color: #217a69; font-size: 24px; }
.pn-skill-resources button span { display: grid; gap: 2px; }
.pn-skill-resources button strong { font-size: 14px; }
.pn-skill-resources button small { color: #66656a; font-size: 11px; }
.pn-fold-list { gap: 10px; }
.pn-fold-card { border: 0; border-radius: 34px 40px 31px 37px; background: #fff7f1; }
.pn-fold-card:nth-child(2) { border-radius: 41px 31px 38px 30px; background: #e7f6f1; }
.pn-fold-card:nth-child(3) { border-radius: 32px 41px 29px 36px; background: #e8f2ff; }
.pn-fold-card.is-open { background: #ffe5aa; }
.pn-fold-card > button { min-height: 81px; }
.pn-fold-card > button > span { border-radius: 18px 21px 16px 19px; background: #fffefa; }
.pn-fold-card > button > strong { font-size: 17px; }
.pn-fold-card > div > p { color: #424348; font-size: 14px; }
.pn-safety-note { border-radius: 30px 35px 27px 32px; background: #e8f2ff; }
.pn-status-card { margin: 18px 16px 0; padding: 20px 21px; border: 0; border-radius: 39px 32px 36px 29px; background: #fffefa; box-shadow: 0 5px 20px rgba(52,41,31,.045); }
.pn-status-card h2 { font-size: 23px; font-weight: 900; }
.pn-status-card p:last-child { line-height: 1.55; }
.pn-status-card > span { border-radius: 22px 25px 21px 24px; background: #ffd4d7; color: #ae3a47; }
.pn-status-card button { margin-top: 8px; padding: 0; background: transparent; color: #217a69; font-size: 13px; font-weight: 800; }
.pn-safe-action { gap: 9px; padding: 12px 16px calc(12px + var(--safe-bottom)); border: 0; border-radius: 30px 30px 0 0; background: #fffefa; box-shadow: 0 -8px 28px rgba(52,41,31,.07); }
.pn-safe-action .btn { min-height: 48px; justify-content: center; border-radius: 999px; }
.pn-safe-action .btn.secondary { background: #e1f5ef; }
.pn-safe-action .btn:not(.secondary) { background: #171312; color: #fff; }
.sample-p11 button:active { transform: scale(.98); }
.pn-skill-status-sheet { background: #fcfcf3; border-radius: 39px 42px 22px 22px; }
.pn-skill-status-sheet .overlay-head h2 { font-weight: 900; }
.pn-skill-status-form { display: grid; gap: 17px; }
.pn-skill-status-form > p { margin: 0; color: #56575c; font-size: 13px; line-height: 1.55; }
.pn-status-choice { width: 100%; margin: 0; }
.pn-skill-date[hidden] { display: none; }
.pn-skill-status-form .field > span { font-weight: 800; }
.pn-skill-status-form .field input, .pn-skill-status-form .field textarea { border-radius: 20px; background: #fffefa; }
.pn-skill-boundary { display: flex; gap: 10px; padding: 14px 15px; border-radius: 24px 28px 22px 26px; background: #fff0ca; color: #5d4b2d; font-size: 12px; line-height: 1.55; }
.pn-skill-boundary i { flex: none; margin-top: 1px; font-size: 20px; }
.pn-skill-save { justify-content: center; min-height: 50px; border-radius: 999px; background: #171312; color: #fff; }
.pn-skill-clear { justify-self: center; padding: 5px 8px; background: none; color: #9b3942; font-size: 13px; font-weight: 800; }
.sample-p11 .status-panel { min-height: 280px; margin: 20px 16px; border: 0; border-radius: 43px 52px 36px 41px; background: #fff7f1; }
.sample-p11 .status-panel .btn { border-radius: 999px; background: #171312; color: #fff; }
.pn-skill-page > .notice { margin: 0 16px 16px; border-radius: 24px 29px 21px 26px; }
@media (max-width: 374px) {
  .pn-skill-hero-copy h2 { font-size: 28px; }
  .pn-skill-hero-copy strong { font-size: 26px; }
  .pn-skill-stats strong { font-size: 21px; }
}

/* Gate 5 batch: P08/P11/P18 visual rules shared by remaining user screens. */
.page-type-main, .page-type-detail { background: #fcfcf3; }
.page-type-main .page { padding: calc(23px + var(--safe-top)) 17px calc(104px + var(--safe-bottom)); animation: none; }
.page-type-detail .page { padding: calc(76px + var(--safe-top)) 17px calc(48px + var(--safe-bottom)); animation: none; }
.page-type-detail .page-header { min-height: 62px; padding: calc(9px + var(--safe-top)) 15px 9px; border: 0; background: #fcfcf3; backdrop-filter: none; }
.page-type-detail .page-header h1 { font-size: 19px; font-weight: 900; }
.page-type-main .page-title, .page-type-detail .page-title { font-size: clamp(29px, 8vw, 34px); line-height: 1.18; font-weight: 900; letter-spacing: -.055em; }
.page-type-main .section-title, .page-type-detail .section-title { font-size: 23px; line-height: 1.25; font-weight: 900; letter-spacing: -.04em; }
.page-type-main .eyebrow, .page-type-detail .eyebrow { color: #805a28; font-size: 11px; letter-spacing: .12em; }
.page-type-main .body-copy, .page-type-detail .body-copy { color: #4f4c4b; line-height: 1.65; }
.page-type-main .section, .page-type-detail .section { margin-top: 25px; }
.page-type-main .card, .page-type-detail .card { border-radius: 32px 43px 34px 37px; border: 1px solid rgba(23,19,18,.06); box-shadow: 0 7px 23px rgba(23,19,18,.035); }
.page-type-main .card:nth-child(even), .page-type-detail .card:nth-child(even) { border-radius: 43px 32px 39px 29px; }
.page-type-main .card.tint-coral, .page-type-detail .card.tint-coral { background: #ffc2c4; }
.page-type-main .card.tint-mint, .page-type-detail .card.tint-mint { background: #d1f1de; }
.page-type-main .card.tint-yellow, .page-type-detail .card.tint-yellow { background: #ffd97a; }
.page-type-main .card.tint-blue, .page-type-detail .card.tint-blue { background: #c6defb; }
.page-type-main .btn, .page-type-detail .btn { border-radius: 999px; background: #f9c85b; }
.page-type-main .btn.secondary, .page-type-detail .btn.secondary { background: #fffdf7; }
.page-type-main .btn.teal, .page-type-detail .btn.teal { background: #389d87; }
.page-type-main .btn.danger, .page-type-detail .btn.danger { background: #fff1f1; }
.page-type-main .btn.ghost, .page-type-detail .btn.ghost { background: transparent; }
.page-type-main .icon-button, .page-type-detail .icon-button { border: 0; border-radius: 50%; background: #fff9e8; }
.page-type-main .icon-button.is-quiet, .page-type-detail .icon-button.is-quiet { background: transparent; }
.page-type-main .chip, .page-type-detail .chip { background: #ebe9df; }
.page-type-main .chip.is-active, .page-type-detail .chip.is-active { background: #171312; }
.page-type-main .chip.status, .page-type-detail .chip.status { background: #d1f1de; }
.page-type-main .chip.status.pending, .page-type-detail .chip.status.pending { background: #ffedbf; }
.page-type-main .chip.status.rejected, .page-type-detail .chip.status.rejected { background: #ffe1e3; }
.page-type-main .chip.status.hidden, .page-type-detail .chip.status.hidden { background: #e8e7e4; }
.page-type-main .list-item, .page-type-detail .list-item { border: 0; border-radius: 25px 33px 26px 29px; background: #fffdf7; box-shadow: 0 5px 18px rgba(23,19,18,.035); }
.page-type-main .list-item:nth-child(even), .page-type-detail .list-item:nth-child(even) { border-radius: 32px 24px 30px 25px; }
.page-type-main .list-item .title, .page-type-detail .list-item .title { font-weight: 900; }
.page-type-main .list-item .title, .page-type-detail .list-item .title, .page-type-main .list-item .sub, .page-type-detail .list-item .sub { display: block; }
.page-type-main .list-item > span:nth-child(2), .page-type-detail .list-item > span:nth-child(2) { min-width: 0; }
.page-type-main .tabs, .page-type-detail .tabs { border-radius: 999px; background: #eae8e0; }
.page-type-main .tab, .page-type-detail .tab { border-radius: 999px; }
.page-type-main .tab.is-active, .page-type-detail .tab.is-active { background: #fffdf7; box-shadow: 0 3px 8px rgba(23,19,18,.07); }
.page-type-main .field input, .page-type-detail .field input, .page-type-main .field textarea, .page-type-detail .field textarea, .page-type-main .field select, .page-type-detail .field select { border: 1px solid #dcd5c9; border-radius: 22px; background: #fffdf8; }
.page-type-main .media-card, .page-type-detail .media-card { overflow: hidden; padding: 0; }
.page-type-main .media-card > img, .page-type-detail .media-card > img { aspect-ratio: 1.55; object-fit: cover; }
.page-route-explore .media-card > img { aspect-ratio: 1.85; }
.page-route-community .media-card > img { aspect-ratio: 1.16; }
.page-route-community .media-card .avatar { width: 44px; height: 44px; flex: 0 0 44px; aspect-ratio: 1; }
.page-route-tutorials .media-card > img { aspect-ratio: 1.6; }
.page-route-tutorials-dash-vault-01 .stack-lg > img:first-of-type { aspect-ratio: 1.6 !important; object-position: center top; }
.page-type-main .level-card, .page-type-detail .level-card { min-height: 145px; }
.page-type-main .bottom-nav { width: min(calc(100% - 20px), 460px); bottom: calc(8px + var(--safe-bottom)); height: 78px; padding: 5px 8px; border: 0; border-radius: 38px; background: #fffdf8; box-shadow: 0 12px 34px rgba(23,19,18,.13); backdrop-filter: none; }
.page-type-main .nav-item.is-active { border-radius: 26px; background: #ffa3aa; }
.page-type-main .nav-item { color: #625f5b; }
.page-route-home .hero { background: #ffce63; }
.page-route-home .hero img { object-position: 48% center; transform: scale(1.28); transform-origin: 63% 16%; }
.page-route-home .hero-copy { background: rgba(255,207,99,.88); }
.page-type-main .search-box input { border: 1px solid #ded6c9; border-radius: 999px; background: #fffdf8; }
.pn-list-feature { position: relative; overflow: hidden; min-height: 225px; margin-top: 19px; border-radius: 42px 30px 43px 28px; background: #6a9bda; }
.pn-list-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; transform: scale(1.42); transform-origin: 72% 22%; }
.pn-list-feature > div { position: relative; z-index: 1; width: 63%; min-height: 225px; padding: 23px 17px; border-radius: 0 50px 50px 0; background: rgba(255,207,102,.92); }
.pn-list-feature h2 { margin: 0; font: 900 29px/1.1 "Bricolage Grotesque", sans-serif; }
.pn-list-feature p:not(.eyebrow) { margin: 9px 0 13px; font-size: 13px; line-height: 1.5; }
.pn-list-feature button { min-height: 39px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border-radius: 999px; background: #171312; color: #fff; font-size: 12px; font-weight: 800; }
.page-type-main .chip-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.page-type-main .chip-list::-webkit-scrollbar { display: none; }
.page-type-main .chip-list > * { flex: 0 0 auto; }
.page-type-main button:active, .page-type-detail button:active { transform: scale(.985); }

/* Admin workbenches share A02's restrained, dense desktop component system. */
.sample-a02 .admin-grid { gap: 12px; }
.sample-a02 .admin-stat { min-height: 124px; border-radius: 16px; background: #fffdf8; }
.sample-a02 .admin-stat strong { font-size: 32px; }
.sample-a02 .admin-panel { border-radius: 17px; background: #fffdf8; }
.sample-a02 .admin-panel-head { padding: 14px 16px; }
.sample-a02 .admin-panel-body { padding: 16px; }
.sample-a02 .admin-table th, .sample-a02 .admin-table td { padding: 11px 13px; }
.sample-a02 .admin-table th { background: #f0ece3; }
.sample-a02 .admin-row { background: #fffdf8; }
.sample-a02 .admin-row.is-selected { background: #fff3d2; }
.sample-a02 .btn { border-radius: 999px; }
.sample-a02 .btn.secondary { background: #fffdf8; }
.sample-a02 .icon-tile { border-radius: 14px; }
.sample-a02 .tabs, .sample-a02 .tab { border-radius: 999px; }
@media (max-width: 660px) {
  .page-type-main .page, .page-type-detail .page { padding-left: 15px; padding-right: 15px; }
  .sample-a02 .admin-main { padding: 19px 13px 44px; }
  .sample-a02 .admin-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 374px) {
  .page-type-main .page, .page-type-detail .page { padding-left: 12px; padding-right: 12px; }
  .page-type-main .page-title, .page-type-detail .page-title { font-size: 28px; }
  .page-type-main .level-card, .page-type-detail .level-card { padding: 15px 12px; }
}
