/* HOT PREMIUM BRIGHT.
   Bright warm ground, HOT red as an ACCENT only (CTA, price, active state, the hairline under the bar), and one
   identifying colour per category so a rep knows what he is looking at before he reads. The structure is unchanged:
   ONE screen for the packages - search, categories, a budget and a sort, cards under them, the comparison opening in
   place - and a second screen for the words to say. Special in design, simple in use. */
:root{
  /* ground + ink */
  --bg:#F6F4F2;
  --bg-2:#FBFAF9;
  --surface:#FFFFFF;
  --sunken:#F1EEEB;
  --ink:#15181F;
  --ink-2:#596273;
  --ink-3:#8A93A1;
  --line:#E5E1DD;
  --line-2:#D3CECA;
  /* HOT */
  --hot:#E4002B;
  --hot-ink:#B4001F;
  --hot-soft:#FFECEF;
  --hot-ring:rgba(228,0,43,.28);
  --hot-grad:linear-gradient(135deg,#FF2442 0%,#E4002B 48%,#C0007A 100%);
  /* the one dark surface, used in a few places only */
  --deep:#171A22;
  --deep-2:#262C39;
  --on-deep:#FFFFFF;
  --gold:#D4AF37;
  /* status, never colour alone */
  --ok:#0E6B45; --ok-soft:#E2F3EA;
  --warn:#8A5200; --warn-soft:#FBEED4;
  /* one colour per area */
  --c-tv:#7A2FD6;      --c-tv-soft:#F3EBFF;
  --c-net:#0B6FCB;     --c-net-soft:#E7F1FD;
  --c-phone:#BE5200;   --c-phone-soft:#FDEEE0;
  --c-combo:#D4002A;   --c-combo-soft:#FFECEF;
  --c-mobile:#0A6F66;  --c-mobile-soft:#E1F3F0;
  --c-content:#223055; --c-content-soft:#E9EDF6;
  --c-channels:#B01C6B; --c-channels-soft:#FDEAF3;
  --c-included:#4B46C9; --c-included-soft:#ECEBFB;
  --c:var(--c-combo); --c-soft:var(--c-combo-soft);
  --on-c:#FFFFFF;                    /* text ON a category colour - flips in the dark palette, where the accents are light */
  --tile-top:rgba(255,255,255,.65);  /* the inner highlight along the top of an included-item tile */
  /* type, depth, shape */
  --display:"Heebo","Assistant","Arial Hebrew",system-ui,sans-serif;
  --body:"Assistant","Heebo","Arial Hebrew",system-ui,sans-serif;
  --r:18px; --r-sm:12px;
  --sh-1:0 1px 2px rgba(21,24,31,.05), 0 2px 8px rgba(21,24,31,.05);
  --sh-2:0 2px 4px rgba(21,24,31,.06), 0 10px 26px rgba(21,24,31,.08);
  --sh-pop:0 6px 14px rgba(21,24,31,.08), 0 22px 44px rgba(21,24,31,.12);
  --bar-bg:rgba(246,244,242,.88);
  --glow-a:rgba(228,0,43,.10);
  --glow-b:rgba(11,111,203,.08);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0F1116; --bg-2:#151921; --surface:#191D25; --sunken:#13161C;
  --ink:#ECEFF4; --ink-2:#A3ACBA; --ink-3:#79828F; --line:#2A3039; --line-2:#3A424E;
  --hot:#FF3F57; --hot-ink:#FF8E9C; --hot-soft:#2E1119; --hot-ring:rgba(255,63,87,.32);
  --hot-grad:linear-gradient(135deg,#FF5468 0%,#FF2442 48%,#E0138C 100%);
  --deep:#0B0D12; --deep-2:#1D2330;
  --ok:#54D19C; --ok-soft:#102C20; --warn:#E9B968; --warn-soft:#33250B;
  --c-tv:#C49BFF;      --c-tv-soft:#271C40;
  --c-net:#6FB7FF;     --c-net-soft:#112740;
  --c-phone:#FFAE6B;   --c-phone-soft:#38230F;
  --c-mobile:#4FD6C4;  --c-mobile-soft:#0D2C29;
  --c-combo:#FF7389;   --c-combo-soft:#361520;
  --c-content:#A6BBEA; --c-content-soft:#1A2237;
  --c-channels:#FF8FC4; --c-channels-soft:#38162A;
  --c-included:#A6A2FF; --c-included-soft:#201E3F;
  --on-c:#0F1116;
  --tile-top:rgba(255,255,255,.045);
  --sh-1:0 1px 2px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.3);
  --sh-2:0 2px 6px rgba(0,0,0,.5), 0 12px 28px rgba(0,0,0,.4);
  --sh-pop:0 8px 18px rgba(0,0,0,.5), 0 24px 48px rgba(0,0,0,.55);
  --bar-bg:rgba(15,17,22,.86);
  --glow-a:rgba(255,63,87,.11); --glow-b:rgba(111,183,255,.07);
  color-scheme:dark;
}}
:root[data-theme="dark"]{
  --bg:#0F1116; --bg-2:#151921; --surface:#191D25; --sunken:#13161C;
  --ink:#ECEFF4; --ink-2:#A3ACBA; --ink-3:#79828F; --line:#2A3039; --line-2:#3A424E;
  --hot:#FF3F57; --hot-ink:#FF8E9C; --hot-soft:#2E1119; --hot-ring:rgba(255,63,87,.32);
  --hot-grad:linear-gradient(135deg,#FF5468 0%,#FF2442 48%,#E0138C 100%);
  --deep:#0B0D12; --deep-2:#1D2330;
  --ok:#54D19C; --ok-soft:#102C20; --warn:#E9B968; --warn-soft:#33250B;
  --c-tv:#C49BFF;      --c-tv-soft:#271C40;
  --c-net:#6FB7FF;     --c-net-soft:#112740;
  --c-phone:#FFAE6B;   --c-phone-soft:#38230F;
  --c-mobile:#4FD6C4;  --c-mobile-soft:#0D2C29;
  --c-combo:#FF7389;   --c-combo-soft:#361520;
  --c-content:#A6BBEA; --c-content-soft:#1A2237;
  --c-channels:#FF8FC4; --c-channels-soft:#38162A;
  --c-included:#A6A2FF; --c-included-soft:#201E3F;
  --on-c:#0F1116;
  --tile-top:rgba(255,255,255,.045);
  --sh-1:0 1px 2px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.3);
  --sh-2:0 2px 6px rgba(0,0,0,.5), 0 12px 28px rgba(0,0,0,.4);
  --sh-pop:0 8px 18px rgba(0,0,0,.5), 0 24px 48px rgba(0,0,0,.55);
  --bar-bg:rgba(15,17,22,.86);
  --glow-a:rgba(255,63,87,.11); --glow-b:rgba(111,183,255,.07);
  color-scheme:dark;
}
[data-cat="tv"]{--c:var(--c-tv);--c-soft:var(--c-tv-soft)}
[data-cat="net"]{--c:var(--c-net);--c-soft:var(--c-net-soft)}
[data-cat="phone"]{--c:var(--c-phone);--c-soft:var(--c-phone-soft)}
[data-cat="combo"]{--c:var(--c-combo);--c-soft:var(--c-combo-soft)}
[data-cat="mobile"]{--c:var(--c-mobile);--c-soft:var(--c-mobile-soft)}
[data-cat="content"]{--c:var(--c-content);--c-soft:var(--c-content-soft)}
[data-cat="channels"]{--c:var(--c-channels);--c-soft:var(--c-channels-soft)}
[data-cat="included"]{--c:var(--c-included);--c-soft:var(--c-included-soft)}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);direction:rtl;
  font-size:16px;line-height:1.65;-webkit-text-size-adjust:100%}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(880px 430px at 88% -10%,var(--glow-a),transparent 62%),
             radial-gradient(760px 420px at 2% 104%,var(--glow-b),transparent 64%)}
