:root {
  color-scheme: dark;
  --passport-bg: #030407;
  --passport-panel: rgba(12, 16, 24, 0.76);
  --passport-panel-strong: rgba(14, 19, 29, 0.94);
  --passport-line: rgba(255, 255, 255, 0.10);
  --passport-line-strong: rgba(127, 181, 255, 0.28);
  --passport-text: #f8fbff;
  --passport-muted: rgba(229, 237, 248, 0.66);
  --passport-blue: #56a8ff;
  --passport-cyan: #5ce5ff;
  --passport-violet: #8d75ff;
  --passport-danger: #ff6579;
  --passport-success: #66edb3;
}

* { box-sizing: border-box; }
html { background: var(--passport-bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(44, 113, 220, 0.18), transparent 36%),
    radial-gradient(circle at 88% 6%, rgba(99, 74, 225, 0.15), transparent 34%),
    linear-gradient(180deg, #020306 0%, #05070b 48%, #020306 100%);
  color: var(--passport-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.with-bottom-pad { padding-bottom: 92px; }

.passport-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 18px 18px 40px;
}

.passport-panel {
  border: 1px solid var(--passport-line);
  background: linear-gradient(145deg, rgba(18, 25, 39, 0.82), rgba(6, 9, 14, 0.82));
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(24px);
}

.eyebrow {
  margin: 0 0 7px;
  color: rgba(164, 205, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.muted { color: var(--passport-muted); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: clamp(24px, 4vw, 38px); line-height: 1.02; }
h2 { margin-bottom: 6px; font-size: clamp(20px, 2.6vw, 28px); }

.passport-command {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--passport-line-strong);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(13, 26, 47, 0.94), rgba(6, 9, 16, 0.92)),
    #06080d;
  box-shadow: 0 30px 90px rgba(3, 17, 38, 0.45);
}

.command-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(81, 169, 255, 0.32), transparent 67%);
  pointer-events: none;
}

.command-topline,
.identity-lockup,
.command-actions,
.command-summary,
.summary-copy,
.summary-stats,
.section-heading,
.planner-toolbar,
.button-row,
.identity-card-top,
.scanner-header {
  display: flex;
  align-items: center;
}

.command-topline,
.command-summary,
.section-heading,
.identity-card-top,
.scanner-header { justify-content: space-between; }
.identity-lockup { gap: 14px; }
.command-actions, .button-row { gap: 10px; }

