/* AWS Infrastructure and Services: the figures on its slides. */

.sv-fig svg text { font-family: inherit; }
.t-box { font-size: 15px; font-weight: 600; fill: #16191f; }
.t-az { font-size: 13px; font-weight: 600; fill: #147eba; font-family: ui-monospace, Menlo, Consolas, monospace; }
.t-code { font-size: 14px; fill: #16191f; font-family: ui-monospace, Menlo, Consolas, monospace; }
.t-small { font-size: 13px; fill: #545b64; }
.t-chip { font-size: 12px; font-weight: 600; fill: #ec7211; }
.t-big { font-size: 34px; font-weight: 700; font-family: ui-monospace, Menlo, Consolas, monospace; fill: #545b64; }
.c-o { fill: #ec7211; } .c-b { fill: #0972d3; } .c-g { fill: #1d8102; } .c-r { fill: #d13212; font-weight: 600; } .c-t { fill: #00807f; font-weight: 600; }

.fiber { stroke: #147eba; stroke-width: 3; stroke-opacity: .55; }
.dim { fill: none; stroke: #545b64; stroke-width: 1.2; stroke-dasharray: 3 3; }
.arrow { fill: none; stroke-width: 3; marker-end: none; }
.arrow.ok { stroke: #1d8102; }
.arrow.off { stroke: #d13212; stroke-dasharray: 6 5; }
.map-line { stroke-width: 2; }
.map-line.ca, .name.ca { stroke: #ec7211; }
.map-line.cb, .name.cb { stroke: #8c4fff; }
.name { fill: #fff; stroke-width: 1.6; }

/* The maps. */
.map { width: 100%; height: auto; border-radius: 8px; display: block; }
.map .dot { cursor: pointer; transition: r .15s; }
.map .dot:hover, .map .dot.sel { r: 8; }
.map .edge:hover, .map .edge.sel { r: 6; }
.lz-line { stroke: #d13a8a; stroke-width: 1; stroke-opacity: .55; }
.lz-line.soon { stroke-dasharray: 3 3; }
.map-info { margin: 8px 2px 0; font-size: 14.5px; min-height: 1.5em; color: #16191f; }
.map-info code { font-size: .92em; background: #eef0f3; padding: 0 4px; border-radius: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: #545b64; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 2px solid var(--c); display: inline-block; }
.sw.planned { background: #fff; }

/* The photo, with its labels pinned on it. */
.photo { position: relative; line-height: 0; }
.photo img { width: 100%; height: auto; border-radius: 8px; display: block; }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  line-height: 1.2; font-size: 13.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 12px; white-space: nowrap;
  background: rgba(255, 255, 255, .93); box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.pin.p-dc { color: #8a5a00; border: 2px solid #ec7211; }
.pin.p-sub { color: #0b5394; border: 2px solid #0972d3; }
.pin.p-gen { color: #545b64; border: 2px solid #545b64; }
.credit { font-size: 12.5px; color: #545b64; margin: 6px 2px 0; }
.credit a { color: #0972d3; }

/* The terminal on the AZ IDs slide. */
.term {
  margin: 10px 0 0; padding: 10px 14px; border-radius: 8px;
  background: #16191f; color: #e8eaed; font-size: 13px; line-height: 1.45; overflow: auto;
}
.term .pr { color: #7aa116; user-select: none; }
.term .out { color: #aab3bd; }

/* The edge slide's path, from a user to the origin. */
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; }
.flow .step { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #d5dbdb; border-radius: 8px; padding: 6px 10px; font-size: 13.5px; max-width: 13.5em; line-height: 1.3; }
.flow img { width: 30px; height: 30px; flex: none; }
.flow .arr { color: #545b64; font-size: 20px; }
.person { width: 26px; height: 30px; flex: none; background:
  radial-gradient(circle at 50% 28%, #545b64 7px, transparent 7.5px),
  radial-gradient(ellipse 12px 9px at 50% 100%, #545b64 98%, transparent 100%); }

@media (max-width: 860px) {
  .pin { font-size: 11px; padding: 2px 6px; }
}

/* The services slide: one card per service. */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.svc { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #d5dbdb; border-radius: 8px; padding: 10px; }
.svc img { width: 40px; height: 40px; flex: none; }
.svc div { display: flex; flex-direction: column; line-height: 1.3; font-size: 14px; }
.svc b { font-size: 15px; }
.svc span { color: #545b64; margin: 2px 0 4px; }
.svc code { font-size: 12.5px; color: #16191f; background: #eef0f3; padding: 0 4px; border-radius: 4px; align-self: flex-start; }
.svc.hl { border: 2px solid #dd344c; background: #fff5f6; }
.svc-note { font-size: 14px; color: #545b64; margin: 10px 2px 0; }

.svc .cat { font-style: normal; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: #8a8f96; }

/* The API slide. */
.wire { fill: none; stroke: #545b64; stroke-width: 2; }
.t-req { font-size: 13px; fill: #e8eaed; font-family: ui-monospace, Menlo, Consolas, monospace; }
.t-req.dim { fill: #aab3bd; font-family: inherit; }

/* The shared responsibility slide. */
.awss { fill: #fde7d2; stroke: #ec7211; }
.ours { fill: #dbeafa; stroke: #0972d3; }
.t-in { fill: #16191f; }

/* The categories slide. */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.catc { background: #fff; border: 1px solid #d5dbdb; border-left: 4px solid #ec7211; border-radius: 6px; padding: 7px 10px; line-height: 1.3; }
.catc b { display: block; font-size: 14px; }
.catc span { font-size: 13px; color: #545b64; }
.catc.hl { border-color: #dd344c; border-left-color: #dd344c; background: #fff5f6; }
