/* Organic Mirror: additions to the Shade Plans style (studio.css, copied 2026-12-01). */
.brand-mark .glass { fill: #c9d3d8; stroke: var(--panel); stroke-width: 1.2; }
.stage { background: var(--paper-2); }
.stage-size {
  position: absolute; top: 18px; right: 16px; margin: 0; font: var(--label); letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); text-align: right; line-height: 1.6;
}
.intro { padding: 18px 0 4px; }
.step-body[hidden] { display: none; }
.pill.try { width: 100%; height: 38px; margin: 6px 0 0; }
.stepper output { font: 15px/1 var(--mono); }
.checks-block { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.checks-block .select-label { margin: 0 0 12px; }
.checks li[data-level=info] { background: var(--paper-2); }
.checks li[data-level=ok] { background: var(--paper-2); }
.cut-summary { margin-top: 18px; }
#carrierFields[hidden] { display: none; }

/* 2026-12-01 review: refused moves, the layer section, grain swatches */
.stage-note {
  position: absolute; left: 16px; bottom: 16px; margin: 0; max-width: min(420px, calc(100% - 32px));
  padding: 8px 12px; border-radius: var(--radius); background: var(--panel); box-shadow: var(--edge-lg);
  font-size: 13px; line-height: 1.4; color: var(--ink-2);
}
.stage-note[hidden] { display: none; }
#view.can-move { cursor: grab; }
#view.can-turn, #view.turning { cursor: alias; }
#view.moving { cursor: grabbing; }
#carrierBody[hidden] { display: none; }
#carrierBody .swatches { margin: 10px 0 4px; }
.section { display: block; width: 100%; height: auto; margin-top: 4px; }
.section text { font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.section .cut { fill: var(--paper-2); }
.section .wall { fill: rgba(26, 22, 18, .12); stroke: rgba(26, 22, 18, .45); stroke-width: 1; }
.section .edge { fill: none; stroke: rgba(26, 22, 18, .45); stroke-width: 1; }
.section .glass { fill: #c9d3d8; stroke: rgba(26, 22, 18, .45); stroke-width: 1; }
.swatches { grid-template-columns: repeat(3, 1fr); }

/* second review: zoom, backgrounds, overall size */
#view.panning { cursor: grabbing; }
#view.can-scale-a, #view.scaling-a { cursor: nwse-resize; }
#view.can-scale-b, #view.scaling-b { cursor: nesw-resize; }

/* a text button inside a help line */
button.link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* shape rules, version 1 (2026-12-02): the hint */
.stage-hint {
  position: absolute; top: 44px; right: 16px; margin: 0; max-width: 250px; padding: 8px 12px; border-radius: var(--radius);
  background: var(--panel); box-shadow: var(--edge-lg); font-size: 13px; line-height: 1.4; color: var(--ink-2);
}
.stage-hint[hidden], #matchHelp[hidden], #mirrorPoints[hidden] { display: none; }

.edge-sizes { margin-top: 8px; }
.edge-sizes[hidden] { display: none; }

/* ---------- More tools: the menu button, the panel, the cards (2026-12-04) ---------- */
.tools-open { border: 0; background: none; width: 30px; height: 30px; padding: 0; color: var(--ink); display: grid; place-items: center; flex: none; }
.tools-open svg { width: 18px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.tools-open:focus-visible, .tools-close:focus-visible, .tools-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tools-panel { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(380px, 100vw); height: 100dvh; max-width: none; max-height: none; border: 0; border-left: 1px solid var(--line); background: var(--paper-2); color: var(--ink); overflow: auto; }
.tools-panel::backdrop { background: rgba(26, 22, 18, .35); }
.tools-body { padding: 18px 20px 28px; min-height: 100%; box-sizing: border-box; }
.tools-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.tools-head .select-label { margin: 0; }
.tools-close { border: 0; background: none; font: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--ink-2); height: 30px; padding: 0 4px; }
.tool-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tool-card { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); text-decoration: none; }
a.tool-card:hover { border-color: var(--ink); }
a.tool-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.tool-pic { flex: none; width: 72px; height: 72px; border-radius: 8px; object-fit: cover; display: block; }
.tool-draw { background: var(--paper-3); fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.tool-draw circle, .tool-draw .solid { fill: var(--ink-2); stroke: none; }
.tool-text { min-width: 0; }
.tool-name { display: block; font: 700 14px/1.2 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.tool-name em { font-style: italic; font-weight: 400; letter-spacing: .06em; text-transform: none; font-size: 15px; }
.tool-tag { display: block; font: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.tool-line { display: block; font-size: 13px; line-height: 1.45; color: var(--ink-2); margin-top: 5px; }
.tool-go { margin-left: auto; font-size: 15px; }
.pdf-block p.tools-promo, .tools-promo { margin: 12px 0 0; }
.tools-link { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
