﻿:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #63707a;
  --line: #d9e0e4;
  --paper: #f5f7f8;
  --panel: #ffffff;
  --red: #d83b31;
  --amber: #c9860a;
  --teal: #0f7b72;
  --blue: #275f9f;
  --shadow: 0 14px 34px rgba(23, 32, 38, 0.12);
  --workspace-bg: #fbfcfc;
  --workspace-card: #fbfcfc;
  --workspace-line: rgba(218, 226, 230, 0.72);
  --workspace-shadow: 0 7px 18px rgba(23, 32, 38, 0.045);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #ecf1f2;
  --muted: #a8b2b9;
  --line: #2d3a40;
  --paper: #12191d;
  --panel: #182126;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  --workspace-bg: #11181c;
  --workspace-card: #172126;
  --workspace-line: rgba(78, 94, 103, 0.56);
  --workspace-shadow: 0 9px 22px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  padding-top: calc(env(safe-area-inset-top) + 42px);
  padding-bottom: 22px;
  background: var(--workspace-bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

html[data-theme="dark"] body {
  background: var(--workspace-bg);
}

html[data-theme="dark"] .task-entry-float,
html[data-theme="dark"] .workspace,
html[data-theme="dark"] .fixlist,
html[data-theme="dark"] .settings-sheet,
html[data-theme="dark"] .task-sheet,
html[data-theme="dark"] .canvas-frame,
html[data-theme="dark"] .photo-strip-under,
html[data-theme="dark"] .quick-task-bar,
html[data-theme="dark"] .sample-button,
html[data-theme="dark"] .issue-card,
html[data-theme="dark"] .manual-issue-form,
html[data-theme="dark"] .privacy-data-note,
html[data-theme="dark"] .account-card,
html[data-theme="dark"] .ai-key-field input,
html[data-theme="dark"] .manual-issue-form input,
html[data-theme="dark"] .manual-issue-form textarea,
html[data-theme="dark"] .manual-issue-form select,
html[data-theme="dark"] .issue-inline-edit input,
html[data-theme="dark"] .issue-inline-edit textarea,
html[data-theme="dark"] .issue-inline-edit select {
  background-color: var(--workspace-card);
  color: var(--ink);
  border-color: var(--workspace-line);
}

html[data-theme="dark"] .workspace {
  background: var(--workspace-bg);
}

html[data-theme="dark"] .top-mini-links {
  background: transparent;
}

html[data-theme="dark"] .beta-badge {
  color: #72d6cb;
  background: rgba(114, 214, 203, 0.10);
  border-color: rgba(114, 214, 203, 0.24);
}

html[data-theme="dark"] .top-icon {
  color: #8f9ba4;
}

html[data-theme="dark"] .canvas-frame {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.025), transparent 52%),
    var(--workspace-bg);
}

