/* Directory listing (Directory.dc.html) and provider pages (Provider.dc.html). */
.page-dir{padding-top:32px;padding-bottom:96px}
.page-provider{padding-top:28px;padding-bottom:72px}
.breadcrumb{font-size:14px;color:var(--slate-600);margin-bottom:12px}
.breadcrumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
.breadcrumb li+li::before{content:"/";margin-right:4px}
.page-dir .ad-slot--top{margin:0 auto 24px}

.dir-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--ink-900)}
.dir-head__text{display:flex;flex-direction:column;gap:8px;max-width:720px}
.dir-head h1{font-size:clamp(30px,4vw,44px);line-height:1.08;letter-spacing:-.025em}
.dir-head p{margin:0;color:var(--slate-700);font-size:17px;text-wrap:pretty}
.dir-head .verified{font-size:14px}

.dir-layout{display:flex;gap:32px;align-items:flex-start;padding-top:24px}
.filter-panel{flex:0 0 248px;position:sticky;top:16px;align-self:flex-start}
.filter-body{display:flex;flex-direction:column;padding:4px 0}
.filter-group legend{font-size:13px}
.filter-option span:nth-child(2){flex:1}
.filter-search{gap:8px}
.filter-search input{min-height:42px;border:1px solid var(--slate-300);border-radius:var(--r-md);padding:0 10px;font:15px var(--font-sans);width:100%}
.filter-note{margin:8px 0 0;font-size:13px;color:var(--slate-500);line-height:1.45}
.filter-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:8px}
.clear-link{font-size:15px;color:var(--accent-600)}
.js .filter-submit,.js .sort-submit{display:none}
.sheet-head,.sheet-foot,.sheet-backdrop,.filter-bar{display:none}

.dir-results{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:16px}
.dir-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap}
.dir-toolbar__left{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap}
.dir-toolbar h2{font-size:22px;letter-spacing:-.01em}
.copy-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid var(--slate-300);border-radius:var(--r-md);background:#fff;font:14px var(--font-sans);color:var(--ink-900);cursor:pointer}
.copy-btn:hover{border-color:var(--ink-900)}
.sort-form{display:flex;gap:8px;align-items:center}
.sort-form label{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--slate-600)}
.sort-form select{min-height:40px;border:1px solid var(--slate-300);border-radius:var(--r-md);padding:0 10px;font:15px var(--font-sans);color:var(--ink-900);background:#fff}
.sort-submit{min-height:40px}
.active-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.chip-active{text-decoration:none}
.chip-active span{font-size:16px;line-height:1}
.active-chips .clear-link{font-size:14px;color:var(--slate-600);padding:0 4px}
.empty-state h3{font-size:20px}
.empty-state p{margin:0;color:var(--slate-600);max-width:46ch}
.empty-state__relax{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.empty-state__relax .btn{min-height:40px;font-weight:400;font-size:14px}
.empty-state__foot{font-size:14px}
.provider-card__link{color:inherit;text-decoration:none}
.provider-card__link:hover{text-decoration:underline}
.price-pair .v--na{color:var(--slate-400)}
.dir-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--slate-200);font-size:14px;color:var(--slate-600)}
.dir-foot__share{display:flex;gap:14px;flex-wrap:wrap}
.is-loading .provider-grid{opacity:.5;transition:opacity .15s}

