/* Isolated styles for the public Website Health Check shortcode. */
.anwa-public{--anwa-ink:#162e38;--anwa-deep:#0b2730;--anwa-green:#11796c;--anwa-muted:#536c76;--anwa-border:#dce7e7;--anwa-white:#fff;--anwa-soft:#f3f8f7;color:var(--anwa-ink);font:inherit;margin:32px 0;line-height:1.55}
.anwa-public *{box-sizing:border-box}
.anwa-public [hidden]{display:none!important}
.anwa-public-shell{border:1px solid var(--anwa-border);border-radius:20px;overflow:hidden;background:var(--anwa-white);box-shadow:0 18px 55px rgba(14,48,54,.08);max-width:1080px;margin:auto}
.anwa-public-hero{background:linear-gradient(120deg,#0c2732,#104c52);color:#fff;padding:clamp(26px,5vw,54px)}
.anwa-public-kicker{font-size:11px!important;letter-spacing:.14em!important;text-transform:uppercase!important;font-weight:800!important;color:inherit;opacity:.82;display:block;margin-bottom:14px}
.anwa-public-hero h2{font:inherit;font-size:clamp(29px,4vw,46px)!important;line-height:1.13!important;font-weight:750!important;letter-spacing:-.04em!important;color:#fff!important;margin:0 0 14px!important}
.anwa-public-hero p{max-width:680px;font-size:16px!important;color:#e5f1f1!important;margin:0 0 24px!important}
.anwa-public-highlights{display:flex;flex-wrap:wrap;gap:12px 24px;color:#d0ece5;font-size:13px;font-weight:600}
.anwa-public-panel,.anwa-public-results{padding:clamp(22px,4vw,46px)}
.anwa-public-panel h3{font-size:22px;margin:0 0 9px;color:var(--anwa-ink)}
.anwa-public-label,.anwa-public-contact label:not(.anwa-public-check){font-size:14px;font-weight:700;display:block;margin-bottom:9px}
.anwa-public-url-line{display:flex;gap:12px;align-items:stretch}
.anwa-public-url-line input,.anwa-public-contact input:not([type=checkbox]){background:#fff!important;color:var(--anwa-ink)!important;border:1px solid #bfcfd0!important;border-radius:9px!important;min-width:0;padding:14px 16px!important;font:inherit!important;font-size:16px!important;box-shadow:none!important}
.anwa-public-url-line input{flex:1;width:100%;min-height:54px}
.anwa-public-url-line input:focus,.anwa-public-contact input:focus{outline:2px solid #47a99a;outline-offset:1px}
.anwa-public-button{appearance:none;border:0!important;background:#127a6d!important;color:#fff!important;border-radius:9px!important;padding:13px 23px!important;font-size:15px!important;font-weight:700!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;min-height:52px;white-space:normal;text-align:center}
.anwa-public-button:hover{background:#0f685f!important;color:#fff!important}
.anwa-public-button[disabled]{opacity:.6;cursor:wait}
.anwa-public-check{display:flex;align-items:flex-start;gap:10px;margin:20px 0 0;font-size:13px;font-weight:500;color:var(--anwa-muted);cursor:pointer}
.anwa-public-check input[type=checkbox]{margin:3px 0 0!important;accent-color:var(--anwa-green);flex:none;width:17px;height:17px}
.anwa-public-honeypot{position:absolute;left:-99999px;top:auto;width:1px;height:1px;overflow:hidden}
.anwa-public-contact{margin-top:24px;border-top:1px solid var(--anwa-border);padding-top:15px}
.anwa-public-contact summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--anwa-green);list-style:revert}
.anwa-public-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.anwa-public-contact-grid label input{display:block;width:100%;margin-top:6px}
.anwa-public-footnote,.anwa-public-muted{font-size:12px!important;color:var(--anwa-muted)!important;margin:20px 0 0!important}
.anwa-public-link{color:var(--anwa-green);font-weight:700}
.anwa-public-progress{padding:24px clamp(22px,4vw,46px) 30px;background:#ecf6f4;border-top:1px solid #d3e8e2}
.anwa-public-progress-header{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;color:var(--anwa-ink)}
.anwa-public-progress-header strong{font-size:15px}
.anwa-public-counter{font-size:13px;color:var(--anwa-muted)}
.anwa-public-progress-track,.anwa-public-category-track{background:#d6e5e4;height:9px;border-radius:20px;overflow:hidden}
.anwa-public-progress-fill,.anwa-public-category-bar{background:var(--anwa-green);height:100%;width:0;transition:width .25s ease;border-radius:20px}
.anwa-public-progress-note{margin:12px 0 0!important;font-size:13px!important;color:var(--anwa-muted)!important}
.anwa-public-error{background:#fff1e9;border-top-color:#ead5c6}
.anwa-public-results{scroll-margin-top:100px}
.anwa-public-results h4{font-size:21px!important;color:var(--anwa-ink)!important;line-height:1.3!important;margin:30px 0 12px!important}
.anwa-public-results-head{display:flex;gap:20px;align-items:center;justify-content:space-between;padding-bottom:24px;border-bottom:1px solid var(--anwa-border)}
.anwa-public-results-intro h3{font-size:clamp(23px,3vw,31px)!important;margin:0 0 6px!important;overflow-wrap:anywhere;color:var(--anwa-ink)!important}
.anwa-public-results-intro p{color:var(--anwa-muted);font-size:13px;margin:0}
.anwa-public-results-intro .anwa-public-kicker{color:var(--anwa-green)}
.anwa-public-score{min-width:108px;height:108px;border:8px solid #deeeea;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:none}
.anwa-public-score strong{font-size:37px;letter-spacing:-.05em;line-height:1;color:var(--anwa-green)}
.anwa-public-score span{font-size:11px;color:var(--anwa-muted)}
.anwa-public-caveat{font-size:12px;color:#53666b;background:#f2f5f6;border-left:4px solid #aab9bd;padding:14px 17px;margin-top:19px}
.anwa-public-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.anwa-public-category{border:1px solid var(--anwa-border);border-radius:10px;padding:13px 15px}
.anwa-public-category-line{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:10px;line-height:1.3}
.anwa-public-category-line strong{white-space:nowrap}
.anwa-public-category-track{height:6px}
.anwa-public-category-bar.is-low{background:#c9574c}
.anwa-public-category-bar.is-medium{background:#b28a3d}
.anwa-public-issue-list{display:grid;gap:12px;margin-top:17px}
.anwa-public-issue{border:1px solid var(--anwa-border);border-radius:12px;padding:18px 21px;background:#fff}
.anwa-public-issue-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.anwa-public-issue-number{font-size:12px;letter-spacing:.08em;color:#94a8ae;font-weight:800}
.anwa-public-priority{border-radius:99px;font-size:11px;font-weight:800;padding:3px 10px;background:#f9efe2;color:#8b521e}
.anwa-public-priority.is-high{background:#fbe6e3;color:#9c423b}
.anwa-public-issue-category{font-size:12px;color:var(--anwa-muted)}
.anwa-public-issue h5{font-size:17px!important;margin:10px 0 7px!important;color:var(--anwa-ink)!important}
.anwa-public-issue p{font-size:13px!important;margin:7px 0!important;color:#334c53!important;overflow-wrap:anywhere}
.anwa-public-issue .anwa-public-evidence{color:var(--anwa-muted)!important}
.anwa-public-count{font-size:11px;color:var(--anwa-muted);font-weight:700}
.anwa-public-message{font-size:14px;padding:16px;background:var(--anwa-soft);border-radius:10px;color:var(--anwa-muted)}
.anwa-public-upsell{margin-top:35px;background:#f0f8f6;border:1px solid #d9ebe6;border-radius:15px;padding:clamp(20px,3vw,32px)}
.anwa-public-upsell .anwa-public-kicker{color:var(--anwa-green)}
.anwa-public-upsell h4{margin:0 0 12px!important;max-width:620px}
.anwa-public-upsell p{margin:0 0 20px!important;color:#47616a;font-size:14px!important}
.anwa-public-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.anwa-public-button-secondary,.anwa-public-button-plain{cursor:pointer;border-radius:9px;padding:13px 16px;font:inherit;font-weight:700;font-size:13px;background:#fff;color:var(--anwa-ink);border:1px solid #b5d0cb;min-height:49px}
.anwa-public-button-plain{background:transparent;border-color:transparent;color:var(--anwa-green)}
.anwa-public-button-secondary:hover{background:#e9f1ef}
@media(max-width:680px){.anwa-public-url-line,.anwa-public-contact-grid{display:flex;flex-direction:column}.anwa-public-url-line button{width:100%}.anwa-public-results-head{align-items:flex-start}.anwa-public-score{height:92px;min-width:92px;border-width:6px}.anwa-public-score strong{font-size:29px}.anwa-public-category-grid{grid-template-columns:1fr}.anwa-public-hero{padding:26px 22px}}
@media print{.anwa-public{margin:0}.anwa-public-shell{box-shadow:none;border:0;border-radius:0}.anwa-public-hero,.anwa-public-panel,.anwa-public-progress,.anwa-public-actions{display:none!important}.anwa-public-results{padding:0!important}.anwa-public-category,.anwa-public-issue,.anwa-public-upsell{break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.anwa-public-results::after{content:'African Nomad Software (Pty) Ltd · african-nomad.com · deon@african-nomad.com';display:block;margin-top:25px;padding-top:12px;border-top:1px solid #ddd;font-size:11px;color:#445}}

/* v0.3.0: category explanations and explicit lead-gated PDF downloads. */
.anwa-public-category-line{align-items:flex-start;margin-bottom:5px}
.anwa-public-category-name{display:inline-flex;align-items:center;gap:7px;min-width:0}
.anwa-public-category-name>span{overflow-wrap:anywhere}
.anwa-category-info{appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid #aecfc8;border-radius:50%;background:#f2f8f6;color:#0c7567;font-size:14px;font-weight:800;cursor:pointer;line-height:1;padding:0}
.anwa-category-info:hover,.anwa-category-info:focus-visible{background:#0d7064;color:#fff;outline:2px solid #6eb1a5;outline-offset:2px}
.anwa-category-status{display:block;font-size:12px;font-weight:650;margin:6px 0 11px;color:#47646b}
.anwa-category-status.is-critical{color:#a9443d}
.anwa-category-status.is-caution{color:#967327}
.anwa-category-status.is-strong,.anwa-category-status.is-positive{color:#087963}
.anwa-public-category.is-unassessed{background:#f6f8f8;border-style:dashed}
.anwa-public-category.is-unassessed .anwa-category-status{margin-bottom:3px;color:#657980}
.anwa-public .anwa-public-dialog{position:fixed!important;inset:0!important;box-sizing:border-box!important;margin:auto!important;width:min(610px,calc(100vw - 28px))!important;max-height:min(88vh,900px)!important;overflow-y:auto!important;border:1px solid #d2e2de!important;border-radius:17px!important;padding:clamp(23px,4vw,38px)!important;color:#193139!important;background:#fff!important;box-shadow:0 25px 70px rgba(9,40,45,.22)!important;z-index:999999!important;line-height:1.55!important}
.anwa-public .anwa-public-dialog::backdrop{background:rgba(4,23,31,.68)!important}
.anwa-public-dialog .anwa-public-kicker{color:#087969!important;margin-bottom:8px}
.anwa-public-dialog h3{font-size:clamp(22px,3vw,28px)!important;line-height:1.2!important;margin:0 0 16px!important;color:#182f38!important}
.anwa-public-dialog h4{font-size:15px!important;margin:22px 0 6px!important;color:#1c3c46!important}
.anwa-public-dialog p{font-size:14px!important;line-height:1.55!important;color:#49646d!important;margin:0 0 12px!important}
.anwa-dialog-close{appearance:none;float:right;border:1px solid #c3d5d5;border-radius:8px;padding:7px 10px;background:#f3f7f6;color:#304b52;cursor:pointer;font-size:12px;font-weight:700;margin:-5px -5px 15px 12px}
.anwa-dialog-close:hover{background:#dceae6}
.anwa-guide-score{display:inline-block;font-size:13px;font-weight:700;color:#40646c;background:#edf4f3;border-radius:8px;padding:7px 11px;margin-bottom:6px}
.anwa-guide-score.is-critical{color:#a0443c;background:#fff1ed}
.anwa-guide-score.is-caution{color:#886921;background:#fff8e8}
.anwa-guide-score.is-strong,.anwa-guide-score.is-positive{color:#0c755e;background:#eaf5f0}
.anwa-pdf-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0 6px}
.anwa-pdf-fields label{font-size:13px;font-weight:700;display:block;color:#233c43}
.anwa-pdf-fields input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:46px;background:#fff!important;color:#193139!important;border:1px solid #c0d0d1!important;border-radius:8px!important;font:inherit!important;font-size:15px!important;padding:10px 12px!important;margin:7px 0 0!important}
.anwa-pdf-fields input:focus-visible{outline:2px solid #258679;outline-offset:1px}
.anwa-optional{color:#6f8285;font-size:11px;font-weight:500}
.anwa-public-dialog .anwa-public-check{margin:17px 0 0!important;font-size:13px!important;font-weight:450!important;color:#42616a!important}
.anwa-public-dialog .anwa-public-check span{line-height:1.5}
.anwa-public-dialog .anwa-public-check input{min-width:18px}
.anwa-public-dialog .anwa-pdf-privacy{font-size:12px!important;margin-top:15px!important}
.anwa-public-dialog .anwa-pdf-privacy a{color:#126e61;font-weight:700;text-decoration:underline}
.anwa-public-dialog .anwa-pdf-error{padding:12px 14px!important;margin:16px 0!important;background:#fff1ea;color:#a04436!important;border-left:3px solid #be6245;border-radius:5px}
.anwa-pdf-form>.anwa-public-button{margin-top:8px!important}
@media(max-width:560px){.anwa-pdf-fields{grid-template-columns:1fr}.anwa-public .anwa-public-dialog{max-height:92vh!important}}
@media print{.anwa-public-dialog{display:none!important}.anwa-category-info{display:none!important}}

/* v0.4: Professional Audit promotion, enquiry modal and conversion-specific forms */
.anwa-pro-preview{padding:clamp(25px,4vw,43px);border-top:1px solid #dce7e7;background:#f6faf9}
.anwa-pro-preview .anwa-public-kicker{color:#11796c;margin-bottom:10px}
.anwa-pro-preview h3{color:#152f39!important;font-size:clamp(22px,2.6vw,30px)!important;line-height:1.25!important;max-width:780px;margin:0 0 12px!important}
.anwa-pro-preview>p{font-size:14px!important;color:#49636c!important;max-width:760px;margin:0 0 26px!important}
.anwa-pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.anwa-pro-grid article{padding:19px 18px;border:1px solid #d8e8e5;border-radius:11px;background:#fff;min-width:0}
.anwa-pro-grid strong{display:block;color:#143b43;font-size:14px;margin-bottom:7px;line-height:1.35}
.anwa-pro-grid span{display:block;font-size:12px;color:#58717b;line-height:1.55}
.anwa-pro-footnote{font-size:12px;color:#5d737b;margin-top:22px}
.anwa-upsell-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;list-style:none!important;padding:0!important;margin:0 0 26px!important}
.anwa-upsell-benefits li{position:relative;padding-left:22px;font-size:13px;color:#36545c}
.anwa-upsell-benefits li:before{content:'✓';position:absolute;left:0;color:#0e7869;font-weight:800}
.anwa-pro-website-label{font-size:13px;background:#f2f7f6;border:1px solid #daece8;border-radius:8px;padding:12px 14px;color:#385862;margin:14px 0;overflow-wrap:anywhere}
.anwa-pro-website-label strong{color:#173d44}
.anwa-pro-areas{border:1px solid #d8e8e5;border-radius:11px;margin:18px 0;padding:17px 19px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.anwa-pro-areas legend{font-size:13px;font-weight:800;color:#23444a;padding:0 8px}
.anwa-pro-areas label{font-size:12px;color:#33535c;display:flex;gap:8px;align-items:flex-start;line-height:1.5;cursor:pointer}
.anwa-pro-areas input{accent-color:#11796c;margin:2px 0 0;flex:none}
.anwa-pro-message{display:block;font-size:13px;font-weight:700;color:#23444a;margin:20px 0}
.anwa-pro-message textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:95px;margin-top:7px;border-radius:8px!important;border:1px solid #c0d0d1!important;padding:11px 13px!important;font:inherit!important;font-size:14px!important;color:#18343a!important;background:#fff!important}
.anwa-pro-error{background:#fff0ec;color:#a24437!important;border-left:3px solid #c85d51;padding:13px 15px!important;border-radius:5px;margin-top:14px!important}
.anwa-pro-success{background:#eaf6f0;color:#21634e!important;border-left:3px solid #46977a;padding:13px 15px!important;border-radius:5px;margin-top:14px!important}
.anwa-pro-privacy{margin-top:16px!important;font-size:12px!important}
.anwa-pro-privacy a{color:#126e61;font-weight:700;text-decoration:underline}
.anwa-pro-request-form>.anwa-public-button{margin-top:10px!important}
@media(max-width:760px){.anwa-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.anwa-pro-grid,.anwa-pro-areas,.anwa-upsell-benefits{grid-template-columns:1fr}}
@media print{.anwa-pro-preview{display:none!important}}

/* v0.6 business interpretation / optional Nomad AI explanation */
.anwa-business-guidance {margin:28px 0;padding:24px;border:1px solid #b8d4cd;border-radius:16px;background:linear-gradient(140deg,rgba(11,106,88,.065),rgba(250,253,252,.96));}
.anwa-business-guidance h4 {margin:10px 0;font-size:clamp(1.1rem,2vw,1.35rem);color:#173d37;}
.anwa-insight-item {background:#fff;border:1px solid #dfebe7;border-radius:12px;padding:17px 18px;margin:13px 0;}
.anwa-insight-item strong {display:block;color:#1a473f;font-size:1.03rem;margin-bottom:7px;}
.anwa-insight-item p {margin:7px 0;line-height:1.55;}
.anwa-business-guidance button {margin-top:11px;}
@media (max-width:640px){.anwa-business-guidance{padding:16px}.anwa-insight-item{padding:14px}}

/* v0.7: executive public health summary, action roadmap and real Free/Pro comparison. */
.anwa-snapshot{margin-top:22px;padding:21px;background:#f8faf9;border:1px solid #d5e5e2;border-radius:15px}
.anwa-snapshot h4{margin:0 0 17px!important;font-size:18px!important}
.anwa-snapshot-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.anwa-snapshot-metric{background:#fff;border:1px solid #dfebe8;border-radius:11px;padding:15px 11px;min-width:0}
.anwa-snapshot-metric strong{display:block;color:#134b46;font-size:clamp(19px,2vw,25px);line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums}
.anwa-snapshot-metric span{display:block;color:#516e74;font-size:11px;margin-top:7px;line-height:1.35}
.anwa-snapshot-context{margin:16px 0 0!important;font-size:13px!important;color:#415f64!important;line-height:1.6!important}
.anwa-positive-details{margin-top:14px;border-top:1px solid #d7e5e0;padding-top:11px;font-size:12px;color:#47656a}
.anwa-positive-details summary{cursor:pointer;font-weight:700;color:#11796c}
.anwa-positive-details ul{padding-left:21px!important;margin:10px 0 0!important}
.anwa-positive-details li{margin:6px 0}
.anwa-comparison{overflow-x:auto;border:1px solid #d6e6e2;border-radius:11px;background:#fff;margin-top:26px}
.anwa-comparison table{width:100%;border-collapse:collapse;font-size:12px;min-width:620px;table-layout:auto}
.anwa-comparison caption{text-align:left;font-size:15px;font-weight:800;color:#153c44;padding:14px 18px}
.anwa-comparison th,.anwa-comparison td{padding:12px 14px;border-top:1px solid #e2eeeb;text-align:left;vertical-align:top;color:#314c52}
.anwa-comparison thead th{background:#ebf5f2;color:#125249;font-weight:800}
.anwa-comparison tbody th{font-weight:700;width:36%}
.anwa-comparison tbody tr:nth-child(even){background:#fcfefd}
.anwa-comparison td:nth-child(2){color:#526c72}
.anwa-comparison td:nth-child(3){color:#0e695b;font-weight:650}
@media(max-width:800px){.anwa-snapshot-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.anwa-snapshot-metric{padding:12px 8px}}
@media print{.anwa-comparison,.anwa-public-hero,.anwa-positive-details{display:none!important}}

/* Detailed measurements are separate from recommendations and never use placeholder scores. */
.anwa-measured-tests{margin:28px 0;padding:23px;border:1px solid #d3e2df;border-radius:15px;background:#fafdff}
.anwa-measured-tests h4{margin:0 0 18px!important}
.anwa-measured-tests h5{margin:20px 0 10px!important;font-size:16px!important;color:#183e40!important}
.anwa-measured-speed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.anwa-measured-speed-card{padding:16px 18px;border:1px solid #d7e8e4;border-radius:12px;background:#fff;min-width:0}
.anwa-measured-name{display:block;font-size:13px;font-weight:700;color:#46676b}
.anwa-measured-number{display:block;margin:8px 0;font-size:27px;font-weight:800;font-variant-numeric:tabular-nums;color:#174b44}
.anwa-measured-speed-card p{font-size:12px!important;overflow-wrap:anywhere}
.anwa-measured-security-list{list-style:none!important;padding:0!important;margin:14px 0!important;display:grid;gap:8px}
.anwa-measured-security-check{display:grid;grid-template-columns:1fr auto;gap:4px 15px;padding:12px 14px;background:white;border:1px solid #e1ebe9;border-radius:9px;align-items:center}
.anwa-measured-security-check span{font-weight:650;color:#2c4d52}
.anwa-measured-security-check strong{font-size:11px;letter-spacing:.06em;color:#5a737a}
.anwa-measured-security-check strong.is-pass{color:#167e60}
.anwa-measured-security-check strong.is-warn{color:#ab7025}
.anwa-measured-security-check strong.is-fail{color:#ae3f38}
.anwa-measured-security-check small{grid-column:1/-1;color:#587077;overflow-wrap:anywhere}
@media(max-width:600px){.anwa-measured-speed-grid{grid-template-columns:1fr}.anwa-measured-tests{padding:16px}}
@media print{.anwa-measured-tests,.anwa-measured-speed-card,.anwa-measured-security-check{break-inside:avoid}}
