:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-strong: #111827;
  --text: #17202a;
  --muted: #667085;
  --line: #dedbd2;
  --red: #d92d20;
  --green: #067647;
  --blue: #175cd3;
  --teal: #0e9384;
  --yellow: #b54708;
  --violet: #6941c6;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  background: #141414;
  color: #f8fafc;
  z-index: 100;
  overflow-y: auto;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e50914, #0e9384);
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  margin-top: 2px;
  color: #aeb7c2;
  font-size: 13px;
}

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

.nav-list a {
  color: #d0d5dd;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
}

.nav-list a:hover,
.nav-list a.active {
  background: #262b33;
  color: white;
}

.privacy-note {
  margin-top: auto;
  padding: 16px;
  border: 1px solid #343a46;
  border-radius: 8px;
  background: #1f242c;
}

.note-label,
.eyebrow {
  display: block;
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-note p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

main {
  grid-column: 2;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.02;
}

h2 {
  font-size: 22px;
  line-height: 1.2;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.metric-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.metric-card.primary {
  background: var(--surface-strong);
  color: white;
}

.metric-card.primary strong {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  word-break: break-word;
  margin: 8px 0;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
}

.metric-card.primary span,
.metric-card.primary p {
  color: #cbd5e1;
}

.metric-card strong {
  display: block;
  font-size: 36px;
  line-height: 1;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 14px;
  margin-bottom: 14px;
}

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

.lower-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.panel {
  padding: 18px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.controls-panel {
  margin-bottom: 14px;
}

.controls-heading {
  align-items: center;
}

.range-label {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.date-controls,
.history-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.date-controls label,
.history-tools label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.date-controls input,
.date-controls select,
.history-tools select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--text);
}

select,
.search-box input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--text);
}

select {
  min-height: 38px;
  padding: 0 10px;
}

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

.bar-row {
  display: grid;
  grid-template-columns: 132px minmax(120px, 1fr) 78px;
  align-items: center;
  gap: 12px;
}

.bar-label {
  min-width: 0;
  font-weight: 700;
}

.bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe8df;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--bar-color);
}

.bar-value {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 7px;
  max-height: 380px;
  overflow: auto;
  padding-right: 2px;
}

.calendar-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-nav .nav-btn {
  background: #fbfaf7;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: bold;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  user-select: none;
}

.calendar-nav .nav-btn:hover {
  background: #ebe8df;
  border-color: var(--text);
  transform: scale(1.1);
}

.calendar-nav .nav-btn:active {
  transform: scale(0.9);
}

.calendar-month-label {
  font-weight: 700;
  font-size: 14px;
  min-width: 110px;
  text-align: center;
  color: var(--text);
}

