





















:root {
  











  --brand-50:#F1F2FE;  --brand-100:#E3E6FD; --brand-200:#C7D2FE; --brand-300:#A5B4FC;
  --brand-400:#818CF8; --brand-500:#6366F1; --brand-600:#4338CA; --brand-700:#372FA6;
  --brand-800:#2C2683; --brand-900:#1E1B4B;
  --brand:var(--brand-600); --brand-ink:#FFFFFF;

  



  --ok-bg:#E6F6F2;  --ok:#0B7A64;  --ok-ink:#0A6E5A;
  --warn-bg:#FEF3C7;--warn:#B45309; --warn-ink:#92400E;
  --bad-bg:#FEE4E2; --bad:#B42318;  --bad-ink:#912018;
  --info-bg:var(--brand-50); --info:var(--brand-600);
  
  --star:#B47B00;

  












  --canvas:#F6F7FB; --surface:#FFFFFF; --surface-2:#FBFBFE; --surface-3:#EFF0F7;
  --ink:#0D1117; --ink-2:#2A3040; --muted:#565E70; --muted-2:#5F6779;
  --line:#E8E9F2; --line-2:#8086A0;

  




  










  --font-sans:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  --font-display:'Fraunces',Georgia,'Times New Roman',serif;
  --t-hero:clamp(2.45rem,1.2rem + 4.4vw,4.25rem);
  --t-h1:clamp(1.9rem,1.25rem + 2.2vw,2.8rem);
  --t-h2:clamp(1.45rem,1.1rem + 1.15vw,2.05rem);
  


  --t-h3:1.15rem; --t-body:1rem; --t-sm:.9rem; --t-xs:.8125rem;

  




  --r-xs:8px; --r-sm:12px; --r:18px; --r-lg:26px; --r-xl:36px; --r-full:999px;
  --sh-1:0 1px 2px rgba(30,27,75,.05),0 1px 3px rgba(30,27,75,.04);
  --sh-2:0 2px 6px rgba(30,27,75,.05),0 12px 28px -10px rgba(30,27,75,.16);
  --sh-3:0 18px 48px -18px rgba(30,27,75,.28),0 4px 12px rgba(30,27,75,.06);
  --sh-pop:0 32px 80px -24px rgba(30,27,75,.36);
  



  --focus:0 0 0 2px var(--surface), 0 0 0 4px var(--brand);

  



  --ease:cubic-bezier(.2,.8,.25,1);
  --header-h:72px; --maxw:1320px; --serp-list:min(440px,42vw);

  
  --tint:var(--brand-50);            
  --scrim:rgba(15,23,32,.52);        
  --glass:rgba(255,255,255,.86);     
  --skel-a:#E9EAF3; --skel-b:#F5F6FB;
  --pad:clamp(18px,3.6vw,36px);      
}







:root[data-theme="dark"] {
  


  --canvas:#0B0F14; --surface:#131A22; --surface-2:#1A232D; --surface-3:#212C38;
  --ink:#E7EDF4; --ink-2:#C2CEDA; --muted:#93A1B0; --muted-2:#8B98A7;
  --line:#253140; --line-2:#6B7C93;
  --star:#F0B429;

  

  --brand:var(--brand-400); --brand-ink:#0B0F14;

  --ok-bg:#0E2A26;  --ok:#3DD1B0;  --ok-ink:#7FE3CC;
  --warn-bg:#33270C; --warn:#F0B429; --warn-ink:#F6CF6B;
  --bad-bg:#361715; --bad:#F87A6E;  --bad-ink:#FBA79E;
  --info-bg:#16202E; --info:var(--brand-300);

  --sh-1:0 1px 2px rgba(0,0,0,.5),0 1px 3px rgba(0,0,0,.4);
  --sh-2:0 2px 4px rgba(0,0,0,.5),0 10px 24px -10px rgba(0,0,0,.7);
  --sh-3:0 14px 36px -12px rgba(0,0,0,.75),0 2px 10px rgba(0,0,0,.5);
  --sh-pop:0 28px 68px -20px rgba(0,0,0,.8);

  --tint:#16202E;
  --scrim:rgba(0,0,0,.66);
  --glass:rgba(19,26,34,.88);
  --skel-a:#1B242F; --skel-b:#243040;
  color-scheme: dark;
}

:root[data-theme="light"] { color-scheme: light; }





*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  overflow-x: hidden;              
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  font-weight: 700;
  



  font-optical-sizing: auto;
}
h1 { font-size: var(--t-h1); letter-spacing: -0.013em; }
h2 { font-size: var(--t-h2); letter-spacing: -0.012em; }
h3 { font-size: var(--t-h3); }
h4, h5 { font-size: var(--t-sm); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg, video { max-width: 100%; }
img { height: auto; }
svg { display: inline-block; vertical-align: middle; flex: 0 0 auto; }





.ico { width: 1.15em; height: 1.15em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
small { font-size: var(--t-xs); }
b, strong { font-weight: 600; }
code, kbd { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .92em; }

table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: var(--t-xs);
     text-transform: uppercase; letter-spacing: .07em; }

[hidden] { display: none !important; }





:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-xs); }

::selection { background: var(--brand-200); color: var(--brand-900); }
:root[data-theme="dark"] ::selection { background: var(--brand-700); color: #FFF; }

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 200;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  box-shadow: var(--sh-3);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }


* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: var(--r-full);
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--muted-2); background-clip: content-box; }





.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.page { padding-block: clamp(20px, 4vw, 40px) clamp(48px, 8vw, 84px); }
.page-narrow { width: 100%; max-width: 760px; margin-inline: auto; }

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(16px, 2.6vw, 28px);
}
.page-head h1 { margin: 0; }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }




.section { margin-block: clamp(44px, 6.5vw, 96px); }
.section:first-child { margin-top: 0; }
.section-title {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.15;
  margin: 0 0 8px;
  text-wrap: balance;
}
.section-sub {
  margin: 0 0 clamp(20px, 2.6vw, 32px);
  color: var(--muted);
  font-size: clamp(1rem, .96rem + .18vw, 1.1rem);
  line-height: 1.55;
  max-width: 64ch;
}

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }


.rail {
  display: flex;
  flex-direction: row;
  gap: 4px;
  overflow-x: auto;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail a, .rail button {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 10px 14px;
  min-height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
}
.rail a:hover, .rail button:hover { background: var(--surface-3); text-decoration: none; }
.rail a.is-active, .rail button.is-active,
.rail [aria-current="page"] { background: var(--tint); color: var(--brand); }
:root[data-theme="dark"] .rail a.is-active,
:root[data-theme="dark"] .rail button.is-active { color: var(--brand-300); }





.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  

  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.2;
  text-decoration: none;
  






  white-space: normal;
  user-select: none;
}
.btn:hover { text-decoration: none; }
.header-inner .btn { white-space: nowrap; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none !important; }
.btn svg { width: 18px; height: 18px; }



.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 6px 16px -8px rgba(67, 56, 202, .7), var(--sh-1);
  transition: background .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.btn-primary:hover {
  background: var(--brand-700);
  box-shadow: 0 12px 26px -10px rgba(67, 56, 202, .75), var(--sh-2);
}


@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); }
}
:root[data-theme="dark"] .btn-primary:hover { background: var(--brand-300); }
.btn-primary:active { background: var(--brand-800); transform: translateY(0); }

.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: var(--sh-1); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--sh-2); }

.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--tint); }

