/* Advanced PCB Inquiry Form — v1.0.0 */
/* Quote type  */





























.apcb-wrap *, .apcb-wrap *::before, .apcb-wrap *::after { box-sizing: border-box; }
.apcb-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1d2939;
  background: #f4f7ff;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ── HEADER ── */
.apcb-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 36px 40px;
  background: #1677ff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.apcb-header::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.apcb-header h1 { margin: 0; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: .5px; position: relative; }
.apcb-header p { color: rgba(255,255,255,.82); font-size: 16px; margin: 8px 0 0; position: relative; }
.apcb-steps { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; margin-top: 22px; }
.apcb-step { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 16px; font-weight: 500; }
.apcb-step-n { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.8); flex-shrink: 0; }
.apcb-step.on { color: #fff; }
.apcb-step.on .apcb-step-n { background: #fff; color: #0958d9; }
.apcb-step-sep { width: 40px; height: 1px; background: rgba(255,255,255,.28); margin: 0 6px; flex-shrink: 0; }

/* ── LAYOUT ── */
.apcb-layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }

/* ── CARD ── */
.apcb-card {
  background: #fff; border-radius: 12px;
  border: 1px solid #dde3f0;
  box-shadow: 0 2px 8px rgba(22,119,255,.08);
  overflow: hidden; margin-bottom: 20px;
}
.apcb-card-head {
  background: #e6f4ff;
  border-bottom: 2px solid #1677ff;
  padding: 15px 22px;
  display: flex; align-items: center; gap: 12px;
}
.apcb-card-ico {
  width: 32px; height: 32px; background: #1677ff;
  border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.apcb-card-ico svg { fill: #fff; width: 17px; height: 17px; display: block; }
.apcb-card-head h2 { font-size: 17px; font-weight: 700; color: #0958d9; margin: 0; letter-spacing: .2px; }
.apcb-card-sub { font-size: 14px; color: #667085; margin-top: 2px; }
.apcb-card-body { padding: 22px; }

/* ── UPLOAD ── */
.apcb-upload-zone {
  border: 2px dashed #91caff; border-radius: 8px;
  padding: 28px 20px; text-align: center; cursor: pointer;
  transition: all .22s; background: #f4f7ff;
}
.apcb-upload-zone:hover, .apcb-upload-zone.drag-over { border-color: #1677ff; background: #e6f4ff; }
.apcb-upload-ico {
  width: 50px; height: 50px;
  background: #1677ff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; box-shadow: 0 4px 16px rgba(22,119,255,.18);
}
.apcb-upload-ico svg { fill: #fff; width: 24px; height: 24px; display: block; }
.apcb-upload-zone h3 { font-size: 17px; font-weight: 700; color: #1d2939; margin: 0 0 6px; }
.apcb-upload-zone p { font-size: 16px; color: #667085; margin: 0 0 6px; }
.apcb-upload-limit { display: inline-block; background: #e6f4ff; border: 1px solid #91caff; color: #0958d9; font-size: 14px; font-weight: 600; padding: 3px 12px; border-radius: 20px; margin-top: 6px; }
.apcb-upload-btn { display: inline-block; background: #1677ff; color: #fff; font-size: 16px; font-weight: 600; padding: 9px 24px; border-radius: 6px; margin-top: 14px; cursor: pointer; transition: background .2s; }
.apcb-upload-btn:hover { background: #0958d9; }
#apcb-file-input { display: none; }
.apcb-file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.apcb-file-row { display: flex; align-items: center; gap: 10px; background: #e6f4ff; border: 1px solid #91caff; border-radius: 6px; padding: 8px 12px; }
.apcb-file-ico { width: 28px; height: 28px; background: #1677ff; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.apcb-file-ico svg { fill: #fff; width: 14px; height: 14px; }
.apcb-file-name { flex: 1; font-size: 16px; color: #1d2939; font-weight: 500; word-break: break-all; }
.apcb-file-sz { font-size: 14px; color: #667085; flex-shrink: 0; }
.apcb-file-del { width: 20px; height: 20px; border-radius: 50%; background: rgba(224,53,53,.12); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; padding: 0; }
.apcb-file-del:hover { background: rgba(224,53,53,.25); }
.apcb-file-del svg { fill: #e03535; width: 10px; height: 10px; }

/* ── FORM ELEMENTS ── */
.apcb-grid { display: grid; gap: 18px; }
.apcb-g2 { grid-template-columns: 1fr 1fr; }
.apcb-g3 { grid-template-columns: 1fr 1fr 1fr; }
.apcb-span2 { grid-column: span 2; }
.apcb-span3 { grid-column: span 3; }
.apcb-fg { display: flex; flex-direction: column; gap: 7px; }
.apcb-label { font-size: 16px; font-weight: 600; color: #344054; display: flex; align-items: center; gap: 5px; }
.apcb-req { color: #e03535; font-size: 16px; line-height: 1; }
.apcb-tip { width: 16px; height: 16px; background: #91caff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #0958d9; cursor: help; flex-shrink: 0; position: relative; }
.apcb-tip:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: rgba(16,24,40,.9); color: #fff; font-size: 14px; padding: 6px 10px; border-radius: 5px; white-space: normal; text-align: center; z-index: 9999; max-width: 220px; font-weight: 400; pointer-events: none; }

.apcb-wrap input[type="text"],
.apcb-wrap input[type="number"],
.apcb-wrap input[type="email"],
.apcb-wrap select,
.apcb-wrap textarea {
  width: 100%; padding: 9px 13px;
  border: 1.5px solid #dde3f0; border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; color: #1d2939; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none; appearance: none; -webkit-appearance: none; margin: 0; box-shadow: none;
}
.apcb-wrap input:focus, .apcb-wrap select:focus, .apcb-wrap textarea:focus {
  border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22,119,255,.14);
}
.apcb-wrap select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231677ff' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 34px; cursor: pointer;
}
.apcb-wrap textarea { resize: vertical; min-height: 88px; }
.apcb-wrap input[type="number"] { -moz-appearance: textfield; }
.apcb-wrap input[type="number"]::-webkit-outer-spin-button,
.apcb-wrap input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

.apcb-input-unit { display: flex; align-items: stretch; border: 1.5px solid #dde3f0; border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.apcb-input-unit:focus-within { border-color: #1677ff; box-shadow: 0 0 0 3px rgba(22,119,255,.14); }
.apcb-input-unit input { border: none !important; box-shadow: none !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.apcb-unit { background: #f4f7ff; padding: 9px 12px; font-size: 16px; font-weight: 600; color: #667085; border-left: 1px solid #dde3f0; flex-shrink: 0; display: flex; align-items: center; }

/* ── BUTTON GROUPS ── */
.apcb-btns { display: flex; flex-wrap: wrap; gap: 7px; }
.apcb-btn {
  padding: 7px 15px; border: 1.5px solid #dde3f0; border-radius: 6px;
  background: #fff; color: #344054;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all .18s; white-space: nowrap;
}
.apcb-btn:hover { border-color: #1677ff; color: #1677ff; background: #e6f4ff; }
.apcb-btn.on { border-color: #1677ff; background: #1677ff; color: #fff; box-shadow: 0 2px 8px rgba(22,119,255,.2); }

/* ── LAYERS GRID ── */
.apcb-layers-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.apcb-layer-btn {
  width: 44px; height: 36px;
  border: 1.5px solid #dde3f0; border-radius: 6px;
  background: #fff; color: #344054;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.apcb-layer-btn:hover { border-color: #1677ff; color: #1677ff; }
.apcb-layer-btn.on { border-color: #1677ff; background: #1677ff; color: #fff; }

/* ── TYPE CARDS ── */
.apcb-type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apcb-type-card {
  border: 2px solid #dde3f0; border-radius: 10px;
  padding: 18px 16px; cursor: pointer; transition: all .2s; background: #fff; text-align: center;
}
.apcb-type-card:hover { border-color: #1677ff; background: #e6f4ff; }
.apcb-type-card.on { border-color: #1677ff; background: #e6f4ff; box-shadow: 0 4px 16px rgba(22,119,255,.18); }
.apcb-type-card-ico { width: 40px; height: 40px; background: #f4f7ff; border: 1px solid #dde3f0; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; transition: all .2s; }
.apcb-type-card-ico svg { fill: #0958d9; width: 22px; height: 22px; }
.apcb-type-card.on .apcb-type-card-ico { background: #1677ff; border-color: #1677ff; }
.apcb-type-card.on .apcb-type-card-ico svg { fill: #fff; }
.apcb-type-card-title { font-size: 16px; font-weight: 700; color: #1d2939; margin-bottom: 4px; }
.apcb-type-card.on .apcb-type-card-title { color: #0958d9; }
.apcb-type-card-desc { font-size: 14px; color: #667085; line-height: 1.5; }
.apcb-type-card-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #dde3f0; margin: 10px auto 0; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.apcb-type-card.on .apcb-type-card-check { background: #1677ff; border-color: #1677ff; }
.apcb-type-card.on .apcb-type-card-check::after { content: ''; display: block; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }

/* ── SIZE ROW ── */
.apcb-size-row { display: flex; align-items: center; gap: 8px; }
.apcb-size-row .apcb-input-unit { flex: 1; }
.apcb-size-x { color: #667085; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.apcb-unit-toggle { display: flex; background: #f4f7ff; border: 1px solid #dde3f0; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.apcb-unit-toggle button { padding: 8px 14px; border: none; background: transparent; font-size: 14px; font-weight: 600; color: #667085; cursor: pointer; transition: all .15s; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.apcb-unit-toggle button.on { background: #1677ff; color: #fff; }

/* ── PANEL OPTS ── */
.apcb-panel-opts { background: #f4f7ff; border: 1px solid #dde3f0; border-radius: 8px; padding: 16px; display: none; margin-top: 10px; }
.apcb-panel-opts.show { display: block; }

/* ── HDI OPTS ── */
.apcb-hdi-opts { display: none; }
.apcb-hdi-opts.show { display: block; }

/* ── MATERIAL SUB-OPTIONS ── */
.apcb-mat-sub { display: none; }
.apcb-mat-sub.show { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }

/* ── DIVIDER ── */
.apcb-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; }
.apcb-divider span { font-size: 14px; font-weight: 700; color: #0958d9; white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.apcb-divider::before, .apcb-divider::after { content: ''; flex: 1; height: 1px; background: #91caff; }

/* ── NOTE ── */
.apcb-note { background: #fffbe6; border: 1px solid #ffe58f; border-radius: 8px; padding: 11px 14px; font-size: 14px; color: #7c5e00; line-height: 1.6; margin-top: 10px; display: flex; align-items: flex-start; gap: 9px; }
.apcb-note svg { fill: #c68a00; width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── SUBMIT BAR ── */
.apcb-submit-bar { background: #1677ff; border-radius: 12px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.apcb-agree-wrap { flex: 1; }
.apcb-agree-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 8px; }
.apcb-agree-row input[type="checkbox"] { width: 15px; height: 15px; margin-top: 2px; accent-color: #4096ff; flex-shrink: 0; border: none; box-shadow: none; padding: 0; }
.apcb-agree-row label { font-size: 14px; color: rgba(255,255,255,.85); cursor: pointer; line-height: 1.5; }
.apcb-agree-row label a { color: #4096ff; }
.apcb-agree-note { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.5; }
.apcb-submit-btn { padding: 13px 34px; background: #1677ff; color: #fff; border: none; border-radius: 8px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: .4px; cursor: pointer; transition: all .22s; box-shadow: 0 4px 20px rgba(64,150,255,.35); white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.apcb-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(64,150,255,.48); }
.apcb-submit-btn svg { fill: #fff; width: 18px; height: 18px; }

/* ── NOTICE ── */
.apcb-notice { padding: 12px 16px; border-radius: 6px; font-size: 16px; font-weight: 500; margin-bottom: 14px; display: none; }
.apcb-notice.err { background: #fff2f2; border: 1px solid #ffccc7; color: #cf1322; display: block; }

/* ── SIDEBAR ── */
.apcb-sidebar { position: sticky; top: 24px; }
.apcb-sum-card { background: #fff; border-radius: 12px; border: 1px solid #dde3f0; box-shadow: 0 4px 20px rgba(22,119,255,.1); overflow: hidden; }
.apcb-sum-head { background: #1677ff; padding: 15px 18px; display: flex; align-items: center; gap: 10px; }
.apcb-sum-head svg { fill: #fff; width: 20px; height: 20px; }
.apcb-sum-head h3 { font-size: 16px; font-weight: 700; color: #fff; margin: 0; }
.apcb-sum-body { padding: 16px; }
.apcb-sum-sec { margin-bottom: 14px; }
.apcb-sum-sec-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #1677ff; border-bottom: 1px solid #91caff; padding-bottom: 5px; margin-bottom: 8px; }
.apcb-sum-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; padding: 4px 0; border-bottom: 1px dashed #dde3f0; }
.apcb-sum-row:last-child { border-bottom: none; }
.apcb-sum-k { font-size: 14px; color: #667085; flex-shrink: 0; max-width: 105px; }
.apcb-sum-v { font-size: 14px; font-weight: 600; color: #1d2939; text-align: right; word-break: break-all; }
.apcb-sum-v.hi { color: #1677ff; }
em.apcb-em { font-style: italic; font-weight: 400; color: #ccc; font-size: 14px; }
.apcb-help-box { background: #f4f7ff; border: 1px solid #dde3f0; border-radius: 8px; padding: 13px; margin-top: 14px; font-size: 14px; color: #667085; line-height: 1.65; }
.apcb-help-box strong { color: #0958d9; }
.apcb-help-box a { color: #1677ff; text-decoration: none; }
.apcb-help-box a:hover { text-decoration: underline; }

/* ── MODAL ── */
.apcb-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.52); z-index: 99999; align-items: center; justify-content: center; padding: 20px; }
.apcb-modal-overlay.show { display: flex; }
.apcb-modal-box { background: #fff; border-radius: 12px; border: 1px solid #e0e0e0; width: 100%; max-width: 460px; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; animation: apcbIn .28s ease; }
@keyframes apcbIn { from { transform: scale(.88) translateY(12px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.apcb-modal-head { background: #1677ff; padding: 30px 28px 22px; text-align: center; position: relative; }
.apcb-modal-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; color: #fff; font-size: 18px; font-weight: 400; line-height: 1; transition: background .18s; }
.apcb-modal-x:hover { background: rgba(255,255,255,.32); }
.apcb-modal-check { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.apcb-modal-check svg { fill: #fff; width: 30px; height: 30px; }
.apcb-modal-title { margin: 0; font-size: 22px; font-weight: 700; color: #fff; }
.apcb-modal-sub { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.78); }
.apcb-modal-body { padding: 22px 26px 26px; }
.apcb-modal-msg { margin: 0 0 18px; font-size: 16px; color: #4a5568; line-height: 1.65; }
.apcb-modal-msg strong { color: #0958d9; font-weight: 600; }
.apcb-modal-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.apcb-modal-step { display: flex; align-items: flex-start; gap: 12px; }
.apcb-step-dot { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #e6f4ff; border: 1px solid #91caff; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.apcb-step-dot svg { fill: #0958d9; width: 15px; height: 15px; }
.apcb-step-t { margin: 0 0 2px; font-size: 14px; font-weight: 600; color: #1a202c; }
.apcb-step-d { margin: 0; font-size: 14px; color: #718096; line-height: 1.5; }
.apcb-modal-hr { border-top: 1px solid #e8edf2; margin-bottom: 18px; }
.apcb-modal-close { width: 100%; padding: 11px; border-radius: 8px; background: #1677ff; border: none; cursor: pointer; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 600; color: #fff; transition: background .2s; }
.apcb-modal-close:hover { background: #0958d9; }

/* ── SPEC BADGE ── */
.apcb-badge { display: inline-block; background: #e6f4ff; border: 1px solid #91caff; color: #0958d9; font-size: 14px; font-weight: 700; padding: 2px 9px; border-radius: 20px; letter-spacing: .3px; margin-left: 6px; }
.apcb-badge.red { background: #fff2f2; border-color: #ffccc7; color: #cf1322; }

/* ── RESPONSIVE ── */
@media (max-width:1100px) { .apcb-layout { grid-template-columns: 1fr; } .apcb-sidebar { position: static; } }
@media (max-width:700px) { .apcb-g2, .apcb-g3 { grid-template-columns: 1fr; } .apcb-span2, .apcb-span3 { grid-column: span 1; } .apcb-type-cards { grid-template-columns: 1fr; } .apcb-submit-bar { flex-direction: column; } .apcb-wrap { padding: 14px 12px 40px; } .apcb-header { padding: 22px 16px; } .apcb-header h1 { font-size: 22px; } }

/* ================= Han Sphere refined layer (v1.1) ================= */
.apcb-wrap .apcb-header{background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:30px 34px 26px;text-align:left;box-shadow:0 4px 18px rgba(22,119,255,.08);position:relative;overflow:hidden;margin-bottom:22px}
.apcb-wrap .apcb-header::before{content:"";position:absolute;top:0;left:0;bottom:0;right:auto;width:5px;height:auto;border-radius:0;background:#1677ff;opacity:1;transform:none}
.apcb-wrap .apcb-header::after{display:none}
.apcb-wrap .apcb-header h1{color:#1d2939;font-size:28px;font-weight:800;letter-spacing:-.01em;text-align:left;margin:0}
.apcb-wrap .apcb-header p{color:#667085;font-size:15px;text-align:left;margin:8px 0 0;max-width:760px}
.apcb-wrap .apcb-steps{justify-content:flex-start;margin-top:22px;gap:0}
.apcb-wrap .apcb-step{color:#667085;font-size:14px;font-weight:600}
.apcb-wrap .apcb-step-n{width:28px;height:28px;background:#e6f4ff;color:#1677ff;border:1px solid #91caff;font-size:13px;font-weight:700}
.apcb-wrap .apcb-step.on{color:#1d2939}
.apcb-wrap .apcb-step.on .apcb-step-n{background:#1677ff;color:#fff;border-color:#1677ff}
.apcb-wrap .apcb-step-sep{width:44px;height:2px;background:#dbe7ff;margin:0 10px;border-radius:2px}

.apcb-wrap .apcb-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 1px 3px rgba(16,24,40,.06),0 8px 24px rgba(22,119,255,.05);overflow:hidden}
.apcb-wrap .apcb-card-head{background:#fff;border-bottom:1px solid #eef2f8;padding:18px 24px;gap:14px}
.apcb-wrap .apcb-card-ico{width:38px;height:38px;border-radius:11px;background:#e6f4ff;border:1px solid #bae0ff}
.apcb-wrap .apcb-card-ico svg{fill:#1677ff}
.apcb-wrap .apcb-card-head h2{color:#1d2939;font-size:17px;font-weight:700}
.apcb-wrap .apcb-card-sub{color:#98a2b3;font-size:13px}

.apcb-wrap .apcb-btn{border-radius:8px;border:1px solid #d0d5dd;background:#fff;color:#344054;font-weight:500;transition:all .2s ease}
.apcb-wrap .apcb-btn:hover{border-color:#1677ff;color:#1677ff;background:#f4f7ff}
.apcb-wrap .apcb-btn.on{background:#1677ff;border-color:#1677ff;color:#fff;box-shadow:0 2px 8px rgba(22,119,255,.28)}
.apcb-wrap input[type="text"],.apcb-wrap input[type="email"],.apcb-wrap input[type="number"],.apcb-wrap select,.apcb-wrap textarea{border-radius:10px;border-color:#d0d5dd}

.apcb-wrap .apcb-submit-bar{background:#e6f4ff;border:1px solid #bae0ff;border-radius:14px}
.apcb-wrap .apcb-submit-bar label{color:#344054}
.apcb-wrap .apcb-submit-bar label a,.apcb-wrap .apcb-submit-bar a{color:#1677ff;font-weight:600}
.apcb-wrap .apcb-submit-bar p{color:#667085}

.apcb-wrap .apcb-sum-card{border-radius:14px;border:1px solid #e4e7ec;box-shadow:0 1px 3px rgba(16,24,40,.06),0 8px 24px rgba(22,119,255,.06);overflow:hidden}
.apcb-wrap .apcb-sum-head{background:#1677ff}
@media(max-width:768px){.apcb-wrap .apcb-header{padding:22px 20px 20px}.apcb-wrap .apcb-header h1{font-size:23px}.apcb-wrap .apcb-step-sep{width:20px;margin:0 6px}}
.apcb-wrap a.apcb-modal-close{display:block;box-sizing:border-box;text-align:center;text-decoration:none;color:#fff;font-weight:600}
.apcb-wrap .apcb-card-sub{color:#667085}

/* ================= Han Sphere design layer v2 (v1.2) ================= */
.apcb-wrap{counter-reset:hsec}
.apcb-wrap .apcb-header{background:#e6f4ff;border:1px solid #bae0ff;border-radius:22px;padding:38px 42px 32px;box-shadow:none}
.apcb-wrap .apcb-header::before{display:none}
.apcb-wrap .apcb-header h1{font-size:32px;font-weight:800;letter-spacing:-.02em;color:#1d2939}
.apcb-wrap .apcb-header p{font-size:16px;color:#475467}
.apcb-wrap .apcb-steps{display:inline-flex;background:#fff;border:1px solid #bae0ff;border-radius:999px;padding:8px 16px;margin-top:24px}
.apcb-wrap .apcb-step{font-size:13px}
.apcb-wrap .apcb-card{border:1px solid #dbe7ff;border-radius:18px;box-shadow:0 2px 6px rgba(16,24,40,.04),0 14px 34px rgba(22,119,255,.07);margin-bottom:22px;counter-increment:hsec}
.apcb-wrap .apcb-card-head{display:flex;align-items:center;background:#f4f7ff;border-bottom:1px solid #dbe7ff;padding:20px 26px}
.apcb-wrap .apcb-card-head::after{content:counter(hsec,decimal-leading-zero);margin-left:auto;font-size:34px;font-weight:800;line-height:1;letter-spacing:-.02em;color:#cfe0ff}
.apcb-wrap .apcb-card-ico{width:42px;height:42px;border-radius:50%;background:#1677ff;border:none}
.apcb-wrap .apcb-card-ico svg{fill:#fff}
.apcb-wrap .apcb-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#667085}
.apcb-wrap .apcb-req{color:#f5222d}
.apcb-wrap .apcb-btn{border-radius:999px;padding:8px 18px;border:1.5px solid #d0d5dd;background:#fff;font-size:14px;font-weight:600;color:#344054}
.apcb-wrap .apcb-btn:hover{border-color:#1677ff;color:#1677ff;background:#f4f7ff}
.apcb-wrap .apcb-btn.on{background:#e6f4ff;border-color:#1677ff;color:#0958d9;box-shadow:none}
.apcb-wrap .apcb-btn.on::before{content:"";display:inline-block;width:8px;height:5px;border-left:2px solid #1677ff;border-bottom:2px solid #1677ff;transform:rotate(-45deg);margin:0 8px 3px 0}
.apcb-wrap input[type="text"],.apcb-wrap input[type="email"],.apcb-wrap input[type="number"],.apcb-wrap select,.apcb-wrap textarea{background:#f4f7ff;border:1.5px solid transparent;border-radius:12px;padding:10px 14px}
.apcb-wrap input[type="text"]:focus,.apcb-wrap input[type="email"]:focus,.apcb-wrap input[type="number"]:focus,.apcb-wrap select:focus,.apcb-wrap textarea:focus{background:#fff;border-color:#1677ff;box-shadow:0 0 0 4px rgba(22,119,255,.12)}
.apcb-wrap .apcb-input-unit{background:#f4f7ff;border:1.5px solid transparent;border-radius:12px}
.apcb-wrap .apcb-input-unit input{background:transparent}
.apcb-wrap .apcb-unit{background:#e6f4ff;color:#0958d9;font-weight:700}
.apcb-wrap .apcb-upload-zone{border:2px dashed #91caff;background:#f4f7ff;border-radius:18px;padding:34px 20px}
.apcb-wrap .apcb-upload-ico{width:60px;height:60px;border-radius:50%;background:#1677ff}
.apcb-wrap .apcb-upload-ico svg{fill:#fff}
.apcb-wrap .apcb-submit-bar{position:sticky;bottom:16px;z-index:30;background:#fff;border:1px solid #dbe7ff;border-radius:18px;box-shadow:0 10px 34px rgba(22,119,255,.18);padding:16px 22px}
.apcb-wrap .apcb-submit-btn{border-radius:999px;padding:13px 34px;font-size:15px}
.apcb-wrap .apcb-sum-card{border-radius:18px;border:1px solid #dbe7ff;box-shadow:0 14px 34px rgba(22,119,255,.12)}
.apcb-wrap .apcb-sum-head{padding:18px 22px}
.apcb-wrap .apcb-sum-body{padding:18px 20px}
.apcb-wrap .apcb-sum-sec-title{display:inline-block;font-size:11px;letter-spacing:.1em;color:#1677ff;background:#e6f4ff;border:none;border-radius:999px;padding:3px 12px;margin-bottom:6px}
.apcb-wrap .apcb-sum-row{border-bottom:1px dashed #d0d5dd;padding:8px 0}
.apcb-wrap .apcb-sum-k{color:#98a2b3;font-size:13px}
.apcb-wrap .apcb-sum-v{color:#1d2939;font-weight:700}
@media(max-width:768px){.apcb-wrap .apcb-header{padding:26px 22px 22px}.apcb-wrap .apcb-header h1{font-size:24px}.apcb-wrap .apcb-steps{display:flex;border-radius:16px}.apcb-wrap .apcb-submit-bar{position:static}.apcb-wrap .apcb-card-head::after{font-size:26px}}

/* ================= Han Sphere structure layer v3 (v1.3) ================= */
.apcb-wrap .apcb-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 32px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:26px 34px 26px 38px;box-shadow:0 4px 18px rgba(22,119,255,.06);position:relative;overflow:hidden}
.apcb-wrap .apcb-header::before{display:block;content:"";position:absolute;left:0;top:0;bottom:0;right:auto;width:6px;height:auto;background:#1677ff;border-radius:0;opacity:1}
.apcb-wrap .apcb-header h1{grid-column:1;font-size:28px;margin:0}
.apcb-wrap .apcb-header p{grid-column:1;margin:0;font-size:15px}
.apcb-wrap .apcb-steps{grid-column:2;grid-row:1 / span 2;margin:0;background:transparent;border:none;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end}
.apcb-wrap .apcb-step{cursor:pointer;transition:color .15s}
.apcb-wrap .apcb-step:hover{color:#1677ff}
.apcb-wrap .apcb-layout{align-items:start}
@media(min-width:1101px){.apcb-wrap .apcb-layout{grid-template-columns:330px minmax(0,1fr)}.apcb-wrap .apcb-sidebar{order:-1}}
.apcb-wrap .apcb-card{background:#fff;border:1px solid #e4e7ec;border-top:3px solid #1677ff;border-radius:6px 6px 16px 16px;box-shadow:0 1px 3px rgba(16,24,40,.05);margin-bottom:26px;scroll-margin-top:90px}
.apcb-wrap .apcb-card-head{background:transparent;border-bottom:1px solid #eef2f8;padding:20px 28px 16px;gap:14px}
.apcb-wrap .apcb-card-head::after{display:none}
.apcb-wrap .apcb-card-ico{display:none}
.apcb-wrap .apcb-card-head::before{content:counter(hsec,decimal-leading-zero);display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;border-radius:12px;background:#1677ff;color:#fff;font-weight:800;font-size:17px;flex-shrink:0}
.apcb-wrap .apcb-card-head h2{font-size:19px}
.apcb-wrap .apcb-card-body{padding:6px 28px 12px}
.apcb-wrap .apcb-grid{display:block}
.apcb-wrap .apcb-fg{display:grid;grid-template-columns:190px minmax(0,1fr);gap:8px 26px;align-items:start;padding:16px 0;border-bottom:1px solid #eef2f8;margin:0 !important}
.apcb-wrap .apcb-fg:last-child{border-bottom:none}
.apcb-wrap .apcb-fg > .apcb-label{grid-column:1;grid-row:1 / span 8;padding-top:9px;margin:0}
.apcb-wrap .apcb-fg > :not(.apcb-label){grid-column:2;min-width:0}
@media(max-width:900px){
  .apcb-wrap .apcb-header{grid-template-columns:1fr;padding:22px 20px 22px 26px}
  .apcb-wrap .apcb-steps{grid-column:1;grid-row:auto;margin-top:14px;justify-content:flex-start}
  .apcb-wrap .apcb-fg{grid-template-columns:1fr}
  .apcb-wrap .apcb-fg > .apcb-label{grid-row:auto;padding-top:0}
  .apcb-wrap .apcb-fg > :not(.apcb-label){grid-column:1}
  .apcb-wrap .apcb-card-body{padding:4px 18px 10px}
  .apcb-wrap .apcb-card-head{padding:16px 18px 14px}
}
