.wv-card-host{container-type:inline-size;container-name:wv-card;max-width:760px;margin:auto}.wv-node{position:relative;min-width:0;overflow-wrap:anywhere}.wv-stack{min-width:0;height:100%}.wv-stack>.wv-node{min-width:0}.wv-selectable{outline:1px solid transparent;outline-offset:-1px;cursor:pointer}.wv-selectable:hover{outline:1px dashed color-mix(in srgb,var(--wl-selection) 60%,transparent)}.wv-selectable.is-selected{outline:2px solid var(--wl-selection);outline-offset:3px}.wv-selectable:focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wt-surface .wv-heading,.wv-heading{color:inherit;font-family:inherit;font-size:inherit;line-height:1.12;letter-spacing:-.02em;margin:0;font-weight:500}.wt-surface .wv-text,.wv-text{color:inherit;font-family:inherit;font-size:inherit;line-height:1.65;margin:0;white-space:pre-wrap}.wv-label{display:block;font:10px/1.6 var(--font-interface);opacity:.8;margin-bottom:9px}.wv-linked-entry{display:block;width:100%;text-align:start;font:inherit!important;color:inherit!important;background:transparent!important;border:0!important;box-shadow:none!important;height:auto!important;padding:0!important;margin-top:6px}.wv-linked-entry:hover{text-decoration:underline}.wv-divider{border:0;border-top:1px solid currentColor;opacity:.25;margin:0}.wv-image{display:block;width:100%;height:auto;border-radius:inherit}.wv-image-empty{min-height:110px;height:100%;display:grid;place-items:center;border:1px dashed var(--background-modifier-border);border-radius:inherit;color:var(--text-muted);font:11px var(--font-interface)}
.wv-mount{min-height:0}.wt-card-vue{border:0!important;background:transparent!important;border-radius:0!important}.wt-card-vue.wv-card-host{max-width:760px}
@container wv-card (max-width:520px){.wv-stack[data-direction=row],.wv-stack[data-direction=row-reverse]{flex-direction:column!important}.wv-stack>.wv-node{width:auto!important;max-width:100%}}
/* The type workspace's page: a sheet on the canvas whose parts can be selected.
   The selected part carries its name and a few quick actions in one bar above it. */
