.pct-page {
  --pct-blue-1: #0b63e6;
  --pct-blue-2: #1f8cff;
  --pct-blue-3: #dff0ff;
  --pct-ink: #203864;
  --pct-soft: #f4f8ff;
  --pct-line: #cfe0f7;
  --pct-shadow: 0 14px 28px rgba(36, 91, 180, 0.12);
  --pct-shadow-soft: 0 8px 20px rgba(36, 91, 180, 0.08);
  color: var(--pct-ink);
}

.pct-page,
.pct-page * {
  box-sizing: border-box;
}

.pct-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid #d4e3f8;
  background:
    radial-gradient(circle at top left, rgba(160, 211, 255, 0.55), transparent 28%),
    radial-gradient(circle at bottom left, rgba(201, 219, 255, 0.45), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, #f3f7ff 52%, #eef4ff 100%);
  box-shadow: 0 22px 46px rgba(44, 88, 175, 0.12);
  padding: 16px;
}

.pct-wrap::before,
.pct-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.pct-wrap::before {
  width: 320px;
  height: 320px;
  left: -140px;
  top: -90px;
  background: radial-gradient(circle, rgba(103, 187, 255, 0.18), transparent 66%);
}

.pct-wrap::after {
  width: 420px;
  height: 220px;
  right: -90px;
  top: 24px;
  background: radial-gradient(circle, rgba(185, 213, 255, 0.24), transparent 68%);
}

.pct-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 2px 2px 8px;
}

.pct-hero-icon {
  width: 78px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: linear-gradient(180deg, #31a3ff 0%, #0b63e6 90%);
  border: 2px solid rgba(255,255,255,0.72);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.45),
    inset 0 -8px 16px rgba(6, 70, 163, 0.32),
    0 8px 18px rgba(11, 99, 230, 0.18),
    0 0 0 4px rgba(137, 212, 255, 0.12);
  display: grid;
  place-items: center;
  position: relative;
  transform: rotate(-3deg);
}

.pct-hero-icon::before,
.pct-hero-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  border: 1px solid rgba(137, 212, 255, 0.42);
}

.pct-hero-icon::after {
  inset: -14px;
  border-color: rgba(137, 212, 255, 0.14);
}

.pct-hero-icon span {
  color: #fff;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 5px 14px rgba(0,0,0,0.2);
}

.pct-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #0b63e6;
  text-shadow: 0 5px 16px rgba(29, 92, 184, 0.12);
}

.pct-hero-copy p {
  max-width: 640px;
  margin: 4px 0 0;
  font-size: 0.87rem;
  line-height: 1.4;
  color: #4d6696;
  font-weight: 700;
}

.pct-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pct-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid #d2e3fb;
  font-size: 0.92rem;
  font-weight: 700;
  color: #305082;
  box-shadow: 0 10px 22px rgba(46, 97, 191, 0.08);
}

.pct-shell {
  position: relative;
  z-index: 1;
}

.pct-tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid #b9d0ee;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.92), rgba(232, 240, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 24px rgba(52, 98, 184, 0.06);
}

.pct-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #355585;
  min-height: 62px;
  padding: 0 18px;
  font-size: 1.02rem;
  font-weight: 800;
  border-right: 1px solid #c8daf2;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
  flex: 1 1 160px;
}

.pct-tab:last-child { border-right: 0; }

.pct-tab.is-active {
  color: #fff;
  background: linear-gradient(180deg, #168cff 0%, #0a61df 100%);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}

.pct-panel {
  margin-top: 10px;
  border-radius: 24px;
  border: 1px solid #d1e1f7;
  background: rgba(255,255,255,0.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.84);
  padding: 18px;
}

.pct-subtabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pct-subtab {
  appearance: none;
  border: 1px solid #cddcf2;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  color: #395988;
  padding: 13px 18px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.96rem;
  box-shadow: 0 10px 22px rgba(52, 98, 184, 0.08);
  cursor: pointer;
  position: relative;
}

.pct-subtab.is-active {
  color: #fff;
  border-color: #0f74ef;
  background: linear-gradient(180deg, #2297ff 0%, #0a61df 100%);
}

.pct-subtab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(180deg, #2297ff 0%, #0a61df 100%);
  border-right: 1px solid rgba(15, 116, 239, 0.3);
  border-bottom: 1px solid rgba(15, 116, 239, 0.3);
}

.pct-main-grid,
.pct-result-grid,
.pct-content-grid,
.pct-related-grid,
.pct-steps-grid,
.pct-formula-grid,
.pct-ref-grid,
.pct-summary-grid {
  display: grid;
  gap: 16px;
}

.pct-main-grid,
.pct-result-grid,
.pct-related-grid,
.pct-summary-grid {
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.8fr);
}

.pct-card,
.pct-side-card,
.pct-content-card,
.pct-table-card,
.pct-faq-card,
.pct-examples-card,
.pct-footer-nav,
.pct-reference-card,
.pct-related-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246, 249, 255, 0.98));
  border: 1px solid #cfdef2;
  border-radius: 22px;
  box-shadow: var(--pct-shadow-soft);
}

