/* JLD entry page only. Screen-scoped; no report or PDF layout overrides. */
@media screen {
  body[data-report-view="form"] .entry-benefits {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0 12px;padding:16px 0;border-block:1px solid #d8cfc3;color:#6d4135;font:500 13px/1.45 Arial,Helvetica,sans-serif}
  body[data-report-view="form"] .entry-benefits span+span {border-left:1px solid #d8cfc3;padding-left:14px}
  body[data-report-view="form"] .jl-entry-about {margin:0 0 18px;border:0;background:none;padding:0}
  body[data-report-view="form"] .jl-entry-about summary {min-height:44px;align-content:center;color:#62635b;font:400 14px/1.5 Arial,Helvetica,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
  body[data-report-view="form"] .jl-entry-about .jl-entry-method {margin:8px 0 14px}
  @media(max-width:640px){
    body[data-report-view="form"]:has(.jl-entry-copy) .jl-intro {padding-top:26px;gap:12px}
    body[data-report-view="form"] .jl-entry-art img {max-height:150px}
    body[data-report-view="form"] .jl-entry-art figcaption {font:400 12px/1.5 Arial,Helvetica,sans-serif;margin:0}
    body[data-report-view="form"] .entry-benefits {font-size:12px;gap:10px;margin:18px 0 6px;padding:14px 0}
    body[data-report-view="form"] .entry-benefits span+span {padding-left:10px}
  }
}
@media screen {
  body[data-report-view="form"]:has(.jl-entry-copy) {
    --entry-paper:#fdfcf9;--entry-card:#fffaf3;--entry-ink:#252923;
    --entry-muted:#62635b;--entry-line:#d8cfc3;--entry-accent:#a83f30;
    background:var(--entry-paper);color:var(--entry-ink);font-family:Arial,Helvetica,sans-serif;
  }
  body[data-report-view="form"]:has(.jl-entry-copy) :is(header,header .bar,.saved-readings-toolbar) {background:var(--entry-paper);box-shadow:none;border-color:var(--entry-line)}
  body[data-report-view="form"]:has(.jl-entry-copy) .saved-readings-toolbar>button {min-height:40px!important;font-size:13px!important}
  body[data-report-view="form"]:has(.jl-entry-copy) .jld-chart-navigation a {font:500 14px/1.5 Arial,Helvetica,sans-serif;color:var(--entry-ink)}
  body[data-report-view="form"]:has(.jl-entry-copy) .jld-guides-link {text-decoration:underline;text-underline-offset:4px}
  body[data-report-view="form"]:has(.jl-entry-copy) .personal-relationship-link {background:var(--entry-card);border-color:var(--entry-line);box-shadow:none}
  body[data-report-view="form"]:has(.jl-entry-copy) .jld-chart-navigation a:hover {color:var(--entry-accent)}
  body[data-report-view="form"]:has(.jl-entry-copy) .jl-entry-method {font-size:14px;line-height:1.65}
  body[data-report-view="form"]:has(.jl-entry-copy) :is(.jl-entry-start,#chartForm>button[type="submit"],.entry-action-bar button) {
    background:var(--entry-accent);color:#fffaf3;border:1px solid var(--entry-accent);border-radius:999px;
    box-shadow:none;font:600 14px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;min-height:48px;
    padding:13px 22px;text-align:center;white-space:normal;
  }
  body[data-report-view="form"]:has(.jl-entry-copy) :is(.jl-entry-start,#chartForm>button[type="submit"]):hover {background:#8f3327;border-color:#8f3327}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details {background:var(--entry-card);border-color:var(--entry-line);box-shadow:none}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details :is(label,h2,h3,summary,input,select,button) {font-family:Arial,Helvetica,sans-serif}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details .entry-intro h2 {font:600 20px/1.5 Arial,Helvetica,sans-serif;letter-spacing:0;color:var(--entry-ink)}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details a {color:var(--entry-ink);text-decoration:underline;text-underline-offset:4px}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details a:hover {color:var(--entry-accent)}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details #chartForm label {font:600 15px/1.5 Arial,Helvetica,sans-serif;color:var(--entry-ink)}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details #chartForm :is(input,select) {min-height:48px;border:1px solid #c7bcaf;border-radius:10px;background:#fffdf9;color:var(--entry-ink);font:400 16px/1.5 Arial,Helvetica,sans-serif}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details #chartForm :is(.note,.field-prompt,.entry-time-help,.entry-confirmation) {font:400 14px/1.65 Arial,Helvetica,sans-serif;color:var(--entry-muted)}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details #chartForm>details {border:1px solid var(--entry-line);border-radius:12px;background:#eee7dc;padding:16px 20px}
  body[data-report-view="form"]:has(.jl-entry-copy) #birth-details #chartForm summary {font:500 14px/1.5 Arial,Helvetica,sans-serif;min-height:44px;align-content:center;color:var(--entry-ink)}
  body[data-report-view="form"]:has(.jl-entry-copy) :is(input,select,button,a,summary):focus-visible {outline:3px solid var(--entry-accent);outline-offset:3px}
  @media(max-width:640px){body[data-report-view="form"]:has(.jl-entry-copy) .jl-entry-start {width:100%;box-sizing:border-box}}
}
@media screen {
  body[data-report-view="form"]:has(.jl-entry-copy) .saved-readings-toolbar{width:min(1180px,calc(100% - 80px));max-width:1180px;margin:0 auto;padding:8px 0 0}
  body[data-report-view="form"]:has(.jl-entry-copy) .saved-readings-toolbar>button{width:auto;height:auto;min-height:30px;margin:0;padding:3px 0;border:0;border-radius:0;background:transparent;color:#62635b;font:400 12px/1.5 Arial,Helvetica,sans-serif;text-decoration:underline;text-underline-offset:3px}
  body[data-report-view="form"]:has(.jl-entry-copy) header .bar{min-height:90px}
  body:has(.jl-entry-copy) .jl-intro{width:min(1180px,calc(100% - 80px));margin:0 auto;padding:52px 0 42px;display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center}
  .jl-entry-copy{min-width:0}
  body .jl-entry-copy .eyebrow{font-size:11px;letter-spacing:.16em;margin:0 0 22px}
  body .jl-entry-copy h1{font-size:clamp(40px,4.15vw,60px);line-height:1.08;letter-spacing:-.045em;margin:0;max-width:620px}
  .jl-entry-copy h1 em{font-weight:400}
  .jl-entry-lede{font:400 17px/1.65 Arial,Helvetica,sans-serif;color:#50544e;max-width:47ch;margin:24px 0 12px}
  .jl-entry-method{font:400 13px/1.6 Arial,Helvetica,sans-serif;color:#62635b;max-width:53ch;margin:0 0 24px}
  .jl-entry-start{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:50px;padding:12px 24px;border-radius:999px;background:#aa3d2c;color:#fffdf9;text-decoration:none;font:600 14px/1.4 Arial,Helvetica,sans-serif;transition:background .15s}
  .jl-entry-start:hover{background:#873020}
  .jl-entry-start:focus-visible{outline:3px solid #aa3d2c;outline-offset:4px}
  .jl-entry-trust{margin:11px 0 0;font:400 12px/1.5 Arial,Helvetica,sans-serif;color:#62635b}
  .jl-entry-trust span{margin:0 7px}
  .jl-entry-art{margin:0;text-align:center;min-width:0}
  .jl-entry-art img{display:block;width:100%;height:auto;max-width:560px;margin:auto}
  .jl-entry-art figcaption{font:400 16px/1.5 Georgia,'Times New Roman',serif;color:#62635b;margin:-9px 0 0}
  .jl-entry-art figcaption em{color:#aa3d2c}
  body[data-report-view="form"]:has(.jl-entry-copy) .layout{width:min(920px,calc(100% - 80px));max-width:920px;padding:0 0 56px}
  body[data-report-view="form"] #birth-details{background:#fcf8f1;border:1px solid #d6ccbf;border-radius:16px;box-shadow:0 8px 36px #563c2010;scroll-margin-top:24px}
  body[data-report-view="form"] #birth-details>.pad{padding:34px 40px}
  #birth-details .entry-intro{border:0;margin:0 0 20px;padding:0}
  #birth-details .entry-intro .eyebrow{font-size:10px;letter-spacing:.16em;margin:0 0 10px}
  #birth-details .entry-intro h2{font:400 clamp(27px,3vw,34px)/1.2 Georgia,'Times New Roman',serif;margin:0 0 8px;letter-spacing:-.025em}
  #birth-details .entry-intro p:last-of-type{font:400 14px/1.6 Arial,Helvetica,sans-serif;color:#62635b;margin:0}
  #birth-details .entry-intro .report-benefits{display:none}
  #birth-details .required-note{font-size:12px;padding-top:18px;border-top:1px solid #ded5c9;margin:0}
  #birth-details #chartForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 26px;margin-top:15px;align-items:start}
  #birth-details #chartForm>.field{min-width:0;margin:0}
  #birth-details #chartForm>:not(.field){grid-column:1/-1}
  #birth-details #chartForm>p.note:first-child{margin:0;font-size:12px}
  #birth-details #chartForm label{font-size:13px;line-height:1.4}
  #birth-details #chartForm input,#birth-details #chartForm select{border-radius:6px;min-height:46px;background:#fffdf9;font-size:16px}
  #birth-details #chartForm .note,#birth-details #chartForm .field-prompt,#birth-details #chartForm .entry-time-help,#birth-details #chartForm .entry-confirmation{font-size:12px;line-height:1.55}
  #birth-details #chartForm>details{margin:0;border-radius:8px;background:#f4eee4;padding:14px 16px}
  #birth-details #chartForm>button[type=submit]{max-width:360px;justify-self:center;margin:0;min-height:52px}
  #birth-details #chartForm>p.note:last-child{text-align:center;max-width:70ch;margin:0 auto}
  #birth-details #chartForm .chart-status{margin:0;border-radius:0 6px 6px 0;font-size:13px}
  @media(max-width:900px){
    body:has(.jl-entry-copy) .jl-intro{width:calc(100% - 48px);gap:24px;padding:38px 0 34px}
    body .jl-entry-copy h1{font-size:42px}
    .jl-entry-lede{font-size:16px;margin-top:20px}
    .jl-entry-art figcaption{font-size:14px}
    body[data-report-view="form"]:has(.jl-entry-copy) .layout{width:calc(100% - 48px)}
  }
  @media(max-width:640px){
    body[data-report-view="form"]:has(.jl-entry-copy) .saved-readings-toolbar{width:calc(100% - 40px)}
    body:has(.jl-entry-copy) .jl-intro{width:calc(100% - 40px);grid-template-columns:1fr;gap:18px;padding:32px 0 28px}
    body .jl-entry-copy .eyebrow{font-size:10px;margin-bottom:16px}
    body .jl-entry-copy h1{font-size:clamp(36px,9.5vw,48px)}
    .jl-entry-method{font-size:12px;margin-bottom:20px}
    .jl-entry-art{max-width:410px;justify-self:center;width:100%}
    .jl-entry-art img{max-height:245px;object-fit:contain}
    .jl-entry-art figcaption{font-size:14px;margin:-10px 0 0}
    body[data-report-view="form"]:has(.jl-entry-copy) .layout{width:calc(100% - 28px);padding-bottom:32px}
    body[data-report-view="form"] #birth-details>.pad{padding:24px 20px}
    #birth-details #chartForm{grid-template-columns:1fr;gap:20px}
    #birth-details #chartForm>button[type=submit]{max-width:none}
    #birth-details .entry-intro h2{font-size:28px}
  }
}

/* Self-understanding invitation. Form screen only; report/PDF styling is retained. */
@media screen {
  body[data-report-view="form"] .jl-self-invitation {padding:28px;border:1px solid var(--entry-line);border-radius:20px;background:var(--entry-card);text-align:left;box-sizing:border-box}
  body[data-report-view="form"] .jl-self-invitation>img {width:160px;height:80px;max-width:none;max-height:none;margin:0 0 18px;object-fit:contain}
  body[data-report-view="form"] .jl-self-invitation figcaption {margin:0;font:400 15px/1.6 Arial,Helvetica,sans-serif;color:var(--entry-muted)}
  body[data-report-view="form"] .jl-self-invitation h2 {margin:0 0 12px;font:400 clamp(25px,2.4vw,32px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:var(--entry-ink)}
  body[data-report-view="form"] .jl-self-invitation .jl-self-prompt {margin:0 0 8px;font:600 15px/1.5 Arial,Helvetica,sans-serif;color:var(--entry-accent)}
  body[data-report-view="form"] .jl-self-intro {margin:0;font:400 15px/1.6 Arial,Helvetica,sans-serif}
  body[data-report-view="form"] .jl-self-invitation .entry-benefits {gap:16px;padding:22px 0;margin:22px 0 16px;border-color:#e3d9cc}
  body[data-report-view="form"] .jl-self-invitation .entry-benefits>div {min-width:0}
  body[data-report-view="form"] .jl-self-invitation .jl-self-number {display:block;margin-bottom:8px;color:var(--entry-accent);font:500 11px/1.4 Arial,sans-serif;letter-spacing:.08em}
  body[data-report-view="form"] .jl-self-invitation .entry-benefits strong {display:block;margin-bottom:6px;color:var(--entry-ink);font:600 14px/1.35 Arial,sans-serif}
  body[data-report-view="form"] .jl-self-invitation .entry-benefits small {display:block;color:var(--entry-muted);font:400 12px/1.5 Arial,sans-serif}
  body[data-report-view="form"] .jl-self-invitation .jl-entry-about {margin:0 0 14px}
  body[data-report-view="form"] .jl-self-invitation summary {font:400 13px/1.5 Arial,sans-serif;min-height:44px;align-content:center;text-decoration:none}
  body[data-report-view="form"] .jl-self-invitation summary:hover {color:var(--entry-accent);text-decoration:underline}
  body[data-report-view="form"] .jl-self-invitation .jl-entry-start {display:flex;width:100%;min-height:52px;box-sizing:border-box}
  body[data-report-view="form"] .jl-self-invitation .jl-entry-trust {margin:12px 0 0;text-align:center;font:400 12px/1.5 Arial,sans-serif}
  @media(max-width:640px) {
    body[data-report-view="form"] .jl-self-invitation {padding:20px;border-radius:16px;max-width:none}
    body[data-report-view="form"] .jl-self-invitation>img {width:140px;height:70px;margin-bottom:14px}
    body[data-report-view="form"] .jl-self-invitation h2 {font-size:25px}
    body[data-report-view="form"] .jl-self-invitation .jl-self-prompt {font-size:14px}
    body[data-report-view="form"] .jl-self-intro {font-size:14px;line-height:1.5;margin-bottom:18px}
    body[data-report-view="form"] .jl-self-invitation .entry-benefits {display:none}
    body[data-report-view="form"] .jl-self-invitation figcaption {display:flex;flex-direction:column}
    body[data-report-view="form"] .jl-self-invitation .jl-entry-about {order:3;margin:12px 0 0}
    body[data-report-view="form"] .jl-entry-copy .jl-entry-lede {display:none}
  }
}