html[data-theme="dark"] canvas {
  background: transparent;
  filter: brightness(0.9) saturate(0.76);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .canvas-frame:has(#auditCanvas.is-guide-clickable) canvas {
  background: transparent;
  filter: brightness(0.86) saturate(0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .photo-strip-under,
html[data-theme="dark"] .task-entry-float {
  background: rgba(23, 33, 38, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(108, 123, 132, 0.34),
    0 9px 20px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .settings-modal,
html[data-theme="dark"] .task-modal {
  background: rgba(4, 7, 9, 0.58);
}

html[data-theme="dark"] .settings-row,
html[data-theme="dark"] .settings-action-row,
html[data-theme="dark"] .ai-provider-option,
html[data-theme="dark"] .appearance-option,
html[data-theme="dark"] .saved-task-card,
html[data-theme="dark"] .issue-card {
  border-color: #27343a;
}

html[data-theme="dark"] .saved-task-settings-summary {
  background: #151c21;
  border-color: #27343a;
}

html[data-theme="dark"] .scan-helper,
html[data-theme="dark"] .settings-row small,
html[data-theme="dark"] .settings-action-row small,
html[data-theme="dark"] .saved-task-settings-summary small,
html[data-theme="dark"] .settings-detail-copy,
html[data-theme="dark"] .subtitle,
html[data-theme="dark"] .metric-row span,
html[data-theme="dark"] .issue-card p,
html[data-theme="dark"] .quick-task-input {
  color: #aab5bd;
}

html[data-theme="dark"] .quick-task-input::placeholder,
html[data-theme="dark"] .manual-issue-form input::placeholder,
html[data-theme="dark"] .manual-issue-form textarea::placeholder {
  color: #7f8b94;
}

html[data-theme="dark"] .privacy-data-note strong,
html[data-theme="dark"] .settings-row strong,
html[data-theme="dark"] .settings-action-row strong,
html[data-theme="dark"] .saved-task-settings-summary strong,
html[data-theme="dark"] .issue-card h3,
html[data-theme="dark"] .task-list-title,
html[data-theme="dark"] .metric-row strong {
  color: #edf3f4;
}

html[data-theme="dark"] .settings-toggle {
  background: #2b343b;
  box-shadow: inset 0 0 0 1px #46515b;
}

html[data-theme="dark"] .settings-toggle-row input:checked + .settings-toggle {
  background: #1a8f86;
  box-shadow: inset 0 0 0 1px rgba(49, 178, 166, 0.45);
}

html[data-theme="dark"] .floating-icon-button,
html[data-theme="dark"] .action-icon-button,
html[data-theme="dark"] .settings-round,
html[data-theme="dark"] .tile-add-button,
html[data-theme="dark"] .quick-task-submit {
  background-color: #1d282e;
  color: #b8c2c9;
}

html[data-theme="dark"] .photo-tile {
  border-color: #3a474f;
}

html[data-theme="dark"] .photo-tile.active {
  border-color: var(--teal);
}

html[data-theme="dark"] .clear-local-data-button {
  background: #221719;
  border-color: #5a2e32;
}

html[data-theme="dark"] .privacy-provider-links a {
  background: #111b1f;
  border-color: #2d4a46;
}

html[data-theme="dark"] .scan-mode-toggle {
  background: rgba(34, 45, 51, 0.66);
  box-shadow: inset 0 0 0 1px rgba(115, 130, 139, 0.22);
}

html[data-theme="dark"] .scan-mode-toggle button {
  color: #aab5bd;
}

html[data-theme="dark"] .scan-mode-toggle button.active {
  background: #e9eeee;
  color: #11191d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}

html[data-theme="dark"] .photo-add-button,
html[data-theme="dark"] .photo-add-text {
  color: #b7c1c8;
}

html[data-theme="dark"] .photo-add-plus {
  color: var(--teal);
}

html[data-theme="dark"] .metric-row,
html[data-theme="dark"] .compact-metrics .metric-row,
html[data-theme="dark"] .fixlist-summary > .compact-metrics .metric-row {
  background: transparent;
  color: #cfd7dc;
  border-color: #334148;
}

html[data-theme="dark"] .fixlist-head {
  border-color: rgba(91, 107, 116, 0.42);
}

html[data-theme="dark"] .fixlist-head,
html[data-theme="dark"] .viewer-toolbar {
  background: transparent;
}

html[data-theme="dark"] .task-area-title,
html[data-theme="dark"] .issue-title {
  color: #ecf1f2;
}

html[data-theme="dark"] .issue-card {
  background: #152025;
  border-bottom-color: rgba(80, 96, 105, 0.34);
}

html[data-theme="dark"] .issue-number {
  background: #253139;
  color: #eef4f5;
}

html[data-theme="dark"] .issue-badge small {
  color: #9eabb3;
}

html[data-theme="dark"] .issue-row-action {
  color: rgba(172, 183, 190, 0.56);
}

html[data-theme="dark"] .issue-row-action:hover {
  color: rgba(237, 243, 244, 0.82);
}

html[data-theme="dark"] .task-actions .icon-action,
html[data-theme="dark"] .quick-task-bar button[type="submit"] {
  background: rgba(231, 238, 239, 0.10);
  color: #c6d0d5;
  box-shadow: inset 0 0 0 1px rgba(233, 239, 240, 0.08);
}

html[data-theme="dark"] .task-actions .icon-action::before,
html[data-theme="dark"] .quick-task-bar button[type="submit"]::before,
html[data-theme="dark"] .quick-task-icon::before,
html[data-theme="dark"] .quick-task-media::before {
  background-color: #aebac1;
}

html[data-theme="dark"] .save-task-icon::before,
html[data-theme="dark"] .task-list-plus-icon::before,
html[data-theme="dark"] .share-screen-icon::before {
  background-color: #cbd5da;
}

html[data-theme="dark"] .scan-doodle {
  color: #71808a;
}

html[data-theme="dark"] .scan-doodle .doodle-backdrop {
  color: rgba(147, 158, 166, 0.16);
}

html[data-theme="dark"] .scan-doodle .doodle-phone {
  color: rgba(47, 171, 160, 0.46);
}

html[data-theme="dark"] .scan-doodle .doodle-ground {
  stroke: rgba(147, 158, 166, 0.10);
}

html[data-theme="dark"] .metric-row span,
html[data-theme="dark"] .compact-metrics .metric-row span {
  color: #99a6ae;
}

html[data-theme="dark"] .metric-row strong,
html[data-theme="dark"] .compact-metrics .metric-row strong {
  color: #edf3f4;
}

html[data-theme="dark"] .task-actions .icon-action {
  background: #edf3f4;
  color: #172026;
}

html[data-theme="dark"] .task-share-all-button,
html[data-theme="dark"] .task-select-button,
html[data-theme="dark"] .saved-task-select-bar button {
  background: #1d282e;
  border-color: #334148;
  color: #cfd7dc;
}

html[data-theme="dark"] .task-select-button[aria-pressed="true"] {
  background: rgba(47, 171, 160, 0.16);
  border-color: rgba(47, 171, 160, 0.34);
  color: #80d5cc;
}

html[data-theme="dark"] .saved-task-select-bar span {
  color: #9eabb3;
}

html[data-theme="dark"] .saved-task-select {
  background: #111b1f;
  border-color: #3a474f;
}

html[data-theme="dark"] .saved-task-select[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
}

html[data-theme="dark"] .saved-task-card.is-selected {
  background: linear-gradient(90deg, rgba(47, 171, 160, 0.12), transparent 72%);
}

html[data-theme="dark"] .manual-issue-button,
html[data-theme="dark"] .save-generated-task {
  border-color: #334148;
}

.print-area {
  display: none;
}

.top-mini-links,
.shell,
.bottom-nav {
  transition: transform 220ms ease, filter 220ms ease;
}

@media print {
  @page {
    margin: 6mm;
  }

  html,
  body {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.printing {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    background: #ffffff !important;
  }

  body.printing > :not(.print-area) {
    display: none !important;
  }

  body.printing .print-area {
    display: block !important;
    margin: 0;
    padding: 0;
    min-height: 0 !important;
    break-after: avoid;
    page-break-after: avoid;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
  }

  .print-area h1 {
    margin: 0 0 9px;
    font-size: 17px;
    line-height: 1.15;
  }

  .print-area h2 {
    margin: 0 0 3px;
    font-size: 12px;
    line-height: 1.2;
  }

  .print-area img {
    display: block;
    max-width: 100%;
    max-height: 210px;
    margin: 0 0 10px;
    border-radius: 8px;
    object-fit: contain;
  }

  .print-area .note {
    font-size: 10px;
    line-height: 1.24;
    white-space: normal;
  }

  .print-area .task-item {
    break-inside: avoid;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
      "image title"
      "image note";
    column-gap: 9px;
    row-gap: 1px;
    align-items: start;
    margin: 0 0 7px;
    padding: 0 0 7px;
    border-bottom: 1px solid #e5e7eb;
  }

  .print-area .task-item:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
    break-after: avoid;
    page-break-after: avoid;
  }

  .print-area .task-item h2 {
    grid-area: title;
  }

  .print-area .task-item img {
    grid-area: image;
    width: 76px;
    height: 56px;
    max-height: none;
    margin: 0;
    border-radius: 7px;
    object-fit: cover;
    background: #f4f6f7;
  }

  .print-area .task-item:not(:has(img)) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "note";
  }

  .print-area .task-item .note {
    grid-area: note;
  }

  .print-area .meta {
    display: none;
  }
}

body.task-drawer-open,
body.settings-drawer-open {
  overflow: hidden;
  touch-action: pan-y;
}

body.task-drawer-open .top-mini-links,
body.task-drawer-open .shell,
body.settings-drawer-open .top-mini-links,
body.settings-drawer-open .shell {
  transform: translateX(calc(-1 * min(76vw, 420px)));
}

body.task-drawer-open .bottom-nav,
body.settings-drawer-open .bottom-nav {
  transform: translateX(calc(-50% - min(76vw, 420px)));
}

body.task-drawer-open .shell,
body.task-drawer-open .bottom-nav,
body.settings-drawer-open .shell,
body.settings-drawer-open .bottom-nav {
  filter: saturate(0.92);
}

button,
select,
input {
  font: inherit;
}

@media (max-width: 760px) {
  input,
  textarea,
  select {
    font-size: 16px;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 10px 16px;
  background: var(--workspace-bg);
  border-bottom: 0;
}

.app-topbar {
  display: none;
}

.top-mini-links {
  position: fixed;
  top: max(6px, env(safe-area-inset-top));
  left: 8px;
  right: 8px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
}

.top-icon-group {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 28px;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 14px;
  padding: 0 5px;
  border: 1px solid rgba(15, 123, 114, 0.20);
  border-radius: 999px;
  background: rgba(15, 123, 114, 0.10);
  color: var(--teal);
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.beta-toast {
  position: fixed;
  z-index: 5000;
  top: calc(env(safe-area-inset-top, 0px) + 76px);
  left: 50%;
  width: min(340px, calc(100vw - 28px));
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 28, 0.92);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.beta-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

html[data-theme="dark"] .beta-toast {
  background: rgba(245, 248, 249, 0.94);
  color: #12191d;
}

.top-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #7f8a94;
  cursor: pointer;
  text-decoration: none;
}

.top-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 20px 20px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 20px 20px;
}

.moon-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7 7 0 1 0 20.5 14.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7 7 0 1 0 20.5 14.5Z'/%3E%3C/svg%3E");
}

.admin-icon-button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5.5 21a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5.5 21a6.5 6.5 0 0 1 13 0'/%3E%3C/svg%3E");
}

.top-task-icon::before {
  background-color: #8f9ba4;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h5'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3Cpath d='M18 15v6'/%3E%3Cpath d='M15 18h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h5'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3Cpath d='M18 15v6'/%3E%3Cpath d='M15 18h6'/%3E%3C/svg%3E");
}

.top-icon[hidden] {
  display: none;
}

.menu-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h11'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h11'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
}

.settings-gear-icon::before {
  width: 20px;
  height: 20px;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.2 2h-.4a2 2 0 0 0-2 2v.2a2 2 0 0 1-1 1.7l-.4.2a2 2 0 0 1-2 0l-.2-.1a2 2 0 0 0-2.7.7l-.2.4a2 2 0 0 0 .7 2.7l.2.1a2 2 0 0 1 1 1.7v.5a2 2 0 0 1-1 1.7l-.2.1a2 2 0 0 0-.7 2.7l.2.4a2 2 0 0 0 2.7.7l.2-.1a2 2 0 0 1 2 0l.4.2a2 2 0 0 1 1 1.7v.2a2 2 0 0 0 2 2h.4a2 2 0 0 0 2-2v-.2a2 2 0 0 1 1-1.7l.4-.2a2 2 0 0 1 2 0l.2.1a2 2 0 0 0 2.7-.7l.2-.4a2 2 0 0 0-.7-2.7l-.2-.1a2 2 0 0 1-1-1.7v-.5a2 2 0 0 1 1-1.7l.2-.1a2 2 0 0 0 .7-2.7l-.2-.4a2 2 0 0 0-2.7-.7l-.2.1a2 2 0 0 1-2 0l-.4-.2a2 2 0 0 1-1-1.7V4a2 2 0 0 0-2-2Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.2 2h-.4a2 2 0 0 0-2 2v.2a2 2 0 0 1-1 1.7l-.4.2a2 2 0 0 1-2 0l-.2-.1a2 2 0 0 0-2.7.7l-.2.4a2 2 0 0 0 .7 2.7l.2.1a2 2 0 0 1 1 1.7v.5a2 2 0 0 1-1 1.7l-.2.1a2 2 0 0 0-.7 2.7l.2.4a2 2 0 0 0 2.7.7l.2-.1a2 2 0 0 1 2 0l.4.2a2 2 0 0 1 1 1.7v.2a2 2 0 0 0 2 2h.4a2 2 0 0 0 2-2v-.2a2 2 0 0 1 1-1.7l.4-.2a2 2 0 0 1 2 0l.2.1a2 2 0 0 0 2.7-.7l.2-.4a2 2 0 0 0-.7-2.7l-.2-.1a2 2 0 0 1-1-1.7v-.5a2 2 0 0 1 1-1.7l.2-.1a2 2 0 0 0 .7-2.7l-.2-.4a2 2 0 0 0-2.7-.7l-.2.1a2 2 0 0 1-2 0l-.4-.2a2 2 0 0 1-1-1.7V4a2 2 0 0 0-2-2Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.download-icon {
  display: none;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #f4f7f8;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  opacity: 0.82;
}

.settings-row-muted strong {
  color: var(--muted);
}

.settings-row-muted small,
.settings-row-muted .settings-row-icon,
.settings-row-muted .settings-chevron {
  opacity: 0.72;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-title {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.brand-title .subtitle {
  grid-column: 1 / -1;
}

.app-logo {
  width: 54px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
}

.subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

h2 {
  font-size: 16px;
}

.score-tile {
  width: 76px;
  min-width: 76px;
  padding: 8px 10px;
  border: 0;
  background: #edf7f5;
  border-radius: 999px;
}

.score-tile span {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.score-tile small {
  color: var(--muted);
}

.shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 330px;
  gap: 0;
  padding: 0 10px 10px;
}

.sidebar,
.fixlist {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.panel,
.fixlist {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.panel {
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
}

.panel.compact {
  padding: 8px 0 10px;
}

.panel.compact h2 {
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.1;
}

.setup-panel,
.photo-panel {
  border: 0;
  background: transparent;
}

.setup-panel summary,
.photo-panel summary {
  display: none;
}

.setup-panel .field {
  margin: 0 12px 10px;
}

.setup-panel .field span {
  display: none;
}

.setup-panel select {
  min-height: 52px;
  border: 1px solid #d8dcdf;
  border-radius: 999px;
  background: #eeeeef;
  color: #7c828a;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-align-last: center;
  box-shadow: inset 0 1px 2px rgba(23, 32, 38, 0.08);
}

.setup-panel .primary {
  display: none;
}

.sample-strip {
  display: block;
  padding-bottom: 10px;
  border-bottom: 0;
}

.sample-strip .sample-grid {
  margin: 0 0 8px;
}

.photo-strip-under {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0 10px 8px;
  padding: 4px;
  border-top: 0;
  border-radius: 18px;
  background: var(--workspace-card);
  box-shadow:
    inset 0 0 0 1px var(--workspace-line),
    var(--workspace-shadow);
}

.photo-strip-under .sample-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  min-width: 0;
  overflow: visible;
}

.photo-add-menu {
  position: relative;
}

.photo-add-button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 74px;
  height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4f5961;
  cursor: pointer;
  box-shadow: none;
}

.photo-add-plus {
  display: block;
  color: var(--teal);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
  animation: photo-add-plus-pulse 2.4s ease-in-out infinite;
}

.photo-add-text {
  display: block;
  color: #7b858d;
  font-size: 10px;
  font-weight: 760;
  line-height: 0.95;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@keyframes photo-add-plus-pulse {
  0%,
  72%,
  100% {
    opacity: 0.88;
    transform: translateY(-1px) scale(1);
  }

  82% {
    opacity: 1;
    transform: translateY(-1px) scale(1.14);
  }

  92% {
    opacity: 0.78;
    transform: translateY(-1px) scale(0.96);
  }
}

#auditCanvas.is-guide-clickable {
  cursor: pointer;
}

#auditCanvas.is-marking-area {
  cursor: crosshair;
  touch-action: none;
}

#auditCanvas.is-snipping {
  cursor: crosshair;
  touch-action: none;
}

.photo-strip-under.guide-active .photo-add-button {
  width: 74px;
  justify-content: center;
}

.photo-add-menu summary {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #dfe4e7;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8f8 100%);
  color: #172026;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 18px rgba(23, 32, 38, 0.08);
  list-style: none;
}

.photo-add-menu summary::-webkit-details-marker {
  display: none;
}

.photo-add-menu summary span {
  display: block;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.photo-add-sheet {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 6px;
  min-width: 198px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.18);
  backdrop-filter: blur(18px);
}

.photo-strip-under .photo-add-sheet {
  right: auto;
  left: 0;
}

.header-photo-add-menu .photo-add-sheet {
  top: calc(100% + 8px);
  bottom: auto;
}

.photo-add-sheet label {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.photo-add-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f3f4;
}

.photo-add-icon::before {
  content: "";
  width: 19px;
  height: 19px;
  background: #172026;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 19px 19px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 19px 19px;
}

.camera-add-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
}

.library-add-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='12' rx='2'/%3E%3Cpath d='M7 7V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='m6 16 3-3 2 2 2-3 3 4'/%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='12' rx='2'/%3E%3Cpath d='M7 7V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='m6 16 3-3 2 2 2-3 3 4'/%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3C/svg%3E");
}

.file-add-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16'/%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
}