.passport-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(112, 189, 255, 0.26);
  background: linear-gradient(145deg, rgba(94, 183, 255, 0.18), rgba(104, 88, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 34px rgba(25, 103, 195, .16);
  color: #d9efff;
  font-size: 22px;
}
.passport-icon--large { width: 70px; height: 70px; border-radius: 24px; }

.icon-button,
.modal-close {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  border: 1px solid var(--passport-line);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .18s ease;
}
.icon-button:hover, .modal-close:hover { transform: translateY(-1px); background: rgba(255,255,255,.1); }

.command-summary {
  position: relative;
  z-index: 1;
  gap: 20px;
  margin-top: 26px;
  padding: 17px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(1, 5, 11, 0.44);
}
.summary-copy { gap: 12px; }
.summary-copy strong, .summary-copy span { display: block; }
.summary-copy span:not(.status-orb) { margin-top: 3px; color: var(--passport-muted); font-size: 13px; }
.status-orb {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(83, 218, 174, 0.13);
  border: 1px solid rgba(83, 218, 174, 0.28);
  color: #87f4ca;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.summary-stats { gap: 22px; }
.summary-stats div { min-width: 62px; text-align: center; }
.summary-stats span, .summary-stats small { display: block; }
.summary-stats span { font-size: 22px; font-weight: 900; }
.summary-stats small { color: var(--passport-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.next-move {
  position: relative;
  min-height: 360px;
  margin-top: 18px;
  overflow: hidden;
}
.next-move-art,
.next-move-overlay { position: absolute; inset: 0; }
.next-move-art { background-position: center; background-size: cover; transform: scale(1.02); }
.next-move-overlay { background: linear-gradient(90deg, rgba(2,5,10,.93) 0%, rgba(2,5,10,.68) 44%, rgba(2,5,10,.2) 100%), linear-gradient(0deg, rgba(2,5,10,.72), transparent 65%); }
.next-move-content {
  position: relative;
  z-index: 1;
  min-height: 360px;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.next-move-content h2 { max-width: 720px; font-size: clamp(30px, 5vw, 52px); line-height: .98; }
.next-move-meta { color: rgba(255,255,255,.77); font-size: 15px; }
.next-move-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.next-move-actions { display: flex; gap: 10px; }
.glass-badge {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,10,18,.54);
  backdrop-filter: blur(18px);
  font-size: 11px;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.danger-button,
.text-button {
  border-radius: 15px;
  cursor: pointer;
  font-weight: 850;
  transition: .18s ease;
}
.primary-button,
.secondary-button,
.danger-button { padding: 12px 16px; border: 1px solid transparent; }
.primary-button { background: linear-gradient(135deg, #eef8ff, #a9d9ff); color: #07111e; box-shadow: 0 10px 30px rgba(91, 178, 255, .18); }
.secondary-button { background: rgba(255,255,255,.07); color: #f8fbff; border-color: rgba(255,255,255,.11); }
.danger-button { background: rgba(255, 75, 101, .12); color: #ff9aaa; border-color: rgba(255, 75, 101, .22); }
.text-button { padding: 8px 0; color: #9ccfff; background: transparent; border: 0; }
.primary-button:hover, .secondary-button:hover, .danger-button:hover { transform: translateY(-1px); }
.inline-button { display: inline-flex; width: max-content; align-items: center; justify-content: center; }

.open-time-card {
  margin-top: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.open-time-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(94,168,255,.11);
  border: 1px solid rgba(94,168,255,.2);
  font-size: 26px;
}
.open-time-copy h2 { margin-bottom: 4px; font-size: 19px; }
.open-time-copy p { margin-bottom: 0; }

.planner-section,
.timeline-section,
.access-section { margin-top: 34px; }
.section-heading { gap: 18px; margin-bottom: 16px; }
.section-heading h2 { margin-bottom: 0; }
.segmented-control,
.filter-row {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  border-radius: 16px;
  border: 1px solid var(--passport-line);
  background: rgba(255,255,255,.035);
}
.segment, .filter-chip {
  border: 0;
  border-radius: 12px;
  padding: 9px 13px;
  color: var(--passport-muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
}
.segment.is-active, .filter-chip.is-active { background: rgba(255,255,255,.10); color: #fff; }
.planner-toolbar { justify-content: center; gap: 14px; margin-bottom: 13px; }
.planner-toolbar .icon-button { width: 36px; height: 36px; border-radius: 12px; }

.week-planner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: 9px;
}
.day-cell {
  min-height: 120px;
  padding: 13px 10px;
  border-radius: 20px;
  border: 1px solid var(--passport-line);
  background: linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.025));
  cursor: pointer;
  transition: .18s ease;
}
.day-cell:hover { transform: translateY(-2px); border-color: rgba(108,184,255,.32); }
.day-cell.is-today { box-shadow: inset 0 0 0 1px rgba(95, 185, 255, .55), 0 14px 40px rgba(18, 88, 164, .1); }
.day-cell.is-selected { background: linear-gradient(180deg, rgba(82,164,255,.15), rgba(89,92,255,.07)); border-color: rgba(105,184,255,.44); }
.day-name, .day-number, .day-count { display: block; }
.day-name { color: var(--passport-muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.day-number { margin-top: 8px; font-size: 26px; font-weight: 900; }
.day-count { margin-top: 18px; color: #a9d7ff; font-size: 11px; font-weight: 800; }
.day-dots { display: flex; gap: 4px; margin-top: 8px; }
.day-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--passport-blue); }

.month-planner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
  gap: 7px;
}
.month-weekday { padding: 7px; text-align: center; color: var(--passport-muted); font-size: 10px; font-weight: 900; }
.month-cell {
  min-height: 90px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--passport-line);
  background: rgba(255,255,255,.025);
  cursor: pointer;
}
.month-cell.is-outside { opacity: .34; }
.month-cell.is-today { border-color: rgba(104,188,255,.54); }
.month-cell.is-selected { background: rgba(76,151,240,.12); }
.month-number { font-weight: 850; }
.month-activity { margin-top: 12px; display: flex; align-items: center; gap: 6px; color: #b9dcff; font-size: 10px; }
.month-activity span { width: 6px; height: 6px; border-radius: 50%; background: var(--passport-cyan); box-shadow: 0 0 10px rgba(92,229,255,.5); }

.timeline-list { display: grid; gap: 12px; }
.timeline-group { display: grid; grid-template-columns: 118px 1fr; gap: 16px; }
.timeline-date { padding: 15px 2px; }
.timeline-date strong, .timeline-date span { display: block; }
.timeline-date strong { font-size: 13px; }
.timeline-date span { margin-top: 4px; color: var(--passport-muted); font-size: 11px; }
.timeline-items { display: grid; gap: 9px; }
.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--passport-line);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  cursor: pointer;
}
.timeline-art { width: 58px; height: 58px; border-radius: 15px; background: linear-gradient(135deg, rgba(82,170,255,.2), rgba(127,92,255,.12)); background-size: cover; background-position: center; }
.timeline-copy strong, .timeline-copy span { display: block; }
.timeline-copy span { margin-top: 4px; color: var(--passport-muted); font-size: 12px; }
.timeline-time { color: #bcdfff; font-size: 11px; font-weight: 850; text-align: right; }

.ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ticket-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--passport-line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.022));
  cursor: pointer;
  transition: .2s ease;
}
.ticket-card:hover { transform: translateY(-3px); border-color: rgba(103,183,255,.36); }
.ticket-art { position: relative; height: 190px; background: linear-gradient(135deg, rgba(74,158,255,.17), rgba(118,87,255,.12)); background-size: cover; background-position: center; }
.ticket-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,11,.88), transparent 65%); }
.ticket-card-status { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ticket-body { padding: 14px; }
.ticket-body h3 { margin-bottom: 8px; font-size: 16px; line-height: 1.15; }
.ticket-body p { margin-bottom: 12px; color: var(--passport-muted); font-size: 12px; }
.ticket-footer { display: flex; justify-content: space-between; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; }

.passport-footer-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.identity-card, .invite-card { padding: 20px; }
.level-badge { padding: 7px 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.06); font-size: 11px; font-weight: 900; }
.spectrum-track { position: relative; height: 14px; margin-top: 18px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); }
.spectrum-bar { position: absolute; inset: 0; background: linear-gradient(90deg,#fff,#ef4444,#f97316,#eab308,#22c55e,#3b82f6,#4b0082,#a855f7); }
.spectrum-dot { position: absolute; top: 2px; width: 10px; height: 10px; transform: translateX(-50%); border-radius: 50%; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,.85); }
.mini-stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.mini-stat-grid div { padding: 12px; border-radius: 15px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); }
.mini-stat-grid span, .mini-stat-grid small { display: block; }
.mini-stat-grid span { font-weight: 900; }
.mini-stat-grid small { margin-top: 4px; color: var(--passport-muted); font-size: 10px; }
.invite-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.invite-link { padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.74); font-size: 11px; word-break: break-all; }
.invite-card .button-row > * { flex: 1; }