.btn-danger { background: var(--bad); color: #FFF; }
.btn-danger:hover { filter: brightness(.93); }
:root[data-theme="dark"] .btn-danger { color: #2A0D0A; }

.btn-success { background: var(--ok); color: #FFF; }
.btn-success:hover { filter: brightness(.94); }
:root[data-theme="dark"] .btn-success { color: #062019; }

.btn-sm { min-height: 36px; padding: 7px 14px; font-size: var(--t-sm); border-radius: var(--r-xs); }
.btn-sm svg { width: 15px; height: 15px; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 1.02rem; border-radius: var(--r); }
.btn-block { display: flex; width: 100%; }
.btn-icon { padding: 0; width: 44px; min-height: 44px; border-radius: var(--r-full); background: transparent; color: var(--muted); }
.btn-icon:hover { background: var(--surface-3); color: var(--ink); }
.btn-icon.btn-sm { width: 36px; min-height: 36px; }




.btn-icon .badge {
  position: absolute;
  top: 1px; right: -1px;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background: var(--bad);
  color: #FFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
:root[data-theme="dark"] .btn-icon .badge { color: #2A0D0A; }


.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 17px; height: 17px;
  margin: -9px 0 0 -9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  opacity: .9;
}
.btn-primary.is-loading::after,
.btn-danger.is-loading::after,
.btn-success.is-loading::after { border-color: var(--brand-ink); border-top-color: transparent; }
.btn.is-loading::after { color: var(--ink); }





.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}











.brand {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 120px;
}
.brand:hover { text-decoration: none; }




.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
}



.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }

@media (max-width: 720px) {
  .brand-logo { width: 150px; }
  .brand { min-width: 96px; }
}

.main-nav { display: flex; align-items: center; gap: 2px; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.nav-link.is-active { color: var(--brand); }
:root[data-theme="dark"] .nav-link.is-active { color: var(--brand-300); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px;
  




  bottom: calc((44px - var(--header-h)) / 2);
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}

.header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.header-sep { width: 1px; height: 24px; background: var(--line); flex: 0 0 auto; margin-inline: 2px; }

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--muted);
}
.theme-toggle:hover { background: var(--surface-3); color: var(--ink); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle:focus-visible { outline: none; box-shadow: var(--focus); }


.menu { position: relative; }

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 10px 5px 5px;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 600;
}
.account-btn:hover { background: var(--surface-3); }
.account-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.account-btn svg { width: 14px; height: 14px; color: var(--muted); }

.avatar {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: 0 0 auto;
  border-radius: var(--r-full);
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .01em;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
:root[data-theme="dark"] .avatar { background: var(--brand-800); color: var(--brand-200); }

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  min-width: 232px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.98);
  transform-origin: top right;
}
.menu-panel.is-open { opacity: 1; visibility: visible; transform: none; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}
.menu-item:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.menu-item svg { width: 17px; height: 17px; color: var(--muted); }
.menu-item .badge { margin-left: auto; }



.menu-panel .menu-item b,
.menu-panel .menu-item small { display: block; }
.menu-panel .menu-item small { color: var(--muted); font-weight: 400; line-height: 1.4; margin-top: 2px; }
.menu-panel .menu-item:has(small) { align-items: flex-start; flex-direction: column; gap: 0; }



.menu-item.is-unread b { font-weight: 700; color: var(--ink); }
.menu-item.is-unread::before {
  content: "";
  position: absolute;
  left: 4px;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.menu-item.is-unread { position: relative; padding-left: 18px; }
.menu-sep { height: 1px; margin: 5px 8px; background: var(--line); border: 0; }

.burger {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
}
.burger svg { width: 20px; height: 20px; }
.burger:focus-visible { outline: none; box-shadow: var(--focus); }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  


  z-index: 110;
  width: min(340px, 88vw);
  padding: 18px var(--pad) 32px;
  padding-right: calc(var(--pad) + env(safe-area-inset-right, 0px));
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--sh-pop);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer .nav-link,
.drawer .menu-item { width: 100%; min-height: 48px; font-size: 1rem; border-radius: var(--r-sm); }
.drawer .nav-link.is-active::after { display: none; }
.drawer .nav-link.is-active { background: var(--tint); }
.drawer .btn { width: 100%; margin-top: 8px; }
.drawer hr, .drawer .menu-sep { margin-inline: 0; }





.site-footer {
  margin-top: auto;
  padding-block: clamp(32px, 5vw, 56px) 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--t-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(22px, 3.4vw, 40px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}



.footer-col h3, .footer-col h4 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }



.footer-col a { display: block; padding-block: 7px; color: var(--muted); text-decoration: none; }
.footer-col li a { padding-block: 0; }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-col p { margin: 0 0 10px; max-width: 34ch; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: var(--maxw);
  margin: clamp(24px, 3.4vw, 38px) auto 0;
  padding: 18px var(--pad) 0;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom .theme-toggle { margin-left: auto; }













.searchbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}


.searchbar:focus-within {
  box-shadow: var(--sh-3), 0 0 0 3px var(--brand-100);
  transform: translateY(-1px);
}
:root[data-theme="dark"] .searchbar { background: var(--surface); border-color: var(--line); }

.searchbar-field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 60px;
  padding: 8px 16px 8px 46px;
  border-radius: calc(var(--r-xl) - 10px);
}



.searchbar-field:not(:has(> svg)) { padding-left: 14px; }
.searchbar-field > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -9px;
  width: 18px; height: 18px;
  color: var(--muted-2);
  pointer-events: none;
}


.searchbar-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.searchbar-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}
.searchbar-input::placeholder { color: var(--muted-2); font-weight: 400; }
.searchbar-input:focus { outline: none; }




.searchbar-input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 6px;
  border-radius: var(--r-sm);
}

.searchbar-field:focus-within { background: var(--surface-3); }

.searchbar-sep { display: none; width: 1px; background: var(--line); margin-block: 14px; }

.searchbar-submit {
  





  align-self: stretch;
  min-height: 60px;
  padding-inline: 34px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 18px -8px rgba(67,56,202,.65);
  transition: background .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.searchbar-submit:active { transform: translateY(1px); }
.searchbar-submit:hover { background: var(--brand-700); }
:root[data-theme="dark"] .searchbar-submit:hover { background: var(--brand-300); }
.searchbar-submit:focus-visible { outline: none; box-shadow: var(--focus); }

.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 65;
  width: 100%;
  max-width: calc(100vw - 24px);
  max-height: min(60vh, 420px);    
  max-height: min(60dvh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
}
.suggest.is-open, .searchbar-field:focus-within > .suggest:not(:empty) { opacity: 1; visibility: visible; transform: none; }
.suggest-group {
  padding: 10px 12px 4px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink-2);
  font-size: var(--t-sm);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.suggest-item svg { width: 16px; height: 16px; color: var(--muted-2); }
.suggest-item small { margin-left: auto; color: var(--muted-2); }
.suggest-item:hover, .suggest-item.is-active { background: var(--tint); color: var(--brand); }
:root[data-theme="dark"] .suggest-item:hover,
:root[data-theme="dark"] .suggest-item.is-active { color: var(--brand-200); }
.suggest-item mark { background: none; color: inherit; font-weight: 700; }





.filterbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 4px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filterbar::-webkit-scrollbar { display: none; }
.filterbar > * { position: relative; flex: 0 0 auto; }

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 600;
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--brand); color: var(--brand); }
.filter-pill:focus-visible { outline: none; box-shadow: var(--focus); }
.filter-pill.is-on { background: var(--tint); border-color: var(--brand); color: var(--brand); }
:root[data-theme="dark"] .filter-pill.is-on { color: var(--brand-200); }
.filter-pill.is-on b {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding-inline: 5px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: var(--t-xs);
  font-weight: 700;
}
.filter-caret { width: 12px; height: 12px; flex: 0 0 auto; color: currentColor; opacity: .7; }
.filter-pill[aria-expanded="true"] .filter-caret { transform: rotate(180deg); }

.filter-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 55;
  width: max-content;
  min-width: 248px;
  max-width: min(360px, calc(100vw - 2 * var(--pad)));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.985);
  transform-origin: top left;
}
.filter-pop.is-open { opacity: 1; visibility: visible; transform: none; }







.filter-cell { position: relative; }
@media (max-width: 899.98px) {
  .filter-cell:not(.filter-cell-more) { display: none; }
  .filter-cell-more { flex: 1 1 auto; }
  .filter-cell-more .filter-pill { width: 100%; justify-content: space-between; }
}




