:root {
   --blue-600: #155eef;
   --blue-700: #0f4ed1;
   --blue-50: #eef4ff;
   --blue-100: #dfeaff;
   --bg-soft: #f5f8fc;
   --ink-900: #0b1a33;
   --ink-700: #2b3a55;
   --ink-500: #5a6a85;
   --ink-300: #99a3b5;
   --line: #e5e9f0;
   --green-500: #2ea36a;
   --green-50: #e8f6ef;
   --red-500: #d92d20;
   --red-50: #fef3f2;
   --amber-500: #dc6803;
   --amber-50: #fffaeb;
   --radius-card: 18px;
   --radius-input: 12px;
   --radius-button: 10px;
   --shadow-soft:
      0 1px 2px rgba(11, 26, 51, 0.04), 0 8px 24px rgba(11, 26, 51, 0.06);
   --shadow-strong: 0 10px 30px rgba(21, 94, 239, 0.18);
}

* {
   box-sizing: border-box;
}
html,
body {
   margin: 0;
   padding: 0;
}

body {
   font-family:
      "Manrope",
      -apple-system,
      BlinkMacSystemFont,
      sans-serif;
   color: var(--ink-900);
   background:
      radial-gradient(
         1200px 600px at 50% -200px,
         var(--blue-50) 0%,
         transparent 60%
      ),
      var(--bg-soft);
   min-height: 100vh;
   -webkit-font-smoothing: antialiased;
   letter-spacing: -0.01em;
}

.app {
   max-width: 560px;
   margin: 0 auto;
   padding: 24px 20px 120px;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
}

.header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 28px;
}

.logo {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-weight: 800;
   font-size: 16px;
   letter-spacing: -0.02em;
   color: var(--ink-900);
}

.logo-mark {
   width: 28px;
   height: 28px;
   border-radius: 8px;
   background: var(--blue-600);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 10px rgba(21, 94, 239, 0.3);
}

.logo-mark svg {
   display: block;
}

.id-badge {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   font-size: 12px;
   font-weight: 600;
   color: var(--ink-500);
   background: #fff;
   border: 1px solid var(--line);
   padding: 6px 10px;
   border-radius: 999px;
}

.id-badge .dot {
   width: 6px;
   height: 6px;
   border-radius: 50%;
   box-shadow: 0 0 0 3px var(--green-50);
}

.id-badge .dot.green {
   background: var(--green-500);
}
.id-badge .dot.amber {
   background: var(--amber-500);
}
.id-badge .dot.red {
   background: var(--red-500);
}

.hero {
   margin-bottom: 24px;
}

.hero .eyebrow {
   display: inline-block;
   font-size: 12px;
   font-weight: 700;
   letter-spacing: 0.04em;
   text-transform: uppercase;
   color: var(--green-500);
   margin-bottom: 10px;
}

.hero h1 {
   font-size: 30px;
   line-height: 1.1;
   font-weight: 800;
   letter-spacing: -0.03em;
   margin: 0 0 10px;
}

.hero p {
   font-size: 15px;
   line-height: 1.5;
   color: var(--ink-500);
   margin: 0;
   max-width: 44ch;
}

.started-warning {
   border: 1px solid var(--amber-500);
   background: var(--amber-50);
   color: #7a4a00;
   border-radius: var(--radius-card);
   padding: 12px 14px;
   font-size: 14px;
   font-weight: 600;
   line-height: 1.4;
   margin: -8px 0 18px;
}

.card {
   background: #fff;
   border-radius: var(--radius-card);
   padding: 22px;
   box-shadow: var(--shadow-soft);
   border: 1px solid var(--line);
   margin-bottom: 16px;
}

.card-header {
   display: flex;
   align-items: center;
   gap: 8px;
   margin-bottom: 16px;
   padding-bottom: 12px;
   border-bottom: 1px solid var(--line);
}

.card-number {
   width: 28px;
   height: 28px;
   border-radius: 8px;
   background: var(--blue-50);
   color: var(--blue-600);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   font-size: 14px;
}