.pct-card,
.pct-side-card,
.pct-content-card,
.pct-table-card,
.pct-faq-card,
.pct-examples-card,
.pct-reference-card,
.pct-related-card {
  padding: 20px;
}

.pct-side-card h3,
.pct-card h2,
.pct-content-card h2,
.pct-table-card h2,
.pct-faq-card h2,
.pct-examples-card h2,
.pct-related-card h2,
.pct-reference-card h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  letter-spacing: -0.04em;
  color: #203864;
}

.pct-card-head,
.pct-result-head,
.pct-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.pct-card-head p,
.pct-section-head p,
.pct-side-card p {
  margin: 0;
  color: #59719c;
  line-height: 1.7;
}

.pct-fields {
  display: grid;
  gap: 14px;
}

.pct-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 800;
  color: #35527f;
}

.pct-input-wrap,
.pct-select-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.pct-field input,
.pct-field select {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid #cddcf2;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  padding: 14px 16px;
  font-size: 1.08rem;
  color: #203864;
  box-shadow: inset 0 2px 4px rgba(160, 183, 220, 0.08);
}

.pct-field input:focus,
.pct-field select:focus {
  border-color: #2e8cff;
  box-shadow: 0 0 0 4px rgba(46, 140, 255, 0.12);
}

.pct-suffix,
.pct-prefix {
  min-width: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cddcf2;
  background: linear-gradient(180deg, #f7fbff 0%, #e9f2ff 100%);
  color: #4a6695;
  font-weight: 800;
  padding: 0 12px;
}

.pct-suffix {
  border-left: 0;
  border-radius: 0 16px 16px 0;
}

.pct-prefix {
  border-right: 0;
  border-radius: 16px 0 0 16px;
}

.pct-input-wrap input.with-suffix {
  border-radius: 16px 0 0 16px;
}

.pct-input-wrap input.with-prefix {
  border-radius: 0 16px 16px 0;
}

.pct-field-help {
  display: block;
  margin-top: 7px;
  font-size: 0.9rem;
  color: #6580ac;
}

.pct-field-grid-2,
.pct-field-grid-3 {
  display: grid;
  gap: 14px;
}

.pct-field-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pct-field-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pct-option-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pct-choice {
  appearance: none;
  border: 1px solid #cddcf2;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 800;
  color: #35527f;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(52, 98, 184, 0.06);
}

.pct-choice.is-active {
  color: #fff;
  border-color: #0f74ef;
  background: linear-gradient(180deg, #2297ff 0%, #0a61df 100%);
}

.pct-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}

.pct-btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  min-height: 54px;
  padding: 0 22px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.pct-btn:hover { transform: translateY(-1px); }
.pct-btn:active { transform: translateY(0); }

.pct-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #1d96ff 0%, #0b63e6 100%);
  box-shadow: 0 16px 28px rgba(17, 94, 208, 0.24), inset 0 1px 0 rgba(255,255,255,0.22);
}

.pct-btn-secondary {
  color: #35527f;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  border: 1px solid #cddcf2;
}

.pct-side-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pct-side-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #35527f;
  line-height: 1.5;
  font-size: 1rem;
}

.pct-side-list strong { color: #203864; }

.pct-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1f90ff, #0b63e6);
  margin-top: 8px;
  flex: 0 0 9px;
}

.pct-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #0f74ef;
  font-weight: 800;
}

.pct-result-head {
  margin-bottom: 10px;
}

.pct-result-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.28rem;
  font-weight: 900;
  color: #22416e;
}

.pct-result-check {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #59cb74 0%, #2fb158 100%);
  box-shadow: 0 12px 22px rgba(50, 177, 88, 0.22);
}

.pct-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #4e6b98;
}

.pct-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pct-switch-slider {
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #dbe6f7;
  position: relative;
  box-shadow: inset 0 2px 5px rgba(69, 107, 168, 0.15);
  transition: background .18s ease;
}