h1,h2,h3,h4{font-family:var(--display);margin:0;text-wrap:balance}
h1,h2,h3{font-weight:800}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--hot);outline-offset:2px;border-radius:10px}
.num,.tab{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------- the bar: compact on purpose, the cards start high ---------- */
.bar{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:var(--bar-bg);
  backdrop-filter:saturate(150%) blur(14px);-webkit-backdrop-filter:saturate(150%) blur(14px);
  box-shadow:0 1px 0 var(--line),0 6px 18px rgba(21,24,31,.05)}
.bar::after{content:"";position:absolute;inset-inline:0;bottom:0;height:2px;background:var(--hot-grad)}
.bar-in{max-width:1240px;margin:0 auto;padding:8px 16px 0}
.top{display:flex;align-items:center;gap:10px;margin-bottom:7px}
.mark{width:28px;height:28px;flex:0 0 auto;border-radius:9px;background:var(--hot-grad);display:grid;place-items:center;
  box-shadow:0 2px 8px var(--hot-ring)}
.mark svg{width:15px;height:15px;color:#fff}
.brand{font-family:var(--display);font-weight:800;font-size:16.5px;white-space:nowrap;letter-spacing:-.2px}
.where{display:flex;gap:6px;margin-inline-start:auto;overflow-x:auto;scrollbar-width:none;min-width:0}
.where::-webkit-scrollbar{display:none}
.where button{flex:0 0 auto}
.where button{background:var(--surface);border:1.5px solid var(--line-2);padding:7px 15px;border-radius:11px;
  font-family:var(--display);font-weight:700;font-size:15.5px;color:var(--ink-2);cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,color .14s ease}
.where button:hover{color:var(--ink)}
.where button:active{transform:scale(.97)}
.where button[aria-pressed="true"]{background:var(--hot-grad);border-color:transparent;color:#fff;
  box-shadow:0 2px 10px var(--hot-ring),inset 0 1px 0 rgba(255,255,255,.28)}
/* three screen buttons do not fit beside the name on a phone - the name steps aside, the buttons stay full size */
@media (max-width:620px){
  .brand{display:none}
  .where{gap:5px}
  .where button{padding:7px 11px;font-size:14.5px}
}
.seek{display:flex;gap:8px}
.seek .wrap{position:relative;flex:1;min-width:0;display:flex}
.seek input{flex:1;min-width:0;background:var(--surface);border:1.5px solid var(--line-2);border-radius:14px;
  padding:11px 44px 11px 14px;font-size:17px;font-weight:600;box-shadow:var(--sh-1);
  transition:border-color .16s ease,box-shadow .16s ease}
.seek input::placeholder{color:var(--ink-3);font-weight:600}
.seek input:focus{outline:none;border-color:var(--hot);box-shadow:0 0 0 4px var(--hot-ring)}
.seek .wrap svg{position:absolute;inset-inline-start:15px;top:50%;transform:translateY(-50%);
  width:19px;height:19px;color:var(--ink-3);pointer-events:none}
.seek input:focus + svg,.seek .wrap:focus-within svg{color:var(--hot)}
.iconbtn{background:var(--surface);border:1.5px solid var(--line-2);border-radius:14px;width:44px;height:44px;flex:0 0 auto;
  display:grid;place-items:center;cursor:pointer;box-shadow:var(--sh-1);color:var(--ink-2);
  transition:transform .14s ease,color .14s ease}
.iconbtn:hover{color:var(--ink)}
.iconbtn:active{transform:scale(.95)}
.iconbtn svg{width:20px;height:20px}
.chips{display:flex;gap:7px;overflow-x:auto;padding:9px 0 10px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;background:var(--surface);
  border:1.5px solid var(--line-2);border-radius:999px;padding:7px 13px;font-family:var(--display);
  font-weight:700;font-size:15px;cursor:pointer;color:var(--ink-2);white-space:nowrap;
  transition:transform .14s ease,border-color .14s ease,color .14s ease}
.chip:hover{color:var(--ink);border-color:var(--c)}
.chip:active{transform:scale(.96)}
.chip .d{width:8px;height:8px;border-radius:50%;background:var(--c);flex:0 0 auto}
.chip[aria-pressed="true"]{background:var(--c);border-color:var(--c);color:var(--on-c);box-shadow:var(--sh-1)}
.chip[aria-pressed="true"] .d{background:currentColor;opacity:.72}
.chip .n{font-size:13px;opacity:.72;font-variant-numeric:tabular-nums}

/* ---------- page ---------- */
main{max-width:1240px;margin:0 auto;padding:18px 16px 44px}
.tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.tools label{font-size:14px;font-weight:700;color:var(--ink-2)}
.tools input,.tools select{background:var(--surface);border:1.5px solid var(--line-2);border-radius:11px;
  padding:8px 11px;font-weight:700;font-size:15px;box-shadow:var(--sh-1)}
.tools input{width:94px;font-variant-numeric:tabular-nums}
.sechead{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin:2px 0 16px}
.sechead h2{font-size:24px;letter-spacing:-.4px}
.sechead p{margin:2px 0 0;color:var(--ink-2);font-size:15px;max-width:60ch}
.sechead .act{margin-inline-start:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.owner{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--ok);
  background:var(--ok-soft);border-radius:999px;padding:5px 12px;white-space:nowrap}
.owner svg{width:13px;height:13px}
.subhead{font-family:var(--display);font-weight:800;font-size:20px;margin:30px 0 12px;display:flex;
  align-items:center;gap:10px}
.subhead::after{content:"";height:3px;flex:1;border-radius:3px;background:linear-gradient(90deg,var(--line),transparent)}

/* ---------- hero: a command centre, not a banner. It leaves the screen the moment you search ---------- */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--surface),var(--bg-2));
  border:1px solid var(--line);border-radius:24px;padding:26px 24px;margin-bottom:20px;box-shadow:var(--sh-2)}
