:root {
  --green: #285440;
  --lime: #d9ee9a;
  --bg: #f6f7f3;
  --muted: #879087;
  --border: #e8ebe4;
  --orange: #d7a876;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: #26382e;
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
aside {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 238px;
  background: #fff;
  border-left: 1px solid var(--border);
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--green);
  font-size: 44px;
  padding: 0 10px;
}
.brand b {
  font-size: 32px;
}
.brand span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: -5px;
}
.nav-label {
  font-size: 10px;
  color: #a0a79e;
  margin: 44px 15px 15px;
}
nav {
  display: grid;
  gap: 8px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: right;
  border-radius: 10px;
  padding: 13px 17px;
  font-size: 21px;
  color: #7e8a80;
}
nav button span {
  font-size: 13px;
}
nav button.active {
  background: #edf3e6;
  color: var(--green);
  font-weight: 600;
}
.side-note {
  margin: 38px 0 20px;
  background: #f6f7ef;
  border: 1px solid #e9eddd;
  border-radius: 13px;
  padding: 18px 15px;
  position: relative;
}
.side-note > span {
  font-size: 27px;
  color: #6a8553;
}
.side-note b {
  font-size: 12px;
  display: block;
  margin: 7px 0;
}
.side-note p {
  font-size: 11px;
  color: #92998b;
  line-height: 2;
}
.plant {
  text-align: left;
  font-size: 39px;
  height: 48px;
}
.settings {
  margin-top: auto;
  text-align: right;
  padding: 16px;
  font-size: 12px;
  color: #7c887e;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.profile b {
  font-size: 12px;
}
.profile small {
  display: block;
  font-size: 10px;
  color: #929b91;
  margin-top: 4px;
}
.profile > span {
  margin-right: auto;
}
.avatar {
  background: #e6eadf;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #6b805a;
}
main {
  margin-right: 238px;
}
header {
  height: 82px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  background: #fafbf8;
}
.breadcrumb {
  font-size: 11px;
  color: #9ca497;
}
.breadcrumb span {
  margin: 0 13px;
  color: #c6cbc1;
}
.breadcrumb b {
  font-weight: 500;
  color: #53614e;
}
.header-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 10px;
}
.status {
  color: #8c9b7c;
}
.status:first-letter {
  color: #87aa5d;
}
.header-actions button {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 11px;
}
.content {
  max-width: 1380px;
  margin: auto;
  padding: 33px 42px;
}
.greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 29px;
}
.eyebrow {
  font-size: 11px;
  color: #8a967b;
  margin-bottom: 7px;
}
h1 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 0;
  font-weight: 700;
}
.greeting p {
  font-size: 12px;
  color: #90988b;
  margin: 10px 0 0;
}
.date-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  padding: 7px;
}
.date-picker input {
  border: 0;
  color: #596450;
  background: none;
  width: 142px;
  font-size: 11px;
}
.date-picker button {
  color: #929b89;
  padding: 5px 9px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 23px;
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
h2 {
  font-size: 15px;
  margin: 0;
}
h3 {
  font-size: 13px;
  margin: 0;
}
.hint {
  color: #929b8a;
  font-size: 10px;
}
.pill {
  font-size: 10px;
  border-radius: 6px;
  padding: 5px 9px;
  background: #f1f5e8;
  color: #6e8153;
}
.summary {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  min-height: 202px;
}
.number {
  text-align: center;
}
.number b {
  display: block;
  font-size: 25px;
  font-weight: 600;
  direction: ltr;
}
.number span {
  display: block;
  color: #85917d;
  font-size: 11px;
  margin-top: 6px;
}
.number small {
  font-size: 10px;
  color: #a3aa9b;
}
.ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--green) var(--pct), #edf0e6 0);
  padding: 12px;
  transform: rotate(-90deg);
}
.ring-inner {
  height: 100%;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}
