/* Thai Namthip design system — Red only */

:root,
html,
html[data-theme="red"] {
  /* Thai Namthip / Coca-Cola Red */
  --gd-brand-deep: #9e1218;
  --gd-brand: #e31c23;
  --gd-brand-mid: #ef4b50;
  --gd-brand-soft: #f8d9db;
  --gd-brand-softest: #fceeee;
  --gd-primary: #e31c23;
  --gd-primary-hover: #ef3339;
  --gd-secondary: #6b7280;
  --gd-neutral: #857778;
  --gd-bg: #f7f3f3;
  --gd-surface: #ffffff;
  --gd-surface-2: #f3eaea;
  --gd-surface-3: #eadfdf;
  --gd-text: #2a1e1e;
  --gd-text-secondary: #6f5f5f;
  --gd-border: #e5d4d5;
  --gd-warning: #d97706;
  --gd-error: #9e1218;
  --gd-sidebar: var(--gd-brand-soft);
  --gd-sidebar-text: var(--gd-brand-deep);
  --gd-sidebar-muted: #8a4a4d;
  --gd-sidebar-active: #f0c4c6;
  --gd-topbar: var(--gd-brand);
  --gd-topbar-text: #ffffff;
  --gd-topbar-muted: rgba(255, 255, 255, 0.88);
  --gd-toggle-track: rgba(255, 255, 255, 0.24);
  --gd-landing-glow: rgba(227, 28, 35, 0.12);
  --gd-space: 8px;
  --gd-radius-sm: 4px;
  --gd-radius-md: 8px;
  --gd-radius-pill: 9999px;
  --gd-font: "DM Sans", system-ui, sans-serif;
  --gd-font-code: "JetBrains Mono", ui-monospace, monospace;
  --gd-sidebar-w: 240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--gd-bg);
  color: var(--gd-text);
  font-family: var(--gd-font);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.gd-label {
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gd-text-secondary);
}

.gd-page-title {
  margin: 0;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gd-section-title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gd-body-sm {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--gd-text-secondary);
}

.gd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 32px;
  border: none;
  border-radius: var(--gd-radius-pill);
  background: var(--gd-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.gd-btn:hover {
  background: var(--gd-primary-hover);
  transform: scale(1.04);
}

.gd-btn--lg {
  height: 48px;
  padding: 0 40px;
  font-size: 14px;
}

.gd-btn--secondary {
  background: transparent;
  border: 1px solid #727272;
  color: var(--gd-text);
}

.gd-btn--secondary:hover {
  background: var(--gd-surface-2);
}

.gd-btn--ghost {
  background: transparent;
  color: var(--gd-neutral);
  padding: 0 12px;
}

.gd-btn--ghost:hover {
  color: var(--gd-text);
  background: transparent;
  transform: none;
}

/* Landing */
.gd-landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--gd-landing-glow), transparent),
    var(--gd-bg);
}

.gd-landing__theme {
  position: absolute;
  top: 24px;
  right: 24px;
}

/* Theme segmented toggle */
.gd-theme-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  gap: 2px;
  border-radius: var(--gd-radius-pill);
  background: var(--gd-toggle-track);
}