.empty-state { padding: 34px 20px; text-align: center; border: 1px dashed rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.02); }
.empty-symbol { margin-bottom: 10px; font-size: 28px; opacity: .72; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--passport-muted); }
.signed-state { margin-top: 90px; padding: 28px; display: flex; gap: 20px; align-items: center; }
.error-banner { margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: rgba(255,75,101,.10); border: 1px solid rgba(255,75,101,.22); color: #ffadb8; }

.loading-overlay,
.modal-back,
.scanner-back,
.scan-result-back {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 16px;
  background: rgba(0, 2, 6, .82);
  backdrop-filter: blur(18px);
}
.loading-overlay { display: none; align-items: center; justify-content: center; }
.loading-overlay.is-visible { display: flex; }
.loader-card { padding: 22px; min-width: 220px; display: grid; justify-items: center; gap: 8px; border: 1px solid var(--passport-line); border-radius: 22px; background: rgba(7,10,16,.94); }
.loader-card span { color: var(--passport-muted); font-size: 12px; }
.passport-loader { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: #81c7ff; animation: passportSpin .8s linear infinite; }
@keyframes passportSpin { to { transform: rotate(360deg); } }

.modal-back, .scanner-back { overflow: auto; }
.detail-modal { position: relative; width: min(760px, 100%); margin: 3vh auto; overflow: hidden; border-radius: 28px; border: 1px solid var(--passport-line); background: #070a10; box-shadow: 0 34px 100px rgba(0,0,0,.52); }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 4; background: rgba(0,0,0,.52); font-size: 22px; }
.modal-close--inline { position: static; }
.detail-hero { position: relative; min-height: 330px; background: linear-gradient(135deg, rgba(76,155,255,.18), rgba(125,89,255,.12)); background-position: center; background-size: cover; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #070a10 0%, rgba(7,10,16,.3) 70%); }
.detail-hero-content { position: absolute; left: 24px; right: 70px; bottom: 22px; z-index: 1; }
.detail-status-row { display: flex; gap: 7px; margin-bottom: 10px; }
.detail-hero h2 { font-size: clamp(27px,4vw,42px); }
.detail-hero p { margin-bottom: 0; color: rgba(255,255,255,.74); }
.detail-body { padding: 22px; }
.detail-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.detail-stats div { padding: 13px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.detail-stats small, .detail-stats strong { display: block; }
.detail-stats small { color: var(--passport-muted); }
.detail-stats strong { margin-top: 5px; }
.passport-qr-card { margin-top: 14px; padding: 20px; text-align: center; border: 1px solid rgba(101,185,255,.18); border-radius: 22px; background: linear-gradient(145deg, rgba(77,151,242,.08), rgba(255,255,255,.02)); }
.qr-shell { width: 220px; height: 220px; margin: 15px auto; padding: 12px; border-radius: 22px; background: #fff; }
.qr-shell img { width: 100%; height: 100%; object-fit: contain; }
.payload-text { display: block; margin-top: 10px; color: rgba(255,255,255,.34); font-size: 9px; word-break: break-all; }
.proof-card { margin-top: 14px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.proof-card h3 { font-size: 15px; }
.proof-card p { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; color: var(--passport-muted); font-size: 11px; }
.proof-card strong { color: #fff; word-break: break-all; text-align: right; }
.refund-notice { margin-top: 14px; padding: 14px; border-radius: 16px; background: rgba(255,75,101,.11); border: 1px solid rgba(255,75,101,.22); color: #ffadb8; }
.refund-notice strong, .refund-notice span { display: block; }
.refund-notice span { margin-top: 4px; font-size: 12px; }
.detail-body > .button-row { margin-top: 14px; }
.detail-body > .button-row > * { flex: 1; }

.scanner-card { width: min(760px,100%); margin: 3vh auto; overflow: hidden; border: 1px solid var(--passport-line); border-radius: 28px; background: #070a10; }
.scanner-header { padding: 18px; border-bottom: 1px solid var(--passport-line); }
.scanner-header h2 { margin-bottom: 4px; }
.scanner-stage { position: relative; min-height: 470px; display: grid; place-items: center; background: #000; }
#scannerVideo { width: 100%; max-height: 600px; object-fit: cover; }
.scan-frame { position: absolute; width: 260px; height: 260px; border: 2px solid rgba(92,229,255,.82); border-radius: 28px; box-shadow: 0 0 40px rgba(92,229,255,.2); }
.scan-frame span { position: absolute; left: 14px; right: 14px; top: 50%; height: 2px; background: rgba(92,229,255,.9); box-shadow: 0 0 14px rgba(92,229,255,.9); }
.manual-scan { padding: 16px; }
.manual-scan input { width: 100%; margin: 8px 0 10px; padding: 12px; border: 1px solid var(--passport-line); border-radius: 14px; background: rgba(255,255,255,.05); color: #fff; outline: none; }
.scan-result-back { display: grid; place-items: center; }
.scan-result-card { width: min(460px,100%); padding: 30px; text-align: center; border: 1px solid var(--passport-line); border-radius: 28px; background: #070a10; }
.scan-result-icon { width: 84px; height: 84px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: rgba(102,237,179,.12); border: 1px solid rgba(102,237,179,.24); color: var(--passport-success); font-size: 40px; }
.scan-result-card p { color: var(--passport-muted); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 3000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 15px; border-radius: 999px; border: 1px solid var(--passport-line); background: rgba(7,10,16,.94); transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 900px) {
  .ticket-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .passport-footer-grid { grid-template-columns: 1fr; }
  .command-summary { align-items: flex-start; flex-direction: column; }
  .summary-stats { width: 100%; justify-content: space-between; }
}

@media (max-width: 720px) {
  .passport-shell { padding: 12px 12px 32px; }
  .passport-command { border-radius: 24px; }
  .identity-lockup { align-items: flex-start; }
  .passport-icon { width: 44px; height: 44px; border-radius: 15px; }
  .command-actions { gap: 6px; }
  .icon-button { width: 40px; height: 40px; }
  .summary-stats { gap: 8px; }
  .summary-stats div { flex: 1; min-width: 0; }
  .next-move, .next-move-content { min-height: 420px; }
  .next-move-overlay { background: linear-gradient(0deg, rgba(2,5,10,.95) 0%, rgba(2,5,10,.52) 72%, rgba(2,5,10,.28) 100%); }
  .next-move-content h2 { font-size: 36px; }
  .next-move-actions { width: 100%; }
  .next-move-actions > * { flex: 1; text-align: center; }
  .open-time-card { grid-template-columns: auto 1fr; }
  .open-time-card > .secondary-button { grid-column: 1 / -1; text-align: center; }
  .week-planner { overflow-x: auto; grid-template-columns: repeat(7, 96px); padding-bottom: 5px; }
  .month-cell { min-height: 72px; padding: 7px; }
  .timeline-group { grid-template-columns: 1fr; gap: 5px; }
  .timeline-date { padding-bottom: 0; }
  .section-heading--stack-mobile { align-items: flex-start; flex-direction: column; }
  .filter-row { width: 100%; overflow-x: auto; }
  .ticket-grid { grid-template-columns: 1fr; }
  .detail-stats { grid-template-columns: 1fr; }
  .qr-shell { width: 190px; height: 190px; }
}

/* =====================================================
   Passport Venue Access terminal — hard sizing safeguard
   ===================================================== */
.passport-command svg,
.action-button svg,
.scanner-terminal-card svg,
.modal-close svg,
.primary-button svg,
.secondary-button svg,
.danger-button svg {
  display: block;
  width: 1em;
  height: 1em;
  max-width: 100%;
  max-height: 100%;
  flex: 0 0 auto;
}

.scanner-terminal-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 128px;
  margin-top: 18px;
  padding: 22px 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(92, 229, 255, 0.30);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 50%, rgba(92,229,255,.17), transparent 30%),
    linear-gradient(135deg, rgba(10,26,42,.97), rgba(5,10,18,.96));
  color: var(--passport-text);
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 24px 70px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(172,233,255,.08),
    0 0 0 1px rgba(92,229,255,.04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.scanner-terminal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(92,229,255,.52);
  box-shadow:
    0 28px 82px rgba(0,0,0,.36),
    0 0 34px rgba(56,158,229,.12),
    inset 0 1px 0 rgba(172,233,255,.11);
}

.scanner-terminal-card:focus-visible {
  outline: 2px solid rgba(110,242,255,.95);
  outline-offset: 3px;
}

.scanner-terminal-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .42;
  background:
    linear-gradient(rgba(92,229,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,229,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.scanner-terminal-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  border: 1px solid rgba(92,229,255,.38);
  background:
    linear-gradient(145deg, rgba(92,229,255,.18), rgba(86,168,255,.08)),
    rgba(5,13,22,.78);
  color: #6ef2ff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 28px rgba(92,229,255,.13);
}

.scanner-terminal-icon > svg {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  min-height: 34px;
  max-width: 34px;
  max-height: 34px;
  overflow: visible;
}

.scanner-terminal-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scanner-terminal-copy .eyebrow {
  margin-bottom: 7px;
}

.scanner-terminal-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.scanner-terminal-copy small {
  display: block;
  max-width: 760px;
  color: var(--passport-muted);
  font-size: 12px;
  line-height: 1.5;
}

.scanner-terminal-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 14px;
  border: 1px solid rgba(92,229,255,.18);
  background: rgba(92,229,255,.07);
  color: #bdeeff;
  font-size: 19px;
  font-weight: 900;
}

/* Command buttons must never inherit unstyled native grey-button dimensions. */
.command-actions .action-button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(148,215,255,.16);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  color: #f8fbff;
  cursor: pointer;
}

.command-actions .action-button__icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
}

.command-actions .action-button__icon > svg {
  width: 20px !important;
  height: 20px !important;
}

.command-actions .action-button__label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.command-actions .action-button--scan {
  border-color: rgba(92,229,255,.34);
  background: linear-gradient(135deg, rgba(92,229,255,.17), rgba(86,168,255,.08));
  color: #eafcff;
}

@media (max-width: 720px) {
  .scanner-terminal-card {
    min-height: 112px;
    padding: 17px;
    grid-template-columns: 58px minmax(0, 1fr) 34px;
    gap: 13px;
    border-radius: 21px;
  }

  .scanner-terminal-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    max-width: 58px;
    max-height: 58px;
    border-radius: 18px;
  }

  .scanner-terminal-icon > svg {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  .scanner-terminal-copy strong { font-size: 17px; }
  .scanner-terminal-copy small { font-size: 11px; line-height: 1.4; }
  .scanner-terminal-arrow {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .scanner-terminal-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .scanner-terminal-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
  }

  .scanner-terminal-arrow { display: none; }
  .scanner-terminal-copy small { max-width: 100%; }
}


/* =====================================================
   Passport portal mode navigation
   NOW | CALENDAR | ACCESS | PLANS | HISTORY
   ===================================================== */
.portal-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 6px;
  border: 1px solid rgba(115, 202, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 17, 29, 0.88), rgba(4, 9, 17, 0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 50px rgba(0,0,0,.22);
  overflow: hidden;
}

.portal-tab {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  min-height: 68px;
  padding: 11px 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  color: rgba(230, 241, 252, .72);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.portal-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(92,229,255,.10), transparent 35%);
  opacity: 0;
  transition: opacity .18s ease;
}

.portal-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(115, 202, 255, .22);
  background: linear-gradient(145deg, rgba(92,229,255,.075), rgba(255,255,255,.025));
  color: #f5fbff;
}

.portal-tab.is-active {
  border-color: rgba(92,229,255,.38);
  background: linear-gradient(145deg, rgba(92,229,255,.18), rgba(63,126,255,.09) 60%, rgba(141,117,255,.08));
  color: #f7fdff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(34, 126, 202, .18);
}

.portal-tab.is-active::before { opacity: 1; }

.portal-tab span,
.portal-tab small {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-tab span {
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.15;
  white-space: nowrap;
}

.portal-tab small {
  color: rgba(222, 235, 248, .52);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
  white-space: normal;
}

.portal-tab.is-active small { color: rgba(225, 248, 255, .78); }
.portal-section.portal-hidden { display: none !important; }

@media (max-width: 820px) {
  .portal-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .portal-nav::-webkit-scrollbar { display: none; }
  .portal-tab {
    flex: 0 0 132px;
    min-height: 64px;
    scroll-snap-align: start;
  }
}

@media (max-width: 430px) {
  .portal-tab { flex-basis: 118px; padding: 10px 9px; }
  .portal-tab span { font-size: 10px; }
  .portal-tab small { font-size: 9px; }
}

/* =====================================================
   New Activity Editor — corrected actual HTML selectors
   ===================================================== */

#activityEditorBack {
  position: fixed;
  inset: 0;
  z-index: 2400;
  overflow-y: auto;
  padding: 18px;
  background: rgba(0, 3, 8, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#activityEditorBack .activity-editor {
  position: relative;
  width: min(720px, 100%);
  margin: 3vh auto;
  overflow: hidden;
  border: 1px solid rgba(92, 229, 255, 0.30);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 0%, rgba(92, 229, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(9, 17, 29, 0.99), rgba(3, 8, 15, 0.99));
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(57, 158, 226, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#activityEditorBack .activity-editor::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(92, 229, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 229, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
}

#activityEditorBack .activity-editor-head {
  position: relative;
  z-index: 1;
  padding: 24px 72px 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 10, 18, 0.48);
}

#activityEditorBack .activity-editor-head h2 {
  margin: 0 0 8px;
  color: #f8fbff;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.05;
}

#activityEditorBack .activity-editor-head p:last-child {
  margin-bottom: 0;
  max-width: 580px;
  line-height: 1.5;
}

#activityEditorBack > .activity-editor > .modal-close,
#activityEditorBack .activity-editor > .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(5, 12, 21, 0.82);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

#activityEditorBack .activity-editor > .modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 229, 255, 0.36);
  background: rgba(92, 229, 255, 0.11);
}

#activityEditorBack .activity-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

#activityEditorBack .activity-form > label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(195, 230, 255, 0.88);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

#activityEditorBack .activity-form input,
#activityEditorBack .activity-form select,
#activityEditorBack .activity-form textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(126, 201, 255, 0.20);
  border-radius: 15px;
  outline: none;
  background:
    linear-gradient(135deg, rgba(16, 33, 52, 0.96), rgba(7, 16, 28, 0.96));
  color: #f8fbff;
  -webkit-text-fill-color: #f8fbff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 22px rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

#activityEditorBack .activity-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

#activityEditorBack .activity-form input::placeholder,
#activityEditorBack .activity-form textarea::placeholder {
  color: rgba(222, 236, 250, 0.38);
  -webkit-text-fill-color: rgba(222, 236, 250, 0.38);
  font-weight: 500;
}

#activityEditorBack .activity-form input:hover,
#activityEditorBack .activity-form select:hover,
#activityEditorBack .activity-form textarea:hover {
  border-color: rgba(92, 229, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(19, 42, 65, 0.98), rgba(8, 19, 33, 0.98));
}

#activityEditorBack .activity-form input:focus,
#activityEditorBack .activity-form select:focus,
#activityEditorBack .activity-form textarea:focus {
  border-color: rgba(92, 229, 255, 0.75);
  background:
    linear-gradient(135deg, rgba(20, 48, 73, 1), rgba(8, 21, 36, 1));
  box-shadow:
    0 0 0 3px rgba(92, 229, 255, 0.10),
    0 0 30px rgba(92, 229, 255, 0.09);
}

#activityEditorBack .activity-form select {
  cursor: pointer;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, #9edcff 50%),
    linear-gradient(135deg, #9edcff 50%, transparent 50%),
    linear-gradient(135deg, rgba(16, 33, 52, 0.96), rgba(7, 16, 28, 0.96));
  background-position:
    calc(100% - 19px) 22px,
    calc(100% - 14px) 22px,
    0 0;
  background-size:
    5px 5px,
    5px 5px,
    100% 100%;
  background-repeat: no-repeat;
}

#activityEditorBack .activity-form select option {
  background: #081321;
  color: #ffffff;
}

#activityEditorBack .activity-form input[type="datetime-local"] {
  color-scheme: dark;
}

