.chipak-proforma-choice{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
  padding:14px;
  border:1px solid #d9e0e7;
  border-radius:16px;
  background:#f8fafc;
}
.chipak-proforma-choice[hidden]{display:none!important}
.chipak-proforma-choice button{
  display:flex;
  min-height:76px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:5px;
  padding:14px 16px;
  border:1px solid #cbd5df;
  border-radius:13px;
  background:#fff;
  color:#10283f;
  text-align:right;
  cursor:pointer;
  font:inherit;
  line-height:1.45;
}
.chipak-proforma-choice button:hover,
.chipak-proforma-choice button:focus-visible{
  border-color:#c8953d;
  box-shadow:0 0 0 3px rgba(200,149,61,.14);
  outline:0;
}
.chipak-proforma-choice button strong{font-size:1em;font-weight:800}
.chipak-proforma-choice button small{color:#667486;font-size:.82em}
.chipak-proforma-choice button[data-proforma-review],
.chipak-proforma-choice button[data-advanced-proforma-review]{
  border-color:#10283f;
  background:#10283f;
  color:#fff;
}
.chipak-proforma-choice button[data-proforma-review] small,
.chipak-proforma-choice button[data-advanced-proforma-review] small{color:#ced8e2}
.chipak-proforma-choice button:disabled{cursor:wait;opacity:.64}
.chipak-proforma-help{
  grid-column:1/-1;
  margin:0;
  color:#667486;
  font-size:.82rem;
  line-height:1.75;
}
.cp-request-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
}
[data-chipak-proforma-status]{
  display:block;
  flex-basis:100%;
  color:#475569;
  font-size:.82rem;
}
button[data-chipak-proforma-approved]{
  appearance:none;
  cursor:pointer;
}
@media (max-width:640px){
  .chipak-proforma-choice{grid-template-columns:1fr}
  .chipak-proforma-choice button{min-height:68px}
  .cp-request-actions{align-items:stretch;flex-direction:column}
}
.chipak-proforma-dialog{width:min(720px,calc(100vw - 28px));max-width:720px;max-height:min(90vh,900px);padding:0;border:1px solid #d4dce5;border-radius:18px;color:#18283a;background:#fff;box-shadow:0 24px 80px #07172755}
.chipak-proforma-dialog::backdrop{background:#0b1b2dcc}
.chipak-proforma-dialog form{padding:0 22px 22px;margin:0}
.chipak-proforma-dialog header{display:flex;align-items:center;justify-content:space-between;padding:20px 0;color:#10283f;font-size:1.25rem;font-weight:800;border-bottom:1px solid #e0e5eb}
.chipak-proforma-dialog header button{border:0;background:transparent;color:#526173;font-size:1.8rem;cursor:pointer}
.chipak-proforma-invoice-toggle{display:flex;align-items:center;gap:10px;margin:20px 0 6px;padding:14px;border:1px solid #d4dce5;border-radius:12px;background:#f8fafc;font-weight:700}
.chipak-proforma-invoice-toggle input{width:18px;height:18px;accent-color:#9a6a18}
.chipak-proforma-invoice-toggle strong{margin-inline-start:auto;color:#795212;font-size:.92rem}
.chipak-proforma-help{margin:0 0 14px;color:#586777;font-size:.9rem}
.chipak-proforma-billing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.chipak-proforma-billing[hidden]{display:none}
.chipak-proforma-billing label{display:flex;flex-direction:column;gap:6px;color:#26384b;font-size:.88rem;font-weight:600}
.chipak-proforma-billing label.wide{grid-column:1/-1}
.chipak-proforma-billing input,.chipak-proforma-billing select,.chipak-proforma-billing textarea{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #bcc7d2;border-radius:8px;background:#fff;color:#18283a;font:inherit}
.chipak-proforma-billing input:focus,.chipak-proforma-billing select:focus,.chipak-proforma-billing textarea:focus{outline:2px solid #b7822d;outline-offset:1px}
.chipak-proforma-dialog footer{display:flex;justify-content:flex-start;gap:9px;margin-top:18px;padding-top:15px;border-top:1px solid #e0e5eb}
.chipak-proforma-dialog footer button{padding:10px 16px;border:0;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}
.chipak-proforma-dialog footer .primary{background:#10283f;color:#fff}
.chipak-proforma-dialog footer .secondary{background:#edf1f5;color:#243649}
@media(max-width:540px){.chipak-proforma-billing{grid-template-columns:1fr}.chipak-proforma-billing label.wide{grid-column:auto}.chipak-proforma-dialog form{padding:0 14px 15px}.chipak-proforma-invoice-toggle{flex-wrap:wrap}.chipak-proforma-invoice-toggle strong{margin-inline-start:28px}}

/* 1.4.134: first-screen official-invoice action shared by calculator/product flows. */
.chipak-official-invoice-quick{display:grid;gap:6px;margin-top:10px}
.chipak-official-invoice-quick>button{width:100%;min-height:44px}
.chipak-official-invoice-quick>small{display:block;line-height:1.7}