.pct-switch-slider::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  position: absolute;
  left: 4px;
  top: 4px;
  box-shadow: 0 4px 10px rgba(21, 48, 84, 0.18);
  transition: transform .18s ease;
}

.pct-switch input:checked + .pct-switch-slider {
  background: linear-gradient(180deg, #53acff, #0f74ef);
}

.pct-switch input:checked + .pct-switch-slider::after {
  transform: translateX(26px);
}

.pct-result-box {
  border-radius: 18px;
  border: 1px solid #d3dff3;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 18px;
}

.pct-result-line {
  margin: 0;
  font-size: clamp(1.24rem, 2.3vw, 1.72rem);
  line-height: 1.55;
  color: #203864;
}

.pct-result-value {
  color: #0b63e6;
  font-weight: 900;
}

.pct-result-note {
  margin: 10px 0 0;
  color: #5e7aa6;
  line-height: 1.7;
}

.pct-formula-box {
  margin-top: 16px;
  border-top: 1px solid #dbe5f3;
  padding-top: 16px;
}

.pct-formula-box[hidden] { display: none !important; }

.pct-formula-box h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #294776;
}

.pct-formula-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pct-formula-list li {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid #dde8f7;
  color: #35527f;
  line-height: 1.65;
}

.pct-shortcuts {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.pct-shortcut {
  border-radius: 16px;
  border: 1px solid #d6e3f5;
  background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%);
  padding: 12px 14px;
  color: #35527f;
  line-height: 1.55;
}

.pct-shortcut strong { display: block; color: #203864; margin-bottom: 4px; }

.pct-examples-card {
  margin-top: 16px;
}

.pct-example-table {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.pct-example-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #dbe6f5;
}

.pct-example-row:first-child { border-top: 1px solid #dbe6f5; }

.pct-example-q,
.pct-example-a {
  color: #24426f;
  line-height: 1.55;
}

.pct-example-a {
  font-weight: 800;
}

.pct-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
}

.pct-footer-link,
.pct-share-btn {
  min-height: 62px;
  border-radius: 18px;
  border: 1px solid #d3dff3;
  background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  color: #345381;
  box-shadow: 0 10px 18px rgba(52, 98, 184, 0.06);
}

.pct-footer-link svg,
.pct-share-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.pct-section {
  margin-top: 18px;
}

.pct-content-grid,
.pct-formula-grid,
.pct-steps-grid,
.pct-ref-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pct-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pct-copy,
.pct-list,
.pct-related-card p,
.pct-reference-card p,
.pct-faq-card p {
  color: #57719b;
  line-height: 1.8;
}

.pct-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.pct-list li + li { margin-top: 8px; }

.pct-mini-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.pct-mini-card {
  border-radius: 16px;
  border: 1px solid #dae6f6;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  padding: 14px;
}

.pct-mini-card strong {
  display: block;
  color: #203864;
  margin-bottom: 6px;
}

.pct-formula-grid .pct-content-card {
  padding: 18px;
}

.pct-formula-code {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #d8e5f6;
  background: #f7fbff;
  font-size: 1rem;
  font-weight: 800;
  color: #23416e;
  overflow-x: auto;
}

.pct-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid #d7e4f6;
}

.pct-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: #fff;
}

.pct-table th,
.pct-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #e2ebf8;
  color: #35527f;
}

.pct-table th {
  background: #f1f6ff;
  color: #203864;
  font-size: 0.95rem;
  font-weight: 900;
}

.pct-table tr:last-child td { border-bottom: 0; }

.pct-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pct-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5ff;
  border: 1px solid #d4e3f8;
  color: #35527f;
  font-size: 0.9rem;
  font-weight: 800;
}

.pct-steps-grid .pct-content-card ol {
  margin: 0;
  padding-left: 18px;
  color: #57719b;
  line-height: 1.85;
}

.pct-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.pct-faq-item {
  border: 1px solid #d9e5f6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 0 16px;
}

.pct-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-weight: 900;
  color: #24426f;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pct-faq-item summary::-webkit-details-marker { display: none; }

.pct-faq-item summary::after {
  content: "+";
  color: #0f74ef;
  font-size: 1.4rem;
  line-height: 1;
}

.pct-faq-item[open] summary::after { content: "−"; }

.pct-faq-answer {
  padding: 0 0 16px;
  color: #57719b;
  line-height: 1.8;
}

.pct-related-card a,
.pct-reference-card a {
  color: #0f74ef;
  font-weight: 800;
}

.pct-related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pct-reference-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #57719b;
  line-height: 1.8;
}

.pct-alert {
  display: none;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 700;
}