.card-title {
   font-weight: 700;
   font-size: 15px;
   color: var(--ink-900);
}

.field {
   margin-bottom: 18px;
}
.field:last-child {
   margin-bottom: 0;
}

label {
   display: block;
   font-size: 13px;
   font-weight: 600;
   color: var(--ink-700);
   margin-bottom: 8px;
}

.field-label-row {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.5rem;
   min-block-size: 1.5rem;
   margin-bottom: 0.5rem;
}

.field-label-row > label {
   min-inline-size: 0;
   margin-bottom: 0;
}

.field-save-status {
   flex: 0 0 auto;
   min-inline-size: 4.75rem;
   min-block-size: 1.5rem;
   padding: 0.25rem 0.625rem;
   border: 0;
   border-radius: 999rem;
   background: color-mix(in srgb, currentColor 10%, transparent);
   color: var(--ink-500);
   font-size: 0.6875rem;
   font-weight: 600;
   line-height: 1.25;
   text-align: center;
}

.field-save-status:empty {
   visibility: hidden;
}

.field-save-status[data-state="saving"] {
   color: #7a4a00;
}

.field-save-status[data-state="saved"] {
   color: #17633f;
}

.field-save-status[data-state="updated"] {
   color: var(--blue-600);
}

.field-save-status[data-state="error"] {
   color: #9d1c14;
}

.input {
   width: 100%;
   font-family: inherit;
   font-size: 15px;
   color: var(--ink-900);
   padding: 13px 14px;
   border: 1px solid var(--line);
   border-radius: var(--radius-input);
   background: #fff;
   transition:
      border-color 0.15s,
      box-shadow 0.15s;
}

.input::placeholder {
   color: var(--ink-300);
}

.input:focus {
   outline: none;
   border-color: var(--blue-600);
   box-shadow: 0 0 0 4px var(--blue-100);
}

.input.required,
.input.error {
   border-color: var(--red-500);
   box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.input.required:focus,
.input.error:focus {
   border-color: var(--red-500);
   box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.18);
}

.upload {
   position: relative;
   border: 1.5px dashed #c8d2e3;
   border-radius: var(--radius-input);
   background: var(--blue-50);
   padding: 24px 18px;
   text-align: center;
   transition:
      border-color 0.15s,
      background 0.15s;
   cursor: pointer;
}

.upload:hover {
   border-color: var(--blue-600);
   background: #e6efff;
}

.upload.dragover {
   border-color: var(--blue-600);
   background: #dfeaff;
}

.upload.uploading {
   opacity: 0.7;
   pointer-events: none;
}

.upload-icon {
   width: 44px;
   height: 44px;
   border-radius: 12px;
   background: #fff;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 10px;
   box-shadow: 0 2px 6px rgba(11, 26, 51, 0.06);
}

.upload-title {
   font-size: 14px;
   font-weight: 600;
   color: var(--ink-900);
   margin-bottom: 2px;
}

.upload-hint {
   font-size: 12px;
   color: var(--ink-500);
}

.upload input[type="file"] {
   position: absolute;
   inset: 0;
   opacity: 0;
   cursor: pointer;
}

.preview {
   position: relative;
   border-radius: var(--radius-input);
   overflow: hidden;
   background: #0b1a33;
   aspect-ratio: 1.586 / 1;
   display: none;
}

.preview.show {
   display: block;
}

.preview img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

.preview-actions {
   position: absolute;
   top: 10px;
   right: 10px;
   display: flex;
   gap: 6px;
}

.preview-btn {
   background: rgba(11, 26, 51, 0.7);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   border: none;
   color: #fff;
   font-family: inherit;
   font-size: 12px;
   font-weight: 600;
   padding: 7px 11px;
   border-radius: 8px;
   cursor: pointer;
   transition: background 0.15s;
}

.preview-btn:hover {
   background: rgba(11, 26, 51, 0.9);
}

.preview-meta {
   position: absolute;
   bottom: 10px;
   left: 10px;
   background: rgba(255, 255, 255, 0.95);
   color: var(--ink-700);
   font-size: 11px;
   font-weight: 600;
   padding: 5px 9px;
   border-radius: 6px;
}