.gd-theme-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: none;
  border-radius: var(--gd-radius-pill);
  background: transparent;
  color: var(--gd-text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.gd-theme-toggle__btn.is-active {
  background: var(--gd-surface);
  color: var(--gd-text);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

html[data-theme="red"] .gd-theme-toggle__btn.is-active {
  box-shadow: 0 1px 3px rgba(158, 18, 24, 0.18);
}

.gd-theme-toggle__btn:hover:not(.is-active) {
  color: var(--gd-text);
}

.gd-landing__inner {
  width: min(720px, 100%);
  text-align: center;
}

.gd-landing__brand {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gd-landing__lead {
  margin: 0 0 40px;
  color: var(--gd-text-secondary);
  font-size: 16px;
  line-height: 22px;
}

.gd-role-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .gd-role-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gd-role-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 24px 16px;
  background: var(--gd-surface);
  border-radius: var(--gd-radius-md);
  transition: background 200ms ease, transform 200ms ease;
}

.gd-role-card:hover {
  background: var(--gd-surface-2);
  transform: scale(1.02);
}

.gd-role-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.gd-role-card__desc {
  margin: 0;
  flex: 1;
  color: var(--gd-text-secondary);
  font-size: 14px;
  line-height: 22px;
}

/* App shell */
.gd-shell {
  display: grid;
  grid-template-columns: var(--gd-sidebar-w) 1fr;
  min-height: 100vh;
}

.gd-sidebar {
  background: var(--gd-sidebar);
  color: var(--gd-sidebar-text);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.gd-sidebar__logo {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gd-sidebar-text);
}

.gd-sidebar__logo span {
  color: var(--gd-brand);
}

.gd-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gd-nav a {
  color: var(--gd-sidebar-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--gd-radius-sm);
  transition: color 150ms ease, background 150ms ease;
}

.gd-nav a:hover,
.gd-nav a.is-active {
  color: var(--gd-brand-deep);
  background: var(--gd-sidebar-active);
}

.gd-main {
  padding: 32px;
  background: var(--gd-bg);
}

.gd-empty {
  margin-top: 40px;
  padding: 48px 24px;
  background: var(--gd-surface);
  border-radius: var(--gd-radius-md);
  text-align: center;
}

.gd-empty h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.gd-empty p {
  margin: 0;
  color: var(--gd-text-secondary);
}

.gd-sidebar {
  position: relative;
}

.gd-sidebar__foot {
  margin-top: auto;
  padding-top: 16px;
}

.gd-sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gd-sidebar-muted);
}

.gd-sidebar__user strong {
  display: block;
  color: var(--gd-sidebar-text);
  font-size: 14px;
}

.gd-sidebar__user small {
  font-size: 11px;
}

.gd-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--gd-radius-pill);
  background: var(--gd-brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.gd-workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.gd-topbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: var(--gd-topbar);
  color: var(--gd-topbar-text);
  border-bottom: none;
}

.gd-topbar__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gd-topbar__title {
  color: var(--gd-topbar-text);
}

.gd-topbar__meta {
  color: var(--gd-topbar-muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gd-topbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gd-topbar .gd-theme-toggle {
  background: var(--gd-toggle-track);
}

.gd-topbar .gd-theme-toggle__btn {
  color: var(--gd-topbar-muted);
}

.gd-topbar .gd-theme-toggle__btn.is-active {
  background: #ffffff;
  color: var(--gd-brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

.gd-topbar .gd-theme-toggle__btn:hover:not(.is-active) {
  color: #ffffff;
}

.gd-icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--gd-radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
}

.gd-icon-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gd-field,
.gd-select,
.gd-textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: var(--gd-radius-sm);
  background: var(--gd-surface-2);
  color: var(--gd-text);
  font: inherit;
}

.gd-textarea {
  height: auto;
  padding: 12px;
  resize: vertical;
}

.gd-field:focus,
.gd-select:focus,
.gd-textarea:focus {
  outline: 1px solid var(--gd-text);
}

.gd-field::placeholder,
.gd-textarea::placeholder {
  color: var(--gd-neutral);
}

.gd-card {
  background: var(--gd-surface);
  border-radius: var(--gd-radius-md);
  padding: 16px;
}

.gd-card + .gd-card {
  margin-top: 16px;
}

.gd-card__label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gd-text-secondary);
}

.gd-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

@media (min-width: 900px) {
  .gd-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gd-stat {
  background: var(--gd-surface);
  border-radius: var(--gd-radius-md);
  padding: 16px;
}

.gd-stat__k {
  margin: 0;
  color: var(--gd-text-secondary);
  font-size: 12px;
}

.gd-stat__v {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gd-stat__v.is-alert {
  color: var(--gd-error);
}

.gd-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--gd-radius-md);
  background: rgba(226, 33, 52, 0.12);
  color: var(--gd-error);
  font-weight: 700;
  margin-bottom: 16px;
}

html[data-theme="red"] .gd-alert {
  background: rgba(227, 28, 35, 0.12);
  color: var(--gd-brand-deep);
}

.gd-chip-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.gd-day-chip {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 12px;
  border-radius: var(--gd-radius-md);
  background: var(--gd-surface);
  text-align: center;
}

.gd-day-chip.is-absent {
  background: rgba(226, 33, 52, 0.18);
}

.gd-day-chip strong {
  display: block;
  font-size: 12px;
}

.gd-day-chip span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--gd-text-secondary);
}

.gd-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 8px;
}

.gd-toolbar .gd-select {
  width: auto;
  min-width: 180px;
}

.gd-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 16px 0;
  color: var(--gd-text-secondary);
  font-size: 12px;
}

