:root {
  --astodo-font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --astodo-bg: #f4f7fb;
  --astodo-ink: #121826;
  --astodo-muted: #6b7280;
  --astodo-line: #e4e9f2;
  --astodo-card: #ffffff;
  --astodo-primary: #5b5cf0;
  --astodo-primary-dark: #4143d9;
  --astodo-primary-soft: #eeefff;
  --astodo-success: #17a673;
  --astodo-danger: #df4d67;
  --astodo-warning: #e59422;
  --astodo-sidebar: #111827;
  --astodo-sidebar-soft: #1d2738;
  --astodo-shadow: 0 24px 70px rgba(17, 24, 39, 0.11);
  --astodo-radius-xl: 30px;
  --astodo-radius-lg: 22px;
  --astodo-radius-md: 16px;
  --astodo-radius-sm: 12px;
}

html,
body.astodo-app-body {
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  direction: rtl;
  background: var(--astodo-bg) !important;
  color: var(--astodo-ink) !important;
  font-family: var(--astodo-font) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.astodo-app-body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

#astodo-app,
#astodo-app * {
  box-sizing: border-box;
  font-family: var(--astodo-font);
}

#astodo-app button,
#astodo-app input,
#astodo-app textarea {
  font: inherit;
}

#astodo-app button,
#astodo-app a {
  -webkit-tap-highlight-color: transparent;
}

#astodo-app button {
  border: 0;
}

.astodo-app {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  isolation: isolate;
}

.astodo-app::before,
.astodo-app::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.astodo-app::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: 16%;
  background: rgba(91, 92, 240, 0.13);
}

.astodo-app::after {
  width: 360px;
  height: 360px;
  bottom: -180px;
  left: -100px;
  background: rgba(34, 197, 165, 0.1);
}

.astodo-initial-loader,
.astodo-screen-loader {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--astodo-ink);
}

.astodo-loader-logo,
.astodo-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(145deg, #7778ff, #4b4dde);
  box-shadow: 0 12px 28px rgba(91, 92, 240, 0.3);
}

.astodo-initial-loader div,
.astodo-screen-loader div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.astodo-initial-loader strong,
.astodo-screen-loader strong {
  font-size: 18px;
  font-weight: 900;
}

.astodo-initial-loader small,
.astodo-screen-loader small {
  color: var(--astodo-muted);
  font-size: 12px;
}

.astodo-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(275px, 330px) minmax(0, 1fr);
}

.astodo-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgba(122, 124, 255, 0.24), transparent 28%),
    linear-gradient(165deg, #172033 0%, var(--astodo-sidebar) 63%, #0d1320 100%);
}

.astodo-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 75%);
}

.astodo-sidebar > * {
  position: relative;
  z-index: 1;
}

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

.astodo-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 21px;
}

.astodo-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.astodo-brand-copy strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.astodo-brand-copy small {
  color: #9ca9bf;
  font-size: 11px;
}

.astodo-list-info {
  margin-top: 38px;
}

.astodo-list-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #9ca9bf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
}

.astodo-list-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58d9ac;
  box-shadow: 0 0 0 5px rgba(88, 217, 172, .1);
}

.astodo-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.astodo-title-row h1 {
  flex: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -.6px;
  overflow-wrap: anywhere;
}

.astodo-icon-button {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: inherit;
  cursor: pointer;
  background: transparent;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .3s ease, color .3s ease;
}

.astodo-icon-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .1);
}

.astodo-icon-button svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-list-info .astodo-icon-button {
  color: #aab4c8;
}

.astodo-progress-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 19px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}

.astodo-progress-head,
.astodo-sidebar-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.astodo-progress-head span {
  color: #b8c1d1;
  font-size: 12px;
}

.astodo-progress-head strong {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.astodo-progress-track {
  height: 8px;
  margin-top: 13px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
}

.astodo-progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5ddea7, #8ff0c9);
  box-shadow: 0 0 18px rgba(93,222,167,.45);
  transition: width .65s cubic-bezier(.22,1,.36,1);
}

.astodo-sidebar-stats {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.astodo-sidebar-stat {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.astodo-sidebar-stat span {
  color: #9ca9bf;
  font-size: 12px;
}

.astodo-sidebar-stat strong {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.astodo-share-card {
  margin-top: auto;
  padding-top: 28px;
}

.astodo-share-card > span {
  display: block;
  margin-bottom: 8px;
  color: #9ca9bf;
  font-size: 11px;
}

.astodo-token-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
  background: rgba(0,0,0,.16);
}

.astodo-token-box code {
  flex: 1;
  color: #fff;
  direction: ltr;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.astodo-token-box .astodo-icon-button {
  color: #b6c2d5;
  background: rgba(255,255,255,.06);
}

.astodo-sidebar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.astodo-sidebar-button {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #f5f7fb;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255,255,255,.075);
  transition: background .18s ease, transform .18s ease;
}

.astodo-sidebar-button:hover {
  color: #fff;
  transform: translateY(-1px);
  background: rgba(255,255,255,.13);
}

.astodo-sidebar-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-main {
  min-width: 0;
  padding: 28px clamp(22px, 4vw, 64px) 54px;
}

.astodo-topbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.astodo-mobile-brand,
.astodo-mobile-share {
  display: none;
}

.astodo-sync-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--astodo-muted);
  font-size: 12px;
}

.astodo-sync-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22b983;
  box-shadow: 0 0 0 5px rgba(34,185,131,.09);
}

.astodo-sync-status.is-syncing::before {
  background: var(--astodo-warning);
  animation: astodoPulse 1.55s cubic-bezier(.4,0,.2,1) infinite;
}

.astodo-sync-status.is-error::before {
  background: var(--astodo-danger);
}

@keyframes astodoPulse {
  50% { opacity: .35; transform: scale(.82); }
}

.astodo-top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.astodo-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--astodo-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--astodo-line) !important;
  box-shadow: 0 8px 25px rgba(25, 32, 45, .045);
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, border-color .32s ease, background-color .32s ease;
}

.astodo-btn:hover {
  color: var(--astodo-ink);
  transform: translateY(-1px);
  border-color: #cfd7e5 !important;
  box-shadow: 0 12px 28px rgba(25, 32, 45, .08);
}

.astodo-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-btn-primary {
  color: #fff !important;
  border-color: var(--astodo-primary) !important;
  background: linear-gradient(145deg, #6869f8, var(--astodo-primary)) !important;
  box-shadow: 0 13px 30px rgba(91,92,240,.22);
}

.astodo-btn-primary:hover {
  color: #fff !important;
  border-color: var(--astodo-primary-dark) !important;
  box-shadow: 0 17px 34px rgba(91,92,240,.3);
}

.astodo-content {
  max-width: 1050px;
  margin: 38px auto 0;
}

.astodo-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.astodo-heading h2 {
  margin: 0;
  color: var(--astodo-ink);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -1px;
}

.astodo-heading p {
  margin: 6px 0 0;
  color: var(--astodo-muted);
  font-size: 13px;
  line-height: 1.9;
}

.astodo-filter-tabs {
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--astodo-line);
  border-radius: 13px;
  background: rgba(255,255,255,.78);
}

.astodo-filter-tabs button {
  min-width: 62px;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--astodo-muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.astodo-filter-tabs button.is-active {
  color: var(--astodo-ink);
  background: #fff;
  box-shadow: 0 5px 14px rgba(17,24,39,.08);
}

.astodo-readonly-banner {
  margin-bottom: 16px;
  padding: 13px 16px;
  border: 1px solid #f2d5a7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #875816;
  font-size: 12px;
  line-height: 1.8;
  background: #fff8eb;
}

.astodo-readonly-banner svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-add-card {
  padding: 10px;
  border: 1px solid var(--astodo-line);
  border-radius: 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 45px rgba(17,24,39,.06);
  transition: border-color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.astodo-add-card:focus-within {
  border-color: rgba(91,92,240,.5);
  box-shadow: 0 20px 48px rgba(91,92,240,.1);
}

.astodo-add-icon {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--astodo-primary);
  background: var(--astodo-primary-soft);
}

.astodo-add-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.astodo-add-card input {
  min-width: 0;
  flex: 1;
  height: 43px;
  padding: 0 5px;
  border: 0 !important;
  outline: 0 !important;
  color: var(--astodo-ink) !important;
  font-size: 13px;
  font-weight: 500;
  background: transparent !important;
  box-shadow: none !important;
}

.astodo-add-card input::placeholder {
  color: #a2aaba;
}

.astodo-add-card button {
  min-height: 43px;
  padding-inline: 20px;
}

.astodo-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.astodo-item {
  position: relative;
  min-height: 72px;
  padding: 12px 14px 12px 12px;
  border: 1px solid var(--astodo-line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 9px 28px rgba(17,24,39,.035);
  transition: transform .34s cubic-bezier(.22,1,.36,1), border-color .3s ease, box-shadow .34s ease, opacity .28s ease, background-color .3s ease;
}

.astodo-item:hover {
  transform: translateY(-1px);
  border-color: #d5dce8;
  box-shadow: 0 14px 34px rgba(17,24,39,.065);
}

.astodo-item.is-done {
  background: rgba(249,250,252,.84);
}

.astodo-item.is-dragging {
  opacity: .45;
  transform: scale(.985);
}

.astodo-item.is-drop-target {
  border-color: var(--astodo-primary);
  box-shadow: 0 0 0 3px rgba(91,92,240,.08);
}

.astodo-drag-handle {
  width: 27px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #bcc3cf;
  cursor: grab;
  background: transparent;
}

.astodo-drag-handle:active {
  cursor: grabbing;
}

.astodo-drag-handle svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.astodo-check {
  width: 26px;
  height: 26px;
  border: 2px solid #ccd3df !important;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: transparent;
  cursor: pointer;
  background: #fff;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.astodo-check:hover {
  transform: scale(1.06);
  border-color: var(--astodo-primary) !important;
}

.astodo-check svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-item.is-done .astodo-check {
  color: #fff;
  border-color: var(--astodo-success) !important;
  background: var(--astodo-success);
}

.astodo-item-copy {
  min-width: 0;
  flex: 1;
}

.astodo-item-text {
  margin: 0;
  color: #242c3b;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.95;
  overflow-wrap: anywhere;
  transition: color .3s ease, opacity .3s ease;
}

.astodo-item.is-done .astodo-item-text {
  color: #9299a7;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.astodo-item-edit {
  width: 100%;
  min-height: 43px;
  padding: 8px 11px;
  border: 1px solid rgba(91,92,240,.4) !important;
  border-radius: 11px;
  outline: 0;
  color: var(--astodo-ink);
  resize: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91,92,240,.07) !important;
}

.astodo-item-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.astodo-item:hover .astodo-item-actions,
.astodo-item:focus-within .astodo-item-actions {
  opacity: 1;
  transform: translateX(0);
}

.astodo-item-actions .astodo-icon-button {
  width: 36px;
  height: 36px;
  color: #8d95a4;
}

.astodo-item-actions .astodo-icon-button:hover {
  color: var(--astodo-primary);
  background: var(--astodo-primary-soft);
}

.astodo-item-actions .astodo-delete:hover {
  color: var(--astodo-danger);
  background: #fff0f3;
}

.astodo-empty {
  margin-top: 18px;
  padding: 55px 20px;
  border: 1px dashed #d6dde8;
  border-radius: 22px;
  text-align: center;
  background: rgba(255,255,255,.54);
}

.astodo-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--astodo-primary);
  background: var(--astodo-primary-soft);
}

.astodo-empty-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-empty h3 {
  margin: 0;
  color: var(--astodo-ink);
  font-size: 17px;
  font-weight: 900;
}

.astodo-empty p {
  max-width: 430px;
  margin: 7px auto 0;
  color: var(--astodo-muted);
  font-size: 12px;
  line-height: 1.9;
}

.astodo-entry-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 26px;
  display: grid;
  place-items: center;
}

.astodo-entry-wrap {
  width: min(1040px, 100%);
  min-height: 620px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--astodo-radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  overflow: hidden;
  background: rgba(255,255,255,.84);
  box-shadow: var(--astodo-shadow);
  backdrop-filter: blur(18px);
}

.astodo-entry-visual {
  position: relative;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(121,123,255,.4), transparent 34%),
    linear-gradient(150deg, #1b2640 0%, #111827 68%, #0c1320 100%);
}

.astodo-entry-visual::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: -130px;
  bottom: -125px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.02);
}

.astodo-entry-visual > * {
  position: relative;
  z-index: 1;
}

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

.astodo-entry-brand strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.astodo-entry-brand small {
  display: block;
  margin-top: 2px;
  color: #aab5c8;
  font-size: 11px;
}

.astodo-entry-hero h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(31px, 4vw, 49px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -1.4px;
}

.astodo-entry-hero p {
  max-width: 500px;
  margin: 15px 0 0;
  color: #bdc7d8;
  font-size: 13px;
  line-height: 2.1;
}

.astodo-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.astodo-feature {
  min-height: 98px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: rgba(255,255,255,.045);
}

.astodo-feature svg {
  width: 21px;
  height: 21px;
  color: #8e90ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-feature strong {
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.astodo-entry-panel {
  padding: 50px clamp(28px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.92);
}

.astodo-entry-panel h2 {
  margin: 0;
  color: var(--astodo-ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.6px;
}

.astodo-entry-panel > p {
  margin: 8px 0 26px;
  color: var(--astodo-muted);
  font-size: 12px;
  line-height: 1.95;
}

.astodo-form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 13px;
}

.astodo-form-group label {
  color: #343b49;
  font-size: 12px;
  font-weight: 800;
}

.astodo-field {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--astodo-line) !important;
  border-radius: 14px;
  outline: 0;
  color: var(--astodo-ink) !important;
  font-size: 13px;
  font-weight: 600;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.astodo-field:focus {
  border-color: rgba(91,92,240,.62) !important;
  box-shadow: 0 0 0 4px rgba(91,92,240,.08) !important;
}

.astodo-token-field {
  direction: ltr;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.astodo-entry-panel .astodo-btn {
  width: 100%;
  min-height: 50px;
}

.astodo-separator {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a2a9b5;
  font-size: 10px;
  font-weight: 700;
}

.astodo-separator::before,
.astodo-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--astodo-line);
}

.astodo-security-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #687184;
  font-size: 10px;
  line-height: 1.9;
  background: #f6f7fa;
}

.astodo-security-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.astodo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(10, 16, 27, .54);
  backdrop-filter: blur(8px);
  animation: astodoFade .28s ease both;
}

.astodo-modal {
  width: min(460px, 100%);
  padding: 25px;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
  animation: astodoPop .38s cubic-bezier(.22,1,.36,1) both;
}

@keyframes astodoFade { from { opacity: 0; } }
@keyframes astodoPop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.astodo-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.astodo-modal h3 {
  margin: 0;
  color: var(--astodo-ink);
  font-size: 19px;
  font-weight: 900;
}

.astodo-modal p {
  margin: 7px 0 20px;
  color: var(--astodo-muted);
  font-size: 11px;
  line-height: 1.9;
}

.astodo-modal .astodo-icon-button {
  color: #8e96a5;
  background: #f4f5f8;
}

.astodo-modal-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.astodo-modal-actions .astodo-btn {
  min-width: 90px;
}

.astodo-toast-stack {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 2000;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.astodo-toast {
  min-width: 260px;
  max-width: min(380px, calc(100vw - 44px));
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  background: #172033;
  box-shadow: 0 16px 45px rgba(17,24,39,.22);
  animation: astodoToastIn .36s cubic-bezier(.22,1,.36,1) both;
}

.astodo-toast.is-error {
  background: #8e2f42;
}

.astodo-toast.is-success {
  background: #117355;
}

@keyframes astodoToastIn {
  from { opacity: 0; transform: translateY(9px); }
}

.astodo-noscript {
  position: fixed;
  inset: 20px;
  z-index: 99999;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  font-family: var(--astodo-font);
  text-align: center;
  background: #111827;
}

.astodo-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .astodo-shell {
    display: block;
  }

  .astodo-sidebar {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 22px 24px;
    overflow: visible;
  }

  .astodo-sidebar .astodo-brand,
  .astodo-sidebar-stats,
  .astodo-share-card {
    display: none;
  }

  .astodo-list-info {
    margin-top: 0;
  }

  .astodo-list-label {
    margin-bottom: 7px;
  }

  .astodo-title-row h1 {
    font-size: 24px;
  }

  .astodo-progress-card {
    margin-top: 17px;
    padding: 13px 15px;
  }

  .astodo-main {
    padding: 18px 22px 45px;
  }

  .astodo-topbar {
    min-height: 46px;
  }

  .astodo-mobile-brand,
  .astodo-mobile-share {
    display: inline-flex;
  }

  .astodo-mobile-brand {
    align-items: center;
    gap: 9px;
    color: var(--astodo-ink);
    font-size: 14px;
    font-weight: 900;
  }

  .astodo-mobile-brand .astodo-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 17px;
  }

  .astodo-content {
    margin-top: 26px;
  }

  .astodo-entry-wrap {
    grid-template-columns: 1fr;
  }

  .astodo-entry-visual {
    min-height: 330px;
    padding: 35px;
  }

  .astodo-entry-hero h1 {
    font-size: 34px;
  }

  .astodo-entry-panel {
    padding: 38px 35px;
  }
}