.progress-bar {
   width: 100%;
   height: 4px;
   background: var(--line);
   border-radius: 2px;
   margin-top: 8px;
   overflow: hidden;
   display: none;
}

.progress-bar.show {
   display: block;
}

.progress-fill {
   height: 100%;
   background: var(--blue-600);
   border-radius: 2px;
   width: 0%;
   transition: width 0.3s;
}

.btn {
   display: inline-flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   font-family: inherit;
   font-size: 15px;
   font-weight: 700;
   padding: 13px 20px;
   border-radius: var(--radius-button);
   border: none;
   cursor: pointer;
   transition:
      transform 0.05s,
      background 0.15s,
      box-shadow 0.15s;
   width: 100%;
   text-decoration: none;
}

.btn-secondary {
   background: #fff;
   color: var(--ink-800);
   border: 1px solid var(--line);
   margin-top: 12px;
}

.btn-secondary:hover {
   background: var(--blue-50);
   border-color: var(--blue-100);
}

.btn-primary {
   background: var(--blue-600);
   color: #fff;
   box-shadow: var(--shadow-strong);
}

.btn-primary:hover {
   background: var(--blue-700);
}
.btn-primary:active {
   transform: translateY(1px);
}

.btn-primary:disabled {
   background: #c8d2e3;
   box-shadow: none;
   cursor: not-allowed;
}

.autosave-notice:disabled {
   background: var(--blue-600);
   cursor: default;
}

.submit-bar {
   position: fixed;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
   background: linear-gradient(to top, #fff 60%, rgba(255, 255, 255, 0));
}

.submit-bar-inner {
   max-width: 520px;
   margin: 0 auto;
}

.submit-bar .btn {
   justify-content: center;
   text-align: center;
}

.reassure {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 12px;
   color: var(--ink-500);
   margin-top: 16px;
   justify-content: center;
}

.reassure svg {
   flex-shrink: 0;
}

.toast {
   position: fixed;
   top: 20px;
   left: 50%;
   transform: translate(-50%, -120%);
   background: var(--ink-900);
   color: #fff;
   font-size: 14px;
   font-weight: 600;
   padding: 12px 18px;
   border-radius: 10px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
   transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
   z-index: 100;
   max-width: 90vw;
   text-align: center;
}

.toast:empty {
   display: none;
}

.toast.show {
   transform: translate(-50%, 0);
}

.state-screen {
   display: none;
   text-align: center;
   padding: 40px 20px;
   flex: 1;
}

.state-screen.show {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}

.state-icon {
   width: 72px;
   height: 72px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 18px;
}

.state-icon.success {
   background: var(--green-50);
   color: var(--green-500);
}
.state-icon.warning {
   background: var(--amber-50);
   color: var(--amber-500);
}
.state-icon.info {
   background: var(--blue-50);
   color: var(--blue-600);
}
.state-icon.error {
   background: var(--red-50);
   color: var(--red-500);
}

.state-screen h2 {
   font-size: 24px;
   font-weight: 800;
   letter-spacing: -0.02em;
   margin: 0 0 8px;
}

.state-screen p {
   font-size: 15px;
   color: var(--ink-500);
   margin: 0 0 24px;
   max-width: 40ch;
}

.state-screen .ref {
   display: inline-block;
   font-size: 13px;
   color: var(--ink-700);
   background: var(--blue-50);
   padding: 8px 14px;
   border-radius: 999px;
   font-weight: 600;
}

.registration-results {
   width: 100%;
   max-width: 520px;
   margin-top: 18px;
   text-align: left;
}

.registration-empty {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: 14px;
   padding: 14px;
   font-size: 13px;
   color: var(--ink-500);
}

.registration-card {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: 16px;
   padding: 14px;
   box-shadow: var(--shadow-soft);
   margin-bottom: 12px;
}

.registration-card-head {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   gap: 10px;
}

.registration-card-head h3 {
   margin: 0;
   font-size: 15px;
   font-weight: 700;
   color: var(--ink-900);
}

.registration-card-head p {
   margin: 4px 0 0;
   font-size: 12px;
   color: var(--ink-500);
}

.registration-pill {
   display: inline-flex;
   align-items: center;
   border-radius: 999px;
   padding: 4px 10px;
   font-size: 12px;
   font-weight: 700;
}

.registration-pill.is-registered {
   background: var(--green-50);
   color: var(--green-500);
}

.registration-pill.is-pending {
   background: var(--amber-50);
   color: var(--amber-500);
}

.registration-card-body {
   margin-top: 12px;
}

.registration-qr {
   width: 100%;
   max-width: 220px;
   display: block;
   margin: 0 auto;
   border: 1px solid var(--line);
   border-radius: 12px;
   background: #fff;
}

.registration-pending {
   font-size: 13px;
   color: var(--ink-500);
   background: var(--blue-50);
   border: 1px dashed var(--blue-100);
   border-radius: 12px;
   padding: 12px;
}

.registration-download {
   margin-top: 12px;
}

.wallet-icon {
   width: 32px;
   height: 32px;
   vertical-align: middle;
   margin-right: 6px;
   margin-top: -2px;
}

.spinner {
   width: 32px;
   height: 32px;
   border: 3px solid var(--line);
   border-top-color: var(--blue-600);
   border-radius: 50%;
   animation: spin 0.8s linear infinite;
   margin: 0 auto 18px;
}

@keyframes spin {
   to {
      transform: rotate(360deg);
   }
}

@media (max-width: 420px) {
   .hero h1 {
      font-size: 26px;
   }
   .app {
      padding: 20px 16px 120px;
   }
   .card {
      padding: 18px;
   }
}

/* ── Participant invite controls ───────── */

.participant-invite-controls {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 14px;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--radius-card);
   box-shadow: var(--shadow-soft);
   padding: 14px;
   margin: -4px 0 16px;
}

