/* Kiri Deck page: only what site.css doesn't already have. */
.dk-status { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-top:24px; font-size:14px; color:var(--muted); }
.dk-chip { font:600 10.5px/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ember-text);
  border:1px solid var(--ember); border-radius:4px; padding:5px 8px; background:var(--ember-soft); }
.dk-shot { margin:0; }
.dk-shot img { display:block; width:100%; height:auto; background:#0F1419; }
.dk-cards > div { display:flex; flex-direction:column; }
.dk-cards .more { margin-top:auto; padding-top:18px; }
.dk-cards p a:not(.more) { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.dk-cards p a:not(.more):hover { color:var(--ember-text); }
.dk-also { margin-top:40px; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:48px; }
.dk-swap > div { grid-template-columns:210px minmax(0, 1fr); }
.dk-qa > div { grid-template-columns:320px minmax(0, 1fr); }
.dk-src { margin-top:22px; font-size:13px; color:var(--muted); line-height:1.6; }
.dk-src .more { margin-left:10px; }
@media (max-width:820px) {
  .dk-also { grid-template-columns:minmax(0, 1fr); }
  .dk-swap > div, .dk-qa > div { grid-template-columns:minmax(0, 1fr); gap:4px; }
}
/* Teams: providers and vertical tabs (same tab look as Forge's install box, turned on its side) */
.dk-prov { margin:8px 0 40px; }
.dk-prov-k { font:400 12px/1.2 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 14px; }
.dk-prov ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.dk-prov li { display:inline-flex; align-items:center; gap:9px; padding:8px 12px; border:1px solid var(--line-strong); background:var(--surface); font-size:14px; color:var(--ink); }
.dk-prov li img { width:20px; height:20px; object-fit:contain; }
.dk-prov-more { margin:14px 0 0; font-size:13.5px; color:var(--muted); }
.dk-vt { display:grid; grid-template-columns:230px minmax(0,1fr); align-items:start; }
.dk-vtabs { display:flex; flex-direction:column; gap:2px; padding-top:10px; position:relative; z-index:1; }
.dk-vtab { display:flex; align-items:center; gap:10px; text-align:left; background:none; border:1px solid transparent; border-right:0; padding:9px 12px; cursor:pointer; font:500 14px/1.2 var(--f-text); color:var(--muted); }
.dk-vtab .ic { width:17px; height:17px; flex:none; }
.dk-vtab:hover { color:var(--ink); }
.dk-vtab[aria-selected="true"] { background:var(--surface); color:var(--ink); border-color:var(--line-strong); border-left:3px solid var(--ember); font-weight:600; margin-right:-1px; padding:12px 14px; }
.dk-vtab[aria-selected="true"] .ic { color:var(--ember-text); }
.dk-vtab:focus-visible { outline:1px solid var(--ink); outline-offset:2px; }
.dk-vpanels { background:var(--surface); border:1px solid var(--line-strong); box-shadow:9px 9px 0 -1px var(--surface-2), 9px 9px 0 0 var(--line-strong); min-height:520px; }
.dk-vpanel { padding:28px 30px 30px; }
.dk-vkick { margin:0 0 8px; font:400 12px/1.2 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ember-text); }
.dk-vpanel > p { color:var(--text-2); max-width:760px; }
.dk-vlist { margin:18px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 28px; }
.dk-vlist li { position:relative; padding-left:18px; font-size:14px; line-height:1.5; color:var(--text-2); }
.dk-vlist li::before { content:""; position:absolute; left:0; top:.6em; width:7px; height:7px; background:var(--ember); }
.dk-vmeta { margin:22px 0 0; padding-top:16px; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 28px; }
.dk-vmeta dt { font:400 11.5px/1.2 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:5px; }
.dk-vmeta dd { margin:0; font-size:14px; color:var(--ink); }
.dk-vshot { margin:24px 0 0; border:1px solid var(--line-strong); }
.dk-vshot img { display:block; width:100%; height:auto; background:#0F1419; }
.dk-acc { display:none; }
@media (max-width:900px) {
  .dk-vt { grid-template-columns:minmax(0,1fr); }
  .dk-vtabs { display:none; }
  .dk-vpanels { background:none; border:0; box-shadow:none; min-height:0; border-top:1px solid var(--line-strong); }
  .dk-acc { display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:none; border:0; border-bottom:1px solid var(--line-strong); padding:16px 4px; cursor:pointer; font:500 16px/1.2 var(--f-text); color:var(--text-2); }
  .dk-acc .ic { width:19px; height:19px; flex:none; color:var(--muted); }
  .dk-acc-car { margin-left:auto; width:9px; height:9px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); margin-top:-4px; }
  .dk-acc[aria-expanded="true"] { color:var(--ink); font-weight:600; border-bottom-color:transparent; box-shadow:inset 3px 0 0 var(--ember); padding-left:14px; background:var(--surface); }
  .dk-acc[aria-expanded="true"] .ic { color:var(--ember-text); }
  .dk-acc[aria-expanded="true"] .dk-acc-car { transform:rotate(-135deg); margin-top:4px; }
  .dk-vpanel { padding:6px 14px 24px; background:var(--surface); border-bottom:1px solid var(--line-strong); box-shadow:inset 3px 0 0 var(--ember); }
  .dk-vkick { display:none; }
  .dk-vlist, .dk-vmeta { grid-template-columns:minmax(0,1fr); }
}

.dk-vpanel .d3 { margin-bottom:10px; }
/* grey sections on this page: a different background each (the owner, 1 Dec 2026), in place of the ribbed wall */
#manage, #health, #create, #questions { background-image:none; }
#manage::before, #health::before, #create::before, #questions::before { opacity:.35; }
/* yard from above, faint, in the right margin only */
#manage { background-image:
  linear-gradient(to left, transparent 0%, color-mix(in srgb, var(--bg-alt) 60%, transparent) 22%, var(--bg-alt) 42%),
  repeating-linear-gradient(0deg, transparent 0 26px, var(--bg-alt) 26px 34px),
  repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 58px, transparent 58px 62px, color-mix(in srgb, var(--ink) 3%, transparent) 62px 120px, transparent 120px 124px, transparent 124px 186px);
  background-size:100% 100%, 100% 100%, 186px 100%; }