.filter-pop-scroll {
  max-height: min(58vh, 520px);
  max-height: min(58dvh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.filter-cell-more .filter-pop { min-width: 288px; }
.filter-cell-more .filter-pop-body { max-height: none; overflow: visible; }
.filter-pop-group + .filter-pop-group {
  margin-top: 2px;
  border-top: 1px solid var(--line);
}
.filter-pop-group > .fact-k { display: block; padding: 12px 16px 0; }

.filter-pop-body {
  max-height: min(52vh, 340px);    
  max-height: min(52dvh, 340px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.filter-pop-body .field { margin: 0; }
.filter-pop-body > p { margin: 0 0 6px; color: var(--muted); font-size: var(--t-xs); }

.filter-pop-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0 0 var(--r) var(--r);
}
.filter-pop-actions .btn { min-height: 44px; padding: 10px 16px; font-size: var(--t-sm); }

.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 6px 5px 12px;
  border: 1px solid var(--brand-200);
  border-radius: var(--r-full);
  background: var(--tint);
  color: var(--brand);
  font-size: var(--t-xs);
  font-weight: 600;
}
:root[data-theme="dark"] .active-chip { border-color: var(--brand-800); color: var(--brand-200); }
.chip-x {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: inherit;
  line-height: 1;
}


.chip-x::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
}
.chip-x svg { width: 13px; height: 13px; }
.chip-x:hover { background: var(--brand-200); }
:root[data-theme="dark"] .chip-x:hover { background: var(--brand-800); }
.chip-x:focus-visible { outline: none; box-shadow: var(--focus); }










.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}
.badge svg { width: 12px; height: 12px; }
.badge-easy    { background: var(--info-bg); color: var(--brand); }
.badge-urgent  { background: var(--warn-bg); color: var(--warn-ink); }
.badge-new     { background: var(--ok-bg);   color: var(--ok-ink); }
.badge-multi   { background: var(--surface-3); color: var(--ink-2); }
.badge-remote  { background: var(--brand-100); color: var(--brand-700); }
.badge-replies { background: var(--ok-bg); color: var(--ok-ink); }




.badge-featured { background: var(--brand); color: var(--brand-ink); }
:root[data-theme="dark"] .badge-easy    { color: var(--brand-200); }
:root[data-theme="dark"] .badge-remote  { background: var(--brand-800); color: var(--brand-200); }
:root[data-theme="dark"] .badge-urgent  { color: var(--warn); }
:root[data-theme="dark"] .badge-new,
:root[data-theme="dark"] .badge-replies { color: var(--ok); }

.attr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 600;
  overflow-wrap: anywhere;   
}
.attr svg { width: 13px; height: 13px; color: var(--muted); }
.attr-pay  { background: var(--ok-bg); border-color: transparent; color: var(--ok-ink); }
.attr-pay svg { color: currentColor; }
.attr-type { background: var(--surface-3); border-color: transparent; }
.attr-when { background: var(--tint); border-color: transparent; color: var(--brand); }
:root[data-theme="dark"] .attr-pay  { color: var(--ok); }
:root[data-theme="dark"] .attr-when { color: var(--brand-200); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 500;
}
.tag button { border: 0; background: none; padding: 0; line-height: 1; color: var(--muted-2); font-size: 1em; }
.tag button:hover { color: var(--bad); }













.list-group-head {
  list-style: none;
  margin: 1.5rem 0 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.list-group-head h2 { margin: 0; font-size: 0.95rem; font-weight: 650; color: var(--ink-2); }
.list-group-head p { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--muted); }

.jobcard {
  position: relative;
  list-style: none;
  padding: 22px 24px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  


  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
















@media (hover: hover) and (pointer: fine) {
  .jobcard:hover {
    box-shadow: var(--sh-2);
    border-color: transparent;
  }
}







@media (hover: hover) and (pointer: fine) {
  :root[data-theme="dark"] .jobcard:hover { border-color: var(--line-2); }
}
.jobcard:focus-within { border-color: var(--brand-300); }







.jobcard.is-featured {
  background: var(--surface-2);
  border-color: var(--brand-200);
  box-shadow: var(--sh-2);
}
:root[data-theme="dark"] .jobcard.is-featured { border-color: var(--brand-800); }

.jobcard.is-selected {
  background: var(--tint);
  border-color: var(--brand-300);
  box-shadow: var(--sh-2), inset 5px 0 0 var(--brand);
  transform: none;                     
}
:root[data-theme="dark"] .jobcard.is-selected { border-color: var(--brand-700); }


.jobcard.is-visited .jobcard-title a,
.jobcard.is-visited .jobcard-title { color: var(--muted); }
.jobcard.is-visited .jobcard-title::after {
  content: 'Viewed';
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--muted-2);
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 600;
  vertical-align: middle;
}

.jobcard-main { display: flex; align-items: flex-start; gap: 13px; }




.jobcard-main > div { min-width: 0; }

.jobcard-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--surface-3);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -0.013em;
  overflow: hidden;
}
.jobcard-logo img { width: 100%; height: 100%; object-fit: contain; background: #FFF; }

.jobcard-title {
  margin: 0 0 3px;
  padding-right: 40px;              
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--brand);
  overflow-wrap: anywhere;
}
.jobcard-title a { color: inherit; text-decoration: none; }
.jobcard-title a:hover { text-decoration: underline; }
:root[data-theme="dark"] .jobcard-title { color: var(--brand-300); }

.jobcard-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.jobcard-company a { color: inherit; }
.jobcard-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 600;
}
.jobcard-loc { margin: 2px 0 0; font-size: var(--t-sm); color: var(--muted); overflow-wrap: anywhere; }

.jobcard-attrs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.jobcard-bullets { margin: 11px 0 0; padding-left: 17px; color: var(--muted); font-size: var(--t-sm); line-height: 1.5; overflow-wrap: anywhere; }
.jobcard-bullets li { margin-bottom: 3px; }
.jobcard-bullets li::marker { color: var(--line-2); }

.jobcard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.jobcard-posted { color: var(--muted-2); font-size: var(--t-xs); font-weight: 500; }
.jobcard-foot .badge { margin-left: auto; }

.jobcard-save {
  position: absolute;
  top: 10px; right: 10px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  color: var(--muted-2);
}
.jobcard-save:hover { background: var(--surface-3); color: var(--brand); }
.jobcard-save[aria-pressed="true"] { color: var(--brand); }
.jobcard-save svg { width: 19px; height: 19px; }
.jobcard-save:focus-visible { outline: none; box-shadow: var(--focus); }





.jobview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }





.jobview > .jobview-pay,
.jobview > .jobcard-attrs,
.jobview > .jobview-cta,
.jobview > .jobview-actions { padding-inline: clamp(18px, 2.6vw, 30px); }

.jobview-top {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px) clamp(18px, 2.6vw, 30px) 18px;
  border-bottom: 1px solid var(--line);
}

.jobview-title {
  margin: 0 0 6px;
  padding-right: 44px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.013em;
  line-height: 1.14;
  color: var(--ink);
}
.jobview-company {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 3px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
}
.jobview-company a { color: var(--brand); }
:root[data-theme="dark"] .jobview-company a { color: var(--brand-300); }
.jobview-loc { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.jobview-pay { margin: 12px 0 0; font-size: 1.06rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.jobview-pay small { display: block; font-size: var(--t-xs); font-weight: 500; color: var(--muted-2); }

.jobview-cta {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 0 2px;
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.jobview-cta .btn-primary { flex: 1 1 200px; }
.jobview-cta small { color: var(--muted); font-size: var(--t-xs); }

.jobview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }

.jobview-section { padding: clamp(16px, 2.4vw, 24px) clamp(18px, 2.6vw, 30px); }
.jobview-section + .jobview-section { border-top: 1px solid var(--line); }
.jobview-section h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.jobview-body { color: var(--ink-2); font-size: var(--t-body); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.jobview-body ul, .jobview-body ol { padding-left: 20px; }
.jobview-body h4 { margin: 18px 0 6px; font-size: var(--t-h3); color: var(--ink); }

.factgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr)); gap: 12px; margin: 0; }
.fact { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.fact-k {
  display: block;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.fact-v { display: block; margin: 3px 0 0; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }

.benefits { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.benefit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-full);
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: var(--t-sm);
  font-weight: 600;
}
.benefit svg { width: 14px; height: 14px; }
:root[data-theme="dark"] .benefit { color: var(--ok); }

.insight-card {
  padding: 16px 18px;
  border: 1px solid var(--brand-200);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-sm);
  background: var(--tint);
}
:root[data-theme="dark"] .insight-card { border-color: var(--brand-800); border-left-color: var(--brand-400); }
.insight-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
}
:root[data-theme="dark"] .insight-card h4 { color: var(--brand-300); }