.gd-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}

.gd-legend i.dot {
  border-radius: 50%;
  background: var(--gd-error);
}

.gd-grid-wrap {
  overflow-x: auto;
  background: var(--gd-surface);
  border-radius: var(--gd-radius-md);
  padding: 12px;
}

.gd-att-grid {
  border-collapse: separate;
  border-spacing: 4px;
  min-width: 960px;
  width: 100%;
}

.gd-att-grid th,
.gd-att-grid td {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.gd-att-grid th {
  color: var(--gd-text-secondary);
  font-weight: 700;
  padding: 4px;
}

.gd-att-grid .name {
  text-align: left;
  white-space: nowrap;
  padding-right: 12px;
  color: var(--gd-text);
  font-weight: 700;
}

.gd-cell {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--gd-surface-2);
  color: var(--gd-text-secondary);
  position: relative;
  transition: transform 150ms ease, background 150ms ease;
}

.gd-cell:hover {
  transform: scale(1.04);
}

.gd-cell.is-a {
  background: rgba(226, 33, 52, 0.18);
  color: var(--gd-error);
  font-weight: 700;
}

html[data-theme="red"] .gd-cell.is-a {
  background: rgba(227, 28, 35, 0.18);
  color: var(--gd-brand-deep);
}

.gd-cell.is-work {
  background: rgba(227, 28, 35, 0.22);
  color: var(--gd-primary-hover);
}

.gd-cell.is-leave {
  background: rgba(59, 130, 246, 0.28);
  color: #93c5fd;
  font-weight: 700;
  font-size: 11px;
}

.gd-cell.is-off {
  background: rgba(83, 83, 83, 0.45);
  color: #c4c4c4;
  font-weight: 700;
  font-size: 10px;
}

.gd-day-chip.is-leave {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.gd-cell.has-dot::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gd-error);
}

.gd-foot-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Check-in */
.gd-photo-box {
  margin-top: 16px;
  padding: 24px 16px;
  border-radius: var(--gd-radius-md);
  background: var(--gd-surface-2);
  text-align: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.gd-photo-box:hover {
  background: var(--gd-surface-3);
  transform: scale(1.01);
}

.gd-photo-box__icon {
  width: 56px;
  height: 56px;
  margin: 12px auto;
  border-radius: var(--gd-radius-pill);
  background: rgba(227, 28, 35, 0.2);
  color: var(--gd-primary);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.gd-photo-box__hint {
  color: var(--gd-text-secondary);
  font-size: 12px;
}

.gd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--gd-radius-pill);
  background: rgba(245, 155, 35, 0.18);
  color: var(--gd-warning);
  font-weight: 700;
  font-size: 12px;
}

.gd-status-pill.is-ok {
  background: rgba(227, 28, 35, 0.18);
  color: var(--gd-primary-hover);
}

.gd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.gd-leave-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gd-leave-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: var(--gd-radius-md);
  background: var(--gd-surface-2);
}

.gd-leave-item strong {
  display: block;
  font-size: 14px;
}

.gd-home-hint {
  margin-top: 8px;
}

.gd-home-links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  grid-template-columns: 1fr;
}

.gd-action-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
  min-height: 72px;
  background: var(--gd-surface);
  border-radius: var(--gd-radius-md);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: background 160ms ease, transform 160ms ease;
}

.gd-action-card:active {
  transform: scale(0.99);
}

.gd-action-card:hover {
  background: var(--gd-surface-2);
}

.gd-action-card__ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gd-brand-softest);
  color: var(--gd-brand);
  font-size: 20px;
  font-weight: 800;
}