/* corner castings: a sparse dot grid, faded behind the middle */
#health { background-image:
  radial-gradient(ellipse 60% 70% at 50% 50%, var(--bg-alt) 35%, transparent 80%),
  radial-gradient(circle, color-mix(in srgb, var(--ink) 16%, transparent) 1.1px, transparent 1.6px);
  background-size:100% 100%, 28px 28px; }
/* a soft glow, ember top right and blue bottom left, like the page top */
#create { background-image:
  radial-gradient(45% 55% at 92% 8%, color-mix(in srgb, var(--ember) 7%, transparent), transparent 70%),
  radial-gradient(40% 50% at 4% 96%, color-mix(in srgb, #3D8BFF 6%, transparent), transparent 70%); }
/* #questions stays quiet: only the stacked boxes along its top edge */
/* the screenshot sits after the intro, before the points */
.dk-vshot { margin:20px 0 4px; }
@media (max-width:900px) { .dk-vshot { margin:16px -6px 4px; } }
/* a label over each feature list, like Underneath and In Rancher */
.dk-vlabel { margin:22px 0 0; font:400 11.5px/1.2 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.dk-vlabel + .dk-vlist { margin-top:12px; }
.dk-vmeta { grid-template-columns:minmax(0,1fr); }
/* the selected tab sits on a second one behind it, like Forge's install tabs (offset down, since these stand vertically) */
@media (min-width:901px) {
  .dk-vtab[aria-selected="true"] { box-shadow:5px 5px 0 -1px var(--surface-2), 5px 5px 0 0 var(--line-strong); margin-bottom:5px; }
}

/* --- the tour: one window, a pill per screen, a glow behind it --- */
.dk-tour { position:relative; isolation:isolate; margin-top:52px; }
.dk-tour::before { content:""; position:absolute; inset:-150px -110px -70px; z-index:-1; pointer-events:none;
  background:
    radial-gradient(ellipse 34% 40% at 60% 52%, color-mix(in srgb, var(--ember) 17%, transparent) 0%, color-mix(in srgb, var(--ember) 9%, transparent) 42%, color-mix(in srgb, var(--ember) 3%, transparent) 74%, transparent 100%),
    radial-gradient(ellipse 28% 32% at 30% 64%, color-mix(in srgb, #3D8BFF 9%, transparent) 0%, color-mix(in srgb, #3D8BFF 4%, transparent) 50%, transparent 100%); }
/* the tabs are the site's own (Forge's install box): they stand on the window's top edge, and the chosen one
   rises out of it, taller, with the yellow lid and a second tab's edge behind it */
.dk-tour-tabs { display:flex; align-items:flex-end; gap:4px; min-width:0; padding-left:10px; position:relative; z-index:1; }
.dk-tour-tabs button { background:none; border:1px solid transparent; border-bottom:0; padding:8px 13px 9px; cursor:pointer; font:500 14px/1.2 var(--f-text); color:var(--muted); white-space:nowrap; }
.dk-tour-tabs button:hover { color:var(--ink); }
.dk-tour-tabs button[aria-selected="true"] { background:var(--surface); color:var(--ink); border-color:var(--line-strong); border-top:3px solid var(--ember); padding:12px 18px 13px; font-size:15.5px; font-weight:600; margin-bottom:-1px; box-shadow:9px 0 0 -1px var(--surface-2), 9px 0 0 0 var(--line-strong); }
.dk-tour-tabs button:focus-visible { outline:1px solid var(--ink); outline-offset:2px; }
@media (prefers-reduced-motion: no-preference) { .dk-tour-tabs button { transition:color .12s, border-color .12s, background-color .12s; } }
.phero .dk-tour .dk-shot { margin-top:0; box-shadow:0 30px 80px -30px color-mix(in srgb, var(--ember) 30%, transparent); }
/* each screenshot at its own height, whole (one of them is shorter than the rest) */
.dk-tour .dk-shot img { height:auto; }
/* --- the strip: a label, then each kind of cluster in its own cell --- */
.dk-strip { border-bottom:1px solid var(--line); background:var(--bg); }
.dk-strip .wrap { display:grid; grid-template-columns:230px minmax(0, 1fr); align-items:stretch; }
.dk-strip .k { display:flex; align-items:center; margin:0; padding:30px 24px 30px 0; font:400 12px/1.7 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--text-2); }
/* each cell is as wide as its own logo and name plus the same share of the spare room, so the space either side is equal in every cell */
.dk-strip ul { list-style:none; margin:0; padding:0; display:flex; }
.dk-strip li { flex:1 1 auto; display:flex; align-items:center; justify-content:center; gap:10px; padding:30px 14px; border-left:1px solid var(--line); font-size:14.5px; font-weight:500; color:var(--ink); white-space:nowrap; }
.dk-strip li img { width:26px; height:26px; object-fit:contain; flex:none; }
/* --- mixed cards: quiet ones, and two tall ones in the page's opposite colours with a picture --- */
.dk-bento { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-rows:minmax(150px, auto); gap:14px; }
.dk-b { position:relative; overflow:hidden; display:flex; flex-direction:column; padding:22px 24px 24px; border:1px solid var(--line-strong); border-radius:10px; background:var(--surface); }
.dk-b .k { margin:0 0 14px; color:var(--ember-text); }
.dk-b h3 { font-size:17px; letter-spacing:-.015em; margin-bottom:8px; }
.dk-b p:not(.k) { font-size:14.5px; line-height:1.6; color:var(--text-2); }
/* the two tall cards: the same dark card, raised a little, with the yellow lid the tabs have (they were cream, the
   page's opposite colour, and read as white blocks on a dark page) */
.dk-b-on { background:var(--surface-2); border-color:var(--line-strong); border-top:3px solid var(--ember); box-shadow:7px 7px 0 -1px var(--surface), 7px 7px 0 0 var(--line-strong); overflow:visible; }
.dk-b-on .dk-b-shot { margin-right:-25px; margin-bottom:-25px; border-radius:8px 0 9px 0; }
.dk-b-on h3 { font-size:24px; line-height:1.15; letter-spacing:-.03em; font-weight:500; margin-bottom:10px; }
.dk-b-shot { display:block; flex:none; height:206px; margin:auto -24px -24px 0; border-top:1px solid #26303A; border-left:1px solid #26303A; border-radius:8px 0 0 0; overflow:hidden; background:#0F1419; }
.dk-b-shot img { display:block; width:230%; max-width:none; height:auto; }
@media (max-width:1000px) {
  .dk-strip .wrap { grid-template-columns:minmax(0, 1fr); }
  .dk-strip .k { padding:22px 0 14px; } .dk-strip .k br { display:none; }
  .dk-strip ul { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); border-top:1px solid var(--line); }
  .dk-strip li { padding:18px 8px; justify-content:flex-start; } .dk-strip li:nth-child(3n+1) { border-left:0; }
  .dk-strip li:nth-child(n+4) { border-top:1px solid var(--line); }
  .dk-bento { grid-template-columns:minmax(0, 1fr); grid-auto-rows:auto; }
  .dk-bento > .dk-b { grid-area:auto !important; }
  .dk-tour::before { inset:-80px -24px -40px; }
}
@media (max-width:560px) {
  .dk-strip ul { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .dk-strip li:nth-child(n) { border-left:0; border-top:1px solid var(--line); } .dk-strip li:nth-child(even) { border-left:1px solid var(--line); }
  .dk-tour-tabs { gap:0; padding-left:0; overflow-x:auto; scrollbar-width:none; } .dk-tour-tabs::-webkit-scrollbar { display:none; }
  .dk-tour-tabs button { padding:7px 8px 8px; font-size:13px; }
  .dk-tour-tabs button[aria-selected="true"] { padding:10px 11px 11px; font-size:14px; box-shadow:none; }
}
/* the tour tabs scroll sideways when they don't fit; arrows show when there is more that way */
.dk-tour-bar { position:relative; z-index:1; }
.dk-tour-bar .dk-tour-tabs { overflow-x:auto; overflow-y:hidden; scrollbar-width:none; scroll-behavior:smooth; margin-bottom:-1px; padding-top:2px; }
.dk-tour-bar .dk-tour-tabs::-webkit-scrollbar { display:none; }
.dk-tour-bar .dk-tour-tabs button[aria-selected="true"] { margin-bottom:0; }
.dk-tour-arrow { position:absolute; bottom:1px; z-index:2; width:44px; height:38px; display:none; align-items:center; border:0; padding:0; cursor:pointer; color:var(--ink); font:600 20px/1 var(--f-text); }
.dk-tour-arrow.on { display:flex; }
.dk-tour-arrow.l { left:0; justify-content:flex-start; padding-left:2px; background:linear-gradient(90deg, var(--bg) 45%, transparent); }
.dk-tour-arrow.r { right:0; justify-content:flex-end; padding-right:2px; background:linear-gradient(270deg, var(--bg) 45%, transparent); }
.dk-tour-arrow span { display:grid; place-items:center; width:26px; height:26px; border-radius:50%; border:1px solid var(--line-strong); background:var(--surface); font-size:15px; }
.dk-tour-arrow:hover span { border-color:var(--ink); }
.dk-tour-arrow:focus-visible span { outline:1px solid var(--ink); outline-offset:2px; }
/* a card across two columns; a link at the foot of a card; a picture that starts past the app's sidebar */
.dk-b-wide { flex-direction:row; align-items:center; gap:28px; }
.dk-b-wide > div { flex:1; min-width:0; }
.dk-b .more { margin-top:auto; padding-top:16px; }
.dk-b .k .ic { width:15px; height:15px; }
.dk-b .k { display:flex; align-items:center; gap:10px; }
.dk-b p a:not(.more) { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.dk-b-on p:not(.k) { margin-bottom:4px; }
.dk-b-on .more + .dk-b-shot { margin-top:22px; }
.dk-b-shot.past img { margin-left:-28%; }
@media (max-width:1000px) { .dk-b-wide { flex-direction:column; align-items:stretch; gap:0; } }
/* the page's drawing (the ship's wheel) stays at the top right, beside the words, as it was before the tour made this
   block tall: it used to be stretched over the whole block and ended up behind the window */
.phero:has(.dk-tour) > .pat-wrap { bottom:auto; height:430px; }
@media (max-width:760px) { .phero:has(.dk-tour) > .pat-wrap { height:340px; } }
/* no ribbed stripes behind words on this page's grey bands */
main > section.sec.alt { background-image:none; }
main > section.sec.alt::before { opacity:.35; }
/* every card with its own picture: two across, and each picture zoomed in on the part of the window that matters, so
   its text reads at close to real size. --z is the zoom (the screenshot's width as a percentage of the frame's), --x and
   --y the top-left corner of the part shown, in the app window's own points (it is 1500 by 901). */
.dk-bento-all { grid-template-columns:repeat(2, minmax(0, 1fr)); grid-auto-rows:auto; gap:16px; }
.dk-bento-all .dk-b { padding:26px 28px 28px; }
.dk-bento-all .dk-b h3 { font-size:20px; letter-spacing:-.02em; }
.dk-bento-all .dk-b .more { margin-top:0; }
.dk-bento-all .dk-b p:not(.k) { margin-bottom:auto; padding-bottom:4px; max-width:460px; }
.dk-bento-all .dk-b-shot { flex:none; height:auto; aspect-ratio:550 / 300; margin:24px -28px -28px 0; }
.dk-bento-all .dk-b-shot img { width:calc(var(--z) * 1%); margin-left:calc(var(--x) / 1500 * var(--z) * -1%); margin-top:calc(var(--y) / 901 * var(--z) * -0.6007%); }
@media (max-width:760px) { .dk-bento-all { grid-template-columns:minmax(0, 1fr); } }

/* the opening words run wider here than the site's 600px, so they read in two long lines beside the tour, not a narrow column */
.phero .lead { max-width:860px; }
