
#root button { min-height: 44px; }
#root button:disabled { opacity: .55; cursor: not-allowed; }
#root button:focus-visible, #root input:focus-visible, #root select:focus-visible,
#root textarea:focus-visible, #root [tabindex="0"]:focus-visible { outline: 3px solid #1b6489; outline-offset: 3px; }
#root pre[tabindex] { max-width: 100%; }
#root footer, #root footer code { color: #475569; }
#root .grid > *, #root .flex > div, #root .flex > span { min-width: 0; }
#root header .flex { flex-wrap: wrap; }
#root label, #root p, #root li, #root code { overflow-wrap: anywhere; }
#root li.flex { flex-wrap: wrap; }
#root .flex.items-center.justify-between { flex-wrap: wrap; gap: 8px; }
#root input[type="checkbox"] { width: 24px; height: 24px; flex: none; }
#root label:has(input[type="checkbox"]) { min-height: 44px; align-items: center; }
#root .ux-partition-order { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
#root .ux-partition-order button { border: 1px solid #cbd5e1; border-radius: 10px; padding: 6px 12px; background: #fff; font-size: 13px; color: #334155; }
.tool-feedback { position: fixed; bottom: 16px; right: 16px; width: min(400px, calc(100vw - 32px)); z-index: 1200; background: #172c43; color: #fff; border-radius: 12px; box-shadow: 0 6px 22px #10283f3d; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font: 500 14px/1.5 system-ui, sans-serif; }
.tool-feedback[hidden] { display: none; }
.tool-feedback p { margin: 0; flex: 1; overflow-wrap: anywhere; }
.tool-feedback button { flex: none; min-width: 44px; min-height: 44px; margin: -7px -9px -7px 0; border: 1px solid #ffffff66; background: transparent; color: #fff; border-radius: 8px; font-size: 20px; cursor: pointer; }
.tool-feedback button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) { #root .ux-partition-order { justify-content: flex-start; } }
#root .tool-cell-label, #root .tool-field-value { display: none; }

@media (max-width: 1100px) {
  #root [class~="lg:grid-cols-2"] { grid-template-columns: minmax(0, 1fr); }
  #root .flex > .mt-0\.5:has(> svg) { flex: 0 0 20px; }
  #root pre { white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; tab-size: 2; height: auto; max-height: none; overflow: visible; }
  #root pre span, #root pre code { white-space: inherit; overflow-wrap: inherit; word-break: inherit; }
  #root textarea { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; resize: vertical; }
  #root .tool-reference-wrap { overflow: visible; }
  #root .tool-reference-table { display: block; width: 100%; min-width: 0; border: 0; }
  #root .tool-reference-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #root .tool-reference-table tbody { display: grid; gap: 12px; width: 100%; }
  #root .tool-reference-table tr { display: block; min-width: 0; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; }
  #root .tool-reference-table td { display: block; width: 100%; padding: 10px 14px; white-space: normal; overflow-wrap: anywhere; border: 0; font-size: 14px; line-height: 1.5; }
  #root .tool-reference-table td + td { border-top: 1px solid #e2e8f0; }
  #root .tool-reference-table .tool-cell-label { display: block; margin-bottom: 3px; color: #475569; font: 600 12px/1.5 system-ui, sans-serif; }
  #root .tool-reference-table td:first-child { border-radius: 11px 11px 0 0; background: #f1f5f9; color: #172c43; font-weight: 700; }
  #root .tool-field-value:not([hidden]) { display: block; width: 100%; margin: 6px 0 0; color: #475569; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
}
@media (min-width: 640px) and (max-width: 1100px) { #root .tool-reference-table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .tool-feedback, .ux-partition-order { display: none!important; } }
