@import url('demoworkspace-container.css');
@import url('demoworkspace-character.css');

@layer components {
  /* -------------- Demo Workspace Station -------------- */
  /* --------------
  Temporary demo styles for a character seated at a desk on the workspace map.
  The character and the desk share one spot, the desk laid over the lower half
  of the body so only the head, shoulders, and the top of the chair show above
  it, the way a person at a desk looks from the front.
  -------------- */
  .demo-workspacestation {
    display: grid;
    justify-items: center;
  }

  .demo-workspacestation > * {
    grid-area: 1 / 1;
  }

  .demo-workspacestation__desk {
    margin-block-start: var(--nn-space-8x14);
  }

  /* -------------- Demo Workspace Desk -------------- */
  /* --------------
  Temporary demo styles for the desk on the workspace map, under a seated
  character or standing empty for a desk work task. It is furniture, so it
  stays quiet: soft grays with a line a few steps darker than its fill, never
  the full outline the characters' faces carry.
  -------------- */
  .demo-workspacedesk {
    display: block;
    inline-size: var(--nn-space-8x16);
    block-size: auto;
  }

  .demo-workspacedesk__shadow {
    fill: color-mix(in srgb, light-dark(var(--nn-neutral-110),
      var(--nn-neutral-10)) 10%, transparent);
  }

  .demo-workspacedesk__front,
  .demo-workspacedesk__top {
    stroke: var(--nn-neutral-50);
    stroke-width: 2.5px;
    stroke-linejoin: round;
  }

  .demo-workspacedesk__leg,
  .demo-workspacedesk__paper {
    stroke: light-dark(var(--nn-neutral-40), var(--nn-neutral-60));
    stroke-width: 2px;
    stroke-linejoin: round;
  }

  .demo-workspacedesk__paper {
    stroke-width: 1.5px;
  }

  .demo-workspacedesk__leg,
  .demo-workspacedesk__front {
    fill: light-dark(var(--nn-neutral-30), var(--nn-neutral-70));
  }

  .demo-workspacedesk__top {
    fill: light-dark(var(--nn-neutral-20), var(--nn-neutral-80));
  }

  .demo-workspacedesk__paper {
    fill: light-dark(var(--nn-neutral-10), var(--nn-neutral-60));
  }

  /* -------------- Demo Workspace Fern -------------- */
  /* --------------
  Temporary demo styles for the potted ferns placed on the workspace map as
  scenery. The system has no green yet, so the fronds use a muted sage held
  here in this temporary file only, darker in dark mode, with round caps so
  they stay as soft as the characters. The pot takes the same quiet line as
  the other furniture so it never competes with a task.
  -------------- */
  .demo-workspacefern {
    display: block;
    inline-size: var(--nn-space-8x18);
    block-size: auto;
  }

  .demo-workspacefern__shadow {
    fill: color-mix(in srgb, light-dark(var(--nn-neutral-110),
      var(--nn-neutral-10)) 10%, transparent);
  }

  .demo-workspacefern__stem,
  .demo-workspacefern__leaflet {
    fill: none;
    stroke: light-dark(#6f8c72, #56705a);
    stroke-width: 3px;
    stroke-linecap: round;
  }

  .demo-workspacefern__leaflet {
    stroke: light-dark(#9db59f, #47604b);
    stroke-width: 4px;
  }

  .demo-workspacefern__pot,
  .demo-workspacefern__rim {
    stroke: light-dark(var(--nn-neutral-40), var(--nn-neutral-60));
    stroke-width: 2px;
    stroke-linejoin: round;
  }

  .demo-workspacefern__pot,
  .demo-workspacefern__rim {
    fill: light-dark(var(--nn-neutral-20), var(--nn-neutral-80));
  }

  /* -------------- Demo Workspace Room -------------- */
  /* --------------
  Temporary demo styles for the office room drawn under everything on the
  workspace map. The room is the quietest thing on it: the walls and the back
  wall's face sit a single step off the floor with a thin line barely darker,
  the whiteboards are a soft white, dimmed in dark mode, and the marker
  sketches are faint lines with one in a pale brand.
  -------------- */
  .demo-workspaceroom {
    display: block;
  }

  .demo-workspaceroom__floor {
    fill: light-dark(var(--nn-neutral-10), var(--nn-neutral-90));
  }

  .demo-workspaceroom__face,
  .demo-workspaceroom__walltop {
    fill: light-dark(var(--nn-neutral-20), var(--nn-neutral-80));
  }

  .demo-workspaceroom__baseboard,
  .demo-workspaceroom__tray {
    fill: light-dark(var(--nn-neutral-30), var(--nn-neutral-70));
  }

  .demo-workspaceroom__walltop,
  .demo-workspaceroom__board,
  .demo-workspaceroom__tray {
    stroke: light-dark(var(--nn-neutral-30), var(--nn-neutral-70));
    stroke-width: 1.5px;
  }

  .demo-workspaceroom__board {
    fill: light-dark(var(--nn-neutral-10), var(--nn-neutral-70));
  }

  .demo-workspaceroom__sketch {
    fill: none;
    stroke: light-dark(var(--nn-neutral-40), var(--nn-neutral-50));
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .demo-workspaceroom__sketch--accent {
    stroke: light-dark(var(--nn-brand-30), var(--nn-brand-50));
  }
}
