/* ===========================================================
   Diét'Éthique Beauté — Sarah Ottonelli
   Design system "carte de visite" — cartes arrondies, chaleureux
   =========================================================== */

:root{
  --bg:            #F9FBF5;
  --bg-alt:        #E1F4EB;
  --card:          #FFFFFF;
  --primary:       #365F4E;
  --primary-dark:  #1B2E24;
  --primary-light: #E1F4EB;
  --secondary:     #B29454;
  --secondary-dark:#8C7440;
  --secondary-light:#F1E9D8;
  --gold:          #B29454;
  --coral:         #B29454;
  --text:          #1B2E24;
  --text-muted:    #5A675F;
  --border:        #D1E3D8;
  --shadow: 0 8px 24px -14px rgba(27, 46, 36, 0.16);
  --shadow-sm: 0 3px 10px -6px rgba(27, 46, 36, 0.12);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--primary-dark);
}
h1{ font-size:clamp(2.1rem, 4vw, 3.2rem); }
h2{ font-size:clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; }
a{ color:var(--primary); text-decoration:none; }
a:hover{ text-decoration:underline; }
ul{ margin:0 0 1em; padding-left:1.2em; }
img{ max-width:100%; display:block; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:64px 0; scroll-margin-top:110px; }
.section-alt{ background:var(--bg-alt); }
.eyebrow{
  display:inline-block; font-family:'Karla',sans-serif; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase; font-size:.78rem;
  color:var(--secondary-dark); background:var(--secondary-light);
  padding:5px 14px; border-radius:99px; margin-bottom:14px;
}
.lead{ font-size:1.15rem; color:var(--text-muted); max-width:62ch; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Karla',sans-serif; font-weight:600; font-size:.98rem;
  padding:13px 26px; border-radius:99px; border:2px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration:none; white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); text-decoration:none; }