.photo-strip-under .sample-button {
  flex: none;
  width: 100%;
  height: 42px;
  border-radius: 10px;
  filter: grayscale(0.88);
  opacity: 0.58;
  box-shadow: 0 3px 8px rgba(23, 32, 38, 0.045);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.photo-strip-under .sample-button.active {
  outline: 0;
  filter: grayscale(0);
  opacity: 1;
  box-shadow: 0 0 0 1.5px rgba(15, 123, 114, 0.74), 0 6px 14px rgba(15, 123, 114, 0.08);
  transform: translateY(-1px);
}

.photo-strip-under .sample-button:active {
  filter: grayscale(0.25);
  opacity: 0.9;
}

.photo-strip-under .sample-button span {
  display: none;
}

.scan-mode-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: min(264px, 42vw);
  min-width: 192px;
  margin: 0;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: #eeeeef;
  box-shadow: inset 0 1px 2px rgba(23, 32, 38, 0.08);
}

.scan-mode-toggle button {
  min-height: 21px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7b8188;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.scan-mode-toggle button.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(23, 32, 38, 0.12);
}

.compact-panel {
  padding: 0;
}

.compact-panel summary {
  min-height: 42px;
  padding: 11px 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.compact-panel summary::-webkit-details-marker {
  display: none;
}

.compact-panel summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.compact-panel[open] summary::after {
  content: "-";
}

.compact-panel > :not(summary) {
  margin-left: 12px;
  margin-right: 12px;
}

.compact-panel > :last-child {
  margin-bottom: 12px;
}

.sample-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 10px;
}

.sample-grid::-webkit-scrollbar {
  display: none;
}

.sample-button {
  position: relative;
  flex: 0 0 clamp(128px, 42vw, 220px);
  display: block;
  height: 82px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #e8edf0;
  border-radius: 10px;
  cursor: pointer;
}

.sample-button.active {
  outline: 3px solid #8f98a2;
  outline-offset: 0;
}

.sample-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-button span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px dashed #b8c5cc;
  border-radius: 12px;
  color: var(--blue);
  cursor: pointer;
}

.photo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.primary-upload {
  border-style: solid;
  border-color: var(--blue);
  background: #eef6ff;
  color: var(--ink);
  font-weight: 800;
}

.upload-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
}

#photoInput,
#fileInput,
#cameraInput {
  display: none;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
}

.primary,
.ghost {
  min-height: 38px;
  border-radius: 10px;
  cursor: pointer;
}

.primary {
  width: 100%;
  margin-top: 12px;
  border: 0;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
}

.ghost {
  padding: 0 13px;
  border: 0;
  background: #ffffff;
  color: var(--ink);
}

.fixlist .ghost {
  background: #f7f8f9;
  border-radius: 16px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.compact-metrics {
  flex: 0 1 170px;
  min-width: 150px;
  max-width: 185px;
  gap: 0;
}

.metric-row {
  display: grid;
  gap: 1px;
  padding: 2px 6px;
  border: 0;
  border-right: 1px solid #edf0f2;
  border-radius: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.1;
}

.compact-metrics .metric-row {
  padding: 2px 8px;
  font-size: 10px;
}

.compact-metrics .metric-row strong {
  font-size: 12px;
}

.metric-row:last-child {
  border-right: 0;
}

.metric-row strong {
  color: var(--ink);
  font-size: 12px;
}

.workspace {
  min-width: 0;
  padding-top: 8px;
  background: var(--workspace-bg);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.scan-hero {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 12px 8px;
  text-align: center;
}

.scan-hero h2 {
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.08;
}

.scan-pill {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(620px, 100%);
  min-height: 58px;
  padding: 6px 8px;
  border: 1px solid #dfe5e8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(23, 32, 38, 0.08);
}

.scan-pill label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.attach-menu {
  position: relative;
}

.attach-menu summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.attach-menu summary::-webkit-details-marker {
  display: none;
}

.attach-sheet {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 15;
  display: grid;
  gap: 12px;
  width: min(320px, calc(100vw - 34px));
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.16);
  backdrop-filter: blur(18px);
}

.attach-sheet label {
  justify-content: flex-start;
  gap: 16px;
  min-height: 56px;
  padding: 0;
  color: var(--ink);
  font-size: 18px;
}

.attach-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f3f4;
}

.attach-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #172026;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 24px 24px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 24px 24px;
}

.camera-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
}

.photos-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m7 15 3-3 2 2 3-4 3 5'/%3E%3Ccircle cx='8' cy='9' r='1.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m7 15 3-3 2 2 3-4 3 5'/%3E%3Ccircle cx='8' cy='9' r='1.2'/%3E%3C/svg%3E");
}

.scan-pill label:first-child {
  justify-content: flex-start;
  color: var(--ink);
}

.pill-plus {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f3f4;
  color: var(--ink);
  font-size: 22px;
}

.scan-hero {
  gap: 4px;
  padding: 8px 12px 2px;
}

.scan-hero p {
  color: var(--muted);
  font-size: 12px;
}

.task-entry-float {
  position: relative;
  z-index: 1;
  width: auto;
  margin: 8px 10px 12px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--workspace-card);
  box-shadow:
    inset 0 0 0 1px var(--workspace-line),
    var(--workspace-shadow);
  transform: none;
  backdrop-filter: none;
}

.scan-helper {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.photo-strip-helper {
  margin: -2px 10px 4px;
}

.scan-doodle {
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #9aa4ad;
}

.scan-doodle svg {
  width: min(420px, 92%);
  height: 42px;
}

.scan-doodle circle,
.scan-doodle rect,
.scan-doodle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scan-doodle .doodle-backdrop {
  color: rgba(148, 158, 166, 0.22);
  animation: industry-backdrop 14s linear infinite;
}

.scan-doodle .doodle-buildings {
  transform-box: fill-box;
}

.scan-doodle .repeat-buildings {
  transform: translateX(520px);
}

.scan-doodle .doodle-backdrop path {
  stroke-width: 2.15;
}

.scan-doodle .doodle-phone {
  color: rgba(15, 123, 114, 0.52);
  animation: phone-walk-forward 4.8s ease-in-out infinite;
  transform-origin: 276px 33px;
}

.scan-doodle .doodle-phone path,
.scan-doodle .doodle-phone rect,
.scan-doodle .doodle-phone circle {
  stroke-width: 2.35;
}

.scan-doodle .phone-leg {
  animation: phone-leg-step 0.42s ease-in-out infinite alternate;
  transform-origin: 276px 38px;
}

.scan-doodle .leg-right {
  animation-delay: -0.2s;
}

.scan-doodle .doodle-ground {
  stroke: rgba(148, 158, 166, 0.14);
  stroke-width: 2;
}

@keyframes industry-backdrop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-520px);
  }
}

