/* CureAdvantage — ICD-10-CM Validity Checker (Batch 73A UI). Scoped to #icdv and to page-id-473 content. */
#icdv{
  --icdv-navy:#001347; --icdv-navy2:#00287a; --icdv-ink:#16233d; --icdv-grey:#55606e; --icdv-line:#e2e5e8; --icdv-line2:#d8dde6;
  --icdv-paper:#f5f6fa; --icdv-shadow:0 1px 2px rgba(22,35,61,.06),0 8px 24px rgba(22,35,61,.08);
  --icdv-ok:#1f6f4f; --icdv-okbg:#eef5f1; --icdv-hdr:#7a4f06; --icdv-hdrbg:#fbf4e4; --icdv-bad:#a13d2e; --icdv-badbg:#f9eeea;
  --icdv-neu:#3f4a5a; --icdv-neubg:#f1f3f6; --icdv-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-family:Inter,Arial,Helvetica,sans-serif; color:var(--icdv-ink); line-height:1.5;
  margin:2rem auto 2.75rem;
}
#icdv *,#icdv *::before,#icdv *::after{box-sizing:border-box}
#icdv:not(.icdv-ready){min-height:24rem;background:#fff;border:1px solid var(--icdv-line);border-radius:14px;padding:1.25rem;box-shadow:var(--icdv-shadow)}
#icdv .icdv-tool{background:#fff;border:1px solid var(--icdv-line);border-radius:14px;box-shadow:var(--icdv-shadow);overflow:hidden}

/* header */
#icdv .icdv-head{display:flex;align-items:flex-start;gap:14px;background:var(--icdv-navy);color:#fff;padding:22px 28px 20px}
#icdv .icdv-mark{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.12);color:#fff}
#icdv .icdv-head-text{flex:1 1 auto;min-width:0}
#icdv .icdv-head h2{font-family:Poppins,Inter,Arial,sans-serif;font-size:1.25rem;line-height:1.3;font-weight:600;letter-spacing:-.01em;color:#fff;margin:0 0 4px}
#icdv .icdv-head-sub{font-size:.875rem;line-height:1.5;color:rgba(255,255,255,.76);margin:0;max-width:34rem}
#icdv .icdv-free{flex:0 0 auto;align-self:center;font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:4px 11px;white-space:nowrap}

/* form */
#icdv .icdv-body{padding:24px 28px 26px}
#icdv .icdv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin-bottom:20px}
#icdv .icdv-field{display:flex;flex-direction:column;min-width:0}
#icdv label{font-size:.875rem;font-weight:600;color:var(--icdv-ink);margin:0 0 7px}
#icdv input{display:block;width:100%;height:48px;margin:0;padding:0 14px;font-family:inherit;font-size:1rem;line-height:1.2;color:var(--icdv-ink);background:#fff;border:1.5px solid var(--icdv-line2);border-radius:10px;box-shadow:none;transition:border-color .15s,box-shadow .15s;-webkit-appearance:none;appearance:none}
#icdv #icdv-code{font-family:var(--icdv-mono);letter-spacing:.02em;text-transform:uppercase}
#icdv #icdv-code::placeholder{text-transform:none;font-family:Inter,Arial,sans-serif;letter-spacing:0;color:#8a93a3}
#icdv input[type="date"]{min-height:48px;line-height:46px}
#icdv input:hover{border-color:#b9c1ce}
#icdv input:focus,#icdv input:focus-within{outline:3px solid rgba(0,19,71,.35);outline-offset:1px;border-color:var(--icdv-navy);box-shadow:0 0 0 3px rgba(0,19,71,.1)}
#icdv input[aria-invalid="true"]{border-color:var(--icdv-bad);background:#fffaf8}
#icdv input[aria-invalid="true"]:focus,#icdv input[aria-invalid="true"]:focus-within{outline-color:rgba(161,61,46,.45);border-color:var(--icdv-bad);box-shadow:0 0 0 3px rgba(161,61,46,.12)}
#icdv .icdv-hint{font-size:.8125rem;line-height:1.45;color:var(--icdv-grey);margin:6px 0 0}
#icdv .icdv-err{display:flex;gap:6px;align-items:flex-start;font-size:.8125rem;line-height:1.45;font-weight:600;color:var(--icdv-bad);margin:6px 0 0}
#icdv .icdv-err::before{content:"!";flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-top:1px;border-radius:50%;background:var(--icdv-bad);color:#fff;font-size:.6875rem;font-weight:700;line-height:1}
#icdv .icdv-err[hidden]{display:none}