.reply-meter { display: flex; gap: 3px; margin: 0 0 8px; padding: 0; list-style: none; }




.reply-meter i {
  display: block;
  width: 9px; height: 18px;
  border-radius: 2px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.reply-meter i.is-on { background: var(--ok); box-shadow: none; }


.reply-meter.tone-wait i.is-on { background: var(--warn); }
.reply-meter.tone-bad  i.is-on { background: var(--bad); }
.reply-text { margin: 0; font-size: var(--t-sm); color: var(--muted); line-height: 1.45; }
.reply-text b { color: var(--ink); font-weight: 700; }

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted-2);
  font-size: var(--t-xs);
  text-decoration: underline;
}
.report-link:hover { color: var(--bad); }

.jobview-close {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 600;
}
.jobview-close svg { width: 16px; height: 16px; }
.jobview-close:hover { border-color: var(--brand); color: var(--brand); }





.serp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: clamp(30px, 5vw, 60px);
}

.serp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 12px;
}
.serp-count { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.serp-count b { color: var(--ink); font-weight: 700; }

.sortsel {
  min-height: 44px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235A6773' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 600;
  appearance: none;
}
.sortsel:focus-visible { outline: none; box-shadow: var(--focus); border-color: var(--brand); }







.serp-list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.serp-detail { min-width: 0; }





.empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: clamp(34px, 6vw, 64px) 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  text-align: center;
}
.empty h3 { margin: 0; font-size: var(--t-h2); }
.empty p { margin: 0; max-width: 44ch; color: var(--muted); }
.empty .btn { margin-top: 12px; }
.empty-art {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin-bottom: 8px;
  border-radius: var(--r-lg);
  background: var(--tint);
  color: var(--brand);
}
.empty-art svg { width: 32px; height: 32px; }
:root[data-theme="dark"] .empty-art { color: var(--brand-300); }

.skel {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.skel-line { height: 12px; margin-bottom: 10px; border-radius: var(--r-xs); background: var(--skel-a); }
.skel-line:last-child { margin-bottom: 0; width: 55%; }
.skel-line:first-child { height: 17px; width: 72%; }

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.pager-btn {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--brand);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
}
.pager-btn:hover { background: var(--tint); text-decoration: none; }
.pager-btn.is-current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); cursor: default; }
.pager-btn:disabled { color: var(--muted-2); background: none; cursor: not-allowed; opacity: .6; }
.pager-btn:focus-visible { outline: none; box-shadow: var(--focus); }
:root[data-theme="dark"] .pager-btn { color: var(--brand-300); }
:root[data-theme="dark"] .pager-btn.is-current { color: var(--brand-ink); }





.form { display: grid; gap: 16px; }



.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 18px; }

.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }













#hero-geo .field,
#serp-geo .field { align-content: start; }




#hero-geo .btn,
#serp-geo .btn { min-height: 44px; }

.field-label { display: flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.req { color: var(--bad); font-weight: 700; }
.optional { color: var(--muted-2); font-size: var(--t-xs); font-weight: 500; }

.field-hint { font-size: var(--t-xs); color: var(--muted); line-height: 1.45; }
.field-error { display: none; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 600; color: var(--bad); }
.field.has-error .field-error { display: flex; }
.field.has-error .field-label { color: var(--bad-ink); }
:root[data-theme="dark"] .field.has-error .field-label { color: var(--bad); }

.input, .select, .textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--t-body);
  font-family: inherit;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.input:disabled, .select:disabled, .textarea:disabled { background: var(--surface-3); color: var(--muted); cursor: not-allowed; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--bad); }

.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--bad); }

.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }

.select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235A6773' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px;
  appearance: none;
}
:root[data-theme="dark"] .select,
:root[data-theme="dark"] .sortsel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2393A1B0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}

.checkline, .radioline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 9px;
  margin-inline: -9px;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  color: var(--ink-2);
  cursor: pointer;
}
.checkline:hover, .radioline:hover { background: var(--surface-3); }
.checkline input, .radioline input {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.checkline span, .radioline span { flex: 1; min-width: 0; }
.checkline small, .radioline small { display: block; color: var(--muted); font-size: var(--t-xs); }
.checkline input:focus-visible, .radioline input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.checkline b, .radioline b { display: block; color: var(--ink); }


.radioline.card, .checkline.card { border: 1px solid var(--line-2); background: var(--surface); padding: 14px; margin: 0; }
.radioline:has(input:checked), .checkline:has(input:checked) { background: var(--tint); }
@supports not selector(:has(*)) {
  .radioline input:checked ~ span, .checkline input:checked ~ span { color: var(--brand); }
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 44px; height: 26px;
  border-radius: var(--r-full);
  background: var(--line-2);
  cursor: pointer;
}


.switch input { position: absolute; left: 0; right: 0; top: -9px; bottom: -9px; width: auto; height: auto; margin: 0; opacity: 0; cursor: pointer; }
.switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: var(--sh-1);
}
.switch:has(input:checked) { background: var(--brand); }
.switch:has(input:checked)::after { transform: translateX(18px); }
.switch:has(input:focus-visible) { box-shadow: var(--focus); }
@supports not selector(:has(*)) {
  
  .switch { width: auto; height: auto; background: none; }
  .switch input { position: static; width: 20px; height: 20px; opacity: 1; accent-color: var(--brand); }
  .switch::after { display: none; }
}

.charcount { justify-self: end; font-size: var(--t-xs); color: var(--muted-2); font-variant-numeric: tabular-nums; }
.charcount.over { color: var(--bad); font-weight: 700; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 4px; }



#latest .form-actions { padding-top: 1rem; }
.form-actions .spacer { margin-left: auto; }

.form-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--muted);
  min-height: 20px;
}
.form-status.ok  { color: var(--ok-ink); }
.form-status.err { color: var(--bad); }
:root[data-theme="dark"] .form-status.ok { color: var(--ok); }





.dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: clamp(24px, 4vw, 38px) 20px;
  border: 2px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--surface-2);
  color: var(--muted);
  font-size: var(--t-sm);
  text-align: center;
  cursor: pointer;
}
.dropzone:hover { border-color: var(--brand-300); background: var(--tint); }
.dropzone b { display: block; color: var(--ink); font-size: var(--t-body); }
.dropzone small { color: var(--muted-2); font-size: var(--t-xs); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone:focus-within { border-color: var(--brand); box-shadow: var(--focus); }

.dropzone.is-drag {
  border-color: var(--brand);
  border-style: solid;
  background: var(--tint);
  color: var(--brand);
  transform: scale(1.01);
}
.dropzone.is-drag .dropzone-icon { background: var(--brand); color: var(--brand-ink); }
.dropzone.is-busy { pointer-events: none; opacity: .75; }

.dropzone-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 4px;
  border-radius: var(--r-lg);
  background: var(--brand-100);
  color: var(--brand-700);
}
.dropzone-icon svg { width: 24px; height: 24px; }
:root[data-theme="dark"] .dropzone-icon { background: var(--brand-800); color: var(--brand-200); }

.filecard {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
}
.filecard + .filecard { margin-top: 10px; }
.filecard.is-default { border-color: var(--brand-300); background: var(--tint); }

.filecard-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: var(--r-xs);
  background: var(--surface-3);
  color: var(--brand);
}
.filecard-icon svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .filecard-icon { color: var(--brand-300); }





.filecard-meta { flex: 1 1 120px; min-width: 0; }
.filecard-meta b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filecard-meta span { display: block; font-size: var(--t-xs); color: var(--muted); overflow-wrap: anywhere; }

.filecard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filecard-actions .btn { min-height: 44px; padding: 8px 12px; font-size: var(--t-xs); }

.file-progress {
  position: relative;
  height: 6px;
  margin-top: 10px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  overflow: hidden;
}
.file-progress > i, .file-progress > span, .file-progress > div {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--brand);
}





