:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --ink: #1b1f2a;
  --muted: #606678;
  --accent: #1d6fe3;
  --accent-2: #0b4fb3;
  --stroke: #e5e8ef;
  --shadow: 0 12px 30px rgba(20, 31, 58, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(29, 111, 227, 0.08), transparent),
    radial-gradient(900px 500px at 90% 0%, rgba(44, 199, 180, 0.08), transparent),
    linear-gradient(180deg, #f9fafc 0%, #f1f4f8 100%);
  z-index: -1;
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 111, 227, 0.18), transparent 70%);
  animation: float 12s ease-in-out infinite;
}

.bg::after {
  width: 260px;
  height: 260px;
  right: 6%;
  top: 18%;
  animation-delay: -3s;
  background: radial-gradient(circle, rgba(44, 199, 180, 0.18), transparent 70%);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
}

.network-banner {
  margin: 0 32px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #f8d4a4;
  background: #fff7ed;
  color: #9a5100;
  font-size: 12px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-status {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 111, 227, 0.12);
  color: #1d6fe3;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-status:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(20, 31, 58, 0.12);
}

#account .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

#account .field label {
  font-size: 12px;
  color: var(--muted);
}

#account .actions-row input {
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
}

.brand-sub {
  font-size: 13px;
  color: var(--muted);
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 32px 80px;
}

.screen {
  display: none;
  animation: fadeUp 0.25s ease;
}

.screen.active {
  display: block;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  max-width: 540px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.hero-visual {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  animation: float 8s ease-in-out infinite;
}

.hero-visual-image-wrap {
  margin-top: 12px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(135deg, #f7fbff, #eff4ff);
  overflow: hidden;
}

.hero-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

.hero-flow-step {
  border: 1px solid #d8e2f2;
  border-radius: 10px;
  padding: 8px;
  background: #ffffff;
  display: grid;
  gap: 2px;
  animation: gentlePulse 4.5s ease-in-out infinite;
}

.hero-flow-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #1d6fe3;
}

.hero-flow-step strong {
  font-size: 12px;
}

.hero-flow-step small {
  color: #64748b;
  font-size: 11px;
}

.hero-flow-arrow {
  color: #7b8794;
  font-weight: 700;
}

.hero-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.hero-visual-title {
  font-weight: 600;
}

.hero-visual-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f9ef;
  border: 1px solid #b6ebcc;
  color: #0b6b3d;
  font-size: 12px;
  font-weight: 600;
}

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

.hero-checks li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #f8f9fc;
  font-size: 14px;
  animation: fadeUp 0.35s ease both;
}

.hero-visual-tip {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.preview-card {
  margin-top: 20px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 14px;
  animation: rise 0.5s ease;
}

.recording-preview {
  margin-top: 12px;
}

.start-history {
  margin-top: 16px;
}

.history-screen {
  margin-top: 8px;
}

.history-head h2 {
  margin: 0;
}

.history-controls {
  margin: 12px 0;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
}

.history-controls input,
.history-controls select {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  background: #fff;
}

.start-history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #f9fbff;
}

.history-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.history-check {
  width: 16px;
  height: 16px;
}

.history-item-main {
  min-width: 0;
  flex: 1;
}

