/* accounting.events content elements: one style per element on every review and resource page.
   Spec: generator/docs/DESIGN-LANGUAGE.md. Loaded after each page's own <style> blocks lose to it
   on specificity (html body prefix), so per-page drift cannot change how an element looks. */

/* Text */
html body .article-body{font-size:1.06rem;color:#2c343a}
html body .article-body h2{font-size:1.8rem;font-weight:600;line-height:1.2;margin:42px 0 14px;color:#343a3d}
html body .article-body h3{font-size:1.25rem;font-weight:600;margin:28px 0 10px;color:#343a3d}

/* Answer box at the top: In short / Quick answer / Summary / Which one fits */
html body .ns-summary,html body .ns-verdict,html body .answer-block{background:#f7f9fa;border:1px solid #e2e8f0;border-radius:8px;padding:18px 22px;margin:0 0 26px}
html body .ns-label,html body .answer-block .ab-label{display:block;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#5b6670;margin:0 0 8px}
html body .answer-block .ab-label svg{display:none}
html body .answer-block p{font-size:1rem;color:#2c343a;margin:0 0 12px}
html body .answer-block p:last-child{margin-bottom:0}
html body .ns-summary ul,html body .ns-verdict ul{margin:0;padding-left:20px}
html body .ns-summary li,html body .ns-verdict li{margin-bottom:6px}

/* Note box: related guides, callouts */
html body .rel-inline,html body .article-body .callout{background:#f7f9fa;border:1px solid #e2e8f0;border-left:4px solid #80cbc4;border-radius:0 8px 8px 0;padding:14px 18px;margin:4px 0 28px;font-size:.98rem;color:#2c343a;line-height:1.6}
html body .rel-inline strong{color:#394a54}
html body .article-body .callout .label{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#5b6670;margin:0 0 6px}
html body .article-body .callout p{margin:0 0 8px}
html body .article-body .callout p:last-child{margin-bottom:0}

/* Stat card: ae-stat cells and the single-number factbox */
html body .ae-stat-c,html body .article-body .factbox{background:#eef7f6;border:1px solid #cdeae6;border-radius:6px;padding:18px 16px}
html body .ae-stat-n,html body .article-body .factbox .fb-num{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:1.85rem;font-weight:500;color:#2f7d75;line-height:1.05;letter-spacing:-.03em}
html body .article-body .factbox{margin:6px 0 26px;display:flex;gap:16px;align-items:center}
html body .article-body .factbox .fb-txt{font-size:.95rem;color:#2c343a;margin:0}

/* Contents box */
html body .rtoc,html body .article-body .toc,html body .article-wrap .toc{border:1px solid #e2e8f0;border-radius:6px;padding:18px 20px;background:#fff;font-size:.9rem}
html body .rtoc h4,html body .toc h4,html body .toc h2{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#5b6670;margin:0 0 12px;font-weight:600}

/* App card */
html body .article-body .tool{border:1px solid #e2e8f0;border-radius:6px;padding:26px 28px;margin:0 0 26px;background:#fff}
html body .tool .cc-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin:0 0 10px}
html body .article-body .tool .cc-head h2,html body .article-body .tool .cc-head h3{margin:0;font-size:1.42rem;letter-spacing:-.02em;color:#394a54}
html body .article-body .cc-head img.cc-logo{height:30px!important;width:auto!important;max-width:170px!important;flex-shrink:0;margin:0!important}
html body .tool p.cc-bestfor{margin:0 0 10px}
html body .tool p.cc-gate{font-size:1.05rem;line-height:1.5;color:#64748b;margin:8px 0 0;font-weight:500}
html body .article-body .tool h3.cc-q{font-size:.95rem;font-weight:600;color:#394a54;margin:26px 0 6px}
html body .tool p.best-for{font-size:1.02rem;line-height:1.6;color:#343a3d;margin:0}
html body .tool p.cc-lim{margin:20px 0 0;padding:18px 0 0;border:0;border-top:1px solid #e2e8f0;background:none;border-radius:0;font-size:1rem;line-height:1.62;color:#343a3d}
html body .tool p.cc-lim+p.cc-lim{border-top:none;margin-top:10px;padding-top:0}
html body .tool p.cc-lim strong{color:#394a54}
html body .tool figure.cc-shot{margin:18px 0 22px}

/* FAQ */
html body .faq h3{font-size:1.18rem;margin:24px 0 6px}
html body .faq p{margin:0 0 6px}

/* Related reading cards */
html body .article-body a.pa-card{display:block;border:1px solid #e2e8f0;border-radius:6px;padding:16px 18px;background:#fff;text-decoration:none;color:inherit}
html body .pa-card .pa-tag{font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:#2f7d75;margin:0}

/* Video */
html body .pn-video,html body .video-embed{border-radius:12px;overflow:hidden;box-shadow:0 8px 26px rgba(57,74,84,.18);background:#000}

@media(max-width:600px){
  html body .article-body h2{font-size:1.3rem;line-height:1.25}
  html body .article-body .tool{padding:24px 20px}
  html body .article-body .tool .cc-head h2,html body .article-body .tool .cc-head h3{font-size:1.18rem}
  html body .tool .cc-head{flex-direction:column-reverse;align-items:flex-start;gap:8px}
  html body .article-body .cc-head img.cc-logo{height:24px!important}
}
html body .pa-read{margin:42px 0 6px}
html body .pa-read h2{font-size:1.4rem;color:#394a54;margin:0 0 14px;border:none}
html body .pa-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
html body .pa-card h3{font-size:1.04rem;color:#394a54;margin:5px 0 5px}
html body .pa-card p:not(.pa-tag){font-size:.88rem;color:#64748b;margin:0;line-height:1.45}
@media(max-width:600px){html body .pa-grid{grid-template-columns:1fr}}
html body .article-body dl.cc-facts dd::first-letter{text-transform:uppercase}
html body .article-body figure.cc-shot{margin:18px 0 22px}
html body .article-body figure.cc-shot img{display:block;width:100%;max-width:100%;height:auto;border:1px solid #e2e8f0;border-radius:6px}
html body .article-body figure.cc-shot figcaption{margin-top:8px;font-size:.85rem;color:#5b6670;line-height:1.4}
html body .pa-read .pa-sub{color:#5b6670;margin:-6px 0 14px;font-size:1rem}
html body .tcols>div{min-width:0}
html body .article-body .factbox .fb-num,html body .ae-stat-n{font-family:'IBM Plex Mono',ui-monospace,monospace!important}
html body .table-scroll table.cmp th,html body .table-scroll table.cmp td{padding:12px 14px}
html body .table-scroll table.cmp.cc-matrix th,html body .table-scroll table.cmp.cc-matrix td{padding:13px 16px}
html body .article-body .tool .cc-head h2,html body .article-body .tool .cc-head h3{color:#394a54!important}

/* Upgrades, 28 Oct 2026 (DESIGN-LANGUAGE.md "Upgrades") */
/* 2: figures in IBM Plex Mono */
html body .article-body table.cmp td.num,html body .cc-out-v,html body .erp-calc .ec-res .v,html body .calc .o .v{font-family:'IBM Plex Mono',ui-monospace,monospace!important;font-weight:500;font-variant-numeric:tabular-nums}
/* 3: no coral side rules; the answer paragraph and CPA note use the note box mint rule */
html body .ns-answer{background:#fff;border:1px solid #e2e8f0;border-left:4px solid #80cbc4;border-radius:0 8px 8px 0;padding:18px 22px;margin:0 0 22px}
html body .ns-answer p{margin:0;font-size:1.12rem;line-height:1.6;color:#394a54}
html body .ns-answer p+p{margin-top:12px}
html body .ae-cpa{border-left:4px solid #80cbc4}
/* 5: one straight line under each fact row */
html body .article-body dl.cc-facts{column-gap:0}
html body .article-body dl.cc-facts dt,html body .article-body dl.cc-facts dd{align-self:stretch}
/* 6: the closed sources list shows that it opens */
html body .ae-src summary{list-style:none}
html body .ae-src summary::-webkit-details-marker{display:none}
html body .ae-src summary::after{content:'+';margin-left:8px;font-family:'IBM Plex Mono',monospace;color:#2f7d75}
html body .ae-src details[open] summary::after{content:'\2212'}
/* 8: styles that used to sit inline */
html body .article-body figure.erp-shot{margin:18px 0 24px}
html body .article-body figure.tpl-preview{margin:8px 0 24px}
html body .article-body figure.erp-shot img,html body .article-body figure.tpl-preview img{display:block;width:100%;height:auto;border:1px solid #e2e8f0;border-radius:6px}
html body .article-body figure.erp-shot figcaption{margin-top:8px;font-size:.85rem;color:#5b6670;line-height:1.4}
html body .article-body .tpl-label{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin:0 0 6px}
html body .article-body .cc-head img.cc-logo{object-fit:contain;object-position:left center}
html body .tool p.cc-lim{font-size:1.06rem}
/* Screenshots: every capture shows in one landscape 16:10 frame; a portrait capture is fitted, never cropped */
html body .article-body figure.erp-shot img,html body .article-body figure.cc-shot img{aspect-ratio:16/10;object-fit:contain;background:#f7f8f9;width:100%;max-width:100%;height:auto}
/* Cells that list several items: one item per line */
html body .article-body table.cmp .cell-line{display:block;padding:0 0 6px}
html body .article-body table.cmp .cell-line:last-child{padding-bottom:0}
/* Column widths follow the content: a column that lists several items gets the room, short text columns give it up */
html body .article-body table.cmp td:has(.cell-line){min-width:14rem}
html body .article-body table.cmp col.w10{width:10%}
html body .article-body table.cmp col.w15{width:15%}
html body .article-body table.cmp col.w20{width:20%}
html body .article-body table.cmp col.w25{width:25%}
html body .article-body table.cmp col.w30{width:30%}
html body .article-body table.cmp col.w35{width:35%}
html body .article-body table.cmp col.w40{width:40%}
html body .article-body table.cmp col.w45{width:45%}
html body .article-body table.cmp col.w50{width:50%}
html body .article-body table.cmp col.w55{width:55%}
html body .article-body table.cmp col.w60{width:60%}
/* A row label in the first body row is a label, not a header: only thead gets the slate fill */
html body .article-body table:has(thead) tbody tr:first-child th{background:inherit!important;color:#394a54!important}
/* Video transcript under a video: closed by default, same box and +/- marker as the sources box */
html body .article-body details.pn-video-tx{background:#f7f9fa;border:1px solid #e2e8f0;border-radius:6px;padding:12px 18px;margin:10px 0 24px}
html body .article-body details.pn-video-tx summary{list-style:none;cursor:pointer;font-size:.9rem;font-weight:600;color:#394a54}
html body .article-body details.pn-video-tx summary::-webkit-details-marker{display:none}
html body .article-body details.pn-video-tx summary::after{content:'+';margin-left:8px;font-family:'IBM Plex Mono',monospace;color:#2f7d75}
html body .article-body details.pn-video-tx[open] summary::after{content:'\2212'}
html body .article-body .pn-video-ch{list-style:none;padding:0;margin:12px 0;font-size:.9rem}
html body .article-body .pn-video-ch li{margin:0 0 4px}
html body .article-body .pn-video-ch span{font-family:'IBM Plex Mono',monospace!important;color:#5b6670;margin-right:10px}
html body .article-body details.pn-video-tx p{font-size:.95rem;line-height:1.6;margin:0 0 10px}
html body .article-body .cc-head img.cc-logo[alt="FlexPoint logo"]{height:22px!important}
html body .article-body table.cmp .cc-tlogo[alt="FlexPoint logo"]{height:17px!important}
