/* Nicecard demo — platform shell and views (shell.js). Prefix: ncs-.
   Values come from "Web Platform.dc.html". */

.ncs-root {
  --ncs-brown-2: #8a4e40;
  --ncs-mute-3: #7b6957;
  --ncs-rule: #ebdfc6;
  --ncs-heart: #d2685a;
  --ncs-warn: #a2443a;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
}

/* ───── Sidebar ───── */

.ncs-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 16px 24px;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.ncs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.ncs-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: var(--blush);
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 21px;
  color: var(--brand);
}

.ncs-brand-name {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--brand);
}

.ncs-brand-tag {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.ncs-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ncs-nav-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ncs-nav-group--me {
  padding-top: 18px;
  border-top: 2px solid var(--ncs-rule);
}

.ncs-nav-btn {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--brand);
  text-align: left;
  cursor: pointer;
  transition: background 160ms var(--ease);
}

.ncs-nav-btn:hover {
  background: rgba(251, 237, 233, 0.6);
}

.ncs-nav-btn[aria-current='page'] {
  background: var(--blush);
  color: var(--brand-deep);
  font-weight: 600;
}

:root[data-lang='zh'] .ncs-nav-btn {
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: 0.06em;
}

.ncs-passcard {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--blush);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 160ms var(--ease);
}

.ncs-passcard:hover,
.ncs-passcard[aria-current='page'] {
  box-shadow: inset 0 0 0 1px var(--blush-line);
}

.ncs-passcard-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ncs-passcard-name {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  color: var(--brand);
}

.ncs-passcard-price {
  font-family: 'Jost', var(--f-sans);
  font-size: 19px;
  color: var(--brand);
}

.ncs-passcard-text {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mute-2);
}

.ncs-scrim {
  display: none;
}

/* ───── Top bar ───── */

.ncs-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ncs-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 30px;
  background: rgba(255, 252, 245, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.ncs-menu,
.ncs-top-brand {
  display: none;
}

.ncs-search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  max-width: 558px;
  padding: 10px 18px;
  border: 1px solid rgba(58, 49, 40, 0.08);
  border-radius: 999px;
  background: var(--panel);
  transition: border-color 160ms, box-shadow 160ms;
}

.ncs-search:focus-within {
  border-color: var(--rose-line);
  box-shadow: 0 0 0 3px rgba(222, 127, 113, 0.18);
}

.ncs-search-ico {
  font-size: 13px;
  line-height: 1;
  color: var(--mute);
}

.ncs-search-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
}

.ncs-search-input:focus-visible {
  outline: none;
}

.ncs-search-input::placeholder {
  color: var(--mute);
}

.ncs-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.ncs-passchip {
  padding: 9px 16px;
  border: 1px solid var(--blush-line);
  border-radius: 999px;
  background: var(--blush);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ncs-brown-2);
  white-space: nowrap;
  cursor: pointer;
}

.ncs-passchip:hover {
  border-color: var(--rose-line);
}

.ncs-passchip--get {
  padding: 10px 18px;
  border: 0;
  background: var(--coral);
  color: var(--cream);
  box-shadow: 0 6px 16px -8px rgba(222, 127, 113, 0.9);
}

.ncs-passchip--get:hover {
  background: #d4705f;
}

.ncs-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 2px solid var(--blush-line);
  border-radius: 50%;
  background-color: var(--blush);
  background-size: cover;
  background-position: center 20%;
  cursor: pointer;
}

.ncs-avatar[aria-current='page'] {
  border-color: var(--coral);
}

.ncs-content {
  flex: 1;
  min-width: 0;
}

/* ───── Page scaffolding ───── */

.ncs-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 30px 60px;
}

.ncs-narrow {
  max-width: 900px;
}

.ncs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}

.ncs-h1,
.ncs-h2 {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  color: var(--brand);
}

.ncs-h2 {
  font-size: 30px;
}

:root[data-lang='zh'] .ncs-h1,
:root[data-lang='zh'] .ncs-h2 {
  font-size: 26px;
  letter-spacing: 0.04em;
}

.ncs-head-meta {
  font-size: 13px;
  color: var(--mute);
}

.ncs-num {
  font-variant-numeric: tabular-nums;
}