.participant-invite-copy {
   min-width: 0;
}

.participant-invite-title {
   font-size: 15px;
   font-weight: 800;
   color: var(--ink-900);
   margin-bottom: 2px;
}

.participant-invite-hint {
   font-size: 12px;
   line-height: 1.4;
   color: var(--ink-500);
}

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

.bulk-invite-open-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   flex: 0 0 auto;
   min-height: 38px;
   border: 1px solid var(--blue-100);
   border-radius: var(--radius-button);
   background: var(--blue-50);
   color: var(--blue-600);
   cursor: pointer;
   font-family: inherit;
   font-size: 13px;
   font-weight: 800;
   padding: 0 14px;
   white-space: nowrap;
   transition:
      color 0.15s,
      border-color 0.15s,
      background 0.15s;
}

.bulk-invite-open-btn:hover {
   border-color: var(--blue-600);
   background: #e6efff;
}

.bulk-invite-open-btn:disabled {
   cursor: not-allowed;
   opacity: 0.6;
}

/* ── Group tour controls ──────────────── */

.group-tour-controls {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   margin-top: 12px;
}

.add-customers-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 6px;
   width: 100%;
   padding: 12px 20px;
   border: 2px dashed var(--ink-300);
   border-radius: var(--radius-card);
   background: transparent;
   color: var(--ink-700);
   font-family: inherit;
   font-size: 15px;
   font-weight: 600;
   cursor: pointer;
   transition:
      border-color 0.2s,
      background 0.2s;
}

.add-customers-btn:hover {
   border-color: var(--blue-600);
   background: var(--blue-50);
}

.add-customers-btn svg {
   flex-shrink: 0;
}

.card-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.card-header .card-left {
   display: flex;
   align-items: center;
   gap: 8px;
   min-width: 0;
}

.card-status-dot {
   width: 9px;
   height: 9px;
   border-radius: 50%;
   flex: 0 0 auto;
}

.card-status-dot.is-incomplete {
   background: var(--red-500);
   box-shadow: 0 0 0 3px var(--red-50);
}

.card-status-dot.is-complete {
   background: var(--green-500);
   box-shadow: 0 0 0 3px var(--green-50);
}