.btn-primary{ background:var(--primary); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--primary-dark); }
.btn-outline{ background:transparent; border-color:var(--primary); color:var(--primary-dark); }
.btn-outline:hover{ background:var(--primary-light); }
.btn-ghost{ background:var(--card); border-color:var(--border); color:var(--text); }
.btn-ghost:hover{ border-color:var(--primary); color:var(--primary-dark); }
.btn-sm{ padding:9px 18px; font-size:.88rem; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header / Nav ---------- */
.topbar{
  background:var(--primary-dark); color:#fff; font-size:.85rem;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px; }
.topbar a{ color:#fff; }
.topbar-item{ display:inline-flex; align-items:center; gap:6px; margin-right:18px; }
.topbar-right{ display:flex; gap:16px; }

.site-header{
  position:sticky; top:0; z-index:50; background:rgba(249,251,245,.92);
  backdrop-filter:blur(8px); border-bottom:1px solid var(--border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand:hover{ text-decoration:none; }
.brand-mark{ width:36px; height:auto; flex-shrink:0; }
.brand-text{ line-height:1.15; }
.brand-text .name{ display:block; font-family:'Cormorant Garamond',serif; font-weight:600; color:var(--text); font-size:1.08rem; }
.brand-text .role{ display:block; font-size:.74rem; color:var(--text-muted); letter-spacing:.03em; }

.nav-links{ display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0; }
.nav-links a{
  color:var(--text); font-weight:600; font-size:.92rem; padding:10px 14px;
  border-radius:99px; display:inline-block; white-space:nowrap;
}
.nav-links a:hover, .nav-links a.active{ background:var(--primary-light); color:var(--primary-dark); text-decoration:none; }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; font-size:1.6rem; cursor:pointer; color:var(--primary-dark); }

/* ---------- Nav submenu ---------- */
.nav-links li.has-submenu{ position:relative; }
.nav-links .caret{ font-size:.85em; margin-left:3px; color:var(--secondary); font-weight:700; }
.nav-links .submenu{
  display:none; list-style:none; margin:0; padding:8px; position:absolute; top:100%; left:0;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm);
  box-shadow:var(--shadow-sm); min-width:190px; z-index:60;
}
.nav-links li.has-submenu:hover .submenu,
.nav-links li.has-submenu:focus-within .submenu{ display:block; }
.nav-links .submenu li{ margin:0; }
.nav-links .submenu a{ display:block; padding:9px 12px; border-radius:8px; white-space:nowrap; font-size:.9rem; }

@media (max-width: 900px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0; background:var(--card);
    flex-direction:column; align-items:stretch; padding:10px 24px 20px;
    border-bottom:1px solid var(--border); box-shadow:var(--shadow-sm);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ padding:12px 10px; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-outline{ display:none; }
  .nav-links .submenu{
    display:block; position:static; box-shadow:none; border:none; background:none;
    padding:0 0 0 16px; margin-top:2px; min-width:0;
  }
  .nav-links .caret{ display:none; }
}

/* ---------- Business-card hero ---------- */
.hero{ padding:52px 0 68px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }

.biz-card{
  background:linear-gradient(135deg, var(--bg-alt) 0%, var(--card) 60%);
  border-radius:var(--radius-lg); box-shadow:var(--shadow);
  padding:32px; position:relative; overflow:hidden; border:1px dashed var(--secondary);
}
.biz-card-inner{ position:relative; z-index:1; }
.biz-card-top{ display:flex; align-items:center; gap:18px; margin-bottom:20px; }
.biz-photo{
  width:88px; height:88px; border-radius:50%; object-fit:cover;
  border:3px solid var(--card); box-shadow:0 0 0 3px var(--primary-light);
  flex-shrink:0; background:var(--secondary-light);
}
.biz-photo-placeholder{
  width:88px; height:88px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,var(--primary-light),var(--secondary-light));
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond',serif; font-size:1.6rem; color:var(--primary-dark); font-weight:600;
  box-shadow:0 0 0 3px var(--card), 0 0 0 4px var(--border);
}
.biz-name{ margin:0; font-size:1.5rem; }
.biz-role{ color:var(--secondary-dark); font-weight:600; font-size:.95rem; margin-top:2px; }
.biz-tagline{ color:var(--text-muted); font-style:italic; margin:14px 0 20px; }
.biz-divider{ height:1px; background:var(--border); margin:20px 0; }
.biz-details{ display:flex; flex-direction:column; gap:10px; margin-bottom:22px; }
.biz-detail{ display:flex; align-items:flex-start; gap:10px; font-size:.95rem; }
.biz-detail .ico{ flex-shrink:0; color:var(--primary); margin-top:2px; }
.biz-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.biz-badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.badge{
  font-size:.75rem; font-weight:700; letter-spacing:.03em; color:var(--secondary-dark);
  background:var(--secondary-light); padding:5px 12px; border-radius:99px;
}
.biz-rpps{ font-size:.72rem; font-weight:600; color:var(--coral); letter-spacing:.02em; margin-top:16px; }

.hero-copy .eyebrow{ margin-bottom:16px; }
.hero-copy h1{ margin-bottom:18px; }
.hero-pillars{ display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.pillar{
  display:flex; align-items:center; gap:10px; background:var(--card);
  border:1px solid var(--border); border-radius:99px; padding:10px 18px; font-size:.9rem; font-weight:600;
}
.pillar .dot{ width:9px; height:9px; border-radius:50%; background:var(--secondary); }

/* ---------- Cards grid ---------- */
.grid{ display:grid; gap:26px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }
@media (min-width:901px) and (max-width:1100px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }

.card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:30px; box-shadow:var(--shadow-sm); transition:transform .15s ease, box-shadow .15s ease;
}
.card-link{ display:block; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card-icon{
  width:52px; height:52px; border-radius:14px; background:var(--primary-light);
  color:var(--primary-dark); display:flex; align-items:center; justify-content:center;
  margin-bottom:16px;
}
.card-icon.green{ background:var(--secondary-light); color:var(--secondary-dark); }
.card h3{ margin-bottom:8px; }
.card p{ color:var(--text-muted); margin-bottom:0; }
.card .btn{ margin-top:16px; }

/* ---------- Pricing cards ---------- */
.price-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:28px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
}
.price-card.featured{ border-color:var(--primary); box-shadow:var(--shadow); position:relative; }
.price-card.featured .eyebrow{ background:var(--primary); color:#fff; }
.price-name{ font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.2rem; margin-bottom:4px; }
.price-value{ font-size:2rem; font-family:'Cormorant Garamond',serif; color:var(--primary-dark); font-weight:600; margin:6px 0; }
.price-value span{ font-size:.95rem; font-family:'Karla',sans-serif; color:var(--text-muted); font-weight:500; }
.price-desc{ color:var(--text-muted); font-size:.92rem; margin-bottom:18px; flex-grow:1; }
.price-meta{ font-size:.85rem; color:var(--text-muted); margin-top:4px; }

table.price-table{ width:100%; table-layout:fixed; border-collapse:collapse; background:var(--card); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); }
table.price-table th, table.price-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--border); overflow-wrap:break-word; }
table.price-table th{ background:var(--bg-alt); font-family:'Cormorant Garamond',serif; font-weight:600; color:var(--primary-dark); }
table.price-table tr:last-child td{ border-bottom:none; }
table.price-table th:first-child, table.price-table td:first-child{ width:26%; }
table.price-table th:nth-child(2), table.price-table td:nth-child(2){ width:20%; }
table.price-table th:last-child, table.price-table td:last-child{ width:54%; }
.price-table .amount{ font-weight:700; color:var(--primary-dark); white-space:normal; }
.price-table .per-session{ display:block; font-size:.78rem; font-weight:500; color:var(--text-muted); margin-top:2px; white-space:normal; }
table.price-table.auto-cols{ table-layout:auto; min-width:600px; white-space:nowrap; }
table.price-table.auto-cols th:first-child, table.price-table.auto-cols td:first-child,
table.price-table.auto-cols th:nth-child(2), table.price-table.auto-cols td:nth-child(2),
table.price-table.auto-cols th:last-child, table.price-table.auto-cols td:last-child{ width:auto; }
table.price-table.auto-cols th:first-child, table.price-table.auto-cols td:first-child{
  position:sticky; left:0; background:var(--card); box-shadow:1px 0 0 var(--border);
}
table.price-table.auto-cols thead th:first-child{ background:var(--bg-alt); }
@media (max-width:640px){
  table.price-table{ table-layout:auto; }
  table.price-table th:first-child, table.price-table td:first-child,
  table.price-table th:nth-child(2), table.price-table td:nth-child(2),
  table.price-table th:last-child, table.price-table td:last-child{ width:auto; }

  /* Cure tables become stacked cards on narrow screens: every price visible at once, no horizontal scroll */
  table.price-table.auto-cols{ min-width:0; white-space:normal; display:block; }
  table.price-table.auto-cols thead{ display:none; }
  table.price-table.auto-cols tbody{ display:block; }
  table.price-table.auto-cols tr{
    display:block; margin-bottom:16px; border:1px solid var(--border);
    border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm);
  }
  table.price-table.auto-cols tr:last-child{ margin-bottom:0; }
  table.price-table.auto-cols td{
    display:flex; justify-content:space-between; align-items:center; gap:12px;
    width:auto; position:static; box-shadow:none; padding:10px 16px;
  }
  table.price-table.auto-cols td::before{
    content:attr(data-label); font-family:'Karla',sans-serif; font-weight:600;
    font-size:.78rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.03em;
  }
  table.price-table.auto-cols td:first-child{
    background:var(--bg-alt); font-family:'Cormorant Garamond',serif; font-weight:600; font-size:1.15rem;
  }
  table.price-table.auto-cols td:first-child::before{ content:none; }
}
.table-wrap{ overflow-x:auto; }