.calendar-week-headers {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 7px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-day {
  min-height: 52px;
  display: grid;
  align-content: space-between;
  gap: 3px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--teal) var(--heat), #fbfaf7);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.calendar-day:hover {
  transform: translateY(-2px);
  border-color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.calendar-day.empty {
  visibility: hidden;
  pointer-events: none;
}

.calendar-day.active {
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 2px var(--teal);
  font-weight: 700;
}

.calendar-day strong {
  font-size: 13px;
}

.calendar-day span {
  min-height: 14px;
  color: var(--muted);
  font-size: 10px;
}

.calendar-summary {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.day-cell {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--heat-color) var(--heat), #fbfaf7);
}

.day-cell strong {
  font-size: 13px;
}

.day-cell span {
  color: var(--muted);
  font-size: 12px;
}

.history-panel {
  margin-bottom: 14px;
}

.history-heading {
  align-items: center;
}

.history-tools {
  justify-content: space-between;
  margin: -6px 0 14px;
}

.history-count {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box {
  width: min(420px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfaf7;
  color: var(--muted);
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: #111827;
  background: #111827;
  color: white;
}

.history-list {
  display: grid;
  gap: 8px;
  max-height: 760px;
  overflow: auto;
  padding-right: 2px;
}

.history-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 144px 120px 92px;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.history-item {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 144px 120px 92px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.title-stack strong,
.title-stack span {
  display: block;
}

.title-stack span,
.history-meta {
  color: var(--muted);
  font-size: 13px;
}

.platform-badge {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.coverage-list {
  display: grid;
  gap: 10px;
}

.coverage-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.coverage-item strong,
.coverage-item span {
  display: block;
}

.coverage-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.coverage-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f6ee;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.coverage-status.research {
  background: #eef4ff;
  color: var(--blue);
}

.coverage-status.later {
  background: #fff4e5;
  color: var(--yellow);
}

.import-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.import-steps li {
  padding-left: 4px;
}

.import-steps strong,
.import-steps span {
  display: block;
}

.import-steps span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfaf7;
}

.insight-list {
  display: grid;
  gap: 9px;
}

.insight-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.insight-item strong,
.insight-item span {
  display: block;
}

.insight-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.insight-item b {
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.load-more {
  margin-top: 12px;
}

.load-more[hidden] {
  display: none;
}

.signal-grid,
.idea-list {
  display: grid;
  gap: 10px;
}

.signal-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.signal-item strong,
.signal-item span,
.idea-item strong,
.idea-item span {
  display: block;
}

.signal-item span,
.idea-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.signal-item b {
  font-size: 13px;
}

.signal-track {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe8df;
}

.signal-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.idea-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.share-section {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.share-heading {
  align-items: center;
}

.share-card {
  min-height: 640px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(22px, 5vw, 48px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.22), transparent 28%),
    linear-gradient(135deg, #111827 0%, #141414 58%, #073b3a 100%);
  color: white;
}

.share-topline,
.share-stats,
.story-bar {
  display: grid;
  gap: 10px;
}

.share-topline {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: #d1d5db;
  font-weight: 800;
}

.share-topline b {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
}

.share-hero p,
.share-hero span,
.share-stats span,
.share-stats p,
.story-persona,
.story-bar span,
.story-bar strong {
  color: #cbd5e1;
}

.share-hero p,
.share-hero span,
.share-stats p,
.story-persona {
  margin: 0;
}

.share-hero h2 {
  margin: 12px 0 8px 0;
  font-size: clamp(24px, 5.2vw, 42px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: keep-all;
}

.share-time-detail {
  font-size: clamp(14px, 2.2vw, 18px);
  line-height: 1.4;
  font-weight: 700;
  color: #a5f3fc;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.share-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.share-stats div {
  min-height: 134px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.share-stats strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.1;
}

.story-bars {
  display: grid;
  gap: 10px;
}

.story-bar {
  grid-template-columns: 110px minmax(0, 1fr) 48px;
  align-items: center;
}

.story-bar div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.story-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2dd4bf;
}

.story-persona {
  max-width: 780px;
  font-size: 18px;
  line-height: 1.45;
}

.netflix-import {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.import-top-panel {
  margin-bottom: 14px;
}

.import-heading {
  align-items: center;
}

.connector-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.connector-card strong,
.connector-card p {
  display: block;
}

.connector-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.text-button,
.file-button,
.secondary-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.prominent-file-button {
  min-width: 180px;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(217, 45, 32, 0.22);
}

.secondary-button {
  border-color: var(--line);
  background: #fbfaf7;
  color: var(--text);
}

.secondary-button.danger {
  color: var(--red);
}

.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.checkbox-row input {
  margin-top: 2px;
}

.date-format-control {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.date-format-control strong {
  width: min(620px, 100%);
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.import-status {
  padding: 12px;
  border: 1px solid #b7e4d7;
  border-radius: 8px;
  background: #eefaf6;
  color: #075e4d;
  font-size: 14px;
  line-height: 1.45;
}

.import-status.warning {
  border-color: #fedf89;
  background: #fffbeb;
  color: #93370d;
}

.import-status.error {
  border-color: #fecdca;
  background: #fff1f3;
  color: #b42318;
}

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

.divider {
  height: 1px;
  margin: 2px 0 18px;
  background: var(--line);
}

.summary-panel {
  margin-bottom: 24px;
}

.summary-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.summary-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.summary-text p {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
}

.summary-text p span.summary-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.summary-text p span.summary-value {
  font-size: 15px;
  color: var(--text);
}

.summary-text p span.summary-value strong {
  font-weight: 600;
  color: var(--text);
}

.birthdate-card {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.birthdate-card label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.birthdate-card .custom-input {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.birthdate-card .custom-input:focus {
  border-color: var(--text);
}

.percentage-result {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 4px;
}

.percentage-result strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--teal);
  display: block;
  margin-top: 4px;
}

@media (max-width: 1020px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    width: auto;
    height: auto;
    min-height: auto;
  }

  main {
    grid-column: auto;
  }

  .privacy-note {
    margin-top: 0;
  }

  .report-grid,
  .content-grid,
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main,
  .sidebar {
    padding: 18px;
  }

  .topbar,
  .panel-heading,
  .controls-heading,
  .share-heading,
  .history-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .report-grid,
  .content-grid,
  .insights-grid,
  .summary-content {
    grid-template-columns: 1fr;
  }

  .date-controls,
  .history-tools {
    align-items: stretch;
  }

  .date-controls label,
  .date-controls input,
  .date-controls select,
  .history-tools label,
  .history-tools select {
    width: 100%;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bar-value {
    text-align: left;
  }

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

  .calendar-grid,
  .calendar-week-headers {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .share-card {
    min-height: 760px;
  }

  .share-stats,
  .story-bar {
    grid-template-columns: 1fr;
  }

  .history-header {
    display: none;
  }

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

  .connector-card {
    grid-template-columns: 1fr;
  }

  .text-button,
  .file-button,
  .secondary-button {
    width: 100%;
  }
}
