/* Cyber Career Lab 2.0 Workstation - fixed layout shared by all roles. No external assets. */
:is(body.ccs2,.ccs2-embed) {
	--bg: #0b1220;
	--bg-2: #0f1a2e;
	--panel: #121f36;
	--panel-2: #172744;
	--line: #24375a;
	--text: #e6edf7;
	--muted: #93a4c0;
	--accent: #3ea6ff;
	--accent-2: #7c5cff;
	--ok: #2ecc71;
	--warn: #f5b041;
	--bad: #ff5d5d;
	--term-bg: #050a14;
	--term-text: #c9f7d0;
	--radius: 10px;
	--top: 52px;
	--dock: 76px;
	--rail: 330px;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:is(body.ccs2,.ccs2-embed) * { box-sizing: border-box; }

:is(body.ccs2,.ccs2-embed), :is(body.ccs2,.ccs2-embed) { height: 100%; margin: 0; }

body.ccs2 { background: var(--bg); color: var(--text); font: 14px/1.45 var(--sans); overflow: hidden; }

:is(body.ccs2,.ccs2-embed) button, :is(body.ccs2,.ccs2-embed) input, :is(body.ccs2,.ccs2-embed) select, :is(body.ccs2,.ccs2-embed) textarea { font: inherit; color: inherit; }

:is(body.ccs2,.ccs2-embed) button { cursor: pointer; }

:is(body.ccs2,.ccs2-embed) :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

:is(body.ccs2,.ccs2-embed) .ccs2-root { height: 100%; }

:is(body.ccs2,.ccs2-embed) .ccs2-boot { display: grid; place-items: center; height: 100%; color: var(--muted); }
/* Buttons */
:is(body.ccs2,.ccs2-embed) .b { border: 1px solid var(--line); background: var(--panel-2); border-radius: 8px; padding: 6px 12px; line-height: 1.2; }

:is(body.ccs2,.ccs2-embed) .b:hover { border-color: var(--accent); }

:is(body.ccs2,.ccs2-embed) a.b { display: inline-block; color: var(--text); text-decoration: none; }

:is(body.ccs2,.ccs2-embed) .b:disabled { opacity: .5; cursor: not-allowed; }

:is(body.ccs2,.ccs2-embed) .b-primary { background: var(--accent); border-color: var(--accent); color: #031427; font-weight: 600; }

:is(body.ccs2,.ccs2-embed) .b-primary:hover { filter: brightness(1.08); }

:is(body.ccs2,.ccs2-embed) .b-danger { border-color: var(--bad); color: var(--bad); background: transparent; }

:is(body.ccs2,.ccs2-embed) .b-ghost { background: transparent; }

:is(body.ccs2,.ccs2-embed) .b-sm { padding: 3px 8px; font-size: 12px; border-radius: 6px; }

:is(body.ccs2,.ccs2-embed) .pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; border: 1px solid var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

:is(body.ccs2,.ccs2-embed) .pill-pro { border-color: var(--accent-2); color: #b9a8ff; }

:is(body.ccs2,.ccs2-embed) .pill-free { border-color: var(--ok); color: var(--ok); }

:is(body.ccs2,.ccs2-embed) .pill-warn { border-color: var(--warn); color: var(--warn); }

:is(body.ccs2,.ccs2-embed) .muted { color: var(--muted); }
/* Shell grid */
:is(body.ccs2,.ccs2-embed) .ws { display: grid; height: 100%; grid-template-columns: var(--dock) 1fr var(--rail); grid-template-rows: var(--top) 1fr; grid-template-areas: "top top top" "dock desk rail"; }

:is(body.ccs2,.ccs2-embed) .ws-top { grid-area: top; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); min-width: 0; }

:is(body.ccs2,.ccs2-embed) .ws-brand { font-weight: 700; letter-spacing: .02em; white-space: nowrap; }

:is(body.ccs2,.ccs2-embed) .ws-brand span { color: var(--accent); }

:is(body.ccs2,.ccs2-embed) .ws-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .ws-title strong { color: var(--text); font-weight: 600; }

:is(body.ccs2,.ccs2-embed) .ws-timer { font-family: var(--mono); color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .ws-save { font-size: 12px; color: var(--muted); min-width: 70px; text-align: right; }

:is(body.ccs2,.ccs2-embed) .ws-save.err { color: var(--bad); }

:is(body.ccs2,.ccs2-embed) .ws-dock { grid-area: dock; background: var(--bg-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; padding: 8px 6px; overflow-y: auto; }

:is(body.ccs2,.ccs2-embed) .dock-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 11px; position: relative; }

:is(body.ccs2,.ccs2-embed) .dock-btn svg { width: 22px; height: 22px; }

:is(body.ccs2,.ccs2-embed) .dock-btn:hover { color: var(--text); background: var(--panel); }

:is(body.ccs2,.ccs2-embed) .dock-btn.on { color: var(--text); border-color: var(--line); background: var(--panel); }

:is(body.ccs2,.ccs2-embed) .dock-btn.on::before { content: ""; position: absolute; left: -6px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }

:is(body.ccs2,.ccs2-embed) .dock-badge { position: absolute; top: 4px; right: 8px; background: var(--accent-2); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; }
/* Desktop + windows */
:is(body.ccs2,.ccs2-embed) .ws-desk { grid-area: desk; position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 30% 20%, #12213d 0, var(--bg) 70%); }

:is(body.ccs2,.ccs2-embed) .desk-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }

:is(body.ccs2,.ccs2-embed) .win { position: absolute; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.45); min-width: 280px; min-height: 160px; overflow: hidden; }

:is(body.ccs2,.ccs2-embed) .win.focus { border-color: #345a94; }

:is(body.ccs2,.ccs2-embed) .win-bar { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); cursor: move; user-select: none; touch-action: none; }

:is(body.ccs2,.ccs2-embed) .win-bar h2 { margin: 0; font-size: 13px; font-weight: 600; flex: 1; }

:is(body.ccs2,.ccs2-embed) .win-bar .b { cursor: pointer; }

:is(body.ccs2,.ccs2-embed) .win-body { flex: 1; min-height: 0; overflow: auto; padding: 10px 12px; }

:is(body.ccs2,.ccs2-embed) .win-body.flush { padding: 0; }

:is(body.ccs2,.ccs2-embed) .win-resize { position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize; touch-action: none; background: linear-gradient(135deg, transparent 50%, var(--line) 50%); }
/* Right rail */
:is(body.ccs2,.ccs2-embed) .ws-rail { grid-area: rail; display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line); min-height: 0; }

:is(body.ccs2,.ccs2-embed) .rail-scroll { flex: 1; overflow-y: auto; padding: 12px 14px; }

:is(body.ccs2,.ccs2-embed) .rail-sec { margin-bottom: 16px; }

:is(body.ccs2,.ccs2-embed) .rail-sec h3 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

:is(body.ccs2,.ccs2-embed) .rail-ticket { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }

:is(body.ccs2,.ccs2-embed) .rail-ticket .t-sub { font-weight: 600; margin: 4px 0; }

:is(body.ccs2,.ccs2-embed) .obj { list-style: none; margin: 0; padding: 0; }

:is(body.ccs2,.ccs2-embed) .obj li { display: flex; gap: 8px; padding: 4px 0; color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .obj li::before { content: ""; flex: 0 0 14px; height: 14px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--line); }

:is(body.ccs2,.ccs2-embed) .obj li.done { color: var(--text); }

:is(body.ccs2,.ccs2-embed) .obj li.done::before { background: var(--ok); border-color: var(--ok); }

:is(body.ccs2,.ccs2-embed) .policy { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .rail-ev { list-style: none; margin: 0; padding: 0; }

:is(body.ccs2,.ccs2-embed) .rail-ev li { font-size: 12px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); }

:is(body.ccs2,.ccs2-embed) .hint-box { background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.45); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .rail-foot { padding: 12px 14px; border-top: 1px solid var(--line); background: var(--bg-2); }

:is(body.ccs2,.ccs2-embed) .rail-foot .b-primary { width: 100%; padding: 11px; font-size: 15px; }

:is(body.ccs2,.ccs2-embed) .unsaved { color: var(--warn); font-size: 12px; margin-bottom: 8px; }
/* Terminal */
:is(body.ccs2,.ccs2-embed) .term { display: flex; flex-direction: column; height: 100%; background: var(--term-bg); }

:is(body.ccs2,.ccs2-embed) .term-tabs { display: flex; gap: 4px; padding: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); background: #08101f; flex-wrap: nowrap; }

:is(body.ccs2,.ccs2-embed) .term-tab { white-space: nowrap; font-size: 12px; padding: 3px 9px; border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--muted); font-family: var(--mono); }

