.career-guide .cq-figure { max-width: 660px; margin: 1.5rem auto 2rem; }
.career-guide .cq-figure a, .career-guide .cq-figure img { display: block; }
.career-guide .cq-figure img { width: 100%; height: auto; border: 1px solid var(--cg-border); border-radius: 14px; }
.career-guide .cq-figure figcaption { margin-top: .45rem; color: var(--cg-muted); font-size: .86rem; }
.career-guide .cq-table-wrap { margin: 1.25rem 0; }
.career-guide .cq-table { width: 100%; border-collapse: collapse; overflow-wrap: anywhere; }
.career-guide .cq-table caption { padding: .55rem .65rem; text-align: left; font-weight: 700; background: var(--cg-pale); }
.career-guide .cq-table :is(th,td) { padding: .65rem; border: 1px solid var(--cg-border); text-align: left; vertical-align: top; }
.career-guide .cq-table thead th { background: #f1f7f4; }
.career-guide .cq-table tbody th { width: 26%; }
.career-guide .cq-estimate { padding: 1rem; margin: 1.2rem 0; border: 1px solid var(--cg-border); border-radius: 12px; background: var(--cg-pale); }
.career-guide .cq-fields { display: grid; gap: .65rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.career-guide .cq-fields label { font-size: .9rem; font-weight: 700; }
.career-guide .cq-fields input { display: block; width: 100%; min-height: 44px; margin-top: .3rem; padding: .45rem .65rem; background: #fff; color: var(--cg-ink); border: 1px solid #688379; border-radius: 8px; font: inherit; }
.career-guide .cq-fields input:focus-visible { outline: 3px solid #8a590b; outline-offset: 3px; }
.career-guide .cq-estimate-actions { display: flex; gap: .65rem; flex-wrap: wrap; margin: .85rem 0 .4rem; }
.career-guide .cq-estimate-actions button { min-height: 44px; border-radius: 8px; padding: .45rem .8rem; border: 1px solid #146a57; background: #fff; color: #145447; font: inherit; cursor: pointer; }
.career-guide .cq-estimate-actions #cq-calculate { background: #146a57; color: #fff; font-weight: 700; }
.career-guide #cq-estimate-result { font-weight: 700; min-height: 1.6em; }
@media(max-width: 640px) {
  .career-guide .cq-fields { grid-template-columns: 1fr; }
  .career-guide .cq-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .career-guide .cq-table :is(tbody,tr,th,td) { display: block; }
  .career-guide .cq-table tbody tr { margin-bottom: .7rem; border: 1px solid var(--cg-border); border-radius: 8px; overflow: hidden; }
  .career-guide .cq-table tbody th { width: auto; background: #f1f7f4; }
  .career-guide .cq-table :is(th,td) { border: 0; }
  .career-guide .cq-table td + td { border-top: 1px solid var(--cg-border); }
  .career-guide .cq-table td::before { display: block; content: attr(data-label); font-size: .82rem; font-weight: 700; color: #305d53; }
}
