:root {
      color-scheme: light;
      --bg: #ffffff;
      --panel: #ffffff;
      --panel-2: #f5f5f5;
      --ink: #111111;
      --muted: #6b6b6b;
      --line: #dedede;
      --brand: #111111;
      --brand-soft: #f1f1f1;
      --brand-2: #000000;
      --accent: #ff6500;
      --accent-2: #e95500;
      --accent-soft: #fff3e8;
      --accent-line: #ffd8bd;
      --accent-shadow: rgba(255, 101, 0, .14);
      --good: #222222;
      --warn: #555555;
      --bad: #111111;
      --shadow: 0 12px 28px rgba(0, 0, 0, .06);
      font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    }

    /* Public OPC and matching flows */
    .opc-page,
    .matching-page {
      display: grid;
      gap: 18px;
      padding: 22px;
    }

    .public-feature-intro {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--line);
    }

    .public-feature-intro > div:first-child {
      max-width: 680px;
    }

    .feature-eyebrow {
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .public-feature-intro h2,
    .demand-form-head h3 {
      margin: 6px 0 0;
      color: var(--ink);
      font-size: 22px;
      line-height: 1.3;
    }

    .public-feature-intro p {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.6;
    }

    .feature-actions {
      display: flex;
      gap: 8px;
      flex: 0 0 auto;
    }

    .opc-community-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      border: 1px solid var(--accent-line);
      border-radius: 16px;
      background: linear-gradient(135deg, #fff 0%, #fffaf6 100%);
      box-shadow: 0 8px 18px rgba(18, 22, 30, .045);
    }

    .opc-community-hero h2 {
      max-width: 620px;
      margin: 3px 0 0;
      color: var(--ink);
      font-size: clamp(20px, 3vw, 28px);
      line-height: 1.18;
      letter-spacing: 0;
    }

    .opc-community-hero p {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 12.5px;
      line-height: 1.45;
      max-width: 660px;
    }

    .opc-hero-points {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }

    .opc-hero-points span {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      border: 1px solid var(--accent-line);
      border-radius: 999px;
      background: #fff;
      color: var(--accent-2);
      font-size: 12px;
      font-weight: 800;
    }

    .opc-hero-teammate {
      min-height: 34px;
      padding: 0 14px;
      border-color: var(--line);
      background: #fff;
      color: var(--ink);
      white-space: nowrap;
    }

    .opc-community-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .opc-community-stats > div {
      display: grid;
      gap: 2px;
      padding: 12px 14px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fafaf8;
    }

    .opc-community-stats strong {
      color: var(--ink);
      font-size: 20px;
    }

    .opc-community-stats span,
    .opc-section-head > span {
      color: var(--muted);
      font-size: 12px;
    }

    .opc-community-section {
      display: grid;
      gap: 10px;
      padding-top: 0;
    }

    .opc-my-profile {
      margin-top: 2px;
      background: #fbfbf9;
    }

    .opc-section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
    }

    .opc-section-head h3 {
      margin: 4px 0 0;
      color: var(--ink);
      font-size: 19px;
    }

    .opc-section-note {
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .single-focus-actions {
      justify-content: center;
    }

    .single-focus-actions .primary-btn {
      min-width: 180px;
    }

    .ideal-secondary-action {
      min-height: 34px;
      padding: 0 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .ideal-filter-bar {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 2px;
      scrollbar-width: none;
    }

    .ideal-filter-bar::-webkit-scrollbar {
      display: none;
    }

    .ideal-filter-bar button {
      flex: 0 0 auto;
      min-height: 31px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--muted);
      font-size: 11.5px;
      font-weight: 760;
    }

    .ideal-filter-bar button.active {
      border-color: var(--accent);
      background: var(--accent);
      color: #fff;
    }

    .opc-directory-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .opc-directory-card {
      display: grid;
      gap: 0;
      min-width: 0;
      overflow: hidden;
      border: 1px solid #eeeeee;
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(18, 22, 30, .045);
      cursor: pointer;
      transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
    }

    .opc-directory-card:hover,
    .opc-directory-card:focus-visible,
    .opc-case-grid article:hover,
    .opc-case-grid article:focus-visible {
      border-color: #111;
      box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
      outline: none;
      transform: translateY(-1px);
    }

    .opc-directory-layout {
      display: grid;
      grid-template-columns: 74px minmax(0, 1fr);
      column-gap: 12px;
      row-gap: 10px;
      align-items: start;
      min-width: 0;
      padding: 16px 16px 14px;
    }

    .opc-directory-avatar-wrap {
      grid-column: 1;
      grid-row: 1;
      min-width: 0;
    }

    .opc-directory-head {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      align-items: flex-start;
      min-width: 0;
    }

    .opc-directory-avatar {
      position: relative;
      width: 74px;
      height: 74px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 2px solid #111;
      border-radius: 18px;
      background: linear-gradient(180deg, #161616 0%, #050505 100%);
      color: #fff;
      font-size: 19px;
      font-weight: 900;
      line-height: 1;
      box-shadow: 0 8px 18px rgba(17, 17, 17, .12);
    }

    .opc-directory-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .opc-directory-avatar.has-image span {
      display: none;
    }

    .opc-directory-main {
      grid-column: 2;
      grid-row: 1;
    }

    .opc-directory-main,
    .opc-directory-title {
      display: grid;
      gap: 6px;
      min-width: 0;
    }

    .opc-directory-title {
      gap: 3px;
    }

    .opc-directory-title strong,
    .opc-directory-head strong {
      overflow: hidden;
      color: var(--ink);
      font-size: 20px;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .opc-directory-profession {
      color: #ff5f00;
      font-size: 15px;
      font-weight: 800;
      line-height: 1.3;
    }

    .opc-directory-card small {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .opc-directory-bio {
      grid-column: 1 / -1;
      display: -webkit-box;
      min-height: 0;
      margin: 0;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      color: #5f6368;
      font-size: 13px;
      line-height: 1.6;
    }

    .opc-directory-foot {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      min-width: 0;
      padding: 10px 16px 12px;
      border-top: 1px solid #eeeeee;
      color: var(--muted);
      font-size: 12px;
    }

    .opc-directory-tags {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      min-width: 0;
    }

    .opc-directory-tags span {
      max-width: 100%;
      padding: 5px 9px;
      border: 1px solid #ffd7bd;
      border-radius: 8px;
      background: #fff3ea;
      color: #a94600;
      font-size: 11px;
      font-weight: 760;
      line-height: 1.2;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .opc-directory-card dl {
      display: grid;
      gap: 7px;
      margin: 0;
      padding-top: 10px;
      border-top: 1px solid var(--line);
    }

    .opc-directory-card dl > div {
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      gap: 8px;
    }

    .opc-directory-card dt,
    .opc-directory-card dd {
      margin: 0;
      font-size: 11px;
      line-height: 1.5;
    }

    .opc-directory-card dt {
      color: var(--muted);
    }

    .opc-directory-card dd {
      color: var(--ink);
    }

    .opc-directory-card footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
    }

    .opc-directory-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-left: auto;
      color: var(--accent);
      font-weight: 800;
      white-space: nowrap;
    }

    .opc-directory-cta-icon {
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.15;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .opc-case-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .opc-case-grid article {
      display: grid;
      gap: 8px;
      min-width: 0;
      padding: 14px;
      border: 1px solid transparent;
      border-top: 2px solid #111;
      background: #f7f7f5;
      cursor: pointer;
      transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    }

    .opc-case-grid article > span,
    .opc-case-grid article small {
      color: var(--muted);
      font-size: 10px;
    }

    .opc-case-grid article strong {
      color: var(--ink);
      font-size: 13px;
      line-height: 1.55;
    }

    .opc-event-list {
      display: grid;
      border-top: 1px solid var(--line);
    }

    .opc-event-list article {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 13px 0;
      border-bottom: 1px solid var(--line);
    }

    .opc-event-list article > div {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .opc-event-list span,
    .opc-event-list small {
      color: var(--muted);
      font-size: 10px;
    }

    .opc-event-list strong {
      color: var(--ink);
      font-size: 14px;
    }

    .opc-community-about {
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
      gap: 24px;
      padding: 18px;
      border: 0;
      border-left: 4px solid var(--accent);
      border-radius: 0 18px 18px 0;
      background: linear-gradient(90deg, var(--accent-soft) 0%, #fff 100%);
      cursor: default;
    }

    .opc-community-about h3 {
      margin: 6px 0 0;
      color: var(--ink);
      font-size: 15px;
      line-height: 1.6;
    }

    .opc-community-about ol {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .opc-community-about li {
      display: grid;
      gap: 7px;
      align-content: center;
      padding: 0 0 0 10px;
      border-left: 1px solid var(--accent-line);
      color: var(--ink);
      font-size: 11px;
    }

    .opc-community-about li strong {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #111;
      color: #fff;
      font-size: 11px;
    }

    .opc-community-empty {
      grid-column: 1 / -1;
      display: grid;
      gap: 7px;
      justify-items: start;
      padding: 18px;
      border: 1px dashed var(--line);
      border-radius: 14px;
      background: #fafaf8;
    }

    .opc-community-empty strong {
      color: var(--ink);
      font-size: 14px;
    }

    .opc-community-empty span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .opc-detail-modal {
      max-width: 620px;
    }

    .opc-detail-profile {
      display: grid;
      gap: 14px;
    }

    .opc-detail-hero {
      display: grid;
      grid-template-columns: 54px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

    .opc-detail-hero .opc-directory-avatar {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      font-size: 15px;
    }

    .opc-detail-hero.opportunity .opc-directory-avatar {
      background: #f4f1e8;
      color: var(--ink);
    }

    .opc-detail-hero h3 {
      margin: 4px 0 0;
      color: var(--ink);
      font-size: 21px;
      line-height: 1.3;
    }

    .opc-detail-hero p,
    .opc-detail-section p,
    .opc-detail-section li,
    .opc-mini-list button span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.65;
    }

    .opc-detail-section {
      display: grid;
      gap: 8px;
      padding: 13px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fbfbf9;
    }

    .opc-detail-section > span {
      color: var(--ink);
      font-size: 13px;
      font-weight: 850;
    }

    .opc-detail-section p {
      margin: 0;
    }

    .opc-detail-section ul {
      display: grid;
      gap: 7px;
      margin: 0;
      padding-left: 18px;
    }

    .opc-mini-list {
      display: grid;
      gap: 8px;
    }

    .opc-mini-list button {
      display: grid;
      gap: 3px;
      width: 100%;
      padding: 11px 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      text-align: left;
      cursor: pointer;
    }

    .opc-mini-list button:hover,
    .opc-mini-list button:focus-visible {
      border-color: #111;
      outline: none;
    }

    .opc-mini-list button strong {
      color: var(--ink);
      font-size: 13px;
    }

    .community-card > .ghost-btn {
      justify-self: start;
      min-height: 36px;
    }

    .opc-product-hero,
    .matching-product-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      overflow: hidden;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: #fafaf8;
    }

    .matching-product-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .demand-focus-hero {
      padding: 16px;
      border: 1px solid var(--accent-line);
      border-radius: 22px;
      background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
    }

    .demand-focus-hero h2 {
      font-size: clamp(28px, 3vw, 40px);
      line-height: 1.1;
      letter-spacing: -.05em;
    }

    .demand-promise-grid {
      gap: 8px;
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
    }

    .opc-product-hero > div,
    .matching-product-grid > div {
      display: grid;
      gap: 6px;
      min-height: 88px;
      padding: 13px 15px;
      border: 0;
      border-left: 1px solid var(--line);
      border-radius: 0;
      background: transparent;
      cursor: default;
    }

    .demand-promise-grid > div {
      min-height: 78px;
      padding: 12px 13px;
      border: 1px solid var(--line);
      border-left: 3px solid var(--accent-line);
      border-radius: 14px;
      background: #fff;
      box-shadow: none;
    }

    .opc-product-hero > div:first-child,
    .matching-product-grid > div:first-child {
      border-left: 0;
    }

    .demand-promise-grid > div:first-child {
      border-left: 3px solid var(--accent-line);
    }

    .opc-product-hero strong,
    .matching-product-grid strong {
      color: var(--ink);
      font-size: 15px;
      line-height: 1.35;
    }

    .opc-product-hero span,
    .matching-product-grid span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .opc-journey {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      margin: 0;
      padding: 0;
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      list-style: none;
    }

    .opc-journey li {
      position: relative;
      display: grid;
      gap: 5px;
      min-height: 78px;
      padding: 14px 18px 14px 42px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: transparent;
    }

    .opc-journey li + li::before {
      content: "";
      position: absolute;
      top: 29px;
      left: -18px;
      width: 36px;
      height: 1px;
      background: var(--line);
    }

    .opc-journey strong {
      position: absolute;
      top: 14px;
      left: 8px;
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #111;
      color: #fff;
      font-size: 12px;
    }

    .opc-journey span {
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
    }

    .opc-journey em {
      color: var(--muted);
      font-size: 12px;
      font-style: normal;
      line-height: 1.45;
    }

    .opc-opportunity-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .opc-opportunity-grid article {
      display: grid;
      gap: 7px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
    }

    .opc-opportunity-grid h3,
    .opc-opportunity-grid p {
      margin: 0;
    }

    .opc-opportunity-grid h3 {
      color: var(--ink);
      font-size: 15px;
    }

    .opc-opportunity-grid p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .matching-steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0;
      margin: 0;
      padding: 0;
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      list-style: none;
    }

    .demand-compact-steps {
      opacity: .86;
    }

    .matching-steps li {
      position: relative;
      display: flex;
      align-items: center;
      gap: 9px;
      min-height: 48px;
      padding: 8px 12px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: transparent;
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
    }

    .matching-steps li + li::before {
      content: "→";
      position: absolute;
      left: -7px;
      color: var(--muted);
      font-size: 12px;
    }

    .matching-steps strong {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #111;
      color: #fff;
      font-size: 12px;
    }

    .matching-page .demand-form {
      max-width: 760px;
      width: 100%;
      margin: 0;
      padding: 18px;
    }

    .demand-form-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

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

    .demand-flow {
      display: grid;
      gap: 13px;
    }

    .demand-step {
      display: grid;
      gap: 10px;
    }

    .demand-step-title {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 800;
    }

    .demand-step-title strong {
      width: 24px;
      height: 24px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: #111;
      color: #fff;
      font-size: 12px;
    }

    .demand-type-grid {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 1px 1px 4px;
      scrollbar-width: none;
    }

    .demand-type-grid::-webkit-scrollbar {
      display: none;
    }

    .demand-type-grid button {
      flex: 0 0 148px;
      min-height: 62px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #fff;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
    }

    .demand-type-grid button strong,
    .demand-type-grid button span {
      display: block;
    }

    .demand-type-grid button strong {
      font-size: 14px;
      margin-bottom: 4px;
    }

    .demand-type-grid button span {
      color: var(--muted);
      font-size: 11.5px;
      line-height: 1.35;
    }

    .demand-type-grid button.active {
      background: var(--accent-soft);
      color: var(--accent-2);
      border-color: var(--accent-line);
      box-shadow: 0 8px 18px rgba(255, 101, 0, .10);
    }

    .demand-type-grid button.active span {
      color: #8a5b36;
    }

    .demand-more {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 12px 0;
    }

    .demand-more summary {
      cursor: pointer;
      color: var(--ink);
      font-size: 13px;
      font-weight: 750;
    }

    .demand-more summary span {
      margin-left: 6px;
      color: var(--muted);
      font-weight: 500;
    }

    .demand-more[open] summary {
      margin-bottom: 14px;
    }

    .demand-consent {
      margin: 0;
      font-size: 12.5px;
    }

    .demand-submit-row {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    body:not(.admin) .public-notification-page [data-public-notification-refresh],
    body:not(.admin) .public-notification-page .panel-head [data-my-action],
    body:not(.admin) .public-mine-page .my-section-head [data-my-action] {
      display: none;
    }

    .my-avatar-editor {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
    }

    .my-avatar-photo {
      width: 64px;
      height: 64px;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: #ffffff;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
    }

    .my-avatar-photo img {
      padding: 4px;
      object-fit: contain;
      box-sizing: border-box;
      background: #ffffff;
    }

    .my-avatar-photo.has-image span {
      visibility: hidden;
    }

    .my-avatar-actions {
      display: grid;
      justify-items: start;
      gap: 3px;
    }

    .my-avatar-actions .ghost-btn {
      min-height: 34px;
      padding: 6px 10px;
      font-size: 12px;
    }

    .text-btn {
      min-height: 24px;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--muted);
      font-size: 12px;
      cursor: pointer;
    }

    @media (max-width: 720px) {
      .opc-page,
      .matching-page {
        gap: 14px;
        padding: 14px;
      }

      .public-feature-intro {
        display: grid;
        gap: 14px;
        padding-bottom: 14px;
      }

      .opc-community-hero {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
      }

      .opc-community-hero h2 {
        font-size: 18px;
      }

      .opc-community-hero p {
        font-size: 12px;
      }

      .opc-hero-points {
        gap: 6px;
        margin-top: 10px;
      }

      .opc-hero-points span {
        min-height: 25px;
        padding: 0 8px;
        font-size: 11px;
      }

      .opc-community-stats > div {
        display: grid;
        gap: 2px;
        padding: 10px;
        text-align: center;
      }

      .opc-community-stats strong {
        font-size: 18px;
      }

      .opc-directory-grid,
      .opc-case-grid,
      .opc-community-about {
        grid-template-columns: 1fr;
      }

      .opc-directory-card {
        border-radius: 16px;
      }

      .opc-directory-layout {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 12px 12px;
      }

      .opc-directory-avatar {
        width: 64px;
        height: 64px;
        border-radius: 15px;
        font-size: 16px;
      }

      .opc-directory-title strong {
        font-size: 18px;
      }

      .opc-directory-profession {
        font-size: 14px;
      }

      .opc-directory-foot {
        padding: 9px 12px 11px;
      }

      .opc-section-head h3 {
        font-size: 17px;
      }

      .opc-case-grid article {
        min-height: 92px;
      }

      .opc-event-list article {
        align-items: end;
      }

      .opc-event-list article button {
        flex: 0 0 auto;
      }

      .opc-community-about {
        gap: 16px;
        padding: 14px;
      }

      .opc-community-about ol {
        border-top: 1px solid var(--line);
        padding-top: 12px;
      }

      .public-feature-intro h2,
      .demand-form-head h3 {
        font-size: 18px;
      }

      .public-feature-intro p {
        font-size: 13px;
      }

      .public-feature-intro > .primary-btn,
      .feature-actions,
      .feature-actions > button {
        width: 100%;
      }

      .feature-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .community-grid {
        gap: 10px;
      }

      .opc-product-hero,
      .matching-product-grid,
      .opc-journey,
      .opc-opportunity-grid {
        grid-template-columns: 1fr;
      }

      .opc-product-hero > div,
      .matching-product-grid > div,
      .opc-journey li {
        min-height: auto;
        padding: 13px;
      }

      .opc-product-hero > div,
      .matching-product-grid > div {
        border-left: 0;
        border-top: 1px solid var(--line);
      }

      .opc-product-hero > div:first-child,
      .matching-product-grid > div:first-child {
        border-top: 0;
      }

      .demand-promise-grid {
        gap: 8px;
      }

      .demand-promise-grid > div,
      .demand-promise-grid > div:first-child {
        border: 1px solid var(--line);
        border-left: 3px solid var(--accent-line);
        border-radius: 14px;
      }

      .opc-journey li {
        min-height: 66px;
        padding: 12px 12px 12px 48px;
        border-bottom: 0;
      }

      .opc-journey li:last-child {
        border-bottom: 1px solid var(--line);
      }

      .opc-journey li + li::before {
        top: -12px;
        left: 23px;
        width: 1px;
        height: 24px;
      }

      .opc-journey strong {
        top: 12px;
        left: 10px;
      }

      .community-card {
        gap: 10px;
        padding: 13px;
      }

      .community-card p {
        margin-top: 6px;
        line-height: 1.55;
      }

      .matching-steps li {
        justify-content: center;
        gap: 6px;
        min-height: 46px;
        padding: 8px 5px;
        font-size: 12px;
      }

      .matching-steps li + li::before {
        content: "";
        left: 0;
      }

      .matching-steps strong {
        width: 21px;
        height: 21px;
      }

      .matching-page .demand-form {
        padding: 14px;
      }

      .demand-form-head h3 {
        font-size: 17px;
      }

      .demand-submit-row {
        display: grid;
      }

      .demand-type-grid button {
        flex-basis: 140px;
      }

      .demand-submit-row .primary-btn {
        width: 100%;
      }

      .my-profile-identity {
        align-items: flex-start;
      }

      .my-avatar-editor {
        display: grid;
      }

      .my-avatar-photo {
        width: 58px;
        height: 58px;
      }
    }

.participant-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

@media (max-width: 380px) {
  .opc-directory-layout {
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 9px;
  }

  .opc-directory-avatar {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 16px;
  }

  .opc-directory-bio {
    min-height: auto;
    font-size: 12px;
  }

  body.detail-mode:not(.admin) .detail-people-summary {
    grid-template-columns: 1fr;
  }

  body.detail-mode:not(.admin) .detail-people-avatars {
    grid-template-columns: 1fr;
  }
}

.community-status-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.community-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.community-status-head h3 {
  margin: 2px 0 0;
  font-size: 17px;
}

.community-status-list,
.demand-progress-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.demand-list-collapse {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: #fafafa;
}

.demand-list-collapse summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 10px 12px;
  list-style: none;
  color: var(--ink);
  cursor: pointer;
}

.demand-list-collapse summary::-webkit-details-marker {
  display: none;
}

.demand-list-collapse summary span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.demand-list-collapse summary em {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.demand-list-collapse .when-open,
.demand-list-collapse[open] .when-closed {
  display: none;
}

.demand-list-collapse[open] .when-open {
  display: inline;
}

.demand-list-collapse-body {
  display: grid;
  gap: 10px;
  padding: 0 10px 10px;
}

.community-status-empty,
.community-status-item,
.demand-progress-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfbfb;
}

.community-status-empty strong,
.community-status-item strong,
.demand-progress-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.community-status-empty span,
.community-status-item span,
.demand-progress-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.community-status-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.community-status-item em {
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.demand-progress-next {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.my-demand-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.my-demand-detail {
  display: grid;
  gap: 14px;
}

.my-demand-detail-head {
  display: grid;
  gap: 8px;
}

.my-demand-detail-head strong {
  font-size: 20px;
}

.my-demand-detail-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.my-demand-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.my-demand-facts div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.my-demand-facts span {
  color: var(--muted);
  font-size: 12px;
}

.my-demand-facts strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.progress-steps li {
  padding: 6px 4px;
  border-radius: 999px;
  background: #f1f1f1;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.progress-steps li.done,
.progress-steps li.active {
  background: #111;
  color: #fff;
}

@media (max-width: 720px) {
  body:not(.admin) .community-status-panel {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  body:not(.admin) .community-status-head h3 {
    font-size: 15px;
  }

  body:not(.admin) .community-status-head .ghost-btn {
    min-height: 34px;
    padding: 7px 10px;
  }
}

.registration-data-quality {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.quality-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fafafa;
}

.quality-card > span,
.quality-card > strong,
.quality-card > small {
  display: block;
}

.quality-card > span,
.quality-card > small {
  color: var(--muted);
  font-size: 12px;
}

.quality-card > strong {
  margin: 6px 0 3px;
  font-size: 22px;
}

.source-quality div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.source-quality em {
  padding: 4px 7px;
  background: #eee;
  font-size: 11px;
  font-style: normal;
}

.notification-log-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.notification-log-actions .ghost-btn {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 12px;
}

.participant-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.participant-card-head,
.participant-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.participant-card-head strong,
.participant-card-head span {
  display: block;
}

.participant-card-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.participant-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.participant-stats span {
  padding: 9px;
  background: #f5f5f3;
  color: var(--muted);
  font-size: 12px;
}

.participant-stats strong {
  color: var(--ink);
  font-size: 16px;
}

.participant-history {
  min-height: 42px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.participant-edit-grid {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.participant-edit-grid label {
  color: var(--muted);
  font-size: 12px;
}

.participant-edit-grid input,
.participant-edit-grid textarea {
  width: 100%;
  margin-top: 5px;
}

.participant-edit-grid textarea {
  min-height: 72px;
}

@media (max-width: 760px) {
  .registration-data-quality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 12px 12px;
  }
  .participant-list {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .participant-card {
    padding: 13px;
  }

  .participant-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

    * { box-sizing: border-box; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      letter-spacing: 0;
    }

    body:not(.admin) {
      background: #f7f8fa;
    }

    button, input, select, textarea {
      font: inherit;
    }

    button {
      border: 0;
      cursor: pointer;
    }

    button:disabled {
      cursor: not-allowed;
      opacity: .45;
    }

    .app-shell {
      min-height: 100vh;
      display: block;
    }

    .sidebar {
      display: none;
    }

    body.admin .app-shell {
      display: grid;
      grid-template-columns: 240px minmax(0, 1fr);
      min-height: 100vh;
    }

    body.admin .sidebar {
      display: block;
      padding: 20px 14px;
      border-right: 1px solid var(--line);
      background: #fafafa;
      position: sticky;
      top: 0;
      height: 100vh;
    }

    body.admin .side-note {
      display: block;
    }

    body.admin .public-brand {
      display: none;
    }

    body.admin .public-only {
      display: none !important;
    }

    .public-tabs {
      min-height: 42px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      align-items: center;
      gap: 4px;
      margin: 0 0 14px;
      padding: 4px;
      border: 1px solid #ffd5ba;
      border-radius: 20px;
      background: linear-gradient(180deg, #fff4ed 0%, #ffe6d6 100%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .82),
        0 8px 18px rgba(255, 101, 0, .08);
    }

    .public-tabs[hidden] {
      display: none !important;
    }

    .public-home-page {
      border: 0;
      background: transparent;
      box-shadow: none;
      width: 100vw;
      margin-inline: calc(50% - 50vw);
    }

    body.public-home-mode:not(.admin) .main {
      min-height: 100dvh;
      padding-bottom: 0;
    }

    html.route-detail-pending body:not(.admin) .public-brand,
    html.route-detail-pending body:not(.admin) .public-tabs,
    html.route-detail-pending body:not(.admin) .topbar,
    html.route-detail-pending body:not(.admin) .public-filter-pills,
    html.route-detail-pending body:not(.admin) .public-home-page,
    html.route-detail-pending body:not(.admin) .public-list {
      display: none !important;
    }

    .public-home-hero {
      min-height: min(720px, calc(100dvh - 72px));
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 18px;
      position: relative;
      overflow: hidden;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      padding: clamp(132px, 21vh, 206px) max(18px, calc((100vw - 560px) / 2)) 0;
      text-align: center;
    }

    .public-home-hero h1 {
      width: min(100%, 720px);
      max-width: calc(100vw - 32px);
      margin: 0;
      color: var(--ink);
      box-sizing: border-box;
      font-size: clamp(22px, 5.8vw, 34px);
      line-height: 1.2;
      letter-spacing: 0;
      font-weight: 900;
      white-space: nowrap;
      overflow: visible;
    }

    .public-home-hero > p {
      max-width: 560px;
      margin: 0;
      color: #5f6874;
      font-size: clamp(14px, 1.8vw, 18px);
      line-height: 1.6;
      font-weight: 600;
    }

    @media (max-width: 380px) {
      .public-home-hero h1 {
        font-size: clamp(19px, 5.5vw, 22px);
        letter-spacing: -0.04em;
      }
    }

    @media (max-width: 320px) {
      .public-home-hero h1 {
        max-width: 292px;
        white-space: normal;
      }
    }

    .public-home-actions {
      width: min(304px, 100%);
      display: grid;
      gap: 14px;
      margin-top: 16px;
    }

    .public-home-actions .primary-btn {
      min-height: 48px;
      border: 1px solid #f05a00;
      border-radius: 10px;
      background: linear-gradient(180deg, #ff6a00 0%, #ff4f00 100%);
      color: #fff;
      font-size: 15px;
      font-weight: 820;
      box-shadow: 0 10px 24px rgba(255, 101, 0, .2);
    }

    .public-home-actions .primary-btn:hover {
      border-color: #f05a00;
      background: linear-gradient(180deg, #ff7a18 0%, #f05200 100%);
      color: #fff;
      box-shadow: 0 14px 28px rgba(255, 101, 0, .28);
      transform: translateY(-1px);
    }

    .public-home-actions .primary-btn:focus-visible {
      border-color: #f05a00;
      background: linear-gradient(180deg, #ff6a00 0%, #ff4f00 100%);
      color: #fff;
      box-shadow: 0 0 0 4px rgba(255, 101, 0, .16), 0 10px 24px rgba(255, 101, 0, .2);
    }

    .public-home-actions .primary-btn:active {
      border-color: #e44b00;
      background: linear-gradient(180deg, #f05a00 0%, #e84a00 100%);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255, 101, 0, .22);
    }

    .public-home-actions .ghost-btn {
      min-height: 48px;
      border: 1px solid #1f2937;
      border-radius: 10px;
      background: #fff;
      color: #111;
      font-size: 15px;
      font-weight: 820;
    }

    .public-home-values {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-top: 28px;
      color: #374151;
      font-size: 15px;
      font-weight: 760;
      letter-spacing: .04em;
    }

    .public-home-values i {
      color: var(--accent);
      font-style: normal;
      font-weight: 900;
    }

    .public-tabs button {
      min-width: 0;
      min-height: 34px;
      align-self: center;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      border: 1px solid transparent;
      border-radius: 15px;
      background: transparent;
      color: #1f2937;
      cursor: pointer;
      font-size: 14px;
      font-weight: 820;
      padding: 0 8px;
      white-space: nowrap;
    }

    .public-tabs button.active {
      border-color: #111111;
      background: #111111;
      color: #ffffff;
      box-shadow:
        0 6px 14px rgba(17, 17, 17, .16),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .public-tabs button:hover {
      border-color: rgba(255, 255, 255, .76);
      background: rgba(255, 255, 255, .58);
      color: var(--ink);
    }

    .public-tabs button.active:hover,
    .public-tabs button.active:focus-visible {
      border-color: #111111;
      background: #111111;
      color: #ffffff;
    }

    .public-tabs button:focus-visible {
      outline: 3px solid var(--accent-line);
      outline-offset: 2px;
    }

    .public-tabs button.active::after {
      display: none;
    }

    .public-filter-pills {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin: 0 0 26px;
    }

    .public-filter-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .public-filter-group button {
      min-height: 44px;
      border-radius: 999px;
      padding: 0 18px;
      background: #fff;
      border: 1px solid var(--line);
      color: #30343b;
      font-size: 14px;
      font-weight: 800;
      box-shadow: none;
      white-space: nowrap;
    }

    .public-filter-group button.active {
      background: #111111;
      border-color: #111111;
      color: #ffffff;
      box-shadow: none;
    }

    .public-filter-group button:hover {
      border-color: #cfcfcf;
      background: #f7f7f7;
      color: #111111;
    }

    .public-filter-group button:focus-visible,
    .public-more-filter:focus-visible {
      outline: 3px solid #e1e1e1;
      outline-offset: 2px;
    }

    .public-filter-group button.active:hover {
      border-color: #111111;
      background: #111111;
      color: #ffffff;
    }

    .public-more-filter {
      min-height: 44px;
      padding: 0 18px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: #30343b;
      font-size: 14px;
      font-weight: 750;
      position: relative;
      white-space: nowrap;
    }

    .public-more-filter.active {
      border-color: #d8d8d8;
      color: #111111;
      background: #f4f4f4;
    }

    .public-more-filter:hover {
      border-color: #cfcfcf;
      background: #f7f7f7;
      color: #111111;
    }

    .public-more-filter.active::after {
      content: "";
      position: absolute;
      top: 8px;
      right: 10px;
      width: 5px;
      height: 5px;
      border-radius: 999px;
      background: #111111;
    }

    .public-filter-modal {
      width: min(520px, calc(100vw - 24px));
    }

    .ideal-page {
      display: grid;
      gap: 10px;
    }

    .ideal-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 10px 14px;
      border: 1px solid var(--accent-line);
      border-radius: 16px;
      background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
      box-shadow: 0 6px 16px rgba(18, 22, 30, .035);
    }

    .ideal-hero .feature-eyebrow {
      color: var(--accent-2);
    }

    .ideal-hero h2 {
      margin: 2px 0 3px;
      font-size: 19px;
      line-height: 1.25;
      letter-spacing: -.035em;
    }

    .ideal-hero p {
      margin: 0;
      color: var(--muted);
      font-size: 12.5px;
      line-height: 1.45;
      max-width: 520px;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .ideal-hero .primary-btn {
      min-height: 30px;
      padding: 0 12px;
      border: 1px solid var(--accent-line);
      background: #fff;
      color: var(--accent-2);
      box-shadow: none;
    }

    .ideal-stats {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .ideal-stats::-webkit-scrollbar {
      display: none;
    }

    .ideal-stats div {
      flex: 1 0 104px;
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 2px 8px;
      align-items: center;
      padding: 8px 10px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
    }

    .ideal-stats span,
    .ideal-stats small {
      display: block;
      color: var(--muted);
      font-size: 11px;
    }

    .ideal-stats strong {
      grid-row: span 2;
      display: block;
      margin: 0;
      color: var(--ink);
      font-size: 20px;
      line-height: 1;
    }

    .ideal-story-list {
      display: grid;
      gap: 14px;
    }

    .ideal-story-card {
      display: grid;
      grid-template-columns: minmax(190px, 42%) minmax(0, 1fr);
      gap: 14px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: #fff;
      box-shadow: 0 12px 28px rgba(18, 22, 30, .055);
      cursor: pointer;
    }

    .ideal-story-card:hover,
    .ideal-story-card:focus-within {
      border-color: var(--accent-line);
      box-shadow: 0 14px 32px var(--accent-shadow);
    }

    .ideal-story-card-featured {
      grid-template-columns: 1fr;
      padding: 10px;
      gap: 10px;
      border-color: var(--accent-line);
      box-shadow: 0 14px 32px var(--accent-shadow);
    }

    .ideal-story-card-featured .ideal-story-cover {
      aspect-ratio: 16 / 8.2;
      border-radius: 20px;
    }

    .ideal-story-card-featured .ideal-story-body {
      padding: 4px 6px 6px;
    }

    .ideal-story-cover {
      overflow: hidden;
      border-radius: 18px;
      background: #f2f2ef;
      aspect-ratio: 4 / 3;
    }

    .ideal-story-cover img,
    .ideal-story-detail-cover {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .ideal-story-body {
      min-width: 0;
      display: grid;
      gap: 10px;
      align-content: start;
      padding: 4px 2px;
    }

    .ideal-story-meta {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: 12px;
      font-weight: 750;
    }

    .ideal-story-meta span {
      padding: 5px 8px;
      border-radius: 999px;
      background: #f4f4f2;
    }

    .ideal-story-card-featured .ideal-story-meta span:first-child,
    .ideal-story-card-featured .ideal-story-meta span:last-child {
      background: var(--accent-soft);
      color: var(--accent-2);
    }

    .ideal-story-card h3,
    .ideal-story-detail h3 {
      margin: 0;
      font-size: 22px;
      letter-spacing: -.03em;
    }

    .ideal-story-card p,
    .ideal-story-detail p {
      margin: 0;
      color: var(--muted);
      line-height: 1.75;
    }

    .ideal-story-card p {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .ideal-story-card ul,
    .ideal-story-detail ul {
      margin: 0;
      padding-left: 18px;
      color: var(--ink);
      line-height: 1.65;
    }

    .ideal-story-card:not(.ideal-story-card-featured) ul {
      display: none;
    }

    .ideal-story-card-featured .ideal-story-gallery img {
      aspect-ratio: 4 / 3;
    }

    .ideal-story-gallery,
    .ideal-story-detail-gallery {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      align-items: start;
    }

    .ideal-story-gallery img,
    .ideal-story-detail-gallery img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      display: block;
      border-radius: 12px;
      background: #f2f2ef;
    }

    .ideal-story-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 2px;
    }

    .ideal-story-modal .modal-body {
      padding-top: 0;
    }

    .ideal-story-detail {
      display: grid;
      gap: 14px;
    }

    .ideal-story-detail-cover {
      max-height: 340px;
      border-radius: 20px;
      background: #f2f2ef;
    }

    .public-filter-divider {
      width: 1px;
      height: 24px;
      background: var(--line);
      margin: 0 4px;
    }

    .public-community,
    .public-matching {
      margin-top: 0;
    }

    .community-grid,
    .match-list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .community-card,
    .match-card {
      display: grid;
      gap: 14px;
      min-width: 0;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #ffffff;
    }

    .community-kicker,
    .match-card span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .community-card h3,
    .match-card strong {
      display: block;
      margin: 7px 0 0;
      color: var(--ink);
      font-size: 17px;
      line-height: 1.35;
    }

    .community-card p,
    .match-card p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
    }

    .community-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .community-meta span {
      min-height: 24px;
      padding: 3px 9px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--ink);
      font-size: 12px;
      font-weight: 700;
    }

    .admin-badge {
      display: none;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      padding: 10px 14px;
      border-radius: 8px;
      background: var(--brand-soft);
      color: var(--brand-2);
      font-size: 13px;
      font-weight: 600;
    }

    body.admin .admin-badge {
      display: flex;
    }

    .admin-badge a {
      margin-left: auto;
      color: var(--brand-2);
      opacity: 0.85;
      text-decoration: none;
      font-size: 12px;
      font-weight: 500;
    }

    .admin-badge a:hover {
      opacity: 1;
      text-decoration: underline;
    }

    .admin-badge #adminLogoutBtn {
      min-height: 30px;
      padding: 0 10px;
      font-size: 12px;
    }

    .admin-badge #adminLogoutBtn:not([hidden]) {
      margin-left: auto;
    }

    .admin-badge #previewPublicLink {
      margin-left: auto;
    }

    .admin-badge #adminLogoutBtn:not([hidden]) + #previewPublicLink {
      margin-left: 0;
    }

    body.admin.admin-locked .sidebar,
    body.admin.admin-locked .main {
      visibility: hidden;
    }

    #adminLoginModal {
      z-index: 90;
    }

    #adminLoginModal.show {
      display: flex;
    }

    #adminLoginError {
      color: #b42318;
      margin: 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      display: grid;
      place-items: center;
      background: var(--brand);
      color: #ffffff;
      font-weight: 800;
    }

    .brand-logo {
      display: block;
      object-fit: cover;
      object-position: center;
      padding: 0;
      border: 1px solid var(--line);
      background: #ffffff;
      box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    }

    .brand strong {
      display: block;
      font-size: 16px;
      line-height: 1.15;
    }

    .brand span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-top: 2px;
    }

    .nav {
      display: grid;
      gap: 4px;
    }

    .nav button {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 38px;
      border-radius: 6px;
      padding: 0 11px;
      color: #555555;
      background: transparent;
      text-align: left;
      font-weight: 600;
      font-size: 13px;
    }

    .nav button.active,
    .nav button:hover {
      color: var(--accent-2);
      background: var(--accent-soft);
    }

    .nav-ico {
      width: 22px;
      height: 22px;
      border-radius: 4px;
      display: inline-grid;
      place-items: center;
      background: #f1f1ee;
      color: #777771;
      font-size: 11px;
      font-weight: 800;
      flex: 0 0 auto;
    }

    .nav button.active .nav-ico,
    .nav button:hover .nav-ico {
      color: #ffffff;
      background: var(--accent);
    }

    .side-note {
      display: none;
      margin-top: 24px;
      padding: 14px;
      border-radius: 6px;
      background: #f7f7f7;
      border: 1px solid var(--line);
      color: #666666;
      font-size: 12px;
      line-height: 1.6;
    }

    .main {
      width: min(1180px, calc(100% - 48px));
      margin: 0 auto;
      padding: 0 0 84px;
      min-width: 0;
    }

    body.admin .main {
      padding-top: 42px;
    }

    .topbar {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      margin-bottom: 24px;
    }

    .title h1 {
      margin: 0;
      font-size: 34px;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .title p {
      margin: 8px 0 0;
      color: var(--muted);
      font-size: 14px;
      max-width: 520px;
    }

    body:not(.admin) .topbar {
      display: none;
    }

    body:not(.admin) .public-list {
      background: transparent;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      overflow: visible;
    }

    body:not(.admin) .public-list .panel-head {
      display: none;
    }

    body:not(.admin) .event-card .status {
      min-height: 30px;
      padding: 0 11px;
      border-color: #111111;
      background: #ffffff;
      color: #111111;
      font-size: 13px;
    }

    .primary-btn, .ghost-btn, .icon-btn {
      min-height: 38px;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0 14px;
      white-space: nowrap;
    }

    .primary-btn {
      background: var(--brand);
      color: #fff;
      box-shadow: none;
    }

    .primary-btn:hover {
      background: var(--accent);
      box-shadow: 0 8px 18px var(--accent-shadow);
    }

    .primary-btn:focus-visible,
    .ghost-btn:focus-visible,
    .icon-btn:focus-visible {
      outline: 3px solid var(--accent-line);
      outline-offset: 2px;
    }

    .ghost-btn {
      background: #fff;
      color: var(--ink);
      border: 1px solid var(--line);
    }

    .ghost-btn:hover,
    .icon-btn:hover {
      background: var(--accent-soft);
      border-color: var(--accent-line);
      color: var(--accent-2);
    }

    .icon-btn {
      width: 38px;
      padding: 0;
      background: #fff;
      border: 1px solid var(--line);
      color: var(--ink);
    }

    .danger-btn {
      color: #111111;
    }

    .metrics {
      display: none;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin-bottom: 12px;
    }

    .metric {
      background: transparent;
      border: 0;
      border-radius: 6px;
      padding: 8px 0;
      position: relative;
      overflow: hidden;
    }

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

    .metric strong {
      display: block;
      font-size: 19px;
      margin-top: 6px;
      font-weight: 650;
    }

    .toolbar {
      background: transparent;
      border: 0;
      border-radius: 0;
      padding: 0;
      display: grid;
      grid-template-columns: 1fr 160px 160px;
      gap: 10px;
      margin-bottom: 22px;
    }

    body:not(.admin) .toolbar {
      display: none !important;
    }

    body:not(.admin) .toolbar .field {
      flex: 0 0 180px;
    }

    body:not(.admin) .toolbar .field:first-child {
      flex: 1 1 360px;
      max-width: 560px;
    }

    .field {
      min-width: 0;
    }

    .field input, .field select, .field textarea {
      width: 100%;
      max-width: 100%;
      min-width: 0;
      border: 1px solid var(--line);
      background: #fff;
      min-height: 38px;
      border-radius: 6px;
      padding: 0 12px;
      color: var(--ink);
      outline: none;
    }

    body:not(.admin) .toolbar .field input,
    body:not(.admin) .toolbar .field select {
      min-height: 48px;
      border-radius: 999px;
      font-weight: 700;
      box-shadow: 0 5px 14px rgba(0, 0, 0, .05);
    }

    body:not(.admin) .toolbar .field select {
      text-align: center;
    }

    .field input:focus, .field select:focus, .field textarea:focus {
      border-color: #111111;
      box-shadow: none;
    }

    .field input[type="file"] {
      padding: 8px 10px;
      min-height: 42px;
    }

    .field textarea {
      padding: 10px 12px;
      min-height: 88px;
      resize: vertical;
    }

    .field label {
      display: block;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 6px;
    }

    .field-hint {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
      margin: -2px 0 8px;
    }

    .choice-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px 12px;
    }

    .choice-list.one-col {
      grid-template-columns: 1fr;
    }

    .choice-item {
      border: 1px solid var(--line);
      border-radius: 6px;
      min-height: 38px;
      padding: 8px 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      background: #fff;
      color: var(--ink);
      font-size: 13px;
      line-height: 1.35;
    }

    .choice-item input {
      width: 16px;
      height: 16px;
      min-height: 0;
      padding: 0;
      border-radius: 3px;
      flex: 0 0 auto;
      accent-color: #111111;
    }

    .signup-profile-details {
      grid-column: 1 / -1;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fafafa;
      overflow: hidden;
    }

    .signup-profile-details summary {
      min-height: 52px;
      padding: 10px 13px;
      display: grid;
      gap: 2px;
      align-content: center;
      cursor: pointer;
      list-style-position: inside;
    }

    .signup-profile-details summary span {
      font-size: 14px;
      font-weight: 750;
    }

    .signup-profile-details summary small {
      margin-left: 19px;
      color: var(--muted);
      font-size: 11.5px;
      font-weight: 500;
    }

    .signup-profile-details-body {
      padding: 12px;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      background: #fff;
    }

    .signup-profile-details-body #customSignupFields {
      display: contents;
    }

    #signupModal .field > label.is-required::after {
      content: " *";
      color: #c62828;
    }

    #signupModal .field > label.is-optional::after {
      content: " 选填";
      color: var(--muted);
      font-size: 11px;
      font-weight: 500;
    }

    #signupModal .field.has-error input,
    #signupModal .field.has-error select,
    #signupModal .field.has-error textarea,
    #signupModal .field.has-error .choice-item {
      border-color: #c62828;
    }

    .field-error {
      margin: 5px 0 0;
      color: #b42318;
      font-size: 12px;
      line-height: 1.4;
    }

    .signup-required-hint {
      grid-column: 1 / -1;
      margin: -2px 0 0;
      color: var(--muted);
      font-size: 11.5px;
      line-height: 1.4;
    }

    .signup-autofill-hint {
      margin: 5px 0 0;
      color: #245c3a;
      font-size: 11.5px;
      line-height: 1.4;
    }

    .content-grid {
      display: block;
      gap: 12px;
      align-items: start;
    }

    .panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
    }

    .panel-head {
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      background: #ffffff;
    }

    .panel-head h2 {
      margin: 0;
      font-size: 16px;
    }

    .panel-body {
      padding: 18px;
    }

    .event-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    body:not(.admin) .panel-body {
      padding: 0;
    }

    body:not(.admin) .event-list {
      grid-template-columns: repeat(2, minmax(300px, 560px));
      justify-content: start;
      gap: 24px;
    }

    .event-card {
      border: 1px solid rgba(0, 0, 0, .06);
      border-radius: 18px;
      padding: 0;
      background: #fff;
      display: grid;
      gap: 12px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
      transition: transform .18s ease, box-shadow .18s ease;
    }

    .event-cover-thumb { width: 100%; aspect-ratio: 16 / 6.2; object-fit: cover; border-radius: 0; background: #eeeeee; }
    body:not(.admin) .event-card {
      max-width: 560px;
      border: 0;
      border-radius: 18px;
      gap: 0;
      box-shadow: 0 12px 30px rgba(20, 24, 30, .08);
    }

    body:not(.admin) .event-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 38px rgba(20, 24, 30, .11);
    }

    body:not(.admin) .event-cover-thumb {
      aspect-ratio: 16 / 5.4;
    }

    body.admin .event-cover-thumb { display: none; }

    .event-status-stack {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      flex-wrap: wrap;
    }

    .pin-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      min-height: 24px;
      padding: 0 9px;
      border-radius: 999px;
      background: var(--accent);
      color: #ffffff;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
    }

    .pin-badge::before {
      content: "↑";
      font-size: 12px;
      line-height: 1;
    }

    .form-section-title { grid-column: 1 / -1; margin: 8px 0 -2px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }

    .pin-badge {
      background: var(--accent);
      box-shadow: 0 6px 14px var(--accent-shadow);
    }

    .pin-badge::before {
      content: "↑";
    }

    .event-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 38px rgba(0, 0, 0, .10);
    }

    .event-card.selected {
      border-color: #111111;
      box-shadow: none;
    }

    .event-card.featured {
      border-color: #111111;
      background: #fdfdfb;
    }

    .event-top {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      padding: 0 18px;
    }

    body:not(.admin) .event-top {
      padding: 18px 20px 0;
    }

    .event-title {
      margin: 0;
      font-size: 21px;
      line-height: 1.35;
    }

    body:not(.admin) .event-title {
      font-size: 20px;
      line-height: 1.35;
      letter-spacing: 0;
    }

    .event-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 7px 10px;
      color: var(--muted);
      font-size: 13px;
      margin-top: 8px;
    }

    .tag, .status {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      border-radius: 999px;
      padding: 0 8px;
      font-size: 12px;
      white-space: nowrap;
    }

    .tag {
      background: var(--accent-soft);
      color: var(--accent-2);
    }

    .status {
      border: 1px solid var(--line);
      background: #f7f7f5;
      color: #333;
    }

    .status.passed, .status.open { color: var(--accent-2); background: var(--accent-soft); border-color: var(--accent-line); }
    .status.waiting, .status.review, .status.candidate { color: #7a3a00; background: #fff8ef; border-color: #f0d3b6; }
    .status.rejected, .status.closed, .status.cancelled { color: #666666; background: #f7f7f7; border-color: #d4d4d4; }
    .status.draft { color: #555555; background: #f5f5f5; border-color: #cccccc; }
    .status.user-draft { color: #6f4200; background: #fff8ea; border-color: #e8c06e; }

    .action-menu { position: relative; }
    .action-menu summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 6px; min-height: 36px; padding: 8px 11px; font-size: 13px; font-weight: 600; background: #fff; }
    .action-menu summary::-webkit-details-marker { display: none; }
    .action-menu[open] summary { border-color: var(--brand); color: var(--brand-2); }
    .action-menu-popover { position: absolute; right: 0; top: 42px; z-index: 20; min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 36px rgba(16,24,40,.14); display: grid; gap: 2px; }
    .action-menu-popover button { width: 100%; text-align: left; background: transparent; padding: 9px 10px; border-radius: 5px; color: var(--ink); font-size: 13px; }
    .action-menu-popover button:hover { background: #f2f2f2; }
    .action-menu-popover .danger-btn { color: var(--bad); }

    .status.open,
    .status.review,
    .status.closed,
    .status.passed,
    .status.waiting {
      background: #f7f7f5;
      color: #333;
    }

    .progress {
      height: 7px;
      background: #eeeeec;
      border-radius: 999px;
      overflow: hidden;
    }

    .progress i {
      display: block;
      height: 100%;
      background: #111111;
      border-radius: inherit;
    }

    .event-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      align-items: center;
    }

    .event-progress-block {
      padding: 0 18px;
    }

    body:not(.admin) .event-progress-block {
      padding: 12px 20px 0;
    }

    .event-card-meta-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      color: var(--muted);
    }

    .event-card-cta {
      padding: 0 18px 18px;
    }

    body:not(.admin) .event-card-cta {
      padding: 16px 20px 20px;
    }

    .event-actions .primary-btn {
      min-width: 112px;
    }

    .event-card-open-hint,
    .event-card-unavailable {
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .event-card-unavailable {
      padding: 8px 12px;
      border-radius: 999px;
      background: #f2f2f0;
      color: #777;
    }

    .admin-actions {
      display: none;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    body.admin .admin-actions {
      display: flex;
    }

    .event-admin-ops {
      display: grid;
      gap: 10px;
      margin: 0 18px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fbfbf9;
    }

    .event-admin-ops-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .event-admin-ops-grid div {
      display: grid;
      gap: 2px;
      min-width: 0;
      padding: 9px 8px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #ffffff;
    }

    .event-admin-ops-grid strong {
      color: var(--ink);
      font-size: 18px;
      line-height: 1.05;
    }

    .event-admin-ops-grid span,
    .event-admin-ops p {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.4;
    }

    .event-admin-ops p {
      margin: 0;
    }

    .user-draft-notice {
      margin: 0;
      padding: 8px 10px;
      border: 1px solid #ead7a4;
      border-left: 3px solid #ff9f0a;
      border-radius: 6px;
      background: #fffaf0;
      color: #6f4200;
      font-size: 12px;
      line-height: 1.5;
      font-weight: 700;
    }

    .user-draft-admin-section {
      border-color: #ead7a4;
      background: #fffdf6;
    }

    .event-admin-next-actions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .event-card.closed {
      opacity: .62;
    }

    .public-detail {
      display: none;
    }

    body.detail-mode:not(.admin) .public-list {
      display: none;
    }

    body.detail-mode:not(.admin) .public-detail {
      display: block;
    }

    .public-detail-content {
      width: min(100%, 680px);
      margin: 0 auto;
    }

    .public-detail-topbar {
      display: none;
    }

    .detail-organizer-card,
    .detail-quick-card,
    .detail-tabs,
    .detail-summary-card {
      display: none;
    }

    body.detail-mode:not(.admin) .toolbar {
      display: none;
    }

    body.detail-mode:not(.admin) .public-filter-pills {
      display: none;
    }

    .cover-frame {
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      background: #f2f2ef;
      margin-bottom: 14px;
    }

    .detail-cover-carousel {
      position: relative;
      --carousel-hint-height: 38px;
      --carousel-nav-size: 34px;
    }

    .cover-frame img {
      width: 100%;
      height: auto;
      max-height: 72vh;
      object-fit: contain;
      background: #f2f2ef;
    }

    .carousel-nav {
      position: absolute;
      top: calc((100% - var(--carousel-hint-height)) / 2);
      z-index: 3;
      width: var(--carousel-nav-size);
      height: var(--carousel-nav-size);
      border: 1px solid rgba(17, 17, 17, .08);
      border-radius: 999px;
      background: rgba(255, 255, 255, .62);
      color: rgba(17, 17, 17, .72);
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transform: translateY(-50%);
      box-shadow: 0 8px 18px rgba(17, 17, 17, .1);
      backdrop-filter: blur(8px);
      transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
    }

    .carousel-nav::after {
      display: none;
    }

    .carousel-nav-svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .carousel-nav:hover,
    .carousel-nav:focus-visible {
      border-color: rgba(17, 17, 17, .14);
      background: rgba(255, 255, 255, .88);
      color: #111111;
      box-shadow: 0 10px 22px rgba(17, 17, 17, .12);
      transform: translateY(-50%) scale(1.03);
      outline: none;
    }

    .carousel-nav:active {
      transform: translateY(-50%) scale(.98);
    }

    .carousel-nav-prev {
      left: 8px;
    }

    .carousel-nav-next {
      right: 8px;
    }

    .detail-cover-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .detail-cover-track::-webkit-scrollbar {
      display: none;
    }

    .detail-cover-slide {
      min-width: 100%;
      margin: 0;
      position: relative;
      scroll-snap-align: center;
      background: #f2f2ef;
    }

    .detail-cover-slide figcaption {
      position: absolute;
      right: 10px;
      bottom: 10px;
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      border-radius: 999px;
      background: rgba(17, 17, 17, .66);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
    }

    .detail-cover-hint {
      padding: 8px 10px 9px;
      color: var(--muted);
      font-size: 12px;
      text-align: center;
      background: #fff;
      border-top: 1px solid rgba(0, 0, 0, .04);
    }

    .detail-gallery {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .detail-album-stack {
      grid-template-columns: 1fr;
    }

    .detail-gallery img {
      width: 100%;
      height: auto;
      max-height: 560px;
      object-fit: contain;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f2f2ef;
    }

    .detail-gallery img:only-child {
      grid-column: 1 / -1;
      justify-self: center;
      width: min(100%, 560px);
    }

    .upload-preview {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 8px;
    }

    .upload-preview img {
      width: 72px;
      height: 54px;
      object-fit: contain;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f2f2ef;
    }

    .detail-title {
      margin: 10px 0 8px;
      font-size: 28px;
      line-height: 1.25;
    }

    .detail-hero {
      margin-top: 16px;
      padding: 0 0 18px;
      border-bottom: 1px solid var(--line);
      background: transparent;
    }

    .detail-hero-tags {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .detail-status-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0 14px;
    }

    .detail-status-strip span {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: #333;
      font-size: 12px;
      font-weight: 650;
      white-space: nowrap;
    }

    .detail-subtitle {
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
    }

    .detail-info-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      border: 1px solid var(--line);
      border-radius: 10px;
      overflow: hidden;
      background: #ffffff;
    }

    .detail-info-grid div {
      min-width: 0;
      padding: 12px 14px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .detail-info-grid div:nth-child(2n) {
      border-right: 0;
    }

    .detail-info-grid div:nth-last-child(-n + 2) {
      border-bottom: 0;
    }

    .detail-info-grid span {
      display: block;
      margin-bottom: 4px;
      color: var(--muted);
      font-size: 12px;
    }

    .detail-info-grid strong {
      display: block;
      overflow-wrap: anywhere;
      font-size: 14px;
      line-height: 1.4;
    }

    .detail-notice {
      display: grid;
      gap: 5px;
      margin: 14px 0 0;
      padding: 12px 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fbfbfb;
    }

    .detail-notice strong {
      font-size: 14px;
    }

    .detail-notice span {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .detail-copy {
      color: var(--muted);
      line-height: 1.85;
      font-size: 14px;
      white-space: pre-line;
    }

    .detail-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 18px;
      padding-bottom: 24px;
    }

    .detail-secondary-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    #detailPanel,
    .admin-only {
      display: none !important;
    }

    body.admin .main {
      width: min(1240px, calc(100% - 40px));
      padding-top: 24px;
    }

    body.admin .admin-only:not([hidden]) {
      display: block !important;
    }

    body.admin .topbar .admin-only:not([hidden]) {
      display: flex !important;
      gap: 8px;
    }

    body.admin .metrics {
      display: grid;
    }

    body.admin .content-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
    }

    body.admin .event-list {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    body.admin .event-card {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 18px;
      box-shadow: none;
      overflow: visible;
    }

    body.admin .event-card:hover {
      transform: none;
      box-shadow: none;
      border-color: #111111;
    }

    body.admin .event-top,
    body.admin .event-progress-block,
    body.admin .event-card-cta {
      padding: 0;
    }

    body.admin .event-card-meta-row {
      justify-content: flex-end;
    }

    body.admin.admin-detail-open .content-grid {
      grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    }

    body.admin.admin-detail-open #detailPanel {
      display: block !important;
    }

    body.admin .event-card > .event-actions:has([data-signup]) {
      display: none;
    }

    body.admin .public-copy {
      display: none;
    }

    body.admin .admin-copy {
      display: block !important;
    }

    .public-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 18px 0 12px;
      padding-bottom: 14px;
      border-bottom: 0;
    }

    .public-brand-logo {
      display: block;
      width: 164px;
      height: auto;
      object-fit: contain;
    }

    .admin-copy {
      display: none;
    }

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

    .detail-hero {
      padding: 16px;
      border-bottom: 1px solid var(--line);
      background: #ffffff;
    }

    .detail-hero h2 {
      margin: 8px 0;
      font-size: 20px;
      line-height: 1.25;
    }

    .detail-section {
      padding: 16px;
      border-bottom: 1px solid var(--line);
    }

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

    .detail-section h3 {
      margin: 0 0 10px;
      font-size: 14px;
    }

    .insight-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      padding: 14px;
    }

    .insight-item {
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      padding: 12px;
      min-height: 86px;
    }

    .insight-item span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 8px;
    }

    .insight-item strong {
      display: block;
      font-size: 15px;
      line-height: 1.4;
    }

    .chip-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .profile-chip {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 0 10px;
      color: #333;
      background: #fff;
      font-size: 12px;
    }

    .signup-profile-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin: 10px 0 12px;
    }

    .signup-profile-tags.compact {
      margin: 0;
    }

    .signup-profile-tags span {
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 0 8px;
      border-radius: 999px;
      background: #f1f2f4;
      color: #565b64;
      font-size: 11px;
      white-space: nowrap;
    }

    .match-suggestion-list {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .admin-match-list {
      margin-top: 0;
    }

    .match-suggestion-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }

    .match-suggestion-card span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 5px;
    }

    .match-suggestion-card strong {
      display: block;
      font-size: 14px;
      line-height: 1.45;
    }

    .match-suggestion-card p {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
    }

    .match-suggestion-card em {
      min-width: 44px;
      font-style: normal;
      font-size: 12px;
      font-weight: 700;
      text-align: center;
      border: 1px solid #111;
      border-radius: 999px;
      padding: 5px 8px;
    }

    .demand-form {
      display: grid;
      gap: 14px;
      margin-top: 16px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }

    .admin-work-list {
      display: grid;
      gap: 12px;
      padding: 14px;
      border-top: 1px solid var(--line);
    }

    .admin-work-card {
      display: grid;
      gap: 14px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }

    .ideal-admin-card {
      grid-template-columns: 132px minmax(0, 1fr);
      align-items: start;
    }

    .ideal-admin-card > img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      border-radius: 14px;
      background: #f2f2ef;
    }

    .ideal-admin-card h3 {
      margin: 8px 0 6px;
      font-size: 18px;
      letter-spacing: -.02em;
    }

    .ideal-admin-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
    }

    .ideal-admin-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .admin-work-main {
      display: grid;
      gap: 8px;
      min-width: 0;
    }

    .admin-work-title {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      min-width: 0;
    }

    .admin-work-title strong {
      font-size: 16px;
      line-height: 1.35;
    }

    .admin-work-main p {
      margin: 0;
      color: #333333;
      line-height: 1.65;
      word-break: break-word;
    }

    .admin-work-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 12px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .demand-priority {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 0 9px;
      border-radius: 999px;
      background: #f2f2f2;
      color: #555;
      font-size: 12px;
      font-weight: 800;
    }

    .demand-priority.high {
      background: #111;
      color: #fff;
    }

    .demand-priority.medium {
      border: 1px solid #111;
      background: #fff;
      color: #111;
    }

    .demand-next-action {
      padding: 10px 12px;
      border: 1px dashed var(--line);
      border-radius: 10px;
      background: #fafafa;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .admin-work-controls {
      display: grid;
      grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }

    .admin-work-controls select,
    .admin-work-controls textarea,
    .admin-work-controls button {
      min-height: 40px;
    }

    .admin-work-controls textarea {
      resize: vertical;
      min-height: 40px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      font: inherit;
      line-height: 1.45;
    }

    .admin-work-controls > button {
      grid-column: 1 / -1;
      justify-self: start;
    }

    .demand-detail-modal {
      max-width: min(960px, calc(100vw - 24px));
    }

    .demand-detail-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 14px;
    }

    .demand-detail-block {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      min-width: 0;
    }

    .demand-detail-block h3 {
      margin: 0;
      font-size: 15px;
    }

    .demand-detail-desc {
      margin: 0;
      color: #333;
      line-height: 1.65;
      overflow-wrap: anywhere;
    }

    .demand-detail-facts {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
    }

    .demand-detail-facts div {
      display: grid;
      gap: 4px;
      padding: 10px 12px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      min-width: 0;
    }

    .demand-detail-facts span,
    .demand-timeline time,
    .demand-match-records small {
      color: var(--muted);
      font-size: 12px;
    }

    .demand-detail-facts strong {
      font-size: 13px;
      overflow-wrap: anywhere;
    }

    .demand-detail-controls {
      grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    }

    .demand-match-records,
    .demand-timeline {
      display: grid;
      gap: 10px;
    }

    .demand-match-records article,
    .demand-timeline-item {
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8f8f6;
    }

    .demand-match-records article div {
      display: flex;
      justify-content: space-between;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
    }

    .demand-match-records p,
    .demand-timeline p {
      margin: 6px 0 0;
      color: #555;
      font-size: 12px;
      line-height: 1.55;
      overflow-wrap: anywhere;
    }

    .demand-timeline-item {
      position: relative;
      padding-left: 18px;
    }

    .demand-timeline-item::before {
      content: "";
      position: absolute;
      left: 8px;
      top: 18px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #111;
    }

    .match-candidate-list {
      display: grid;
      gap: 8px;
    }

    .match-candidate-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #f8f8f6;
    }

    .match-candidate-card strong {
      display: block;
      margin-bottom: 4px;
      font-size: 14px;
    }

    .match-candidate-head {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 4px;
      min-width: 0;
    }

    .match-candidate-head strong {
      margin-bottom: 0;
    }

    .match-candidate-card p,
    .match-candidate-card span {
      display: block;
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .match-candidate-actions {
      display: grid;
      gap: 8px;
      justify-items: end;
    }

    .match-note-input {
      width: 100%;
      min-height: 58px;
      margin-top: 10px;
      padding: 9px 10px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      font: inherit;
      font-size: 12px;
      line-height: 1.45;
      resize: vertical;
    }

    .match-quick-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 8px;
    }

    .match-quick-actions .ghost-btn {
      min-height: 32px;
      padding: 0 10px;
      font-size: 12px;
    }

    .match-candidate-actions em {
      font-style: normal;
      font-weight: 800;
      color: #111111;
    }

    .supplier-form {
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: #fbfbfa;
    }

    .agenda {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .agenda li {
      display: grid;
      grid-template-columns: 72px 1fr;
      gap: 10px;
      font-size: 13px;
      color: #444444;
    }

    .agenda time {
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }

    .people-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }

    .people-table th,
    .people-table td {
      text-align: left;
      padding: 11px 10px;
      border-bottom: 1px solid var(--line);
      vertical-align: middle;
    }

    .people-table th {
      color: var(--muted);
      font-weight: 600;
      background: #f7f7f5;
      position: sticky;
      top: 0;
      z-index: 2;
    }

    .table-wrap {
      overflow: auto;
    }

    .signup-card-list {
      display: none;
    }

    .signup-card {
      padding: 14px;
      border-bottom: 1px solid var(--line);
      background: #fff;
    }

    .signup-card-head,
    .signup-card-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .signup-card-select {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .signup-card-select span,
    .signup-card-select strong,
    .signup-card-select small {
      display: block;
    }

    .signup-card-select small {
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
    }

    .signup-card-meta {
      display: grid;
      gap: 5px;
      margin: 12px 0;
      color: #555;
      font-size: 13px;
      line-height: 1.5;
    }

    .signup-card-actions {
      justify-content: flex-start;
      flex-wrap: wrap;
    }

    .registration-credential {
      margin: 0 0 14px;
      border: 1px solid #111111;
      border-radius: 10px;
      background: #ffffff;
      overflow: hidden;
    }

    .registration-credential.compact {
      margin-top: 14px;
    }

    .credential-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 14px;
      border-bottom: 1px solid var(--line);
      background: #fbfbfb;
    }

    .credential-head strong {
      display: block;
      margin-top: 4px;
      font-size: 15px;
      line-height: 1.35;
    }

    .credential-label {
      display: inline-flex;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .credential-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      border-bottom: 1px solid var(--line);
    }

    .credential-grid div {
      min-width: 0;
      padding: 12px 14px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .credential-grid div:nth-child(2n) {
      border-right: 0;
    }

    .credential-grid div:nth-last-child(-n + 2) {
      border-bottom: 0;
    }

    .credential-grid span {
      display: block;
      margin-bottom: 4px;
      color: var(--muted);
      font-size: 12px;
    }

    .credential-grid strong {
      display: block;
      overflow-wrap: anywhere;
      font-size: 14px;
      line-height: 1.35;
    }

    .registration-credential p {
      margin: 0;
      padding: 12px 14px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.7;
    }

    .registration-helper-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 16px;
    }

    .success-modal {
      width: min(520px, 100%);
    }

    .success-modal .modal-body > p {
      margin: 0 0 12px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.7;
    }

    #successModal .credential-card[hidden],
    #successModal .compact-actions,
    #successRecommendations:empty {
      display: none;
    }

    .success-brief {
      display: grid;
      gap: 10px;
      margin: 8px 0 0;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fafafa;
    }

    .success-brief-status,
    .success-brief-row {
      display: grid;
      grid-template-columns: 76px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      min-width: 0;
    }

    .success-brief-status span,
    .success-brief-row span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
      line-height: 1.6;
    }

    .success-brief-status strong,
    .success-brief-row strong {
      min-width: 0;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }

    .success-brief-status strong {
      color: var(--accent-2);
    }

    .success-brief p {
      margin: 4px 0 0;
      padding-top: 10px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .success-next-steps {
      display: grid;
      gap: 12px;
      margin: 12px 0 0;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fafafa;
    }

    .success-meta-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
      line-height: 1.45;
    }

    .success-meta-row span {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .success-next-steps ol {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
      counter-reset: success-step;
    }

    .success-next-steps li {
      display: grid;
      grid-template-columns: 24px minmax(0, 1fr);
      column-gap: 10px;
      row-gap: 2px;
      align-items: start;
      counter-increment: success-step;
    }

    .success-next-steps li::before {
      content: counter(success-step);
      display: grid;
      place-items: center;
      width: 24px;
      height: 24px;
      border-radius: 999px;
      background: #111111;
      color: #ffffff;
      font-size: 12px;
      font-weight: 800;
      line-height: 1;
    }

    .success-next-steps strong {
      font-size: 14px;
      line-height: 1.35;
    }

    .success-next-steps li span {
      grid-column: 2;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .success-primary-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 14px;
    }

    .success-primary-actions button {
      min-height: 42px;
    }

    .success-section-title {
      margin: 14px 0 8px;
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }

    .success-recommend-list {
      display: grid;
      gap: 8px;
    }

    .success-recommend-list button {
      display: grid;
      gap: 4px;
      width: 100%;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 9px;
      background: #ffffff;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
    }

    .success-recommend-list button:hover {
      border-color: #111111;
    }

    .success-recommend-list strong {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 14px;
    }

    .success-recommend-list span,
    .success-recommend-empty {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .signup-tools {
      display: grid;
      grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 0.7fr)) auto;
      gap: 8px;
      padding: 12px;
      border-bottom: 1px solid var(--line);
      background: #fafafa;
    }

    .signup-tools input,
    .signup-tools select {
      width: 100%;
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 0 10px;
      background: #fff;
      color: var(--ink);
    }

    .signup-summary {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      border-bottom: 1px solid var(--line);
    }

    .signup-summary div {
      padding: 12px;
      border-right: 1px solid var(--line);
    }

    .signup-summary div:last-child {
      border-right: 0;
    }

    .signup-summary span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 5px;
    }

    .signup-summary strong {
      font-size: 18px;
      font-weight: 650;
    }

    .signup-review-board {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 10px;
      padding: 14px 16px 0;
    }

    .signup-review-card {
      display: grid;
      gap: 5px;
      min-width: 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #ffffff;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
      box-shadow: 0 8px 18px rgba(0, 0, 0, .04);
    }

    .signup-review-card:hover {
      border-color: #b8b8b0;
      transform: translateY(-1px);
    }

    .signup-review-card span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .signup-review-card strong {
      font-size: 28px;
      line-height: 1;
    }

    .signup-review-card small {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.35;
    }

    .custom-field-editor {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 12px;
      display: grid;
      gap: 10px;
      background: #fafafa;
    }

    .custom-field-editor-grid {
      display: grid;
      grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.7fr) auto auto;
      gap: 8px;
      align-items: center;
    }

    .custom-field-editor input,
    .custom-field-editor select,
    .custom-field-editor textarea {
      width: 100%;
      min-height: 38px;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 8px 10px;
      background: #fff;
    }

    .custom-field-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .checkin-toolbar {
      display: grid;
      grid-template-columns: minmax(200px, 1fr) minmax(240px, 1.4fr) minmax(140px, .7fr) auto;
      gap: 10px;
      padding: 14px;
      border-bottom: 1px solid var(--line);
      background: #fafafa;
    }

    .checkin-toolbar input,
    .checkin-toolbar select {
      width: 100%;
      min-height: 40px;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 0 11px;
      background: #fff;
    }

    .checkin-results {
      display: grid;
      gap: 8px;
      padding: 12px 14px 14px;
    }

    .checkin-person {
      display: grid;
      grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) auto;
      align-items: center;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px 12px;
    }

    .checkin-person strong,
    .checkin-person span {
      display: block;
    }

    .checkin-person span {
      color: var(--muted);
      font-size: 12px;
      margin-top: 3px;
    }

    .agenda-editor-list {
      display: grid;
      gap: 8px;
    }

    .agenda-editor-row {
      display: grid;
      grid-template-columns: 110px minmax(180px, 1fr) auto;
      gap: 8px;
      align-items: center;
    }

    .gallery-editor-list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 10px;
    }

    .gallery-editor-item {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 8px;
      background: #fff;
    }

    .gallery-editor-item img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: contain;
      display: block;
      background: #f7f7f5;
    }

    .gallery-editor-actions {
      display: flex;
      gap: 6px;
      margin-top: 8px;
      justify-content: center;
    }

    [hidden] { display: none !important; }

    .batch-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      padding: 10px 12px;
      border-bottom: 1px solid var(--line);
      background: #fff;
    }

    .batch-actions .small-muted {
      margin-right: auto;
    }

    .batch-more-menu {
      flex: 0 0 auto;
    }

    .pagination { display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 12px;border-top:1px solid var(--line); }

    body.staff-mode .sidebar,
    body.staff-mode .admin-badge,
    body.staff-mode .topbar,
    body.staff-mode [data-admin-section]:not([data-admin-section="checkin"]) {
      display: none !important;
    }

    body.staff-mode .main {
      width: min(100% - 24px, 980px);
      padding-top: 12px;
    }

    .checkin-feed {
      display: grid;
      gap: 6px;
      padding: 0 14px 14px;
    }

    .checkin-feed-item {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 8px 0;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }

    .review-report-summary {
      display: grid;
      grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
      gap: 12px;
      padding: 14px;
      border-bottom: 1px solid var(--line);
      background: #f7f7f6;
    }

    .review-report-hero {
      display: grid;
      gap: 8px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #111;
      color: #fff;
      align-content: start;
    }

    .review-report-hero span {
      color: rgba(255,255,255,.62);
      font-size: 12px;
      font-weight: 650;
    }

    .review-report-hero strong {
      font-size: 22px;
      line-height: 1.25;
      letter-spacing: 0;
    }

    .review-report-hero p {
      margin: 0;
      color: rgba(255,255,255,.72);
      font-size: 13px;
    }

    .review-report-insights {
      display: grid;
      gap: 6px;
      margin-top: 4px;
    }

    .review-report-insights em {
      font-style: normal;
      color: rgba(255,255,255,.86);
      font-size: 13px;
      line-height: 1.55;
    }

    .review-metric-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .review-metric-grid .metric {
      min-height: 82px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      display: grid;
      gap: 8px;
      align-content: center;
    }

    .growth-loop-panel {
      display: grid;
      gap: 12px;
      padding: 14px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background:
        radial-gradient(circle at 0 0, rgba(255, 101, 0, .10), transparent 32%),
        #fff;
    }

    .growth-loop-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--accent-line);
      border-radius: 10px;
      background: var(--accent-soft);
    }

    .growth-loop-head > div {
      display: grid;
      gap: 5px;
      min-width: 0;
    }

    .growth-loop-head span {
      color: var(--accent-2);
      font-size: 11px;
      font-weight: 750;
      letter-spacing: .08em;
    }

    .growth-loop-head strong {
      font-size: 18px;
      line-height: 1.25;
    }

    .growth-loop-head p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .growth-loop-head .compact {
      min-width: 92px;
      min-height: 34px;
      background: #fff;
    }

    .growth-funnel {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 8px;
    }

    .growth-step {
      position: relative;
      display: grid;
      gap: 5px;
      min-width: 0;
      padding: 12px 10px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
    }

    .growth-step:not(:last-child)::after {
      content: "";
      position: absolute;
      right: -7px;
      top: 50%;
      width: 6px;
      height: 1px;
      background: var(--accent-line);
    }

    .growth-step span,
    .growth-side-grid span {
      color: var(--muted);
      font-size: 12px;
      font-weight: 650;
    }

    .growth-step strong,
    .growth-side-grid strong {
      color: var(--ink);
      font-size: 24px;
      line-height: 1;
    }

    .growth-step em {
      justify-self: start;
      padding: 3px 7px;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-2);
      font-size: 11px;
      font-style: normal;
      font-weight: 700;
    }

    .growth-step small,
    .growth-side-grid small,
    .growth-action small {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .growth-side-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .growth-side-grid > div {
      display: grid;
      gap: 5px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
    }

    .growth-action-list {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .growth-action {
      display: grid;
      gap: 5px;
      align-content: start;
      min-height: 86px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      color: var(--ink);
      text-align: left;
      cursor: pointer;
    }

    .growth-action:hover,
    .growth-action:focus-visible {
      border-color: var(--accent-line);
      box-shadow: 0 12px 28px var(--accent-shadow);
      outline: none;
    }

    .growth-action span {
      font-size: 14px;
      font-weight: 750;
    }

    .report-bars { display: grid; gap: 10px; }
    .report-bar { display: grid; grid-template-columns: minmax(90px, .8fr) 2fr 44px; gap: 10px; align-items: center; font-size: 13px; }
    .report-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .report-bar-track { height: 10px; background: #ececea; border-radius: 3px; overflow: hidden; }
    .report-bar-track i { display: block; height: 100%; background: #111; }
    .report-bar-track i.compare-pass { background: #444; }
    .report-bar-track i.compare-checkin { background: #888; }
    .review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; background: #f7f7f6; }
    .review-block { border-top: 1px solid var(--line); padding: 16px 14px; }
    .review-report-card {
      min-width: 0;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      overflow: hidden;
    }
    .review-card-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      padding: 14px 14px 10px;
      border-bottom: 1px solid var(--line);
    }
    .review-card-head h3 {
      margin: 0;
      font-size: 15px;
      line-height: 1.35;
    }
    .review-card-head span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 12px;
    }
    .review-card-body {
      display: grid;
      gap: 10px;
      padding: 14px;
      min-height: 184px;
    }
    .review-toolbar { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 14px 0; align-items: center; }
    .review-toolbar select { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; background: #fff; }
    .trend-chart { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 8px; align-items: end; min-height: 140px; padding-top: 8px; }
    .trend-bar { display: grid; gap: 6px; justify-items: center; font-size: 11px; color: var(--muted); }
    .trend-bar i { display: block; width: 100%; max-width: 36px; min-height: 4px; background: #111; border-radius: 3px 3px 0 0; }
    .compare-legend { display: flex; gap: 16px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
    .compare-legend span { display: inline-flex; align-items: center; gap: 6px; }
    .compare-legend i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
    .compare-legend i.pass { background: #444; }
    .compare-legend i.checkin { background: #888; }

    .people-table .person-main {
      display: grid;
      gap: 4px;
    }

    .people-table .person-main strong {
      font-size: 14px;
      font-weight: 650;
    }

    .people-table .person-main span {
      color: var(--muted);
      font-size: 12px;
    }

    .detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .detail-field {
      border: 1px solid var(--line);
      border-radius: 6px;
      padding: 10px;
      background: #fff;
      min-width: 0;
    }

    .detail-field.wide {
      grid-column: 1 / -1;
    }

    .detail-field span {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-bottom: 5px;
    }

    .detail-field strong {
      display: block;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.55;
      font-weight: 520;
      word-break: break-word;
    }

    .notification-layout {
      display: grid;
      grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
      gap: 20px;
      padding: 18px;
    }

    .notification-editor,
    .notification-history {
      min-width: 0;
    }

    .notification-editor {
      display: grid;
      gap: 14px;
      align-content: start;
    }

    .notification-preview {
      min-height: 120px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f7f7f7;
      color: #333;
      line-height: 1.75;
      white-space: pre-wrap;
    }

    .section-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }

    .section-heading h3 {
      margin: 0;
      font-size: 15px;
    }

    .notification-log-list {
      display: grid;
      gap: 8px;
    }

    .notification-log-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .notification-log-toolbar select {
      min-height: 36px;
      padding: 0 10px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #ffffff;
      font: inherit;
    }

    .notification-log-item {
      display: grid;
      gap: 8px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
    }

    .notification-log-item strong,
    .notification-log-item span {
      display: block;
    }

    .notification-log-item span {
      color: var(--muted);
      font-size: 12px;
    }

    .notification-log-item p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      white-space: pre-wrap;
      max-height: 5.8em;
      overflow: hidden;
    }

    .notification-log-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    .notification-log-actions .ghost-btn {
      min-height: 30px;
      padding: 0 10px;
      font-size: 12px;
    }

    .event-editor-toolbar {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 18px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f7f7f7;
    }

    .event-editor-toolbar .field {
      width: min(320px, 100%);
    }

    .event-draft-state {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      color: var(--muted);
      font-size: 12px;
      text-align: right;
    }

    .publish-check {
      margin-top: 16px;
      padding: 14px;
      border: 1px solid #111;
      border-radius: 6px;
      background: #f7f7f7;
    }

    .publish-check strong {
      display: block;
      margin-bottom: 8px;
    }

    .publish-check ul {
      margin: 0;
      padding-left: 20px;
      color: #444;
      line-height: 1.8;
      font-size: 13px;
    }

    .registration-summary {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
    }

    .registration-status {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #f7f7f7;
      margin-bottom: 14px;
    }

    .registration-status h3,
    .registration-status p {
      margin: 0;
    }

    .registration-status p {
      margin-top: 5px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.6;
    }

    .empty {
      text-align: center;
      color: var(--muted);
      padding: 28px 10px;
      font-size: 13px;
    }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .36);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      z-index: 90;
    }

    .modal-backdrop.show {
      display: flex;
    }

    .modal {
      width: min(720px, 100%);
      max-width: 100%;
      max-height: 92vh;
      overflow: auto;
      overflow-x: hidden;
      background: #fff;
      border-radius: 8px;
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
    }

    .modal.signup-drawer {
      width: min(720px, 100%);
    }

    .image-preview-modal {
      width: min(420px, 100%);
      border-radius: 22px;
    }

    .image-preview-modal .modal-body {
      display: grid;
      gap: 12px;
      padding: 16px;
    }

    .image-preview-modal img {
      width: 100%;
      max-height: 68dvh;
      object-fit: contain;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: #f6f6f3;
      -webkit-touch-callout: default;
      user-select: auto;
    }

    .modal-head {
      padding: 16px 18px;
      border-bottom: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
    }

    .modal-head h2 {
      margin: 0;
      font-size: 18px;
    }

    .modal-subtitle {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .modal-body {
      padding: 18px;
      min-width: 0;
      overflow-x: hidden;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      min-width: 0;
    }

    .form-grid .wide {
      grid-column: 1 / -1;
    }

    .event-form-section-title {
      grid-column: 1 / -1;
      margin: 4px 0 -4px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      color: var(--text);
      font-size: 14px;
      font-weight: 850;
      letter-spacing: -0.01em;
    }

    .event-publish-checklist {
      display: grid;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fafafa;
    }

    .publish-check-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-size: 14px;
    }

    .publish-check-head span,
    .publish-check-item small {
      color: var(--muted);
      font-size: 12px;
    }

    .publish-check-items {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .publish-check-item {
      display: flex;
      gap: 8px;
      min-width: 0;
      padding: 9px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
    }

    .publish-check-item > span {
      width: 20px;
      height: 20px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border-radius: 999px;
      background: #111111;
      color: #ffffff;
      font-size: 12px;
      font-weight: 850;
    }

    .publish-check-item.todo > span {
      background: #f5f5f5;
      color: #777777;
    }

    .publish-check-item strong,
    .publish-check-item small {
      display: block;
      line-height: 1.35;
    }

    .publish-check-warning,
    .publish-check-ready {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      margin-top: 16px;
    }

    .my-center-head {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 2px 0 16px;
      border-bottom: 1px solid var(--line);
    }

    .my-avatar {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-radius: 12px;
      background: #111111;
      color: #ffffff;
      font-size: 14px;
      font-weight: 850;
      flex: 0 0 auto;
    }

    .my-avatar img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      grid-area: 1 / 1;
    }

    .my-avatar span {
      grid-area: 1 / 1;
    }

    .my-center-head h3 {
      margin: 0;
      font-size: 17px;
      line-height: 1.25;
    }

    .my-center-head p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .my-action-list {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .my-action-list button {
      width: 100%;
      display: grid;
      grid-template-columns: 36px minmax(0, 1fr);
      gap: 10px;
      align-items: center;
      min-height: 64px;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 10px 12px;
      background: #ffffff;
      color: var(--ink);
      text-align: left;
    }

    .my-action-list button:hover {
      border-color: #bdbdbd;
      background: #f8f8f8;
    }

    .my-action-ico {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 9px;
      background: #f1f2f4;
      color: #111111;
      font-size: 15px;
      font-weight: 850;
    }

    .my-action-ico svg {
      width: 19px;
      height: 19px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .my-action-list strong,
    .my-action-list small {
      display: block;
    }

    .my-action-list strong {
      font-size: 14px;
      line-height: 1.35;
    }

    .my-action-list small {
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .my-registration-section {
      margin-top: 16px;
      padding-bottom: 6px;
      border-bottom: 1px solid var(--line);
    }

    .my-profile-section {
      margin-top: 16px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

    .my-profile-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .my-profile-grid label {
      display: grid;
      gap: 6px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 750;
    }

    .my-profile-grid .wide {
      grid-column: 1 / -1;
    }

    .my-profile-grid input,
    .my-profile-grid textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 10px 11px;
      background: #ffffff;
      color: var(--ink);
      font: inherit;
      font-size: 13px;
      resize: vertical;
    }

    .my-portfolio-list {
      display: grid;
      gap: 10px;
    }

    .my-portfolio-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
    }

    .my-portfolio-card strong,
    .my-portfolio-card span,
    .my-portfolio-card a {
      display: block;
    }

    .my-portfolio-card strong {
      font-size: 14px;
      line-height: 1.35;
    }

    .my-portfolio-card span,
    .my-portfolio-card a {
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .my-portfolio-card a {
      color: var(--ink);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .my-section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }

    .my-section-head h3 {
      margin: 0;
      font-size: 16px;
      line-height: 1.25;
    }

    .my-section-head .ghost-btn {
      min-height: 32px;
      padding: 0 10px;
      font-size: 13px;
    }

    .my-registration-list {
      display: grid;
      gap: 10px;
    }

    .my-registration-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .my-registration-summary button {
      display: grid;
      gap: 3px;
      min-height: 74px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: inherit;
      text-align: left;
      cursor: pointer;
      font: inherit;
      transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
    }

    .my-registration-summary button.active {
      border-color: #111;
      background: #111111;
      color: #ffffff;
      box-shadow: 0 8px 20px rgba(17, 17, 17, .08);
    }

    .my-registration-summary strong {
      font-size: 24px;
      line-height: 1;
    }

    .my-registration-summary span {
      color: var(--muted);
      font-size: 12px;
    }

    .my-registration-summary button.active span {
      color: rgba(255, 255, 255, .72);
    }

    .my-registration-summary small,
    .my-registration-group-head small {
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
      line-height: 1;
    }

    .my-registration-summary button.active small {
      color: rgba(255, 255, 255, .66);
    }

    .my-empty {
      display: grid;
      gap: 8px;
      padding: 14px;
      border: 1px dashed var(--line);
      border-radius: 12px;
      background: #fafafa;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .my-empty.compact {
      padding: 12px;
    }

    .my-empty strong {
      color: var(--ink);
      font-size: 14px;
    }

    .my-empty .ghost-btn,
    .my-empty .primary-btn {
      justify-self: start;
      margin-top: 2px;
    }

    .my-empty-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 2px;
    }

    .my-registration-card {
      display: grid;
      gap: 10px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
    }

    .my-registration-group {
      display: grid;
      gap: 10px;
    }

    .my-registration-group + .my-registration-group {
      padding-top: 4px;
    }

    .my-registration-group-head {
      display: block;
    }

    .my-registration-group-head button {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f7f7f5;
      color: inherit;
      text-align: left;
      font: inherit;
      cursor: pointer;
      transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
    }

    .my-registration-group-head div {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .my-registration-group-head strong {
      font-size: 14px;
      line-height: 1.25;
    }

    .my-registration-group-head span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .my-registration-group-head em {
      display: grid;
      place-items: center;
      min-width: 28px;
      height: 28px;
      border-radius: 999px;
      background: #111111;
      color: #ffffff;
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
    }

    .my-registration-group-head small {
      flex: 0 0 auto;
    }

    .my-registration-main {
      display: grid;
      gap: 5px;
    }

    .my-registration-main .status {
      justify-self: start;
    }

    .my-registration-main h4 {
      margin: 0;
      font-size: 15px;
      line-height: 1.35;
    }

    .my-registration-main p,
    .my-registration-meta,
    .my-reminder span {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .my-registration-meta {
      display: grid;
      gap: 3px;
    }

    .my-registration-meta span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .my-reminder {
      display: grid;
      gap: 4px;
      padding: 10px;
      border-radius: 10px;
      background: #f7f7f5;
    }

    .my-reminder strong {
      font-size: 13px;
      line-height: 1.45;
    }

    .my-registration-next {
      border: 1px solid #ececea;
    }

    .my-registration-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .my-registration-actions .ghost-btn {
      min-height: 32px;
      padding: 0 10px;
      font-size: 13px;
    }

    .my-registration-actions .primary-btn {
      min-height: 32px;
      padding: 0 12px;
      font-size: 13px;
    }

    .my-registration-more {
      flex: 0 0 auto;
      min-width: 0;
    }

    .my-registration-more summary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #ffffff;
      color: var(--ink);
      cursor: pointer;
      font-size: 13px;
      font-weight: 750;
      list-style: none;
    }

    .my-registration-more summary::-webkit-details-marker {
      display: none;
    }

    .my-registration-more[open] > div {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      width: 100%;
      margin-top: 8px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #ffffff;
      box-shadow: 0 8px 24px rgba(17, 17, 17, 0.1);
    }

    .my-registration-more[open] {
      flex-basis: 100%;
    }

    .my-registration-more:not([open]) > div {
      display: none;
    }

    .public-notification-card.unread {
      position: relative;
      border-color: var(--accent-line);
      background: #fffef8;
    }

    .public-notification-card.unread::after {
      content: "";
      position: absolute;
      top: 12px;
      right: 12px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
    }

    [data-public-nav="notifications"] {
      position: relative;
    }

    [data-public-nav="notifications"][data-unread]:not([data-unread="0"])::after {
      content: attr(data-unread);
      position: absolute;
      top: 5px;
      left: calc(50% + 8px);
      display: grid;
      place-items: center;
      min-width: 17px;
      height: 17px;
      padding: 0 4px;
      border: 2px solid #ffffff;
      border-radius: 999px;
      background: #111111;
      color: #ffffff;
      font-size: 9px;
      line-height: 1;
    }

    .my-account-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .my-registration-detail {
      display: grid;
      gap: 12px;
    }

    .my-ticket {
      position: relative;
      overflow: hidden;
      display: grid;
      gap: 14px;
      padding: 16px;
      border-radius: 18px;
      background: #111111;
      color: #ffffff;
      box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
    }

    .my-ticket::before,
    .my-ticket::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 22px;
      height: 22px;
      border-radius: 999px;
      background: #ffffff;
      transform: translateY(-50%);
    }

    .my-ticket::before {
      left: -11px;
    }

    .my-ticket::after {
      right: -11px;
    }

    .my-ticket-top,
    .my-ticket-main,
    .my-ticket-status {
      position: relative;
      z-index: 1;
    }

    .my-ticket-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: rgba(255, 255, 255, .68);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .my-ticket-top em {
      padding: 4px 8px;
      border: 1px solid rgba(255, 255, 255, .24);
      border-radius: 999px;
      color: #ffffff;
      font-style: normal;
      letter-spacing: 0;
    }

    .my-ticket-main {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 14px;
      align-items: end;
      padding-bottom: 14px;
      border-bottom: 1px dashed rgba(255, 255, 255, .28);
    }

    .my-ticket-main h3,
    .my-ticket-main p {
      margin: 0;
    }

    .my-ticket-main h3 {
      font-size: 20px;
      line-height: 1.3;
    }

    .my-ticket-main p {
      margin-top: 7px;
      color: rgba(255, 255, 255, .72);
      font-size: 13px;
      line-height: 1.5;
    }

    .my-ticket-code {
      display: grid;
      gap: 5px;
      justify-items: end;
      min-width: 104px;
    }

    .my-ticket-code span {
      color: rgba(255, 255, 255, .62);
      font-size: 11px;
    }

    .my-ticket-code code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 20px;
      font-weight: 900;
      letter-spacing: .07em;
      color: #ffffff;
    }

    .my-ticket-status {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .my-ticket-status .status {
      background: #ffffff;
      color: #111111;
      border: 1px solid rgba(255, 255, 255, .42);
    }

    .my-ticket-qr {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      padding: 12px;
      border-radius: 14px;
      background: rgba(255, 255, 255, .08);
    }

    .my-ticket-qr img {
      width: 112px;
      height: 112px;
      padding: 8px;
      border-radius: 12px;
      background: #ffffff;
    }

    .my-ticket-qr span {
      color: rgba(255, 255, 255, .74);
      font-size: 13px;
      line-height: 1.45;
    }

    .my-registration-detail-hero {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 14px;
      border-radius: 14px;
      background: #f7f7f5;
    }

    .my-registration-detail-hero h3,
    .my-registration-detail-hero p {
      width: 100%;
      margin: 0;
    }

    .my-registration-detail-hero h3 {
      font-size: 18px;
      line-height: 1.35;
    }

    .my-registration-detail-hero p {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .my-registration-detail-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .my-registration-detail-grid div {
      display: grid;
      gap: 5px;
      min-width: 0;
      padding: 11px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
    }

    .my-registration-detail-grid .wide {
      grid-column: 1 / -1;
    }

    .my-registration-detail-grid span,
    .my-registration-credential span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .my-registration-detail-grid strong {
      min-width: 0;
      font-size: 13px;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }

    .my-registration-credential {
      display: grid;
      gap: 6px;
      padding: 12px;
      border-radius: 12px;
      background: linear-gradient(135deg, #111 0%, #1d1a17 62%, #3a1a04 100%);
      color: #fff;
    }

    .my-registration-credential code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 18px;
      letter-spacing: .06em;
    }

    .detail-actions-inline {
      padding-top: 2px;
    }

    .organizer-entry-card {
      display: grid;
      grid-template-columns: 46px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #f7f7f5;
    }

    .notification-quick-actions {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }

    .notification-page-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .public-notification-body {
      display: grid;
      gap: 10px;
    }

    .public-notification-section {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #ffffff;
    }

    .public-notification-section summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 54px;
      padding: 12px 14px;
      color: var(--ink);
      cursor: pointer;
      list-style: none;
    }

    .public-notification-section summary::-webkit-details-marker {
      display: none;
    }

    .public-notification-section summary > span {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .public-notification-section summary strong {
      font-size: 16px;
      line-height: 1.25;
    }

    .public-notification-section summary small {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .public-notification-section summary em {
      flex: 0 0 auto;
      color: var(--muted);
      font-size: 12px;
      font-style: normal;
      font-weight: 800;
    }

    .public-notification-section summary em::before {
      content: "展开";
    }

    .public-notification-section[open] {
      padding-bottom: 12px;
    }

    .public-notification-section[open] summary {
      margin-bottom: 10px;
      border-bottom: 1px solid var(--line);
    }

    .public-notification-section[open] summary em::before {
      content: "收起";
    }

    .public-notification-list {
      display: grid;
      gap: 8px;
    }

    .notification-registration-section {
      margin: 0;
    }

    .public-notification-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin: 0 0 8px;
      padding: 0 12px;
    }

    .public-notification-summary span {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
      min-height: 28px;
      padding: 0 9px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #f7f7f5;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .public-notification-summary strong {
      color: var(--ink);
      font-size: 14px;
      line-height: 1.05;
    }

    .public-notification-filter {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      margin-bottom: 8px;
      padding: 0 12px 2px;
      scrollbar-width: none;
    }

    .public-notification-filter::-webkit-scrollbar {
      display: none;
    }

    .public-notification-filter button {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 13px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #ffffff;
      color: var(--muted);
      font-size: 12px;
      font-weight: 800;
    }

    .public-notification-filter button.active {
      border-color: var(--accent);
      background: var(--accent);
      color: #ffffff;
    }

    .public-notification-card {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: start;
      gap: 5px 10px;
      width: 100%;
      padding: 10px 11px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
      color: var(--ink);
      cursor: pointer;
      font: inherit;
      text-align: left;
      transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    }

    .public-notification-card:hover,
    .public-notification-card:focus-visible {
      border-color: #111111;
      box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
      transform: translateY(-1px);
      outline: none;
    }

    .public-notification-card.unread {
      border-color: rgba(255, 106, 0, .46);
      background: #fffaf6;
    }

    .public-notification-type {
      justify-self: start;
      padding: 3px 8px;
      border-radius: 999px;
      background: #f0f0ee;
      color: var(--muted);
      font-size: 11px;
      font-weight: 850;
    }

    .public-notification-main {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .public-notification-main strong {
      overflow: hidden;
      color: var(--ink);
      font-size: 14px;
      line-height: 1.35;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .public-notification-card p,
    .public-notification-main small {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .public-notification-card p {
      grid-column: 2;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .public-notification-section .public-notification-list,
    .notification-registration-list {
      padding: 0 12px;
    }

    .notification-registration-list {
      display: grid;
      gap: 8px;
    }

    .notification-registration-overview {
      display: grid;
      grid-template-columns: repeat(4, minmax(54px, 1fr));
      gap: 6px;
      padding-bottom: 8px;
    }

    .notification-registration-overview span {
      display: grid;
      gap: 2px;
      min-height: 46px;
      padding: 8px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #f7f7f5;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .notification-registration-overview strong {
      color: var(--ink);
      font-size: 18px;
      line-height: 1;
    }

    .notification-registration-rows {
      display: grid;
      gap: 7px;
    }

    .notification-registration-row {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 9px;
      width: 100%;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
      color: var(--ink);
      cursor: pointer;
      font: inherit;
      text-align: left;
    }

    .notification-registration-row div {
      display: grid;
      gap: 2px;
      min-width: 0;
    }

    .notification-registration-row strong {
      overflow: hidden;
      font-size: 14px;
      line-height: 1.3;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .notification-registration-row small,
    .notification-registration-row em {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.35;
    }

    .notification-registration-row em {
      font-style: normal;
      font-weight: 800;
    }

    .public-registration-page,
    .public-mine-page,
    .public-notification-page {
      background: transparent;
      border: 0;
      box-shadow: none;
    }

    .my-profile-view {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 14px;
    }

    .my-profile-view[hidden],
    .my-profile-editor[hidden] {
      display: none;
    }

    .my-profile-view > div {
      display: grid;
      gap: 5px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fafafa;
    }

    .my-profile-view > .wide {
      grid-column: 1 / -1;
    }

    .my-profile-view span,
    .profile-share-card span {
      color: var(--muted);
      font-size: 11px;
      font-weight: 750;
    }

    .my-profile-view strong,
    .my-profile-view p {
      margin: 0;
      font-size: 14px;
      line-height: 1.55;
      white-space: pre-wrap;
    }

    .my-profile-editor {
      margin-top: 14px;
    }

    .profile-card-modal {
      width: min(520px, calc(100vw - 28px));
    }

    .profile-share-card {
      display: grid;
      gap: 16px;
      padding: 22px;
      border: 1px solid #202020;
      border-radius: 20px;
      background: linear-gradient(145deg, #ffffff 0%, #f5f5f1 100%);
      box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
    }

    .profile-share-brand {
      color: var(--muted);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .14em;
    }

    .profile-share-identity {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr);
      gap: 14px;
      align-items: center;
    }

    .profile-share-avatar {
      width: 64px;
      height: 64px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border-radius: 18px;
      background: #111111;
      color: #ffffff;
      font-size: 20px;
      font-weight: 900;
    }

    .profile-share-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .profile-share-identity h3,
    .profile-share-identity p,
    .profile-share-intro p {
      margin: 0;
    }

    .profile-share-identity h3 {
      font-size: 22px;
      line-height: 1.2;
    }

    .profile-share-identity p {
      margin-top: 5px;
      color: var(--muted);
      line-height: 1.45;
    }

    .profile-share-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .profile-share-meta > div,
    .profile-share-intro,
    .profile-share-works {
      display: grid;
      gap: 5px;
      padding: 11px 12px;
      border-radius: 12px;
      background: rgba(255, 255, 255, .8);
    }

    .profile-share-meta strong,
    .profile-share-intro p,
    .profile-share-works strong {
      font-size: 13px;
      line-height: 1.5;
    }

    .profile-share-works > div {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .profile-share-works strong {
      padding: 4px 8px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #ffffff;
    }

    .my-page-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
      gap: 14px;
      align-items: start;
    }

    .my-page-card {
      min-width: 0;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #ffffff;
    }

    .my-page-profile-card {
      grid-row: span 2;
    }

    .my-dashboard-card {
      display: grid;
      gap: 14px;
    }

    .my-page-card .my-center-head {
      padding-bottom: 14px;
    }

    .my-section-head.compact {
      margin-top: 2px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .page-profile-grid {
      margin-top: 14px;
    }

    .my-page-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-end;
      margin-top: 12px;
    }

    .my-profile-score {
      display: grid;
      gap: 9px;
      padding: 12px;
      border-radius: 12px;
      background: #f7f7f5;
      border: 1px solid var(--line);
    }

    .my-score-main {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: baseline;
    }

    .my-score-main strong {
      font-size: 22px;
      line-height: 1;
    }

    .my-score-main span,
    .my-profile-score p,
    .my-progress-item small {
      color: var(--muted);
      font-size: 12px;
      margin: 0;
    }

    .my-score-track {
      height: 6px;
      overflow: hidden;
      border-radius: 999px;
      background: #e7e7e4;
    }

    .my-score-track i {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: #111111;
    }

    .my-score-checks {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .my-score-checks span {
      padding: 4px 8px;
      border-radius: 999px;
      background: #ffffff;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
    }

    .my-score-checks span.done {
      color: #111111;
      border: 1px solid #d8d8d4;
    }

    .my-page-stats {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 8px;
    }

    .my-stat {
      display: grid;
      gap: 2px;
      min-width: 0;
      padding: 10px 8px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fafaf8;
      box-shadow: none;
      color: inherit;
      text-align: left;
      font: inherit;
      cursor: pointer;
    }

    .my-stat strong {
      font-size: 20px;
      line-height: 1.1;
    }

    .my-stat span {
      font-size: 12px;
      font-weight: 850;
    }

    .my-stat small,
    .my-progress-item span {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.35;
    }

    .my-quick-actions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 10px;
    }

    .my-primary-actions {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin-top: 0;
    }

    .my-quick-actions button {
      min-width: 0;
      padding: 10px 8px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
      color: #111111;
      font-weight: 850;
    }

    .my-primary-actions button {
      min-height: 78px;
      padding: 13px;
      text-align: left;
      border-radius: 16px;
    }

    .my-primary-actions button strong,
    .my-primary-actions button span {
      display: block;
    }

    .my-primary-actions button strong {
      font-size: 15px;
      margin-bottom: 5px;
    }

    .my-primary-actions button span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .my-primary-actions button:first-child {
      background: #111;
      color: #fff;
      border-color: #111;
    }

    .my-primary-actions button:first-child span {
      color: rgba(255, 255, 255, .72);
    }

    .my-primary-actions button:nth-child(n+3) {
      min-height: 54px;
      padding: 10px 12px;
      border-style: dashed;
      background: #fbfbfb;
      font-weight: 750;
    }

    .my-primary-actions button:nth-child(n+3) span {
      display: none;
    }

    .my-account-card {
      display: grid;
      gap: 10px;
      margin-top: 10px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #ffffff;
    }

    .my-account-card summary {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      list-style: none;
    }

    .my-account-card summary::-webkit-details-marker {
      display: none;
    }

    .my-account-card summary::after {
      content: "展开";
      color: var(--muted);
      font-size: 12px;
      white-space: nowrap;
    }

    .my-account-card[open] summary::after {
      content: "收起";
    }

    .my-account-card summary > div {
      display: grid;
      gap: 3px;
      min-width: 0;
    }

    .my-account-card span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.4;
    }

    .my-account-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding-top: 10px;
      border-top: 1px solid var(--line);
    }

    .inline-field {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
    }

    .inline-field .ghost-btn {
      white-space: nowrap;
    }

    .my-progress-list {
      display: grid;
      gap: 8px;
    }

    .my-progress-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
    }

    .my-progress-item div {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .my-progress-item strong,
    .my-progress-item span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .my-progress-item em {
      padding: 5px 9px;
      border-radius: 999px;
      border: 1px solid #111111;
      color: #111111;
      font-size: 11px;
      font-style: normal;
      font-weight: 850;
      white-space: nowrap;
    }

    .my-demand-progress-card {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .my-demand-progress-actions {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      padding-top: 8px;
      border-top: 1px solid var(--line);
    }

    .organizer-entry-card h3,
    .organizer-entry-card p {
      margin: 0;
    }

    .organizer-entry-card h3 {
      font-size: 17px;
      line-height: 1.3;
    }

    .organizer-entry-card p {
      margin-top: 5px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.55;
    }

    .organizer-entry-grid {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }

    .organizer-entry-grid div {
      display: grid;
      gap: 4px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #ffffff;
    }

    .organizer-entry-grid strong {
      font-size: 14px;
      line-height: 1.35;
    }

    .organizer-entry-grid span {
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .toast {
      position: fixed;
      top: calc(14px + env(safe-area-inset-top));
      left: 50%;
      right: auto;
      width: max-content;
      max-width: min(280px, calc(100vw - 48px));
      background: #111111;
      color: #fff;
      padding: 10px 16px;
      border-radius: 999px;
      box-shadow: var(--shadow);
      display: none;
      z-index: 110;
      font-size: 13px;
      line-height: 1.45;
      text-align: center;
      transform: translateX(-50%) translateY(-6px);
    }

    .toast.show {
      display: block;
      transform: translateX(-50%) translateY(0);
    }

    body.admin .admin-mobile-nav.admin-only:not([hidden]) {
      display: none !important;
    }

    .public-mobile-nav {
      display: none;
    }

    @media (max-width: 980px) {
      html {
        overflow-y: scroll;
        scrollbar-gutter: stable both-edges;
      }

      body.admin .app-shell {
        display: block;
        min-width: 0;
      }

      body.admin .sidebar {
        display: none;
      }

      body.admin .main {
        width: min(100% - 24px, 760px);
        padding: 18px 0 84px;
      }

      body.admin.admin-detail-open .content-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      body.admin.admin-detail-open .content-grid > .public-list {
        display: none;
      }

      body.admin .admin-mobile-nav.admin-only:not([hidden]) {
        display: grid !important;
        grid-template-columns: repeat(9, minmax(0, 1fr));
        grid-template-rows: 48px;
        align-items: stretch;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        width: auto;
        min-height: 61px;
        max-height: calc(61px + env(safe-area-inset-bottom));
        box-sizing: border-box;
        z-index: 70;
        background: #fff;
        border-top: 1px solid var(--line);
        padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .05);
      }

      .admin-work-list {
        padding: 12px;
      }

      .admin-work-card {
        padding: 14px;
      }

      .admin-work-controls,
      .match-candidate-card {
        grid-template-columns: minmax(0, 1fr);
      }

      .demand-detail-grid,
      .demand-detail-controls {
        grid-template-columns: minmax(0, 1fr);
      }

      .demand-detail-facts {
        grid-template-columns: minmax(0, 1fr);
      }

      .match-candidate-actions {
        grid-template-columns: 64px minmax(0, 1fr);
        justify-items: stretch;
        align-items: center;
      }

      .demand-form {
        padding: 14px;
      }

      body.admin .admin-mobile-nav button {
        display: grid;
        grid-template-rows: 18px 14px;
        gap: 3px;
        place-items: center;
        position: relative;
        min-width: 0;
        min-height: 48px;
        padding: 0 2px;
        background: transparent;
        color: #777771;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
      }

      body.admin .admin-mobile-nav .mobile-nav-ico {
        display: grid;
        place-items: center;
        width: 18px;
        height: 18px;
        border-radius: 5px;
        background: #f1f1f1;
        color: #666666;
        font-size: 11px;
        font-weight: 800;
      }

      body.admin .admin-mobile-nav button.active {
        color: var(--accent-2);
        font-weight: 750;
      }

      body.admin .admin-mobile-nav button.active .mobile-nav-ico {
        background: var(--accent);
        color: #ffffff;
      }

      body.admin .admin-mobile-nav button.active::before {
        content: "";
        position: absolute;
        top: -6px;
        left: 24%;
        right: 24%;
        height: 2px;
        background: var(--accent);
      }

      body.admin.staff-mode .admin-mobile-nav.admin-only:not([hidden]) {
        display: none !important;
      }

      body:not(.admin) .public-mobile-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 70;
        min-height: 74px;
        padding: 7px max(8px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, .95);
        box-shadow: 0 -6px 22px rgba(18, 22, 30, .07);
        backdrop-filter: blur(12px);
      }

      body:not(.admin) .public-mobile-nav button {
        min-width: 0;
        min-height: 51px;
        display: grid;
        place-items: center;
        gap: 3px;
        position: relative;
        padding: 0 2px;
        background: transparent;
        color: #6d7480;
        font-size: 11px;
        font-weight: 750;
        line-height: 1;
      }

      body:not(.admin) .public-mobile-nav button.active {
        color: var(--accent-2);
      }

      body:not(.admin) .public-mobile-nav button.active::before {
        display: none;
      }

      .public-mobile-nav-ico {
        width: 24px;
        height: 24px;
        min-height: 24px;
        display: grid;
        place-items: center;
        line-height: 1;
      }

      .public-mobile-nav-svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
      }

      .public-mobile-nav-home,
      .public-mobile-nav-ticket,
      .public-mobile-nav-bell {
        width: 24px;
        height: 24px;
        min-height: 24px;
        position: relative;
      }

      .public-mobile-nav-home::before {
        content: "";
        width: 16px;
        height: 14px;
        border: 2px solid currentColor;
        border-top: 0;
        transform: translateY(4px);
      }

      .public-mobile-nav-home::after {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        border-left: 2px solid currentColor;
        border-top: 2px solid currentColor;
        transform: rotate(45deg);
        top: 2px;
      }

      .public-mobile-nav-ticket::before {
        content: "";
        width: 16px;
        height: 20px;
        border: 2px solid currentColor;
        border-radius: 3px;
        background: repeating-linear-gradient(45deg, transparent 0 3px, currentColor 3px 4px);
        opacity: .82;
      }

      .public-mobile-nav-bell::before {
        content: "";
        width: 16px;
        height: 16px;
        border: 2px solid currentColor;
        border-radius: 10px 10px 7px 7px;
        border-bottom-width: 3px;
        transform: translateY(2px);
      }

      .public-mobile-nav-bell::after {
        content: "";
        position: absolute;
        width: 6px;
        height: 3px;
        border-radius: 999px;
        background: currentColor;
        bottom: 1px;
      }

      .public-mobile-nav-user {
        width: 22px;
        height: 22px;
        min-height: 22px;
        border: 2px solid currentColor;
        border-radius: 50%;
        position: relative;
      }

      .public-mobile-nav-user::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 4px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
        transform: translateX(-50%);
      }

      .public-mobile-nav-user::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 11px;
        height: 6px;
        border-radius: 999px 999px 0 0;
        background: currentColor;
        transform: translateX(-50%);
      }

      .public-mobile-nav-plus {
        width: 24px;
        height: 24px;
        min-height: 24px;
        display: grid;
        place-items: center;
        color: currentColor;
        line-height: 1;
      }

      .public-mobile-nav-create {
        color: #6d7480;
      }

      body:not(.admin) .public-mobile-nav .public-mobile-nav-create::before {
        display: none;
      }

      .public-mobile-nav-create span:last-child {
        margin-top: 1px;
      }

      .public-create-sheet {
        width: min(100% - 24px, 560px);
        margin: auto auto 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -18px 48px rgba(17, 17, 17, .18);
      }

      .public-create-options {
        display: grid;
        gap: 12px;
      }

      .public-create-options button {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        width: 100%;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #ffffff;
        text-align: left;
        color: var(--ink);
        box-shadow: 0 8px 22px rgba(18, 22, 30, .04);
      }

      .public-create-options button:active,
      .public-create-options button:hover {
        border-color: var(--accent-line);
        background: var(--accent-soft);
      }

      .create-option-ico {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: #f7f7f5;
        color: var(--accent-2);
        font-size: 20px;
        font-weight: 850;
      }

      .public-create-options strong,
      .public-create-options small {
        display: block;
      }

      .public-create-options strong {
        font-size: 16px;
        line-height: 1.35;
      }

      .public-create-options small {
        margin-top: 3px;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
      }
    }

    @media (max-width: 980px) {
      .app-shell {
        display: block;
      }

      .sidebar {
        position: relative;
        height: auto;
        padding: 16px;
      }

      .nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .side-note {
        display: none;
      }

      .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .toolbar,
      .signup-tools,
      .custom-field-editor-grid,
      .checkin-toolbar,
      .checkin-person,
      .agenda-editor-row,
      .content-grid {
        grid-template-columns: 1fr;
      }

      .notification-layout {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      html,
      body {
        max-width: 100%;
        overflow-x: hidden;
      }

      .main {
        width: min(100% - 24px, 860px);
        padding: 18px 0 40px;
      }

      body:not(.admin) .main {
        width: 100%;
        padding: 0 14px 92px;
      }

      body.admin .main {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        width: calc(100% - 16px);
        padding: 10px 0 calc(73px + env(safe-area-inset-bottom));
      }

      body.admin .main > section.panel[data-admin-section]:not([hidden]),
      body.admin .main > .content-grid[data-admin-section]:not([hidden]) {
        flex: 1 0 auto;
        min-height: 0;
      }

      body.admin .main > section.panel[data-admin-section]:not([hidden]) {
        display: flex !important;
        flex-direction: column;
        margin-bottom: 0 !important;
      }

      body.admin .main > section.panel[data-admin-section]:not([hidden]) > :last-child {
        margin-bottom: 0;
      }

      .topbar,
      .event-top,
      .event-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .topbar {
        gap: 12px;
        margin-bottom: 14px;
      }

      body.admin .admin-badge {
        margin-bottom: 14px;
        padding: 9px 10px;
      }

      body.admin .title h1 {
        font-size: 22px;
      }

      body:not(.admin) .public-brand {
        margin: 6px 0 4px;
        padding: 5px 0 7px;
      }

      body.admin .title .admin-copy {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.5;
      }

      body.admin .topbar .admin-only:not([hidden]) {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      body.admin .topbar .admin-only button {
        width: 100%;
        min-width: 0;
      }

      body.admin .topbar #createBtn {
        grid-column: 1 / -1;
      }

      body.admin .metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-bottom: 10px;
        border: 1px solid var(--line);
        border-radius: 6px;
        overflow: hidden;
      }

      body.admin .metric {
        min-width: 0;
        padding: 12px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }

      body.admin .metric:nth-child(2n) {
        border-right: 0;
      }

      body.admin .metric:nth-last-child(-n + 2) {
        border-bottom: 0;
      }

      body.admin .metric strong {
        margin-top: 3px;
        font-size: 18px;
      }

      .action-menu-popover {
        max-width: calc(100vw - 32px);
      }

      .panel-head {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 12px;
      }

      .panel-head > div {
        max-width: 100%;
      }

      .batch-actions {
        flex-wrap: nowrap;
        align-items: center;
        gap: 7px;
        padding: 10px 12px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
      }

      .batch-actions .small-muted {
        width: auto;
        min-width: max-content;
        margin-right: 4px;
      }

      .batch-actions button {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 0 12px;
      }

      .batch-actions .batch-more-menu {
        position: static;
      }

      .batch-actions .batch-more-menu summary {
        min-height: 36px;
        white-space: nowrap;
      }

      .batch-actions .batch-more-menu[open] .action-menu-popover {
        position: fixed;
        right: 12px;
        bottom: calc(70px + env(safe-area-inset-bottom));
        top: auto;
        min-width: 180px;
      }

      .table-wrap {
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
      }

      .people-table {
        min-width: 720px;
      }

      body.admin [data-admin-section="signups"] .table-wrap {
        display: none;
      }

      body.admin [data-admin-section="signups"] .signup-card-list {
        display: block;
      }

      body.admin [data-admin-section="signups"] .panel-head > div {
        width: 100%;
        justify-content: space-between;
      }

      .signup-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 12px;
      }

      .signup-tools input {
        grid-column: 1 / -1;
      }

      .signup-tools button {
        min-height: 38px;
      }

      .signup-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .signup-review-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
      }

      .signup-summary div {
        min-width: 0;
        padding: 11px 12px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }

      .signup-summary div:nth-child(2n) {
        border-right: 0;
      }

      .signup-summary div:nth-last-child(-n + 2) {
        border-bottom: 0;
      }

      .signup-summary strong {
        font-size: 17px;
      }

      .signup-card {
        padding: 14px 12px;
      }

      .signup-card-head {
        align-items: flex-start;
      }

      .signup-card-select input {
        width: 18px;
        height: 18px;
      }

      .signup-card-meta {
        gap: 4px;
        margin: 10px 0 12px 28px;
        font-size: 12px;
      }

      .signup-card-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-left: 28px;
      }

      .signup-card-actions > button,
      .signup-card-actions > details,
      .signup-card-actions > details > summary {
        width: 100%;
      }

      .signup-card-actions .action-menu[open],
      body.admin .admin-actions .action-menu[open] {
        grid-column: 1 / -1;
      }

      .signup-card-actions .action-menu[open] .action-menu-popover,
      body.admin .admin-actions .action-menu[open] .action-menu-popover {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
      }

      .notification-layout {
        padding: 14px;
      }

      .registration-status {
        flex-direction: column;
      }

      .event-editor-toolbar {
        align-items: stretch;
        flex-direction: column;
      }

      .event-draft-state {
        justify-content: space-between;
        text-align: left;
      }

      .title h1 {
        font-size: 26px;
      }

      .toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
      }

      .toolbar .field:first-child {
        grid-column: 1 / -1;
      }

      body:not(.admin) .toolbar {
        display: none !important;
        gap: 8px;
        padding: 0;
        margin-bottom: 12px;
      }

      body:not(.admin) .toolbar .field,
      body:not(.admin) .toolbar .field:first-child {
        flex: 1 1 100%;
        max-width: none;
      }

      body:not(.admin) .toolbar .field:not(:first-child) {
        display: none;
      }

      body:not(.admin) .toolbar .field input {
        min-height: 32px;
        border-radius: 999px;
        padding: 0 12px;
        font-size: 12.5px;
        font-weight: 620;
        box-shadow: none;
      }

      .public-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        min-height: 50px;
        margin: 0 0 12px;
        padding: 5px;
        border-radius: 18px;
      }

      .public-tabs button {
        justify-content: center;
        font-size: 14px;
        font-weight: 760;
      }

      .ideal-page {
        gap: 12px;
      }

      .ideal-hero {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 16px;
        box-shadow: 0 6px 16px rgba(18, 22, 30, .035);
      }

      .ideal-hero .feature-eyebrow {
        font-size: 10px;
      }

      .ideal-hero h2 {
        margin: 2px 0 2px;
        font-size: 18px;
        letter-spacing: -.03em;
      }

      .ideal-hero p {
        font-size: 12px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .ideal-hero .primary-btn {
        align-self: start;
        min-height: 30px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 999px;
      }

      .ideal-stats {
        gap: 6px;
      }

      .ideal-stats div {
        flex-basis: 94px;
        padding: 8px;
        border-radius: 12px;
        text-align: left;
      }

      .ideal-stats span,
      .ideal-stats small {
        font-size: 10.5px;
      }

      .ideal-stats strong {
        margin: 2px 0;
        font-size: 19px;
      }

      .ideal-story-card {
        grid-template-columns: 1fr;
        padding: 10px;
        border-radius: 20px;
      }

      .ideal-story-card-featured .ideal-story-cover {
        aspect-ratio: 16 / 8.2;
      }

      .ideal-admin-card {
        grid-template-columns: 1fr;
      }

      .ideal-story-cover {
        aspect-ratio: 16 / 10;
      }

      .ideal-story-gallery,
      .ideal-story-detail-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .public-filter-pills {
        flex-wrap: nowrap;
        gap: 10px;
        margin: 0 -14px 12px;
        padding: 0 14px;
        overflow-x: auto;
        scrollbar-width: none;
      }

      .public-filter-group {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 10px;
      }

      .public-filter-group button {
        min-height: 34px;
        padding: 0 14px;
        font-size: 13px;
        font-weight: 720;
        box-shadow: none;
      }

      .public-more-filter {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0 13px;
        font-size: 12.5px;
      }

      .public-filter-divider {
        display: none;
      }

      .community-grid,
      .match-list {
        grid-template-columns: 1fr;
      }

      .community-card,
      .match-card {
        padding: 14px;
        border-radius: 12px;
      }

      body:not(.admin) .event-list {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .event-card {
        gap: 10px;
        padding: 13px 12px;
      }

      body:not(.admin) .event-card {
        grid-template-columns: 86px minmax(0, 1fr);
        align-items: center;
        min-height: 112px;
        padding: 14px;
        gap: 0 14px;
        max-width: none;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 5px 14px rgba(18, 22, 30, .055);
        cursor: pointer;
      }

      body:not(.admin) .event-cover-thumb {
        grid-column: 1;
        grid-row: 1;
        width: 86px;
        height: 86px;
        aspect-ratio: auto;
        border-radius: 12px;
        object-fit: cover;
      }

      body:not(.admin) .event-top {
        grid-column: 2;
        grid-row: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px 8px;
        align-items: start;
        padding: 0;
      }

      body:not(.admin) .event-top > div {
        min-width: 0;
      }

      body:not(.admin) .event-status-stack {
        justify-content: flex-start;
        gap: 6px;
        margin-top: 1px;
      }

      body:not(.admin) .event-status-stack .status,
      body:not(.admin) .event-status-stack .pin-badge {
        min-height: 22px;
        border-radius: 7px;
        padding: 0 7px;
        font-size: 10.5px;
      }

      body:not(.admin) .event-status-stack .pin-badge {
        max-width: max-content;
      }

      body:not(.admin) .event-progress-block {
        grid-column: 2;
        grid-row: 2;
        padding: 9px 0 0;
      }

      body:not(.admin) .event-card-cta {
        display: none;
      }

      body:not(.admin) .event-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14.5px;
        line-height: 1.34;
      }

      body:not(.admin) .event-meta {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 3px 7px;
        margin-top: 5px;
        font-size: 11.5px;
        line-height: 1.35;
      }

      body:not(.admin) .event-meta span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      body:not(.admin) .event-meta .event-city,
      body:not(.admin) .event-meta .event-host {
        display: none;
      }

      body:not(.admin) .event-meta .event-date {
        grid-column: 1;
      }

      body:not(.admin) .event-meta .event-venue {
        grid-column: 2;
      }

      body:not(.admin) .event-card-meta-row {
        padding-top: 7px;
        border-top: 1px solid #edf0f2;
        font-size: 11.5px;
      }

      body:not(.admin) .event-card-meta-row .tag {
        min-height: 20px;
        font-size: 10.5px;
      }

      body:not(.admin) .event-signup-count {
        margin-left: auto;
        white-space: nowrap;
      }

      body:not(.admin) .progress {
        display: none;
      }

      body.admin .event-top {
        position: relative;
        display: block;
        padding-right: 62px;
      }

      body.admin .event-status-stack {
        position: absolute;
        top: 0;
        right: 0;
        max-width: 58px;
        justify-content: flex-end;
      }

      body.admin .event-title {
        font-size: 17px;
        line-height: 1.4;
      }

      body.admin .event-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        gap: 5px 10px;
        margin-top: 7px;
      }

      body.admin .admin-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
      }

      body.admin .admin-actions > button,
      body.admin .admin-actions > details,
      body.admin .admin-actions > details > summary {
        width: 100%;
        min-width: 0;
      }

      body.admin .admin-actions > details:last-child:nth-child(4n) {
        grid-column: auto;
      }

      .pagination {
        justify-content: space-between;
        padding: 10px 12px;
      }

      .review-grid,
      .form-grid,
      .choice-list,
      .detail-grid,
      .nav {
        grid-template-columns: 1fr;
      }

      .review-report-summary {
        grid-template-columns: 1fr;
        padding: 10px;
      }

      .review-report-hero {
        padding: 14px;
      }

      .review-report-hero strong {
        font-size: 18px;
      }

      .review-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .review-metric-grid .metric {
        min-height: 74px;
      }

      .growth-loop-panel {
        padding: 10px;
      }

      .growth-loop-head {
        display: grid;
        padding: 12px;
      }

      .growth-funnel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .growth-step:not(:last-child)::after {
        display: none;
      }

      .growth-side-grid,
      .growth-action-list {
        grid-template-columns: 1fr;
      }

      .review-grid {
        padding: 10px;
        gap: 10px;
      }

      .review-card-body {
        min-height: 0;
      }

      .report-bar {
        grid-template-columns: minmax(72px, .72fr) minmax(90px, 1fr) 34px;
        gap: 8px;
        font-size: 12px;
      }

      .gallery-editor-list {
        grid-template-columns: 1fr;
      }

      .modal-backdrop.show {
        align-items: flex-end;
        padding: 0;
      }

      .modal-backdrop.show:not(#signupModal) {
        padding: 0 10px calc(88px + env(safe-area-inset-bottom));
      }

      .modal,
      .modal.signup-drawer {
        width: 100%;
        max-height: 88vh;
        border-radius: 14px 14px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
      }

      .modal-backdrop.show:not(#signupModal) .modal {
        max-height: calc(88vh - 88px - env(safe-area-inset-bottom));
        border: 1px solid var(--line);
        border-radius: 14px;
      }

      #createModal .wide-modal {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
      }

      #createModal .modal-body,
      #createModal .form-grid,
      #createModal .field {
        max-width: 100%;
        min-width: 0;
      }

      #createModal input:not([type="checkbox"]):not([type="radio"]),
      #createModal select,
      #createModal textarea,
      #createModal button {
        max-width: 100%;
        min-width: 0;
      }

      #createModal input[type="date"],
      #createModal input[type="time"],
      #createModal input[type="datetime-local"] {
        appearance: none;
        -webkit-appearance: none;
      }

      #createModal .publish-check-items {
        grid-template-columns: 1fr;
      }

      #myCenterModal.show {
        align-items: flex-end;
        padding: 0 0 calc(76px + env(safe-area-inset-bottom));
      }

      #publicNotificationModal.show {
        align-items: flex-end;
        padding: 0 0 calc(76px + env(safe-area-inset-bottom));
      }

      #myCenterModal .my-center-drawer,
      #publicNotificationModal .notification-drawer {
        width: 100%;
        max-height: calc(100dvh - 76px - env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
      }

      #myCenterModal .modal-head {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #ffffff;
      }

      #myCenterModal .modal-body {
        padding-bottom: 20px;
      }

      #myCenterModal .my-action-list {
        margin-bottom: 8px;
      }

      .my-profile-grid {
        grid-template-columns: 1fr;
      }

      .my-profile-view,
      .profile-share-meta {
        grid-template-columns: 1fr;
      }

      .my-profile-view > .wide {
        grid-column: auto;
      }

      .my-registration-summary,
      .my-registration-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .my-ticket-main {
        grid-template-columns: 1fr;
        align-items: start;
      }

      .my-ticket-code {
        justify-items: start;
      }

      .my-ticket-qr {
        grid-template-columns: 1fr;
        justify-items: start;
      }

      .profile-share-card {
        padding: 16px;
        border-radius: 16px;
      }

      .my-page-layout {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .my-page-card {
        padding: 14px;
        border-radius: 14px;
      }

      .my-page-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .my-quick-actions {
        grid-template-columns: 1fr;
      }

      .my-account-card,
      .inline-field {
        grid-template-columns: 1fr;
      }

      .my-account-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
        width: 100%;
      }

      .my-account-actions .ghost-btn {
        width: 100%;
      }

      .my-account-actions #logoutMyAccountBtn {
        grid-column: 1 / -1;
        justify-self: start;
      }

      .my-page-actions {
        justify-content: stretch;
      }

      .my-page-actions button {
        flex: 1 1 140px;
      }

      .my-page-profile-card {
        grid-row: auto;
      }

      .my-portfolio-card {
        grid-template-columns: 1fr;
      }

      .my-portfolio-card .ghost-btn {
        justify-self: start;
      }

      .modal-head {
        padding: 14px 16px;
      }

      .modal-body {
        padding: 16px 16px calc(12px + env(safe-area-inset-bottom));
      }

      .modal-actions {
        position: sticky;
        bottom: 0;
        background: #fff;
        margin: 16px -16px calc(-12px - env(safe-area-inset-bottom));
        padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        flex-direction: column-reverse;
      }

      .modal-actions button {
        width: 100%;
      }

      .toast {
        top: calc(10px + env(safe-area-inset-top));
        left: 50%;
        right: auto;
        width: max-content;
        max-width: min(260px, calc(100vw - 44px));
      }

      .success-modal .modal-body {
        padding-top: 14px;
      }

      .success-modal .registration-credential.compact {
        margin-top: 10px;
      }

      .success-meta-row,
      .success-primary-actions {
        grid-template-columns: 1fr;
      }

      .success-next-steps {
        padding: 12px;
        border-radius: 12px;
      }

      .success-modal .compact-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex-direction: initial;
        gap: 8px;
      }

      .success-modal .compact-actions button {
        min-height: 38px;
        padding-inline: 8px;
        font-size: 13px;
      }

      body.admin .content-grid {
        grid-template-columns: 1fr;
      }

      .agenda li {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
      }

      .agenda li:last-child {
        border-bottom: 0;
      }

      .agenda time {
        font-size: 12px;
        font-weight: 600;
      }

      .public-detail-content .detail-section {
        padding-top: 20px;
        padding-bottom: 20px;
      }

      body.detail-mode:not(.admin) .main {
        width: 100%;
        padding: 0 14px calc(86px + env(safe-area-inset-bottom));
      }

      body.detail-mode:not(.admin) .public-brand,
      body.detail-mode:not(.admin) .public-tabs,
      body.detail-mode:not(.admin) .topbar,
      body.detail-mode:not(.admin) .public-mobile-nav {
        display: none;
      }

      body.detail-mode:not(.admin) .public-detail-topbar {
        position: sticky;
        top: 0;
        z-index: 72;
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        align-items: center;
        gap: 8px;
        min-height: 56px;
        margin: 0 -14px;
        padding: 8px 16px;
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(12px);
      }

      body.detail-mode:not(.admin) .public-detail-topbar strong {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        font-size: 17px;
        line-height: 1.25;
      }

      body.detail-mode:not(.admin) .public-detail-back,
      body.detail-mode:not(.admin) .public-detail-icon {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #111111;
        font-size: 28px;
        line-height: 1;
      }

      body.detail-mode:not(.admin) .public-detail-icon {
        font-size: 18px;
      }

      body.detail-mode:not(.admin) .public-detail-spacer {
        width: 36px;
        height: 36px;
      }

      body.detail-mode:not(.admin) .cover-frame {
        margin: 12px 0 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #f3f4f2;
      }

      body.detail-mode:not(.admin) .cover-frame img {
        height: min(36vh, 300px);
        max-height: 300px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
      }

      body.detail-mode:not(.admin) .detail-cover-carousel {
        overflow: hidden;
      }

      body.detail-mode:not(.admin) .detail-cover-slide img {
        width: 100%;
      }

      body.detail-mode:not(.admin) .public-detail-content {
        width: 100%;
      }

      body.detail-mode:not(.admin) .public-detail-content > .detail-hero {
        display: block;
        margin: 16px 0 0;
        padding: 0;
        border: 0;
        background: transparent;
      }

      body.detail-mode:not(.admin) .detail-hero-tags {
        gap: 8px;
        margin-bottom: 10px;
      }

      body.detail-mode:not(.admin) .detail-title {
        margin: 0;
        font-size: 24px;
        line-height: 1.32;
        font-weight: 800;
      }

      body.detail-mode:not(.admin) .detail-organizer-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 12px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
      }

      body.detail-mode:not(.admin) .detail-organizer-main {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
      }

      body.detail-mode:not(.admin) .detail-organizer-avatar {
        width: 42px;
        height: 42px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        background: #111;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
      }

      body.detail-mode:not(.admin) .detail-organizer-main strong,
      body.detail-mode:not(.admin) .detail-organizer-main span {
        display: block;
      }

      body.detail-mode:not(.admin) .detail-organizer-main strong {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 14px;
      }

      body.detail-mode:not(.admin) .detail-organizer-main span {
        margin-top: 2px;
        color: var(--muted);
        font-size: 12px;
      }

      body.detail-mode:not(.admin) .detail-attendees {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 70px;
      }

      body.detail-mode:not(.admin) .detail-attendees .detail-attendee-chip,
      body.detail-mode:not(.admin) .detail-attendees em {
        width: 28px;
        height: 28px;
        margin-left: -8px;
        border: 2px solid #fff;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: #eef0f2;
        color: #111;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        overflow: hidden;
      }

      body.detail-mode:not(.admin) .detail-attendees .detail-attendee-chip strong {
        display: none;
      }

      body.detail-mode:not(.admin) .detail-attendee-chip img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      body.detail-mode:not(.admin) .detail-attendee-chip > span {
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
      }

      body.detail-mode:not(.admin) .detail-attendees em {
        min-width: 34px;
        padding: 0 6px;
        width: auto;
        background: #f7f7f5;
        color: var(--muted);
      }

      body.detail-mode:not(.admin) .detail-quick-card {
        display: grid;
        gap: 0;
        margin: 0 0 14px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
      }

      body.detail-mode:not(.admin) .detail-quick-card div {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 14px;
        border-bottom: 1px solid var(--line);
      }

      body.detail-mode:not(.admin) .detail-quick-card div:last-child {
        border-bottom: 0;
      }

      body.detail-mode:not(.admin) .detail-quick-card span {
        color: var(--muted);
        font-size: 13px;
      }

      body.detail-mode:not(.admin) .detail-quick-card strong {
        min-width: 0;
        overflow-wrap: anywhere;
        font-size: 15px;
        line-height: 1.4;
      }

      body.detail-mode:not(.admin) .detail-tabs {
        position: sticky;
        top: 56px;
        z-index: 68;
        display: flex;
        gap: 28px;
        margin: 0 -14px 14px;
        padding: 12px 14px 0;
        border-bottom: 1px solid var(--line);
        background: rgba(255,255,255,.96);
        overflow-x: auto;
        scrollbar-width: none;
      }

      body.detail-mode:not(.admin) .detail-tabs::-webkit-scrollbar {
        display: none;
      }

      body.detail-mode:not(.admin) .detail-tabs a {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        color: #6b7280;
        text-decoration: none;
        white-space: nowrap;
        font-weight: 700;
      }

      body.detail-mode:not(.admin) .detail-tabs a.active {
        color: var(--accent-2);
      }

      body.detail-mode:not(.admin) .detail-tabs a.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 3px;
        border-radius: 999px;
        background: var(--accent);
      }

      body.detail-mode:not(.admin) .detail-tab-panel[hidden] {
        display: none;
      }

      body.detail-mode:not(.admin) .detail-summary-card {
        display: none;
      }

      body.detail-mode:not(.admin) .detail-subtitle {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 1.65;
      }

      body.detail-mode:not(.admin) .detail-info-grid {
        border-radius: 12px;
      }

      body.detail-mode:not(.admin) .detail-info-grid div {
        padding: 10px 12px;
      }

      body.detail-mode:not(.admin) .detail-info-grid strong {
        font-size: 13px;
      }

      body.detail-mode:not(.admin) .detail-notice {
        display: none;
        margin-top: 12px;
        padding: 11px 12px;
        border-radius: 12px;
      }

      body.detail-mode:not(.admin) .public-detail-content > div:nth-of-type(1) .event-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        gap: 5px 12px;
        margin-top: 8px;
        font-size: 12.5px;
      }

      body.detail-mode:not(.admin) .public-detail-content .detail-section {
        min-width: 0;
        margin-bottom: 14px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
      }

      body.detail-mode:not(.admin) .detail-section h3 {
        margin-bottom: 8px;
        font-size: 15px;
        overflow-wrap: anywhere;
      }

      body.detail-mode:not(.admin) .detail-copy {
        font-size: 13.5px;
        line-height: 1.75;
        overflow-wrap: anywhere;
      }

      body.detail-mode:not(.admin) .detail-sub-block {
        display: grid;
        gap: 9px;
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
      }

      body.detail-mode:not(.admin) .detail-sub-block > strong {
        font-size: 14px;
      }

      body.detail-mode:not(.admin) .detail-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      body.detail-mode:not(.admin) .detail-gallery img {
        width: auto;
        max-width: 100%;
        max-height: min(62vh, 420px);
        height: auto;
        margin-inline: auto;
        border-radius: 12px;
      }

      body.detail-mode:not(.admin) .detail-album-stack img {
        width: 100%;
        max-height: none;
        margin-inline: 0;
      }

      body.detail-mode:not(.admin) .chip-list {
        gap: 7px;
        min-width: 0;
      }

      body.detail-mode:not(.admin) .profile-chip {
        max-width: 100%;
        min-height: 28px;
        padding: 0 11px;
        white-space: normal;
        overflow-wrap: anywhere;
      }

      body.detail-mode:not(.admin) .agenda li {
        grid-template-columns: minmax(42px, 58px) minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 8px 0;
        min-width: 0;
      }

      body.detail-mode:not(.admin) .agenda time,
      body.detail-mode:not(.admin) .agenda span {
        min-width: 0;
        overflow-wrap: anywhere;
      }

      body.detail-mode:not(.admin) .detail-people-card {
        display: grid;
        gap: 12px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
      }

      body.detail-mode:not(.admin) .detail-people-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--line);
      }

      body.detail-mode:not(.admin) .detail-people-head div {
        display: grid;
        gap: 4px;
        min-width: 0;
      }

      body.detail-mode:not(.admin) .detail-people-head strong {
        font-size: 15px;
        line-height: 1.35;
      }

      body.detail-mode:not(.admin) .detail-people-head span {
        color: var(--muted);
        font-size: 12px;
        line-height: 1.5;
      }

      body.detail-mode:not(.admin) .detail-people-head button {
        min-height: 36px;
        padding: 0 12px;
        white-space: nowrap;
      }

      body.detail-mode:not(.admin) .detail-people-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      body.detail-mode:not(.admin) .detail-people-count,
      body.detail-mode:not(.admin) .detail-people-capacity {
        display: grid;
        gap: 5px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: #fafaf8;
      }

      body.detail-mode:not(.admin) .detail-people-count strong,
      body.detail-mode:not(.admin) .detail-people-count span,
      body.detail-mode:not(.admin) .detail-people-capacity strong,
      body.detail-mode:not(.admin) .detail-people-capacity span {
        display: block;
      }

      body.detail-mode:not(.admin) .detail-people-count strong,
      body.detail-mode:not(.admin) .detail-people-capacity strong {
        font-size: 26px;
        line-height: 1;
      }

      body.detail-mode:not(.admin) .detail-people-capacity strong {
        font-size: 18px;
        line-height: 1.2;
      }

      body.detail-mode:not(.admin) .detail-people-count span,
      body.detail-mode:not(.admin) .detail-people-capacity span {
        color: var(--muted);
        font-size: 12px;
      }

      body.detail-mode:not(.admin) .detail-people-avatars {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 8px;
        max-width: none;
      }

      body.detail-mode:not(.admin) .detail-people-avatars .detail-attendee-chip,
      body.detail-mode:not(.admin) .detail-people-avatars em {
        border-radius: 999px;
        background: #111;
        color: #fff;
        font-size: 12px;
        font-style: normal;
        font-weight: 750;
      }

      body.detail-mode:not(.admin) .detail-people-avatars .detail-attendee-chip {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        width: 100%;
        max-width: none;
        min-height: 44px;
        padding: 5px 10px 5px 5px;
        gap: 8px;
        background: #f7f7f5;
        color: var(--ink);
        border: 1px solid var(--line);
        border-radius: 999px;
      }

      body.detail-mode:not(.admin) .detail-people-avatars .detail-attendee-chip > img,
      body.detail-mode:not(.admin) .detail-people-avatars .detail-attendee-chip > span {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        background: #111;
        color: #fff;
        display: grid;
        place-items: center;
        overflow: hidden;
      }

      body.detail-mode:not(.admin) .detail-people-avatars .detail-attendee-chip > img {
        object-fit: cover;
      }

      body.detail-mode:not(.admin) .detail-people-avatars .detail-attendee-chip strong {
        overflow: hidden;
        color: var(--ink);
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      body.detail-mode:not(.admin) .detail-people-avatars em {
        min-height: 40px;
        padding: 0 12px;
        background: #f0f0ee;
        color: var(--muted);
        display: grid;
        place-items: center;
      }

      body.detail-mode:not(.admin) .detail-hint {
        margin: 12px 0 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.7;
      }

      body.detail-mode:not(.admin) .detail-host-card {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
      }

      body.detail-mode:not(.admin) .detail-host-card strong {
        display: block;
        margin-bottom: 5px;
        font-size: 15px;
      }

      body.detail-mode:not(.admin) .detail-host-card p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.7;
        overflow-wrap: anywhere;
      }

      body.detail-mode:not(.admin) .detail-disclaimer-list {
        display: grid;
        gap: 9px;
        margin: 0;
        padding-left: 18px;
        color: var(--muted);
        font-size: 13px;
        line-height: 1.7;
      }

      body.detail-mode:not(.admin) .detail-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 82;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin: 0;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid var(--line);
        backdrop-filter: blur(12px);
      }

      body.detail-mode:not(.admin) .detail-secondary-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
      }

      body.detail-mode:not(.admin) .detail-actions button {
        width: 100%;
        min-height: 44px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 700;
      }

      #signupModal.show {
        align-items: center;
        padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
      }

      #signupModal .modal.signup-drawer {
        width: min(520px, calc(100vw - 24px));
        max-height: calc(86dvh - env(safe-area-inset-bottom));
        min-height: 0;
        border: 1px solid var(--line);
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        box-shadow: 0 18px 50px rgba(17, 17, 17, .22);
      }

      #signupModal .modal-head {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        padding: 13px 16px;
      }

      #signupModal .modal-head h2 {
        max-width: calc(100% - 48px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 17px;
      }

      #signupModal .modal-body {
        flex: 1 1 auto;
        overflow: auto;
        padding: 14px;
      }

      #signupModal .form-grid {
        gap: 12px;
      }

      #signupModal .form-section-title {
        margin: 8px 0 -2px;
        padding: 14px 0 0;
        font-size: 14px;
      }

      #signupModal .field label {
        font-size: 13px;
        font-weight: 750;
      }

      #signupModal .field input:not([type="checkbox"]):not([type="radio"]),
      #signupModal .field select,
      #signupModal .field textarea {
        min-height: 42px;
        border-radius: 9px;
        font-size: 14px;
      }

      #signupModal .field textarea {
        min-height: 96px;
      }

      #signupModal .choice-list {
        gap: 8px;
      }

      #signupModal .choice-item {
        min-height: 38px;
        border-radius: 9px;
        padding: 9px 10px;
        font-size: 13.5px;
      }

      #signupModal input[type="checkbox"],
      #signupModal input[type="radio"] {
        width: 18px;
        height: 18px;
        min-height: 0;
        flex: 0 0 18px;
        padding: 0;
      }

      #signupModal .signup-consent {
        display: grid;
        gap: 8px;
      }

      #signupModal .signup-profile-details-body {
        grid-template-columns: 1fr;
        padding: 11px;
      }

      #signupModal .signup-consent .checkbox-line {
        min-height: 44px;
        margin: 0;
        padding: 10px 11px;
        border: 1px solid var(--line);
        border-radius: 9px;
        align-items: flex-start;
        gap: 9px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 500;
        line-height: 1.55;
      }

      #signupModal .modal-actions {
        position: static;
        bottom: auto;
        flex-direction: column-reverse;
        margin: 12px 0 0;
        padding: 12px 0 0;
        border-top: 1px solid var(--line);
        box-shadow: none;
      }

      body.admin .signup-card {
        padding: 12px;
      }

      body.admin .signup-card-head {
        gap: 8px;
      }

      body.admin .signup-card-select {
        align-items: flex-start;
      }

      body.admin .signup-card-meta {
        margin: 9px 0 10px 28px;
        gap: 3px;
        font-size: 12px;
        line-height: 1.45;
      }

      body.admin .signup-card-meta span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      body.admin .signup-card-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-left: 28px;
      }

      body.admin .signup-card-actions > button,
      body.admin .signup-card-actions > details,
      body.admin .signup-card-actions > details > summary {
        min-height: 34px;
        width: 100%;
        font-size: 12.5px;
      }

      body.admin .batch-actions {
        gap: 6px;
      }

      body.admin .batch-actions button,
      body.admin .batch-actions summary {
        min-height: 34px;
        font-size: 12.5px;
      }
    }