@keyframes phone-walk-forward {
  0%, 100% {
    transform: translateX(-8px) rotate(-1deg);
  }
  45% {
    transform: translateX(14px) rotate(1.2deg);
  }
  72% {
    transform: translateX(24px) rotate(-1deg);
  }
}

@keyframes phone-leg-step {
  from {
    transform: rotate(-11deg);
  }
  to {
    transform: rotate(12deg);
  }
}

.viewer-toolbar,
.fixlist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  padding: 5px 10px;
  border-bottom: 1px solid #edf0f2;
}

.viewer-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.quick-task-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 38px;
  padding: 3px 5px 3px 13px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.quick-task-icon::before,
.quick-task-media::before,
.quick-task-bar button[type="submit"]::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  background-color: #98a1aa;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 19px 19px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 19px 19px;
}

.quick-task-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quick-task-media {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: #98a1aa;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.quick-task-media::before {
  width: 18px;
  height: 18px;
  background-color: #98a1aa;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
}

.quick-camera::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
}

.quick-photo::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='12' rx='2'/%3E%3Cpath d='M7 7V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='m6 16 3-3 2 2 2-3 3 4'/%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='12' rx='2'/%3E%3Cpath d='M7 7V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='m6 16 3-3 2 2 2-3 3 4'/%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3C/svg%3E");
}

.quick-snip::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v14H5z' stroke-dasharray='3 3'/%3E%3Cpath d='m4 20 16-16'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14v14H5z' stroke-dasharray='3 3'/%3E%3Cpath d='m4 20 16-16'/%3E%3Ccircle cx='6' cy='18' r='2'/%3E%3Ccircle cx='18' cy='6' r='2'/%3E%3C/svg%3E");
}

.quick-snip,
.quick-snip:hover,
.quick-snip:focus,
.quick-snip:active,
.quick-snip.is-active {
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.quick-snip.is-active::before {
  background-color: var(--teal);
}

.quick-task-icon::before {
  background-color: #8f9ba4;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M8 18h6'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M8 18h6'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
}

.top-task-icon.has-saved-tasks::before,
.quick-task-icon.has-saved-tasks::before,
.task-list-plus-icon.has-saved-tasks::before,
.main-bottom-nav .bottom-nav-item.has-saved-tasks::before {
  background-color: var(--teal);
}

.quick-task-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}

.quick-task-bar input::placeholder {
  color: #a1a9b1;
}

.quick-task-bar button[type="submit"] {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f3f6f6;
  cursor: pointer;
}

.quick-task-bar button[type="submit"]::before {
  width: 16px;
  height: 16px;
  background-color: #7d8790;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7v4a4 4 0 0 1-4 4H6'/%3E%3Cpath d='m10 11-4 4 4 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7v4a4 4 0 0 1-4 4H6'/%3E%3Cpath d='m10 11-4 4 4 4'/%3E%3C/svg%3E");
}

.task-save-feedback {
  animation: task-save-feedback 520ms ease;
}

@keyframes task-save-feedback {
  0% {
    transform: translateX(0) scale(1);
  }
  18% {
    transform: translateX(-2px) scale(1.015);
  }
  36% {
    transform: translateX(2px) scale(1.018);
    box-shadow: 0 10px 26px rgba(15, 123, 114, 0.18), inset 0 0 0 2px rgba(15, 123, 114, 0.28);
  }
  56% {
    transform: translateX(-1px) scale(1.01);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .task-save-feedback,
  .task-nav-just-saved,
  .has-saved-tasks,
  .scan-doodle .doodle-backdrop,
  .scan-doodle .doodle-phone,
  .scan-doodle .phone-leg {
    animation: none;
  }
}

.fixlist-head {
  min-height: 52px;
  padding: 8px 8px 6px;
  align-items: center;
}

.fixlist-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.fixlist-head .eyebrow {
  margin: 0;
  font-size: 10px;
}

.task-list-topline {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  position: relative;
}

.fixlist-summary > .compact-metrics {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  white-space: nowrap;
}

.fixlist-summary > .compact-metrics .metric-row {
  padding: 0 10px 0 0;
  margin-right: 10px;
}

.fixlist-summary > .compact-metrics .metric-row span {
  font-size: 9px;
}

.fixlist-summary > .compact-metrics .metric-row strong {
  font-size: 12px;
}

.task-area-title {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.05;
  padding: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.task-area-title.needs-area-type {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 8px;
  border: 1px solid rgba(15, 123, 114, 0.22);
  border-radius: 999px;
  background: rgba(15, 123, 114, 0.08);
  color: var(--teal);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.area-type-menu {
  position: fixed;
  left: var(--area-menu-left, 12px);
  top: var(--area-menu-top, 150px);
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(280px, calc(100vw - 24px));
  max-height: min(206px, calc(100vh - 170px));
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(210, 220, 222, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 32px rgba(19, 30, 36, 0.14);
}

.area-type-menu[hidden] {
  display: none;
}

.area-type-choice {
  appearance: none;
  min-height: 24px;
  padding: 4px 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #53606a;
  font: inherit;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}

.area-type-choice:active {
  transform: scale(0.98);
  background: rgba(15, 123, 114, 0.10);
  color: var(--teal);
}

.area-type-choice.selected {
  background: rgba(15, 123, 114, 0.08);
  color: var(--teal);
}

.task-title-separator {
  color: #98a1aa;
  font-size: 12px;
  font-weight: 700;
}

.fixlist-head h2 {
  font-size: 18px;
  line-height: 1.05;
}

.fixlist-head .ghost {
  min-height: 30px;
  padding: 0 11px;
  font-size: 13px;
}

.task-actions {
  display: flex;
  gap: 4px;
}

.task-actions .icon-action {
  display: inline-grid;
  place-items: center;
  width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
}

.task-actions .icon-action::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 18px 18px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 18px 18px;
}

.share-screen-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3Cpath d='M20 15v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3Cpath d='M20 15v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4'/%3E%3C/svg%3E");
}

.copy-task-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}

.task-list-plus-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h5'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3Cpath d='M18 15v6'/%3E%3Cpath d='M15 18h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h5'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3Cpath d='M18 15v6'/%3E%3Cpath d='M15 18h6'/%3E%3C/svg%3E");
}

.task-actions .task-list-plus-icon.has-saved-tasks::before {
  background-color: var(--teal);
}

.save-task-icon::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M17 21v-8H7v8'/%3E%3Cpath d='M7 3v5h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M17 21v-8H7v8'/%3E%3Cpath d='M7 3v5h8'/%3E%3C/svg%3E");
}

.scan-title-block {
  min-width: 0;
  max-width: 150px;
  padding-left: 2px;
}

.viewer-toolbar p {
  color: var(--muted);
  font-size: 11px;
}

.viewer-toolbar strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
}

.scan-title-block strong {
  letter-spacing: -0.01em;
}

.scan-summary {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.fixlist-head .scan-summary {
  align-items: end;
}

.compact-metrics {
  display: grid;
  grid-template-columns: repeat(3, auto);
  flex: initial;
  gap: 0;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
}

.metric-row {
  min-width: 0;
  padding: 4px 9px;
  border-left: 1px solid #e6ecef;
  border-right: 0;
  background: rgba(255, 255, 255, 0.58);
}

.metric-row:first-child {
  border-left: 0;
  border-radius: 12px 0 0 12px;
}

.metric-row:last-child {
  border-radius: 0 12px 12px 0;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
}

.metric-row strong {
  font-size: 14px;
  line-height: 1.1;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.task-legend {
  margin-top: 3px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-radius: 50%;
}

.critical {
  background: var(--red);
}

.warning {
  background: var(--amber);
}

.low {
  background: var(--teal);
}

.canvas-frame {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(295px, 41.8vw, 532px);
  min-height: 0;
  margin: 0 10px;
  padding: 2px 0;
  background: var(--workspace-bg);
  overflow: hidden;
}

.canvas-frame:has(#auditCanvas.is-guide-clickable) {
  height: clamp(250px, 36vw, 455px);
}

canvas {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 8px);
  background: var(--workspace-card);
  border-radius: 18px;
  box-shadow: var(--workspace-shadow);
}

.fixlist {
  min-height: 0;
  margin: 0 10px;
  overflow: hidden;
  border-top: 0;
}

#issueList {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
}

.issue-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  padding: 7px 8px;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
}

.issue-card[data-level="critical"] {
  box-shadow: inset 4px 0 0 var(--red);
}

.issue-card[data-level="warning"] {
  box-shadow: inset 4px 0 0 var(--amber);
}

.issue-card[data-level="low"] {
  box-shadow: inset 4px 0 0 var(--teal);
}

.issue-badge {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: 1px;
}

.issue-number {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #eef2f4;
  font-size: 11px;
  font-weight: 800;
}

.issue-badge small {
  color: #8d98a1;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.issue-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
  font-weight: 800;
  font-size: 14px;
}

.issue-title-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex: 0 0 auto;
}

.issue-feedback {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.issue-feedback-up {
  color: rgba(15, 123, 114, 0.58);
}

.issue-feedback-down {
  color: rgba(216, 59, 49, 0.58);
}

.issue-feedback::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 14px 14px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 14px 14px;
}

