/* Animated sketches of Minut's web app (minut-sketch.js). Sizes are in cqw (1% of the sketch's width) so a sketch
   scales as one picture; Minut's measurements at 1280 px wide: sidebar 250 px, text 16 px, navy buttons rgb(23,61,134).
   This file is the still page; each scene's movement (camera, pointer, clicks, typing) is written by minut-sketch.js
   for that instance. With reduced motion each scene shows its last frame. */
.mk { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; border-radius: 10px;
  border: 1px solid #e3ded8; background: #fff; color: #1c1a27; font-family: Figtree, system-ui, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 1.25cqw; line-height: 1.35; text-align: left; user-select: none; }
.mk *, .mk *::before, .mk *::after { box-sizing: border-box; }
.mk-stage { position: absolute; left: 0; top: 0; width: 100cqw; height: 62.5cqw; transform-origin: 0 0; }
.mk-bar { display: inline-block; height: .95cqw; border-radius: .5cqw; background: #e6e1db; vertical-align: middle; }
.mk-bar.mk-big { height: 1.9cqw; display: block; margin-bottom: 1cqw; }
.mk-bar.mk-blue { background: #c9d3e6; }
.mk-bar.mk-desc { display: block; margin-top: .55cqw; }

/* sidebar */
.mk-side { position: absolute; inset: 0 auto 0 0; width: 19.5cqw; background: #fbf8f5; border-right: 1px solid #eee7e0; padding: 1.7cqw .9cqw; }
.mk-logo { font-weight: 800; letter-spacing: .14em; font-size: 1.35cqw; margin: 0 .6cqw 1.3cqw; }
.mk-org { display: flex; gap: .8cqw; align-items: center; margin: 0 .6cqw 2.2cqw; }
.mk-org > div { display: flex; flex-direction: column; gap: .5cqw; }
.mk-avatar { width: 2.3cqw; height: 2.3cqw; border-radius: 50%; background: #f2c94c; flex: none; }
.mk-item { display: flex; align-items: center; gap: 1cqw; height: 2.9cqw; padding: 0 .8cqw; border-radius: .6cqw; }
.mk-ico { width: 1.3cqw; height: 1.3cqw; border: .17cqw solid #b9b2ab; border-radius: .35cqw; flex: none; }
.mk-ico-real { border-color: #1c1a27; }
.mk-settings { font-size: 1.1cqw; font-weight: 500; }
.mk-side hr { border: 0; border-top: 1px solid #e3ded8; margin: 1.1cqw .6cqw; }

/* pages (on top of each other: the scene shows one) */
.mk-main { position: absolute; inset: 0 0 0 19.5cqw; }
.mk-page { position: absolute; inset: 2.3cqw 1.9cqw auto; }
.mk-dash .mk-bar.mk-big:first-child { width: 22cqw; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; margin: 1.8cqw 0 2.2cqw; }
.mk-card { display: block; height: 6.4cqw; border: 1px solid #ece8e3; border-radius: 1cqw; }
.mk-cards-settings { grid-template-columns: repeat(2, 1fr); margin-top: 2.2cqw; }
.mk-cards-settings .mk-card { height: 8cqw; }
.mk-chart { display: block; height: 16cqw; border: 1px solid #ece8e3; border-radius: 1cqw; }
.mk-title { font-family: "Feature Deck", Georgia, "Hiragino Mincho ProN", serif; font-size: 2.5cqw; line-height: 1.1; margin-bottom: 2.3cqw; }
.mk-tabs { display: flex; gap: 1.9cqw; font-weight: 600; font-size: 1.2cqw; color: #555352; border-bottom: 1px solid #e3ded8; padding-bottom: .8cqw; }
.mk-tab { position: relative; white-space: nowrap; border-radius: .4cqw; }
.mk-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.85cqw; height: .18cqw; background: #1c1a27; opacity: 0; }
.mk-settings-page { --tabs-end: 7.6cqw; }
.mk-features, .mk-api { position: absolute; left: 0; right: 0; top: 7.6cqw; }
.mk-api { top: 9.9cqw; }
.mk-h2 { font-size: 1.75cqw; font-weight: 500; }
.mk-button { display: inline-block; background: #173d86; color: #fff; font-weight: 600; font-size: 1.1cqw; padding: .85cqw 1.9cqw; border-radius: 999px; white-space: nowrap; }
.mk-create { position: absolute; right: 0; top: 0; }
.mk-table { margin-top: 2.4cqw; }
.mk-row { display: flex; gap: 4cqw; padding: 1.7cqw .8cqw; border-top: 1px solid #ece8e3; }

/* dialogs, over the whole page */
.mk-layer { position: absolute; inset: 0; }
.mk-dim { position: absolute; inset: 0; background: rgba(28, 26, 39, .35); }
.mk-dialog { position: absolute; left: 26.6cqw; top: 13cqw; width: 46.8cqw; background: #fff; border-radius: 2cqw; padding: 2cqw 2cqw 1.8cqw; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .18); }
.mk-dh { font-weight: 600; font-size: 1.3cqw; }
.mk-field { margin-top: 1.3cqw; background: #f6f3ef; border-radius: .8cqw; padding: .6cqw 1.1cqw; min-height: 3.6cqw; display: flex; flex-direction: column; justify-content: center; }
.mk-field small { font-size: .85cqw; color: #6f6b67; }
.mk-field b { font-weight: 400; font-size: 1.1cqw; white-space: nowrap; overflow: hidden; display: inline-block; align-self: flex-start; }
.mk-field-uri b { font-size: .86cqw; letter-spacing: -.01em; }
.mk-label { font-weight: 600; font-size: 1.1cqw; margin-top: 1.5cqw; }
.mk-add { color: #173d86; font-size: 1.02cqw; text-decoration: underline; margin-top: 1cqw; }
.mk-dfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8cqw; }
.mk-dfoot u { color: #173d86; font-size: 1.02cqw; }
.mk-value { position: relative; margin-top: .7cqw; background: #f6f3ef; border-radius: .8cqw; padding: 1.1cqw; display: flex; align-items: center; justify-content: space-between; }
.mk-value code { font-family: ui-monospace, Menlo, monospace; font-size: .95cqw; color: #8a857f; letter-spacing: .05em; }
.mk-copy { width: 1.5cqw; height: 1.5cqw; color: #173d86; display: inline-flex; }
.mk-copy svg { width: 100%; height: 100%; }
.mk-copied { position: absolute; right: 3.4cqw; top: 50%; translate: 0 -50%; font-style: normal; font-size: .9cqw; font-weight: 600; color: #fff; background: #1c1a27; border-radius: .5cqw; padding: .3cqw .7cqw; opacity: 0; }

/* pointer and clicks */
.mk-pointer { position: absolute; left: 0; top: 0; width: 1.6cqw; height: 1.6cqw; pointer-events: none; z-index: 3; }
.mk-pointer svg { width: 100%; height: 100%; display: block; transform-origin: 15% 10%; }
.mk-burst { position: absolute; width: 0; height: 0; z-index: 2; opacity: 0; }
.mk-burst i { position: absolute; left: 0; top: -.11cqw; width: 1.05cqw; height: .22cqw; border-radius: .11cqw; background: #173d86; transform-origin: 0 50%; }
.mk-burst i:nth-child(1) { transform: rotate(-145deg) translateX(.75cqw); }
.mk-burst i:nth-child(2) { transform: rotate(-90deg) translateX(.75cqw); }
.mk-burst i:nth-child(3) { transform: rotate(-35deg) translateX(.75cqw); }

@media (prefers-reduced-motion: reduce) {
  .mk *, .mk *::before, .mk *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-fill-mode: forwards !important; animation-delay: 0s !important; }
}

/* Community Guard's setup window (the portal's colours), sliding over Minut's when the guide switches to it */
.mk-cg { position: absolute; inset: 0; background: #f4f6f8; color: #17202a; transform: translateX(100cqw); box-shadow: -1cqw 0 3cqw rgba(16, 24, 40, .15);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; }
.mk-cg-top { display: flex; align-items: center; gap: .8cqw; height: 4.4cqw; padding: 0 2cqw; background: #fff; border-bottom: 1px solid #e3e8ee; font-size: 1.15cqw; }
.mk-cg-top span { margin-left: auto; display: flex; gap: 1.2cqw; }
.mk-cg-logo { width: 1.9cqw; height: 1.9cqw; border-radius: .5cqw; background: #2f6fe4; }
.mk-cg-card { position: absolute; left: 25cqw; top: 9.5cqw; width: 50cqw; background: #fff; border: 1px solid #e3e8ee; border-radius: 1.2cqw; padding: 2cqw 2.2cqw;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 .8cqw 2.4cqw rgba(16, 24, 40, .1); }
.mk-cg-title { display: flex; align-items: center; justify-content: space-between; font-size: 1cqw; color: #6b7785; font-weight: 600; }
.mk-cg-dots { display: flex; gap: .5cqw; }
.mk-cg-dots i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #e3e8ee; }
.mk-cg-dots i.on { background: #2f6fe4; }
.mk-cg-h { font-size: 1.5cqw; font-weight: 700; margin-top: 1cqw; }
.mk-cg-label { font-size: 1.05cqw; font-weight: 600; margin-top: 1.6cqw; }
.mk-cg-input { position: relative; margin-top: .6cqw; height: 3.3cqw; border: 1px solid #d5dce4; border-radius: .7cqw; background: #fff; display: flex; align-items: center; padding: 0 1cqw; }
.mk-cg-v { font-family: ui-monospace, Menlo, monospace; font-size: 1cqw; opacity: 0; }
.mk-cg-ok { margin-left: auto; font-style: normal; font-weight: 700; color: #1f9d63; font-size: 1.2cqw; opacity: 0; }
.mk-cg-paste { position: absolute; right: 3cqw; top: 50%; translate: 0 -50%; font-style: normal; font-size: .9cqw; font-weight: 600; color: #fff; background: #17202a; border-radius: .5cqw; padding: .3cqw .7cqw; opacity: 0; }
.mk-cg-foot { display: flex; justify-content: flex-end; margin-top: 1.8cqw; }
.mk-cg-btn { background: #2f6fe4; color: #fff; font-weight: 600; font-size: 1.05cqw; padding: .8cqw 1.6cqw; border-radius: .7cqw; }