/* V0.6.8: keep the new public business pages compact on mobile. */
@media (max-width: 720px) {
  body:not(.admin) .opc-page,
  body:not(.admin) .matching-page {
    gap: 10px;
    padding: 12px;
  }

  body:not(.admin) .public-feature-intro {
    gap: 10px;
    padding-bottom: 10px;
  }

  body:not(.admin) .public-feature-intro h2 {
    font-size: 17px;
    line-height: 1.25;
  }

  body:not(.admin) .public-feature-intro p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }

  body:not(.admin) .community-grid {
    gap: 8px;
  }

  body:not(.admin) .community-card {
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
  }

  body:not(.admin) .community-card h3 {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.25;
  }

  body:not(.admin) .community-card p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }

  body:not(.admin) .community-meta {
    gap: 6px;
    padding-top: 6px;
  }

  body:not(.admin) .community-card > .ghost-btn {
    min-height: 34px;
    padding: 7px 12px;
  }

  body:not(.admin) .matching-steps li {
    min-height: 42px;
    padding: 7px 4px;
    font-size: 11px;
  }

  body:not(.admin) .matching-page .demand-form {
    gap: 10px;
    padding: 12px;
  }

  body:not(.admin) .demand-form-head {
    padding-bottom: 10px;
  }

  body:not(.admin) .demand-form-head h3 {
    font-size: 16px;
  }

  body:not(.admin) .demand-more {
    padding: 9px 0;
  }
}