.ncs-noscrollbar {
  scrollbar-width: none;
}

.ncs-noscrollbar::-webkit-scrollbar {
  display: none;
}

.ncs-empty {
  padding: 70px 0;
  text-align: center;
  color: var(--mute);
}

.ncs-empty--box {
  padding: 60px 24px;
  border: 1px dashed rgba(58, 49, 40, 0.2);
  border-radius: 18px;
  background: var(--panel);
}

.ncs-empty-title {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.2;
  color: var(--brand);
}

.ncs-empty-body {
  margin-top: 6px;
  font-size: 13px;
  color: var(--mute);
}

.ncs-link {
  margin-top: 14px;
  padding: 2px 0;
  border: 0;
  background: none;
  font-size: 13.5px;
  color: var(--action);
  text-decoration: underline;
  text-decoration-color: rgba(166, 68, 58, 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
}

.ncs-btn-hero {
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms;
}

.ncs-btn-hero:hover {
  background: #2a231c;
}

.ncs-btn-sm {
  padding: 8px 16px;
  border: 1px solid rgba(58, 49, 40, 0.16);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}

.ncs-btn-sm:hover {
  background: rgba(58, 49, 40, 0.05);
}

.ncs-btn-sm--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.ncs-btn-sm--dark:hover {
  background: #2a231c;
}

.ncs-btn-sm--warn {
  border-color: rgba(178, 74, 58, 0.4);
  color: var(--ncs-warn);
}

.ncs-btn-sm--warn:hover {
  background: rgba(166, 68, 58, 0.07);
}

.ncs-btn-sm--danger {
  border-color: var(--action);
  background: var(--action);
  color: var(--cream);
}

.ncs-btn-sm--danger:hover {
  background: #8f3a31;
}

.ncs-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--mute);
  cursor: pointer;
}

.ncs-icon-btn:hover {
  background: rgba(166, 68, 58, 0.08);
  color: var(--ncs-warn);
}

.ncs-btn-line {
  padding: 9px 16px;
  border-color: rgba(58, 49, 40, 0.16);
  font-size: 13px;
  line-height: 1.45;
}

/* Undo toast (rendered inside the shared toaster, which ignores pointer events) */
.ncs-toast {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ncs-toast-btn {
  pointer-events: auto;
  padding: 3px 10px;
  border: 1px solid rgba(255, 252, 245, 0.4);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  color: var(--cream);
  cursor: pointer;
}

.ncs-toast-btn:hover {
  background: rgba(255, 252, 245, 0.12);
}

/* ───── Template cards ───── */

.ncs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.ncs-grid--hot {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.ncs-card {
  position: relative;
  min-width: 0;
}

.ncs-card-open {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.ncs-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 276px;
  border-radius: 14px;
  background-color: var(--panel-2);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.ncs-card--hot .ncs-thumb {
  height: 260px;
}

.ncs-card-open:hover .ncs-thumb {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(58, 49, 40, 0.45);
}

.ncs-card-name {
  display: block;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  color: var(--brand);
}

.ncs-card-meta {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mute);
}

.ncs-card-open .ncs-card-meta {
  margin-top: -7px;
}

.ncs-badge,
.ncs-rank {
  position: absolute;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.ncs-badge {
  right: 10px;
  bottom: 10px;
  background: rgba(255, 252, 245, 0.9);
  color: #5c4b3b;
}

.ncs-rank {
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  background: var(--ink);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cream);
}

.ncs-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.9);
  color: #8c7663;
  cursor: pointer;
  transition: transform 160ms var(--ease), color 160ms;
}

.ncs-fav:hover {
  transform: scale(1.08);
}

.ncs-fav[aria-pressed='true'] {
  color: var(--ncs-heart);
}

.ncs-heart-ico {
  display: block;
}

/* ───── Featured ───── */

.ncs-featured {
  gap: 34px;
}

.ncs-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ncs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  min-height: 300px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--blush);
}

.ncs-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 42px 40px;
  animation: ncs-fade 420ms var(--ease);
}

.ncs-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ncs-brown-2);
}

.ncs-hero-counter {
  letter-spacing: 0.1em;
  color: var(--mute-2);
  font-variant-numeric: tabular-nums;
}

