:root{--green:#3f7459;--deep:#234b3a;--soft:#e9f4ed;--line:#c9ddcf;--tool-title-max:4.8rem}.celf-app{background:#f4f8f5;color:#17231c}.tool-back{color:var(--deep);font-weight:800}.celf-hero{padding:clamp(42px,6vw,76px) 0;background:linear-gradient(120deg,var(--deep) 0 68%,#315f49 68%);color:#fff}.celf-hero .eyebrow{color:#bfe2cb}.celf-hero h1{margin:.2rem 0;color:#e9f4ed;font-size:clamp(3rem,7vw,var(--tool-title-max));line-height:.92}.celf-hero p{max-width:780px;color:#e8f4ec;font-size:1.05rem}.privacy-pill{display:inline-flex;margin-top:18px;padding:8px 13px;border:1px solid #91bda1;border-radius:999px;background:#ffffff12;font-weight:800}.celf-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;padding-block:20px 70px}.celf-layout>*{min-width:0}.celf-results>*{min-width:0}.celf-toolbar{position:sticky;top:var(--header-h);z-index:8;display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#f9fcfacc;backdrop-filter:blur(12px);box-shadow:0 8px 24px #234b3a14;overflow:auto}.celf-toolbar button,.file-button,.report-actions button,.copy-chart{flex:0 0 auto;min-height:44px;padding:8px 12px;border:1px solid #9eb5a6;border-radius:9px;background:#fff;color:var(--deep);font:inherit;font-size:.84rem;font-weight:850;cursor:pointer}.file-button{display:inline-flex;align-items:center}.file-button input{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0)}#action-status{min-width:180px;margin-left:auto;color:var(--deep);font-size:.8rem;font-weight:800}.celf-panel{border:1px solid var(--line);border-radius:20px;background:#fff;padding:clamp(18px,3vw,32px);box-shadow:0 14px 36px #234b3a0d}.celf-panel>header{display:flex;gap:15px;align-items:flex-start;margin-bottom:22px}.celf-panel>header>span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:var(--soft);color:var(--deep);font-weight:900}.celf-panel h2,.celf-panel h3{margin:0;color:var(--deep)}.celf-panel header p{margin:.35rem 0 0;color:#53655b}.identity-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px}.raw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.behaviour-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.celf-panel label{display:grid;gap:6px;font-weight:820}.celf-panel label span{color:#64766c;font-size:.76rem;font-weight:650}.celf-panel input,.celf-panel select{min-height:46px;padding:9px 11px;border:1px solid #aebfb4;border-radius:10px;background:#fcfefd;font:inherit}.celf-panel input:focus,.celf-panel select:focus{outline:3px solid #8bbda077;border-color:var(--green)}.age-output{padding:13px 15px;border-radius:11px;background:var(--soft);color:var(--deep);font-weight:800}.confidence-field{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px;padding:16px;border:1px solid var(--line);border-radius:14px}.confidence-field legend{padding:0 7px;color:var(--deep);font-weight:900}.tool-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.celf-app .button{border-color:var(--deep);background:var(--deep);color:#fff}.celf-app .button.ghost{background:#fff;color:var(--deep)}.form-error{min-height:1.4em;color:#9a2027;font-weight:800}.celf-results{display:grid;gap:24px}.report-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:18px 4px}.report-heading h2{margin:.2rem 0;color:var(--deep);font-size:clamp(2rem,4vw,3.5rem)}.report-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.table-wrap{overflow:auto;margin-top:14px}.celf-panel table{width:100%;border-collapse:collapse;white-space:nowrap;font-variant-numeric:tabular-nums}.celf-panel th,.celf-panel td{padding:10px;border-bottom:1px solid #dce8e0;text-align:center;font-size:.88rem}.celf-panel tbody th{text-align:left}.celf-panel small{color:#64766c}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.chart-heading p{margin:.3rem 0;color:#5b6b62}.profile-svg{overflow:auto;border:1px solid #e0ebe4;border-radius:12px;background:#fff}.profile-svg svg{display:block;max-width:none;height:auto;font-family:system-ui,sans-serif;font-size:12px}.split-report{display:grid;grid-template-columns:.7fr 1.3fr;gap:28px}.split-report section{min-width:0;overflow-x:auto}.report-text{max-height:520px;overflow:auto;padding:18px;border-radius:12px;background:#15261d;color:#e8f4ec;white-space:pre-wrap;font:13px/1.55 ui-monospace,monospace}.results-note{margin-top:20px;padding:14px;border-left:4px solid var(--green);background:#f2f7f4}@media(max-width:950px){.raw-grid,.confidence-field{grid-template-columns:repeat(2,1fr)}.identity-grid{grid-template-columns:1fr 1fr}.identity-grid label:first-child{grid-column:1/-1}.split-report{grid-template-columns:1fr}}@media(max-width:620px){.celf-hero{background:var(--deep)}.celf-layout{padding-inline:12px}.celf-toolbar{top:0;border-radius:0;margin-inline:-12px}.raw-grid,.behaviour-grid,.confidence-field,.identity-grid{grid-template-columns:1fr}.identity-grid label:first-child{grid-column:auto}.celf-panel{border-radius:14px;padding:17px}.report-heading,.chart-heading{align-items:flex-start;flex-direction:column}.report-actions{justify-content:flex-start}.header-inner{gap:10px}.tool-back{font-size:.8rem}.celf-panel th,.celf-panel td{padding:8px;font-size:.8rem}}.celf-app .eyebrow.dark{color:var(--green)}.tool-surface{min-width:0;max-width:100%}.tool-scroll{max-width:100%;overflow-x:auto}@media print{.header,.celf-hero,.celf-toolbar,.celf-layout>section:not(.celf-results),.report-actions,.copy-chart,.tool-actions{display:none!important}.celf-layout{display:block;padding:0}.celf-results{display:block!important}.celf-panel{break-inside:avoid;margin-bottom:16px;border:0;box-shadow:none;padding:8px}.profile-svg{overflow:visible}.profile-svg svg{width:100%;height:auto}.report-text{max-height:none;background:#fff;color:#111;border:1px solid #bbb}.table-wrap{overflow:visible}.celf-panel table{white-space:normal}}