/* button */
#icdv .icdv-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin:0;padding:12px 22px;font-family:inherit;font-size:1rem;font-weight:600;letter-spacing:.01em;line-height:1.2;color:#fff;background:var(--icdv-navy);border:0;border-radius:10px;cursor:pointer;transition:background .15s,transform .1s}
#icdv .icdv-btn:hover{background:var(--icdv-navy2)}
#icdv .icdv-btn:active{transform:scale(.995)}
#icdv .icdv-btn:focus-visible{outline:3px solid rgba(0,19,71,.4);outline-offset:3px}
#icdv .icdv-btn[aria-disabled="true"]{background:#33476f;cursor:progress}
#icdv .icdv-spin{display:none;width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:icdv-spin .8s linear infinite}
#icdv .icdv-busy .icdv-spin{display:inline-block}
@keyframes icdv-spin{to{transform:rotate(360deg)}}

/* result */
#icdv .icdv-result:empty{display:none}
#icdv .icdv-result{margin-top:22px}
#icdv .icdv-loading{display:flex;align-items:center;gap:10px;margin:0;padding:14px 16px;font-size:.9375rem;color:var(--icdv-grey);background:var(--icdv-paper);border:1px dashed var(--icdv-line2);border-radius:12px}
#icdv .icdv-card{border:1px solid var(--icdv-line);border-radius:12px;overflow:hidden;background:#fff;overflow-wrap:anywhere}
#icdv .icdv-status{display:flex;align-items:flex-start;gap:10px;padding:14px 18px;border-bottom:1px solid var(--icdv-line)}
#icdv .icdv-ico{flex:0 0 auto;display:inline-flex;margin-top:1px}
#icdv .icdv-state{font-family:Inter,Arial,sans-serif;font-size:1.0625rem;line-height:1.4;font-weight:700;margin:0;color:inherit}
#icdv .icdv-tone-ok .icdv-status{background:var(--icdv-okbg);color:var(--icdv-ok)}
#icdv .icdv-tone-ok{border-color:#cfe2d8}
#icdv .icdv-tone-header .icdv-status{background:var(--icdv-hdrbg);color:var(--icdv-hdr)}
#icdv .icdv-tone-header{border-color:#eedcb4}
#icdv .icdv-tone-bad .icdv-status{background:var(--icdv-badbg);color:var(--icdv-bad)}
#icdv .icdv-tone-bad{border-color:#ecd2ca}
#icdv .icdv-tone-neutral .icdv-status{background:var(--icdv-neubg);color:var(--icdv-neu)}
#icdv .icdv-tone-alert .icdv-status{background:var(--icdv-badbg);color:var(--icdv-bad)}
#icdv .icdv-card-body{padding:18px 18px 16px}
#icdv .icdv-code{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0 0 14px}
#icdv .icdv-code-val{font-family:var(--icdv-mono);font-size:1.5rem;font-weight:700;letter-spacing:.01em;color:var(--icdv-ink);line-height:1.2}
#icdv .icdv-code-title{flex:1 1 16rem;min-width:0;margin:0;font-size:1rem;line-height:1.45;color:var(--icdv-ink)}
#icdv .icdv-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;padding:0}
#icdv .icdv-fact{background:var(--icdv-paper);border-radius:10px;padding:10px 12px;min-width:0}
#icdv .icdv-fact dt{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--icdv-grey);margin:0 0 3px}
#icdv .icdv-fact dd{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--icdv-ink)}
#icdv .icdv-kids{border:1px solid var(--icdv-line);border-radius:10px;margin:0 0 14px;background:#fff}
#icdv .icdv-kids-sum{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;font-size:.9375rem;font-weight:600;color:var(--icdv-ink)}
#icdv .icdv-kids-sum::-webkit-details-marker{display:none}
#icdv .icdv-kids-sum::before{content:"";flex:0 0 auto;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .15s;margin-right:4px}
#icdv .icdv-kids[open] > .icdv-kids-sum::before{transform:rotate(45deg)}
#icdv .icdv-kids-sum:focus-visible{outline:3px solid rgba(0,19,71,.35);outline-offset:-3px;border-radius:10px}
#icdv .icdv-kids-body{padding:0 14px 12px;border-top:1px solid var(--icdv-line)}
#icdv .icdv-children{list-style:none;margin:10px 0 8px;padding:0;max-height:22rem;overflow:auto}
#icdv .icdv-children li{display:flex;gap:12px;align-items:baseline;padding:7px 2px;border-bottom:1px solid #eef0f3;font-size:.9375rem;line-height:1.45}
#icdv .icdv-children li:last-child{border-bottom:0}
#icdv .icdv-child-code{flex:0 0 5.75rem;font-family:var(--icdv-mono);font-weight:700;font-size:.875rem;color:var(--icdv-navy)}
#icdv .icdv-child-title{min-width:0}
#icdv .icdv-sub{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--icdv-grey);margin:0 0 6px}
#icdv .icdv-changes-wrap{margin:0 0 14px}
#icdv .icdv-changes{margin:0;padding:0 0 0 1.1rem;font-size:.9375rem;line-height:1.5}
#icdv .icdv-changes li{margin:2px 0}
#icdv .icdv-note{font-size:.8125rem;line-height:1.5;color:var(--icdv-grey);margin:8px 0 0}
#icdv .icdv-msg{font-size:.9375rem;line-height:1.55;margin:0 0 12px;color:var(--icdv-ink)}
#icdv .icdv-source{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--icdv-line);font-size:.875rem;color:var(--icdv-grey)}
#icdv .icdv-file{font-family:var(--icdv-mono);font-size:.75rem;color:#6b7482;overflow-wrap:anywhere}
#icdv a.icdv-ext{display:inline-flex;align-items:center;gap:4px;color:var(--icdv-navy);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
#icdv a.icdv-ext:hover{color:var(--icdv-navy2)}
#icdv a.icdv-ext:focus-visible{outline:3px solid rgba(0,19,71,.35);outline-offset:2px;border-radius:3px}
#icdv .icdv-ext-ico{display:inline-flex}
#icdv .icdv-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* footer */
#icdv .icdv-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding:12px 28px;background:var(--icdv-paper);border-top:1px solid var(--icdv-line);font-size:.8125rem;line-height:1.5;color:var(--icdv-grey)}
#icdv .icdv-foot a.icdv-ext{font-weight:600}