.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.card + .card { margin-top: 14px; }

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 15px clamp(16px, 2.2vw, 22px);
  border-bottom: 1px solid var(--line);
}
.card-head h2, .card-head h3 { margin: 0; font-size: var(--t-h3); }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: var(--t-xs); flex-basis: 100%; }

.card-body { padding: clamp(16px, 2.2vw, 22px); }
.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 13px clamp(16px, 2.2vw, 22px);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.tilegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.tile:hover { box-shadow: var(--sh-2); border-color: var(--brand-300); text-decoration: none; transform: translateY(-2px); }
.tile svg { width: 22px; height: 22px; color: var(--brand); }
.tile small { display: block; color: var(--muted); font-size: var(--t-xs); font-weight: 500; }
:root[data-theme="dark"] .tile svg { color: var(--brand-300); }

.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }







.statgrid.is-prose { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.stat {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.016em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: var(--t-xs); }

.kpi {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.kpi.is-alert { border-left: 4px solid var(--warn); }
.kpi-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.kpi-label { font-size: var(--t-xs); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }





.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  

  padding: 24px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--scrim);
  opacity: 0;
  visibility: hidden;
  overscroll-behavior: contain;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  



  max-height: 100%;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--sh-pop);
  overflow: hidden;
  transform: translateY(18px);
}
.modal.is-open .modal-card { transform: none; }
.modal-card.is-wide { max-width: 860px; }

.modal-head { position: relative; padding: 22px clamp(18px, 3vw, 28px) 14px; border-bottom: 1px solid var(--line); }
.modal-title {
  margin: 0;
  padding-right: 50px;
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 800;
  letter-spacing: -0.013em;
  line-height: 1.15;
}
.modal-sub { margin: 5px 0 0; color: var(--muted); font-size: var(--t-sm); }

.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 28px);
}

.modal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px clamp(18px, 3vw, 28px);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.modal-foot .btn-primary { margin-left: auto; }
.modal-foot small { color: var(--muted); font-size: var(--t-xs); }

.modal-x {
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--muted);
  line-height: 1;
}
.modal-x svg { width: 16px; height: 16px; }
.modal-x:hover { background: var(--line); color: var(--ink); }
.modal-x:focus-visible { outline: none; box-shadow: var(--focus); }

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.stepper::-webkit-scrollbar { display: none; }
.stepper-step {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 5px 12px 5px 6px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 600;
  white-space: nowrap;
}


.stepper-step::before {
  content: counter(step);
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 700;
}
.stepper { counter-reset: step; }


.stepper-step svg { width: 14px; height: 14px; }
.stepper-step.is-current { background: var(--tint); color: var(--brand); }
.stepper-step.is-current::before { background: var(--brand); color: var(--brand-ink); box-shadow: none; }
.stepper-step.is-done { color: var(--ok-ink); background: var(--ok-bg); }


.stepper-step.is-done::before { content: '\2713'; background: var(--ok); color: var(--surface); box-shadow: none; }
:root[data-theme="dark"] .stepper-step.is-current { color: var(--brand-200); }
:root[data-theme="dark"] .stepper-step.is-done { color: var(--ok); }

.progress { height: 6px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); }





.tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 0 0 1px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: none;
  color: var(--muted);
  font-size: var(--t-sm);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.tab:hover { color: var(--ink); background: var(--surface-3); text-decoration: none; }
.tab[aria-selected="true"] { color: var(--brand); }
.tab[aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}
.tab .badge { margin-left: 7px; }
:root[data-theme="dark"] .tab[aria-selected="true"] { color: var(--brand-300); }

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.status-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-wait { background: var(--warn-bg); color: var(--warn-ink); }
.tone-good { background: var(--ok-bg);   color: var(--ok-ink); }
.tone-bad  { background: var(--bad-bg);  color: var(--bad-ink); }
.tone-info { background: var(--info-bg); color: var(--info); }
:root[data-theme="dark"] .tone-wait { color: var(--warn); }
:root[data-theme="dark"] .tone-good { color: var(--ok); }
:root[data-theme="dark"] .tone-bad  { color: var(--bad); }





.wizard { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 26px); align-items: start; }

.wizard-rail {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 6px;
  list-style: none;
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  counter-reset: wstep;
  scrollbar-width: none;
}
.wizard-rail::-webkit-scrollbar { display: none; }

.wizard-step {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  padding: 9px 14px 9px 9px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--muted);
  font-size: var(--t-sm);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.wizard-step::before {
  content: counter(wstep);
  counter-increment: wstep;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--muted);
  font-size: var(--t-xs);
  font-weight: 700;
}
.wizard-step:hover { background: var(--surface-3); color: var(--ink); }
.wizard-step.is-current { background: var(--tint); color: var(--brand); }
.wizard-step.is-current::before { background: var(--brand); color: var(--brand-ink); }
.wizard-step.is-done { color: var(--ink-2); }
.wizard-step.is-done::before { content: '\2713'; background: var(--ok); color: var(--surface); }
.wizard-step small { display: none; }
:root[data-theme="dark"] .wizard-step.is-current { color: var(--brand-200); }

.wizard-panel {
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.wizard-panel > h2 { margin: 0 0 4px; font-size: var(--t-h2); }
.wizard-panel > p { color: var(--muted); font-size: var(--t-sm); }

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.wizard-actions .btn-primary { margin-left: auto; }

.preview-pane {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  max-height: calc(100vh - var(--header-h) - 28px);   
  max-height: calc(100dvh - var(--header-h) - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.preview-pane > h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}


.pipeline {
  display: grid;
  grid-auto-flow: column;
  


  grid-auto-columns: minmax(min(76vw, 276px), 1fr);
  gap: 12px;
  padding-bottom: 10px;
  overflow-x: auto;
  align-items: start;
}
.pipe-col {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-height: 140px;
}
.pipe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.pipe-head b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  padding: 1px 7px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: var(--t-xs);
}

.candidate {
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
}
.candidate:hover { box-shadow: var(--sh-2); }

.candidate p { margin: 6px 0 0; font-size: var(--t-xs); color: var(--muted); overflow-wrap: anywhere; }
.candidate .btn { min-height: 44px; padding: 8px 11px; font-size: var(--t-xs); }
.candidate-head { display: flex; align-items: center; gap: 10px; }
.candidate-head b { flex: 1 1 auto; min-width: 0; font-size: var(--t-sm); font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.candidate-head .avatar { width: 30px; height: 30px; }

.stars { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 1px; line-height: 1; }


.stars svg { width: 15px; height: 15px; }
.star { width: 15px; height: 15px; color: var(--line-2); }
.star.is-on, .stars svg.is-on { color: var(--star); }




button.star {
  display: inline-grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  width: 38px; min-width: 38px; height: 44px;
}
button.star:hover { color: var(--star); }
button.star:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-xs); }


.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.plan h3 { margin: 0; font-size: var(--t-h3); }
.plan > p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.plan .btn { margin-top: auto; }
.plan.is-featured { border-color: var(--brand); box-shadow: var(--sh-3); }
.plan.is-featured::before {
  content: 'Most popular';
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: var(--t-xs);
  font-weight: 700;
}
.plan-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1;
  color: var(--ink);
}
.plan-price small { font-size: var(--t-sm); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 9px; }
.plan-list li { position: relative; padding-left: 26px; font-size: var(--t-sm); color: var(--ink-2); }
.plan-list li::before {
  content: '\2713';
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: 11px;
  font-weight: 700;
}
:root[data-theme="dark"] .plan-list li::before { color: var(--ok); }


.faq { display: grid; gap: 10px; }
.faq-item {
  padding: 4px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  margin-bottom: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin: 4px 0 0; }
