/* Device Access: Users, AAA and Files: the lesson's own figures.
   Loads after /slides/slides.css, ../ccna-net.css, ../sites.css, ../company.css and da.css. */

/* The sections' colours. */
[data-sec="intro"] { --sec: #334155; }
[data-sec="access"] { --sec: #0a5a8a; }
[data-sec="pw"] { --sec: #b45309; }
[data-sec="ssh"] { --sec: #1d8102; }
[data-sec="aaa"] { --sec: #7c3aed; }
[data-sec="proto"] { --sec: #0f766e; }
[data-sec="files"] { --sec: #1d4ed8; }
[data-sec="lab"] { --sec: #be123c; }

/* The SVG drawings' words and shapes. */
.net.da { width: 100%; max-height: 440px; }
.net.da .nm { font: 700 13px system-ui, sans-serif; fill: var(--sv-ink); }
.net.da .da-h { font: 700 14px system-ui, sans-serif; fill: var(--sv-ink); }
.net.da .da-sm { font: 12px system-ui, sans-serif; fill: var(--sv-ink2); }
.net.da .da-sm.bad { fill: #b42318; font-weight: 600; } .net.da .da-sm.ok { fill: #1d8102; font-weight: 600; }
.net.da .da-mono { font: 600 13px var(--mono); fill: var(--sv-ink); }
.net.da .da-mono-s { font: 12px var(--mono); fill: var(--sv-ink); }

/* Management access: the device's lines. */
.net.da .da-dev { fill: #f5f8fb; stroke: #8795a3; stroke-width: 1.5; }
.net.da .da-con { fill: #e6f2fa; stroke: #0a5a8a; stroke-width: 1.5; }
.net.da .da-vty { fill: #fff; stroke: #0a5a8a; stroke-width: 1.5; }
.net.da .da-vn { font: 700 12px var(--mono); fill: #0a5a8a; }
.net.da .da-ln { font: 700 13px var(--mono); fill: #0a3d62; }
.net.da .da-cable { fill: none; stroke: #4aa3d9; stroke-width: 4; stroke-linecap: round; }
.net.da .da-tel { fill: none; stroke: #d13212; stroke-width: 3; }
.net.da .da-ssh { fill: none; stroke: #1d8102; stroke-width: 3; }
.net.da .da-tel-t { font: 700 12px system-ui, sans-serif; fill: #b42318; }
.net.da .da-ssh-t { font: 700 12px system-ui, sans-serif; fill: #1d8102; }
.net.da .da-plain { font: 700 12.5px var(--mono); fill: #b42318; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.net.da .da-gib { font: 12px var(--mono); fill: #4b6b40; paint-order: stroke; stroke: #fff; stroke-width: 4px; }

.lnt, .ty, .cp, .xf { font-size: 13.5px; }
.ty td:last-child, .xf td:last-child { text-align: center; }
.cp td { white-space: normal; }
.ty code { font-size: 12px; }

/* Type 7 and type 9. */
.net.da .da-bx { stroke-width: 1.8; }
.net.da .da-bx.pl { fill: #fff; stroke: #8795a3; }
.net.da .da-bx.pl.bad { fill: #fde8e6; stroke: #d13212; }
.net.da .da-bx.en7 { fill: #fff4d6; stroke: #b45309; }
.net.da .da-bx.h9 { fill: #eef8ea; stroke: #1d8102; }
.net.da .da-arr { stroke: #33475b; stroke-width: 2; fill: none; }
.net.da .da-arr.bad { stroke: #d13212; }
.net.da .da-ah { fill: #33475b; } .net.da .da-ah.bad { fill: #d13212; }

/* Privilege levels. */
.net.lv { max-width: 440px; max-height: 280px; }
.net.da .da-lv { stroke-width: 1.5; }
.net.da .da-lv.p15 { fill: #b45309; stroke: #92400e; }
.net.da .da-lv.pmid { fill: #fff; stroke: #b45309; stroke-dasharray: 5 4; }
.net.da .da-lv.p1 { fill: #fbd9a8; stroke: #b45309; }
.net.da .da-lv.p0 { fill: #f1f3f5; stroke: #8795a3; }
.net.da .da-lvn { font: 800 14px system-ui, sans-serif; fill: #33475b; }
.net.da .p15 + .da-lvn { fill: #fff; }

/* Authentication, authorization, accounting. */
.aaa3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.aaa-card { background: #fff; border: 1px solid var(--sv-line); border-top: 6px solid var(--c); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.aaa-card b { font-size: 17px; color: var(--c); }
.aaa-card i { font-style: normal; font-weight: 600; }
.aaa-card small { color: var(--sv-ink2); font-size: 13px; }
.aaa-card code { font-size: 12.5px; background: #f3f4f6; border-radius: 4px; padding: 4px 6px; }
.a-n { --c: #0a5a8a; } .a-z { --c: #7c3aed; } .a-c { --c: #b45309; }
@media (max-width: 860px) { .aaa3 { grid-template-columns: 1fr; } }

/* Local users and the AAA server. */
.net.da .da-list { fill: #fff; stroke: #8795a3; }
.net.da .da-list.bad { stroke: #d13212; fill: #fff7f6; }
.net.da .da-list.ok { stroke: #1d8102; fill: #f3faf0; }
.net.da .da-sep { stroke: #d5dbe1; stroke-width: 1.5; stroke-dasharray: 4 5; }
.net.da .da-q { stroke: #7c3aed; stroke-width: 2; fill: none; stroke-dasharray: 6 4; }

/* The method list's flowchart. */
.net.da .da-fc { stroke-width: 2; fill: #fff; }
.net.da .da-fc.st { stroke: #33475b; }
.net.da .da-fc.m { stroke: #7c3aed; fill: #f6f2fd; }
.net.da .da-fc.ok { stroke: #1d8102; fill: #eef8ea; }
.net.da .da-fc.bad { stroke: #d13212; fill: #fde8e6; }
.net.da .da-fct { font: 700 13.5px system-ui, sans-serif; fill: var(--sv-ink); }
.net.da .da-fa { fill: none; stroke: #33475b; stroke-width: 2; }
.net.da .da-fa.ok { stroke: #1d8102; } .net.da .da-fa.bad { stroke: #d13212; } .net.da .da-fa.err { stroke: #b45309; stroke-dasharray: 7 5; }
.net.da .da-mk { fill: #33475b; } .net.da .da-mk.ok { fill: #1d8102; } .net.da .da-mk.bad { fill: #d13212; } .net.da .da-mk.err { fill: #b45309; }
.net.da .da-fl { font: 800 12.5px system-ui, sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.net.da .da-fl.ok { fill: #1d8102; } .net.da .da-fl.bad { fill: #d13212; } .net.da .da-fl.err { fill: #b45309; }

/* The two packets, field by field. */
.net.da .da-fld { stroke: #64748b; stroke-width: 1.2; }
.net.da .da-fld.clr { fill: #fff; }
.net.da .da-fld.enc { fill: url(#da-hatch); stroke: #0f766e; stroke-width: 1.6; }
.net.da .da-hb { fill: #d6efe9; } .net.da .da-hl { stroke: #9fd3c7; stroke-width: 3; }
.net.da .da-fldt { font: 700 13px system-ui, sans-serif; fill: var(--sv-ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.net.da .da-flds { font: 12px var(--mono); fill: var(--sv-ink2); paint-order: stroke; stroke: #fff; stroke-width: 3px; }

/* The image's name, part by part. */
.fname { display: flex; flex-wrap: wrap; gap: 2px; }
.fn-p { display: flex; flex-direction: column; align-items: center; }
.fn-p code { font-size: 14px; font-weight: 700; padding: 3px 4px; border-bottom: 4px solid var(--c); }
.fn-p small { font-size: 11.5px; color: var(--sv-ink2); max-width: 120px; text-align: center; }
.fn-p.a { --c: #0a5a8a; } .fn-p.b { --c: #7c3aed; } .fn-p.c { --c: #b45309; } .fn-p.d { --c: #1d8102; } .fn-p.e { --c: #be123c; } .fn-p.f { --c: #6b7280; }
.stack .term { font-size: 12px; }
