@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --bg: #f2efe9;
  --surface: #ffffff;
  --ink: #1b1a18;
  --muted: #6b625b;
  --accent: #2f6f63;
  --accent-dark: #1f544b;
  --line: #e3dbcf;
  --soft: #fbf7f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  background: radial-gradient(circle at top, #fdf8f0 0%, var(--bg) 55%);
  color: var(--ink);
  line-height: 1.6;
}

html,
body {
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem 3rem;
}

.auth {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: radial-gradient(circle at top, rgba(253, 248, 240, 0.95) 0%, rgba(242, 239, 233, 0.98) 55%);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.auth.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.auth__panel {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(60, 46, 28, 0.18);
  padding: 1.5rem;
}

.auth__panel h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.auth__panel p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.auth__form {
  display: grid;
  gap: 0.85rem;
}

.auth__form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth__form input {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 0.95rem;
}

.auth__form input:focus {
  outline: 2px solid rgba(47, 111, 99, 0.3);
  border-color: var(--accent);
  background: #fff;
}

.auth__error {
  min-height: 1.1rem;
  color: #8a2d1c;
  font-size: 0.85rem;
}

.auth__actions {
  display: flex;
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.2rem 0 1.5rem;
}

.brand__left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand__mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.brand__text h1 {
  font-size: 2rem;
  line-height: 1.1;
}

.brand__text p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.brand__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__logout {
  min-height: 36px;
}

.save-stamp {
  position: fixed;
  top: 0.35rem;
  right: 1.5rem;
  z-index: 30;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: right;
  margin-bottom: 0.75rem;
}

body.is-modal-open {
  overflow: hidden;
}

body.is-auth-locked {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 25, 20, 0.4);
}