button.history-item-main {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #ffffff;
  padding: 10px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

button.history-item-main:hover {
  background: #eef5ff;
  box-shadow: 0 8px 14px rgba(20, 31, 58, 0.08);
  transform: translateY(-1px);
}

.history-item-title {
  font-size: 12px;
  font-weight: 600;
}

.history-item-sub {
  font-size: 11px;
  color: var(--muted);
}

.history-title-edit {
  white-space: nowrap;
  font-size: 12px;
  padding: 7px 10px;
}

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

.preview-title {
  font-weight: 600;
}

.preview-state {
  border: 1px solid #d7dfec;
  background: #f4f7fc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #475569;
}

.preview-state.live {
  border-color: #b6ebcc;
  color: #0b6b3d;
  background: #ecfdf3;
}

.preview-state.warn {
  border-color: #ffd5a1;
  color: #9a5100;
  background: #fff7ed;
}

#preview {
  width: 100%;
  min-height: 280px;
  max-height: 420px;
  border-radius: 10px;
  border: 1px solid #24334f;
  object-fit: cover;
  background:
    linear-gradient(120deg, #101827, #142139, #101827);
  background-size: 180% 180%;
  animation: shimmerBg 6s ease infinite;
}

.preview-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.recording-badge {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffecec;
  color: #c6292e;
  font-size: 12px;
  font-weight: 600;
}

.resume-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-consent {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.legal-links {
  margin-top: 6px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-links a {
  font-size: 12px;
  color: #1d6fe3;
  text-decoration: none;
}

.primary,
.secondary,
.ghost,
.chip,
.plan,
.time,
.tab,
.link {
  font-family: inherit;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.secondary {
  background: #fff;
  border: 1px solid var(--stroke);
  padding: 12px 18px;
}

.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--stroke);
  padding: 10px 14px;
}

.secondary:hover,
.ghost:hover,
.chip:hover,
.plan:hover,
.time:hover,
.tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(20, 31, 58, 0.08);
}

#clear-local {
  text-align: center;
}

.danger {
  border-color: #fecaca !important;
  color: #b42318;
  background: #fff1f2;
}

.danger:hover {
  background: #ffe4e6;
  border-color: #fda4af !important;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  animation: rise 0.6s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(20, 31, 58, 0.12);
}