.pct-alert.is-error {
  display: block;
  color: #963b3b;
  background: #fff3f1;
  border: 1px solid #f5d0ca;
}

.pct-inline-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #eef5ff;
  border: 1px solid #d6e4f8;
  color: #45628f;
  line-height: 1.7;
}

.pct-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid #d2e0f4;
  background: #fff;
  color: #35527f;
  font-weight: 900;
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .pct-main-grid,
  .pct-result-grid,
  .pct-summary-grid,
  .pct-content-grid,
  .pct-formula-grid,
  .pct-steps-grid,
  .pct-ref-grid {
    grid-template-columns: 1fr;
  }

  .pct-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pct-example-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }
}

@media (max-width: 840px) {
  .pct-wrap {
    border-radius: 24px;
    padding: 14px;
  }

  .pct-hero {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    text-align: left;
    justify-items: stretch;
    padding-bottom: 6px;
  }

  .pct-hero-copy p {
    margin-left: 0;
    margin-right: 0;
  }

  .pct-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .pct-tabs::-webkit-scrollbar { display: none; }

  .pct-tab {
    flex: 0 0 auto;
    min-width: 168px;
  }

  .pct-subtabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .pct-subtabs::-webkit-scrollbar { display: none; }

  .pct-subtab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .pct-field-grid-2,
  .pct-field-grid-3,
  .pct-option-grid,
  .pct-mini-grid,
  .pct-footer-nav,
  .pct-related-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 640px) {
  .pct-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .pct-table,
  .pct-table thead,
  .pct-table tbody,
  .pct-table tr,
  .pct-table th,
  .pct-table td {
    display: block;
    width: 100%;
  }

  .pct-table {
    min-width: 0;
    background: transparent;
  }

  .pct-table thead {
    display: none;
  }

  .pct-table tbody {
    display: grid;
    gap: 12px;
  }

  .pct-table tr {
    border: 1px solid #d7e4f6;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 18px rgba(46, 97, 191, 0.06);
  }

  .pct-table td {
    display: grid;
    grid-template-columns: minmax(92px, 108px) minmax(0, 1fr);
    gap: 10px;
    padding: 11px 12px;
    border-bottom: 1px solid #e2ebf8;
    text-align: left;
  }

  .pct-table td:last-child {
    border-bottom: 0;
  }

  .pct-table td::before {
    content: attr(data-label);
    color: #203864;
    font-weight: 900;
  }
}

@media (max-width: 560px) {
  .pct-wrap {
    padding: 10px;
    border-radius: 20px;
  }

  .pct-hero {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 8px;
    padding-bottom: 5px;
  }

  .pct-hero-icon {
    width: 54px;
    border-radius: 14px;
  }

  .pct-hero-icon::before,
  .pct-hero-icon::after {
    display: none;
  }

  .pct-hero-icon span {
    font-size: 2rem;
  }

  .pct-hero-copy h1 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .pct-hero-copy p {
    font-size: 0.8rem;
    margin-top: 2px;
  }

  .pct-panel,
  .pct-card,
  .pct-side-card,
  .pct-content-card,
  .pct-table-card,
  .pct-faq-card,
  .pct-examples-card,
  .pct-reference-card,
  .pct-related-card {
    padding: 16px;
    border-radius: 18px;
  }

  .pct-tab {
    min-height: 56px;
    padding: 0 16px;
    min-width: 144px;
    font-size: 0.95rem;
  }

  .pct-subtab {
    padding: 12px 15px;
    font-size: 0.92rem;
  }

  .pct-field input,
  .pct-field select {
    min-height: 54px;
    font-size: 1rem;
    padding: 13px 14px;
  }

  .pct-result-line {
    font-size: 1.22rem;
  }

  .pct-result-head,
  .pct-card-head,
  .pct-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pct-btn {
    width: 100%;
  }
}


