html[data-public-tool] {
  --surface: #fcfcff;
  --panel: #ffffff;
  --panel-strong: #fbe8df;
  --text: #161d7a;
  --muted: #4a4f77;
  --line: #e2e4f4;
  --primary: #1e28a5;
  --primary-strong: #161d7a;
  --accent: #fad741;
  --danger: #f55a78;
  --ok: #14804a;
  --warn: #b45309;
  --ink: #161d7a;
  --green: #14804a;
  --blue: #1e28a5;
  --red: #f55a78;
  --md-sys-color-primary: #1e28a5;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #fbe8df;
  --md-sys-color-on-primary-container: #161d7a;
  --md-sys-color-secondary: #f55a78;
  --md-sys-color-secondary-container: #fcdfd3;
  --md-sys-color-surface: #fcfcff;
  --md-sys-color-surface-container: #ffffff;
  --md-sys-color-surface-container-low: #f7f7ff;
  --md-sys-color-surface-container-high: #fbe8df;
  --md-sys-color-on-surface: #161d7a;
  --md-sys-color-on-surface-variant: #4a4f77;
  --md-sys-color-outline: #b9bfdf;
  --md-sys-color-outline-variant: #e2e4f4;
  --shadow: 0 18px 48px rgba(30, 40, 165, .13);
}

/*
 * The uploader adapter builds its final shell and moves the native module into
 * it after DOMContentLoaded. Keep that short preparation phase off-screen so
 * the browser never paints the unwrapped upload layout first (FOUC/layout
 * shift). The adapter reveals the completed uploader atomically.
 */
html[data-public-tool]:not(.public-tool-ready) body {
  opacity: 0 !important;
  pointer-events: none !important;
}

html[data-public-tool].public-tool-ready body {
  opacity: 1;
}

body.public-tool-mode {
  font-family: var(--public-font-body), system-ui, sans-serif !important;
  background:
    linear-gradient(180deg, rgba(251, 232, 223, .75), rgba(252, 252, 255, 0) 420px),
    #fcfcff !important;
  color: #161d7a !important;
}

body.public-tool-mode > [data-public-header] {
  position: relative;
  z-index: 3700;
  display: block;
}

body.public-tool-mode > [data-public-header] .site-header {
  z-index: 3700;
}

body.public-tool-mode > [data-public-footer] {
  display: block;
}

.public-tool-shell {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(30, 40, 165, .12);
  background:
    radial-gradient(720px 300px at 100% 0, rgba(250, 215, 65, .26), transparent 62%),
    linear-gradient(135deg, #1e28a5 0%, #182184 58%, #0e1457 100%);
  color: #fff;
  isolation: isolate;
  overflow: clip;
}

.public-tool-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.public-tool-hero {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: stretch;
  padding: 30px 0 18px;
}

.public-tool-copy {
  min-width: 0;
}

.public-tool-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
  font-family: var(--public-font-action), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}

.public-tool-back .material-symbols-outlined {
  font-size: 18px;
}

.public-tool-kicker {
  margin: 20px 0 8px;
  color: #fad741;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.public-tool-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #fff !important;
  font-family: var(--public-font-display), system-ui, sans-serif !important;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 850;
}