.hero::before{content:"";position:absolute;inset-inline-start:-80px;top:-120px;width:360px;height:360px;
  border-radius:50%;background:radial-gradient(circle,var(--glow-a),transparent 68%);pointer-events:none}
/* a signal radiating out of the corner - anchored to it, so it reads as a motif and not as a stray line */
.hero .waves{position:absolute;inset-inline-end:0;bottom:0;width:210px;height:210px;color:var(--hot);
  opacity:.9;pointer-events:none}
@media (max-width:520px){.hero .waves{width:132px;height:132px;opacity:.55}}
.hero .kicker{position:relative;display:inline-flex;align-items:center;gap:7px;font-family:var(--display);font-weight:700;
  font-size:12.5px;letter-spacing:.6px;color:var(--hot-ink);background:var(--hot-soft);border-radius:999px;padding:5px 12px}
.hero h1{font-size:clamp(28px,7vw,42px);font-weight:900;line-height:1.12;letter-spacing:-1px;margin:13px 0 0;
  position:relative}
.hero h1 .hl{color:var(--hot)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero h1 .hl{background:var(--hot-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
}
.hero .lede{margin:11px 0 0;color:var(--ink-2);font-size:16.5px;max-width:52ch;position:relative}
.stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;position:relative}
.stat{flex:1 1 128px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);
  padding:12px 14px;box-shadow:var(--sh-1)}
