:root{
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:#172e3e;
  background:#f4f7fa;
  font-synthesis:none;
  --ink:#172e3e;
  --muted:#5b6e7d;
  --line:#dbe4eb;
  --blue:#135fd3;
  --teal:#087d6a;
  --red:#a8323e;
  --amber:#875704
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
button,input,select{
  font:inherit
}
button,a,input,select{
  outline-offset:4px
}
button,a{
  touch-action:manipulation
}
button{
  cursor:pointer;
  border:0
}
button:disabled{
  opacity:.48;
  cursor:default
}
a{
  color:var(--blue)
}
.topbar{
  max-width:1360px;
  margin:auto;
  padding:24px 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.brand{
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--ink);
  text-decoration:none;
  font-size:18px;
  font-weight:750
}
.brand-mark{
  display:grid;
  place-items:center;
  width:39px;
  height:43px;
  border-radius:12px;
  background:var(--ink);
  color:#fff;
  font-size:26px;
  font-weight:500
}
.brand small{
  display:block;
  font-size:12px;
  font-weight:500;
  letter-spacing:.04em;
  margin-top:3px;
  color:var(--muted)
}
.environment{
  font-size:14px;
  font-weight:600;
  border:1px solid var(--line);
  background:#fff;
  border-radius:24px;
  padding:8px 14px
}
main{
  max-width:1272px;
  margin:auto;
  padding:0 24px
}
.intro{
  padding:64px 10px 48px;
  max-width:820px
}
.eyebrow{
  font-size:13px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--teal);
  font-weight:750;
  margin:0 0 15px
}
h1{
  font-size:clamp(40px,5vw,64px);
  letter-spacing:-.045em;
  line-height:1.08;
  margin:0 0 22px;
  font-weight:750
}
h2{
  font-size:28px;
  letter-spacing:-.025em;
  line-height:1.2;
  margin:0
}
h3{
  font-size:18px;
  margin:0 0 5px
}
h4{
  font-size:18px;
  margin:8px 0
}
.lede{
  font-size:19px;
  line-height:1.65;
  color:var(--muted);
  max-width:650px;
  margin:0
}
.intro-actions{
  display:flex;
  align-items:center;
  gap:24px;
  margin:26px 0 18px
}
.primary,.secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px;
  border-radius:8px;
  font-size:15px;
  font-weight:650;
  line-height:1.3;
  text-decoration:none;
  white-space:nowrap
}
.primary{
  background:var(--blue);
  color:white;
  box-shadow:0 3px 6px #135fd318
}
.primary:hover:enabled{
  background:#084ba9
}
.secondary{
  background:white;
  border:1px solid #cbd8e3;
  color:var(--ink)
}
.secondary:hover:enabled{
  background:#f0f5fa
}
.small-button{
  min-height:36px;
  padding:8px 12px;
  font-size:14px
}
.text-link{
  font-size:15px;
  text-underline-offset:4px;
  font-weight:600
}
.small{
  font-size:13px;
  color:var(--muted);
  line-height:1.6;
  margin:13px 0 0
}
.muted{
  color:var(--muted);
  font-size:14px;
  line-height:1.6
}
.workspace-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:8px 0 22px
}
.workspace-head .eyebrow{
  margin-bottom:9px
}
.step-label{
  font-size:13px;
  color:var(--muted);
  padding-bottom:4px
}
.panel{
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:0 3px 12px #172e3e03
}
.panel-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px
}
.panel-heading p{
  margin:4px 0 0
}
.table-scroll{
  overflow:auto
}
table{
  width:100%;
  border-collapse:collapse;
  text-align:left
}
th{
  font-size:14px;
  color:var(--muted);
  font-weight:650;
  padding:10px 8px;
  line-height:1.4;
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
td{
  padding:12px 8px;
  font-size:14px;
  border-bottom:1px solid #eaf0f5;
  vertical-align:top
}
tr:last-child td{
  border-bottom:0
}
input,select{
  border:1px solid #cad6e0;
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  padding:9px;
  font-size:14px;
  min-height:38px;
  max-width:100%
}
input[type=number]{
  width:90px
}
input[type=checkbox]{
  width:18px;
  min-height:18px;
  accent-color:var(--blue);
  flex-shrink:0
}
.requirements-table input[type=text]{
  min-width:130px;
  width:160px
}
select{
  appearance:none;
  min-width:110px;
  padding-right:30px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235b6e7d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position:right 10px center;
  background-repeat:no-repeat
}
.remove-button{
  font-size:20px;
  color:var(--muted);
  background:transparent;
  padding:6px 10px;
  min-height:38px
}
.remove-button:hover{
  background:#fdf1f2;
  color:var(--red);
  border-radius:6px
}
.upload-label{
  cursor:pointer;
  position:relative;
  overflow:hidden
}
.upload-label:focus-within{
  outline:2px solid var(--blue)
}
.upload-label input{
  position:absolute;
  inset:0;
  opacity:0;
  width:100%;
  cursor:pointer
}
.template-note{
  display:flex;
  gap:18px;
  align-items:flex-start;
  border-radius:8px;
  background:#edf4fb;
  padding:14px 16px;
  font-size:13px;
  line-height:1.6;
  color:#456078
}
.template-note strong{
  color:#284b6a;
  white-space:nowrap
}
.sample-downloads{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  font-size:13px;
  color:var(--muted);
  padding:16px 0
}
.sample-downloads a{
  text-underline-offset:3px
}
.empty{
  text-align:center;
  padding:34px 18px 42px;
  color:var(--muted);
  border:1px dashed #ccd9e4;
  border-radius:8px
}
.empty p{
  font-size:14px;
  margin:8px 0
}
.empty-icon{
  display:inline-grid;
  place-items:center;
  font-size:30px;
  width:48px;
  height:48px;
  background:#eef3f8;
  border-radius:12px;
  color:#6b8195
}
.run-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:20px
}
.review-confirmation{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  line-height:1.5;
  color:var(--muted)
}
details.quote{
  border:1px solid var(--line);
  border-radius:8px;
  margin:10px 0
}
details.quote summary{
  padding:17px 18px;
  cursor:pointer;
  font-size:15px;
  font-weight:650;
  display:list-item;
  margin-left:14px
}
details.quote summary span{
  font-size:13px;
  font-weight:400;
  color:var(--muted);
  margin-left:12px
}
.quote-inner{
  padding:0 18px 18px
}
.quote-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:15px 0
}
.quote-meta label{
  font-size:14px;
  color:var(--muted);
  display:grid;
  gap:6px
}
.quote-meta input{
  max-width:150px
}
.quote-table th{
  white-space:normal
}
.quote-table td{
  min-width:95px
}
.quote-table td:first-child{
  min-width:170px
}
.quote-table input{
  width:100%;
  min-width:70px
}
.source-note{
  display:block;
  font-size:12px;
  line-height:1.4;
  color:var(--muted);
  margin-top:5px
}
.source-button{
  padding:0;
  color:var(--blue);
  background:transparent;
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:3px
}
.quote-controls{
  display:flex;
  justify-content:flex-end;
  margin-top:14px
}
.message{
  padding:14px 18px;
  background:#e9f1fd;
  border:1px solid #c4d8f8;
  border-radius:8px;
  font-size:14px;
  line-height:1.5;
  margin-bottom:20px;
  white-space:pre-line
}
.message.error{
  background:#fff1f2;
  border-color:#f0c7cd;
  color:var(--red)
}
.report{
  padding-top:36px
}
.report-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:22px
}
.report-actions{
  display:flex;
  gap:9px
}
.report-context{
  padding:15px 18px;
  border:1px solid #cdddec;
  background:#edf4fb;
  border-radius:8px;
  line-height:1.6;
  font-size:14px;
  margin-bottom:20px
}
.report-context p{
  margin:0
}
.report-context .small{
  margin-top:6px
}
.result-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:20px 0
}
.result-card{
  padding:23px;
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--teal);
  border-radius:10px
}
.result-card.issue{
  border-top-color:var(--red)
}
.result-card.question,.result-card.review{
  border-top-color:#c68b1b
}
.result-card h3{
  font-size:18px;
  margin:0 0 13px
}
.badge{
  display:inline-block;
  font-size:13px;
  padding:5px 8px;
  border-radius:5px;
  line-height:1.4;
  font-weight:650;
  background:#e6f5ef;
  color:#05634b
}
.badge.issue{
  color:#a32a39;
  background:#fcebee
}
.badge.question,.badge.review{
  color:#805000;
  background:#fff3d9
}
.price{
  font-size:33px;
  font-weight:700;
  letter-spacing:-.04em;
  margin:19px 0 4px
}
.price-label{
  font-size:14px;
  color:var(--muted);
  margin:0 0 16px
}
.cost-row{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:7px 0;
  font-size:14px;
  border-top:1px solid #edf1f5
}
.cost-row strong{
  font-weight:600;
  text-align:right
}
.recurring{
  padding:12px;
  background:#fff8e9;
  border-radius:7px;
  font-size:13px;
  line-height:1.6;
  margin-top:15px
}
.finding-group{
  margin:24px 0
}
.finding-group>h3{
  font-size:20px;
  margin-bottom:14px
}
.finding{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:18px;
  border-bottom:1px solid #e7edf3;
  padding:18px 0
}
.finding:first-child{
  padding-top:0
}
.finding:last-child{
  border:0;
  padding-bottom:0
}
.finding .badge{
  height:max-content;
  width:max-content
}
.finding p{
  margin:0 0 8px;
  font-size:15px;
  line-height:1.6
}
.finding .supplier-question{
  color:var(--muted);
  font-size:14px
}
.questions{
  background:#f6f9fc;
  border-radius:8px;
  padding:18px;
  margin-top:24px
}
.questions h4{
  font-size:15px
}
.questions li,.limitations li{
  font-size:14px;
  line-height:1.7;
  margin:6px 0
}
.questions ol,.limitations ul{
  padding-left:22px;
  margin-bottom:0
}
.all-clear{
  font-size:15px;
  line-height:1.7;
  color:#07674f
}
.limitations{
  background:#f8fafc
}
.limitations h3{
  font-size:16px
}
footer{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:center;
  padding:32px 0;
  margin-top:36px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted)
}
footer strong{
  font-size:13px
}
dialog{
  max-width:680px;
  width:calc(100% - 40px);
  padding:28px;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--ink);
  box-shadow:0 24px 70px #0a213133
}
dialog::backdrop{
  background:#132b3f70
}
.dialog-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-bottom:24px
}
.dialog-head h2{
  font-size:23px
}
.evidence-block{
  margin:18px 0
}
.evidence-block h3{
  font-size:15px
}
.evidence-block p{
  font-size:13px;
  color:var(--muted)
}
pre{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f0f5fa;
  border-radius:8px;
  padding:15px;
  font-size:13px;
  line-height:1.7
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
[hidden]{
  display:none!important
}
@media(max-width:850px){
  .topbar{
    padding:20px 24px
  }
  .intro{
    padding-top:42px
  }
  .step-label{
    display:none
  }
  .result-cards{
    grid-template-columns:1fr
  }
  .template-note{
    display:block
  }
  .template-note strong{
    display:block;
    margin-bottom:6px
  }
  .workspace-head{
    align-items:flex-start
  }
  .panel{
    padding:18px
  }
  .report-header{
    align-items:flex-start;
    flex-direction:column
  }
  .quote-meta{
    gap:10px
  }
  .price{
    font-size:30px
  }
}
@media(max-width:550px){
  main{
    padding:0 16px
  }
  .topbar{
    padding:16px
  }
  .brand{
    font-size:16px
  }
  .environment{
    font-size:12px;
    padding:7px 10px
  }
  .brand small{
    font-size:11px
  }
  .intro{
    padding:36px 0
  }
  .intro-actions{
    align-items:flex-start;
    flex-direction:column;
    gap:18px
  }
  h2{
    font-size:24px
  }
  .panel-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:12px
  }
  .run-bar{
    align-items:stretch;
    flex-direction:column
  }
  .finding{
    grid-template-columns:1fr;
    gap:10px
  }
  .report-actions{
    flex-wrap:wrap
  }
  footer{
    align-items:flex-start;
    flex-direction:column;
    gap:10px
  }
}
@media print{
  body{
    background:#fff
  }
  .topbar,.intro,.workspace,.report-actions,.message,footer,.source-button,dialog{
    display:none!important
  }
  main{
    max-width:none;
    padding:0
  }
  .report{
    padding:0
  }
  .result-cards{
    grid-template-columns:repeat(3,1fr)
  }
  .result-card,.panel,.finding{
    break-inside:avoid;
    box-shadow:none
  }
  .report-context{
    background:#fff
  }
  .small,.muted{
    color:#333
  }
  button{
    display:none
  }
  .report{
    display:block!important
  }
}