.issue-feedback-up::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v11'/%3E%3Cpath d='M15 5.9 14 10h5.8a2 2 0 0 1 2 2.3l-1.4 7a2 2 0 0 1-2 1.7H7'/%3E%3Cpath d='M7 10H3v11h4'/%3E%3Cpath d='M15 5.9A2 2 0 0 0 11.2 5L7 10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10v11'/%3E%3Cpath d='M15 5.9 14 10h5.8a2 2 0 0 1 2 2.3l-1.4 7a2 2 0 0 1-2 1.7H7'/%3E%3Cpath d='M7 10H3v11h4'/%3E%3Cpath d='M15 5.9A2 2 0 0 0 11.2 5L7 10'/%3E%3C/svg%3E");
}

.issue-feedback-down::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14V3'/%3E%3Cpath d='M9 18.1 10 14H4.2a2 2 0 0 1-2-2.3l1.4-7a2 2 0 0 1 2-1.7H17'/%3E%3Cpath d='M17 14h4V3h-4'/%3E%3Cpath d='M9 18.1A2 2 0 0 0 12.8 19L17 14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14V3'/%3E%3Cpath d='M9 18.1 10 14H4.2a2 2 0 0 1-2-2.3l1.4-7a2 2 0 0 1 2-1.7H17'/%3E%3Cpath d='M17 14h4V3h-4'/%3E%3Cpath d='M9 18.1A2 2 0 0 0 12.8 19L17 14'/%3E%3C/svg%3E");
}

.issue-feedback-up.selected,
.issue-feedback-up:hover {
  color: rgba(15, 123, 114, 0.86);
}

.issue-feedback-down:hover {
  color: rgba(216, 59, 49, 0.86);
}

.issue-feedback.issue-feedback-cue {
  animation: issue-feedback-pop 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.issue-card.issue-feedback-cue-card {
  --issue-feedback-cue-color: rgba(15, 123, 114, 0.1);
  animation: issue-feedback-card 520ms ease;
}

.issue-card.issue-feedback-cue-card[data-feedback-cue="down"] {
  --issue-feedback-cue-color: rgba(216, 59, 49, 0.11);
}

@keyframes issue-feedback-pop {
  0% {
    transform: scale(1);
  }
  38% {
    transform: scale(1.28) rotate(-5deg);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes issue-feedback-card {
  0% {
    background: #ffffff;
  }
  34% {
    background: var(--issue-feedback-cue-color);
  }
  100% {
    background: #ffffff;
  }
}

.issue-row-action {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(118, 129, 138, 0.62);
  cursor: pointer;
}

.issue-row-action:hover {
  color: rgba(23, 32, 38, 0.84);
}

.issue-row-action::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 13px 13px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 13px 13px;
}

.issue-delete-action::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
}

.issue-mark-action::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V5a1 1 0 0 1 1-1h3'/%3E%3Cpath d='M16 4h3a1 1 0 0 1 1 1v3'/%3E%3Cpath d='M20 16v3a1 1 0 0 1-1 1h-3'/%3E%3Cpath d='M8 20H5a1 1 0 0 1-1-1v-3'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8V5a1 1 0 0 1 1-1h3'/%3E%3Cpath d='M16 4h3a1 1 0 0 1 1 1v3'/%3E%3Cpath d='M20 16v3a1 1 0 0 1-1 1h-3'/%3E%3Cpath d='M8 20H5a1 1 0 0 1-1-1v-3'/%3E%3Cpath d='M12 8v8'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

.issue-mark-action.selected {
  color: var(--teal);
}

.issue-inline-edit {
  display: grid;
  gap: 5px;
  margin-top: 5px;
  cursor: default;
}

.issue-inline-edit input,
.issue-inline-edit textarea,
.issue-inline-edit select {
  width: 100%;
  border: 1px solid #dfe5e8;
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.25;
  padding: 5px 7px;
}

.issue-inline-edit textarea {
  resize: vertical;
}

.issue-inline-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 6px;
}

.issue-inline-save,
.issue-inline-cancel {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #dfe5e8;
  border-radius: 999px;
  background: #ffffff;
  color: #5d6872;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.issue-inline-save {
  border-color: #dbe5e3;
  background: #eef7f5;
  color: var(--teal);
}

.issue-photo-label {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.issue-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.add-fix-button,
.save-to-task-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 8px 12px;
  min-height: 38px;
  border: 1px dashed #cfd6da;
  border-radius: 999px;
  background: #f8fafb;
  color: #5d6872;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.save-to-task-button {
  border-style: solid;
  border-color: #dbe5e3;
  background: #eef7f5;
  color: var(--teal);
}

.save-to-task-button.is-saved {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

.add-fix-button::before,
.save-to-task-button::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #edf2f4;
  color: var(--teal);
}

.save-to-task-button::before {
  content: "";
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M17 21v-8H7v8'/%3E%3Cpath d='M7 3v5h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2Z'/%3E%3Cpath d='M17 21v-8H7v8'/%3E%3Cpath d='M7 3v5h8'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 13px 13px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 13px 13px;
}

.manual-issue-form {
  display: grid;
  gap: 7px;
  margin: 7px 6px 10px;
  padding: 9px;
  border: 1px solid #edf0f2;
  border-radius: 15px;
  background: #fbfcfc;
}

.manual-issue-form[hidden] {
  display: none;
}

.manual-issue-form label {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 760;
}

.manual-issue-form input,
.manual-issue-form textarea,
.manual-issue-form select {
  width: 100%;
  border: 1px solid #dfe4e7;
  border-radius: 11px;
  background: #ffffff;
  color: #303941;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 8px;
  min-height: 31px;
  line-height: 1.2;
}

.manual-issue-form input::placeholder,
.manual-issue-form textarea::placeholder {
  color: #a8b0b7;
  font-weight: 560;
  font-size: 13px;
}

.manual-issue-form textarea {
  resize: vertical;
  min-height: 50px;
}

.manual-issue-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  align-items: center;
}

.manual-issue-actions .primary,
.manual-issue-actions .ghost {
  min-height: 31px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.manual-issue-actions .primary {
  margin-top: 0;
}

.manual-issue-actions .ghost {
  background: #f7f8f9;
  color: #55616b;
}

.task-modal,
.settings-modal {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(76vw, 420px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f7f7f8;
  color: #3b4650;
  box-shadow: -18px 0 38px rgba(23, 32, 38, 0.10);
  transform: translateX(100%);
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  animation: task-drawer-in 220ms ease forwards;
}

.task-modal::backdrop,
.settings-modal::backdrop {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(1px);
}

@keyframes task-drawer-in {
  to {
    transform: translateX(0);
  }
}

.task-sheet {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  height: 100%;
  padding: 18px 12px 20px 14px;
  overflow: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  background: #f7f7f8;
}

.settings-sheet {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 8px;
  align-content: start;
  height: 100%;
  padding: 16px 14px 18px 18px;
  overflow: auto;
  background: #f7f7f8;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
}

.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.settings-title h2 {
  margin: 0;
  color: #20272d;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 720;
  letter-spacing: 0;
}

.settings-title-icon,
.settings-row-icon,
.settings-round::before,
.settings-chevron {
  display: inline-block;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.settings-title-icon {
  width: 20px;
  height: 20px;
  color: #2f827a;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-9 9a9 9 0 0 1 18 0H3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm-9 9a9 9 0 0 1 18 0H3Z'/%3E%3C/svg%3E");
}

.settings-head-actions {
  display: inline-flex;
  gap: 6px;
}

.settings-round {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f4;
  color: #7e8993;
  cursor: pointer;
}

.settings-round::before {
  content: "";
  width: 15px;
  height: 15px;
}

.settings-round.favorite {
  color: #e34d4d;
}

.settings-round.favorite::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m12 21-1.45-1.32C5.4 15.01 2 11.92 2 8.15 2 5.06 4.42 2.75 7.5 2.75c1.74 0 3.41.81 4.5 2.07a6.03 6.03 0 0 1 4.5-2.07c3.08 0 5.5 2.31 5.5 5.4 0 3.77-3.4 6.86-8.55 11.53L12 21Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m12 21-1.45-1.32C5.4 15.01 2 11.92 2 8.15 2 5.06 4.42 2.75 7.5 2.75c1.74 0 3.41.81 4.5 2.07a6.03 6.03 0 0 1 4.5-2.07c3.08 0 5.5 2.31 5.5 5.4 0 3.77-3.4 6.86-8.55 11.53L12 21Z'/%3E%3C/svg%3E");
}

.settings-round.share::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 10.5 6.8-4M8.6 13.5l6.8 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 10.5 6.8-4M8.6 13.5l6.8 4'/%3E%3C/svg%3E");
}

.settings-round.close::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

.settings-note {
  padding: 8px 10px;
  border: 1px solid #d4eadf;
  border-radius: 13px;
  background: #f1fbf6;
  color: #2f7759;
  font-size: 11px;
  line-height: 1.32;
}

.settings-section-label {
  margin: 3px 0 -2px;
  color: #adb5bd;
  font-size: 11px;
  font-weight: 650;
}

.settings-list {
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
}

.settings-list[hidden],
.settings-note[hidden],
.settings-section-label[hidden],
.settings-detail[hidden] {
  display: none;
}

.settings-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 12px;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid #e8ecef;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.settings-row-icon {
  width: 16px;
  height: 16px;
  justify-self: center;
  color: #8a949e;
}

.settings-row strong {
  display: block;
  color: #4a5660;
  font-size: 13.5px;
  line-height: 1.12;
  font-weight: 700;
}