@media (max-width: 720px) {
  body.admin .event-admin-ops {
    margin: 0 14px;
  }

  body.admin .event-admin-ops-grid,
  body.admin .event-admin-next-actions,
  .public-notification-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V0.9.19: reduce public-page noise and keep one clear action per screen. */
body:not(.admin) .ideal-hero-compact,
body:not(.admin) .opc-community-hero-compact {
  min-height: 0;
  padding: 10px 12px;
}

body:not(.admin) .ideal-hero-compact {
  display: block;
}

body:not(.admin) .ideal-hero-compact h2,
body:not(.admin) .opc-community-hero-compact h2 {
  margin: 2px 0 2px;
  font-size: clamp(18px, 4vw, 23px);
}

body:not(.admin) .ideal-filter-bar-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
}

body:not(.admin) .ideal-filter-bar-compact button {
  min-width: 0;
}

body:not(.admin) .ideal-data-disclosure {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

body:not(.admin) .ideal-data-disclosure summary {
  padding: 12px 2px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

body:not(.admin) .ideal-data-disclosure .ideal-stats {
  padding: 0 0 8px;
}

body:not(.admin) .ideal-story-open {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 850;
}

body:not(.admin) .opc-community-hero-compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

body:not(.admin) .opc-community-hero-compact .opc-hero-teammate {
  min-height: 32px;
  padding-inline: 12px;
  font-size: 12px;
}

body:not(.admin) .matching-page {
  align-content: start;
}

body:not(.admin) .demand-form {
  max-width: 760px;
  margin: 0 auto;
}

body:not(.admin) .demand-form-first {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

body:not(.admin) .demand-form-first h2 {
  margin: 3px 0;
  font-size: 24px;
}

body:not(.admin) .my-latest-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body:not(.admin) .my-latest-status-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafaf8;
}

body:not(.admin) .my-latest-status-grid h4 {
  margin: 0 0 8px;
}

body.detail-mode:not(.admin) .detail-status-strip-primary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

body.detail-mode:not(.admin) .detail-status-strip-primary span:first-child {
  color: var(--accent-2);
}

body.detail-mode:not(.admin) .detail-host-inline .detail-host-card {
  margin-top: 8px;
}

body.detail-mode:not(.admin) .detail-signup-note p {
  margin: 6px 0 0;
  color: var(--muted);
}

body.detail-mode:not(.admin) .detail-disclaimer {
  margin: 0 20px 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-top: 14px;
}

body.detail-mode:not(.admin) .detail-disclaimer > strong {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

body.detail-mode:not(.admin) .detail-disclaimer-list {
  margin: 0 0 14px;
}

body.detail-mode:not(.admin) .detail-actions {
  grid-template-columns: 96px minmax(0, 1fr);
}

body.detail-mode:not(.admin) .detail-actions .primary-btn {
  width: 100%;
}

body.detail-mode:not(.admin) .detail-share-btn {
  border-color: var(--line);
  background: #fff;
}

@media (max-width: 720px) {
  body:not(.admin) .ideal-page,
  body:not(.admin) .opc-page,
  body:not(.admin) .matching-page {
    padding: 10px;
    gap: 10px;
  }

  body:not(.admin) .opc-page {
    padding: 8px 0 10px;
  }

  body:not(.admin) .ideal-hero-compact,
  body:not(.admin) .opc-community-hero-compact {
    padding: 9px 10px;
    border-radius: 14px;
  }

  body:not(.admin) .ideal-story-list {
    gap: 10px;
  }

  body:not(.admin) .ideal-story-card,
  body:not(.admin) .ideal-story-card-featured {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  body:not(.admin) .ideal-story-card .ideal-story-cover,
  body:not(.admin) .ideal-story-card-featured .ideal-story-cover {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  body:not(.admin) .ideal-story-body {
    gap: 7px;
    padding: 4px 6px 6px;
  }

  body:not(.admin) .ideal-story-card h3 {
    font-size: 18px;
  }

  body:not(.admin) .ideal-story-card p {
    line-height: 1.55;
  }

  body:not(.admin) .ideal-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  body:not(.admin) .ideal-stats div {
    min-width: 0;
  }

  body:not(.admin) .opc-community-hero-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  body:not(.admin) .opc-community-hero-compact .opc-hero-teammate {
    min-width: 0;
  }

  body:not(.admin) .my-latest-status-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin) .demand-type-grid {
    display: flex;
    overflow-x: auto;
  }

  body:not(.admin) .event-meta .event-location {
    grid-column: 2;
  }

  body:not(.admin) .event-meta .event-host {
    display: none;
  }

  body.detail-mode:not(.admin) .detail-status-strip-primary {
    padding-inline: 16px;
  }

  body.detail-mode:not(.admin) .detail-disclaimer {
    margin-inline: 16px;
  }
}

/* V0.9.21: final component pass for visual hierarchy, touch feedback, and compact public cards. */
:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --touch: 42px;
}

.primary-btn,
.ghost-btn,
.text-btn,
.icon-btn,
.public-tabs button,
.public-filter-group button,
.ideal-filter-bar button,
.public-notification-filter button {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.primary-btn:active,
.ghost-btn:active,
.text-btn:active,
.icon-btn:active,
.public-tabs button:active,
.public-filter-group button:active,
.ideal-filter-bar button:active,
.public-notification-filter button:active,
article[role="button"]:active,
article[role="link"]:active {
  transform: translateY(1px);
}

.primary-btn:disabled,
.ghost-btn:disabled,
button[disabled] {
  border-color: #e2e2e2;
  background: #eeeeee;
  color: #8a8a8a;
  box-shadow: none;
  cursor: not-allowed;
}

.primary-btn {
  min-height: var(--touch);
  border: 1px solid transparent;
}

.ghost-btn {
  min-height: var(--touch);
  border-color: #e5e5e5;
  background: #ffffff;
}

.text-btn {
  min-height: 36px;
  color: var(--accent-2);
}

.tag,
.status,
.pin-badge,
.ideal-story-meta span,
.opc-directory-tags span {
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.status.open,
.status.passed,
.pin-badge,
.ideal-story-card-featured .ideal-story-meta span:first-child,
.ideal-story-card-featured .ideal-story-meta span:last-child {
  border-color: var(--accent-line);
  background: var(--accent);
  color: #ffffff;
}

.status.review,
.status.waiting,
.status.candidate {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: #8a3b00;
}

article[role="button"],
article[role="link"],
[data-opc-profile],
[data-notification-id] {
  cursor: pointer;
}

.non-interactive-surface {
  cursor: default;
}

.non-interactive-surface:hover,
.non-interactive-surface:focus,
.non-interactive-surface:focus-within {
  transform: none;
}

body:not(.admin) .interactive-card {
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

body:not(.admin) .interactive-card:hover,
body:not(.admin) .interactive-card:focus-visible,
body:not(.admin) .interactive-card:focus-within {
  border-color: var(--accent-line);
  box-shadow: 0 12px 26px rgba(18, 22, 30, .07);
}

body:not(.admin) .non-interactive-surface {
  cursor: default;
  box-shadow: none;
}

body:not(.admin) .non-interactive-surface:hover,
body:not(.admin) .non-interactive-surface:focus,
body:not(.admin) .non-interactive-surface:focus-within {
  transform: none;
  box-shadow: none;
}

body:not(.admin) .my-stat.non-interactive-surface,
body:not(.admin) .ideal-stats .non-interactive-surface,
body:not(.admin) .my-progress-item.non-interactive-surface,
body:not(.admin) .my-registration-card.non-interactive-surface {
  border-color: #eeeeee;
  background: #fbfbfb;
}

article[role="button"]:focus-visible,
article[role="link"]:focus-visible,
[data-opc-profile]:focus-visible,
[data-notification-id]:focus-visible {
  outline: 3px solid var(--accent-line);
  outline-offset: 3px;
}

body:not(.admin) .public-tabs {
  border-color: #ffd5ba;
  background: linear-gradient(180deg, #fff4ed 0%, #ffe6d6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .82),
    0 8px 18px rgba(255, 101, 0, .08);
}

body:not(.admin) .public-tabs button {
  color: #1f2937;
}

body:not(.admin) .public-tabs button.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
  box-shadow:
    0 6px 14px rgba(17, 17, 17, .16),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

body:not(.admin) .public-tabs button.active:hover,
body:not(.admin) .public-tabs button.active:focus-visible {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

body:not(.admin) .ideal-filter-bar button.active,
body:not(.admin) .public-notification-filter button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 18px var(--accent-shadow);
}

body:not(.admin) .ideal-data-disclosure,
body:not(.admin) .my-account-card {
  border: 1px solid #eeeeee;
  border-radius: var(--radius-md);
  background: #fbfbfb;
  box-shadow: none;
}

body:not(.admin) .my-account-card summary {
  align-items: flex-start;
}

body:not(.admin) .my-account-actions {
  justify-content: stretch;
}

body:not(.admin) .my-account-actions .ghost-btn,
body:not(.admin) .my-account-actions .text-btn {
  width: 100%;
}

body:not(.admin) .public-notification-card,
body:not(.admin) .my-quick-actions button,
body:not(.admin) .my-latest-status-grid > div {
  box-shadow: none;
}

body:not(.admin) .public-notification-card:hover,
body:not(.admin) .my-quick-actions button:hover {
  border-color: var(--accent-line);
  background: #fffaf6;
}

body:not(.admin) .opc-directory-card:hover {
  border-color: var(--accent-line);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 101, 0, .12);
}

body:not(.admin) .public-notification-card.unread::after,
[data-public-nav="notifications"][data-unread]:not([data-unread="0"])::after {
  background: var(--accent);
}

body:not(.admin) .ideal-hero-compact,
body:not(.admin) .opc-community-hero-compact {
  border-radius: var(--radius-lg);
  box-shadow: none;
}

body:not(.admin) .ideal-story-card,
body:not(.admin) .opc-directory-card,
body:not(.admin) .my-page-card,
body:not(.admin) .public-notification-card {
  border-radius: var(--radius-lg);
}

body:not(.admin) .event-card.featured {
  border-color: var(--accent-line);
  background: #ffffff;
}

@media (max-width: 720px) {
  body:not(.admin) .public-brand {
    margin: 2px 0 2px;
    padding: 2px 0 4px;
  }

  body:not(.admin) .public-brand-logo {
    width: 136px;
  }

  body:not(.admin) .public-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    min-height: 42px;
    margin-bottom: 7px;
    padding: 3px;
    border-radius: 16px;
  }

  body:not(.admin) .public-tabs button {
    min-height: 30px;
    padding: 0 2px;
    border-radius: 13px;
    font-size: 13px;
  }

  body:not(.admin) .public-tabs button.active::after {
    display: none;
  }

  body:not(.admin) .public-filter-pills {
    gap: 8px;
    margin: 8px 0 10px;
  }

  body:not(.admin) .public-filter-group button,
  body:not(.admin) .public-more-filter,
  body:not(.admin) .ideal-filter-bar button,
  body:not(.admin) .public-notification-filter button {
    min-height: 36px;
    border-radius: 999px;
    font-size: 12.5px;
  }

  /* Keep the activity status row compact; it is a tool row, not a primary CTA. */
  body:not(.admin) .public-filter-group button,
  body:not(.admin) .public-more-filter {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  body:not(.admin) .event-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body:not(.admin) .event-card,
  body:not(.admin) .event-card.featured {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    min-height: 112px;
    max-width: none;
    padding: 10px;
    gap: 0 12px;
    border: 1px solid #ededed;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
  }

  body:not(.admin) .event-card:hover {
    transform: none;
    border-color: var(--accent-line);
    box-shadow: 0 8px 18px rgba(18, 22, 30, .06);
  }

  body:not(.admin) .event-cover-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 88px;
    height: 88px;
    aspect-ratio: auto;
    border-radius: 10px;
  }

  body:not(.admin) .event-top {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    gap: 5px;
  }

  body:not(.admin) .event-title {
    font-size: 15px;
    line-height: 1.32;
  }

  body:not(.admin) .event-meta {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 4px;
    font-size: 11.5px;
  }

  body:not(.admin) .event-meta .event-date,
  body:not(.admin) .event-meta .event-location {
    grid-column: 1;
  }

  body:not(.admin) .event-status-stack {
    justify-content: flex-start;
    margin-top: 2px;
  }

  body:not(.admin) .event-status-stack .status,
  body:not(.admin) .event-status-stack .pin-badge {
    min-height: 20px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 10.5px;
  }

  body:not(.admin) .event-progress-block {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: 6px 0 0;
  }

  body:not(.admin) .event-card-meta-row {
    display: flex;
    gap: 6px;
    padding-top: 0;
    border-top: 0;
    font-size: 11.5px;
  }

  body:not(.admin) .event-card-meta-row [data-event-view-count] {
    display: none;
  }

  body:not(.admin) .event-card-meta-row .tag {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body:not(.admin) .event-card-cta,
  body:not(.admin) .progress {
    display: none;
  }

  body:not(.admin) .ideal-hero-compact {
    padding: 10px 12px;
  }

  body:not(.admin) .ideal-hero-compact h2 {
    font-size: 18px;
  }

  body:not(.admin) .ideal-hero-compact p {
    margin-top: 2px;
    font-size: 12.5px;
  }

  body:not(.admin) .ideal-story-card,
  body:not(.admin) .ideal-story-card-featured {
    padding: 0;
    gap: 0;
    overflow: hidden;
  }

  body:not(.admin) .ideal-story-card .ideal-story-cover,
  body:not(.admin) .ideal-story-card-featured .ideal-story-cover {
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }

  body:not(.admin) .ideal-story-body {
    padding: 10px 12px 12px;
  }

  body:not(.admin) .ideal-story-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  body:not(.admin) .my-quick-actions button {
    min-height: 64px;
    border-radius: var(--radius-md);
  }

  body:not(.admin) .my-account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.admin) .my-account-actions #logoutMyAccountBtn {
    grid-column: 1 / -1;
  }
}

/* V0.9.27 final public activity normalization: no oversized first card, no featured hero in the list. */
body:not(.admin) .event-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

body:not(.admin) .event-card,
body:not(.admin) .event-card.featured {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  max-width: 640px;
  min-height: 128px;
  padding: 12px;
  gap: 0 14px;
  border: 1px solid #ededed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 22, 30, .06);
}

body:not(.admin) .event-card.featured {
  border-color: var(--accent-line);
}

body:not(.admin) .event-cover-thumb {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 112px;
  height: 112px;
  aspect-ratio: auto;
  border-radius: 12px;
}

body:not(.admin) .event-top {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  gap: 6px;
}

body:not(.admin) .event-progress-block {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  padding: 8px 0 0;
}

body:not(.admin) .event-card-cta {
  display: none;
}

body:not(.admin) .event-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.34;
}

body:not(.admin) .event-meta {
  margin-top: 5px;
  font-size: 12px;
}

body:not(.admin) .event-card-meta-row {
  padding-top: 7px;
  border-top: 1px solid #edf0f2;
}

body:not(.admin) .progress {
  display: none;
}

.empty .text-btn {
  min-height: 34px;
  padding: 0 8px;
  color: var(--muted);
}

@media (max-width: 720px) {
  body:not(.admin) .event-card,
  body:not(.admin) .event-card.featured {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 112px;
    max-width: none;
    padding: 10px;
    gap: 0 12px;
    box-shadow: none;
  }

  body:not(.admin) .event-cover-thumb {
    width: 88px;
    height: 88px;
  }

  body:not(.admin) .event-title {
    font-size: 14.5px;
  }
}

/* V0.9.29: activity detail image-first hierarchy, compact location, and clearer clickable affordances. */
body.detail-mode:not(.admin) .public-detail-content {
  display: flex;
  flex-direction: column;
}

body.detail-mode:not(.admin) .detail-summary-card {
  order: 1;
  margin: 8px 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.detail-mode:not(.admin) .detail-status-strip-primary {
  order: 5;
  margin: 0 0 10px;
  padding: 0;
}

body.detail-mode:not(.admin) .detail-quick-card {
  order: 4;
  margin: 0 0 10px;
  border-radius: 10px;
}

body.detail-mode:not(.admin) .cover-frame {
  order: 2;
  margin: 0 0 10px;
  border-radius: 10px;
}

body.detail-mode:not(.admin) .cover-frame img {
  height: min(30vh, 260px);
  max-height: 260px;
}

body.detail-mode:not(.admin) .detail-organizer-card {
  order: 3;
  margin: 0 0 10px;
  padding: 10px 12px;
}

body.detail-mode:not(.admin) .detail-tabs {
  order: 6;
}

body.detail-mode:not(.admin) .detail-tab-panel {
  order: 7;
}

body.detail-mode:not(.admin) .detail-disclaimer {
  order: 8;
}

body.detail-mode:not(.admin) .detail-actions {
  order: 9;
}

body.detail-mode:not(.admin) .detail-title {
  font-size: 22px;
  line-height: 1.25;
}

body.detail-mode:not(.admin) .detail-hero-tags {
  margin-bottom: 6px;
}

body.detail-mode:not(.admin) .detail-quick-card div {
  padding: 10px 12px;
}

body.detail-mode:not(.admin) .detail-quick-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

body.detail-mode:not(.admin) .detail-quick-card span i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-style: normal;
  font-size: 11px;
}

body.detail-mode:not(.admin) .detail-quick-card strong {
  font-size: 14px;
}

body.detail-mode:not(.admin) .detail-summary-card.non-interactive-surface,
body.detail-mode:not(.admin) .detail-organizer-card.non-interactive-surface,
body.detail-mode:not(.admin) .detail-quick-card.non-interactive-surface,
body.detail-mode:not(.admin) .detail-people-card.non-interactive-surface {
  cursor: default;
  box-shadow: none;
}

body.detail-mode:not(.admin) .detail-summary-card.non-interactive-surface:hover,
body.detail-mode:not(.admin) .detail-organizer-card.non-interactive-surface:hover,
body.detail-mode:not(.admin) .detail-quick-card.non-interactive-surface:hover,
body.detail-mode:not(.admin) .detail-people-card.non-interactive-surface:hover {
  border-color: var(--line);
  background: #ffffff;
  transform: none;
  box-shadow: none;
}

body.detail-mode:not(.admin) .detail-summary-card.non-interactive-surface:hover {
  background: transparent;
}

.organizer-permission-admin {
  display: grid;
  gap: 12px;
}

.organizer-permission-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.organizer-permission-summary span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.organizer-permission-list {
  display: grid;
  gap: 8px;
}

.organizer-permission-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.organizer-permission-row strong,
.organizer-permission-row span {
  display: block;
  min-width: 0;
}

.organizer-permission-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.organizer-permission-row em {
  font-style: normal;
  white-space: nowrap;
}

.organizer-permission-row .row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .organizer-permission-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .organizer-permission-row .row-actions {
    justify-content: flex-start;
  }
}
