:root {
  --bg: #f6f7f4;
  --surface: #fff;
  --ink: #202b29;
  --muted: #5e6b67;
  --line: #dce3dc;
  --accent: #235d49;
  --accent-soft: #e9f2eb;
  --danger: #9d342c;
  --radius: 12px;
  font-family: "Segoe UI", Verdana, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  background: var(--accent-soft);
  border-color: #afc8b9;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9bbd80;
  outline-offset: 3px;
}
.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.primary:hover {
  background: #184735;
  color: #fff;
}
.quiet {
  background: transparent;
}
.text-button {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding-inline: 8px;
  font-size: 0.86rem;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
.shell {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 40px;
}
.topbar {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 44px;
  background: var(--accent);
  border-radius: 11px;
  color: white;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
  font-weight: 600;
}
.account {
  display: flex;
  align-items: center;
  gap: 20px;
}
.private-label {
  font-size: 12px;
  color: var(--accent);
}
main {
  padding-top: 12px;
}
#message {
  font-size: 12px;
  color: var(--muted);
  min-height: 24px;
  margin: 0 0 12px;
}
#message.error {
  color: var(--danger);
  background: #fff0eb;
  padding: 10px;
  border-radius: 6px;
}
#toast {
  position: fixed;
  inset: auto 24px 24px auto;
  margin: 0;
  width: auto;
  max-width: 380px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid transparent;
  background: #123f2e;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.26s ease, transform 0.26s ease;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