.ncs-hero-title {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.2;
  color: var(--ink);
}

:root[data-lang='zh'] .ncs-hero-title {
  font-size: 32px;
  letter-spacing: 0.04em;
}

.ncs-hero-name {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ncs-brown-2);
}

.ncs-hero-desc {
  max-width: 430px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ncs-mute-3);
  text-wrap: pretty;
}

.ncs-hero-cta {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.ncs-hero-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.ncs-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
}

.ncs-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(58, 49, 40, 0.24);
  cursor: pointer;
  transition: width 240ms ease, background 240ms ease;
}

.ncs-dot::after {
  content: '';
  position: absolute;
  inset: -8px -4px;
}

.ncs-dot[aria-pressed='true'] {
  width: 26px;
  background: var(--ink);
}

.ncs-hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0 0 2px;
  border: 1px solid rgba(58, 49, 40, 0.16);
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.55);
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.ncs-hero-arrow:hover {
  background: var(--cream);
}

.ncs-hero-img {
  min-height: 340px;
  background-color: var(--blush);
  animation: ncs-fade 520ms var(--ease);
}

@keyframes ncs-fade {
  from {
    opacity: 0;
  }
}

.ncs-styles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 14px;
}

.ncs-style-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgba(58, 49, 40, 0.08);
  border-radius: 16px;
  background-color: var(--panel);
  text-align: left;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.ncs-style-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -18px rgba(58, 49, 40, 0.45);
}

.ncs-style-name {
  font-family: var(--f-serif);
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
}

.ncs-style-count {
  font-size: 12px;
  line-height: 1.45;
  color: var(--mute-2);
}

/* ───── Templates ───── */

.ncs-tpl {
  gap: 22px;
  padding-top: 26px;
}

.ncs-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.ncs-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ncs-filter-label {
  flex: 0 0 44px;
  padding-top: 9px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mute);
}

.ncs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.ncs-pills .nc-pill {
  line-height: 1.4;
}

.ncs-sortbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.ncs-sorts {
  display: flex;
  gap: 22px;
}

.ncs-sort {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mute);
  cursor: pointer;
}

.ncs-sort[aria-pressed='true'] {
  border-bottom-color: var(--rose-line);
  color: var(--ink);
}

.ncs-query {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 4px 3px 12px;
  border-radius: 999px;
  background: var(--blush);
  font-size: 12.5px;
  color: var(--ncs-brown-2);
}

.ncs-query-x {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.85);
  line-height: 1;
  color: inherit;
  cursor: pointer;
}

.ncs-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--mute);
}

/* ───── Preview ───── */

.ncs-pv {
  align-items: center;
  gap: 18px;
  padding-top: 24px;
}

.ncs-pv-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  width: 100%;
  max-width: 900px;
}

.ncs-pv-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ncs-pv-name {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  color: var(--brand);
}

.ncs-pv-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ncs-pv-save {
  padding: 10px 18px;
  gap: 7px;
}

.ncs-pv-save[aria-pressed='true'] .ncs-heart-ico {
  color: var(--ncs-heart);
}

.ncs-pv .ncs-btn-hero {
  padding: 11px 26px;
}

.ncs-pv-hint {
  font-size: 12px;
  color: var(--mute);
  text-align: center;
}

.ncs-phone {
  flex: 0 0 auto;
  height: 810px;
  isolation: isolate;
  background: #f6f2ea;
}

.ncs-pv-screen {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ncs-pv-screen:focus-visible {
  outline-offset: -4px;
}

/* ───── Rows: designs, trash, orders ───── */

.ncs-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ncs-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(58, 49, 40, 0.07);
  border-radius: 16px;
  background: var(--panel);
}

.ncs-row--confirm {
  border-color: rgba(178, 74, 58, 0.3);
  background: #fbefe9;
}

.ncs-row-thumb {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background-color: var(--panel-2);
}

.ncs-row-thumb--faded {
  filter: grayscale(0.45);
  opacity: 0.75;
}

.ncs-row-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ncs-row-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.ncs-row-meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--mute);
}

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

.ncs-status {
  font-size: 12px;
  line-height: 1.45;
}

