/*
 * Blog / content-page styles — same design system as the homepage
 * (navy #061A4A, red #F20D18, light #F5F7FB, Prompt headings). Loaded after
 * design.css, which already sets the base font, link color, and fonts import.
 */

/* ---- sticky footer: shell fills the viewport, main grows, footer sits at bottom ---- */
.page-shell { display: flex; flex-direction: column; min-height: 100vh; width: 100%; overflow-x: hidden; }
.page-main  { flex: 1 0 auto; }
.page-shell > footer { flex-shrink: 0; }

/* ---- content section wrapper (list / archive / search) ---- */
.content-section { background: #F5F7FB; padding: 56px 20px 72px; }
.content-inner { max-width: 1220px; margin: 0 auto; }

/* visually hidden (kept for screen readers / SEO) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page-head { margin-bottom: 36px; }
.page-eyebrow {
  font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; color: #F20D18; margin-bottom: 12px;
}
.page-title { font-size: clamp(26px, 4vw, 38px); color: #061A4A; margin: 0; }
.page-sub { color: #64748B; margin-top: 10px; font-size: 15.5px; }

/* ---- card grid ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #EAEFF8;
  border-radius: 20px; overflow: hidden; color: inherit; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(6,26,74,.12); }
.card-media { position: relative; height: 200px; background: linear-gradient(150deg, #EAF0FF, #C9D8F7); display: flex; align-items: center; justify-content: center; overflow: hidden; }
/* blurred fill of the same cover, so portrait/landscape covers show whole (contain) with no empty gaps */
.card-media::before { content: ''; position: absolute; inset: -16px; background-image: var(--cover, none); background-size: cover; background-position: center; filter: blur(16px) brightness(.9); }
.card-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.card-media.-alt { background: linear-gradient(150deg, #FEE2E2, #FCA5A5); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1 0 auto; }
.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-badge {
  font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 12px; color: #F20D18;
  background: #FEE2E2; padding: 4px 11px; border-radius: 999px;
}
.card-date { font-size: 12.5px; color: #94A3B8; }
.card-title {
  font-family: 'Prompt', sans-serif; font-size: 18.5px; font-weight: 600; color: #061A4A;
  line-height: 1.4; margin: 0 0 10px;
}
.card:hover .card-title { color: #F20D18; }
.card-excerpt {
  font-size: 14px; color: #64748B; margin: 0; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- empty state ---- */
.empty-state { text-align: center; padding: 60px 20px; color: #94A3B8; }
.empty-state svg { margin-bottom: 14px; }
.empty-state a { font-family: 'Prompt', sans-serif; font-weight: 600; }

/* ---- pagination ---- */
.pagination { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span {
  font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 14.5px;
  padding: 10px 18px; border-radius: 12px; text-decoration: none;
}
.pagination a { background: #fff; border: 1px solid #EAEFF8; color: #061A4A; transition: .2s; }
.pagination a:hover { border-color: #F20D18; color: #F20D18; transform: translateY(-2px); }
.pagination .page-of { color: #64748B; }

/* ---- single article ---- */
.article-section { background: #fff; }
.article { max-width: 820px; margin: 0 auto; padding: 48px 20px 64px; }
.article-banner { width: 100%; max-height: 440px; object-fit: cover; border-radius: 18px; margin-bottom: 32px; }
.article-title { font-size: clamp(26px, 4vw, 40px); color: #061A4A; line-height: 1.3; margin: 0 0 16px; }
.article-meta { display: flex; align-items: center; gap: 10px; color: #94A3B8; font-size: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #CBD5E1; }
.article-badge { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 12px; color: #F20D18; background: #FEE2E2; padding: 4px 11px; border-radius: 999px; }

/* article body typography (migrated HTML) */
.entry-content { font-size: 16.5px; color: #334155; line-height: 1.85; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 25px; color: #061A4A; margin: 40px 0 14px; }
.entry-content h3 { font-size: 21px; color: #061A4A; margin: 32px 0 12px; }
.entry-content h4 { font-size: 18px; color: #061A4A; margin: 26px 0 10px; }
.entry-content p { margin: 0 0 18px; }
.entry-content a { color: #F20D18; text-decoration: underline; text-underline-offset: 2px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; }
.entry-content ul, .entry-content ol { margin: 0 0 18px; padding-left: 1.4em; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 24px 0; padding: 14px 22px; border-left: 4px solid #F20D18; background: #F5F7FB; border-radius: 0 12px 12px 0; color: #475569; }
.entry-content figure { margin: 20px 0; }
.entry-content figure img { margin: 0; }
.entry-content figcaption { text-align: center; font-size: 13.5px; color: #94A3B8; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid #E6EBF5; padding: 10px 14px; text-align: left; }
.entry-content th { background: #F5F7FB; font-family: 'Prompt', sans-serif; color: #061A4A; }
.entry-content iframe { max-width: 100%; border-radius: 12px; }

/* taxonomy pills under an article */
.taxo { margin-top: 40px; padding-top: 28px; border-top: 1px solid #EAEFF8; }
.taxo + .taxo { margin-top: 16px; padding-top: 0; border-top: none; }
.taxo-label { font-family: 'Prompt', sans-serif; font-weight: 600; color: #061A4A; font-size: 14px; margin-right: 6px; }
.taxo a {
  display: inline-block; margin: 4px 6px 4px 0; padding: 6px 14px; border-radius: 999px;
  background: #F5F7FB; border: 1px solid #EAEFF8; color: #475569; font-size: 13.5px; text-decoration: none; transition: .2s;
}
.taxo a:hover { border-color: #F20D18; color: #F20D18; }

/* NFPA tag filter (blog list) — filter panel */
.tag-filter {
  background: #fff; border: 1px solid #EAEFF8; border-radius: 20px;
  padding: 22px 24px; margin: 0 0 36px;
  box-shadow: 0 6px 28px rgba(8,20,55,.06);
}
.tag-filter-head { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.tag-filter-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FEE2E2, #FED7D7); color: #F20D18;
}
.tag-filter-ico svg { width: 17px; height: 17px; }
.tag-filter-title { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 15.5px; color: #061A4A; }
.tag-filter-clear {
  margin-left: auto; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13px;
  color: #94A3B8; text-decoration: none; transition: .15s;
}
.tag-filter-clear:hover { color: #F20D18; }
.tag-filter-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-filter-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Prompt', sans-serif; font-weight: 500; font-size: 13.5px;
  padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1.5px solid #E6EBF5; color: #334155;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.tag-filter-chip:hover { border-color: #F20D18; color: #F20D18; transform: translateY(-2px); box-shadow: 0 7px 18px rgba(242,13,24,.15); }
.tag-filter-chip.active {
  background: linear-gradient(135deg, #F20D18 0%, #FF5436 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(242,13,24,.34);
}
.tag-filter-chip .c {
  font-weight: 700; font-size: 11px; min-width: 20px; text-align: center;
  background: #F1F5F9; color: #64748B; padding: 2px 7px; border-radius: 999px; transition: .18s;
}
.tag-filter-chip:hover .c { background: #FEE2E2; color: #F20D18; }
.tag-filter-chip.active .c { background: rgba(255,255,255,.24); color: #fff; }
@media (max-width: 640px) { .tag-filter { padding: 18px 16px; border-radius: 16px; } }

/* ===== Member auth (LINE Login) ===== */
.auth-panel {
  background: #fff; border: 1px solid #EAEFF8; border-radius: 22px;
  box-shadow: 0 14px 44px rgba(8,20,55,.08);
  padding: 44px 36px; text-align: center; margin: 24px auto;
}
.auth-logo img { width: 66px; height: 66px; border-radius: 16px; object-fit: contain; background: #fff; box-shadow: 0 5px 16px rgba(8,20,55,.12); }
.auth-title { font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 26px; color: #061A4A; margin: 18px 0 8px; }
.auth-sub { color: #64748B; font-size: 14.5px; line-height: 1.8; margin: 0 0 26px; }
.auth-alert { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.auth-notice { background: #F5F7FB; border: 1px dashed #CBD5E1; color: #64748B; border-radius: 12px; padding: 16px; font-size: 14px; line-height: 1.7; }
.btn-line {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px; border-radius: 14px; box-sizing: border-box;
  background: #06C755; color: #fff; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 16px;
  text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 8px 20px rgba(6,199,85,.32);
}
.btn-line:hover { background: #05b64d; transform: translateY(-2px); box-shadow: 0 11px 26px rgba(6,199,85,.42); color: #fff; }
.auth-fine { font-size: 12.5px; color: #94A3B8; margin: 22px 0 0; }
.auth-fine a { color: #F20D18; text-decoration: none; }
.auth-fine a:hover { text-decoration: underline; }
.auth-staff { display: inline-block; margin-top: 20px; padding-top: 18px; font-size: 13px; color: #94A3B8; text-decoration: none; border-top: 1px solid #EEF2F7; width: 100%; box-sizing: border-box; }
.auth-staff:hover { color: #061A4A; }

/* member account page */
.member-avatar { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(8,20,55,.15); }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-avatar-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #061A4A; color: #fff; font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 38px; }
.member-badge { display: inline-flex; align-items: center; gap: 6px; background: #E7F9EF; color: #06934a; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-top: 6px; }
.member-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn-soft { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 12px; background: #F5F7FB; color: #334155; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid #EAEFF8; transition: .15s; }
.btn-soft:hover { border-color: #F20D18; color: #F20D18; }
.btn-logout-front { padding: 12px 22px; border-radius: 12px; background: #fff; border: 1px solid #FECACA; color: #DC2626; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; transition: .15s; }
.btn-logout-front:hover { background: #DC2626; color: #fff; border-color: #DC2626; }

/* header member chip */
.btn-member { display: inline-flex; align-items: center; gap: 9px; background: #fff; border-radius: 999px; padding: 5px 15px 5px 5px; text-decoration: none; box-shadow: 0 5px 16px rgba(0,0,0,.16); transition: transform .15s ease; max-width: 200px; }
.btn-member:hover { transform: translateY(-1px); }
.btn-member-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.btn-member-av--fb { display: flex; align-items: center; justify-content: center; background: #061A4A; color: #fff; font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 15px; }
.btn-member-name { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; color: #061A4A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* back link + generic page */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: 'Prompt', sans-serif; font-weight: 500; color: #64748B; font-size: 14px; margin-bottom: 22px; }
.back-link:hover { color: #F20D18; }
.static-page { max-width: 900px; margin: 0 auto; padding: 48px 20px 64px; }
.static-page .article-title { margin-bottom: 28px; }

/* ---- grids/cards embedded INSIDE migrated content (e.g. portfolio pages) ---- */
.entry-content .grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px; margin: 26px 0;
}
.entry-content .grid .post-card {
  background: #fff; border: 1px solid #EAEFF8; border-radius: 16px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.entry-content .grid .post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(6,26,74,.12); }
/* client logos: smaller, uniform box, whole logo shown (not cropped) */
.entry-content .grid .post-card .thumb { width: 100%; height: 110px; object-fit: contain; display: block; background: #fff; padding: 16px; }
.entry-content .grid .post-card .post-title { font-family: 'Prompt', sans-serif; font-size: 15px; font-weight: 600; margin: 0; }
.entry-content .grid .post-card .post-title a { display: block; padding: 14px 16px; color: #061A4A; text-decoration: none; }
.entry-content .grid .post-card:hover .post-title a { color: #F20D18; }
/* image galleries in migrated content */
.entry-content .grid .wp-block-image { margin: 0; }
.entry-content .grid .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.entry-content .wp-block-image { text-align: center; }
/* small square product logos (e.g. ออกแบบระบบดับเพลิงอัตโนมัติ) shown at real 100x100 size, not stretched */
.entry-content .grid.logos-sm { grid-template-columns: repeat(auto-fill, 108px); justify-content: center; gap: 14px; }
.entry-content .grid.logos-sm .wp-block-image img { width: 100px; height: 100px; object-fit: contain; background: #fff; border: 1px solid #EAEFF8; border-radius: 8px; }
/* wider company logos: shown whole (real proportions), uniform tidy tiles */
.entry-content .grid.logos-real { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); justify-content: center; gap: 14px; }
.entry-content .grid.logos-real .wp-block-image { display: flex; align-items: center; justify-content: center; min-height: 128px; background: #fff; border: 1px solid #EAEFF8; border-radius: 10px; padding: 16px; }
.entry-content .grid.logos-real .wp-block-image img { width: auto; height: auto; max-width: 100%; max-height: 96px; object-fit: contain; border-radius: 0; }
/* photo galleries: uniform tiles */
.entry-content .grid.photos { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.entry-content .grid.photos .wp-block-image img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; }

/* ================= Engineering ToolBox ================= */
/* ---- toolbox landing tiles ---- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.tool-tile {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #E6EBF5;
  border-radius: 18px; padding: 22px; box-shadow: 0 10px 30px rgba(6,26,74,.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(6,26,74,.12); border-color: #CBD9F5; }
.tool-tile.-soon { opacity: .6; pointer-events: none; }
.tool-tile-ico {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 14px;
  background: #EAF0FF; color: #061A4A; display: flex; align-items: center; justify-content: center;
}
.tool-tile-ico svg { width: 26px; height: 26px; }
.tool-tile:hover .tool-tile-ico { background: #F20D18; color: #fff; }
.tool-tile-body { flex: 1 1 auto; min-width: 0; }
.tool-tile-body h2 { font-size: 17px; color: #061A4A; margin: 0 0 4px; font-family: 'Prompt', sans-serif; font-weight: 600; }
.tool-tile-body p { font-size: 13.5px; color: #64748B; margin: 0; line-height: 1.6; }
.tool-soon { font-size: 11.5px; font-weight: 600; color: #94A3B8; background: #EEF2F9; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.tool-tile-arrow { flex: 0 0 auto; font-size: 20px; color: #CBD5E1; transition: color .2s, transform .2s; }
.tool-tile:hover .tool-tile-arrow { color: #F20D18; transform: translateX(3px); }

/* ---- pump selector (slider) ---- */
.tool-input { background: #fff; border: 1px solid #E6EBF5; border-radius: 16px; padding: 22px 24px 20px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(6,26,74,.05); }
.tool-input label { display: block; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; color: #061A4A; margin: 0; }
.tool-slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.tool-slider-value { display: flex; align-items: baseline; gap: 6px; font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 32px; color: #061A4A; line-height: 1; }
.tool-slider-value em { font-style: normal; font-size: 13px; font-weight: 600; color: #94A3B8; }
.tool-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, #F20D18 var(--pct, 60%), #E1E8F5 var(--pct, 60%));
  outline: none; margin: 4px 0 0; cursor: pointer;
}
.tool-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid #F20D18; box-shadow: 0 3px 10px rgba(242,13,24,.35); cursor: grab; transition: transform .1s;
}
.tool-range::-webkit-slider-thumb:active { transform: scale(1.14); cursor: grabbing; }
.tool-range::-moz-range-thumb { width: 24px; height: 24px; border: 3px solid #F20D18; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(242,13,24,.35); cursor: grab; }
.tool-range::-moz-range-track { height: 10px; border-radius: 999px; background: #E1E8F5; }
.tool-range::-moz-range-progress { height: 10px; border-radius: 999px; background: #F20D18; }
.tool-range:focus-visible { box-shadow: 0 0 0 4px rgba(242,13,24,.16); }
.tool-range-scale { display: flex; justify-content: space-between; margin-top: 9px; font-size: 11.5px; font-weight: 600; color: #94A3B8; }

/* ---- rated-capacity number chips ---- */
.pump-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pump-chip {
  font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; color: #334155;
  background: #F5F7FB; border: 2px solid #E1E8F5; border-radius: 10px; padding: 8px 13px;
  min-width: 58px; text-align: center; cursor: pointer; transition: .15s;
}
.pump-chip:hover { border-color: #CBD9F5; background: #EAF0FF; color: #061A4A; }
.pump-chip.is-on { background: #F20D18; border-color: #F20D18; color: #fff; box-shadow: 0 4px 12px rgba(242,13,24,.28); }

/* ---- result stat cards ---- */
.tool-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; margin-bottom: 26px; }
.tool-stat {
  background: #fff; border: 1px solid #E6EBF5; border-left: 4px solid var(--ac, #061A4A);
  border-radius: 14px; padding: 15px 16px; box-shadow: 0 6px 18px rgba(6,26,74,.04);
}
.tool-stat-label { font-size: 13px; color: #061A4A; font-weight: 600; font-family: 'Prompt', sans-serif; line-height: 1.35; }
.tool-stat-label span { display: block; font-size: 11px; font-weight: 500; color: #94A3B8; letter-spacing: .02em; margin-top: 1px; }
.tool-stat-val { font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 30px; color: var(--ac, #061A4A); margin-top: 8px; line-height: 1; }
.tool-stat-val small { font-size: 14px; font-weight: 600; color: #94A3B8; margin-left: 1px; }

/* ---- schematic card ---- */
.tool-card { background: #fff; border: 1px solid #E6EBF5; border-radius: 16px; padding: 20px 22px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(6,26,74,.05); }
.tool-card-title { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 15px; color: #061A4A; margin-bottom: 12px; }
.tool-schematic { width: 100%; overflow-x: auto; background: linear-gradient(180deg, #FBFCFE, #F4F7FC); border: 1px solid #EDF1F8; border-radius: 12px; padding: 8px 6px; }
.tool-schematic svg { min-width: 780px; display: block; }
.tool-schematic .s-lbl { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 11px; fill: #64748B; }
.tool-schematic .s-en { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 9.5px; fill: #9aa6bd; }
.tool-schematic .s-val { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 15px; }
.tool-schematic .s-loop { font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 9px; fill: #9aa6bd; letter-spacing: .14em; }
/* ---- schematic legend ---- */
.tool-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #EEF1F7; }
.tool-legend .lg { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #475569; font-weight: 500; }
.tool-legend .lg::before { content: ''; width: 11px; height: 11px; border-radius: 3px; background: var(--c, #061A4A); flex: 0 0 auto; }

/* ---- full table ---- */
.tool-table { background: #fff; border: 1px solid #E6EBF5; border-radius: 16px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(6,26,74,.05); overflow: hidden; }
.tool-table > summary {
  cursor: pointer; list-style: none; padding: 16px 22px; font-family: 'Prompt', sans-serif; font-weight: 600;
  font-size: 14.5px; color: #061A4A; display: flex; align-items: center; gap: 8px;
}
.tool-table > summary::-webkit-details-marker { display: none; }
.tool-table > summary::before { content: '▸'; color: #F20D18; transition: transform .2s; }
.tool-table[open] > summary::before { transform: rotate(90deg); }
.tool-table .table-wrap { overflow-x: auto; padding: 0 22px 8px; }
.tool-table table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 620px; }
.tool-table table.data th { background: #F5F7FB; color: #061A4A; font-family: 'Prompt', sans-serif; font-weight: 600; text-align: center; padding: 10px 8px; white-space: nowrap; }
.tool-table table.data td { text-align: center; padding: 9px 8px; border-top: 1px solid #EEF1F7; color: #334155; }
.tool-table table.data tbody tr.is-on { background: #FFF3E9; }
.tool-table table.data tbody tr.is-on td { color: #061A4A; font-weight: 600; }
.tool-note { padding: 4px 22px 18px; font-size: 12.5px; color: #94A3B8; }

/* ---- disclaimer ---- */
.tool-disclaimer { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 14px; padding: 16px 18px; font-size: 13px; color: #9A5B2B; line-height: 1.7; }
.tool-disclaimer b { color: #7C3D12; }

/* ---- numeric input fields (calculators) ---- */
.tool-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.tool-field { display: flex; flex-direction: column; gap: 7px; }
.tool-field label { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13.5px; color: #061A4A; margin: 0; line-height: 1.3; }
.tool-field label span { display: block; font-size: 11px; font-weight: 500; color: #94A3B8; margin-top: 1px; }
.tool-field .in-wrap { position: relative; display: flex; align-items: center; }
.tool-field input[type=number], .tool-field select {
  width: 100%; font-family: 'Prompt', sans-serif; font-size: 16px; font-weight: 600; color: #061A4A;
  background: #F5F7FB; border: 2px solid #E1E8F5; border-radius: 11px; padding: 11px 44px 11px 14px; transition: border-color .2s;
}
.tool-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px; }
.tool-field input:focus, .tool-field select:focus { outline: none; border-color: #F20D18; }
.tool-field .in-wrap::after { content: ''; }
.tool-field .unit { position: absolute; right: 13px; font-size: 12px; font-weight: 600; color: #94A3B8; pointer-events: none; }

/* ---- segmented toggle ---- */
.tool-seg { display: inline-flex; background: #EEF2F9; border-radius: 12px; padding: 4px; gap: 4px; }
.tool-seg button { border: none; background: none; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13.5px; color: #64748B; padding: 8px 18px; border-radius: 9px; cursor: pointer; transition: .15s; }
.tool-seg button.is-on { background: #fff; color: #F20D18; box-shadow: 0 2px 8px rgba(6,26,74,.10); }

/* ---- formula / detail block ---- */
.tool-formula { display: flex; flex-direction: column; gap: 9px; }
.tool-formula .fm { font-size: 14px; color: #334155; font-family: 'Prompt', sans-serif; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.tool-formula .fm-k { display: inline-flex; min-width: 42px; justify-content: center; font-weight: 700; color: #061A4A; background: #EAF0FF; border-radius: 7px; padding: 2px 9px; font-size: 13px; }
.tool-formula .fm-note { font-size: 12.5px; color: #94A3B8; margin-top: 2px; line-height: 1.6; }

/* ---- unit converter ---- */
.conv-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.conv-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.conv-side input[type=number], .conv-side select {
  width: 100%; box-sizing: border-box; font-family: 'Prompt', sans-serif; font-size: 17px; font-weight: 600; color: #061A4A;
  background: #F5F7FB; border: 2px solid #E1E8F5; border-radius: 11px; padding: 12px 14px; transition: border-color .2s;
}
.conv-side select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.conv-side input:focus, .conv-side select:focus { outline: none; border-color: #F20D18; }
.conv-result { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 26px; color: #061A4A; background: #EAF0FF; border: 2px solid #CBD9F5; border-radius: 11px; padding: 12px 16px; min-height: 30px; line-height: 1.15; word-break: break-word; }
.conv-swap { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: none; background: #F20D18; color: #fff; font-size: 20px; cursor: pointer; transition: transform .2s, background .2s; box-shadow: 0 4px 12px rgba(242,13,24,.28); }
.conv-swap:hover { background: #d40b15; transform: rotate(180deg); }
#allTable .is-on td { background: #FFF3E9; color: #061A4A; }
@media (max-width: 620px) {
  .conv-row { grid-template-columns: 1fr; }
  .conv-swap { justify-self: center; transform: rotate(90deg); }
  .conv-swap:hover { transform: rotate(270deg); }
}

/* ---- chart ---- */
.tool-chart { width: 100%; overflow-x: auto; background: linear-gradient(180deg, #FBFCFE, #F4F7FC); border: 1px solid #EDF1F8; border-radius: 12px; padding: 8px 6px; }
.tool-chart svg { min-width: 560px; display: block; }
.tool-chart .ax { font-family: 'Prompt', sans-serif; font-size: 10.5px; fill: #94A3B8; }
.tool-chart .pt { font-family: 'Prompt', sans-serif; font-size: 11px; font-weight: 700; }
.tool-chart .axt { font-family: 'Prompt', sans-serif; font-size: 12px; font-weight: 600; fill: #64748B; }

/* ---- pitot multi-row table ---- */
.pit-wrap { width: 100%; overflow-x: auto; }
.pit-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.pit-table thead th { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 12.5px; color: #64748B; text-align: left; padding: 0 8px 10px; white-space: nowrap; }
.pit-table thead th em { font-style: normal; font-weight: 500; color: #AEB8C9; }
.pit-table td { padding: 5px 8px; border-top: 1px solid #EEF2F9; vertical-align: middle; }
.pit-table input, .pit-table select {
  width: 100%; font-family: 'Prompt', sans-serif; font-size: 15px; font-weight: 600; color: #061A4A;
  background: #F5F7FB; border: 2px solid #E1E8F5; border-radius: 9px; padding: 8px 10px; transition: border-color .2s;
}
.pit-table select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.pit-table input:focus, .pit-table select:focus { outline: none; border-color: #F20D18; }
.pit-table .pit-idx { color: #94A3B8; font-weight: 700; font-family: 'Prompt', sans-serif; text-align: center; }
.pit-table .pit-q { text-align: right; font-family: 'Prompt', sans-serif; font-weight: 700; color: #061A4A; white-space: nowrap; }
.pit-del { border: none; background: #F5F7FB; color: #94A3B8; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: .15s; }
.pit-del:hover { background: #FEE2E2; color: #F20D18; }
.pit-add { margin-top: 14px; border: 1.5px dashed #CBD9F5; background: #F8FAFF; color: #2650b0; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 11px; cursor: pointer; transition: .15s; }
.pit-add:hover { background: #EAF0FF; border-color: #2650b0; }
.pit-total-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(135deg, #061A4A, #12306e); color: #fff; border-radius: 16px; padding: 18px 24px; margin-bottom: 22px; box-shadow: 0 10px 30px rgba(6,26,74,.18); }
.pit-total-label { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 15px; }
.pit-total-label span { display: block; font-size: 11.5px; font-weight: 500; color: #9DB2E0; }
.pit-total-val { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 34px; line-height: 1; }
.pit-total-val small { font-size: 15px; font-weight: 600; color: #9DB2E0; }

@media (max-width: 600px) {
  .tool-stat-val { font-size: 26px; }
  .tool-results { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ================= Cart / Quote / Shop ================= */
/* flash */
.flash { border-radius: 12px; padding: 13px 16px; margin-bottom: 18px; font-size: 14.5px; font-weight: 500; }
.flash-ok { background: #e6f7ef; color: #127a52; border: 1px solid #b7e6d0; }
.flash-err { background: #fdeaeb; color: #c0392b; border: 1px solid #f4c4c7; }

/* header cart button */
.btn-cart-head { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.35); flex: 0 0 auto; transition: background .18s; }
.btn-cart-head:hover { background: rgba(255,255,255,.26); }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #fff; color: #F20D18; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }

/* product buy box (single product page) */
.product-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; background: #F5F7FB; border: 1px solid #E6EBF5; border-radius: 16px; padding: 20px 24px; margin: 8px 0 26px; }
.product-price { display: flex; flex-direction: column; }
.pp-label { font-size: 12.5px; color: #94A3B8; font-weight: 600; }
.pp-amount { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 30px; color: #061A4A; line-height: 1.1; }
.pp-amount small { font-size: 15px; font-weight: 600; color: #64748B; }
.pp-amount.pp-na { font-size: 22px; color: #64748B; }
.product-buy-form { display: flex; align-items: flex-end; gap: 12px; }
.pp-qty { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: #64748B; }
.pp-qty input { width: 78px; font-family: 'Prompt', sans-serif; font-size: 16px; font-weight: 600; color: #061A4A; background: #fff; border: 2px solid #E1E8F5; border-radius: 10px; padding: 9px 12px; text-align: center; }
.pp-qty input:focus { outline: none; border-color: #F20D18; }
.btn-cart { display: inline-flex; align-items: center; gap: 8px; font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 15px; color: #fff; background: #061A4A; border: none; border-radius: 12px; padding: 12px 22px; cursor: pointer; transition: background .18s, transform .18s; }
.btn-cart:hover { background: #0c2a6b; transform: translateY(-1px); }
.product-buy-note { flex: 1 1 100%; margin: 0; font-size: 13px; color: #64748B; }
.product-buy-note b { color: #F20D18; }

/* cart page */
.cart-card { background: #fff; border: 1px solid #E6EBF5; border-radius: 16px; box-shadow: 0 10px 30px rgba(6,26,74,.05); overflow: hidden; margin-bottom: 24px; }
.cart-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cart-table thead th { background: #F5F7FB; color: #64748B; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13px; padding: 13px 16px; text-align: left; white-space: nowrap; }
.cart-table td { padding: 12px 16px; border-top: 1px solid #EEF2F9; font-size: 14.5px; color: #334155; vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 12px; }
.cart-prod img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid #E6EBF5; flex: 0 0 auto; }
.cart-prod span { font-weight: 500; color: #061A4A; }
.cart-qty { width: 66px; font-family: 'Prompt', sans-serif; font-size: 15px; font-weight: 600; color: #061A4A; text-align: center; background: #F5F7FB; border: 2px solid #E1E8F5; border-radius: 9px; padding: 7px; }
.cart-qty:focus { outline: none; border-color: #F20D18; }
.cart-x { border: none; background: #F5F7FB; color: #94A3B8; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: .15s; }
.cart-x:hover { background: #FEE2E2; color: #F20D18; }
.cart-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; background: #FBFCFE; border-top: 1px solid #EEF2F9; }
.cart-subtotal { font-size: 15px; color: #64748B; }
.cart-subtotal b { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 19px; color: #061A4A; margin-left: 6px; }
.cart-subtotal small { display: block; font-size: 12px; color: #94A3B8; text-align: right; }
.btn-light-link { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; color: #2650b0; }

/* quote request card */
.quote-request-card { background: linear-gradient(135deg, #061A4A, #12306e); color: #fff; border-radius: 18px; padding: 26px 28px; box-shadow: 0 16px 40px rgba(6,26,74,.2); }
.quote-request-card h2 { font-size: 20px; margin: 0 0 6px; color: #fff; }
.qr-lead { font-size: 14px; color: #B9C8E8; margin: 0 0 20px; line-height: 1.7; }
.qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 720px) { .qr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .qr-grid { grid-template-columns: 1fr; } }
.quote-request-card label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; color: #C6D2EC; }
.quote-request-card .qr-cap { display: block; font-size: 12.5px; font-weight: 600; color: #9DB2E0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-request-card .req { color: #ff8f95; }
.quote-request-card input, .quote-request-card textarea { width: 100%; box-sizing: border-box; font-family: 'Prompt', sans-serif; font-size: 15px; color: #fff; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.22); border-radius: 11px; padding: 12px 14px; transition: border-color .18s, background .18s; }
.quote-request-card input:focus, .quote-request-card textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.16); }
.quote-request-card input::placeholder, .quote-request-card textarea::placeholder { color: #8fa3cc; }
.qr-note-label { margin-bottom: 18px; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-quote { display: inline-flex; align-items: center; gap: 9px; font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 16px; color: #fff; background: #F20D18; border: none; border-radius: 12px; padding: 13px 26px; cursor: pointer; transition: background .18s, transform .18s; }
.btn-quote:hover { background: #d40b15; transform: translateY(-1px); }
.btn-quote-outline { display: inline-flex; align-items: center; gap: 9px; font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 16px; color: #fff; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; padding: 12px 24px; cursor: pointer; transition: background .18s, transform .18s; }
.btn-quote-outline:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }

/* quotation document */
.quote-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.quotation { background: #fff; border: 1px solid #E6EBF5; border-radius: 14px; box-shadow: 0 12px 34px rgba(6,26,74,.08); padding: 34px 38px; }
.q-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid #061A4A; padding-bottom: 20px; }
.q-brand { display: flex; gap: 14px; align-items: flex-start; }
.q-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: #fff; flex: 0 0 auto; }
.q-org-name { font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 17px; color: #061A4A; margin-bottom: 4px; }
.q-org div { font-size: 12.5px; color: #64748B; line-height: 1.65; }
.q-title { text-align: right; }
.q-title-big { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 26px; color: #F20D18; line-height: 1; }
.q-title-en { font-size: 12px; letter-spacing: .22em; color: #94A3B8; font-weight: 600; margin-bottom: 8px; }
.q-meta { margin-left: auto; font-size: 13px; }
.q-meta td { padding: 2px 0 2px 12px; color: #334155; }
.q-meta td:first-child { color: #94A3B8; }
.q-customer { display: flex; gap: 14px; align-items: baseline; margin: 20px 0; padding: 14px 18px; background: #F5F7FB; border-radius: 12px; }
.q-cust-label { font-size: 12.5px; font-weight: 700; color: #94A3B8; white-space: nowrap; }
.q-cust-body { font-size: 15px; color: #061A4A; }
.q-cust-contact { font-size: 13px; color: #64748B; margin-top: 3px; }
.q-table { width: 100%; border-collapse: collapse; }
.q-table thead th { background: #061A4A; color: #fff; font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 13.5px; padding: 11px 14px; text-align: left; }
.q-table tbody td { padding: 11px 14px; border-bottom: 1px solid #EEF2F9; font-size: 14px; color: #334155; }
.q-table tfoot td { padding: 14px; font-family: 'Prompt', sans-serif; font-size: 16px; color: #061A4A; border-top: 2px solid #061A4A; }
.q-note { margin-top: 16px; font-size: 13.5px; color: #334155; background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 10px; padding: 12px 16px; }
.q-terms { margin-top: 16px; font-size: 12.5px; color: #64748B; line-height: 1.9; }
.q-sign { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.q-sign-box { flex: 1; min-width: 200px; text-align: center; font-size: 13px; color: #64748B; }
.q-sign-line { border-top: 1px dashed #94A3B8; margin-bottom: 8px; height: 46px; }
.quote-pending { background: #fff; border: 1px solid #E6EBF5; border-radius: 16px; padding: 30px 32px; box-shadow: 0 10px 30px rgba(6,26,74,.05); }
.qp-badge { display: inline-block; background: #FFF7ED; color: #9A5B2B; border: 1px solid #FED7AA; border-radius: 99px; padding: 6px 16px; font-weight: 700; font-size: 14px; }

/* partner queue + price form */
.pq-section-title { font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 16px; color: #061A4A; margin: 6px 0 14px; display: flex; align-items: center; gap: 9px; }
.pq-list { display: flex; flex-direction: column; gap: 12px; }
.pq-card { display: flex; align-items: center; gap: 14px; justify-content: space-between; background: #fff; border: 1px solid #E6EBF5; border-radius: 14px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(6,26,74,.04); transition: border-color .18s, transform .18s; }
a.pq-card:hover { border-color: #CBD9F5; transform: translateY(-2px); }
.pq-card.-done { background: #FBFCFE; }
.pq-main b { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 15.5px; color: #061A4A; }
.pq-company { font-size: 13.5px; color: #64748B; margin-left: 6px; }
.pq-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #94A3B8; margin-top: 5px; }
.pq-cta { font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 14px; color: #F20D18; white-space: nowrap; }
.pq-links { display: flex; gap: 14px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.pq-links a { color: #2650b0; }
.qr-customer-box { background: #F5F7FB; border: 1px solid #E6EBF5; border-radius: 14px; padding: 16px 20px; margin-bottom: 20px; font-size: 15px; color: #061A4A; }
.price-input { width: 150px; font-family: 'Prompt', sans-serif; font-size: 15px; font-weight: 600; color: #061A4A; text-align: right; background: #FFFDF5; border: 2px solid #F0C674; border-radius: 9px; padding: 8px 12px; }
.price-input:focus { outline: none; border-color: #F20D18; }

/* member partner link */
.member-badge.-partner { background: #eaf0ff; color: #2650b0; }
.partner-quotes-link { display: flex; align-items: center; gap: 13px; width: 100%; background: #F5F7FB; border: 1px solid #E6EBF5; border-radius: 14px; padding: 15px 18px; margin: 20px 0 4px; transition: border-color .18s, transform .18s; }
.partner-quotes-link:hover { border-color: #CBD9F5; transform: translateY(-2px); }
.pql-ico { width: 40px; height: 40px; border-radius: 11px; background: #061A4A; color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pql-body { flex: 1; display: flex; flex-direction: column; text-align: left; }
.pql-body b { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 15px; color: #061A4A; }
.pql-body small { font-size: 12.5px; color: #64748B; }
.pql-count { background: #F20D18; color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.pql-arrow { color: #CBD5E1; font-size: 18px; }

/* ---- partner dashboard / queue ---- */
.partner-dash { width: 100%; margin: 20px 0 4px; }
.pd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-stat { background: #F5F7FB; border: 1px solid #E6EBF5; border-radius: 14px; padding: 16px 10px; text-align: center; }
.pd-stat.-pending { background: #FEF2F2; border-color: #FBD5D5; }
.pd-stat.-priced { background: #ECFDF5; border-color: #BBF7D0; }
.pd-num { font-family: 'Prompt', sans-serif; font-weight: 800; font-size: 30px; line-height: 1; color: #061A4A; }
.pd-stat.-pending .pd-num { color: #F20D18; }
.pd-stat.-priced .pd-num { color: #1aae6f; }
.pd-lab { font-size: 12.5px; color: #64748B; margin-top: 5px; font-weight: 500; }
.pd-cta { width: 100%; justify-content: center; margin-top: 14px; position: relative; }
.pd-cta-badge { background: #fff; color: #F20D18; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 2px 9px; }

.pq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pq-tab { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; color: #64748B; background: #fff; border: 1.5px solid #E6EBF5; border-radius: 999px; padding: 9px 18px; transition: .15s; }
.pq-tab:hover { border-color: #CBD9F5; color: #061A4A; }
.pq-tab.is-on { background: #061A4A; border-color: #061A4A; color: #fff; }
.pq-tab-n { background: #F20D18; color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 1px 7px; margin-left: 3px; }
.pq-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---- partner: quote-ready banner + copy ---- */
.quote-ready { background: #ECFDF5; border: 1px solid #BBF7D0; border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.qready-head { font-weight: 600; color: #127a52; margin-bottom: 12px; }
.qready-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.qready-actions #quoteLink { flex: 1; min-width: 200px; font-family: 'Prompt', sans-serif; font-size: 13.5px; color: #334155; background: #fff; border: 1.5px solid #C7E9D6; border-radius: 10px; padding: 10px 12px; }
.btn-copy { font-family: 'Prompt', sans-serif; font-weight: 600; font-size: 14px; color: #061A4A; background: #fff; border: 1.5px solid #CBD9F5; border-radius: 10px; padding: 10px 18px; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn-copy:hover { border-color: #2650b0; color: #2650b0; }
.cart-table tfoot td { padding: 14px 16px; border-top: 2px solid #E6EBF5; background: #FBFCFE; font-family: 'Prompt', sans-serif; }
.cart-table tfoot #grandTotal { font-size: 18px; color: #061A4A; }