#activityEditorBack .activity-form input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1) brightness(1.8);
  opacity: 0.82;
}

#activityEditorBack .activity-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#activityEditorBack .activity-form-actions button {
  min-width: 150px;
  min-height: 50px;
  border-radius: 15px;
}

#activityEditorBack .activity-form-actions .primary-button {
  border: 1px solid rgba(187, 230, 255, 0.80);
  background: linear-gradient(135deg, #f2fbff, #9edcff);
  color: #06111d;
  -webkit-text-fill-color: #06111d;
  box-shadow: 0 14px 35px rgba(67, 169, 243, 0.22);
}

#activityEditorBack .activity-form-actions .danger-button {
  border: 1px solid rgba(255, 101, 121, 0.28);
  background: rgba(255, 101, 121, 0.11);
  color: #ffadb8;
  -webkit-text-fill-color: #ffadb8;
}

/* Activity detail companion modal */
#activityDetailBack .activity-detail {
  position: relative;
  width: min(640px, 100%);
  margin: 6vh auto;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(92, 229, 255, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 0%, rgba(92, 229, 255, 0.10), transparent 34%),
    linear-gradient(180deg, rgba(9, 17, 29, 0.99), rgba(3, 8, 15, 0.99));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
}

#activityDetailBack .activity-detail-time {
  color: rgba(207, 232, 250, 0.78);
}