.gd-action-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.gd-action-card__desc {
  margin: 4px 0 0;
  color: var(--gd-text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.gd-action-card__go {
  color: var(--gd-primary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.gd-tabbar {
  display: none;
}

.gd-only-mobile {
  display: none !important;
}

.gd-only-desktop {
  display: inline-flex !important;
}

.gd-topbar__meta--mobile {
  display: none;
}

.gd-icon-btn--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (min-width: 720px) {
  .gd-home-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gd-home-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile-first app chrome */
@media (max-width: 800px) {
  .gd-shell {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }

  .gd-shell--field {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .gd-sidebar {
    display: none;
  }

  .gd-workspace {
    min-height: 100dvh;
  }

  .gd-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 56px;
    padding: 0 12px 0 16px;
  }

  .gd-topbar__title {
    font-size: 15px;
  }

  .gd-topbar__meta--desktop {
    display: none;
  }

  .gd-topbar__meta--mobile {
    display: block;
  }

  .gd-topbar__right {
    gap: 6px;
  }

  .gd-theme-toggle__txt {
    display: none;
  }

  .gd-theme-toggle__btn {
    padding: 0 10px;
    min-width: 36px;
    justify-content: center;
  }

  .gd-only-mobile {
    display: inline-flex !important;
  }

  .gd-only-desktop {
    display: none !important;
  }

  .gd-main {
    padding: 16px 16px 24px;
  }

  .gd-page-title {
    font-size: 26px;
    line-height: 32px;
  }

  .gd-btn,
  .gd-btn--lg {
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 12px 20px;
  }

  .gd-actions {
    flex-direction: column;
  }

  .gd-actions .gd-btn,
  .gd-actions .gd-btn--lg {
    width: 100%;
  }

  .gd-leave-item {
    flex-direction: column;
    align-items: stretch;
  }

  .gd-leave-item .gd-actions {
    width: 100%;
  }

  .gd-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
  }

  .gd-stat__v {
    font-size: 22px;
  }

  .gd-toolbar {
    flex-direction: column;
  }

  .gd-toolbar .gd-select,
  .gd-toolbar label {
    width: 100%;
    min-width: 0;
  }

  .gd-foot-actions {
    position: sticky;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    justify-content: stretch;
    margin: 16px -16px -8px;
    padding: 12px 16px;
    background: linear-gradient(180deg, transparent, var(--gd-bg) 30%);
  }

  .gd-foot-actions .gd-btn {
    width: 100%;
  }

  .gd-grid-wrap {
    margin: 0 -4px;
  }

  .gd-tabbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--gd-brand-soft);
    border-top: 1px solid var(--gd-border);
    box-shadow: 0 -6px 18px rgba(36, 107, 60, 0.08);
  }

  .gd-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    border-radius: 12px;
    color: var(--gd-sidebar-muted);
    font-weight: 700;
    text-decoration: none;
  }

  .gd-tabbar__item.is-active {
    color: var(--gd-brand-deep);
    background: #ffffff;
  }

  .gd-tabbar__ico {
    font-size: 18px;
    line-height: 1;
  }

  .gd-tabbar__lbl {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .gd-landing {
    padding: 72px 16px 32px;
    align-content: start;
  }

  .gd-landing__theme {
    top: 12px;
    right: 12px;
  }

  .gd-role-grid {
    gap: 12px;
  }

  .gd-role-card {
    text-align: left;
    padding: 16px;
  }

  .gd-role-card .gd-btn {
    width: 100%;
  }
}

/* —— Merchandise home — ศูนย์จัดการหลัก (แบบ Report-KC tiles) —— */
.gd-ah__hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.gd-ah__avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(227, 28, 35, 0.2);
  color: var(--gd-primary);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

html[data-theme="red"] .gd-ah__avatar {
  background: rgba(226, 33, 52, 0.16);
  color: var(--gd-brand-deep);
}

.gd-ah__name {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--gd-text);
}

.gd-ah__sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--gd-text-secondary);
}

.gd-ah__banner {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(227, 28, 35, 0.16), rgba(227, 28, 35, 0.06));
  border: 1px solid rgba(227, 28, 35, 0.22);
  color: var(--gd-text);
  font-size: 13px;
  margin-bottom: 14px;
}

html[data-theme="red"] .gd-ah__banner {
  background: linear-gradient(135deg, rgba(226, 33, 52, 0.14), rgba(226, 33, 52, 0.05));
  border-color: rgba(226, 33, 52, 0.22);
}

.gd-ah__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .gd-ah__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gd-ah__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: 16px;
  padding: 18px 12px 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gd-ah__tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: rgba(227, 28, 35, 0.35);
}

html[data-theme="red"] .gd-ah__tile:hover {
  border-color: rgba(226, 33, 52, 0.35);
}

.gd-ah__tile:active {
  transform: translateY(0);
}

.gd-ah__tile--muted {
  opacity: 0.72;
  cursor: default;
}

.gd-ah__soon {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--gd-surface-2);
  color: var(--gd-text-secondary);
}

.gd-ah__ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 10px;
  background: var(--gd-surface-2);
}

.gd-ah__ic--checkin {
  background: rgba(227, 28, 35, 0.18);
  color: var(--gd-primary);
}