.card-title {
   min-width: 0;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.card-toggle {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   flex: 1 1 auto;
   min-width: 0;
   padding: 0;
   border: 0;
   background: transparent;
   color: inherit;
   font: inherit;
   text-align: left;
   cursor: pointer;
}

.card-toggle:focus-visible {
   outline: 3px solid var(--blue-100);
   outline-offset: 4px;
   border-radius: 10px;
}

.card-chevron {
   width: 28px;
   height: 28px;
   border-radius: 8px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   color: var(--ink-500);
   background: var(--bg-soft);
   flex-shrink: 0;
   transition:
      transform 0.15s,
      color 0.15s,
      background 0.15s;
}

.card-toggle:hover .card-chevron {
   color: var(--blue-600);
   background: var(--blue-50);
}

.card.is-expanded .card-chevron {
   transform: rotate(180deg);
}

.card.is-collapsed .card-header {
   margin-bottom: 0;
   padding-bottom: 0;
   border-bottom: 0;
}

.card-body[hidden] {
   display: none;
}

.card-actions {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   flex-shrink: 0;
}

.customer-action-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 32px;
   border: 1px solid var(--blue-100);
   border-radius: 8px;
   background: var(--blue-50);
   color: var(--blue-600);
   cursor: pointer;
   font-family: inherit;
   font-size: 12px;
   font-weight: 700;
   padding: 0 10px;
   white-space: nowrap;
   transition:
      color 0.15s,
      border-color 0.15s,
      background 0.15s;
}

.customer-action-btn:hover {
   border-color: var(--blue-600);
   background: #e6efff;
}

.customer-action-btn--secondary {
   border-color: var(--line);
   background: #fff;
   color: var(--ink-700);
}

.delete-customer-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 32px;
   height: 32px;
   border: 1px solid var(--line);
   border-radius: 8px;
   background: transparent;
   color: var(--ink-500);
   cursor: pointer;
   font-size: 16px;
   transition:
      color 0.15s,
      border-color 0.15s,
      background 0.15s;
   line-height: 1;
   padding: 0;
}

.delete-customer-btn:hover {
   color: var(--red-500);
   border-color: var(--red-500);
   background: var(--red-50);
}

.not-attending-card .card-header {
   margin-bottom: 0.75rem;
}

.not-attending-copy {
   color: var(--ink-500);
   font-size: 0.875rem;
   line-height: 1.5;
   margin: 0;
}

/* ── Modal ──────────────────────────────── */

.modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(11, 26, 51, 0.45);
   display: flex;
   align-items: center;
   justify-content: center;
   z-index: 1000;
   padding: 20px;
   backdrop-filter: blur(4px);
   -webkit-backdrop-filter: blur(4px);
}

.modal {
   background: #fff;
   border-radius: var(--radius-card);
   box-shadow: var(--shadow-strong);
   max-width: 400px;
   width: 100%;
   padding: 24px;
   animation: modalIn 0.2s ease-out;
}

.modal.bulk-invite-modal {
   max-width: 680px;
   max-height: calc(100vh - 40px);
   overflow-y: auto;
}

@keyframes modalIn {
   from {
      opacity: 0;
      transform: translateY(12px) scale(0.97);
   }
   to {
      opacity: 1;
      transform: translateY(0) scale(1);
   }
}

.modal-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 8px;
}

.modal-header h3 {
   margin: 0;
   font-size: 20px;
   font-weight: 700;
   color: var(--ink-900);
}

.modal-close {
   background: none;
   border: none;
   font-size: 24px;
   color: var(--ink-300);
   cursor: pointer;
   padding: 4px;
   line-height: 1;
   transition: color 0.15s;
}

.modal-close:hover {
   color: var(--ink-700);
}

.modal-hint {
   margin: 0 0 16px;
   font-size: 14px;
   color: var(--ink-500);
}

.modal-presets {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 10px;
   margin-bottom: 16px;
}