#activityDetailBack .activity-detail-block {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(126, 201, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(238, 247, 255, 0.88);
  line-height: 1.5;
}

#activityDetailBack .activity-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

#activityDetailBack .activity-detail-actions > * {
  flex: 1 1 150px;
  text-align: center;
}

@media (max-width: 720px) {
  #activityEditorBack {
    padding: 10px;
  }

  #activityEditorBack .activity-editor {
    margin: 1vh auto;
    border-radius: 22px;
  }

  #activityEditorBack .activity-editor-head {
    padding: 20px 62px 18px 17px;
  }

  #activityEditorBack .activity-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
  }

  #activityEditorBack .activity-form-wide {
    grid-column: auto;
  }

  #activityEditorBack .activity-form-actions {
    grid-column: auto;
    flex-direction: column-reverse;
  }

  #activityEditorBack .activity-form-actions button {
    width: 100%;
    min-width: 0;
  }

  #activityDetailBack .activity-detail {
    margin: 2vh auto;
    padding: 20px;
    border-radius: 22px;
  }

  #activityDetailBack .activity-detail-actions {
    flex-direction: column;
  }
}


/* Supplemental planner cards for activity management */
.day-planner,
.agenda-planner {
  display: grid;
  gap: 12px;
}
.planner-empty-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.planner-empty-card strong,
.planner-empty-card span { display: block; }
.planner-empty-card span { margin-top: 6px; color: var(--passport-muted); font-size: 13px; }
.planner-activity-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--passport-line);
  background: rgba(255,255,255,.035);
  cursor: pointer;
}
.planner-activity-card strong,
.planner-activity-card span { display: block; text-align: left; }
.planner-activity-card span { margin-top: 4px; color: var(--passport-muted); font-size: 12px; }
.planner-activity-card:hover { border-color: rgba(103,183,255,.36); transform: translateY(-1px); }
.planner-activity-time,
.planner-activity-tag {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  font-size: 11px;
  font-weight: 800;
  color: rgba(216,236,255,.88);
}