:is(body.ccs2,.ccs2-embed) .term-tab.on { border-color: var(--line); background: var(--panel); color: var(--text); }

:is(body.ccs2,.ccs2-embed) .term-tab.pc { color: #9fd3ff; }

:is(body.ccs2,.ccs2-embed) .term-out { flex: 1; overflow-y: auto; padding: 10px 12px; font: 13px/1.4 var(--mono); color: var(--term-text); }

:is(body.ccs2,.ccs2-embed) .term-blk { position: relative; margin-bottom: 6px; }

:is(body.ccs2,.ccs2-embed) .term-blk pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; }

:is(body.ccs2,.ccs2-embed) .term-echo { color: #e8f3ff; }

:is(body.ccs2,.ccs2-embed) .term-pin { position: absolute; top: 0; right: 0; opacity: 0; transition: opacity .15s; }

:is(body.ccs2,.ccs2-embed) .term-blk:hover .term-pin, :is(body.ccs2,.ccs2-embed) .term-pin:focus { opacity: 1; }

:is(body.ccs2,.ccs2-embed) .term-blk.pinned .term-pin { opacity: 1; color: var(--ok); border-color: var(--ok); }

:is(body.ccs2,.ccs2-embed) .term-in { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--line); font: 13px var(--mono); }

:is(body.ccs2,.ccs2-embed) .term-in label { color: #e8f3ff; white-space: nowrap; }

:is(body.ccs2,.ccs2-embed) .term-in input { flex: 1; background: transparent; border: 0; outline: none; color: var(--term-text); font: inherit; min-width: 40px; }

:is(body.ccs2,.ccs2-embed) .term-sys { color: var(--muted); font-style: italic; }
/* GUI apps (admin consoles) */
:is(body.ccs2,.ccs2-embed) .gui-host { background: var(--panel); }

:is(body.ccs2,.ccs2-embed) .gui { display: flex; flex-direction: column; flex: 1; min-height: 0; background: #eef2f7; color: #18202c; }

:is(body.ccs2,.ccs2-embed) .gui-title { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: #1f3a5f; color: #fff; font-weight: 600; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .gui-title .muted { color: #b9c7da; font-weight: 400; }

:is(body.ccs2,.ccs2-embed) .gui-dot { width: 10px; height: 10px; border-radius: 2px; background: #4fc3f7; }

:is(body.ccs2,.ccs2-embed) .gui-body { display: flex; flex: 1; min-height: 0; }

:is(body.ccs2,.ccs2-embed) .gui-nav { flex: 0 0 168px; background: #e1e7ef; border-right: 1px solid #c8d2df; padding: 8px 6px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }

:is(body.ccs2,.ccs2-embed) .gui-navbtn { text-align: left; border: 0; background: transparent; color: #24324a; padding: 6px 8px; border-radius: 6px; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .gui-navbtn:hover { background: #d3dce8; }

:is(body.ccs2,.ccs2-embed) .gui-navbtn.on { background: #fff; box-shadow: inset 3px 0 0 #2f6fb5; font-weight: 600; }

:is(body.ccs2,.ccs2-embed) .gui-main { flex: 1; min-width: 0; overflow: auto; padding: 12px 14px; }

:is(body.ccs2,.ccs2-embed) .gui-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }

:is(body.ccs2,.ccs2-embed) .gui-head h3 { margin: 0; font-size: 15px; flex: 1; color: #10243f; }

:is(body.ccs2,.ccs2-embed) .gui .b { background: #fff; border-color: #b7c4d6; color: #18202c; }

:is(body.ccs2,.ccs2-embed) .gui .b:hover { border-color: #2f6fb5; }

:is(body.ccs2,.ccs2-embed) .gui .b-primary { background: #2f6fb5; border-color: #2f6fb5; color: #fff; }

:is(body.ccs2,.ccs2-embed) .gui .b-danger { background: #fff; border-color: #c0392b; color: #c0392b; }

:is(body.ccs2,.ccs2-embed) .gui .b.pinned { border-color: #1e8449; color: #1e8449; }

:is(body.ccs2,.ccs2-embed) .gui .muted { color: #5b6b82; }

:is(body.ccs2,.ccs2-embed) .gui-sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #4a5a72; margin: 12px 0 6px; }

:is(body.ccs2,.ccs2-embed) .gui-text { margin: 0 0 10px; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .gui-doc { background: #fff; border: 1px solid #c8d2df; border-radius: 6px; padding: 10px; font: 12px/1.5 var(--mono); white-space: pre-wrap; margin: 0 0 10px; color: #18202c; }

:is(body.ccs2,.ccs2-embed) .gui-fields { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 4px 14px; font-size: 13px; background: #fff; border: 1px solid #c8d2df; border-radius: 6px; padding: 10px 12px; margin: 0 0 10px; }

:is(body.ccs2,.ccs2-embed) .gui-fields .gui-sub { grid-column: 1 / -1; margin-top: 0; }

:is(body.ccs2,.ccs2-embed) .gui-fields dt { color: #5b6b82; }

:is(body.ccs2,.ccs2-embed) .gui-fields dd { margin: 0; }

:is(body.ccs2,.ccs2-embed) .gui-tablewrap { margin-bottom: 10px; }

:is(body.ccs2,.ccs2-embed) .gui-tablewrap .tool-row input[type=search] { background: #fff; border-color: #c8d2df; color: #18202c; }

:is(body.ccs2,.ccs2-embed) .gui-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #c8d2df; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .gui-table th { text-align: left; background: #f3f6fa; color: #4a5a72; font-weight: 600; font-size: 12px; padding: 6px 8px; border-bottom: 1px solid #c8d2df; }

:is(body.ccs2,.ccs2-embed) .gui-table td { padding: 6px 8px; border-bottom: 1px solid #e3e8ef; vertical-align: top; }

:is(body.ccs2,.ccs2-embed) .gui-table tr:hover td { background: #f6f9fd; }

:is(body.ccs2,.ccs2-embed) .gui-row-acts { white-space: nowrap; text-align: right; }

:is(body.ccs2,.ccs2-embed) .gui-row-acts .b { margin-left: 4px; }

:is(body.ccs2,.ccs2-embed) .gui-link { background: none; border: 0; padding: 0; color: #1f5fa8; text-decoration: underline; cursor: pointer; font: inherit; text-align: left; }

:is(body.ccs2,.ccs2-embed) .gui-badge { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 12px; font-weight: 600; background: #e7ecf3; color: #33435c; }

:is(body.ccs2,.ccs2-embed) .gui-badge.bad { background: #fde3e1; color: #a5281b; }

:is(body.ccs2,.ccs2-embed) .gui-badge.ok { background: #dff3e6; color: #1b6b3a; }

:is(body.ccs2,.ccs2-embed) .gui-badge.warn { background: #fdf1d8; color: #8a5a00; }

:is(body.ccs2,.ccs2-embed) .gui-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 10px; }

:is(body.ccs2,.ccs2-embed) .gui-actions .gui-sub { flex-basis: 100%; margin: 6px 0 0; }

:is(body.ccs2,.ccs2-embed) .gui-form { background: #fff; border: 1px solid #c8d2df; border-radius: 6px; padding: 10px 12px; margin: 0 0 10px; }

:is(body.ccs2,.ccs2-embed) .gui-form .gui-sub { margin-top: 0; }

:is(body.ccs2,.ccs2-embed) .gui-field { display: block; margin-bottom: 8px; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .gui-field > span { display: block; color: #4a5a72; font-size: 12px; margin-bottom: 3px; }

:is(body.ccs2,.ccs2-embed) .gui-field input[type=text], :is(body.ccs2,.ccs2-embed) .gui-field select, :is(body.ccs2,.ccs2-embed) .gui-field textarea { width: 100%; background: #fff; color: #18202c; border: 1px solid #b7c4d6; border-radius: 6px; padding: 6px 8px; }

:is(body.ccs2,.ccs2-embed) .gui-check { display: flex; align-items: center; gap: 8px; }

:is(body.ccs2,.ccs2-embed) .gui-check > span { display: inline; margin: 0; color: #18202c; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .gui-log { flex: 0 0 auto; max-height: 34%; overflow-y: auto; background: #f7f9fc; border-top: 1px solid #c8d2df; padding: 6px 12px 8px; }

:is(body.ccs2,.ccs2-embed) .gui-log-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5b6b82; margin-bottom: 4px; }

:is(body.ccs2,.ccs2-embed) .gui-log-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 5px 0; border-bottom: 1px solid #e3e8ef; font-size: 12px; }

:is(body.ccs2,.ccs2-embed) .gui-log-a { font-weight: 600; color: #24324a; }

:is(body.ccs2,.ccs2-embed) .gui-log-row pre { grid-column: 1; margin: 0; white-space: pre-wrap; font: 12px/1.4 var(--mono); color: #33435c; }

:is(body.ccs2,.ccs2-embed) .gui-log-row .b { grid-column: 2; grid-row: 1 / span 2; align-self: start; }

:is(body.ccs2,.ccs2-embed) .gui-log-row.pinned .b { color: #1e8449; border-color: #1e8449; }
@media (max-width: 900px) {
	.gui-body { flex-direction: column; }

:is(body.ccs2,.ccs2-embed) .gui-nav { flex: 0 0 auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #c8d2df; }

:is(body.ccs2,.ccs2-embed) .gui-navbtn { white-space: nowrap; }

:is(body.ccs2,.ccs2-embed) .gui-fields { grid-template-columns: 1fr; }
}
/* Topology */
:is(body.ccs2,.ccs2-embed) .topo { width: 100%; height: 100%; display: block; }

:is(body.ccs2,.ccs2-embed) .topo .node rect { fill: var(--panel-2); stroke: var(--line); stroke-width: 1.5; }

:is(body.ccs2,.ccs2-embed) .topo .node.fin rect { stroke: #b38cff; }

:is(body.ccs2,.ccs2-embed) .topo .node.server rect { stroke: #3ea6ff; }

:is(body.ccs2,.ccs2-embed) .topo .node { cursor: pointer; }

:is(body.ccs2,.ccs2-embed) .topo .node:hover rect { stroke: var(--accent); }

:is(body.ccs2,.ccs2-embed) .topo .node text { fill: var(--text); font: 600 12px var(--sans); }

:is(body.ccs2,.ccs2-embed) .topo .node text.sub { fill: var(--muted); font: 11px var(--mono); }

:is(body.ccs2,.ccs2-embed) .topo line.up { stroke: var(--ok); }

:is(body.ccs2,.ccs2-embed) .topo line.down { stroke: var(--bad); stroke-dasharray: 6 5; }
:is(body.ccs2,.ccs2-embed) .topo rect.site { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 8 6; }
:is(body.ccs2,.ccs2-embed) .topo text.site-label { fill: var(--muted); font: 600 12px var(--sans); }

:is(body.ccs2,.ccs2-embed) .topo line.trunk { stroke-width: 4; }

:is(body.ccs2,.ccs2-embed) .topo .legend text { fill: var(--muted); font: 11px var(--sans); }
/* Monitoring */
:is(body.ccs2,.ccs2-embed) .mon { width: 100%; border-collapse: collapse; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .mon th, :is(body.ccs2,.ccs2-embed) .mon td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }

:is(body.ccs2,.ccs2-embed) .mon th { color: var(--muted); font-weight: 600; font-size: 12px; }

:is(body.ccs2,.ccs2-embed) .cell { display: inline-block; min-width: 48px; text-align: center; padding: 2px 6px; border-radius: 6px; font-weight: 600; font-size: 12px; }

:is(body.ccs2,.ccs2-embed) .cell.ok { background: rgba(46,204,113,.15); color: var(--ok); }

:is(body.ccs2,.ccs2-embed) .cell.bad { background: rgba(255,93,93,.15); color: var(--bad); }

:is(body.ccs2,.ccs2-embed) .tool-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }

:is(body.ccs2,.ccs2-embed) .tool-row input[type=search], :is(body.ccs2,.ccs2-embed) .tool-row select { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
:is(body.ccs2,.ccs2-embed) .tool-row select { -webkit-appearance: none; appearance: none; padding: 7px 34px 7px 12px; line-height: 1.3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%239fb3c8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 12px; cursor: pointer; } /* 2026-11-23: room for the arrow */

:is(body.ccs2,.ccs2-embed) .tool-row input[type=search] { flex: 1; min-width: 140px; }
/* Logs */
:is(body.ccs2,.ccs2-embed) .logs { list-style: none; margin: 0; padding: 0; font: 12px/1.45 var(--mono); }

:is(body.ccs2,.ccs2-embed) .logs li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 6px; border-bottom: 1px solid rgba(36,55,90,.5); }

:is(body.ccs2,.ccs2-embed) .logs li:hover { background: rgba(62,166,255,.06); }

:is(body.ccs2,.ccs2-embed) .logs .ts { color: var(--muted); white-space: nowrap; }

:is(body.ccs2,.ccs2-embed) .logs .dev { color: #9fd3ff; white-space: nowrap; min-width: 64px; }

:is(body.ccs2,.ccs2-embed) .logs .msg { flex: 1; word-break: break-word; }

:is(body.ccs2,.ccs2-embed) .logs mark { background: rgba(245,176,65,.35); color: inherit; border-radius: 2px; }

:is(body.ccs2,.ccs2-embed) .logs .b-sm { flex: 0 0 auto; }

:is(body.ccs2,.ccs2-embed) .logs li.pinned .b-sm { color: var(--ok); border-color: var(--ok); }
/* Forms */
:is(body.ccs2,.ccs2-embed) .field { display: block; margin-bottom: 12px; }

:is(body.ccs2,.ccs2-embed) .field span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }

:is(body.ccs2,.ccs2-embed) .field textarea, :is(body.ccs2,.ccs2-embed) .notes { width: 100%; min-height: 84px; resize: vertical; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }

:is(body.ccs2,.ccs2-embed) .notes { height: 100%; min-height: 200px; border: 0; border-radius: 0; background: transparent; font-family: var(--mono); font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .ticket-head { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 13px; margin-bottom: 10px; }

:is(body.ccs2,.ccs2-embed) .ticket-head dt { color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .ticket-head dd { margin: 0; }

:is(body.ccs2,.ccs2-embed) .ticket-body { white-space: pre-wrap; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 8px; }

:is(body.ccs2,.ccs2-embed) .desk-note { font-size: 13px; color: var(--warn); margin-bottom: 14px; }
/* Evidence */
:is(body.ccs2,.ccs2-embed) .ev { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; background: var(--bg-2); }

:is(body.ccs2,.ccs2-embed) .ev-h { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line); }

:is(body.ccs2,.ccs2-embed) .ev-h strong { flex: 1; font: 12px var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

:is(body.ccs2,.ccs2-embed) .ev pre { margin: 0; padding: 8px; max-height: 160px; overflow: auto; font: 12px/1.4 var(--mono); white-space: pre-wrap; word-break: break-word; }

:is(body.ccs2,.ccs2-embed) .ev-note { padding: 0 8px 8px; font-size: 12px; color: var(--muted); }
/* Home + result */
:is(body.ccs2,.ccs2-embed) .home { height: 100%; overflow-y: auto; padding: 32px 20px; }

:is(body.ccs2,.ccs2-embed) .home-in { max-width: 1060px; margin: 0 auto; }

:is(body.ccs2,.ccs2-embed) .home h1 { margin: 0 0 4px; font-size: 26px; }

:is(body.ccs2,.ccs2-embed) .roles { margin-top: 8px; }

:is(body.ccs2,.ccs2-embed) .role-h { font-size: 15px; margin: 22px 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

:is(body.ccs2,.ccs2-embed) .roles .cards { margin: 10px 0 0; }

:is(body.ccs2,.ccs2-embed) .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 20px 0 28px; }

:is(body.ccs2,.ccs2-embed) .card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }

:is(body.ccs2,.ccs2-embed) .card h3 { margin: 0; font-size: 16px; }

:is(body.ccs2,.ccs2-embed) .card p { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }

:is(body.ccs2,.ccs2-embed) .card .meta { display: flex; gap: 6px; flex-wrap: wrap; }

:is(body.ccs2,.ccs2-embed) .card.locked { opacity: .7; }

:is(body.ccs2,.ccs2-embed) .banner { border: 1px solid var(--accent); background: rgba(62,166,255,.08); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

:is(body.ccs2,.ccs2-embed) .hist { width: 100%; border-collapse: collapse; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .hist td, :is(body.ccs2,.ccs2-embed) .hist th { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }

:is(body.ccs2,.ccs2-embed) .overlay { position: fixed; inset: 0; background: rgba(3,8,18,.72); display: grid; place-items: center; z-index: 9000; padding: 16px; }

:is(body.ccs2,.ccs2-embed) .modal { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 18px; }

:is(body.ccs2,.ccs2-embed) .modal.wide { width: min(860px, 100%); }

:is(body.ccs2,.ccs2-embed) .modal h2 { margin: 0 0 10px; font-size: 18px; }

:is(body.ccs2,.ccs2-embed) .modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }

:is(body.ccs2,.ccs2-embed) .modal textarea { width: 100%; min-height: 70px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px; }

:is(body.ccs2,.ccs2-embed) .checklist { margin: 0; padding-left: 18px; }

:is(body.ccs2,.ccs2-embed) .checklist li.warn { color: var(--warn); }

:is(body.ccs2,.ccs2-embed) .score { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }

:is(body.ccs2,.ccs2-embed) .score-num { font-size: 48px; font-weight: 800; line-height: 1; }

:is(body.ccs2,.ccs2-embed) .cat { margin-bottom: 12px; }

:is(body.ccs2,.ccs2-embed) .cat-h { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; }

:is(body.ccs2,.ccs2-embed) .bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; margin: 5px 0; }

:is(body.ccs2,.ccs2-embed) .bar i { display: block; height: 100%; background: var(--accent); }

:is(body.ccs2,.ccs2-embed) .cat ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .model { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .model code { font-family: var(--mono); color: var(--term-text); }

:is(body.ccs2,.ccs2-embed) .upsell { border: 1px dashed var(--accent-2); border-radius: 10px; padding: 10px; color: #c9bcff; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: #2a1420; border: 1px solid var(--bad); color: #ffd6d6; padding: 9px 14px; border-radius: 10px; z-index: 9500; max-width: 90vw; }

:is(body.ccs2,.ccs2-embed) .toast.info { background: #0f2a1d; border-color: var(--ok); color: #c9f7d0; }

:is(body.ccs2,.ccs2-embed) .rail-toggle { display: none; }

/* Phone / small tablet: dock at bottom, rail as drawer, one maximized window at a time. */
@media (max-width: 900px) {
	.ws { grid-template-columns: 1fr; grid-template-rows: var(--top) 1fr 62px; grid-template-areas: "top" "desk" "dock"; }

:is(body.ccs2,.ccs2-embed) .ws-dock { flex-direction: row; border-right: 0; border-top: 1px solid var(--line); padding: 4px; overflow-x: auto; overflow-y: hidden; }

:is(body.ccs2,.ccs2-embed) .dock-btn { min-width: 58px; padding: 4px 2px; }

:is(body.ccs2,.ccs2-embed) .dock-btn.on::before { left: 10px; right: 10px; top: -4px; bottom: auto; width: auto; height: 3px; }

:is(body.ccs2,.ccs2-embed) .ws-rail { position: fixed; top: var(--top); right: 0; bottom: 62px; width: min(360px, 92vw); z-index: 8000; transform: translateX(100%); transition: transform .2s; box-shadow: -10px 0 30px rgba(0,0,0,.5); }

:is(body.ccs2,.ccs2-embed) .ws-rail.open { transform: none; }

:is(body.ccs2,.ccs2-embed) .rail-toggle { display: inline-block; }

:is(body.ccs2,.ccs2-embed) .ws-timer, :is(body.ccs2,.ccs2-embed) .ws-save { display: none; }

:is(body.ccs2,.ccs2-embed) .win { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; }

:is(body.ccs2,.ccs2-embed) .win:not(.focus) { display: none; }

:is(body.ccs2,.ccs2-embed) .win-resize { display: none; }

:is(body.ccs2,.ccs2-embed) .win-bar { cursor: default; }
}
@media (max-width: 520px) {
	.ws-brand { display: none; }

:is(body.ccs2,.ccs2-embed) .home { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* Progress tracker (right rail) */
:is(body.ccs2,.ccs2-embed) .progress .prog-pct { float: right; color: var(--text); font-size: 13px; letter-spacing: 0; }

:is(body.ccs2,.ccs2-embed) .progress .bar { margin: 4px 0 6px; }

:is(body.ccs2,.ccs2-embed) .progress .bar i { background: linear-gradient(90deg, var(--accent), var(--ok)); transition: width .3s; }

:is(body.ccs2,.ccs2-embed) .prog-warn { background: rgba(245,176,65,.12); border: 1px solid var(--warn); color: var(--warn); border-radius: 8px; padding: 6px 8px; font-size: 12px; margin-bottom: 6px; }

:is(body.ccs2,.ccs2-embed) .obj li.warn { color: var(--warn); }

:is(body.ccs2,.ccs2-embed) .obj li.warn::before { border-color: var(--warn); }
/* Embedded homepage demo ([ccs2_demo]): contained, and shielded from theme button/input styles */
:is(body.ccs2,.ccs2-embed) .ccs2-demo { margin: 32px auto; max-width: 1280px; padding: 0 16px; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed { position: relative; height: auto; border-radius: 14px; overflow: hidden; background: var(--bg); color: var(--text); font: 14px/1.45 var(--sans); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: left; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed *, :is(body.ccs2,.ccs2-embed) .ccs2-embed *::before, :is(body.ccs2,.ccs2-embed) .ccs2-embed *::after { box-sizing: border-box; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .ccs2-root { height: 100%; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed button, :is(body.ccs2,.ccs2-embed) .ccs2-embed input, :is(body.ccs2,.ccs2-embed) .ccs2-embed select, :is(body.ccs2,.ccs2-embed) .ccs2-embed textarea { font: inherit; letter-spacing: normal; text-transform: none; line-height: 1.2; margin: 0; box-shadow: none; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed button:hover, :is(body.ccs2,.ccs2-embed) .ccs2-embed button:focus { box-shadow: none; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .b:hover, :is(body.ccs2,.ccs2-embed) .ccs2-embed .b:focus { background: var(--panel-2); color: var(--text); }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .b-primary:hover, :is(body.ccs2,.ccs2-embed) .ccs2-embed .b-primary:focus { background: var(--accent); color: #031427; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .b-danger:hover { background: transparent; color: var(--bad); }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .dock-btn:hover, :is(body.ccs2,.ccs2-embed) .ccs2-embed .term-tab:hover { background: var(--panel); color: var(--text); }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .gui .b:hover { background: #fff; color: #18202c; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .gui .b-primary:hover { background: #2f6fb5; color: #fff; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .gui-navbtn:hover { background: #d3dce8; color: #24324a; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .gui-link:hover { background: none; color: #1f5fa8; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed a { color: var(--accent); }

:is(body.ccs2,.ccs2-embed) .ccs2-embed h2, :is(body.ccs2,.ccs2-embed) .ccs2-embed h3 { color: inherit; font-family: var(--sans); }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .ws-rail { position: relative; }

:is(body.ccs2,.ccs2-embed) .demo-intro { min-height: 420px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 40px clamp(20px, 5vw, 64px); background: radial-gradient(900px 500px at 20% 10%, #16305a 0, var(--bg) 70%); }

:is(body.ccs2,.ccs2-embed) .demo-intro h2, :is(body.ccs2,.ccs2-embed) .demo-intro h3, :is(body.ccs2,.ccs2-embed) .demo-intro h4 { margin: 6px 0 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 700; color: var(--text); }

:is(body.ccs2,.ccs2-embed) .demo-intro p { margin: 0; color: var(--muted); max-width: 720px; font-size: 15px; }

:is(body.ccs2,.ccs2-embed) .demo-intro ul { margin: 4px 0 8px; padding-left: 20px; color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .demo-intro .pill { align-self: flex-start; }

:is(body.ccs2,.ccs2-embed) .demo-intro .demo-start { align-self: flex-start; padding: 12px 22px; font-size: 16px; }
@media (max-width: 900px) {
	.ccs2-embed.running { height: 640px; }

:is(body.ccs2,.ccs2-embed) .ccs2-embed .ws-rail { position: absolute; top: var(--top); bottom: 62px; }
}

:is(body.ccs2,.ccs2-embed) .ccs2-embed.running { height: 720px; }

:is(body.ccs2,.ccs2-embed) .demo-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }

:is(body.ccs2,.ccs2-embed) .demo-mock { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }

:is(body.ccs2,.ccs2-embed) .demo-mock .mt { display: flex; gap: 6px; margin-bottom: 10px; }

:is(body.ccs2,.ccs2-embed) .demo-mock .mt i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }

:is(body.ccs2,.ccs2-embed) .demo-mock .app { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; background: var(--bg-2); margin-bottom: 6px; font-size: 13px; }

:is(body.ccs2,.ccs2-embed) .demo-mock .app b { font-weight: 600; }

:is(body.ccs2,.ccs2-embed) .demo-mock .app span:not(.dot) { margin-left: auto; font-size: 11px; color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .demo-mock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

:is(body.ccs2,.ccs2-embed) .demo-mock .dot.red { background: var(--bad); }

:is(body.ccs2,.ccs2-embed) .demo-mock .dot.green { background: var(--ok); }

:is(body.ccs2,.ccs2-embed) .demo-mock .pg { margin-top: 10px; font-size: 12px; color: var(--muted); }

:is(body.ccs2,.ccs2-embed) .demo-mock .pg .bar { margin-top: 5px; }

:is(body.ccs2,.ccs2-embed) .demo-mock .pg .bar i { width: 38%; background: linear-gradient(90deg, var(--accent), var(--ok)); }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; }

:is(body.ccs2,.ccs2-embed) .demo-mock { display: none; } }
/* Integrated workstation readability and flexible evidence tables. */
:is(body.ccs2,.ccs2-embed) { --muted:#b6c4db; --top:84px; }

:is(body.ccs2,.ccs2-embed) .ws-top { flex-wrap:wrap; gap:8px; padding:8px 14px; }

:is(body.ccs2,.ccs2-embed) .ws-title { flex:1 1 260px; }

:is(body.ccs2,.ccs2-embed) .ws-timer { font-size:12px; }

:is(body.ccs2,.ccs2-embed) .rail-sec h3, :is(body.ccs2,.ccs2-embed) .pill, :is(body.ccs2,.ccs2-embed) .dock-btn { font-size:12px; }

:is(body.ccs2,.ccs2-embed) .gui .muted { color:#465771; }

:is(body.ccs2,.ccs2-embed) .gui-row-acts { white-space:normal; }

:is(body.ccs2,.ccs2-embed) .gui-row-acts .b { margin:2px; }

:is(body.ccs2,.ccs2-embed) .gui-table { table-layout:fixed; }

:is(body.ccs2,.ccs2-embed) .gui-table th, :is(body.ccs2,.ccs2-embed) .gui-table td { overflow-wrap:anywhere; white-space:normal; }

:is(body.ccs2,.ccs2-embed) .gui-fields dd { overflow-wrap:anywhere; }

:is(body.ccs2,.ccs2-embed) .home a { color:#9fd3ff; }

:is(body.ccs2,.ccs2-embed) .home a.b-primary { color:#031427; }

:is(body.ccs2,.ccs2-embed) .home select { background:#172744; border:1px solid #48618c; border-radius:8px; padding:8px; }

:is(body.ccs2,.ccs2-embed) .card.locked { opacity:1; }

:is(body.ccs2,.ccs2-embed) .modal a { color:#9fd3ff; }
@media (min-width:901px) and (max-width:1200px) { :root { --rail:270px; --dock:66px; --top:112px; } }
@media(max-width:900px) { :root { --top:112px; }

:is(body.ccs2,.ccs2-embed) .ws-top .ws-title {flex-basis:100%;} }

:is(body.ccs2,.ccs2-embed) .ccs2 textarea::placeholder, :is(body.ccs2,.ccs2-embed) .ccs2 input::placeholder {color:#aebfd8;opacity:1}

:is(body.ccs2,.ccs2-embed) .ccs2 .gui input::placeholder, :is(body.ccs2,.ccs2-embed) .ccs2 .gui textarea::placeholder {color:#526580;opacity:1}

/* Theme-safe controls and a header that grows with its content. */
:is(body.ccs2,.ccs2-embed) .ws{grid-template-rows:auto minmax(0,1fr)}
:is(body.ccs2,.ccs2-embed) .ws-top{min-height:84px;align-content:center;overflow:visible}
:is(body.ccs2,.ccs2-embed) button{background:transparent;border:1px solid transparent;padding:6px 10px;color:inherit;border-radius:6px;font-size:13px;line-height:1.35;min-height:0}
:is(body.ccs2,.ccs2-embed) .b{background:var(--panel-2);border-color:var(--line);padding:6px 12px;color:var(--text)}
:is(body.ccs2,.ccs2-embed) .b-primary{background:var(--accent);color:#031427}
:is(body.ccs2,.ccs2-embed) .gui button{color:#24324a}
:is(body.ccs2,.ccs2-embed) .gui .b{background:#fff;border-color:#b7c4d6;color:#18202c}
:is(body.ccs2,.ccs2-embed) .gui .b-primary{background:#2f6fb5;color:#fff}
:is(body.ccs2,.ccs2-embed) .gui input,:is(body.ccs2,.ccs2-embed) .gui select,:is(body.ccs2,.ccs2-embed) .gui textarea{background:#fff;color:#18202c;min-width:0}
:is(body.ccs2,.ccs2-embed) .dock-btn{background:transparent;padding:8px 2px;font-size:12px}
:is(body.ccs2,.ccs2-embed) .dock-btn svg{width:22px!important;height:22px!important;flex:none}
:is(body.ccs2,.ccs2-embed) .win-bar h2{line-height:1.4;color:var(--text)}
:is(body.ccs2,.ccs2-embed) .win-bar .b{padding:3px 8px}
:is(body.ccs2,.ccs2-embed) .ws-title{white-space:normal;overflow:visible;line-height:1.4}
:is(body.ccs2,.ccs2-embed) .term-tabs{flex-wrap:wrap}
:is(body.ccs2,.ccs2-embed) .gui-title{flex-wrap:wrap}
:is(body.ccs2,.ccs2-embed) .gui-table th,:is(body.ccs2,.ccs2-embed) .gui-table td{line-height:1.5}
.ccs2-embed{container-type:inline-size}
@container (max-width:1000px){.ccs2-embed .ws{grid-template-columns:64px minmax(0,1fr);grid-template-areas:"top top" "dock desk"}.ccs2-embed .ws-rail{position:absolute;top:var(--top);right:0;bottom:0;width:min(340px,90%);z-index:8000;transform:translateX(100%)}.ccs2-embed .ws-rail.open{transform:none}.ccs2-embed .rail-toggle{display:inline-block}.ccs2-embed .win{left:0!important;top:0!important;width:100%!important;height:100%!important}.ccs2-embed .win:not(.focus){display:none}.ccs2-embed .win-resize{display:none}.ccs2-embed .gui-body{flex-direction:column}.ccs2-embed .gui-nav{flex:0 0 auto;flex-direction:row;flex-wrap:wrap}.ccs2-embed .gui-navbtn{white-space:normal}}

.basics-demo{margin:18px 0;padding:20px;border:1px solid #4ca9de;border-radius:12px;background:#0b1629;color:#a8dcff;animation:ccl-basics-in .7s ease-out}
@keyframes ccl-basics-in{from{opacity:.15;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.basics-demo{animation:none}}

.ccs2-embed .overlay{position:absolute;inset:0}.ccs2-embed .overlay .modal{max-height:calc(100% - 32px)}
:is(body.ccs2,.ccs2-embed) .gui-title .muted{color:#c9d8ed}

/* A compact, guided homepage task. */
.ccs2-demo .simple-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:16px 0;max-width:100%}
.ccs2-demo .simple-steps li{border:1px solid #48618c;border-radius:8px;padding:10px;font-size:13px;line-height:1.5;color:#cbd9ed;background:#14233a}
.ccs2-demo .simple-steps li[aria-current=step]{border-color:#7ad9ff;background:#1a3d59;color:#f0faff;font-weight:700}
.ccs2-demo .simple-steps li.done{border-color:#68d7a4;color:#9ae7c3}
.ccs2-demo .demo-intro .model{max-width:850px;line-height:1.6}.ccs2-demo .demo-intro .model p{margin-top:8px}
@media(max-width:700px){.ccs2-demo .simple-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep every ticket and tool reachable on short screens and saved window layouts. */
body.ccs2{height:auto;min-height:100vh;overflow-x:hidden;overflow-y:auto}
body.ccs2 .ccs2-root{height:auto;min-height:100vh}
body.ccs2 .ws{height:max(760px,100vh);height:max(760px,100dvh);min-width:0;grid-template-columns:var(--dock) minmax(0,1fr) var(--rail)}
:is(body.ccs2,.ccs2-embed) .ws-desk{min-width:0;min-height:0;overflow:auto;scrollbar-gutter:stable}
:is(body.ccs2,.ccs2-embed) .win-body{overflow:auto;overscroll-behavior:auto;scrollbar-gutter:stable}
:is(body.ccs2,.ccs2-embed) .rail-scroll{min-height:0;overflow-y:auto;overscroll-behavior:auto}
:is(body.ccs2,.ccs2-embed) .rail-foot{flex-shrink:0}
@media(max-width:900px){body.ccs2 .ws{grid-template-columns:minmax(0,1fr);height:max(760px,100dvh)}}

/* Homepage: a small working troubleshooting console, with optional hints. */
.ccs2-demo .troubleshoot-demo{gap:16px;padding:28px clamp(18px,4vw,44px)}
.ccs2-demo .troubleshoot-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ccs2-demo .troubleshoot-panel{min-width:0;border:1px solid #496082;border-radius:10px;padding:18px;background:#101d32}
.ccs2-demo .troubleshoot-panel h4{font-size:17px;margin:0 0 10px;line-height:1.4}
.ccs2-demo .troubleshoot-panel p{font-size:14px;margin:8px 0;line-height:1.6}
.ccs2-demo .troubleshoot-panel .tool-row{margin-top:12px}
.ccs2-demo .troubleshoot-panel label{display:block;color:#dbe7f9;font-size:14px}
.ccs2-demo .troubleshoot-panel textarea{display:block;width:100%;min-height:100px;margin:10px 0 14px;padding:12px;background:#081322;color:#e6edf7;border:1px solid #617da4;border-radius:8px;resize:vertical;line-height:1.6}
.ccs2-demo .troubleshoot-panel textarea::placeholder{color:#afc2dd;opacity:1}
.ccs2-demo .troubleshoot-status{padding:12px;border-left:3px solid #59c5ff;background:#152b44;color:#d9edff!important;min-height:48px}
.ccs2-demo .troubleshoot-demo>.b{align-self:flex-start}
.ccs2-demo .troubleshoot-demo details{color:#c6d7ef;line-height:1.6}
@media(max-width:700px){.ccs2-demo .troubleshoot-tools{grid-template-columns:1fr}.ccs2-demo .troubleshoot-demo{padding:20px 16px}}

/* Readable workstation tables and compact tool navigation. */
:is(body.ccs2,.ccs2-embed){--muted:#b6c5dc}
:is(body.ccs2,.ccs2-embed) .gui-host{container-type:inline-size}
:is(body.ccs2,.ccs2-embed) .gui-table{table-layout:auto}
:is(body.ccs2,.ccs2-embed) .gui-table th,:is(body.ccs2,.ccs2-embed) .gui-table td{word-break:normal;overflow-wrap:break-word;padding:8px}
:is(body.ccs2,.ccs2-embed) .gui-badge{white-space:nowrap;word-break:normal;overflow-wrap:normal}
:is(body.ccs2,.ccs2-embed) .gui-tablewrap{overflow-x:auto;max-width:100%}
:is(body.ccs2,.ccs2-embed) .pill{font-size:12px}
:is(body.ccs2,.ccs2-embed) .ws-top{gap:8px}
:is(body.ccs2,.ccs2-embed) .home summary{padding:12px 0;font-weight:600;color:#d8e8fb;cursor:pointer}
@container(max-width:650px){.gui-body{flex-direction:column}.gui-nav{flex:0 0 auto;flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid #c8d2df}.gui-navbtn{white-space:normal}.gui-main{padding:12px}}

/* Match the base shell specificity so the phone dock cannot occupy the desktop row. */
@media(max-width:900px){
:is(body.ccs2,.ccs2-embed) .ws{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--top) minmax(0,1fr) 64px;grid-template-areas:"top" "desk" "dock"}
:is(body.ccs2,.ccs2-embed) .ws-desk{grid-area:desk}
:is(body.ccs2,.ccs2-embed) .ws-dock{grid-area:dock;display:flex;flex-direction:row;align-items:center;gap:3px;min-height:64px;height:64px;overflow-x:auto;overflow-y:hidden;border-right:0;border-top:1px solid var(--line)}
:is(body.ccs2,.ccs2-embed) .dock-btn{flex:0 0 58px;height:54px;min-height:54px;max-height:54px;padding:4px 2px}
:is(body.ccs2,.ccs2-embed) .ws-rail{grid-area:auto;bottom:64px}
}

/* v2: Pro upgrade card on results and locked queue tickets */
:is(body.ccs2,.ccs2-embed) .upsell-pro { display:flex; flex-direction:column; align-items:flex-start; gap:8px; border:1px solid #4ca9de; }
:is(body.ccs2,.ccs2-embed) .upsell-pro p { margin:0; }
:is(body.ccs2,.ccs2-embed) .shift-ticket.locked { opacity:1; border-style:dashed; }

/* v2: one-row ticket header, More menu, coach marks, shift queue inside the app shell */
:is(body.ccs2,.ccs2-embed) .ws-top.v2 { flex-wrap: nowrap; }
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(body.ccs2,.ccs2-embed) .ws-top.v2 > * { flex-shrink: 0; }
:is(body.ccs2,.ccs2-embed) .ws-top.v2 > .ws-title { flex-shrink: 1; }
@media (max-width: 760px) { :is(body.ccs2,.ccs2-embed) .ws-top.v2 { flex-wrap: wrap; } }
:is(body.ccs2,.ccs2-embed) .more { position: relative; }
:is(body.ccs2,.ccs2-embed) .more-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 180px; display: flex; flex-direction: column; padding: 6px; background: var(--panel, #121f36); border: 1px solid #48618c; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
:is(body.ccs2,.ccs2-embed) .more-list[hidden] { display: none; }
:is(body.ccs2,.ccs2-embed) .more-item { text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 8px 10px; border-radius: 6px; cursor: pointer; }
:is(body.ccs2,.ccs2-embed) .more-item:hover, :is(body.ccs2,.ccs2-embed) .more-item:focus-visible { background: #1d3354; outline: none; }
.coach { position: fixed; z-index: 100002; width: 320px; max-width: calc(100vw - 24px); padding: 16px; background: #121f36; color: #e6edf7; border: 1px solid #4ca9de; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.5); font: 14px/1.5 system-ui, sans-serif; }
.coach p { margin: 6px 0 12px; color: #c7d4e8; }
.coach .b { border: 1px solid #48618c; background: #172744; color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }
.coach .b-primary { background: #1682cc; }
.coach .tool-row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.coach-ring { position: fixed; z-index: 100001; border: 2px solid #4cc3ff; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(2,8,23,.45); pointer-events: none; }
.ccs2-app-embed { container-type: normal; color: var(--text); font: 14px/1.45 var(--sans); }
.ccs2-app-embed .overlay { position: fixed; inset: 0; z-index: 100000; }
.ccs2-app-embed .home { min-height: 0; }

/* v2 Job Workstation page inside the app shell: no inner scroll area, consistent spacing. */
.ccs2-app-embed { height: auto; }
.ccs2-app-embed .ccs2-root, .ccs2-app-embed .home { height: auto; min-height: 0; overflow: visible; padding: 0; }
.ccs2-app-embed .home-in { max-width: 1100px; margin: 0; }
.ccs2-app-embed .v2h { display: flex; flex-direction: column; gap: 28px; }
.ccs2-app-embed .v2h-head h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.25; color: var(--text); }
.ccs2-app-embed .v2h-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
.ccs2-app-embed .v2h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ccs2-app-embed .v2h-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.ccs2-app-embed .v2h-steps strong { display: block; color: var(--text); }
.ccs2-app-embed .v2h-steps p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ccs2-app-embed .v2h-num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #1682cc; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.ccs2-app-embed .v2h-block { display: flex; flex-direction: column; gap: 14px; }
.ccs2-app-embed .v2h-sec { margin: 0; font-size: 18px; color: var(--text); }
.ccs2-app-embed .v2h-sec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ccs2-app-embed .v2h-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ccs2-app-embed .v2h-role { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 168px; padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.ccs2-app-embed .v2h-role:hover { border-color: #4ca9de; transform: translateY(-1px); }
.ccs2-app-embed .v2h-role:focus-visible { outline: 2px solid #4cc3ff; outline-offset: 2px; }
.ccs2-app-embed .v2h-role.is-selected { border-color: #4cc3ff; box-shadow: 0 0 0 2px rgba(76,195,255,.35); background: var(--panel-2); }
.ccs2-app-embed .v2h-role strong { font-size: 16px; }
.ccs2-app-embed .v2h-role-desc { flex: 1; color: var(--muted); font-size: 13px; line-height: 1.5; }
.ccs2-app-embed .v2h-role-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.ccs2-app-embed .v2h-role-cta { font-size: 13px; font-weight: 600; color: var(--accent); }
.ccs2-app-embed .v2h-role.is-selected .v2h-role-cta { color: var(--ok); }
.ccs2-app-embed .v2h-panel { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.ccs2-app-embed .shift-desk.v2h-panel h2 { margin: 0 0 6px; font-size: 18px; }
.ccs2-app-embed .shift-desk.v2h-panel > * + * { margin-top: 12px; }
.ccs2-app-embed .v2h-more > summary { cursor: pointer; font-weight: 600; }
.ccs2-app-embed .v2h-more[open] > summary { margin-bottom: 16px; }
.ccs2-app-embed .v2h-block > .v2h-more + .v2h-more { margin-top: 0; }
.ccs2-app-embed .v2h-foot { margin: 0; }
@media (max-width: 600px) { .ccs2-app-embed .v2h-head h2 { font-size: 22px; } .ccs2-app-embed .v2h-role { min-height: 0; } }
.ccs2-app-embed #v2h-shift { scroll-margin-top: 88px; }

/* Replays grouped under their original scenario */
.ticket-group{display:flex;flex-direction:column;gap:8px;min-width:0}
.ticket-replays{border:1px dashed #2c3f5e;border-radius:10px;padding:8px 12px}
.ticket-replays>summary{cursor:pointer;color:#8cdfff;font-size:13px;font-weight:600}
.ticket-replays[open]>summary{margin-bottom:8px}
.ticket-replays .cards{grid-template-columns:1fr}

/* Window layout controls */
.dock-sep{display:block;height:1px;margin:6px 8px;background:#2c3f5e}
.dock-layout span{font-size:11px;font-weight:700;letter-spacing:.03em}
.win-body{overscroll-behavior:contain}

/* Mobile workstation table controls: comfortable touch targets. */
@media (max-width:900px){
:is(body.ccs2,.ccs2-embed) .gui-table .b,
:is(body.ccs2,.ccs2-embed) .gui-table .gui-link{min-height:44px;min-width:44px;white-space:normal;line-height:1.3;padding:10px 8px;box-sizing:border-box}
:is(body.ccs2,.ccs2-embed) .gui-table .b{margin-block:3px}
}

/* Terminal input: visible keyboard focus, and 16px text on phones so iOS Safari does not zoom on focus.
   On phones, command output keeps its columns and scrolls sideways inside the terminal instead of wrapping. */
:is(body.ccs2,.ccs2-embed) .term-in:focus-within{box-shadow:inset 0 0 0 2px var(--accent)}
@media (max-width:900px){
:is(body.ccs2,.ccs2-embed) .term-in input{font-size:16px}
:is(body.ccs2,.ccs2-embed) .term-out pre{white-space:pre}
/* Larger touch targets for toolbar buttons, device tabs and panel close buttons. */
:is(body.ccs2,.ccs2-embed) .b.b-sm{min-height:40px}
:is(body.ccs2,.ccs2-embed) .term-tab{min-height:36px}
:is(body.ccs2,.ccs2-embed) .b.b-sm.b-ghost{min-width:44px;min-height:44px}
}
/* 2.9.0 incident report, query results, Interview Portfolio */
:is(body.ccs2,.ccs2-embed) .rep-chips{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:0 0 8px}
:is(body.ccs2,.ccs2-embed) .rep-ok{color:var(--ok);font-weight:700}
:is(body.ccs2,.ccs2-embed) .term-out pre{overflow-x:auto}
:is(body.ccs2,.ccs2-embed) .cs-label{border:1px solid var(--line,#ccc);border-radius:8px;padding:8px 10px;font-size:13px;font-weight:600}
:is(body.ccs2,.ccs2-embed) .cs-actions li{margin:0 0 4px}
:is(body.ccs2,.ccs2-embed) .cs-actions code{white-space:pre-wrap;word-break:break-word}
:is(body.ccs2,.ccs2-embed) .cs-cta{border:1px solid var(--line,#ccc);border-radius:10px;padding:12px;margin:12px 0}
:is(body.ccs2,.ccs2-embed) .cs-avail li{margin:0 0 6px}
:is(body.ccs2,.ccs2-embed) .v2h-new{border:1px solid var(--accent,#3b82f6);border-radius:12px;padding:12px 14px}
:is(body.ccs2,.ccs2-embed) .dock-tool.on{background:var(--accent-soft,rgba(59,130,246,.18));box-shadow:inset 3px 0 0 var(--accent,#3b82f6)}

/* 2.13.2: administrator-only preview badge (QA Q03) */
:is(body.ccs2,.ccs2-embed) .pill-preview { border-color: #f0b43c; color: #ffd27a; background: rgba(240, 180, 60, .10); }

/* ===================================================================================================
   2.17.0 phone and small-tablet layout (all eight career workspaces share this shell).
   - Compact header: the ticket title on one line, then one scrollable row of controls (Task, Hint, Help, Submit, More).
   - Tools open full screen between header and dock; the task/evidence panel is a bottom sheet with a Close button.
   - Bottom dock is compact and respects the iPhone home-indicator safe area; it hides while the keyboard is open.
   - The guided tour is a bottom sheet that always fits the screen and sits above every panel.
   =================================================================================================== */
:is(body.ccs2,.ccs2-embed) .rail-close{display:none}
.more-item.m-only{display:none}
@media (max-width:760px){
:is(body.ccs2,.ccs2-embed) .ws{--top:auto;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) calc(56px + env(safe-area-inset-bottom,0px));grid-template-areas:"top" "desk" "dock";height:min(var(--ws-vvh,100dvh),100dvh);min-height:520px}
:is(body.ccs2,.ccs2-embed) .ws-top.v2{flex-wrap:wrap;align-items:center;min-height:0;padding:6px 8px;gap:6px;row-gap:6px}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-brand{display:none}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-title{flex:1 0 100%;order:-2;font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 > .pill{display:none}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-title::after{content:attr(data-mode);margin-left:8px;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-shiftbtn{display:none}
:is(body.ccs2,.ccs2-embed) .more-item.m-only{display:block}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .b.b-sm{min-height:40px;padding:6px 9px;font-size:13px;white-space:nowrap;flex:0 0 auto}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .rail-toggle{order:-1}
:is(body.ccs2,.ccs2-embed) .more-list{right:0;max-width:calc(100vw - 16px);z-index:9500}
:is(body.ccs2,.ccs2-embed) .more-item{min-height:44px;text-align:left}
:is(body.ccs2,.ccs2-embed) .ws-desk{min-height:0;position:relative}
:is(body.ccs2,.ccs2-embed) .win{border-radius:0;border-left:0;border-right:0;min-width:0}
:is(body.ccs2,.ccs2-embed) .win-bar{min-height:44px;padding:4px 6px 4px 12px}
:is(body.ccs2,.ccs2-embed) .win-bar .b{min-width:44px;min-height:40px}
:is(body.ccs2,.ccs2-embed) .win-body{padding:10px}
:is(body.ccs2,.ccs2-embed) .ws-dock{height:calc(56px + env(safe-area-inset-bottom,0px));min-height:0;padding:2px 4px env(safe-area-inset-bottom,0px);gap:2px;scroll-snap-type:x proximity;scrollbar-width:none}
:is(body.ccs2,.ccs2-embed) .ws-dock::-webkit-scrollbar{display:none}
:is(body.ccs2,.ccs2-embed) .dock-btn{flex:0 0 60px;height:50px;min-height:50px;max-height:50px;padding:3px 2px;font-size:11px;gap:1px;scroll-snap-align:start}
:is(body.ccs2,.ccs2-embed) .dock-btn svg{width:20px!important;height:20px!important}
:is(body.ccs2,.ccs2-embed) .dock-btn span{max-width:58px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
:is(body.ccs2,.ccs2-embed) .dock-sep{display:none}
:is(body.ccs2,.ccs2-embed) .ws-rail{position:fixed;top:auto;left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom,0px));width:auto;max-height:min(78dvh,calc(var(--ws-vvh,100dvh) - 120px));border-radius:16px 16px 0 0;border:1px solid var(--line);border-bottom:0;transform:translateY(calc(100% + 90px));visibility:hidden;pointer-events:none;transition:transform .2s,visibility 0s linear .2s;z-index:9000;overflow:auto;box-shadow:0 -12px 32px rgba(0,0,0,.55);padding-top:6px}
:is(body.ccs2,.ccs2-embed) .ws-rail.open{transform:none;visibility:visible;pointer-events:auto;transition:transform .2s,visibility 0s}
:is(body.ccs2,.ccs2-embed) .ws-rail .rail-close{display:block;position:sticky;top:0;margin:0 8px 0 auto;min-height:40px;min-width:64px;z-index:2;background:var(--panel-2,#1a2a45);border:1px solid var(--line)}
:is(body.ccs2,.ccs2-embed) .ws-rail .rail-scroll{overflow:visible}
body.ws-kb :is(body.ccs2,.ccs2-embed) .ws-dock, body.ws-kb .ws-dock{display:none}
body.ws-kb :is(body.ccs2,.ccs2-embed) .ws, body.ws-kb .ws{grid-template-rows:auto minmax(0,1fr) 0}
body.ws-kb .ws-rail{bottom:0}
:is(body.ccs2,.ccs2-embed) .modal{max-width:calc(100vw - 16px);max-height:calc(var(--ws-vvh,100dvh) - 24px);overflow:auto}
}
.coach-sheet{left:8px!important;right:8px!important;width:auto!important;max-width:none!important;top:auto;bottom:calc(64px + env(safe-area-inset-bottom,0px));max-height:min(45dvh,320px);overflow:auto;z-index:100003}
.coach-sheet.coach-top{bottom:auto}
.coach-sheet p{overflow-wrap:anywhere}
.coach-sheet .tool-row .b{min-height:44px;min-width:64px}
@media (min-width:761px) and (max-width:900px){
:is(body.ccs2,.ccs2-embed) .ws-top.v2{flex-wrap:wrap}
:is(body.ccs2,.ccs2-embed) .dock-btn{flex:0 0 64px}
}
@media (max-width:900px) and (orientation:landscape) and (max-height:500px){
:is(body.ccs2,.ccs2-embed) .ws{grid-template-rows:auto minmax(0,1fr) calc(48px + env(safe-area-inset-bottom,0px));min-height:0;height:var(--ws-vvh,100dvh)}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-title{flex-basis:auto;flex:1 1 160px}
:is(body.ccs2,.ccs2-embed) .dock-btn{height:44px;min-height:44px;max-height:44px}
.coach-sheet{max-height:60dvh;bottom:calc(52px + env(safe-area-inset-bottom,0px))}
}
.more-item.xs-only{display:none}
@media (max-width:400px){
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .ws-helpbtn{display:none}
:is(body.ccs2,.ccs2-embed) .more-item.xs-only{display:block}
:is(body.ccs2,.ccs2-embed) .ws-top.v2 .b.b-sm{padding:6px 8px}
}
/* 2026-11-23: primary links in the results pop-up keep dark text on the accent button. */
:is(body.ccs2,.ccs2-embed) .modal-actions a.b-primary, :is(body.ccs2,.ccs2-embed) .modal-actions a.b-primary:visited, :is(body.ccs2,.ccs2-embed) .modal-actions a.b-primary:hover { color: #031427; text-decoration: none; }
