/* Wireframe — debug layout · dashed boxes · region labels · body.skin-wireframe */

body.skin-wireframe {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 14px;
  line-height: 1.45;
  color: #222;
  background-color: #ececec;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    #ddd 10px,
    #ddd 11px
  );
}

body.skin-wireframe * {
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
}

body.skin-wireframe :focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
}

body.skin-wireframe a {
  color: #004488;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.skin-wireframe a:hover {
  background: #d8e8ff;
}

body.skin-wireframe .skin-toggle {
  font: inherit;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  border: 2px dashed #666;
  background: #fff;
  color: #333;
}

body.skin-wireframe .skin-toggle[aria-pressed="true"] {
  border-style: solid;
  background: #ccc;
  font-weight: bold;
}

/* ——— region label helper ——— */
body.skin-wireframe main,
body.skin-wireframe .page-head,
body.skin-wireframe .hint,
body.skin-wireframe .capture-zone,
body.skin-wireframe .resurface-zone,
body.skin-wireframe .filters-zone,
body.skin-wireframe .tabs,
body.skin-wireframe .tab-panel,
body.skin-wireframe .cycle-zone {
  position: relative;
}

body.skin-wireframe main {
  max-width: none;
  margin: 8px;
  padding: 14px 10px 10px;
  background: #f6f6f6;
  border: 2px dashed #888;
}

body.skin-wireframe main::before { content: "PAGE"; }

body.skin-wireframe .page-head::before { content: "HEADER"; }
body.skin-wireframe .hint::before { content: "HINT"; }
body.skin-wireframe .capture-zone::before { content: "CAPTURE"; }
body.skin-wireframe .resurface-zone::before { content: "RESURFACE"; }
body.skin-wireframe .filters-zone::before { content: "FILTERS"; }
body.skin-wireframe .tabs::before { content: "TABS"; }
body.skin-wireframe #panel-inbox::before { content: "LIST · INBOX"; }
body.skin-wireframe #panel-triage::before { content: "LIST · TRIAGE"; }
body.skin-wireframe #panel-archive::before { content: "LIST · ARCHIVE"; }
body.skin-wireframe .cycle-zone::before { content: "CYCLE"; }

body.skin-wireframe main::before,
body.skin-wireframe .page-head::before,
body.skin-wireframe .hint::before,
body.skin-wireframe .capture-zone::before,
body.skin-wireframe .resurface-zone::before,
body.skin-wireframe .filters-zone::before,
body.skin-wireframe .tabs::before,
body.skin-wireframe .tab-panel::before,
body.skin-wireframe .cycle-zone::before {
  position: absolute;
  top: 0;
  left: 8px;
  transform: translateY(-50%);
  padding: 0 6px;
  background: #ececec;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #555;
  border: 1px dashed #999;
  z-index: 1;
}

body.skin-wireframe .page-head,
body.skin-wireframe .hint,
body.skin-wireframe .capture-zone,
body.skin-wireframe .resurface-zone,
body.skin-wireframe .filters-zone,
body.skin-wireframe .tabs,
body.skin-wireframe .tab-panel,
body.skin-wireframe .cycle-zone {
  margin: 8px 0;
  padding: 14px 10px 10px;
  background: #fafafa;
  border: 2px dashed #888;
}

body.skin-wireframe .page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

body.skin-wireframe h1 {
  font-size: 1rem;
  font-weight: bold;
  color: #111;
}

body.skin-wireframe h2 {
  font-size: 0.75rem;
  color: #444;
  border-bottom: 1px dashed #aaa;
  padding-bottom: 4px;
}

body.skin-wireframe .hint {
  font-size: 0.7rem;
  color: #555;
  line-height: 1.4;
}

body.skin-wireframe textarea,
body.skin-wireframe input {
  border: 2px dashed #888;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

body.skin-wireframe button {
  border: 2px dashed #666;
  background: #e8e8e8;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

body.skin-wireframe button:hover {
  background: #d0d0d0;
}

body.skin-wireframe .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

body.skin-wireframe .tabs button {
  border: 2px dashed #777;
  background: #fff;
  color: #222;
}

body.skin-wireframe .tabs button[aria-selected="true"] {
  border-style: solid;
  background: #bbb;
  font-weight: bold;
}

body.skin-wireframe .tab-badge {
  border: 1px dashed #666;
  background: #ddd;
}

body.skin-wireframe .filter-chip,
body.skin-wireframe .cloud-chip {
  border: 1px dashed #888;
  background: #eee;
}

body.skin-wireframe .idea-card {
  border: 2px dashed #aaa;
  background: #fff;
  padding: 8px;
  margin: 6px 0;
}

body.skin-wireframe .idea-card.filter-match {
  border-style: solid;
  background: #e0e0e0;
}

body.skin-wireframe .idea-title {
  color: #111;
  font-weight: bold;
}

body.skin-wireframe .counter {
  border: 2px dashed #666;
  background: #eee;
  font: inherit;
}

body.skin-wireframe .counter-palette-item {
  border: 1px dashed #888;
  background: #f0f0f0;
}

body.skin-wireframe .cycle-column {
  border: 2px dashed #888;
  background: #f4f4f4;
}

body.skin-wireframe .cycle-card {
  border: 1px dashed #999;
  background: #fff;
}

body.skin-wireframe .maturity-band {
  border: 1px dashed #bbb;
  background: #eee;
}

body.skin-wireframe .status {
  color: #444;
  font-size: 0.7rem;
}

body.skin-wireframe .time-hint {
  border: 1px dashed #aaa;
  padding: 0 4px;
  background: #eee;
}

@media (prefers-reduced-motion: reduce) {
  body.skin-wireframe,
  body.skin-wireframe * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