nav { display:flex; align-items:center; gap:22px; flex-wrap:wrap; font-size:14px; }
nav a { color:var(--ink); text-underline-offset:4px; }
.scenarios { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 42px; }
.scenario-card { text-align:left; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); padding:22px; transition:border-color .15s,transform .15s; }
.scenario-card:hover { border-color:var(--blue); transform:translateY(-2px); }
.scenario-card strong { display:block; font-size:18px; margin-bottom:10px; }
.scenario-card span { font-size:15px; line-height:1.6; color:var(--muted); }
.requirement-card { padding:18px 0; border-top:1px solid var(--line); }
.requirement-fields { display:grid; grid-template-columns:2fr 100px 2fr auto; gap:14px; align-items:end; margin-bottom:18px; }
.form-field { display:grid; gap:7px; font-size:14px; color:var(--muted); min-width:0; }
.form-field input { width:100%; min-width:0; }
.criterion { display:grid; grid-template-columns:1.3fr 1fr 1.1fr 1.2fr 40px; gap:12px; align-items:end; margin:12px 0; }
.specifications { min-width:210px!important; }
.specifications .form-field { margin:0 0 5px; }
.specifications .source-button { margin-bottom:13px; }
.guide { max-width:1000px; padding-top:54px; }
.guide .panel { margin-top:26px; }
.payment-test-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.payment-test-controls button { width:100%; min-width:0; white-space:normal; }
.payment-test-page #wallet,.payment-test-page #report { overflow-wrap:anywhere; }
.payment-test-page #report { white-space:pre-wrap; }
@media(max-width:550px) { .payment-test-controls { grid-template-columns:1fr; } }
.guide .panel h2 { margin-bottom:18px; font-size:24px; }
.guide p { font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.guide pre { overflow:auto; }
.guide code { font-size:14px; }
.small,.source-note,.brand small,footer { font-size:14px; }
@media(max-width:850px) { .requirement-fields { grid-template-columns:1fr 100px; } .criterion { grid-template-columns:1fr 1fr; border-top:1px solid var(--line); padding-top:16px; } .criterion .remove-button { grid-column:2; justify-self:end; } .scenarios { grid-template-columns:1fr; gap:10px; } .scenario-card { padding:18px; } .topbar { gap:20px; flex-wrap:wrap; } }
@media(max-width:550px) { nav { gap:14px; } .requirement-fields,.criterion { grid-template-columns:1fr; } .criterion .remove-button { grid-column:1; } .guide { padding-top:32px; } .brand small { font-size:13px; } }

.holding-company { display:block; margin-top:6px; color:var(--muted); font-size:14px; font-weight:400; }