.settings-row small {
  display: block;
  margin-top: 1px;
  color: #a5adb4;
  font-size: 10.5px;
  line-height: 1.18;
}

.settings-admin-access {
  display: grid;
  gap: 6px;
  margin: -1px 0 6px 34px;
  padding: 0 0 8px;
  border-bottom: 1px solid #e8ecef;
}

.settings-admin-access[hidden] {
  display: none;
}

.settings-admin-access-label {
  color: #8a949e;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.1;
}

.settings-admin-access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
}

.settings-admin-access-input {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(20, 132, 122, 0.24);
  border-radius: 12px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #172028;
  font-size: 13px;
  font-weight: 650;
  outline: none;
}

.settings-admin-access-input:focus {
  border-color: rgba(20, 132, 122, 0.52);
  box-shadow: 0 0 0 3px rgba(20, 132, 122, 0.1);
}

.settings-admin-access-button,
.settings-admin-access-cancel {
  height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
}

.settings-admin-access-button {
  border: 0;
  background: #141d26;
  color: #fff;
}

.settings-admin-access-cancel {
  border: 1px solid #e2e7ea;
  background: #fff;
  color: #6e7780;
}

.settings-admin-access-error {
  margin: 0;
  color: #c95757;
  font-size: 10.5px;
  font-weight: 750;
}

html[data-theme="dark"] .settings-admin-access {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .settings-admin-access-label {
  color: rgba(226, 232, 238, 0.62);
}

html[data-theme="dark"] .settings-admin-access-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(115, 134, 148, 0.35);
  color: #eef4f5;
}

html[data-theme="dark"] .settings-admin-access-input:focus {
  border-color: rgba(59, 196, 180, 0.58);
  box-shadow: 0 0 0 3px rgba(59, 196, 180, 0.14);
}

html[data-theme="dark"] .settings-admin-access-button {
  background: #eef4f5;
  color: #10171d;
}

html[data-theme="dark"] .settings-admin-access-cancel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 238, 0.78);
}

.settings-chevron {
  width: 9px;
  height: 14px;
  color: #c9ced3;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 8 8-8 8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 2 8 8-8 8'/%3E%3C/svg%3E");
}

.settings-row-icon.user {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5 21a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M5 21a7 7 0 0 1 14 0'/%3E%3C/svg%3E");
}

.settings-row-icon.list {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='M4 6h.01M4 12h.01M4 18h.01'/%3E%3C/svg%3E");
}

.settings-row-icon.moon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7 7 0 1 0 20.5 14.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7 7 0 1 0 20.5 14.5Z'/%3E%3C/svg%3E");
}

.settings-row-icon.spark {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='m12 2 1.8 5.2L19 9l-5.2 1.8L12 16l-1.8-5.2L5 9l5.2-1.8L12 2Z'/%3E%3Cpath d='m19 15 .9 2.6L22 18.5l-2.1.9L19 22l-.9-2.6-2.1-.9 2.1-.9.9-2.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='m12 2 1.8 5.2L19 9l-5.2 1.8L12 16l-1.8-5.2L5 9l5.2-1.8L12 2Z'/%3E%3Cpath d='m19 15 .9 2.6L22 18.5l-2.1.9L19 22l-.9-2.6-2.1-.9 2.1-.9.9-2.6Z'/%3E%3C/svg%3E");
}

.settings-row-icon.shield {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E");
}

.settings-row-icon.logout {
  color: #c95757;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E");
}

.settings-row-danger strong {
  color: #c95757;
}

.settings-row-danger small {
  color: #c98989;
}

.settings-row-danger .settings-chevron {
  color: #d6b0b0;
}

.settings-detail {
  display: grid;
  gap: 8px;
  align-content: start;
}

.saved-task-settings-summary {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid #e3e9ec;
  border-radius: 14px;
  background: #ffffff;
}

.saved-task-settings-summary strong {
  color: #4a5660;
  font-size: 13.5px;
  line-height: 1.12;
  font-weight: 700;
}

.saved-task-settings-summary small {
  color: #a5adb4;
  font-size: 10.5px;
  line-height: 1.18;
}

.settings-action-list {
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
}

.settings-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid #e8ecef;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.settings-action-row strong {
  display: block;
  color: #4a5660;
  font-size: 13.5px;
  line-height: 1.12;
  font-weight: 700;
}

.settings-action-row small {
  display: block;
  margin-top: 1px;
  color: #a5adb4;
  font-size: 10.5px;
  line-height: 1.18;
}

.settings-action-row.danger strong {
  color: #a13e3e;
}

.settings-action-row.danger small {
  color: #bd8b8b;
}

.settings-toggle-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.settings-toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-toggle {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #d9dee2;
  box-shadow: inset 0 0 0 1px #cfd6dc;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.settings-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(12, 23, 31, 0.18);
  transition: transform 0.18s ease;
}

.settings-toggle-row input:checked + .settings-toggle {
  background: #15897f;
  box-shadow: inset 0 0 0 1px rgba(21, 137, 127, 0.45);
}

.settings-toggle-row input:checked + .settings-toggle::after {
  transform: translateX(16px);
}

.settings-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #2377d4;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.settings-back::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.settings-detail-copy {
  margin: 0;
  color: #8b949e;
  font-size: 11.5px;
  line-height: 1.3;
}

.appearance-list {
  display: grid;
  margin-top: -6px;
}

.appearance-option {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 15px;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid #e8ecef;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.appearance-option strong {
  display: block;
  color: #4a5660;
  font-size: 13.5px;
  font-weight: 710;
  line-height: 1.1;
}

.appearance-option small {
  display: block;
  margin-top: 1px;
  color: #a5adb4;
  font-size: 10.5px;
  font-weight: 520;
  line-height: 1.25;
}

.appearance-option.active strong {
  color: #2377d4;
}

.appearance-icon {
  width: 16px;
  height: 16px;
  justify-self: center;
  background: #8a949e;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}

.appearance-icon.sun {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E");
}

.appearance-icon.moon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7 7 0 1 0 20.5 14.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 14.5A8.5 8.5 0 0 1 9.5 3.5 7 7 0 1 0 20.5 14.5Z'/%3E%3C/svg%3E");
}

.appearance-icon.system {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
}

.appearance-check {
  width: 15px;
  height: 15px;
  justify-self: end;
}

.appearance-option.active .appearance-check {
  background: #2377d4;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 15px 15px;
  mask-size: 15px 15px;
}

html[data-theme="dark"] .appearance-option strong {
  color: #e6edf1;
}

html[data-theme="dark"] .appearance-option small {
  color: #9aa7af;
}

html[data-theme="dark"] .appearance-option.active strong {
  color: #7db7ff;
}

html[data-theme="dark"] .settings-key-status {
  color: #75c9bd;
}

.privacy-data-note {
  display: grid;
  gap: 6px;
  padding: 9px;
  border: 1px solid #d8ece3;
  border-radius: 15px;
  background: #f7fcfa;
  color: #53606a;
  font-size: 11px;
  line-height: 1.34;
}

.privacy-data-note strong {
  color: #172026;
  font-size: 12.5px;
}

.privacy-data-note p {
  margin: 0;
}

.privacy-provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.privacy-provider-links a {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid #d7e7e1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f7b72;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.clear-local-data-button {
  width: 100%;
  min-height: 38px;
  margin-top: 4px;
  border: 1px solid #f1c9c9;
  border-radius: 999px;
  background: #fffafa;
  color: #b43a3a;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.ai-provider-list {
  display: grid;
  margin-top: -6px;
}

.ai-provider-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e8ecef;
  background: transparent;
  color: #8a949e;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}

.ai-provider-option.active {
  color: #1677d2;
  font-weight: 720;
}

.ai-provider-option.active::after {
  content: "";
  width: 15px;
  height: 8px;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
}

.ai-key-field {
  display: grid;
  gap: 5px;
  color: #4a5660;
  font-size: 13px;
  font-weight: 700;
}

.ai-key-field small {
  color: #9da6ae;
  font-size: 10.5px;
  font-weight: 520;
}

.ai-key-field input {
  width: 100%;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #dfe5e8;
  border-radius: 999px;
  background: #ffffff;
  color: #46515b;
  font-size: 12.5px;
  outline: none;
}

.ai-key-field input:focus {
  border-color: #9cc8ec;
  box-shadow: 0 0 0 3px rgba(35, 119, 212, 0.12);
}

.ai-key-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.ai-key-actions button {
  min-height: 36px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.settings-key-status {
  min-height: 18px;
  margin: -8px 0 0;
  color: #2f827a;
  font-size: 12px;
  font-weight: 680;
}

.audit-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 123, 114, 0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.audit-status[hidden] {
  display: none;
}

html[data-theme="dark"] .audit-status {
  background: rgba(31, 160, 148, 0.12);
  color: #76d2c9;
}

.account-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 9px;
  border: 1px solid #e3e9ec;
  border-radius: 15px;
  background: #ffffff;
}

.account-card img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef2f4;
}

.account-card strong,
.account-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-card strong {
  color: #3d4852;
  font-size: 12.5px;
  line-height: 1.2;
}

.account-card small {
  margin-top: 2px;
  color: #8d98a2;
  font-size: 10.5px;
}

.google-signin-slot {
  min-height: 38px;
}

.google-signout-button {
  min-height: 36px;
  border-radius: 999px;
  background: #ffffff;
  color: #66717b;
  font-size: 12px;
  font-weight: 760;
}

.task-sheet-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.task-sheet-head > div {
  min-width: 0;
}

