:root{
  --ink:#172f28;
  --green:#194f3f;
  --green-deep:#103e30;
  --lime:#d9f65f;
  --paper:#f7f8f2;
  --white:#fff;
  --muted:#65746c;
  --line:#dce3d8;
  --red:#a72f40;
  --radius:20px;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:28px
}
body{
  margin:0
}
a{
  color:inherit;
  text-underline-offset:4px
}
button,input,select{
  font:inherit
}
button,a,input,select,summary{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
button:disabled{
  cursor:wait;
  opacity:.65
}
a,button,input,select,summary{
  outline-offset:5px
}
:focus-visible{
  outline:3px solid #298966
}
::selection{
  background:var(--lime);
  color:var(--green)
}
h1,h2,h3,p{
  margin:0
}
h1{
  letter-spacing:-.065em;
  line-height:1.03;
  font-weight:760
}
h2{
  letter-spacing:-.035em;
  font-size:28px;
  line-height:1.2
}
h3{
  letter-spacing:-.02em;
  font-size:20px
}
p{
  line-height:1.55
}
.wrap{
  width:min(1280px,calc(100% - 96px));
  margin-inline:auto
}
.wrap-narrow{
  width:min(600px,calc(100% - 40px));
  margin-inline:auto
}
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:108px;
  gap:20px
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  letter-spacing:-1px;
  text-decoration:none;
  font-weight:800
}
.brand-light{
  font-weight:450
}
.brand-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:var(--lime);
  width:37px;
  height:37px;
  border-radius:11px;
  font-size:24px;
  letter-spacing:-3px;
  padding-right:3px
}
.brand-mark span{
  font-style:italic
}
.header-note{
  font-size:13px;
  color:var(--muted)
}
.hero{
  display:grid;
  grid-template-columns:1fr 490px;
  gap:64px;
  align-items:start;
  padding-block:42px 64px
}
.eyebrow{
  font-size:11px;
  font-weight:750;
  letter-spacing:.15em;
  color:var(--green);
  line-height:1.5
}
.dot{
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--green);
  border-radius:50%;
  margin-right:7px;
  vertical-align:1px
}
.hero h1{
  font-size:clamp(54px,5.4vw,78px);
  margin:24px 0 25px
}
.hero h1 em{
  font-style:normal;
  display:inline;
  box-shadow:inset 0 -.32em var(--lime)
}
.hero-description{
  font-size:20px;
  max-width:465px;
  letter-spacing:-.02em
}
.benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:23px
}
.benefits span{
  font-size:11px;
  font-weight:550;
  border:1px solid var(--line);
  border-radius:30px;
  padding:7px 10px
}
.document-motif{
  position:relative;
  margin-top:42px;
  background:var(--green);
  color:var(--white);
  padding:24px 26px;
  border-radius:4px 28px 4px 4px;
  max-width:464px;
  transform:rotate(-2deg)
}
.motif-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#b9cfc1;
  font-size:9px;
  font-weight:650;
  letter-spacing:.12em
}
.motif-arrow{
  font-size:33px;
  line-height:.5;
  color:var(--lime)
}
.motif-title{
  margin-top:17px;
  font-size:27px;
  font-weight:650;
  line-height:1.12;
  letter-spacing:-.04em
}
.motif-timeline{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:30px;
  height:12px;
  background:linear-gradient(transparent 5px,#8ea991 5px,#8ea991 7px,transparent 7px)
}
.motif-timeline i{
  display:block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  border:2px solid #9fbea9
}
.motif-timeline i:last-child{
  width:12px;
  height:12px;
  border-color:var(--lime);
  background:var(--lime);
  box-shadow:0 0 0 6px #d9f65f20
}
.motif-bottom{
  margin-top:17px;
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:#c5d6c9
}
.motif-bottom b{
  font-size:10px;
  letter-spacing:.1em;
  color:var(--lime)
}
.upload-panel{
  padding:34px;
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:0 18px 60px #183e2710;
  border:1px solid #e9eddf
}
.upload-panel h2{
  margin:10px 0;
  font-size:28px
}
.muted{
  color:var(--muted)
}
.small{
  font-size:12px
}
.upload-panel>.muted{
  font-size:14px
}
.upload-form{
  margin-top:27px
}
label{
  display:flex;
  flex-direction:column;
  gap:9px;
  font-size:12px;
  font-weight:650;
  line-height:1.35;
  min-width:0
}
input,select{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  background:#fcfdf9;
  color:var(--ink);
  border-radius:9px;
  padding:14px 12px;
  line-height:1.3;
  min-height:47px;
  font-size:14px;
  transition:border-color .15s
}
input::placeholder{
  color:#8d998f;
  opacity:1
}
input:focus,select:focus{
  border-color:#3e8969;
  background:var(--white)
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-block:17px
}
.file-zone{
  position:relative;
  display:flex;
  align-items:center;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  min-height:170px;
  border:1.5px dashed #aec69d;
  border-radius:12px;
  background:#f6faee;
  transition:background .15s,border-color .15s;
  margin-top:23px;
  padding:16px
}
.file-zone input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
  height:100%
}
.file-zone:focus-within,.file-zone.dragging{
  outline:3px solid #298966;
  outline-offset:3px;
  background:#edf6d5
}
.upload-symbol{
  font-size:26px;
  color:var(--green);
  background:var(--white);
  width:43px;
  height:43px;
  border:1px solid #dbe5cc;
  border-radius:13px;
  line-height:40px;
  margin-bottom:11px
}
.file-zone label{
  font-size:14px;
  display:block;
  color:var(--green);
  cursor:pointer
}
.file-zone label span{
  font-weight:450
}
.file-zone p{
  font-size:10px;
  color:var(--muted);
  margin-top:9px
}
.file-summary{
  font-size:12px;
  color:var(--green);
  margin-top:10px;
  overflow-wrap:anywhere
}
.file-summary:empty{
  display:none
}
.file-summary ul{
  margin:6px 0;
  padding-left:18px;
  max-height:105px;
  overflow:auto
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  border:1px solid transparent;
  border-radius:9px;
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  padding:14px 20px;
  min-height:48px;
  line-height:1.35;
  transition:background .15s,transform .15s
}
.button:hover{
  transform:translateY(-1px)
}
.button.primary{
  background:var(--green);
  color:var(--white)
}
.button.primary:hover{
  background:var(--green-deep)
}
.button.primary>span[aria-hidden]{
  font-size:22px;
  line-height:1
}
.button.secondary{
  background:transparent;
  border-color:#bdcdbf;
  color:var(--green)
}
.button.secondary:hover{
  background:#eaf0e2
}
.button.full{
  width:100%;
  justify-content:space-between
}
.upload-form>.button{
  margin-top:20px;
  background:var(--lime);
  color:var(--green-deep);
  font-size:16px;
  min-height:54px
}
.upload-form>.button:hover{
  background:#ceef49
}
.form-footnote{
  font-size:10px;
  text-align:center;
  color:var(--muted);
  margin-top:14px;
  padding-inline:12px
}
.how{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:46px;
  border-top:1px solid var(--line);
  padding-block:36px 52px
}
.how>div{
  position:relative;
  padding-left:41px
}
.step-number{
  position:absolute;
  left:0;
  top:0;
  font-size:11px;
  color:var(--green);
  border:1px solid var(--line);
  border-radius:50%;
  width:28px;
  height:28px;
  display:grid;
  place-items:center
}
.how h3{
  font-size:16px;
  padding-top:3px
}
.how p{
  font-size:12px;
  color:var(--muted);
  margin-top:10px;
  max-width:270px
}
.site-footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:24px 0 28px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted)
}
.notice{
  padding:17px 20px;
  margin-block:18px;
  background:#f2f4d8;
  border:1px solid #d9e1af;
  border-radius:10px;
  color:#4c591d;
  font-size:13px
}
.notice.error{
  background:#fff0ef;
  border-color:#f2c5c6;
  color:var(--red)
}
.status-card{
  margin-top:70px;
  margin-bottom:100px;
  text-align:center;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:24px;
  padding:46px
}
.status-icon{
  display:inline-flex;
  width:62px;
  height:62px;
  align-items:center;
  justify-content:center;
  border-radius:19px;
  background:var(--lime);
  color:var(--green);
  font-size:30px;
  margin-bottom:24px
}
.status-card h1{
  font-size:48px;
  margin-top:14px
}
.status-card p:not(.eyebrow){
  margin-block:24px
}
.status-card .button{
  margin-top:30px
}
.status-card .small{
  margin:18px 0 0!important
}
.ops-body{
  background:#f5f7f2
}
.access-badge{
  font-size:12px;
  font-weight:600;
  background:#e4eddf;
  border-radius:30px;
  padding:8px 14px;
  color:var(--green)
}
.back-link{
  font-size:13px;
  text-decoration:none
}
.ops-main{
  padding:35px 0 70px
}
.page-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:32px;
  margin-bottom:30px
}
.page-heading h1{
  font-size:45px;
  margin-block:10px 14px;
  overflow-wrap:anywhere
}
.page-heading p.muted{
  font-size:13px
}
.count-bubble{
  display:inline-block;
  font-size:20px;
  vertical-align:7px;
  padding:5px 11px;
  border-radius:100px;
  background:var(--lime);
  margin-left:16px;
  letter-spacing:0
}
.page-heading>.button{
  margin-top:35px
}
.panel{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px
}
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch
}
table{
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:12px
}
th{
  font-size:10px;
  letter-spacing:.06em;
  text-transform:uppercase;
  background:#eff3e9;
  color:var(--muted);
  font-weight:700;
  padding:15px 17px;
  white-space:nowrap
}
td{
  padding:17px;
  vertical-align:top;
  border-top:1px solid #e9ede4;
  max-width:320px;
  overflow-wrap:anywhere
}
td:first-child{
  min-width:175px
}
td a{
  overflow-wrap:anywhere
}
.case-list td{
  white-space:nowrap;
  vertical-align:middle
}
.table-sub{
  display:block;
  font-size:10px;
  font-weight:450;
  color:var(--muted);
  margin-top:6px;
  max-width:230px
}
.patient-name{
  font-weight:650;
  text-decoration:none;
  font-size:15px
}
.patient-name:hover{
  text-decoration:underline
}
.badge{
  display:inline-block;
  font-size:10px;
  font-weight:650;
  white-space:nowrap;
  border-radius:30px;
  padding:6px 10px;
  line-height:1.2
}
.badge.new{
  background:#edf0ea;
  color:var(--muted)
}
.badge.extracting{
  background:#edf1ff;
  color:#485f9c
}
.badge.review{
  background:#f2edc7;
  color:#736110
}
.badge.issued{
  background:#dfeddc;
  color:#1b6744
}
#case-status{
  margin-top:16px
}
.row-arrow{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--lime);
  font-size:20px;
  text-decoration:none
}
.issue-count{
  color:var(--red);
  font-weight:700
}
.empty{
  padding:60px 30px;
  text-align:center
}
.empty p{
  margin-top:15px
}
.empty .button{
  margin-top:25px
}
.empty-small{
  padding:28px;
  font-size:14px
}
.issue-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
  flex-shrink:0;
  padding-top:17px
}
.issue-actions form .button{
  width:100%
}
.issue-actions .small{
  text-align:center
}
.share-panel{
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px 25px;
  background:#e7eedd;
  border:1px solid #dce5cf;
  border-radius:12px
}
.share-panel>div{
  flex:1;
  min-width:0
}
.share-panel .eyebrow{
  font-size:9px;
  margin-bottom:7px
}
.share-panel a{
  font-size:12px;
  overflow-wrap:anywhere
}
.share-panel .button{
  flex-shrink:0;
  font-size:12px
}
.share-panel [data-copy-status]:empty{
  display:none
}
.section-tabs{
  display:flex;
  gap:32px;
  border-bottom:1px solid var(--line);
  padding:24px 0 17px;
  margin-bottom:36px
}
.section-tabs a{
  font-size:13px;
  text-decoration:none
}
.section-tabs b{
  font-size:10px;
  background:#e7eddf;
  padding:3px 6px;
  border-radius:4px;
  margin-left:5px
}
.case-section{
  margin-top:40px
}
.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px
}
.section-heading h2{
  font-size:24px
}
.files-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:16px
}
.file-card{
  display:block;
  overflow:hidden;
  background:var(--white);
  border-radius:12px;
  border:1px solid var(--line);
  text-decoration:none
}
.file-card:hover{
  border-color:var(--green)
}
.file-preview{
  height:195px;
  background:#e8eee1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:13px;
  gap:12px
}
.file-preview img{
  height:100%;
  max-width:100%;
  object-fit:contain;
  box-shadow:0 2px 8px #1c42201a
}
.file-type{
  font-size:28px;
  font-weight:750;
  letter-spacing:-.03em;
  color:var(--green)
}
.file-caption{
  padding:15px
}
.file-caption strong{
  display:block;
  font-size:11px;
  overflow-wrap:anywhere;
  line-height:1.5;
  margin-bottom:6px
}
.file-caption .small{
  font-size:10px
}
.reference-cell{
  font-size:11px;
  min-width:140px;
  max-width:290px
}
.flagged{
  color:var(--red);
  font-weight:700
}
.operator-label{
  color:var(--green);
  font-weight:700
}
.small-button{
  font-size:12px;
  min-height:38px;
  padding:9px 12px
}
.issue{
  margin-bottom:14px
}
.issue>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  cursor:pointer;
  padding:19px 22px;
  font-size:12px;
  overflow-wrap:anywhere;
  list-style:none
}
.issue>summary::-webkit-details-marker{
  display:none
}
.issue>summary .badge{
  margin-right:10px
}
.issue[open]>summary{
  border-bottom:1px solid var(--line)
}
.issue-body{
  padding:22px
}
.issue-body>p{
  font-size:12px
}
.raw-text{
  background:#f4f6ef;
  border-left:3px solid #9bab8c;
  padding:15px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-family:ui-monospace,SFMono-Regular,monospace;
  font-size:11px;
  line-height:1.65;
  max-height:280px;
  overflow:auto
}
.entry-grid{
  display:grid;
  grid-template-columns:1.4fr 1.3fr .8fr 1fr;
  gap:15px;
  margin-block:20px
}
.entry-form input,.entry-form select{
  font-size:12px;
  min-height:42px;
  padding:11px
}
.extra-fields summary{
  font-size:12px;
  color:var(--green);
  cursor:pointer;
  padding-block:7px
}
.entry-actions{
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  margin-top:18px
}
.manual-panel{
  padding:26px
}
.manual-panel>p{
  font-size:13px;
  margin-top:10px
}
.skip-link{
  position:absolute;
  left:20px;
  top:-100px;
  padding:12px;
  background:var(--green);
  color:white;
  z-index:10
}
.skip-link:focus{
  top:10px
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.htmx-request{
  opacity:.75
}
@media(min-width:1500px){
  .hero{
    gap:100px;
    grid-template-columns:1fr 510px
  }
}
@media(max-width:1050px){
  .wrap{
    width:calc(100% - 48px)
  }
  .hero{
    grid-template-columns:1fr 440px;
    gap:35px;
    padding-top:20px
  }
  .hero h1{
    font-size:58px
  }
  .upload-panel{
    padding:26px
  }
  .hero-description{
    font-size:18px
  }
  .document-motif{
    margin-top:35px
  }
  .entry-grid{
    grid-template-columns:1fr 1fr
  }
  .site-header{
    height:90px
  }
}
@media(max-width:820px){
  .hero{
    grid-template-columns:1fr;
    gap:35px;
    max-width:610px
  }
  .hero h1{
    font-size:66px
  }
  .hero-description{
    max-width:510px
  }
  .document-motif{
    display:none
  }
  .benefits{
    margin-top:20px
  }
  .upload-panel{
    padding:32px
  }
  .how{
    gap:24px
  }
  .how>div{
    padding-left:0
  }
  .step-number{
    position:static;
    margin-bottom:14px
  }
  .page-heading{
    flex-direction:column;
    gap:8px
  }
  .page-heading h1{
    font-size:40px
  }
  .page-heading>.button{
    margin-top:6px
  }
  .issue-actions{
    flex-direction:row;
    flex-wrap:wrap;
    padding-top:5px;
    align-items:center
  }
  .share-panel{
    flex-wrap:wrap
  }
  .share-panel>div{
    flex-basis:100%
  }
  .section-heading{
    align-items:flex-start
  }
  .section-heading .small{
    max-width:200px
  }
  .entry-actions{
    flex-wrap:wrap
  }
  .site-footer{
    font-size:9px
  }
  .header-note{
    font-size:11px
  }
}
@media(max-width:540px){
  .wrap{
    width:calc(100% - 36px)
  }
  .site-header{
    height:78px
  }
  .brand{
    font-size:20px
  }
  .brand-mark{
    width:33px;
    height:33px;
    font-size:22px
  }
  .header-note{
    display:none
  }
  .hero{
    padding:27px 0 36px;
    gap:32px
  }
  .hero h1{
    font-size:53px;
    letter-spacing:-.066em;
    margin-top:20px;
    margin-bottom:23px
  }
  .hero-description{
    font-size:18px;
    max-width:340px
  }
  .benefits{
    gap:6px
  }
  .benefits span{
    font-size:10px;
    padding:6px 8px
  }
  .upload-panel{
    padding:25px 20px;
    border-radius:16px
  }
  .upload-panel h2{
    font-size:25px
  }
  .upload-panel>.muted{
    font-size:13px
  }
  .upload-form{
    margin-top:25px
  }
  input,select,.entry-form input,.entry-form select{
    font-size:16px;
    padding:13px 10px
  }
  .form-grid{
    gap:12px
  }
  label{
    font-size:11px
  }
  .file-zone{
    min-height:178px
  }
  .file-zone label{
    font-size:13px
  }
  .file-zone label span{
    display:block;
    margin-top:4px
  }
  .form-footnote{
    font-size:10px
  }
  .how{
    grid-template-columns:1fr;
    gap:27px;
    padding-block:28px
  }
  .how>div{
    padding-left:43px
  }
  .step-number{
    position:absolute
  }
  .how h3{
    font-size:16px
  }
  .how p{
    margin-top:6px;
    font-size:12px;
    max-width:100%
  }
  .site-footer{
    display:block;
    font-size:10px
  }
  .site-footer>span{
    display:block;
    margin-bottom:7px
  }
  .status-card{
    padding:30px 24px;
    margin-top:40px
  }
  .status-card h1{
    font-size:38px
  }
  .status-card p{
    font-size:14px
  }
  .status-card .button{
    font-size:13px
  }
  .page-heading h1{
    font-size:35px
  }
  .ops-main{
    padding-top:22px
  }
  .section-tabs{
    gap:17px
  }
  .section-tabs a{
    font-size:11px
  }
  .section-heading h2{
    font-size:21px
  }
  .section-heading>.small{
    display:none
  }
  .files-grid{
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .file-preview{
    height:162px
  }
  .file-caption{
    padding:10px
  }
  .issue>summary{
    padding:16px;
    font-size:11px;
    line-height:1.8
  }
  .issue>summary .badge{
    margin-bottom:8px
  }
  .issue-body{
    padding:16px
  }
  .entry-grid{
    grid-template-columns:1fr
  }
  .entry-actions>.button{
    width:100%
  }
  .manual-panel{
    padding:20px
  }
  .share-panel{
    padding:18px
  }
  .share-panel .button{
    width:100%
  }
  .issue-actions,.issue-actions form{
    width:100%
  }
  .issue-actions .button{
    flex:1
  }
  .back-link{
    font-size:11px
  }
  .count-bubble{
    font-size:15px;
    vertical-align:5px
  }
  .reference-cell{
    min-width:140px
  }
  td,th{
    padding:12px
  }
  .empty{
    padding:35px 20px
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*::before,*::after{
    transition:none!important;
    animation:none!important
  }
}