.faq-item[open] summary { color: var(--brand); }
.faq-item > div, .faq-item > p {
  padding: 0 0 16px;
  margin: 0;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
  max-width: 72ch;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logo-wall li, .logo-wall > div {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 12px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
}

.quote {
  margin: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
}
.quote p { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.quote footer, .quote cite {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--t-xs);
  font-style: normal;
  color: var(--muted);
}
.quote .avatar { width: 28px; height: 28px; }











.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(44px, 7.5vw, 104px) clamp(36px, 6vw, 76px);
  background:
    radial-gradient(1100px 560px at 12% -15%, rgba(67, 56, 202, .13), transparent 62%),
    radial-gradient(900px 520px at 96% 4%, rgba(129, 140, 248, .16), transparent 58%),
    linear-gradient(180deg, var(--surface) 0%, var(--canvas) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}


.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(67, 56, 202, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(67, 56, 202, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% -10%, #000 0%, transparent 68%);
  mask-image: radial-gradient(120% 90% at 50% -10%, #000 0%, transparent 68%);
  pointer-events: none;
}
:root[data-theme="dark"] .hero {
  background:
    radial-gradient(1100px 560px at 12% -15%, rgba(129, 140, 248, .16), transparent 62%),
    radial-gradient(900px 520px at 96% 4%, rgba(67, 56, 202, .22), transparent 58%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--canvas) 100%);
}
:root[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(to right, rgba(165, 180, 252, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(165, 180, 252, .07) 1px, transparent 1px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}



#hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 15px 7px 13px;
  background: var(--surface);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-full);
  box-shadow: var(--sh-1);
  color: var(--brand-700);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}
#hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-bg);
  flex: none;
}
:root[data-theme="dark"] #hero-eyebrow { color: var(--brand-300); border-color: var(--brand-800); }

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: var(--t-hero);
  


  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}


.hero-title em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(180deg, transparent 62%, var(--brand-100) 62%);
  padding-inline: .06em;
}
:root[data-theme="dark"] .hero-title em {
  color: var(--brand-300);
  background: linear-gradient(180deg, transparent 62%, rgba(67, 56, 202, .35) 62%);
}
.hero-sub {
  margin: 0 0 28px;
  max-width: 52ch;
  font-size: clamp(1.05rem, .98rem + .38vw, 1.28rem);
  color: var(--muted);
  line-height: 1.55;
}
.hero-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   
  gap: 10px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}


:root[data-theme="dark"] .hero-art { border-color: var(--line); }
.hero-art .jobcard { box-shadow: none; }

.trustbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px 22px;
  margin-top: clamp(20px, 3vw, 32px);
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.trustbar li, .trustbar > div { min-width: 0; }
.trustbar b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.016em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.trustbar span { font-size: var(--t-xs); color: var(--muted); }

.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cattile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-1);
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
}
.cattile:hover { border-color: var(--brand-300); box-shadow: var(--sh-2); text-decoration: none; transform: translateY(-2px); }
.cattile svg { width: 20px; height: 20px; color: var(--brand); }
.cattile span { margin-left: auto; color: var(--muted-2); font-size: var(--t-xs); font-weight: 500; }
:root[data-theme="dark"] .cattile svg { color: var(--brand-300); }

.citychips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }





#quick-chips { margin-top: 1rem; }
.citychips a, .citychips button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink-2);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
}
.citychips a:hover, .citychips button:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--tint);
  text-decoration: none;
}

.feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cta-band {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #FFF;
  box-shadow: var(--sh-3);
}
.cta-band h2 { color: #FFF; margin: 0; font-size: var(--t-h2); letter-spacing: -.03em; }


.cta-band p { margin: 0; color: #FFF; max-width: 56ch; }
.cta-band .btn-primary { background: #FFF; color: var(--brand-700); }
.cta-band .btn-primary:hover { background: var(--brand-50); }

.cta-band .btn-secondary { background: transparent; border-color: rgba(255,255,255,.85); color: #FFF; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: #FFF; color: #FFF; }
.cta-band .btn-group, .cta-band .form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
:root[data-theme="dark"] .cta-band { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); }





.toaster {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-pop);
  color: var(--ink);
  font-size: var(--t-sm);
  font-weight: 500;
  pointer-events: auto;
}
.toast.ok  { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--bad); }
.toast button { border: 0; background: none; margin-left: auto; color: var(--muted-2); padding: 0; }
.toast button:hover { color: var(--ink); }

.rating-stars { display: inline-flex; align-items: center; gap: 2px; }
.rating-stars svg { width: 17px; height: 17px; color: var(--line-2); }
.rating-stars svg.is-on, .rating-stars .star.is-on { color: var(--star); }
.rating-num { font-size: var(--t-sm); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rating-num small { color: var(--muted); font-weight: 500; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--muted-2);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: var(--t-sm);
  line-height: 1.5;
}
.notice b { color: var(--ink); }
.notice svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.notice .btn { margin-left: auto; }
.notice-info { background: var(--info-bg); border-color: var(--brand-200); border-left-color: var(--brand); }
.notice-warn { background: var(--warn-bg); border-color: transparent; border-left-color: var(--warn); color: var(--warn-ink); }
:root[data-theme="dark"] .notice-info { border-color: var(--brand-800); }
:root[data-theme="dark"] .notice-warn { color: var(--warn); }
:root[data-theme="dark"] .notice-warn b { color: var(--warn-ink); }







@media (prefers-reduced-motion: no-preference) {
  .btn, .filter-pill, .nav-link, .menu-item, .tab, .suggest-item,
  .theme-toggle, .account-btn, .jobcard-save, .chip-x, .pager-btn,
  .citychips a, .citychips button, .rail a, .rail button, .wizard-step,
  .modal-x, .jobview-close, .report-link, .star {
    transition: background-color .16s var(--ease), color .16s var(--ease),
                border-color .16s var(--ease), box-shadow .16s var(--ease),
                transform .16s var(--ease);
  }

  .jobcard, .card, .tile, .cattile, .candidate, .filecard, .plan, .quote {
    transition: box-shadow .2s var(--ease), border-color .2s var(--ease),
                transform .2s var(--ease), background-color .2s var(--ease);
  }

  .input, .select, .textarea, .searchbar-field, .dropzone, .switch, .switch::after {
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease),
                background-color .15s var(--ease), transform .15s var(--ease);
  }

  .menu-panel, .suggest, .filter-pop { transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s; }

  .modal { transition: opacity .18s var(--ease), visibility .18s; }
  .modal-card { transition: transform .22s var(--ease); }
  .drawer { transition: transform .22s var(--ease), visibility .22s; }
  .serp-detail { transition: transform .22s var(--ease); }

  .progress-bar,
  .file-progress > i, .file-progress > span, .file-progress > div { transition: width .3s var(--ease); }

  .filter-caret { transition: transform .16s var(--ease); }
  .faq-item summary::after { transition: transform .18s var(--ease); }

  .btn.is-loading::after { animation: sj-spin .7s linear infinite; }

  .skel-line {
    background: linear-gradient(90deg, var(--skel-a) 25%, var(--skel-b) 50%, var(--skel-a) 75%);
    background-size: 300% 100%;
    animation: sj-shimmer 1.4s linear infinite;
  }

  .toast { animation: sj-toast .22s var(--ease) both; }
  .modal.is-open .modal-card { animation: sj-pop .22s var(--ease); }
}

@keyframes sj-spin { to { transform: rotate(360deg); } }
@keyframes sj-shimmer { to { background-position: -300% 0; } }
@keyframes sj-toast { from { opacity: 0; transform: translateY(10px); } }
@keyframes sj-pop { from { opacity: 0; transform: translateY(10px) scale(.99); } }








@media (max-width: 1023.98px), (pointer: coarse) {
  .input, .select, .textarea, .sortsel, .searchbar-input { font-size: 16px; }
  .btn-sm { min-height: 44px; padding: 10px 14px; }
  .btn-icon.btn-sm { width: 44px; min-height: 44px; }
}


