/* TrustNet: one stylesheet, no external fonts or scripts (the CSP allows only 'self'). Navy and gold, the colours of the padlock. */
:root {
  --ink: #14213d;
  --ink-soft: #4a5672;
  --gold: #c8962c;
  --gold-deep: #a87720;
  --gold-light: #f3d98a;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e3e6ef;
  --ok: #1d7a43;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; }
a { color: #1d4ed8; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 600px; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.button-gold { background: linear-gradient(180deg, #f6dd92, var(--gold)); color: var(--ink); font-weight: 700; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 6px 16px rgba(168, 119, 32, .25); }
.button-gold:hover { background: linear-gradient(180deg, #f9e4a6, #d4a13a); }
.button-ghost { background: transparent; color: var(--ink); border: 1.5px solid #cfd5e3; }
.button-ghost:hover { border-color: var(--ink); }
.button-big { padding: 14px 24px; font-size: 1.05rem; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.inline { display: inline; margin: 0; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text small { font-weight: 500; font-size: .72rem; color: var(--ink-soft); letter-spacing: .02em; }
.header-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.header-nav a:not(.button) { text-decoration: none; color: var(--ink); font-weight: 600; }
.header-nav a[aria-current="page"] { color: var(--gold-deep); }
.flash { background: #eaf7ee; border: 1px solid #b9e3c5; color: #1d5e33; padding: 10px 14px; border-radius: 10px; margin-top: 16px; }

/* home */
.hero { background: radial-gradient(900px 420px at 85% -10%, #fff1cc 0, transparent 60%), linear-gradient(180deg, #f7f8fc, #fff); padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 800; color: var(--gold-deep); margin: 0 0 10px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 18px; letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: .95rem; }
.trust-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.invoice-card { position: relative; z-index: 1; width: min(360px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px 22px; transform: rotate(-2deg); }
.invoice-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.invoice-title { font-weight: 800; }
.invoice-state { background: #e7f6ec; color: var(--ok); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.invoice-line, .invoice-total { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.invoice-total { border-bottom: 0; font-weight: 800; font-size: 1.1rem; }
.hero-lock { order: -1; width: 130px; margin-bottom: -18px; filter: drop-shadow(0 14px 22px rgba(120, 86, 20, .3)); }
.section { padding: 56px 16px; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 28px; letter-spacing: -.01em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature-icon { color: var(--gold-deep); background: #fff6dc; border-radius: 12px; padding: 8px; width: 44px; height: 44px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-light); font-weight: 800; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg, var(--ink), #233a6b); color: #fff; border-radius: 20px; padding: 32px 36px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #d7dcea; }

/* pages of text */
.legal { padding: 40px 16px 56px; max-width: 840px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.facts dt { font-weight: 600; color: var(--ink-soft); }
.facts dd { margin: 0; }
.caen-list { padding-left: 18px; }
.note { color: var(--ink-soft); }
.error-page { padding: 72px 16px; text-align: center; }

/* forms and the account */
.form-page { padding: 40px 16px 64px; }
.form { display: grid; gap: 14px; margin: 18px 0; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input[type=text], .form input[type=email], .form input[type=password], .form select, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid #cfd5e3; border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form input[type=file] { font: inherit; }
.form-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; }
.inline-form { margin-top: 8px; }
.error { background: #fdecec; border: 1px solid #f3b9b9; color: #8a1c1c; padding: 10px 14px; border-radius: 10px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 16px; }
.box h2 { margin-top: 0; font-size: 1.15rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.table th { color: var(--ink-soft); font-weight: 600; font-size: .85rem; }
.tag { background: #fff3cf; color: #7a5512; border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 700; }
.codes { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 24px; list-style: none; padding: 0; font-size: 1.1rem; }
.qr svg { background: #fff; padding: 8px; border-radius: 10px; border: 1px solid var(--line); }
.link-list { padding-left: 18px; }
.company-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.company-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0; }
.stat { display: grid; gap: 4px; }
.stat-n { font-size: 1.8rem; font-weight: 800; }
.operator-logo-preview { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }

/* footer */
.site-footer { background: var(--ink); color: #c9d0e2; margin-top: 40px; padding-top: 44px; font-size: .92rem; }
.site-footer a { color: #f0d98f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 28px; align-items: start; }
.logo-light { color: #fff; font-size: 1.15rem; }
.footer-about p { margin: 12px 0 0; max-width: 30em; }
.footer-head { color: #fff; font-weight: 700; margin: 0 0 10px; }
.footer-links { display: grid; gap: 6px; align-content: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-anpc { display: grid; gap: 8px; align-content: start; }
.operator-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.operator-logo { background: #fff; border-radius: 8px; padding: 4px 8px; }
.anpc-card { display: inline-flex; gap: 8px; align-items: center; border: 1px solid #34436b; border-radius: 10px; padding: 7px 10px; text-decoration: none; font-size: .82rem; }
.anpc-tag { background: var(--gold); color: var(--ink); font-weight: 800; border-radius: 6px; padding: 0 6px; }
.footer-bottom { border-top: 1px solid #2c3a60; margin-top: 32px; }
.footer-bottom-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 24px; }
.footer-bottom p { margin: 0; }
.footer-company span + span::before { content: " · "; }

@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feature-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .header-nav { gap: 12px; font-size: .92rem; }
  .header-nav .button { padding: 8px 12px; }
  .logo-text small { display: none; }
  .hero { padding: 40px 0; }
  .hero-lock { width: 96px; }
  .cta-band { padding: 26px 22px; }
  .table { font-size: .88rem; }
}

/* the accountant's area */
.box-attention { border-color: #f0d18a; background: #fffbef; }
.tag-bad { background: #fdecec; color: #8a1c1c; }
.small { font-size: .85rem; }
.actions { text-align: right; white-space: nowrap; }
.actions form + form { margin-left: 8px; }

/* review 0.6: before the launch */
.soon-note { background: #fff6dc; border: 1px solid #f0d18a; border-radius: 10px; padding: 10px 14px; color: #6b4a0c; max-width: 40em; }

/* step 1.1: the tabs of a firm, the lists of clients and products */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 8px 0 20px; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-soft); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.tabs-small a { padding: 6px 10px; font-size: .92rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.search { display: flex; gap: 8px; flex: 1 1 280px; max-width: 520px; }
.search input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid #cfd5e3; border-radius: 10px; }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; padding-top: 8px; }
.num { text-align: right; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
fieldset.plain { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }
.danger { color: #a12121; }
@media (max-width: 600px) {
  .table-wrap, .box { overflow-x: auto; }
  .toolbar-actions .button { flex: 1 1 auto; }
}

/* step 1.2: the invoices */
.lines { display: grid; gap: 10px; margin: 12px 0; }
.line { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0; display: grid; grid-template-columns: 1.3fr 2fr .6fr .8fr .9fr .8fr; gap: 8px; align-items: end; }
.line label { font-size: .85rem; }
.totals { display: grid; gap: 4px; max-width: 520px; margin-left: auto; }
.totals p { display: flex; justify-content: space-between; gap: 16px; margin: 0; }
.totals .total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.mentions { margin: 16px 0 0; padding-left: 18px; color: var(--ink-soft); }
.invoice-doc .eyebrow { margin-bottom: 4px; }
@media (max-width: 900px) {
  .line { grid-template-columns: 1fr 1fr; }
  .line .line-name, .line .line-product { grid-column: 1 / -1; }
}
.form-row { display: grid; gap: 14px; }
.form label > input[type=date], .line input, .line select { font: inherit; padding: 9px 10px; border: 1px solid #cfd5e3; border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.form input[type=date] { font: inherit; padding: 10px 12px; border: 1px solid #cfd5e3; border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.table th.num, .table td.num { text-align: right; }
.form-row > *, .line > *, .form label { min-width: 0; }
.form select, .line select { max-width: 100%; text-overflow: ellipsis; }

/* step 1.4: the check of the e-Factura file */
.check-result { border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.check-result ul { margin: 6px 0 0; padding-left: 18px; }
.check-ok { background: #eaf7ee; border: 1px solid #b9e3c5; color: #1d5e33; }
.check-bad { background: #fdecec; border: 1px solid #f3b9b9; color: #8a1c1c; }

/* step 1.7: the dashboard */
.dash-cur { font-size: 1rem; margin: 18px 0 0; color: var(--ink-soft); }
.stat-bad { border-color: #f3b9b9; background: #fff6f6; }
.stat-bad .stat-n { color: #a12121; }

/* step 2.1: the content pages */
.page-hero { background: radial-gradient(800px 360px at 90% -20%, #fff1cc 0, transparent 60%), linear-gradient(180deg, #f7f8fc, #fff); padding: 28px 0 36px; }
.narrow-wide { max-width: 860px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.prose { padding: 8px 16px 24px; font-size: 1.05rem; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 12px; letter-spacing: -.01em; }
.prose p, .prose li { color: #2b3550; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--gold-deep); font-weight: 800; }
.howto { padding-left: 22px; display: grid; gap: 10px; }
.sources { font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
.section-title a, .lead a { color: inherit; text-decoration-color: var(--gold); }
.footer-grid { grid-template-columns: 1.3fr .8fr .8fr .8fr 1.2fr; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .nav-wide { display: none; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.cta-band a { color: var(--gold-light); text-decoration-color: rgba(255, 255, 255, .4); }

/* step 2.2: the supporting pages */
.footer-grid { grid-template-columns: 1.3fr repeat(4, .75fr) 1.2fr; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about, .footer-anpc { grid-column: 1 / -1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { max-width: 720px; }
.pre { white-space: pre-wrap; }
.form input[type=tel], .form input[type=number] { font: inherit; padding: 11px 12px; border: 1px solid #cfd5e3; border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }

/* step 2.3: the free tools */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); }
.tool-card:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(20, 33, 61, .08); }
.tool-card span { color: var(--ink-soft); font-size: .95rem; }
.tool-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0 8px; box-shadow: var(--shadow); }
.result-big { font-size: 1.6rem; font-weight: 800; }
.mode-row { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }
.line-gen { grid-template-columns: 2.4fr .6fr .8fr .9fr .8fr; }
@media (max-width: 900px) { .line-gen { grid-template-columns: 1fr 1fr; } }
.tool-box h2 { font-size: 1.1rem; margin: 10px 0 0; }
.more-lines summary { cursor: pointer; font-weight: 600; color: var(--gold-deep); margin: 4px 0; }
.guide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 20px; }
@media (max-width: 760px) { .guide-list { grid-template-columns: 1fr; } }
.sources ul { margin: 6px 0; padding-left: 18px; }
.official { margin: 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: #fffbef; border-radius: 0 10px 10px 0; font-size: .95rem; }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 8px 0 32px; }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan h2 { margin: 0; }
.plan .checks { flex: 1; }
.plan-main { border: 2px solid var(--gold); }
.plan-price strong { font-size: 1.6rem; color: var(--ink); }
.plan-founder { position: relative; border: 2px solid var(--gold); background: linear-gradient(160deg, #fffaf0 0%, #fbeec8 55%, var(--gold-light) 100%); box-shadow: 0 8px 24px rgba(168, 119, 32, .25); }
.plan-founder h2, .plan-founder h3 { color: var(--gold-deep); }
.founder-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 12px 3px 8px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-deep), var(--gold)); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.founder-note { margin: 0; color: var(--gold-deep); font-size: .92rem; }
.founder-firm { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.founder-firm p { margin: 0; }
/* step 3.7: the comparisons */
.table-wrap { overflow-x: auto; }
.compare th[scope="row"] { color: var(--ink); width: 28%; }
.compare td { vertical-align: top; }
/* step 3.7: the table of all the programs */
.cmp-wrap { margin: 8px 0 14px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); background: #fff; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.cmp thead th { background: linear-gradient(135deg, var(--ink), #233a6b); color: #fff; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 14px 18px; }
.cmp thead th:first-child { border-top-left-radius: 17px; }
.cmp thead th:last-child { border-top-right-radius: 17px; }
.cmp th[scope="row"], .cmp td { padding: 18px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp tbody tr:nth-child(odd):not(.cmp-ours) { background: var(--bg-soft); }
.cmp tbody tr:not(.cmp-ours):hover { background: #fffaf0; }
.cmp tbody tr:last-child th { border-bottom-left-radius: 17px; }
.cmp tbody tr:last-child td:last-child { border-bottom-right-radius: 17px; }
.cmp-ours { background: linear-gradient(90deg, #fffaf0, #fbeec8); }
.cmp-ours th, .cmp-ours td { border-top: 0; box-shadow: inset 0 -2px 0 var(--gold); }
.cmp-ours th[scope="row"] { box-shadow: inset 4px 0 0 var(--gold), inset 0 -2px 0 var(--gold); }
.cmp-name { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.cmp-badge { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e9ecf5; color: var(--ink-soft); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.cmp-badge-ours { background: #fff; box-shadow: 0 0 0 2px var(--gold), 0 4px 12px rgba(168, 119, 32, .25); }
.flag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 6px; border-radius: 999px; font-weight: 700; font-size: .82rem; margin-bottom: 6px; }
.flag-yes { background: #e3f3e9; color: var(--ok); }
.flag-no { background: #eef0f5; color: var(--ink-soft); }
.cmp-text { display: block; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.cmp-from { display: block; margin-bottom: 4px; color: var(--ink-soft); }
.cmp-from strong { color: var(--ink); font-size: 1.08rem; }
.cmp-go { white-space: nowrap; vertical-align: middle !important; }
@media (max-width: 760px) {
  .cmp-wrap { border: 0; box-shadow: none; background: none; overflow: visible; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; background: #fff !important; }
  .cmp tr.cmp-ours { background: linear-gradient(160deg, #fffaf0, #fbeec8) !important; border: 2px solid var(--gold); }
  .cmp th[scope="row"], .cmp td { border-top: 0; padding: 12px 16px; box-shadow: none !important; border-radius: 0 !important; }
  .cmp td[data-label]::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-deep); margin-bottom: 4px; }
  .cmp-go { padding-bottom: 16px !important; }
  .cmp-go .button { width: 100%; }
}
/* our price in the table: a gold medal, with a slow shine */
.cmp-price-ours { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 0 0 8px; padding: 8px 16px 10px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #7a5410 0%, #c8962c 30%, #f6dd92 52%, #c8962c 72%, #8a5f12 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 8px 22px rgba(168, 119, 32, .45); }
.cmp-price-ours strong { font-size: 1.7rem; font-weight: 900; line-height: 1.1; color: #fff; letter-spacing: -.01em; text-shadow: 0 1px 0 #7a5410, 0 2px 8px rgba(90, 60, 10, .5); white-space: nowrap; }
.cmp-price-de { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff8e0; text-shadow: 0 1px 0 #7a5410; }
.cmp-price-ours::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); animation: tn-shine 3.6s ease-in-out infinite; }
@keyframes tn-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .cmp-price-ours::after { animation: none; display: none; } }
/* step 3.17: the actions at the top of an invoice */
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.doc-actions .button svg { flex: none; }
.doc-actions .tag { margin-left: 4px; }
.tag-warn { background: #fff4d6; color: #8a5f12; }
.tag-ok { background: #e3f3e9; color: var(--ok); }
/* step 3.14: the storno in one go */
.storno-box { flex-basis: 100%; }
.storno-box > summary { list-style: none; display: inline-flex; }
.storno-box > summary::-webkit-details-marker { display: none; }
.storno-box[open] > summary { margin-bottom: 12px; }
.storno-box .form { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: var(--bg-soft); }
.storno-box td input { max-width: 110px; }
/* step 3.19: "Anulează proforma", visible */
.button-danger { background: #fff; color: #a12121; border: 1.5px solid #e9b3b3; }
.button-danger:hover { background: #fff6f6; border-color: #a12121; }
/* step 3.18: the band of the BNR rates, at the top of the account */
.fx-band { background: var(--ink); color: #dfe4f0; font-size: .82rem; }
.fx-row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.fx-title { color: var(--gold-light); font-weight: 700; }
.fx-item strong { color: #fff; }
.fx-band .muted { color: #aeb7cc; }
.fx-up { color: #8be0a8; }
.fx-down { color: #ffb4b4; }
/* step 3.24: help and contact in the account */
.help-box { margin-top: 28px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }
.help-head { font-weight: 700; margin: 0 0 6px; }
.help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-wa { background: #1f9d55; color: #fff; }
.button-wa:hover { background: #18834a; }
/* step 3.22: the import */
.import-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 24px; }
.import-card { position: relative; padding-top: 22px; }
.import-card h2 { font-size: 1.05rem; }
.import-n { position: absolute; top: -12px; left: 18px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 800; font-size: .9rem; }
.small-tabs { margin: 4px 0 10px; }

/* step 4.2: the bank statement */
.money-in { color: var(--ok); }
.money-out { color: #8a1c1c; }

/* step 5.1: the API documentation and the secrets shown once */
pre.code { background: #10151c; color: #e8edf2; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: .85rem; line-height: 1.5; }
code.secret { word-break: break-all; font-size: .95rem; background: #fff6d8; padding: 4px 8px; border-radius: 6px; }