.task-sheet-head > div:first-child {
  grid-column: 2;
  grid-row: 1;
}

.task-sheet-head h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.task-sheet-head .eyebrow {
  margin: 0;
  color: #2f827a;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.icon-close {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-height: 32px;
  padding: 0 9px;
  border-radius: 999px;
  color: #68737d;
  font-size: 12px;
  font-weight: 650;
}

.task-head-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  grid-column: 3;
  grid-row: 1;
}

.task-share-all-button,
.task-select-button {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid #e1e6e9;
  border-radius: 999px;
  background: #ffffff;
  color: #74818a;
  font: inherit;
  cursor: pointer;
}

.task-share-all-button span,
.task-select-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.task-share-all-button::before,
.task-select-button::before {
  content: "";
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 15px 15px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 15px 15px;
}

.task-select-button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
}

.task-share-all-button::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 8 5-5 5 5'/%3E%3Cpath d='M5 14v5h14v-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 8 5-5 5 5'/%3E%3Cpath d='M5 14v5h14v-5'/%3E%3C/svg%3E");
}

.task-select-button[aria-pressed="true"] {
  border-color: rgba(15, 123, 114, 0.26);
  background: #eef8f6;
  color: var(--teal);
}

.task-select-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.task-draft {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f2;
}

.task-draft[hidden] {
  display: none;
}

.task-draft img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
}

.task-note-field {
  display: grid;
  gap: 5px;
  color: #78838d;
  font-size: 11px;
  font-weight: 680;
}

.task-note-field textarea {
  width: 100%;
  resize: vertical;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid #edf0f2;
  border-radius: 0;
  background: #f7f7f8;
  color: #46515b;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}

.task-note-field textarea[readonly] {
  color: #3f4a54;
  font-weight: 600;
  cursor: default;
}

.add-task-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  font-size: 15px;
}

.add-task-primary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 18px;
  line-height: 1;
}

.add-task-primary.is-editing::before {
  content: "";
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.add-task-primary:disabled {
  opacity: 0.72;
  cursor: default;
}

.task-share-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.task-share-actions button {
  min-height: 34px;
  border: 1px solid #e1e6e9;
  border-radius: 999px;
  background: #ffffff;
  color: #66717b;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.saved-task-area {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.saved-task-select-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 2px 0 4px;
}

.saved-task-select-bar[hidden] {
  display: none;
}

.saved-task-select-bar span {
  color: #7a858e;
  font-size: 11px;
  font-weight: 760;
}

.saved-task-select-bar button {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #dde5e9;
  border-radius: 999px;
  background: #ffffff;
  color: #60707a;
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.saved-task-select-bar button.danger {
  color: #b95d57;
}

.saved-task-select-bar button:disabled {
  opacity: 0.44;
  cursor: default;
}

.saved-task-header {
  display: grid;
  gap: 7px;
}

.saved-task-area h3 {
  margin: 0;
  color: #7a858e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.saved-share-actions {
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.82fr));
}

.saved-share-actions button {
  min-height: 30px;
  font-size: 11px;
}

#savedTaskList {
  display: grid;
  gap: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.saved-task-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 22px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f2;
}

.saved-task-card.is-selecting {
  grid-template-columns: 24px 68px minmax(0, 1fr);
  cursor: pointer;
}

.saved-task-card.is-selected {
  background: linear-gradient(90deg, rgba(15, 123, 114, 0.06), transparent 72%);
}

.saved-task-card.is-editing {
  grid-template-columns: 68px minmax(0, 1fr);
  padding: 10px 0;
}

.saved-task-card.is-editing .saved-task-actions {
  display: none;
}

.saved-task-select {
  display: grid;
  place-items: center;
  align-self: start;
  width: 20px;
  height: 20px;
  margin-top: 18px;
  border: 1px solid #d8e1e5;
  border-radius: 50%;
  background: #ffffff;
  color: #ffffff;
  cursor: pointer;
}

.saved-task-select[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal);
}

.saved-task-select[aria-pressed="true"]::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(1px, -1px);
}

.saved-task-card img {
  width: 68px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f5f6;
}

.saved-task-card strong {
  display: block;
  margin-bottom: 2px;
  color: #303941;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.saved-task-card p {
  color: #69747d;
  font-size: 11px;
  line-height: 1.32;
}

.saved-task-note-edit {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  padding: 8px 9px;
  border: 1px solid #d9e3e8;
  border-radius: 12px;
  background: #ffffff;
  color: #4a5560;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
}

.saved-task-inline-actions {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}

.saved-task-inline-actions button {
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #dde5e9;
  border-radius: 999px;
  background: #ffffff;
  color: #60707a;
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.saved-task-inline-actions .saved-task-update {
  border-color: rgba(15, 123, 114, 0.20);
  background: #eef8f6;
  color: var(--teal);
}

.saved-task-actions {
  display: grid;
  gap: 3px;
  align-self: start;
}

.saved-task-actions button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #98a1aa;
  cursor: pointer;
}

.saved-task-actions button::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 14px 14px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 14px 14px;
}

.saved-task-share::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 8 5-5 5 5'/%3E%3Cpath d='M5 14v5h14v-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 8 5-5 5 5'/%3E%3Cpath d='M5 14v5h14v-5'/%3E%3C/svg%3E");
}

.saved-task-edit::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5Z'/%3E%3C/svg%3E");
}

.saved-task-delete::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3Cpath d='M10 11v5'/%3E%3Cpath d='M14 11v5'/%3E%3C/svg%3E");
}

.saved-task-delete {
  color: #b45a52;
}

.empty-state {
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(10px, calc(env(safe-area-inset-bottom) + 4px));
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  width: min(430px, calc(100vw - 42px));
  min-height: 48px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 250, 0.92));
  box-shadow:
    0 18px 38px rgba(23, 32, 38, 0.18),
    0 3px 8px rgba(23, 32, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.legacy-nav {
  display: none !important;
}

.train-nav-item {
  display: none !important;
}

.bottom-nav-item {
  border: 0;
  background: transparent;
  font: inherit;
  display: grid;
  place-items: center;
  gap: 1px;
  min-height: 39px;
  border-radius: 999px;
  color: #a8aeb7;
  text-decoration: none;
  cursor: pointer;
}

.bottom-nav-item span {
  display: none;
}

.bottom-nav-item::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: #a8aeb7;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 20px 20px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 20px 20px;
}

.main-bottom-nav .bottom-nav-item:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A2.5 2.5 0 0 1 6.5 6h1.7l1.2-2h5.2l1.2 2h1.7A2.5 2.5 0 0 1 20 8.5v8A2.5 2.5 0 0 1 17.5 19h-11A2.5 2.5 0 0 1 4 16.5v-8Z'/%3E%3Ccircle cx='12' cy='12.5' r='3.2'/%3E%3C/svg%3E");
}

.main-bottom-nav .bottom-nav-item:nth-child(2)::before,
.admin-bottom-nav .bottom-nav-item:nth-child(2)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='12' rx='2'/%3E%3Cpath d='M7 7V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='m6 16 3-3 2 2 2-3 3 4'/%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='12' rx='2'/%3E%3Cpath d='M7 7V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='m6 16 3-3 2 2 2-3 3 4'/%3E%3Ccircle cx='8' cy='11' r='1'/%3E%3C/svg%3E");
}

.main-bottom-nav .bottom-nav-item:nth-child(3)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h5'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3Cpath d='M18 15v6'/%3E%3Cpath d='M15 18h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h11'/%3E%3Cpath d='M8 12h11'/%3E%3Cpath d='M8 18h5'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3Cpath d='M18 15v6'/%3E%3Cpath d='M15 18h6'/%3E%3C/svg%3E");
}

.task-nav-just-saved {
  animation: task-nav-just-saved 1200ms ease;
}

.has-saved-tasks {
  animation: task-nav-idle-pulse 8s ease-in-out infinite;
}

@keyframes task-nav-just-saved {
  0% {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.78);
  }
  24% {
    transform: scale(1.16);
    background: rgba(15, 123, 114, 0.14);
    box-shadow: 0 0 0 7px rgba(15, 123, 114, 0.08);
  }
  48% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes task-nav-idle-pulse {
  0%, 82%, 100% {
    transform: scale(1);
  }
  88% {
    transform: scale(1.06);
  }
  94% {
    transform: scale(1);
  }
}

.admin-bottom-nav .bottom-nav-item:nth-child(1)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.admin-bottom-nav .bottom-nav-item:nth-child(3)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.7 5.2L19 10l-5.3 1.8L12 17l-1.7-5.2L5 10l5.3-1.8L12 3Z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8L19 15Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.7 5.2L19 10l-5.3 1.8L12 17l-1.7-5.2L5 10l5.3-1.8L12 3Z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8L19 15Z'/%3E%3C/svg%3E");
}