/* Under 880px the filters become a bottom sheet opened from a fixed bar (JS only; without JS they stay inline). */
@media (max-width:879px){
  .dir-layout{flex-direction:column}
  .filter-panel{position:static;flex:none;width:100%;display:block}
  .js .filter-panel{display:none}
  .js .filter-panel.is-open{display:block;position:fixed;left:0;right:0;bottom:0;max-height:86vh;overflow-y:auto;z-index:50;background:#fff;border-radius:8px 8px 0 0;box-shadow:0 -8px 32px rgba(14,23,38,.18);padding:0 20px}
  .js .is-open .sheet-head{display:flex;position:sticky;top:0;background:#fff;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--slate-200);z-index:1;margin-bottom:12px}
  .sheet-grip{width:36px;height:4px;border-radius:2px;background:var(--slate-300);position:absolute;left:50%;top:6px;margin-left:-18px}
  .sheet-head strong{font-size:18px}
  .sheet-head .sheet-close{min-height:44px;padding:0 4px;border:0;background:none;font:600 16px var(--font-sans);color:var(--accent-600);cursor:pointer}
  .js .is-open .sheet-foot{display:block;position:sticky;bottom:0;background:#fff;padding:12px 0 20px;border-top:1px solid var(--slate-200);margin-top:16px}
  .sheet-foot .btn{width:100%;min-height:50px}
  .js .sheet-backdrop.is-open{display:block;position:fixed;inset:0;background:rgba(14,23,38,.45);z-index:40}
  .js .filter-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--slate-200);gap:10px;align-items:center}
  .filter-bar__open{flex:1;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:var(--r-md);background:var(--ink-900);color:#fff;font:600 16px var(--font-sans);cursor:pointer}
  .filter-bar span{font-size:14px;color:var(--slate-600);white-space:nowrap}
  .js .sort-form{width:100%}
  .js .page-dir ~ .site-footer{padding-bottom:84px}
}

/* Provider page */
.prov-head{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap;padding-bottom:24px;border-bottom:1px solid var(--ink-900)}
.prov-head .tile{flex:0 0 72px;width:72px;height:72px;font-size:22px;border-radius:var(--r-lg)}
.prov-head__text{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:10px}
.prov-head h1{font-size:clamp(30px,4vw,44px);line-height:1.05;letter-spacing:-.025em}
.prov-meta{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:15px;color:var(--slate-600)}
.prov-layout{display:flex;gap:40px;flex-wrap:wrap;align-items:flex-start;padding-top:28px}
.prov-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:48px}
.prov-main h2{font-size:24px;letter-spacing:-.015em}
.prov-main section > h2{margin-bottom:14px}
.affiliate-note{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;background:var(--paper-50);border:1px solid var(--slate-200);border-radius:var(--r-md);font-size:15px;color:var(--slate-700)}
.affiliate-note .label-affiliate{margin-top:2px}
.facts .verified{font-size:13px}
.facts dd.verified{font-weight:400}
.plans-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap;margin-bottom:14px}
.plans-head span{font-size:13px;color:var(--slate-600)}
.table-scroll th[scope=row]{font-weight:500}
.table-scroll td.muted{color:var(--slate-600)}
.small-print{margin:10px 0 0;font-size:14px;color:var(--slate-600)}
.dc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.dc-card{border:1px solid var(--slate-200);border-radius:var(--r-lg);padding:20px;display:flex;flex-direction:column;gap:8px}
.prov-main .dc-card h2{font-size:19px;margin:0}
.dc-card .big{margin:0;font-size:22px;font-weight:600;letter-spacing:-.01em}
.dc-card p{margin:0;font-size:15px}
.dc-card .muted{color:var(--slate-600)}
.notes p{margin:0;font-size:17px;line-height:1.65;max-width:66ch;text-wrap:pretty}
.notes .empty{color:var(--slate-600);font-size:16px}
.byline-mini{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:14px;color:var(--slate-600)}
.byline-mini .avatar{width:36px;height:36px;border-radius:50%;background:var(--slate-200);display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--ink-900)}
.bench{border:1px solid var(--slate-200);border-radius:var(--r-lg);overflow:hidden}
.bench__head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 20px;background:var(--paper-50);border-bottom:1px solid var(--slate-200)}
.prov-main .bench__head h2{font-size:19px;margin:0}
.bench__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}
.bench__grid div{padding:18px 20px;border-right:1px solid var(--slate-100)}
.bench__grid div:last-child{border-right:0}
.bench__grid .k{font-size:14px;color:var(--slate-600)}
.bench__grid .v{font-size:24px;font-weight:600;color:var(--slate-500)}
.bench__foot{padding:12px 20px;border-top:1px solid var(--slate-100);font-size:14px;color:var(--slate-600)}
.changelog span{flex:1 1 240px}
.alt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px}
.alt-card{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--slate-200);border-radius:var(--r-lg)}
.alt-card__head{display:flex;gap:10px;align-items:center}
.alt-card .tile{flex-basis:36px;width:36px;height:36px;font-size:12px}
.alt-card h3{font-size:17px}
.alt-card__prices{display:grid;grid-template-columns:1fr 1fr;font-size:14px;color:var(--slate-600)}
.alt-card__prices strong{color:var(--ink-900)}
.alt-card .btn{min-height:0;padding:8px;font-size:14px}
.claim{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:22px;border:1px solid var(--ink-900);border-radius:var(--r-lg)}
.claim div{max-width:52ch}
.prov-main .claim h2{font-size:19px;margin:0 0 4px}
.claim p{margin:0;color:var(--slate-600);font-size:15px}
.claim .btn{border-color:var(--ink-900)}
.prov-aside{flex:1 1 280px;max-width:100%;position:sticky;top:16px;display:flex;flex-direction:column;gap:16px}
.price-box{border:1px solid var(--slate-200);border-radius:var(--r-lg);padding:20px;display:flex;flex-direction:column;gap:14px}
.price-box .price-pair{border:0;padding:0}
.price-box .price-pair .v{font-size:26px;letter-spacing:-.015em}
.price-box__total{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid var(--slate-100);border-bottom:1px solid var(--slate-100);font-size:14px}
.price-box__total span{color:var(--slate-600)}
.price-box .btn-primary{min-height:50px;font-size:16px}
.on-page{display:flex;flex-direction:column;gap:6px;font-size:15px;padding:0 4px}
.on-page a{color:var(--ink-900);text-decoration:none}
.on-page a:hover{text-decoration:underline}
.share-row{display:flex;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--slate-600);padding:0 4px}
.share-row button{all:unset;color:var(--accent-600);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.share-row button:focus-visible{outline:2px solid var(--accent-600);outline-offset:2px}
@media (max-width:879px){.prov-aside{position:static}}

/* Author page */
.page-author{max-width:1000px;padding-top:36px;padding-bottom:80px}
.author-head{display:flex;gap:28px;flex-wrap:wrap;padding-bottom:32px;border-bottom:1px solid var(--ink-900)}
.author-photo{flex:0 0 160px;width:160px;height:160px;border-radius:var(--r-lg);background:var(--slate-50);border:1px solid var(--slate-200);display:grid;place-items:center;font:600 44px var(--font-sans);color:var(--slate-600);overflow:hidden}
.author-photo img{width:100%;height:100%;object-fit:cover}
.author-head__text{flex:1 1 380px;display:flex;flex-direction:column;gap:12px}
.author-head h1{font-size:clamp(32px,4.4vw,46px);line-height:1.06;letter-spacing:-.028em}
.author-role{font-size:18px;color:var(--slate-700)}
.author-head p{margin:0;font-size:17px;line-height:1.65;max-width:60ch;text-wrap:pretty}
.author-facts{margin:6px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px 24px;font-size:14px}
.author-facts dt{color:var(--slate-600)}.author-facts dd{margin:0;font-weight:500}
.author-articles{padding-top:28px}
.author-articles h2{margin:0 0 8px;font-size:24px;letter-spacing:-.015em}
.author-articles ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink-900)}
.author-articles li{border-bottom:1px solid var(--slate-200)}
.author-articles a{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:4px 24px;padding:16px 0;color:var(--ink-900);text-decoration:none}
.author-articles a:hover .t{text-decoration:underline}
.author-articles .m{display:flex;gap:10px;align-items:baseline;font-size:14px;color:var(--slate-600)}
.author-articles .m .tag{border-color:var(--slate-300)}
.author-articles .t{grid-column:span 3;font-size:18px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
.independence{margin-top:36px;padding:16px 20px;border:1px solid var(--slate-200);border-radius:var(--r-lg);background:var(--paper-50);font-size:15px;color:var(--slate-700)}
.independence strong{color:var(--ink-900)}
.tag{font:500 12px var(--font-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-900);border:1px solid var(--ink-900);border-radius:var(--r-sm);padding:1px 7px}