.ring-inner b {
  font-size: 33px;
  font-weight: 600;
  line-height: 1.5;
}
.ring-inner span {
  font-size: 11px;
  color: #84907d;
}
.ring-inner small {
  font-size: 9px;
  color: #a1aa97;
}
.macro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid var(--border);
  padding-top: 21px;
  margin-top: 21px;
}
.macro-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 11px;
}
.macro-head span {
  font-size: 10px;
  color: #9aa28f;
}
.bar {
  height: 6px;
  border-radius: 10px;
  background: #f0f1eb;
  overflow: hidden;
}
.bar i {
  height: 100%;
  display: block;
  border-radius: 10px;
}
.energy {
  background: #eef3e4;
  margin-top: 20px;
  border-radius: 8px;
  text-align: center;
  padding: 9px;
  font-size: 10px;
  color: #788564;
}
.week {
  display: flex;
  justify-content: space-between;
  margin: 23px 0 14px;
}
.day {
  text-align: center;
  font-size: 10px;
  color: #959e8d;
  padding: 9px 8px;
  border-radius: 10px;
}
.day b {
  display: block;
  margin-top: 9px;
  font-size: 13px;
  font-weight: 500;
}
.day.selected {
  background: var(--green);
  color: #fff;
}
.week-message {
  display: flex;
  gap: 13px;
  align-items: center;
  background: #f7f8f2;
  padding: 14px;
  border-radius: 10px;
  margin-top: 18px;
}
.week-message span {
  font-size: 29px;
}
.week-message p {
  font-size: 10px;
  color: #8e9882;
  margin: 5px 0 0;
}
.stack {
  display: grid;
  gap: 22px;
}
.water-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.water-amount {
  font-size: 23px;
  margin: 13px 0;
}
.water-amount small {
  font-size: 11px;
  color: #929e96;
}
.glasses {
  display: flex;
  gap: 7px;
  margin: 16px 0;
}
.glass {
  width: 28px;
  height: 34px;
  border: 1.5px solid #dfe8e9;
  border-radius: 3px 3px 8px 8px;
  color: #aec3c7;
  padding: 0;
  font-size: 19px;
}
.glass.filled {
  background: #dceef1;
  border-color: #a8cbd0;
  color: #73a8af;
}
.water-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.water-bottom span {
  font-size: 10px;
  color: #9ba79e;
}
.water-bottom button {
  font-size: 11px;
  color: #7a9aa1;
}
.section-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 0 16px;
}
.section-line p {
  font-size: 10px;
  color: #9aa18f;
  margin: 5px 0;
}
.text-btn {
  font-size: 11px;
  color: #71855f;
}
.meal {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid #eff1ea;
}
.meal:last-child {
  border: 0;
  padding-bottom: 0;
}
.meal-icon {
  width: 43px;
  height: 43px;
  background: #faf3e6;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 23px;
}
.meal-info {
  flex: 1;
}
.meal-info p {
  font-size: 10px;
  color: #9da490;
  margin: 5px 0 0;
}
.meal-kcal {
  font-size: 13px;
}
.meal-kcal small {
  font-size: 9px;
  color: #9aa38d;
}
.add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f5eb;
  color: #768861;
  font-size: 20px;
  margin-right: 10px;
}
.workout {
  background: var(--green);
  color: #fff;
  overflow: hidden;
  position: relative;
  min-height: 210px;
}
.workout:after {
  content: "⌁";
  font-size: 200px;
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff0c;
  transform: rotate(-25deg);
  pointer-events: none;
}
.workout .hint {
  color: #adc2a8;
}
.workout h2 {
  font-size: 18px;
  margin: 20px 0 7px;
}
.workout p {
  font-size: 11px;
  color: #c3d1bd;
}
.workout button {
  background: #ddeeaa;
  color: #33533b;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 11px;
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
.workout-meta {
  display: flex;
  gap: 23px;
  color: #b9cbb1;
  font-size: 10px;
  margin-top: 19px;
}
.recipe-banner {
  padding: 0;
  overflow: hidden;
  display: flex;
  margin-top: 22px;
  min-height: 136px;
  background: #eeeede;
}
.recipe-banner img {
  width: 37%;
  object-fit: cover;
}
.recipe-banner > div {
  padding: 20px;
}
.recipe-banner h3 {
  font-size: 15px;
  margin: 8px 0;
}
.recipe-banner p {
  font-size: 10px;
  color: #93977e;
}
.recipe-banner button {
  font-size: 11px;
  color: #67794e;
}
footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a4ad9a;
  padding: 30px 0 5px;
}
.btn {
  background: var(--green);
  color: white;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 12px;
}
.secondary {
  background: #edf2e6;
  color: var(--green);
}
dialog {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 25px;
  width: 490px;
  max-width: 94vw;
  color: #26382e;
}
dialog::backdrop {
  background: #13281e66;
  backdrop-filter: blur(4px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-head button {
  font-size: 24px;
  color: #999;
}
label {
  display: block;
  font-size: 12px;
  margin: 13px 0 5px;
}
input,
select {
  border: 1px solid #dfe5da;
  background: #fafbf8;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  color: #354b36;
}
form .btn {
  margin-top: 20px;
  width: 100%;
}
.tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}
.tabs button {
  flex: 1;
  padding: 9px;
  border-radius: 8px;
  background: #f1f3ed;
  font-size: 11px;
}
.tabs button.active {
  background: #dfeacb;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}
.search-result small {
  display: block;
  font-size: 10px;
  color: #8c9784;
}
.search-result button {
  background: #edf2e6;
  border-radius: 7px;
  padding: 6px 12px;
}
.error {
  color: #a14737;
  font-size: 12px;
}
.entry {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f7f8f3;
  margin-top: 8px;
  font-size: 12px;
}
.entry span {
  flex: 1;
}
.entry button {
  color: #a37869;
}
.exercise-row {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.exercise-row .num {
  font-size: 24px;
  color: #bbc9ac;
}
.exercise-row div {
  flex: 1;
}
.exercise-row p {
  font-size: 11px;
  color: #8e9984;
}
.exercise-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}
.big-stat {
  font-size: 35px;
  display: block;
  margin: 15px 0;
}
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.recipe-card {
  padding: 0;
  overflow: hidden;
}
.recipe-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.recipe-card > div {
  padding: 20px;
}
.recipe-card p {
  color: #8c987f;
  font-size: 11px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 30px;
  background: #285440;
  color: white;
  padding: 13px 22px;
  border-radius: 10px;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  z-index: 10;
}
.chart {
  height: 190px;
  display: flex;
  gap: 16px;
  align-items: end;
  margin: 30px 0;
}
.chart-col {
  flex: 1;
  background: #d9e7c5;
  min-height: 4px;
  border-radius: 6px 6px 0 0;
  position: relative;
}
.chart-col span {
  position: absolute;
  bottom: -25px;
  font-size: 10px;
  width: 100%;
  text-align: center;
}
video {
  width: 100%;
  border-radius: 10px;
}
a {
  color: inherit;
}
.notice {
  font-size: 11px;
  line-height: 2;
  color: #8b967f;
  background: #f4f6ee;
  padding: 12px;
  border-radius: 8px;
}
@media (min-width: 1450px) {
  .content {
    padding-top: 40px;
  }
  .grid {
    gap: 26px;
  }
  .card {
    padding: 27px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 195px;
    padding: 25px 15px;
  }
  main {
    margin-right: 195px;
  }
  .content {
    padding: 25px;
  }
  .grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .ring {
    width: 145px;
    height: 145px;
  }
  .number b {
    font-size: 21px;
  }
  .summary {
    gap: 5px;
  }
  .card {
    padding: 18px;
  }
  .glasses {
    gap: 4px;
  }
  .glass {
    width: 23px;
  }
}
@media (max-width: 800px) {
  aside {
    position: static;
    width: 100%;
    padding: 12px 20px;
  }
  .brand {
    font-size: 30px;
  }
  .brand b {
    font-size: 24px;
  }
  .brand span,
  .nav-label,
  .side-note,
  .settings,
  .profile {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 15px;
  }
  nav button {
    white-space: nowrap;
    padding: 8px;
    gap: 6px;
  }
  nav button span {
    font-size: 11px;
  }
  main {
    margin: 0;
  }
  header {
    height: 55px;
    padding: 0 20px;
  }
  .status {
    display: none;
  }
  .content {
    padding: 22px 18px;
  }
  .greeting {
    align-items: start;
    gap: 15px;
    flex-direction: column;
  }
  h1 {
    font-size: 25px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .recipe-grid {
    grid-template-columns: 1fr;
  }
  .ring {
    width: 165px;
    height: 165px;
  }
  .summary {
    justify-content: space-around;
  }
  .glasses {
    gap: 12px;
  }
  .glass {
    width: 29px;
  }
  .date-picker input {
    width: 150px;
  }
  .recipe-banner img {
    width: 35%;
  }
}
.sample-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #edf3e4;
}
.sample-hero h2 {
  font-size: 23px;
  margin-top: 15px;
}
.sample-hero p {
  font-size: 12px;
  color: #7e8b73;
}
.sample-days {
  display: flex;
  gap: 9px;
  margin: 22px 0;
  overflow: auto;
}
.sample-days button {
  padding: 12px 20px;
  border-radius: 9px;
  background: white;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.sample-days button.active {
  background: var(--green);
  color: #fff;
}
.sample-home {
  margin-top: 22px;
  background: #eaf0df;
  padding: 18px 23px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
@media (max-width: 800px) {
  .sample-hero {
    align-items: start;
    flex-direction: column;
  }
  .sample-home {
    gap: 15px;
    align-items: start;
    flex-direction: column;
  }
  .sample-days button {
    padding: 10px 14px;
  }
}
[hidden] {
  display: none !important;
}
body {
  min-height: 100vh;
}
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background:
    radial-gradient(ellipse at 15% 15%, #e8efdb, transparent 60%), var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 450px;
  background: white;
  border: 1px solid var(--border);
  padding: 35px;
  border-radius: 22px;
  box-shadow: 0 15px 70px #254e3c0b;
}
.auth-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.auth-logo {
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
}
.auth-card h1 {
  font-size: 25px;
  margin: 20px 0 10px;
}
.auth-card > p {
  font-size: 12px;
  color: #87947e;
  line-height: 2;
}
.auth-card .btn {
  width: 100%;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}
.auth-switch {
  display: block;
  margin: 20px auto;
}
.hub-intro {
  background: #edf3e4;
  padding: 30px;
}
.hub-intro h2 {
  font-size: 25px;
  margin: 20px 0 10px;
}
.hub-intro p {
  color: #7e8a72;
  line-height: 2;
}
.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 25px;
}
.module-icon {
  display: block;
  font-size: 42px;
  margin: 10px 0 25px;
}
.module-card h2 {
  font-size: 21px;
  margin: 20px 0 12px;
}
.module-card p {
  font-size: 12px;
  color: #85917a;
  line-height: 2;
  min-height: 50px;
}
.planned {
  background: #f0f2eb;
}
.planned .btn {
  opacity: 0.6;
  cursor: default;
}
.profile button {
  margin-inline-start: auto;
  font-size: 10px;
  color: #738267;
}
.header-actions {
  gap: 10px;
}
.sync-status {
  font-size: 10px !important;
  background: transparent !important;
  color: #788d67;
}
.sync-error {
  color: #b26b45 !important;
}
.sync-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.sync-actions .btn {
  font-size: 11px;
}
.sample-meal-text {
  font-size: 12px !important;
  line-height: 2;
  color: #65745e !important;
}
.entry .hint {
  line-height: 2;
}
.recipe-grid .card h2 {
  line-height: 1.8;
}
.settings {
  margin-top: 20px;
}
nav button {
  padding: 10px 15px;
}
.side-note {
  margin-top: 25px;
}
html[dir="ltr"] aside {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid var(--border);
}
html[dir="ltr"] main {
  margin-right: 0;
  margin-left: 238px;
}
html[dir="ltr"] nav button,
html[dir="ltr"] .settings {
  text-align: left;
}
html[dir="ltr"] .add {
  margin-right: 0;
  margin-left: 10px;
}
html[dir="ltr"] .profile > span {
  margin-right: 0;
  margin-left: auto;
}
html[dir="ltr"] h1 {
  letter-spacing: -0.6px;
}
html[dir="ltr"] .macro-head {
  gap: 7px;
}
html[dir="ltr"] .macro-head span {
  white-space: nowrap;
}
html[dir="ltr"] #prev,
html[dir="rtl"] #next {
  transform: rotate(180deg);
}
@media (max-width: 1100px) {
  html[dir="ltr"] main {
    margin-left: 195px;
  }
}
@media (max-width: 800px) {
  html[dir="ltr"] main {
    margin-left: 0;
  }
  .module-grid {
    grid-template-columns: 1fr;
  }
  .header-actions {
    flex-wrap: wrap;
    gap: 3px;
  }
  .header-actions button {
    font-size: 9px;
    padding: 6px 8px;
  }
  header {
    padding: 0 12px;
  }
  .breadcrumb {
    font-size: 9px;
  }
  .sync-actions {
    flex-direction: column;
  }
  .profile {
    display: flex;
    border: 0;
    padding: 10px 5px 0;
  }
  .profile small {
    display: none;
  }
  .profile .avatar {
    width: 25px;
    height: 25px;
  }
  .auth-card {
    padding: 25px;
  }
  .module-card p {
    min-height: 0;
  }
  .sample-hero h2 {
    font-size: 21px;
  }
}
aside {
  overflow-y: auto;
}
.settings {
  margin-top: auto;
}
.error {
  line-height: 1.9;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
@media (max-height: 900px) and (min-width: 801px) {
  .side-note {
    display: none;
  }
  aside {
    padding-top: 25px;
    padding-bottom: 20px;
  }
  .nav-label {
    margin-top: 25px;
  }
}
@media (max-width: 500px) {
  .header-actions {
    gap: 0;
  }
  header {
    height: auto;
    min-height: 62px;
    gap: 5px;
  }
  .breadcrumb span {
    margin: 0 4px;
  }
  .sync-status {
    max-width: 100px;
    line-height: 1.7;
  }
  .macro-grid {
    gap: 12px;
  }
  .macro-head {
    flex-direction: column;
    gap: 5px;
  }
  .auth-screen {
    padding: 15px;
  }
}
@media (max-width: 800px) {
  .settings {
    display: block;
    margin: 5px 0 0;
    padding: 8px;
    font-size: 11px;
  }
}
.fasting-clock {
  font-size: 36px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  margin: 16px 0;
  color: var(--green);
}
.fasting-card .bar {
  margin: 15px 0;
}
.fasting-card .hint {
  line-height: 1.9;
}
.fasting-history-link {
  display: block;
  margin-top: 15px;
}
.fasting-history {
  justify-content: space-between;
}
.fasting-history p {
  margin: 8px 0;
}
.fasting-history b {
  white-space: nowrap;
}
.profile > div:nth-child(2) {
  min-width: 0;
}
.profile b,
.hub-intro h2 {
  overflow-wrap: anywhere;
}
.profile button {
  flex-shrink: 0;
}
#pwaTools {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  inset-inline-end: 16px;
  z-index: 8;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: calc(100vw - 32px);
}
#pwaTools button {
  font-size: 11px;
  box-shadow: 0 3px 20px #1935291a;
}
#pwaDialog .hint {
  line-height: 2;
}
footer {
  padding-bottom: 70px;
}
.auth-screen {
  padding-bottom: 90px;
}
@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top);
  }
  #installApp {
    display: none;
  }
}