html[data-theme="red"] .gd-ah__ic--checkin {
  background: rgba(226, 33, 52, 0.14);
  color: var(--gd-brand-deep);
}

.gd-ah__ic--leave {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.gd-ah__ic--time {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.gd-ah__ic--profile,
.gd-ah__ic--team {
  background: rgba(124, 58, 237, 0.14);
  color: #a78bfa;
}

.gd-ah__ic--osa {
  background: rgba(83, 83, 83, 0.2);
  color: #a3a3a3;
}

.gd-ah__t {
  font-size: 14px;
  font-weight: 800;
  color: var(--gd-text);
  line-height: 1.25;
}

.gd-ah__d {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--gd-text-secondary);
}

.gd-ah__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.gd-ah__kpi {
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

.gd-ah__kpi b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--gd-text);
}

.gd-ah__kpi span {
  font-size: 11px;
  color: var(--gd-text-secondary);
}

/* —— Leave / Swap + Supervisor approval (แบบ Report-KC) —— */
.gd-ls__hdr {
  margin-bottom: 14px;
}

.gd-ls__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gd-text-secondary);
}

.gd-ls__title {
  margin: 4px 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--gd-text);
}

.gd-ls__sub {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--gd-text-secondary);
  line-height: 1.45;
}

.gd-ls__pending {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
  cursor: pointer;
  font: inherit;
}

.gd-ls__pending strong {
  display: block;
  font-size: 14px;
}

.gd-ls__pending small {
  display: block;
  margin-top: 2px;
  color: var(--gd-text-secondary);
  font-size: 12px;
}

.gd-ls__pending-badge {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f59e0b;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.gd-ls__acc {
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}

.gd-ls__acc-hdr {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gd-ls__ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--gd-surface-2);
}

.gd-ls__ic--swap {
  background: rgba(59, 130, 246, 0.16);
  color: #60a5fa;
}

.gd-ls__ic--leave {
  background: rgba(227, 28, 35, 0.16);
  color: var(--gd-primary);
}

html[data-theme="red"] .gd-ls__ic--leave {
  background: rgba(226, 33, 52, 0.14);
  color: var(--gd-brand-deep);
}

.gd-ls__ic--half {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.gd-ls__acc-titles {
  flex: 1;
  min-width: 0;
}

.gd-ls__acc-title {
  display: block;
  font-weight: 800;
  font-size: 15px;
}

.gd-ls__acc-sub {
  display: block;
  font-size: 12px;
  color: var(--gd-text-secondary);
  margin-top: 2px;
}

.gd-ls__chev {
  color: var(--gd-text-secondary);
}

.gd-ls__acc-body {
  padding: 0 14px 14px;
  border-top: 1px solid var(--gd-border);
}

.gd-ls__field {
  margin-top: 10px;
}

.gd-ls__submit {
  width: 100%;
  margin-top: 14px;
}

.gd-ls__pend-list {
  text-align: left;
  margin-bottom: 14px;
}

.gd-ls__pend-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--gd-border);
}

.gd-ls__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.gd-ls__tab {
  flex: 1;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--gd-border);
  background: var(--gd-surface-2);
  color: var(--gd-text-secondary);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.gd-ls__tab.is-on {
  background: rgba(227, 28, 35, 0.16);
  border-color: rgba(227, 28, 35, 0.35);
  color: var(--gd-text);
}

html[data-theme="red"] .gd-ls__tab.is-on {
  background: rgba(226, 33, 52, 0.14);
  border-color: rgba(226, 33, 52, 0.35);
}

.gd-ls__tab-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
}

.gd-ls__approve-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gd-ls__approve-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.gd-ls__req {
  background: var(--gd-surface);
  border: 1px solid var(--gd-border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.gd-ls__req.is-approved {
  border-color: rgba(227, 28, 35, 0.4);
}

.gd-ls__req.is-rejected {
  opacity: 0.75;
}

.gd-ls__req-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.gd-ls__req-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.gd-ls__btn-ok {
  flex: 1;
  background: rgba(227, 28, 35, 0.9);
}

html[data-theme="red"] .gd-ls__btn-ok {
  background: var(--gd-brand-deep);
}

.gd-ls__btn-no {
  flex: 1;
}

.gd-ls__center-btn {
  width: 100%;
  margin-top: 8px;
}

/* —— Merchandise Check-in — soft modern + live GPS —— */
.gd-ci {
  max-width: 520px;
  margin: 0 auto;
}

.gd-ci__hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px 18px 16px;
  margin-bottom: 14px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(227, 28, 35, 0.22), transparent 55%),
    linear-gradient(160deg, var(--gd-surface) 0%, var(--gd-surface-2) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

html[data-theme="red"] .gd-ci__hero {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(226, 33, 52, 0.2), transparent 55%),
    linear-gradient(160deg, var(--gd-surface) 0%, var(--gd-surface-2) 100%);
}

.gd-ci__hero-glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(227, 28, 35, 0.12);
  filter: blur(8px);
  pointer-events: none;
}

