/* AI in Network Operations: the lesson's own figures.
   Loads after /slides/slides.css, ../ccna-net.css, ../sites.css, ../company.css, ../snmp-syslog/watch.css and aiops.css. */

/* The sections' colours. */
[data-sec="intro"] { --sec: #334155; }
[data-sec="agents"] { --sec: #7c3aed; }
[data-sec="risks"] { --sec: #d13212; }
[data-sec="prompts"] { --sec: #0a5a8a; }
[data-sec="check"] { --sec: #1d8102; }
[data-sec="lab"] { --sec: #be123c; }

/* Boxes and arrows drawn by hand: light grey outlines, the AI's purple. */
.dg .a-human { fill: #fff; stroke: #8795a3; stroke-width: 2; }
.dg .a-ai { fill: #f5f3ff; stroke: #7c3aed; stroke-width: 2; }
.dg .a-harn { fill: #eef6fb; stroke: #0a5a8a; stroke-width: 2; }
.dg .a-dev { fill: #fff; stroke: #94a3b8; stroke-width: 1.5; }
.dg .a-tool { fill: #f0fdfa; stroke: #0f766e; stroke-width: 1.5; }
.dg .a-tool.write { fill: #fff7ed; stroke: #b45309; }
.dg .a-nm { font-weight: 700; font-size: 15px; fill: var(--sv-ink); }
.dg .a-sub { font-size: 12.5px; fill: var(--sv-ink2); }
.dg .a-code { font: 700 14px var(--mono); fill: var(--sv-ink); }
.dg .a-lb { font-size: 12.5px; font-weight: 700; fill: #475569; }
.dg .a-ar { stroke: #64748b; stroke-width: 2; fill: none; }
.dg .a-ar.loop { stroke: #7c3aed; stroke-dasharray: 5 4; }
.dg .a-hd { fill: #64748b; }
.dg .a-gate { fill: #fff7ed; stroke: #b45309; stroke-width: 2; }
.dg .a-gt { font-size: 13px; }
.ops { max-height: 340px; }

/* Tokens and the next-token choice. */
.dg .a-tok { fill: #fff; stroke: #94a3b8; stroke-width: 1.3; }
.dg .a-tok.new { fill: #ede9fe; stroke: #7c3aed; stroke-width: 2; }
.dg .a-tt { font: 14px var(--mono); fill: var(--sv-ink); }
.dg .a-pt { font: 14px var(--mono); fill: var(--sv-ink); }
.dg .a-pb { fill: #ddd6fe; }
.dg .a-pb.top { fill: #7c3aed; }
.dg .a-pp { font: 700 12.5px var(--mono); fill: var(--sv-ink2); }

/* Autonomy levels. */
.auto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .auto { grid-template-columns: 1fr; } }
.au { background: #fff; border: 1px solid var(--sv-line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.au small { color: var(--sv-ink2); font-size: 12.5px; }
.au-st { display: flex; gap: 8px; align-items: baseline; font-size: 13.5px; border-radius: 6px; padding: 4px 8px; }
.au-st span { flex: none; font-size: 11px; font-weight: 800; color: #fff; border-radius: 4px; padding: 1px 6px; }
.au-st.ai { background: #f5f3ff; } .au-st.ai span { background: #7c3aed; }
.au-st.hu { background: #f1f5f9; } .au-st.hu span { background: #475569; }

/* A digital network assistant, drawn as a chat. */
.chat { background: #fff; border: 1px solid #94a3b8; border-radius: 10px; overflow: hidden; max-width: 680px; font-size: 14px; }
.ch-top { background: #1e293b; color: #e2e8f0; padding: 6px 12px; font-size: 12.5px; font-weight: 700; }
.ch-q { margin: 10px 12px 6px auto; background: #e0f2fe; border-radius: 10px 10px 2px 10px; padding: 6px 10px; width: fit-content; max-width: 80%; }
.ch-a { margin: 6px 12px 10px; background: #f5f3ff; border-radius: 10px 10px 10px 2px; padding: 6px 10px; }
.ch-a p { margin: 6px 0 0; }

/* Three output formats. */
.fmts { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
@media (max-width: 1100px) { .fmts { grid-template-columns: 1fr; } }
.fmts small { display: block; font-weight: 700; color: var(--sv-ink2); margin-bottom: 4px; }
.fmts .term { white-space: pre-wrap; }

/* Checking an answer, step by step. */
.chain { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.chain .arr.big { margin-left: 18px; font-size: 18px; }
.ck { display: flex; gap: 8px; background: #fff; border: 1px solid var(--sv-line); border-top: 4px solid #1d8102; border-radius: 8px; padding: 8px 10px; width: min(460px, 100%); }
.ck > b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1d8102; color: #fff; display: grid; place-items: center; font-size: 12.5px; }
.ck strong { font-size: 14px; }
.ck small { display: inline; margin-left: 6px; color: var(--sv-ink2); font-size: 12px; margin-top: 2px; }