.ncs-confirm-text {
  font-size: 13px;
  color: var(--ncs-warn);
}

.ncs-order {
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 16px 20px;
  border-color: rgba(58, 49, 40, 0.08);
}

.ncs-order-amount {
  font-family: 'Jost', var(--f-sans);
  font-size: 17px;
  color: var(--ink);
}

.ncs-dim {
  color: rgba(122, 102, 83, 0.6);
}

/* ───── Account ───── */

.ncs-acct {
  max-width: 720px;
  gap: 24px;
}

.ncs-acct-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ncs-acct-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: var(--blush);
  background-size: cover;
  background-position: center 20%;
  cursor: pointer;
}

.ncs-acct-avatar:focus-within {
  outline: 2px solid var(--action);
  outline-offset: 3px;
}

.ncs-acct-pen {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(92, 44, 34, 0.18);
  border-radius: 50%;
  background: var(--blush-line);
  font-size: 12px;
  color: var(--brand-deep);
}

.ncs-acct-id {
  min-width: 0;
}

.ncs-acct-namerow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ncs-acct-name {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: var(--brand);
}

.ncs-acct-heart {
  display: flex;
  padding: 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #9b9285;
  cursor: pointer;
}

.ncs-acct-heart[aria-pressed='true'] {
  color: var(--coral);
}

.ncs-acct-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.ncs-acct-email {
  font-size: 14px;
  color: var(--mute);
}

.ncs-acct-validity {
  padding: 5px 12px;
  border: 1px solid var(--blush-line);
  border-radius: 999px;
  background: var(--blush);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ncs-brown-2);
  cursor: pointer;
}

.ncs-acct-nopass {
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ncs-acct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ncs-acct-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ncs-acct-field > span {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.ncs-acct-input {
  padding: 13px 16px;
  border: 1px solid rgba(58, 49, 40, 0.1);
  border-radius: 12px;
  outline: none;
  background: var(--panel);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.ncs-acct-input:focus {
  border-color: var(--rose-line);
  box-shadow: 0 0 0 3px rgba(222, 127, 113, 0.18);
}

.ncs-btn-save {
  align-self: flex-start;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  color: var(--cream);
  cursor: pointer;
}

.ncs-btn-save:hover {
  background: #2a231c;
}

.ncs-acct-rows {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(58, 49, 40, 0.08);
  border-radius: 16px;
  background: var(--panel);
}

.ncs-acct-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(58, 49, 40, 0.08);
}

.ncs-acct-row:last-child {
  border-bottom: 0;
}

.ncs-acct-row--confirm {
  background: #fbefe9;
}

.ncs-acct-label {
  font-size: 13px;
  color: var(--mute);
}

.ncs-acct-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.ncs-verified {
  padding: 3px 9px;
  font-size: 11px;
  line-height: 1.45;
}

.ncs-acct-dots {
  font-size: 15px;
  letter-spacing: 0.18em;
}

.ncs-acct-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
}

.ncs-acct-row--confirm .ncs-acct-note {
  color: var(--ncs-warn);
}

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

/* ───── Event Pass ───── */

.ncs-buy {
  align-items: center;
  gap: 26px;
  padding-top: 40px;
  padding-bottom: 70px;
}

.ncs-buy-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ncs-buy-kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ncs-brown-2);
}

.ncs-buy-title {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  color: var(--brand);
}

.ncs-buy-lead {
  max-width: 460px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mute-2);
}

.ncs-buy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.ncs-buy-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  border-radius: 20px;
}

.ncs-buy-card--price {
  border: 1px solid var(--blush-line);
  background: var(--blush);
}

.ncs-buy-card--why {
  gap: 14px;
  border: 1px solid rgba(58, 49, 40, 0.1);
  background: var(--panel);
}

.ncs-buy-active {
  align-self: flex-start;
}

.ncs-buy-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.ncs-buy-amount {
  font-family: 'Cormorant Garamond', var(--f-serif);
  font-size: 46px;
  line-height: 1;
  color: var(--brand);
}

.ncs-buy-per {
  font-size: 13px;
  color: var(--ncs-brown-2);
}

.ncs-buy-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ncs-buy-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.ncs-buy-tick {
  font-size: 12px;
  line-height: 21.6px;
  color: var(--coral);
}