html[data-theme="red"] .gd-ci__hero-glow {
  background: rgba(226, 33, 52, 0.14);
}

.gd-ci__hero-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.gd-ci__pulse {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(227, 28, 35, 0.16);
  flex-shrink: 0;
}

html[data-theme="red"] .gd-ci__pulse {
  background: rgba(226, 33, 52, 0.14);
}

.gd-ci__pulse span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gd-primary);
  box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.45);
  animation: gd-ci-pulse 1.8s ease-out infinite;
}

html[data-theme="red"] .gd-ci__pulse span {
  background: var(--gd-brand-deep);
  box-shadow: 0 0 0 0 rgba(226, 33, 52, 0.4);
}

@keyframes gd-ci-pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(227, 28, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 28, 35, 0); }
}

.gd-ci__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gd-text-secondary);
}

.gd-ci__title {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.gd-ci__title-in { color: var(--gd-primary); }
html[data-theme="red"] .gd-ci__title-in { color: var(--gd-brand-deep); }
.gd-ci__title-sep { color: var(--gd-text-secondary); font-weight: 600; }
.gd-ci__title-out { color: var(--gd-text); }

.gd-ci__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.gd-ci__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--gd-text-secondary);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

html[data-theme="red"] .gd-ci__chip,
html[data-theme="red"] .gd-ci__chip {
  background: color-mix(in srgb, var(--gd-surface) 70%, transparent);
}

.gd-ci__steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gd-ci__steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 999px;
  background: var(--gd-surface-2);
  color: var(--gd-text-secondary);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gd-ci__steps li span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.08);
  font-size: 11px;
}

.gd-ci__steps li.is-on {
  background: rgba(227, 28, 35, 0.14);
  color: var(--gd-text);
  transform: translateY(-1px);
}

html[data-theme="red"] .gd-ci__steps li.is-on {
  background: rgba(226, 33, 52, 0.12);
}

.gd-ci__steps li.is-on span {
  background: var(--gd-primary);
  color: #fff;
}

html[data-theme="red"] .gd-ci__steps li.is-on span {
  background: var(--gd-brand-deep);
}

.gd-ci__steps li.is-done {
  color: var(--gd-primary);
}

.gd-ci__panel {
  background: var(--gd-surface);
  border-radius: 22px;
  padding: 18px 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.gd-ci__panel-label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gd-text-secondary);
}

.gd-ci__mt { margin-top: 16px; }

.gd-ci__status p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--gd-text-secondary);
  line-height: 1.45;
}

.gd-ci__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.gd-ci__pill--idle {
  background: rgba(245, 158, 11, 0.16);
  color: #d97706;
}

.gd-ci__pill--live {
  background: rgba(227, 28, 35, 0.16);
  color: var(--gd-primary);
}

html[data-theme="red"] .gd-ci__pill--live {
  background: rgba(226, 33, 52, 0.14);
  color: var(--gd-brand-deep);
}

.gd-ci__select,
.gd-ci__input,
.gd-ci__textarea {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--gd-surface-2);
  color: var(--gd-text);
  font: inherit;
  padding: 14px 14px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.gd-ci__select,
.gd-ci__input {
  height: 48px;
}

.gd-ci__textarea {
  resize: vertical;
  min-height: 72px;
}

.gd-ci__select:focus,
.gd-ci__input:focus,
.gd-ci__textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(227, 28, 35, 0.35);
}

html[data-theme="red"] .gd-ci__select:focus,
html[data-theme="red"] .gd-ci__input:focus,
html[data-theme="red"] .gd-ci__textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(226, 33, 52, 0.35);
}

.gd-ci__other {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.03);
}

.gd-ci__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--gd-text-secondary);
}

.gd-ci__req { color: var(--gd-error); }

