/* Shared styles for the /tools free-tools hub — matches site-shell branding
   (gold #d4af37, ink #1a1a1a, cream backgrounds) used on /pages/press etc. */
:root {
  --pgt-gold: #d4af37;
  --pgt-gold-dark: #b8941f;
  --pgt-ink: #1a1a1a;
  --pgt-soft: #6b6357;
  --pgt-bg: #fffbf3;
  --pgt-line: #e5d9b5;
}
body { font-family: 'Poppins', -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; color: var(--pgt-ink); line-height: 1.65; background: #fff; margin: 0; }
.pgt-hero { background: linear-gradient(135deg, #fffbeb 0%, #fdf6e3 100%); padding: 64px 20px 44px; text-align: center; border-bottom: 1px solid var(--pgt-line); }
.pgt-hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.9rem, 5vw, 3.1rem); margin: 0 0 14px; letter-spacing: -0.5px; }
.pgt-hero .pgt-lede { font-size: 1.08rem; max-width: 680px; margin: 0 auto; color: var(--pgt-soft); }
.pgt-badge { display: inline-block; background: var(--pgt-gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px; padding: 4px 12px; border-radius: 12px; margin-bottom: 14px; text-transform: uppercase; }
.pgt-container { max-width: 860px; margin: 0 auto; padding: 36px 20px 64px; }
.pgt-container h2 { font-size: 1.5rem; margin: 44px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--pgt-gold); display: inline-block; }
.pgt-container p { color: #333; }

/* Interactive tool card */
.pgt-tool { background: linear-gradient(135deg, #fffbeb, #fdf6e3); border: 1px solid var(--pgt-line); border-radius: 18px; padding: 26px 22px; text-align: center; margin: 28px auto; box-shadow: 0 6px 24px rgba(180, 140, 60, .12); }
.pgt-slots { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 14px 0; }
.pgt-slot { display: flex; flex-direction: column; align-items: center; }
.pgt-drop { width: 132px; height: 132px; border-radius: 50%; border: 3px dashed var(--pgt-gold); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; position: relative; transition: transform .15s, border-color .15s; }
.pgt-drop:hover, .pgt-drop:focus-visible, .pgt-drop.pgt-dragover { transform: scale(1.04); border-color: var(--pgt-gold-dark); outline: none; }
.pgt-drop img { width: 100%; height: 100%; object-fit: cover; }
.pgt-drop-text { font-size: 13px; color: #999; text-align: center; line-height: 1.35; padding: 0 8px; }
.pgt-slot-label { margin-top: 9px; font-size: 13px; font-weight: 600; color: #5a5040; }
.pgt-cta, .pgt-btn { display: inline-block; box-sizing: border-box; width: 100%; max-width: 420px; margin-top: 18px; padding: 15px 26px; background: linear-gradient(135deg, var(--pgt-gold), var(--pgt-gold-dark)); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .4px; border: none; border-radius: 50px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px rgba(212, 175, 55, .35); transition: transform .15s, box-shadow .15s; }
.pgt-cta:hover:not(:disabled), .pgt-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(212, 175, 55, .45); color: #fff; }
.pgt-cta:disabled { opacity: .55; cursor: not-allowed; }
.pgt-btn-secondary { background: #fff; color: var(--pgt-ink); border: 2px solid var(--pgt-gold); box-shadow: none; }
.pgt-btn-secondary:hover { color: var(--pgt-ink); }
.pgt-status { margin-top: 12px; font-size: 13.5px; color: var(--pgt-soft); min-height: 20px; }
.pgt-status.err { color: #c0392b; }
.pgt-status.ok { color: #1f7d3a; }
.pgt-tool input[type=file] { display: none; }
.pgt-note { font-size: 12.5px; color: var(--pgt-soft); margin-top: 10px; }

/* Restoration tool */
.pgt-restore-stage { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.pgt-restore-stage figure { margin: 0; max-width: 340px; }
.pgt-restore-stage canvas, .pgt-restore-stage img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--pgt-line); background: #fff; display: block; }
.pgt-restore-stage figcaption { font-size: 12.5px; color: var(--pgt-soft); margin-top: 6px; text-align: center; }

/* Calculator */
.pgt-calc-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 520px; margin: 18px auto; text-align: left; }
.pgt-calc-form label { font-size: 13px; font-weight: 600; color: #5a5040; display: block; }
.pgt-calc-form input, .pgt-calc-form select { width: 100%; box-sizing: border-box; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 15px; background: #fff; }
.pgt-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; background: #fff; }
.pgt-table th, .pgt-table td { border: 1px solid var(--pgt-line); padding: 9px 12px; text-align: left; }
.pgt-table th { background: var(--pgt-bg); }
.pgt-rating-excellent { color: #1f7d3a; font-weight: 700; }
.pgt-rating-good { color: #8a6d00; font-weight: 700; }
.pgt-rating-fair { color: #b3641f; font-weight: 600; }
.pgt-rating-poor { color: #c0392b; font-weight: 600; }

/* Photo aspect-ratio + print-crop calculator */
.pgt-tool-ratio { text-align: left; }
.pgt-tool-ratio > .pgt-badge, .pgt-tool-ratio > h2, .pgt-tool-ratio > .pgt-cta,
.pgt-tool-ratio > .pgt-btn, .pgt-tool-ratio > .pgt-note { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.pgt-ratio-fieldset { border: 0; padding: 0; margin: 22px 0; min-width: 0; }
.pgt-ratio-fieldset legend { display: block; width: 100%; padding: 0; margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; color: var(--pgt-ink); }
.pgt-ratio-fieldset legend span { font-size: .82rem; font-weight: 400; color: var(--pgt-soft); }
.pgt-ratio-presets .pgt-quiz-opt { min-height: 48px; }
.pgt-ratio-custom { display: flex; align-items: flex-end; justify-content: center; gap: 10px; margin: 14px auto 0; max-width: 360px; }
.pgt-ratio-custom > span { font-size: 24px; font-weight: 700; padding-bottom: 7px; color: var(--pgt-soft); }
.pgt-ratio-custom label, .pgt-ratio-output { display: block; flex: 1 1 0; font-size: 13px; font-weight: 600; color: #5a5040; }
.pgt-ratio-custom input, .pgt-ratio-output input { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; padding: 11px 12px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 16px; background: #fff; }
.pgt-ratio-output { max-width: 240px; margin: 0 auto 8px; }
.pgt-ratio-custom input:focus-visible, .pgt-ratio-output input:focus-visible,
.pgt-tool-ratio .pgt-calc-form input:focus-visible { outline: 3px solid rgba(184, 148, 31, .35); outline-offset: 1px; border-color: var(--pgt-gold-dark); }
#pgtRatioResult { max-width: 620px; margin: 18px auto 0; }
.pgt-ratio-result-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 18px 20px; }
.pgt-ratio-result-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.pgt-ratio-result-card p { margin: 9px 0; }
.pgt-ratio-resize { padding: 9px 11px; border-radius: 9px; background: var(--pgt-bg); }
.pgt-ratio-honesty { font-size: 12.5px; color: var(--pgt-soft) !important; }
.pgt-ratio-svg { display: block; width: 100%; max-width: 420px; margin: 14px auto 2px; }
.pgt-ratio-svg .pgt-ratio-photo { fill: #f5edd7; stroke: #8a7c66; stroke-width: 2; }
.pgt-ratio-svg .pgt-ratio-crop { fill: #c0392b; opacity: .3; }
.pgt-ratio-svg .pgt-ratio-keep { fill: rgba(255,255,255,.2); stroke: var(--pgt-gold-dark); stroke-width: 4; }
.pgt-ratio-svg text { fill: #5a5040; font: 600 13px 'Poppins', sans-serif; }
.pgt-ratio-table { display: table; }

@media (max-width: 560px) {
  .pgt-tool-ratio { padding-left: 14px; padding-right: 14px; }
  .pgt-ratio-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgt-ratio-custom { align-items: flex-end; }
  .pgt-ratio-result-card { padding: 15px; }
  .pgt-ratio-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pgt-ratio-table th, .pgt-ratio-table td { min-width: 110px; }
}

/* Picture hanging-height calculator */
.pgt-tool-hanging { text-align: left; }
.pgt-tool-hanging > .pgt-badge, .pgt-tool-hanging > h2, .pgt-tool-hanging > .pgt-cta, .pgt-tool-hanging > .pgt-btn, .pgt-tool-hanging > .pgt-note { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.pgt-hanging-intro { max-width: 620px; margin: 0 auto; text-align: center; font-size: 14px; color: var(--pgt-soft); }
.pgt-hanging-option { max-width: 520px; margin: 4px auto 0; }
.pgt-hanging-option > label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #5a5040; cursor: pointer; }
.pgt-hanging-option input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pgt-gold-dark); }
.pgt-hanging-option .pgt-calc-form { margin-bottom: 0; }
#pgtHangResult { max-width: 520px; margin: 18px auto 0; text-align: left; }
.pgt-hang-result { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 18px 20px; }
.pgt-hang-result h3 { margin: 0 0 8px; font-size: 1.15rem; }
.pgt-hang-result p { margin: 8px 0; }
.pgt-hang-result dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 14px 0 0; font-size: 14px; }
.pgt-hang-result dt { color: var(--pgt-soft); }
.pgt-hang-result dd { margin: 0; font-weight: 700; }

/* Quiz */
.pgt-quiz-q { margin: 20px 0; text-align: left; }
.pgt-quiz-q h3 { font-size: 1.05rem; margin: 0 0 10px; }
.pgt-quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pgt-quiz-opt { border: 2px solid var(--pgt-line); background: #fff; border-radius: 12px; padding: 12px 10px; font-size: 14px; cursor: pointer; text-align: center; transition: border-color .12s, background .12s; }
.pgt-quiz-opt[aria-pressed="true"] { border-color: var(--pgt-gold); background: #fffbeb; font-weight: 600; }
.pgt-quiz-result { display: none; text-align: left; background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 20px; margin-top: 18px; }
.pgt-quiz-result h3 { margin-top: 0; }
.pgt-quiz-result .pgt-alt { font-size: 14px; color: var(--pgt-soft); }

/* Steps, FAQ, related */
.pgt-steps { list-style: none; counter-reset: pgtstep; padding: 0; margin: 18px 0; }
.pgt-steps li { counter-increment: pgtstep; padding: 10px 0 10px 46px; position: relative; }
.pgt-steps li::before { content: counter(pgtstep); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--pgt-gold); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pgt-faq details { border: 1px solid var(--pgt-line); border-radius: 10px; padding: 0; margin: 10px 0; background: #fff; }
.pgt-faq summary { cursor: pointer; font-weight: 600; padding: 14px 16px; list-style-position: inside; }
.pgt-faq details > div { padding: 0 16px 14px; color: #333; }
.pgt-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0; }
.pgt-related a { display: block; background: var(--pgt-bg); border: 1px solid var(--pgt-line); border-radius: 12px; padding: 14px 16px; color: var(--pgt-ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .12s, transform .12s; }
.pgt-related a:hover { border-color: var(--pgt-gold); transform: translateY(-2px); }
.pgt-related a span { display: block; font-weight: 400; color: var(--pgt-soft); font-size: 13px; margin-top: 4px; }
.pgt-breadcrumbs { font-size: 13px; color: var(--pgt-soft); padding: 14px 20px 0; max-width: 860px; margin: 0 auto; }
.pgt-breadcrumbs a { color: var(--pgt-soft); }

/* Hub grid */
.pgt-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 26px 0; }
.pgt-hub-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--pgt-ink); transition: border-color .12s, transform .12s, box-shadow .12s; display: block; }
.pgt-hub-card:hover { border-color: var(--pgt-gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(180, 140, 60, .12); }
.pgt-hub-card .pgt-hub-emoji { font-size: 1.7rem; }
.pgt-hub-card h3 { margin: 8px 0 6px; font-size: 1.06rem; }
.pgt-hub-card p { margin: 0; font-size: 13.5px; color: var(--pgt-soft); }

/* Reviews — same dz-reviews component as homepage/PDP (ported from
   public/website/product-page.html scoped styles) */
.dz-reviews { max-width: 1140px; margin: 30px auto 10px; padding: 24px 16px; background: #faf8f4; border-radius: 16px; box-sizing: border-box; width: 100%; min-width: 0; overflow: hidden; }
.dz-reviews * { box-sizing: border-box; }
.dz-reviews .dz-reviews-head { text-align: center; margin-bottom: 16px; max-width: 100%; }
.dz-reviews .dz-section-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 600; color: #1a1a1a; margin: 0; line-height: 1.2; border: none; display: block; padding: 0; }
.dz-reviews .dz-reviews-rating { font-size: 15px; color: #555; margin-top: 4px; }
.dz-reviews .dz-reviews-rating .pgt-reviews-link { color: var(--pgt-gold-dark); font-weight: 600; }
.dz-reviews .dz-stars { color: #f5a623; letter-spacing: 1px; }
.dz-reviews .dz-reviews-grid { display: flex; min-width: 0; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: 8px 2px 16px; scrollbar-width: thin; scrollbar-color: #ddd transparent; }
.dz-reviews .dz-reviews-grid::-webkit-scrollbar { height: 8px; }
.dz-reviews .dz-reviews-grid::-webkit-scrollbar-thumb { background: #ddd; border-radius: 999px; }
.dz-reviews .dz-reviews-grid::-webkit-scrollbar-track { background: transparent; }
.dz-reviews .dz-review { flex: 0 0 240px; scroll-snap-align: start; margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: transform .15s, box-shadow .15s; }
.dz-reviews .dz-review:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.dz-reviews .dz-review-photo-wrap { position: relative; }
.dz-reviews .dz-review-photo { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; background: #faf8f4; }
/* position:relative establishes a containing block for the .pgt-sr-only
   rating span below — without it, that position:absolute span (top/left
   auto) resolves against the initial containing block instead of the
   240px-wide review card, which was measurably widening document-level
   scrollWidth past the viewport on narrow screens (pre-existing across
   every /tools page's reviews section, not new to this card). */
.dz-reviews .dz-review-body { padding: 12px 15px 15px; position: relative; }
.dz-reviews .dz-review .dz-stars { font-size: 14px; }
.dz-reviews .dz-review blockquote { margin: 7px 0; font-size: 13.5px; line-height: 1.5; color: #1a1a1a; }
.dz-reviews .dz-review figcaption { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.pgt-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; }

@media (max-width: 560px) {
  .pgt-hero { padding: 44px 16px 32px; }
  .pgt-container { padding: 24px 16px 48px; }
  .pgt-drop { width: 116px; height: 116px; }
}

/* Pose explorer */
.pgt-pose-q { margin: 20px 0; text-align: left; }
.pgt-pose-q h3 { font-size: 1.05rem; margin: 0 0 10px; }
.pgt-pose-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 22px 0 6px; }
.pgt-pose-count { margin: 0; font-size: 14px; font-weight: 600; color: #5a5040; }
.pgt-pose-toolbar .pgt-pose-shuffle { width: auto; max-width: none; margin-top: 0; padding: 10px 18px; font-size: 14px; }
.pgt-pose-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 12px 0 4px; text-align: left; }
.pgt-pose-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; }
.pgt-pose-card .pgt-pose-name { margin: 0 0 8px; font-size: 1.02rem; }
.pgt-pose-card .pgt-pose-how { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: #333; }
.pgt-pose-card .pgt-pose-tip { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--pgt-soft); background: var(--pgt-bg); border-radius: 8px; padding: 8px 10px; }
.pgt-pose-card .pgt-pose-copy { margin-top: auto; align-self: flex-start; border: 1.5px solid var(--pgt-gold); background: #fff; color: var(--pgt-ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s; }
.pgt-pose-card .pgt-pose-copy:hover, .pgt-pose-card .pgt-pose-copy:focus-visible { background: #fffbeb; border-color: var(--pgt-gold-dark); }

/* Background chooser */
.pgt-bg-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 12px 0 4px; text-align: left; }
.pgt-bg-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 16px 16px 14px; display: flex; flex-direction: column; }
.pgt-bg-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pgt-bg-setting { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--pgt-gold-dark); background: var(--pgt-bg); border: 1px solid var(--pgt-line); border-radius: 999px; padding: 3px 10px; }
.pgt-bg-palette { display: flex; gap: 0; border-radius: 999px; overflow: hidden; border: 1px solid var(--pgt-line); flex: 0 0 auto; }
.pgt-bg-swatch { width: 20px; height: 20px; display: block; }
.pgt-bg-card .pgt-bg-name { margin: 0 0 8px; font-size: 1.02rem; }
.pgt-bg-card .pgt-bg-desc { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: #333; }
.pgt-bg-card .pgt-bg-tip { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: var(--pgt-soft); background: var(--pgt-bg); border-radius: 8px; padding: 8px 10px; }
.pgt-bg-card .pgt-bg-save { margin-top: auto; align-self: flex-start; border: 1.5px solid var(--pgt-gold); background: #fff; color: var(--pgt-ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s; }
.pgt-bg-card .pgt-bg-save:hover, .pgt-bg-card .pgt-bg-save:focus-visible { background: #fffbeb; border-color: var(--pgt-gold-dark); }
.pgt-bg-card .pgt-bg-save[aria-pressed="true"] { background: var(--pgt-gold); color: #fff; border-color: var(--pgt-gold); }
.pgt-shortlist { text-align: left; background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 16px 18px; margin-top: 18px; }
.pgt-shortlist[hidden] { display: none; }
.pgt-shortlist-list { list-style: none; padding: 0; margin: 0 0 12px; }
.pgt-shortlist-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--pgt-line); font-size: 14px; }
.pgt-shortlist-list li:last-child { border-bottom: none; }
.pgt-shortlist-list li strong { font-weight: 600; }
.pgt-shortlist-remove { margin-left: auto; border: none; background: none; color: #c0392b; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 4px 6px; }
.pgt-shortlist-remove:hover, .pgt-shortlist-remove:focus-visible { text-decoration: underline; }
.pgt-shortlist .pgt-shortlist-copy { width: auto; max-width: none; margin-top: 0; padding: 10px 18px; font-size: 14px; }

/* Portrait size guide (wall visualizer) */
.pgt-size-wall-row { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
.pgt-size-wall-row input { width: 130px; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 15px; background: #fff; }
.pgt-unit-toggle { display: inline-flex; gap: 8px; }
.pgt-unit-toggle .pgt-quiz-opt { padding: 9px 16px; }
.pgt-size-chips .pgt-quiz-opt span.pgt-size-cm { display: block; font-weight: 400; font-size: 12px; color: var(--pgt-soft); margin-top: 2px; }
.pgt-wall-stage { position: relative; margin: 20px auto 8px; padding: 10px 0 0; background: #fff; border: 1px solid var(--pgt-line); border-radius: 12px; overflow: hidden; min-height: 120px; }
.pgt-wall { position: relative; margin: 0 auto; background: linear-gradient(#fdfaf2, #f4ecdb); border-bottom: 3px solid #d9c89a; box-sizing: content-box; }
.pgt-eyeline { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(184, 148, 31, .45); }
.pgt-eyeline span { position: absolute; right: 6px; top: 2px; font-size: 11px; color: var(--pgt-gold-dark); background: rgba(255, 251, 235, .85); padding: 1px 6px; border-radius: 8px; }
.pgt-furniture { position: absolute; bottom: 0; background: #e7dbbc; border: 1px solid #d9c89a; border-bottom: none; border-radius: 8px 8px 0 0; }
.pgt-frame { position: absolute; border: 3px solid var(--pgt-gold-dark); background: linear-gradient(135deg, #f6ecd6, #eaddc0); box-shadow: 0 4px 12px rgba(120, 90, 30, .25); display: flex; align-items: center; justify-content: center; }
.pgt-frame span { font-size: 11.5px; font-weight: 700; color: #6b5a34; white-space: nowrap; }
#pgtSizeResult { text-align: left; font-size: 14.5px; }
#pgtSizeResult .pgt-size-note { background: var(--pgt-bg); border: 1px solid var(--pgt-line); border-radius: 10px; padding: 10px 12px; }
#pgtSizeResult .pgt-size-row-active td { background: #fffbeb; }
.pgt-size-table-title { font-size: 1.05rem; margin: 26px 0 4px; text-align: left; }
.pgt-size-table { text-align: left; }
.pgt-size-table .pgt-size-orderable { color: var(--pgt-gold-dark); font-weight: 600; white-space: nowrap; }

/* Caricature scene chooser */
.pgt-scene-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 4px; text-align: left; }
.pgt-scene-card { font: inherit; width: 100%; box-sizing: border-box; background: #fff; border: 2px solid var(--pgt-line); border-radius: 14px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; text-align: left; transition: border-color .12s, background .12s, box-shadow .12s; }
.pgt-scene-card:hover { border-color: var(--pgt-gold-dark); background: #fffdf6; }
.pgt-scene-card:focus-visible { outline: none; border-color: var(--pgt-gold-dark); box-shadow: 0 0 0 3px rgba(184, 148, 31, .35); }
.pgt-scene-card[aria-pressed="true"] { border-color: var(--pgt-gold); background: #fffbeb; box-shadow: 0 2px 10px rgba(120, 90, 30, .12); }
.pgt-scene-card .pgt-scene-emoji { font-size: 22px; line-height: 1; }
.pgt-scene-card .pgt-scene-name { font-size: 1rem; font-weight: 600; color: var(--pgt-ink); }
.pgt-scene-card[aria-pressed="true"] .pgt-scene-name::after { content: " ✓"; color: var(--pgt-gold-dark); }
.pgt-scene-card .pgt-scene-blurb { font-size: 13px; line-height: 1.5; color: #333; }
.pgt-scene-selected { margin: 12px 0 0; font-size: 14px; color: #5a5040; text-align: left; }
.pgt-scene-selected strong { color: var(--pgt-gold-dark); }
@media (max-width: 560px) {
  .pgt-scene-deck { grid-template-columns: 1fr; gap: 10px; }
  .pgt-scene-card { padding: 12px; }
}

/* Portrait idea generator (idea → image → customize) */
.pgt-tool-idea { text-align: left; }
.pgt-tool-idea h2 { text-align: center; }
.pgt-idea-label { display: block; font-size: 13px; font-weight: 600; color: #5a5040; margin: 14px 0 6px; }
.pgt-idea-input { width: 100%; box-sizing: border-box; resize: vertical; min-height: 84px; padding: 14px 15px; border: 2px solid var(--pgt-line); border-radius: 14px; font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--pgt-ink); background: #fff; transition: border-color .12s, box-shadow .12s; }
.pgt-idea-input:focus { outline: none; border-color: var(--pgt-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .22); }
.pgt-idea-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 7px 2px 0; flex-wrap: wrap; }
.pgt-idea-hint { font-size: 12.5px; color: var(--pgt-soft); }
.pgt-idea-count { font-size: 12px; color: var(--pgt-soft); font-variant-numeric: tabular-nums; }
.pgt-idea-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.pgt-idea-chip { border: 1.5px solid var(--pgt-line); background: #fff; color: var(--pgt-ink); border-radius: 999px; padding: 8px 14px; font-size: 13px; line-height: 1.2; cursor: pointer; min-height: 40px; transition: border-color .12s, background .12s, transform .12s; }
.pgt-idea-chip:hover, .pgt-idea-chip:focus-visible { border-color: var(--pgt-gold); background: #fffbeb; outline: none; transform: translateY(-1px); }
.pgt-idea-generate { text-align: center; }
.pgt-idea-stage[hidden] { display: none; }
.pgt-idea-stage { margin-top: 18px; }
.pgt-idea-figure { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; background: #f3ecd9; border: 1px solid var(--pgt-line); box-shadow: 0 8px 26px rgba(120, 90, 30, .18); }
.pgt-idea-result { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgt-idea-result[hidden] { display: none; }
.pgt-idea-shimmer { position: absolute; inset: 0; background: linear-gradient(100deg, #efe6d0 30%, #f8f1e0 50%, #efe6d0 70%); background-size: 200% 100%; display: none; }
.pgt-idea-figure.pgt-idea-loading .pgt-idea-shimmer { display: block; animation: pgtIdeaShimmer 1.4s ease-in-out infinite; }
@keyframes pgtIdeaShimmer { 0% { background-position: 180% 0; } 100% { background-position: -80% 0; } }
.pgt-idea-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }
.pgt-idea-actions[hidden] { display: none; }
.pgt-idea-actions .pgt-cta, .pgt-idea-actions .pgt-btn { margin-top: 0; }
.pgt-idea-retry { max-width: 280px; }
@media (prefers-reduced-motion: reduce) {
  .pgt-idea-figure.pgt-idea-loading .pgt-idea-shimmer { animation: none; }
}
@media (max-width: 560px) {
  .pgt-idea-figure { max-width: 240px; }
}

/* Travel Memory Portrait Builder (plan → generate → result → customize) */
.pgt-tool-travel { text-align: left; }
.pgt-tool-travel h2 { text-align: center; }
.pgt-travel-step { margin: 22px 0; }
.pgt-travel-step h3 { font-size: 1.05rem; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.pgt-travel-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pgt-gold); color: #fff; font-size: 13px; font-weight: 700; flex: 0 0 auto; }
.pgt-travel-ctrl-label { font-size: 13px; font-weight: 600; color: #5a5040; margin: 14px 0 8px; }

.pgt-travel-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pgt-travel-city { min-height: 44px; min-width: 44px; box-sizing: border-box; border: 2px solid var(--pgt-line); background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13.5px; line-height: 1.3; cursor: pointer; transition: border-color .12s, background .12s; }
.pgt-travel-city span { display: block; font-size: 11.5px; color: var(--pgt-soft); }
.pgt-travel-city[aria-pressed="true"] { border-color: var(--pgt-gold); background: #fffbeb; font-weight: 600; }
.pgt-travel-addcity { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.pgt-travel-addcity input { flex: 1 1 200px; min-height: 44px; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 15px; background: #fff; }
.pgt-travel-addcity button { width: auto; max-width: none; min-height: 44px; margin-top: 0; padding: 10px 18px; font-size: 14px; }

.pgt-travel-selected { margin-top: 14px; }
.pgt-travel-empty { font-size: 13.5px; color: var(--pgt-soft); }
.pgt-travel-city-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.pgt-travel-city-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pgt-travel-city-head strong { font-size: 1rem; }
.pgt-travel-city-remove, .pgt-travel-selectall { min-height: 44px; border: 1.5px solid var(--pgt-line); background: #fff; color: var(--pgt-soft); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.pgt-travel-city-remove:hover, .pgt-travel-selectall:hover, .pgt-travel-city-remove:focus-visible, .pgt-travel-selectall:focus-visible { border-color: var(--pgt-gold-dark); color: var(--pgt-ink); outline: none; }
.pgt-travel-landmarks { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pgt-travel-landmark { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; box-sizing: border-box; border: 2px solid var(--pgt-line); background: #fff; color: var(--pgt-ink); border-radius: 999px; padding: 8px 14px 8px 8px; font-size: 13.5px; cursor: pointer; transition: border-color .12s, background .12s; }
.pgt-travel-landmark[aria-pressed="true"] { border-color: var(--pgt-gold); background: #fffbeb; font-weight: 600; }
.pgt-travel-glyph, .pgt-travel-tile-glyph { display: inline-flex; width: 28px; height: 28px; color: var(--pgt-gold-dark); flex: 0 0 auto; }
.pgt-travel-glyph svg, .pgt-travel-tile-glyph svg { width: 100%; height: 100%; }
.pgt-travel-customplaces { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pgt-travel-customplace { display: inline-flex; align-items: center; gap: 6px; background: #fffbeb; border: 1.5px solid var(--pgt-gold); color: var(--pgt-ink); border-radius: 999px; padding: 7px 8px 7px 14px; font-size: 13px; font-weight: 600; }
.pgt-travel-place-remove { min-width: 28px; min-height: 28px; border: none; background: transparent; color: var(--pgt-soft); font-size: 15px; line-height: 1; cursor: pointer; border-radius: 50%; }
.pgt-travel-place-remove:hover, .pgt-travel-place-remove:focus-visible { color: #c0392b; outline: none; }
.pgt-travel-addplace { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pgt-travel-addplace input { flex: 1 1 220px; min-height: 44px; box-sizing: border-box; padding: 10px 14px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 14.5px; background: #fff; }
.pgt-travel-addplace button { width: auto; max-width: none; min-height: 44px; margin-top: 0; padding: 10px 16px; font-size: 14px; }

.pgt-travel-palette .pgt-travel-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--pgt-swatch, #ccc); margin-right: 6px; vertical-align: middle; border: 1px solid rgba(0,0,0,.1); }

.pgt-travel-board-wrap { margin: 18px 0 4px; }
.pgt-travel-board { position: relative; max-width: 320px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--pgt-line); box-shadow: 0 8px 24px rgba(120, 90, 30, .14); min-height: 140px; padding: 14px; box-sizing: border-box; }
.pgt-travel-board-hint { font-size: 13px; color: var(--pgt-soft); text-align: center; margin: 30px 0; }
.pgt-travel-selfie { width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; border-radius: 10px; margin-bottom: 10px; }
.pgt-travel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.pgt-travel-tile { background: rgba(255,255,255,.92); border-radius: 10px; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pgt-travel-tile-cap { font-size: 11px; font-weight: 700; color: #2a2416; line-height: 1.25; }
.pgt-travel-tile-name { padding-top: 14px; }
.pgt-travel-more { text-align: center; font-size: 12px; color: var(--pgt-soft); margin: 8px 0 0; }
.pgt-travel-concept-note { font-size: 12.5px; color: var(--pgt-soft); text-align: center; max-width: 420px; margin: 10px auto 0; }

.pgt-travel-privacy { text-align: center; max-width: 480px; margin-left: auto; margin-right: auto; }
.pgt-travel-generate { min-height: 52px; }
.pgt-travel-generate.pgt-loading { opacity: .75; cursor: progress; }
.pgt-travel-generate:disabled { opacity: .5; cursor: not-allowed; }

.pgt-travel-result[hidden] { display: none; }
.pgt-travel-result { margin: 22px auto 0; max-width: 340px; text-align: center; }
.pgt-travel-result-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--pgt-line); box-shadow: 0 10px 28px rgba(120, 90, 30, .2); background: #f3ecd9; }
.pgt-travel-result-img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 3; object-fit: cover; }
.pgt-travel-result-cap { font-size: 12.5px; color: var(--pgt-soft); margin: 10px 0; }
.pgt-travel-result-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pgt-travel-result-actions .pgt-cta, .pgt-travel-result-actions .pgt-btn { margin-top: 0; }

.pgt-travel-more-tools { margin-top: 18px; text-align: left; }
.pgt-travel-more-tools summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--pgt-soft); padding: 8px 0; }
.pgt-travel-toolbar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 10px 0; }
.pgt-travel-toolbar .pgt-btn { width: auto; max-width: none; margin-top: 0; padding: 10px 16px; font-size: 13.5px; }
.pgt-travel-summary { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--pgt-line); border-radius: 10px; font-size: 13px; font-family: inherit; color: var(--pgt-soft); background: var(--pgt-bg); }
.pgt-travel-cta-fallback { display: block; text-align: center; font-size: 13px; color: var(--pgt-soft); margin: 18px 0 4px; }

@media (max-width: 560px) {
  .pgt-travel-board { max-width: 100%; }
  .pgt-travel-result { max-width: 100%; }
  /* Sticky primary action so the main conversion step stays reachable while
     scrolling a long plan-then-generate page on small screens. */
  .pgt-travel-generate { position: sticky; bottom: 10px; z-index: 5; }
}

/* ── portrait lighting explorer ─────────────────────────────────────────── */
.pgt-light-diagram { display: block; width: 100%; max-width: 260px; margin: 10px auto 4px; }
.pgt-light-aka { font-size: 0.78em; font-weight: 400; color: #8a7c66; }

/* ── mat & frame size calculator ────────────────────────────────────────── */
.pgt-tool-matsize .pgt-mat-modes .pgt-quiz-opt { min-height: 48px; }
.pgt-mat-result-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 18px 20px; }
.pgt-mat-result-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.pgt-mat-result-card h4 { margin: 14px 0 6px; font-size: 1rem; }
.pgt-mat-result-card p { margin: 9px 0; }
.pgt-mat-result-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0; }
.pgt-mat-result-card dt { font-weight: 600; color: #5a5040; }
.pgt-mat-result-card dd { margin: 0; }
.pgt-mat-honesty { font-size: 12.5px; color: var(--pgt-soft) !important; }
.pgt-mat-svg { display: block; width: 100%; max-width: 420px; margin: 14px auto 2px; }
.pgt-mat-svg .pgt-mat-board { fill: #f5edd7; stroke: #8a7c66; stroke-width: 2; }
.pgt-mat-svg .pgt-mat-open { fill: #fff; stroke: var(--pgt-gold-dark); stroke-width: 3; }
.pgt-mat-svg text { fill: #5a5040; font: 600 13px 'Poppins', sans-serif; }
.pgt-mat-table { display: table; }
.pgt-mat-table td span { font-size: 12px; color: var(--pgt-soft); }
.pgt-mat-flag-ok { color: #1e7a34; font-weight: 600; }
.pgt-mat-flag-thin { color: #a05c10; font-weight: 600; }
.pgt-mat-flag-no { color: #c0392b; font-weight: 600; }
@media (max-width: 560px) {
  .pgt-mat-result-card { padding: 15px; }
  .pgt-mat-result-card dl { grid-template-columns: 1fr; gap: 2px; }
  .pgt-mat-result-card dt { margin-top: 8px; }
  .pgt-mat-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pgt-mat-table th, .pgt-mat-table td { min-width: 96px; }
}
.pgt-tool-gallerywall .pgt-gw-layouts .pgt-quiz-opt,
.pgt-tool-gallerywall .pgt-gw-units .pgt-quiz-opt { min-height: 48px; }
.pgt-gw-sizes { display: grid; gap: 8px; }
.pgt-gw-size-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.pgt-gw-anchor-line { display: block; margin: 8px 0; }
.pgt-gw-rise-field { margin-top: 10px; }
.pgt-gw-result-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 18px 20px; }
.pgt-gw-result-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.pgt-gw-result-card h4 { margin: 14px 0 6px; font-size: 1rem; }
.pgt-gw-result-card p { margin: 9px 0; }
.pgt-gw-result-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0; }
.pgt-gw-result-card dt { font-weight: 600; color: #5a5040; }
.pgt-gw-result-card dd { margin: 0; }
.pgt-gw-honesty { font-size: 12.5px; color: var(--pgt-soft) !important; }
.pgt-gw-svg { display: block; width: 100%; max-width: 440px; margin: 14px auto 2px; }
.pgt-gw-svg .pgt-gw-wall { fill: #faf6ea; stroke: #8a7c66; stroke-width: 2; }
.pgt-gw-svg .pgt-gw-furniture { fill: #e6dcc4; stroke: #8a7c66; stroke-width: 1; }
.pgt-gw-svg .pgt-gw-eyeline { stroke: var(--pgt-gold-dark); stroke-width: 1; stroke-dasharray: 4 3; }
.pgt-gw-svg .pgt-gw-frame { fill: #fff; stroke: var(--pgt-gold-dark); stroke-width: 2.5; }
.pgt-gw-svg .pgt-gw-frame-n { fill: #5a5040; font: 600 11px 'Poppins', sans-serif; }
.pgt-gw-svg text { fill: #5a5040; font: 600 13px 'Poppins', sans-serif; }
.pgt-gw-table { display: table; }
.pgt-gw-table td span { font-size: 12px; color: var(--pgt-soft); }
.pgt-gw-flag-ok { color: #1e7a34; font-weight: 600; }
.pgt-gw-flag-tight { color: #a05c10; font-weight: 600; }
.pgt-gw-flag-no { color: #c0392b; font-weight: 600; }
@media (max-width: 560px) {
  .pgt-gw-result-card { padding: 15px; }
  .pgt-gw-result-card dl { grid-template-columns: 1fr; gap: 2px; }
  .pgt-gw-result-card dt { margin-top: 8px; }
  .pgt-gw-size-row { grid-template-columns: 1fr; gap: 6px; }
  .pgt-gw-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pgt-gw-table th, .pgt-gw-table td { min-width: 92px; }
}
.pgt-tool-framecolor .pgt-quiz-opt { min-height: 48px; }
.pgt-fc-result-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 18px 20px; }
.pgt-fc-result-card h3 { margin: 0 0 4px; font-size: 1.18rem; }
.pgt-fc-result-card h4 { margin: 12px 0 6px; font-size: 1rem; }
.pgt-fc-picks { color: var(--pgt-soft); font-size: 13.5px; margin: 2px 0 12px; }
.pgt-fc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 10px; }
.pgt-fc-chip { display: flex; align-items: center; gap: 9px; border: 1px solid var(--pgt-line); border-radius: 999px; padding: 5px 15px 5px 5px; background: #fdfbf5; }
.pgt-fc-chip:first-child { border-color: var(--pgt-gold); box-shadow: 0 1px 5px rgba(0, 0, 0, .07); }
.pgt-fc-swatch { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); font-size: 13px; font-weight: 700; }
.pgt-fc-table .pgt-fc-swatch { width: 18px; height: 18px; vertical-align: middle; }
.pgt-fc-chip-label { font-weight: 600; font-size: 14px; }
.pgt-fc-chip-score { font-size: 12px; color: var(--pgt-soft); }
.pgt-fc-why { margin: 6px 0 10px; padding-left: 20px; }
.pgt-fc-why li { margin: 4px 0; }
.pgt-fc-caution { background: #fff7e6; border-left: 3px solid var(--pgt-gold-dark); padding: 8px 10px; border-radius: 6px; font-size: 13.5px; color: #a05c10; }
.pgt-fc-avoid { font-size: 14px; }
.pgt-fc-honesty { font-size: 12.5px; color: var(--pgt-soft); }
.pgt-fc-table { display: table; }
@media (max-width: 560px) {
  .pgt-fc-result-card { padding: 15px; }
  .pgt-fc-chips { flex-direction: column; align-items: stretch; }
  .pgt-fc-chip { justify-content: flex-start; }
  .pgt-fc-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pgt-fc-table th, .pgt-fc-table td { min-width: 92px; }
}
.pgt-tool-giftwrap .pgt-wrap-units .pgt-quiz-opt,
.pgt-tool-giftwrap .pgt-wrap-depths .pgt-quiz-opt { min-height: 48px; }
.pgt-wrap-depths { margin-top: 8px; }
.pgt-wrap-result-card { background: #fff; border: 1px solid var(--pgt-line); border-radius: 14px; padding: 18px 20px; }
.pgt-wrap-result-card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.pgt-wrap-result-card p { margin: 9px 0; }
.pgt-wrap-result-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0; }
.pgt-wrap-result-card dt { font-weight: 600; color: #5a5040; }
.pgt-wrap-result-card dd { margin: 0; }
.pgt-wrap-honesty { font-size: 12.5px; color: var(--pgt-soft) !important; }
.pgt-wrap-svg { display: block; width: 100%; max-width: 420px; margin: 14px auto 2px; }
.pgt-wrap-svg .pgt-wrap-sheet { fill: #f5edd7; stroke: #8a7c66; stroke-width: 2; }
.pgt-wrap-svg .pgt-wrap-face { fill: #fff; stroke: var(--pgt-gold-dark); stroke-width: 2.5; }
.pgt-wrap-svg .pgt-wrap-fold { stroke: #8a7c66; stroke-width: 1; stroke-dasharray: 4 3; }
.pgt-wrap-svg text { fill: #5a5040; font: 600 13px 'Poppins', sans-serif; }
.pgt-wrap-table { display: table; }
.pgt-wrap-table td span { font-size: 12px; color: var(--pgt-soft); }
.pgt-wrap-flag-ok { color: #1e7a34; font-weight: 600; }
.pgt-wrap-flag-turn { color: #a05c10; font-weight: 600; }
.pgt-wrap-flag-no { color: #c0392b; font-weight: 600; }
@media (max-width: 560px) {
  .pgt-wrap-result-card { padding: 15px; }
  .pgt-wrap-result-card dl { grid-template-columns: 1fr; gap: 2px; }
  .pgt-wrap-result-card dt { margin-top: 8px; }
  .pgt-wrap-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pgt-wrap-table th, .pgt-wrap-table td { min-width: 92px; }
}