/* =====================================================
   Completed / cancelled Passport activity states
   ===================================================== */
.timeline-item.is-completed {
  opacity: 0.76;
  border-color: rgba(102, 237, 179, 0.20);
  background: linear-gradient(135deg, rgba(102,237,179,.06), rgba(255,255,255,.025));
}
.timeline-item.is-completed .timeline-art { filter: grayscale(.55) brightness(.74); }
.timeline-item.is-completed .timeline-copy > strong { color: rgba(236,255,247,.82); }

.timeline-item.is-cancelled {
  opacity: 0.68;
  border-color: rgba(255,101,121,.18);
  background: linear-gradient(135deg, rgba(255,101,121,.045), rgba(255,255,255,.02));
}
.timeline-item.is-cancelled .timeline-art { filter: grayscale(.8) brightness(.62); }

.timeline-completed-badge,
.timeline-cancelled-badge {
  display: inline-flex !important;
  width: max-content;
  margin-top: 8px !important;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 8px !important;
  font-weight: 900;
  letter-spacing: .12em;
}
.timeline-completed-badge {
  border: 1px solid rgba(102,237,179,.22);
  background: rgba(102,237,179,.09);
  color: rgba(141,245,201,.94) !important;
}
.timeline-cancelled-badge {
  border: 1px solid rgba(255,101,121,.22);
  background: rgba(255,101,121,.08);
  color: #ffadb8 !important;
}

