:root {
  --navy:#172a46; --green:#12845f; --ice:#f4f7fb; --silver:#dce3ed;
  --ink-muted:#647187; --border:#dce3ed; --error:#b43737; --error-bg:#fff5f4;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:95px; }
body { margin:0; color:var(--navy); background:#fff; font-family:"Source Sans 3",sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3,p { margin:0; }
a { color:inherit; text-decoration:none; }
button,summary { font:inherit; -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
.serif-accent { color:var(--green); font-family:"Lora",Georgia,serif; font-style:italic; font-weight:400; }
.site-header { height:82px; position:relative; z-index:20; border-bottom:1px solid var(--border); background:#fff; }
.header-inner { max-width:1260px; height:100%; margin:auto; padding:0 36px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { display:inline-flex; align-items:center; white-space:nowrap; font-size:25px; font-weight:700; letter-spacing:-1px; }
.brand-light { font-weight:400; } .brand-dot { color:var(--green); }
.brand-mark { width:31px; height:36px; margin-right:10px; display:grid; place-items:center; border-radius:5px 10px 5px 5px; background:var(--navy); color:#fff; }
.desktop-nav { height:100%; display:flex; gap:36px; font-size:14px; font-weight:600; }
.desktop-nav a { display:flex; align-items:center; border-bottom:2px solid transparent; }
.desktop-nav .nav-active { border-bottom-color:var(--green); }
.desktop-nav a:hover,.text-button:hover { color:var(--green); }
.header-privacy { display:flex; align-items:center; gap:8px; color:var(--ink-muted); font-size:13px; }
.header-privacy span { color:var(--green); }
.menu-button { display:none; border:0; background:none; color:var(--navy); }
.mobile-nav { position:absolute; top:81px; width:100%; padding:14px 24px; border-bottom:1px solid var(--silver); background:#fff; box-shadow:0 10px 20px #172a4610; }
.mobile-nav a { display:block; padding:12px 0; }
.hero { padding:47px 24px 35px; text-align:center; background:radial-gradient(ellipse at center bottom,#f0f6f950,transparent 70%); }
.eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--green); font-size:11px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; }
.status-dot { width:6px; height:6px; display:inline-block; border-radius:50%; background:var(--green); }
.hero h1 { margin:20px 0 17px; font-size:clamp(44px,5vw,65px); line-height:1.055; letter-spacing:-2.5px; }
.hero h2 { max-width:640px; margin:auto; color:var(--ink-muted); font-size:18px; line-height:1.55; font-weight:400; }
.hero .tool-section { margin-top:25px; text-align:left; }
.hero-benefits { display:flex; justify-content:center; flex-wrap:wrap; gap:24px; margin-top:20px; font-size:13px; }
.tool-section { max-width:998px; margin:auto; padding:0 24px; scroll-margin-top:25px; }
.tool-frame { overflow:hidden; border:1px solid var(--silver); border-radius:10px; background:#fff; box-shadow:0 8px 35px #172a4607; }
.tool-topbar { height:54px; padding:0 25px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--silver); background:var(--ice); font-size:14px; }
.tool-topbar>span { display:flex; align-items:center; gap:7px; color:var(--ink-muted); font-size:12px; }
.tool-body { padding:22px 24px 0; }
.dropzone { padding:27px 20px 24px; border:1.5px dashed #b9c8d6; border-radius:6px; background:#fbfcfe; text-align:center; transition:background .2s,border-color .2s; }
.dropzone.is-dragging { border-color:var(--green); background:#effaf5; }
.dropzone.is-busy { opacity:.75; }
.upload-icon { width:57px; height:57px; margin:0 auto 15px; display:grid; place-items:center; border:1px solid #e2e8f1; border-radius:12px; background:#fff; font-size:28px; }
.dropzone h2 { font-size:23px; letter-spacing:-.4px; }
.dropzone p { margin-top:7px; color:var(--ink-muted); font-size:14px; }
.primary-button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:12px 21px; border:1px solid var(--green); border-radius:5px; background:var(--green); color:#fff; font-size:14px; font-weight:600; }
.primary-button:hover { background:#0e7051; }
.primary-button:disabled { opacity:.55; cursor:wait; }
#select-file { margin:20px 0 10px; }
.file-hint { display:block; color:var(--ink-muted); font-size:11px; }
.upload-trust { margin:2px 0 10px!important; color:var(--green)!important; font-size:12px!important; font-weight:600; }
.tool-bottom { min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.demo-actions { display:flex; flex-wrap:wrap; align-items:center; gap:0 12px; }
.supported-formats { display:flex; align-items:center; gap:16px; font-size:11px; }
.supported-formats span { display:flex; align-items:center; gap:5px; }
.supported-formats b { color:var(--green); }
.format-extra { color:var(--ink-muted); }
.text-button { min-height:44px; display:inline-flex; align-items:center; border:0; background:transparent; color:var(--navy); font-size:12px; font-weight:600; }
.privacy-strip { max-width:820px; margin:19px auto 0; display:flex; justify-content:center; gap:8px; color:var(--ink-muted); text-align:center; font-size:12px; line-height:1.6; }
.privacy-strip>span:first-child { color:var(--green); }
.privacy-strip strong { color:var(--navy); }
.capabilities-disclosure { max-width:820px; margin:14px auto 0; border:1px solid var(--border); border-radius:6px; background:#fff; color:var(--ink-muted); font-size:12px; line-height:1.55; }
.capabilities-disclosure summary { padding:11px 14px; color:var(--navy); font-weight:600; cursor:pointer; }
.capabilities-content { padding:0 16px 14px; }
.capabilities-content h3 { margin:12px 0 5px; color:var(--navy); font-size:13px; }
.capabilities-content ul { margin:0; padding-left:20px; }
.capabilities-content li { margin:4px 0; }
.capabilities-content code { display:block; margin-top:3px; overflow-wrap:anywhere; font-size:11px; }
.capabilities-content p { margin-top:10px; }
.capabilities-content .capabilities-error { color:var(--error); }
.tool-disclaimer { margin-top:6px; color:var(--ink-muted); text-align:center; font-size:11px; }
.tool-disclaimer a { text-decoration:underline; text-underline-offset:2px; }
.intent-grid { max-width:998px; margin:34px auto 0; padding:0 24px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.intent-card { min-height:160px; padding:22px; border:1px solid var(--border); border-radius:8px; background:#fbfcfe; }
.intent-card h2 { margin:8px 0 8px; font-size:20px; }
.intent-card p { color:var(--ink-muted); font-size:13px; line-height:1.55; }
.intent-card a { display:inline-block; margin-top:12px; color:var(--green); font-size:13px; font-weight:700; }
.reference-links { max-width:998px; margin:20px auto 45px; padding:0 24px; }
.reference-links h2 { margin:8px 0 16px; font-size:26px; letter-spacing:-.7px; }
.reference-links>p { margin:0 0 16px; color:var(--ink-muted); font-size:13px; line-height:1.55; }
.reference-link-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.reference-link-grid a { min-height:76px; padding:14px; display:flex; flex-direction:column; gap:5px; border:1px solid var(--border); border-radius:7px; background:#fff; }
.reference-link-grid a:hover { border-color:#b9c8d6; }
.reference-link-grid a>span:first-child { width:fit-content; color:var(--green); font-size:10px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; }
.reference-link-grid strong { color:var(--navy); font-size:13px; }
.reference-link-grid span { color:var(--ink-muted); font-size:11px; line-height:1.45; }
.reference-links>p:last-child { margin:16px 0 0; font-size:12px; }
.reference-links>p:last-child a { color:var(--green); font-weight:600; }
.faq-section { max-width:998px; margin:34px auto 0; padding:0 24px; }
.faq-section>h2 { margin-bottom:14px; font-size:28px; }
.faq-section details { padding:15px 18px; border-top:1px solid var(--border); }
.faq-section details:last-child { border-bottom:1px solid var(--border); }
.faq-section summary { color:var(--navy); font-weight:700; cursor:pointer; }
.faq-section details p { padding-top:9px; color:var(--ink-muted); line-height:1.65; }
@media (max-width:760px) {
  .intent-grid { grid-template-columns:1fr; }
  .reference-link-grid { grid-template-columns:1fr; }
  .intent-card { min-height:auto; }
}
.upload-error { margin-top:15px; padding:12px 16px; border:1px solid #e6b9b9; border-radius:5px; background:var(--error-bg); color:var(--error); font-size:14px; }
.result-wrap { padding:24px; }
.result-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.result-action-buttons { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
.result-actions button:disabled { opacity:.55; cursor:not-allowed; }
.result-action-buttons .text-button { padding:10px 12px; border:1px solid var(--border); border-radius:5px; }
.technical-validation { margin-bottom:20px; padding:16px 18px; border:1px solid var(--border); border-radius:7px; background:#fbfcfe; }
.technical-validation.status-valid { border-color:#cfe7dc; background:#f7fbf9; }
.technical-validation.status-review,.technical-validation.status-unsupported-profile,.technical-validation.status-unavailable { border-color:#ead9a6; background:#fffbef; }
.technical-validation.status-invalid,.technical-validation.status-invalid-xml,.technical-validation.status-unsupported-xml { border-color:#e6b9b9; background:var(--error-bg); }
.technical-validation.status-running,.technical-validation.status-demo { border-color:var(--border); background:#fbfcfe; }
.technical-validation-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
.technical-validation-heading h2 { font-size:17px; }
.validation-badge { padding:4px 9px; border-radius:999px; background:#edf0f5; color:var(--navy); font-size:11px; font-weight:600; }
.status-valid .validation-badge { background:#e2f2eb; color:var(--green); }
.status-review .validation-badge,.status-unsupported-profile .validation-badge,.status-unavailable .validation-badge { background:#f5eccd; color:#725211; }
.status-invalid .validation-badge,.status-invalid-xml .validation-badge,.status-unsupported-xml .validation-badge { background:#fbe5e3; color:var(--error); }
.technical-validation>p { margin-top:8px; color:var(--ink-muted); font-size:13px; line-height:1.55; }
.technical-validation .validation-limit { color:var(--ink-muted); font-size:12px; }
.technical-validation .validation-summary { color:var(--navy); font-size:14px; }
.validation-details { margin-top:12px; }
.validation-details summary { color:var(--ink-muted); font-size:12px; cursor:pointer; }
.validation-details>p { margin-top:8px; color:var(--ink-muted); font-size:11px; line-height:1.5; }
.validation-profile-identifier { display:block; margin-top:8px; overflow-wrap:anywhere; color:var(--ink-muted); font-size:11px; }
.technical-validation .validation-pdf-note { font-size:12px; }
.technical-validation .validation-pdf-note.issue-error { color:var(--error); }
.technical-validation .validation-pdf-note.issue-warning { color:#725211; }
.technical-validation .validation-version,.technical-validation .validation-scope { font-size:11px; }
.pdfa-validation { margin-top:12px; }
.technical-validation-issues { margin:12px 0 0; padding:0; list-style:none; }
.technical-validation-issues li { margin-top:8px; color:var(--ink-muted); font-size:13px; line-height:1.5; }
.technical-validation-issues li strong { color:var(--navy); }
.technical-validation-issues .issue-error strong { color:var(--error); }
.technical-validation-issues code { display:block; margin-top:3px; overflow-wrap:anywhere; color:var(--ink-muted); font-size:11px; }
.technical-validation-issues .validation-guide-link { display:inline-block; margin:4px 0 0 5px; font-size:12px; font-weight:600; }
.validation-panel { margin-bottom:20px; padding:18px; border:1px solid var(--border); border-radius:7px; background:#fbfcfe; }
.validation-panel.has-missing { border-color:#ead9a6; background:#fffbef; }
.validation-panel.is-demo { border-color:var(--border); background:#fbfcfe; }
.validation-panel h2 { font-size:18px; }
.validation-panel p { margin-top:8px; color:var(--ink-muted); font-size:12px; line-height:1.5; }
.checks { display:grid; grid-template-columns:1fr 1fr; gap:7px 18px; margin-top:12px; }
.checks span { font-size:13px; } .checks .ok { color:var(--ink-muted); } .checks .missing { color:var(--error); } .checks .demo { color:var(--ink-muted); }
.invoice-paper { padding:28px; border:1px solid var(--border); border-radius:7px; }
.invoice-title { display:flex; justify-content:space-between; gap:20px; padding-bottom:20px; border-bottom:1px solid var(--silver); }
.invoice-title h2 { font-size:26px; } .invoice-title p { margin-top:5px; color:var(--ink-muted); }
.invoice-parties { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin:25px 0; }
.invoice-parties h3 { margin-bottom:8px; color:var(--ink-muted); font-size:12px; letter-spacing:1px; text-transform:uppercase; }
.invoice-table { width:100%; border-collapse:collapse; font-size:14px; }
.invoice-table th,.invoice-table td { padding:10px 8px; border-bottom:1px solid var(--border); text-align:right; }
.invoice-table th:first-child,.invoice-table td:first-child { text-align:left; }
.invoice-totals { max-width:320px; margin:20px 0 0 auto; }
.invoice-totals div { display:flex; justify-content:space-between; padding:7px 0; }
.invoice-totals .grand { border-top:2px solid var(--navy); font-size:18px; font-weight:700; }
.workflow { max-width:1180px; margin:63px auto 64px; padding:0 36px; display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; }
.workflow-intro { padding-right:28px; }
.workflow-intro .eyebrow { color:var(--ink-muted); font-size:9px; }
.workflow h2 { margin-top:12px; font-size:26px; line-height:1.15; }
.workflow-intro a,.guide-back-link { display:inline-block; margin-top:17px; color:var(--green); font-size:12px; font-weight:600; }
.workflow-step { position:relative; min-height:150px; padding:7px 28px 0; border-left:1px solid var(--silver); }
.workflow-step h3 { margin:12px 0 8px; font-size:15px; line-height:1.35; }
.workflow-step p { color:var(--ink-muted); font-size:13px; line-height:1.55; }
.step-number { position:absolute; top:-3px; right:20px; color:#9aabbe; font-size:10px; }
.why-tool { padding:58px 36px 62px; background:var(--ice); }
.why-tool-head { max-width:1180px; margin:0 auto 26px; text-align:center; }
.why-tool-head h2 { margin:9px 0 7px; font-size:36px; }
.why-tool-head p { color:var(--ink-muted); }
.why-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.why-card { min-height:180px; padding:28px; border:1px solid var(--border); border-radius:8px; background:#fff; }
.why-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:#edf7f3; color:var(--green); }
.why-card h3 { margin:15px 0 8px; font-size:17px; }
.why-card p { color:var(--ink-muted); font-size:14px; line-height:1.65; }
.guide-overview { max-width:998px; margin:64px auto; padding:32px 36px; display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; border:1px solid var(--border); border-radius:10px; background:var(--ice); }
.guide-overview h2 { margin-top:10px; font-size:36px; line-height:1.1; }
.guide-overview p { max-width:440px; margin-bottom:18px; color:var(--ink-muted); line-height:1.7; }
.privacy-section { max-width:998px; margin:64px auto; padding:0 24px; display:grid; grid-template-columns:76px 1fr auto; align-items:start; gap:24px; }
.privacy-emblem { width:66px; height:76px; display:grid; place-items:center; color:var(--green); }
.privacy-emblem svg { width:40px; height:40px; }
.privacy-section h2 { margin:12px 0; font-size:36px; }
.privacy-section p { max-width:620px; color:var(--ink-muted); line-height:1.7; }
.privacy-local { display:inline-flex; align-items:center; gap:7px; color:var(--green); font-size:12px; white-space:nowrap; }
.privacy-local svg { width:40px; height:40px; flex:none; }
.site-footer { padding:30px 36px 20px; border-top:1px solid var(--border); background:#fff; }
.footer-top { max-width:1180px; min-height:62px; margin:auto; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--border); }
.footer-top p { color:var(--ink-muted); font-size:13px; }
.footer-top>a:last-child { color:var(--green); font-size:13px; }
.footer-bottom { max-width:1180px; margin:16px auto 0; display:flex; justify-content:space-between; color:var(--ink-muted); font-size:11px; }
.footer-bottom div { display:flex; gap:22px; }
.footer-reference { max-width:1180px; margin:16px auto 0; padding-bottom:15px; border-bottom:1px solid var(--border); }
.footer-reference h2 { margin:0 0 8px; color:var(--navy); font-size:12px; }
.footer-reference-links { display:flex; flex-direction:column; align-items:flex-start; gap:8px; color:var(--ink-muted); font-size:11px; }
.seo-guide { max-width:1180px; margin:64px auto; padding:0 36px; display:grid; grid-template-columns:300px 1fr; gap:70px; }
.seo-guide-rail h1 { margin:13px 0 14px; font-size:36px; line-height:1.1; }
.seo-guide-rail p { color:var(--ink-muted); line-height:1.6; }
.guide-date { display:block; margin-top:17px; color:var(--ink-muted); font-size:11px; }
.guide-back-link { display:block; }
.guide-rail-nav { display:flex; width:fit-content; margin-top:10px; padding-bottom:7px; border-bottom:2px solid transparent; color:var(--navy); font-size:14px; font-weight:600; }
.guide-rail-nav[aria-current="page"] { border-bottom-color:var(--green); }
.guide-rail-nav:hover { color:var(--green); }
.guide-list-title { margin:13px 0 0; font-size:21px; }
.guide-list-nav { margin-top:17px; display:grid; }
.guide-list-link { width:fit-content; max-width:100%; padding:8px 0 7px; border-bottom:2px solid transparent; color:var(--navy); font-size:14px; font-weight:600; line-height:1.35; }
.guide-list-link:hover { color:var(--green); }
.guide-list-link.is-active { border-bottom-color:var(--green); color:var(--green); }
.guide-list-card { max-width:none; margin:0; }
.seo-guide-content article { margin-bottom:24px; padding:0 0 28px 20px; border-left:1px solid var(--silver); }
.seo-guide-content h2 { margin-bottom:12px; font-size:21px; }
.seo-guide-content p { margin-bottom:11px; color:var(--ink-muted); line-height:1.7; }
.error-guide-links { margin:18px 0 0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; list-style:none; }
.error-guide-links li { min-width:0; padding:13px 15px; border:1px solid var(--border); border-radius:6px; background:#fbfcfe; }
.error-guide-links a { display:block; color:var(--navy); font-weight:600; }
.error-guide-links a:hover { color:var(--green); }
.error-guide-links span { display:block; margin-top:4px; color:var(--ink-muted); font-size:12px; }
.error-guide-card .error-lead { margin:12px 0 24px; color:var(--ink-muted); font-size:16px; line-height:1.7; }
.error-guide-card h2 { margin:28px 0 10px; font-size:21px; }
.error-guide-card p { margin:0 0 12px; color:var(--ink-muted); font-size:15px; line-height:1.75; }
.error-example { margin:14px 0 20px; overflow:hidden; border:1px solid var(--border); border-radius:7px; }
.error-example h3 { padding:10px 14px; font-size:13px; }
.error-example.bad h3 { background:#fff1f0; color:var(--error); }
.error-example.good h3 { background:#eff8f3; color:var(--green); }
.error-example pre { margin:0; padding:14px; overflow-x:auto; background:#f7f9fc; color:var(--navy); font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace; }
.error-guide-card .error-caution { margin-top:22px; padding:13px 15px; border-left:3px solid #d6aa45; background:#fffbef; color:#725211; font-size:13px; }
.error-guide-card .error-nav { margin-top:28px; display:flex; flex-wrap:wrap; gap:18px; }
.error-guide-card .error-nav a { color:var(--green); font-size:13px; font-weight:600; }
.brde-table-wrap { margin-top:24px; overflow-x:auto; border:1px solid var(--border); border-radius:7px; }
.brde-table { width:100%; border-collapse:collapse; text-align:left; }
.brde-table th,.brde-table td { padding:12px 14px; border-bottom:1px solid var(--border); vertical-align:top; }
.brde-table th { background:var(--ice); font-size:12px; }
.brde-table td { color:var(--ink-muted); font-size:13px; line-height:1.55; }
.brde-table td:first-child { white-space:nowrap; color:var(--navy); font-weight:600; }
.brde-table tbody tr:last-child td { border-bottom:0; }
.brde-table a { color:var(--green); font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.guide-hub-jump,.guide-hub-cross-nav { margin:18px 0; display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.guide-hub-jump { padding:12px 14px; border:1px solid var(--border); border-radius:7px; background:#fbfcfe; font-size:12px; }
.guide-hub-jump strong { color:var(--navy); }
.guide-hub-jump a,.guide-hub-cross-nav a { color:var(--green); font-size:12px; font-weight:600; }
.guide-hub-cross-nav { margin-top:0; }
.guide-hub-cross-nav a[aria-current="page"] { color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.guide-hub-filter { margin:20px 0 26px; display:grid; grid-template-columns:minmax(0,1fr); gap:7px; }
.guide-hub-filter label { color:var(--navy); font-size:13px; font-weight:600; }
.guide-hub-filter input { width:100%; min-height:42px; padding:9px 12px; border:1px solid var(--border); border-radius:6px; background:#fff; color:var(--ink); font:inherit; }
.guide-hub-filter p { margin:0; font-size:12px; }
.guide-hub-cluster { margin:30px 0; scroll-margin-top:24px; }
.guide-hub-cluster h2 { margin:0 0 12px; }
.brde-severity { display:inline-block; padding:3px 8px; border-radius:999px; background:#fbe5e3; color:var(--error); font-size:11px; font-weight:600; }
.brde-severity.warning { background:#fffbef; color:#725211; }
.brde-rule-examples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:15px 0 22px; }
.brde-rule-example { padding:16px; border:1px solid var(--border); border-radius:7px; background:#fbfcfe; }
.brde-rule-example h3 { margin-bottom:8px; font-size:14px; }
.brde-rule-example p { margin:0; color:var(--ink-muted); font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
.brde-rule-example.valid { border-color:#cfe7dc; background:#f7fbf9; }
.brde-rule-example.invalid { border-color:#e6b9b9; background:var(--error-bg); }
.brde-rule-example.valid h3 { color:var(--green); }
.brde-rule-example.invalid h3 { color:var(--error); }
.guide-rule-section { margin:22px 0; padding:16px 18px; border:1px solid var(--border); border-radius:7px; background:#fbfcfe; }
.guide-rule-section h2 { margin:0 0 10px; font-size:19px; }
.guide-rule-section p,.guide-rule-section li { color:var(--ink-muted); font-size:14px; line-height:1.7; }
.guide-rule-section ul,.guide-rule-section ol { margin:10px 0 0; padding-left:22px; }
.guide-rule-references { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.guide-rule-references a { padding:5px 9px; border:1px solid var(--border); border-radius:999px; font-size:12px; font-weight:600; }
.generator-page { max-width:1180px; margin:0 auto; padding:38px 36px 72px; }
.generator-intro { margin:0 -36px 22px; padding:0 36px 27px; border-bottom:1px solid var(--border); }
.generator-intro h1 { margin:13px 0 12px; font-size:clamp(36px,5vw,52px); line-height:1.1; letter-spacing:-1.6px; }
.generator-intro>p { max-width:760px; color:var(--ink-muted); font-size:16px; line-height:1.65; }
.generator-facts { margin-top:20px; display:flex; flex-wrap:wrap; gap:9px 28px; }
.generator-facts div { display:flex; align-items:baseline; gap:8px; }
.generator-facts dt { color:var(--ink-muted); font-size:11px; }
.generator-facts dd { margin:0; font-size:14px; font-weight:500; }
.generator-form-title { margin:0 0 0; padding:8px 0 16px; font-size:22px; letter-spacing:-.3px; }
#invoice-generator { border-top:1px solid var(--border); }
.form-card { margin:0; padding:28px 0 30px; display:grid; grid-template-columns:minmax(220px, .75fr) minmax(0, 2.25fr); gap:30px; border:0; border-bottom:1px solid var(--border); border-radius:0; background:#fff; box-shadow:none; }
.form-card-heading { margin:0; display:flex; align-items:flex-start; gap:8px; }
.form-card-heading h2 { font-size:18px; letter-spacing:-.2px; line-height:1.35; }
.form-card-heading p { margin-top:6px; color:var(--ink-muted); font-size:14px; line-height:1.55; }
.form-step { flex:none; padding-top:2px; color:#95a3b4; font-size:14px; font-weight:600; }
.form-card-content { min-width:0; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.form-field { min-width:0; display:flex; flex-direction:column; gap:6px; color:var(--navy); font-size:13px; font-weight:600; }
.form-field.full { grid-column:1/-1; }
.form-field label { display:contents; }
.form-field span { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.form-field b { color:var(--ink-muted); font-size:10px; font-weight:500; }
.form-field input,.form-field select,.form-field textarea,.item-field input,.item-field select {
  width:100%; min-height:42px; padding:9px 11px; border:1px solid #cbd5e1; border-radius:5px;
  background:#fff; color:var(--navy); font:400 14px "Source Sans 3",sans-serif;
}
.form-field textarea { min-height:76px; resize:vertical; }
.form-subsection { margin-top:24px; padding-top:19px; border-top:1px solid var(--border); }
.form-subsection h3 { font-size:15px; }
.form-subsection>p { margin:4px 0 15px; color:var(--ink-muted); font-size:12px; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.item-field input:focus,.item-field select:focus { outline:3px solid #12845f33; border-color:var(--green); }
.form-card-heading-items { align-items:flex-start; }
.form-card-heading-items>div { flex:1; }
.items-toolbar { margin-bottom:14px; display:flex; justify-content:flex-end; }
.secondary-button { min-height:40px; padding:9px 14px; border:1px solid var(--silver); border-radius:5px; background:#fff; color:var(--navy); font-size:13px; font-weight:600; }
.secondary-button:hover { border-color:var(--green); color:var(--green); }
.invoice-items { display:grid; gap:12px; }
.invoice-item { padding:16px; border:1px solid var(--border); border-radius:6px; background:#fbfcfe; }
.invoice-item-heading { margin-bottom:12px; display:flex; align-items:center; justify-content:space-between; }
.invoice-item-heading h3 { font-size:14px; }
.remove-item { padding:5px 8px; border:0; background:transparent; color:var(--error); font-size:12px; }
.item-fields { display:grid; grid-template-columns:minmax(200px,2fr) minmax(85px,.65fr) minmax(120px,1fr) minmax(110px,.8fr); gap:12px; }
.item-field { display:flex; flex-direction:column; gap:6px; font-size:12px; font-weight:600; }
.item-field input,.item-field select { min-height:40px; }
.item-subtotal { margin-top:10px; color:var(--ink-muted); text-align:right; font-size:12px; }
.generator-totals { max-width:360px; margin-top:20px; }
.generator-totals div { padding:8px 0; }
.generator-actions { margin-top:22px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.generator-actions .primary-button { min-height:48px; }
.generator-actions>p { flex-basis:100%; color:var(--ink-muted); font-size:12px; }
.generator-actions .generator-rule-version { font-size:11px; line-height:1.5; }
.generator-actions .generator-rule-version.is-error { color:var(--error); }
.generator-status { flex-basis:100%; min-height:0; color:var(--green); font-size:14px; }
.generator-status:empty { display:none; }
.generator-status.is-error { color:var(--error); }
.generator-validation { flex-basis:100%; width:100%; }
.generator-validation:empty { display:none; }
.generator-note { margin-top:24px; padding:15px 18px; border-left:3px solid #d6aa45; background:#fffbef; color:#725211; font-size:13px; line-height:1.6; }
.legal-page { min-height:calc(100vh - 180px); padding:54px 24px 72px; background:#fff; }
.legal-card { max-width:860px; margin:0 auto; }
.legal-card h1 { margin:12px 0 24px; font-size:clamp(36px,5vw,48px); line-height:1.08; letter-spacing:-1.5px; }
.legal-card h2 { margin:32px 0 8px; font-size:21px; letter-spacing:-.3px; }
.legal-card p,.legal-card address { margin:0 0 12px; color:var(--ink-muted); font-size:15px; font-style:normal; line-height:1.75; }
.legal-card a:not(.legal-back) { color:var(--green); text-decoration:underline; text-underline-offset:2px; }
.legal-card .placeholder-note { margin:0 0 28px; padding:14px 16px; border-left:3px solid #d6aa45; background:#fffbef; color:#725211; }
.legal-back { display:inline-block; margin-top:32px; padding-top:18px; border-top:1px solid var(--border); color:var(--green); font-weight:600; }
.contact-card { max-width:760px; }
.contact-intro { margin-bottom:18px!important; font-size:17px!important; }
.contact-privacy { margin-bottom:28px!important; padding:14px 16px; border-left:3px solid var(--green); background:#f2f8f5; font-size:13px!important; }
.contact-form { display:grid; gap:18px; }
.contact-field { display:flex; flex-direction:column; gap:6px; color:var(--navy); font-size:13px; font-weight:600; }
.contact-field label span,.contact-rating legend span { color:var(--ink-muted); font-weight:400; }
.contact-field input,.contact-field select,.contact-field textarea {
  width:100%; min-height:42px; padding:9px 11px; border:1px solid #cbd5e1; border-radius:5px;
  background:#fff; color:var(--navy); font:400 14px "Source Sans 3",sans-serif;
}
.contact-field textarea { min-height:150px; resize:vertical; }
.contact-field input:focus,.contact-field select:focus,.contact-field textarea:focus { outline:3px solid #12845f33; border-color:var(--green); }
.contact-rating { margin:0; padding:0; border:0; }
.contact-rating legend { margin-bottom:8px; color:var(--navy); font-size:13px; font-weight:600; }
.rating-stars { display:flex; flex-direction:row-reverse; justify-content:flex-end; width:fit-content; }
.rating-input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; clip-path:inset(50%); pointer-events:none; }
.rating-stars label { padding:0 3px; color:#b8c0ca; font-size:32px; line-height:1.2; cursor:pointer; }
.rating-stars input:checked~label,.rating-stars label:hover,.rating-stars label:hover~label { color:#e4a927; }
.rating-stars input:focus-visible+label { outline:3px solid #12845f66; outline-offset:2px; border-radius:3px; }
.rating-hint { margin:4px 0 0!important; font-size:12px!important; }
.contact-submit { justify-self:start; border:0; cursor:pointer; }
.contact-submit-status { min-height:1.5em; margin:0!important; font-size:13px!important; }
.contact-mail-fallback { margin:0!important; font-size:13px!important; }
@media(max-width:1000px) {
  .header-privacy { display:none; }
  .desktop-nav { gap:22px; }
  .workflow { grid-template-columns:1fr 1fr; gap:24px; }
  .workflow-intro { grid-column:1/-1; }
  .seo-guide { grid-template-columns:260px 1fr; gap:35px; }
}
@media(max-width:700px) {
  .site-header { height:68px; } .header-inner { padding:0 22px; } .brand { font-size:23px; }
  .desktop-nav { display:none; } .menu-button { display:grid; width:44px; height:44px; place-items:center; }
  .mobile-nav { top:67px; } .hero { padding:34px 20px 28px; } .hero h1 { font-size:46px; letter-spacing:-2px; } .hero h2 { font-size:16px; }
  .hero-benefits { gap:12px; font-size:11px; } .tool-section { padding:0 16px; } .tool-topbar { height:50px; padding:0 16px; }
  .tool-body { padding:15px 14px 0; } .dropzone { padding:25px 13px 21px; }
  .tool-bottom { flex-direction:column; align-items:center; padding-top:14px; } .supported-formats { flex-wrap:wrap; justify-content:center; }
  .privacy-strip { text-align:left; } .workflow { margin:40px auto; padding:0 24px; grid-template-columns:1fr; gap:22px; }
  .workflow-intro { grid-column:auto; padding-bottom:23px; border-bottom:1px solid var(--silver); }
  .workflow-step { min-height:0; padding:0 0 0 25px; border-left:0; }
  .why-tool { padding:40px 24px; } .why-grid { grid-template-columns:1fr; }
  .guide-overview { margin:40px 16px; padding:28px 24px; grid-template-columns:1fr; gap:18px; }
  .privacy-section { margin:40px auto; padding:0 24px; grid-template-columns:1fr; }
  .privacy-local { margin-left:0; } .footer-top { flex-wrap:wrap; gap:16px; } .footer-top p { width:100%; order:3; }
  .footer-bottom { flex-direction:column; gap:12px; } .footer-bottom div { flex-wrap:wrap; gap:16px; }
  .footer-reference-links { flex-direction:column; gap:9px; }
  .invoice-parties { grid-template-columns:1fr; } .checks { grid-template-columns:1fr; } .invoice-title { display:block; }
  .technical-validation { padding:14px; }
  .invoice-table { font-size:12px; } .result-wrap { padding:15px; }
  .result-actions { align-items:stretch; }
  .result-action-buttons { width:100%; flex-direction:column; align-items:stretch; }
  .result-action-buttons button { width:100%; }
  .seo-guide { margin:36px auto; padding:0 24px; grid-template-columns:1fr; gap:24px; }
  .seo-guide-rail h1 { font-size:32px; } .seo-guide-content article { padding-left:18px; }
  .error-guide-links { grid-template-columns:1fr; }
  .brde-rule-examples { grid-template-columns:1fr; }
  .generator-page { padding:34px 22px 52px; }
  .generator-intro { margin:0 -22px 16px; padding:0 22px 22px; }
  .form-card { grid-template-columns:minmax(180px,.7fr) minmax(0,1.5fr); gap:20px; }
  .form-grid { grid-template-columns:1fr; }
  .form-field.full { grid-column:auto; }
  .form-card[aria-labelledby="invoice-details-title"]>.form-card-content>.form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .form-card[aria-labelledby="invoice-details-title"] .form-subsection .form-grid { grid-template-columns:1fr 1fr; }
  .item-fields { grid-template-columns:1fr 1fr; }
  .item-field:first-child { grid-column:1/-1; }
}
@media(max-width:600px) {
  .form-card { grid-template-columns:1fr; gap:14px; padding:23px 0; }
  .form-card-heading { max-width:none; }
  .form-card-heading p { max-width:34rem; }
  .form-grid,.form-card[aria-labelledby="invoice-details-title"]>.form-card-content>.form-grid,
  .form-card[aria-labelledby="invoice-details-title"] .form-subsection .form-grid { grid-template-columns:1fr; }
  .form-field.full { grid-column:auto; }
  .legal-page { padding:36px 22px 56px; }
  .legal-card h1 { font-size:34px; }
  .legal-card h2 { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition-duration:.01ms!important; } }
@media print {
  .no-print { display:none!important; } body { font-size:10pt; } .tool-section { max-width:none; padding:0; }
  .tool-frame { border:0; box-shadow:none; } .invoice-paper { padding:0; border:0; }
  .invoice-parties { grid-template-columns:1fr 1fr; }
}