.wv-canvas-page>.wv-node{background:var(--wl-surface);border:1px solid var(--wl-line);border-radius:var(--r-lg);box-shadow:var(--wl-elev-card);min-height:220px}
.wv-stack[data-direction^=row]>.wv-node{flex:1 1 0}
.wv-node-bar{position:absolute;left:-5px;bottom:100%;display:flex;align-items:flex-end;gap:4px;margin-bottom:6px;z-index:7;pointer-events:none;font:500 11px/20px var(--wl-font-ui);letter-spacing:0;text-transform:none}
.wv-badge{height:20px;padding:0 7px;color:var(--text-on-accent);background:var(--interactive-accent);border-radius:4px;white-space:nowrap}
.wv-node-tools{display:flex;gap:1px;padding:1px;background:var(--wl-surface);border:1px solid var(--wl-line);border-radius:var(--r-sm);box-shadow:var(--wl-elev-pop);pointer-events:auto}
.wv-node-tools button{width:22px!important;height:22px!important;padding:3px!important;background:transparent!important;color:var(--wl-text-2)!important;border-radius:var(--r-xs)!important;box-shadow:none!important}
.wv-node-tools button:hover{color:var(--wl-text)!important;background:var(--wl-raised)!important}
.wv-node-tools button:focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wv-node-tools button:first-child{cursor:grab;touch-action:none}
.wv-node-tools svg{width:14px;height:14px;display:block}
.wv-empty-group{min-height:58px;display:grid;place-items:center;border:1px dashed var(--wl-line-strong);border-radius:var(--r-sm);color:var(--wl-text-3);font:11px var(--wl-font-ui)}
.wv-node.is-faded{opacity:.25;transition:opacity var(--wl-quick) var(--wl-ease)}
.wv-node[data-type=Callout]:not([style*=background])>.wv-callout{padding:12px 14px;border-left:3px solid var(--interactive-accent);background:color-mix(in srgb,var(--interactive-accent) 8%,transparent);border-radius:4px}
/* Values by kind (D-031). Colours are the theme's named colours, never hex. */
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=red]{--wv-c:var(--color-red)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=orange]{--wv-c:var(--color-orange)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=yellow]{--wv-c:var(--color-yellow)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=green]{--wv-c:var(--color-green)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=cyan]{--wv-c:var(--color-cyan)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=blue]{--wv-c:var(--color-blue)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=purple]{--wv-c:var(--color-purple)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=pink]{--wv-c:var(--color-pink)}
:is(.wv-chip,.wv-bar,.wv-status,.wt-ws-swatch,.wt-choice-chip)[data-colour=grey]{--wv-c:var(--text-faint)}
.wv-value{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-height:1.65em;line-height:1.65}
.wv-value-text{white-space:pre-wrap}
.wv-value-text.is-empty,.wv-text.is-empty,.wv-heading.is-empty,.wv-image-empty.wv-editable{color:var(--wl-text-3);font-style:italic}
.wv-meta{font:11px/1.4 var(--font-interface);color:var(--text-muted)}
.wv-chips{display:flex;flex-wrap:wrap;gap:5px}
.wv-chip{display:inline-flex;align-items:center;gap:4px;padding:0 9px;border-radius:999px;font:12px/1.75 var(--font-interface);background:color-mix(in srgb,var(--wv-c,currentColor) 14%,transparent);border:1px solid color-mix(in srgb,var(--wv-c,currentColor) 30%,transparent)}
.wv-toggle{display:inline-flex;align-items:center;gap:7px}
.wv-toggle-mark{position:relative;flex:0 0 auto;width:26px;height:15px;border-radius:8px;background:color-mix(in srgb,currentColor 22%,transparent)}
.wv-toggle-mark::after{content:"";position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:var(--background-primary);box-shadow:0 1px 2px color-mix(in srgb,var(--wl-bg) 25%,transparent);transition:transform .15s ease}
.wv-toggle.is-on .wv-toggle-mark{background:var(--interactive-accent)}
.wv-toggle.is-on .wv-toggle-mark::after{transform:translateX(11px)}
.wv-rating{display:inline-flex;align-items:center;gap:4px}
.wv-rating-mark{display:block;width:10px;height:10px;border-radius:50%;background:color-mix(in srgb,currentColor 20%,transparent);transition:transform .12s ease}
.wv-rating-mark.is-on{background:var(--interactive-accent)}
.wv-rating.is-stars .wv-rating-mark{width:17px;height:17px;border-radius:0;background:none}
.wv-rating.is-stars svg{display:block;width:100%;height:100%;fill:color-mix(in srgb,currentColor 26%,transparent);stroke:none}
.wv-rating.is-stars .is-on svg{fill:color-mix(in srgb,var(--color-yellow) 70%,currentColor)}
.wv-node .wv-rating-hit{display:inline-grid;place-items:center;width:auto;height:auto;margin:-3px;padding:3px;background:transparent;border:0;border-radius:4px;box-shadow:none;cursor:pointer}
.wv-node .wv-rating-hit:hover .wv-rating-mark{transform:scale(1.18)}
.wv-node .wv-rating-hit:focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wv-bar{display:flex;align-items:center;gap:10px;width:100%;min-width:120px}
.wv-bar-track{position:relative;flex:1;height:8px;overflow:hidden;border-radius:4px;background:color-mix(in srgb,currentColor 14%,transparent)}
.wv-bar-fill{position:absolute;top:0;bottom:0;border-radius:inherit;background:var(--wv-c,var(--interactive-accent));transition:left .2s ease,width .2s ease}
.wv-bar.is-centred .wv-bar-track{height:10px;border-radius:5px}
.wv-bar.is-centred .wv-bar-fill{border-radius:0}
.wv-bar-zero{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:currentColor;opacity:.55}
.wv-bar-text{font:12px var(--font-interface);font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.85}
.wv-status{display:inline-flex;align-items:center;gap:7px;font:12px/1.75 var(--font-interface)}
.wv-status.is-chip{padding:0 10px;border-radius:999px;font-weight:600;background:color-mix(in srgb,var(--wv-c,currentColor) 18%,transparent)}
.wv-status-light{width:10px;height:10px;border-radius:50%;background:var(--wv-c,currentColor);box-shadow:0 0 0 3px color-mix(in srgb,var(--wv-c,currentColor) 22%,transparent)}
.wv-url{color:var(--text-accent);text-decoration:none;overflow-wrap:anywhere}
a.wv-url:hover{text-decoration:underline}
.wv-node .wv-file{display:inline-flex;align-items:center;gap:6px;width:auto;height:auto;padding:1px 9px;font:12px/1.7 var(--font-interface);color:inherit;background:transparent;border:1px solid var(--background-modifier-border);border-radius:6px;box-shadow:none}
.wv-icon{display:inline-flex;width:14px;height:14px}
:is(.wv-icon,.wv-open,.wv-reveal,.wv-relation-change) svg{display:block;width:14px;height:14px}
.wv-masked{letter-spacing:.15em;color:var(--text-muted)}
.wv-node :is(.wv-open,.wv-reveal,.wv-relation-change){display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:var(--wl-text-2);background:transparent;border:0;border-radius:var(--r-sm);box-shadow:none}
.wv-node :is(.wv-open,.wv-reveal,.wv-relation-change):hover{color:var(--wl-text);background:var(--wl-raised)}
.wv-node :is(.wv-open,.wv-reveal,.wv-relation-change):focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
/* Edited in place on a file's page (D-032) */
.wv-editable{cursor:text;border-radius:var(--r-sm);outline:1px solid transparent;outline-offset:3px;transition:outline-color var(--wl-quick) var(--wl-ease),background-color var(--wl-quick) var(--wl-ease)}
.wv-editable:hover{outline-color:color-mix(in srgb,var(--wl-selection) 60%,transparent);background:color-mix(in srgb,var(--wl-selection) 6%,transparent)}
.wv-editable:focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wv-relation button.wv-editable{display:block;width:auto;height:auto;margin-top:6px;padding:0;font:inherit;font-style:italic;color:var(--wl-text-3);text-align:start;background:transparent;border:0;box-shadow:none}
/* An input takes the look of the text it replaces, on any page colour. */
.wv-node :is(input,textarea).wv-inline-input,.wv-node .wv-inline-span{width:100%;min-width:0;height:auto;margin:-3px -7px;padding:2px 6px;font:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;background:color-mix(in srgb,currentColor 7%,transparent);border:1px solid var(--wl-selection);border-radius:var(--r-sm);box-shadow:0 0 0 3px var(--wl-selection-soft);box-sizing:content-box}
.wv-node :is(input,textarea).wv-inline-input::selection{background:color-mix(in srgb,var(--wl-selection) 35%,transparent);color:inherit}
.wv-node :is(input,textarea).wv-inline-input::placeholder{color:currentColor;opacity:.45}
.wv-node textarea.wv-inline-input{resize:none;overflow:hidden;min-height:3.2em;line-height:1.6}
.wv-node .wv-inline-span{display:flex;align-items:center;gap:6px}
.wv-node .wv-inline-span input{flex:1;min-width:0;padding:0;font:inherit;color:inherit;background:transparent;border:0;box-shadow:none}
.wv-heading.is-editing,.wv-text.is-editing{margin:0}
.wv-value.is-computed{cursor:default}
@media (prefers-reduced-motion:reduce){.wv-toggle-mark::after,.wv-rating-mark,.wv-bar-fill,.wv-editable{transition:none}}