.card-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.toggle {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.toggle input {
  width: 16px;
  height: 16px;
}

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

.switches.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.chip {
  background: #f2f4f8;
  border: 1px solid transparent;
  padding: 8px 12px;
  font-weight: 500;
}

.chip.active {
  background: #e8f0ff;
  border-color: #b8d2ff;
  color: #0a4db8;
}

.links-row {
  margin-top: 20px;
}

.link {
  background: none;
  color: var(--accent);
  border: none;
  padding: 0;
}

.recording-wrap {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.recording-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recording-sources {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recording-sources span {
  background: #f3f6fb;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--muted);
}

.timer {
  font-size: 28px;
  font-weight: 700;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 12px rgba(255, 77, 79, 0.7);
  animation: pulse 1.2s infinite;
}

.stop {
  margin: 24px 0;
}

.levels {
  display: grid;
  gap: 12px;
}

.level-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.bar {
  height: 8px;
  background: #eef1f6;
  border-radius: 8px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1d6fe3, #2cc7b4);
}

.recording-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.notes {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #f8f9fc;
}

.notes-title {
  font-weight: 600;
  margin-bottom: 8px;
}

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

.notes-row input {
  flex: 1;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

.notes-list {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.note-item {
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 6px 8px;
}

.recording-note {
  margin-top: 14px;
  color: var(--muted);
}

.results-layout {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 16px;
}

.timeline,
.results-side {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-hint {
  margin-top: 0;
  margin-bottom: 8px;
}

.chapter-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.chapter-step {
  padding: 8px 10px;
  font-size: 12px;
}

.chapter-list {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.chapter-item-wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 6px;
}

.chapter-item {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d7e1f0;
  background: #f7faff;
  font-size: 12px;
  color: #1b3658;
}

.chapter-pin,
.chapter-rename {
  padding: 6px 8px;
  min-width: 34px;
}

.chapter-item.active {
  border-color: #b8d2ff;
  background: #e9f1ff;
  box-shadow: 0 8px 16px rgba(20, 31, 58, 0.08);
}

.chapter-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(20, 31, 58, 0.08);
}

.timeline-chapter {
  margin: 10px 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #dbe4f3;
  background: #f8fbff;
}

.timeline-chapter-time {
  font-size: 11px;
  color: #567;
  margin-bottom: 4px;
}

.timeline-chapter-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f2746;
}

.time {
  width: 100%;
  text-align: left;
  background: #f6f8fb;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.time.active {
  background: #e8f0ff;
  border-color: #b8d2ff;
}

.results-main {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  animation: rise 0.45s ease;
}

.player {
  margin-bottom: 16px;
}

.player video {
  width: 100%;
  border-radius: 12px;
  background: #0f1624;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  padding: 8px 12px;
  background: #f4f6fa;
}

.tab.active {
  background: #e8f0ff;
  color: #0a4db8;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.context-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.context-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #f6f8fb;
  font-size: 12px;
  color: #334155;
}

.diff-legend {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diff-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid transparent;
}

.diff-chip-del {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}

.diff-chip-add {
  background: #ecfdf3;
  border-color: #b7efca;
  color: #166534;
}

.diff-chip-same {
  background: #f4f6fa;
  border-color: #dce2eb;
  color: #475569;
}

.diff-view {
  margin-top: 10px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  overflow: hidden;
}

.diff-row {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.diff-row:last-child {
  border-bottom: none;
}

.diff-row-del {
  background: #fff5f6;
  color: #9f1239;
}

.diff-row-add {
  background: #f3fff7;
  color: #166534;
}

.diff-row-same {
  background: #fbfcfe;
  color: #334155;
}

.actions-row {
  display: flex;
  gap: 8px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

#calendar-card {
  margin-top: 20px;
}

#live-transcript {
  background: #fff4d6;
  border-color: #f2d28d;
}

.speaker {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid var(--stroke);
  margin-bottom: 10px;
}

.speaker.active {
  border-color: #b8d2ff;
  background: #eef4ff;
}

.speaker-hidden .speaker-tag {
  display: none;
}

.speaker-hidden .speaker {
  background: transparent;
  border-color: transparent;
  padding: 0;
}

.speaker:nth-of-type(1) .speaker-tag {
  background: #e8f0ff;
  color: #0a4db8;
}

.speaker:nth-of-type(2) .speaker-tag {
  background: #e6fbf3;
  color: #0a6b3b;
}

.speaker-tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0a4db8;
  font-size: 12px;
  margin-bottom: 6px;
}

.translation {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #f5f7fb;
}

.translation-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.translation-body {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.5;
}

.results-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.chapter-map {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px;
  background: #f8fbff;
}

.chapter-map-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
}

.chapter-map-list {
  display: grid;
  gap: 6px;
}

.chapter-map-item {
  font-family: inherit;
  width: 100%;
  border: 1px solid #d6e1f2;
  border-radius: 8px;
  padding: 7px 8px;
  background: #fff;
  font-size: 12px;
  text-align: left;
}

.chapter-map-item.active {
  border-color: #b8d2ff;
  background: #eaf1ff;
}

.download-picker {
  display: grid;
  gap: 8px;
}

.download-group {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 8px;
  background: #f9fbff;
  display: grid;
  gap: 6px;
}

.download-group-title {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

.download-option {
  width: 100%;
  text-align: left;
}

.export-options {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #f8f9fc;
}

.export-options label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.export-options select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  font-family: inherit;
}

.results-side a.secondary {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.pro-box {
  margin-top: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed #b8d2ff;
  background: #f3f8ff;
}

.pro-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.meta-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #f8f9fc;
}

.meta-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.meta-line {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.payment-wrap,
.activate-wrap,
.import-wrap {
  max-width: 520px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  animation: rise 0.45s ease;
}

.plans {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.plan-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.plan-tier {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px;
  background: #f9fbff;
}

.plan-tier.pro {
  border-color: #b9d4ff;
  background: #edf4ff;
}

.plan-tier-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-tier ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.plan {
  padding: 12px 14px;
  background: #f6f8fb;
  text-align: left;
}

.plan.active {
  background: #e8f0ff;
  border-color: #b8d2ff;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.field input {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
}

input[type="file"] {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.pay-providers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.asr-status {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #eef3ff;
  color: #0a4db8;
  display: inline-block;
}

.progress {
  margin-top: 12px;
  height: 8px;
  background: #eef1f6;
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1d6fe3, #2cc7b4);
  transition: width 0.2s ease;
}

.status-error {
  color: #c6292e;
}

.status-success {
  color: #14633b;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes gentlePulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.015);
  }
}

@keyframes shimmerBg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 960px) {
  .results-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 16px 20px;
  }

  .shell {
    padding: 10px 20px 60px;
  }

  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-flow {
    grid-template-columns: 1fr;
  }

  .hero-flow-arrow {
    display: none;
  }

  .plan-compare {
    grid-template-columns: 1fr;
  }

  .history-controls {
    grid-template-columns: 1fr;
  }

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

  .history-item {
    flex-wrap: wrap;
  }

  .history-title-edit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