.modal__panel {
  position: relative;
  width: min(820px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: 1.5rem auto;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(60, 46, 28, 0.2);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.modal__title {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.modal__subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.modal__body {
  padding-top: 1rem;
  overflow: auto;
}

.preview-meal {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: var(--soft);
  margin-bottom: 0.75rem;
}

.preview-meal__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.preview-meal__title {
  font-weight: 600;
  color: var(--ink);
}

.preview-meal__totals {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

.preview-list {
  display: grid;
  gap: 0.35rem;
}

.preview-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.preview-item--empty {
  color: var(--muted);
  font-style: italic;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: 0 20px 50px rgba(60, 46, 28, 0.08);
  margin-bottom: 1.5rem;
}

.card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
}

.tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.tab-panel {
  display: none;
}

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

.tab-panel[data-panel="dieta"] {
  padding-bottom: 80px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: var(--muted);
  gap: 0.45rem;
}

.help {
  font-size: 0.78rem;
  color: var(--muted);
  min-height: 2.6rem;
}

input,
select {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  background: var(--soft);
  color: var(--ink);
}

input:focus,
select:focus {
  outline: 2px solid rgba(47, 111, 99, 0.3);
  border-color: var(--accent);
  background: #fff;
}

input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
  background: #f3efe8;
}

.row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.row-actions {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1rem;
}

.row-actions .hint {
  margin: 0;
}

button {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 42px;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(213, 106, 31, 0.2);
}

button.ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.button-pill {
  background: #e8f0ee;
  color: var(--accent-dark);
  border: 1px solid #c6d9d4;
  font-weight: 600;
}

.button-pill:hover {
  transform: none;
  box-shadow: none;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.title-row h2 {
  margin-bottom: 0;
}

.tooltip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff;
  position: relative;
  cursor: default;
}

.tooltip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(30, 25, 20, 0.12);
  transition: opacity 0.2s ease;
  z-index: 5;
}

.tooltip:hover::after,
.tooltip.is-active::after {
  opacity: 1;
}

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.summary .tile {
  padding: 0.85rem;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.summary .tile--ok {
  border-color: rgba(47, 111, 99, 0.35);
  background: #f3f8f6;
}

.summary .tile--warn {
  border-color: rgba(213, 106, 31, 0.35);
  background: #fff6ea;
}

.summary .tile p {
  font-size: 0.8rem;
  color: var(--muted);
}

.summary .tile strong {
  font-size: 1.1rem;
}

.summary-mini {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  width: calc(100% - 2rem);
  max-width: 980px;
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 35px rgba(60, 46, 28, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.summary-mini.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.summary-mini__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.summary-mini__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 0.5rem;
}

.summary-mini .tile {
  padding: 0.45rem 0.6rem;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.summary-mini .tile--ok {
  border-color: rgba(47, 111, 99, 0.35);
  background: #f3f8f6;
}

.summary-mini .tile--warn {
  border-color: rgba(213, 106, 31, 0.35);
  background: #fff6ea;
}

.summary-mini .tile p {
  font-size: 0.68rem;
  color: var(--muted);
}

.summary-mini .tile strong {
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .summary-mini__grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

.meal {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  background: #fffdf9;
  margin-bottom: 1rem;
}

.meal--skipped {
  opacity: 0.4;
}

.meal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meal__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.meal__title {
  font-size: 1.15rem;
  font-weight: 600;
}


.macro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.4rem 0.7rem;
  border-radius: 12px;
  background: #fff6ea;
  color: #7a3b10;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(213, 106, 31, 0.25);
}

.chip__row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d56a1f;
}

.chip--ok {
  background: #f3f8f6;
  color: #1f544b;
  border-color: rgba(47, 111, 99, 0.35);
}

.chip--ok .chip__dot {
  background: #2f6f63;
}

.chip--warn {
  background: #fff6ea;
  color: #7a3b10;
  border-color: rgba(213, 106, 31, 0.35);
}

.chip--warn .chip__dot {
  background: #d56a1f;
}

.chip__main {
  color: inherit;
}

.chip__sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.pill {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #fff0da;
  color: #7a3b10;
  font-size: 0.8rem;
  font-weight: 600;
}

.block {
  display: grid;
  grid-template-columns: 1fr 1.2fr 90px 1.3fr;
  column-gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0 0.35rem;
}

.block select,
.block input[type="number"],
.block .block__food-search {
  height: 44px;
  width: 100%;
}

.block__grams {
  max-width: 90px;
}

.block:last-child {
  border-bottom: none;
}

.block--skipped {
  opacity: 0.4;
}

.block__name {
  font-weight: 600;
  color: var(--ink);
}

.block__summary {
  align-self: start;
}

.block__macro-line {
  display: block;
  white-space: nowrap;
}

.block__food-wrap {
  position: relative;
}

.block__food-search {
  width: 100%;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fff;
  cursor: pointer;
}

.block__food-search:focus {
  outline: 2px solid rgba(47, 111, 99, 0.3);
  border-color: var(--accent);
}

.block__food-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  margin-top: 4px;
}

.block__food-wrap.is-open .block__food-dropdown {
  display: block;
}

.block__food-option {
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.block__food-option:last-child {
  border-bottom: none;
}

.block__food-option:hover,
.block__food-option.is-highlighted {
  background: var(--soft);
}

.block__food-option.is-selected {
  background: rgba(47, 111, 99, 0.1);
  font-weight: 600;
}

.block__food-option.is-hidden {
  display: none;
}

.block-manual {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 0.75rem;
  padding: 0 0 0.6rem;
}

.block-manual label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.block-manual input {
  width: 100%;
  height: 40px;
  margin-top: 0.3rem;
}

.block-add {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0 0 0.75rem;
  border-bottom: 1px dashed var(--line);
}

.block-add--last {
  border-bottom: none;
}

.block-add__button {
  background: transparent;
  color: var(--accent-dark);
  border: 1px dashed var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  min-height: 32px;
  box-shadow: none;
  transform: none;
}

.block-add__button:hover {
  background: #f2eee6;
  box-shadow: none;
  transform: none;
}

.block-add__button--remove {
  color: #8b4a2a;
  border-color: rgba(213, 106, 31, 0.35);
}

.block-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink);
}

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

.switch__track {
  width: 46px;
  height: 26px;
  background: #e7dfd3;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease;
}

.switch__track::after {
  content: "";
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.switch input:checked + .switch__track {
  background: var(--accent);
}

.switch input:checked + .switch__track::after {
  transform: translateX(20px);
}

.switch__label {
  font-weight: 600;
}

.steps {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.collapsible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--ink);
  cursor: pointer;
}

.collapsible:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.collapsible__icon {
  font-size: 1.4rem;
  color: var(--muted);
}

.collapsible__body {
  margin-top: 1rem;
}

.collapsible__body.is-collapsed {
  display: none;
}

.info-popover {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 260px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 18px 40px rgba(30, 25, 20, 0.18);
  font-size: 0.9rem;
  color: var(--ink);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.info-popover--show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.info-popover__title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.info-popover__progress {
  height: 4px;
  background: #f1ebe2;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.6rem;
}

.info-popover__bar {
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(1);
}

.info-popover__bar.is-running {
  animation: infoCountdown 10s linear forwards;
}

@keyframes infoCountdown {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

.calendar {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.calendar__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.calendar__title {
  font-weight: 600;
  font-size: 1rem;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar__day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.4rem;
  text-align: center;
  font-size: 0.85rem;
  cursor: pointer;
  position: relative;
}

.calendar__day--inactive {
  opacity: 0.35;
  cursor: default;
}

.calendar__day--selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(47, 111, 99, 0.2);
}

.calendar__day--saved::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}

.calendar__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.calendar__buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.food-form {
  margin-top: 1rem;
}

.food-search {
  margin-top: 1.5rem;
}

.food-search input {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 0.95rem;
  background: var(--soft);
}

.food-search input:focus {
  outline: 2px solid rgba(47, 111, 99, 0.3);
  border-color: var(--accent);
  background: #fff;
}

.food-list {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.food-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.food-row__meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.food-row__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

@media (max-width: 780px) {
  .save-stamp {
    left: 1rem;
    right: 1rem;
    text-align: left;
  }

  .tab-panel[data-panel="dieta"] {
    padding-bottom: 170px;
  }

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

  .brand__left {
    width: 100%;
  }

  .brand__mark {
    width: 56px;
    height: 56px;
  }

  .brand__text h1 {
    font-size: 1.6rem;
  }

  .brand__actions {
    width: 100%;
    justify-content: flex-start;
  }

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

  .block {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .block__name,
  .block__meta,
  .block__food,
  .block__grams-wrap,
  .block__summary {
    grid-column: 1;
    grid-row: auto;
  }

  .block-manual {
    grid-template-columns: 1fr;
  }

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

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

  .row-actions {
    grid-template-columns: 1fr;
  }

  .food-row {
    grid-template-columns: 1fr;
  }

  .food-row__actions {
    justify-content: flex-start;
  }
}

.save-row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  margin-top: 1rem;
}

.save-row label {
  flex: 0 0 auto;
}

.save-row input[type="date"] {
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
}

.save-row button {
  height: 44px;
  padding: 0 1.5rem;
}