/* Compact mobile refinements */
@media (max-width: 780px) {
  .pct-wrap {
    padding: 10px;
    border-radius: 22px;
  }

  .pct-hero {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    padding-bottom: 4px;
  }

  .pct-hero-icon {
    width: 52px;
    border-radius: 14px;
  }

  .pct-hero-icon::before,
  .pct-hero-icon::after {
    display: none;
  }

  .pct-hero-icon span {
    font-size: 2rem;
  }

  .pct-hero-copy h1 {
    font-size: 1.9rem;
    line-height: 1.02;
  }

  .pct-hero-copy p,
  .pct-inline-note,
  .pct-result-note,
  .pct-card-head p,
  .pct-side-card p,
  .pct-section-head p,
  .pct-copy,
  .pct-list,
  .pct-reference-card p,
  .pct-faq-card p,
  .pct-related-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .pct-shell {
    margin-top: 4px;
  }

  .pct-panel,
  .pct-card,
  .pct-side-card,
  .pct-content-card,
  .pct-table-card,
  .pct-faq-card,
  .pct-examples-card,
  .pct-reference-card,
  .pct-related-card {
    padding: 14px;
    border-radius: 18px;
  }

  .pct-panel {
    margin-top: 8px;
  }

  .pct-tabs {
    border-radius: 16px;
  }

  .pct-tab {
    min-height: 46px;
    min-width: 132px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .pct-subtabs {
    gap: 8px;
    margin-bottom: 12px;
  }

  .pct-subtab {
    padding: 10px 12px;
    font-size: 0.86rem;
    border-radius: 14px;
  }

  .pct-main-grid,
  .pct-result-grid,
  .pct-summary-grid,
  .pct-content-grid,
  .pct-formula-grid,
  .pct-steps-grid,
  .pct-ref-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pct-section {
    margin-top: 12px;
  }

  .pct-card-head,
  .pct-result-head,
  .pct-section-head {
    margin-bottom: 10px;
  }

  .pct-field-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pct-field-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pct-fields {
    gap: 10px;
  }

  .pct-field label {
    margin-bottom: 5px;
    font-size: 0.8rem;
  }

  .pct-field input,
  .pct-field select {
    min-height: 46px;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 0.94rem;
  }

  .pct-prefix,
  .pct-suffix {
    min-width: 42px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .pct-suffix {
    border-radius: 0 14px 14px 0;
  }

  .pct-prefix {
    border-radius: 14px 0 0 14px;
  }

  .pct-input-wrap input.with-suffix {
    border-radius: 14px 0 0 14px;
  }

  .pct-input-wrap input.with-prefix {
    border-radius: 0 14px 14px 0;
  }

  .pct-field-help {
    margin-top: 5px;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .pct-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
  }

  .pct-btn,
  .pct-link-btn,
  .pct-footer-link,
  .pct-share-btn {
    min-height: 44px;
    border-radius: 14px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .pct-side-list {
    gap: 8px;
    margin-top: 12px;
  }

  .pct-side-list li {
    font-size: 0.9rem;
    gap: 8px;
    line-height: 1.35;
  }

  .pct-dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    flex-basis: 8px;
  }

  .pct-link-btn {
    margin-top: 12px;
  }

  .pct-result-title,
  .pct-card h2,
  .pct-side-card h3,
  .pct-content-card h2,
  .pct-table-card h2,
  .pct-faq-card h2,
  .pct-examples-card h2,
  .pct-related-card h2,
  .pct-reference-card h2 {
    font-size: 1.06rem;
  }

  .pct-result-check {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .pct-result-box {
    padding: 14px;
  }

  .pct-result-line {
    font-size: 1.06rem;
    line-height: 1.35;
  }

  .pct-formula-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
  }

  .pct-formula-list {
    gap: 6px;
    font-size: 0.86rem;
  }

  .pct-shortcuts,
  .pct-mini-grid,
  .pct-related-grid {
    gap: 8px;
  }

  .pct-shortcut,
  .pct-mini-card {
    padding: 10px;
    border-radius: 14px;
  }

  .pct-example-row {
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .pct-example-q,
  .pct-example-a {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .pct-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pct-footer-link,
  .pct-share-btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .pct-wrap {
    padding: 9px;
    border-radius: 18px;
  }

  .pct-hero {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
  }

  .pct-hero-icon {
    width: 48px;
    border-radius: 12px;
  }

  .pct-hero-icon span {
    font-size: 1.8rem;
  }

  .pct-hero-copy h1 {
    font-size: 1.55rem;
  }

  .pct-hero-copy p {
    font-size: 0.78rem;
  }

  .pct-tab {
    min-width: 118px;
    min-height: 42px;
    font-size: 0.82rem;
  }

  .pct-subtab {
    padding: 9px 11px;
    font-size: 0.82rem;
  }

  .pct-field-grid-2,
  .pct-field-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pct-field input,
  .pct-field select {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.9rem;
  }

  .pct-btn,
  .pct-link-btn,
  .pct-footer-link,
  .pct-share-btn {
    min-height: 42px;
    font-size: 0.82rem;
  }

  .pct-result-head,
  .pct-card-head,
  .pct-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pct-result-line {
    font-size: 0.98rem;
  }
}
