/* Slootia base styles: the drafting-sheet look.
   Dashed guide lines frame every panel; small nodes mark where guides cross. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

/* Two vertical guides at the sheet edges, full page height. */
.guides { position: relative; }
.guides::before, .guides::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed var(--line);
  pointer-events: none;
}
.guides::before { left: var(--gutter); }
.guides::after { right: var(--gutter); }

/* A horizontal guide across the full viewport, with nodes where it meets the verticals. */
.rule {
  position: relative;
  height: 0;
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 0;
}
.rule::before, .rule::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: var(--paper);
}
.rule::before { left: calc(var(--gutter) - 3px); }
.rule::after { right: calc(var(--gutter) - 4px); }

.sheet { padding-left: var(--gutter); padding-right: var(--gutter); }
.sheet > .inner { padding: 56px 24px; }

.label {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--muted); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.draft { stroke: var(--ink); fill: none; stroke-width: 1.1; stroke-linejoin: round; }
.draft-soft { stroke: var(--line); fill: none; stroke-width: 1; }
.dim { stroke: var(--accent); fill: none; stroke-width: 1; }
.dim-text { fill: var(--accent); font: 500 10px var(--mono); letter-spacing: 0.06em; }
.ink-text { fill: var(--muted); font: 500 10px var(--mono); letter-spacing: 0.06em; }
.btn { white-space: nowrap; }