.ncs-buy-btn {
  padding: 15px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--cream);
  cursor: pointer;
}

.ncs-buy-btn:hover {
  background: #2a231c;
}

.ncs-buy-btn--member {
  padding: 14px;
  border: 1px solid #c9857a;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--brand);
}

.ncs-buy-btn--member:hover {
  background: rgba(255, 252, 245, 0.6);
}

.ncs-buy-fine {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute);
}

.ncs-buy-why-title {
  margin: 0;
  font-family: var(--f-script);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--brand);
}

.ncs-buy-why {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mute-2);
  text-wrap: pretty;
}

.ncs-buy-rule {
  height: 1px;
  background: rgba(58, 49, 40, 0.1);
}

.ncs-buy-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.ncs-buy-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.ncs-buy-facts dd {
  margin: 0;
  text-align: right;
}

/* ───── RSVP dashboard ───── */

.ncs-rep {
  gap: 22px;
}

.ncs-crumb {
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--mute);
  cursor: pointer;
}

.ncs-crumb:hover {
  color: var(--ink);
}

.ncs-rep-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 20px;
  margin-top: -8px;
}

.ncs-rep-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ncs-rep-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ncs-brown-2);
}

.ncs-example {
  padding: 2px 9px;
  border: 1px dashed rgba(58, 49, 40, 0.24);
  background: #f3ead8;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--mute-2);
}

.ncs-rep-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.ncs-csv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ncs-warn);
}

.ncs-csv-text {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 12px;
  color: var(--ink);
}

.ncs-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ncs-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid rgba(58, 49, 40, 0.08);
  border-radius: 16px;
  background: var(--panel);
}

.ncs-tile-n {
  font-family: 'Cormorant Garamond', var(--f-serif);
  font-size: 40px;
  line-height: 1.05;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--brand);
}

.ncs-tile-l {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.ncs-tile-note {
  font-size: 12px;
  color: var(--mute);
}

.ncs-pill-n {
  margin-left: 4px;
  opacity: 0.7;
}

.ncs-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(58, 49, 40, 0.08);
  border-radius: 16px;
  background: var(--panel);
}

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

.ncs-table th,
.ncs-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(58, 49, 40, 0.08);
  text-align: left;
  vertical-align: top;
}

.ncs-table thead th {
  background: var(--panel-2);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.ncs-table tbody tr:last-child > * {
  border-bottom: 0;
}

.ncs-table .ncs-td-name {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}

.ncs-td-email {
  color: var(--mute-2);
}

.ncs-table .ncs-th-colGuests,
.ncs-table .ncs-td-guests {
  text-align: right;
}

.ncs-td-note {
  max-width: 240px;
  color: var(--mute-2);
}

.ncs-td-at {
  color: var(--mute);
  white-space: nowrap;
}

.ncs-table .ncs-td-empty {
  padding: 30px 16px;
  text-align: center;
  color: var(--mute);
}

.ncs-reply {
  padding: 3px 10px;
  font-size: 11.5px;
  line-height: 1.45;
}

.ncs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ncs-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: #f3ead8;
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
}

.ncs-wishes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ncs-h2--sm {
  font-size: 26px;
}

.ncs-wish-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ncs-wish {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(58, 49, 40, 0.08);
  border-radius: 16px;
  background: var(--panel);
}

.ncs-wish-text {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.ncs-wish-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ncs-wish-from {
  font-size: 12px;
  color: var(--mute);
}

/* ───── Server mode: loading, row actions, hidden wishes ───── */

.ncs-loading {
  padding: 28px 0;
}

.ncs-btn-sm:disabled {
  opacity: 0.5;
  cursor: default;
}

.ncs-table .ncs-th-colActions {
  width: 1%;
}

.ncs-table .ncs-td-actions {
  text-align: right;
  white-space: nowrap;
}

.ncs-td-actions .ncs-btn-sm {
  padding: 5px 12px;
}

.ncs-wish-foot {
  flex-wrap: wrap;
}

.ncs-wish-actions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.ncs-wish--hidden {
  border-style: dashed;
  background: transparent;
}

.ncs-wish--hidden .ncs-wish-text {
  color: var(--mute);
}

.ncs-wish-hidden {
  padding: 3px 10px;
  font-size: 11.5px;
}

/* ───── Server mode: keeping access, unsaved works, repeated replies ───── */

.ncs-key {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed rgba(58, 49, 40, 0.18);
  border-radius: 16px;
}

.ncs-key--compact {
  margin-top: 16px;
  padding: 14px 16px;
}

.ncs-key-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
}