/* page-scoped article presentation (ID 473 only) */
body.page-id-473 .wp-block-post-content > *{max-width:780px;margin-left:auto;margin-right:auto}
body.page-id-473 .wp-block-post-content > h1{font-size:clamp(2rem,1.35rem + 2.2vw,2.75rem);line-height:1.15;letter-spacing:-.015em;margin-bottom:.75rem}
body.page-id-473 .wp-block-post-content > h1 + p{font-size:1.125rem;line-height:1.65;color:#3b4453}
body.page-id-473 .wp-block-post-content > h2{font-size:clamp(1.5rem,1.2rem + 1vw,1.875rem);line-height:1.25;letter-spacing:-.01em;margin-top:2.75rem;margin-bottom:.25rem;color:#0d0d0d}
body.page-id-473 .wp-block-post-content > p,body.page-id-473 .wp-block-post-content > ul{font-size:1.0625rem;line-height:1.7;color:#1f2733}
body.page-id-473 .wp-block-post-content > p,body.page-id-473 .wp-block-post-content > ul{margin-top:1rem;margin-bottom:0}
body.page-id-473 .wp-block-post-content > h2 + p,body.page-id-473 .wp-block-post-content > h1 + p{margin-top:.6rem}
body.page-id-473 .wp-block-post-content > p + ul{margin-top:.85rem}
body.page-id-473 .wp-block-post-content > ul{padding-left:1.35rem}
body.page-id-473 .wp-block-post-content > ul > li{margin:.35rem 0}
body.page-id-473 .wp-block-post-content > ul > li::marker{color:#6b7482}
body.page-id-473 .wp-block-post-content > p a,body.page-id-473 .wp-block-post-content > ul a{color:#001347;font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.page-id-473 .wp-block-post-content > p a:hover,body.page-id-473 .wp-block-post-content > ul a:hover{color:#00287a}
body.page-id-473 .wp-block-post-content > ul.icdv-basis{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.page-id-473 .wp-block-post-content > ul.icdv-basis > li{margin:0;background:#fff;border:1px solid #e2e5e8;border-radius:12px;padding:16px 18px;box-shadow:0 1px 2px rgba(22,35,61,.05);font-size:.9844rem;line-height:1.6}
body.page-id-473 .wp-block-post-content > ul.icdv-basis > li > strong:first-child{display:block;font-size:.75rem;letter-spacing:.07em;text-transform:uppercase;color:#001347;margin-bottom:6px}
body.page-id-473 .wp-block-post-content > ul.icdv-codelist{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
body.page-id-473 .wp-block-post-content > ul.icdv-codelist > li{margin:0;background:#fff;border:1px solid #e2e5e8;border-left:3px solid #001347;border-radius:8px;padding:9px 12px;font-size:.9688rem;line-height:1.5}
body.page-id-473 .wp-block-post-content > ul.icdv-releases{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.page-id-473 .wp-block-post-content > ul.icdv-releases > li{margin:0;background:#f5f6fa;border:1px solid #e2e5e8;border-radius:10px;padding:12px 14px;font-size:.9375rem;line-height:1.5}
body.page-id-473 .wp-block-post-content > ul.icdv-facts-list > li,body.page-id-473 .wp-block-post-content > ul.icdv-sources > li{margin:.5rem 0}
body.page-id-473 .wp-block-post-content > ul.icdv-scope{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
body.page-id-473 .wp-block-post-content > ul.icdv-scope > li{margin:0;position:relative;padding-left:1.4rem}
body.page-id-473 .wp-block-post-content > ul.icdv-scope > li::before{content:"";position:absolute;left:.2rem;top:.8em;width:.55rem;height:2px;background:#a13d2e}

@media (max-width:640px){
  #icdv{margin:1.5rem auto 2.25rem}
  #icdv .icdv-head{padding:18px 18px 16px;gap:12px;flex-wrap:wrap}
  #icdv .icdv-mark{width:36px;height:36px}
  #icdv .icdv-head-text{flex:1 1 calc(100% - 50px)}
  #icdv .icdv-free{margin-left:48px;align-self:flex-start}
  #icdv .icdv-body{padding:18px 16px 20px}
  #icdv .icdv-grid{grid-template-columns:1fr;gap:16px}
  #icdv .icdv-facts{grid-template-columns:1fr}
  #icdv .icdv-card-body{padding:16px 14px 14px}
  #icdv .icdv-status{padding:12px 14px}
  #icdv .icdv-code-val{font-size:1.3rem}
  #icdv .icdv-child-code{flex-basis:5.25rem}
  #icdv .icdv-foot{padding:12px 16px;flex-direction:column}
  body.page-id-473 .wp-block-post-content > ul.icdv-basis,body.page-id-473 .wp-block-post-content > ul.icdv-codelist,body.page-id-473 .wp-block-post-content > ul.icdv-scope,body.page-id-473 .wp-block-post-content > ul.icdv-releases{grid-template-columns:1fr}
}
@media (min-width:641px) and (max-width:900px){
  #icdv .icdv-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){#icdv *{transition:none!important;animation:none!important}}
#icdv a.icdv-ext{padding:10px 0;margin:-10px 0}
@media (max-width:640px){#icdv:not(.icdv-ready){min-height:575px}}
@media (min-width:641px){#icdv:not(.icdv-ready){min-height:362px}}