.bottom-nav-item small {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.bottom-nav-item.active {
  color: #7f8791;
  background: transparent;
}

@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .fixlist {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    padding-top: calc(env(safe-area-inset-top) + 40px);
    padding-bottom: 72px;
  }

  .topbar {
    align-items: center;
    flex-direction: row;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .app-topbar {
    display: none;
  }

  .brand-title {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .app-logo {
    width: 42px;
    height: 32px;
  }

  h1 {
    font-size: 20px;
  }

  .subtitle,
  .admin-link {
    display: none;
  }

  .top-actions {
    width: auto;
    justify-content: flex-end;
  }

  .score-tile {
    width: 66px;
    min-width: 66px;
    padding: 7px 9px;
  }

  .score-tile span {
    font-size: 19px;
  }

  .score-tile small {
    font-size: 10px;
  }

  .shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 4px;
  }

  .scan-mode-toggle {
    width: min(216px, 51vw);
    min-width: 165px;
  }

  .beta-badge {
    height: 12px;
    padding: 0 4px;
    font-size: 6px;
  }

  .viewer-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
  }

  .task-entry-float,
  .canvas-frame,
  .photo-strip-under,
  .fixlist {
    margin-left: 4px;
    margin-right: 4px;
  }

  .photo-strip-helper {
    margin-bottom: 5px;
  }

  .photo-strip-under {
    margin-bottom: 6px;
  }

  .task-entry-float {
    margin-top: 5px;
    margin-bottom: 9px;
  }

  .scan-title-block {
    max-width: none;
  }

  .scan-summary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 4px;
  }

  .metric-row {
    padding: 0 9px;
  }

  .sample-grid {
    margin-bottom: 8px;
  }

  .sample-button {
    flex-basis: 132px;
    height: 72px;
  }

  .photo-strip-under .sample-grid {
    gap: 4px;
  }

  .photo-tile-actions {
    grid-template-columns: repeat(3, 30px);
    gap: 3px;
  }

  .photo-tile-actions .bottom-nav-item {
    width: 30px;
    min-height: 30px;
  }

  .photo-strip-under .sample-button {
    flex-basis: auto;
    height: 36px;
    border-radius: 8px;
  }

  .photo-strip-under .sample-button span {
    font-size: 9px;
  }

  .panel {
    padding: 8px;
  }

  .panel.compact {
    padding: 6px;
  }

  .panel.compact h2 {
    margin-bottom: 5px;
    font-size: 15px;
  }

  .compact-panel {
    padding: 0;
  }

  .compact-panel summary {
    min-height: 38px;
    padding: 9px 10px;
  }

  .compact-panel > :not(summary) {
    margin-left: 10px;
    margin-right: 10px;
  }

  .setup-panel .field {
    margin: 0 0 8px;
  }

  .setup-panel select {
    min-height: 50px;
    font-size: 15px;
  }

  .fixlist-head {
    align-items: center;
    flex-direction: row;
    min-height: 48px;
    padding: 6px;
  }

  .viewer-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-height: 28px;
    padding: 0;
  }

  .compact-metrics {
    order: 0;
    flex: initial;
    max-width: none;
    min-width: 0;
  }

  .compact-metrics .metric-row {
    padding: 1px 4px;
    font-size: 8px;
  }

  .compact-metrics .metric-row strong {
    font-size: 10px;
  }

  .task-list-topline .compact-metrics .metric-row {
    padding: 0 7px;
    font-size: 9px;
  }

  .task-list-topline .compact-metrics .metric-row strong {
    font-size: 12px;
  }

  .fixlist-summary > .compact-metrics .metric-row {
    padding: 0 8px 0 0;
    margin-right: 8px;
  }

  .fixlist-summary > .compact-metrics .metric-row strong {
    font-size: 12px;
  }

  .viewer-toolbar p {
    font-size: 9px;
  }

  .viewer-toolbar strong {
    font-size: 15px;
  }

  .legend {
    gap: 4px;
    font-size: 8px;
  }

  .canvas-frame {
    height: clamp(266px, 68.4vw, 409px);
    min-height: 0;
    padding: 4px 0;
    place-items: center;
  }

  .canvas-frame:has(#auditCanvas.is-guide-clickable) {
    height: clamp(230px, 60vw, 350px);
  }

  .scan-hero {
    gap: 3px;
    padding: 8px 10px 6px;
  }

  .scan-hero h2 {
    font-size: 20px;
  }

  .scan-hero p {
    font-size: 11px;
  }

  .issue-card {
    gap: 8px;
    padding: 9px;
  }

  #issueList {
    padding: 0;
  }

  .bottom-nav {
    left: 50%;
    width: min(430px, calc(100vw - 42px));
    min-height: 48px;
    padding: 4px 8px;
  }

  .bottom-nav-item {
    min-height: 39px;
  }

  .top-action-nav .bottom-nav-item {
    min-height: 34px;
  }

  .bottom-nav-item span {
    font-size: 25px;
  }

  .bottom-nav-item small {
    font-size: 10px;
  }

  .top-action-nav .bottom-nav-item small {
    font-size: 15px;
  }

}

html[data-theme="dark"] .workspace,
html[data-theme="dark"] .canvas-frame {
  background-color: var(--workspace-bg);
}

html[data-theme="dark"] .photo-strip-under,
html[data-theme="dark"] .task-entry-float,
html[data-theme="dark"] .quick-task-bar {
  background-color: rgba(23, 33, 38, 0.92);
  border-color: rgba(108, 123, 132, 0.34);
}

html[data-theme="dark"] .issue-card {
  background-color: #152025;
  border-bottom-color: rgba(80, 96, 105, 0.34);
}

html[data-theme="dark"] .issue-title,
html[data-theme="dark"] .fixlist-head .eyebrow {
  color: #edf3f4;
}

html[data-theme="dark"] .task-area-title {
  color: #edf3f4;
}

html[data-theme="dark"] .task-area-title.needs-area-type {
  border-color: rgba(45, 209, 195, 0.34);
  background: rgba(45, 209, 195, 0.13);
  color: #68ddd3;
}

html[data-theme="dark"] .area-type-menu {
  border-color: rgba(79, 96, 105, 0.72);
  background: rgba(22, 32, 38, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .area-type-choice {
  border: 0;
  background: transparent;
  color: #cbd6dc;
}

html[data-theme="dark"] .area-type-choice:active {
  background: rgba(45, 209, 195, 0.13);
  color: #68ddd3;
}

html[data-theme="dark"] .issue-card p {
  color: #b0bbc2;
}

html[data-theme="dark"] .issue-number {
  background-color: #253139;
  color: #edf3f4;
}

html[data-theme="dark"] .issue-badge small {
  color: #a4b0b8;
}

html[data-theme="dark"] .task-actions .icon-action,
html[data-theme="dark"] .quick-task-bar button[type="submit"] {
  background-color: rgba(231, 238, 239, 0.10);
  color: #c6d0d5;
  box-shadow: inset 0 0 0 1px rgba(233, 239, 240, 0.08);
}

html[data-theme="dark"] .task-actions .icon-action::before,
html[data-theme="dark"] .quick-task-bar button[type="submit"]::before,
html[data-theme="dark"] .quick-task-icon::before,
html[data-theme="dark"] .quick-task-media::before,
html[data-theme="dark"] .issue-row-action::before {
  background-color: currentColor;
}

html[data-theme="dark"] .top-task-icon.has-saved-tasks::before,
html[data-theme="dark"] .quick-task-icon.has-saved-tasks::before,
html[data-theme="dark"] .task-actions .task-list-plus-icon.has-saved-tasks::before,
html[data-theme="dark"] .task-list-plus-icon.has-saved-tasks::before {
  background-color: var(--teal);
}

html[data-theme="dark"] .issue-row-action {
  color: rgba(172, 183, 190, 0.58);
}

html[data-theme="dark"] .issue-row-action:hover {
  color: rgba(237, 243, 244, 0.86);
}

html[data-theme="dark"] .fixlist-head,
html[data-theme="dark"] .viewer-toolbar {
  border-color: rgba(91, 107, 116, 0.38);
}

html[data-theme="dark"] canvas {
  background-color: transparent;
  filter: brightness(0.88) saturate(0.72);
}

html[data-theme="dark"] .canvas-frame:has(#auditCanvas.is-guide-clickable) canvas {
  background-color: transparent;
  filter: brightness(0.86) saturate(0.82);
}

.admin-access-dialog {
  width: min(360px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fbfcfc;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(23, 32, 38, 0.22);
}

.admin-access-dialog::backdrop {
  background: rgba(17, 24, 28, 0.24);
  backdrop-filter: blur(5px);
}

.admin-access-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.admin-access-eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-access-title {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.admin-access-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.admin-access-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-access-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--workspace-line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  outline: none;
}

.admin-access-input:focus {
  border-color: rgba(20, 132, 122, 0.42);
  box-shadow: 0 0 0 4px rgba(20, 132, 122, 0.12);
}

.admin-access-error {
  margin: -2px 0 0;
  color: #b44b4b;
  font-size: 12px;
  font-weight: 750;
}

.admin-access-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
}

.admin-access-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.admin-access-button.secondary {
  border: 1px solid var(--workspace-line);
  background: #fff;
  color: var(--muted);
}

.admin-access-button.primary {
  border: 0;
  background: var(--ink);
  color: #fff;
}

html[data-theme="dark"] .admin-access-dialog,
html[data-theme="dark"] .admin-access-page {
  background: #11191d;
  color: #edf3f4;
}

html[data-theme="dark"] .admin-access-title {
  color: #edf3f4;
}

html[data-theme="dark"] .admin-access-copy,
html[data-theme="dark"] .admin-access-field {
  color: #aeb9c0;
}

html[data-theme="dark"] .admin-access-input,
html[data-theme="dark"] .admin-access-button.secondary {
  border-color: rgba(91, 107, 116, 0.5);
  background: rgba(18, 28, 34, 0.92);
  color: #edf3f4;
}

html[data-theme="dark"] .admin-access-button.primary {
  background: #edf3f4;
  color: #11191d;
}