#toast.success {
  background: #123f2e;
  color: #fff;
  border: 1px solid #2a5c46;
}
#toast.error {
  background: #7f1d1d;
  color: #fff;
  border: 1px solid #b91c1c;
}
#loading {
  position: fixed;
  inset: auto 24px 24px auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  background: #123f2e;
  color: #fff;
  border: 1px solid #2a5c46;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.26s ease, transform 0.26s ease;
}
#loading.show {
  opacity: 1;
  transform: translateY(0);
}
#loading::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  padding: 12px 8px 16px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: none;
}
.tabs button[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -3px var(--accent);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(25px, 2.7vw, 37px);
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 600;
  margin-bottom: 12px;
}
h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0 8px;
}
.page-heading .eyebrow {
  margin-bottom: 0;
}
.page-heading-actions {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  align-items: stretch;
}
.cv-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 14px;
}
.metrics {
  display: flex;
  gap: 34px;
  margin-bottom: 26px;
}
.metric {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.metric strong {
  font-size: 23px;
  font-weight: 600;
}
.metric span {
  font-size: 12px;
  color: var(--muted);
}
.toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  min-width: 0;
}
.toolbar {
  display: block;
}
.toolbar .search-field {
  margin-bottom: 14px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
#advanced-filters summary {
  cursor: pointer;
  min-height: 44px;
  display: list-item;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.toolbar label {
  margin: 0;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd8d1;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 11px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: #727c77;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 14px;
  gap: 12px;
}
#count {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.view-switch {
  display: flex;
  gap: 4px;
}
.view-switch button {
  font-size: 12px;
  min-height: 38px;
  padding: 6px 14px;
}
.view-switch button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #bfd2c5;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.job {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.company-icon {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #f4f6f0;
  border-radius: 9px;
  width: 39px;
  height: 39px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.stage {
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  background: #f0f2ef;
  border-radius: 5px;
  padding: 5px 8px;
  color: var(--muted);
  text-align: right;
}
.stage-saved {
  background: #e9f2eb;
  color: #285a46;
}
.stage-applied {
  background: #eaf0f6;
  color: #355873;
}
.stage-interview,
.stage-offer {
  background: #f7eed8;
  color: #75551b;
}
.stage-closed,
.stage-discarded {
  background: #f1ebeb;
  color: #735353;
}
.company {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}
.job h3 {
  margin-bottom: 12px;
  font-weight: 600;
}
.meta,
.source,
.verification {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.verification {
  font-size: 11px;
  padding-top: 8px;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}
.card-actions button {
  font-size: 11px;
  min-height: 40px;
  padding: 8px 10px;
}
.card-actions .details {
  margin-right: auto;
}
.next-action {
  font-size: 13px;
  margin-top: 12px;
  white-space: pre-wrap;
}
.pipeline.board {
  display: grid;
  grid-template-columns: repeat(5, minmax(225px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.pipeline.sankey {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
}
.pipeline.sankey .hint {
  margin: 14px 0 0;
}
.stage-group {
  min-width: 0;
  background: #eef1eb;
  border-radius: 10px;
  padding: 12px;
}
.stage-group h2 {
  font-size: 13px;
  margin: 4px 4px 16px;
  font-weight: 600;
}
.stage-group .job {
  padding: 16px;
  margin-bottom: 12px;
}
.stage-group .job h3 {
  font-size: 16px;
}
.empty-stage {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 18px;
}
.stage-group .empty-stage {
  padding: 16px 4px;
}
.pipeline.list {
  display: grid;
  gap: 24px;
}
.pipeline.list .stage-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pipeline.list .stage-group h2 {
  grid-column: 1/-1;
  margin-bottom: 0;
}
.pipeline.list .job {
  margin: 0;
}
.empty {
  grid-column: 1/-1;
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed #bfcdbf;
  border-radius: var(--radius);
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
}
footer {
  font-size: 11px;
  color: var(--muted);
  padding: 42px 0 24px;
  line-height: 1.8;
  border-top: 1px solid var(--line);
  margin-top: 44px;
}
.login-card {
  max-width: 480px;
  margin: 45px auto 60px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 8px 30px #20392906;
}
.login-card h1 {
  font-family: Georgia, serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.12;
}
.login-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin: 20px 0 30px;
}
.login-card button {
  width: 100%;
  margin-bottom: 20px;
}
.login-card small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}
dialog {
  width: min(720px, calc(100% - 36px));
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 70px #13272030;
  overflow-y: auto;
}
dialog::backdrop {
  background: #15282288;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tracking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.search-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.check input {
  width: auto;
  min-height: auto;
}
.filter-flags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.search-mode {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0;
}
.search-mode legend {
  float: left;
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.75;
  padding: 0 6px 0 0;
  margin: 0;
}
.search-mode .check {
  cursor: help;
}
#onboarding {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
}
.onboarding-steps {
  padding-left: 1.4em;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}
.onboarding-steps li {
  line-height: 1.5;
}
.add-user {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin: 16px 0 24px;
}
.user-list {
  display: grid;
  gap: 8px;
}
.user-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.user-row .meta {
  margin: 0 0 0 auto;
}
.user-badge {
  font-size: 0.78em;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
}
.user-badge.warn {
  background: #fef3c7;
  color: #92400e;
}
.activity-title {
  margin: 28px 0 8px;
  font-size: 1.05em;
}
#refresh-activity {
  margin-left: 12px;
  font-size: 0.78em;
  padding: 4px 12px;
  border: 1px solid var(--border, #333);
  border-radius: 6px;
}
#activity-filter {
  margin-left: 12px;
  font-size: 0.78em;
  padding: 4px 8px;
  border: 1px solid var(--border, #333);
  border-radius: 6px;
  background: transparent;
  min-height: 0;
}
button.danger {
  color: #dc2626;
  border-color: #dc2626;
  min-height: 0;
  padding: 4px 10px;
  font-size: 0.8em;
  margin-left: 10px;
}
.dialog-head .eyebrow {
  margin: 0;
}
.dialog-head button {
  width: 44px;
  padding: 0;
}
#detail-ad {
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 20px;
}
#detail-title {
  font-size: 28px;
  overflow-wrap: anywhere;
}
.source-link {
  display: inline-block;
  margin: 8px 0 16px;
}
.job-description {
  white-space: pre-line;
  line-height: 1.6;
  margin: 12px 0 16px;
}
.detail-favorite {
  margin: 6px 0 14px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.6;
}
.recommendation {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 10px 0;
}
.recommendation-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.recommendation-text {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.history-section {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 24px;
}
.history-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.history-item p {
  margin: 6px 0;
  white-space: pre-wrap;
}
#detail-message {
  font-size: 12px;
  margin-top: 12px;
  color: var(--accent);
}
#profile-fields {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 22px;
}
.profile-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.profile-section:first-child,
.profile-section:nth-child(4) {
  grid-column: 1/-1;
}
.profile-section h2 {
  font-size: 19px;
}
.section-toolbar {
  display: flex;
  gap: 8px;
}
.section-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.section-toggle:hover {
  background: none;
  border-color: transparent;
}
.section-title {
  font-size: 19px;
  font-weight: 700;
}
.toggle-icon {
  font-size: 12px;
  color: var(--accent);
  line-height: 1;
  flex: 0 0 auto;
}
.section-body {
  margin-top: 12px;
}
.profile-record {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
}
.profile-record legend {
  font-size: 12px;
  padding: 0 7px;
  color: var(--muted);
}
.sticky-save {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #f6f7f4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.sticky-save span {
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 1101px) {
  #workspace {
    padding-left: 190px;
  }
  .tabs {
    position: fixed;
    top: 148px;
    left: max(40px, calc((100vw - 1480px) / 2));
    width: 158px;
    flex-direction: column;
    gap: 8px;
    border: 0;
  }
  .tabs button {
    text-align: left;
    padding: 14px;
    border-radius: 8px;
  }
  .tabs button[aria-current="page"] {
    box-shadow: none;
    background: var(--accent-soft);
  }
  dialog {
    width: 650px;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 55vw;
    margin: 0 0 0 auto;
    border-radius: 16px 0 0 16px;
    padding: 30px;
  }
}
@media (min-width: 1500px) {
  .job-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .shell {
    padding: 0 24px;
  }
  .toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .search-field {
    grid-column: span 2;
  }
  .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pipeline.list .stage-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
  }
  .cv-action {
    white-space: normal;
    text-align: center;
  }
  :root {
    font-size: 14px;
  }
  .shell {
    padding: 0 18px;
  }
  .topbar {
    height: 80px;
  }
  .brand {
    font-size: 24px;
    gap: 9px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .brand-mark {
    width: 36px;
    height: 38px;
    font-size: 24px;
  }
  .account {
    gap: 5px;
  }
  .private-label {
    display: none;
  }
  .tabs {
    gap: 4px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 3;
  }
  .tabs button {
    font-size: 13px;
    flex: 1;
    padding: 16px 5px;
  }
  .page-heading {
    align-items: flex-start;
    padding-top: 26px;
    gap: 8px;
  }
  .page-heading h1 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }
  .page-heading #reload {
    font-size: 0;
    padding: 7px 9px;
    min-width: 44px;
  }
  .page-heading #reload::first-letter {
    font-size: 22px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 13px;
  }
  .metrics {
    gap: 14px;
    margin: 6px 0 22px;
    justify-content: space-between;
  }
  .metric {
    flex-direction: column;
    gap: 0;
  }
  .metric strong {
    font-size: 22px;
  }
  .metric span {
    font-size: 10px;
  }
  .toolbar {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding: 16px;
  }
  .search-field {
    grid-column: 1/-1;
  }
  .toolbar label {
    font-size: 11px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    padding: 10px 8px;
  }
  .toolbar input,
  .toolbar select {
    font-size: 14px;
  }
  .job-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .job {
    padding: 20px;
  }
  .job h3 {
    font-size: 19px;
  }
  .card-actions button {
    font-size: 12px;
    min-height: 44px;
  }
  #board-view {
    display: none;
  }
  .pipeline.board,
  .pipeline.list {
    display: flex;
    flex-direction: column;
    overflow: visible;
    gap: 22px;
  }
  .pipeline.list .stage-group,
  .pipeline.board .stage-group {
    display: block;
    padding: 14px;
  }
  .stage-group h2 {
    font-size: 14px;
  }
  .stage-group .job {
    margin-bottom: 12px;
  }
  .stage-group .job:last-child {
    margin-bottom: 0;
  }
  .stage-group .job h3 {
    font-size: 18px;
  }
  #profile-fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .profile-section {
    padding: 20px;
  }
  .profile-section:first-child,
  .profile-section:nth-child(4) {
    grid-column: auto;
  }
  .profile-record {
    padding: 14px;
  }
  .sticky-save {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
  dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  }
  .dialog-head {
    position: sticky;
    top: -20px;
    background: white;
    padding: 12px 0;
    z-index: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .login-card {
    padding: 26px;
    margin: 22px auto 40px;
  }
  .login-card h1 {
    font-size: 42px;
  }
  .login-card input {
    font-size: 16px;
  }
  .tabs {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    border-top: 1px solid var(--line);
    padding: 4px 10px calc(4px + env(safe-area-inset-bottom));
    box-shadow: 0 -3px 15px #20392908;
  }
  .tabs button[aria-current="page"] {
    box-shadow: inset 0 3px var(--accent);
  }
  .sticky-save {
    bottom: 64px;
  }
  .shell {
    padding-bottom: 75px;
  }
  footer {
    margin-top: 30px;
    padding-top: 24px;
  }
}