.gd-ci__photo {
  border-radius: 20px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(227, 28, 35, 0.06), transparent 40%),
    var(--gd-surface-2);
  border: 1.5px dashed rgba(227, 28, 35, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

html[data-theme="red"] .gd-ci__photo {
  background:
    linear-gradient(180deg, rgba(226, 33, 52, 0.06), transparent 40%),
    var(--gd-surface-2);
  border-color: rgba(226, 33, 52, 0.35);
}

.gd-ci__photo:hover {
  transform: translateY(-1px);
}

.gd-ci__photo-empty {
  text-align: center;
  padding: 18px 8px 8px;
}

.gd-ci__cam {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.gd-ci__photo-empty p {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

.gd-ci__photo-empty small {
  color: var(--gd-text-secondary);
}

.gd-ci__preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
}

.gd-ci__photo-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.gd-ci__chip-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: rgba(227, 28, 35, 0.14);
  color: var(--gd-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

html[data-theme="red"] .gd-ci__chip-btn {
  background: rgba(226, 33, 52, 0.12);
}

.gd-ci__chip-btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.gd-ci__gps-card {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.gd-ci__gps-card[data-state="ready"] {
  background: rgba(227, 28, 35, 0.1);
  border-color: rgba(227, 28, 35, 0.25);
}

.gd-ci__gps-card[data-state="error"] {
  background: rgba(226, 33, 52, 0.08);
  border-color: rgba(226, 33, 52, 0.22);
}

.gd-ci__gps-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
  animation: gd-ci-blink 1.2s ease-in-out infinite;
}

.gd-ci__gps-card[data-state="ready"] .gd-ci__gps-dot {
  background: var(--gd-primary);
  animation: none;
}

.gd-ci__gps-card[data-state="error"] .gd-ci__gps-dot {
  background: var(--gd-error);
  animation: none;
}

@keyframes gd-ci-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.gd-ci__gps-copy {
  flex: 1;
  min-width: 0;
}

.gd-ci__gps-copy strong {
  display: block;
  font-size: 13px;
}

.gd-ci__gps-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--gd-text-secondary);
  word-break: break-all;
}

.gd-ci__cta {
  margin-top: 16px;
}

.gd-ci__primary {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gd-primary), color-mix(in srgb, var(--gd-primary) 70%, #0b3d22));
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(227, 28, 35, 0.28);
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}

html[data-theme="red"] .gd-ci__primary {
  background: linear-gradient(135deg, #e31c23, #b01016);
  box-shadow: 0 12px 24px rgba(226, 33, 52, 0.28);
}

.gd-ci__primary:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.gd-ci__primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.gd-ci__primary--out {
  background: linear-gradient(135deg, #334155, #0f172a);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

.gd-ci__auto-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--gd-error);
  font-weight: 600;
  line-height: 1.4;
}

.gd-ci__map-link {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gd-primary);
}

html[data-theme="red"] .gd-ci__map-link {
  color: var(--gd-brand-deep);
}

.gd-ci-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 16, 28, 0.48);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: gd-ci-fade 0.2s ease;
}

@keyframes gd-ci-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gd-ci-modal[hidden] {
  display: none !important;
}

.gd-ci-modal__card {
  width: min(400px, 100%);
  background: var(--gd-surface);
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  animation: gd-ci-pop 0.25s ease;
}

@keyframes gd-ci-pop {
  from { transform: translateY(12px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.gd-ci-modal__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(227, 28, 35, 0.18);
  color: var(--gd-primary);
  font-size: 28px;
  font-weight: 800;
}

.gd-ci-modal__icon.is-out {
  background: rgba(51, 65, 85, 0.16);
  color: #334155;
}

html[data-theme="red"] .gd-ci-modal__icon:not(.is-out) {
  background: rgba(226, 33, 52, 0.14);
  color: var(--gd-brand-deep);
}

.gd-ci-modal__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.gd-ci-modal__rows {
  text-align: left;
  margin-bottom: 14px;
}

.gd-ci-modal__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 13px;
}

.gd-ci-modal__row span {
  color: var(--gd-text-secondary);
}

.gd-ci-modal__photo-wrap img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

.gd-field {
  width: 100%;
  height: 44px;
  border-radius: 16px;
  border: 0;
  background: var(--gd-surface-2);
  color: var(--gd-text);
  padding: 0 12px;
  font: inherit;
  margin-top: 6px;
}