/* ── The Craft character-sheet pass (.design/craft-approach.md) ─────────────────
   Craft's character panel, measured from reference/craft-replay: the sheet leads
   with its picture, the name speaks in the display face, labels are micro caps,
   facts sit in rounded chips, bars carry a soft light at their fill, and elevation
   is a lighter fill plus a hairline rim over one quiet shadow. Delete this block
   to return to the previous card view. */

/* The sheet: a step lighter than the page, one rim, one long shadow, room to breathe. */
.wv-canvas-page>.wv-node{animation:wv-rise var(--wl-long) var(--wl-ease-out) backwards}
@keyframes wv-rise{from{opacity:0;transform:translateY(10px)}}

/* The name takes the display voice; labels become Craft's micro caps. */
.wv-heading{font-family:var(--wl-font-display,"Bungee","Impact",inherit);font-weight:400;letter-spacing:.012em}
.wv-label{font:600 10px/1.6 var(--font-interface);letter-spacing:.14em;text-transform:uppercase;opacity:.72;margin-bottom:10px}

/* Facts as chips: rounded cards, not pills — a lighter fill, a hairline, a lift. */
.wv-chip{padding:4px 11px;border-radius:11px;font:600 12.5px/1.5 var(--font-interface);background:color-mix(in srgb,var(--wv-c,currentColor) 16%,transparent);border:1px solid color-mix(in srgb,var(--wv-c,currentColor) 26%,transparent);transition:transform var(--wl-quick,120ms) var(--wl-ease,ease),border-color var(--wl-quick,120ms) var(--wl-ease,ease)}
.wv-chip:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--wv-c,currentColor) 45%,transparent)}
.wv-status.is-chip{border-radius:11px}
.wv-node .wv-file{padding:3px 11px;border-radius:10px;border-color:var(--wl-glass-line);transition:transform var(--wl-quick,120ms) var(--wl-ease,ease),border-color var(--wl-quick,120ms) var(--wl-ease,ease)}
.wv-node .wv-file:hover{transform:translateY(-1px);border-color:var(--wl-line-strong)}

