:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --panel-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --primary: #111827;
  --primary-dark: #000000;
  --primary-soft: #f2f2f7;
  --accent: #007aff;
  --warning: #b45309;
  --danger: #b91c1c;
  --success: #15803d;
  --shadow: 0 18px 44px rgba(29, 29, 31, 0.08);
  --radius: 8px;
  --sidebar-width: 280px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
  padding: 22px;
  border-right: 1px solid rgba(229, 229, 234, 0.86);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  backdrop-filter: blur(24px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: #1d1d1f;
  color: #ffffff;
  font-weight: 900;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: transparent;
  color: #424245;
  text-align: left;
  text-decoration: none;
}

.nav-item span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f2f2f7;
  color: #6e6e73;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-item:hover,
.nav-item.is-active {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
}

.nav-item.is-active span {
  background: var(--ink);
  color: #ffffff;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.sidebar-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.workspace {
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: blur(24px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar h1 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(360px, 48vw);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--muted);
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.app-surface {
  padding: 34px;
}

.view-stack {
  display: grid;
  gap: 20px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar h2,
.section-heading h2 {
  margin: 0;
  font-size: 1.14rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.panel,
.metric-card,
.proposal-card,
.client-card,
.catalog-card,
.template-card,
.editor-panel,
.preview-panel,
.public-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(29, 29, 31, 0.04);
}

.panel,
.editor-panel,
.preview-panel {
  padding: 22px;
}

.metric-card {
  min-height: 116px;
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.metric-card small {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.kanban-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 360px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
}

.kanban-column header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}

.kanban-column h3 {
  margin: 0;
  font-size: 0.95rem;
}

.count-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 9px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.draft {
  background: #f2f2f7;
  color: #515154;
}

.status-pill.sent {
  background: #fff4d6;
  color: #8a5a00;
}

.status-pill.accepted {
  background: #dcfce7;
  color: #166534;
}

.status-pill.expired {
  background: #fee2e2;
  color: #991b1b;
}

.proposal-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.proposal-card h4,
.client-card h3,
.catalog-card h3,
.template-card h3 {
  margin: 0;
  line-height: 1.25;
}

.proposal-card p,
.client-card p,
.catalog-card p,
.template-card p {
  margin: 0;
  color: var(--muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.button,
.secondary-button,
.ghost-button,
.danger-button,
.icon-button,
.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 9px 14px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.sidebar-logout {
  border-color: var(--line);
  color: var(--ink);
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-dark);
}

.secondary-button {
  border-color: #d1d1d6;
  background: #ffffff;
  color: var(--ink);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.52);
}

.danger-button {
  border-color: #fecaca;
  background: #fee2e2;
  color: var(--danger);
}

.button-full {
  width: 100%;
}

.icon-button,
.file-button {
  width: 42px;
  height: 42px;
  padding: 0;
  flex: 0 0 auto;
}

.file-button input {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field > span {
  color: #424245;
  font-size: 0.84rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.14);
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.editor-panel {
  display: grid;
  gap: 18px;
}

.preview-panel {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 14px;
}

.preview-frame {
  min-height: 520px;
  max-height: calc(100vh - 180px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.segmented {
  display: inline-flex;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.segmented button {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-right: 1px solid var(--line);
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.segmented label:last-child {
  border-right: 0;
}

.segmented label.is-active {
  background: var(--primary);
  color: #ffffff;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button.is-active {
  background: var(--primary);
  color: #ffffff;
}

.line-items,
.milestones {
  display: grid;
  gap: 10px;
}

.line-item,
.milestone-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(170px, 1fr) minmax(80px, 0.35fr) minmax(110px, 0.45fr) 42px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.milestone-item {
  grid-template-columns: minmax(150px, 0.9fr) minmax(130px, 0.5fr) minmax(180px, 1fr) 42px;
}

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

.inline-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.inline-summary strong {
  color: var(--ink);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: #475569;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.table td:last-child,
.table th:last-child {
  text-align: right;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.empty-state p {
  margin: 0;
  max-width: 520px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: min(420px, calc(100vw - 40px));
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #101828;
  color: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.flash {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
}

.flash-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.flash-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.flash-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.48);
}

.modal {
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.modal header,
.modal footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.modal footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.modal h2 {
  margin: 0;
  font-size: 1.08rem;
}

.modal-body {
  padding: 18px;
}

.client-card,
.catalog-card,
.template-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.template-card pre {
  overflow: auto;
  max-height: 180px;
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 0.82rem;
}

.settings-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.settings-row:last-child {
  border-bottom: 0;
}

.settings-row strong {
  display: block;
}

.settings-row p {
  margin: 5px 0 0;
  color: var(--muted);
}

.proposal-body {
  background: var(--proposal-bg, #f5f5f7);
}

.proposal-page {
  min-height: 100vh;
  color: var(--proposal-ink, #1d1d1f);
  background: var(--proposal-bg, #f5f5f7);
}

.public-hero {
  background: var(--proposal-ink, #1d1d1f);
  color: #ffffff;
  padding: 58px 24px 48px;
}

.public-wrap {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.public-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  align-items: end;
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.public-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--proposal-accent, var(--primary));
  color: #ffffff;
  font-weight: 900;
}

.public-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 3.35rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.public-hero p {
  max-width: 680px;
  color: #cbd5e1;
}

.public-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: var(--proposal-ink, var(--ink));
  background: var(--proposal-surface, #ffffff);
}

.public-card strong {
  font-size: 1.45rem;
}

.public-content {
  padding: 34px 0 56px;
}

.public-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}

.public-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--proposal-surface, #ffffff);
  box-shadow: 0 1px 2px rgba(29, 29, 31, 0.04);
}

.public-section + .public-section {
  margin-top: 16px;
}

.public-section h2 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  letter-spacing: 0;
}

.public-section p {
  color: #475569;
  line-height: 1.62;
}

.public-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.62;
}

.public-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 14px;
}

.accept-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--radius);
  background: #ffffff;
}

.accept-box h2 {
  margin: 0;
  font-size: 1.05rem;
}

.fine-print {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.public-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.preserve-lines {
  white-space: pre-line;
}

.success-section {
  border-color: rgba(52, 199, 89, 0.32);
  background: #f4fff7;
}

.proposal-theme-clean .public-hero {
  background: var(--proposal-surface, #ffffff);
  color: var(--proposal-ink, #1d1d1f);
  border-bottom: 1px solid var(--line);
}

.proposal-theme-clean .public-hero p,
.proposal-theme-clean .public-brand p {
  color: #6e6e73;
}

.proposal-theme-clean .public-card {
  border-color: rgba(29, 29, 31, 0.1);
  box-shadow: 0 22px 50px rgba(29, 29, 31, 0.08);
}

.proposal-theme-clean .button-primary,
.proposal-theme-clean .public-brand-mark {
  border-color: var(--proposal-accent, #111827);
  background: var(--proposal-accent, #111827);
}

.proposal-theme-editorial .public-hero {
  background: var(--proposal-accent, #111827);
}

.proposal-theme-editorial .public-section {
  border-left: 4px solid var(--proposal-accent, #111827);
}

.proposal-theme-compact .public-hero {
  padding: 34px 24px 28px;
}

.proposal-theme-compact .public-hero h1 {
  font-size: 2.55rem;
}

.proposal-theme-compact .public-content {
  padding-top: 18px;
}

.proposal-theme-compact .public-section {
  padding: 18px;
}

.bg-pattern-crosshatch {
  position: relative;
}

.bg-pattern-crosshatch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(22.5deg, transparent, transparent 2px, rgba(75, 85, 99, 0.06) 2px, rgba(75, 85, 99, 0.06) 3px, transparent 3px, transparent 8px),
    repeating-linear-gradient(67.5deg, transparent, transparent 2px, rgba(107, 114, 128, 0.05) 2px, rgba(107, 114, 128, 0.05) 3px, transparent 3px, transparent 8px),
    repeating-linear-gradient(112.5deg, transparent, transparent 2px, rgba(55, 65, 81, 0.04) 2px, rgba(55, 65, 81, 0.04) 3px, transparent 3px, transparent 8px),
    repeating-linear-gradient(157.5deg, transparent, transparent 2px, rgba(31, 41, 55, 0.03) 2px, rgba(31, 41, 55, 0.03) 3px, transparent 3px, transparent 8px);
}

.bg-glow-yellow {
  position: relative;
}

.bg-glow-yellow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at center, #FFF991 0%, transparent 70%);
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.bg-pattern-crosshatch > *,
.bg-glow-yellow > * {
  position: relative;
  z-index: 1;
}

.landing {
  min-height: 100vh;
  background: #f5f5f7;
}

.landing-hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  padding: 26px;
  background: #f5f5f7;
  color: var(--ink);
}


.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-copy {
  width: min(720px, calc(100vw - 52px));
  margin-top: min(16vh, 140px);
}

.landing-copy h1 {
  margin: 0;
  font-size: 4.3rem;
  line-height: 1;
  letter-spacing: 0;
}

.landing-copy p {
  max-width: 620px;
  color: #424245;
  font-size: 1.08rem;
  line-height: 1.62;
}

.landing-link {
  border-color: #d1d1d6;
  color: var(--ink);
}

.landing-note {
  margin-top: 18px;
  max-width: 560px;
  border: 1px solid rgba(253, 230, 138, 0.4);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff9e6;
}

.landing-band {
  padding: 32px 26px 54px;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100vw - 52px));
  margin: 0 auto;
}

.landing-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 20px;
  box-shadow: var(--shadow);
}

.landing-grid h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.landing-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-body {
  min-height: 100vh;
  background: #f5f5f7;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-panel {
  width: min(460px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.auth-brand {
  margin-bottom: 26px;
  color: var(--ink);
}

.auth-panel h1 {
  margin: 0 0 8px;
}

.auth-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.code-textarea {
  min-height: 260px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.total-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius);
  background: #f8fafc;
}

.total-box strong {
  font-size: 1.6rem;
}

.muted {
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .shell,
  .builder-layout,
  .public-grid,
  .public-hero-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .shell {
    min-height: 100vh;
  }

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

  .preview-panel,
  .public-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar,
  .toolbar,
  .section-heading,
  .topbar-actions {
    align-items: stretch;
  }

  .topbar {
    position: static;
    flex-direction: column;
  }

  .app-surface,
  .topbar {
    padding: 18px;
  }

  .sidebar {
    padding: 18px;
  }

  .nav-list,
  .grid.two,
  .grid.three,
  .grid.four,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .search {
    min-width: 100%;
  }

  .line-item,
  .milestone-item,
  .settings-row {
    grid-template-columns: 1fr;
  }

  .line-item .icon-button,
  .milestone-item .icon-button {
    width: 100%;
  }

  .public-hero h1 {
    font-size: 2.1rem;
  }

  .landing-nav,
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-copy h1 {
    font-size: 2.6rem;
  }
}