@media (max-width: 720px) {
  .astodo-entry-screen {
    padding: 0;
    display: block;
  }

  .astodo-entry-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .astodo-entry-visual {
    min-height: 305px;
    padding: 26px 22px;
  }

  .astodo-entry-hero h1 {
    font-size: 28px;
    line-height: 1.55;
  }

  .astodo-entry-hero p {
    margin-top: 9px;
    font-size: 11px;
  }

  .astodo-feature-list {
    gap: 6px;
  }

  .astodo-feature {
    min-height: 75px;
    padding: 10px;
    border-radius: 13px;
  }

  .astodo-feature svg {
    width: 17px;
    height: 17px;
  }

  .astodo-feature strong {
    font-size: 9px;
  }

  .astodo-entry-panel {
    padding: 31px 22px 42px;
    justify-content: flex-start;
  }

  .astodo-entry-panel h2 {
    font-size: 23px;
  }

  .astodo-sidebar {
    padding: 19px 17px;
  }

  .astodo-title-row h1 {
    font-size: 21px;
  }

  .astodo-main {
    padding: 13px 14px 35px;
  }

  .astodo-sync-status {
    display: none;
  }

  .astodo-top-actions .astodo-btn:not(.astodo-mobile-share) {
    display: none;
  }

  .astodo-content {
    margin-top: 19px;
  }

  .astodo-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 17px;
  }

  .astodo-heading h2 {
    font-size: 26px;
  }

  .astodo-heading p {
    margin-top: 3px;
  }

  .astodo-filter-tabs {
    width: 100%;
  }

  .astodo-filter-tabs button {
    flex: 1;
  }

  .astodo-add-card {
    padding: 8px;
    border-radius: 16px;
  }

  .astodo-add-icon {
    width: 36px;
    height: 36px;
  }

  .astodo-add-card button {
    min-width: 48px;
    width: 48px;
    padding: 0;
    font-size: 0;
  }

  .astodo-add-card button svg {
    width: 19px;
    height: 19px;
  }

  .astodo-item {
    min-height: 68px;
    padding: 10px 10px 10px 7px;
    gap: 8px;
    border-radius: 16px;
  }

  .astodo-drag-handle {
    width: 20px;
  }

  .astodo-item-actions {
    opacity: 1;
    transform: none;
  }

  .astodo-item-actions .astodo-icon-button {
    width: 32px;
    height: 32px;
  }

  .astodo-item-actions .astodo-edit-button {
    display: none;
  }

  .astodo-item-text {
    font-size: 12px;
  }

  .astodo-toast-stack {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .astodo-toast {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .astodo-entry-visual {
    min-height: 288px;
  }

  .astodo-feature-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .astodo-entry-panel {
    padding-inline: 18px;
  }

  .astodo-sidebar {
    padding-inline: 14px;
  }

  .astodo-main {
    padding-inline: 10px;
  }

  .astodo-mobile-brand span:not(.astodo-brand-mark) {
    display: none;
  }

  .astodo-title-row h1 {
    font-size: 19px;
  }

  .astodo-progress-card {
    margin-top: 13px;
  }
}


/* Smoother front-end micro-interactions. */
.astodo-item,
.astodo-btn,
.astodo-icon-button,
.astodo-check,
.astodo-filter-tabs button,
.astodo-add-card {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.astodo-item:active { transform: translateY(0) scale(.995); }
.astodo-btn:active { transform: translateY(0) scale(.985); }
.astodo-icon-button:active, .astodo-check:active { transform: scale(.94); }

.astodo-list > .astodo-item {
  animation: astodoItemEnter .42s cubic-bezier(.22,1,.36,1) both;
}

@keyframes astodoItemEnter {
  from { opacity: 0; transform: translateY(8px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  #astodo-app *,
  #astodo-app *::before,
  #astodo-app *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* OTP authentication + custom icon */
.astodo-brand-image,.astodo-loader-image{width:48px;height:48px;object-fit:contain;border-radius:14px;display:block;flex:0 0 auto}
.astodo-loader-image{width:58px;height:58px}
.astodo-mobile-brand .astodo-brand-image{width:36px;height:36px;border-radius:10px}
.astodo-auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 70% 10%,rgba(99,102,241,.2),transparent 34%),#f4f7fb}
.astodo-auth-card{width:min(100%,500px);background:linear-gradient(145deg,#20294f,#0d1527);color:#fff;border-radius:32px;padding:38px;box-shadow:0 30px 80px rgba(15,23,42,.24);border:1px solid rgba(255,255,255,.1)}
.astodo-auth-brand{display:flex;align-items:center;gap:14px;margin-bottom:42px}.astodo-auth-brand strong{display:block;font-size:21px}.astodo-auth-brand small{color:#aab3cb}
.astodo-auth-copy h1{font-size:30px;margin:14px 0 10px}.astodo-auth-copy p{color:#bdc5d8;line-height:2;margin:0 0 28px}
.astodo-auth-card .astodo-form-group label{color:#e7eaf2}.astodo-auth-card .astodo-field{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#fff}.astodo-auth-card .astodo-field::placeholder{color:#7f8aa5}
.astodo-auth-card .astodo-btn{width:100%}.astodo-auth-back{display:block;margin:18px auto 0;border:0;background:none;color:#aeb8ff;font:inherit;cursor:pointer}.astodo-otp-field{text-align:center!important;direction:ltr;font-size:27px!important;letter-spacing:14px;font-weight:800}
.astodo-auth-card .astodo-security-note{background:rgba(255,255,255,.06);color:#bdc5d8;border-color:rgba(255,255,255,.08);margin-top:24px}
@media(max-width:600px){.astodo-auth-screen{padding:0;background:#10182b}.astodo-auth-card{min-height:100vh;border-radius:0;padding:28px 20px;display:flex;flex-direction:column;justify-content:center}.astodo-auth-copy h1{font-size:25px}}

.astodo-account-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.astodo-my-lists{width:min(1120px,calc(100% - 32px));margin:auto;padding:32px}.astodo-my-lists-head{display:flex;align-items:center;gap:16px;background:#fff;padding:22px;border-radius:24px;margin-bottom:20px}.astodo-my-lists-head>div{flex:1}.astodo-my-lists-head h1{margin:0 0 4px}.astodo-my-lists-head p{margin:0;color:#718096}.astodo-my-lists-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.astodo-my-list-card{display:flex;flex-direction:column;gap:8px;text-decoration:none;background:#fff;border:1px solid #e7eaf2;border-radius:20px;padding:20px;color:#141b2d;box-shadow:0 12px 35px rgba(34,43,75,.08)}.astodo-my-list-card span{font-family:monospace;direction:ltr;text-align:left;color:#6466f1}.astodo-my-list-card small{color:#7b849b}.astodo-my-list-card.is-expired{opacity:.65;border-style:dashed}@media(max-width:800px){.astodo-my-lists-grid{grid-template-columns:1fr}.astodo-my-lists{padding:16px}.astodo-my-lists-head{flex-wrap:wrap}}

/* Empty state CTA - My Lists */
.astodo-my-lists-empty {
  width: min(100%, 430px);
  min-height: 280px;
  margin-inline: auto;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.astodo-my-lists-empty .astodo-empty-icon {
  margin-bottom: 18px;
}

.astodo-empty-cta {
  width: auto;
  min-width: 210px;
  margin-top: 22px;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 14px 34px rgba(96, 91, 255, .24);
}

.astodo-empty-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(96, 91, 255, .32);
}

@media (max-width: 640px) {
  .astodo-my-lists-empty {
    min-height: 250px;
    padding: 32px 20px;
  }

  .astodo-empty-cta {
    width: 100%;
    min-width: 0;
  }
}
\n\n/* Enhanced motion system - v1.4.3 */\n.astodo-entry-wrap,\n.astodo-my-lists-head,\n.astodo-my-list-card,\n.astodo-empty,\n.astodo-progress-card,\n.astodo-stat-card,\n.astodo-add-card {\n  will-change: transform, opacity;\n}\n\n.astodo-my-lists-head {\n  animation: astodoSlideDown .58s cubic-bezier(.16,1,.3,1) both;\n}\n\n.astodo-my-lists-grid > * {\n  animation: astodoCardReveal .62s cubic-bezier(.16,1,.3,1) both;\n}\n\n.astodo-my-lists-grid > *:nth-child(2) { animation-delay: .06s; }\n.astodo-my-lists-grid > *:nth-child(3) { animation-delay: .12s; }\n.astodo-my-lists-grid > *:nth-child(4) { animation-delay: .18s; }\n.astodo-my-lists-grid > *:nth-child(5) { animation-delay: .24s; }\n.astodo-my-lists-grid > *:nth-child(6) { animation-delay: .30s; }\n\n.astodo-my-list-card {\n  transition: transform .38s cubic-bezier(.16,1,.3,1), box-shadow .38s cubic-bezier(.16,1,.3,1), border-color .28s ease, opacity .28s ease;\n}\n\n.astodo-my-list-card:hover {\n  transform: translateY(-6px) scale(1.012);\n  box-shadow: 0 22px 48px rgba(34,43,75,.14);\n  border-color: rgba(99,102,241,.28);\n}\n\n.astodo-empty-icon {\n  animation: astodoIconFloat 3.8s ease-in-out infinite;\n}\n\n.astodo-empty-cta {\n  position: relative;\n  overflow: hidden;\n  animation: astodoCtaBreath 2.8s ease-in-out infinite;\n}\n\n.astodo-empty-cta::after {\n  content: \"\";\n  position: absolute;\n  inset: -60% auto -60% -35%;\n  width: 34%;\n  transform: rotate(18deg);\n  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);\n  animation: astodoShine 3.4s ease-in-out infinite;\n  pointer-events: none;\n}\n\n.astodo-modal-backdrop.is-closing {\n  animation: astodoFadeOut .2s ease both;\n}\n\n.astodo-modal-backdrop.is-closing .astodo-modal {\n  animation: astodoPopOut .2s ease both;\n}\n\n.astodo-modal .astodo-field:focus {\n  animation: astodoFieldFocus .42s cubic-bezier(.16,1,.3,1) both;\n}\n\n@keyframes astodoSlideDown {\n  from { opacity: 0; transform: translateY(-18px) scale(.985); }\n  to { opacity: 1; transform: translateY(0) scale(1); }\n}\n\n@keyframes astodoCardReveal {\n  from { opacity: 0; transform: translateY(24px) scale(.965); }\n  to { opacity: 1; transform: translateY(0) scale(1); }\n}\n\n@keyframes astodoIconFloat {\n  0%, 100% { transform: translateY(0) rotate(0); }\n  50% { transform: translateY(-7px) rotate(-2deg); }\n}\n\n@keyframes astodoCtaBreath {\n  0%, 100% { box-shadow: 0 14px 34px rgba(96,91,255,.24); }\n  50% { box-shadow: 0 18px 46px rgba(96,91,255,.38); }\n}\n\n@keyframes astodoShine {\n  0%, 42% { left: -45%; opacity: 0; }\n  56% { opacity: 1; }\n  72%, 100% { left: 125%; opacity: 0; }\n}\n\n@keyframes astodoFadeOut { to { opacity: 0; } }\n@keyframes astodoPopOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }\n@keyframes astodoFieldFocus {\n  from { transform: scale(.992); }\n  to { transform: scale(1); }\n}\n
/* ===== Theme system & PWA install UI — v1.5.0 ===== */
html[data-astodo-theme="dark"] {
  color-scheme: dark;
  --astodo-bg: #070b16;
  --astodo-ink: #f5f7ff;
  --astodo-muted: #9da8bf;
  --astodo-line: #263148;
  --astodo-card: #111827;
  --astodo-primary: #7a72ff;
  --astodo-primary-dark: #655cf2;
  --astodo-primary-soft: #232346;
  --astodo-success: #42d6aa;
  --astodo-danger: #ff6c86;
  --astodo-warning: #f4ad47;
  --astodo-sidebar: #080d1a;
  --astodo-sidebar-soft: #131c2e;
  --astodo-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

html[data-astodo-theme="dark"],
html[data-astodo-theme="dark"] body.astodo-app-body {
  background: var(--astodo-bg) !important;
  color: var(--astodo-ink) !important;
}

html[data-astodo-theme="dark"] .astodo-app::before { background: rgba(113, 103, 255, .18); }
html[data-astodo-theme="dark"] .astodo-app::after { background: rgba(50, 211, 170, .09); }
html[data-astodo-theme="dark"] .astodo-entry-panel,
html[data-astodo-theme="dark"] .astodo-auth-card,
html[data-astodo-theme="dark"] .astodo-main,
html[data-astodo-theme="dark"] .astodo-my-lists,
html[data-astodo-theme="dark"] .astodo-modal-card,
html[data-astodo-theme="dark"] .astodo-empty,
html[data-astodo-theme="dark"] .astodo-item,
html[data-astodo-theme="dark"] .astodo-stat-card,
html[data-astodo-theme="dark"] .astodo-share-card,
html[data-astodo-theme="dark"] .astodo-my-list-card,
html[data-astodo-theme="dark"] .astodo-progress-card {
  color: var(--astodo-ink);
  background: var(--astodo-card);
  border-color: var(--astodo-line);
}
html[data-astodo-theme="dark"] .astodo-field,
html[data-astodo-theme="dark"] .astodo-add-input,
html[data-astodo-theme="dark"] textarea {
  color: var(--astodo-ink) !important;
  background: #0c1424 !important;
  border-color: #2a3650 !important;
}
html[data-astodo-theme="dark"] .astodo-field::placeholder,
html[data-astodo-theme="dark"] textarea::placeholder { color: #728099; }
html[data-astodo-theme="dark"] .astodo-btn:not(.astodo-btn-primary),
html[data-astodo-theme="dark"] .astodo-filter,
html[data-astodo-theme="dark"] .astodo-icon-button:not(.astodo-sidebar .astodo-icon-button),
html[data-astodo-theme="dark"] .astodo-auth-back {
  color: #dce3f5;
  background: #151f32;
  border-color: #2b3851;
}
html[data-astodo-theme="dark"] .astodo-separator::before,
html[data-astodo-theme="dark"] .astodo-separator::after { background: #27324a; }
html[data-astodo-theme="dark"] .astodo-security-note { background: #151d2d; color: #aeb9d0; }
html[data-astodo-theme="dark"] .astodo-my-list-card:hover,
html[data-astodo-theme="dark"] .astodo-item:hover { border-color: rgba(122, 114, 255, .55); }
html[data-astodo-theme="dark"] .astodo-entry-screen,
html[data-astodo-theme="dark"] .astodo-auth-screen { background: transparent; }

.astodo-global-tools {
  position: fixed;
  z-index: 2147482000;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  direction: rtl;
}
.astodo-floating-tool {
  min-width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--astodo-ink);
  background: color-mix(in srgb, var(--astodo-card) 88%, transparent);
  border: 1px solid var(--astodo-line) !important;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(17, 24, 39, .13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, background .3s ease;
}
.astodo-floating-tool:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 20px 48px rgba(17,24,39,.2); }
.astodo-theme-icon { width: 22px; height: 22px; position: relative; display: inline-block; }
.astodo-theme-icon::before { content: "☀"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; line-height: 1; }
html[data-astodo-theme-choice="dark"] .astodo-theme-icon::before { content: "☾"; }
html[data-astodo-theme-choice="system"] .astodo-theme-icon::before { content: "◐"; }
.astodo-theme-label { font-size: 12px; font-weight: 800; }

.astodo-install-banner {
  position: fixed;
  z-index: 2147482100;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: min(520px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 17px;
  color: #fff;
  background: linear-gradient(135deg, rgba(30,38,78,.97), rgba(10,16,34,.98));
  border: 1px solid rgba(150,145,255,.24);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(5,8,22,.42);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px) scale(.96);
  transition: opacity .5s ease, visibility .5s, transform .65s cubic-bezier(.16,1,.3,1);
}
.astodo-install-banner.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.astodo-install-icon { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg,#7778ff,#4b4dde); box-shadow: 0 12px 30px rgba(91,92,240,.35); }
.astodo-install-icon img { width: 100%; height: 100%; object-fit: cover; }
.astodo-install-icon span { font-size: 24px; font-weight: 900; }
.astodo-install-copy strong { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 900; }
.astodo-install-copy p { margin: 0; color: #aeb8d2; font-size: 11px; line-height: 1.8; }
.astodo-install-action { min-height: 42px; padding: 0 18px; color: #fff; background: linear-gradient(135deg,#8178ff,#5a5cf0); border: 0; border-radius: 13px; font-weight: 900; cursor: pointer; box-shadow: 0 12px 28px rgba(91,92,240,.3); transition: transform .3s ease, box-shadow .3s ease; }
.astodo-install-action:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(91,92,240,.42); }
.astodo-install-close { position: absolute; top: -10px; left: -10px; width: 30px; height: 30px; display: grid; place-items: center; color: #dce3f6; background: #172039; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; font-size: 19px; cursor: pointer; }

.astodo-ios-guide { position: fixed; inset: 0; z-index: 2147482200; display: grid; place-items: center; padding: 20px; background: rgba(3,7,18,.66); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: .35s ease; }
.astodo-ios-guide.is-visible { opacity: 1; visibility: visible; }
.astodo-ios-guide-card { position: relative; width: min(430px, 100%); padding: 30px; color: #fff; text-align: center; background: linear-gradient(145deg,#1d2850,#0d1428); border: 1px solid rgba(130,120,255,.3); border-radius: 26px; box-shadow: 0 32px 90px rgba(0,0,0,.5); transform: translateY(18px) scale(.96); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.astodo-ios-guide.is-visible .astodo-ios-guide-card { transform: none; }
.astodo-ios-guide-card > button { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; color: #fff; background: rgba(255,255,255,.08); border: 0; border-radius: 12px; font-size: 22px; cursor: pointer; }
.astodo-ios-guide-card strong { display: block; margin-bottom: 12px; font-size: 21px; font-weight: 900; }
.astodo-ios-guide-card p { margin: 0 0 16px; color: #b8c2da; line-height: 2; font-size: 13px; }
.astodo-ios-guide-card span { display: block; padding: 13px; color: #dcd9ff; background: rgba(120,110,255,.12); border-radius: 14px; font-size: 12px; font-weight: 800; }

@media (max-width: 700px) {
  .astodo-global-tools { top: max(12px, env(safe-area-inset-top)); left: 12px; }
  .astodo-floating-tool { min-width: 44px; height: 44px; padding: 0 11px; border-radius: 14px; }
  .astodo-theme-label { display: none; }
  .astodo-install-banner { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); grid-template-columns: 48px minmax(0,1fr); padding: 14px; border-radius: 21px; }
  .astodo-install-icon { width: 48px; height: 48px; border-radius: 15px; }
  .astodo-install-action { grid-column: 1 / -1; width: 100%; }
}

/* ===== Full theme redesign & responsive vitality — v1.5.1 ===== */
:root {
  --astodo-page-surface: rgba(255,255,255,.78);
  --astodo-page-surface-strong: #fff;
  --astodo-glow-a: rgba(99,102,241,.20);
  --astodo-glow-b: rgba(45,212,191,.14);
  --astodo-glass-border: rgba(255,255,255,.55);
  --astodo-ease: cubic-bezier(.16,1,.3,1);
}

html[data-astodo-theme="dark"] {
  --astodo-bg: #050814;
  --astodo-card: #0e1629;
  --astodo-line: #24314a;
  --astodo-page-surface: rgba(10,17,32,.82);
  --astodo-page-surface-strong: #0d1629;
  --astodo-glow-a: rgba(114,88,255,.30);
  --astodo-glow-b: rgba(51,226,191,.14);
  --astodo-glass-border: rgba(141,126,255,.16);
  --astodo-shadow: 0 28px 90px rgba(0,0,0,.48);
}

html,
body.astodo-app-body,
.astodo-app,
.astodo-entry-screen,
.astodo-auth-screen,
.astodo-my-lists {
  transition: background-color .45s ease, color .35s ease, border-color .35s ease;
}

body.astodo-app-body {
  position: relative;
  background:
    radial-gradient(circle at 78% 8%, var(--astodo-glow-a), transparent 27%),
    radial-gradient(circle at 8% 88%, var(--astodo-glow-b), transparent 30%),
    linear-gradient(145deg, var(--astodo-bg), color-mix(in srgb, var(--astodo-bg) 88%, #5960ff 12%)) !important;
}

body.astodo-app-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000 10%, transparent 78%);
}

html[data-astodo-theme="dark"] body.astodo-app-body {
  background:
    radial-gradient(circle at 78% 8%, rgba(102,78,255,.27), transparent 29%),
    radial-gradient(circle at 8% 88%, rgba(34,211,172,.12), transparent 31%),
    linear-gradient(145deg, #030611 0%, #090d1c 48%, #060a15 100%) !important;
}

.astodo-app::before,
.astodo-app::after {
  animation: astodoAmbientDrift 11s ease-in-out infinite alternate;
  filter: blur(26px);
}
.astodo-app::after { animation-delay: -5s; }

.astodo-entry-screen,
.astodo-auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(22px, 5vw, 68px) 20px;
  background: transparent !important;
}

.astodo-entry-wrap,
.astodo-auth-card,
.astodo-my-lists,
.astodo-main,
.astodo-modal-card {
  border: 1px solid var(--astodo-glass-border);
  box-shadow: var(--astodo-shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

html[data-astodo-theme="dark"] .astodo-entry-wrap {
  background: linear-gradient(145deg, rgba(17,27,51,.96), rgba(6,11,24,.97));
  border-color: rgba(131,115,255,.20);
  box-shadow: 0 38px 110px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.025) inset;
}

html[data-astodo-theme="dark"] .astodo-entry-panel {
  color: #f6f7ff;
  background:
    radial-gradient(circle at 10% 5%, rgba(115,92,255,.12), transparent 35%),
    linear-gradient(160deg, #0d1629 0%, #09101f 100%) !important;
  border-left: 1px solid rgba(129,113,255,.16);
}

html[data-astodo-theme="dark"] .astodo-entry-panel h2,
html[data-astodo-theme="dark"] .astodo-heading,
html[data-astodo-theme="dark"] .astodo-my-lists-head h1,
html[data-astodo-theme="dark"] .astodo-modal-head strong {
  color: #f8f9ff !important;
}

html[data-astodo-theme="dark"] .astodo-entry-panel > p,
html[data-astodo-theme="dark"] .astodo-my-lists-head p,
html[data-astodo-theme="dark"] .astodo-form-group label,
html[data-astodo-theme="dark"] .astodo-separator,
html[data-astodo-theme="dark"] .astodo-stat-card small,
html[data-astodo-theme="dark"] .astodo-item-copy small {
  color: #9da9c1 !important;
}

html[data-astodo-theme="dark"] .astodo-entry-hero,
html[data-astodo-theme="dark"] .astodo-sidebar {
  background:
    radial-gradient(circle at 25% 10%, rgba(125,110,255,.30), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(37,217,177,.10), transparent 28%),
    linear-gradient(160deg, #172240 0%, #0c1427 54%, #080e1c 100%) !important;
}

html[data-astodo-theme="dark"] .astodo-entry-hero::after,
html[data-astodo-theme="dark"] .astodo-sidebar::after {
  opacity: .20;
}

html[data-astodo-theme="dark"] .astodo-my-lists,
html[data-astodo-theme="dark"] .astodo-main {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-astodo-theme="dark"] .astodo-my-lists-head,
html[data-astodo-theme="dark"] .astodo-my-list-card,
html[data-astodo-theme="dark"] .astodo-empty,
html[data-astodo-theme="dark"] .astodo-add-card,
html[data-astodo-theme="dark"] .astodo-progress-card,
html[data-astodo-theme="dark"] .astodo-stat-card,
html[data-astodo-theme="dark"] .astodo-share-card,
html[data-astodo-theme="dark"] .astodo-item,
html[data-astodo-theme="dark"] .astodo-modal-card,
html[data-astodo-theme="dark"] .astodo-auth-card {
  color: #f3f6ff !important;
  background: linear-gradient(145deg, rgba(17,27,48,.92), rgba(10,17,31,.96)) !important;
  border-color: rgba(125,113,255,.17) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035);
}

html[data-astodo-theme="dark"] .astodo-my-list-card strong,
html[data-astodo-theme="dark"] .astodo-item-text,
html[data-astodo-theme="dark"] .astodo-progress-head strong,
html[data-astodo-theme="dark"] .astodo-stat-card strong {
  color: #f7f8ff !important;
}

html[data-astodo-theme="dark"] .astodo-my-list-card small,
html[data-astodo-theme="dark"] .astodo-empty p,
html[data-astodo-theme="dark"] .astodo-security-note,
html[data-astodo-theme="dark"] .astodo-readonly-banner {
  color: #9ba8c0 !important;
}

html[data-astodo-theme="dark"] .astodo-field,
html[data-astodo-theme="dark"] .astodo-add-input,
html[data-astodo-theme="dark"] .astodo-token-field,
html[data-astodo-theme="dark"] .astodo-item-edit,
html[data-astodo-theme="dark"] textarea {
  color: #f6f8ff !important;
  background: rgba(4,9,19,.82) !important;
  border-color: #293652 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

html[data-astodo-theme="dark"] .astodo-field:focus,
html[data-astodo-theme="dark"] .astodo-add-input:focus,
html[data-astodo-theme="dark"] textarea:focus {
  border-color: #766cff !important;
  box-shadow: 0 0 0 4px rgba(118,108,255,.14), 0 14px 35px rgba(0,0,0,.22) !important;
}

.astodo-btn,
.astodo-filter,
.astodo-sidebar-button,
.astodo-floating-tool,
.astodo-icon-button,
.astodo-install-action {
  transition: transform .38s var(--astodo-ease), box-shadow .38s ease, background .3s ease, border-color .3s ease, color .3s ease;
}

.astodo-btn-primary,
.astodo-empty-cta,
.astodo-install-action {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8178ff 0%, #645df7 48%, #5047df 100%) !important;
  box-shadow: 0 16px 38px rgba(91,82,240,.34);
}

.astodo-btn-primary::after,
.astodo-install-action::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -50%;
  width: 28%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  animation: astodoLiveShine 4.2s ease-in-out infinite;
  pointer-events: none;
}

.astodo-btn:hover,
.astodo-sidebar-button:hover,
.astodo-install-action:hover {
  transform: translateY(-3px);
}

.astodo-item,
.astodo-my-list-card,
.astodo-stat-card,
.astodo-feature,
.astodo-share-card,
.astodo-progress-card {
  transition: transform .38s var(--astodo-ease), border-color .3s ease, box-shadow .38s ease, background .3s ease;
}

.astodo-item:hover,
.astodo-my-list-card:hover,
.astodo-stat-card:hover,
.astodo-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(28,36,72,.15);
}

html[data-astodo-theme="dark"] .astodo-item:hover,
html[data-astodo-theme="dark"] .astodo-my-list-card:hover,
html[data-astodo-theme="dark"] .astodo-stat-card:hover,
html[data-astodo-theme="dark"] .astodo-feature:hover {
  border-color: rgba(128,112,255,.52) !important;
  box-shadow: 0 24px 62px rgba(0,0,0,.42), 0 0 32px rgba(102,82,255,.10);
}

.astodo-check {
  transition: transform .32s var(--astodo-ease), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.astodo-check:hover { transform: scale(1.12) rotate(-3deg); }

.astodo-progress-track { overflow: hidden; }
.astodo-progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  transform: translateX(110%);
  animation: astodoProgressSweep 3s ease-in-out infinite;
  pointer-events: none;
}

.astodo-floating-tool {
  background: var(--astodo-page-surface) !important;
  border-color: var(--astodo-line) !important;
  box-shadow: 0 16px 48px rgba(16,24,54,.18);
}
html[data-astodo-theme="dark"] .astodo-floating-tool {
  color: #f5f6ff;
  background: rgba(12,20,37,.88) !important;
  border-color: rgba(125,113,255,.24) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.42), 0 0 28px rgba(104,82,255,.08);
}

.astodo-install-banner {
  background:
    radial-gradient(circle at 90% 15%, rgba(126,108,255,.30), transparent 28%),
    linear-gradient(135deg, rgba(31,40,81,.98), rgba(8,14,30,.99));
  animation: astodoBannerFloat 4.4s ease-in-out infinite;
}

/* Responsive redesign */
@media (max-width: 1100px) {
  .astodo-entry-wrap { width: min(940px, calc(100vw - 36px)); }
  .astodo-shell { grid-template-columns: minmax(245px, 290px) minmax(0,1fr); }
  .astodo-content { padding: clamp(22px, 4vw, 42px); }
}

@media (max-width: 820px) {
  body.astodo-app-body::before { background-size: 38px 38px; }

  .astodo-entry-screen,
  .astodo-auth-screen {
    align-items: flex-start;
    padding: max(74px, env(safe-area-inset-top)) 14px max(24px, env(safe-area-inset-bottom));
  }

  .astodo-entry-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    border-radius: 28px;
  }

  .astodo-entry-hero {
    order: 1;
    min-height: auto;
    padding: 28px 24px 30px;
    border-radius: 28px 28px 0 0;
  }

  .astodo-entry-panel {
    order: 2;
    width: 100%;
    padding: 28px 22px 26px;
    border-radius: 0 0 28px 28px;
  }

  .astodo-entry-hero h1 {
    max-width: 560px;
    margin-top: 36px;
    font-size: clamp(29px, 7.8vw, 46px);
    line-height: 1.55;
  }

  .astodo-entry-hero > p { max-width: 620px; }
  .astodo-feature-list { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-top: 26px; }
  .astodo-feature { min-height: 92px; padding: 13px 9px; border-radius: 16px; }
  .astodo-feature strong { font-size: 11px; line-height: 1.6; }

  .astodo-shell { display: flex; min-height: 100dvh; flex-direction: column; }
  .astodo-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    padding: max(20px, env(safe-area-inset-top)) 18px 22px;
    border-radius: 0 0 28px 28px;
  }
  .astodo-sidebar-stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .astodo-sidebar-stat { padding: 12px 8px; }
  .astodo-content { padding: 20px 14px 90px; }
  .astodo-topbar { position: sticky; top: 10px; z-index: 20; padding: 12px; border-radius: 18px; background: var(--astodo-page-surface); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 14px 38px rgba(17,24,39,.10); }
  html[data-astodo-theme="dark"] .astodo-topbar { background: rgba(11,19,35,.86); border: 1px solid rgba(124,111,255,.14); box-shadow: 0 18px 45px rgba(0,0,0,.32); }

  .astodo-my-lists { width: 100%; padding: 72px 14px 28px; }
  .astodo-my-lists-head { padding: 18px; border-radius: 20px; }
  .astodo-my-lists-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .astodo-global-tools { top: max(12px, env(safe-area-inset-top)); left: 12px; }
}

@media (max-width: 560px) {
  .astodo-entry-screen,
  .astodo-auth-screen { padding-right: 10px; padding-left: 10px; }

  .astodo-entry-wrap { border-radius: 24px; }
  .astodo-entry-hero { padding: 23px 18px 25px; border-radius: 24px 24px 0 0; }
  .astodo-entry-panel { padding: 24px 17px 22px; border-radius: 0 0 24px 24px; }
  .astodo-entry-hero h1 { margin-top: 28px; font-size: clamp(27px, 9vw, 38px); }
  .astodo-entry-hero > p { font-size: 12px; line-height: 1.95; }
  .astodo-feature-list { grid-template-columns: 1fr; }
  .astodo-feature { min-height: 58px; flex-direction: row; justify-content: flex-start; gap: 10px; text-align: right; }

  .astodo-entry-panel h2 { font-size: 24px; }
  .astodo-field,
  .astodo-btn { min-height: 52px; border-radius: 15px; }

  .astodo-sidebar { border-radius: 0 0 23px 23px; }
  .astodo-sidebar-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .astodo-sidebar-stat strong { font-size: 16px; }
  .astodo-sidebar-stat small { font-size: 9px; }
  .astodo-title-row h1 { font-size: 24px; }

  .astodo-topbar { gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .astodo-topbar::-webkit-scrollbar { display: none; }
  .astodo-top-actions { flex: 0 0 auto; }

  .astodo-add-card { padding: 12px; border-radius: 18px; }
  .astodo-list { gap: 10px; }
  .astodo-item { padding: 13px 12px; border-radius: 17px; }
  .astodo-item-actions { opacity: 1; transform: none; }
  .astodo-item-text { font-size: 13px; line-height: 1.8; }

  .astodo-my-lists { padding: 68px 10px 22px; }
  .astodo-my-lists-head { align-items: flex-start; padding: 16px; }
  .astodo-my-lists-head h1 { font-size: 24px; }
  .astodo-my-lists-grid { grid-template-columns: 1fr; gap: 12px; }
  .astodo-my-list-card { min-height: 135px; padding: 17px; border-radius: 18px; }
  .astodo-my-lists-empty { min-height: 330px; border-radius: 22px; }

  .astodo-modal-backdrop { align-items: flex-end; padding: 10px; }
  .astodo-modal-card,
  .astodo-modal { width: 100%; max-height: calc(100dvh - 20px); border-radius: 24px 24px 18px 18px; animation: astodoMobileSheet .48s var(--astodo-ease) both; }

  .astodo-install-banner {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    grid-template-columns: 44px minmax(0,1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 19px;
  }
  .astodo-install-copy strong { font-size: 13px; }
  .astodo-install-copy p { font-size: 10px; }
  .astodo-install-action { min-height: 44px; }
}

@keyframes astodoAmbientDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(24px,-18px,0) scale(1.08); }
}
@keyframes astodoLiveShine {
  0%, 46% { left: -50%; opacity: 0; }
  58% { opacity: 1; }
  76%, 100% { left: 130%; opacity: 0; }
}
@keyframes astodoProgressSweep {
  0%, 35% { transform: translateX(110%); opacity: 0; }
  55% { opacity: 1; }
  80%,100% { transform: translateX(-110%); opacity: 0; }
}
@keyframes astodoBannerFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes astodoMobileSheet {
  from { opacity: 0; transform: translateY(45px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .astodo-app::before,
  .astodo-app::after,
  .astodo-install-banner,
  .astodo-btn-primary::after,
  .astodo-install-action::after,
  .astodo-progress-track::after { animation: none !important; }
}


/* ===== Responsive landing rebuild & centered install CTA — v1.5.3 ===== */
@media (max-width: 900px) {
  body.astodo-app-body:has(.astodo-entry-screen),
  body.astodo-app-body:has(.astodo-auth-screen) {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden !important;
  }

  .astodo-entry-screen,
  .astodo-auth-screen {
    min-height: 100dvh !important;
    height: 100dvh !important;
    padding: max(58px, env(safe-area-inset-top)) 14px max(92px, env(safe-area-inset-bottom)) !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .astodo-entry-wrap {
    width: min(100%, 680px) !important;
    height: min(760px, calc(100dvh - 158px)) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(190px, 36%) minmax(0, 64%) !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    box-shadow: 0 28px 90px rgba(20, 29, 68, .22) !important;
  }

  .astodo-entry-hero {
    order: 1;
    min-height: 0 !important;
    height: 100% !important;
    padding: 22px 24px 18px !important;
    border-radius: 28px 28px 0 0 !important;
    overflow: hidden !important;
  }

  .astodo-entry-hero .astodo-brand { margin-bottom: 12px !important; }
  .astodo-entry-hero h1 {
    margin: 10px 0 8px !important;
    font-size: clamp(28px, 6vw, 40px) !important;
    line-height: 1.42 !important;
  }
  .astodo-entry-hero > p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.85 !important;
    max-width: 560px;
  }
  .astodo-feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }
  .astodo-feature {
    min-height: 58px !important;
    padding: 10px 8px !important;
    border-radius: 15px !important;
    gap: 6px !important;
  }
  .astodo-feature svg { width: 18px !important; height: 18px !important; }
  .astodo-feature strong { font-size: 10px !important; line-height: 1.55 !important; }

  .astodo-entry-panel {
    order: 2;
    min-height: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 22px 24px 24px !important;
    border-radius: 0 0 28px 28px !important;
  }
  .astodo-entry-panel h2 { margin: 8px 0 6px !important; font-size: 25px !important; }
  .astodo-entry-panel > p { margin: 0 0 16px !important; font-size: 11px !important; line-height: 1.8 !important; }
  .astodo-account-bar { margin-bottom: 14px !important; gap: 9px !important; }
  .astodo-field-group { margin-bottom: 12px !important; }
  .astodo-field, .astodo-btn { min-height: 48px !important; border-radius: 14px !important; }
  .astodo-divider { margin: 14px 0 !important; }
  .astodo-entry-note { margin-top: 14px !important; padding: 13px !important; font-size: 10px !important; line-height: 1.75 !important; }

  .astodo-global-tools {
    top: max(10px, env(safe-area-inset-top)) !important;
    left: 10px !important;
  }
  .astodo-floating-tool { min-height: 42px !important; padding: 0 12px !important; }

  .astodo-install-banner {
    left: 50% !important;
    right: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: min(560px, calc(100vw - 24px)) !important;
    min-height: 72px !important;
    grid-template-columns: 50px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 22px !important;
    transform: translate(-50%, 26px) scale(.98) !important;
  }
  .astodo-install-banner.is-visible {
    transform: translate(-50%, 0) scale(1) !important;
  }
  .astodo-install-icon { width: 50px !important; height: 50px !important; border-radius: 15px !important; }
  .astodo-install-copy strong { font-size: 13px !important; margin-bottom: 3px !important; }
  .astodo-install-copy p { font-size: 10px !important; line-height: 1.65 !important; }
  .astodo-install-action { min-height: 44px !important; padding: 0 16px !important; font-size: 11px !important; border-radius: 13px !important; white-space: nowrap; }
  .astodo-install-close { top: -8px !important; left: -6px !important; width: 27px !important; height: 27px !important; font-size: 17px !important; }
}

@media (max-width: 600px) {
  .astodo-entry-screen,
  .astodo-auth-screen {
    padding: max(52px, env(safe-area-inset-top)) 10px max(90px, env(safe-area-inset-bottom)) !important;
  }

  .astodo-entry-wrap {
    width: 100% !important;
    height: calc(100dvh - 146px) !important;
    grid-template-rows: minmax(165px, 34%) minmax(0, 66%) !important;
    border-radius: 23px !important;
  }

  .astodo-entry-hero {
    padding: 16px 16px 14px !important;
    border-radius: 23px 23px 0 0 !important;
  }
  .astodo-entry-hero .astodo-brand { margin-bottom: 7px !important; }
  .astodo-entry-hero h1 {
    margin: 6px 0 5px !important;
    font-size: clamp(23px, 7vw, 31px) !important;
    line-height: 1.42 !important;
  }
  .astodo-entry-hero > p {
    font-size: 10px !important;
    line-height: 1.7 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .astodo-feature-list { margin-top: 9px !important; gap: 6px !important; }
  .astodo-feature { min-height: 47px !important; padding: 7px 5px !important; border-radius: 12px !important; }
  .astodo-feature svg { width: 15px !important; height: 15px !important; }
  .astodo-feature strong { font-size: 8px !important; line-height: 1.45 !important; }

  .astodo-entry-panel {
    padding: 16px 15px 18px !important;
    border-radius: 0 0 23px 23px !important;
  }
  .astodo-entry-panel h2 { margin-top: 3px !important; font-size: 21px !important; }
  .astodo-entry-panel > p { margin-bottom: 11px !important; font-size: 9.5px !important; }
  .astodo-account-bar { margin-bottom: 10px !important; }
  .astodo-account-bar .astodo-btn { min-height: 42px !important; }
  .astodo-field-group { margin-bottom: 9px !important; }
  .astodo-field, .astodo-btn { min-height: 44px !important; }
  .astodo-divider { margin: 10px 0 !important; }
  .astodo-entry-note { margin-top: 10px !important; padding: 10px !important; font-size: 9px !important; }

  .astodo-install-banner {
    width: calc(100vw - 18px) !important;
    min-height: 76px !important;
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 9px !important;
    padding: 10px 11px !important;
    border-radius: 19px !important;
  }
  .astodo-install-icon { width: 44px !important; height: 44px !important; border-radius: 13px !important; }
  .astodo-install-copy strong { font-size: 11.5px !important; }
  .astodo-install-copy p {
    font-size: 8.8px !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .astodo-install-action { min-height: 40px !important; padding: 0 12px !important; font-size: 10px !important; }
}

@media (max-width: 390px) {
  .astodo-entry-wrap {
    height: calc(100dvh - 140px) !important;
    grid-template-rows: 154px minmax(0, 1fr) !important;
  }
  .astodo-entry-hero { padding: 13px 12px 11px !important; }
  .astodo-entry-hero h1 { font-size: 21px !important; }
  .astodo-entry-hero > p { -webkit-line-clamp: 1; }
  .astodo-feature-list { margin-top: 7px !important; }
  .astodo-feature { min-height: 42px !important; }
  .astodo-entry-panel { padding: 13px 12px 15px !important; }

  .astodo-install-banner {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    row-gap: 8px !important;
  }
  .astodo-install-icon { width: 40px !important; height: 40px !important; }
  .astodo-install-action {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

@media (max-height: 700px) and (max-width: 900px) {
  .astodo-entry-screen,
  .astodo-auth-screen {
    padding-top: 48px !important;
    padding-bottom: 82px !important;
  }
  .astodo-entry-wrap {
    height: calc(100dvh - 130px) !important;
    grid-template-rows: 145px minmax(0, 1fr) !important;
  }
  .astodo-entry-hero { padding-top: 12px !important; padding-bottom: 10px !important; }
  .astodo-entry-hero h1 { margin: 3px 0 !important; font-size: 22px !important; }
  .astodo-entry-hero > p { display: none !important; }
  .astodo-feature-list { margin-top: 7px !important; }
  .astodo-feature { min-height: 40px !important; }
  .astodo-entry-panel { padding-top: 12px !important; }
}

/* ===== Polished desktop headline + mobile-first layout — v1.5.4 ===== */
.astodo-entry-hero h1 {
  background: linear-gradient(145deg, rgba(7,15,31,.58), rgba(11,26,42,.34)) !important;
  border: 1px solid rgba(255,255,255,.065) !important;
  border-radius: 28px !important;
  padding: 24px 28px !important;
  box-shadow: 0 20px 50px rgba(3,8,18,.20), inset 0 1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

html[data-astodo-theme="light"] .astodo-entry-hero h1 {
  background: linear-gradient(145deg, rgba(11,23,46,.54), rgba(11,28,45,.34)) !important;
}

/* Reserve space so the always-visible install banner never covers content. */
body.astodo-app-body {
  padding-bottom: 104px !important;
}

@media (max-width: 900px) {
  body.astodo-app-body:has(.astodo-entry-screen),
  body.astodo-app-body:has(.astodo-auth-screen) {
    height: auto !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .astodo-entry-screen,
  .astodo-auth-screen {
    min-height: 100dvh !important;
    height: auto !important;
    padding: max(74px, env(safe-area-inset-top)) 16px max(132px, env(safe-area-inset-bottom)) !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .astodo-entry-wrap {
    width: min(100%, 680px) !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 28px !important;
    overflow: hidden !important;
  }

  .astodo-entry-hero {
    order: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 22px 22px !important;
    border-radius: 28px 28px 0 0 !important;
    overflow: hidden !important;
  }

  .astodo-entry-hero .astodo-brand {
    margin: 0 0 18px !important;
  }

  .astodo-entry-hero h1 {
    margin: 0 !important;
    padding: 18px 20px !important;
    border-radius: 22px !important;
    font-size: clamp(27px, 7vw, 38px) !important;
    line-height: 1.5 !important;
    text-align: right !important;
  }

  .astodo-entry-hero > p {
    display: block !important;
    margin: 14px 2px 0 !important;
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
    -webkit-line-clamp: initial !important;
  }

  .astodo-feature-list {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 8px !important;
    margin-top: 18px !important;
  }

  .astodo-feature {
    min-height: 76px !important;
    padding: 12px 8px !important;
    border-radius: 16px !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .astodo-feature strong {
    font-size: 10px !important;
    line-height: 1.6 !important;
  }

  .astodo-entry-panel {
    order: 2 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 26px 22px 28px !important;
    border-radius: 0 0 28px 28px !important;
  }

  .astodo-install-banner {
    z-index: 2147482000 !important;
    left: 50% !important;
    right: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: min(620px, calc(100vw - 24px)) !important;
    min-height: 76px !important;
    display: grid !important;
    grid-template-columns: 52px minmax(0,1fr) auto !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 23px !important;
    transform: translate(-50%, 30px) scale(.985) !important;
    box-shadow: 0 24px 70px rgba(2,7,20,.48) !important;
  }

  .astodo-install-banner.is-visible {
    transform: translate(-50%,0) scale(1) !important;
  }
}

@media (max-width: 600px) {
  body.astodo-app-body { padding-bottom: 124px !important; }

  .astodo-entry-screen,
  .astodo-auth-screen {
    padding: max(68px, env(safe-area-inset-top)) 10px max(148px, env(safe-area-inset-bottom)) !important;
  }

  .astodo-entry-wrap {
    width: 100% !important;
    border-radius: 24px !important;
  }

  .astodo-entry-hero {
    padding: 19px 16px 18px !important;
    border-radius: 24px 24px 0 0 !important;
  }

  .astodo-entry-hero .astodo-brand {
    margin-bottom: 14px !important;
  }

  .astodo-entry-hero h1 {
    padding: 15px 16px !important;
    border-radius: 18px !important;
    font-size: clamp(24px,7vw,31px) !important;
    line-height: 1.55 !important;
  }

  .astodo-entry-hero > p {
    margin-top: 11px !important;
    font-size: 10.5px !important;
    line-height: 1.8 !important;
  }

  .astodo-feature-list {
    margin-top: 14px !important;
    gap: 6px !important;
  }

  .astodo-feature {
    min-height: 67px !important;
    padding: 9px 5px !important;
    border-radius: 14px !important;
  }

  .astodo-feature svg {
    width: 17px !important;
    height: 17px !important;
  }

  .astodo-feature strong {
    font-size: 8.5px !important;
    line-height: 1.55 !important;
  }

  .astodo-entry-panel {
    padding: 23px 16px 25px !important;
    border-radius: 0 0 24px 24px !important;
  }

  .astodo-entry-panel h2 {
    margin: 0 0 7px !important;
    font-size: 23px !important;
  }

  .astodo-entry-panel > p {
    margin: 0 0 17px !important;
    font-size: 10.5px !important;
  }

  .astodo-field,
  .astodo-btn {
    min-height: 50px !important;
    border-radius: 15px !important;
  }

  .astodo-install-banner {
    width: calc(100vw - 18px) !important;
    min-height: 0 !important;
    grid-template-columns: 46px minmax(0,1fr) !important;
    grid-template-areas:
      "icon copy"
      "action action" !important;
    gap: 9px 11px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .astodo-install-icon {
    grid-area: icon !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }

  .astodo-install-copy { grid-area: copy !important; min-width: 0 !important; }
  .astodo-install-copy strong { font-size: 12px !important; line-height: 1.5 !important; }
  .astodo-install-copy p {
    margin-top: 2px !important;
    font-size: 9px !important;
    line-height: 1.55 !important;
    display: block !important;
    overflow: visible !important;
  }

  .astodo-install-action {
    grid-area: action !important;
    width: 100% !important;
    min-height: 44px !important;
    font-size: 11px !important;
    border-radius: 13px !important;
  }

  .astodo-install-close {
    top: -8px !important;
    left: -5px !important;
  }
}

@media (max-width: 390px) {
  .astodo-entry-hero h1 {
    font-size: 23px !important;
    padding: 14px !important;
  }

  .astodo-feature strong { font-size: 8px !important; }
}

/* Hide only visual selection/dragging on decorative UI; form fields stay selectable. */
.astodo-entry-hero,
.astodo-feature-list,
.astodo-brand,
.astodo-install-banner,
.astodo-global-tools {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}


/* ===== Mobile action-first landing — v1.5.5 ===== */
.astodo-entry-brand-main{display:flex;align-items:center;gap:12px;min-width:0}
.astodo-mobile-theme-button,.astodo-mobile-primary-actions{display:none}
.astodo-copyright{position:fixed;z-index:80;right:50%;bottom:10px;transform:translateX(50%);font-family:"Vazirmatn",sans-serif;font-size:11px;color:var(--astodo-muted);white-space:nowrap;pointer-events:auto}
.astodo-copyright span{color:#ff5f8f;font-size:14px;vertical-align:-1px}.astodo-copyright a{color:#7771ff;text-decoration:none;font-weight:900}
.astodo-entry-hero h1{clip-path:inset(0 round 30px)!important;-webkit-mask-image:-webkit-radial-gradient(white,black);isolation:isolate}
.astodo-entry-hero h1::before,.astodo-entry-hero h1::after{border-radius:inherit!important}

@media(max-width:700px){
 body.astodo-app-body{padding-bottom:96px!important}
 .astodo-global-tools{display:none!important}
 .astodo-entry-screen{padding:max(14px,env(safe-area-inset-top)) 12px max(104px,env(safe-area-inset-bottom))!important;align-items:center!important;min-height:100dvh!important}
 .astodo-entry-wrap{min-height:calc(100dvh - 126px)!important;width:100%!important;max-width:520px!important;border-radius:28px!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
 .astodo-entry-visual{min-height:calc(100dvh - 126px)!important;padding:22px 18px 24px!important;border-radius:28px!important;display:flex!important;justify-content:flex-start!important;gap:18px!important;box-shadow:0 28px 80px rgba(1,5,18,.36)!important}
 .astodo-entry-brand{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0!important}
 .astodo-entry-brand-main .astodo-brand-mark{width:54px!important;height:54px!important;border-radius:16px!important}
 .astodo-entry-brand strong{font-size:22px!important}.astodo-entry-brand small{font-size:11px!important}
 .astodo-mobile-theme-button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-width:70px;height:44px;padding:0 12px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:rgba(255,255,255,.06);color:#fff;font-family:inherit;font-weight:800}
 .astodo-mobile-theme-button .astodo-theme-icon{width:20px;height:20px}.astodo-mobile-theme-text{font-size:10px}
 .astodo-entry-hero{padding:0!important;margin:6px 0 0!important;background:none!important;min-height:0!important;overflow:visible!important}
 .astodo-entry-hero h1{margin:0!important;padding:18px 15px!important;border-radius:22px!important;clip-path:inset(0 round 22px)!important;text-align:center!important;font-size:clamp(26px,8vw,36px)!important;line-height:1.55!important;background:linear-gradient(145deg,rgba(5,12,28,.72),rgba(8,30,40,.45))!important}
 .astodo-entry-hero p{margin:12px 3px 0!important;text-align:center!important;font-size:11px!important;line-height:1.9!important;color:#b9c4d7!important}
 .astodo-feature-list{display:none!important}
 .astodo-mobile-primary-actions{display:grid!important;grid-template-columns:1fr;gap:11px;margin-top:auto!important}
 .astodo-mobile-action{width:100%;min-height:68px;display:flex;align-items:center;gap:14px;padding:12px 16px;border:1px solid rgba(255,255,255,.11);border-radius:19px;background:rgba(255,255,255,.055);color:#fff;text-align:right;font-family:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);transition:transform .25s ease,background .25s ease,border-color .25s ease}
 .astodo-mobile-action:active{transform:scale(.98)}.astodo-mobile-action svg{width:24px;height:24px;color:#918bff;flex:0 0 24px}.astodo-mobile-action span{display:flex;flex-direction:column;gap:2px}.astodo-mobile-action strong{font-size:15px;font-weight:900}.astodo-mobile-action small{font-size:10px;color:#aeb9cd}
 .astodo-mobile-action-primary{background:linear-gradient(135deg,#7771ff,#5b4ff0);border-color:transparent;box-shadow:0 14px 34px rgba(91,79,240,.32)}.astodo-mobile-action-primary svg,.astodo-mobile-action-primary small{color:#fff}
 .astodo-entry-panel{display:none!important}
 .astodo-modal-backdrop{z-index:2147482500!important;padding:12px!important}.astodo-modal{border-radius:26px 26px 18px 18px!important;padding:22px 17px max(20px,env(safe-area-inset-bottom))!important}
 .astodo-install-banner{left:50%!important;right:auto!important;bottom:max(38px,env(safe-area-inset-bottom))!important;width:calc(100vw - 24px)!important;max-width:496px!important;min-height:58px!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;grid-template-areas:"icon copy action"!important;gap:9px!important;padding:9px 10px!important;border-radius:17px!important;transform:translate(-50%,24px) scale(.98)!important}
 .astodo-install-banner.is-visible{transform:translate(-50%,0) scale(1)!important}.astodo-install-icon{grid-area:icon!important;width:38px!important;height:38px!important;border-radius:11px!important}.astodo-install-copy{grid-area:copy!important}.astodo-install-copy strong{font-size:10.5px!important;line-height:1.4!important}.astodo-install-copy p{display:none!important}.astodo-install-action{grid-area:action!important;width:auto!important;min-height:38px!important;padding:0 13px!important;font-size:10px!important;border-radius:11px!important}.astodo-install-close{top:-8px!important;left:-6px!important;width:24px!important;height:24px!important}
 .astodo-copyright{bottom:8px;font-size:9px}
}
@media(max-width:360px){.astodo-entry-visual{padding:18px 14px 20px!important;gap:14px!important}.astodo-entry-hero h1{font-size:24px!important;padding:14px 10px!important}.astodo-mobile-action{min-height:61px;padding:10px 13px}.astodo-install-action{padding:0 10px!important}.astodo-install-copy strong{font-size:9.5px!important}}
\n\n/* ===== Modal layering & clearer mobile action icons — v1.5.6 ===== */\nhtml.astodo-modal-open,\nbody.astodo-modal-open {\n  overflow: hidden !important;\n}\n\n/* The installer must never cover an active dialog. */\nhtml.astodo-modal-open .astodo-install-banner,\nbody.astodo-modal-open .astodo-install-banner {\n  opacity: 0 !important;\n  visibility: hidden !important;\n  pointer-events: none !important;\n  transform: translate(-50%, 28px) scale(.96) !important;\n}\n\n.astodo-modal-backdrop {\n  z-index: 2147483600 !important;\n}\n\n@media (max-width: 700px) {\n  .astodo-mobile-action {\n    position: relative;\n    overflow: hidden;\n    isolation: isolate;\n  }\n\n  .astodo-mobile-action::after {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    z-index: -1;\n    opacity: 0;\n    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.10) 50%, transparent 80%);\n    transform: translateX(70%);\n    transition: opacity .25s ease, transform .55s cubic-bezier(.16,1,.3,1);\n  }\n\n  .astodo-mobile-action:active::after {\n    opacity: 1;\n    transform: translateX(-70%);\n  }\n\n  .astodo-mobile-action > svg {\n    width: 25px !important;\n    height: 25px !important;\n    flex: 0 0 25px !important;\n    padding: 0 !important;\n    color: #c9c6ff !important;\n    filter: drop-shadow(0 0 10px rgba(130,120,255,.38));\n    stroke-width: 2.25;\n  }\n\n  .astodo-mobile-action > svg path,\n  .astodo-mobile-action > svg circle,\n  .astodo-mobile-action > svg rect,\n  .astodo-mobile-action > svg line,\n  .astodo-mobile-action > svg polyline {\n    stroke: currentColor !important;\n  }\n\n  .astodo-mobile-action-primary > svg {\n    color: #fff !important;\n    filter: drop-shadow(0 0 12px rgba(255,255,255,.30));\n  }\n\n  .astodo-mobile-action span {\n    min-width: 0;\n  }\n\n  .astodo-mobile-action strong {\n    color: #fff !important;\n    line-height: 1.65;\n  }\n\n  .astodo-mobile-action small {\n    color: #b8c2d8 !important;\n    line-height: 1.55;\n  }\n\n  .astodo-mobile-action-primary small {\n    color: rgba(255,255,255,.86) !important;\n  }\n\n  .astodo-modal-backdrop {\n    background: rgba(2,5,15,.76) !important;\n    -webkit-backdrop-filter: blur(14px) saturate(1.15);\n    backdrop-filter: blur(14px) saturate(1.15);\n  }\n\n  .astodo-modal {\n    position: relative;\n    z-index: 2;\n    box-shadow: 0 -24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07) !important;\n  }\n}\n
/* ===== Mobile viewport, themed dialogs & liquid-glass installer — v1.5.7 ===== */
html.astodo-modal-open .astodo-install-banner,
body.astodo-modal-open .astodo-install-banner,
html.astodo-modal-open .astodo-copyright,
body.astodo-modal-open .astodo-copyright,
.astodo-install-banner.astodo-hidden-for-modal,
.astodo-copyright.astodo-hidden-for-modal {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Dialog colors now follow the selected theme instead of staying white. */
.astodo-modal {
  color: var(--astodo-text) !important;
  background: color-mix(in srgb, var(--astodo-surface) 94%, transparent) !important;
  border: 1px solid var(--astodo-border) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.22) !important;
  backdrop-filter: blur(26px) saturate(1.22) !important;
}
.astodo-modal-head h3,
.astodo-modal-head strong,
.astodo-modal label { color: var(--astodo-text) !important; }
.astodo-modal-head p { color: var(--astodo-muted) !important; }
.astodo-modal .astodo-field {
  color: var(--astodo-text) !important;
  background: var(--astodo-input) !important;
  border-color: var(--astodo-border) !important;
}
.astodo-modal .astodo-field::placeholder { color: var(--astodo-placeholder) !important; }
html[data-astodo-theme="dark"] .astodo-modal {
  background: rgba(11,18,36,.92) !important;
  box-shadow: 0 -28px 90px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
html[data-astodo-theme="light"] .astodo-modal {
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 -28px 90px rgba(30,41,80,.24), inset 0 1px 0 rgba(255,255,255,.92) !important;
}

/* Small Apple-inspired liquid-glass install pill. */
.astodo-install-banner {
  width: auto !important;
  max-width: min(390px, calc(100vw - 22px)) !important;
  min-height: 48px !important;
  grid-template-columns: 34px minmax(0,1fr) auto !important;
  gap: 8px !important;
  padding: 7px 8px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(38,45,91,.76), rgba(16,23,51,.68)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 18px 50px rgba(3,8,26,.28), inset 0 1px 0 rgba(255,255,255,.18) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.35) !important;
  backdrop-filter: blur(24px) saturate(1.35) !important;
}
.astodo-install-icon { width:34px !important; height:34px !important; border-radius:11px !important; box-shadow:none !important; }
.astodo-install-copy strong { margin:0 !important; font-size:10.5px !important; line-height:1.45 !important; }
.astodo-install-copy p { display:none !important; }
.astodo-install-action {
  min-height:34px !important;
  padding:0 12px !important;
  border-radius:11px !important;
  font-size:9.5px !important;
  box-shadow:0 7px 20px rgba(91,82,240,.24) !important;
}
.astodo-install-close { top:-7px !important; left:-5px !important; width:22px !important; height:22px !important; font-size:14px !important; }

@media (max-width:700px) {
  html, body.astodo-app-body { height:100%; min-height:100%; overflow:hidden !important; }
  body.astodo-app-body { padding:0 !important; }
  .astodo-entry-screen {
    height:100dvh !important;
    min-height:100dvh !important;
    overflow:hidden !important;
    padding:max(10px,env(safe-area-inset-top)) 10px max(64px,env(safe-area-inset-bottom)) !important;
  }
  .astodo-entry-wrap {
    height:100% !important;
    min-height:0 !important;
    max-width:520px !important;
    overflow:hidden !important;
  }
  .astodo-entry-visual {
    height:100% !important;
    min-height:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    padding:16px 15px 14px !important;
    overflow:hidden !important;
    border-radius:27px !important;
  }
  .astodo-entry-brand { order:1 !important; flex:0 0 auto !important; }
  .astodo-entry-brand-main .astodo-brand-mark { width:48px !important; height:48px !important; }
  .astodo-entry-brand strong { font-size:20px !important; }
  .astodo-entry-brand small { font-size:10px !important; }
  .astodo-mobile-theme-button { min-width:62px !important; height:40px !important; padding:0 9px !important; border-radius:14px !important; }

  /* Hero is explicitly above all three primary actions. */
  .astodo-entry-hero {
    order:2 !important;
    flex:0 0 auto !important;
    margin:0 !important;
  }
  .astodo-entry-hero h1 {
    margin:0 !important;
    padding:13px 12px !important;
    border-radius:20px !important;
    font-size:clamp(23px,7vw,31px) !important;
    line-height:1.5 !important;
  }
  .astodo-entry-hero > p {
    display:none !important;
  }
  .astodo-feature-list { display:none !important; }
  .astodo-mobile-primary-actions {
    order:3 !important;
    flex:1 1 auto !important;
    min-height:0 !important;
    display:grid !important;
    grid-template-rows:repeat(3,minmax(58px,1fr)) !important;
    gap:9px !important;
    margin:0 !important;
  }
  .astodo-mobile-action {
    min-height:0 !important;
    height:100% !important;
    padding:9px 14px !important;
    border-radius:18px !important;
    gap:13px !important;
  }
  .astodo-mobile-action > svg { width:26px !important; height:26px !important; flex-basis:26px !important; }
  .astodo-mobile-action strong { font-size:14px !important; line-height:1.45 !important; }
  .astodo-mobile-action small { font-size:9.5px !important; }

  .astodo-install-banner {
    left:50% !important;
    right:auto !important;
    bottom:max(8px,env(safe-area-inset-bottom)) !important;
    transform:translate(-50%,20px) scale(.97) !important;
    width:auto !important;
    max-width:calc(100vw - 20px) !important;
  }
  .astodo-install-banner.is-visible { transform:translate(-50%,0) scale(1) !important; }
  .astodo-copyright { display:none !important; }

  .astodo-modal-backdrop {
    align-items:flex-end !important;
    padding:10px !important;
    overflow:hidden !important;
  }
  .astodo-modal {
    width:100% !important;
    max-height:min(78dvh,620px) !important;
    overflow:auto !important;
    overscroll-behavior:contain !important;
    border-radius:28px 28px 20px 20px !important;
    padding:21px 17px max(18px,env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width:700px) and (max-height:690px) {
  .astodo-entry-screen { padding-top:7px !important; padding-bottom:56px !important; }
  .astodo-entry-visual { padding:12px !important; gap:7px !important; }
  .astodo-entry-brand-main .astodo-brand-mark { width:42px !important; height:42px !important; }
  .astodo-entry-brand strong { font-size:18px !important; }
  .astodo-entry-hero h1 { padding:9px 10px !important; font-size:21px !important; }
  .astodo-mobile-primary-actions { gap:7px !important; grid-template-rows:repeat(3,minmax(51px,1fr)) !important; }
  .astodo-mobile-action { padding:7px 12px !important; }
  .astodo-mobile-action small { display:none !important; }
  .astodo-install-banner { min-height:43px !important; }
}

/* ===== Desktop hero aligned with the mobile visual language — v1.5.8 ===== */
@media (min-width: 901px) {
  .astodo-entry-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .astodo-entry-hero h1 {
    width: min(100%, 510px) !important;
    max-width: 510px !important;
    margin: 18px auto 0 !important;
    padding: 24px 28px !important;
    border: 1px solid rgba(141,135,255,.14) !important;
    border-radius: 26px !important;
    background:
      radial-gradient(circle at 18% 12%, rgba(126,110,255,.13), transparent 38%),
      linear-gradient(145deg, rgba(8,18,39,.86), rgba(8,27,39,.68)) !important;
    box-shadow:
      0 20px 48px rgba(1,7,21,.22),
      inset 0 1px 0 rgba(255,255,255,.055) !important;
    font-size: clamp(38px, 3.15vw, 54px) !important;
    line-height: 1.52 !important;
    letter-spacing: -1.2px !important;
    text-align: center !important;
    overflow: hidden !important;
    clip-path: inset(0 round 26px) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
  }

  .astodo-entry-hero > p {
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    margin: 18px auto 0 !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 2 !important;
  }
}


/* ===== Compact mobile actions + about dialogs — v1.5.9 ===== */
.astodo-about-links {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.astodo-about-links button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:36px;
  padding:7px 12px;
  border:1px solid var(--astodo-border);
  border-radius:12px;
  color:var(--astodo-muted);
  background:color-mix(in srgb,var(--astodo-surface) 55%,transparent);
  font-family:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  transition:transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease;
}
.astodo-about-links button:hover { transform:translateY(-2px); color:var(--astodo-text); border-color:rgba(119,113,255,.45); background:rgba(119,113,255,.10); }
.astodo-about-links svg { width:16px; height:16px; flex:0 0 16px; color:#8d87ff; }

.astodo-about-content { display:grid; gap:15px; color:var(--astodo-text); }
.astodo-about-content p { margin:0; color:var(--astodo-muted); font-size:13px; line-height:2; }
.astodo-about-content strong { color:var(--astodo-text); }
.astodo-social-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.astodo-social-grid a {
  display:flex; flex-direction:column; gap:3px; min-width:0; padding:12px 13px;
  border:1px solid var(--astodo-border); border-radius:15px;
  color:var(--astodo-text); text-decoration:none;
  background:color-mix(in srgb,var(--astodo-surface-2) 78%,transparent);
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.astodo-social-grid a:hover { transform:translateY(-3px); border-color:rgba(119,113,255,.5); box-shadow:0 12px 28px rgba(31,28,90,.16); }
.astodo-social-grid a strong { font-size:12px; }
.astodo-social-grid a span { color:var(--astodo-muted); font-size:10px; direction:ltr; text-align:right; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.astodo-about-points { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.astodo-about-points span { display:flex; align-items:center; gap:9px; min-height:52px; padding:10px 12px; border:1px solid var(--astodo-border); border-radius:14px; background:color-mix(in srgb,var(--astodo-surface-2) 76%,transparent); }
.astodo-about-points svg { width:19px; height:19px; flex:0 0 19px; color:#817aff; }
.astodo-about-points b { font-size:11px; line-height:1.65; }
.astodo-about-note { padding:11px 13px; border-radius:13px; background:rgba(103,232,194,.08); border:1px solid rgba(103,232,194,.15); }

@media (max-width:700px) {
  .astodo-mobile-primary-actions {
    grid-template-rows:repeat(3,minmax(50px,1fr)) !important;
    gap:7px !important;
  }
  .astodo-mobile-action {
    min-height:50px !important;
    padding:7px 12px !important;
    border-radius:16px !important;
    gap:11px !important;
  }
  .astodo-mobile-action > svg { width:22px !important; height:22px !important; flex-basis:22px !important; }
  .astodo-mobile-action strong { font-size:13px !important; line-height:1.35 !important; }
  .astodo-mobile-action small { font-size:8.5px !important; line-height:1.35 !important; }
  .astodo-about-links { order:4 !important; flex:0 0 auto !important; margin-top:0 !important; gap:6px !important; }
  .astodo-about-links button { min-height:30px; padding:5px 9px; border-radius:10px; font-size:9px; }
  .astodo-about-links svg { width:14px; height:14px; flex-basis:14px; }
  .astodo-social-grid,.astodo-about-points { grid-template-columns:1fr; }
  .astodo-social-grid a { padding:10px 11px; }
  .astodo-about-content p { font-size:12px; line-height:1.9; }
}

@media (max-width:700px) and (max-height:690px) {
  .astodo-mobile-primary-actions { grid-template-rows:repeat(3,minmax(45px,1fr)) !important; gap:6px !important; }
  .astodo-mobile-action { min-height:45px !important; padding:5px 10px !important; }
  .astodo-about-links button { min-height:27px; padding:4px 8px; font-size:8.5px; }
}

/* ===== Final polish: readable about modals, vivid social cards, compact mobile CTA — v1.6.0 ===== */
.astodo-modal .astodo-about-content,
.astodo-modal .astodo-about-content * {
  opacity: 1 !important;
}
.astodo-modal .astodo-about-content > p {
  color: var(--astodo-text) !important;
  font-size: 14px !important;
  line-height: 2.05 !important;
}
.astodo-modal .astodo-about-content > p strong {
  color: #8f88ff !important;
}
html[data-astodo-theme="dark"] .astodo-modal .astodo-about-content > p {
  color: #e7ebf5 !important;
}
html[data-astodo-theme="dark"] .astodo-modal .astodo-modal-head h3 {
  color: #fff !important;
}
html[data-astodo-theme="dark"] .astodo-modal .astodo-modal-head p {
  color: #b8c2d8 !important;
}
.astodo-social-grid a {
  position: relative;
  display: grid !important;
  grid-template-columns: 42px minmax(0,1fr);
  align-items: center;
  gap: 11px !important;
  min-height: 66px;
  padding: 11px 12px !important;
  overflow: hidden;
}
.astodo-social-grid a::after {
  content: "";
  position: absolute;
  inset: auto -28px -36px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(119,113,255,.20),transparent 68%);
  pointer-events: none;
}
.astodo-social-grid a i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 20px;
  font-style: normal;
  background: linear-gradient(145deg,rgba(130,120,255,.20),rgba(103,232,194,.09));
  border: 1px solid rgba(139,132,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 9px 22px rgba(28,25,78,.12);
}
.astodo-social-grid a > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.astodo-social-grid a strong {
  color: var(--astodo-text) !important;
  font-size: 12.5px !important;
  line-height: 1.6;
}
.astodo-social-grid a span {
  color: var(--astodo-muted) !important;
  font-size: 10.5px !important;
}
html[data-astodo-theme="dark"] .astodo-social-grid a {
  background: linear-gradient(145deg,rgba(28,38,67,.96),rgba(14,22,41,.96)) !important;
  border-color: rgba(149,144,255,.19) !important;
}
html[data-astodo-theme="dark"] .astodo-social-grid a strong { color:#fff !important; }
html[data-astodo-theme="dark"] .astodo-social-grid a span { color:#aeb9cf !important; }
.astodo-about-points span {
  color: var(--astodo-text) !important;
}
html[data-astodo-theme="dark"] .astodo-about-points span {
  color:#fff !important;
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.10) !important;
}
.astodo-about-note {
  color:var(--astodo-text) !important;
  font-weight:650;
}
html[data-astodo-theme="dark"] .astodo-about-note { color:#dffcf3 !important; }

/* Keep the visual headline as one perfectly rounded object on every viewport. */
.astodo-entry-hero,
.astodo-entry-hero h1,
.astodo-entry-hero p {
  border-radius: 26px !important;
}
.astodo-entry-hero {
  overflow: hidden !important;
  clip-path: inset(0 round 26px) !important;
}
.astodo-entry-hero h1 {
  overflow: hidden !important;
  border-bottom-left-radius: 26px !important;
  border-bottom-right-radius: 26px !important;
}
.astodo-entry-hero p {
  position: relative;
  z-index: 1;
  margin-top: 10px !important;
}

@media (max-width:700px) {
  .astodo-mobile-primary-actions {
    gap: 6px !important;
  }
  .astodo-mobile-action {
    min-height: 44px !important;
    padding: 5px 10px !important;
    border-radius: 14px !important;
    gap: 9px !important;
  }
  .astodo-mobile-action > svg {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }
  .astodo-mobile-action strong {
    font-size: 12.5px !important;
    line-height: 1.3 !important;
  }
  .astodo-mobile-action small {
    font-size: 8px !important;
    line-height: 1.25 !important;
  }
  .astodo-entry-hero,
  .astodo-entry-hero h1,
  .astodo-entry-hero p {
    border-radius: 22px !important;
  }
  .astodo-entry-hero {
    clip-path: inset(0 round 22px) !important;
  }
  .astodo-entry-hero h1 {
    border-bottom-left-radius: 22px !important;
    border-bottom-right-radius: 22px !important;
  }
  .astodo-modal {
    color:var(--astodo-text) !important;
  }
  .astodo-modal .astodo-about-content {
    gap: 12px !important;
  }
  .astodo-modal .astodo-about-content > p {
    font-size: 12.5px !important;
    line-height: 1.95 !important;
  }
  .astodo-social-grid {
    gap: 7px !important;
  }
  .astodo-social-grid a {
    grid-template-columns: 38px minmax(0,1fr);
    min-height: 58px;
    padding: 8px 9px !important;
    border-radius: 13px !important;
  }
  .astodo-social-grid a i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 18px;
  }
  .astodo-social-grid a strong { font-size: 11.5px !important; }
  .astodo-social-grid a span { font-size: 9.5px !important; }
}

@media (max-width:700px) and (max-height:690px) {
  .astodo-mobile-action {
    min-height: 40px !important;
    padding: 4px 9px !important;
  }
  .astodo-mobile-action small { display:none !important; }
}

/* ===== Unified hero card + ultra-compact mobile controls — v1.6.1 ===== */
/* One surface for both the headline and its supporting sentence. */
.astodo-entry-hero {
  width: min(100%, 680px) !important;
  margin-inline: auto !important;
  padding: 24px 28px 20px !important;
  border: 1px solid rgba(129,122,255,.18) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(119,113,255,.14), transparent 38%),
    linear-gradient(145deg, rgba(9,17,38,.88), rgba(5,28,38,.70)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 18px 45px rgba(1,5,18,.16) !important;
  overflow: hidden !important;
  clip-path: inset(0 round 28px) !important;
}

.astodo-entry-hero h1 {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  font-size: clamp(31px, 3.25vw, 48px) !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.astodo-entry-hero h1::before,
.astodo-entry-hero h1::after {
  display: none !important;
}

.astodo-entry-hero > p {
  width: min(100%, 580px) !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #c0cadb !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.9 !important;
}

html[data-astodo-theme="light"] .astodo-entry-hero {
  border-color: rgba(93,79,240,.15) !important;
  background:
    radial-gradient(circle at 15% 10%, rgba(119,113,255,.12), transparent 40%),
    linear-gradient(145deg, rgba(248,249,255,.98), rgba(238,246,255,.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 45px rgba(43,54,94,.11) !important;
}
html[data-astodo-theme="light"] .astodo-entry-hero > p { color:#66728b !important; }

/* The two informational buttons must stay highly legible in dark mode. */
html[data-astodo-theme="dark"] .astodo-about-links button,
html[data-astodo-theme="dark"] .astodo-about-links button span,
html[data-astodo-theme="dark"] .astodo-about-links button strong {
  color: #fff !important;
}
html[data-astodo-theme="dark"] .astodo-about-links button svg {
  color: #d8d5ff !important;
}

@media (max-width:700px) {
  .astodo-entry-hero {
    width: 100% !important;
    margin: 0 !important;
    padding: 13px 12px 11px !important;
    border-radius: 20px !important;
    clip-path: inset(0 round 20px) !important;
  }

  /* Requested single-line mobile headline. */
  .astodo-entry-hero h1 {
    display: block !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    font-size: clamp(13.5px, 4.25vw, 18px) !important;
    line-height: 1.55 !important;
    letter-spacing: -.35px !important;
  }

  .astodo-entry-hero > p {
    margin-top: 5px !important;
    font-size: 8.5px !important;
    line-height: 1.55 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .astodo-mobile-primary-actions {
    gap: 5px !important;
    grid-template-rows: repeat(3, auto) !important;
  }

  .astodo-mobile-action {
    min-height: 38px !important;
    padding: 4px 9px !important;
    gap: 7px !important;
    border-radius: 12px !important;
  }

  .astodo-mobile-action > svg {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .astodo-mobile-action span { gap: 0 !important; }
  .astodo-mobile-action strong {
    font-size: 11.5px !important;
    line-height: 1.28 !important;
  }
  .astodo-mobile-action small {
    font-size: 7.5px !important;
    line-height: 1.2 !important;
  }

  .astodo-about-links button {
    color: var(--astodo-text) !important;
    white-space: nowrap !important;
  }
  html[data-astodo-theme="dark"] .astodo-about-links button,
  html[data-astodo-theme="dark"] .astodo-about-links button span {
    color:#fff !important;
  }
}

@media (max-width:370px), (max-width:700px) and (max-height:690px) {
  .astodo-entry-hero { padding: 10px 9px 9px !important; }
  .astodo-entry-hero h1 { font-size: clamp(12px, 4vw, 15px) !important; }
  .astodo-entry-hero > p { font-size: 7.5px !important; }
  .astodo-mobile-action {
    min-height: 35px !important;
    padding: 3px 8px !important;
  }
  .astodo-mobile-action strong { font-size: 10.5px !important; }
  .astodo-mobile-action small { display: none !important; }
}


/* ===== Friend referral share — v1.6.2 ===== */
.astodo-about-links .astodo-friend-share-trigger {
  color: var(--astodo-text);
  background: linear-gradient(135deg, rgba(119,113,255,.16), rgba(92,222,196,.10));
  border-color: rgba(119,113,255,.30);
}
.astodo-about-links .astodo-friend-share-trigger svg { color:#8d87ff; }
.astodo-share-listino-card {
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:6px 14px;
  align-items:center;
  padding:18px;
  border:1px solid var(--astodo-border);
  border-radius:22px;
  background:linear-gradient(145deg, rgba(119,113,255,.13), rgba(92,222,196,.06));
  box-shadow:0 16px 40px rgba(8,15,38,.10);
}
.astodo-share-listino-icon {
  grid-row:1 / span 3;
  width:52px;height:52px;
  display:grid;place-items:center;
  border-radius:17px;
  color:#fff;
  background:linear-gradient(135deg,#8d87ff,#6258f5);
  box-shadow:0 12px 28px rgba(98,88,245,.32);
}
.astodo-share-listino-icon svg { width:25px;height:25px; }
.astodo-share-listino-card p { margin:0;color:var(--astodo-text);font-weight:900;font-size:16px; }
.astodo-share-listino-card small { color:var(--astodo-muted);line-height:1.9;font-size:12px; }
.astodo-share-listino-url { direction:ltr;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#7f78ff;font-size:11px;font-weight:800; }
.astodo-share-listino-text {
  width:100%;min-height:112px;margin-top:14px;padding:14px 16px;resize:none;
  border:1px solid var(--astodo-border);border-radius:18px;
  color:var(--astodo-text);background:var(--astodo-surface-2);
  font:500 13px/2 "Vazirmatn",Tahoma,sans-serif;outline:none;
}
.astodo-share-listino-actions { margin-top:14px; }
html[data-astodo-theme="dark"] .astodo-share-listino-card,
html[data-astodo-theme="dark"] .astodo-share-listino-text { color:#fff;background:rgba(12,22,44,.88);border-color:rgba(151,144,255,.24); }
html[data-astodo-theme="dark"] .astodo-share-listino-card p { color:#fff; }
html[data-astodo-theme="dark"] .astodo-share-listino-card small { color:#c3cbe0; }
@media (max-width:760px) {
  .astodo-about-links { flex-wrap:wrap; }
  .astodo-about-links .astodo-friend-share-trigger { flex:1 1 100%; justify-content:center; }
  .astodo-share-listino-card { grid-template-columns:44px minmax(0,1fr); padding:14px; border-radius:18px; gap:4px 10px; }
  .astodo-share-listino-icon { width:44px;height:44px;border-radius:14px; }
  .astodo-share-listino-icon svg { width:21px;height:21px; }
  .astodo-share-listino-card p { font-size:14px; }
  .astodo-share-listino-card small { font-size:11px; line-height:1.75; }
  .astodo-share-listino-text { min-height:98px;font-size:11px;line-height:1.9;padding:12px; }
  .astodo-share-listino-actions { display:grid;grid-template-columns:1fr 1.2fr; }
}

/* ===== Mobile action polish & living gradients — v1.6.4 ===== */
@media (max-width: 760px) {
  .astodo-mobile-actions {
    gap: 13px !important;
  }

  .astodo-mobile-action {
    min-height: 44px !important;
    padding: 5px 11px !important;
    border-radius: 16px !important;
    gap: 10px !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-color: rgba(150, 143, 255, .22) !important;
    background:
      linear-gradient(118deg,
        rgba(19, 29, 55, .94) 0%,
        rgba(36, 44, 82, .96) 36%,
        rgba(71, 52, 132, .90) 68%,
        rgba(19, 29, 55, .94) 100%) !important;
    background-size: 240% 240% !important;
    animation: astodoMobileButtonGradient 7s ease-in-out infinite;
    box-shadow:
      0 10px 24px rgba(7, 13, 30, .20),
      inset 0 1px 0 rgba(255, 255, 255, .07) !important;
  }

  .astodo-mobile-action::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .45;
    background:
      radial-gradient(circle at 12% 20%, rgba(133, 123, 255, .22), transparent 34%),
      radial-gradient(circle at 88% 82%, rgba(91, 229, 201, .13), transparent 32%);
    transform: translateZ(0);
  }

  .astodo-mobile-action-primary {
    background:
      linear-gradient(115deg,
        #6258f5 0%,
        #806cff 28%,
        #a35dff 55%,
        #6559f4 78%,
        #7368ff 100%) !important;
    background-size: 260% 260% !important;
    border-color: rgba(255,255,255,.08) !important;
    animation-duration: 5.5s;
    box-shadow:
      0 13px 30px rgba(96, 83, 239, .34),
      inset 0 1px 0 rgba(255, 255, 255, .22) !important;
  }

  .astodo-mobile-action > svg {
    width: 21px !important;
    height: 21px !important;
    flex-basis: 21px !important;
  }

  .astodo-mobile-action span {
    gap: 0 !important;
  }

  .astodo-mobile-action strong {
    font-size: 15.5px !important;
    line-height: 1.35 !important;
    letter-spacing: -.25px;
  }

  .astodo-mobile-action small {
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    margin-top: 1px;
  }

  .astodo-mobile-action:active {
    transform: scale(.975) !important;
  }
}

@media (max-width: 370px), (max-width: 760px) and (max-height: 690px) {
  .astodo-mobile-actions {
    gap: 10px !important;
  }

  .astodo-mobile-action {
    min-height: 40px !important;
    padding: 4px 9px !important;
  }

  .astodo-mobile-action strong {
    font-size: 14px !important;
  }

  .astodo-mobile-action small {
    display: none !important;
  }
}

@keyframes astodoMobileButtonGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .astodo-mobile-action {
    animation: none !important;
  }
}

/* ===== Softer modal placeholders — v1.6.5 ===== */
.astodo-modal .astodo-field::placeholder,
.astodo-modal textarea::placeholder,
.astodo-modal input::placeholder {
  color: rgba(126, 139, 164, .48) !important;
  opacity: 1 !important;
}

html[data-astodo-theme="dark"] .astodo-modal .astodo-field::placeholder,
html[data-astodo-theme="dark"] .astodo-modal textarea::placeholder,
html[data-astodo-theme="dark"] .astodo-modal input::placeholder {
  color: rgba(171, 183, 207, .38) !important;
}

html[data-astodo-theme="light"] .astodo-modal .astodo-field::placeholder,
html[data-astodo-theme="light"] .astodo-modal textarea::placeholder,
html[data-astodo-theme="light"] .astodo-modal input::placeholder {
  color: rgba(78, 91, 116, .36) !important;
}

.astodo-modal .astodo-field::-webkit-input-placeholder,
.astodo-modal textarea::-webkit-input-placeholder,
.astodo-modal input::-webkit-input-placeholder {
  color: rgba(126, 139, 164, .48) !important;
  opacity: 1 !important;
}


/* ===== Placeholder clarity + visible logout — v1.6.6 ===== */
.astodo-modal input.astodo-field::placeholder,
.astodo-modal textarea.astodo-field::placeholder,
.astodo-auth-card input.astodo-field::placeholder,
.astodo-auth-card textarea.astodo-field::placeholder,
.astodo-entry-panel input.astodo-field::placeholder,
.astodo-entry-panel textarea.astodo-field::placeholder {
  color: rgba(119, 132, 158, .24) !important;
  -webkit-text-fill-color: rgba(119, 132, 158, .24) !important;
  opacity: 1 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

html[data-astodo-theme="dark"] .astodo-modal input.astodo-field::placeholder,
html[data-astodo-theme="dark"] .astodo-modal textarea.astodo-field::placeholder,
html[data-astodo-theme="dark"] .astodo-auth-card input.astodo-field::placeholder,
html[data-astodo-theme="dark"] .astodo-auth-card textarea.astodo-field::placeholder,
html[data-astodo-theme="dark"] .astodo-entry-panel input.astodo-field::placeholder,
html[data-astodo-theme="dark"] .astodo-entry-panel textarea.astodo-field::placeholder {
  color: rgba(196, 205, 224, .22) !important;
  -webkit-text-fill-color: rgba(196, 205, 224, .22) !important;
}

html[data-astodo-theme="light"] .astodo-modal input.astodo-field::placeholder,
html[data-astodo-theme="light"] .astodo-modal textarea.astodo-field::placeholder,
html[data-astodo-theme="light"] .astodo-auth-card input.astodo-field::placeholder,
html[data-astodo-theme="light"] .astodo-auth-card textarea.astodo-field::placeholder,
html[data-astodo-theme="light"] .astodo-entry-panel input.astodo-field::placeholder,
html[data-astodo-theme="light"] .astodo-entry-panel textarea.astodo-field::placeholder {
  color: rgba(48, 61, 88, .20) !important;
  -webkit-text-fill-color: rgba(48, 61, 88, .20) !important;
}

.astodo-modal input.astodo-field::-webkit-input-placeholder,
.astodo-auth-card input.astodo-field::-webkit-input-placeholder,
.astodo-entry-panel input.astodo-field::-webkit-input-placeholder {
  color: rgba(119, 132, 158, .24) !important;
  -webkit-text-fill-color: rgba(119, 132, 158, .24) !important;
  opacity: 1 !important;
}

.astodo-entry-brand-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.astodo-mobile-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--astodo-text, #172036);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(95, 103, 130, .15);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(20, 29, 52, .08);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.astodo-mobile-logout-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.astodo-mobile-logout-button:hover { transform: translateY(-2px); }
.astodo-mobile-logout-button:active { transform: scale(.97); }

html[data-astodo-theme="dark"] .astodo-mobile-logout-button {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.11);
}

.astodo-my-lists-head-actions {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.astodo-logout-btn {
  color: #fff !important;
  background: linear-gradient(135deg, #7a5cff, #5b45dc) !important;
  border-color: transparent !important;
}

@media (max-width: 760px) {
  .astodo-entry-brand-actions { gap: 6px; }
  .astodo-mobile-logout-button {
    min-height: 36px;
    padding: 6px 9px;
    border-radius: 12px;
    font-size: 11px;
  }
  .astodo-mobile-logout-button svg { width: 14px; height: 14px; }
  .astodo-my-lists-head { flex-wrap: wrap; }
  .astodo-my-lists-head-actions {
    width: 100%;
    margin-inline-start: 0;
  }
  .astodo-my-lists-head-actions .astodo-btn { flex: 1; }
}

/* ===== High-contrast light theme + platform install dock — v1.6.7 ===== */
html[data-astodo-theme="light"] {
  --astodo-bg: #f7f8ff;
  --astodo-ink: #111827;
  --astodo-muted: #65708a;
  --astodo-line: #dfe5f2;
  --astodo-card: #ffffff;
  --astodo-page-surface: rgba(255,255,255,.92);
  --astodo-page-surface-strong: #ffffff;
  --astodo-glow-a: rgba(104,84,255,.20);
  --astodo-glow-b: rgba(36,210,175,.13);
  --astodo-glass-border: rgba(255,255,255,.86);
  --astodo-shadow: 0 28px 85px rgba(65,72,105,.16);
}

html[data-astodo-theme="light"] body.astodo-app-body {
  background:
    radial-gradient(circle at 78% 7%, rgba(119,104,255,.22), transparent 28%),
    radial-gradient(circle at 7% 90%, rgba(54,216,187,.16), transparent 30%),
    linear-gradient(145deg, #fbfcff 0%, #f2f4ff 48%, #f8fbff 100%) !important;
  color: #111827 !important;
}

html[data-astodo-theme="light"] body.astodo-app-body::before {
  opacity: .46;
  background-image:
    linear-gradient(rgba(93,99,135,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,99,135,.045) 1px, transparent 1px);
}

html[data-astodo-theme="light"] .astodo-entry-wrap,
html[data-astodo-theme="light"] .astodo-auth-card,
html[data-astodo-theme="light"] .astodo-my-lists,
html[data-astodo-theme="light"] .astodo-main,
html[data-astodo-theme="light"] .astodo-modal {
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(102,110,151,.13) !important;
  box-shadow: 0 30px 90px rgba(73,80,118,.17), inset 0 1px 0 rgba(255,255,255,.95) !important;
}

html[data-astodo-theme="light"] .astodo-entry-visual {
  background:
    radial-gradient(circle at 80% 12%, rgba(122,104,255,.22), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(53,211,177,.11), transparent 34%),
    linear-gradient(155deg, #f7f5ff 0%, #eef1ff 54%, #f5fbff 100%) !important;
  color: #151b2e !important;
  border-color: rgba(111,99,224,.13) !important;
}

html[data-astodo-theme="light"] .astodo-entry-brand strong,
html[data-astodo-theme="light"] .astodo-entry-hero h1,
html[data-astodo-theme="light"] .astodo-mobile-action strong,
html[data-astodo-theme="light"] .astodo-modal h2,
html[data-astodo-theme="light"] .astodo-modal h3,
html[data-astodo-theme="light"] .astodo-about-links button {
  color: #111827 !important;
}

html[data-astodo-theme="light"] .astodo-entry-brand small,
html[data-astodo-theme="light"] .astodo-entry-hero p,
html[data-astodo-theme="light"] .astodo-mobile-action small,
html[data-astodo-theme="light"] .astodo-modal p,
html[data-astodo-theme="light"] .astodo-modal label {
  color: #69748d !important;
}

html[data-astodo-theme="light"] .astodo-mobile-action,
html[data-astodo-theme="light"] .astodo-about-links button,
html[data-astodo-theme="light"] .astodo-feature,
html[data-astodo-theme="light"] .astodo-security-note,
html[data-astodo-theme="light"] .astodo-my-list-card {
  background: rgba(255,255,255,.78) !important;
  border-color: rgba(95,102,145,.13) !important;
  box-shadow: 0 14px 34px rgba(78,86,125,.10) !important;
}

html[data-astodo-theme="light"] .astodo-mobile-action-primary {
  color: #fff !important;
  background: linear-gradient(120deg, #826cff, #6255ef 48%, #7e64ff) !important;
  box-shadow: 0 18px 38px rgba(101,85,238,.28) !important;
}

html[data-astodo-theme="light"] .astodo-mobile-action-primary strong,
html[data-astodo-theme="light"] .astodo-mobile-action-primary small {
  color: #fff !important;
}

html[data-astodo-theme="light"] .astodo-field,
html[data-astodo-theme="light"] .astodo-modal .astodo-field {
  color: #111827 !important;
  background: #fff !important;
  border-color: #d8deeb !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 20px rgba(76,84,118,.06) !important;
}

html[data-astodo-theme="light"] .astodo-field:focus {
  border-color: #7766f6 !important;
  box-shadow: 0 0 0 4px rgba(119,102,246,.12), 0 10px 24px rgba(88,78,182,.10) !important;
}

html[data-astodo-theme="light"] .astodo-floating-tool,
html[data-astodo-theme="light"] .astodo-mobile-theme-button,
html[data-astodo-theme="light"] .astodo-mobile-logout-button {
  color: #172036 !important;
  background: rgba(255,255,255,.84) !important;
  border-color: rgba(86,94,132,.14) !important;
  box-shadow: 0 12px 32px rgba(70,77,111,.12) !important;
}

html[data-astodo-theme="dark"] .astodo-entry-wrap,
html[data-astodo-theme="dark"] .astodo-auth-card,
html[data-astodo-theme="dark"] .astodo-my-lists,
html[data-astodo-theme="dark"] .astodo-modal {
  background: rgba(8,14,28,.96) !important;
  border-color: rgba(139,124,255,.18) !important;
}

.astodo-install-copy strong::after {
  content: " روی موبایل، ویندوز و همه پلتفرم‌ها";
  font-weight: 650;
  opacity: .82;
}

@media (max-width: 760px) {
  body.astodo-app-body:has(.astodo-entry-screen) {
    padding-bottom: 72px !important;
  }

  .astodo-install-banner {
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    width: min(calc(100vw - 16px), 540px) !important;
    max-width: none !important;
    min-height: 55px !important;
    grid-template-columns: 34px minmax(0,1fr) auto !important;
    gap: 8px !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
    border-radius: 22px 22px 0 0 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.23), rgba(255,255,255,.08)),
      rgba(17,23,45,.68) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-bottom: 0 !important;
    box-shadow: 0 -14px 46px rgba(8,12,28,.32), inset 0 1px 0 rgba(255,255,255,.34) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.5) !important;
    backdrop-filter: blur(28px) saturate(1.5) !important;
    transform: translate(-50%, 110%) scale(.98) !important;
  }

  .astodo-install-banner.is-visible {
    transform: translate(-50%, 0) scale(1) !important;
  }

  html[data-astodo-theme="light"] .astodo-install-banner {
    color: #172036 !important;
    background:
      linear-gradient(180deg, rgba(255,255,255,.82), rgba(250,251,255,.62)),
      rgba(245,247,255,.76) !important;
    border-color: rgba(104,112,155,.18) !important;
    box-shadow: 0 -14px 44px rgba(73,80,118,.17), inset 0 1px 0 #fff !important;
  }

  html[data-astodo-theme="light"] .astodo-install-copy strong,
  html[data-astodo-theme="light"] .astodo-install-copy p {
    color: #172036 !important;
  }

  .astodo-install-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  .astodo-install-copy strong {
    display: block !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

  .astodo-install-copy strong::after {
    content: " برای موبایل، ویندوز و همه پلتفرم‌ها";
    display: inline;
    font-size: 9.5px;
  }

  .astodo-install-copy p { display: none !important; }

  .astodo-install-action {
    min-height: 34px !important;
    padding: 0 11px !important;
    border-radius: 11px !important;
    font-size: 10px !important;
  }

  .astodo-install-close {
    top: -9px !important;
    left: 8px !important;
    width: 23px !important;
    height: 23px !important;
    border-radius: 50% !important;
  }
}

/* ===== Clean light hero + slimmer spaced mobile actions — v1.6.8 ===== */
html[data-astodo-theme="light"] .astodo-entry-hero h1,
html[data-astodo-theme="light"] .astodo-entry-hero h1::before,
html[data-astodo-theme="light"] .astodo-entry-hero h1::after {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  outline: 0 !important;
}

html[data-astodo-theme="light"] .astodo-entry-hero h1 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  text-shadow: none !important;
  isolation: auto !important;
  mix-blend-mode: normal !important;
}

html[data-astodo-theme="light"] .astodo-entry-hero h1::selection,
html[data-astodo-theme="light"] .astodo-entry-hero h1 *::selection {
  color: #111827 !important;
  background: rgba(116, 96, 246, .16) !important;
}

@media (max-width: 700px) {
  .astodo-mobile-primary-actions {
    gap: 11px !important;
  }

  .astodo-mobile-action {
    min-height: 34px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-inline: 10px !important;
  }
}

@media (max-width: 370px), (max-width: 700px) and (max-height: 690px) {
  .astodo-mobile-primary-actions {
    gap: 9px !important;
  }

  .astodo-mobile-action {
    min-height: 32px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-inline: 8px !important;
  }
}

/* ===== Stable installer position & reserved landing space — v1.6.9 ===== */
/* Keep the PWA banner anchored after opening/closing any modal. The old float
   animation animated `transform` and could overwrite translateX(-50%). */
.astodo-install-banner {
  left: 50% !important;
  right: auto !important;
  margin: 0 !important;
  animation: astodoInstallGlassPulse 4.8s ease-in-out infinite !important;
  transform-origin: 50% 100% !important;
}

.astodo-install-banner:not(.is-visible),
.astodo-install-banner.astodo-hidden-for-modal,
html.astodo-modal-open .astodo-install-banner,
body.astodo-modal-open .astodo-install-banner {
  transform: translate3d(-50%, 26px, 0) scale(.97) !important;
}

.astodo-install-banner.is-visible:not(.astodo-hidden-for-modal),
html:not(.astodo-modal-open) body:not(.astodo-modal-open) .astodo-install-banner.is-visible {
  transform: translate3d(-50%, 0, 0) scale(1) !important;
}

@keyframes astodoInstallGlassPulse {
  0%, 100% {
    box-shadow: 0 -12px 38px rgba(8,12,28,.24), inset 0 1px 0 rgba(255,255,255,.30);
  }
  50% {
    box-shadow: 0 -16px 48px rgba(87,70,222,.28), inset 0 1px 0 rgba(255,255,255,.40);
  }
}

@media (max-width: 760px) {
  /* Reserve a real visual gutter so the fixed installer never touches the
     landing card. Internal list pages keep their normal scrolling behavior. */
  body.astodo-app-body:has(.astodo-entry-screen),
  body.astodo-app-body:has(.astodo-auth-screen) {
    padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }

  .astodo-entry-screen,
  .astodo-auth-screen {
    padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
  }

  .astodo-install-banner {
    left: 50% !important;
    right: auto !important;
    bottom: max(9px, env(safe-area-inset-bottom)) !important;
    width: min(calc(100vw - 20px), 540px) !important;
    border-radius: 18px !important;
    border-bottom: 1px solid rgba(255,255,255,.18) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .astodo-install-banner { animation: none !important; }
}

/* ===== Contact CTA, installer/copyright spacing & slimmer mobile controls — v1.6.11 ===== */
.astodo-contact-trigger {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.astodo-contact-trigger::after {
  content: "";
  position: absolute;
  inset: -80% -30%;
  z-index: -1;
  opacity: .42;
  background: conic-gradient(from 90deg, transparent, rgba(84,190,255,.28), transparent 35%, rgba(139,92,246,.28), transparent 72%);
  animation: astodoContactGlow 7s linear infinite;
}
@keyframes astodoContactGlow { to { transform: rotate(360deg); } }

.astodo-contact-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(119,113,255,.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(119,113,255,.11), rgba(35,190,210,.06));
  text-align: center;
}
.astodo-contact-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -110px;
  left: -80px;
  border-radius: 50%;
  background: rgba(119,113,255,.23);
  filter: blur(28px);
  pointer-events: none;
}
.astodo-contact-orb {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 20px;
  background: linear-gradient(145deg,#857cff,#5c55eb);
  box-shadow: 0 16px 35px rgba(91,83,235,.34);
  font-size: 27px;
  animation: astodoContactFloat 3.6s ease-in-out infinite;
}
@keyframes astodoContactFloat { 50% { transform: translateY(-6px) rotate(3deg); } }
.astodo-contact-card h4 { position:relative; margin:0 0 10px; color:var(--astodo-text); font-size:19px; font-weight:950; }
.astodo-contact-card p { position:relative; margin:0; color:var(--astodo-muted); font-size:13px; line-height:2; }
.astodo-contact-tags { position:relative; display:flex; flex-wrap:wrap; justify-content:center; gap:7px; margin:17px 0; }
.astodo-contact-tags span { padding:7px 10px; border:1px solid rgba(119,113,255,.18); border-radius:999px; background:rgba(119,113,255,.07); color:var(--astodo-text); font-size:10px; font-weight:800; }
.astodo-telegram-button {
  position:relative;
  min-height:56px;
  display:grid;
  grid-template-columns:28px 1fr;
  grid-template-areas:"icon title" "icon sub";
  align-items:center;
  gap:0 9px;
  padding:10px 16px;
  color:#fff !important;
  text-decoration:none !important;
  border-radius:17px;
  background:linear-gradient(135deg,#2aabee,#1688d4,#746cff);
  background-size:200% 200%;
  box-shadow:0 16px 38px rgba(31,157,225,.27);
  animation:astodoTelegramGradient 5s ease infinite;
  transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease;
}
.astodo-telegram-button:hover { transform:translateY(-3px); box-shadow:0 22px 45px rgba(31,157,225,.38); }
.astodo-telegram-button > span { grid-area:icon; font-size:24px; }
.astodo-telegram-button strong { grid-area:title; font-size:13px; font-weight:950; }
.astodo-telegram-button small { grid-area:sub; color:rgba(255,255,255,.78); font-size:10px; }
@keyframes astodoTelegramGradient { 50% { background-position:100% 50%; } }

html[data-astodo-theme="dark"] .astodo-contact-card h4,
html[data-astodo-theme="dark"] .astodo-contact-card p,
html[data-astodo-theme="dark"] .astodo-contact-tags span { color:#fff !important; }
html[data-astodo-theme="dark"] .astodo-contact-card p { color:#c9d2e7 !important; }

@media (max-width: 760px) {
  /* Give the fixed credit line its own lane above the installer. */
  body.astodo-app-body:has(.astodo-entry-screen) .astodo-copyright,
  body.astodo-app-body:has(.astodo-auth-screen) .astodo-copyright {
    display:block !important;
    bottom:calc(58px + max(10px, env(safe-area-inset-bottom))) !important;
    z-index:81 !important;
    font-size:8.5px !important;
  }

  .astodo-install-banner {
    padding-top:5px !important;
    padding-bottom:5px !important;
    min-height:46px !important;
  }
  .astodo-install-action {
    min-height:31px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }

  .astodo-mobile-primary-actions { gap:14px !important; }
  .astodo-mobile-action {
    min-height:31px !important;
    padding-top:1px !important;
    padding-bottom:1px !important;
  }

  .astodo-about-links { gap:7px !important; }
  .astodo-about-links button { padding-top:4px !important; padding-bottom:4px !important; }
  .astodo-contact-card { padding:18px 15px; border-radius:21px; }
  .astodo-contact-orb { width:50px; height:50px; border-radius:17px; font-size:23px; }
  .astodo-contact-card h4 { font-size:16px; }
  .astodo-contact-card p { font-size:11.5px; line-height:1.9; }
  .astodo-contact-tags { margin:13px 0; gap:5px; }
  .astodo-contact-tags span { padding:5px 8px; font-size:9px; }
  .astodo-telegram-button { min-height:50px; padding:8px 13px; }
}

@media (max-width: 370px), (max-width:700px) and (max-height:690px) {
  .astodo-mobile-primary-actions { gap:12px !important; }
  .astodo-mobile-action { min-height:29px !important; padding-block:0 !important; }
  .astodo-install-banner { padding-block:4px !important; }
  .astodo-install-action { min-height:29px !important; }
}

/* ===== Mobile auth viewport stability & polished notifications — v1.6.12 ===== */
.astodo-toast-stack {
  position: fixed !important;
  top: max(18px, env(safe-area-inset-top)) !important;
  right: 50% !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2147483640 !important;
  width: min(430px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  pointer-events: none;
  transform: translateX(50%);
}

.astodo-toast {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 13px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 18px !important;
  color: #fff !important;
  background: rgba(20, 28, 48, .88) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 18px 55px rgba(4, 8, 20, .28), inset 0 1px 0 rgba(255,255,255,.12) !important;
  opacity: 0;
  transform: translateY(-18px) scale(.96);
  transition: opacity .34s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1), filter .28s ease;
  animation: none !important;
}

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

.astodo-toast.is-leaving {
  opacity: 0;
  transform: translateY(-12px) scale(.98);
  filter: blur(2px);
}

.astodo-toast-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(124,110,255,.95), rgba(85,70,229,.96));
  box-shadow: 0 10px 24px rgba(91,76,235,.32), inset 0 1px 0 rgba(255,255,255,.28);
}

.astodo-toast-icon::before {
  content: "✓";
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.astodo-toast-message {
  min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.75;
  text-align: right;
}

.astodo-toast.is-success {
  background: linear-gradient(145deg, rgba(13, 76, 68, .92), rgba(17, 55, 69, .94)) !important;
  border-color: rgba(91, 235, 191, .24) !important;
}
.astodo-toast.is-success .astodo-toast-icon {
  background: linear-gradient(145deg, #43d6a6, #18a87c);
  box-shadow: 0 10px 25px rgba(31,190,141,.30), inset 0 1px 0 rgba(255,255,255,.30);
}

.astodo-toast.is-error {
  background: linear-gradient(145deg, rgba(104, 31, 52, .94), rgba(65, 24, 47, .96)) !important;
  border-color: rgba(255, 116, 148, .25) !important;
}
.astodo-toast.is-error .astodo-toast-icon {
  background: linear-gradient(145deg, #ff6f91, #c83762);
  box-shadow: 0 10px 25px rgba(210,55,99,.30), inset 0 1px 0 rgba(255,255,255,.28);
}
.astodo-toast.is-error .astodo-toast-icon::before { content: "!"; }

html[data-astodo-theme="light"] .astodo-toast:not(.is-success):not(.is-error) {
  color: #172033 !important;
  background: rgba(255,255,255,.90) !important;
  border-color: rgba(81,72,190,.14) !important;
  box-shadow: 0 18px 55px rgba(46,54,95,.18), inset 0 1px 0 rgba(255,255,255,.90) !important;
}
html[data-astodo-theme="light"] .astodo-toast:not(.is-success):not(.is-error) .astodo-toast-message {
  color: #172033;
}

@media (max-width: 700px) {
  html.astodo-modal-open,
  body.astodo-modal-open {
    overscroll-behavior: none;
    touch-action: none;
  }

  .astodo-toast-stack {
    top: max(12px, env(safe-area-inset-top)) !important;
    width: calc(100vw - 24px);
  }

  .astodo-toast {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 11px !important;
    border-radius: 16px !important;
  }

  .astodo-toast-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .astodo-toast-message {
    font-size: 11.5px;
    line-height: 1.65;
  }
}


/* ===== Internal app navigation & platform installer placement — v1.6.14 ===== */
.astodo-mobile-bottom-nav{display:none}
@media (min-width: 761px){
  .astodo-install-banner{
    top:24px!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    width:min(420px,calc(100vw - 48px))!important;
    transform:translate(-50%,-18px) scale(.98)!important;
  }
  .astodo-install-banner.is-visible{
    transform:translate(-50%,0) scale(1)!important;
  }
}
@media (max-width:760px){
  html.astodo-internal-view .astodo-app-body,
  body.astodo-internal-view{padding-bottom:84px!important}
  html.astodo-internal-view .astodo-install-banner,
  body.astodo-internal-view .astodo-install-banner{
    top:max(10px,env(safe-area-inset-top))!important;
    bottom:auto!important;
    left:50%!important;
    right:auto!important;
    width:calc(100vw - 24px)!important;
    max-width:440px!important;
    transform:translate(-50%,-18px) scale(.98)!important;
  }
  html.astodo-internal-view .astodo-install-banner.is-visible,
  body.astodo-internal-view .astodo-install-banner.is-visible{
    transform:translate(-50%,0) scale(1)!important;
  }
  html.astodo-internal-view #astodo-app,
  body.astodo-internal-view #astodo-app{padding-top:68px!important;padding-bottom:88px!important}
  html.astodo-internal-view .astodo-copyright,
  body.astodo-internal-view .astodo-copyright{display:none!important}
  html.astodo-internal-view .astodo-mobile-bottom-nav,
  body.astodo-internal-view .astodo-mobile-bottom-nav{
    position:fixed;
    z-index:2147482500;
    right:12px;
    left:12px;
    bottom:max(10px,env(safe-area-inset-bottom));
    min-height:60px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:center;
    gap:7px;
    padding:7px;
    border:1px solid color-mix(in srgb,var(--astodo-border,#fff) 55%,transparent);
    border-radius:22px;
    background:color-mix(in srgb,var(--astodo-surface,#11182d) 82%,transparent);
    -webkit-backdrop-filter:blur(24px) saturate(1.45);
    backdrop-filter:blur(24px) saturate(1.45);
    box-shadow:0 16px 48px rgba(4,8,24,.32),inset 0 1px 0 rgba(255,255,255,.12);
  }
  .astodo-mobile-bottom-nav button,
  .astodo-mobile-bottom-nav a{
    min-width:0;
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    padding:4px 6px;
    border:0;
    border-radius:16px;
    color:var(--astodo-text,#fff)!important;
    background:transparent;
    text-decoration:none!important;
    font:inherit;
  }
  .astodo-mobile-bottom-nav button:active,
  .astodo-mobile-bottom-nav a:active{transform:scale(.96);background:rgba(111,92,255,.14)}
  .astodo-mobile-bottom-nav span{font-size:20px;line-height:1}
  .astodo-mobile-bottom-nav small{font-size:10px;font-weight:800;white-space:nowrap}
  .astodo-mobile-bottom-nav .astodo-nav-hidden{display:none!important}
  html[data-astodo-theme="light"] .astodo-mobile-bottom-nav{background:rgba(255,255,255,.78);border-color:rgba(85,70,180,.13);box-shadow:0 16px 44px rgba(55,46,110,.16),inset 0 1px 0 #fff}
  .astodo-shell{width:100%!important;max-width:100%!important}
  .astodo-sidebar,.astodo-main,.astodo-my-lists,.astodo-auth-card{border-radius:22px!important}
  .astodo-main{padding:14px!important}
  .astodo-list-info h1{font-size:clamp(20px,6vw,28px)!important}
  .astodo-item{grid-template-columns:auto auto minmax(0,1fr) auto!important;gap:8px!important;padding:11px!important;border-radius:17px!important}
  .astodo-item-actions{gap:5px!important}
  .astodo-toolbar,.astodo-list-actions,.astodo-share-grid{gap:8px!important;flex-wrap:wrap!important}
}


/* ===== Internal mobile scrolling, theme readability & keyboard-aware modals — v1.6.15 ===== */
@media (max-width:760px){
  /* Landing stays app-like, but every internal screen must use normal document scrolling. */
  html.astodo-internal-view,
  html.astodo-internal-view body.astodo-app-body,
  body.astodo-internal-view{
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html.astodo-internal-view .astodo-entry-screen,
  body.astodo-internal-view .astodo-entry-screen{
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
  }
  html.astodo-internal-view #astodo-app,
  body.astodo-internal-view #astodo-app{
    min-height:100dvh!important;
    height:auto!important;
    overflow:visible!important;
  }
  html.astodo-internal-view .astodo-shell,
  body.astodo-internal-view .astodo-shell,
  html.astodo-internal-view .astodo-main,
  body.astodo-internal-view .astodo-main,
  html.astodo-internal-view .astodo-list-panel,
  body.astodo-internal-view .astodo-list-panel{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html.astodo-internal-view .astodo-items,
  body.astodo-internal-view .astodo-items{
    overflow:visible!important;
    max-height:none!important;
  }

  /* Give the add-task area enough clearance above the persistent nav. */
  html.astodo-internal-view .astodo-main,
  body.astodo-internal-view .astodo-main{
    margin-bottom:18px!important;
    padding-bottom:108px!important;
  }

  /* Keyboard-aware modal viewport. JS updates these values from VisualViewport. */
  .astodo-modal-backdrop.astodo-keyboard-aware{
    inset:auto 0 auto 0!important;
    top:var(--astodo-vv-top,0px)!important;
    height:var(--astodo-vv-height,100dvh)!important;
    min-height:0!important;
    align-items:flex-start!important;
    justify-content:center!important;
    overflow:hidden!important;
    padding:12px 10px!important;
  }
  .astodo-modal-backdrop.astodo-keyboard-aware .astodo-modal{
    margin:auto 0!important;
    max-height:calc(var(--astodo-vv-height,100dvh) - 24px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-padding-top:18px!important;
    scroll-padding-bottom:24px!important;
  }
  .astodo-modal-backdrop.astodo-keyboard-visible .astodo-modal{
    margin:0!important;
    border-radius:22px!important;
  }
}

/* Strong readable internal-page palette in both themes. */
html[data-astodo-theme="dark"] .astodo-main,
html[data-astodo-theme="dark"] .astodo-sidebar,
html[data-astodo-theme="dark"] .astodo-list-panel,
html[data-astodo-theme="dark"] .astodo-my-lists,
html[data-astodo-theme="dark"] .astodo-stat-card,
html[data-astodo-theme="dark"] .astodo-item{
  color:#f8f9ff!important;
}
html[data-astodo-theme="dark"] .astodo-main h1,
html[data-astodo-theme="dark"] .astodo-main h2,
html[data-astodo-theme="dark"] .astodo-main h3,
html[data-astodo-theme="dark"] .astodo-main strong,
html[data-astodo-theme="dark"] .astodo-item-text,
html[data-astodo-theme="dark"] .astodo-list-info h1{
  color:#fff!important;
}
html[data-astodo-theme="dark"] .astodo-main p,
html[data-astodo-theme="dark"] .astodo-main small,
html[data-astodo-theme="dark"] .astodo-main label,
html[data-astodo-theme="dark"] .astodo-muted{
  color:#aeb8d2!important;
}
html[data-astodo-theme="light"] .astodo-main,
html[data-astodo-theme="light"] .astodo-sidebar,
html[data-astodo-theme="light"] .astodo-list-panel,
html[data-astodo-theme="light"] .astodo-my-lists,
html[data-astodo-theme="light"] .astodo-stat-card,
html[data-astodo-theme="light"] .astodo-item{
  color:#172033!important;
}
html[data-astodo-theme="light"] .astodo-main h1,
html[data-astodo-theme="light"] .astodo-main h2,
html[data-astodo-theme="light"] .astodo-main h3,
html[data-astodo-theme="light"] .astodo-main strong,
html[data-astodo-theme="light"] .astodo-item-text,
html[data-astodo-theme="light"] .astodo-list-info h1{
  color:#11182a!important;
}
html[data-astodo-theme="light"] .astodo-main p,
html[data-astodo-theme="light"] .astodo-main small,
html[data-astodo-theme="light"] .astodo-main label,
html[data-astodo-theme="light"] .astodo-muted{
  color:#66708a!important;
}
html[data-astodo-theme="light"] .astodo-field,
html[data-astodo-theme="light"] .astodo-task-input{
  color:#11182a!important;
  background:#fff!important;
  border-color:rgba(68,73,125,.18)!important;
}
html[data-astodo-theme="dark"] .astodo-field,
html[data-astodo-theme="dark"] .astodo-task-input{
  color:#fff!important;
  background:#091124!important;
  border-color:rgba(147,158,220,.22)!important;
}


/* ===== Mobile navigation, return flow and add-task polish — v1.6.16 ===== */
@media (max-width:760px){
  /* Bottom nav must stay clickable above decorative layers. */
  .astodo-mobile-bottom-nav{
    z-index:2147483640!important;
    pointer-events:auto!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:8px 10px!important;
    gap:10px!important;
  }
  .astodo-mobile-bottom-nav:has(a:not(.astodo-nav-hidden)){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .astodo-mobile-bottom-nav button,
  .astodo-mobile-bottom-nav a{
    position:relative!important;
    z-index:2!important;
    pointer-events:auto!important;
    cursor:pointer!important;
    min-height:48px!important;
    gap:4px!important;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  .astodo-mobile-bottom-nav span{
    display:block!important;
    font-size:21px!important;
    line-height:1!important;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.16));
  }
  .astodo-mobile-bottom-nav small{
    font-size:10.5px!important;
    line-height:1.25!important;
    color:var(--astodo-text,#fff)!important;
  }

  /* Internal pages remain naturally scrollable and never inherit entry sizing. */
  html.astodo-internal-view,
  body.astodo-internal-view,
  body.astodo-internal-view #astodo-app,
  body.astodo-internal-view .astodo-app,
  body.astodo-internal-view .astodo-shell,
  body.astodo-internal-view .astodo-main,
  body.astodo-internal-view .astodo-content{
    min-height:auto!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.astodo-internal-view{
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
  }
  body.astodo-internal-view #astodo-app{
    padding-bottom:112px!important;
  }

  /* Add-task card: roomy input, compact but legible action. */
  .astodo-add-card{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:10px!important;
    padding:12px!important;
    border-radius:22px!important;
    align-items:center!important;
  }
  .astodo-add-card .astodo-add-icon{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:14px!important;
  }
  .astodo-add-card input{
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    padding:0 4px!important;
    font-size:15px!important;
    line-height:1.5!important;
  }
  .astodo-add-card .astodo-btn{
    grid-column:1 / -1!important;
    width:100%!important;
    min-height:42px!important;
    padding:7px 14px!important;
    border-radius:15px!important;
    justify-content:center!important;
    font-size:14px!important;
  }
  .astodo-add-card .astodo-btn svg{
    width:19px!important;
    height:19px!important;
  }

  /* Returning home must restore the uncluttered entry layout. */
  html:not(.astodo-internal-view) body.astodo-app-body,
  body.astodo-app-body:not(.astodo-internal-view){
    overflow:hidden!important;
  }
  html:not(.astodo-internal-view) #astodo-app,
  body.astodo-app-body:not(.astodo-internal-view) #astodo-app{
    padding-top:0!important;
    padding-bottom:0!important;
  }

  /* Copyright belongs only to the first screen. */
  html.astodo-internal-view .astodo-copyright,
  body.astodo-internal-view .astodo-copyright,
  body:has(.astodo-my-lists) .astodo-copyright,
  body:has(.astodo-shell) .astodo-copyright,
  body:has(.astodo-auth-screen) .astodo-copyright{
    display:none!important;
  }
}

html[data-astodo-theme="light"] .astodo-mobile-bottom-nav small{color:#172033!important}


/* ===== Workflow-first navigation, installed shortcuts and loader — v1.6.17 ===== */
.astodo-initial-loader{
  position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
  background:radial-gradient(circle at 50% 42%,rgba(111,92,255,.20),transparent 34%),var(--astodo-app-bg,#f4f7ff);
  color:var(--astodo-text,#101828);text-align:center;overflow:hidden
}
html[data-astodo-theme="dark"] .astodo-initial-loader{background:radial-gradient(circle at 50% 42%,rgba(111,92,255,.30),transparent 36%),#050914;color:#fff}
.astodo-loader-emblem{position:relative;width:88px;height:88px;display:grid;place-items:center;border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.24),rgba(111,92,255,.20));box-shadow:0 22px 70px rgba(74,61,190,.28),inset 0 1px 0 rgba(255,255,255,.45);backdrop-filter:blur(20px);animation:astodoLoaderFloat 2.8s ease-in-out infinite}
.astodo-loader-emblem .astodo-loader-image{width:68px;height:68px;object-fit:contain;border-radius:21px;filter:drop-shadow(0 12px 20px rgba(28,25,90,.28))}
.astodo-loader-orbit{position:absolute;width:148px;height:148px;border:1px solid rgba(111,92,255,.18);border-radius:50%;animation:astodoLoaderSpin 7s linear infinite}
.astodo-loader-orbit:before{content:"";position:absolute;inset:18px;border:1px dashed rgba(72,217,187,.24);border-radius:50%}
.astodo-loader-orbit i{position:absolute;width:10px;height:10px;border-radius:50%;background:#7868ff;box-shadow:0 0 18px currentColor}.astodo-loader-orbit i:nth-child(1){top:7px;left:50%}.astodo-loader-orbit i:nth-child(2){right:10px;bottom:31px;background:#48d9bb}.astodo-loader-orbit i:nth-child(3){left:8px;bottom:38px;background:#b56cff}
.astodo-loader-copy{display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;z-index:2}.astodo-loader-copy strong{font-size:24px;font-weight:950}.astodo-loader-copy small{font-size:13px;font-weight:650;color:var(--astodo-muted,#64748b)}html[data-astodo-theme="dark"] .astodo-loader-copy small{color:#bdc6dd}
.astodo-loader-dots{display:flex;gap:5px;margin-top:4px}.astodo-loader-dots b{width:6px;height:6px;border-radius:50%;background:#7467ff;animation:astodoLoaderDot 1.15s ease-in-out infinite}.astodo-loader-dots b:nth-child(2){animation-delay:.14s}.astodo-loader-dots b:nth-child(3){animation-delay:.28s}
@keyframes astodoLoaderFloat{50%{transform:translateY(-8px) scale(1.025)}}@keyframes astodoLoaderSpin{to{transform:rotate(360deg)}}@keyframes astodoLoaderDot{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}

/* Tasks appear before the composer. Desktop keeps a spacious composer at the end. */
.astodo-desktop-add-card{margin-top:24px}
.astodo-token-box{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;align-items:center!important;gap:8px!important}
.astodo-token-box code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.astodo-token-box .astodo-icon-button{width:42px!important;height:42px!important;border-radius:13px!important;background:rgba(111,92,255,.12)!important;color:#7568ff!important}

.astodo-installed-dock{position:fixed;z-index:2147482500;top:18px;left:50%;transform:translate(-50%,-18px) scale(.97);display:grid;grid-template-columns:repeat(4,minmax(70px,1fr));gap:6px;width:min(440px,calc(100vw - 32px));padding:7px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:rgba(24,28,55,.64);box-shadow:0 16px 50px rgba(4,8,24,.24),inset 0 1px 0 rgba(255,255,255,.20);backdrop-filter:blur(24px) saturate(1.3);opacity:0;visibility:hidden;pointer-events:none;transition:.35s cubic-bezier(.16,1,.3,1)}
.astodo-installed-dock.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0) scale(1)}
.astodo-installed-dock button{border:0;background:transparent;color:#fff;min-height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit;cursor:pointer;transition:.25s ease}.astodo-installed-dock button:hover{background:rgba(255,255,255,.10);transform:translateY(-2px)}.astodo-installed-dock span{font-size:17px}.astodo-installed-dock small{font-size:10px;font-weight:850}
html[data-astodo-theme="light"] .astodo-installed-dock{background:rgba(255,255,255,.72);border-color:rgba(82,70,180,.14);box-shadow:0 16px 45px rgba(56,46,120,.15),inset 0 1px 0 #fff}.astodo-is-standalone html[data-astodo-theme="light"] .astodo-installed-dock button,html[data-astodo-theme="light"] .astodo-installed-dock button{color:#172033}
.astodo-is-standalone .astodo-install-banner{display:none!important}

@media (max-width:700px){
  .astodo-desktop-add-card{display:none!important}
  .astodo-mobile-share{display:none!important}
  .astodo-mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:7px!important}
  .astodo-mobile-bottom-nav [data-nav-role]{display:none!important}
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="home"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="my-lists"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="add-item"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="share-list"]{display:flex!important}
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="home"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="my-lists"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="create-list"]{display:flex!important}
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav [data-nav-role="home"]{display:flex!important}
  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav{grid-template-columns:1fr!important;max-width:180px!important}
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav{display:none!important}
  .astodo-mobile-bottom-nav button,.astodo-mobile-bottom-nav a{min-height:50px!important;padding:5px 3px!important}
  .astodo-mobile-bottom-nav span{font-size:19px!important}.astodo-mobile-bottom-nav small{font-size:9.5px!important}
  .astodo-content{display:flex;flex-direction:column}.astodo-heading{order:1}.astodo-readonly-banner{order:2}.astodo-list-area{order:3}.astodo-desktop-add-card{order:4}
  .astodo-list-area{min-height:120px}
  .astodo-installed-dock{top:auto;bottom:max(16px,env(safe-area-inset-bottom));width:calc(100vw - 24px);grid-template-columns:repeat(4,1fr);border-radius:20px;transform:translate(-50%,18px) scale(.97)}.astodo-installed-dock.is-visible{transform:translate(-50%,0) scale(1)}
  html.astodo-internal-view .astodo-installed-dock,body.astodo-internal-view .astodo-installed-dock{top:12px;bottom:auto}
  html.astodo-modal-open .astodo-installed-dock,body.astodo-modal-open .astodo-installed-dock{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
}

@media (prefers-reduced-motion:reduce){.astodo-loader-emblem,.astodo-loader-orbit,.astodo-loader-dots b{animation:none!important}}


/* ===== Navigation and responsive workflow polish — v1.6.18 ===== */
/* The empty mobile top bar added no value before the task list. */
@media (max-width:700px){
  .astodo-shell .astodo-topbar{display:none!important}
  .astodo-shell .astodo-main{padding-top:0!important}
  .astodo-shell .astodo-content{padding-top:18px!important}

  /* The installed app keeps creator/service shortcuts at the top on every screen. */
  html.astodo-is-standalone .astodo-installed-dock,
  body.astodo-is-standalone .astodo-installed-dock,
  html.astodo-is-standalone.astodo-internal-view .astodo-installed-dock,
  body.astodo-is-standalone.astodo-internal-view .astodo-installed-dock{
    top:max(10px,env(safe-area-inset-top))!important;
    bottom:auto!important;
    width:calc(100vw - 24px)!important;
    transform:translate(-50%,-14px) scale(.97)!important;
  }
  html.astodo-is-standalone .astodo-installed-dock.is-visible,
  body.astodo-is-standalone .astodo-installed-dock.is-visible{
    transform:translate(-50%,0) scale(1)!important;
  }
  html.astodo-is-standalone body.astodo-app-body #astodo-app,
  body.astodo-is-standalone #astodo-app{padding-top:78px!important}

  /* Browser/PWA installer sits at the top so the useful bottom navigation is free. */
  html:not(.astodo-is-standalone) .astodo-install-banner,
  body:not(.astodo-is-standalone) .astodo-install-banner,
  html:not(.astodo-is-standalone).astodo-internal-view .astodo-install-banner,
  body:not(.astodo-is-standalone).astodo-internal-view .astodo-install-banner{
    top:max(10px,env(safe-area-inset-top))!important;
    bottom:auto!important;
    left:50%!important;
    right:auto!important;
    transform:translate(-50%,-18px) scale(.98)!important;
  }
  html:not(.astodo-is-standalone) .astodo-install-banner.is-visible,
  body:not(.astodo-is-standalone) .astodo-install-banner.is-visible{
    transform:translate(-50%,0) scale(1)!important;
  }
  html:not(.astodo-is-standalone) body.astodo-app-body:has(.astodo-install-banner.is-visible) #astodo-app,
  body:not(.astodo-is-standalone):has(.astodo-install-banner.is-visible) #astodo-app{padding-top:68px!important}

  /* The nav is a real app bar on every mobile screen. */
  .astodo-mobile-bottom-nav{display:grid!important;z-index:2147482700!important}
  .astodo-mobile-bottom-nav [data-nav-role]{display:none!important}

  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav [data-nav-role="open-list"],
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav [data-nav-role="create-list"],
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav [data-nav-role="login"]{display:flex!important}
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html[data-astodo-nav-mode="entry"] body.astodo-authenticated .astodo-mobile-bottom-nav [data-nav-role="login"]{display:none!important}
  html[data-astodo-nav-mode="entry"] body.astodo-authenticated .astodo-mobile-bottom-nav [data-nav-role="my-lists"]{display:flex!important}

  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="home"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="my-lists"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="add-item"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav [data-nav-role="share-list"]{display:flex!important}
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}

  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="home"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="create-list"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="logout"]{display:flex!important}
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav [data-nav-role="home"]{display:flex!important}
  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav{grid-template-columns:1fr!important;max-width:190px!important}

  /* Header actions are desktop controls; mobile uses the nav bar. */
  .astodo-my-lists-head-actions{display:none!important}

  /* Main content always clears the bottom bar. */
  body.astodo-app-body #astodo-app{padding-bottom:104px!important}
  .astodo-entry-screen,.astodo-auth-screen,.astodo-shell,.astodo-my-lists{scroll-padding-bottom:112px}
}

/* Desktop keeps a refined, non-obstructive action layout. */
@media (min-width:701px){
  .astodo-installed-dock{top:18px!important}
  .astodo-install-banner{top:18px!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translate(-50%,-16px) scale(.98)!important}
  .astodo-install-banner.is-visible{transform:translate(-50%,0) scale(1)!important}
  .astodo-my-lists-head-actions{display:flex;gap:10px;flex-wrap:wrap}
}


/* ===== Final navigation, standalone and loader polish — v1.6.19 ===== */
/* Credit belongs inside the About dialog only. */
.astodo-copyright{display:none!important}
.astodo-about-credit{
  display:flex;align-items:center;justify-content:center;gap:6px;
  margin-top:2px;padding:12px 14px;border:1px solid var(--astodo-border);
  border-radius:15px;background:color-mix(in srgb,var(--astodo-surface-2) 82%,transparent);
  color:var(--astodo-muted);font-size:11px;font-weight:750;text-align:center
}
.astodo-about-credit span{color:#ff4f87;font-size:17px;line-height:1;filter:drop-shadow(0 4px 10px rgba(255,79,135,.25))}
.astodo-about-credit a{color:#7771ff;text-decoration:none;font-weight:950}
html[data-astodo-theme="dark"] .astodo-about-credit{color:#d9deeb;background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.10)}
html[data-astodo-theme="dark"] .astodo-about-credit a{color:#b9b6ff}

/* Loading copy must stay strongly readable in both themes. */
.astodo-initial-loader,.astodo-screen-loader{color:var(--astodo-text)!important}
.astodo-loader-copy{
  padding:14px 17px!important;border:1px solid var(--astodo-border)!important;border-radius:18px!important;
  background:color-mix(in srgb,var(--astodo-surface) 90%,transparent)!important;
  box-shadow:0 18px 48px rgba(37,34,100,.13)!important;
  backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)
}
.astodo-loader-copy strong,.astodo-initial-loader strong,.astodo-screen-loader strong{color:#151b2d!important;text-shadow:none!important;opacity:1!important}
.astodo-loader-copy small,.astodo-initial-loader small,.astodo-screen-loader small{color:#5f687d!important;opacity:1!important;font-weight:650!important}
html[data-astodo-theme="dark"] .astodo-loader-copy{
  background:rgba(10,17,36,.88)!important;border-color:rgba(150,150,255,.18)!important;
  box-shadow:0 20px 60px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.05)!important
}
html[data-astodo-theme="dark"] .astodo-loader-copy strong,
html[data-astodo-theme="dark"] .astodo-initial-loader strong,
html[data-astodo-theme="dark"] .astodo-screen-loader strong{color:#fff!important}
html[data-astodo-theme="dark"] .astodo-loader-copy small,
html[data-astodo-theme="dark"] .astodo-initial-loader small,
html[data-astodo-theme="dark"] .astodo-screen-loader small{color:#c4cbe0!important}

@media (max-width:700px){
  /* Keep every possible four-item nav in one clean row, including admin accounts. */
  .astodo-mobile-bottom-nav{
    display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;
    grid-template-columns:none!important;align-items:stretch!important;gap:3px!important;
    flex-wrap:nowrap!important;overflow:hidden!important;padding:7px!important
  }
  .astodo-mobile-bottom-nav button,.astodo-mobile-bottom-nav a{
    min-width:0!important;width:100%!important;white-space:nowrap!important;overflow:hidden!important;
    padding:5px 2px!important;gap:2px!important
  }
  .astodo-mobile-bottom-nav small{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important}
  .astodo-mobile-bottom-nav span{font-size:18px!important;line-height:1!important}

  /* Explicit per-view column counts override old rules and prevent wrapping. */
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important}
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important}
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important}
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav [data-nav-role="admin"]{display:none!important}
  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav{grid-template-columns:1fr!important;grid-auto-flow:row!important}

  /* In installed mode the creator shortcuts exist only in the top dock, not again in the page body. */
  html.astodo-is-standalone[data-astodo-nav-mode="entry"] .astodo-entry-screen .astodo-about-links,
  body.astodo-is-standalone[data-astodo-nav-mode="entry"] .astodo-entry-screen .astodo-about-links{display:none!important}

  /* Top installed dock is always one row and never falls back to the old bottom position. */
  html.astodo-is-standalone .astodo-installed-dock,
  body.astodo-is-standalone .astodo-installed-dock,
  html.astodo-is-standalone.astodo-internal-view .astodo-installed-dock,
  body.astodo-is-standalone.astodo-internal-view .astodo-installed-dock{
    top:max(10px,env(safe-area-inset-top))!important;bottom:auto!important;
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:calc(100vw - 24px)!important;max-width:520px!important;gap:3px!important;
    padding:6px!important;border-radius:18px!important
  }
  .astodo-installed-dock button{min-width:0!important;padding:5px 2px!important;gap:2px!important;white-space:nowrap!important;overflow:hidden!important}
  .astodo-installed-dock small{font-size:8.8px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .astodo-installed-dock span{font-size:16px!important}
}


/* ===== Mobile nav, page-transition loader and list progress — v1.6.20 ===== */
@media (max-width:700px){
  /* Reset every item first, then reveal only the exact actions for each screen. */
  .astodo-mobile-bottom-nav > [data-nav-role]{display:none!important;grid-row:1!important;min-width:0!important}

  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav > [data-nav-role="open-list"],
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav > [data-nav-role="create-list"],
  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav > [data-nav-role="login"]{display:flex!important}
  html[data-astodo-nav-mode="entry"] body.astodo-authenticated .astodo-mobile-bottom-nav > [data-nav-role="login"]{display:none!important}
  html[data-astodo-nav-mode="entry"] body.astodo-authenticated .astodo-mobile-bottom-nav > [data-nav-role="my-lists"]{display:flex!important}

  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="home"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="my-lists"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="add-item"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="share-list"]{display:flex!important}

  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav > [data-nav-role="home"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav > [data-nav-role="create-list"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav > [data-nav-role="logout"]{display:flex!important}
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav > [data-nav-role="my-lists"],
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav > [data-nav-role="admin"]{display:none!important}

  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav > [data-nav-role="home"]{display:flex!important}

  html[data-astodo-nav-mode="entry"] .astodo-mobile-bottom-nav,
  html[data-astodo-nav-mode="my-lists"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:1fr!important;grid-auto-flow:row!important}
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:1fr!important;grid-auto-flow:row!important}
  html[data-astodo-nav-mode="auth"] .astodo-mobile-bottom-nav{grid-template-columns:1fr!important;grid-template-rows:1fr!important}

  .astodo-mobile-bottom-nav{height:auto!important;min-height:72px!important;max-height:88px!important;overflow:hidden!important}
  .astodo-mobile-bottom-nav > button,.astodo-mobile-bottom-nav > a{align-self:stretch!important;justify-content:center!important}
}

.astodo-screen-loader{
  min-height:clamp(260px,52vh,520px)!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:20px!important;text-align:center!important
}
.astodo-screen-pulse{position:relative;width:112px;height:66px;display:flex;align-items:center;justify-content:center;gap:9px}
.astodo-screen-pulse i{display:block;width:13px;height:13px;border-radius:999px;background:linear-gradient(145deg,#8174ff,#5d4df2);box-shadow:0 0 0 0 rgba(111,92,255,.30),0 8px 22px rgba(69,55,194,.28);animation:astodoLiveCircle 1.15s cubic-bezier(.45,.05,.55,.95) infinite}
.astodo-screen-pulse i:nth-child(2){background:linear-gradient(145deg,#57e5c3,#22b99a);animation-delay:.10s}
.astodo-screen-pulse i:nth-child(3){background:linear-gradient(145deg,#c579ff,#8b4ce9);animation-delay:.20s}
.astodo-screen-pulse i:nth-child(4){background:linear-gradient(145deg,#72a8ff,#4a77ef);animation-delay:.30s}
.astodo-screen-pulse i:nth-child(5){background:linear-gradient(145deg,#ff83bd,#e75298);animation-delay:.40s}
.astodo-screen-loader > div:last-child{padding:14px 18px;border:1px solid var(--astodo-border);border-radius:18px;background:color-mix(in srgb,var(--astodo-surface) 90%,transparent);box-shadow:0 16px 42px rgba(52,45,136,.13);backdrop-filter:blur(16px)}
.astodo-screen-loader strong{display:block;margin-bottom:4px;color:#151b2d!important;font-size:17px!important;font-weight:950!important}
.astodo-screen-loader small{color:#626d82!important;font-size:12px!important;font-weight:650!important}
html[data-astodo-theme="dark"] .astodo-screen-loader > div:last-child{background:rgba(10,17,36,.86);border-color:rgba(151,151,255,.16);box-shadow:0 20px 54px rgba(0,0,0,.32)}
html[data-astodo-theme="dark"] .astodo-screen-loader strong{color:#fff!important}
html[data-astodo-theme="dark"] .astodo-screen-loader small{color:#c2c9dc!important}
@keyframes astodoLiveCircle{0%,100%{transform:translateY(0) scale(.78);opacity:.48;box-shadow:0 0 0 0 rgba(111,92,255,.12)}50%{transform:translateY(-13px) scale(1.16);opacity:1;box-shadow:0 0 0 8px rgba(111,92,255,.06),0 14px 28px rgba(69,55,194,.30)}}

.astodo-card-progress{display:block;margin-top:13px;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--astodo-border) 78%,transparent)}
.astodo-card-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.astodo-card-progress-meta small{margin:0!important;color:var(--astodo-muted)!important;font-size:11px!important;font-weight:700!important}
.astodo-card-progress-meta b{color:#7066ff;font-size:12px;font-weight:950;direction:ltr}
.astodo-card-progress-track{position:relative;display:block;width:100%;height:8px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--astodo-border) 48%,transparent);box-shadow:inset 0 1px 3px rgba(24,28,55,.10)}
.astodo-card-progress-track i{position:absolute;inset:0 auto 0 0;display:block;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#7466ff,#8e72ff,#4eddb9,#7466ff);background-size:220% 100%;box-shadow:0 0 18px rgba(87,218,183,.28);animation:astodoCardProgressFlow 3.2s linear infinite;transition:width .75s cubic-bezier(.16,1,.3,1)}
.astodo-card-progress-track i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);transform:translateX(-120%);animation:astodoCardProgressShine 2.4s ease-in-out infinite}
html[data-astodo-theme="dark"] .astodo-card-progress-meta small{color:#bfc7db!important}
html[data-astodo-theme="dark"] .astodo-card-progress-meta b{color:#b6afff}
html[data-astodo-theme="dark"] .astodo-card-progress-track{background:rgba(255,255,255,.075)}
@keyframes astodoCardProgressFlow{to{background-position:220% 0}}
@keyframes astodoCardProgressShine{0%,45%{transform:translateX(-120%);opacity:0}60%{opacity:1}85%,100%{transform:translateX(160%);opacity:0}}

@media (prefers-reduced-motion:reduce){.astodo-screen-pulse i,.astodo-card-progress-track i,.astodo-card-progress-track i::after{animation:none!important}}

/* Share controls for owned lists - v1.6.21 */
.astodo-my-list-card {
  position: relative;
  overflow: hidden;
}
.astodo-my-list-card-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.astodo-my-list-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(104, 93, 255, .25);
  border-radius: 13px;
  color: #5548dc;
  background: linear-gradient(135deg, rgba(111, 92, 255, .10), rgba(69, 211, 181, .08));
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.astodo-my-list-share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.astodo-my-list-share:hover { transform: translateY(-2px); border-color: rgba(104, 93, 255, .46); box-shadow: 0 10px 25px rgba(78, 65, 202, .14); }
html[data-astodo-theme="dark"] .astodo-my-list-share {
  color: #c6c2ff;
  border-color: rgba(137, 126, 255, .28);
  background: linear-gradient(135deg, rgba(112, 94, 255, .15), rgba(55, 209, 176, .08));
}
.astodo-share-detail { display: grid; gap: 8px; margin-top: 14px; }
.astodo-share-detail > label { font-size: 13px; font-weight: 800; color: var(--astodo-text, #172036); }
html[data-astodo-theme="dark"] .astodo-share-detail > label { color: #f7f8ff; }
.astodo-share-value { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; align-items: stretch; direction: ltr; }
.astodo-share-value .astodo-field { min-width: 0; text-align: left; direction: ltr; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.astodo-share-copy { width: 48px; height: auto; min-height: 48px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #7668ff, #5545df); border-color: transparent; }
.astodo-share-copy:hover { transform: translateY(-2px) scale(1.02); }
@media (max-width: 760px) {
  .astodo-my-list-share { min-height: 40px; margin-top: 6px; border-radius: 12px; }
  .astodo-share-value { grid-template-columns: minmax(0, 1fr) 46px; }
  .astodo-share-copy { width: 46px; min-height: 46px; }
}


/* ===== Premium notification system — v1.6.22 ===== */
.astodo-toast-stack{
  position:fixed!important;
  top:max(18px,env(safe-area-inset-top))!important;
  right:50%!important;
  left:auto!important;
  bottom:auto!important;
  z-index:2147483646!important;
  width:min(410px,calc(100vw - 28px))!important;
  display:block!important;
  transform:translateX(50%)!important;
  pointer-events:none!important;
}
.astodo-toast{
  --astodo-toast-accent:#7a68ff;
  --astodo-toast-accent-2:#a979ff;
  position:relative!important;
  isolation:isolate;
  width:100%!important;
  min-height:72px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 30px!important;
  align-items:center!important;
  gap:12px!important;
  overflow:hidden!important;
  padding:12px 13px 14px!important;
  color:#f8faff!important;
  background:linear-gradient(145deg,rgba(18,26,48,.96),rgba(10,16,34,.96))!important;
  border:1px solid rgba(163,151,255,.22)!important;
  border-radius:22px!important;
  box-shadow:0 22px 65px rgba(2,7,20,.38),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.45)!important;
  backdrop-filter:blur(26px) saturate(1.45)!important;
  opacity:0!important;
  transform:translateY(-20px) scale(.94)!important;
  filter:blur(5px);
  transition:opacity .34s cubic-bezier(.16,1,.3,1),transform .46s cubic-bezier(.16,1,.3,1),filter .34s ease!important;
  animation:none!important;
  pointer-events:auto!important;
}
.astodo-toast::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:radial-gradient(circle at 92% 0,rgba(130,109,255,.20),transparent 42%);
  pointer-events:none;
}
.astodo-toast.is-visible{opacity:1!important;transform:translateY(0) scale(1)!important;filter:none!important}
.astodo-toast.is-leaving{opacity:0!important;transform:translateY(-14px) scale(.96)!important;filter:blur(4px)!important}
.astodo-toast.is-bumped{animation:astodoToastBump .24s ease!important}
@keyframes astodoToastBump{50%{transform:translateY(0) scale(1.025)}}
.astodo-toast-icon{
  width:44px!important;height:44px!important;display:grid!important;place-items:center!important;
  border-radius:15px!important;
  color:#fff!important;
  background:linear-gradient(145deg,var(--astodo-toast-accent-2),var(--astodo-toast-accent))!important;
  box-shadow:0 12px 28px color-mix(in srgb,var(--astodo-toast-accent) 35%,transparent),inset 0 1px 0 rgba(255,255,255,.32)!important;
}
.astodo-toast-icon::before{content:"i"!important;color:#fff!important;font-size:19px!important;font-weight:950!important;line-height:1!important}
.astodo-toast-content{min-width:0;display:flex;flex-direction:column;gap:2px;text-align:right}
.astodo-toast-title{color:#fff!important;font-size:12.5px!important;font-weight:950!important;line-height:1.5!important}
.astodo-toast-message{color:rgba(239,243,255,.78)!important;font-size:11.5px!important;font-weight:650!important;line-height:1.7!important;text-align:right!important;overflow-wrap:anywhere}
.astodo-toast-close{
  width:30px!important;height:30px!important;display:grid!important;place-items:center!important;padding:0!important;
  color:rgba(255,255,255,.66)!important;background:rgba(255,255,255,.06)!important;
  border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important;cursor:pointer!important;
  font:700 20px/1 Arial,sans-serif!important;transition:.25s ease!important;
}
.astodo-toast-close:hover{color:#fff!important;background:rgba(255,255,255,.12)!important;transform:rotate(90deg)}
.astodo-toast-progress{
  position:absolute;right:0;bottom:0;height:3px;width:100%;transform-origin:right center;
  background:linear-gradient(90deg,var(--astodo-toast-accent),var(--astodo-toast-accent-2));
  box-shadow:0 0 16px var(--astodo-toast-accent);
  animation:astodoToastProgress 3.6s linear forwards;
}
.astodo-toast.is-error .astodo-toast-progress{animation-duration:5.2s}
@keyframes astodoToastProgress{to{transform:scaleX(0)}}
.astodo-toast.is-success{--astodo-toast-accent:#19b889;--astodo-toast-accent-2:#6ce4ba}
.astodo-toast.is-success .astodo-toast-icon::before{content:"✓"!important}
.astodo-toast.is-error{--astodo-toast-accent:#d33f68;--astodo-toast-accent-2:#ff789a}
.astodo-toast.is-error .astodo-toast-icon::before{content:"!"!important}
.astodo-toast.is-warning{--astodo-toast-accent:#dc8f18;--astodo-toast-accent-2:#ffc45e}
.astodo-toast.is-warning .astodo-toast-icon::before{content:"!"!important}
html[data-astodo-theme="light"] .astodo-toast{
  color:#172039!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,246,255,.97))!important;
  border-color:rgba(92,78,205,.16)!important;
  box-shadow:0 20px 60px rgba(61,67,111,.20),inset 0 1px 0 #fff!important;
}
html[data-astodo-theme="light"] .astodo-toast-title{color:#11192c!important}
html[data-astodo-theme="light"] .astodo-toast-message{color:#68718a!important}
html[data-astodo-theme="light"] .astodo-toast-close{color:#5d6680!important;background:rgba(37,48,82,.05)!important;border-color:rgba(37,48,82,.08)!important}
@media(max-width:700px){
  .astodo-toast-stack{top:max(10px,env(safe-area-inset-top))!important;width:calc(100vw - 20px)!important}
  .astodo-toast{min-height:66px!important;grid-template-columns:40px minmax(0,1fr) 28px!important;gap:10px!important;padding:10px 11px 13px!important;border-radius:19px!important}
  .astodo-toast-icon{width:40px!important;height:40px!important;border-radius:13px!important}
  .astodo-toast-title{font-size:12px!important}.astodo-toast-message{font-size:11px!important;line-height:1.65!important}
  .astodo-toast-close{width:28px!important;height:28px!important;border-radius:9px!important}
}
@media(prefers-reduced-motion:reduce){.astodo-toast-progress{animation:none!important}.astodo-toast{transition-duration:.01ms!important}}

/* ===== Ultra-compact premium notifications — v1.6.23 ===== */
.astodo-toast-stack{
  top:max(8px,env(safe-area-inset-top))!important;
  width:min(300px,calc(100vw - 24px))!important;
}
.astodo-toast{
  min-height:42px!important;
  grid-template-columns:26px minmax(0,1fr) 20px!important;
  gap:8px!important;
  padding:7px 8px 8px!important;
  border-radius:14px!important;
  box-shadow:0 10px 30px rgba(2,7,20,.24),inset 0 1px 0 rgba(255,255,255,.10)!important;
  transform:translateY(-10px) scale(.97)!important;
  filter:blur(2px)!important;
}
.astodo-toast.is-visible{transform:translateY(0) scale(1)!important;filter:none!important}
.astodo-toast.is-leaving{transform:translateY(-8px) scale(.98)!important;filter:blur(2px)!important}
.astodo-toast-icon{
  width:26px!important;
  height:26px!important;
  border-radius:9px!important;
  box-shadow:0 6px 16px color-mix(in srgb,var(--astodo-toast-accent) 30%,transparent),inset 0 1px 0 rgba(255,255,255,.28)!important;
}
.astodo-toast-icon::before{font-size:13px!important}
.astodo-toast-content{gap:0!important}
.astodo-toast-title{display:none!important}
.astodo-toast-message{
  font-size:10.5px!important;
  font-weight:750!important;
  line-height:1.45!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.astodo-toast-close{
  width:20px!important;
  height:20px!important;
  border-radius:7px!important;
  font-size:15px!important;
  background:transparent!important;
  border-color:transparent!important;
}
.astodo-toast-progress{height:2px!important}
@media(max-width:700px){
  .astodo-toast-stack{
    top:max(6px,env(safe-area-inset-top))!important;
    width:min(286px,calc(100vw - 22px))!important;
  }
  .astodo-toast{
    min-height:40px!important;
    grid-template-columns:24px minmax(0,1fr) 18px!important;
    gap:7px!important;
    padding:6px 7px 7px!important;
    border-radius:13px!important;
  }
  .astodo-toast-icon{width:24px!important;height:24px!important;border-radius:8px!important}
  .astodo-toast-message{font-size:10px!important;line-height:1.4!important}
  .astodo-toast-close{width:18px!important;height:18px!important;font-size:14px!important}
}

/* ===== Desktop navigation, overflow, dates & share polish — v1.6.24 ===== */
html, body.astodo-app-body, #astodo-app, .astodo-app, .astodo-shell, .astodo-main, .astodo-content {
  max-width: 100% !important;
  overflow-x: hidden !important;
}
body.astodo-app-body, body.astodo-app-body button, body.astodo-app-body input,
body.astodo-app-body textarea, body.astodo-app-body select, body.astodo-app-body a {
  font-family: "Vazirmatn", Tahoma, sans-serif !important;
}
.astodo-desktop-nav { display:none; }
.astodo-list-created-panel {
  display:flex; flex-direction:column; gap:5px; padding:13px 15px; border-radius:17px;
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.09);
}
.astodo-list-created-panel span { font-size:10px; color:#9ba7c0; font-weight:700; }
.astodo-list-created-panel strong { font-size:11px; line-height:1.8; color:#f7f8ff; font-weight:800; }
.astodo-list-created { display:block; margin-top:7px; font-family:"Vazirmatn",Tahoma,sans-serif!important; font-size:10.5px!important; line-height:1.8; color:#8f99b1!important; direction:rtl; text-align:right; }
html[data-astodo-theme="light"] .astodo-list-created-panel { background:rgba(91,92,240,.055); border-color:rgba(91,92,240,.12); }
html[data-astodo-theme="light"] .astodo-list-created-panel span { color:#758097; }
html[data-astodo-theme="light"] .astodo-list-created-panel strong { color:#20283b; }
.astodo-add-card, .astodo-desktop-add-card { border-radius:24px!important; overflow:hidden!important; }
.astodo-add-card input, .astodo-desktop-add-card input, .astodo-modal input.astodo-field,
.astodo-modal textarea.astodo-field { color:#172033!important; -webkit-text-fill-color:#172033!important; caret-color:#675cff!important; }
html[data-astodo-theme="dark"] .astodo-add-card input,
html[data-astodo-theme="dark"] .astodo-desktop-add-card input,
html[data-astodo-theme="dark"] .astodo-modal input.astodo-field,
html[data-astodo-theme="dark"] .astodo-modal textarea.astodo-field { color:#fff!important; -webkit-text-fill-color:#fff!important; caret-color:#8d84ff!important; }
.astodo-share-modal h3, .astodo-share-detail > label, .astodo-share-detail label { color:#fff!important; }

@media (min-width: 901px) {
  body.astodo-app-body { padding-bottom:94px!important; }
  .astodo-global-tools { display:none!important; }
  .astodo-desktop-nav {
    position:fixed; z-index:2147482500; left:50%; bottom:18px; transform:translateX(-50%);
    display:grid; grid-auto-flow:column; grid-auto-columns:minmax(82px,auto); align-items:center; gap:7px;
    padding:8px; max-width:calc(100vw - 32px); overflow:hidden; direction:rtl;
    background:rgba(10,17,36,.86); border:1px solid rgba(158,164,255,.22); border-radius:24px;
    box-shadow:0 20px 55px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
  }
  html[data-astodo-theme="light"] .astodo-desktop-nav { background:rgba(255,255,255,.88); border-color:rgba(75,69,170,.16); box-shadow:0 18px 50px rgba(55,47,120,.16),inset 0 1px 0 #fff; }
  .astodo-desktop-nav button {
    min-width:0; min-height:58px; padding:7px 12px; border:0!important; border-radius:17px; cursor:pointer;
    display:none; flex-direction:column; align-items:center; justify-content:center; gap:3px;
    color:#e9edff; background:transparent; transition:.22s ease;
  }
  html[data-astodo-theme="light"] .astodo-desktop-nav button { color:#222a3e; }
  .astodo-desktop-nav button:hover { background:rgba(111,92,255,.14); transform:translateY(-2px); }
  .astodo-desktop-nav button > span { font-size:18px; line-height:1; }
  .astodo-desktop-nav button > small { font-size:10px; font-weight:800; white-space:nowrap; }
  .astodo-desktop-nav .astodo-theme-icon { width:18px;height:18px; }
  .astodo-desktop-nav .astodo-theme-icon::before { font-size:18px; }
  html[data-astodo-nav-mode="entry"] .astodo-desktop-nav [data-desktop-role="home"],
  html[data-astodo-nav-mode="entry"] .astodo-desktop-nav [data-desktop-role="my-lists"],
  html[data-astodo-nav-mode="entry"] .astodo-desktop-nav [data-desktop-role="create-list"],
  html[data-astodo-nav-mode="entry"] .astodo-desktop-nav [data-desktop-role="theme"],
  html[data-astodo-nav-mode="list"] .astodo-desktop-nav [data-desktop-role="home"],
  html[data-astodo-nav-mode="list"] .astodo-desktop-nav [data-desktop-role="my-lists"],
  html[data-astodo-nav-mode="list"] .astodo-desktop-nav [data-desktop-role="add-item"],
  html[data-astodo-nav-mode="list"] .astodo-desktop-nav [data-desktop-role="share-list"],
  html[data-astodo-nav-mode="list"] .astodo-desktop-nav [data-desktop-role="refresh-list"],
  html[data-astodo-nav-mode="list"] .astodo-desktop-nav [data-desktop-role="theme"],
  html[data-astodo-nav-mode="my-lists"] .astodo-desktop-nav [data-desktop-role="home"],
  html[data-astodo-nav-mode="my-lists"] .astodo-desktop-nav [data-desktop-role="create-list"],
  html[data-astodo-nav-mode="my-lists"] .astodo-desktop-nav [data-desktop-role="theme"],
  html[data-astodo-nav-mode="my-lists"] .astodo-desktop-nav [data-desktop-role="logout"],
  html[data-astodo-nav-mode="auth"] .astodo-desktop-nav [data-desktop-role="home"],
  html[data-astodo-nav-mode="auth"] .astodo-desktop-nav [data-desktop-role="theme"] { display:flex!important; }
  .astodo-top-actions [data-action="manual-refresh"], .astodo-top-actions .astodo-mobile-share { display:none!important; }
  .astodo-shell { width:100%!important; min-width:0!important; }
  .astodo-sidebar { border-radius:0 0 30px 0!important; overflow:hidden!important; }
  .astodo-main { min-width:0!important; }
  .astodo-content { min-width:0!important; }
}

@media (max-width: 900px) {
  .astodo-desktop-nav { display:none!important; }
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav { grid-template-columns:repeat(4,minmax(0,1fr))!important; grid-template-rows:1fr!important; }
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="home"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="my-lists"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="add-item"],
  html[data-astodo-nav-mode="list"] .astodo-mobile-bottom-nav > [data-nav-role="share-list"] { display:flex!important; grid-row:1!important; }
  .astodo-mobile-bottom-nav [data-nav-role="share-list"] small { color:#fff!important; }
}


/* ===== Modal focus isolation — v1.6.25 ===== */
html.astodo-modal-open .astodo-desktop-nav,
body.astodo-modal-open .astodo-desktop-nav,
html.astodo-modal-open .astodo-mobile-bottom-nav,
body.astodo-modal-open .astodo-mobile-bottom-nav {
  z-index: 1 !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  filter: saturate(.7) brightness(.72) !important;
  transition: opacity .22s ease, filter .22s ease, transform .22s ease !important;
}

html.astodo-modal-open .astodo-desktop-nav,
body.astodo-modal-open .astodo-desktop-nav {
  opacity: .34 !important;
  transform: translateX(-50%) translateY(10px) scale(.985) !important;
}

html.astodo-modal-open .astodo-mobile-bottom-nav,
body.astodo-modal-open .astodo-mobile-bottom-nav {
  opacity: .28 !important;
  transform: translateY(10px) scale(.985) !important;
}

html.astodo-modal-open .astodo-desktop-nav *,
body.astodo-modal-open .astodo-desktop-nav *,
html.astodo-modal-open .astodo-mobile-bottom-nav *,
body.astodo-modal-open .astodo-mobile-bottom-nav * {
  pointer-events: none !important;
}

.astodo-modal-backdrop {
  z-index: 2147483600 !important;
  isolation: isolate;
}

/* ===== Guest expiry ownership flow — v1.6.26 ===== */
.astodo-guest-warning{
  display:flex;align-items:flex-start;gap:11px;margin:0 0 16px;padding:13px 14px;
  border:1px solid rgba(239,68,68,.25);border-radius:16px;
  background:linear-gradient(135deg,rgba(254,226,226,.92),rgba(255,247,237,.92));
  color:#7f1d1d;box-shadow:0 10px 28px rgba(185,28,28,.08)
}
.astodo-guest-warning>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:11px;background:#fff;color:#dc2626;box-shadow:0 7px 18px rgba(185,28,28,.10);font-size:17px}
.astodo-guest-warning strong{display:block;margin:0 0 3px;font-size:13px;font-weight:950;line-height:1.7}
.astodo-guest-warning p{margin:0;color:#991b1b;font-size:11.5px;font-weight:650;line-height:1.9}
html[data-astodo-theme="dark"] .astodo-guest-warning{background:linear-gradient(135deg,rgba(90,24,35,.88),rgba(70,31,28,.88));border-color:rgba(251,113,133,.28);color:#fecdd3}
html[data-astodo-theme="dark"] .astodo-guest-warning>span{background:rgba(255,255,255,.08);color:#fda4af;box-shadow:none}
html[data-astodo-theme="dark"] .astodo-guest-warning p{color:#fda4af}

.astodo-claim-benefit{display:flex;align-items:center;gap:12px;margin:0 0 17px;padding:13px 14px;border:1px solid rgba(99,102,241,.18);border-radius:16px;background:linear-gradient(135deg,rgba(238,242,255,.92),rgba(245,243,255,.92))}
.astodo-claim-benefit>span{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:13px;background:linear-gradient(145deg,#7367f0,#5b5cf0);color:#fff;font-size:22px;font-weight:900;box-shadow:0 9px 22px rgba(91,92,240,.25)}
.astodo-claim-benefit strong,.astodo-claim-benefit small{display:block}.astodo-claim-benefit strong{font-size:13px;font-weight:950;color:#312e81}.astodo-claim-benefit small{margin-top:3px;font-size:11px;color:#6366a8;font-weight:650}
html[data-astodo-theme="dark"] .astodo-claim-benefit{background:rgba(99,102,241,.11);border-color:rgba(139,124,255,.20)}
html[data-astodo-theme="dark"] .astodo-claim-benefit strong{color:#e0e7ff}html[data-astodo-theme="dark"] .astodo-claim-benefit small{color:#aeb8d9}

.astodo-expiry-card{position:relative;overflow:hidden;margin:14px 0;padding:15px;border:1px solid rgba(245,158,11,.22);border-radius:18px;background:linear-gradient(145deg,rgba(255,251,235,.96),rgba(255,247,237,.94));box-shadow:0 12px 32px rgba(180,83,9,.08)}
.astodo-expiry-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#f59e0b,#f97316)}
.astodo-expiry-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.astodo-expiry-head span{font-size:11.5px;font-weight:800;color:#92400e}.astodo-expiry-head strong{direction:ltr;font-variant-numeric:tabular-nums;font-size:19px;letter-spacing:1px;color:#7c2d12;font-weight:950}
.astodo-expiry-card p{margin:7px 0 11px;color:#9a5a25;font-size:10.5px;font-weight:650;line-height:1.8}
.astodo-expiry-claim{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:39px;padding:8px 11px;border:0;border-radius:12px;background:linear-gradient(135deg,#5b5cf0,#7c3aed);color:#fff!important;font:inherit;cursor:pointer;box-shadow:0 10px 24px rgba(91,92,240,.23);transition:transform .2s ease,box-shadow .2s ease}
.astodo-expiry-claim:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(91,92,240,.30)}.astodo-expiry-claim span{font-size:18px;line-height:1}.astodo-expiry-claim b{font-size:11.5px;font-weight:900;color:#fff!important}
.astodo-expiry-card.is-urgent{animation:astodoExpiryPulse 2.2s ease-in-out infinite}.astodo-expiry-card.is-expired{filter:saturate(.75);opacity:.82}
html[data-astodo-theme="dark"] .astodo-expiry-card{background:linear-gradient(145deg,rgba(66,44,18,.72),rgba(53,32,24,.78));border-color:rgba(251,191,36,.20);box-shadow:0 15px 36px rgba(0,0,0,.16)}
html[data-astodo-theme="dark"] .astodo-expiry-head span{color:#fcd34d}html[data-astodo-theme="dark"] .astodo-expiry-head strong{color:#fed7aa}html[data-astodo-theme="dark"] .astodo-expiry-card p{color:#d6ad72}
@keyframes astodoExpiryPulse{0%,100%{box-shadow:0 12px 32px rgba(180,83,9,.08)}50%{box-shadow:0 14px 38px rgba(239,68,68,.17)}}

@media(max-width:800px){
  .astodo-expiry-card{margin:12px 0;padding:13px;border-radius:16px}
  .astodo-expiry-head strong{font-size:18px}
  .astodo-expiry-claim{min-height:42px}
  .astodo-guest-warning{padding:12px;border-radius:15px}
}

/* ===== Guest list safe-exit guard — v1.6.29 ===== */
.astodo-guest-leave-alert{display:flex;align-items:flex-start;gap:12px;margin:0 0 15px;padding:14px;border:1px solid rgba(239,68,68,.25);border-radius:17px;background:linear-gradient(135deg,rgba(254,226,226,.96),rgba(255,247,237,.95));color:#7f1d1d}
.astodo-guest-leave-alert>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:12px;background:#ef4444;color:#fff;font-size:20px;font-weight:950;box-shadow:0 8px 20px rgba(239,68,68,.24)}
.astodo-guest-leave-alert strong{display:block;margin-bottom:4px;font-size:13px;font-weight:950;line-height:1.75}.astodo-guest-leave-alert p{margin:0;font-size:11.5px;font-weight:650;line-height:1.9;color:#991b1b}
.astodo-guest-leave-link{margin:0 0 15px}.astodo-guest-leave-link>small{display:block;margin:0 0 7px;font-size:11px;font-weight:850;color:var(--astodo-muted)}
.astodo-guest-leave-link>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid var(--astodo-border);border-radius:15px;background:rgba(127,127,160,.06)}
.astodo-guest-leave-link code{min-width:0;padding:7px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--astodo-text);font:700 12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}
.astodo-guest-leave-link button{display:flex;align-items:center;gap:6px;min-height:38px;padding:8px 11px;border:0;border-radius:11px;background:rgba(99,102,241,.13);color:var(--astodo-text);font:inherit;font-size:11px;font-weight:900;cursor:pointer}.astodo-guest-leave-link button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.astodo-guest-leave-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.astodo-guest-leave-actions .astodo-guest-leave-claim{grid-column:1/-1}.astodo-guest-leave-claim span:first-child{font-size:19px}.astodo-guest-leave-confirm{min-height:42px;border:1px solid rgba(239,68,68,.22);border-radius:13px;background:transparent;color:#dc2626;font:inherit;font-size:12px;font-weight:900;cursor:pointer}
html[data-astodo-theme="dark"] .astodo-guest-leave-alert{background:linear-gradient(135deg,rgba(83,24,34,.92),rgba(63,31,27,.92));border-color:rgba(251,113,133,.25);color:#fecdd3}html[data-astodo-theme="dark"] .astodo-guest-leave-alert p{color:#fda4af}html[data-astodo-theme="dark"] .astodo-guest-leave-confirm{color:#fda4af;border-color:rgba(251,113,133,.25)}
@media(max-width:600px){.astodo-guest-leave-alert{padding:12px;border-radius:15px}.astodo-guest-leave-actions{grid-template-columns:1fr}.astodo-guest-leave-actions .astodo-guest-leave-claim{grid-column:auto}.astodo-guest-leave-link>div{grid-template-columns:minmax(0,1fr) auto}.astodo-guest-leave-link button span{display:none}}

/* ===== Guest exit modal visual consistency — v1.6.30 ===== */
.astodo-modal .astodo-modal-head h3{
  color:var(--astodo-text)!important;
  font-weight:950!important;
  line-height:1.65!important;
}
.astodo-guest-leave-alert{
  color:#7f1d1d!important;
}
.astodo-guest-leave-alert strong{
  color:#7f1d1d!important;
}
.astodo-guest-leave-alert p{
  color:#991b1b!important;
}
.astodo-guest-leave-link>small{
  color:#5e6780!important;
}
.astodo-guest-leave-link>div{
  background:#f7f8fc!important;
  border-color:#dfe3ee!important;
}
.astodo-guest-leave-link code{
  color:#1f2937!important;
  -webkit-text-fill-color:#1f2937!important;
}
.astodo-guest-leave-link button{
  color:#4f46e5!important;
  background:rgba(79,70,229,.10)!important;
}
.astodo-guest-leave-link button:hover{
  background:rgba(79,70,229,.16)!important;
}
.astodo-guest-leave-actions .astodo-btn,
.astodo-guest-leave-confirm{
  min-height:46px!important;
  border-radius:14px!important;
  font-family:"Vazirmatn",Tahoma,sans-serif!important;
  font-size:12px!important;
  font-weight:900!important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
.astodo-guest-leave-confirm{
  border:0!important;
  background:linear-gradient(135deg,#ef4444,#dc2626)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(220,38,38,.22)!important;
}
.astodo-guest-leave-confirm:hover{
  transform:translateY(-2px)!important;
  filter:brightness(1.04)!important;
  box-shadow:0 14px 30px rgba(220,38,38,.30)!important;
}
.astodo-guest-leave-actions>.astodo-btn:not(.astodo-btn-primary){
  border:1px solid var(--astodo-border)!important;
  background:var(--astodo-surface-2)!important;
  color:var(--astodo-text)!important;
}
html[data-astodo-theme="dark"] .astodo-modal .astodo-modal-head h3{
  color:#f8faff!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-alert,
html[data-astodo-theme="dark"] .astodo-guest-leave-alert strong{
  color:#ffe4e6!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-alert p{
  color:#fecdd3!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-link>small{
  color:#aeb8d2!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-link>div{
  background:rgba(9,16,35,.72)!important;
  border-color:rgba(148,163,184,.20)!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-link code{
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-link button{
  color:#c7d2fe!important;
  background:rgba(99,102,241,.18)!important;
}
@media(max-width:600px){
  .astodo-guest-leave-alert{gap:10px!important;padding:12px!important}
  .astodo-guest-leave-alert>span{flex-basis:32px!important;height:32px!important;border-radius:10px!important;font-size:17px!important}
  .astodo-guest-leave-alert strong{font-size:12px!important;line-height:1.75!important}
  .astodo-guest-leave-alert p{font-size:10.5px!important;line-height:1.85!important}
  .astodo-guest-leave-link>div{grid-template-columns:minmax(0,1fr) 42px!important;padding:6px!important}
  .astodo-guest-leave-link code{font-size:10.5px!important;padding:7px 5px!important}
  .astodo-guest-leave-link button{min-width:42px!important;min-height:40px!important;padding:8px!important;justify-content:center!important}
  .astodo-guest-leave-actions{grid-template-columns:1fr!important;gap:8px!important}
  .astodo-guest-leave-actions .astodo-guest-leave-claim{grid-column:auto!important}
  .astodo-guest-leave-actions .astodo-btn,.astodo-guest-leave-confirm{width:100%!important;min-height:45px!important}
}


/* ===== Guest exit modal spacing and action polish — v1.6.31 ===== */
.astodo-modal:has(.astodo-guest-leave-alert){
  width:min(520px,calc(100vw - 32px))!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-body,
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-content{
  padding:26px!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-head{
  margin-bottom:18px!important;
  padding-bottom:0!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-head h3{
  margin:0!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-alert{
  margin:0 0 18px!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-link{
  margin:0 0 20px!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-link>small{
  margin-bottom:9px!important;
}
.astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-actions{
  gap:11px!important;
}
.astodo-guest-leave-actions>.astodo-btn[data-action="close-modal"]{
  border:0!important;
  background:linear-gradient(135deg,#3b82f6,#2563eb)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(37,99,235,.24)!important;
}
.astodo-guest-leave-actions>.astodo-btn[data-action="close-modal"]:hover{
  transform:translateY(-2px)!important;
  filter:brightness(1.04)!important;
  box-shadow:0 14px 30px rgba(37,99,235,.32)!important;
}
.astodo-guest-leave-actions>.astodo-btn[data-action="close-modal"]:focus-visible,
.astodo-guest-leave-confirm:focus-visible,
.astodo-guest-leave-claim:focus-visible{
  outline:3px solid rgba(96,165,250,.32)!important;
  outline-offset:3px!important;
}
html[data-astodo-theme="dark"] .astodo-guest-leave-actions>.astodo-btn[data-action="close-modal"]{
  background:linear-gradient(135deg,#3b82f6,#1d4ed8)!important;
  color:#fff!important;
}
@media(max-width:600px){
  .astodo-modal:has(.astodo-guest-leave-alert){
    width:min(100% - 20px,500px)!important;
  }
  .astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-body,
  .astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-content{
    padding:20px 16px 17px!important;
  }
  .astodo-modal:has(.astodo-guest-leave-alert) .astodo-modal-head{
    margin-bottom:16px!important;
  }
  .astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-alert{
    margin-bottom:16px!important;
  }
  .astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-link{
    margin-bottom:17px!important;
  }
  .astodo-modal:has(.astodo-guest-leave-alert) .astodo-guest-leave-actions{
    gap:9px!important;
  }
}


/* ===== Desktop guest entry cleanup and first-visit welcome — v1.6.32 ===== */
@media (min-width: 769px) {
  html[data-astodo-nav-mode="entry"] body:not(.astodo-authenticated) .astodo-desktop-nav,
  body[data-astodo-nav-mode="entry"]:not(.astodo-authenticated) .astodo-desktop-nav {
    display:none!important;
  }
  html[data-astodo-nav-mode="entry"] body:not(.astodo-authenticated) #astodo-app,
  body[data-astodo-nav-mode="entry"]:not(.astodo-authenticated) #astodo-app {
    padding-bottom:28px!important;
  }
}

.astodo-welcome-modal{display:flex;flex-direction:column;gap:20px}
.astodo-welcome-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(123,104,255,.28);border-radius:999px;background:rgba(105,87,255,.1);color:var(--astodo-text,#fff)}
.astodo-welcome-badge span{font-size:18px}.astodo-welcome-badge small{font-size:12px;font-weight:850}
.astodo-welcome-head{margin:0!important;align-items:flex-start!important}
.astodo-welcome-head h3{font-size:28px!important;line-height:1.25!important;margin-bottom:7px!important}
.astodo-welcome-head p{max-width:520px!important;line-height:1.9!important}
.astodo-welcome-choices{display:grid;gap:11px}
.astodo-welcome-choice{width:100%;display:grid;grid-template-columns:46px minmax(0,1fr) 24px;align-items:center;gap:12px;text-align:right;padding:14px 15px;border-radius:18px;border:1px solid rgba(135,151,203,.2);background:rgba(18,30,53,.68);color:#f8faff;cursor:pointer;transition:.22s ease;font-family:inherit}
.astodo-welcome-choice:hover{transform:translateY(-2px);border-color:rgba(118,99,255,.6);background:rgba(31,40,74,.9)}
.astodo-welcome-choice.is-primary{background:linear-gradient(135deg,rgba(100,81,255,.26),rgba(33,56,104,.72));border-color:rgba(126,106,255,.5);box-shadow:0 16px 40px rgba(75,54,210,.16)}
.astodo-welcome-choice.is-quiet{background:rgba(14,24,43,.45)}
.astodo-welcome-choice-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:rgba(110,91,255,.16);font-size:22px}
.astodo-welcome-choice span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}
.astodo-welcome-choice strong{font-size:15px;font-weight:950;color:inherit}.astodo-welcome-choice small{font-size:11.5px;color:#aeb9d4;line-height:1.7}.astodo-welcome-choice b{font-size:20px;color:#8f7cff}
.astodo-welcome-skip,.astodo-welcome-back{align-self:center;border:0;background:transparent;color:#9da9c4;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:4px 10px}
.astodo-welcome-skip:hover,.astodo-welcome-back:hover{color:#fff}
.astodo-welcome-steps{display:grid;gap:10px;counter-reset:step}
.astodo-welcome-steps>div{display:flex;align-items:center;gap:13px;padding:13px 14px;border:1px solid rgba(135,151,203,.18);border-radius:17px;background:rgba(18,30,53,.62)}
.astodo-welcome-steps b{flex:0 0 36px;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#7765ff,#4d82ff);color:#fff;font-size:15px}
.astodo-welcome-steps span{display:flex;flex-direction:column;gap:2px}.astodo-welcome-steps strong{font-size:14px;color:#fff}.astodo-welcome-steps small{font-size:11px;line-height:1.7;color:#aeb9d4}
.astodo-welcome-note{display:flex;align-items:center;gap:10px;padding:11px 13px;border-radius:15px;border:1px solid rgba(255,178,58,.25);background:rgba(255,159,25,.09);color:#ffd89a}
.astodo-welcome-note span{font-size:20px}.astodo-welcome-note p{margin:0;font-size:11.5px;line-height:1.8;font-weight:750}
.astodo-welcome-start{width:100%!important;min-height:52px!important;border-radius:16px!important}.astodo-welcome-back{margin-top:-8px}
html[data-astodo-theme="light"] .astodo-welcome-badge{background:#f0edff;color:#312b5f;border-color:#d9d1ff}
html[data-astodo-theme="light"] .astodo-welcome-choice{background:#fff;color:#20253a;border-color:#e1e5f1;box-shadow:0 10px 25px rgba(56,62,95,.06)}
html[data-astodo-theme="light"] .astodo-welcome-choice.is-primary{background:linear-gradient(135deg,#f3f0ff,#edf4ff);border-color:#cfc6ff}
html[data-astodo-theme="light"] .astodo-welcome-choice small,html[data-astodo-theme="light"] .astodo-welcome-steps small{color:#68728b}
html[data-astodo-theme="light"] .astodo-welcome-choice-icon{background:#eeebff}
html[data-astodo-theme="light"] .astodo-welcome-steps>div{background:#fff;border-color:#e1e5f1}
html[data-astodo-theme="light"] .astodo-welcome-steps strong{color:#22283d}
html[data-astodo-theme="light"] .astodo-welcome-skip,html[data-astodo-theme="light"] .astodo-welcome-back{color:#69738b}
html[data-astodo-theme="light"] .astodo-welcome-skip:hover,html[data-astodo-theme="light"] .astodo-welcome-back:hover{color:#312b5f}
@media (max-width:768px){
  .astodo-welcome-modal{gap:15px}.astodo-welcome-head h3{font-size:23px!important}.astodo-welcome-head p{font-size:12px!important}
  .astodo-welcome-choice{grid-template-columns:42px minmax(0,1fr) 18px;padding:12px;border-radius:16px;gap:9px}.astodo-welcome-choice-icon{width:42px;height:42px;border-radius:13px;font-size:19px}
  .astodo-welcome-choice strong{font-size:13px}.astodo-welcome-choice small{font-size:10.5px}.astodo-welcome-steps>div{padding:11px}.astodo-welcome-note{align-items:flex-start}
}
@media (max-width:390px){.astodo-welcome-choice b{display:none}.astodo-welcome-choice{grid-template-columns:40px minmax(0,1fr)}.astodo-welcome-badge small{font-size:11px}}


/* ===== Editable SEO content — v1.6.34 ===== */
.astodo-seo-content{position:relative;z-index:1;width:100%;padding:54px 20px 120px;background:linear-gradient(180deg,transparent 0%,rgba(9,16,35,.42) 12%,rgba(7,13,28,.92) 100%);color:#f8faff}
.astodo-seo-inner{width:min(100%,1080px);margin:0 auto}
.astodo-seo-head{max-width:800px;margin:0 auto 28px;text-align:center}.astodo-seo-head>span{display:inline-flex;padding:7px 12px;border:1px solid rgba(125,105,255,.3);border-radius:999px;background:rgba(106,88,255,.1);color:#c8c0ff;font-size:11px;font-weight:900}.astodo-seo-head h2{margin:14px 0 10px;color:#fff;font-size:clamp(25px,4vw,42px);line-height:1.35}.astodo-seo-intro{color:#b7c1d8;font-size:14px;line-height:2}.astodo-seo-intro p{margin:0}
.astodo-seo-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.astodo-seo-card,.astodo-seo-faq{border:1px solid rgba(133,151,202,.18);border-radius:24px;background:rgba(17,28,51,.72);box-shadow:0 20px 55px rgba(0,0,0,.18);backdrop-filter:blur(14px)}.astodo-seo-card{padding:24px}.astodo-seo-card h3,.astodo-seo-faq>h3{margin:0 0 16px;color:#fff;font-size:18px}.astodo-seo-card ul{display:grid;gap:11px;margin:0;padding:0;list-style:none}.astodo-seo-card li{position:relative;padding-right:24px;color:#c6cee0;font-size:13px;line-height:1.8}.astodo-seo-card li:before{content:'✓';position:absolute;right:0;top:1px;width:17px;height:17px;display:grid;place-items:center;border-radius:6px;background:linear-gradient(135deg,#7765ff,#31c8a0);color:#fff;font-size:10px;font-weight:900}
.astodo-seo-faq{margin-top:16px;padding:24px}.astodo-seo-faq details{border-top:1px solid rgba(133,151,202,.15)}.astodo-seo-faq details:first-of-type{border-top:0}.astodo-seo-faq summary{position:relative;padding:16px 0 16px 30px;cursor:pointer;color:#f8faff;font-size:13px;font-weight:900;list-style:none}.astodo-seo-faq summary::-webkit-details-marker{display:none}.astodo-seo-faq summary:after{content:'+';position:absolute;left:0;top:13px;width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:rgba(112,92,255,.15);color:#a99cff;font-size:18px}.astodo-seo-faq details[open] summary:after{content:'−'}.astodo-seo-faq details p{margin:0;padding:0 0 16px;color:#b7c1d8;font-size:12.5px;line-height:2}
html.astodo-internal-view .astodo-seo-content,body.astodo-internal-view .astodo-seo-content{display:none!important}
html[data-astodo-theme="light"] .astodo-seo-content{background:linear-gradient(180deg,transparent 0%,#f5f7ff 15%,#eef2fb 100%);color:#20253a}.astodo-seo-content{scroll-margin-top:30px}html[data-astodo-theme="light"] .astodo-seo-head h2,html[data-astodo-theme="light"] .astodo-seo-card h3,html[data-astodo-theme="light"] .astodo-seo-faq>h3,html[data-astodo-theme="light"] .astodo-seo-faq summary{color:#20253a}html[data-astodo-theme="light"] .astodo-seo-intro,html[data-astodo-theme="light"] .astodo-seo-card li,html[data-astodo-theme="light"] .astodo-seo-faq details p{color:#616b82}html[data-astodo-theme="light"] .astodo-seo-card,html[data-astodo-theme="light"] .astodo-seo-faq{background:rgba(255,255,255,.86);border-color:#dfe5f2;box-shadow:0 18px 45px rgba(53,65,98,.08)}
@media(max-width:768px){.astodo-seo-content{padding:36px 14px 105px}.astodo-seo-grid{grid-template-columns:1fr}.astodo-seo-card,.astodo-seo-faq{border-radius:20px;padding:18px}.astodo-seo-head{margin-bottom:20px}.astodo-seo-head h2{font-size:25px}.astodo-seo-intro{font-size:12.5px}.astodo-seo-faq summary{font-size:12px}}


/* ===== Mobile SEO document scrolling & responsive content — v1.6.35 ===== */
@media (max-width: 768px) {
  /*
   * The landing view was intentionally locked to one viewport. When editable
   * SEO content exists below it, restore native document scrolling only on
   * the public landing page. Internal app screens keep their existing rules.
   */
  html:has(body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view)),
  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) {
    padding-bottom: 0 !important;
  }

  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) #astodo-app,
  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) .astodo-app {
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) .astodo-entry-screen {
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) .astodo-entry-wrap {
    height: auto !important;
    min-height: calc(100dvh - 126px) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.astodo-app-body.astodo-has-seo-content:not(.astodo-internal-view) .astodo-entry-visual {
    height: auto !important;
    min-height: calc(100dvh - 126px) !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .astodo-seo-content {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 42px 14px max(126px, calc(98px + env(safe-area-inset-bottom))) !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    contain: layout paint;
  }

  .astodo-seo-inner,
  .astodo-seo-head,
  .astodo-seo-grid,
  .astodo-seo-card,
  .astodo-seo-faq,
  .astodo-seo-faq details {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .astodo-seo-inner {
    margin: 0 auto !important;
  }

  .astodo-seo-head {
    margin: 0 auto 22px !important;
    padding: 0 2px !important;
  }

  .astodo-seo-head > span {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .astodo-seo-head h2 {
    margin: 13px 0 11px !important;
    font-size: clamp(22px, 6.7vw, 29px) !important;
    line-height: 1.55 !important;
    letter-spacing: -.35px !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .astodo-seo-intro,
  .astodo-seo-intro p {
    max-width: 100% !important;
    color: #c1cade !important;
    font-size: 13px !important;
    line-height: 2.05 !important;
    text-align: right !important;
    overflow-wrap: anywhere !important;
  }

  .astodo-seo-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 13px !important;
  }

  .astodo-seo-card,
  .astodo-seo-faq {
    padding: 18px 16px !important;
    border-radius: 20px !important;
  }

  .astodo-seo-card h3,
  .astodo-seo-faq > h3 {
    margin: 0 0 14px !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
  }

  .astodo-seo-card ul {
    gap: 10px !important;
  }

  .astodo-seo-card li {
    min-width: 0 !important;
    padding-right: 23px !important;
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    overflow-wrap: anywhere !important;
  }

  .astodo-seo-faq {
    margin-top: 13px !important;
  }

  .astodo-seo-faq summary {
    min-width: 0 !important;
    padding: 15px 0 15px 32px !important;
    font-size: 12.5px !important;
    line-height: 1.85 !important;
    overflow-wrap: anywhere !important;
  }

  .astodo-seo-faq summary::after {
    top: 14px !important;
    left: 0 !important;
  }

  .astodo-seo-faq details p {
    padding: 0 0 15px !important;
    font-size: 12px !important;
    line-height: 2 !important;
    overflow-wrap: anywhere !important;
  }

  html[data-astodo-theme="light"] .astodo-seo-intro,
  html[data-astodo-theme="light"] .astodo-seo-intro p {
    color: #5c667d !important;
  }
}

@media (max-width: 390px) {
  .astodo-seo-content {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }

  .astodo-seo-card,
  .astodo-seo-faq {
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }

  .astodo-seo-head h2 {
    font-size: 22px !important;
  }
}


/* ===== Editor content, list availability & welcome polish — v1.6.36 ===== */

/* The page editor is now the single source of SEO content. */
html.astodo-has-editor-content:not(.astodo-internal-view),
body.astodo-app-body.astodo-has-editor-content:not(.astodo-internal-view){
  width:100%!important;
  height:auto!important;
  min-height:100%!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
  touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch!important;
}

body.astodo-app-body.astodo-has-editor-content:not(.astodo-internal-view) #astodo-app,
body.astodo-app-body.astodo-has-editor-content:not(.astodo-internal-view) .astodo-app,
body.astodo-app-body.astodo-has-editor-content:not(.astodo-internal-view) .astodo-entry-screen{
  width:100%!important;
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow:visible!important;
}

body.astodo-app-body.astodo-has-editor-content:not(.astodo-internal-view) .astodo-entry-wrap,
body.astodo-app-body.astodo-has-editor-content:not(.astodo-internal-view) .astodo-entry-visual{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}

.astodo-page-content{
  position:relative;
  z-index:1;
  width:100%;
  min-width:0;
  padding:56px 20px 124px;
  overflow:hidden;
  color:#f8faff;
  background:linear-gradient(180deg,transparent 0%,rgba(9,16,35,.46) 10%,rgba(7,13,28,.96) 100%);
}

.astodo-page-content-inner{
  width:min(100%,1080px);
  min-width:0;
  margin:0 auto;
}

html.astodo-internal-view .astodo-page-content,
body.astodo-internal-view .astodo-page-content{
  display:none!important;
}

.astodo-page-content *,
.astodo-page-content *::before,
.astodo-page-content *::after{
  box-sizing:border-box;
  min-width:0;
}

.astodo-page-content img,
.astodo-page-content video,
.astodo-page-content iframe,
.astodo-page-content figure{
  max-width:100%!important;
  height:auto;
}

.astodo-page-content iframe{
  width:100%;
  border:0;
  border-radius:18px;
}

.astodo-page-content a{
  color:#a99cff;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.astodo-page-content p,
.astodo-page-content li,
.astodo-page-content td,
.astodo-page-content th,
.astodo-page-content summary{
  overflow-wrap:anywhere;
  word-break:normal;
}

.astodo-page-content h1,
.astodo-page-content h2,
.astodo-page-content h3,
.astodo-page-content h4{
  color:#fff;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.astodo-page-content h1{font-size:clamp(30px,5vw,48px)}
.astodo-page-content h2{font-size:clamp(25px,4vw,41px)}
.astodo-page-content h3{font-size:clamp(18px,2.5vw,24px)}
.astodo-page-content p{color:#bcc6da;font-size:14px;line-height:2.05}
.astodo-page-content ul,.astodo-page-content ol{max-width:100%;padding-right:24px;color:#c6cee0;line-height:2}
.astodo-page-content table{width:100%;border-collapse:collapse}
.astodo-page-content th,.astodo-page-content td{padding:12px;border:1px solid rgba(133,151,202,.18)}

.astodo-editor-seo{width:100%;margin:0 auto}
.astodo-editor-seo-head{max-width:820px;margin:0 auto 30px;text-align:center}
.astodo-editor-seo-head>span{
  display:inline-flex;
  max-width:100%;
  padding:7px 12px;
  border:1px solid rgba(125,105,255,.3);
  border-radius:999px;
  background:rgba(106,88,255,.1);
  color:#c8c0ff;
  font-size:11px;
  font-weight:900;
}
.astodo-editor-seo-head h2{margin:14px 0 10px}
.astodo-editor-seo-intro,.astodo-editor-seo-intro p{margin:0;color:#b9c4d9;font-size:14px;line-height:2.1}
.astodo-editor-seo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.astodo-editor-seo-grid>article,.astodo-editor-seo-faq{
  width:100%;
  padding:24px;
  border:1px solid rgba(133,151,202,.18);
  border-radius:24px;
  background:rgba(17,28,51,.74);
  box-shadow:0 20px 55px rgba(0,0,0,.18);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.astodo-editor-seo-grid h3,.astodo-editor-seo-faq>h3{margin:0 0 16px}
.astodo-editor-seo-grid ul{display:grid;gap:11px;margin:0;padding:0;list-style:none}
.astodo-editor-seo-grid li{position:relative;padding-right:25px;color:#c6cee0;font-size:13px;line-height:1.9}
.astodo-editor-seo-grid li::before{
  content:"✓";
  position:absolute;
  top:3px;
  right:0;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  border-radius:6px;
  background:linear-gradient(135deg,#7765ff,#31c8a0);
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.astodo-editor-seo-faq{margin-top:16px}
.astodo-editor-seo-faq details{border-top:1px solid rgba(133,151,202,.16)}
.astodo-editor-seo-faq details:first-of-type{border-top:0}
.astodo-editor-seo-faq summary{
  position:relative;
  padding:17px 0 17px 34px;
  cursor:pointer;
  color:#f8faff;
  font-size:13px;
  font-weight:900;
  line-height:1.9;
  list-style:none;
}
.astodo-editor-seo-faq summary::-webkit-details-marker{display:none}
.astodo-editor-seo-faq summary::after{
  content:"+";
  position:absolute;
  top:14px;
  left:0;
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:rgba(112,92,255,.16);
  color:#aa9dff;
  font-size:18px;
}
.astodo-editor-seo-faq details[open] summary::after{content:"−"}
.astodo-editor-seo-faq details p{margin:0;padding:0 0 17px;color:#b7c1d8;font-size:12.5px;line-height:2.05}

html[data-astodo-theme="light"] .astodo-page-content{
  color:#20253a;
  background:linear-gradient(180deg,transparent 0%,#f5f7ff 12%,#eef2fb 100%);
}
html[data-astodo-theme="light"] .astodo-page-content h1,
html[data-astodo-theme="light"] .astodo-page-content h2,
html[data-astodo-theme="light"] .astodo-page-content h3,
html[data-astodo-theme="light"] .astodo-page-content h4,
html[data-astodo-theme="light"] .astodo-editor-seo-faq summary{color:#20253a}
html[data-astodo-theme="light"] .astodo-page-content p,
html[data-astodo-theme="light"] .astodo-page-content li,
html[data-astodo-theme="light"] .astodo-editor-seo-intro,
html[data-astodo-theme="light"] .astodo-editor-seo-intro p,
html[data-astodo-theme="light"] .astodo-editor-seo-faq details p{color:#5f6980}
html[data-astodo-theme="light"] .astodo-editor-seo-grid>article,
html[data-astodo-theme="light"] .astodo-editor-seo-faq{
  background:rgba(255,255,255,.9);
  border-color:#dfe5f2;
  box-shadow:0 18px 45px rgba(53,65,98,.08);
}

/* Welcome dialog */
.astodo-welcome-expiry-alert{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:13px 14px;
  border:1px solid rgba(255,79,94,.42);
  border-radius:17px;
  background:linear-gradient(135deg,rgba(145,28,42,.42),rgba(85,18,31,.5));
  box-shadow:0 14px 34px rgba(112,18,31,.18);
  color:#ffd8dc;
}
.astodo-welcome-expiry-alert>span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:linear-gradient(135deg,#ff5c68,#e93343);
  color:#fff;
  font-size:19px;
  font-weight:950;
  box-shadow:0 8px 22px rgba(239,54,70,.28);
}
.astodo-welcome-expiry-alert div{min-width:0}
.astodo-welcome-expiry-alert strong{display:block;margin-bottom:3px;color:#fff;font-size:12.5px;line-height:1.8}
.astodo-welcome-expiry-alert p{margin:0;color:#ffc2c8;font-size:10.8px;line-height:1.85}
.astodo-welcome-review{
  width:100%;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:0;
  padding:12px 15px!important;
  border:1px solid rgba(45,202,181,.35)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(21,121,117,.38),rgba(17,63,82,.5))!important;
  color:#d7fffa!important;
  box-shadow:0 14px 32px rgba(7,57,65,.16);
  transition:.22s ease;
}
.astodo-welcome-review:hover{transform:translateY(-2px);border-color:rgba(63,224,198,.65)!important;color:#fff!important}
.astodo-welcome-review span{font-size:17px}
.astodo-welcome-review strong{font-size:12.5px;font-weight:900}

/* Explicit unavailable/disabled state */
.astodo-unavailable-screen{
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:24px;
}
.astodo-unavailable-card{
  width:min(100%,520px);
  padding:32px;
  text-align:center;
  border:1px solid var(--astodo-border);
  border-radius:28px;
  background:color-mix(in srgb,var(--astodo-card) 94%,transparent);
  box-shadow:var(--astodo-shadow);
}
.astodo-unavailable-icon{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  border-radius:23px;
  background:linear-gradient(135deg,#6b6df5,#494bd6);
  color:#fff;
  font-size:30px;
  box-shadow:0 18px 42px rgba(78,80,221,.28);
}
.astodo-unavailable-card.is-inactive .astodo-unavailable-icon{background:linear-gradient(135deg,#ef9b2d,#d76b20);box-shadow:0 18px 42px rgba(215,107,32,.25)}
.astodo-unavailable-card.is-expired .astodo-unavailable-icon{background:linear-gradient(135deg,#e6657a,#c93655);box-shadow:0 18px 42px rgba(201,54,85,.25)}
.astodo-unavailable-card h1{margin:13px 0 9px;color:var(--astodo-text);font-size:clamp(25px,5vw,34px);line-height:1.45}
.astodo-unavailable-card p{margin:0 auto;color:var(--astodo-muted);font-size:13px;line-height:2;max-width:420px}
.astodo-unavailable-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.astodo-unavailable-actions .astodo-btn:first-child:last-child{grid-column:1/-1}
.astodo-unavailable-home{grid-column:1/-1;background:transparent!important;color:var(--astodo-muted)!important;border:1px solid var(--astodo-border)!important}
.astodo-my-list-card.is-inactive{opacity:.78;border-style:dashed;border-color:rgba(229,148,34,.5)}
.astodo-my-list-card.is-inactive .astodo-card-progress-meta small{color:#e59422!important}

/* Admin guide replacing old SEO option fields */
.astodo-editor-seo-guide{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px;
  border:1px solid #e2e6f1;
  border-radius:18px;
  background:#f8f9ff;
}
.astodo-editor-seo-guide p{margin:0;line-height:1.9}
.astodo-editor-seo-guide code{direction:ltr;display:inline-block}

@media (max-width:768px){
  .astodo-page-content{
    padding:42px 13px max(126px,calc(98px + env(safe-area-inset-bottom)));
    overflow-x:clip;
    overflow-y:visible;
  }
  .astodo-page-content-inner{width:100%}
  .astodo-editor-seo-head{margin-bottom:22px;padding:0 2px}
  .astodo-editor-seo-head>span{white-space:normal;text-align:center}
  .astodo-editor-seo-head h2{margin:13px 0 10px;font-size:clamp(22px,7vw,29px)!important;line-height:1.58!important}
  .astodo-editor-seo-intro,.astodo-editor-seo-intro p{font-size:13px!important;line-height:2.08!important;text-align:right}
  .astodo-editor-seo-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .astodo-editor-seo-grid>article,.astodo-editor-seo-faq{padding:18px 16px;border-radius:20px}
  .astodo-editor-seo-grid h3,.astodo-editor-seo-faq>h3{font-size:16px!important;line-height:1.7!important}
  .astodo-editor-seo-grid li{padding-right:24px;font-size:12.5px!important;line-height:1.95!important}
  .astodo-editor-seo-faq{margin-top:13px}
  .astodo-editor-seo-faq summary{padding:15px 0 15px 32px;font-size:12.5px!important;line-height:1.9!important}
  .astodo-editor-seo-faq details p{font-size:12px!important;line-height:2!important}
  .astodo-page-content .wp-block-columns{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .astodo-page-content .wp-block-column{width:100%!important;flex-basis:auto!important}
  .astodo-page-content .wp-block-group,
  .astodo-page-content .wp-block-cover{max-width:100%!important;padding-right:0!important;padding-left:0!important}
  .astodo-page-content h1{font-size:29px!important}
  .astodo-page-content h2{font-size:24px!important}
  .astodo-page-content h3{font-size:18px!important}
  .astodo-page-content p,.astodo-page-content li{font-size:13px!important}
  .astodo-unavailable-screen{padding:16px}
  .astodo-unavailable-card{padding:24px 17px;border-radius:23px}
  .astodo-unavailable-actions{grid-template-columns:1fr}
  .astodo-unavailable-home{grid-column:auto}
  .astodo-editor-seo-guide{align-items:stretch;flex-direction:column}
  .astodo-editor-seo-guide .astodo-button{width:100%;justify-content:center}
}

@media (max-width:390px){
  .astodo-page-content{padding-right:10px;padding-left:10px}
  .astodo-editor-seo-grid>article,.astodo-editor-seo-faq{padding:16px 14px;border-radius:18px}
  .astodo-welcome-expiry-alert{padding:11px}
  .astodo-welcome-expiry-alert>span{width:31px;height:31px;flex-basis:31px}
}


/* ===== SEO content polish and welcome refinement — v1.6.37 ===== */
.astodo-welcome-choices{margin-top:18px}
.astodo-seo-pro{display:grid;gap:18px}
.astodo-seo-hero,
.astodo-seo-why,
.astodo-seo-final-cta{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);
  gap:24px;
  align-items:center;
  padding:clamp(22px,4vw,38px);
  border:1px solid rgba(133,151,202,.18);
  border-radius:30px;
  background:linear-gradient(145deg,rgba(23,35,65,.92),rgba(11,21,41,.86));
  box-shadow:0 28px 75px rgba(0,0,0,.22);
}
.astodo-seo-kicker,.astodo-seo-section-head>span{
  display:inline-flex;
  width:fit-content;
  padding:7px 12px;
  border:1px solid rgba(122,106,255,.34);
  border-radius:999px;
  background:rgba(107,90,255,.11);
  color:#c9c1ff;
  font-size:11px;
  font-weight:900;
}
.astodo-seo-hero h2{margin:14px 0 13px;font-size:clamp(27px,4.3vw,45px)!important;line-height:1.5!important}
.astodo-seo-hero p,.astodo-seo-richtext p,.astodo-seo-why p{margin:0 0 10px;color:#bcc6da;font-size:14px;line-height:2.1}
.astodo-seo-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.astodo-seo-actions a,.astodo-seo-final-cta>a{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border:1px solid rgba(132,145,188,.23);
  border-radius:15px;
  color:#dce4f6!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:900;
}
.astodo-seo-actions .astodo-seo-primary,.astodo-seo-final-cta>a{background:linear-gradient(135deg,#7865ff,#5548e9);border-color:transparent;color:#fff!important;box-shadow:0 14px 32px rgba(88,73,235,.28)}
.astodo-seo-visual{margin:0;padding:22px;text-align:center;border:1px solid rgba(130,145,195,.18);border-radius:24px;background:rgba(7,15,31,.45)}
.astodo-seo-visual img{width:min(100%,180px);height:auto;border-radius:28px;filter:drop-shadow(0 22px 38px rgba(79,61,220,.34))}
.astodo-seo-visual figcaption{margin-top:12px;color:#aeb9d1;font-size:11px;line-height:1.8}
.astodo-seo-section{padding:clamp(22px,4vw,34px);border:1px solid rgba(133,151,202,.16);border-radius:28px;background:rgba(14,25,48,.68)}
.astodo-seo-section-head{margin-bottom:18px}
.astodo-seo-section-head h3{margin:11px 0 0;font-size:clamp(20px,3vw,29px)!important;line-height:1.65!important}
.astodo-seo-richtext{columns:2;column-gap:34px}
.astodo-seo-richtext p{break-inside:avoid}
.astodo-seo-feature-grid,.astodo-seo-use-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.astodo-seo-feature-grid article,.astodo-seo-use-grid article{min-width:0;padding:19px;border:1px solid rgba(133,151,202,.15);border-radius:19px;background:rgba(20,34,61,.7)}
.astodo-seo-feature-grid article>b{width:30px;height:30px;display:grid;place-items:center;margin-bottom:12px;border-radius:10px;background:linear-gradient(135deg,#7967ff,#4f45d9);color:#fff;font-size:12px}
.astodo-seo-feature-grid h4,.astodo-seo-use-grid h4{margin:0 0 7px;color:#f8faff;font-size:14px;line-height:1.8}
.astodo-seo-feature-grid p,.astodo-seo-use-grid p{margin:0;color:#adb8cf;font-size:12px;line-height:1.95}
.astodo-seo-use-grid article>span{display:block;margin-bottom:10px;font-size:25px}
.astodo-seo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0;padding:0;list-style:none}
.astodo-seo-steps li{display:flex;gap:13px;padding:19px;border:1px solid rgba(133,151,202,.15);border-radius:19px;background:rgba(20,34,61,.7)}
.astodo-seo-steps li>b{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#35c5a5,#4a83ef);color:#fff}
.astodo-seo-steps h4{margin:0 0 5px;color:#fff;font-size:13px}
.astodo-seo-steps p{margin:0;color:#adb8cf;font-size:11.5px;line-height:1.9}
.astodo-seo-why{grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr)}
.astodo-seo-stat-box{display:grid;grid-template-columns:auto 1fr;gap:10px 14px;padding:20px;border:1px solid rgba(128,144,192,.18);border-radius:22px;background:rgba(8,17,34,.5)}
.astodo-seo-stat-box strong{color:#8d82ff;font-size:13px}.astodo-seo-stat-box span{color:#b7c1d6;font-size:11.5px}
.astodo-seo-faq{padding:clamp(22px,4vw,34px)!important;border-radius:28px!important}
.astodo-seo-final-cta{grid-template-columns:minmax(0,1fr) auto}
.astodo-seo-final-cta span{color:#8f83ff;font-size:11px;font-weight:900}.astodo-seo-final-cta h3{margin:7px 0 5px;font-size:clamp(20px,3vw,29px)!important}.astodo-seo-final-cta p{margin:0;color:#adb8cf;font-size:12px}
html[data-astodo-theme="light"] .astodo-seo-hero,
html[data-astodo-theme="light"] .astodo-seo-why,
html[data-astodo-theme="light"] .astodo-seo-final-cta,
html[data-astodo-theme="light"] .astodo-seo-section{background:rgba(255,255,255,.88);border-color:#dfe5f2;box-shadow:0 18px 48px rgba(52,67,106,.08)}
html[data-astodo-theme="light"] .astodo-seo-feature-grid article,
html[data-astodo-theme="light"] .astodo-seo-use-grid article,
html[data-astodo-theme="light"] .astodo-seo-steps li,
html[data-astodo-theme="light"] .astodo-seo-visual,
html[data-astodo-theme="light"] .astodo-seo-stat-box{background:#f7f9ff;border-color:#e0e6f2}
html[data-astodo-theme="light"] .astodo-seo-hero p,
html[data-astodo-theme="light"] .astodo-seo-richtext p,
html[data-astodo-theme="light"] .astodo-seo-why p,
html[data-astodo-theme="light"] .astodo-seo-feature-grid p,
html[data-astodo-theme="light"] .astodo-seo-use-grid p,
html[data-astodo-theme="light"] .astodo-seo-steps p,
html[data-astodo-theme="light"] .astodo-seo-stat-box span,
html[data-astodo-theme="light"] .astodo-seo-final-cta p{color:#5e6981}
html[data-astodo-theme="light"] .astodo-seo-feature-grid h4,
html[data-astodo-theme="light"] .astodo-seo-use-grid h4,
html[data-astodo-theme="light"] .astodo-seo-steps h4{color:#20263a}

@media(max-width:900px){
  .astodo-seo-hero,.astodo-seo-why{grid-template-columns:1fr}
  .astodo-seo-visual{order:-1}.astodo-seo-visual img{width:120px}
  .astodo-seo-feature-grid,.astodo-seo-use-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .astodo-seo-steps{grid-template-columns:1fr}
}
@media(max-width:600px){
  .astodo-seo-pro{gap:12px}
  .astodo-seo-hero,.astodo-seo-section,.astodo-seo-why,.astodo-seo-final-cta{padding:18px 14px;border-radius:21px}
  .astodo-seo-hero h2{font-size:24px!important;line-height:1.58!important}
  .astodo-seo-hero p,.astodo-seo-richtext p,.astodo-seo-why p{font-size:12.5px!important;line-height:2.05!important}
  .astodo-seo-richtext{columns:1}
  .astodo-seo-feature-grid,.astodo-seo-use-grid{grid-template-columns:1fr}
  .astodo-seo-feature-grid article,.astodo-seo-use-grid article,.astodo-seo-steps li{padding:16px;border-radius:17px}
  .astodo-seo-final-cta{grid-template-columns:1fr}.astodo-seo-final-cta>a{width:100%;margin-top:8px}
  .astodo-seo-actions{display:grid}.astodo-seo-actions a{width:100%}
}

/* ===== Content cleanup and accordion motion — v1.6.38 ===== */
.astodo-seo-final-cta{
  display:none!important;
}

.astodo-page-content{
  padding-bottom:52px!important;
}

.astodo-page-content details > .astodo-details-content{
  height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-7px);
  transition:
    height .38s cubic-bezier(.22,1,.36,1),
    opacity .26s ease,
    transform .38s cubic-bezier(.22,1,.36,1);
}
.astodo-page-content details > .astodo-details-content.is-visible{
  opacity:1;
  transform:translateY(0);
}
.astodo-page-content details > .astodo-details-content > .astodo-details-inner{
  padding-bottom:1px;
}
.astodo-page-content details summary::after{
  transition:transform .32s ease,background .32s ease,color .32s ease!important;
}
.astodo-page-content details[open] summary::after{
  transform:rotate(180deg);
}

@media(max-width:768px){
  .astodo-page-content{
    padding-bottom:96px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .astodo-page-content details > .astodo-details-content{
    transition-duration:.01ms!important;
  }
}


/* ===== Authoritative public landing rebuild — v1.6.40 =====
   This final layer deliberately resets the accumulated landing-page overrides.
   Internal list screens and the three informational pages are left untouched. */

html.astodo-public-landing,
body.astodo-app-body.astodo-public-landing {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}

/* A single controlled stack for navigation and the optional installer. */
body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
  position: relative;
  z-index: 140;
  width: min(1080px, calc(100% - 32px));
  margin: 16px auto 0;
  display: grid;
  gap: 10px;
  box-sizing: border-box;
}

body.astodo-public-landing.astodo-internal-view .astodo-public-top-stack,
html.astodo-internal-view body.astodo-public-landing .astodo-public-top-stack {
  display: contents;
}

body.astodo-public-landing.astodo-internal-view .astodo-main-info-nav,
html.astodo-internal-view body.astodo-public-landing .astodo-main-info-nav,
html.astodo-is-standalone body.astodo-public-landing .astodo-public-top-stack,
body.astodo-public-landing.astodo-is-standalone .astodo-public-top-stack {
  display: none !important;
}

html.astodo-modal-open body.astodo-public-landing .astodo-public-top-stack,
body.astodo-public-landing.astodo-modal-open .astodo-public-top-stack {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Public information navigation. */
body.astodo-public-landing .astodo-main-info-nav {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  margin: 0;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: minmax(120px, .8fr) auto minmax(220px, 1fr);
  grid-template-areas: "start nav brand";
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(136, 153, 202, .20);
  border-radius: 22px;
  background: rgba(12, 23, 44, .84);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-sizing: border-box;
  font-family: var(--astodo-font) !important;
}

body.astodo-public-landing .astodo-main-info-brand {
  grid-area: brand;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  color: #fff !important;
  text-decoration: none !important;
}

body.astodo-public-landing .astodo-main-info-brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: 14px;
}

body.astodo-public-landing .astodo-main-info-brand span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body.astodo-public-landing .astodo-main-info-brand strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

body.astodo-public-landing .astodo-main-info-brand small {
  color: #9eabc3;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

body.astodo-public-landing .astodo-main-info-nav nav {
  grid-area: nav;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

body.astodo-public-landing .astodo-main-info-nav nav a {
  padding: 9px 12px;
  border-radius: 11px;
  color: #aeb8ce !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

body.astodo-public-landing .astodo-main-info-nav nav a:hover {
  transform: translateY(-1px);
  background: rgba(112, 96, 255, .16);
  color: #fff !important;
}

body.astodo-public-landing .astodo-main-info-start {
  grid-area: start;
  justify-self: start;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 13px;
  background: linear-gradient(135deg, #7164ff, #5548e7);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(84, 71, 229, .28);
}

/* In light mode the same component remains readable without becoming stark. */
html[data-astodo-theme="light"] body.astodo-public-landing .astodo-main-info-nav {
  border-color: rgba(95, 104, 143, .16);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(39, 46, 76, .10);
}

html[data-astodo-theme="light"] body.astodo-public-landing .astodo-main-info-brand strong,
html[data-astodo-theme="light"] body.astodo-public-landing .astodo-main-info-nav nav a {
  color: #252a40 !important;
}

html[data-astodo-theme="light"] body.astodo-public-landing .astodo-main-info-brand small {
  color: #717b92;
}

/* Installer becomes a real row inside the public stack. */
body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-banner {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  justify-self: center;
  width: min(760px, 100%) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  display: none !important;
  grid-template-columns: 40px minmax(0, 1fr) auto !important;
  grid-template-areas: "icon copy action" !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
  animation: none !important;
  transform: none !important;
  transform-origin: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-banner.is-visible {
  display: grid !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-icon {
  grid-area: icon !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-copy {
  grid-area: copy !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-copy strong {
  display: block !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-copy strong::after {
  content: none !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-copy p {
  display: block !important;
  margin: 1px 0 0 !important;
  color: #aeb8d2 !important;
  font-size: 9.5px !important;
  line-height: 1.55 !important;
  white-space: normal !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-action {
  grid-area: action !important;
  width: auto !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  font-size: 10px !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-close {
  top: -7px !important;
  left: -7px !important;
  width: 24px !important;
  height: 24px !important;
}

/* Landing app: remove all artificial viewport locks and duplicated empty space. */
body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view):has(.astodo-entry-screen),
body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view):has(.astodo-auth-screen) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-app {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-initial-loader {
  min-height: min(620px, calc(100dvh - 120px)) !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 22px 16px 42px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
  width: min(1040px, 100%) !important;
  height: auto !important;
  min-height: 610px !important;
  max-height: none !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr) !important;
  grid-template-rows: auto !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  clip-path: inset(0 round 32px);
  -webkit-mask-image: none !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24) !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
  margin-top: 0 !important;
  padding-top: 28px !important;
}

/* Public content is always contained inside the same visual width as the app. */
body.astodo-public-landing .astodo-page-content,
body.astodo-public-landing .astodo-page-content-inner,
body.astodo-public-landing .astodo-seo-pro,
body.astodo-public-landing .astodo-seo-pro > * {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.astodo-public-landing .astodo-page-content-inner {
  width: min(1080px, 100%) !important;
}

body.astodo-public-landing .astodo-page-content img,
body.astodo-public-landing .astodo-page-content video,
body.astodo-public-landing .astodo-page-content iframe,
body.astodo-public-landing .astodo-page-content figure,
body.astodo-public-landing .astodo-page-content table {
  max-width: 100% !important;
}

body.astodo-public-landing .astodo-page-content h1,
body.astodo-public-landing .astodo-page-content h2,
body.astodo-public-landing .astodo-page-content h3,
body.astodo-public-landing .astodo-page-content h4,
body.astodo-public-landing .astodo-page-content p,
body.astodo-public-landing .astodo-page-content li,
body.astodo-public-landing .astodo-page-content a,
body.astodo-public-landing .astodo-page-content summary {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* Tablet */
@media (max-width: 900px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    display: none !important;
  }
}

/* Phone */
@media (max-width: 760px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
    width: calc(100% - 16px);
    margin-top: 8px;
    gap: 8px;
  }

  body.astodo-public-landing .astodo-main-info-nav {
    min-height: 0;
    padding: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "start brand"
      "nav nav";
    gap: 7px 9px;
    border-radius: 18px;
    direction: ltr;
  }

  body.astodo-public-landing .astodo-main-info-brand {
    direction: rtl;
    justify-self: end;
  }

  body.astodo-public-landing .astodo-main-info-brand img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 12px;
  }

  body.astodo-public-landing .astodo-main-info-brand strong {
    font-size: 13px;
  }

  body.astodo-public-landing .astodo-main-info-brand small {
    font-size: 8.5px;
  }

  body.astodo-public-landing .astodo-main-info-start {
    direction: rtl;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 11px;
    font-size: 9.5px;
  }

  body.astodo-public-landing .astodo-main-info-nav nav {
    direction: rtl;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding-top: 7px;
    border-top: 1px solid rgba(132, 149, 197, .14);
  }

  body.astodo-public-landing .astodo-main-info-nav nav a {
    min-width: 0;
    padding: 8px 2px;
    text-align: center;
    font-size: 9.5px;
    line-height: 1.55;
    white-space: normal;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-banner {
    width: 100% !important;
    min-height: 52px !important;
    padding: 7px 8px !important;
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    border-radius: 16px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-copy strong {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-copy p {
    display: none !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack .astodo-install-action {
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 9.5px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-app {
    min-height: 0 !important;
    height: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 8px 22px !important;
    display: block !important;
    overflow: visible !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: 100% !important;
    max-width: 560px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 24px !important;
    clip-path: inset(0 round 24px);
    overflow: hidden !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 17px 14px 19px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 13px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    display: none !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-brand {
    width: 100% !important;
    gap: 9px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-brand strong {
    font-size: 18px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-brand small {
    font-size: 9px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 13px 9px !important;
    border-radius: 17px !important;
    font-size: clamp(22px, 6.8vw, 28px) !important;
    line-height: 1.48 !important;
    letter-spacing: -.35px !important;
    text-align: center !important;
    overflow-wrap: break-word !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    font-size: 11.5px !important;
    line-height: 1.9 !important;
    text-align: center !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-feature-list {
    display: none !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none !important;
    gap: 8px !important;
    margin: 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 9px 12px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action strong {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action small {
    font-size: 9.5px !important;
    line-height: 1.55 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-about-links {
    display: none !important;
  }

  /* Eliminate the old empty viewport between the app card and editor content. */
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
    margin-top: 0 !important;
    padding: 22px 8px max(92px, calc(74px + env(safe-area-inset-bottom))) !important;
    overflow-x: hidden !important;
  }

  body.astodo-public-landing .astodo-page-content-inner {
    width: 100% !important;
  }

  body.astodo-public-landing .astodo-seo-pro {
    width: 100% !important;
    gap: 12px !important;
  }

  body.astodo-public-landing .astodo-seo-hero,
  body.astodo-public-landing .astodo-seo-section,
  body.astodo-public-landing .astodo-seo-why,
  body.astodo-public-landing .astodo-editor-seo-faq {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 17px 13px !important;
    border-radius: 19px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.astodo-public-landing .astodo-seo-visual {
    order: -1;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 13px !important;
    border-radius: 17px !important;
  }

  body.astodo-public-landing .astodo-seo-visual img {
    width: 102px !important;
    max-width: 34vw !important;
    height: auto !important;
    border-radius: 20px !important;
  }

  body.astodo-public-landing .astodo-seo-visual figcaption {
    margin-top: 8px !important;
    font-size: 9.5px !important;
  }

  body.astodo-public-landing .astodo-seo-kicker,
  body.astodo-public-landing .astodo-seo-section-head > span {
    max-width: 100% !important;
    padding: 6px 10px !important;
    font-size: 9.5px !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body.astodo-public-landing .astodo-seo-hero h2 {
    margin: 10px 0 9px !important;
    font-size: clamp(22px, 6.8vw, 28px) !important;
    line-height: 1.55 !important;
    letter-spacing: -.3px !important;
  }

  body.astodo-public-landing .astodo-seo-section-head h3,
  body.astodo-public-landing .astodo-seo-why h3,
  body.astodo-public-landing .astodo-editor-seo-faq > h3 {
    font-size: clamp(18px, 5.5vw, 23px) !important;
    line-height: 1.65 !important;
  }

  body.astodo-public-landing .astodo-seo-hero p,
  body.astodo-public-landing .astodo-seo-richtext p,
  body.astodo-public-landing .astodo-seo-why p,
  body.astodo-public-landing .astodo-page-content p {
    margin-bottom: 9px !important;
    font-size: 12.7px !important;
    line-height: 2 !important;
    text-align: right !important;
  }

  body.astodo-public-landing .astodo-seo-richtext {
    columns: 1 !important;
    column-count: 1 !important;
  }

  body.astodo-public-landing .astodo-seo-feature-grid,
  body.astodo-public-landing .astodo-seo-use-grid,
  body.astodo-public-landing .astodo-seo-steps {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  body.astodo-public-landing .astodo-seo-feature-grid article,
  body.astodo-public-landing .astodo-seo-use-grid article,
  body.astodo-public-landing .astodo-seo-steps li {
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    border-radius: 15px !important;
  }

  body.astodo-public-landing .astodo-seo-feature-grid h4,
  body.astodo-public-landing .astodo-seo-use-grid h4,
  body.astodo-public-landing .astodo-seo-steps h4 {
    font-size: 13.5px !important;
    line-height: 1.75 !important;
  }

  body.astodo-public-landing .astodo-seo-feature-grid p,
  body.astodo-public-landing .astodo-seo-use-grid p,
  body.astodo-public-landing .astodo-seo-steps p {
    font-size: 11.5px !important;
    line-height: 1.9 !important;
  }

  body.astodo-public-landing .astodo-seo-stat-box {
    width: 100% !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }

  body.astodo-public-landing .astodo-seo-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.astodo-public-landing .astodo-seo-actions a,
  body.astodo-public-landing .astodo-seo-final-cta > a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 9px 12px !important;
    border-radius: 13px !important;
    font-size: 11px !important;
    box-sizing: border-box !important;
  }

  body.astodo-public-landing .astodo-editor-seo-faq summary {
    padding: 14px 0 14px 31px !important;
    font-size: 12px !important;
    line-height: 1.85 !important;
  }
}

@media (max-width: 390px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
    width: calc(100% - 12px);
  }

  body.astodo-public-landing .astodo-main-info-brand small {
    display: none;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    padding: 15px 11px 17px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    font-size: 21px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  body.astodo-public-landing .astodo-seo-hero,
  body.astodo-public-landing .astodo-seo-section,
  body.astodo-public-landing .astodo-seo-why,
  body.astodo-public-landing .astodo-editor-seo-faq {
    padding: 15px 11px !important;
    border-radius: 17px !important;
  }
}


/* ===== Stable landing, header installer and true modal portal — v1.6.41 =====
   Final authoritative layer for the public Listino landing page.
   Keeps internal application screens and informational pages isolated. */

/* The old floating installer is retired. Installation is initiated from the header button. */
.astodo-install-banner {
  display: none !important;
}

/* Modal is now mounted directly under body: nothing in editor content can cover it. */
body > .astodo-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: clamp(10px, 2.5vw, 22px) !important;
  display: grid !important;
  place-items: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  isolation: isolate !important;
  background: rgba(2, 6, 18, .80) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.12) !important;
  backdrop-filter: blur(16px) saturate(1.12) !important;
  box-sizing: border-box !important;
}

body > .astodo-modal-backdrop,
body > .astodo-modal-backdrop * {
  box-sizing: border-box !important;
  font-family: var(--astodo-font) !important;
}

body > .astodo-modal-backdrop .astodo-modal {
  position: relative !important;
  z-index: 2 !important;
  width: min(470px, 100%) !important;
  max-height: min(760px, calc(100dvh - 28px)) !important;
  margin: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

html.astodo-modal-open,
body.astodo-modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

html.astodo-modal-open .astodo-public-top-stack,
body.astodo-modal-open .astodo-public-top-stack,
html.astodo-modal-open .astodo-page-content,
body.astodo-modal-open .astodo-page-content,
html.astodo-modal-open .astodo-global-tools,
body.astodo-modal-open .astodo-global-tools,
html.astodo-modal-open .astodo-desktop-nav,
body.astodo-modal-open .astodo-desktop-nav,
html.astodo-modal-open .astodo-mobile-bottom-nav,
body.astodo-modal-open .astodo-mobile-bottom-nav,
html.astodo-modal-open .astodo-installed-dock,
body.astodo-modal-open .astodo-installed-dock {
  pointer-events: none !important;
}

/* Main header mirrors the informational-page header, with install replacing "enter app". */
body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
  position: relative !important;
  z-index: 140 !important;
  width: min(1080px, calc(100% - 32px)) !important;
  margin: 14px auto 0 !important;
  display: block !important;
}

body.astodo-public-landing .astodo-main-info-nav {
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border: 1px solid rgba(136, 153, 202, .20) !important;
  border-radius: 21px !important;
  background: rgba(12, 23, 44, .82) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}

body.astodo-public-landing .astodo-main-info-brand {
  order: 1 !important;
  flex: 1 1 0 !important;
  justify-self: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

body.astodo-public-landing .astodo-main-info-brand-textonly {
  padding-inline: 4px !important;
}

body.astodo-public-landing .astodo-main-info-brand-textonly span {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

body.astodo-public-landing .astodo-main-info-brand-textonly strong {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.astodo-public-landing .astodo-main-info-brand-textonly small {
  color: #9eabc3 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.astodo-public-landing .astodo-main-info-nav nav {
  order: 2 !important;
  flex: 0 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}

body.astodo-public-landing .astodo-main-info-install {
  order: 3 !important;
  flex: 0 0 auto !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 10px 17px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #7164ff, #5548e7) !important;
  color: #fff !important;
  font-family: var(--astodo-font) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(84, 71, 229, .28) !important;
  transition: transform .24s ease, box-shadow .24s ease, opacity .24s ease !important;
}

body.astodo-public-landing .astodo-main-info-install:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 15px 34px rgba(84, 71, 229, .36) !important;
}

body.astodo-public-landing .astodo-main-info-install.is-install-ready::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-radius: 50%;
  background: #6ef0c6;
  box-shadow: 0 0 0 5px rgba(110, 240, 198, .10);
}

body.astodo-public-landing .astodo-main-info-install:disabled,
body.astodo-public-landing .astodo-main-info-install.is-installed {
  opacity: .72 !important;
  cursor: default !important;
  transform: none !important;
}

/* Compact, natural vertical rhythm: header -> app -> editor content. */
body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-app {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 16px 18px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
  width: min(1040px, 100%) !important;
  min-height: 580px !important;
  height: auto !important;
  margin: 0 auto !important;
  border-radius: 30px !important;
  clip-path: inset(0 round 30px) !important;
  overflow: hidden !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
  min-height: 580px !important;
  height: auto !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: 12px !important;
}

/* Tablet and phone: same header language as informational pages. */
@media (max-width: 820px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
    width: min(100% - 20px, 1080px) !important;
    margin-top: 9px !important;
  }

  body.astodo-public-landing .astodo-main-info-nav {
    min-height: 0 !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  body.astodo-public-landing .astodo-main-info-brand {
    order: 1 !important;
    flex: 1 1 auto !important;
  }

  body.astodo-public-landing .astodo-main-info-install {
    order: 2 !important;
    min-height: 42px !important;
    padding: 9px 14px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
  }

  body.astodo-public-landing .astodo-main-info-nav nav {
    order: 3 !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(132, 149, 197, .14) !important;
  }

  body.astodo-public-landing .astodo-main-info-nav nav a {
    min-width: 0 !important;
    padding: 8px 4px !important;
    text-align: center !important;
    font-size: 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 10px 8px 10px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: 100% !important;
    max-width: 560px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 26px !important;
    clip-path: inset(0 round 26px) !important;
    overflow: hidden !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 19px 16px 21px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    display: none !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero {
    margin: 2px 0 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    padding: 16px 12px !important;
    border-radius: 20px !important;
    font-size: clamp(24px, 7vw, 31px) !important;
    line-height: 1.52 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero p {
    margin: 9px 2px 0 !important;
    font-size: 11.5px !important;
    line-height: 1.9 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  /* Restore the substantial original mobile action cards. */
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 76px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border-radius: 20px !important;
    text-align: right !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action > svg {
    width: 28px !important;
    height: 28px !important;
    flex: 0 0 28px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action span {
    min-width: 0 !important;
    gap: 3px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action strong {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action small {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
    margin: 0 !important;
    padding: 10px 8px max(88px, calc(72px + env(safe-area-inset-bottom))) !important;
  }

  body > .astodo-modal-backdrop {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)) !important;
    align-items: center !important;
  }

  body > .astodo-modal-backdrop .astodo-modal {
    width: min(440px, 100%) !important;
    max-height: calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom))) !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 390px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
    width: calc(100% - 12px) !important;
  }

  body.astodo-public-landing .astodo-main-info-brand-textonly small {
    display: none !important;
  }

  body.astodo-public-landing .astodo-main-info-install {
    padding: 8px 11px !important;
    font-size: 9.5px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    padding: 17px 12px 19px !important;
    gap: 13px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    padding: 14px 9px !important;
    font-size: 22px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action {
    min-height: 72px !important;
    padding: 12px 13px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action strong {
    font-size: 16px !important;
  }
}


/* ===== Unified above-the-fold landing header and viewport rhythm — v1.6.42 =====
   Header matches the informational pages, the entry card fills the first viewport,
   and editor/SEO content starts immediately after it with a controlled gap. */

body.astodo-public-landing:not(.astodo-internal-view) {
  --astodo-public-header-gap: 24px;
  --astodo-public-header-space: 106px;
}

/* Exact informational-page header language, now with app icon, theme and installer. */
body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
  width: min(1080px, calc(100% - 32px)) !important;
  margin: 14px auto 0 !important;
}

body.astodo-public-landing .astodo-main-info-nav {
  width: 100% !important;
  min-height: 68px !important;
  padding: 10px 13px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  border-radius: 21px !important;
}

body.astodo-public-landing .astodo-main-info-brand {
  order: 1 !important;
  flex: 1 1 0 !important;
  min-width: 180px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.astodo-public-landing .astodo-main-info-brand img {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 24px rgba(69, 55, 210, .24) !important;
}

body.astodo-public-landing .astodo-main-info-brand span {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
}

body.astodo-public-landing .astodo-main-info-brand strong {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.astodo-public-landing .astodo-main-info-brand small {
  color: #9eabc3 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.astodo-public-landing .astodo-main-info-nav nav {
  order: 2 !important;
  flex: 0 1 auto !important;
}

body.astodo-public-landing .astodo-main-info-actions {
  order: 3 !important;
  flex: 1 1 0 !important;
  min-width: 180px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

body.astodo-public-landing .astodo-main-info-theme,
body.astodo-public-landing .astodo-main-info-install {
  min-height: 42px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  font-family: var(--astodo-font) !important;
  white-space: nowrap !important;
}

body.astodo-public-landing .astodo-main-info-theme {
  min-width: 84px !important;
  padding: 9px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 1px solid rgba(136, 153, 202, .18) !important;
  background: rgba(255, 255, 255, .055) !important;
  color: #e9edff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: transform .22s ease, background .22s ease, border-color .22s ease !important;
}

body.astodo-public-landing .astodo-main-info-theme:hover {
  transform: translateY(-1px) !important;
  background: rgba(112, 96, 255, .13) !important;
  border-color: rgba(136, 126, 255, .28) !important;
}

body.astodo-public-landing .astodo-main-info-theme .astodo-theme-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
}

body.astodo-public-landing .astodo-main-info-theme .astodo-theme-icon::before {
  font-size: 18px !important;
}

body.astodo-public-landing .astodo-main-info-install {
  position: relative !important;
  min-width: 92px !important;
  padding: 10px 17px 10px 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.astodo-public-landing .astodo-main-info-install::before {
  content: none !important;
  display: none !important;
}

body.astodo-public-landing .astodo-install-status-dot {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  width: 7px !important;
  height: 7px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #6ef0c6 !important;
  box-shadow: 0 0 0 5px rgba(110, 240, 198, .10) !important;
  transform: translateY(-50%) !important;
}

body.astodo-public-landing .astodo-main-info-install:not(.is-install-ready):not(.is-installed) .astodo-install-status-dot {
  opacity: .38 !important;
  box-shadow: none !important;
}

/* Brand and theme have visually moved to the page header. Keep the original node only
   for standalone PWA mode, where the public header is intentionally absent. */
html:not(.astodo-is-standalone) body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-brand {
  display: none !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-global-tools {
  display: none !important;
}

/* The header and the main app occupy the first viewport, exactly before SEO content. */
body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-app {
  min-height: calc(100dvh - var(--astodo-public-header-space)) !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
  min-height: calc(100dvh - var(--astodo-public-header-space)) !important;
  padding: var(--astodo-public-header-gap) 16px 18px !important;
  align-items: stretch !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
  width: min(1040px, 100%) !important;
  min-height: calc(100dvh - var(--astodo-public-header-space) - var(--astodo-public-header-gap) - 18px) !important;
  align-self: stretch !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
  min-height: calc(100dvh - var(--astodo-public-header-space) - var(--astodo-public-header-gap) - 18px) !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
  margin: 0 !important;
  padding-top: 24px !important;
}

@media (max-width: 820px) {
  body.astodo-public-landing:not(.astodo-internal-view) {
    --astodo-public-header-gap: 12px;
    --astodo-public-header-space: 183px;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
    width: min(100% - 20px, 1080px) !important;
    margin-top: 9px !important;
  }

  body.astodo-public-landing .astodo-main-info-nav {
    min-height: 0 !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  body.astodo-public-landing .astodo-main-info-brand {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.astodo-public-landing .astodo-main-info-brand img {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  body.astodo-public-landing .astodo-main-info-actions {
    order: 2 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    gap: 6px !important;
  }

  body.astodo-public-landing .astodo-main-info-theme {
    min-width: 42px !important;
    width: 42px !important;
    padding: 0 !important;
  }

  body.astodo-public-landing .astodo-main-info-theme .astodo-mobile-theme-text {
    display: none !important;
  }

  body.astodo-public-landing .astodo-main-info-install {
    min-width: 86px !important;
    min-height: 42px !important;
    padding: 9px 13px 9px 31px !important;
    font-size: 10px !important;
  }

  body.astodo-public-landing .astodo-install-status-dot {
    right: 12px !important;
  }

  body.astodo-public-landing .astodo-main-info-nav nav {
    order: 3 !important;
    width: 100% !important;
    flex: 1 0 100% !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    min-height: calc(100dvh - var(--astodo-public-header-space)) !important;
    padding: var(--astodo-public-header-gap) 8px 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: 100% !important;
    max-width: 560px !important;
    min-height: max(540px, calc(100dvh - var(--astodo-public-header-space) - var(--astodo-public-header-gap))) !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    min-height: max(540px, calc(100dvh - var(--astodo-public-header-space) - var(--astodo-public-header-gap))) !important;
    padding: 22px 16px 24px !important;
    justify-content: flex-start !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    min-height: 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero {
    margin-top: 0 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    margin-top: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
    padding-top: 24px !important;
  }
}

@media (max-width: 390px) {
  body.astodo-public-landing:not(.astodo-internal-view) {
    --astodo-public-header-space: 174px;
  }

  body.astodo-public-landing .astodo-main-info-brand small {
    display: none !important;
  }

  body.astodo-public-landing .astodo-main-info-brand img {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    border-radius: 12px !important;
  }

  body.astodo-public-landing .astodo-main-info-actions {
    gap: 5px !important;
  }

  body.astodo-public-landing .astodo-main-info-install {
    min-width: 80px !important;
    padding-left: 29px !important;
    font-size: 9.5px !important;
  }
}


/* ===== Stable launch-ready landing layout — v1.6.43 =====
   Keeps the desktop hero compact, mirrors the internal-page header on mobile,
   and prevents Safari toolbar changes from resizing the three primary actions. */

/* Correct the installer status dot placement for RTL: dot stays to the right of text. */
body.astodo-public-landing .astodo-main-info-install {
  padding: 10px 34px 10px 17px !important;
}

/* Desktop: restore the proven 620px product card instead of stretching it to 100dvh. */
@media (min-width: 821px) {
  body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-app,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    min-height: 0 !important;
    height: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    padding: 24px 16px 0 !important;
    place-items: center !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: min(1040px, 100%) !important;
    height: 620px !important;
    min-height: 620px !important;
    max-height: 620px !important;
    align-self: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 620px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
    margin: 0 !important;
    padding-top: 24px !important;
  }
}

/* Mobile/tablet: copy the internal-page header rhythm exactly. */
@media (max-width: 820px) {
  body.astodo-public-landing:not(.astodo-internal-view) {
    --astodo-public-header-gap: 12px;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-public-top-stack {
    width: min(100% - 20px, 1080px) !important;
    margin: 10px auto 0 !important;
  }

  body.astodo-public-landing .astodo-main-info-nav {
    min-height: auto !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    padding: 10px !important;
    border-radius: 17px !important;
  }

  body.astodo-public-landing .astodo-main-info-brand {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.astodo-public-landing .astodo-main-info-brand img {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 14px !important;
  }

  /* The internal page has one action in this row; keep the landing identical. */
  body.astodo-public-landing .astodo-main-info-actions {
    order: 2 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  body.astodo-public-landing .astodo-main-info-theme {
    display: none !important;
  }

  body.astodo-public-landing .astodo-main-info-install {
    min-width: 92px !important;
    min-height: 42px !important;
    padding: 10px 31px 10px 15px !important;
    border-radius: 13px !important;
    font-size: 11px !important;
  }

  body.astodo-public-landing .astodo-install-status-dot {
    right: 13px !important;
  }

  body.astodo-public-landing .astodo-main-info-nav nav {
    order: 3 !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(132, 149, 197, .14) !important;
  }

  body.astodo-public-landing .astodo-main-info-nav nav a {
    padding: 8px 4px !important;
    border-radius: 11px !important;
    text-align: center !important;
    font-size: 10px !important;
  }

  /* Stable small viewport units do not change when Safari's toolbar appears/disappears. */
  body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-app,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    min-height: calc(100svh - var(--astodo-public-header-space)) !important;
    height: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    padding: var(--astodo-public-header-gap) 8px 0 !important;
    align-items: stretch !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    width: 100% !important;
    max-width: 560px !important;
    min-height: calc(100svh - var(--astodo-public-header-space) - var(--astodo-public-header-gap)) !important;
    height: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    padding: 18px 16px 18px !important;
    gap: 12px !important;
    justify-content: flex-start !important;
  }

  /* Keep the mobile headline complete and on one line at every supported width. */
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 10px !important;
    border-radius: 22px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    text-align: center !important;
    font-size: clamp(13px, 4.2vw, 18px) !important;
    line-height: 1.55 !important;
    letter-spacing: -.28px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero > p {
    display: none !important;
  }

  /* Fixed, scroll-proof action rows. Their dimensions no longer depend on 100dvh. */
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, clamp(104px, 15svh, 128px)) !important;
    gap: 11px !important;
    margin: auto 0 0 !important;
    flex: 0 0 auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 14px 18px !important;
    gap: 14px !important;
    border-radius: 22px !important;
    flex: 0 0 auto !important;
    transform: none !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action:active {
    transform: scale(.985) !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action > svg {
    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action span {
    gap: 3px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action strong {
    font-size: clamp(16px, 4.8vw, 21px) !important;
    line-height: 1.45 !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action small {
    display: block !important;
    font-size: clamp(10px, 3.2vw, 13px) !important;
    line-height: 1.55 !important;
  }

  /* Same rhythm above and below the main product section. */
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
    margin: 0 !important;
    padding-top: var(--astodo-public-header-gap) !important;
  }
}

@media (max-width: 390px) {
  body.astodo-public-landing .astodo-main-info-brand small {
    display: none !important;
  }

  body.astodo-public-landing .astodo-main-info-brand img {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    border-radius: 12px !important;
  }

  body.astodo-public-landing .astodo-main-info-install {
    min-width: 86px !important;
    padding-right: 29px !important;
    padding-left: 12px !important;
    font-size: 10px !important;
  }
}

/* ===== Exact 20px landing section rhythm — v1.6.44 =====
   Final spacing authority for the public landing page. The header, product card
   and editor/SEO content now sit in normal document flow with a fixed 20px gap
   on desktop, tablet and mobile. */
body.astodo-public-landing:not(.astodo-internal-view) {
  --astodo-public-section-gap: 20px;
}

body.astodo-public-landing:not(.astodo-internal-view) #astodo-app,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-app {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: var(--astodo-public-section-gap) 0 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content {
  margin: var(--astodo-public-section-gap) 0 0 !important;
  padding-top: 0 !important;
}

@media (min-width: 821px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    margin: 0 auto !important;
  }
}

@media (max-width: 820px) {
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-screen,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-auth-screen {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap,
  body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    min-height: 0 !important;
    height: auto !important;
  }

  body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    margin-top: 12px !important;
  }
}

/* ===== Public landing layout & mobile navigation consolidation — v1.6.45 =====
   One authoritative layout block: exact 20px section gaps, a compact desktop hero,
   an internal-page-style mobile header, and a dedicated public information navbar. */

.astodo-public-mobile-info-nav {
  display: none;
}

html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) {
  --astodo-public-section-gap: 20px;
  height: auto !important;
  min-height: 100% !important;
  padding-top: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-top-stack {
  position: relative !important;
  inset: auto !important;
  width: min(1080px, calc(100% - 32px)) !important;
  margin: 14px auto 0 !important;
  padding: 0 !important;
}

html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: var(--astodo-public-section-gap) 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-entry-screen,
html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-auth-screen {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
}

html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-page-content {
  width: 100% !important;
  margin: var(--astodo-public-section-gap) 0 0 !important;
  padding-top: 0 !important;
}

/* Desktop remains compact so the beginning of the content section is visible immediately. */
@media (min-width: 821px) {
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-entry-screen,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-auth-screen {
    display: grid !important;
    place-items: center !important;
    padding: 0 16px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: min(1040px, 100%) !important;
    min-height: 580px !important;
    height: 580px !important;
    max-height: 580px !important;
    margin: 0 auto !important;
    align-self: auto !important;
    border-radius: 30px !important;
    clip-path: inset(0 round 30px) !important;
    overflow: hidden !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    min-height: 0 !important;
    height: 580px !important;
    max-height: 580px !important;
  }
}

/* Mobile/tablet header: brand on the right, installer and theme together on the left. */
@media (max-width: 820px) {
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) {
    padding-bottom: max(88px, calc(76px + env(safe-area-inset-bottom))) !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-top-stack,
  html.astodo-is-standalone body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-top-stack {
    display: block !important;
    width: calc(100% - 20px) !important;
    margin: 10px auto 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-nav {
    width: 100% !important;
    min-height: 68px !important;
    padding: 10px 11px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-brand {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 9px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-brand img {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border-radius: 14px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-brand strong {
    font-size: 15px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-brand small {
    display: none !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-actions {
    order: 2 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-theme {
    min-width: 46px !important;
    width: 46px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 13px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-theme .astodo-mobile-theme-text {
    display: none !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-install {
    min-width: 94px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 9px 31px 9px 13px !important;
    border-radius: 13px !important;
    font-size: 10.5px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-install-status-dot {
    right: 13px !important;
    left: auto !important;
  }

  /* Informational links leave the header and become a stable emoji navbar. */
  html body.astodo-app-body.astodo-public-landing .astodo-main-info-nav > nav {
    display: none !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-mobile-info-nav {
    position: fixed !important;
    z-index: 2147482400 !important;
    right: 10px !important;
    left: 10px !important;
    bottom: max(9px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    min-height: 64px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 7px !important;
    border: 1px solid rgba(159, 169, 220, .28) !important;
    border-radius: 22px !important;
    background: rgba(17, 25, 52, .80) !important;
    box-shadow: 0 18px 52px rgba(1, 5, 20, .36), inset 0 1px 0 rgba(255, 255, 255, .12) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.35) !important;
    backdrop-filter: blur(24px) saturate(1.35) !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-mobile-info-nav a {
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 5px 3px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    border-radius: 15px !important;
    color: #f7f8ff !important;
    text-decoration: none !important;
    font-family: var(--astodo-font) !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-mobile-info-nav a:active {
    background: rgba(111, 91, 255, .16) !important;
    transform: scale(.98) !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-mobile-info-nav span {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-mobile-info-nav small {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 9.5px !important;
    font-weight: 850 !important;
    line-height: 1.45 !important;
  }

  html.astodo-modal-open body.astodo-app-body.astodo-public-landing > .astodo-public-mobile-info-nav,
  body.astodo-app-body.astodo-public-landing.astodo-modal-open > .astodo-public-mobile-info-nav,
  html body.astodo-app-body.astodo-public-landing.astodo-internal-view > .astodo-public-mobile-info-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* The installed shortcut dock would duplicate the public information navbar. */
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-installed-dock {
    display: none !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app {
    margin-top: var(--astodo-public-section-gap) !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-entry-screen,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-auth-screen {
    display: block !important;
    padding: 0 8px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: 100% !important;
    max-width: 560px !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 26px !important;
    clip-path: inset(0 round 26px) !important;
    overflow: hidden !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 18px 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-brand,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-feature-list,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-about-links {
    display: none !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero {
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    width: 100% !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 16px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 22px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-align: center !important;
    font-size: clamp(14px, 4.3vw, 18px) !important;
    line-height: 1.5 !important;
    letter-spacing: -.25px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero > p {
    display: none !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    width: 100% !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(3, 112px) !important;
    gap: 11px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 112px !important;
    height: 112px !important;
    max-height: 112px !important;
    padding: 15px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    border-radius: 22px !important;
    transform: none !important;
    flex: 0 0 112px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action:active {
    transform: scale(.985) !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-page-content {
    margin-top: var(--astodo-public-section-gap) !important;
    padding: 0 8px max(96px, calc(82px + env(safe-area-inset-bottom))) !important;
  }
}

@media (max-width: 390px) {
  html body.astodo-app-body.astodo-public-landing .astodo-main-info-brand img {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    border-radius: 12px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-install {
    min-width: 86px !important;
    padding-right: 29px !important;
    padding-left: 11px !important;
    font-size: 9.5px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual {
    padding: 15px 12px 17px !important;
    gap: 10px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-hero h1 {
    min-height: 70px !important;
    padding: 14px 6px !important;
    font-size: 14px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-primary-actions {
    grid-template-rows: repeat(3, 104px) !important;
    gap: 9px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-mobile-action {
    min-height: 104px !important;
    height: 104px !important;
    max-height: 104px !important;
    flex-basis: 104px !important;
    padding: 13px 14px !important;
  }
}

/* Polished iOS installation dialog. */
.astodo-ios-guide {
  z-index: 2147483646 !important;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) !important;
  background: rgba(2, 6, 18, .82) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
}

.astodo-ios-guide-card {
  width: min(440px, 100%) !important;
  max-height: calc(100dvh - 24px) !important;
  padding: 26px 22px 22px !important;
  overflow-y: auto !important;
  border-radius: 28px !important;
  border-color: rgba(143, 130, 255, .34) !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(112, 91, 255, .22), transparent 35%),
    linear-gradient(155deg, rgba(25, 38, 76, .98), rgba(8, 15, 32, .99)) !important;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  text-align: right !important;
}

.astodo-ios-guide-card > button {
  top: 13px !important;
  left: 13px !important;
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 13px !important;
}

.astodo-ios-guide-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(147, 136, 255, .25);
  border-radius: 22px;
  background: rgba(113, 96, 255, .12);
  box-shadow: 0 16px 42px rgba(73, 57, 220, .22);
  font-size: 34px;
}

.astodo-ios-guide-icon img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 18px;
}

.astodo-ios-guide-kicker {
  width: fit-content;
  margin: 0 auto 9px;
  padding: 6px 10px;
  border: 1px solid rgba(147, 136, 255, .28);
  border-radius: 999px;
  color: #c9c3ff !important;
  background: rgba(112, 96, 255, .10) !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  text-align: center;
}

.astodo-ios-guide-card strong {
  margin: 0 0 8px !important;
  font-size: 21px !important;
  text-align: center !important;
}

.astodo-ios-guide-card > p {
  margin: 0 0 14px !important;
  text-align: center !important;
  font-size: 12px !important;
}

.astodo-ios-guide-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.astodo-ios-guide-steps li {
  min-height: 54px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(132, 149, 197, .17);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  color: #d8def0;
  font-size: 11.5px;
  line-height: 1.8;
}

.astodo-ios-guide-steps b {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #786aff, #5144dc);
  box-shadow: 0 8px 20px rgba(83, 68, 222, .28);
}

.astodo-ios-guide-steps em {
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.astodo-ios-guide-note {
  margin-top: 12px !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(52, 201, 165, .22) !important;
  border-radius: 15px !important;
  color: #c8f5e8 !important;
  background: rgba(32, 139, 119, .12) !important;
  text-align: center !important;
  font-size: 10.5px !important;
  line-height: 1.8 !important;
}

/* ===== Final launch header, install dialog and in-page info gateways — v1.6.46 ===== */
html.astodo-public-landing {
  scroll-behavior: smooth;
}

/* Desktop viewport rhythm: the primary panel remains centered while a header-sized
   preview of the following content stays visible in the first viewport. */
@media (min-width: 821px) {
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-entry-screen,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-auth-screen {
    min-height: 0 !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 16px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: min(1040px, 100%) !important;
    min-height: clamp(580px, calc(100svh - 190px), 680px) !important;
    height: clamp(580px, calc(100svh - 190px), 680px) !important;
    max-height: 680px !important;
    margin: 0 auto !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-visual,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-panel {
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
  }
}

/* Mobile header placement is explicit and independent of RTL flex ordering. */
@media (max-width: 820px) {
  html body.astodo-app-body.astodo-public-landing .astodo-main-info-nav {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    column-gap: 10px !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: initial !important;
    width: auto !important;
    justify-self: end !important;
    justify-content: flex-start !important;
    direction: rtl !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-actions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: initial !important;
    justify-self: start !important;
    direction: ltr !important;
    flex-direction: row-reverse !important;
  }

  html body.astodo-app-body.astodo-public-landing .astodo-main-info-install,
  html body.astodo-app-body.astodo-public-landing .astodo-main-info-theme {
    flex-shrink: 0 !important;
  }
}

/* Keep the iOS helper comfortably inside every phone viewport. */
@media (max-width: 820px) {
  .astodo-ios-guide {
    padding-top: max(16px, env(safe-area-inset-top)) !important;
    padding-right: 16px !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
    padding-left: 16px !important;
  }

  .astodo-ios-guide-card {
    width: min(430px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100svh - 32px) !important;
    margin: auto !important;
    padding: 24px 18px 19px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    overscroll-behavior: contain !important;
  }

  .astodo-ios-guide-card > button {
    top: 11px !important;
    left: 11px !important;
  }

  .astodo-ios-guide-steps li {
    padding: 10px !important;
    gap: 9px !important;
  }
}

/* In-page summaries targeted by the public mobile navbar. */
.astodo-home-info-gateway {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0 0 20px;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(133, 148, 202, .18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(110, 91, 255, .13), transparent 32%),
    radial-gradient(circle at 5% 100%, rgba(38, 197, 164, .08), transparent 30%),
    rgba(15, 28, 53, .88);
  box-shadow: 0 24px 70px rgba(1, 6, 22, .20), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.astodo-home-info-head {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.astodo-home-info-head > span {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid rgba(127, 112, 255, .28);
  border-radius: 999px;
  color: #c8c1ff;
  background: rgba(112, 96, 255, .10);
  font-size: 10px;
  font-weight: 900;
}

.astodo-home-info-head h2 {
  margin: 11px 0 7px;
  color: #fff;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.6;
}

.astodo-home-info-head p {
  margin: 0;
  color: #b8c3d8;
  font-size: 13px;
  line-height: 2;
}

.astodo-home-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.astodo-home-info-card {
  position: relative;
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(133, 148, 202, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .025);
  scroll-margin-top: 18px;
  outline: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.astodo-home-info-card:target,
.astodo-home-info-card:focus,
.astodo-home-info-card:hover {
  border-color: rgba(126, 110, 255, .34);
  background: rgba(111, 91, 255, .055);
  transform: translateY(-2px);
}

.astodo-home-info-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(113, 96, 255, .22), rgba(41, 193, 162, .10));
  font-size: 20px;
}

.astodo-home-info-card h3 {
  margin: 13px 0 7px;
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
}

.astodo-home-info-card p {
  margin: 0 0 15px;
  color: #b7c2d7;
  font-size: 12px;
  line-height: 2;
}

.astodo-home-info-card a {
  min-height: 42px;
  margin-top: auto;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(128, 112, 255, .24);
  border-radius: 13px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(112, 96, 255, .92), rgba(82, 69, 221, .92));
  box-shadow: 0 10px 26px rgba(77, 63, 211, .18);
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 900;
}

html[data-astodo-theme="light"] .astodo-home-info-gateway {
  border-color: rgba(78, 65, 170, .14);
  background:
    radial-gradient(circle at 90% 0%, rgba(110, 91, 255, .12), transparent 32%),
    radial-gradient(circle at 5% 100%, rgba(38, 197, 164, .09), transparent 30%),
    rgba(255, 255, 255, .86);
}

html[data-astodo-theme="light"] .astodo-home-info-head h2,
html[data-astodo-theme="light"] .astodo-home-info-card h3 {
  color: #171d31;
}

html[data-astodo-theme="light"] .astodo-home-info-head p,
html[data-astodo-theme="light"] .astodo-home-info-card p {
  color: #566079;
}

html[data-astodo-theme="light"] .astodo-home-info-card {
  border-color: rgba(78, 65, 170, .12);
  background: rgba(95, 82, 220, .035);
}

@media (max-width: 820px) {
  .astodo-home-info-gateway {
    margin-bottom: 14px;
    padding: 17px 12px;
    border-radius: 23px;
  }

  .astodo-home-info-head {
    margin-bottom: 13px;
  }

  .astodo-home-info-head h2 {
    font-size: 21px;
  }

  .astodo-home-info-head p {
    font-size: 12px;
    line-height: 1.95;
  }

  .astodo-home-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .astodo-home-info-card {
    min-height: 0;
    padding: 15px;
    border-radius: 18px;
    scroll-margin-top: 14px;
  }

  .astodo-home-info-card h3 {
    font-size: 15px;
  }

  .astodo-home-info-card p {
    font-size: 11.5px;
  }

  .astodo-home-info-card a {
    width: 100%;
  }
}


/* ===== Mobile form focus and keyboard stability — v1.6.47 ===== */
@media (max-width: 900px) {
  html,
  body.astodo-app-body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  body.astodo-app-body input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']),
  body.astodo-app-body textarea,
  body.astodo-app-body select,
  body.astodo-app-body [contenteditable='true'],
  .astodo-modal-backdrop input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']),
  .astodo-modal-backdrop textarea,
  .astodo-modal-backdrop select,
  .astodo-modal-backdrop [contenteditable='true'] {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
}

/* ===== Theme continuity, clipboard/date polish and keyboard depth — v1.6.48 ===== */

/* Final light-theme contrast layer. Keep gradient CTAs white, but make every
   informational surface, helper label and secondary action genuinely readable. */
html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-panel,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-visual,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-main,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-sidebar,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-list-panel,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-my-lists,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-modal {
  color:#172033!important;
}

html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-panel :where(h1,h2,h3,h4,strong,label),
html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-visual :where(h1,h2,h3,h4),
html[data-astodo-theme="light"] body.astodo-app-body .astodo-feature strong,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-about-links button,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-about-links button span,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-security-note strong,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-list-created-panel strong,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-account-bar,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-modal :where(h2,h3,h4,strong,label,summary),
html[data-astodo-theme="light"] body.astodo-app-body .astodo-my-list-card :where(h2,h3,strong),
html[data-astodo-theme="light"] body.astodo-app-body .astodo-item-text {
  color:#182033!important;
  -webkit-text-fill-color:#182033!important;
}

html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-panel :where(p,small),
html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-visual p,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-entry-brand small,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-security-note,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-security-note span,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-separator,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-list-created-panel span,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-modal p,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-modal small,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-my-list-card small,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-muted {
  color:#59657d!important;
  -webkit-text-fill-color:#59657d!important;
}

html[data-astodo-theme="light"] body.astodo-app-body .astodo-feature,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-about-links button,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-security-note {
  background:rgba(255,255,255,.78)!important;
  border-color:rgba(70,78,117,.15)!important;
}

html[data-astodo-theme="light"] body.astodo-app-body .astodo-feature svg,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-about-links button svg,
html[data-astodo-theme="light"] body.astodo-app-body .astodo-security-note svg {
  color:#6256e8!important;
  stroke:currentColor!important;
}

html[data-astodo-theme="light"] body.astodo-app-body .astodo-field::placeholder,
html[data-astodo-theme="light"] body.astodo-app-body textarea::placeholder {
  color:#8b94a8!important;
  -webkit-text-fill-color:#8b94a8!important;
  opacity:1!important;
}

html[data-astodo-theme="light"] body.astodo-app-body :where(.astodo-btn-primary,.astodo-mobile-action-primary,.astodo-main-info-install) :where(span,strong,small),
html[data-astodo-theme="light"] body.astodo-app-body :where(.astodo-btn-primary,.astodo-mobile-action-primary,.astodo-main-info-install) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Installed PWA date: force the Persian reading order (day on the right, month after it). */
.astodo-main-info-install-label[data-install-date="1"] {
  display:inline-flex!important;
  flex-direction:row!important;
  direction:rtl!important;
  align-items:center!important;
  gap:4px!important;
  white-space:nowrap!important;
  unicode-bidi:isolate!important;
}
.astodo-main-info-install-label[data-install-date="1"] .astodo-install-date-day {
  order:1;
  direction:rtl;
  unicode-bidi:isolate;
}
.astodo-main-info-install-label[data-install-date="1"] .astodo-install-date-month {
  order:2;
  direction:rtl;
  unicode-bidi:isolate;
}

/* Keep the full page dimmed while iOS/Android keyboards shrink VisualViewport.
   The dialog stays above this layer. */
html.astodo-keyboard-open body.astodo-app-body::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:2147483642;
  pointer-events:none;
  background:rgba(1,4,14,.68);
  -webkit-backdrop-filter:blur(10px) saturate(1.08);
  backdrop-filter:blur(10px) saturate(1.08);
  animation:astodoKeyboardDimIn .18s ease both;
}
@keyframes astodoKeyboardDimIn { from { opacity:0; } to { opacity:1; } }

@media (prefers-reduced-motion:reduce) {
  html.astodo-keyboard-open body.astodo-app-body::after { animation:none!important; }
}


/* ===== Shared browser header for every internal app screen — v1.6.49 =====
   Browser-based management, authentication and list screens reuse the exact
   public header. The landing and informational pages remain untouched. */

body.astodo-app-body.astodo-shell-header-page > .astodo-public-top-stack {
  box-sizing: border-box !important;
}

/* Show the shared header in every internal browser view. Earlier layers hide it
   intentionally, so this final layer only reverses that visibility decision. */
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view > .astodo-public-top-stack,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url > .astodo-public-top-stack {
  position: relative !important;
  inset: auto !important;
  z-index: 140 !important;
  width: min(1080px, calc(100% - 32px)) !important;
  margin: 14px auto 0 !important;
  padding: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Desktop uses the same flex arrangement as the landing header. */
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-nav,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
}

html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-brand,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-brand {
  order: 1 !important;
  flex: 1 1 0 !important;
  justify-content: flex-start !important;
}

html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-nav > nav,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-nav > nav {
  order: 2 !important;
}

html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-actions,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-actions {
  order: 3 !important;
  flex: 0 0 auto !important;
}

/* Exactly the same rhythm as the landing page: 20px from header to screen. */
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view > #astodo-app,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url > #astodo-app {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 20px 0 0 !important;
  padding-top: 0 !important;
  overflow: visible !important;
}

html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view > #astodo-app > :first-child,
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url > #astodo-app > :first-child {
  margin-top: 0 !important;
}

@media (min-width: 821px) {
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-auth-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-unavailable-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-entry-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-shell,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-auth-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-unavailable-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-entry-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-shell {
    width: min(1120px, calc(100% - 32px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* Mobile copies the current landing header exactly: logo on the right, install
   and theme controls on the left. Informational links remain out of the header,
   while the ordinary internal bottom navigation keeps its existing behavior. */
@media (max-width: 820px) {
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view > .astodo-public-top-stack,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url > .astodo-public-top-stack {
    width: calc(100% - 20px) !important;
    margin: 10px auto 0 !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-nav,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-nav {
    direction: ltr !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    min-height: 68px !important;
    padding: 10px 11px !important;
    border-radius: 18px !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-brand,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: initial !important;
    width: auto !important;
    justify-self: end !important;
    justify-content: flex-start !important;
    direction: rtl !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-actions,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-actions {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: initial !important;
    justify-self: start !important;
    direction: ltr !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 7px !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-main-info-nav > nav,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-main-info-nav > nav {
    display: none !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view > #astodo-app,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url > #astodo-app {
    margin-top: 20px !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 88px !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-auth-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-unavailable-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-entry-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-internal-view .astodo-shell,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-auth-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-unavailable-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-entry-screen,
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-private-list-url .astodo-shell {
    width: calc(100% - 20px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* Installed/standalone mode keeps the compact native app shell unchanged. */
html.astodo-is-standalone body.astodo-app-body > .astodo-public-top-stack {
  display: none !important;
}



/* ===== Landing header parity and unified desktop widths — v1.6.50 =====
   Keep the landing page header in the exact visual lane used by the dedicated
   informational pages. Only the install action remains different. */

/* The informational templates use clamp(14px, 2.5vw, 28px) as their top
   breathing room and a 24px gap below the header. Reuse the same rhythm so the
   header does not jump when navigating between pages. */
html:not(.astodo-is-standalone) body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-top-stack {
  width: min(1080px, calc(100% - 32px)) !important;
  margin: clamp(14px, 2.5vw, 28px) auto 0 !important;
}

html:not(.astodo-is-standalone) body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app {
  margin-top: 24px !important;
}

/* Match the informational header's light palette exactly. */
html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-nav {
  border-color: rgba(75, 84, 125, .14) !important;
  background: rgba(255, 255, 255, .86) !important;
  color: #172033 !important;
  box-shadow: 0 18px 50px rgba(47, 55, 91, .11), inset 0 1px 0 rgba(255, 255, 255, .94) !important;
}

html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-brand,
html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-brand strong {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
}

html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-brand small {
  color: #667189 !important;
  -webkit-text-fill-color: #667189 !important;
}

html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-nav nav a {
  color: #5d6780 !important;
  -webkit-text-fill-color: #5d6780 !important;
}

html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-nav nav a:hover,
html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-nav nav a:focus-visible {
  color: #2f285f !important;
  -webkit-text-fill-color: #2f285f !important;
  background: rgba(100, 82, 232, .11) !important;
}

html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-theme {
  color: #26304a !important;
  -webkit-text-fill-color: #26304a !important;
  border-color: rgba(75, 84, 125, .15) !important;
  background: rgba(247, 248, 255, .92) !important;
}

html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-theme:hover,
html[data-astodo-theme="light"] body.astodo-app-body.astodo-public-landing .astodo-main-info-theme:focus-visible {
  color: #2f285f !important;
  -webkit-text-fill-color: #2f285f !important;
  border-color: rgba(100, 82, 232, .24) !important;
  background: rgba(100, 82, 232, .10) !important;
}

/* The primary landing card now shares the exact 1080px content lane used by
   the header and the editor/SEO sections, instead of the older 1040px lane. */
@media (min-width: 821px) {
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-entry-screen,
  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app > .astodo-auth-screen {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-entry-wrap {
    width: min(1080px, calc(100% - 32px)) !important;
    max-width: 1080px !important;
  }

  html body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) .astodo-page-content-inner {
    width: min(1080px, calc(100% - 32px)) !important;
    max-width: 1080px !important;
  }
}

/* On phones the informational template starts around 14–15px from the top.
   Preserve the same position while keeping the established mobile width. */
@media (max-width: 820px) {
  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > .astodo-public-top-stack {
    width: calc(100% - 20px) !important;
    margin-top: clamp(14px, 2.5vw, 28px) !important;
  }

  html:not(.astodo-is-standalone) body.astodo-app-body.astodo-public-landing:not(.astodo-internal-view) > #astodo-app {
    margin-top: 24px !important;
  }
}
