.cleanup-preview {
  --cleanup-ink: #063c3e;
  --cleanup-muted: #647575;
  --cleanup-line: #dce4df;
  --cleanup-paper: #f6f7f0;
  --cleanup-cyan: #20d7e5;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cleanup-line);
  border-radius: 16px;
  background: #fff;
  color: var(--cleanup-ink);
  text-align: left;
  font-family: var(--font-sans, "Inter", sans-serif);
  line-height: 1.5;
}

.cleanup-preview *,
.cleanup-preview *::before,
.cleanup-preview *::after { box-sizing: border-box; }
.cleanup-preview [hidden] { display: none !important; }
.cleanup-preview p { margin: 0; color: inherit; }
.cleanup-preview svg { display: block; flex-shrink: 0; }
.cleanup-preview button { font: inherit; }

.cleanup-preview .cleanup-preview__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 51px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--cleanup-line);
  background: var(--cleanup-paper);
}
.cleanup-preview .cleanup-preview__product { font-size: 13px; font-weight: 750; letter-spacing: -.03em; }
.cleanup-preview .cleanup-preview__product span { margin-left: 6px; font-weight: 450; letter-spacing: -.01em; }
.cleanup-preview .cleanup-preview__window-controls { display: flex; gap: 6px; }
.cleanup-preview .cleanup-preview__window-controls i { width: 6px; height: 6px; border-radius: 50%; background: #b5c2bd; }
.cleanup-preview .cleanup-preview__window { display: grid; grid-template-columns: 64px minmax(0, 1fr); }
.cleanup-preview .cleanup-preview__rail { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 24px 10px; background: var(--cleanup-ink); }
.cleanup-preview .cleanup-preview__app-mark { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 19px; color: var(--cleanup-cyan); }
.cleanup-preview .cleanup-preview__app-mark svg { width: 28px; height: 28px; }
.cleanup-preview .cleanup-preview__rail-item { display: grid; place-items: center; width: 36px; height: 36px; color: #a5c3bf; }
.cleanup-preview .cleanup-preview__rail-item svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cleanup-preview .cleanup-preview__rail-item--active { border: 1px solid #477476; border-radius: 8px; background: #215355; color: var(--cleanup-cyan); }
.cleanup-preview .cleanup-preview__rail-item--bottom { margin-top: auto; }
.cleanup-preview .cleanup-preview__main { min-width: 0; padding: 30px 32px 24px; }
.cleanup-preview .cleanup-preview__eyebrow { display: flex; align-items: center; gap: 7px; color: #496461; font-size: 10px; font-weight: 600; letter-spacing: .025em; }
.cleanup-preview .cleanup-preview__eyebrow > span { flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: #008a91; }
.cleanup-preview .cleanup-preview__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 19px 0 24px; }
.cleanup-preview .cleanup-preview__heading h3 { margin: 0 0 7px; color: var(--cleanup-ink); font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -.055em; }
.cleanup-preview .cleanup-preview__heading p { max-width: 290px; color: var(--cleanup-muted); font-size: 11px; line-height: 1.6; }
.cleanup-preview .cleanup-preview__step { flex-shrink: 0; padding-top: 4px; color: #768784; font-size: 9px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.cleanup-preview .cleanup-preview__summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 1px solid #e5e9df; border-radius: 10px; background: var(--cleanup-paper); }
.cleanup-preview .cleanup-preview__summary-label { font-size: 10px; font-weight: 500; color: #596d66; }
.cleanup-preview .cleanup-preview__total { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; font-size: 45px; font-weight: 500; line-height: 1.15; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.cleanup-preview .cleanup-preview__unit { color: #5d716b; font-size: 15px; font-weight: 450; letter-spacing: -.02em; }
.cleanup-preview .cleanup-preview__space-icon { width: 65px; height: 65px; stroke: #6e8f81; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.cleanup-preview .cleanup-preview__space-icon path:last-child { stroke: #008a91; stroke-width: 2; }
.cleanup-preview .cleanup-preview__categories { min-width: 0; margin: 23px 0 0; padding: 0; border: 0; }
.cleanup-preview .cleanup-preview__categories legend { width: 100%; margin-bottom: 6px; padding: 0; color: #5e716b; font-size: 10px; font-weight: 550; }
.cleanup-preview .cleanup-preview__category { display: grid; grid-template-columns: 17px 25px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 66px; padding: 12px 0; border-bottom: 1px solid #e9ede8; cursor: pointer; }
.cleanup-preview .cleanup-preview__category input { width: 16px; height: 16px; margin: 0; accent-color: var(--cleanup-ink); cursor: pointer; }
.cleanup-preview .cleanup-preview__category input:focus-visible { outline: 2px solid #008a91; outline-offset: 4px; }
.cleanup-preview .cleanup-preview__category-icon { color: #6a8078; }
.cleanup-preview .cleanup-preview__category-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cleanup-preview .cleanup-preview__category-copy { min-width: 0; }
.cleanup-preview .cleanup-preview__category-copy strong { display: block; color: var(--cleanup-ink); font-size: 12px; font-weight: 550; }
.cleanup-preview .cleanup-preview__category-copy > span { display: block; margin-top: 2px; color: var(--cleanup-muted); font-size: 10px; }
.cleanup-preview .cleanup-preview__category-size { color: var(--cleanup-ink); font-size: 12px; font-weight: 550; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cleanup-preview .cleanup-preview__category-size > span { color: var(--cleanup-muted); font-size: 10px; font-weight: 450; }
.cleanup-preview .cleanup-preview__category:hover .cleanup-preview__category-copy strong { color: #00767c; }
.cleanup-preview .cleanup-preview__feedback { display: flex; align-items: flex-start; gap: 8px; min-height: 42px; padding-top: 15px; }
.cleanup-preview .cleanup-preview__feedback p { color: #5c726b; font-size: 10px; line-height: 1.65; }
.cleanup-preview .cleanup-preview__success-icon { display: grid; place-items: center; flex: 0 0 19px; width: 19px; height: 19px; border-radius: 50%; background: #e7f5ee; color: #1d6b52; }
.cleanup-preview .cleanup-preview__success-icon svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cleanup-preview.cleanup-preview--reviewed .cleanup-preview__feedback p { color: #1d6b52; }
.cleanup-preview .cleanup-preview__actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cleanup-preview .cleanup-preview__review { display: inline-flex; align-items: center; justify-content: space-between; flex: 1 1 auto; gap: 15px; min-height: 43px; padding: 12px 15px; border: 1px solid var(--cleanup-ink); border-radius: 7px; background: var(--cleanup-ink); color: #fff; font-size: 11px; font-weight: 550; line-height: 1.3; cursor: pointer; transition: background-color .15s ease; }
.cleanup-preview .cleanup-preview__review svg { width: 16px; height: 16px; color: var(--cleanup-cyan); stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cleanup-preview .cleanup-preview__review:hover:not(:disabled) { background: #145456; }
.cleanup-preview .cleanup-preview__review:disabled { cursor: not-allowed; opacity: .5; }
.cleanup-preview .cleanup-preview__reset { flex-shrink: 0; min-height: 44px; padding: 8px 0; border: 0; border-radius: 3px; background: transparent; color: #536f65; font-size: 10px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cleanup-preview .cleanup-preview__reset:hover:not(:disabled) { color: var(--cleanup-ink); }
.cleanup-preview .cleanup-preview__reset:disabled { cursor: not-allowed; opacity: .5; }
.cleanup-preview .cleanup-preview__actions button:focus-visible { outline: 2px solid #008a91; outline-offset: 4px; }
.cleanup-preview .cleanup-preview__disclaimer { margin-top: 17px; color: #6b7b75; font-size: 9px; line-height: 1.6; }
.cleanup-preview .cleanup-preview__noscript { margin-top: 12px; color: #5d716b; font-size: 11px; }

@media (max-width: 640px) {
  .cleanup-preview .cleanup-preview__window { grid-template-columns: 45px minmax(0, 1fr); }
  .cleanup-preview .cleanup-preview__titlebar { padding-inline: 16px; }
  .cleanup-preview .cleanup-preview__rail { padding: 22px 5px; }
  .cleanup-preview .cleanup-preview__rail-item { width: 30px; height: 32px; }
  .cleanup-preview .cleanup-preview__main { padding: 24px 20px 22px; }
  .cleanup-preview .cleanup-preview__heading { gap: 8px; }
  .cleanup-preview .cleanup-preview__heading h3 { max-width: 260px; font-size: 22px; }
}

@media (max-width: 400px) {
  .cleanup-preview .cleanup-preview__window { grid-template-columns: 34px minmax(0, 1fr); }
  .cleanup-preview .cleanup-preview__rail { padding-inline: 2px; }
  .cleanup-preview .cleanup-preview__rail-item { width: 26px; height: 30px; }
  .cleanup-preview .cleanup-preview__app-mark { width: 28px; }
  .cleanup-preview .cleanup-preview__main { padding: 22px 14px 19px; }
  .cleanup-preview .cleanup-preview__heading h3 { font-size: 20px; }
  .cleanup-preview .cleanup-preview__heading p { font-size: 10px; }
  .cleanup-preview .cleanup-preview__eyebrow { gap: 5px; font-size: 9px; }
  .cleanup-preview .cleanup-preview__step { display: none; }
  .cleanup-preview .cleanup-preview__summary { padding: 17px; }
  .cleanup-preview .cleanup-preview__total { font-size: 40px; }
  .cleanup-preview .cleanup-preview__space-icon { width: 51px; height: 51px; }
  .cleanup-preview .cleanup-preview__category { grid-template-columns: 17px minmax(0, 1fr) auto; gap: 9px; }
  .cleanup-preview .cleanup-preview__category-icon { display: none; }
  .cleanup-preview .cleanup-preview__category-copy strong { font-size: 11px; }
  .cleanup-preview .cleanup-preview__category-copy > span { font-size: 9px; }
  .cleanup-preview .cleanup-preview__actions { flex-wrap: wrap; gap: 2px; }
  .cleanup-preview .cleanup-preview__review { width: 100%; }
  .cleanup-preview .cleanup-preview__reset { min-height: 38px; }
  .cleanup-preview .cleanup-preview__disclaimer { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .cleanup-preview .cleanup-preview__review { transition: none; }
}
