/* Direction visuelle validée : bleu nuit, or, corail, lilas. Pas d'ombres portées ni d'inclinaisons. */
:root {
    --night: #0F1230;
    --night-2: #1D2150;
    --gold: #F7C640;
    --coral: #F28C6F;
    --lilac: #B9C0FB;
    --peach-soft: #FBD3C4;
    --butter-soft: #FCE9A8;
    --lilac-soft: #CFD4FC;
    --mist: #EEF0FF;
    --text-soft: #3A3D5C;
    --text-on-dark: #D5D8F0;
    --line: #C9CCE3;
    --display: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: Inter, system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--night); background: #FFFFFF; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h2 { font-weight: 800; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-bottom { padding-bottom: 88px; }
.dark { background: var(--night); color: #FFFFFF; }
.soft { background: var(--mist); }
.center { text-align: center; }
.muted { color: #4A4E7A; font-size: 14px; }
.muted-dark { color: var(--text-on-dark); }

/* En-tête */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; background: var(--gold); clip-path: polygon(28% 0, 100% 0, 100% 100%, 28% 100%, 0 50%); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { padding: 12px 14px; text-decoration: none; font-weight: 500; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.pill { background: var(--gold); color: var(--night) !important; border-radius: 999px; font-weight: 600 !important; margin-left: 8px; }

/* Bandeau principal */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 48px 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-weight: 800; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -0.02em; }
.hero mark { background: var(--gold); color: var(--night); padding: 0 12px; }
.lead { font-size: 20px; color: var(--text-on-dark); max-width: 580px; }
.lead-dark { font-size: 20px; color: var(--text-soft); }
.note { font-size: 15px; color: #B9BDE0; }

.signup { display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; color: var(--night); border-radius: 16px; padding: 22px; max-width: 580px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; }
.field input { min-height: 48px; padding: 0 14px; border: 1px solid #8D91B8; border-radius: 10px; font: inherit; color: var(--night); }
.field input:focus, .consent input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-soft); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 12px; background: var(--gold); color: var(--night); font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button:hover { filter: brightness(0.95); }
.button[disabled] { opacity: 0.6; cursor: wait; }
.dark-button { background: var(--night); color: #FFFFFF; }
.form-message:empty { display: none; }
.form-message { font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.form-message.ok { background: #DDF0DF; color: #17552B; }
.form-message.error { background: var(--peach-soft); color: #7A2E12; }

.start { gap: 10px; }
.start-label { font-weight: 600; }
.start-row { display: flex; flex-wrap: wrap; gap: 10px; }
.start-row input { flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 14px; border: 1px solid #8D91B8; border-radius: 10px; font: inherit; color: var(--night); }
.start-row input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.note a { color: #FFFFFF; font-weight: 600; }
.waitlist { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.waitlist > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.waitlist h2 { font-size: clamp(28px, 3vw, 40px); }
.waitlist .signup { flex: 1 1 380px; border: 1px solid var(--line); }
.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; height: 440px; }
.source-card { position: absolute; left: 0; top: 18px; width: 58%; background: #D9DBE8; color: var(--text-soft); border-radius: 6px; padding: 18px; font-family: var(--mono); font-size: 12px; line-height: 1.7; display: flex; flex-direction: column; }
.source-card strong { margin-bottom: 6px; }
.arrow { position: absolute; left: 30%; top: 210px; color: var(--gold); }
.product-card { position: absolute; right: 0; top: 80px; width: 66%; background: #FFFFFF; color: var(--night); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.product-card strong { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.photo { height: 110px; background: var(--mist); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #4A4E7A; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 600; }
.chips span { background: var(--mist); border-radius: 999px; padding: 3px 10px; }
.price-tag { align-self: flex-end; background: var(--coral); font-family: var(--mono); font-weight: 700; font-size: 20px; padding: 8px 16px 8px 30px; clip-path: polygon(18% 0, 100% 0, 100% 100%, 18% 100%, 0 50%); }

/* Cartes et étapes */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 300px; min-width: 0; border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-weight: 800; font-size: 48px; line-height: 1; }
.num { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.peach { background: var(--peach-soft); }
.butter { background: var(--butter-soft); }
.lilac { background: var(--lilac-soft); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head p { flex: 0 1 420px; color: var(--text-on-dark); }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; }
.steps li { flex: 1 1 250px; min-width: 0; border-top: 3px dashed var(--gold); padding: 0 24px 32px 0; display: flex; flex-direction: column; gap: 12px; }
.steps h3 { font-weight: 600; font-size: 24px; line-height: 1.15; }
.steps p { color: var(--text-on-dark); }
.step { margin-top: -30px; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--night); border: 3px solid var(--night); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 28px; }
.step.accent2 { background: var(--coral); }

.split { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.anatomy { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.anatomy li { padding: 16px 22px; border-bottom: 1px dashed #8D91B8; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.anatomy li:last-child { border-bottom: 0; }
.tag { flex: 0 0 170px; font-family: var(--mono); font-weight: 700; font-size: 13px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.anatomy .peach { background: var(--coral); }
.anatomy .butter { background: var(--gold); }
.anatomy .lilac { background: var(--lilac); }

.modes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.modes li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; display: flex; gap: 16px; align-items: flex-start; }
.modes span { flex: none; font-family: var(--mono); font-weight: 700; background: var(--night); color: #FFFFFF; border-radius: 6px; padding: 2px 9px; }
.modes span.accent2 { background: var(--coral); color: var(--night); }
.alert-card { background: var(--night); color: #FFFFFF; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.alert-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.alert-head strong { font-family: var(--display); font-weight: 800; font-size: 22px; }
.badge { background: var(--coral); color: var(--night); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.alert-prices { display: flex; flex-wrap: wrap; gap: 14px; }
.box { flex: 1 1 150px; border: 2px dashed #5A5F9A; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; font-family: var(--mono); }
.box span { font-family: var(--body); font-size: 13px; color: #B9BDE0; }
.box s { font-size: 14px; color: #B9BDE0; }
.box b { font-size: 26px; }
.box.gold { background: var(--gold); color: var(--night); border-color: var(--gold); }
.box.gold span, .box.gold s { color: var(--night); }

/* Tarifs */
.tags { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: flex-start; }
.price-label { flex: 1 1 260px; max-width: 340px; min-width: 0; color: var(--night); clip-path: polygon(22% 0, 78% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); padding: 30px 28px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.price-label.white { background: #FFFFFF; }
.price-label.gold { background: var(--gold); }
.price-label.lilac { background: var(--lilac); }
.price-label.raised { transform: translateY(-14px); }
.hole { width: 20px; height: 20px; border-radius: 50%; background: var(--night); }
.price-label h3 { margin-top: 12px; font-family: var(--mono); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
.amount { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 1; }
.period { font-size: 14px; }
.quota { margin-top: 8px; border-top: 1px dashed #5A5F9A; padding-top: 14px; width: 100%; }

/* Questions et fin de page */
.faq > div { padding: 22px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 22px; font-weight: 600; }
.faq p { color: var(--text-soft); }
.cta { background: var(--coral); border-radius: 28px; padding: 56px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { flex: 1 1 420px; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 32px; font-size: 14px; color: var(--text-on-dark); }
.footer .links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Pages d'accès (inscription, connexion) */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; background: #F6F6FB; }
.auth-side { flex: 1 1 340px; background: var(--night); color: #FFFFFF; padding: 40px 36px; display: flex; flex-direction: column; gap: 32px; }
.auth-title { font-weight: 800; font-size: 38px; line-height: 1.05; letter-spacing: -0.02em; }
.auth-lead { color: var(--text-on-dark); }
.auth-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.auth-steps li { display: flex; gap: 16px; align-items: flex-start; }
.auth-steps li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; color: var(--night); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; }
.auth-steps li.current > span { background: var(--gold); }
.auth-steps strong { display: block; font-weight: 600; }
.auth-steps small { color: var(--text-on-dark); font-size: 15px; }
.auth-box { margin-top: auto; border: 1px dashed #5A5F9A; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--text-on-dark); }
.auth-box strong { color: #FFFFFF; }
.auth-main { flex: 999 1 560px; min-width: 0; max-width: 760px; padding: 48px 40px; display: flex; flex-direction: column; gap: 18px; }
.auth-main h2, .app-title { font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; }
.step-label { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #4A4E7A; }
.card-form, .panel { background: #FFFFFF; border: 1px solid #D3D6EA; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.small { font-size: 15px; color: #4A4E7A; }
.notice { border-radius: 10px; padding: 12px 14px; }
.notice.ok, .flash.success { background: #DDF0DF; color: #17552B; }
.notice.warn { background: var(--butter-soft); color: #5C4400; }
.notice.error, .flash.error { background: var(--peach-soft); color: #7A2E12; }
.flash { border-radius: 10px; padding: 12px 14px; }
.field-errors { margin: 0; padding: 0; list-style: none; color: #9A2E0E; font-size: 14px; font-weight: 500; }
.has-error input { border-color: #C2410C; }
.consent-row { display: flex; flex-direction: column; gap: 6px; }

/* Espace connecté */
.app { min-height: 100vh; display: flex; flex-wrap: wrap; background: #F6F6FB; font-size: 16px; }
.app-side { flex: 1 1 220px; background: var(--night); color: #FFFFFF; padding: 22px 16px; display: flex; flex-direction: column; gap: 24px; }
.app-side .brand { font-size: 18px; padding: 0 8px; }
.app-nav { display: flex; flex-direction: column; gap: 4px; }
.app-nav a { padding: 12px; border-radius: 10px; color: var(--text-on-dark); text-decoration: none; font-weight: 500; }
.app-nav a[aria-current="page"] { background: var(--gold); color: var(--night); font-weight: 600; }
.app-side-box { margin-top: auto; border: 1px dashed #5A5F9A; border-radius: 12px; padding: 14px; font-size: 13px; color: var(--text-on-dark); display: flex; flex-direction: column; overflow-wrap: anywhere; }
.app-side-box strong { color: #FFFFFF; font-size: 14px; }
.app-main { flex: 999 1 560px; min-width: 0; padding: 28px 32px 48px; display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.panel h2 { font-weight: 600; font-size: 21px; }
.panel h3 { font-family: var(--body); font-size: 16px; font-weight: 600; margin-top: 4px; }
.guide { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guide li { display: flex; gap: 14px; align-items: flex-start; }
.guide li > span { flex: none; font-family: var(--mono); font-weight: 700; background: var(--lilac-soft); border-radius: 6px; padding: 2px 9px; }
.rights summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.rights table, .list { width: 100%; border-collapse: collapse; font-size: 15px; }
.rights th, .rights td, .list th, .list td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid #E3E5F2; vertical-align: top; }
.table-wrap { overflow-x: auto; }
.checks { margin: 0; padding-left: 20px; }
.checks .bad { color: #7A2E12; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.inline-form .field { flex: 1 1 360px; }
.status { border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status.queued, .status.running { background: var(--butter-soft); }
.status.ready { background: #DDF0DF; color: #17552B; }
.status.error { background: var(--peach-soft); color: #7A2E12; }
.url { overflow-wrap: anywhere; }
.defs { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 6px 16px; margin: 0; }
.defs dt { color: #4A4E7A; }
.defs dd { margin: 0; }
.html-preview { border: 1px dashed #8D91B8; border-radius: 10px; padding: 12px 16px; }
.html-preview h2 { font-size: 20px; }

.field textarea, .field select { min-height: 48px; padding: 10px 14px; border: 1px solid #8D91B8; border-radius: 10px; font: inherit; color: var(--night); background: #FFFFFF; }
.field textarea { resize: vertical; }
.edit-form { display: flex; flex-direction: column; gap: 20px; }
.field .help-text, .field small, .field [id$="_help"] { font-size: 14px; color: #4A4E7A; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.image-choice { display: flex; flex-direction: column; gap: 6px; border: 1px solid #D3D6EA; border-radius: 10px; padding: 8px; cursor: pointer; font-size: 13px; }
.image-choice img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--mist); border-radius: 6px; }
.list input[type="number"] { width: 110px; min-height: 40px; padding: 0 8px; border: 1px solid #8D91B8; border-radius: 8px; font: inherit; }
.list input[type="checkbox"], .image-choice input { width: 20px; height: 20px; }
.actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.action-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.button.secondary { background: #FFFFFF; border: 1px solid var(--night); }

.meter { height: 8px; background: #E3E5F2; border-radius: 4px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--gold); }
.meter.dark { background: #2A2F66; margin: 6px 0 10px; }
.mono { font-family: var(--mono); font-size: 18px; }
.side-email { overflow-wrap: anywhere; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.plan-card { border: 1px solid #D3D6EA; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.plan-card.highlighted { border: 2px solid var(--gold); padding: 17px; }
.plan-card h3 { font-size: 20px; }
.plan-card h3 small { font-family: var(--body); font-size: 13px; font-weight: 500; color: #4A4E7A; }
.plan-card ul { margin: 0; padding-left: 18px; }
.plan-card .button { margin-top: auto; }
.plan-price { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; }
.plan-price span { font-family: var(--body); font-size: 14px; font-weight: 400; color: #4A4E7A; }
.button[disabled] { opacity: 0.7; cursor: default; }

/* Catalogue et modifications */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.search-form input { min-height: 44px; padding: 0 12px; border: 1px solid #8D91B8; border-radius: 10px; font: inherit; }
.link-button { background: none; border: 0; padding: 6px 0; color: #2C3070; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; display: block; }
.list details input[type="url"] { width: 100%; min-height: 40px; margin-top: 6px; padding: 0 8px; border: 1px solid #8D91B8; border-radius: 8px; font: inherit; font-size: 14px; }
.pager { display: flex; gap: 20px; }
.compare { border-top: 1px solid #E3E5F2; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.compare-grid > div { background: #F6F6FB; border-radius: 10px; padding: 12px; overflow-wrap: anywhere; }
.compare-grid > div.after { background: #FDF6DD; }
.compare-label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4A4E7A; margin-bottom: 6px; }

/* Surveillance */
.stack-form { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.stack-form select, .stack-form input { min-height: 40px; padding: 0 8px; border: 1px solid #8D91B8; border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.list form + form { margin-top: 2px; }

/* Pages publiques : aide, contact, documents juridiques */
.doc { max-width: 820px; padding-block: 40px 64px; display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.doc h2 { font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: 0; margin-top: 18px; }
.doc h3 { font-family: var(--body); font-size: 17px; font-weight: 600; margin-top: 6px; }
.doc p, .doc ul, .doc ol, .doc dl { margin: 0; }
.doc ul, .doc ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc .chips a { background: var(--mist); border-radius: 999px; padding: 3px 10px; color: var(--night); text-decoration: none; }
.faq { display: flex; flex-direction: column; gap: 4px; }
.faq dt { font-weight: 600; margin-top: 10px; }
.faq dd { margin: 0; }
.mono-small { font-family: var(--mono); font-size: 14px; }
.contact-form { max-width: 640px; }
.chips span[aria-current] { background: var(--gold); }
.chips a { border-radius: 999px; padding: 3px 10px; color: var(--night); }

/* Facture imprimable */
.invoice { max-width: 860px; margin: 0 auto; padding: 32px 24px 56px; display: flex; flex-direction: column; gap: 24px; font-size: 15px; }
.invoice-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--night); padding-bottom: 18px; }
.invoice-title { text-align: right; }
.invoice-title h1 { font-size: 34px; }
.invoice-customer h2 { font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.invoice-lines { width: 100%; border-collapse: collapse; }
.invoice-lines th, .invoice-lines td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #D3D6EA; }
.invoice-lines td:not(:first-child), .invoice-lines tfoot th { text-align: right; }
.invoice-lines tr.total th, .invoice-lines tr.total td { font-weight: 700; font-size: 17px; border-bottom: 2px solid var(--night); }
.banner { border-radius: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
@media print {
    .no-print { display: none; }
    body { font-size: 12pt; }
}

@media (max-width: 640px) {
    .auth-main, .app-main { padding: 28px 16px; }
    .defs { grid-template-columns: 1fr; }
    .section { padding-block: 64px; }
    .hero-visual { height: 400px; }
    .price-label.raised { transform: none; }
    .cta { padding: 40px 24px; }
}

/* Administration */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 0 0 24px; }
.admin-stats > div { background: var(--surface, #fff); border: 1px solid var(--line, #E3E5F2); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.admin-stats span { font-size: 13px; color: var(--muted, #5B5F7A); }
.admin-stats strong { font-size: 26px; }
.admin-stats small { font-size: 12px; color: var(--muted, #5B5F7A); }
.admin-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.admin-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 12px; }
.admin-dl dt { color: var(--muted, #5B5F7A); }
.admin-dl dd { margin: 0; }
.admin-message { white-space: pre-line; }
@media (max-width: 600px) { .admin-dl { grid-template-columns: 1fr; } .admin-dl dd { margin-bottom: 8px; } }
