:root {
  --blue: #2f67ed;
  --blue-dark: #194ccb;
  --blue-soft: #eaf0ff;
  --lime: #d6ff00;
  --text: #11151d;
  --muted: #737b8c;
  --surface: #ffffff;
  --background: #f6f7fb;
  --line: #e8ebf2;
  --danger: #d9364f;
  --success: #20a866;
  --shadow-sm: 0 5px 16px rgba(23, 39, 76, 0.08);
  --shadow-md: 0 15px 45px rgba(23, 39, 76, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: #edf0f7; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #edf0f7;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(47, 103, 237, 0.25);
  outline-offset: 2px;
}
.hidden { display: none !important; }

.app-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--background);
  box-shadow: 0 0 70px rgba(10, 25, 60, 0.12);
}
.screen { min-height: 100vh; }

/* Loading */
.app-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  background: #f8f9fd;
}
.loader-logo, .brand-mark, .mini-brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, #4d81ff, #1850dc);
  box-shadow: 0 10px 25px rgba(47, 103, 237, 0.35);
}
.loader-logo { width: 64px; height: 64px; border-radius: 20px; font-size: 30px; }
.loader-ring {
  width: 88px; height: 88px; margin-top: -76px;
  border: 4px solid transparent;
  border-top-color: var(--lime);
  border-right-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.app-loading p { margin-top: 26px; color: var(--muted); font-size: 13px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Login */
.login-screen {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 28px 22px 22px;
  background: linear-gradient(180deg, #edf2ff 0%, #f8f9fd 48%, #fff 100%);
}
.login-ambient { position: absolute; border-radius: 999px; filter: blur(2px); pointer-events: none; }
.login-ambient-one { width: 280px; height: 280px; right: -130px; top: -90px; background: rgba(47, 103, 237, 0.16); }
.login-ambient-two { width: 170px; height: 170px; left: -95px; top: 280px; background: rgba(214, 255, 0, 0.15); }
.login-brand { position: relative; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 47px; height: 47px; border-radius: 16px; font-size: 22px; }
.login-brand strong { display: block; font-size: 14px; letter-spacing: 0.09em; }
.login-brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.login-hero { position: relative; margin-top: 76px; max-width: 370px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: 0.14em; }
.login-hero h1 { margin: 0; font-size: clamp(33px, 9vw, 46px); line-height: 1.04; letter-spacing: -0.045em; }
.login-hero > p:last-child { max-width: 340px; margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.login-card {
  position: relative;
  margin-top: 42px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}
.login-card label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 800; }
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 15px;
  border: 1.5px solid #e2e7f2;
  border-radius: 17px;
  background: #f8f9fc;
  transition: border .2s, box-shadow .2s, background .2s;
}
.input-wrap:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,103,237,.08); }
.input-wrap svg { width: 21px; fill: var(--blue); }
.input-wrap input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-weight: 800; text-transform: uppercase; }
.input-wrap input::placeholder { color: #a4aab7; font-weight: 600; text-transform: none; }
.form-error { min-height: 18px; margin: 8px 2px 3px; color: var(--danger); font-size: 12px; font-weight: 700; }
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #3471ff, #2158df);
  box-shadow: 0 12px 24px rgba(47,103,237,.26);
  font-weight: 900;
  cursor: pointer;
}
.primary-button svg { width: 21px; fill: currentColor; }
.primary-button:disabled { opacity: .6; cursor: wait; }
.primary-button.compact { min-height: 48px; box-shadow: none; }
.login-help { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.login-footer { margin-top: auto; padding-top: 28px; color: #a2a8b5; font-size: 11px; text-align: center; }

/* Main shell */
.main-screen { padding-bottom: calc(92px + var(--safe-bottom)); background: #fafafa; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 12px 18px;
  background: rgba(250,250,250,.92);
  backdrop-filter: blur(16px);
}
.topbar-brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.mini-brand-mark { width: 39px; height: 39px; border-radius: 13px; font-size: 18px; }
.topbar-brand strong { display: block; font-size: 12px; letter-spacing: .08em; }
.topbar-brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.icon-button { display: grid; place-items: center; width: 43px; height: 43px; border: 0; border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.menu-button span { display: block; width: 21px; height: 2.5px; margin: 2.2px 0; border-radius: 3px; background: #151515; }
.view-container { padding: 0 16px 22px; }

/* Home */
.progress-hero {
  position: relative;
  overflow: hidden;
  min-height: 204px;
  padding: 24px 21px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #2f6bf5 0%, #2e62e8 75%, #285ad9 100%);
  box-shadow: 0 18px 35px rgba(47,103,237,.23);
}
.progress-hero::before { content: ""; position: absolute; width: 200px; height: 200px; right: -65px; top: -75px; border-radius: 50%; background: rgba(255,255,255,.05); }
.progress-copy { position: relative; z-index: 2; max-width: 58%; }
.greeting { margin: 0; font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-label { margin: 22px 0 2px; font-size: 11px; font-weight: 900; letter-spacing: .06em; }
.progress-value { margin: 0; font-size: 49px; line-height: .95; font-weight: 950; letter-spacing: -.05em; }
.progress-caption { max-width: 185px; margin: 17px 0 0; font-size: 10px; line-height: 1.3; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.progress-product-select {
  position: absolute;
  z-index: 4;
  top: 17px;
  right: 16px;
  max-width: 43%;
  min-height: 34px;
  padding: 0 29px 0 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: 10px;
  font-weight: 800;
  outline: none;
  appearance: auto;
}
.progress-product-select option { color: #111; background: #fff; }
.progress-ring-wrap { position: absolute; right: 22px; top: 58px; width: 120px; height: 120px; }
.progress-ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring-track { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 9; }
.progress-ring-bar { fill: none; stroke: var(--lime); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .55s ease; }
.progress-ring-core { position: absolute; inset: 18px; border-radius: 50%; background: rgba(24,79,215,.56); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.progress-tick { position: absolute; right: -4px; top: 42px; width: 4px; height: 39px; border-radius: 4px; background: #fff; }
.hero-refresh {
  position: absolute; right: 17px; bottom: 14px; z-index: 5;
  border: 0; color: rgba(255,255,255,.88); background: transparent;
  font-size: 10px; font-weight: 800; cursor: pointer;
}

.search-panel { position: relative; margin-top: 22px; }
.search-box {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 18px;
  border: 1px solid #f0f0f0; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.search-box svg { width: 19px; fill: #9aa1ae; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-weight: 700; }
.search-box input::placeholder { color: #a9adb6; }
.search-results {
  position: absolute; z-index: 15; left: 0; right: 0; top: 61px;
  max-height: 310px; overflow-y: auto;
  padding: 8px; border: 1px solid var(--line); border-radius: 20px;
  background: #fff; box-shadow: var(--shadow-md);
}
.search-result-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; }
.search-result-item:hover { background: #f5f7fb; }
.search-result-thumb { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: var(--blue); font-weight: 900; }
.search-result-item strong { display: block; font-size: 13px; }
.search-result-item span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.empty-search { padding: 22px; color: var(--muted); font-size: 12px; text-align: center; }

.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 22px 4px 11px; }
.section-heading h2 { margin: 0; font-size: 14px; letter-spacing: -.01em; }
.text-button { border: 0; color: #181818; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category-card { border: 0; padding: 0; background: transparent; cursor: pointer; min-width: 0; }
.category-icon {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  aspect-ratio: 1; border-radius: 15px;
  background: #fff; box-shadow: var(--shadow-sm);
}
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-icon span { font-size: 22px; }
.category-card strong { display: block; margin-top: 8px; overflow: hidden; color: #20232a; font-size: 9px; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.promo-card {
  position: relative; overflow: hidden;
  min-height: 203px; padding: 0; border: 0; border-radius: 25px;
  background: #fff; box-shadow: var(--shadow-sm); cursor: pointer;
}
.promo-card img { width: 100%; height: 100%; min-height: 203px; object-fit: cover; display: block; }
.promo-card-text { position: absolute; inset: auto 14px 14px; padding: 11px 12px; border-radius: 14px; color: #fff; background: rgba(15,22,45,.58); backdrop-filter: blur(10px); text-align: left; }
.promo-card-text strong { display: block; font-size: 12px; }
.promo-card-text span { display: block; margin-top: 3px; font-size: 9px; opacity: .9; }

.progress-timeline { margin-top: 24px; padding: 20px 13px 17px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.timeline-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.timeline-track::before { content: ""; position: absolute; top: 14px; left: 17%; right: 17%; border-top: 2px dashed #dfe3ec; }
.timeline-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.timeline-dot { display: grid; place-items: center; width: 30px; height: 30px; border: 4px solid #f4f6fa; border-radius: 50%; color: #a2a9b6; background: #e8ebf1; font-size: 11px; font-weight: 900; }
.timeline-step.done .timeline-dot { color: var(--blue); background: #e2ecff; }
.timeline-step.active .timeline-dot { color: #fff; background: var(--blue); box-shadow: 0 5px 15px rgba(47,103,237,.3); }
.timeline-step span { margin-top: 7px; color: #8e95a2; font-size: 8px; font-weight: 700; line-height: 1.25; }
.timeline-step.active span { color: var(--blue); font-weight: 900; }
.timeline-step.done span { color: #5c6472; }

/* Catalog */
.catalog-view { padding-top: 4px; }
.page-title-row { display: flex; align-items: center; gap: 12px; margin: 3px 2px 20px; }
.back-button { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.back-button svg { width: 22px; fill: #161616; }
.page-title-row h1 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.page-title-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.catalog-tile { overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); text-align: left; cursor: pointer; }
.catalog-tile-image { position: relative; aspect-ratio: 1.05; overflow: hidden; background: #f1f2f5; }
.catalog-tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.catalog-tile:hover img { transform: scale(1.035); }
.catalog-tile-arrow { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--blue); background: rgba(255,255,255,.88); font-size: 18px; font-weight: 900; }
.catalog-tile-copy { padding: 12px; }
.catalog-tile-copy strong { display: block; font-size: 12px; }
.catalog-tile-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.subcatalog-title { margin: 0 0 14px; font-size: 14px; }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.template-card { padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.template-card img { width: 100%; aspect-ratio: .92; object-fit: cover; display: block; background: #f1f2f5; }
.template-card-copy { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px; text-align: left; }
.template-card-copy strong { display: block; font-size: 11px; }
.template-card-copy span { display: block; margin-top: 3px; color: var(--blue); font-size: 9px; font-weight: 800; }
.template-card-copy b { color: var(--blue); font-size: 20px; }

/* All categories */
.all-category-group { margin-bottom: 25px; }
.all-category-group h2 { margin: 0 0 12px; color: var(--blue-dark); font-size: 17px; }
.all-category-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.all-category-button { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 10px; border: 0; border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); text-align: left; cursor: pointer; }
.all-category-button .small-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 13px; color: #fff; background: var(--blue); font-size: 19px; }
.all-category-button strong { font-size: 11px; }

/* Account */
.account-card { margin-top: 8px; padding: 24px; border-radius: 26px; background: linear-gradient(145deg,#fff,#f4f7ff); box-shadow: var(--shadow-md); }
.account-avatar { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 17px; border-radius: 23px; color: #fff; background: var(--blue); font-size: 29px; font-weight: 900; }
.account-card h1 { margin: 0; font-size: 24px; }
.account-card > p { margin: 7px 0 20px; color: var(--muted); font-size: 12px; }
.account-detail { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.account-detail span { color: var(--muted); font-size: 11px; }
.account-detail strong { max-width: 65%; font-size: 11px; text-align: right; word-break: break-word; }
.logout-button { width: 100%; min-height: 50px; margin-top: 18px; border: 1px solid #ffd3da; border-radius: 16px; color: var(--danger); background: #fff4f6; font-weight: 900; cursor: pointer; }

/* Bottom nav */
.bottom-nav {
  position: fixed;
  z-index: 25;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  width: min(calc(100% - 20px), 500px);
  min-height: 68px;
  padding: 7px 7px calc(7px + var(--safe-bottom));
  border: 1px solid rgba(0,0,0,.035);
  border-radius: 23px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 32px rgba(20,31,57,.16);
  backdrop-filter: blur(18px);
}
.bottom-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 16px; color: #9ba1ad; background: transparent; cursor: pointer; }
.bottom-nav-item svg { width: 19px; height: 19px; fill: currentColor; }
.bottom-nav-item span { font-size: 8px; font-weight: 800; }
.bottom-nav-item.active { color: var(--blue); background: #f0f4ff; }

/* Drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(10,14,25,.45); backdrop-filter: blur(2px); }
.side-drawer {
  position: fixed; z-index: 40; top: 0; right: max(calc((100vw - 520px)/2), 0px);
  width: min(82vw, 365px); height: 100vh;
  padding: 24px 19px 30px;
  color: #fff; background: #090b10;
  transform: translateX(110%); transition: transform .26s ease;
  overflow-y: auto;
}
.side-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: flex-start; justify-content: space-between; }
.drawer-kicker { color: #92a7ff; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.drawer-header h2 { margin: 5px 0 0; color: #fff; font-size: 25px; }
.drawer-close { width: 37px; height: 37px; border: 1px solid #333; border-radius: 12px; color: #fff; background: transparent; font-size: 25px; cursor: pointer; }
.drawer-content { margin-top: 27px; }
.drawer-group { margin-bottom: 18px; }
.drawer-group h3 { margin: 0 0 7px; padding-bottom: 7px; border-bottom: 1px solid #62656b; color: #ffdd00; font-size: 17px; }
.drawer-link { display: block; width: 100%; padding: 6px 3px; border: 0; color: #fff; background: transparent; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.drawer-link:hover { color: #8db0ff; }

/* Template modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; padding: 12px; background: rgba(11,17,31,.55); backdrop-filter: blur(8px); }
.template-modal {
  position: relative;
  width: min(100%, 500px); max-height: 94vh; overflow-y: auto;
  padding: 19px 17px calc(23px + var(--safe-bottom));
  border-radius: 31px 31px 21px 21px; background: #fff;
  box-shadow: 0 25px 80px rgba(0,0,0,.25);
  animation: slideUp .28s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(22px); } }
.modal-close { position: absolute; z-index: 4; top: 13px; right: 14px; width: 37px; height: 37px; border: 0; border-radius: 12px; color: #5c6270; background: #f1f3f7; font-size: 24px; cursor: pointer; }
.template-modal-head { display: flex; align-items: center; justify-content: space-between; padding-right: 46px; }
.round-back-button { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #111; border-radius: 50%; background: #fff; cursor: pointer; }
.round-back-button svg { width: 22px; fill: #111; }
.template-modal-head > div { margin-left: auto; text-align: right; }
.template-modal-head h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.template-modal-head span { color: var(--blue); font-size: 10px; font-weight: 900; }
.template-preview-frame { overflow: hidden; margin-top: 15px; border-radius: 25px; background: linear-gradient(#fff,#f4f4f4); }
.template-preview-frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.template-info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 11px; }
.template-info-row > div { padding: 11px 13px; border-radius: 14px; background: #f6f7fa; }
.template-info-row span { display: block; color: var(--muted); font-size: 9px; }
.template-info-row strong { display: block; margin-top: 3px; font-size: 11px; }
.template-action-row { display: grid; grid-template-columns: 1fr 1.45fr; gap: 10px; margin-top: 14px; }
.secondary-action { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; border: 1.5px solid var(--blue); border-radius: 15px; color: var(--blue); background: #fff; font-weight: 900; cursor: pointer; }
.secondary-action svg { width: 20px; fill: currentColor; }
.secondary-action.filled { color: #fff; background: var(--blue); }
.choose-template-button { width: 100%; min-height: 53px; margin-top: 11px; border: 0; border-radius: 16px; color: #182000; background: var(--lime); font-size: 12px; font-weight: 950; cursor: pointer; }

/* Confirm */
.confirm-card { width: min(100%, 390px); padding: 25px; border-radius: 25px; background: #fff; text-align: center; animation: slideUp .24s ease; }
.confirm-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 13px; border-radius: 18px; color: #fff; background: var(--blue); font-size: 25px; font-weight: 900; }
.confirm-card h2 { margin: 0; font-size: 20px; }
.confirm-card p { margin: 10px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.ghost-button { min-height: 48px; border: 1px solid var(--line); border-radius: 15px; color: #5d6572; background: #fff; font-weight: 800; cursor: pointer; }

/* Toast */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(94px + var(--safe-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 34px); padding: 12px 17px; border-radius: 999px; color: #172000; background: var(--lime); box-shadow: var(--shadow-md); font-size: 11px; font-weight: 900; text-align: center; animation: toastIn .22s ease; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

.skeleton { position: relative; overflow: hidden; color: transparent !important; background: #eef0f4 !important; }
.skeleton::after { content:""; position:absolute; inset:0; transform:translateX(-100%); background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform:translateX(100%); } }

@media (min-width: 700px) {
  body { padding: 20px 0; }
  .app-shell { min-height: calc(100vh - 40px); border-radius: 30px; overflow: hidden; }
  .screen { min-height: calc(100vh - 40px); }
  .bottom-nav { bottom: 25px; }
  .side-drawer { top: 20px; right: calc((100vw - 520px)/2); height: calc(100vh - 40px); border-radius: 0 30px 30px 0; }
}
