body.note-page:has(.poe-tool) { background: #16181b; }
.landing-sheet:has(.poe-tool) { max-width: 1000px; padding-top: 36px; }
.poe-tool { color: #f6f8f7; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; }
.poe-tool *, .poe-tool *::before, .poe-tool *::after { box-sizing: border-box; letter-spacing: 0; }
.poe-tool h1 { font-size: 36px; line-height: 1.2; }
.poe-tool h2 { margin: 0 0 16px; font-size: 21px; line-height: 1.35; }
.poe-tool h3 { font-size: 17px; line-height: 1.45; margin: 24px 0 8px; }
.poe-intro { max-width: 70ch; margin: 0 0 28px; color: #d9e3df; }
.poe-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.poe-toolbar h2 { margin: 0; }
.poe-tool form { border-block: 1px solid #53645d; padding: 24px 0; }
.poe-row { display: grid; grid-template-columns: minmax(160px, 2fr) minmax(80px, 0.7fr) minmax(150px, 1fr) 44px; gap: 12px; align-items: end; padding: 12px 0; border-bottom: 1px solid #394841; }
.poe-tool label { display: grid; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #e2eae6; }
.poe-tool input { width: 100%; min-width: 0; height: 44px; padding: 8px 10px; border: 1px solid #81988c; border-radius: 4px; color: #f6f8f7; background: #20252b; font: inherit; font-size: 16px; font-weight: 400; }
.poe-tool input[aria-invalid="true"] { border-color: #ffa9a9; }
.poe-tool button, .poe-tool .poe-primary { min-height: 44px; border-radius: 4px; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; cursor: pointer; text-decoration: none; }
.poe-secondary { background: transparent; color: #eff6f2; border: 1px solid #81988c; padding: 10px 14px; }
.poe-secondary:hover { background: #293b31; }
.poe-secondary span { margin-right: 6px; font-size: 18px; }
.poe-remove { width: 44px; height: 44px; padding: 0; border: 1px solid #81988c; background: transparent; color: #f5d8d8; font-size: 24px !important; }
.poe-tool button:disabled, .poe-tool a[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.poe-tool :focus-visible { outline: 3px solid #b8e76a; outline-offset: 3px; }
#poe-add { margin-top: 16px; }
.poe-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.poe-note { color: #c4d4cc; font-size: 14px; line-height: 1.5; margin: 10px 0 18px; }
.poe-results { margin-top: 24px; padding-top: 24px; border-top: 1px solid #53645d; }
.poe-results dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; gap: 20px; }
.poe-results dt { color: #c4d4cc; font-size: 14px; }
.poe-results dd { margin: 6px 0 0; font-size: 30px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#poe-status { min-height: 52px; margin: 20px 0 8px; padding: 12px 0; color: #d2efce; border-block: 1px solid #53645d; }
#poe-status[data-result="short"], #poe-error { color: #ffd3c4; }
.poe-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.poe-primary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; background: #b8e76a; color: #182011 !important; border: 1px solid #b8e76a; }
.poe-primary:hover { background: #ccf390; }
#poe-export-status { min-height: 24px; margin: 8px 0 0; font-size: 14px; color: #c4d4cc; }
.poe-method { padding-top: 32px; }
.poe-method p { margin: 12px 0; max-width: 80ch; color: #d9e3df; }
.poe-method a { color: #c6ec94; text-decoration: underline; text-underline-offset: 3px; }
.poe-method ul { padding-left: 22px; }
.poe-method li { margin-bottom: 8px; }
.poe-method code { white-space: normal; overflow-wrap: anywhere; font-size: 14px; }
.poe-method table { width: 100%; border-collapse: collapse; font-size: 15px; }
.poe-method caption { text-align: left; font-size: 14px; color: #c4d4cc; margin-bottom: 10px; }
.poe-method th, .poe-method td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #53645d; }
.poe-method thead { background: #263342; }
@media (max-width: 600px) {
  .landing-sheet:has(.poe-tool) { padding-inline: 20px; }
  .poe-tool h1 { font-size: 28px; }
  .poe-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 12px; }
  .poe-row label:first-child { grid-column: 1 / 4; }
  .poe-settings { grid-template-columns: minmax(0, 1fr); }
  .poe-results dl { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .poe-results dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; }
  .poe-results dd { margin: 0; font-size: 26px; text-align: right; }
  body:has(.poe-tool) .whatsapp-float { display: none; }
}