.stat b{display:block;font-family:var(--display);font-weight:900;font-size:30px;line-height:1.05;
  font-variant-numeric:tabular-nums;letter-spacing:-1px}
.stat span{font-size:13.5px;font-weight:700;color:var(--ink-2)}
.stat.ok b{color:var(--ok)} .stat.warn b{color:var(--warn)} .stat.all b{color:var(--hot-ink)}

/* ---------- a package ---------- */
/* three to a row on a computer, fewer as the screen narrows; auto-fit so one card still fills the width.
   The cards in a row are the same height - the foot is pushed to the bottom - so a row reads as one band. */
.list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:15px;align-items:stretch}
.pk{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--sh-1);overflow:hidden;transition:transform .16s ease,box-shadow .16s ease}
.pk::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:var(--c)}
.pk:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.pk-head{display:flex;gap:12px;align-items:flex-start;padding:18px 20px 0}
.pk-head h3{font-size:21.5px;font-weight:800;flex:1;min-width:0;line-height:1.28;letter-spacing:-.3px}
.pk-cat{display:inline-flex;align-items:center;gap:6px;font-family:var(--display);font-size:13px;font-weight:700;
  color:var(--c);background:var(--c-soft);border-radius:9px;padding:5px 11px;white-space:nowrap}
.pk-cat::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.pk-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:13px 20px 0}
.pk-price .amount{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
.pk-price .cur{font-family:var(--display);font-weight:800;font-size:21px;color:var(--c);line-height:1}
/* the price wears the card's own colour, so a television package is purple and a bundle is HOT red */
.pk-price .num{font-family:var(--display);font-size:42px;font-weight:900;line-height:1;letter-spacing:-1.6px;
  font-variant-numeric:tabular-nums;color:var(--c)}
.pk-price .per{color:var(--ink-2);font-size:15.5px;font-weight:700;margin-inline-start:3px}
/* what comes after the opening price, one size down so the big number stays the thing you see first */
.pk-price .then{font-size:14.5px;font-weight:700;color:var(--ink-2);font-variant-numeric:tabular-nums}
.pk-price .then b{font-weight:800;color:var(--c)}
.pk-price .then i{font-style:normal;font-size:12.5px;font-weight:700;color:var(--ink-3)}
.pk-price .none{color:var(--ink-2);font-size:16px;font-weight:700}
/* a price that is lower than the regular one gets the panel - the figure is his, the panel only makes it legible */
.pk-price.promo{background:linear-gradient(135deg,var(--c-soft),transparent 70%);border:1px solid var(--line);
  border-radius:14px;padding:13px 16px;margin-top:14px}
.pk-price.promo .num{color:var(--c)}
/* content and sport: the one dark surface on a card, and only where there is a figure to carry it */
.pk-price.sport{background:var(--deep);border:1px solid rgba(212,175,55,.32);border-radius:14px;padding:13px 15px;
  margin-top:14px;color:var(--on-deep);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.pk-price.sport .num{color:#fff} .pk-price.sport .cur{color:var(--gold)}
.pk-price.sport .per,.pk-price.sport .then{color:#C3CBDA}
.pk-price.sport .then b{color:#fff}
.pk-price.sport .then i{color:#9AA6BC}
.pk-note{margin:5px 0 0;padding:0 20px;color:var(--ink-2);font-size:14.5px}
.pk-note + .pk-note{margin-top:2px}
.block{padding:16px 20px 0}
.block h4{margin:0 0 8px;font-size:12.5px;font-weight:800;color:var(--ink-3);letter-spacing:.7px}
/* what is included is the thing a rep reads out loud, so it is a row of big tiles - one each, side by side */
.inc{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr));gap:9px}
.inc li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;background:var(--sunken);
  border:1px solid var(--line);border-radius:15px;padding:15px 8px;font-family:var(--display);font-weight:800;
  font-size:clamp(15px,4vw,18.5px);line-height:1.25;box-shadow:inset 0 1px 0 var(--tile-top)}
.inc li svg{width:clamp(25px,6.5vw,31px);height:clamp(25px,6.5vw,31px);color:var(--c);flex:0 0 auto}
/* the same tiles, but each one a heading with its own lines under it */
.inc.deep{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.inc.deep li{align-items:stretch;text-align:right;gap:10px;padding:14px 15px}
.inc .gh{display:flex;align-items:center;gap:9px;font-size:clamp(15px,3.6vw,17.5px)}
.inc .gh svg{width:22px;height:22px}
.inc .gi{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.inc .gi li{display:flex;flex-direction:row;align-items:flex-start;gap:8px;background:none;border:0;border-radius:0;
  padding:0;box-shadow:none;text-align:right;font-family:var(--body);font-weight:600;font-size:14.5px;line-height:1.45}
.inc .gi li::before{content:"";flex:0 0 auto;width:6px;height:6px;border-radius:2px;background:var(--c);margin-top:8px}
.inc .gi li.sm{font-size:12.5px;font-weight:600;color:var(--ink-2)}
.inc .gi li.sm::before{width:4px;height:4px;margin-top:8px;opacity:.55}
.inc .gi .ch{font-style:normal;font-size:12.5px;font-weight:600;color:var(--ink-3);white-space:nowrap}
/* one line under all of them, smaller than the headings */
.incnote{display:flex;align-items:center;gap:9px;margin:9px 0 0;background:var(--sunken);border:1px solid var(--line);
  border-radius:13px;padding:11px 14px;font-weight:700;font-size:14.5px;box-shadow:inset 0 1px 0 var(--tile-top)}
.incnote svg{width:21px;height:21px;color:var(--c);flex:0 0 auto}
.ornote{margin:7px 0 1px;text-align:center;font-family:var(--display);font-weight:800;font-size:13px;
  letter-spacing:.5px;color:var(--ink-3)}
.who{margin:0;font-size:16px}
.say{position:relative;margin:17px 20px 0;background:var(--c-soft);border-radius:14px;padding:14px 16px}
.say h4{margin:0 0 5px;font-size:12.5px;font-weight:800;color:var(--c);letter-spacing:.7px}
.say p{margin:0;font-size:16px;font-weight:600}
.say p + p{margin-top:5px}
.say .hot{color:var(--hot-ink);font-weight:800}
.more{border-top:1px solid var(--line);margin-top:18px}
.more summary{list-style:none;cursor:pointer;padding:14px 20px;font-family:var(--display);font-weight:700;
  color:var(--ink-2);font-size:15px;display:flex;align-items:center;gap:8px}
.more summary:hover{color:var(--ink)}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"";width:8px;height:8px;border-inline-start:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(-45deg);margin-bottom:3px;transition:transform .16s ease}
.more[open] summary::after{transform:rotate(135deg);margin-bottom:-3px}
.rows{display:grid;grid-template-columns:auto 1fr;margin:0;padding:0 20px 6px}
.rows dt{padding:7px 0 7px 14px;color:var(--ink-2);font-size:14px;font-weight:700;white-space:nowrap}
.rows dd{margin:0;padding:7px 0;font-size:15.5px;min-width:0}
.pk-foot{margin-top:auto;display:flex;align-items:center;gap:11px;flex-wrap:wrap;padding:14px 20px;
  border-top:1px solid var(--line);background:var(--bg-2)}
.flag{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:800;border-radius:999px;padding:5px 12px}
.flag svg{width:14px;height:14px}
.flag.ok{background:var(--ok-soft);color:var(--ok)}
.flag.warn{background:var(--warn-soft);color:var(--warn)}
.flag.must{background:var(--hot-soft);color:var(--hot-ink);margin-bottom:9px}
.when{color:var(--ink-3);font-size:13px;font-variant-numeric:tabular-nums}
.pick{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--ink-2);cursor:pointer;
  user-select:none;margin-inline-start:auto}
.pick input{accent-color:var(--hot);width:19px;height:19px}
.mini{background:var(--surface);border:1.5px solid var(--line-2);border-radius:10px;padding:6px 13px;font-size:14px;
  font-weight:700;color:var(--ink-2);cursor:pointer;transition:color .14s ease,border-color .14s ease}
.mini:hover{color:var(--ink);border-color:var(--ink-3)}

.btn{position:relative;background:var(--hot-grad);color:#fff;border:0;border-radius:13px;padding:13px 22px;
  font-family:var(--display);font-weight:800;cursor:pointer;font-size:16px;
  box-shadow:0 2px 10px var(--hot-ring),inset 0 1px 0 rgba(255,255,255,.3);
  transition:transform .14s ease,box-shadow .14s ease}
.btn:hover{box-shadow:0 5px 18px var(--hot-ring),inset 0 1px 0 rgba(255,255,255,.3)}
.btn:active{transform:translateY(1px) scale(.99)}
.btn.ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--line-2);box-shadow:var(--sh-1)}
.blank{position:relative;overflow:hidden;background:var(--surface);border:1.5px dashed var(--line-2);
  border-radius:var(--r);padding:30px 22px;text-align:center}
.blank h3{font-size:22px;margin-bottom:9px}
.blank p{color:var(--ink-2);margin:0 auto;max-width:48ch}
.blank .act{margin-top:18px}
.skel{height:150px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);opacity:.6}