/* ---------- Testimonials ---------- */
.testi-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md); padding:28px; box-shadow:var(--shadow-sm); }
.testi-stars{ color:var(--gold); letter-spacing:2px; margin-bottom:12px; font-size:1.05rem; }
.testi-quote{ color:var(--text); margin-bottom:16px; }
.testi-author{ font-weight:700; color:var(--primary-dark); font-size:.92rem; }
.testi-date{ font-size:.8rem; color:var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm); margin-bottom:14px; overflow:hidden; }
.faq-item summary{ cursor:pointer; list-style:none; padding:18px 22px; font-weight:700; font-family:'Cormorant Garamond',serif; font-size:1.05rem; display:flex; justify-content:space-between; align-items:center; color:var(--primary-dark); }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; color:var(--primary); flex-shrink:0; margin-left:12px; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item .faq-a{ padding:0 22px 20px; color:var(--text-muted); }

/* ---------- Timeline (approach / steps) ---------- */
.steps{ counter-reset:step; }
.step{ display:flex; gap:20px; margin-bottom:28px; }
.step-num{
  counter-increment:step; content:counter(step);
  width:42px; height:42px; border-radius:50%; background:var(--secondary); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:'Cormorant Garamond',serif; font-weight:600;
  flex-shrink:0;
}
.step-num::before{ content:counter(step); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg,var(--primary) 0%, var(--primary-dark) 100%);
  color:#fff; border-radius:var(--radius-lg); padding:48px; text-align:center;
}
.cta-banner h2{ color:#fff; }
.cta-banner p{ color:rgba(255,255,255,.88); }
.cta-banner .btn-primary{ background:#fff; color:var(--primary-dark); }
.cta-banner .btn-primary:hover{ background:var(--primary-light); }
.cta-banner .btn-outline{ border-color:#fff; color:#fff; }
.cta-banner .btn-outline:hover{ background:rgba(255,255,255,.15); }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.map-frame{ border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--border); }
.map-frame iframe{ width:100%; height:320px; border:0; display:block; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-alt); color:var(--text); padding:56px 0 24px; margin-top:40px; border-top:1px solid var(--border); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer h4{ color:var(--primary-dark); font-family:'Cormorant Garamond',serif; font-size:1.15rem; font-weight:600; margin-bottom:10px; padding-bottom:8px; border-bottom:2px solid var(--secondary); display:inline-block; }
.site-footer a{ color:var(--text-muted); }
.site-footer a:hover{ color:var(--primary-dark); }
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer li{ margin-bottom:9px; font-size:.92rem; }
.footer-brand p{ color:var(--text-muted); font-size:.9rem; max-width:32ch; }
.footer-bottom{ border-top:1px solid var(--border); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.82rem; color:var(--text-muted); }
.footer-bottom a{ color:var(--text-muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb{ font-size:.85rem; color:var(--text-muted); padding:18px 0 0; }
.breadcrumb a{ color:var(--text-muted); }

/* ---------- Page header (interior pages) ---------- */
.page-hero{ padding:44px 0 30px; }
.page-hero .eyebrow{ margin-bottom:10px; }
.page-hero .lead{ margin-top:10px; }

/* ---------- Utilities ---------- */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.text-muted{ color:var(--text-muted); }
.note-box{
  background:var(--secondary-light); border:1px solid var(--secondary); border-radius:var(--radius-sm);
  padding:18px 22px; font-size:.92rem; color:var(--secondary-dark);
}
.new-tag{ background:var(--coral); color:#fff; font-size:.7rem; font-weight:700; padding:3px 10px; border-radius:99px; letter-spacing:.04em; vertical-align:middle; margin-left:8px; }
hr.sep{ border:none; border-top:1px solid var(--border); margin:40px 0; }

/* ---------- Formulaire préconsultation ---------- */
[hidden]{ display:none !important; }
.pc-form{ max-width:820px; margin:0 auto; }
.pc-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; margin-bottom:24px; box-shadow:var(--shadow-sm); }
.pc-card h2{ font-size:1.5rem; margin-bottom:6px; }
.pc-card h3{ font-size:1.15rem; margin:22px 0 8px; }
.pc-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px 20px; }
.pc-field{ display:flex; flex-direction:column; gap:6px; }
.pc-field label, .pc-label{ font-weight:600; font-size:.92rem; color:var(--primary-dark); }
.pc-field input[type=text], .pc-field input[type=email], .pc-field textarea{
  font:inherit; padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius-sm); background:#fff; color:var(--text); width:100%;
}
.pc-field input:focus, .pc-field textarea:focus{ outline:2px solid var(--primary); outline-offset:1px; border-color:var(--primary); }
.pc-field input[readonly]{ background:var(--bg-alt); }
.pc-hint{ font-size:.85rem; color:var(--text-muted); margin:0; }
.pc-checks{ list-style:none; padding:0; margin:10px 0 0; display:grid; gap:10px; }
.pc-checks label{ display:flex; gap:12px; align-items:flex-start; cursor:pointer; line-height:1.45; }
.pc-checks input[type=checkbox], .pc-checks input[type=radio], .pc-consent input[type=checkbox]{ width:20px; height:20px; margin-top:2px; flex:0 0 20px; accent-color:var(--primary); }
.pc-info{ background:var(--bg-alt); border-radius:var(--radius-sm); padding:14px 18px; margin:10px 0; font-size:.94rem; color:var(--text); }
.pc-info p{ margin:0 0 8px; } .pc-info p:last-child{ margin:0; }
.pc-consent{ display:flex; gap:12px; align-items:flex-start; line-height:1.5; cursor:pointer; }
.pc-sig{ border:1px dashed var(--primary); border-radius:var(--radius-sm); background:#fff; touch-action:none; width:100%; height:180px; display:block; cursor:crosshair; }
.pc-sig-actions{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:8px; }
.pc-error{ background:#fbeaea; border:1px solid #c0392b; color:#7b241c; border-radius:var(--radius-sm); padding:14px 18px; margin-bottom:20px; }
.pc-error ul{ margin:6px 0 0; padding-left:1.2em; }
.pc-success{ background:var(--bg-alt); border:1px solid var(--primary); border-radius:var(--radius-lg); padding:32px; text-align:center; }
.pc-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.btn[disabled]{ opacity:.6; cursor:wait; }
@media (max-width:640px){
  .pc-grid{ grid-template-columns:1fr; }
  .pc-card{ padding:20px 16px; }
}
@media print{
  .topbar, .site-header, .site-footer{ display:none; }
}
@media (min-width:700px){
  .pc-checks.pc-cols{ grid-template-columns:repeat(2,1fr); gap:10px 28px; }
  .pc-checks.pc-cols .pc-none{ grid-column:1 / -1; }
}

/* ---------- Fiche préférences alimentaires ---------- */
.pc-acc{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); margin-bottom:18px; box-shadow:var(--shadow-sm); }
.pc-acc > summary{ cursor:pointer; padding:18px 24px; font-family:'Cormorant Garamond',serif; font-size:1.5rem; font-weight:600; color:var(--primary-dark); list-style:none; display:flex; justify-content:space-between; align-items:center; }
.pc-acc > summary::-webkit-details-marker{ display:none; }
.pc-acc > summary::after{ content:"▾"; font-size:1rem; color:var(--secondary); transition:transform .2s; }
.pc-acc[open] > summary::after{ transform:rotate(180deg); }
.pc-acc-body{ padding:0 24px 20px; }
.pc-acc h4{ font-family:'Karla',sans-serif; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; color:var(--secondary-dark); margin:20px 0 8px; }
table.pc-prefs{ width:100%; max-width:680px; border-collapse:collapse; }
.pc-prefs th, .pc-prefs td{ padding:9px 12px; border-bottom:1px solid var(--border); text-align:left; }
.pc-prefs th{ background:var(--bg-alt); font-weight:600; font-size:.88rem; color:var(--primary-dark); }
.pc-prefs th:nth-child(n+2), .pc-prefs td:nth-child(n+2){ text-align:center; width:104px; }
.pc-prefs input[type=checkbox]{ width:22px; height:22px; accent-color:var(--primary); cursor:pointer; }
.pc-prefs td.no input[type=checkbox]{ accent-color:#a8473a; }
.pc-prefs tbody tr:hover td{ background:var(--bg-alt); }
@media (max-width:640px){
  .pc-acc > summary{ padding:16px; font-size:1.3rem; }
  .pc-acc-body{ padding:0 12px 16px; }
  .pc-prefs th, .pc-prefs td{ padding:9px 6px; }
  .pc-prefs th:nth-child(n+2), .pc-prefs td:nth-child(n+2){ width:74px; }
}
