/* Scoped to .pgt only: never changes the theme or existing page blocks. */
.pgt{--pgt-accent:#176a8c;--pgt-line:#dce5eb;--pgt-muted:#516272;color:inherit;max-width:1100px;margin:1.5rem auto 2.5rem;font-family:inherit;line-height:1.55}.pgt *{box-sizing:border-box}.pgt h2,.pgt h3{line-height:1.25;margin:0 0 .5rem;color:inherit}.pgt p{margin:.4rem 0 1rem}.pgt-head{padding:1.6rem;border-radius:16px;background:#f3f7fa;border:1px solid var(--pgt-line);margin-bottom:1.2rem}.pgt-head h2{font-size:clamp(1.45rem,3vw,2rem)}.pgt-head p{color:var(--pgt-muted);margin:0}.pgt-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem}.pgt-card{color:#1b2933!important;display:block;background:#fff;border:1px solid var(--pgt-line);border-radius:14px;padding:1.3rem;text-decoration:none!important;box-shadow:0 2px 9px rgba(20,50,70,.04);transition:transform .15s,border-color .15s}.pgt-card:hover{transform:translateY(-2px);border-color:var(--pgt-accent)}.pgt-card p{color:var(--pgt-muted);font-size:.96rem}.pgt-tag{display:inline-block;background:#edf4f8;color:#22566e;padding:.16rem .55rem;border-radius:20px;font-size:.73rem;font-weight:700;letter-spacing:.04em;margin-bottom:.85rem}.pgt-action,.pgt-back{color:var(--pgt-accent)!important;font-weight:700;text-decoration:none!important}.pgt-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}.pgt-field{display:flex;flex-direction:column;gap:.4rem;font-size:.94rem;font-weight:600}.pgt-field input,.pgt-field select{appearance:auto!important;width:100%!important;min-height:45px!important;border:1px solid #aebfc9!important;border-radius:9px!important;padding:.55rem .75rem!important;background:#fff!important;color:#18232b!important;font-size:1rem!important;box-shadow:none!important}.pgt-field input:focus,.pgt-field select:focus{outline:2px solid #2589b1;outline-offset:1px}.pgt-form{color:#1b2933;padding:1.3rem;border:1px solid var(--pgt-line);border-radius:14px;background:#fff}.pgt-form button{margin-top:1.2rem;display:inline-block!important;border:none!important;border-radius:9px!important;background:var(--pgt-accent)!important;color:#fff!important;padding:.8rem 1.4rem!important;cursor:pointer;font:inherit!important;font-weight:700!important}.pgt-result{margin:1rem 0;padding:1.1rem 1.3rem;border-left:4px solid var(--pgt-accent);background:#eef7f8;border-radius:9px;color:#172c37}.pgt-result strong{font-size:1.35rem;display:block;margin:.3rem 0}.pgt-result p{margin:.25rem 0}.pgt-explain{margin:1.5rem 0}.pgt-note{color:var(--pgt-muted);font-size:.85rem;border-top:1px solid var(--pgt-line);padding-top:1rem}.pgt-tool .pgt-back{font-size:.88rem}@media(max-width:600px){.pgt-head,.pgt-form{padding:1rem}.pgt{margin:1rem auto 2rem}.pgt-grid{grid-template-columns:1fr}}@media(prefers-color-scheme:dark){.pgt-head{background:#162630;color:#edf3f7}.pgt-head p{color:#bed0d8}}

/* v1.1: harden widgets against inherited PlayGuide/theme CSS without touching site-wide styles */
.pgt,.pgt.pgt-tool{display:block!important;width:100%;max-width:1100px;min-width:0;overflow:visible;clear:both;text-align:left;}
.pgt .pgt-head,.pgt .pgt-form,.pgt .pgt-card,.pgt .pgt-result,.pgt .pgt-explain{min-width:0;max-width:100%;box-sizing:border-box;}
.pgt .pgt-head{background:#f3f7fa!important;color:#1b2933!important;border-color:#dce5eb!important;}
.pgt .pgt-head h2,.pgt .pgt-head p{color:#1b2933!important;opacity:1!important;text-shadow:none!important;}
.pgt .pgt-head p{color:#516272!important;}
.pgt .pgt-card,.pgt .pgt-card:hover,.pgt .pgt-card:focus{background:#fff!important;color:#1b2933!important;box-sizing:border-box;opacity:1!important;transform:none;}
.pgt .pgt-card h3{color:#1b2933!important;font-size:1.2rem!important;line-height:1.35!important;letter-spacing:normal!important;text-transform:none!important;}
.pgt .pgt-card p{color:#516272!important;}
.pgt .pgt-card .pgt-tag{color:#22566e!important;background:#edf4f8!important;}
.pgt .pgt-card .pgt-action{color:#176a8c!important;}
.pgt .pgt-form{display:block!important;background:#fff!important;color:#1b2933!important;}
.pgt .pgt-fields{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;gap:1rem!important;align-items:start;}
.pgt .pgt-field{display:flex!important;flex-direction:column!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;color:#1b2933!important;line-height:1.5!important;}
.pgt .pgt-field span{display:block!important;color:#263b49!important;font-size:.94rem!important;line-height:1.5!important;text-align:left!important;}
.pgt .pgt-field input,.pgt .pgt-field select{display:block!important;box-sizing:border-box!important;max-width:100%!important;margin:0!important;line-height:1.35!important;opacity:1!important;-webkit-text-fill-color:#18232b;}
.pgt .pgt-form button{width:auto!important;min-width:135px;max-width:100%;min-height:45px;text-transform:none!important;letter-spacing:normal!important;line-height:1.3!important;}
.pgt .pgt-result:not([hidden]){display:block!important;background:#eef7f8!important;color:#172c37!important;max-width:100%;overflow-wrap:anywhere;}
.pgt .pgt-result[hidden]{display:none!important;}
.pgt .pgt-result p,.pgt .pgt-result span,.pgt .pgt-result strong{color:#172c37!important;}
.pgt .pgt-result strong{font-size:1.12rem!important;overflow-wrap:anywhere;}
.pgt .pgt-explain h3{font-size:1.2rem!important;line-height:1.35!important;}
.pgt .pgt-back{display:inline-block!important;color:#176a8c!important;}
.pgt .pgt-note{color:#516272!important;}
@media(max-width:650px){.pgt,.pgt.pgt-tool{width:100%;margin:1rem auto 2rem;padding:0!important}.pgt .pgt-grid{grid-template-columns:minmax(0,1fr)!important}.pgt .pgt-fields{grid-template-columns:minmax(0,1fr)!important}.pgt .pgt-head,.pgt .pgt-form{padding:1rem!important}.pgt .pgt-result{padding:1rem!important}}


/* PlayGuide Tools UX v1.2.0 - scoped editorial layout */
/* Scope all overrides to shortcode markup, never header, menus, or homepage. */
.pgt {
  --pgt-accent:#24567b;
  --pgt-line:#d9e0e7;
  --pgt-muted:#516071;
  width:100%;max-width:1060px;min-width:0;
  margin:0 auto 2rem;
  color:#202c3b;
}
.pgt.pgt-tool {margin-top:.3rem}
.pgt .pgt-head {
  padding:0 !important;margin:0 0 1rem !important;
  background:transparent !important;border:0 !important;
  border-radius:0 !important;box-shadow:none !important;
}
.pgt .pgt-head p {margin:0 !important;line-height:1.6;color:#526175 !important}
.pgt .pgt-back {display:inline-flex !important;margin:0 0 .8rem !important;font-size:.89rem}
.pgt .pgt-form {
  background:#fff !important;color:#202c3b !important;
  border:1px solid #d9e0e7 !important;border-radius:14px !important;
  padding:clamp(1rem,2.2vw,1.55rem) !important;
  box-shadow:0 10px 25px rgba(12,24,42,.045);
}
.pgt .pgt-fields {gap:.85rem 1rem !important}
.pgt .pgt-field {gap:.35rem !important}
.pgt .pgt-field input,.pgt .pgt-field select {min-height:48px !important}
.pgt .pgt-form button {min-height:48px;transition:filter .15s,transform .15s}
.pgt .pgt-form button:hover {filter:brightness(1.1)}
.pgt .pgt-form button:focus-visible,.pgt .pgt-card:focus-visible,.pgt .pgt-back:focus-visible {outline:3px solid #416f9c !important;outline-offset:3px}
.pgt .pgt-card {border-color:#d9e0e7 !important;border-radius:14px !important;display:flex !important;flex-direction:column !important;gap:.6rem;min-width:0}
.pgt .pgt-card .pgt-action {margin-top:auto;padding-top:.4rem}
.pgt .pgt-grid {align-items:stretch;gap:1rem}
.pgt .pgt-explain {margin:1.1rem 0 1.3rem}
.pgt .pgt-note {margin-top:1rem}
/* Treat any remaining internal shortcode heading as secondary, not a second hero. */
.pgt .pgt-head h2 {font-size:1.35rem !important;color:#202c3b !important;text-shadow:none !important}
@media(max-width:650px) {
  .pgt,.pgt.pgt-tool {margin:.2rem auto 1.5rem !important}
  .pgt .pgt-head {padding:0 !important;margin-bottom:.8rem !important}
  .pgt .pgt-back {margin-bottom:.6rem !important}
  .pgt .pgt-form {padding:1rem !important}
  .pgt .pgt-fields {gap:.75rem !important}
  .pgt .pgt-form button {width:100% !important}
  .pgt .pgt-grid {grid-template-columns:minmax(0,1fr) !important}
}