@media (min-width: 480px) {
  .searchbar-submit { padding-inline: 32px; }
  .modal { place-items: center; padding: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .modal-card { border-radius: var(--r-xl); }
}


@media (min-width: 720px) {
  .searchbar { grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr) auto; align-items: center; }
  .searchbar-sep { display: block; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  



  .split.is-sidebar { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-block: 0; }
  .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .cta-band h2 { grid-column: 1; }
  .cta-band p { grid-column: 1; }
  .wizard-step small { display: inline; font-weight: 500; color: var(--muted); }
  .filecard-actions { flex-wrap: nowrap; }
}











@media (max-width: 1023.98px) {
  .main-nav { display: none; }
  .burger { display: grid; }
  




  .header-right .header-sep,
  .header-right .nav-link,
  .header-right .menu,
  .header-right .btn:not(.btn-icon) { display: none; }
}


@media (min-width: 1024px) and (max-width: 1279.98px) {
  :root[data-lang="fr"] .main-nav { display: none; }
  :root[data-lang="fr"] .burger { display: grid; }
  :root[data-lang="fr"] .header-right .header-sep,
  :root[data-lang="fr"] .header-right .nav-link,
  :root[data-lang="fr"] .header-right .menu,
  :root[data-lang="fr"] .header-right .btn:not(.btn-icon) { display: none; }
  
  :root[data-lang="fr"] .drawer { display: block; }
}



@media (min-width: 1024px) and (max-width: 1439.98px) {
  .header-inner { gap: 4px; }
  .header-right { gap: 4px; }
  .main-nav .nav-link, .header-right .nav-link { padding-inline: 10px; }
  .main-nav .nav-link.is-active::after { left: 10px; right: 10px; }
}











@media (min-width: 1440px) and (max-width: 1599.98px) {
  :root[data-lang="fr"] .header-inner { gap: 4px; }
  :root[data-lang="fr"] .header-right { gap: 4px; }
  :root[data-lang="fr"] .main-nav .nav-link,
  :root[data-lang="fr"] .header-right .nav-link { padding-inline: 10px; }
  :root[data-lang="fr"] .main-nav .nav-link.is-active::after { left: 10px; right: 10px; }
}


@media (max-width: 899.98px) {
  
  .filter-pop {
    position: fixed;
    inset: auto 0 0 0;
    left: 0 !important;
    right: 0 !important;
    width: auto;
    max-width: none;
    min-width: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    transform: translateY(14px);
    transform-origin: bottom center;
  }
  .filter-pop.is-open { transform: none; }
  

  .filter-pop-body { max-height: min(56vh, 380px); }
  .filter-pop-body { max-height: min(56dvh, 380px); }
  .filter-pop-actions { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 900px) {
  .split { gap: clamp(20px, 3vw, 34px); }
  .wizard { grid-template-columns: minmax(0, 1fr); }

  



  .filterbar { overflow: visible; flex-wrap: wrap; }

  





  .filter-pop:not(.is-open) { width: 0; min-width: 0; overflow: hidden; }
}


@media (max-width: 1023.98px) {
  
  .serp-detail {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--canvas);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--pad) 32px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    transform: translateX(100%);
  }
  .serp-detail:not([hidden]), .serp-detail.is-open { transform: none; }
  .serp-detail .jobview { border: 0; box-shadow: none; background: transparent; }
  .serp-detail .jobview-top { padding-inline: 0; }
  .serp-detail .jobview-section { padding-inline: 0; }
  .serp-detail .jobview > .jobview-pay,
  .serp-detail .jobview > .jobcard-attrs,
  .serp-detail .jobview > .jobview-cta,
  .serp-detail .jobview > .jobview-actions { padding-inline: 0; }
  


  .jobview-close {
    display: inline-flex;
    position: sticky;
    top: 0;
    z-index: 6;
    margin-bottom: 12px;
    box-shadow: var(--sh-2);
  }
  
  .jobview-cta { position: sticky; bottom: 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }

  



  .preview-pane { position: static; max-height: none; overflow: visible; }
}

@media (min-width: 1024px) {
  .drawer { display: none; }
  .serp { grid-template-columns: var(--serp-list) minmax(0, 1fr); gap: 18px; }
  





  










  .serp-list { padding-right: 6px; }

  


  .serp-detail {
    position: sticky;
    top: calc(var(--header-h) + 12px);
    max-height: calc(100vh - var(--header-h) - 24px);   
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
  }
  .serp-detail .jobview { border-radius: var(--r); }

  .wizard { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .wizard-rail { grid-column: 1 / -1; }
  .split.is-sidebar { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  




  .rail {
    flex-direction: column;
    position: sticky;
    top: calc(var(--header-h) + 12px);
    max-height: calc(100vh - var(--header-h) - 24px);   
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
  }
  .rail a, .rail button { width: 100%; }
}





@media (pointer: fine) {
  .rail, .filterbar, .stepper, .tabs, .wizard-rail { scrollbar-width: thin; }
  .rail::-webkit-scrollbar,
  .filterbar::-webkit-scrollbar,
  .stepper::-webkit-scrollbar,
  .tabs::-webkit-scrollbar,
  .wizard-rail::-webkit-scrollbar { display: block; height: 8px; }
}




@media (min-width: 1280px) {
  :root { --pad: 40px; }
  .jobcard { padding: 26px 28px 22px; }
  .feed { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
}


@media (min-width: 1600px) {
  :root { --maxw: 1440px; --serp-list: min(470px, 34vw); }
}


@media (max-height: 620px) and (min-width: 1024px) {
  .serp-list, .serp-detail, .preview-pane { position: static; max-height: none; overflow: visible; }
}















html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}



.serp-detail {
  scroll-padding-top: 60px;
}



#adm-body {
  scroll-padding-top: 12px;
}






@media (max-height: 800px) {
  :root { --header-h: 62px; }
}








.installbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 115;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  max-width: 560px;
  margin-inline: auto;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-pop);
  transform: translateY(14px);
  opacity: 0;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.installbar.is-open { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .installbar { transition: none; }
}
.installbar-text { flex: 1 1 220px; min-width: 0; }
.installbar-text b { display: block; font-size: var(--t-sm); }
.installbar-text small { display: block; margin-top: 2px; color: var(--muted); font-size: var(--t-xs); line-height: 1.4; }
.installbar-actions { display: flex; gap: 8px; margin-left: auto; }
.installbar-actions .btn { min-height: 44px; }
























.mobile-only { display: none; }


.mobile-sheet { display: contents; }

.section-fold-sum { list-style: none; cursor: default; }
.section-fold-sum::-webkit-details-marker { display: none; }