.ncs-key--compact .ncs-key-title {
  font-size: 16px;
}

.ncs-key-body {
  margin: 0;
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute-2);
}

.ncs-key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ncs-key-actions a.ncs-btn-sm {
  text-decoration: none;
}

.ncs-key-paste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.ncs-key-label {
  font-size: 12px;
  color: var(--mute);
}

.ncs-key-row {
  display: flex;
  gap: 8px;
}

.ncs-key-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid rgba(58, 49, 40, 0.16);
  border-radius: 999px;
  background: var(--panel);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}

/* Opening a manage link (shell.js OwnerSwitchHost): asked over any view, Cancel first. */
.ncs-switch-scrim {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(24, 19, 15, 0.55);
}

.ncs-switch {
  width: min(480px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 26px 26px 20px;
  border-radius: var(--r-xl);
  background: var(--cream);
  box-shadow: var(--shadow-pop);
  outline: none;
}

.ncs-switch-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  color: var(--brand);
}

.ncs-switch-lead,
.ncs-switch-warn,
.ncs-switch-mine p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.ncs-switch-lead--empty {
  font-weight: 500;
  color: var(--ncs-warn, #a2443a);
}

.ncs-switch-warn {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fbefe9;
  color: var(--ncs-warn, #a2443a);
}

.ncs-switch-mine {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.ncs-switch-mine p {
  color: var(--mute-2);
}

.ncs-switch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

@media (max-width: 480px) {
  .ncs-switch {
    padding: 22px 18px 18px;
  }
}

.ncs-unsaved {
  border: 1px solid rgba(162, 68, 58, 0.35);
  background: #fbefe9;
  color: var(--ncs-warn);
}

/* A classic invitation (made in the earlier editor): listed, never edited here. */
.ncs-classic {
  border: 1px solid rgba(58, 49, 40, 0.18);
  background: transparent;
  color: var(--mute-2, #6b5f53);
}

.ncs-row-note {
  max-width: 46ch;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--mute);
}

.ncs-work--classic .ncs-row-thumb {
  filter: grayscale(0.6);
  opacity: 0.8;
}

.ncs-earlier {
  margin-left: 6px;
  background: transparent;
  border: 1px dashed rgba(58, 49, 40, 0.2);
  color: var(--mute);
}

.ncs-tr-earlier > * {
  opacity: 0.6;
}

.ncs-tr-earlier > .ncs-td-actions {
  opacity: 1;
}

/* ───── Responsive ───── */

@media (max-width: 1180px) {
  .ncs-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  }
}

@media (max-width: 979px) {
  .ncs-root {
    grid-template-columns: minmax(0, 1fr);
  }

  .ncs-side {
    position: fixed;
    top: var(--ncs-top-h, 64px);
    left: 0;
    right: 0;
    z-index: 35;
    height: auto;
    max-height: calc(100vh - var(--ncs-top-h, 64px));
    padding: 16px 16px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(58, 49, 40, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 200ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms;
  }

  .ncs-root--open .ncs-side {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 200ms var(--ease), transform 220ms var(--ease);
  }

  .ncs-side .ncs-brand {
    display: none;
  }

  .ncs-passcard {
    margin-top: 0;
  }

  .ncs-scrim {
    display: block;
    position: fixed;
    top: var(--ncs-top-h, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 34;
    background: rgba(58, 49, 40, 0.28);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms, visibility 0s linear 200ms;
  }

  .ncs-root--open .ncs-scrim {
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms;
  }

  .ncs-top {
    gap: 12px;
    padding: 12px 20px;
  }

  .ncs-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line-2);
    border-radius: 50%;
    background: var(--panel);
    color: var(--ink);
    cursor: pointer;
  }

  .ncs-top-brand {
    display: block;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--f-script);
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    color: var(--brand);
    cursor: pointer;
  }

  .ncs-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .ncs-hero-img {
    order: -1;
    min-height: 220px;
  }

  .ncs-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ncs-passchip {
    display: none;
  }
}

@media (max-width: 640px) {
  .ncs-top {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 10px 16px;
  }

  .ncs-search {
    order: 5;
    flex: 1 0 100%;
    max-width: none;
    padding: 9px 16px;
  }

  .ncs-page {
    padding: 22px 16px 48px;
  }

  .ncs-featured {
    gap: 28px;
  }

  .ncs-hero-copy {
    gap: 10px;
    padding: 22px 22px 24px;
  }

  .ncs-hero-kicker {
    font-size: 11.5px;
  }

  .ncs-hero-title {
    font-size: 30px;
  }

  :root[data-lang='zh'] .ncs-hero-title {
    font-size: 26px;
  }

  .ncs-hero-img {
    min-height: 180px;
  }

  .ncs-hero-nav {
    margin-top: 10px;
  }

  .ncs-h2 {
    font-size: 27px;
  }

  .ncs-grid,
  .ncs-grid--hot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .ncs-thumb,
  .ncs-card--hot .ncs-thumb {
    height: auto;
    aspect-ratio: 3 / 4;
  }

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

  .ncs-style-card {
    padding: 16px;
  }

  .ncs-style-name {
    font-size: 18px;
  }

  .ncs-filter-row {
    flex-direction: column;
    gap: 8px;
  }

  .ncs-filter-label {
    flex-basis: auto;
    padding-top: 0;
  }

  .ncs-pills {
    flex-wrap: nowrap;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ncs-pills::-webkit-scrollbar {
    display: none;
  }

  .ncs-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 12px;
  }

  .ncs-row-thumb {
    width: 64px;
    height: 64px;
  }

  .ncs-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 8px;
  }

  /* The meta line already names the status; drop the chip so the actions fit one line. */
  .ncs-work .ncs-row-actions .ncs-status {
    display: none;
  }

  .ncs-work .ncs-btn-sm {
    padding: 8px 13px;
  }

  .ncs-work .ncs-icon-btn {
    margin-left: auto;
  }

  .ncs-order {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ncs-order .ncs-row-text {
    grid-column: 1 / -1;
  }

  .ncs-pv-actions {
    width: 100%;
    margin-left: 0;
  }

  .ncs-pv-actions .ncs-btn-hero {
    flex: 1;
  }

  .ncs-phone {
    height: min(810px, calc(100svh - 120px));
    min-height: 560px;
  }

  .ncs-acct-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
  }

  .ncs-acct-label {
    grid-column: 1 / -1;
  }

  .ncs-rep-actions {
    margin-left: 0;
  }

  .ncs-tile-n {
    font-size: 34px;
  }
}

