/* AHMATO LABS - soft neumorphic cream / navy theme */
@font-face { font-family: "Cairo"; src: url("../fonts/Cairo.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F6F4F0; --bg-2: #FBFAF7; --surface: #FBFAF7;
  --navy: #1E1D1B; --navy-d: #34312D; --navy-ink: #1E1D1B;
  --up: #0B8F7B; --up-soft: #DDF3EE; --down: #D9572F; --down-soft: #FDE8E0;
  --teal: #12B39A; --teal-soft: #DDF3EE; --muted: #6B665E; --line: #E6E1D8;
  --sh-dark: rgba(170, 152, 122, .42); --sh-light: rgba(255, 255, 255, .95);
  --raise: 9px 9px 22px var(--sh-dark), -9px -9px 22px var(--sh-light);
  --raise-deep: 16px 18px 36px rgba(160, 140, 108, .45), -12px -12px 30px var(--sh-light), inset 1px 1px 0 rgba(255,255,255,.7);
  --raise-sm: 4px 4px 10px var(--sh-dark), -4px -4px 10px var(--sh-light);
  --inset: inset 5px 5px 12px rgba(170, 152, 122, .38), inset -5px -5px 12px var(--sh-light);
  --r-lg: 26px; --r-md: 18px; --r-sm: 12px;
  --font: "Cairo", "SF Arabic", "Geeza Pro", system-ui, sans-serif;
  --latin: "Montserrat", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font); color: var(--navy-ink); background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, #FFFDF8 0%, rgba(255,253,248,0) 60%),
    radial-gradient(900px 500px at -10% 110%, #EFE7DA 0%, rgba(239,231,218,0) 60%);
  min-height: 100vh; -webkit-font-smoothing: antialiased; line-height: 1.55;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.num, .ltr { direction: ltr; unicode-bidi: isolate; font-family: var(--latin); font-variant-numeric: tabular-nums; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
button { font-family: inherit; color: inherit; }

/* ---------- header ---------- */
.site-header { padding: 16px 0 6px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); direction: ltr; }
.tag { font-size: 12.5px; color: var(--navy); padding: 7px 13px; border-radius: 999px; box-shadow: var(--raise-sm); background: var(--surface);
  display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.tag svg { width: 16px; height: 16px; }

/* ---------- hero + search ---------- */
.hero { position: relative; padding: 18px 0 8px; }
.hero h1 { font-size: clamp(24px, 6.4vw, 38px); margin: 6px 0 4px; font-weight: 800; color: var(--navy); }
.hero p.sub { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; max-width: 560px; }
.search { position: relative; z-index: 20; max-width: 680px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 22px; background: var(--surface); box-shadow: var(--raise); }
.search-box .field { flex: 1; display: flex; align-items: center; gap: 8px; border-radius: 16px; box-shadow: var(--inset); padding: 0 14px; background: var(--bg); }
.search-box svg { width: 22px; height: 22px; flex: none; color: var(--navy); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 16.5px var(--font); color: var(--navy-ink); padding: 15px 0; }
.search-box input::placeholder { color: #9AA0AC; font-weight: 500; }
.btn { border: 0; cursor: pointer; border-radius: 16px; padding: 13px 18px; font-weight: 700; font-size: 15px; background: var(--navy); color: #fff;
  box-shadow: 5px 6px 14px rgba(30, 29, 27,.35), -4px -4px 10px var(--sh-light), inset 1px 1px 0 rgba(255,255,255,.25); }
.btn:active { transform: translateY(1px); box-shadow: 2px 2px 6px rgba(30, 29, 27,.35); }
.suggest { position: absolute; inset-inline: 0; top: calc(100% + 10px); background: var(--bg-2); border-radius: var(--r-md); box-shadow: var(--raise-deep);
  padding: 8px; list-style: none; margin: 0; max-height: 60vh; overflow: auto; display: none; }
.suggest.open { display: block; }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: #EFE8DC; box-shadow: var(--inset); }
.suggest img { width: 28px; height: 28px; border-radius: 50%; box-shadow: var(--raise-sm); background: #fff; }
.suggest .nm { font-weight: 700; }
.suggest .sym { color: var(--muted); font-size: 13px; margin-inline-start: 6px; }
.suggest .rk { margin-inline-start: auto; font-size: 12px; color: var(--navy); background: var(--teal-soft); border-radius: 999px; padding: 2px 9px; }
.suggest .msg { color: var(--muted); cursor: default; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 6px; color: var(--muted); font-size: 14px; }
.chip-btn { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--raise-sm);
  font: 700 13.5px var(--latin); color: var(--navy); }
.chip-btn:active { box-shadow: var(--inset); }

/* ---------- cards ---------- */
.card { background: linear-gradient(145deg, #FBF8F2, #F1EBE0); border-radius: var(--r-lg); box-shadow: var(--raise-deep); padding: 20px; position: relative;
  border: 1px solid rgba(255,255,255,.6); }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; will-change: transform; }
[data-tilt].tilting { transition: transform .08s linear; box-shadow: 20px 24px 44px rgba(160,140,108,.5), -12px -12px 30px var(--sh-light); }
.card h2 { margin: 0 0 4px; font-size: 18px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.card h2 svg { width: 22px; height: 22px; }
.card .hint { color: var(--muted); font-size: 13px; margin: 0 0 14px; }

.features { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 26px 0 10px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ic { width: 50px; height: 50px; border-radius: 16px; flex: none; display: grid; place-items: center; box-shadow: var(--raise-sm); background: var(--surface); color: var(--navy); }
.feature .ic svg { width: 26px; height: 26px; }
.feature b { display: block; color: var(--navy); font-size: 15.5px; }
.feature span { color: var(--muted); font-size: 13.5px; }

/* ---------- result ---------- */
.result { display: grid; gap: 18px; margin: 18px 0 8px; }
.coin-head { display: flex; align-items: center; gap: 14px; }
.coin-head img { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: var(--raise-sm); padding: 3px; }
.coin-head .nm { font-size: 21px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.coin-head .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badge { font: 700 12px var(--latin); padding: 2px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--navy); }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.price { font: 800 clamp(32px, 9vw, 44px)/1.1 var(--latin); color: var(--navy-ink); letter-spacing: -.01em; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.stat { border-radius: var(--r-md); padding: 12px 14px; background: var(--bg); box-shadow: var(--inset); }
.stat .k { font-size: 12.5px; color: var(--muted); }
.stat .v { font: 700 17px var(--latin); margin-top: 2px; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 2px 2px 6px rgba(170,152,122,.35), -2px -2px 6px rgba(255,255,255,.9); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.pos { color: #137A59; background: var(--up-soft); }
.chip.neg { color: #C24A1D; background: var(--down-soft); }
.chip.neu { color: #4C5566; background: #ECE6DB; }
.chip.na { color: #8E918F; background: #EEE9E1; }

.chart-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--bg); box-shadow: var(--inset); flex: none; direction: ltr; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 10px; font: 700 13px var(--latin); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--navy); box-shadow: var(--raise-sm); }
.chart-box { position: relative; height: 240px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: var(--inset); overflow: hidden; touch-action: pan-y; }
.chart-box svg { width: 100%; height: 100%; display: block; }
.chart-box canvas { display: block; width: 100% !important; height: 100% !important; }
.chart-box .tip { position: absolute; pointer-events: none; background: #fff; border-radius: 10px; padding: 5px 9px; font: 600 12px var(--latin);
  box-shadow: var(--raise-sm); color: var(--navy-ink); white-space: nowrap; transform: translate(-50%, -120%); display: none; direction: ltr; }
.chart-box .lbl { position: absolute; font: 600 11px var(--latin); color: var(--muted); direction: ltr; pointer-events: none; }
.chart-foot { direction: ltr; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

.lab-list { display: grid; gap: 12px; }
.reading { display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--bg-2); box-shadow: var(--raise-sm); }
.reading .ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; box-shadow: var(--inset); color: var(--navy); }
.reading .ic svg { width: 22px; height: 22px; }
.reading .t { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.reading .val { font: 700 16px var(--latin); color: var(--navy-ink); text-align: end; direction: ltr; }
.reading .d { font-size: 12.5px; color: var(--muted); grid-column: 2 / 4; display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; }
.smallprint { font-size: 11.5px; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.smallprint ul { margin: 6px 0 0; padding-inline-start: 18px; }
.banner { margin: 14px 0; padding: 12px 16px; border-radius: var(--r-md); background: #FFF6EC; box-shadow: var(--raise-sm); color: #9A4A20; font-size: 14px;
  display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner.info { background: #F2EFEA; color: var(--navy); }
.banner button { border: 0; border-radius: 10px; padding: 7px 12px; background: var(--surface); box-shadow: var(--raise-sm); font-weight: 700; cursor: pointer; color: var(--navy); }
.skeleton { height: 14px; border-radius: 8px; background: linear-gradient(90deg, #ECE5D9, #FBFAF7, #ECE5D9); background-size: 200% 100%; animation: sh 1.4s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.back { border: 0; background: var(--surface); box-shadow: var(--raise-sm); border-radius: 12px; padding: 8px 12px; cursor: pointer; font-weight: 700; color: var(--navy);
  display: inline-flex; gap: 6px; align-items: center; font-size: 13.5px; }
.back svg { width: 16px; height: 16px; }
.site-footer { text-align: center; padding: 26px 0 36px; color: var(--muted); font-size: 13.5px; }
.site-footer .disc { display: inline-block; padding: 10px 18px; border-radius: 999px; box-shadow: var(--raise-sm); background: var(--surface); color: var(--navy); font-weight: 700; }
.site-footer .src { margin-top: 10px; font-size: 12px; }
[hidden] { display: none !important; }

@media (min-width: 760px) {
  .hero { padding: 34px 0 10px; }
  .hero .text { max-width: 58%; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .result { grid-template-columns: 1.15fr 1fr; align-items: start; }
  .result .col { display: grid; gap: 18px; }
  .chart-box { height: 300px; }
  .logo-crop { height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-tilt], [data-tilt].tilting { transform: none !important; transition: none; }
  .skeleton { animation: none; }
}
.hero.compact { padding-top: 6px; }
.hero.compact .text, .hero.compact .hero-brand { display: none; }
.hero.compact .quick { margin-top: 12px; }

/* ---------- official brand image (used as-is: only cropped / scaled via CSS, never redrawn or recoloured) ---------- */
/* header crop = the central logo area of the 960x960 original: x 195-765, y 245-722 */
.logo-crop { position: relative; display: block; height: 84px; aspect-ratio: 570 / 477; overflow: hidden; border-radius: 16px;
  box-shadow: var(--raise-sm); background: #F3EEE7; }
.logo-crop img { position: absolute; width: calc(960 / 570 * 100%); height: auto; left: calc(-195 / 570 * 100%); top: calc(-245 / 477 * 100%); max-width: none; }
.hero-brand { margin: 24px auto 4px; max-width: 380px; padding: 10px; border-radius: 30px; background: linear-gradient(145deg, #FBF8F2, #EFE8DC);
  box-shadow: var(--raise-deep); }
.hero-brand .float { position: relative; z-index: 1; backface-visibility: hidden; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 10px 24px rgba(160,140,108,.35);
  animation: brandFloat 9s ease-in-out infinite; transform-origin: 50% 60%; }
.hero-brand img { display: block; width: 100%; height: auto; }
.hero-brand.paused .float { animation-play-state: paused; }
@keyframes brandFloat {
  0%, 100% { transform: perspective(1100px) rotateX(2.5deg) rotateY(-3deg) translateY(0); }
  50% { transform: perspective(1100px) rotateX(-1.5deg) rotateY(3deg) translateY(-7px); }
}
@media (min-width: 760px) {
  .hero { display: grid; grid-template-columns: 1fr 360px; grid-template-areas: "text brand" "search brand" "quick brand"; column-gap: 40px; align-items: center; }
  .hero .text { grid-area: text; max-width: none; align-self: end; }
  .hero .search { grid-area: search; }
  .hero .quick { grid-area: quick; align-self: start; }
  .hero-brand { grid-area: brand; margin: 0; max-width: 360px; }
  .hero.compact { display: block; }
}
@media (prefers-reduced-motion: reduce) { .hero-brand .float { animation: none; } }
.suggest li > span:not(.rk) { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.suggest .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.suggest .sym { margin: 0; font-size: 12px; text-align: right; font-family: var(--latin); }

/* ===================== v2 add-ons (appended; nothing above changed) ===================== */
.v2-sec:empty { display: none; }
.v2-sec { margin: 22px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sec-head .hint { margin: 0 !important; }
.card h2 svg[viewBox] { flex: none; }
/* star */
.fav-star { margin-inline-start: auto; flex: none; width: 44px; height: 44px; border: 0; border-radius: 14px; cursor: pointer; display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--raise-sm); color: var(--navy); }
.fav-star svg { width: 22px; height: 22px; fill: none; }
.fav-star[aria-pressed="true"] { box-shadow: var(--inset); color: #E0A23B; }
.fav-star[aria-pressed="true"] svg { fill: #F2C14E; stroke: #C98A1F; }
.fav-star.sm { width: 34px; height: 34px; border-radius: 11px; }
.fav-star.sm svg { width: 17px; height: 17px; }
/* favorites panel */
.fav-list { display: grid; gap: 10px; }
.fav-row { display: grid; grid-template-columns: 34px 1fr auto 34px; grid-template-areas: "img nm px star" "img tags tags star"; gap: 4px 10px; align-items: center;
  padding: 11px 12px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: var(--raise-sm); text-decoration: none; color: inherit; }
.fav-row:active { box-shadow: var(--inset); }
.fav-row img, .fav-row .ph { grid-area: img; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--raise-sm); }
.fav-row .nm { grid-area: nm; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.fav-row .nm b { color: var(--navy); font-size: 15px; text-align: right; }
.fav-row .nm small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.fav-row .px { grid-area: px; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.fav-row .px b { font: 700 15px var(--latin); direction: ltr; }
.fav-row .px small { font: 600 12px var(--latin); }
.fav-row .tags { grid-area: tags; display: flex; gap: 6px; flex-wrap: wrap; }
.fav-row .fav-star { grid-area: star; margin: 0; }
.fav-foot { margin: 10px 0 0 !important; font-size: 11.5px !important; }
/* recommendation */
.rec-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 92px; padding: 9px 18px; border-radius: 16px; font-weight: 800; font-size: 20px;
  color: #fff; box-shadow: 5px 6px 14px rgba(30, 29, 27,.25), -4px -4px 10px var(--sh-light), inset 1px 1px 0 rgba(255,255,255,.3); }
.rec-pill.buy { background: linear-gradient(145deg, #29B888, #17946B); }
.rec-pill.sell { background: linear-gradient(145deg, #F7814F, #E25A28); }
.rec-pill.wait { background: linear-gradient(145deg, #5E5A53, #1E1D1B); }
.rec-pill.na { background: #EEE9E1; color: #8E918F; box-shadow: var(--raise-sm); }
.rec-pill.sm { min-width: 0; padding: 3px 11px; font-size: 12.5px; border-radius: 999px; box-shadow: 2px 2px 6px rgba(170,152,122,.35), -2px -2px 6px rgba(255,255,255,.9); }
.rec-top { display: flex; align-items: center; gap: 14px; margin: 4px 0 12px; }
.rec-score { font-size: 13.5px; color: var(--navy); font-weight: 700; }
.rec-score span { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.rec-why { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.rec-why li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; padding: 8px 10px; border-radius: 12px; background: var(--bg-2); box-shadow: var(--raise-sm); }
.rec-why .pt { flex: none; min-width: 30px; text-align: center; border-radius: 8px; font-size: 12px; font-weight: 700; padding: 1px 4px; background: #ECE6DB; color: #4C5566; }
.rec-why li.pos .pt { background: var(--up-soft); color: #137A59; }
.rec-why li.neg .pt { background: var(--down-soft); color: #C24A1D; }
.rec-why li.na { color: var(--muted); }
.rec-levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rec-levels.two { margin-top: 10px; }
.lvl { border-radius: var(--r-md); padding: 10px 12px; background: var(--bg); box-shadow: var(--inset); }
.lvl .k { font-size: 12px; color: var(--muted); }
.lvl .v { font: 700 16.5px var(--latin); margin-top: 1px; }
.lvl .s { font-size: 11px; color: var(--muted); margin-top: 2px; }
.lvl.entry { grid-column: 1 / -1; }
.lvl.entry .v { color: var(--navy); }
.lvl.stop .v { color: var(--down); }
.lvl.tp .v { color: var(--up); }
.rec-wait { font-size: 13.5px; color: var(--navy-ink); padding: 12px; border-radius: var(--r-md); background: #F2EFEA; box-shadow: var(--raise-sm); }
.how { margin-top: 12px; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.how summary { cursor: pointer; color: var(--navy); font-weight: 700; font-size: 13px; }
.how ul { margin: 8px 0 0; padding-inline-start: 18px; display: grid; gap: 4px; }
.rec-disc { margin-top: 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--navy); padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--raise-sm); }
/* timeframe tabs + overlay toggles */
.tf-seg { margin: 6px 0 10px; }
.ov-toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.tgl { border: 0; cursor: pointer; padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--raise-sm); font-weight: 700; font-size: 13px; color: var(--muted); }
.tgl[aria-pressed="true"] { color: var(--navy); box-shadow: var(--inset); background: var(--teal-soft); }
.ov-note { font-size: 11.5px; color: var(--muted); }
/* scanner */
.scan-entry { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.scan-entry .ic { width: 50px; height: 50px; border-radius: 16px; flex: none; display: grid; place-items: center; box-shadow: var(--raise-sm); background: var(--surface); color: var(--navy); }
.scan-entry .ic svg { width: 26px; height: 26px; }
.scan-entry b { display: block; color: var(--navy); font-size: 15.5px; }
.scan-entry span { color: var(--muted); font-size: 13.5px; }
.scan-entry .go { margin-inline-start: auto; font-size: 20px; color: var(--navy); }
.scan-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.scan-sum span { padding: 8px 12px; border-radius: 14px; background: var(--bg); box-shadow: var(--inset); font-size: 13px; }
.scan-sum b { color: var(--navy); font-size: 16px; margin-inline-end: 4px; }
.scan-seg { margin-bottom: 4px; }
.scan-seg button { font-family: var(--font); }
.scan-list { display: grid; gap: 12px; margin-top: 12px; }
.scan-row { display: block; padding: 12px 14px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: var(--raise-sm); text-decoration: none; color: inherit; }
.sr-top { display: flex; align-items: center; gap: 10px; }
.sr-top img { width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: var(--raise-sm); }
.sr-top .nm { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; flex: 1; }
.sr-top .nm b { color: var(--navy); text-align: right; }
.sr-top .nm small { color: var(--muted); font-size: 11.5px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-top .px { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.sr-top .px b { font: 700 15px var(--latin); direction: ltr; }
.sr-top .px small { font: 600 12px var(--latin); }
.sr-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }
.sr-why { margin: 4px 0 0; padding-inline-start: 18px; font-size: 12.5px; color: var(--navy-ink); display: grid; gap: 3px; }
/* alerts */
.bell { position: relative; margin-inline-start: auto; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--surface);
  box-shadow: var(--raise-sm); color: var(--navy); flex: none; }
.bell svg { width: 22px; height: 22px; }
.bell .bn { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--down); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(242,107,58,.45); }
.al-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.al-form select, .al-form input { min-width: 0; border: 0; outline: 0; border-radius: 14px; padding: 12px; background: var(--bg); box-shadow: var(--inset);
  font: 600 15px var(--font); color: var(--navy-ink); }
.al-form input { font-family: var(--latin); }
.al-form select { grid-column: 1 / -1; }
.al-form .btn { padding: 12px 18px; }
.al-msg { margin: 8px 0 8px !important; min-height: 1em; }
.al-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.al-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-2); box-shadow: var(--raise-sm); font-size: 13.5px; }
.al-row.new { box-shadow: var(--raise-sm), inset 0 0 0 2px var(--up-soft); }
.al-row .al-t { flex: 1; display: flex; flex-direction: column; }
.al-row small { color: var(--muted); font-size: 11.5px; }
.al-del { border: 0; background: transparent; cursor: pointer; width: 30px; height: 30px; border-radius: 10px; color: var(--muted); display: grid; place-items: center; }
.al-del svg { width: 16px; height: 16px; }
.al-h { font-size: 14.5px; color: var(--navy); margin: 14px 0 8px; }
@media (min-width: 760px) { .rec-levels { grid-template-columns: repeat(3, 1fr); } .lvl.entry { grid-column: auto; } .scan-list, .fav-list { grid-template-columns: repeat(2, 1fr); } }
