/* Portable Power Tool Calculator Toolkit v1.0.0. All selectors are scoped. */
.pptk-tool {
  --pptk-ink: #152238;
  --pptk-muted: #66758b;
  --pptk-muted-2: #8291a7;
  --pptk-border: #e3eaf4;
  --pptk-primary: #2463eb;
  --pptk-primary-dark: #174fcb;
  --pptk-soft: #f5f8fc;
  --pptk-radius: 18px;
  color: var(--pptk-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  width: 100%;
  max-width: 1160px;
  margin: 24px auto 38px;
  text-align: left;
}
.pptk-tool, .pptk-tool *, .pptk-tool *::before, .pptk-tool *::after { box-sizing: border-box; }
.pptk-tool :where(h2,h3,p) { margin-top: 0; }
.pptk-tool :where(button,input,select) { font-family: inherit; }
.pptk-tool :where(button):focus-visible, .pptk-tool :where(input,select):focus-visible, .pptk-tool summary:focus-visible { outline: 3px solid #92baff; outline-offset: 2px; }
.pptk-tool .pptk-intro { padding: 0 2px 20px; }
.pptk-tool .pptk-eyebrow { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 10.5px; line-height: 1.4; color: #536783; font-weight: 800; letter-spacing: 1.25px; }
.pptk-tool .pptk-eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: #2c78ed; box-shadow: 0 0 0 4px #e7f0ff; display: inline-block; }
.pptk-tool .pptk-heading { color: #142338; font-size: clamp(25px, 3vw, 35px); line-height: 1.2; letter-spacing: -1.05px; font-weight: 770; margin: 13px 0 9px; }
.pptk-tool .pptk-subheading { max-width: 760px; margin: 0; color: var(--pptk-muted); font-size: 15px; line-height: 1.65; }
.pptk-tool .pptk-workspace { background: var(--pptk-soft); border: 1px solid #e9eef6; border-radius: 23px; padding: 20px; box-shadow: 0 9px 35px rgba(23,49,89,.045); }
.pptk-tool .pptk-topbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 19px; }
.pptk-tool .pptk-topbar-copy { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; color: #65758a; }
.pptk-tool .pptk-topbar-sep { margin: 0 4px; color: #bcc7d5; }
.pptk-tool .pptk-status-circle { display: inline-flex; align-items: center; justify-content: center; height: 19px; width: 19px; border-radius: 50%; color: #128a62; font-weight: 900; font-size: 11px; background: #dff7ea; }
.pptk-tool .pptk-unit-toggle { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid #e0e7f0; background: #fff; border-radius: 11px; white-space: nowrap; }
.pptk-tool .pptk-unit-option { min-height: 36px; border: 0; padding: 7px 13px; border-radius: 8px; color: #63738b; font-size: 12px; font-weight: 740; background: transparent; cursor: pointer; transition: background .15s, color .15s; box-shadow: none; text-transform: none; letter-spacing: 0; }
.pptk-tool .pptk-unit-option:hover { background: #f2f6fd; color: #2e4765; }
.pptk-tool .pptk-unit-option.is-active { background: #eaf1ff; color: #2259ca; }
.pptk-tool .pptk-mode-row { display: flex; align-items: stretch; gap: 8px; margin: 0 0 17px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.pptk-tool .pptk-mode-tab { border: 1px solid #dae3ee; background: #fff; border-radius: 10px; padding: 9px 18px; color: #65748c; font-size: 13px; font-weight: 700; min-height: 43px; cursor: pointer; box-shadow: none; white-space: nowrap; line-height: 1.4; transition: background .15s, border-color .15s; text-transform: none; }
.pptk-tool .pptk-mode-tab:hover { border-color: #a9bee4; color: #2857a9; }
.pptk-tool .pptk-mode-tab.is-active { color: #1557d1; background: #eaf1ff; border-color: #9bbbf6; box-shadow: inset 0 0 0 1px rgba(48,103,220,.09); }
.pptk-tool .pptk-grid { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); gap: 17px; align-items: stretch; }
.pptk-tool .pptk-panel { min-width: 0; border: 1px solid var(--pptk-border); border-radius: var(--pptk-radius); padding: clamp(18px, 2.6vw, 28px); background: #fff; box-shadow: 0 3px 15px rgba(19,48,89,.026); }
.pptk-tool .pptk-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.pptk-tool .pptk-step { color: #7b90a9; display: block; font-size: 10px; font-weight: 850; letter-spacing: 1.1px; line-height: 1.5; }
.pptk-tool .pptk-panel-heading h3 { color: #16263c; letter-spacing: -.35px; font-size: 19px; font-weight: 770; line-height: 1.3; margin: 3px 0 0; }
.pptk-tool .pptk-example-badge { background: #f4f7fb; color: #71829b; font-size: 10px; padding: 5px 9px; font-weight: 720; border: 1px solid #edf1f5; border-radius: 7px; white-space: nowrap; }
.pptk-tool .pptk-mode-description { font-size: 12px; color: #8290a2; margin-bottom: 20px; line-height: 1.6; }
.pptk-tool .pptk-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 16px; }
.pptk-tool .pptk-field { min-width: 0; }
.pptk-tool .pptk-label { display: block; color: #263850; font-size: 12px; line-height: 1.4; margin-bottom: 8px; font-weight: 750; }
.pptk-tool .pptk-field-unit { display: inline; color: #8190a5; font-weight: 600; white-space: nowrap; }
.pptk-tool .pptk-input-wrap { position: relative; }
.pptk-tool .pptk-control { appearance: auto; -webkit-appearance: auto; background: #fff; color: #172842; display: block; border: 1px solid #d5deea; border-radius: 10px; width: 100%; min-width: 0; min-height: 47px; padding: 10px 12px; margin: 0; box-shadow: 0 1px 2px rgba(20,40,70,.025); font-size: 16px; font-weight: 680; line-height: 1.45; transition: border-color .15s, box-shadow .15s; }
.pptk-tool .pptk-control:hover { border-color: #b7c7db; }
.pptk-tool .pptk-control:focus { border-color: #699bfa; box-shadow: 0 0 0 3px rgba(49,111,237,.12); outline: none; }
.pptk-tool .pptk-control[aria-invalid="true"] { border-color: #d76b79; background: #fffafa; }
.pptk-tool .pptk-hint { color: #8b99a9; font-size: 11px; line-height: 1.55; margin: 6px 0 0; }
.pptk-tool .pptk-form-actions { border-top: 1px solid #eff2f6; margin-top: 24px; padding-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pptk-tool .pptk-reset { appearance: none; border: 1px solid #dce5f1; background: #fff; color: #4b6485; border-radius: 9px; padding: 10px 13px; min-height: 42px; cursor: pointer; font-size: 12px; font-weight: 750; box-shadow: none; letter-spacing: 0; text-transform: none; }
.pptk-tool .pptk-reset:hover { color: #1d5ac9; background: #f6f9ff; border-color: #b7cdf5; }
.pptk-tool .pptk-reset span { font-size: 16px; vertical-align: -1px; margin-right: 4px; }
.pptk-tool .pptk-auto-note { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8493a5; }
.pptk-tool .pptk-auto-note span { color: #24ad78; font-size: 10px; }
.pptk-tool .pptk-result-panel { background: #fff; }
.pptk-tool .pptk-live-badge { border: 1px solid #d4f3e7; background: #eafaf3; color: #1e9a67; border-radius: 5px; padding: 3px 7px; font-weight: 800; letter-spacing: .7px; font-size: 10px; }
.pptk-tool .pptk-hero-result { border: 1px solid #dbe8fc; border-radius: 14px; background: linear-gradient(124deg, #edf5ff 0%, #f8fbff 94%); padding: 22px 20px; margin: 22px 0 17px; overflow-wrap: anywhere; }
.pptk-tool .pptk-hero-label { color: #617994; font-size: 12px; font-weight: 750; margin: 0 0 9px; }
.pptk-tool .pptk-hero-number { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 9px; row-gap: 0; line-height: 1.2; color: #184cbb; }
.pptk-tool .pptk-hero-number strong { font-size: clamp(29px, 3.5vw, 44px); letter-spacing: -1.7px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.pptk-tool .pptk-hero-number span { color: #4f75bc; font-weight: 760; font-size: 14px; white-space: nowrap; }
.pptk-tool .pptk-hero-subtitle { color: #7a91b3; font-size: 11px; line-height: 1.5; margin: 10px 0 0; }
.pptk-tool .pptk-stat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pptk-tool .pptk-stat { background: #f7f9fc; border: 1px solid #edf1f6; border-radius: 10px; padding: 13px; min-width: 0; overflow-wrap: anywhere; }
.pptk-tool .pptk-stat-label { color: #75859a; font-size: 11px; font-weight: 650; display: block; margin-bottom: 5px; line-height: 1.45; }
.pptk-tool .pptk-stat-number { color: #233751; line-height: 1.4; }
.pptk-tool .pptk-stat-number strong { font-size: 18px; letter-spacing: -.35px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pptk-tool .pptk-stat-number span { color: #8a99ac; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pptk-tool .pptk-result-note { margin: 15px 0 0; font-size: 11.5px; color: #8290a1; line-height: 1.6; }
.pptk-tool .pptk-copy-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; padding-bottom: 15px; border-bottom: 1px solid #edf1f5; }
.pptk-tool .pptk-copy { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 41px; padding: 9px 13px; border: 1px solid #dce5f0; border-radius: 9px; background: #fff; color: #365f9c; font-size: 12px; font-weight: 740; cursor: pointer; text-transform: none; box-shadow: none; }
.pptk-tool .pptk-copy:hover:not(:disabled) { background: #f5f8fe; border-color: #bbd0f4; }
.pptk-tool .pptk-copy:disabled { cursor: not-allowed; opacity: .55; }
.pptk-tool .pptk-copy-status { color: #0a916b; font-size: 11px; font-weight: 700; }
.pptk-tool .pptk-disclaimer { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; }
.pptk-tool .pptk-disclaimer-icon { width: 18px; height: 18px; flex: 0 0 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; border-radius: 50%; color: #946b27; background: #fff0ca; margin-top: 2px; }
.pptk-tool .pptk-disclaimer p { color: #798698; font-size: 11px; line-height: 1.6; margin: 0; }
.pptk-tool .pptk-disclaimer strong { font-weight: 790; color: #586d85; }
.pptk-tool .pptk-input-error { border: 1px solid #f2d7db; background: #fff6f7; border-radius: 12px; padding: 18px; color: #9d3344; margin-top: 20px; }
.pptk-tool .pptk-input-error strong { display: block; font-size: 14px; }
.pptk-tool .pptk-input-error p { margin: 6px 0 0; font-size: 12px; }
.pptk-tool .pptk-method { margin-top: 14px; background: #fff; border-radius: 13px; border: 1px solid #e5ebf3; }
.pptk-tool .pptk-method details { padding: 0; }
.pptk-tool .pptk-method summary { cursor: pointer; color: #415875; padding: 15px 19px; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 740; font-size: 13px; }
.pptk-tool .pptk-method summary::-webkit-details-marker { display: none; }
.pptk-tool .pptk-method summary span { color: #6785b6; font-size: 19px; line-height: 1; }
.pptk-tool .pptk-method details[open] summary span { transform: rotate(45deg); }
.pptk-tool .pptk-method-inner { border-top: 1px solid #edf1f6; padding: 16px 19px 7px; }
.pptk-tool .pptk-method-inner p { color: #66788e; font-size: 12.5px; line-height: 1.75; margin-bottom: 12px; overflow-wrap: anywhere; }
.pptk-tool .pptk-method-inner strong { color: #435c78; }
.pptk-tool .pptk-loading,.pptk-tool .pptk-noscript { color: #66758b; padding: 18px; border: 1px solid #e4eaf2; background: #f8fafd; border-radius: 12px; }

@media (max-width: 820px) {
  .pptk-tool .pptk-grid { grid-template-columns: minmax(0,1fr); }
  .pptk-tool .pptk-workspace { padding: 15px; }
  .pptk-tool .pptk-panel { padding: 23px; }
  .pptk-tool .pptk-field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .pptk-tool { margin: 14px auto 30px; font-size: 14px; }
  .pptk-tool .pptk-intro { padding: 0 1px 18px; }
  .pptk-tool .pptk-heading { font-size: 25px; letter-spacing: -.65px; }
  .pptk-tool .pptk-subheading { font-size: 13px; line-height: 1.65; }
  .pptk-tool .pptk-workspace { padding: 11px; border-radius: 17px; }
  .pptk-tool .pptk-topbar { align-items: stretch; flex-direction: column; gap: 10px; margin: 2px 3px 16px; }
  .pptk-tool .pptk-unit-toggle { align-self: stretch; }
  .pptk-tool .pptk-unit-option { flex: 1; min-height: 41px; }
  .pptk-tool .pptk-grid { gap: 11px; }
  .pptk-tool .pptk-panel { padding: 17px; border-radius: 14px; }
  .pptk-tool .pptk-panel-heading h3 { font-size: 17px; }
  .pptk-tool .pptk-field-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .pptk-tool .pptk-mode-description { margin-bottom: 17px; }
  .pptk-tool .pptk-control { min-height: 49px; }
  .pptk-tool .pptk-mode-tab { min-height: 43px; flex-shrink: 0; }
  .pptk-tool .pptk-hero-result { padding: 18px 16px; margin-top: 17px; }
  .pptk-tool .pptk-hero-number strong { font-size: 33px; }
  .pptk-tool .pptk-stat-grid { gap: 9px; }
  .pptk-tool .pptk-stat { padding: 12px; }
  .pptk-tool .pptk-stat-number strong { font-size: 17px; }
  .pptk-tool .pptk-form-actions { margin-top: 20px; }
  .pptk-tool .pptk-method summary { padding: 14px; }
}
@media (max-width: 350px) {
  .pptk-tool .pptk-stat-grid { grid-template-columns: minmax(0,1fr); }
  .pptk-tool .pptk-auto-note { width: 100%; }
  .pptk-tool .pptk-example-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pptk-tool * { transition-duration: 0s !important; animation-duration: 0s !important; }
}
