/* ============================================================================
   Floom — the MCP connector, drawn in thin line on an isometric floor
   ----------------------------------------------------------------------------
   The home's MCP section keeps its words and its chips (floom-mcp.css); this
   is the drawing between them, built by floom-mcp-iso.js. Ink lines on white
   surfaces over a dashed floor, Light Gray for what is recessed, a Silver
   halftone for shadows, and Orange for one thing only: data on its way.

   Two layouts, one set of parts. On a tablet and a desk the records lie on
   the left, the server stands in the middle and the tools stand up on the
   right, each named by a leader. On a phone the same parts stack top to
   bottom, unlabelled: the windows carry their names in their title bars and
   the chips under the drawing name the rest.
   ========================================================================== */

/* 1376, not 1280: the view is centred to the right of its names (floom-mcp-
   iso.js) and so is wider than they are; at 1376 the drawing keeps the size
   it had at 1280 before that, and its names stay inside the 1440 column. */
.mcp-stage svg.is-iso{ min-width: 0; width: min(100%, 1376px); }
.mcp-stage svg.is-iso.is-upright{ width: min(100%, 560px); }

.mcp .iso-ns{ vector-effect: non-scaling-stroke; }
.mcp .iso-grid{ fill: none; stroke: #C5C5C5; stroke-width: .8; stroke-dasharray: 2 5; }
.mcp .iso-solid{ fill: #FFFFFF; stroke: #181818; stroke-width: 1.25; stroke-linejoin: round; }
.mcp .iso-side{ fill: #EDEDED; stroke: #181818; stroke-width: 1.25; stroke-linejoin: round; }
.mcp .iso-ln{ fill: none; stroke: #181818; stroke-width: .8; stroke-linecap: round; }
.mcp .iso-lnm{ fill: none; stroke: #C5C5C5; stroke-width: .8; stroke-linecap: round; }
.mcp .iso-wash{ fill: #EDEDED; stroke: none; }
.mcp .iso-washl{ fill: #EDEDED; stroke: #181818; stroke-width: .8; }
.mcp .iso-inkf{ fill: #181818; stroke: none; }
.mcp .iso-dash{ fill: none; stroke: #181818; stroke-width: .8; stroke-dasharray: 3 2.5; }
.mcp .iso-cable{ fill: none; stroke: #181818; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.mcp .iso-node{ fill: #FFFFFF; stroke: #181818; stroke-width: 1.2; }
.mcp .iso-pulse{ fill: #FF3C00; }
.mcp .iso-tiny{ font-family: var(--font); font-weight: 600; letter-spacing: .05em; fill: #312E2E; }
.mcp .iso-lead{ fill: none; stroke: #181818; stroke-width: .7; }
.mcp .iso-dot{ fill: #181818; }
.mcp .iso-lbl{ font-family: var(--font); font-size: 12.41px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; fill: #181818; }
.mcp .iso-lbls{ font-family: var(--font); font-size: 12.41px; font-weight: 450; fill: #767270; }

/* The names keep a White edge, so a floor line or a halftone shadow that
   runs behind them never runs through them. Their size is set by the script
   (12.41px as drawn, at every width); the leaders keep their hairline. */
.mcp .iso-lbl,
.mcp .iso-lbls{ paint-order: stroke; stroke: #FFFFFF; stroke-width: 4px; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce){
  .mcp .iso-pulse{ display: none; }
}

/* A phone's key under the drawing, naming its parts: the leaders' type and
   the leaders' ink. */
.mcp-key{ display: none; }
@media (max-width: 760px){
  .mcp-key{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-4) var(--sp-6);
    margin: var(--sp-6) 0 0;
    padding: 0;
    list-style: none;
  }
  .mcp-key li{ display: grid; align-content: start; }
  .mcp-key-t{
    font-family: var(--font);
    font-size: 12.41px;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #181818;
  }
  .mcp-key-d{ font-family: var(--font); font-size: 12.41px; font-weight: 450; line-height: 1.3; color: #767270; }
}

/* the tools' windows: their own interfaces, in the drawing's ink */
.mcp .iso-cream{ fill: #FAF6F1; stroke: none; }
.mcp .iso-lnr{ fill: none; stroke: #181818; stroke-width: .7; }
.mcp .iso-lnk{ fill: none; stroke: #181818; stroke-width: 1.4; stroke-linecap: round; }
.mcp .iso-wl{ fill: none; stroke: #FFFFFF; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.mcp .iso-ui{ font-family: var(--font); font-weight: 500; fill: #312E2E; }
.mcp .iso-uib{ font-family: var(--font); font-weight: 600; fill: #181818; }
.mcp .iso-uim{ font-family: var(--font); font-weight: 500; fill: #767270; }
.mcp .iso-uiw{ font-family: var(--font); font-weight: 600; fill: #FFFFFF; }
