/* Elastic Compute Cloud (EC2): the figures on its slides. Terminals, JSON and
   the shared colours are in ../iam.css. */

:root { --ec2: #ed7100; --ebs: #3f8624; --sgc: #dd344c; --ok: #1d8102; --no: #d13212; }

.ic { width: 34px; height: 34px; flex: none; }
.term .pr.pi { color: #f2b705; }
.term.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.cap { display: block; font-size: 13px; color: var(--sv-ink2); margin: 4px 0; }

/* The sections' colours. */
[data-sec="intro"] { --sec: #334155; }
[data-sec="ami"] { --sec: #c2410c; }
[data-sec="types"] { --sec: #b45309; }
[data-sec="keys"] { --sec: #4338ca; }
[data-sec="sg"] { --sec: #be123c; }
[data-sec="ip"] { --sec: #0369a1; }
[data-sec="root"] { --sec: #3f6212; }
[data-sec="life"] { --sec: #7c3aed; }
[data-sec="pricing"] { --sec: #475569; }

/* Tables. */
.tbl { border-collapse: collapse; background: #fff; border: 1px solid var(--sv-line); font-size: 14px; }
.tbl th, .tbl td { padding: 7px 11px; border-top: 1px solid #eef0f3; text-align: left; vertical-align: top; }
.tbl tr:first-child th { border-top: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--sv-ink2); }
.tbl tr:not(:first-child) th { font-weight: 700; }
.tbl code { font: 13px var(--mono); }

/* Exam questions. */
.pe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pe-q { display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 8px; background: #fffbea; border: 1px solid #e8d48a; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; }
.pe-q > b { font-size: 16px; color: #8a6500; }
.pe-q p { margin: 0 0 6px; }
.pe-a, .pe-w { display: grid; grid-template-columns: 1.2em minmax(0, 1fr); gap: 4px; font-size: 13px; }
.pe-a { font-weight: 600; color: #1b5e05; }
.pe-w { color: var(--sv-ink2); }
.pe-q:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* The introduction: the instance and its parts. */
.intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.intro .ip-inst { grid-column: 2; grid-row: 2 / 4; }
.ip { background: #fff; border: 1px solid var(--sv-line); border-left: 5px solid var(--sec); border-radius: 8px; padding: 8px 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.ip-n { grid-row: 1 / 3; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c); align-self: center; }
.ip b { font-size: 15px; } .ip small { font-size: 13px; color: var(--sv-ink2); }
.ip-ami { --c: #c2410c; } .ip-type { --c: #b45309; } .ip-key { --c: #4338ca; } .ip-sg { --c: #be123c; }
.ip-ip { --c: #0369a1; } .ip-root { --c: #3f6212; } .ip-life { --c: #7c3aed; } .ip-price { --c: #475569; }
.ip { border-left-color: var(--c); }
.ip-inst { background: #fff7ef; border: 2px solid var(--ec2); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px; text-align: center; }
.ip-inst .ic { width: 52px; height: 52px; }
.ip-inst b { font-size: 17px; } .ip-inst small { color: var(--sv-ink2); } .ip-inst code { font: 12.5px var(--mono); }
/* The grid: four parts above and beside, four below. */
.intro > :nth-child(1) { grid-area: 1 / 1; } .intro > :nth-child(2) { grid-area: 1 / 2; } .intro > :nth-child(3) { grid-area: 1 / 3; }
.intro > :nth-child(4) { grid-area: 2 / 1; } .intro > :nth-child(6) { grid-area: 2 / 3; }
.intro > :nth-child(7) { grid-area: 3 / 1; } .intro > :nth-child(8) { grid-area: 3 / 3; } .intro > :nth-child(9) { grid-area: 4 / 2; }

/* The host. */
.host-az { border: 2px dashed #0972d3; border-radius: 12px; padding: 22px 14px 14px; position: relative; }
.az-l, .host > small, .vpc > small, .sub > small, .rv-az > small { position: absolute; top: 4px; left: 12px; font-size: 12.5px; font-weight: 600; color: var(--sv-ink2); }
.host-row { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.host { position: relative; background: #f2f3f3; border: 2px solid #545b64; border-radius: 10px; padding: 24px 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.vms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vm { background: #fff; border: 1px solid var(--sv-line); border-radius: 8px; padding: 10px 6px; min-height: 74px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; text-align: center; color: var(--sv-ink2); }
.vm-ours { border: 2px solid var(--ec2); color: var(--sv-ink); font-weight: 600; background: #fff7ef; }
.hv { background: #232f3e; color: #fff; border-radius: 6px; padding: 6px; text-align: center; font-size: 13.5px; font-weight: 600; }
.hw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12.5px; text-align: center; }
.hw span { border-radius: 6px; padding: 6px; }
.hw .card { background: #fdf0e3; border: 1px solid var(--ec2); }
.hw .store { background: #fff; border: 1px dashed #545b64; }
.host-links { display: flex; flex-direction: column; align-items: center; font-size: 12.5px; color: var(--sv-ink2); }
.host-links i { font-style: normal; font-size: 24px; color: var(--ebs); }
.ebs { background: #f6fbf3; border: 2px solid var(--ebs); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vol { display: inline-block; font-size: 12.5px; background: #eef6ea; border: 1px solid #b7d7a8; border-radius: 6px; padding: 3px 8px; }

/* The AMI. */
.ami { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.ami-card { background: #fff; border: 2px solid #c2410c; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ami-h { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid #eef0f3; padding-bottom: 6px; }
.ami-h code { font: 600 13px var(--mono); }
.kv { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 8px; font-size: 13.5px; }
.kv span { color: var(--sv-ink2); } .kv code { font: 12.5px var(--mono); overflow-wrap: anywhere; }
.ami-arrow { font-size: 14px; font-weight: 600; color: #c2410c; white-space: nowrap; }
.ami-insts { display: flex; flex-direction: column; gap: 8px; }
.ai { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fff; border: 1px solid var(--sv-line); border-radius: 8px; padding: 6px 10px; }
.ai .ic { width: 28px; height: 28px; }

/* Instance type names. */
.tn { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin: 10px 0 18px; }
.tn-seg { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; max-width: 12em; }
.tn-seg code { font: 700 64px var(--mono); line-height: 1.1; padding: 0 8px; border-bottom: 5px solid var(--c); }
.tn-seg b { font-size: 15px; color: var(--c); margin-top: 4px; } .tn-seg small { font-size: 13px; color: var(--sv-ink2); }
.tn-fam { --c: #c2410c; } .tn-gen { --c: #0369a1; } .tn-att { --c: #7c3aed; } .tn-size { --c: #3f6212; }
.tn-dot { font: 700 64px var(--mono); line-height: 1.1; }
.tn-more { background: #fff; border: 1px solid var(--sv-line); border-radius: 10px; padding: 8px 14px; font-size: 14px; }
.tn-more ul { margin: 6px 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; }
.tn-more code { display: inline-block; min-width: 3em; font: 700 14px var(--mono); color: #7c3aed; }

/* Sizes. */
.bars { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-width: 640px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar span { height: 16px; background: var(--ec2); border-radius: 4px; }
.bar code { font: 12.5px var(--mono); color: var(--sv-ink2); }

/* Burstable credits. */
.burst { width: 100%; max-height: 100%; }
.b-t { font-size: 14px; font-weight: 600; fill: #16191f; }
.b-axis { stroke: #c6ccd2; stroke-width: 1.5; }
.b-base { stroke: #0369a1; stroke-width: 2; stroke-dasharray: 6 4; }
.b-cpu { fill: none; stroke: var(--ec2); stroke-width: 3; stroke-linejoin: round; }
.b-bal { fill: #dceefb; stroke: #0369a1; stroke-width: 2; }
.b-l { font-size: 12.5px; fill: #545b64; }
.b-l.earn { fill: #0369a1; } .b-l.spend { fill: var(--ec2); font-weight: 600; } .b-l.out { fill: var(--no); font-weight: 600; }

/* Key pairs. */
.kp { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "aws us" "a1 a4" "a2 a4" "inst inst"; gap: 10px; }
.kp-box, .kp-inst { background: #fff; border: 1px solid var(--sv-line); border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kp-box small { color: var(--sv-ink2); font-size: 13px; }
.kp-aws { grid-area: aws; } .kp-us { grid-area: us; } .kp-inst { grid-area: inst; border: 2px solid var(--ec2); background: #fff7ef; }
.kp-inst code { font: 13px var(--mono); }
.key { font-size: 26px; }
.kp-a { font-size: 13.5px; background: #f3f2ff; border-left: 4px solid #4338ca; border-radius: 6px; padding: 6px 10px; }
.a1 { grid-area: a1; } .a2 { grid-area: a2; } .a4 { grid-area: a4; align-self: stretch; display: flex; align-items: center; }
.tbl.users { margin-top: 12px; }

/* Security groups. */
.sgw { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.sg-box { border: 3px solid var(--sgc); border-radius: 12px; padding: 10px; background: #fff6f7; display: flex; flex-direction: column; gap: 10px; }
.sg-h { display: flex; flex-direction: column; } .sg-h code { font: 12px var(--mono); color: var(--sv-ink2); }
.sg-in { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 8px; padding: 14px; justify-content: center; }
.sg-in .ic { width: 56px; height: 56px; }
.eni { font-size: 12.5px; border: 1px solid var(--sgc); border-radius: 4px; padding: 2px 6px; color: var(--sgc); }
.sg-rules { display: flex; flex-direction: column; gap: 12px; } .sg-rules b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.tbl.rules { width: 100%; } .tbl.rules small { color: var(--sv-ink2); }

.stf { width: 100%; max-height: 100%; }
.st-actor { fill: #232f3e; } .st-at { fill: #fff; font-size: 14px; font-weight: 600; }
.st-sg { fill: #fff6f7; stroke: var(--sgc); stroke-width: 3; } .st-sgt { font: 700 13px var(--mono); fill: var(--sgc); }
.st-inst { fill: #fff7ef; stroke: var(--ec2); stroke-width: 2; } .st-it { font-size: 14px; font-weight: 600; }
.st-tab { fill: #fff; stroke: #545b64; } .st-tt { font-size: 12px; font-weight: 700; } .st-tr { font: 11px var(--mono); fill: #545b64; }
.st-m { stroke: #545b64; stroke-width: 2; fill: none; } .st-h { fill: #545b64; }
.rep .st-m { stroke-dasharray: 7 4; stroke: #0369a1; } .rep .st-h { fill: #0369a1; }
.st-t { font-size: 12px; fill: #16191f; } .rep .st-t { fill: #0369a1; }

.tiers { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.tiers > i { align-self: center; font-style: normal; font-size: 24px; color: var(--sv-ink2); }
.tier { flex: 1; min-width: 150px; border: 3px solid var(--sgc); border-radius: 12px; background: #fff6f7; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.tier.users { flex: 0 0 auto; min-width: 90px; border: 1px solid var(--sv-line); background: #fff; font-size: 28px; justify-content: center; }
.tier.users b { font-size: 14px; }
.sgn { font: 700 13px var(--mono); color: var(--sgc); }
.tier-insts { display: flex; gap: 6px; }
.rule { font: 12.5px var(--mono); background: #fff; border: 1px solid var(--sv-line); border-radius: 6px; padding: 3px 8px; }

/* Addresses. */
.vpc { position: relative; border: 2px solid #0369a1; border-radius: 12px; padding: 26px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sub { position: relative; border: 2px dashed #7aa116; border-radius: 10px; padding: 26px 10px 10px; display: flex; flex-direction: column; gap: 8px; background: #fbfdf7; }
.pinst { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--sv-line); border-radius: 8px; padding: 6px 10px; }
.pinst span { display: flex; flex-direction: column; } .pinst small { font-size: 12px; color: var(--sv-ink2); } .pinst code { font: 700 14px var(--mono); }
.talk { font-size: 13.5px; color: #0369a1; text-align: center; }
.pub { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 8px; align-items: center; margin-bottom: 12px; }
.pub > i { font-style: normal; font-size: 22px; color: var(--sv-ink2); }
.pub > div { background: #fff; border: 1px solid var(--sv-line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pub code { font: 13px var(--mono); }
.pub-igw { border: 2px solid #7d3c98 !important; background: #faf5fc !important; }
.pub-igw small { color: var(--sv-ink2); font-size: 12.5px; }
.pub-inst { border: 2px solid var(--ec2) !important; background: #fff7ef !important; }
.tbl.eipt td { white-space: nowrap; }
.eip-on { background: #eaf4fb; font-weight: 600; }
.eip-left { color: var(--no); font-weight: 600; white-space: normal !important; }

/* The root volume. */
.rv { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv > i, .rv-az > i { font-style: normal; font-size: 13px; color: var(--sv-ink2); }
.rv-snap { background: #fff; border: 1px solid var(--sv-line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.rv-snap code { font: 12px var(--mono); }
.rv-az { position: relative; flex: 1; border: 2px dashed #0972d3; border-radius: 12px; padding: 26px 12px 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-vol, .rv-inst { border-radius: 10px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.rv-vol { background: #f6fbf3; border: 2px solid var(--ebs); } .rv-vol code { font: 12px var(--mono); } .rv-vol small { font-size: 12.5px; color: var(--sv-ink2); }
.rv-inst { background: #fff7ef; border: 2px solid var(--ec2); }
.dts { display: flex; flex-direction: column; gap: 14px; }
.dt { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.dt > i { font-style: normal; font-size: 13px; color: var(--sv-ink2); }
.dt-v { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #f6fbf3; border: 2px solid var(--ebs); border-radius: 10px; padding: 10px; }
.dt-v code { font: 12.5px var(--mono); flex-basis: 100%; }
.dt-v.on code { color: var(--no); } .dt-v.off code { color: var(--ok); }
.dt-r { font-weight: 600; font-size: 14px; border-radius: 8px; padding: 8px 10px; }
.dt-r.gone { color: var(--no); background: #fff8f6; border: 1px solid #f5c6bb; }
.dt-r.kept { color: var(--ok); background: #f3faf0; border: 1px solid #b7d7a8; }

/* The states. */
.lsd { width: 100%; max-height: 100%; }
.ls-s { fill: #fff; stroke: #545b64; stroke-width: 2; }
.ls-s.run { fill: #eaf6e5; stroke: var(--ok); } .ls-s.stop { fill: #f2f3f3; } .ls-s.term { fill: #fff8f6; stroke: var(--no); }
.ls-n { font: 700 14px var(--mono); fill: #16191f; }
.ls-a { fill: none; stroke: #545b64; stroke-width: 2; }
.ls-l { font-size: 13px; fill: #16191f; font-weight: 600; }
.ls-bill { font-size: 12.5px; fill: #545b64; }
.tbl.surv td { white-space: nowrap; }
.tbl.surv td:nth-child(2) { color: var(--sv-ink2); }
.sv-k { color: var(--ok); } .sv-l { color: var(--no); }

/* Purchasing options. */
.tbl.price td:nth-child(3) { font-weight: 700; white-space: nowrap; }
.spt { width: 100%; max-height: 100%; }
.sp-od { stroke: #545b64; stroke-width: 2; stroke-dasharray: 6 4; }
.sp-p { fill: none; stroke: var(--ec2); stroke-width: 3; }
.sp-axis { stroke: #c6ccd2; }
.sp-run { fill: #eaf6e5; stroke: var(--ok); }
.sp-n { stroke: var(--no); stroke-width: 2; }
.sp-l { font-size: 12.5px; fill: #545b64; } .sp-l.sp { fill: var(--ec2); font-weight: 600; } .sp-l.int { fill: var(--no); font-weight: 600; }

@media (max-width: 860px) {
  .pe, .intro, .host-row, .ami, .sgw, .subs, .pub, .dt, .kp { grid-template-columns: 1fr; }
  .intro > * { grid-area: auto !important; }
  .kp { grid-template-areas: "aws" "us" "a1" "a2" "a4" "inst"; }
  .pub > i, .host-links i { display: none; }
  .tn-seg code, .tn-dot { font-size: 36px; }
  .tbl { font-size: 13px; display: block; overflow-x: auto; }
}

/* The symbolic picture: an AZ's physical servers, instances and EBS volumes. */
.farm { width: 100%; max-height: 100%; }
.f-az { fill: #fbfcfd; stroke: #0972d3; stroke-width: 2; stroke-dasharray: 8 6; }
.f-azt { font-size: 15px; font-weight: 700; fill: #0972d3; }
.f-colt { font-size: 13.5px; font-weight: 700; fill: #545b64; }
.f-colt.ebs { fill: #3f8624; }
.f-srv { fill: #e9ebed; stroke: #545b64; stroke-width: 1.6; }
.f-srvh { fill: #545b64; }
.f-srvt { font-size: 12px; font-weight: 700; fill: #fff; }
.f-led { fill: #7aa116; }
.f-vm.ours { fill: #fff7ef; stroke: #ed7100; stroke-width: 2.4; }
.f-vm.other { fill: #fff; stroke: #aab3bd; stroke-width: 1.2; }
.f-vm.free { fill: none; stroke: #aab3bd; stroke-dasharray: 4 4; }
.f-vmt { font: 700 12.5px ui-monospace, Menlo, Consolas, monospace; fill: #16191f; }
.f-vmo { font-size: 10.5px; fill: #8a8f96; }
.f-hv { fill: #232f3e; }
.f-hvt { font-size: 10.5px; fill: #fff; font-weight: 600; }
.f-vent { stroke: #aab3bd; stroke-width: 3; stroke-linecap: round; }
.f-wire { stroke: #545b64; stroke-width: 2; }
.f-ebs { fill: #f6fbf3; stroke: #3f8624; stroke-width: 2; }
.f-st { fill: #e9ebed; stroke: #545b64; stroke-width: 1.4; }
.f-disk { fill: #d5dbdb; stroke: #545b64; stroke-width: 1; }
.f-vol.ours { fill: #dff0d6; stroke: #3f8624; stroke-width: 2.2; }
.f-vol.other { fill: #fff; stroke: #aab3bd; stroke-width: 1.2; }
.f-volt { font: 700 12px ui-monospace, Menlo, Consolas, monospace; fill: #16191f; }
.f-vols { font-size: 10.5px; fill: #3f8624; }
.f-net { fill: #232f3e; }
.f-nett { font-size: 13px; font-weight: 600; fill: #fff; }
.f-path { fill: none; stroke: #3f8624; stroke-width: 3; stroke-dasharray: 9 5; }
.f-patht { font-size: 12.5px; font-weight: 600; fill: #3f8624; }
.f-leg { font-size: 12px; fill: #545b64; }
.f-vols.o { fill: #8a8f96; }

/* An instance's volumes. */
.vols { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.vh, .vs { position: relative; border-radius: 12px; padding: 30px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.vh { background: #f2f3f3; border: 2px solid #545b64; }
.vs { background: #f6fbf3; border: 2px solid var(--ebs); }
.vh > small, .vs > small { position: absolute; top: 6px; left: 12px; font-size: 13px; font-weight: 700; color: var(--sv-ink2); display: flex; align-items: center; gap: 6px; }
.vs > small { color: var(--ebs); } .vs > small .ic { width: 20px; height: 20px; }
.vi { display: flex; align-items: center; gap: 10px; background: #fff7ef; border: 2px solid var(--ec2); border-radius: 10px; padding: 10px; }
.vnet { display: flex; flex-direction: column; align-items: center; font-size: 22px; color: var(--ebs); }
.vnet span { font-size: 12.5px; color: var(--sv-ink2); }
.vd { background: #fff; border: 1px solid var(--sv-line); border-radius: 8px; padding: 8px 10px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.vd.ebs { border: 2px solid var(--ebs); background: #fbfdf9; }
.vd.store { border: 2px dashed #545b64; }
.vd-dev { grid-row: 1 / 4; font: 700 12.5px var(--mono); color: var(--sv-ink2); align-self: center; }
.vd span { font-size: 13px; color: var(--sv-ink2); }
.vd small { font-size: 12.5px; font-weight: 700; } .vd .kept { color: var(--ok); } .vd .lost { color: var(--no); }

/* The block device mapping. */
.bdm { display: flex; flex-direction: column; gap: 10px; }
.bdm .json { font-size: 12.5px; }
.bdm .json .hl.s { --c: #eaf6e5; --cc: var(--ebs); }
.bdm-made { display: flex; flex-direction: column; gap: 4px; }
.bdm-made .arr { font-size: 13px; font-weight: 700; color: var(--ebs); }
.bdm-vol { display: flex; align-items: center; gap: 10px; background: #f6fbf3; border: 2px solid var(--ebs); border-radius: 8px; padding: 6px 10px; }
.bdm-vol span { display: flex; flex-direction: column; } .bdm-vol code { font: 12.5px var(--mono); }
@media (max-width: 860px) { .vols { grid-template-columns: 1fr; } .vnet { display: none; } }

/* The component slides: the grid, smaller, with one part lit. */
.intro.small { gap: 6px; }
.intro.small .ip { padding: 5px 10px; }
.intro.small .ip-inst { padding: 8px; }
.intro.small .ip-inst .ic { width: 36px; height: 36px; }
.ip.dim { opacity: .35; }
.ip.lit { box-shadow: 0 0 0 3px #f2b705; }
[data-sec="parts"] { --sec: #0f766e; }
.cx { margin-top: 14px; background: #fff; border: 1px solid var(--sv-line); border-left: 5px solid var(--ec2); border-radius: 8px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.cx > small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sv-ink2); }
.cx-r { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 8px; font-size: 14px; }
.cx-r span { color: var(--sv-ink2); } .cx-r code { font: 13px var(--mono); overflow-wrap: anywhere; }