.public-tool-lead {
  max-width: 640px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.public-tool-status {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 44px rgba(14, 20, 87, .22);
  backdrop-filter: blur(18px);
}

.public-tool-ring {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(#fad741 var(--progress), rgba(255, 255, 255, .18) 0),
    rgba(255, 255, 255, .12);
  position: relative;
}

.public-tool-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #1e28a5;
}

.public-tool-ring strong {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.public-tool-status small,
.public-tool-status b,
.public-tool-status p {
  display: block;
}

.public-tool-status small {
  color: #fad741;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.public-tool-status b {
  margin-top: 5px;
  color: #fff;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 850;
}

.public-tool-status p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.public-tool-next {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 14px;
  background: #fad741;
  color: #161d7a;
  text-decoration: none;
  font-family: var(--public-font-action), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.public-tool-next .material-symbols-outlined {
  font-size: 18px;
}

.public-tool-layout {
  width: min(100% - 32px, 1500px);
  margin: 28px auto 72px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.public-tool-sidebar {
  position: sticky;
  top: 18px;
  z-index: 70;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.public-tool-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  display: grid;
  gap: 0;
}

.public-tool-side-panel,
.public-tool-assist article,
.public-tool-steps a {
  border: 1px solid rgba(30, 40, 165, .12);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(30, 40, 165, .10);
}

.public-tool-side-panel {
  overflow: hidden;
  border-radius: 28px;
  padding: 18px;
}

.public-tool-side-progress {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 3600;
  width: min(342px, calc(100vw - 36px));
  border-color: rgba(30, 40, 165, .18);
  background:
    radial-gradient(220px 120px at 100% 0, rgba(250, 215, 65, .30), transparent 68%),
    rgba(255, 255, 255, .96);
  box-shadow: 0 22px 56px rgba(30, 40, 165, .20), 0 2px 10px rgba(14, 20, 87, .10);
  backdrop-filter: blur(18px);
}

.public-tool-side-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(245, 90, 120, .12);
  color: #f55a78;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.public-tool-side-pill .material-symbols-outlined {
  font-size: 17px;
}

.public-tool-side-panel h2 {
  margin: 14px 0 0;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 950;
}

.public-tool-side-panel p {
  margin: 8px 0 0;
  color: #4a4f77;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.public-tool-progress-track {
  overflow: hidden;
  height: 9px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(30, 40, 165, .09);
}

.public-tool-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f55a78, #fad741);
}

.public-tool-floating-next {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #1e28a5;
  color: #ffffff;
  font-family: var(--public-font-action), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(30, 40, 165, .24);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.public-tool-floating-next:hover {
  transform: translateY(-1px);
  background: #161d7a;
}

.public-tool-floating-next .material-symbols-outlined {
  font-size: 19px;
}

.public-tool-floating-next.is-disabled {
  opacity: .52;
  cursor: not-allowed;
  pointer-events: auto;
  background: rgba(30, 40, 165, .34);
  box-shadow: none;
}

.public-tool-steps {
  display: grid;
  gap: 10px;
}

.public-tool-steps a {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 22px;
  padding: 12px;
  color: #4a4f77;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.public-tool-steps a:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: rgba(30, 40, 165, .24);
  box-shadow: 0 18px 42px rgba(30, 40, 165, .14);
}

.public-tool-steps a.active {
  background: #ffffff;
  color: #1e28a5;
  border-color: rgba(30, 40, 165, .32);
  box-shadow: 0 20px 44px rgba(30, 40, 165, .16);
  transform: translateX(5px);
}

.public-tool-steps a.done {
  background: rgba(250, 215, 65, .16);
  border-color: rgba(250, 215, 65, .36);
  color: #1e28a5;
}

.public-tool-steps a.visited:not(.active) {
  box-shadow: inset 0 0 0 1px rgba(250, 215, 65, .22);
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 14px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
  font-size: 13px;
  font-weight: 900;
}

.public-tool-steps a.active .step-number {
  background: #fad741;
  color: #161d7a;
}

.step-number .material-symbols-outlined {
  font-size: 15px;
  font-weight: 900;
}

.public-tool-steps .material-symbols-outlined {
  font-size: 24px;
  color: #1e28a5;
}

.step-copy {
  min-width: 0;
}

.step-copy b,
.step-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-copy b {
  font-size: 13px;
  font-weight: 900;
}

.step-copy small {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  opacity: .72;
}

.public-tool-assist {
  display: grid;
  gap: 10px;
}

.public-tool-assist article {
  min-width: 0;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 22px;
  padding: 14px;
}

.public-tool-assist article > .material-symbols-outlined {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 14px;
  background: rgba(250, 215, 65, .20);
  color: #fad741;
  font-size: 21px;
}

.public-tool-assist b {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.public-tool-assist p {
  margin: 5px 0 0;
  color: #4a4f77;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

body.public-tool-mode .public-tool-shell + .top-app-bar,
body.public-tool-mode .public-tool-shell + .topbar {
  border-top: 1px solid rgba(30, 40, 165, .08) !important;
}

body.public-tool-mode .top-app-bar,
body.public-tool-mode .topbar {
  top: 0 !important;
  background: rgba(255, 255, 255, .90) !important;
  border-bottom: 1px solid rgba(30, 40, 165, .14) !important;
  box-shadow: 0 1px 0 rgba(30, 40, 165, .08) !important;
  backdrop-filter: blur(16px) !important;
}

body.public-tool-mode .public-tool-content > *,
body.public-tool-mode .public-tool-content .top-app-bar,
body.public-tool-mode .public-tool-content .topbar,
body.public-tool-mode .public-tool-content main,
body.public-tool-mode .public-tool-content .page-content,
body.public-tool-mode .public-tool-content .files-shell,
body.public-tool-mode .public-tool-content .analyzer-page-shell {
  box-sizing: border-box !important;
  inline-size: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}

body.public-tool-mode main,
body.public-tool-mode .page-content,
body.public-tool-mode .files-shell,
body.public-tool-mode .analyzer-page-shell {
  width: 100% !important;
  max-width: 1280px !important;
}

body.public-tool-mode.public-tool-charts main {
  width: min(100% - 28px, 1500px) !important;
  max-width: 1500px !important;
}

body.public-tool-mode.public-tool-column-analyzer .analyzer-main {
  min-width: 0 !important;
}

body.public-tool-mode.public-tool-column-analyzer #upload-section {
  padding: 24px !important;
}

body.public-tool-mode.public-tool-column-analyzer #upload-section:not(.public-carried-file-section) {
  border: 1px dashed rgba(30, 40, 165, .24) !important;
  border-radius: 24px !important;
  padding: 18px !important;
  background: rgba(250, 215, 65, .10) !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-file-section .upload-zone {
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  text-align: left !important;
  padding: 16px 18px !important;
  margin-bottom: 0 !important;
  cursor: default !important;
  border: 1px solid rgba(30, 40, 165, .14) !important;
  background:
    radial-gradient(320px 160px at 100% 0%, rgba(250, 215, 65, .30), transparent 68%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(251, 232, 223, .46)) !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-file-section .upload-zone:hover {
  transform: none !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-file-section .upload-icon {
  background: rgba(20, 128, 74, .12) !important;
  color: #14804a !important;
  margin: 0 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-copy {
  min-width: 0;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-file-section .upload-text {
  margin: 0 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-file-section .upload-subtext {
  margin-top: 3px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(30, 40, 165, .12);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .72);
  color: #1e28a5;
  font-family: var(--public-font-action), system-ui, sans-serif;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-status .material-symbols-rounded {
  font-size: 19px;
}

body.public-tool-mode.public-tool-column-analyzer .public-carried-status small {
  display: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-auto-analyzed-section .public-carried-status {
  color: #14804a;
}

body.public-tool-mode.public-tool-column-analyzer .public-auto-analyzed-section .public-carried-status .material-symbols-rounded {
  font-size: 0;
}

body.public-tool-mode.public-tool-column-analyzer .public-auto-analyzed-section .public-carried-status .material-symbols-rounded::before {
  content: "check_circle";
  font-family: "Material Symbols Rounded";
  font-size: 19px;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-status {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 16px 0 18px;
  border: 1px solid rgba(30, 40, 165, .16);
  border-radius: 24px;
  padding: 16px 18px;
  background:
    radial-gradient(320px 150px at 100% 0, rgba(250, 215, 65, .26), transparent 70%),
    rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(30, 40, 165, .10);
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 18px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
  font-size: 28px;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-status[data-kind="running"] .public-column-auto-icon {
  animation: publicToastSpin 1s linear infinite;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-status[data-kind="done"] .public-column-auto-icon {
  background: rgba(20, 128, 74, .12);
  color: #14804a;
  animation: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-status[data-kind="error"] .public-column-auto-icon {
  background: rgba(245, 90, 120, .12);
  color: #b42318;
  animation: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-status strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 950;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-auto-status p {
  margin: 5px 0 0;
  color: #4a4f77;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed {
  margin-bottom: 18px !important;
  border: 1px solid rgba(30, 40, 165, .14) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  background:
    radial-gradient(300px 140px at 100% 0, rgba(250, 215, 65, .22), transparent 70%),
    rgba(255, 255, 255, .94) !important;
  box-shadow: 0 16px 36px rgba(30, 40, 165, .10) !important;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed > summary::-webkit-details-marker {
  display: none;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed > summary .material-symbols-rounded {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed > summary strong {
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 950;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed > summary small {
  color: #4a4f77;
  font-size: 12px;
  font-weight: 850;
}

body.public-tool-mode.public-tool-column-analyzer .analysis-summary.public-analysis-summary-collapsed p {
  margin: 0 18px 10px 72px !important;
  color: #4a4f77 !important;
  font-weight: 650 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed {
  margin: 16px 0 18px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 24px;
  background:
    radial-gradient(320px 160px at 100% 0, rgba(250, 215, 65, .20), transparent 70%),
    rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(30, 40, 165, .10);
  overflow: hidden;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed > summary::-webkit-details-marker {
  display: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed > summary > .material-symbols-rounded:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed > summary strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 950;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed > summary small {
  display: block;
  margin-top: 3px;
  color: #4a4f77;
  font-size: 12px;
  font-weight: 800;
}

body.public-tool-mode.public-tool-column-analyzer .public-summary-chevron {
  transition: transform .2s ease;
}

body.public-tool-mode.public-tool-column-analyzer details[open] > summary .public-summary-chevron {
  transform: rotate(180deg);
}

body.public-tool-mode.public-tool-column-analyzer .public-column-results-collapsed .column-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 0 18px 18px !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card {
  border: 1px solid rgba(30, 40, 165, .12) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 8px 22px rgba(30, 40, 165, .07) !important;
  overflow: hidden !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .column-header {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto auto auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 12px 14px !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .column-icon {
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  border-radius: 15px !important;
  background: rgba(30, 40, 165, .08) !important;
  color: #1e28a5 !important;
  font-family: var(--public-font-data), monospace !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .column-name {
  color: #161d7a !important;
  font-family: var(--public-font-display), system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .column-meta {
  margin-top: 3px !important;
  color: #4a4f77 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .column-status {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 7px 10px !important;
  background: rgba(20, 128, 74, .10) !important;
  color: #14804a !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .propose-descriptor-btn {
  min-height: 38px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(30, 40, 165, .18) !important;
  border-radius: 999px !important;
  background: rgba(250, 215, 65, .20) !important;
  color: #1e28a5 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .column-toggle-btn {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(30, 40, 165, .14) !important;
  border-radius: 999px !important;
  background: rgba(30, 40, 165, .06) !important;
  color: #1e28a5 !important;
  box-shadow: none !important;
}

body.public-tool-mode.public-tool-column-analyzer .column-card .suggestions-section {
  margin: 0 !important;
  padding: 0 14px 14px !important;
  border-top: 1px solid rgba(30, 40, 165, .10) !important;
  background: rgba(252, 252, 255, .78) !important;
}

body.public-tool-mode.public-tool-column-analyzer .gap-badge,
body.public-tool-mode.public-tool-column-analyzer .weak-badge {
  display: inline-flex !important;
  margin-left: 4px !important;
  border-radius: 999px !important;
  padding: 3px 7px !important;
  background: rgba(245, 90, 120, .12) !important;
  color: #9f1239 !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
}

body.public-tool-mode.public-tool-column-analyzer .workflow-action-grid-primary {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.public-tool-mode.public-tool-column-analyzer [data-workflow-step-card="1"] {
  max-width: 720px;
  margin-inline: auto;
}

body.public-tool-mode.public-tool-column-analyzer.public-column-repair-ready [data-workflow-step-card="1"] {
  display: none !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-next-phase {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 18px auto 12px;
  max-width: 860px;
  padding: 20px;
  border: 1px solid rgba(30, 40, 165, .18);
  border-radius: 26px;
  background:
    radial-gradient(360px 170px at 100% 0%, rgba(250, 215, 65, .26), transparent 68%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(251, 232, 223, .70));
  box-shadow: 0 18px 42px rgba(30, 40, 165, .12);
}

body.public-tool-mode.public-tool-column-analyzer .public-column-next-phase > .material-symbols-rounded {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: #fad741;
  color: #161d7a;
  font-size: 31px;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-next-phase strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.1;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-next-phase p {
  margin: 6px 0 0;
  color: #4a4f77;
  font-weight: 650;
  line-height: 1.45;
}

body.public-tool-mode.public-tool-column-analyzer .public-column-next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1e28a5;
  color: #fff !important;
  font-family: var(--public-font-action), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(30, 40, 165, .24);
}

body.public-tool-mode.public-tool-column-analyzer #repair-hub-btn,
body.public-tool-mode.public-tool-column-analyzer .action-button.btn-success {
  border: 0 !important;
  border-radius: 999px !important;
  background: #1e28a5 !important;
  color: #ffffff !important;
  font-family: var(--public-font-action), system-ui, sans-serif !important;
  font-weight: 950 !important;
  box-shadow: 0 16px 32px rgba(30, 40, 165, .24) !important;
}

body.public-tool-mode.public-tool-column-analyzer #repair-hub-btn:hover,
body.public-tool-mode.public-tool-column-analyzer .action-button.btn-success:hover {
  background: #161d7a !important;
  transform: translateY(-1px);
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details {
  margin-top: 12px;
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details > summary::-webkit-details-marker {
  display: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details > summary > .material-symbols-rounded {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details > summary strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-weight: 950;
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details > summary small {
  display: block;
  margin-top: 3px;
  color: #4a4f77;
  font-weight: 650;
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details-body {
  margin-top: 12px;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-details {
  margin: 14px 0;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 28px rgba(30, 40, 165, .08);
  overflow: hidden;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-details > summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 15px 16px;
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-details > summary::-webkit-details-marker {
  display: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-details > summary > .material-symbols-rounded:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-details > summary strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 17px;
  font-weight: 950;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-details > summary small {
  display: block;
  margin-top: 3px;
  color: #4a4f77;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-section-body {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.public-tool-mode.public-tool-column-analyzer .hub-descriptor-review-detail {
  border: 1px solid rgba(30, 40, 165, .14) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(420px 220px at 100% 0, rgba(250, 215, 65, .18), transparent 70%),
    rgba(255, 255, 255, .94) !important;
  box-shadow: 0 16px 36px rgba(30, 40, 165, .09) !important;
  overflow: hidden !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-descriptor-review-standalone {
  margin: 18px 0 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-repair-details + .public-descriptor-review-standalone {
  margin-top: 20px !important;
}

body.public-tool-mode.public-tool-column-analyzer .hub-descriptor-review-detail > summary {
  padding: 18px 20px !important;
  color: #1e28a5 !important;
  font-family: var(--public-font-display), system-ui, sans-serif !important;
  font-size: 19px !important;
  font-weight: 950 !important;
}

body.public-tool-mode.public-tool-column-analyzer .hub-descriptor-review-detail .hub-desc-help {
  margin: 0 20px 16px !important;
  max-width: 780px !important;
  color: #4a4f77 !important;
  font-size: 15px !important;
  font-weight: 650 !important;
  line-height: 1.55 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-review {
  margin: 0 20px 20px;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-review-intro {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(251, 232, 223, .54));
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-review-intro > .material-symbols-rounded {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: #fad741;
  color: #161d7a;
  font-size: 30px;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-review-intro strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.12;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-review-intro p {
  margin: 6px 0 0;
  color: #4a4f77;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-list {
  display: grid;
  gap: 12px;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(30, 40, 165, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 10px 26px rgba(30, 40, 165, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 40, 165, .24);
  box-shadow: 0 16px 32px rgba(30, 40, 165, .11);
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice.is-rejected {
  background: rgba(252, 252, 255, .78);
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice.is-accepted .public-desc-choice-icon {
  background: rgba(20, 128, 74, .12);
  color: #14804a;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice.is-rejected .public-desc-choice-icon {
  background: rgba(74, 79, 119, .10);
  color: #4a4f77;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-icon .material-symbols-rounded {
  font-size: 30px;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-main {
  min-width: 0;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  color: #f55a78;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice h5 {
  margin: 0;
  color: #161d7a;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice p {
  margin: 8px 0 0;
  color: #4a4f77;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-meta span,
body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-meta code {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(30, 40, 165, .06);
  color: #1e28a5;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-actions .hub-dec-btn {
  min-height: 44px !important;
  padding: 0 15px !important;
  border: 1px solid rgba(30, 40, 165, .16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: #1e28a5 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-actions .hub-dec-btn.on {
  background: #1e28a5 !important;
  border-color: #1e28a5 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(30, 40, 165, .20) !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-desc-choice-actions .public-desc-no.on {
  background: #4a4f77 !important;
  border-color: #4a4f77 !important;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-issue-details {
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  padding: 0;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-issue-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  color: #1e28a5;
  font-weight: 900;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-issue-details > summary::-webkit-details-marker {
  display: none;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-issue-details > summary small {
  margin-left: auto;
  color: #4a4f77;
  font-size: 12px;
  text-transform: uppercase;
}

body.public-tool-mode.public-tool-column-analyzer .public-hub-issue-details > :not(summary) {
  margin-inline: 16px;
}

body.public-tool-mode.public-tool-sops .grid2,
body.public-tool-mode.public-tool-sops .summary-cols {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.public-tool-mode.public-tool-sops .intro-panel {
  padding: 24px 26px !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(30, 40, 165, .14) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(420px 210px at 100% 0, rgba(250, 215, 65, .22), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(251, 232, 223, .58)) !important;
  box-shadow: 0 16px 36px rgba(30, 40, 165, .10) !important;
}

body.public-tool-mode.public-tool-sops .intro-panel .eyebrow {
  color: #f55a78 !important;
  font-family: var(--public-font-action), system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.public-tool-mode.public-tool-sops .intro-panel h1 {
  margin: 8px 0 10px !important;
  color: #1e28a5 !important;
  font-family: var(--public-font-display), system-ui, sans-serif !important;
  font-size: clamp(28px, 3.4vw, 46px) !important;
  font-weight: 950 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

body.public-tool-mode.public-tool-sops .intro-panel p {
  max-width: 980px !important;
  color: #4a4f77 !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.65 !important;
}

body.public-tool-mode.public-tool-sops .intro-panel .disclaimer {
  margin-top: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(30, 40, 165, .12) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .70) !important;
}

body.public-tool-mode.public-tool-sops .topbar {
  display: none !important;
}

body.public-tool-mode.public-tool-sops .grid2 {
  gap: 18px !important;
}

body.public-tool-mode.public-tool-sops .grid2 > .panel.card-pad:first-child {
  order: 2;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: -4px !important;
}

body.public-tool-mode.public-tool-sops .grid2 > .panel.card-pad:nth-child(2) {
  order: 1;
}

body.public-tool-mode.public-tool-sops #filechip.show {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
  background: rgba(250, 215, 65, .20) !important;
  border-color: rgba(30, 40, 165, .20) !important;
  color: #161d7a !important;
  font-weight: 850 !important;
}

body.public-tool-mode.public-tool-sops #filechip #filename {
  overflow-wrap: anywhere;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible,
body.public-tool-mode.public-tool-sops .public-sops-ai-help {
  margin: 18px 0;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 24px;
  background:
    radial-gradient(360px 180px at 100% 0, rgba(250, 215, 65, .20), transparent 70%),
    rgba(255, 255, 255, .94);
  box-shadow: 0 16px 36px rgba(30, 40, 165, .10);
  overflow: hidden;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible > summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 17px 18px;
  color: #1e28a5;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible > summary::-webkit-details-marker {
  display: none;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible > summary > .material-symbols-rounded:first-child,
body.public-tool-mode.public-tool-sops .public-sops-ai-help > .material-symbols-rounded {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible > summary strong,
body.public-tool-mode.public-tool-sops .public-sops-ai-help strong {
  display: block;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 19px;
  font-weight: 950;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible > summary small,
body.public-tool-mode.public-tool-sops .public-sops-ai-help p,
body.public-tool-mode.public-tool-sops .public-sops-ai-help small {
  display: block;
  margin-top: 4px;
  color: #4a4f77;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible[open] > summary .public-summary-chevron {
  transform: rotate(180deg);
}

body.public-tool-mode.public-tool-sops .public-sops-collapsible-body {
  padding: 0 18px 18px;
}

body.public-tool-mode.public-tool-sops .public-sops-ai-help {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

body.public-tool-mode.public-tool-sops .public-sops-ai-help ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: #4a4f77;
  font-weight: 700;
  line-height: 1.55;
}

.public-sops-busy-overlay,
.public-tool-busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(14, 20, 87, .42);
  backdrop-filter: blur(8px);
}

.public-sops-busy-overlay.show,
.public-tool-busy-overlay.show {
  display: grid;
}

.public-sops-busy-card,
.public-tool-busy-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 28px;
  padding: 28px;
  background:
    radial-gradient(220px 140px at 100% 0, rgba(250, 215, 65, .34), transparent 70%),
    rgba(255, 255, 255, .98);
  color: #161d7a;
  box-shadow: 0 28px 72px rgba(14, 20, 87, .32);
  text-align: center;
}

.public-sops-busy-spinner,
.public-tool-busy-spinner {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 6px solid rgba(30, 40, 165, .14);
  border-top-color: #1e28a5;
  animation: publicToastSpin .82s linear infinite;
}

.public-sops-busy-card strong,
.public-tool-busy-card strong {
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 23px;
  font-weight: 950;
}

.public-sops-busy-card small,
.public-tool-busy-card small {
  color: #4a4f77;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

body.public-tool-mode.public-tool-publisher .intro,
body.public-tool-mode.public-tool-publisher .grid,
body.public-tool-mode.public-tool-publisher .split {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.public-tool-mode.public-tool-publisher .grid {
  gap: 18px !important;
}

body.public-tool-mode.public-tool-publisher .status-panel {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.public-tool-mode.public-tool-publisher #publisher-form {
  order: 1;
}

body.public-tool-mode.public-tool-publisher #mapping-wrap,
body.public-tool-mode.public-tool-publisher #mapping-wrap.closest-panel {
  order: 2;
}

body.public-tool-mode.public-tool-publisher .warning {
  border-left-color: #1e28a5 !important;
  background: rgba(250, 215, 65, .16) !important;
  color: #161d7a !important;
}

body.public-tool-mode.public-tool-publisher .warning::before {
  content: "Local save: ";
  font-weight: 950;
}

body.public-tool-mode.public-tool-publisher .log {
  background: #0e1457 !important;
  color: #fcfcff !important;
}

body.public-tool-mode.public-tool-validator .page-hero .page-eyebrow {
  color: #f55a78 !important;
}

body.public-tool-mode.public-tool-validator .page-hero .page-eyebrow::before {
  background: #f55a78 !important;
}

body.public-tool-mode.public-tool-validator .page-hero .page-title {
  font-family: var(--public-font-display), system-ui, sans-serif !important;
  font-weight: 900 !important;
  color: #1e28a5 !important;
}

body.public-tool-mode.public-tool-validator .page-hero .page-subtitle {
  max-width: 760px !important;
}

body.public-tool-mode.public-tool-validator .page-hero .page-subtitle::before {
  content: attr(data-public-lead);
  display: block;
  margin-bottom: 10px;
  color: #1e28a5;
  font-weight: 900;
}

body.public-tool-mode.public-tool-validator #results-container {
  display: none;
}

body.public-tool-mode.public-tool-validator #results-container[style*="block"] {
  display: block !important;
}

body.public-tool-mode.public-tool-validator .result-actions #downloadHtml {
  background: #1e28a5 !important;
  color: #fff !important;
  border-color: #1e28a5 !important;
}

body.public-tool-mode.public-tool-validator .public-validator-status-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  margin: 0 0 22px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .97), rgba(251, 232, 223, .62));
  box-shadow: 0 14px 34px rgba(30, 40, 165, .11);
}

body.public-tool-mode.public-tool-validator .public-validator-status-card > .material-symbols-rounded {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fad741;
  color: #1e28a5;
  font-size: 32px;
  box-shadow: 0 14px 28px rgba(250, 215, 65, .26);
}

body.public-tool-mode.public-tool-validator .public-validator-status-card[data-state="running"] > .material-symbols-rounded {
  animation: public-validator-pulse 1.1s ease-in-out infinite;
}

body.public-tool-mode.public-tool-validator .public-validator-status-card[data-state="done"] > .material-symbols-rounded {
  background: #1e28a5;
  color: #fff;
}

body.public-tool-mode.public-tool-validator .public-validator-kicker {
  margin: 0 0 5px;
  color: #f55a78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.public-tool-mode.public-tool-validator .public-validator-status-card h2 {
  margin: 0 0 8px;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  color: #1e28a5;
  font-weight: 900;
}

body.public-tool-mode.public-tool-validator .public-validator-copy {
  margin: 0 0 10px;
  color: #4a4f77;
  font-weight: 650;
  line-height: 1.65;
}

body.public-tool-mode.public-tool-validator .public-validator-status-card small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
  font-weight: 900;
}

@keyframes public-validator-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 760px) {
  body.public-tool-mode.public-tool-publisher .status-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Upload uses the full seven-tool navigation as its single left sidebar.
   The six upload steps remain inside the workbench, so there is no nested rail. */
.public-tool-upload-layout {
  width: min(calc(100% - 32px), 1500px);
  margin: 28px auto 72px;
  display: grid;
  grid-template-columns: 276px minmax(0, 1180px);
  justify-content: center;
  gap: 28px;
  align-items: start;
}

.public-tool-upload-sidebar {
  top: 94px;
}

.public-tool-upload-content {
  width: 100%;
  min-width: 0;
  max-width: 1180px;
  margin-inline: auto;
  justify-self: center;
  overflow-x: clip;
}

.public-tool-upload-content > main {
  width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.public-tool-upload-content .flow-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.public-tool-upload-unified .public-tool-shell .public-tool-status {
  display: none;
}

body.public-tool-upload-unified .public-tool-shell .public-tool-hero {
  grid-template-columns: minmax(0, 1fr);
}

body.public-tool-upload-unified .flow-score-console .console-head strong {
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.15;
}

.public-tool-upload-content .flow-preview-panel {
  grid-column: 1;
  position: static;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
}

.public-tool-upload-nav-toggle {
  display: none;
}

.public-tool-upload-nav-body {
  display: grid;
  gap: 14px;
}

.public-tool-upload-nav-head {
  padding: 2px 3px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.public-tool-upload-nav-head span {
  color: var(--brand-primary, #1e28a5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.public-tool-upload-nav-head strong {
  color: var(--brand-primary, #1e28a5);
  font-size: 12px;
}

.public-tool-upload-sidebar > .public-tool-upload-nav-body > .public-tool-progress-track {
  height: 6px;
  margin: -6px 3px 0;
}

.public-tool-upload-sidebar .public-tool-steps {
  margin-top: 2px;
}

.public-tool-upload-sidebar .public-tool-assist {
  margin-top: 4px;
}

@media (max-width: 1040px) {
  .public-tool-upload-layout {
    width: min(calc(100% - 32px), 1180px);
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 18px;
  }

  .public-tool-upload-sidebar {
    position: static;
    z-index: 6;
  }

  .public-tool-upload-nav-toggle {
    width: 100%;
    min-height: 64px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(30, 40, 165, .16);
    border-radius: 18px;
    background: #fff;
    color: #11184f;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(17, 24, 79, .08);
  }

  .public-tool-upload-nav-toggle > span:first-child {
    min-width: 0;
    display: grid;
  }

  .public-tool-upload-nav-toggle small {
    color: var(--brand-primary, #1e28a5);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .public-tool-upload-nav-toggle strong {
    margin-top: 3px;
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-tool-upload-nav-toggle > .material-symbols-outlined {
    color: var(--brand-primary, #1e28a5);
    transition: transform .2s ease;
  }

  .public-tool-upload-sidebar.is-open .public-tool-upload-nav-toggle > .material-symbols-outlined {
    transform: rotate(180deg);
  }

  .public-tool-upload-nav-body {
    display: none;
    padding: 14px 0 2px;
  }

  .public-tool-upload-sidebar.is-open .public-tool-upload-nav-body {
    display: grid;
    animation: publicUploadNavIn .22s ease both;
  }

  .public-tool-upload-sidebar .public-tool-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-tool-upload-sidebar .public-tool-assist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@keyframes publicUploadNavIn {
  from { opacity: 0; transform: translateY(-6px); }
}

@media (max-width: 680px) {
  .public-tool-upload-layout {
    width: 100%;
    padding-inline: 12px;
    margin-bottom: 42px;
  }

  .public-tool-upload-sidebar .public-tool-steps,
  .public-tool-upload-sidebar .public-tool-assist,
  .public-tool-upload-content .flow-preview-panel {
    grid-template-columns: 1fr;
  }
}

/* The dedicated upload wizard already has its own hero and six real steps.
   This compact journey keeps the wider seven-tool route visible without
   wrapping the page in a second hero or a second left sidebar. */
.public-tool-journey {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(30, 40, 165, .12);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 34px rgba(17, 24, 79, .06);
}

.public-tool-journey-inner {
  width: min(calc(100% - 40px), 1360px);
  margin: 0 auto;
  padding: 20px 0 18px;
}

.public-tool-journey-head {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 280px);
  align-items: end;
  gap: 24px;
}

.public-tool-journey-head > div:first-child {
  min-width: 0;
  display: grid;
}

.public-tool-journey-head > div:first-child span {
  color: var(--brand-primary, #1e28a5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.public-tool-journey-head > div:first-child strong {
  margin-top: 4px;
  overflow: hidden;
  color: var(--brand-ink, #11184f);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-tool-journey-progress {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.public-tool-journey-progress b {
  color: var(--brand-primary, #1e28a5);
  font-size: 12px;
}

.public-tool-journey .public-tool-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(30, 40, 165, .1);
}

.public-tool-journey .public-tool-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-accent, #fad741);
  transition: width .3s ease;
}

.public-tool-journey-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.public-tool-journey-steps a {
  min-width: 0;
  min-height: 53px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(30, 40, 165, .1);
  border-radius: 13px;
  background: #fff;
  color: #5f6482;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.public-tool-journey-steps a:hover {
  border-color: rgba(30, 40, 165, .28);
  transform: translateY(-1px);
}

.public-tool-journey-steps a > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(30, 40, 165, .08);
  color: var(--brand-primary, #1e28a5);
  font-size: 10px;
  font-weight: 900;
}

.public-tool-journey-steps a > span .material-symbols-outlined {
  font-size: 15px;
}

.public-tool-journey-steps a small {
  min-width: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.public-tool-journey-steps a.active {
  border-color: var(--brand-primary, #1e28a5);
  background: var(--brand-primary, #1e28a5);
  color: #fff;
}

.public-tool-journey-steps a.active > span {
  background: var(--brand-accent, #fad741);
  color: var(--brand-on-accent, #11184f);
}

.public-tool-journey-steps a.visited:not(.active) > span {
  background: #dff4e8;
  color: #17663e;
}

@media (max-width: 980px) {
  .public-tool-journey-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .public-tool-journey-inner { width: min(calc(100% - 28px), 1360px); }
  .public-tool-journey-head { grid-template-columns: 1fr; gap: 10px; }
  .public-tool-journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-tool-journey-steps a:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body.public-tool-mode.public-tool-column-analyzer .public-carried-file-section .upload-zone {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  body.public-tool-mode.public-tool-column-analyzer .public-carried-status {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  body.public-tool-mode.public-tool-column-analyzer .public-column-next-phase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.public-tool-mode.public-tool-column-analyzer .public-column-next-phase > .material-symbols-rounded {
    margin-inline: auto;
  }
}

body.public-tool-mode .app-bar-brand,
body.public-tool-mode .brand,
body.public-tool-mode .back-link,
body.public-tool-mode .text-btn {
  color: #1e28a5 !important;
}

body.public-tool-mode .brand-icon,
body.public-tool-mode .brand .material-symbols-rounded,
body.public-tool-mode .back-link .material-symbols-rounded {
  color: #f55a78 !important;
}

body.public-tool-mode h1,
body.public-tool-mode .page-title,
body.public-tool-mode .files-hero h1,
body.public-tool-mode .results-title,
body.public-tool-mode .brand-name {
  font-family: var(--public-font-display), system-ui, sans-serif !important;
  color: #1e28a5 !important;
  letter-spacing: 0 !important;
}

body.public-tool-mode .public-tool-copy h1 {
  color: #ffffff !important;
  text-shadow: 0 18px 42px rgba(14, 20, 87, .28);
}

body.public-tool-mode .hero-kicker,
body.public-tool-mode .page-eyebrow,
body.public-tool-mode .eyebrow {
  color: #f55a78 !important;
  letter-spacing: .08em !important;
}

body.public-tool-mode .panel,
body.public-tool-mode .intro-panel,
body.public-tool-mode .validator-card,
body.public-tool-mode .files-upload-panel,
body.public-tool-mode .files-row,
body.public-tool-mode .column-card,
body.public-tool-mode .result-card,
body.public-tool-mode .chart-card,
body.public-tool-mode .upload-canvas,
body.public-tool-mode .files-hero,
body.public-tool-mode .analyzer-hero-card,
body.public-tool-mode .hero-main,
body.public-tool-mode .side-panel {
  border-color: rgba(30, 40, 165, .14) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 14px 34px rgba(30, 40, 165, .11) !important;
}

body.public-tool-mode .files-hero,
body.public-tool-mode .analyzer-hero-card,
body.public-tool-mode .hero-main,
body.public-tool-mode .intro-panel {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(251, 232, 223, .58)) !important;
}

body.public-tool-mode .files-hero p,
body.public-tool-mode .upload-subtitle,
body.public-tool-mode .page-subtitle,
body.public-tool-mode .intro p,
body.public-tool-mode .hint,
body.public-tool-mode .sub,
body.public-tool-mode .micro,
body.public-tool-mode .muted-note {
  color: #4a4f77 !important;
  font-weight: 600 !important;
}

body.public-tool-mode button,
body.public-tool-mode .btn,
body.public-tool-mode .btn-primary,
body.public-tool-mode .btn-upload-select,
body.public-tool-mode .upload-button,
body.public-tool-mode .primary,
body.public-tool-mode button.primary,
body.public-tool-mode button[type="submit"] {
  font-family: var(--public-font-action), system-ui, sans-serif !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease !important;
}

body.public-tool-mode .btn,
body.public-tool-mode .btn-primary,
body.public-tool-mode .btn-upload-select,
body.public-tool-mode .upload-button,
body.public-tool-mode .primary,
body.public-tool-mode button.primary,
body.public-tool-mode button[type="submit"] {
  background: #1e28a5 !important;
  color: #ffffff !important;
  border-color: #1e28a5 !important;
}

body.public-tool-mode .btn:hover,
body.public-tool-mode .btn-primary:hover,
body.public-tool-mode .primary:hover,
body.public-tool-mode button[type="submit"]:hover {
  background: #161d7a !important;
  transform: translateY(-1px);
}

body.public-tool-mode button:active,
body.public-tool-mode .btn:active,
body.public-tool-mode .primary:active {
  transform: translateY(0) scale(.985) !important;
}

body.public-tool-mode a:focus-visible,
body.public-tool-mode button:focus-visible,
body.public-tool-mode input:focus-visible,
body.public-tool-mode select:focus-visible,
body.public-tool-mode textarea:focus-visible {
  outline: 3px solid rgba(250, 215, 65, .70) !important;
  outline-offset: 3px !important;
}

body.public-tool-mode .secondary,
body.public-tool-mode .ghost,
body.public-tool-mode .btn-tonal,
body.public-tool-mode .btn-outline,
body.public-tool-mode .text-btn {
  border-radius: 999px !important;
}

body.public-tool-mode input,
body.public-tool-mode select,
body.public-tool-mode textarea {
  border-color: rgba(30, 40, 165, .22) !important;
  border-radius: 12px !important;
}

body.public-tool-mode input:focus,
body.public-tool-mode select:focus,
body.public-tool-mode textarea:focus {
  outline: 3px solid rgba(250, 215, 65, .48) !important;
  border-color: #1e28a5 !important;
}

body.public-tool-mode .dropzone,
body.public-tool-mode .upload-zone,
body.public-tool-mode .upload-area,
body.public-tool-mode .files-upload-panel {
  border-color: rgba(30, 40, 165, .25) !important;
  background: rgba(251, 232, 223, .42) !important;
}

body.public-tool-mode .dropzone:hover,
body.public-tool-mode .upload-zone:hover,
body.public-tool-mode .upload-area:hover,
body.public-tool-mode .files-upload-panel:hover {
  border-color: #1e28a5 !important;
  background: rgba(250, 215, 65, .24) !important;
  box-shadow: 0 18px 40px rgba(30, 40, 165, .16) !important;
}

body.public-tool-mode .stepchip.active,
body.public-tool-mode .status-pill,
body.public-tool-mode .status-completed,
body.public-tool-mode .k-chip {
  background: #fad741 !important;
  color: #161d7a !important;
  border-color: #fad741 !important;
}

body.public-tool-mode table th {
  color: #1e28a5 !important;
}

body.public-tool-mode table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.public-tool-mode th,
body.public-tool-mode td {
  border-color: rgba(30, 40, 165, .10) !important;
}

body.public-tool-mode .log,
body.public-tool-mode .console-output,
body.public-tool-mode pre,
body.public-tool-mode code {
  font-family: var(--public-font-data), ui-monospace, monospace !important;
}

body.public-tool-mode .log,
body.public-tool-mode .console-output {
  border-radius: 18px !important;
  background: #0e1457 !important;
  color: rgba(255, 255, 255, .86) !important;
}

body.public-tool-mode .ai-metadata-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 18px 0 20px;
  padding: 18px;
  border: 1px solid rgba(30, 40, 165, .16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(250, 215, 65, .28), rgba(251, 232, 223, .52)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(30, 40, 165, .12);
}

body.public-tool-mode .ai-metadata-copy {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

body.public-tool-mode .ai-metadata-copy > .material-symbols-rounded {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: #1e28a5;
  color: #ffffff;
  font-size: 27px;
}

body.public-tool-mode .ai-metadata-copy strong {
  display: block;
  margin-bottom: 4px;
  color: #161d7a;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

body.public-tool-mode .ai-metadata-copy p {
  margin: 0;
  color: #4a4f77;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

body.public-tool-mode .ai-metadata-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

body.public-tool-mode .ai-metadata-status {
  grid-column: 1 / -1;
  min-height: 24px;
  color: #4a4f77;
  font-size: 13px;
  font-weight: 700;
}

body.public-tool-mode .ai-metadata-status[data-type="ok"] {
  color: #196b43;
}

body.public-tool-mode .ai-metadata-status[data-type="warn"] {
  color: #8a5b00;
}

body.public-tool-mode .ai-metadata-status[data-type="error"] {
  color: #b42318;
}

body.public-tool-mode .status-indicator {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

body.public-tool-mode #public-tool-toast-region.public-tool-toast-region,
#public-tool-toast-region.public-tool-toast-region {
  position: fixed !important;
  top: 22px !important;
  right: 22px !important;
  left: auto !important;
  z-index: 4200 !important;
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 32px)) !important;
  inline-size: min(420px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  pointer-events: none;
}

.public-tool-toast {
  box-sizing: border-box !important;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: start;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(30, 40, 165, .16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(252, 252, 255, .94)),
    #fff;
  color: #161d7a;
  box-shadow: 0 18px 50px rgba(30, 40, 165, .18), 0 2px 10px rgba(14, 20, 87, .10);
  opacity: 0;
  transform: translate3d(18px, -6px, 0) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: auto;
}

.public-tool-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.public-tool-toast.is-leaving {
  opacity: 0;
  transform: translate3d(18px, -6px, 0) scale(.98);
}

.public-tool-toast > .material-symbols-outlined {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fad741;
  color: #161d7a;
  font-size: 21px;
  font-variation-settings: "FILL" 1;
}

.public-tool-toast-loading > .material-symbols-outlined {
  animation: publicToastSpin 1.2s linear infinite;
}

.public-tool-toast-error > .material-symbols-outlined {
  background: #fbe8df;
  color: #b42318;
}

.public-tool-toast p {
  margin: 0;
  color: #161d7a;
  font-family: var(--public-font-body), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.public-tool-toast button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 40, 165, .08);
  color: #1e28a5;
  cursor: pointer;
}

.public-tool-toast button:hover {
  background: rgba(30, 40, 165, .14);
}

.public-tool-toast button .material-symbols-outlined {
  font-size: 18px;
}

@keyframes publicToastSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .public-tool-layout {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .public-tool-sidebar {
    position: static;
  }

  .public-tool-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-tool-assist {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .public-tool-side-progress {
    right: 12px;
    bottom: 12px;
    width: min(300px, calc(100vw - 24px));
    padding: 14px;
  }

  .public-tool-side-progress h2 {
    font-size: 20px;
  }

  .public-tool-side-progress p {
    display: none;
  }

  .public-tool-hero {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .public-tool-status {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .public-tool-ring {
    width: 72px;
    height: 72px;
  }

  .public-tool-layout {
    width: 100%;
    padding: 0 16px;
    margin-bottom: 42px;
  }

  .public-tool-steps,
  .public-tool-assist {
    grid-template-columns: 1fr;
  }

  .public-tool-assist {
    padding: 0;
  }

  .public-tool-copy h1 {
    font-size: clamp(30px, 9vw, 42px);
  }
}

.public-draft-success {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(30, 40, 165, 0.16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(250, 215, 65, 0.22), rgba(255, 255, 255, 0.92) 34%), #fffdf5;
  box-shadow: 0 24px 70px rgba(30, 40, 165, 0.16);
}

.public-draft-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bee-yellow, #fad741);
  color: var(--bee-blue, #1e28a5);
}

.public-draft-success-icon .material-symbols-rounded { font-size: 34px; }

.public-draft-success-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 900;
  color: var(--bee-blue, #1e28a5);
}

.public-draft-success h2 {
  margin: 0 0 10px;
  color: var(--bee-blue, #1e28a5);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.public-draft-success p {
  margin: 0;
  max-width: 78ch;
  color: var(--bee-muted, #4a4f77);
  line-height: 1.65;
}

.public-draft-success-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.public-draft-success-grid article {
  padding: 14px;
  border: 1px solid rgba(30, 40, 165, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.public-draft-success-grid small {
  display: block;
  color: var(--bee-muted, #4a4f77);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.public-draft-success-grid strong {
  display: block;
  color: var(--bee-blue, #1e28a5);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.public-draft-success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.public-draft-chart-gift {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(250, 215, 65, .22), rgba(251, 232, 223, .55)),
    rgba(255, 255, 255, .86);
}

.public-draft-chart-gift > .material-symbols-rounded {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--bee-blue, #1e28a5);
  color: #fff;
  font-size: 31px;
}

.public-draft-chart-gift strong {
  margin: 0 0 6px;
  color: var(--bee-blue, #1e28a5);
  font-size: 18px;
  font-weight: 950;
}

.public-draft-chart-gift p {
  margin: 6px 0 0;
}

.public-draft-chart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--bee-blue, #1e28a5);
  color: #fff;
  text-decoration: none;
  font-family: var(--public-font-action), system-ui, sans-serif;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(30, 40, 165, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.public-draft-chart-button:hover {
  transform: translateY(-2px);
  background: var(--bee-blue-dark, #161d7a);
  box-shadow: 0 22px 42px rgba(30, 40, 165, .28);
}

@media (max-width: 760px) {
  .public-draft-success { grid-template-columns: 1fr; }
  .public-draft-success-grid { grid-template-columns: 1fr 1fr; }
  .public-draft-chart-gift { grid-template-columns: 1fr; }
}

body.public-tool-mode.public-tool-validator .result-card {
  display: grid !important;
  gap: 18px !important;
}

body.public-tool-mode.public-tool-validator .result-header {
  display: block !important;
}

body.public-tool-mode.public-tool-validator .result-card > .result-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 !important;
  padding: 18px;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(250, 215, 65, .18), rgba(255, 255, 255, .96));
}

body.public-tool-mode.public-tool-validator .result-card > .result-actions .btn-tonal,
body.public-tool-mode.public-tool-validator .result-card > .result-actions button {
  min-height: 46px;
}

body.public-tool-mode.public-tool-publisher .intro {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.public-tool-mode.public-tool-publisher .grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.public-tool-mode.public-tool-publisher #publisher-form {
  max-width: 980px;
  width: 100%;
}

body.public-tool-mode.public-tool-publisher.public-publisher-save-complete .intro,
body.public-tool-mode.public-tool-publisher.public-publisher-save-complete #publisher-form,
body.public-tool-mode.public-tool-publisher.public-publisher-save-complete .public-table-metadata-workbench,
body.public-tool-mode.public-tool-publisher.public-publisher-save-complete .public-field-caption,
body.public-tool-mode.public-tool-publisher.public-publisher-save-complete .panel:has(#mapping-wrap),
body.public-tool-mode.public-tool-publisher.public-publisher-save-complete #log {
  display: none !important;
}

body.public-tool-mode.public-tool-publisher.public-publisher-save-complete .grid {
  display: block !important;
}

body.public-tool-mode.public-tool-publisher.public-publisher-save-complete .public-draft-success {
  margin-top: 0;
}

body.public-tool-mode.public-tool-publisher .public-table-metadata-workbench {
  display: grid;
  gap: 16px;
  margin: 18px 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(251, 232, 223, .58));
  box-shadow: 0 18px 42px rgba(30, 40, 165, .12);
}

body.public-tool-mode.public-tool-publisher .public-table-meta-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-head > .material-symbols-rounded {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fad741;
  color: #1e28a5;
  font-size: 32px;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-kicker,
body.public-tool-mode.public-tool-publisher .public-field-caption {
  margin: 0 0 6px;
  color: #f55a78;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-head h2 {
  margin: 0 0 8px;
  color: #1e28a5;
  font-family: var(--public-font-display), system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
  font-weight: 900;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-head p,
body.public-tool-mode.public-tool-publisher .public-table-meta-card p {
  margin: 0;
  color: #4a4f77;
  line-height: 1.65;
  font-weight: 650;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(30, 40, 165, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
}

body.public-tool-mode.public-tool-publisher .public-table-meta-card small {
  display: block;
  margin-bottom: 4px;
  color: #1e28a5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1e28a5;
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

body.public-tool-mode.public-tool-publisher .public-table-meta-flags {
  display: grid;
  gap: 8px;
  min-width: min(300px, 100%);
}

body.public-tool-mode.public-tool-publisher .public-table-meta-flags .needs-review,
body.public-tool-mode.public-tool-publisher .public-review-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(250, 215, 65, .34);
  color: #161d7a;
  font-size: 12px;
  font-weight: 900;
}

body.public-tool-mode.public-tool-publisher .public-needs-human-review {
  position: relative;
  padding: 14px !important;
  border: 2px solid rgba(250, 215, 65, .82);
  border-radius: 18px;
  background: rgba(250, 215, 65, .09);
  animation: public-review-pulse 1.8s ease-in-out infinite;
}

body.public-tool-mode.public-tool-publisher .public-review-hint {
  margin-top: 8px;
  border-radius: 12px;
}

body.public-tool-mode.public-tool-publisher .public-field-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 10px;
}

body.public-tool-mode.public-tool-publisher .public-table-name-field {
  padding: 16px;
  border: 1px solid rgba(30, 40, 165, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

body.public-tool-mode.public-tool-publisher .public-table-metadata-block {
  border-radius: 20px !important;
  border-color: rgba(30, 40, 165, .14) !important;
  background: rgba(255, 255, 255, .82) !important;
}

body.public-tool-mode.public-tool-publisher .public-table-metadata-block > summary {
  color: #1e28a5 !important;
  font-weight: 950 !important;
}

@keyframes public-review-pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(250, 215, 65, 0);
    border-color: rgba(250, 215, 65, .82);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(250, 215, 65, .18);
    border-color: #fad741;
  }
}

@media (max-width: 760px) {
  body.public-tool-mode.public-tool-publisher .public-table-meta-head,
  body.public-tool-mode.public-tool-publisher .public-table-meta-card {
    grid-template-columns: minmax(0, 1fr);
  }
}