.row{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:18px 20px;
  box-shadow:var(--sh-1);transition:transform .16s ease,box-shadow .16s ease}
.row:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.row .says{font-family:var(--display);font-weight:800;font-size:18.5px;line-height:1.4;display:flex;gap:9px}
.row .says::before{content:"";flex:0 0 auto;width:4px;border-radius:4px;background:var(--hot-grad)}
.row .ans{margin:11px 0 0;font-size:16px}
.row .meta{margin-top:13px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.term dt{font-family:var(--display);font-weight:800;font-size:18px;margin-bottom:2px}
.term dd{margin:0;color:var(--ink-2)}

/* ---------- comparison, in place ---------- */
.cmp{margin-bottom:22px}
.cmp-top{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:11px}
.cmp-top h2{font-size:21px}
.cmp-top .hint{color:var(--ink-2);font-size:14.5px;flex:1;min-width:0}
.tablewrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-2)}
table{border-collapse:collapse;width:100%;min-width:480px}
th,td{text-align:right;padding:12px 15px;border-bottom:1px solid var(--line);vertical-align:top}
thead th{font-family:var(--display);font-weight:800;font-size:16.5px;background:var(--deep);color:var(--on-deep);
  border-bottom:0}
thead th:first-child{background:var(--deep)}
tbody th{color:var(--ink-2);font-size:13.5px;font-weight:800;white-space:nowrap;width:1%}
tbody td{font-size:15.5px}
tbody tr.hi td{font-family:var(--display);font-weight:900;font-size:22px;color:var(--hot-ink);
  font-variant-numeric:tabular-nums;letter-spacing:-.5px}
tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}

/* ---------- the owner's own editing ---------- */
.sheet{position:fixed;inset:0;z-index:60;background:rgba(10,12,16,.55);display:grid;place-items:end center;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.sheet-in{background:var(--surface);width:min(640px,100%);max-height:92dvh;overflow:auto;border-radius:22px 22px 0 0;
  padding:22px 18px calc(24px + env(safe-area-inset-bottom,0px));box-shadow:var(--sh-pop)}
.sheet h2{font-size:22px;margin-bottom:16px}
.f{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.f label{font-size:13.5px;font-weight:800;color:var(--ink-2)}
.f input,.f textarea,.f select{background:var(--sunken);border:1.5px solid var(--line-2);border-radius:12px;
  padding:11px 13px;width:100%}
.f input:focus,.f textarea:focus,.f select:focus{outline:none;border-color:var(--hot);box-shadow:0 0 0 3px var(--hot-ring)}
.f textarea{min-height:80px;resize:vertical;font-family:var(--body)}
.f .hint{font-size:13px;color:var(--ink-3)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:480px){.two{grid-template-columns:1fr}}
.sheet-acts{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap}
.sheet-acts .btn{flex:1;min-width:130px}
.chk{display:inline-flex;align-items:center;gap:9px;border:1.5px solid var(--line-2);border-radius:12px;padding:11px 14px;
  cursor:pointer;font-weight:700;margin-bottom:14px}
.chk input{accent-color:var(--ok);width:18px;height:18px}
.danger{color:#A8231C;border-color:#A8231C;background:none;box-shadow:none}
:root[data-theme="dark"] .danger{color:#FF9B93;border-color:#FF9B93}

.foot{margin-top:34px;padding-top:18px;border-top:1px solid var(--line);color:var(--ink-3);font-size:13.5px;
  text-align:center;line-height:1.85}
.foot b{color:var(--warn)}
.toast{position:fixed;bottom:24px;inset-inline:16px;z-index:70;background:var(--deep);color:#fff;
  border-radius:14px;padding:14px 18px;font-weight:700;text-align:center;box-shadow:var(--sh-pop)}