/* =====================================================
   Passport Activity — complete management controls
   ===================================================== */
.activity-detail-status-row {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:6px 0 14px;
}
.activity-status-badge {
  display:inline-flex;
  width:max-content;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(92,229,255,.18);
  background:rgba(92,229,255,.07);
  color:rgba(198,239,255,.92);
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
}
.activity-status-badge[data-status="completed"] {
  border-color:rgba(102,237,179,.25);
  background:rgba(102,237,179,.10);
  color:#9df2ce;
}
.activity-status-badge[data-status="cancelled"],
.activity-status-badge[data-status="canceled"] {
  border-color:rgba(255,101,121,.24);
  background:rgba(255,101,121,.09);
  color:#ffadb8;
}
.activity-detail-management-label {
  margin:22px 0 8px;
  color:rgba(164,205,255,.72);
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}
#activityDetailBack .activity-detail-actions--management {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
#activityDetailBack .activity-detail-actions--management > * {
  width:100%;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
#activityDeletePermanentBtn { grid-column:1 / -1; }

@media (max-width:720px) {
  #activityDetailBack .activity-detail-actions--management {
    grid-template-columns:1fr;
  }
  #activityDeletePermanentBtn { grid-column:auto; }
}


/* =====================================================
   Passport reminder alert / acknowledgement UI
   ===================================================== */
