:root{--text:#1f2933;--muted:#616e7c;--line:#d9dee4;--bg:#f5f7fa;--card:#fff;--accent:#1d5c4d;--accent-text:#fff;--red:#b42318;--red-bg:#fef3f2;--radius:8px}*{box-sizing:border-box}html,body{margin:0;padding:0}body{color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45}a{color:var(--accent)}h1{margin:.25rem 0 1rem;font-size:1.5rem}h2{margin:1.5rem 0 .75rem;font-size:1.15rem}.topbar{background:var(--accent);color:var(--accent-text);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;padding:.75rem 1rem;display:flex}.user-menu{flex-wrap:wrap;align-items:center;gap:0 .75rem;font-size:.9rem;display:flex}.user-email{opacity:.85;overflow-wrap:anywhere}button.link-light{color:inherit;background:0 0;border:1px solid;min-height:0;padding:.2rem .6rem;font-weight:600}.brand{color:inherit;flex-wrap:wrap;align-items:baseline;gap:0 .75rem;text-decoration:none;display:flex}.brand-name{font-size:1.1rem;font-weight:700}.brand-tagline{opacity:.85;font-size:.9rem}.page{max-width:1100px;margin:0 auto;padding:1rem}.demo-banner{background:var(--red-bg);border:1px solid var(--red);color:var(--red);border-radius:var(--radius);margin-bottom:1rem;padding:.6rem .8rem;font-size:.9rem;font-weight:600}.error{background:var(--red-bg);color:var(--red);border-left:4px solid var(--red);border-radius:4px;margin:.75rem 0;padding:.6rem .8rem}.success{color:var(--accent);font-weight:600}.muted{color:var(--muted)}.small{font-size:.85rem}.placeholder-tag{color:var(--red);font-weight:600}.incomplete{background:var(--red-bg);border:1px solid var(--red);color:var(--red);border-radius:var(--radius);margin:1rem 0;padding:.6rem .8rem}.incomplete ul{margin:.4rem 0;padding-left:1.2rem}.demo-banner a,.incomplete a{color:inherit}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:1rem;padding:1rem}label{color:var(--muted);margin-bottom:.2rem;font-size:.85rem;display:block}input,select{width:100%;font:inherit;border:1px solid var(--line);color:var(--text);background:#fff;border-radius:6px;min-height:44px;padding:.55rem .6rem}input:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px}input[aria-invalid=true]{border-color:var(--red)}.field{margin-bottom:.75rem}.fields{grid-template-columns:1fr;gap:0 1rem;display:grid}@media (min-width:700px){.fields{grid-template-columns:repeat(3,1fr)}}button,.button{font:inherit;border:1px solid var(--accent);background:var(--accent);color:var(--accent-text);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:.4rem;min-height:44px;padding:.55rem 1rem;font-weight:600;text-decoration:none;display:inline-flex}button:disabled{opacity:.6;cursor:wait}button.secondary,.button.secondary{color:var(--accent);background:#fff}button.danger{color:var(--red);border-color:var(--red);background:#fff}button.link{color:var(--red);background:0 0;border:none;min-height:0;padding:.25rem 0;font-weight:500}.actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin:1rem 0;display:flex}.list{margin:0;padding:0;list-style:none}.list li{border-bottom:1px solid var(--line)}.list a{color:var(--text);justify-content:space-between;gap:1rem;padding:.8rem .25rem;text-decoration:none;display:flex}.list a:hover{background:var(--bg)}.table{border-collapse:collapse;width:100%}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:.5rem}.table th{color:var(--muted);font-size:.85rem;font-weight:600}.num{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right!important}@media (max-width:699px){.hide-mobile{display:none}}.line{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-bottom:.75rem;padding:.75rem}.line.has-error{border-color:var(--red)}.line-grid{grid-template-columns:1fr 1fr;gap:0 .75rem;display:grid}.line-grid .span-2{grid-column:span 2}.line-head{justify-content:space-between;align-items:center;margin-bottom:.4rem;display:flex}.line-number{color:var(--muted);font-size:.85rem;font-weight:700}@media (min-width:900px){.line-grid{grid-template-columns:1.3fr 2fr .8fr .8fr 1fr}.line-grid .span-2{grid-column:auto}}.line-result{border-top:1px dashed var(--line);flex-wrap:wrap;gap:.25rem 1.25rem;margin-top:.25rem;padding-top:.5rem;font-size:.9rem;display:flex}.line-result.stale{opacity:.5}.line-result b{font-variant-numeric:tabular-nums}.summary{grid-template-columns:1fr;gap:1rem;display:grid}@media (min-width:700px){.summary{grid-template-columns:1fr 1fr}}.summary table{border-collapse:collapse;width:100%}.summary td{padding:.3rem 0}.summary tr.total td{border-top:2px solid var(--text);font-weight:700}.warnings li{margin-bottom:.3rem}.tabs{flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem;display:flex}button.link-accent{color:var(--accent);background:0 0;border:none;min-height:0;padding:.25rem 0;font-weight:600;text-decoration:underline}.mapping-form{background:var(--bg);border-radius:var(--radius);margin:.25rem 0;padding:.75rem}.status{white-space:normal;border-radius:10px;padding:.1rem .5rem;font-size:.8rem;font-weight:600;display:inline-block}.status.mapped{color:var(--accent);background:#e3f4ec}.status.warn{background:var(--red-bg);color:var(--red)}.status.neutral{background:var(--bg);color:var(--muted)}.basis{border-left:4px solid var(--accent);background:#fff;margin:0 0 1rem;padding:.4rem .8rem}.show-mobile{display:none}@media (max-width:699px){.show-mobile{display:block}}.landing .hero{padding:1rem 0 .5rem}.landing .hero h1{max-width:40rem;font-size:1.8rem;line-height:1.25}.landing .lead{max-width:42rem;font-size:1.05rem}.landing h3{margin:0 0 .4rem;font-size:1.05rem}.landing .card p{margin:0}.tiles{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.75rem;margin-bottom:1rem;display:grid}.tiles .card{margin:0}.steps{padding-left:1.4rem;line-height:1.7}.legal{max-width:46rem;line-height:1.6}.legal h1{margin-top:.5rem}.legal h2{margin-top:1.6rem}.legal table{width:100%}.draft-banner{color:#b3261e;background:#fff5f4;border:2px solid #b3261e;border-radius:6px;padding:.5rem .8rem;font-weight:700}.site-footer{border-top:1px solid #dcdfe3;flex-wrap:wrap;justify-content:center;gap:.5rem 1.25rem;margin-top:2rem;padding:1rem;font-size:.9rem;display:flex}.site-footer a{color:inherit}.table-wrap{overflow-x:auto}.legal.method{max-width:76rem}.legal.method p,.legal.method ul{max-width:46rem}.legal.method td:first-child{white-space:nowrap}
