:root{--ink:#162a3e;--muted:#60758a;--accent:#1769b3;--blue:#2f88c5;--cyan:#19babe;--violet:#7950c7;--bg:#f5f8fa;--white:#fff;--line:#e0e7ec;--light:#f0f5f8;--radius:15px;--shadow:0 13px 34px rgba(29,55,80,.055)}
*{box-sizing:border-box}
html{margin:0;background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#fff 0,#f7fafc 420px,#f4f8fa 100%);min-height:100dvh;color:var(--ink);font:400 16px/1.48 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans Hebrew",sans-serif;-webkit-font-smoothing:antialiased}
button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #40a6d7;outline-offset:3px}
.wrap{max-width:1280px;padding:0 32px;margin-inline:auto}
.site-head{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:70}
.head-inner{height:80px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;min-width:0;flex-shrink:0}.brand img{width:192px;height:66px;object-fit:contain;object-position:center;display:block}
.head-nav{display:flex;align-items:center;gap:27px;font-size:14px;color:var(--muted)}.head-nav a{white-space:nowrap}
.lang-switch{display:flex;gap:4px;direction:ltr;background:#f2f5f8;padding:4px;border-radius:11px;border:1px solid #e8edf1;flex:none}
.lang-switch button{height:36px;min-width:66px;border:0;border-radius:8px;background:transparent;color:#64788b;font-size:14px;font-weight:600}
.lang-switch button[aria-pressed="true"]{background:#fff;color:#144a75;box-shadow:0 2px 8px rgba(0,0,0,.09)}
.ad{background:#ecf4f8;border:1px solid #dce8ef;border-radius:12px;color:#698093;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;min-height:100px}
.ad::before{content:"";width:2px;height:26px;background:#b5d2df;position:absolute;inset-inline-start:20px;top:50%;transform:translateY(-50%)}
.ad small{display:block;font-size:11px;letter-spacing:.03em;color:#7b92a4}.ad p{font-size:13px;margin:3px 0 0}.ad--top{margin:20px auto 22px;min-height:94px;background:#edf4f8}
/* Top advertisement stays beneath the fixed header, without translucent overlay */
.ad--top{position:sticky;top:80px;z-index:60;box-shadow:0 9px 20px rgba(35,70,95,.06)}
.eyebrow{display:inline-flex;gap:8px;align-items:center;font-size:12px;letter-spacing:.02em;font-weight:600;color:#368393;margin:0 0 10px}
.eyebrow:before{content:"";width:7px;height:7px;border-radius:100%;background:var(--cyan)}
h1,h2,h3,p{margin-top:0}h1{font-weight:640;letter-spacing:-.023em;font-size:clamp(30px,3vw,40px);line-height:1.13;margin-bottom:14px}h2{font-weight:620;letter-spacing:-.015em;font-size:25px;line-height:1.2;margin:0}h3{font-weight:620}
.intro{color:var(--muted);max-width:58ch;line-height:1.65;margin:0 0 23px;font-size:15px}
.lookup{background:#fff;border:1px solid #dce6ec;border-radius:17px;box-shadow:var(--shadow);padding:31px 34px;margin-bottom:22px}
.lookup-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:40px;align-items:start}
.lookup-main{min-width:0}.lookup-result{padding-inline-start:34px;border-inline-start:1px solid #edf0f3;min-width:0}
.search-form{display:flex;align-items:stretch;direction:rtl;border:1px solid #bfcdd8;border-radius:12px;padding:5px;background:#fff;min-height:64px;transition:border-color .18s,box-shadow .18s}
.search-form:focus-within{border-color:var(--blue);box-shadow:0 0 0 4px rgba(32,125,196,.09)}
.search-form input{width:100%;min-width:0;flex:1;background:none;border:0;padding:9px 15px;color:var(--ink);outline:0;font-size:17px;text-align:start;direction:auto}
.search-form input:focus{outline:0}.search-form input::placeholder{color:#8092a2}
.btn-primary{white-space:nowrap;flex:none;border:0;border-radius:9px;padding:0 25px;background:linear-gradient(130deg,#1767ad,#2187ba);color:#fff;font-size:18px;font-weight:650;min-width:119px;box-shadow:0 3px 7px rgba(14,102,172,.14)}
.btn-primary:hover{background:#125b9e}
.status{font-size:13px;color:#62798b;min-height:28px;margin:11px 0 0;line-height:1.4}
.status[data-tone="warn"]{color:#99621a}.status[data-tone="error"]{color:#a53f42}.status[data-tone="ok"]{color:#247c68}
.result-caption{font-size:12px;color:#7790a0;font-weight:600;letter-spacing:.035em;margin:1px 0 12px}
.result-list{display:grid;gap:8px}.result-row{display:grid;grid-template-columns:145px minmax(0,1fr) 34px;align-items:center;gap:10px;min-height:56px;padding:7px 10px;border-radius:10px;border:1px solid #e2eaf0;background:#fbfcfd}
.result-row label{color:#566e7f;font-size:13px;font-weight:580}
.result-row input{width:100%;min-width:0;color:#182c3f;cursor:text;background:transparent;border:1px solid transparent;border-radius:5px;outline:0;padding:6px 8px;font-size:15px;text-overflow:ellipsis}
.result-row input:focus{border-color:#aacfe6;background:#eef8ff;box-shadow:0 0 0 2px #d7effa}.result-row input::selection{background:#4b9ed9;color:#fff}
.copy-icon{height:32px;width:32px;display:grid;place-items:center;color:#527389;border:0;background:transparent;border-radius:7px;font-size:20px}
.copy-icon:hover{background:#e7f1f8;color:#165a91}
/* In both languages the copy action is visually on the left; rows maintain natural locale labels */
html[dir="rtl"] .result-row{grid-template-columns:145px minmax(0,1fr) 34px}
html[dir="ltr"] .result-row{grid-template-columns:145px minmax(0,1fr) 34px}
.result-row .copy-icon{grid-column:3}
.result-row label{grid-column:1}.result-row input{grid-column:2}
html[dir="ltr"] .result-row{direction:rtl}html[dir="ltr"] .result-row label{direction:ltr;text-align:left}html[dir="ltr"] .result-row input{direction:ltr;text-align:left}
html[dir="ltr"] .result-row .copy-icon{direction:ltr}
.choices{margin-top:13px;border:1px solid #d5e6ee;border-radius:12px;background:#f7fbfd;padding:12px}
.choices-title{font-size:13px;color:#526e81;margin-bottom:8px}
.choices-list{display:grid;gap:6px}.choice{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #d9e6ee;background:white;border-radius:8px;padding:8px 12px;text-align:start;color:#203d56;font-size:13px;width:100%}.choice:hover{border-color:#4e9fcc;background:#f0f8fc}.choice span:last-child{font-variant-numeric:tabular-nums;direction:ltr}
.ticker-area{margin:0 0 25px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.ticker-heading{height:36px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;background:#f8fafc;border-bottom:1px solid #edf0f3;color:#64788c;font-size:11px}
.ticker-fallback{display:flex;gap:26px;overflow:auto;padding:12px 18px;white-space:nowrap;scrollbar-width:thin;direction:ltr;font-size:12px;font-weight:600}.ticker-fallback a{color:#254d68}.ticker-fallback a:hover{color:#1468ad}
tv-ticker-tape{display:block;min-height:56px}
.news-section{background:#fff;border:1px solid #dce6ec;border-radius:17px;box-shadow:var(--shadow);padding:26px 31px 22px}
.section-bar{display:flex;align-items:end;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #e6edf1}
.section-bar p{font-size:13px;color:#8594a4;margin:7px 0 0}.news-filters{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 13px}
.chip{border:1px solid #e0e8ee;background:#fff;color:#5d7589;padding:8px 13px;border-radius:20px;font-size:12px;white-space:nowrap}
.chip:hover{border-color:#91bfdb}.chip[aria-pressed="true"]{background:#e9f5fa;color:#115c91;border-color:#b3d7e8;font-weight:620}
.news-list{list-style:none;margin:0;padding:0}.news-item{border-bottom:1px solid #edf1f4}.news-item:last-child{border-bottom:0}
.news-item a{display:grid;grid-template-columns:72px minmax(0,1fr) 105px;gap:15px;align-items:start;padding:14px 6px;transition:background .12s;border-radius:8px}
.news-item a:hover,.news-item a:focus-visible{background:#f4f9fc;text-decoration:none;color:#184e73}
.news-clock{color:#2f8c9d;font-size:13px;font-variant-numeric:tabular-nums;direction:ltr;text-align:start;padding-top:2px;font-weight:600}
.news-copy{line-height:1.45;min-width:0;font-size:15px;color:#1b364a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.news-source{font-size:12px;color:#8a9aa8;text-align:end;white-space:nowrap;padding-top:2px}
.news-empty{padding:28px;text-align:center;color:#627b8a;font-size:14px}
.ad--bottom{margin:22px 0 28px;min-height:102px;background:#edf4f8}
.footer{border-top:1px solid #e4ebf0;padding:24px 0 38px;text-align:center;color:#64788a}
.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;margin:0 auto 13px;max-width:830px;font-size:12px;line-height:2}
.footer small{font-size:11px}
.consent-banner{position:fixed;bottom:16px;inset-inline-start:16px;inset-inline-end:16px;z-index:100;max-width:960px;margin:auto;background:#152e41;color:#eef7ff;box-shadow:0 16px 50px #0c263e50;border-radius:14px;padding:16px 20px;display:flex;align-items:center;gap:16px;justify-content:space-between;font-size:13px}
.consent-banner[hidden]{display:none}.consent-banner p{margin:0;flex:1;line-height:1.5}.consent-banner button{padding:8px 13px;border-radius:8px;white-space:nowrap;border:1px solid #8295a6;background:#23475e;color:white}.consent-banner button.accept{background:#34b6aa;color:#062d3b;border:0;font-weight:650}
.page-content{max-width:880px;margin:30px auto 40px;background:#fff;border:1px solid #dfebf0;border-radius:16px;padding:35px 43px;line-height:1.7}.page-content h1{font-size:31px;margin-bottom:19px}.page-content h2{font-size:20px;margin:28px 0 8px}.page-content p{color:#455c6e}.page-content ul{padding-inline-start:24px;color:#455c6e}
@media(max-width:1020px){.lookup-grid{gap:24px}.lookup-result{padding-inline-start:24px}.head-nav{gap:14px}.wrap{padding:0 22px}.result-row{grid-template-columns:115px minmax(0,1fr) 32px}}
@media(max-width:780px){.head-nav{display:none}.head-inner{height:70px}.brand img{width:169px;height:57px}.ad--top{top:70px;min-height:88px}.lookup{padding:24px}.lookup-grid{grid-template-columns:1fr;gap:24px}.lookup-result{padding-inline-start:0;border-inline-start:0;border-top:1px solid #edf1f3;padding-top:18px}.news-item a{grid-template-columns:60px 1fr;gap:8px 13px}.news-source{display:none}.news-section{padding:22px}.page-content{padding:24px}}
@media(max-width:520px){.wrap{padding:0 14px}.head-inner{height:65px}.brand img{width:145px;height:53px}.lang-switch button{min-width:55px;height:34px}.ad--top{top:65px;min-height:76px;margin:10px 0 14px}.ad p{font-size:12px}.lookup{padding:20px 16px;margin-bottom:14px}.lookup h1{font-size:29px}.search-form{min-height:56px}.search-form input{font-size:15px;padding:5px 10px}.btn-primary{min-width:91px;padding:0 13px;font-size:16px}.result-row{grid-template-columns:93px minmax(0,1fr) 27px;gap:5px;padding:6px;min-height:51px}.result-row label{font-size:12px}.result-row input{font-size:13px;padding:5px 4px}.copy-icon{width:28px;height:28px}.ticker-heading{padding:0 10px}.news-section{padding:19px 14px}.section-bar h2{font-size:22px}.news-item a{padding:13px 4px}.news-copy{font-size:14px}.consent-banner{flex-wrap:wrap;gap:9px;bottom:8px;inset-inline:8px}.footer-links{gap:4px 12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
html[dir="ltr"] .search-form{direction:ltr}

/* Center the six policy links in two balanced rows */
.footer-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:600px;gap:4px 12px}
@media(max-width:400px){.footer-links{gap:4px 8px;font-size:11px}}

.card-builder-link{display:inline-flex;align-items:center;padding:9px 12px;margin:6px 0 13px;border-radius:8px;border:1px solid #c4e2eb;background:#edf9fc;color:#14658d;font-size:13px;font-weight:600}.card-builder-link:hover{background:#e2f4fa}.card-builder-link[hidden]{display:none}

/* Search results: selectable registry companies, without external-source links. */
.choices-list{max-height:350px;overflow-y:auto;overscroll-behavior:contain}
.choice:focus-visible{outline:3px solid #4e9fcc;outline-offset:1px}
.choice span:first-child{min-width:0;overflow-wrap:anywhere}

/* v5: full-width heading and equal top/height for search and first result line. */
.lookup-heading{grid-column:1/-1;min-width:0}
.lookup-heading .intro{max-width:none;margin-bottom:0;font-size:14.5px;line-height:1.45}
.lookup-grid{row-gap:20px}
.lookup-main{padding-top:31px}
.search-form{min-height:56px;height:56px;padding:4px}
.result-caption{margin-bottom:12px}
.result-row{height:56px;min-height:56px;padding-block:5px}
.card-builder-link{margin-top:12px}
.choice[aria-pressed="true"]{background:#e0f3fc;border-color:#277fb6;box-shadow:inset 3px 0 0 #277fb6}
html[dir="rtl"] .choice[aria-pressed="true"]{box-shadow:inset -3px 0 0 #277fb6}
/* A genuine seamless loop: second identical segment follows first; -50% lands
   exactly at its beginning. Live quotes supplied by TradingView ticker-tag. */
.ticker-marquee{direction:ltr;overflow:hidden;min-height:60px}
.ticker-track{display:flex;align-items:stretch;width:max-content;animation:hetpei-market-loop 65s linear infinite;will-change:transform}
.ticker-segment{display:flex;align-items:center;gap:15px;padding-inline:8px;flex:none;min-width:max-content}
.ticker-segment tv-ticker-tag{display:block;min-width:165px;min-height:44px;flex:none}
.ticker-segment tv-ticker-tag a{display:inline-flex;padding:8px 12px;font-size:13px;font-weight:600;color:#254d68}
.ticker-marquee:hover .ticker-track,.ticker-marquee:focus-within .ticker-track{animation-play-state:paused}
@keyframes hetpei-market-loop{to{transform:translateX(-50%)}}
@media(min-width:1120px){.lookup-heading .intro{white-space:nowrap}}
@media(max-width:780px){.lookup-main{padding-top:0}.lookup-heading .intro{white-space:normal}.lookup-grid{row-gap:14px}}
@media(max-width:520px){.search-form{height:52px;min-height:52px}.result-row{height:51px;min-height:51px}.ticker-segment tv-ticker-tag{min-width:145px}}
@media(prefers-reduced-motion:reduce){.ticker-marquee{overflow-x:auto}.ticker-track{animation:none}}

.news-source{overflow:hidden;text-overflow:ellipsis}

/* v6: deliberately stationary, grouped market overview; no ticker animation. */
.market-overview{margin:0 0 24px;border:1px solid #dce6ec;border-radius:17px;background:#fff;box-shadow:0 5px 22px rgba(22,52,74,.045);padding:21px 24px 23px}
.market-overview-head{display:flex;justify-content:space-between;align-items:end;gap:18px}
.market-eyebrow{display:block;color:#45879d;font-size:10px;font-weight:750;letter-spacing:.11em;direction:ltr;text-align:start;margin-bottom:6px}
.market-title-group h2{font-size:21px;line-height:1.25;letter-spacing:-.025em;margin:0;color:#17364e}
.market-provider{color:#8799a6;font-size:11px;line-height:1.45;text-align:end;max-width:210px}
.market-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:17px 0 16px;padding:4px;background:#f4f8fa;border:1px solid #edf2f5;border-radius:11px;width:max-content;max-width:100%}
.market-tab{background:transparent;border:1px solid transparent;border-radius:8px;padding:8px 17px;color:#61798a;font-size:12px;font-weight:650;white-space:nowrap}
.market-tab[aria-pressed="true"]{color:#155574;background:white;border-color:#d5e6ec;box-shadow:0 2px 8px #18354b10}
.market-tab:hover{color:#1b6288}.market-tab:focus-visible{outline:3px solid #70b5d2;outline-offset:2px}
.market-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.market-panel[hidden]{display:none!important}
.market-tile{min-width:0;min-height:132px;padding:14px 15px 11px;border:1px solid #e1e9ee;background:linear-gradient(160deg,#fff 40%,#f8fbfc 100%);border-radius:11px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.market-tile-label{font-size:12px;font-weight:750;letter-spacing:.025em;color:#23465e;text-align:start;direction:ltr;unicode-bidi:isolate}
.market-tile tv-ticker-tag{display:block;min-height:43px;max-width:100%;overflow:hidden;direction:ltr}
.market-tile tv-ticker-tag a{color:#285772;display:inline-flex;font-size:13px;font-weight:650;padding:10px 0}
.market-tile-link{font-size:11px;color:#337b97;margin-top:auto;width:max-content;max-width:100%;text-decoration:none}
.market-tile-link:hover{text-decoration:underline}
.news-filters{gap:7px;margin-top:17px;align-items:center}
.news-filters .chip{display:inline-flex;align-items:center;gap:6px}
.chip-count{font-size:10px;color:#62869b;background:#eef4f6;padding:1px 6px;border-radius:999px;direction:ltr;font-variant-numeric:tabular-nums}
.chip[aria-pressed="true"] .chip-count{background:#d6edf7;color:#195d82}
@media(max-width:800px){.market-overview{padding:18px}.market-panel{gap:9px}.market-tile{padding:12px 10px}}
@media(max-width:600px){.market-overview{padding:16px 13px 17px}.market-overview-head{align-items:start;gap:10px}.market-title-group h2{font-size:18px}.market-provider{font-size:10px;max-width:122px}.market-tabs{width:100%;justify-content:space-between;gap:2px}.market-tab{flex:1;padding:9px 5px;font-size:11px}.market-panel{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:10px;padding-bottom:7px;scrollbar-width:thin}.market-tile{flex:0 0 min(77%,270px);scroll-snap-align:start;min-height:132px}}

/* v7: native TradingView static Tickers widget, no animated marquee. */
.market-panel tv-tickers{display:block;width:100%;min-height:115px;direction:ltr}
.market-panels{min-width:0;overflow:hidden}
.market-panel{max-width:100%;min-width:0}
.market-credit{font-size:11px;color:#7b92a4;text-align:end;margin:9px 4px 0}
.news-retry{display:inline-flex;margin-inline-start:12px;padding:5px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--accent)}
@media(max-width:700px){.market-panel tv-tickers{min-height:142px}.market-overview{overflow:hidden}}

/* v9: continuous, multi-symbol TradingView Ticker Tape (replaces v7 static Tickers). */
.market-carousel{background:#fff;border:1px solid #e4ebef;border-radius:12px;overflow:hidden;margin:6px 0 0}
.market-carousel-stage{min-height:94px;width:100%;overflow:hidden;direction:ltr;position:relative}
.market-carousel-stage tv-ticker-tape{display:block;width:100%;min-height:88px}
.market-loader{font-size:13px;color:#607585;padding:28px;text-align:center}
.market-carousel-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 13px;border-top:1px solid #edf1f4;color:#718293;font-size:11px}
.market-carousel-foot a{color:#236b94;text-decoration:none;white-space:nowrap}
.market-tabs{width:auto;max-width:100%;flex-wrap:wrap}
@media(max-width:600px){.market-carousel-stage{min-height:90px}.market-carousel-foot{font-size:10px}.market-tab{padding:8px 11px}}

/* HetPei v10 — header geography never flips with Hebrew/English RTL. */
.head-inner{direction:ltr}
.head-inner .brand{order:3;margin-inline-start:auto}
.head-inner .head-nav{order:2;direction:ltr}
.head-inner .lang-switch{order:1;margin-inline-end:auto}
html[dir="rtl"] .head-inner .head-nav{direction:rtl}
/* Custom TradingView ticker-tag carousel. Two identical halves = seamless loop.
   v5 marquee reference was 65s; 32.5s is exactly twice as fast. */
.market-carousel-stage{overflow:hidden;direction:ltr;min-height:72px}
.market-marquee-track{display:flex;align-items:center;width:max-content;max-width:none;animation:hetpei-market-loop 32.5s linear infinite;will-change:transform}
.market-segment{display:flex;flex:none;align-items:center;gap:12px;padding:12px 6px;min-width:max-content}
.market-symbol{display:flex;flex:none;align-items:center;min-width:155px;min-height:49px;border:1px solid #e7edf1;background:#fff;border-radius:9px;padding:3px 9px;overflow:hidden}
.market-symbol tv-ticker-tag{display:block;min-width:145px;min-height:38px;direction:ltr}
.market-carousel-stage:hover .market-marquee-track,.market-carousel-stage:focus-within .market-marquee-track{animation-play-state:paused}
.market-unavailable{padding:22px;color:#748a9a;text-align:center;margin:0}
.market-diagnostics{border-top:1px solid #edf1f4;font-size:11px;color:#6b8293;padding:7px 13px}
.market-diagnostics summary{cursor:pointer;font-weight:600;width:max-content}
.market-diagnostics ul{margin:8px 0;padding-inline-start:20px;columns:2;list-style:disc}
.market-diagnostics li{margin:4px 0;break-inside:avoid;direction:ltr;text-align:left}
.market-diagnostics p{margin:7px 0 0;font-size:10px;line-height:1.45;color:#8495a3}
@media(max-width:520px){.market-symbol{min-width:137px}.market-symbol tv-ticker-tag{min-width:126px}.market-diagnostics ul{columns:1}}
@media(prefers-reduced-motion:reduce){.market-carousel-stage{overflow-x:auto}.market-marquee-track{animation:none}}

/* ===================== v18: market ribbon + news feed ===================== */
.mkt-ribbon{position:relative;overflow:hidden;border-radius:14px;background:linear-gradient(100deg,#0e2740 0%,#13405c 55%,#175a72 100%);min-height:84px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 8px 22px rgba(15,48,74,.16);direction:ltr;
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 28px,#000 calc(100% - 28px),transparent 100%)}
.mkt-track{display:flex;width:max-content;animation:mkt-loop var(--dur,40s) linear infinite;will-change:transform}
.mkt-track:not([data-ready]){animation:none}
.mkt-ribbon:hover .mkt-track,.mkt-ribbon:focus-within .mkt-track{animation-play-state:paused}
@keyframes mkt-loop{to{transform:translateX(calc(-1 * var(--seg-w,50%)))}}
.mkt-segment{display:flex;flex:none;gap:10px;padding:12px 5px 12px 10px}
.mkt-chip{flex:none;display:grid;grid-template-columns:auto auto;grid-template-areas:"name spark" "price spark" "chg spark";column-gap:14px;align-items:center;min-width:172px;padding:9px 13px 9px 14px;border-radius:11px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.11);color:#eaf4fa;backdrop-filter:blur(2px);transition:background .15s,transform .15s}
.mkt-chip:hover,.mkt-chip:focus-visible{background:rgba(255,255,255,.14);transform:translateY(-1px);outline:0}
.mkt-chip:focus-visible{box-shadow:0 0 0 2px #7cd6f0}
.mkt-name{grid-area:name;font-size:12px;font-weight:650;letter-spacing:.015em;color:#b8d3e3;unicode-bidi:isolate;white-space:nowrap}
.mkt-price{grid-area:price;font-size:18px;font-weight:700;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}
.mkt-chg{grid-area:chg;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.mkt-spark{grid-area:spark;width:64px;height:26px;overflow:visible}
.mkt-chip[data-dir="up"] .mkt-chg{color:#4ade9b}.mkt-chip[data-dir="down"] .mkt-chg{color:#ff8a9b}.mkt-chip[data-dir="flat"] .mkt-chg{color:#a9c0cf}
.mkt-spark-line{fill:none;stroke:#a9c0cf;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.mkt-spark-area{fill:#a9c0cf;opacity:.13}
.mkt-chip[data-dir="up"] .mkt-spark-line{stroke:#4ade9b}.mkt-chip[data-dir="up"] .mkt-spark-area{fill:#4ade9b}
.mkt-chip[data-dir="down"] .mkt-spark-line{stroke:#ff8a9b}.mkt-chip[data-dir="down"] .mkt-spark-area{fill:#ff8a9b}
.mkt-skel-row{display:flex;gap:10px;padding:12px 10px}
.mkt-skel{flex:none;width:172px;height:60px;border-radius:11px;background:linear-gradient(100deg,rgba(255,255,255,.06) 30%,rgba(255,255,255,.16) 50%,rgba(255,255,255,.06) 70%);background-size:220% 100%;animation:mkt-shimmer 1.3s ease-in-out infinite}
@keyframes mkt-shimmer{from{background-position:120% 0}to{background-position:-120% 0}}
.mkt-msg{margin:0;padding:28px 18px;text-align:center;color:#d3e4ee;font-size:14px}
.mkt-msg--small{padding:6px 12px 14px;font-size:11px;color:#9fbdce}
.mkt-ribbon .news-retry{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}
.mkt-fallback{display:flex;flex-wrap:wrap;gap:8px;padding:12px}
.mkt-fallback-tile{min-width:150px;min-height:40px;padding:2px 8px;border-radius:9px;background:rgba(255,255,255,.1)}
.mkt-credit{font-size:11px;color:#7b92a4;text-align:end;margin:9px 4px 0}
.market-provider[data-stale="true"]{color:#99621a}
@media(prefers-reduced-motion:reduce){
 .mkt-track{animation:none!important}.mkt-ribbon{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.mkt-segment[aria-hidden="true"]{display:none}.mkt-skel{animation:none}
}
@media(max-width:600px){.mkt-chip{min-width:158px;padding:8px 11px}.mkt-price{font-size:16px}}

/* ----- news ----- */
.news-tools{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.news-sort{display:flex;gap:3px;padding:3px;background:#f2f6f9;border:1px solid #e6edf2;border-radius:10px}
.news-sort button{border:0;background:transparent;border-radius:7px;padding:6px 13px;font-size:12.5px;font-weight:650;color:#60798a}
.news-sort button[aria-pressed="true"]{background:#fff;color:#14587a;box-shadow:0 1px 6px rgba(20,60,90,.12)}
.news-feed{display:grid;gap:18px;margin-top:6px}
.news-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px}
.news-side{display:grid;gap:16px;grid-auto-rows:1fr}
.news-card{position:relative;display:flex;min-width:0;color:var(--ink);text-decoration:none;border-radius:14px;overflow:hidden;transition:transform .16s,box-shadow .16s,border-color .16s}
.news-card:hover,.news-card:focus-visible{text-decoration:none;color:var(--ink)}
.news-card--hero,.news-card--card{flex-direction:column;background:#fff;border:1px solid #e1e9ee;box-shadow:0 4px 16px rgba(24,56,80,.05)}
.news-card--hero:hover,.news-card--card:hover,.news-card--hero:focus-visible,.news-card--card:focus-visible{transform:translateY(-2px);box-shadow:0 12px 28px rgba(24,56,80,.12);border-color:#c9dbe6}
.news-thumb{display:block;position:relative;overflow:hidden;flex:none;background:linear-gradient(135deg,#1b6a9c,#1fa0b0)}
.news-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.news-card:hover .news-thumb img{transform:scale(1.04)}
.news-thumb.hero{aspect-ratio:16/8.4}.news-thumb.card{aspect-ratio:16/6.4}
.news-ph{position:absolute;inset:0;display:grid;place-items:center;font-size:34px;font-weight:700;color:rgba(255,255,255,.85);letter-spacing:.02em}
.news-thumb[data-cat="markets"],.news-thumb[data-cat="exchange"]{background:linear-gradient(135deg,#0d5f73,#19a39a)}
.news-thumb[data-cat="finance"],.news-thumb[data-cat="central_bank"]{background:linear-gradient(135deg,#1c4f93,#3a86c9)}
.news-thumb[data-cat="tech"]{background:linear-gradient(135deg,#5a3fb0,#8c63d6)}
.news-thumb[data-cat="tax"],.news-thumb[data-cat="treasury"],.news-thumb[data-cat="official"],.news-thumb[data-cat="statistics"],.news-thumb[data-cat="labor"]{background:linear-gradient(135deg,#3a5a78,#6f8ea8)}
.news-thumb[data-cat="health"]{background:linear-gradient(135deg,#1f7a64,#4cb893)}
.news-thumb[data-cat="politics"]{background:linear-gradient(135deg,#5b6b7a,#8497a6)}
.news-body{display:flex;flex-direction:column;gap:7px;padding:14px 16px 15px;min-width:0;flex:1}
.news-tag{align-self:flex-start;font-size:11px;font-weight:700;letter-spacing:.03em;color:#176a8a;background:#e8f4f9;border-radius:6px;padding:2px 8px}
.news-tag[data-cat="markets"],.news-tag[data-cat="exchange"]{color:#0b6b66;background:#e3f5f2}.news-tag[data-cat="tech"]{color:#5a3fb0;background:#eeeafa}
.news-tag[data-cat="finance"],.news-tag[data-cat="central_bank"]{color:#1c4f93;background:#e8f0fb}.news-tag[data-cat="health"]{color:#1f7a64;background:#e4f6ef}
.news-tag[data-cat="politics"]{color:#566676;background:#eef2f5}
.news-title{font-weight:650;line-height:1.34;color:#15304a;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}
.news-card--hero .news-title{font-size:21px;letter-spacing:-.012em;-webkit-line-clamp:3}.news-card--card .news-title{font-size:16px;-webkit-line-clamp:3}
.news-summary{color:#5a7081;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}
.news-card--card .news-summary{-webkit-line-clamp:2;font-size:13px}
.news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin-top:auto;padding-top:4px;font-size:12px;color:#7d90a0}
.news-src{font-weight:650;color:#4b6477}.news-ago{font-variant-numeric:tabular-nums}
.news-cov{display:inline-flex;align-items:center;gap:5px;color:#a3541a;background:#fff3e6;border-radius:99px;padding:1px 9px;font-weight:650}
.news-cov::before{content:"";width:6px;height:6px;border-radius:50%;background:#e8872b}
.news-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 26px}
.news-card--row{align-items:center;gap:13px;padding:12px 6px;border-bottom:1px solid #edf1f4;border-radius:10px;background:transparent}
.news-card--row:hover,.news-card--row:focus-visible{background:#f4f9fc}
.news-thumb.row{width:84px;height:62px;border-radius:9px}.news-thumb.row .news-ph{font-size:20px}
.news-card--row .news-body{padding:0;gap:4px}.news-card--row .news-title{font-size:14.5px;-webkit-line-clamp:2;font-weight:620}
.news-card--row .news-tag{display:none}.news-card--row .news-meta{padding-top:0}
.news-more{justify-self:center;border:1px solid #cfe0ea;background:#fff;color:#1a5d82;border-radius:11px;padding:10px 26px;font-weight:650}
.news-more:hover{background:#f1f8fc}
.news-empty{padding:28px;text-align:center;color:#627b8a;font-size:14px;margin:0}
.news-skel{display:grid;grid-template-columns:1.35fr 1fr;gap:16px}.news-skel-card{height:230px;border-radius:14px;background:linear-gradient(100deg,#eef3f6 30%,#f8fbfc 50%,#eef3f6 70%);background-size:220% 100%;animation:mkt-shimmer 1.3s ease-in-out infinite}
.news-skel-card:nth-child(n+3){height:80px}
@media(max-width:900px){.news-top{grid-template-columns:1fr}.news-side{grid-template-columns:1fr 1fr}.news-rows{grid-template-columns:1fr}}
@media(max-width:600px){.news-side{grid-template-columns:1fr}.news-card--hero .news-title{font-size:18px}.news-section{padding:20px 14px}.news-thumb.row{width:72px;height:56px}.news-skel{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.news-card,.news-thumb img{transition:none}.news-skel-card{animation:none}}
/* hero picture absorbs the free height of the row instead of leaving an empty gap */
.news-card--hero .news-thumb.hero{flex:1 1 auto;aspect-ratio:auto;min-height:240px}
.news-card--hero .news-body{flex:none}

/* ===================== v19: spinners, result fields, equal columns, Today, ticker links ===================== */
@keyframes hp-spin{to{transform:rotate(360deg)}}
.hp-spinner{display:inline-block;width:38px;height:38px;border-radius:50%;border:4px solid #cfe2ef;border-top-color:#1f78b4;border-right-color:#38a3c8;animation:hp-spin .85s linear infinite}
.hp-load{display:flex;align-items:center;justify-content:center;min-height:150px;width:100%}
.mkt-ribbon .hp-load{min-height:84px}.mkt-ribbon .hp-spinner{width:30px;height:30px;border-color:rgba(255,255,255,.28);border-top-color:#fff;border-right-color:#7cd6f0}
.busy-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.78);border-radius:14px;z-index:5;backdrop-filter:blur(1px)}
.busy-overlay[hidden]{display:none}
/* generic "section is refreshing" state: veil + spinner over the section, content stays underneath */
.is-busy{position:relative}
.is-busy::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.62);border-radius:inherit;z-index:4;pointer-events:none}
.is-busy::before{content:"";position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:4px solid #cfe2ef;border-top-color:#1f78b4;border-right-color:#38a3c8;animation:hp-spin .85s linear infinite;z-index:6;pointer-events:none}
.mkt-ribbon.is-busy::after{background:rgba(14,39,64,.55)}.mkt-ribbon.is-busy::before{border-color:rgba(255,255,255,.3);border-top-color:#fff;border-right-color:#7cd6f0}
.status[data-tone="busy"]{color:#2a6f9c}
.status[data-tone="busy"]::before{content:"";display:inline-block;width:14px;height:14px;margin-inline-end:8px;vertical-align:-2px;border-radius:50%;border:2px solid #cfe2ef;border-top-color:#1f78b4;animation:hp-spin .8s linear infinite}
@media(prefers-reduced-motion:reduce){.hp-spinner,.is-busy::before,.status[data-tone="busy"]::before{animation-duration:2.6s}}

/* two equal-height columns on desktop: search | result */
.lookup-grid{align-items:stretch}
.lookup-main,.lookup-result{display:flex;flex-direction:column;min-width:0;box-sizing:border-box;border:1px solid #e0e9ef;border-radius:14px;padding:22px 22px 20px;background:#fff}
.lookup-main{background:linear-gradient(180deg,#f8fbfd,#f2f7fa);padding-top:22px;justify-content:flex-start}
.lookup-result{position:relative;padding-inline-start:22px;border-inline-start:1px solid #e0e9ef}
.result-list{display:grid;gap:10px}
.result-row{display:block;height:auto;min-height:0;padding:9px 12px 10px;border-radius:11px;border:1px solid #e0e9ef;background:#fbfcfd;direction:inherit}
.result-row label{display:block;margin:0 0 4px;color:#566e7f;font-size:12.5px;font-weight:620;letter-spacing:.01em;text-align:start;direction:inherit;grid-column:auto}
.result-row .field{position:relative;display:flex;align-items:flex-start;gap:8px}
.result-row input,.result-row textarea{flex:1 1 auto;min-width:0;width:100%;box-sizing:border-box;color:#182c3f;cursor:text;background:#fff;border:1px solid #e3ebf1;border-radius:8px;outline:0;padding:7px 10px;font:inherit;font-size:15.5px;line-height:1.45;text-overflow:clip;grid-column:auto}
.result-row textarea{resize:none;overflow:hidden;min-height:36px;white-space:pre-wrap;overflow-wrap:anywhere}
.result-row input:focus,.result-row textarea:focus{border-color:#7ab8dc;background:#eef8ff;box-shadow:0 0 0 3px #d7effa}
.result-row input::selection,.result-row textarea::selection{background:#2f8fd0;color:#fff}
.result-row .copy-icon{flex:none;grid-column:auto;margin-top:2px}
html[dir="ltr"] .result-row{direction:ltr}html[dir="ltr"] .result-row label{text-align:left}
.card-builder-link{margin-top:14px;align-self:flex-start}

/* ticker chips are links to the asset */
a.mkt-chip{text-decoration:none;color:#eaf4fa;cursor:pointer}a.mkt-chip:visited{color:#eaf4fa}

/* ----- Today ----- */
.today{background:#fff;border:1px solid #dce6ec;border-radius:17px;box-shadow:var(--shadow);padding:22px 26px 16px;margin-bottom:22px}
.today-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.today-title h2{margin:2px 0 0}
.today-city{display:flex;align-items:center;gap:8px;font-size:13px;color:#60798a;font-weight:600}
.today-city select{border:1px solid #c9d8e2;border-radius:9px;background:#fff;padding:7px 12px;font:inherit;font-size:14px;color:#17303f}
.today-body{position:relative;min-height:150px}
.today-grid{display:grid;grid-template-columns:1.1fr .9fr 1.3fr;gap:14px}
.today-card{border:1px solid #e2eaf0;border-radius:13px;background:linear-gradient(180deg,#fbfdfe,#f5f9fb);padding:14px 16px;min-width:0}
.today-card h3{margin:0 0 8px;font-size:12.5px;letter-spacing:.04em;color:#6a8394;font-weight:650;text-transform:uppercase}
.today-greg{font-size:20px;font-weight:680;color:#14304a;line-height:1.25}
.today-heb{font-size:16.5px;color:#25536f;margin-top:3px;font-weight:600}
.today-note{font-size:12px;color:#8a9aa8;margin-top:2px}
.today-sun{display:flex;gap:16px;margin-top:11px;font-size:14px;color:#3b556a;flex-wrap:wrap}
.today-sun b{font-variant-numeric:tabular-nums;color:#14304a}
.today-wx{display:flex;align-items:center;gap:12px}
.today-wx .ico{font-size:40px;line-height:1}
.today-wx .temp{font-size:30px;font-weight:700;color:#14304a;font-variant-numeric:tabular-nums}
.today-wx .txt{font-size:14px;color:#3b556a}
.today-wx-meta{margin-top:8px;font-size:13px;color:#60798a;display:flex;gap:12px;flex-wrap:wrap}
.shabbat-title{font-size:17px;font-weight:680;color:#14304a;margin:0 0 6px}
.shabbat-row{display:flex;justify-content:space-between;gap:10px;align-items:baseline;padding:5px 0;border-top:1px dashed #dbe5ec;font-size:14px;color:#3b556a}
.shabbat-row:first-of-type{border-top:0}
.shabbat-row .when{min-width:0}.shabbat-row .when small{display:block;color:#7a8e9d;font-size:12px}
.shabbat-row .t{font-weight:700;color:#14304a;font-variant-numeric:tabular-nums;font-size:16px;white-space:nowrap}

.today-credit{font-size:11.5px;color:#7b92a4;margin:12px 2px 0;line-height:1.5}
.today-credit a{color:#5a7f99}
.today-err{padding:26px;text-align:center;color:#627b8a}
@media(max-width:860px){.lookup-main,.lookup-result{padding:18px 16px 16px}}

/* ===================== v20: "report an inaccuracy" ===================== */
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@keyframes rp-pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}


/* ===================== v21: the "Today" block, richer and without any third-party site links ===================== */
.today{padding:24px 28px 16px;background:linear-gradient(180deg,#ffffff,#fbfdfe)}
.today-grid{display:grid;grid-template-columns:1.12fr 1fr 1.05fr;gap:16px;align-items:stretch}
.today-card{position:relative;overflow:hidden;border:1px solid #dfe9f0;border-radius:16px;padding:16px 18px 15px;background:#fff;box-shadow:0 2px 10px rgba(24,56,80,.05)}
.today-card h3{display:flex;align-items:center;gap:4px;margin:0 0 10px}
.tc-ico{font-size:15px;line-height:1}
.today-card.dt{background:linear-gradient(145deg,#e6f3fb 0%,#f1f9f8 70%,#fff 100%)}
.today-card.wx{background:linear-gradient(150deg,#e9f2fb 0%,#f5f9fd 55%,#fff7ea 130%)}
.today-card.shab{background:linear-gradient(150deg,#fff6e3 0%,#fffaf1 60%,#fff 100%);border-color:#f0e2c4}
.today-greg{font-size:21px;font-weight:700;color:#12304a;line-height:1.25}
.today-heb{font-size:19px;color:#1e6a93;margin-top:4px;font-weight:650}
.today-sun{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.sun-cell{display:flex;flex-direction:column;align-items:flex-start;gap:1px;background:rgba(255,255,255,.7);border:1px solid #dbe8f0;border-radius:11px;padding:8px 10px}
.sun-ico{font-size:18px;line-height:1.1}.sun-lbl{font-size:11.5px;color:#6a8394}.sun-cell b{font-size:17px;font-variant-numeric:tabular-nums;color:#12304a}
.today-wx{display:flex;align-items:center;gap:14px}.today-wx .ico{font-size:58px;line-height:1;filter:drop-shadow(0 3px 5px rgba(20,60,90,.18))}
.today-wx .temp{font-size:46px;font-weight:720;color:#12304a;line-height:1;font-variant-numeric:tabular-nums}.today-wx .txt{font-size:15px;color:#3b556a;margin-top:3px}
.today-wx-meta{margin-top:10px;display:flex;gap:6px 14px;flex-wrap:wrap;font-size:13px;color:#4f6a7d}
.today-fc{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}
.fc-day{display:flex;flex-direction:column;align-items:center;gap:2px;background:rgba(255,255,255,.75);border:1px solid #dbe8f0;border-radius:11px;padding:8px 4px;font-size:12.5px;color:#3b556a}
.fc-d{font-weight:650;color:#4a6577}.fc-i{font-size:24px;line-height:1.15}.fc-t{font-variant-numeric:tabular-nums;font-weight:650;color:#12304a;white-space:nowrap}
.shabbat-title{font-size:20px;font-weight:720;color:#6b4a0f;margin:0 0 6px;display:inline-block}
.shab .chip{margin-inline-start:8px;vertical-align:3px}
.chip{display:inline-block;font-size:11.5px;font-weight:700;color:#1d5f8a;background:#e1f0f9;border-radius:99px;padding:3px 10px;white-space:nowrap}
.chip-now{color:#247c68;background:#e0f5ec}
.shabbat-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.75);border:1px solid #f0e2c4;border-top:1px solid #f0e2c4;font-size:14px;color:#5b4a26}
.shabbat-row .when small{display:block;color:#8b7a52;font-size:12px;margin-top:1px}
.shabbat-row .t{font-size:24px;font-weight:720;color:#6b4a0f;font-variant-numeric:tabular-nums}
.today-upd{margin-top:12px;font-size:11.5px;color:#92a4b2;text-align:end}
@media(max-width:1000px){.today-grid{grid-template-columns:1fr 1fr}.today-card.shab{grid-column:1/-1}}
@media(max-width:620px){.today{padding:18px 14px 12px}.today-grid{grid-template-columns:1fr}.today-wx .temp{font-size:40px}}


/* ===================== v23: Israeli working-days calendar ===================== */
.today-cal{margin-top:0;padding-top:0}
.today-cal>h3{display:flex;align-items:center;gap:4px;margin:0 0 12px;font-size:14px;letter-spacing:.02em;color:#2b4b61;font-weight:700;text-transform:none}
.cal-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cal-nav{border:1px solid #c6d9e6;background:#fff;color:#1f5f88;border-radius:10px;padding:7px 13px;font:inherit;font-size:13.5px;font-weight:650;cursor:pointer}
.cal-nav:hover:not([disabled]),.cal-nav:focus-visible{background:#eef7fc;border-color:#7ab8dc;outline:0}
.cal-nav[disabled]{opacity:.45;cursor:default}
.cal-sel{border:1px solid #c9d8e2;border-radius:10px;background:#fff;padding:7px 10px;font:inherit;font-size:14px;color:#17303f}
.cal-today{margin-inline-start:auto}
.cal-heb{margin:12px 2px 2px;font-size:19px;font-weight:700;color:#1e6a93}
.cal-sum{margin:4px 2px 10px;font-size:14px;color:#3b556a;line-height:1.5}.cal-sum b{color:#12304a}
.cal-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0 2px 12px;font-size:12.5px;color:#4f6a7d}
.lg{display:inline-flex;align-items:center;gap:6px}
.lg-sw{width:16px;height:16px;border-radius:5px;border:1px solid #cfdde7;background:#fff}
.lg-today{border:2px solid #1f78b4;border-radius:50%}
.lg-ov{font-size:13px;color:#8a5a14}
.st-half.lg-sw,.lg-sw.st-half{background:linear-gradient(135deg,#fff6e0,#ffe6b0);border-color:#ecc77c}
.st-off.lg-sw,.lg-sw.st-off{background:#fde8e8;border-color:#efb4b4}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.cal-wd{padding:4px 2px;text-align:center;font-size:12.5px;font-weight:650;color:#60798a}
.cal-day{position:relative;display:flex;flex-direction:column;gap:2px;min-height:86px;padding:6px 7px 5px;border:1px solid #dfe9f0;border-radius:11px;background:#fff;color:#17303f;font:inherit;text-align:start;cursor:pointer;overflow:hidden;transition:box-shadow .12s,border-color .12s}
.cal-empty{border:0;background:transparent;cursor:default;min-height:0}
.cal-day:hover,.cal-day:focus-visible{border-color:#7ab8dc;box-shadow:0 0 0 3px #dff0fa;outline:0}
.cal-day.st-half{background:linear-gradient(135deg,#fffaf0,#fff0cc);border-color:#efd391}
.cal-day.st-off{background:#fdeeee;border-color:#f0c4c4}
.cal-day.is-sel{border-color:#1f78b4;box-shadow:0 0 0 2px #1f78b4}
.cd-top{display:flex;align-items:baseline;justify-content:space-between;gap:4px}
.cd-g{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;min-width:26px;text-align:center;border-radius:99px;padding:0 4px}
.is-today .cd-g{background:#1f78b4;color:#fff}
.cd-h{font-size:11px;color:#7a8e9d;white-space:nowrap}
.cd-ev{display:block;font-size:11.5px;line-height:1.25;font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cd-dot{display:none;width:8px;height:8px;border-radius:50%;margin-top:auto}
.cd-st{margin-top:auto;font-size:11px;font-weight:700;color:#a53f42}
.st-half .cd-st{color:#9a6a12}.cd-ok{color:#287a52}
.ev-yomtov{color:#b3261e}.ev-erev{color:#b4540a}.ev-cholhamoed{color:#0f766e}.ev-fast{color:#5b6770}.ev-memorial,.ev-independence{color:#1d4ed8}
.ev-chanukah,.ev-purim,.ev-minor{color:#6d3fb8}.ev-saturday,.ev-friday{color:#1f5f88}.ev-parsha{color:#7a8e9d;font-style:italic;font-weight:500}.ev-roshchodesh{color:#8a6d1a}
.cd-dot.ev-yomtov{background:#b3261e}.cd-dot.ev-erev{background:#b4540a}.cd-dot.ev-cholhamoed{background:#0f766e}.cd-dot.ev-fast{background:#5b6770}
.cd-dot.ev-memorial,.cd-dot.ev-independence{background:#1d4ed8}.cd-dot.ev-chanukah,.cd-dot.ev-purim,.cd-dot.ev-minor{background:#6d3fb8}
.cal-detail{margin-top:14px;padding:14px 16px;border:1px solid #dfe9f0;border-radius:14px;background:linear-gradient(180deg,#fbfdfe,#f4f9fb);min-height:48px}
.cd-title{font-size:16.5px;font-weight:700;color:#12304a;margin-bottom:8px}
.cd-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:5px;font-size:14px}
.cd-chip{display:inline-block;border-radius:99px;padding:2px 10px;font-size:11.5px;font-weight:700;background:#eef3f6}
.cd-status{margin-bottom:10px;font-size:14px}
.stt{display:inline-block;border-radius:99px;padding:3px 12px;font-weight:700;background:#fff;border:1px solid #cfdde7}
.stt.st-half{background:#fff1cf;border-color:#efd391;color:#8a5a0c}.stt.st-off{background:#fde8e8;border-color:#efb4b4;color:#a53f42}.stt.st-work{background:#e5f6ee;border-color:#b4dfc9;color:#1d7a52}
.cd-ov{display:flex;flex-wrap:wrap;gap:8px}
.cd-opt{display:inline-flex;align-items:center;gap:6px;border:1px solid #cddbe5;border-radius:99px;padding:6px 14px;font-size:13.5px;cursor:pointer;background:#fff}
.cd-opt.on{background:#e0f1fb;border-color:#277fb6;color:#0f5a87;font-weight:650}
.cd-opt input{margin:0;accent-color:#1f78b4}
.cal-policy{margin-top:14px;border:1px solid #dfe9f0;border-radius:14px;background:#fff;padding:0 16px}
.cal-policy>summary{cursor:pointer;padding:13px 0;font-size:14px;font-weight:650;color:#1f5f88}
.pol-table{display:grid;gap:2px;padding-bottom:6px}
.pol-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px dashed #e3ebf1}
.pol-lab{display:flex;flex-direction:column;gap:1px;min-width:0}.pol-name{font-weight:650;font-size:14px;color:#12304a}.pol-desc{font-size:12px;color:#7a8e9d}
.pol-acts{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0 6px}
.cal-policy .today-note{padding-bottom:12px}
@media(max-width:700px){.cal-grid{gap:4px}.cal-day{min-height:58px;padding:4px 4px 3px}.cd-ev{display:none}.cd-dot{display:block}.cd-h{display:none}.cd-g{font-size:15px}.cd-st{font-size:10px}.cal-today{margin-inline-start:0}.pol-row{flex-wrap:wrap}}

/* v25: calendar loading keeps its place; split fasts */
.cal-skel{min-height:560px;display:flex;align-items:center;justify-content:center}
.cal-gridwrap{position:relative;border-radius:12px}
.cal-day.sk{color:#a8b7c2;background:#f6f9fb;border-color:#e6eef3;cursor:default}
.cal-day.sk:hover{border-color:#e6eef3;box-shadow:none}
.cal-day.sk .cd-g{color:#9fb0bd}
.cal-sum-load{color:#7a8e9d}
.cal-gridwrap.is-busy::after{background:rgba(255,255,255,.35);border-radius:12px}
.ev-kippur{color:#b3261e}.ev-erevfast{color:#b4540a}.ev-tishabav{color:#374151;font-weight:700}
.cd-dot.ev-kippur{background:#b3261e}.cd-dot.ev-erevfast{background:#b4540a}.cd-dot.ev-tishabav{background:#374151}
.pol-row select:disabled{opacity:.75;background:#f1f5f8;cursor:not-allowed}

/* v26: news photos are shown whole, in their original proportions: never cropped */
.news-thumb.hero,.news-thumb.card{display:flex;align-items:center;justify-content:center;aspect-ratio:auto;min-height:120px;background:#eef3f7}
.news-card--hero .news-thumb.hero{min-height:200px}
.news-thumb.hero img,.news-thumb.card img{position:static;inset:auto;width:100%;height:auto;max-height:440px;object-fit:contain;display:block}
.news-thumb.card img{max-height:300px}
.news-thumb.row{background:#eef3f7}
.news-thumb.row img{object-fit:contain}
.news-card:hover .news-thumb img{transform:none}

.cal-savemsg{margin-top:10px;border:1px solid #f0d7a8;background:#fff8e8;color:#6b4a07;border-radius:10px;padding:9px 12px;font-size:14px}
.cal-savemsg.ok{border-color:#bfe0cf;background:#eefaf3;color:#1b5e3b}
.cal-savemsg a{font-weight:650;margin-inline-start:4px}
.cal-section{margin-top:18px}

/* My calendars (account) */
.cal-empty{padding:18px 4px;color:#3a5566;font-size:15px}
.cal-item{border:1px solid #dfe9f0;border-radius:14px;background:#fff;padding:14px 16px;margin-bottom:12px}
.cal-item-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px}
.cal-item-head h3{margin:0;font-size:18px;color:#1f5f88}
.cal-item-title{font-size:14px;color:#3a5566}
.cal-item-meta{margin:4px 0 10px;font-size:13px;color:#6a8493}
.cal-item-actions{display:flex;flex-wrap:wrap;gap:8px}
.cal-main{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:14px;color:#1f5f88;cursor:pointer}.cal-main small{color:#6a8493;font-size:12.5px}
.acc-btn-danger{color:#a33a2b}
.cal-panel{margin-top:12px;border-top:1px solid #e6eef3;padding-top:12px;display:grid;gap:10px}
.cal-panel-title{font-size:14px;font-weight:650;color:#1f5f88}
.cal-choices{display:grid;gap:8px}
.cal-langs{display:flex;flex-wrap:wrap}
.cal-opt{display:flex;align-items:center;gap:9px;border:1px solid #d5e3ec;border-radius:10px;padding:9px 12px;font-size:14px;color:#17303f;cursor:pointer}
.cal-opt.on{border-color:#5aa6cf;background:#eef7fc}
.cal-opt input{margin:0}
.cal-note{margin:0;font-size:13px;color:#6a8493}
.cal-field{display:grid;gap:5px;font-size:14px;color:#3a5566}
.cal-input,.cal-select{border:1px solid #c9d8e2;border-radius:10px;background:#fff;padding:8px 11px;font:inherit;font-size:14px;color:#17303f}
.cal-input{max-width:420px}

/* ---- header: the account entry is a real button; phone: menu row + compact vertical language switch */
.head-account{order:2;display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:999px;background:linear-gradient(135deg,#1f6fa8,#2b8dd1);color:#fff;font-size:14.5px;font-weight:700;white-space:nowrap;box-shadow:0 4px 14px rgba(31,111,168,.28)}
.head-account:hover,.head-account:focus-visible{background:#18597f;color:#fff}
.head-inner .head-nav{order:3}
.head-inner .brand{order:4}
.mobile-nav{display:none}
@media(max-width:780px){
 .mobile-nav{display:flex;gap:8px;overflow-x:auto;padding:8px 14px;background:#fff;border-bottom:1px solid var(--line);scrollbar-width:none}
 .mobile-nav::-webkit-scrollbar{display:none}
 .mobile-nav a{flex:none;padding:7px 15px;border-radius:999px;background:#eef4f9;color:#27506f;font-size:14px;font-weight:600;white-space:nowrap}
 .lang-switch{flex-direction:column;gap:2px;padding:3px}
 .lang-switch button{min-width:54px;height:26px;font-size:13px}
 .head-account{height:38px;padding:0 14px;font-size:14px}
}
/* ---- news as a clean list when there are not enough pictures */
.news-list-plain{display:grid;border:1px solid #e1e9ee;border-radius:16px;overflow:hidden;background:#fff}
.news-card--list{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;border-bottom:1px solid #edf1f4;border-radius:0;background:#fff}
.news-card--list:last-child{border-bottom:0}
.news-card--list:hover,.news-card--list:focus-visible{background:#f4f9fc}
.news-card--list .news-body{padding:0;gap:5px;min-width:0;flex:1}
.news-card--list .news-title{font-size:16.5px;-webkit-line-clamp:2}
.news-thumb.list{width:84px;height:62px;flex:none;border-radius:9px;background:#eef3f7}
.news-thumb.list img{width:100%;height:100%;object-fit:contain}
.news-card--row .news-body{flex:1;min-width:0}
/* ---- the quick "improve the search" button */
.improve-btn{margin-top:10px;align-self:flex-start;border:1px solid #cfe0ea;background:#f4f9fc;color:#1f5f88;border-radius:999px;padding:8px 16px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.improve-btn:hover:not([disabled]),.improve-btn:focus-visible{background:#e8f3fa}
.improve-btn.done{background:#eefaf3;border-color:#bfe0cf;color:#1b5e3b;cursor:default}
/* ---- calendar settings: labels wrap inside their own column, every menu sits in the same column */
.pol-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:start;gap:6px 12px}
.pol-row select{width:100%}
@media(max-width:700px){.pol-row{flex-wrap:initial;grid-template-columns:minmax(0,1fr) 132px}}
/* ---- Today: the lower blocks of the three cards share one horizontal level */
@media(min-width:901px){.today-grid>.today-card{display:flex;flex-direction:column}.today-grid>.today-card>:last-child{margin-top:auto}}
@media(max-width:780px){.head-inner{gap:10px}}
@media(max-width:520px){.head-account{padding:0 12px;gap:6px;font-size:13.5px}.head-inner{gap:8px}}

/* ---- calendar notes: a simple palette */
.n-blue{--nbg:#dbe9f2;--nink:#3a6a8a;--nmid:#8db5ce}.n-green{--nbg:#dde8d6;--nink:#4f6f43;--nmid:#9dbb8d}.n-yellow{--nbg:#f7ebc0;--nink:#7d6417;--nmid:#e2c467}
.n-red{--nbg:#efd3d6;--nink:#85303f;--nmid:#c98590}.n-purple{--nbg:#e4def1;--nink:#66559a;--nmid:#a99bd1}.n-gray{--nbg:#e8e4dc;--nink:#615b50;--nmid:#b3ab9c}
.cd-note{display:block;font-size:10.5px;line-height:1.25;padding:1px 5px;border-radius:5px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--nbg);color:var(--nink);border-inline-start:3px solid var(--nink);text-align:start;max-width:100%}
.cd-ndots{display:none;gap:3px;margin-top:3px;flex-wrap:wrap}
.cd-ndots i{display:block;width:7px;height:7px;border-radius:50%;background:var(--nmid)}
@media(max-width:700px){.cd-note{display:none}.cd-ndots{display:flex}}
.cd-notes{margin-top:12px;border-top:1px solid #e6eef3;padding-top:10px;display:grid;gap:8px}
.cd-notes-h{font-size:14px;color:#1f5f88}
.cd-nlist{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.cd-nitem{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:8px;background:var(--nbg);color:var(--nink);border-inline-start:4px solid var(--nink);font-size:14px}
.cd-nitem span{flex:1;min-width:0;overflow-wrap:anywhere}
.cd-ndel{border:0;background:transparent;color:inherit;cursor:pointer;font-size:14px;padding:2px 6px;margin-inline-start:auto}
.cd-nadd{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cd-ninput{flex:1 1 180px;min-width:0;border:1px solid #c9d8e2;border-radius:10px;padding:8px 11px;font:inherit;font-size:14px;color:#17303f;background:#fff}
.cd-npal,.cal-npal{display:flex;gap:7px}
.cd-nrep{border:1px solid #c9d8e2;border-radius:8px;padding:3px 6px;font:inherit;font-size:12.5px;color:#17303f;background:#fff;max-width:130px}.cd-nfrom{font-size:11.5px;opacity:.8;white-space:nowrap}
.cd-sw,.cal-sw{position:relative;display:block;width:26px;height:26px;border-radius:50%;background:var(--nmid);cursor:pointer}
.cd-sw input,.cal-sw input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.cd-sw.on,.cal-sw.on{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--nink)}

/* ---- My calendars: the same calendar view as the home page; layout previews */
.cal-host{margin-top:6px}
.cal-host .cal-bar{margin-top:0}
.pv-row{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}
.pv-opt{position:relative;display:block;border:2px solid #d5e3ec;border-radius:14px;padding:10px;background:#f6f9fb;cursor:pointer}
.pv-opt input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.pv-opt.on{border-color:#2f86c0;background:#eef7fc;box-shadow:0 0 0 3px rgba(47,134,192,.18)}
.pv-opt.on::after{content:'✓';position:absolute;top:6px;inset-inline-end:8px;width:20px;height:20px;border-radius:50%;background:#2f86c0;color:#fff;font-size:12px;line-height:20px;text-align:center}
.pv{background:#fff;border:1px solid #cfdde7;border-radius:3px;box-shadow:0 2px 6px rgba(20,60,90,.12);padding:6%;display:flex;flex-direction:column;gap:4%}
.pv.land{width:190px;aspect-ratio:1.414}.pv.port{width:134px;aspect-ratio:.707}
.pv-head{display:grid;gap:2px;flex:none}
.pv-head i{display:block;height:3px;border-radius:2px;background:#235d7a;width:55%}
.pv-head i+i{height:2px;background:#c9d6de;width:85%}
.pv-body{flex:1;min-height:0;display:flex;flex-direction:column;gap:4%}
.pv-big,.pv-half{flex:2;min-height:0;display:flex}
.pv-body>.pv-half{flex:1}
.pv-big.full{flex:1}
.pv-smalls{flex:1;min-height:0;display:flex;gap:6%}
.pv-smalls>.pv-m{flex:1}
.pv-big>.pv-m,.pv-half>.pv-m{flex:1}
.pv-m{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#cfdde7;border:1px solid #cfdde7;min-width:0;min-height:0}
.pv-d{position:relative;display:block;background:#fff;min-width:0;min-height:0}
.pv-d.st-off{background:#d3dbe1}.pv-d.st-half{background:#fdeab9}.pv-d.empty{background:#f6f9fb}
.pv-d.pv-h::after{content:'';position:absolute;inset-inline-end:12%;bottom:12%;width:28%;max-width:3px;aspect-ratio:1;border-radius:50%;background:#b3402f}
.pv-d i{position:absolute;inset-inline-start:12%;bottom:12%;width:28%;max-width:3px;aspect-ratio:1;border-radius:50%;background:var(--nmid)}
#calendar{scroll-margin-top:84px}

/* ---- Hetpei result fields: aligned with the interface language (Hebrew: right, English: left), whatever the language of the value */
html[dir="rtl"] .result-row input,html[dir="rtl"] .result-row textarea{text-align:right}
html[dir="ltr"] .result-row input,html[dir="ltr"] .result-row textarea{text-align:left}
/* ---- 1: the explanation sits under the search line, larger */
.lookup-main .intro{max-width:none;margin:16px 0 4px;font-size:18px;line-height:1.55;color:#40586b;white-space:normal}

/* ---- one card: the colour key as a horizontal row, and below it a reserved area that turns into the selected day's panel.
   The area has a fixed height, so the calendar below never jumps when a day is chosen. */
.cal-info{display:block;margin:14px 0 16px;scroll-margin-top:84px;border:1px solid #dfe9f0;border-radius:14px;background:#fff;overflow:hidden}
.cal-info .cal-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0;padding:11px 16px;border:0;border-bottom:1px solid #e6eef3;border-radius:0;background:#f6fafc;font-size:13px}
.cal-info .cal-detail{margin:0;padding:14px 16px;border:0;border-radius:0;background:transparent;height:330px;overflow:auto;box-sizing:border-box}
.cal-info .cal-detail.is-empty{display:none} /* nothing chosen yet: the panel is collapsed, only the colour key is shown */
.cal-info .cal-legend:has(+ .cal-detail.is-empty){border-bottom:0}
@media(max-width:780px){.cal-info .cal-detail{height:440px}}
@media(min-width:781px){
 .cal-info .cal-detail:not(.is-empty){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;align-content:start}
 .cal-info .cal-detail:not(.is-empty)>*{grid-column:1}
 .cal-info .cal-detail:not(.is-empty)>.cd-notes{grid-column:2;grid-row:1 / span 8;margin-top:0;border-top:0;padding-top:0;border-inline-start:1px solid #e6eef3;padding-inline-start:22px}
}

/* ---- news photos: their own proportions, the card adapts to the photo; stories without a photo are a list */
.news-masonry{columns:1;column-gap:16px}
@media(min-width:640px){.news-masonry{columns:2}}
@media(min-width:1000px){.news-masonry{columns:3}}
.news-card--photo{display:flex;flex-direction:column;break-inside:avoid;margin:0 0 16px;background:#fff;border:1px solid #e1e9ee;box-shadow:0 4px 16px rgba(24,56,80,.05)}
.news-card--photo:hover,.news-card--photo:focus-visible{transform:translateY(-2px);box-shadow:0 12px 28px rgba(24,56,80,.12);border-color:#c9dbe6}
.news-thumb.photo{display:block;position:static;background:#eef3f7;aspect-ratio:auto}
.news-thumb.photo img{position:static;inset:auto;display:block;width:100%;height:auto;object-fit:fill}
.news-card:hover .news-thumb.photo img{transform:none}
.news-card--photo .news-title{font-size:17px}
.news-card--photo .news-summary{font-size:13.5px;-webkit-line-clamp:3}
.news-masonry+.news-list-plain{margin-top:6px}
.news-thumb[hidden]{display:none}

/* ---- the fourth line of the result: the company's website (same box as the other fields, but a link) */
.result-row--site[hidden]{display:none}
.res-site-link{flex:1 1 auto;min-width:0;box-sizing:border-box;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:7px 10px;min-height:36px;font-size:15.5px;line-height:1.45;color:#1769b3;text-decoration:none;background:#fff;border:1px solid #e3ebf1;border-radius:8px}
.res-site-link:hover,.res-site-link:focus-visible{text-decoration:underline;border-color:#7ab8dc;background:#eef8ff;outline:0}
html[dir="rtl"] .res-site-link{text-align:right}html[dir="ltr"] .res-site-link{text-align:left}
/* ---- the map under the search line */
.map-box{margin-top:18px;border:1px solid #dbe8ee;border-radius:14px;background:#fff;overflow:hidden}
.map-box[hidden]{display:none}
.map-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 14px;background:#f6fafc;border-bottom:1px solid #e6eef3;font-size:13px;color:#566e7f;font-weight:620}
.map-links{display:flex;gap:14px}.map-links a{color:#1769b3;text-decoration:none;font-weight:600}.map-links a:hover{text-decoration:underline}
.map-canvas{height:300px}.map-canvas[hidden]{display:none}

.map-note{margin:0;padding:14px;font-size:14px;line-height:1.5;color:#566e7f}
@media(max-width:700px){.map-canvas{height:250px}}

/* ---- expand the previous / next month: a button above and below the grid, the whole neighbouring month opens in place */
.cal-expand{display:block;width:100%;margin:10px 0 8px;padding:9px 12px;border:1px dashed #b8d2e2;border-radius:10px;background:#f4f9fc;color:#1d5f8e;font:inherit;font-weight:620;text-align:center;cursor:pointer}
.cal-expand:hover,.cal-expand:focus-visible{background:#e7f3fb;border-color:#7ab8dc;outline:0}
.cal-expand[aria-expanded="true"]{border-style:solid;background:#eaf4fb}
.cal-ext{margin:6px 0 12px;padding:6px 0 4px;border-top:2px solid #d9e8f1}
.cal-ext-next{border-top:0;border-bottom:2px solid #d9e8f1}
.cal-ext-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:4px 4px 8px;font-size:14px;color:#566e7f}
.cal-ext-title b{font-size:17px;color:#14304a}

/* ---- when a neighbouring month is open, every month carries its name, the current one too */
.cal-main-title{margin-top:8px;padding-top:10px;border-top:2px solid #d9e8f1}

.map-canvas iframe{display:block;width:100%;height:100%;border:0}
.map-links{flex-wrap:wrap;justify-content:flex-end}

/* ---- calendar title: arrows at the sides, the Gregorian month and year as a heading in the same style as the Hebrew months */
.cal-bar--title{justify-content:center;gap:8px 12px;margin-bottom:2px}
.cal-bar--title .cal-title{flex:1 1 auto;min-width:0;text-align:center}
.cal-arrow{width:42px;height:42px;padding:0;border-radius:50%;font-size:14px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.cal-title .cal-sel-title{appearance:none;-webkit-appearance:none;border:0;background:transparent;padding:0 4px;margin:0;font:inherit;font-size:21px;font-weight:700;color:#1e6a93;cursor:pointer;text-align:center;text-align-last:center;border-radius:8px}
.cal-title .cal-sel-title:hover,.cal-title .cal-sel-title:focus-visible{background:#eef7fc;outline:0}
.cal-title .cal-heb{margin:2px 0 0;font-size:21px;text-align:center}
/* ---- the day panel: two or three lines (it must not push the month off the screen, e.g. on a landscape iPad) */
.cal-info .cal-detail:not(.is-empty){display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;height:auto;overflow:visible;padding:10px 14px}
.cal-info .cal-detail:not(.is-empty)>*{grid-column:auto}
.cal-info .cal-detail .cd-title{margin:0;font-size:15px}
.cal-info .cal-detail .cd-list{margin:0;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px}
.cal-info .cal-detail .cd-status{margin:0;font-size:13px}
.cal-info .cal-detail .cd-ov{flex:1 1 100%;gap:6px}
.cal-info .cal-detail .cd-opt{padding:4px 12px}
.cal-info .cal-detail:not(.is-empty)>.cd-notes{flex:1 1 100%;grid-column:auto;grid-row:auto;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0;padding:0;border:0}
.cd-notes .cd-nlist{display:flex;flex-wrap:wrap;gap:6px}
.cd-notes .cd-nitem{padding:3px 8px;font-size:13px}
.cd-notes .cd-nadd{flex:1 1 260px}
.cd-notes .cd-ninput{padding:5px 9px}
/* ---- icons */
.hp-i{display:inline-block;vertical-align:middle;flex:none}
.head-account{--hp-line:#fff;--hp-fill:rgba(255,255,255,.3)}
.today-wx .ico .hp-i{filter:drop-shadow(0 3px 5px rgba(20,60,90,.18))}
.sun-ico .hp-i,.fc-i .hp-i{display:block;margin:0 auto}
.today-wx-meta .hp-i{margin-inline-end:6px}

/* the status choices fit one row: the selected one is shown by its colour, the round mark is not needed (the radio stays for keyboards and readers) */
.cal-info .cal-detail .cd-opt{position:relative;padding:4px 11px;font-size:13px}
.cal-info .cal-detail .cd-opt input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.cal-info .cal-detail .cd-opt:focus-within{outline:2px solid #7ab8dc;outline-offset:1px}
@media(max-width:520px){.cal-info .cal-detail:not(.is-empty){padding:8px 10px;gap:4px 10px}.cal-info .cal-detail .cd-title{font-size:14px}.cd-notes .cd-notes-h{display:none}}
.tc-ico .hp-i{margin-inline-end:2px}

/* the arrows and the title stay in one row whatever the width; the other buttons of the bar go to the next row on narrow screens */
.cal-titlebar{flex:1 1 100%;display:flex;align-items:center;gap:10px;min-width:0}
.cal-titlebar .cal-title{flex:1 1 0;min-width:0}
.cal-titlebar .cal-arrow{flex:none}
@media(min-width:760px){.cal-titlebar{flex:1 1 auto}}
@media(max-width:520px){.cal-title .cal-sel-title,.cal-title .cal-heb{font-size:19px}}

/* ---- icons, second batch */
.hp-mirror{transform:scaleX(-1)}
.hp-up{transform:rotate(180deg)}
.mkt-chg .hp-i{--hp-line:currentColor;--hp-fill:currentColor;vertical-align:-2px}
.news-retry .hp-i{margin-inline-end:3px;vertical-align:-3px}
.cal-expand .hp-i{margin-inline-end:6px;vertical-align:-3px}
.cal-arrow .hp-i{display:block}
.cd-ndel .hp-i{display:block}
.lg-ov .hp-i{vertical-align:-2px}
.cal-savebtn .hp-i{margin-inline-end:4px;vertical-align:-3px}
.improve-btn .hp-i{margin-inline-end:4px;vertical-align:-3px}
.account-tab-icon .hp-i{display:block}
.gate-icon .hp-i,.empty-symbol .hp-i{display:inline-block}

/* the ad places are switched off for now (the attribute `hidden` on the two <aside class="ad"> blocks of index.html turns them back on when removed) */
.ad[hidden]{display:none!important}

.seo-info{background:#fff;border:1px solid #dce6ec;border-radius:17px;box-shadow:var(--shadow);padding:26px 31px 22px;margin-top:22px;line-height:1.7}
.seo-info h2{font-size:21px;margin:0 0 8px}.seo-info h2:not(:first-child){margin-top:26px}.seo-info h3{font-size:17px;margin:18px 0 4px}.seo-info p{color:#455c6e;margin:0 0 6px}
.seo-info details{border-top:1px solid #e6eef2;padding:10px 0}.seo-info summary{cursor:pointer;font-weight:600}.seo-info details p{margin-top:6px}
@media (max-width:640px){.seo-info{padding:20px 14px}}

.guide .guide-search{margin:18px 0 10px}.guide ol{padding-inline-start:24px;color:#455c6e}.guide ol li{margin-bottom:8px}
.guide-table{overflow-x:auto;margin:14px 0}.guide-table table{border-collapse:collapse;width:100%;min-width:420px}.guide-table th,.guide-table td{border:1px solid #dfebf0;padding:8px 10px;text-align:start;vertical-align:top}.guide-table thead th{background:#f4f8fa}
.guide-related{margin-top:30px;border-top:1px solid #e6eef2;padding-top:6px}.guide-related ul,.seo-info .guide-links{padding-inline-start:22px;margin:6px 0}.guide-related li,.seo-info .guide-links li{margin-bottom:4px}
@media (max-width:640px){.page-content.guide{padding:22px 16px}}
html[dir=ltr] .guide .search-form{direction:ltr}

.contact-mail{font-size:19px;font-weight:600}.contact-form{display:grid;gap:6px;max-width:560px;margin-top:8px}.contact-form label{font-weight:600;margin-top:8px}.contact-form input,.contact-form textarea{font:inherit;border:1px solid #bfcdd8;border-radius:10px;padding:9px 12px;width:100%;box-sizing:border-box;background:#fff;color:inherit}.contact-form textarea{resize:vertical}.contact-form .btn-primary{justify-self:start;min-height:44px;margin-top:12px}.cf-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.cf-status{min-height:1.4em;margin:6px 0 0}.cf-status.ok{color:#17784a}.cf-status.err{color:#b3261e}.cf-note{font-size:13px}

/* failed search: message and hint as paragraphs, same size and colour as the intro line above the status */
.status[data-multi][data-tone]{font-size:18px;line-height:1.55;color:#40586b}.status[data-multi] p{margin:0 0 8px}.status[data-multi] p:last-child{margin-bottom:0}

/* v40: the map is its own block under the search and the results (on a phone: search, results, map) */
.lookup-map{grid-column:1/-1;min-width:0}.lookup-map .map-box{margin-top:0}
.map-l{display:inline-flex;align-items:center;gap:2px}.map-l .copy-icon{width:26px;height:26px}
.map-links[hidden]{display:none}
/* the search block keeps one height: what appears in it (status, choices) scrolls inside it */
.lookup-main{height:430px;overflow:hidden}
.lookup-dyn{flex:1 1 auto;min-height:0;overflow-y:auto} /* no overscroll-behavior:contain: the wheel over the search block scrolls the page */
.lookup-dyn .choices-list{max-height:none;overflow:visible;overscroll-behavior:auto} /* the list of choices never traps the wheel */
@media(max-width:780px){.lookup-main{height:400px}}
@media(max-width:520px){.lookup-main{height:420px}}

/* v41: a small phone (iPhone 12 mini, 375 px): the header and the map links each fit on one line */
.ha-text{white-space:nowrap}
@media(max-width:520px){
 .map-head{flex-wrap:wrap;row-gap:4px;padding:8px 10px}
 .map-links{flex-wrap:nowrap;gap:6px;width:100%;justify-content:space-between}
 .map-l{gap:0}.map-l a{font-size:13px;white-space:nowrap}.map-l .copy-icon{width:24px;height:24px}
}
@media(max-width:400px){
 .head-inner{gap:6px}
 .head-account{padding:0 10px}
 .head-account .ha-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* icon only, the name stays for screen readers */
 .brand img{width:132px;height:48px}
}

/* v42: future payments from Mark&Send in the calendar */
.ms-box{margin-top:16px;border:1px solid #d9e8f0;border-radius:14px;background:linear-gradient(180deg,#f8fbfd,#f1f7fa);padding:14px 16px}
.ms-box[hidden]{display:none}
.ms-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:6px}
.ms-title{font-size:16px;color:#1f5f88}.ms-brand{font-size:12.5px;font-weight:700;color:#c0392b;letter-spacing:.2px;white-space:nowrap}
.ms-lead,.ms-sum{margin:0 0 10px;color:#40586b;font-size:14px;line-height:1.5}.ms-sum{font-weight:650;color:#1f3d52}
.ms-msg{margin:8px 0 0;color:#99621a;font-size:13px}
.ms-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.ms-btn{border:1px solid #cfe0ea;background:#fff;color:#1f5f88;border-radius:999px;padding:7px 15px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.ms-btn:hover{background:#e8f3fa}.ms-go{background:linear-gradient(135deg,#1f6fa8,#2b8dd1);border-color:transparent;color:#fff}.ms-go:hover{background:#18597f}
.ms-quiet{border-color:transparent;background:transparent;color:#6a8493;font-weight:600}
.ms-more{color:#1769b3;font-size:14px;font-weight:600;text-decoration:none}.ms-more:hover{text-decoration:underline}
.cd-pay{display:block;font-size:10.5px;line-height:1.25;color:#7a4b00;background:#fff4d6;border-radius:4px;padding:0 3px;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;text-align:start}
.cd-pay.late{color:#b03a2e;background:#fde7e4}
.cd-pays{margin-bottom:8px}.cd-pitem{padding:3px 8px;border-radius:8px;background:#fff4d6;color:#5c3a00;font-size:13px;list-style:none}.cd-pitem.late{background:#fde7e4;color:#9b2c22}
.guide-cta{display:inline-block;text-decoration:none;padding:10px 22px;border-radius:12px}

.ms-eye{display:inline-flex;align-items:center;gap:7px}.ms-eye .ms-eye-i{flex:none}.ms-eye.on{background:#e8f3fa}

/* v47: tax dates calendar */
.tax-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.tax-field{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#1f3d52}
.tax-chk{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#1f3d52;cursor:pointer}
.tax-note{margin:10px 0 0;font-size:12.5px;line-height:1.5;color:#566e7f}
.cd-tax{display:block;font-size:10.5px;line-height:1.25;color:#173f73;background:#e3eefc;border-radius:4px;padding:0 3px;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-titem{padding:3px 8px;border-radius:8px;background:#e3eefc;color:#173f73;font-size:13px;list-style:none}
.tax-warn{color:#7a5a12;background:#fff8e6;border-radius:8px;padding:7px 10px}
.guide-warn{background:#fff8e6;border-radius:10px;padding:10px 14px;color:#5c4a1a;font-size:14px}

/* v49: a day shows at most 4 lines and "…"; the day panel moves by day or week and can show the whole week */
.cd-more{display:block;font-size:12px;line-height:1;color:#1f5f88;font-weight:700;letter-spacing:1px;margin-top:1px}
.cd-navrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cd-navrow .cd-title{flex:1 1 auto;min-width:0;text-align:center}
.cd-step{width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.cd-wh{border:0;background:none;padding:0;font:inherit;font-size:13.5px;font-weight:700;color:#1f3d52;cursor:pointer;text-align:start}
.cd-wlist{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:3px}.cd-wlist li{display:block;white-space:normal;font-size:12.5px;padding:2px 6px;border-radius:5px}
.cal-pdfbox{margin:10px 0;border:1px solid #d9e8f0;border-radius:12px;background:#f8fbfd;padding:12px 14px;display:grid;gap:10px;justify-items:start}
.cal-pdfbtn.on{background:#e8f3fa}

/* v50: pastel colours with a meaning — income green, expense yellow, overdue red, tax payment orange, report blue;
   the note palette keeps the other colours */
.n-pink{--nbg:#f6dde6;--nink:#8a3f5c;--nmid:#d9a2b7}.n-sand{--nbg:#efe6d4;--nink:#6b5a3a;--nmid:#cdb88f}
.cd-pay,.cd-pay.exp{color:#6b5300;background:#fbf0c4}.cd-pay.inc{color:#2f5d34;background:#d9f0da}.cd-pay.late{color:#8f2f26;background:#f8d9d5}
.cd-tax.pay{color:#8a4a12;background:#fde3cc}.cd-tax.rep{color:#1d4f8f;background:#dde9fb}
.cd-li{display:block;padding:3px 8px;border-radius:8px;font-size:13px;white-space:normal;list-style:none;margin-bottom:3px}

/* the week: dates on top between arrows, seven days side by side */
.cal-weekbtn.on{background:#e8f3fa;border-color:#9cc6e0}
.cd-wnav{justify-content:center}.cd-wnav .cd-title{flex:0 1 auto;font-weight:700}
.cd-wscroll{overflow-x:auto;margin-top:8px}
.cd-wgrid{display:grid;grid-template-columns:repeat(7,minmax(74px,1fr));gap:6px;min-width:540px}
.cd-wcol{border:1px solid #e0e9ef;border-radius:10px;padding:6px;background:#fff;min-height:110px;display:flex;flex-direction:column;gap:4px}
.cd-wcol.st-off{background:#fdf4f4}.cd-wcol.st-half{background:#fffaf0}
.cd-wcol.is-today{border:2px solid #1f6fa8;padding:5px}
.cd-wh{border:0;background:none;padding:0;font:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;text-align:start;color:#1f3d52}
.cd-wdn{font-size:12px;color:#566e7f}.cd-wdd{font-size:15px;font-weight:700}
.cd-wcol .cd-st{font-size:11px}
.cd-wlist{list-style:none;margin:0;padding:0;display:grid;gap:3px}.cd-wlist li{display:block;white-space:normal;font-size:11.5px;line-height:1.3;padding:2px 5px;border-radius:5px}

/* one look for every settings block under the calendar */
.cal-sectbox{margin-top:0}.cal-sectbox[hidden]{display:none}
.cal-sect-sum .ms-logo{margin-inline-start:6px}
.cal-sect-body{padding:0 0 14px;display:grid;gap:10px;justify-items:start}
.ms-logo{height:16px;width:auto;display:inline-block;vertical-align:middle}
.cal-sectbox .tax-warn{margin:8px 0 0}

/* the week takes the whole width of the box: its dates and arrows on top, the seven days in one row underneath */
.cal-info .cal-detail.is-week{display:block!important;height:auto!important;overflow:visible!important;padding:12px 14px}
.cal-info .cal-detail.is-week .cd-wnav{display:flex;justify-content:center;align-items:center;gap:10px}

.cd-wshort{display:none}
@media(max-width:600px){
 .cd-wgrid{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
 .cd-wcol{padding:3px;min-height:84px;border-radius:7px}.cd-wcol.is-today{padding:2px}
 .cd-wdn{font-size:10px}.cd-wdd{font-size:12px}.cd-wcol .cd-st{font-size:9.5px}
 .cd-wlist li{font-size:9.5px;padding:1px 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .cd-wfull{display:none}.cd-wshort{display:inline}
}
/* v51: sick day — a personal status, in mint (the other pastel colours already carry meanings) */
.st-sick.lg-sw,.lg-sw.st-sick{background:#dcefe9;border-color:#9fcfc2}
.cal-day.st-sick{background:#e6f4f0;border-color:#a9d6ca}.cal-day.st-sick .cd-st{color:#2f6f62}
.stt.st-sick{background:#dcefe9;border-color:#9fcfc2;color:#2f6f62}
.pv-d.st-sick{background:#cfe6df}.cd-wcol.st-sick{background:#eef8f5}
.lookup-result{scroll-margin-top:76px}

/* v51 week: header row of days, then one band per kind; a band is as many lines tall as its busiest day */
.cd-wgrid{display:grid;grid-template-columns:repeat(7,minmax(74px,1fr));column-gap:6px;row-gap:3px;min-width:540px;align-items:stretch}
.cd-wh{border:1px solid #e0e9ef!important;border-radius:10px;padding:6px!important;background:#fff!important;align-items:flex-start;gap:1px}
.cd-wh.st-off{background:#fdf4f4!important}.cd-wh.st-half{background:#fffaf0!important}.cd-wh.st-sick{background:#eef8f5!important}
.cd-wh.is-today{border:2px solid #1f6fa8!important;padding:5px!important}
.cd-wband{grid-column:1/-1;font-size:11.5px;font-weight:700;color:#566e7f;margin-top:6px;padding-bottom:2px;border-bottom:1px solid #e6eef3}
.cd-wcell{min-height:22px;border-radius:6px}.cd-wcell.is-today{background:#f0f7fc}
.cd-wi{display:block;font-size:11.5px;line-height:1.3;padding:2px 5px;border-radius:5px;white-space:normal}
.cd-wi.cd-ev{background:#eef3f7;color:#2c4a5e}
@media(max-width:600px){
 .cd-wgrid{min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));column-gap:3px}
 .cd-wh{padding:3px!important;border-radius:7px}.cd-wh.is-today{padding:2px!important}
 .cd-wcell{min-height:18px}.cd-wi{font-size:9.5px;padding:1px 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .cd-wband{font-size:10.5px}
}

/* v52: personal statuses — vacation, maternity leave, other absence (not working); from home, training (working) */
.st-vac.lg-sw,.lg-sw.st-vac{background:#e6ecfb;border-color:#a9bbe8}.cal-day.st-vac{background:#e6ecfb;border-color:#a9bbe8}.cal-day.st-vac .cd-st{color:#33508f}.stt.st-vac{background:#e6ecfb;border-color:#a9bbe8;color:#33508f}.pv-d.st-vac{background:#e6ecfb}.cd-wh.st-vac{background:#e6ecfb!important}
.st-mat.lg-sw,.lg-sw.st-mat{background:#fbe7f0;border-color:#e3b0c8}.cal-day.st-mat{background:#fbe7f0;border-color:#e3b0c8}.cal-day.st-mat .cd-st{color:#8a3f63}.stt.st-mat{background:#fbe7f0;border-color:#e3b0c8;color:#8a3f63}.pv-d.st-mat{background:#fbe7f0}.cd-wh.st-mat{background:#fbe7f0!important}
.st-other.lg-sw,.lg-sw.st-other{background:#eceff2;border-color:#c3cbd2}.cal-day.st-other{background:#eceff2;border-color:#c3cbd2}.cal-day.st-other .cd-st{color:#4f5d68}.stt.st-other{background:#eceff2;border-color:#c3cbd2;color:#4f5d68}.pv-d.st-other{background:#eceff2}.cd-wh.st-other{background:#eceff2!important}
.st-wfh.lg-sw,.lg-sw.st-wfh{background:#eef6e4;border-color:#bcd9a0}.cal-day.st-wfh{background:#eef6e4;border-color:#bcd9a0}.cal-day.st-wfh .cd-st{color:#4a6b2c}.stt.st-wfh{background:#eef6e4;border-color:#bcd9a0;color:#4a6b2c}.pv-d.st-wfh{background:#eef6e4}.cd-wh.st-wfh{background:#eef6e4!important}
.st-train.lg-sw,.lg-sw.st-train{background:#f3edfb;border-color:#cdbbe8}.cal-day.st-train{background:#f3edfb;border-color:#cdbbe8}.cal-day.st-train .cd-st{color:#5b4791}.stt.st-train{background:#f3edfb;border-color:#cdbbe8;color:#5b4791}.pv-d.st-train{background:#f3edfb}.cd-wh.st-train{background:#f3edfb!important}
.cd-range{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:8px 0;padding:8px 10px;border:1px dashed #cfe0ea;border-radius:10px;font-size:13px}
.cd-range-h{font-size:13px;color:#1f5f88}.cd-range-chk{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.cd-range-go{height:30px;padding:0 12px;font-size:13px}.cd-range-msg{color:#2f6f62;font-weight:600}
.cal-info .cal-detail .cd-range{flex:1 1 100%}

/* v57: the settings blocks fit a phone: nothing wider than the block, long labels and buttons wrap */
.cal-sect-body{justify-items:stretch;min-width:0}
.cal-sect-body>*{max-width:100%;min-width:0}
.tax-row{min-width:0}
.tax-field{flex-wrap:wrap;min-width:0;max-width:100%}
.tax-field select,.cal-sect-body select{max-width:100%;min-width:0;width:auto}
.tax-chk{align-items:flex-start;max-width:100%}.tax-chk span{min-width:0;overflow-wrap:anywhere}.tax-chk input{margin-top:3px;flex:none}
.cal-sect-body .ms-btn{max-width:100%;white-space:normal;text-align:center;justify-self:start;line-height:1.35}
@media(max-width:520px){.tax-field{width:100%}.tax-field select{flex:1 1 100%}}