.modal-presets .preset-btn {
   padding: 12px 8px;
   border: 2px solid var(--line);
   border-radius: var(--radius-button);
   background: #fff;
   font-family: inherit;
   font-size: 15px;
   font-weight: 600;
   color: var(--ink-700);
   cursor: pointer;
   transition:
      border-color 0.15s,
      background 0.15s;
}

.modal-presets .preset-btn:hover {
   border-color: var(--blue-600);
   background: var(--blue-50);
}

.modal-presets .preset-btn.selected {
   border-color: var(--blue-600);
   background: var(--blue-50);
   color: var(--blue-600);
}

.modal-custom {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 20px;
}

.modal-custom label {
   font-size: 14px;
   font-weight: 500;
   color: var(--ink-500);
   white-space: nowrap;
}

.modal-custom .input {
   width: 100px;
   text-align: center;
}

.modal-email {
   margin-bottom: 20px;
}

.share-link-field {
   margin-bottom: 8px;
}

.share-link-field .input[readonly] {
   background: var(--bg-soft);
   color: var(--ink-700);
}

.share-link-status {
   min-height: 18px;
   margin: 0 0 14px;
   color: var(--ink-500);
   font-size: 13px;
   font-weight: 600;
   line-height: 1.4;
}

.share-link-status.is-error {
   color: var(--red-500);
}

.bulk-invite-section {
   margin-bottom: 18px;
}

.bulk-invite-textarea {
   min-height: 110px;
   resize: vertical;
}

.bulk-invite-help {
   margin: 8px 0 0;
   font-size: 12px;
   line-height: 1.4;
   color: var(--ink-500);
}

.bulk-invite-list-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 10px;
   margin-bottom: 8px;
}

.bulk-invite-list-header label {
   margin: 0;
}

.bulk-invite-list-header span {
   color: var(--ink-500);
   font-size: 12px;
   font-weight: 700;
   white-space: nowrap;
}

.bulk-invite-list {
   display: flex;
   flex-direction: column;
   gap: 10px;
   max-height: 320px;
   overflow-y: auto;
   padding-right: 2px;
}

.bulk-invite-row {
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr);
   align-items: center;
   gap: 12px;
   border: 1px solid var(--line);
   border-radius: 14px;
   background: var(--bg-soft);
   padding: 10px;
}

.bulk-invite-participant {
   display: flex;
   align-items: center;
   gap: 10px;
   min-width: 0;
}

.bulk-invite-number {
   width: 28px;
   height: 28px;
   border-radius: 8px;
   background: var(--blue-50);
   color: var(--blue-600);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   flex: 0 0 auto;
   font-size: 13px;
   font-weight: 800;
}

.bulk-invite-person {
   min-width: 0;
}

.bulk-invite-person strong,
.bulk-invite-person small {
   display: block;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

.bulk-invite-person strong {
   color: var(--ink-900);
   font-size: 13px;
   font-weight: 800;
}

.bulk-invite-person small {
   color: var(--ink-500);
   font-size: 11px;
   font-weight: 600;
   margin-top: 2px;
}

.bulk-invite-email {
   min-width: 0;
}

.bulk-invite-status {
   min-height: 18px;
   margin: -4px 0 14px;
   color: var(--ink-500);
   font-size: 13px;
   font-weight: 600;
   line-height: 1.4;
}

.bulk-invite-status:empty {
   display: none;
}

.bulk-invite-status.is-error {
   color: var(--red-500);
}

.bulk-invite-status.is-success {
   color: var(--green-500);
}

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

.modal-actions .btn {
   justify-content: center;
   width: auto;
   min-width: 90px;
   margin-top: 0;
   white-space: nowrap;
}

.share-modal-actions {
   flex-wrap: wrap;
}

@media (max-width: 420px) {
   .participant-invite-controls {
      align-items: stretch;
      flex-direction: column;
   }

   .bulk-invite-open-btn {
      width: 100%;
   }

   .participant-invite-actions {
      flex-direction: column;
   }

   .bulk-invite-row {
      grid-template-columns: 1fr;
   }

   .share-modal-actions .btn {
      flex: 1 1 120px;
   }

}