@media (max-width: 767.98px) {

  


  .mobile-only { display: revert; }

  

  

  .hero { padding-block: 18px 20px; }
  .hero-inner { gap: 16px; }

  



  #hero-eyebrow,
  .hero-sub,
  .hero-art,
  .trustbar,
  #hero-search-hint { display: none; }

  

  .hero-title {
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 1.1rem + 3.1vw, 2.15rem);
    line-height: 1.08;
    text-wrap: initial;              
  }

  

  

  .searchbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px;
    padding: 8px;
  }
  .searchbar-field { grid-column: 1 / -1; min-height: 54px; padding-block: 6px; }
  
  #hero-l { padding-right: 40px; }
  .searchbar-filters { grid-column: 1; }
  .searchbar-submit { grid-column: 2; min-height: 48px; padding-inline: 18px; font-size: 1rem; }

  .searchbar-pin {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px; height: 44px;       
    border: 0;
    border-radius: var(--r-full);
    background: transparent;
    color: var(--muted-2);
  }
  .searchbar-pin:active { color: var(--brand); background: var(--tint); }
  .searchbar-pin:focus-visible { outline: none; box-shadow: var(--focus); }
  .searchbar-pin.is-busy { color: var(--brand); animation: sj-spin 1s linear infinite; }

  .searchbar-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding-inline: 16px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-full);
    background: var(--surface);
    color: var(--ink);
    font-size: var(--t-sm);
    font-weight: 600;
  }
  .searchbar-filters:focus-visible { outline: none; box-shadow: var(--focus); }
  .searchbar-filters[aria-expanded="true"] { border-color: var(--brand); color: var(--brand); }
  
  .searchbar-filters-n {
    display: grid;
    place-items: center;
    min-width: 20px; height: 20px;
    padding-inline: 5px;
    border-radius: var(--r-full);
    background: var(--brand);
    color: var(--brand-ink);
    font-size: .7rem;
    font-weight: 700;
  }
  .searchbar-filters-n[hidden] { display: none; }

  

  


  .mobile-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 121;
    max-height: min(86dvh, 640px);
    background: var(--surface);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    box-shadow: var(--sh-pop);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .24s var(--ease), visibility .24s;
  }
  .mobile-sheet.is-open { transform: none; visibility: visible; }
  @media (prefers-reduced-motion: reduce) {
    .mobile-sheet { transition: none; }
  }
  

  .mobile-sheet::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--scrim);
    opacity: 0;
    transition: opacity .24s var(--ease);
  }
  .mobile-sheet.is-open::before { opacity: 1; }

  .sheet-head {
    position: relative;
    flex: none;
    padding: 18px var(--pad) 12px;
    border-bottom: 1px solid var(--line);
  }
  .sheet-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.013em;
  }
  .sheet-head .modal-x { top: 8px; right: 10px; }

  #hero-geo {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--pad);
    

    grid-template-columns: minmax(0, 1fr);
  }
  #hero-locate { width: 100%; }

  .sheet-foot {
    flex: none;
    display: flex;
    gap: 10px;
    padding: 12px var(--pad);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: var(--surface-2);
  }
  .sheet-foot .btn { min-height: 48px; }
  .sheet-foot .btn-primary { flex: 1; }

  

  















  #quick-chips > li > a { white-space: nowrap; }

  







  #quick-chips > [data-chip="evenings"]      { order: 1; }
  #quick-chips > [data-chip="weekends"]      { order: 2; }
  #quick-chips > [data-chip="part-time"]     { order: 3; }
  #quick-chips > [data-chip="remote"]        { order: 4; }
  #quick-chips > [data-chip="full-time"]     { order: 5; }
  #quick-chips > [data-chip="no-experience"] { order: 6; }
  #quick-chips > [data-chip="easy-apply"],
  #quick-chips > [data-chip="replies"],
  #quick-chips > [data-chip="urgent"] { display: none; }

  

  






  .page > .container { display: flex; flex-direction: column; }
  .page > .container > .section { order: 4; }
  #latest            { order: 1; }
  #alerts            { order: 2; }
  #reply-record-band { order: 3; }
  #employer-cta      { display: none; }
  

  .page { padding-block: 16px 32px; }
  .section { margin-block: 28px; }
  .section:first-child { margin-top: 0; }
  .section-title { font-size: 1.3rem; }

  
  #reply-record-band > .section-title,
  #reply-record-band > .section-sub,
  #reply-record-band > .feed { display: none; }
  .fold-line {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
  }
  .fold-line a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;                
    font-weight: 600;
  }

  

  .section-fold-sum {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding-block: 4px;
    cursor: pointer;
  }
  .section-fold-sum:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
  .section-fold-sum .section-title { margin: 0; flex: 1; }
  .section-fold-sum::after {
    content: '';
    flex: none;
    width: 9px; height: 9px;
    margin-right: 4px;
    border-right: 2px solid var(--muted-2);
    border-bottom: 2px solid var(--muted-2);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .18s var(--ease);
  }
  .section-fold[open] > .section-fold-sum::after { transform: rotate(-135deg) translate(-3px, -3px); }
  .section-fold[open] > .section-fold-sum { margin-bottom: 8px; }

  

  
  .field-hint, .form-status, .section-sub {
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  

  .form-status.ok, .form-status.err { -webkit-line-clamp: 6; }

  

  

  #feed-state .empty { padding: 18px 16px; }
  #feed-state .empty-art { display: none; }
  #feed-state .empty h3, #feed-state .empty h2 { font-size: 1.05rem; }
  #feed-state .empty p { font-size: 12px; }

  

  



  .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-col ul { gap: 0; }
  .footer-col ul a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }

  

  

  .hero, .page, .section, .card, .feed, .catgrid { max-width: 100%; }
  .hero-title, .fold-line, .section-sub { overflow-wrap: anywhere; }
}





@media print {
  











  :root,
  :root[data-theme="dark"],
  :root[data-theme="light"] {
    --canvas:#FFF; --surface:#FFF; --surface-2:#FFF; --surface-3:#FFF;
    --ink:#000; --ink-2:#222; --muted:#444; --muted-2:#444;
    --line:#CCC; --line-2:#999; --tint:#FFF; --brand:#000; --brand-ink:#FFF;
  }
  

  .jobview, .card, .jobcard, .serp-detail, body { background: #FFF !important; }
  body { background: #FFF; color: #000; font-size: 11.5pt; }

  .site-header, .site-footer, .skip-link, .drawer, .toaster, .modal,
  .filterbar, .active-chips, .searchbar, .serp-list, .pager, .jobview-cta,
  .jobview-actions, .jobview-close, .jobcard-save, .report-link, .rail,
  .tabs, .burger, .theme-toggle { display: none !important; }

  .serp { display: block; }
  .serp-detail {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    padding: 0;
  }
  .jobview, .card, .jobcard { border: 0; box-shadow: none; break-inside: avoid; }
  .jobview-section { padding-inline: 0; border-top: 1px solid #CCC; }
  .jobview-title { font-size: 20pt; }
  .jobview-body { white-space: pre-wrap; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
  .badge, .attr, .benefit { border: 1px solid #999; background: none !important; color: #000 !important; }
  .reply-meter i { border: 1px solid #666; }
}













.free-banner {
  background: var(--info-bg);
  border-bottom: 1px solid var(--info);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  padding: 10px 0;
}
.free-banner b { font-weight: 700; }
@media (max-width: 480px) { .free-banner { font-size: 13.5px; padding: 9px 0; } }





.chip-in { padding-top: 28px; border-top: 1px solid var(--line); }










.chip-in-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 16px 0;
}
.chip-in-amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-in-amounts .btn { min-width: 84px; }













.chip-in-amounts .btn.is-chosen {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--sh-1);
}
.chip-in-amounts .btn.is-chosen:hover { color: var(--brand-ink); border-color: var(--brand); }






.chip-in-amounts .btn.is-chosen:focus-visible { box-shadow: var(--focus); }
.chip-in-field label { display: block; font-size: 13.5px; margin-bottom: 4px; color: var(--muted); }
.chip-in-field input { max-width: 150px; }
.chip-in-small { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 64ch; }







@media (max-width: 560px) {
  .chip-in-amounts { width: 100%; }
  .chip-in-amounts .btn { flex: 1 1 auto; }
  .chip-in-field { width: 100%; }
  .chip-in-field input { max-width: none; width: 100%; }
  .chip-in-row > .btn { width: 100%; }
}








.cand-split {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.cand-list {
  max-height: min(72vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.cand-row {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.cand-row:last-child { border-bottom: 0; }
.cand-row:hover { background: var(--tint); }

.cand-row.is-on { background: var(--brand); }
.cand-row.is-on .cand-row-name, .cand-row.is-on .cand-row-sub { color: var(--brand-ink); }
.cand-row:focus-visible { outline: none; box-shadow: var(--focus); }
.cand-row-main { min-width: 0; flex: 1 1 auto; }
.cand-row-name { margin: 0; font-weight: 600; font-size: 14.5px; }
.cand-row-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.cand-row.is-on .cand-row-sub { color: var(--brand-ink); opacity: .85; }
.cand-row-tags { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cand-pick { display: flex; align-items: flex-start; padding-top: 2px; }


.cand-dot {
  display: inline-block; width: 8px; height: 8px; margin-left: 6px;
  border-radius: var(--r-full); background: var(--brand);
}
.cand-row.is-on .cand-dot { background: var(--brand-ink); }

.cand-detail { min-width: 0; }
.cand-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.cand-actions .select { max-width: 220px; }
.cand-note { white-space: pre-wrap; }





.cand-toggles { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cand-bulk {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 10px 14px; margin-bottom: 12px;
  background: var(--tint); border: 1px solid var(--brand); border-radius: var(--r);
}
.cand-bulk .select { max-width: 220px; }


@media (max-width: 900px) {
  .cand-split { grid-template-columns: minmax(0, 1fr); }
  .cand-list { max-height: 320px; }
}



.badge-applied { background: var(--tint); color: var(--brand); border-color: var(--brand-200); }
:root[data-theme="dark"] .badge-applied { color: var(--brand-200); }



.linkish {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--brand); font: inherit; text-decoration: underline;
}
.linkish:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