/* The replies table on a phone: one card per reply — name, reply and head count on top, the rest below with the
   column name beside each value — instead of a table that scrolls sideways out of sight. */
@media (max-width: 640px) {
  .ncs-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .ncs-table {
    min-width: 0;
  }

  .ncs-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ncs-table,
  .ncs-table tbody {
    display: block;
  }

  .ncs-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(58, 49, 40, 0.08);
    border-radius: 14px;
    background: var(--panel);
  }

  .ncs-table th,
  .ncs-table td {
    padding: 0;
    border: 0;
  }

  .ncs-table tbody tr:last-child > * {
    border-bottom: 0;
  }

  .ncs-table .ncs-td-name {
    grid-column: 1;
    white-space: normal;
  }

  .ncs-table td[data-label] {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    gap: 10px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .ncs-table td[data-label]::before {
    content: attr(data-label);
    flex: 0 0 34%;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
  }

  /* Reply and head count come first, right under the name. */
  .ncs-table td.ncs-td-reply[data-label],
  .ncs-table td.ncs-td-guests[data-label] {
    order: 2;
    text-align: left;
  }

  .ncs-td-note {
    max-width: none;
  }

  .ncs-table .ncs-td-actions {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .ncs-table .ncs-td-empty {
    grid-column: 1 / -1;
    padding: 20px 0;
  }

  .ncs-key-row {
    flex-direction: column;
  }
}