.timeline-item.has-reminder-alert {
  border-color: rgba(92,229,255,.42);
  box-shadow:
    inset 0 0 0 1px rgba(92,229,255,.08),
    0 0 28px rgba(47,154,232,.10);
}

.timeline-reminder-badge {
  display: inline-flex !important;
  width: max-content;
  margin-top: 8px !important;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(92,229,255,.28);
  background: rgba(92,229,255,.10);
  color: #9ceeff !important;
  font-size: 8px !important;
  font-weight: 900;
  letter-spacing: .11em;
  box-shadow: 0 0 18px rgba(92,229,255,.08);
}

.activity-reminder-panel {
  margin-top: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(126,201,255,.16);
  border-radius: 17px;
  background: rgba(255,255,255,.038);
}

.activity-reminder-panel__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(126,201,255,.18);
  background: rgba(92,229,255,.06);
  color: #a8eaff;
  font-size: 14px;
}

.activity-reminder-panel__copy {
  min-width: 0;
}

.activity-reminder-panel__label,
.activity-reminder-panel__copy strong,
.activity-reminder-panel__copy small {
  display: block;
}

.activity-reminder-panel__label {
  margin-bottom: 4px;
  color: rgba(164,205,255,.70);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
}

.activity-reminder-panel__copy strong {
  color: #f7fcff;
  font-size: 14px;
}

.activity-reminder-panel__copy small {
  margin-top: 4px;
  color: rgba(215,234,248,.58);
  font-size: 11px;
  line-height: 1.4;
}

.activity-reminder-panel.is-alerting {
  border-color: rgba(92,229,255,.42);
  background: linear-gradient(135deg,rgba(92,229,255,.10),rgba(86,168,255,.045));
  box-shadow: 0 0 30px rgba(52,155,230,.10);
}

.activity-reminder-panel.is-alerting .activity-reminder-panel__icon {
  color: #d8f9ff;
  border-color: rgba(92,229,255,.42);
  background: rgba(92,229,255,.14);
  box-shadow: 0 0 18px rgba(92,229,255,.16);
}

.activity-reminder-panel.is-acknowledged {
  border-color: rgba(102,237,179,.22);
  background: rgba(102,237,179,.045);
}

.activity-reminder-panel.is-acknowledged .activity-reminder-panel__icon {
  color: #9df2ce;
  border-color: rgba(102,237,179,.26);
  background: rgba(102,237,179,.08);
}

.activity-reminder-panel.is-off {
  opacity: .72;
}

#activityReminderOffBtn {
  border-color: rgba(255,190,95,.18);
  color: #ffd79a;
  background: rgba(255,170,65,.06);
}