/* Bars read at a glance: taller, rounder, a soft light where they are filled. */
.wv-bar-track{height:10px;border-radius:5px}
.wv-bar-fill{box-shadow:0 0 8px color-mix(in srgb,var(--wv-c,var(--interactive-accent)) 26%,transparent);transition:left var(--wl-short,220ms) var(--wl-ease,ease),width var(--wl-short,220ms) var(--wl-ease,ease),box-shadow var(--wl-short,220ms) var(--wl-ease,ease)}
.wv-bar-fill:hover{box-shadow:0 0 12px color-mix(in srgb,var(--wv-c,var(--interactive-accent)) 42%,transparent)}
.wv-status-light{box-shadow:0 0 0 3px color-mix(in srgb,var(--wv-c,currentColor) 20%,transparent),0 0 10px color-mix(in srgb,var(--wv-c,currentColor) 30%,transparent)}

/* Pictures sit in the sheet as cards of their own; dividers stay hairlines. */
.wv-image{border-radius:14px}
.wv-image-empty{border-radius:14px;border-color:color-mix(in srgb,var(--text-faint) 40%,transparent)}
.wv-divider{opacity:.16}

/* Editing keeps its clarity: one selection colour, a calm ring. */
.wv-editable:hover{outline-color:color-mix(in srgb,var(--wl-selection) 60%,transparent);background:color-mix(in srgb,var(--wl-selection) 6%,transparent)}
.wv-editable:focus-visible{outline:2px solid var(--wl-selection);outline-offset:2px}
.wv-selectable.is-selected{outline:2px solid var(--wl-selection)}
@media (prefers-reduced-motion:reduce){.wv-canvas-page>.wv-node{animation:none}.wv-chip,.wv-node .wv-file{transform:none}}
