/* Matechi product walkthroughs (staging v3d). The window, the zoom, the tips; then the two apps' screens. */
.wk-sec { background: #0b0d0e; color: #fff; padding: clamp(56px, 7vw, 110px) 0 clamp(48px, 6vw, 90px); }
.wk-sec .wk-head { display: grid; gap: 14px; margin-bottom: clamp(22px, 3vw, 40px); }
.wk-sec .wk-head .kick { color: var(--accent, #5ee0b5); font-size: 16px; letter-spacing: .04em; }
.wk-sec .wk-head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.02; font-weight: 500; max-width: 18ch; }
.wk-sec .wk-head p { margin: 0; color: rgba(255,255,255,.66); font-size: clamp(17px, 1.4vw, 21px); max-width: 52ch; line-height: 1.4; }
.wk-chaps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.wk-chaps button { all: unset; cursor: pointer; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); }
.wk-chaps button.on { border-color: var(--accent, #5ee0b5); color: #fff; background: rgba(94,224,181,.12); }

/* the window */
.wk-win { border-radius: 12px; overflow: hidden; background: #1b1f22; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.wk-chrome { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; background: #24292d; border-bottom: 1px solid rgba(255,255,255,.07); }
.wk-dots { display: flex; gap: 6px; } .wk-dots i { width: 11px; height: 11px; border-radius: 50%; background: #4a5156; display: block; }
.wk-dots i:nth-child(1) { background: #ec6a5e; } .wk-dots i:nth-child(2) { background: #f4bf4f; } .wk-dots i:nth-child(3) { background: #61c554; }
.wk-tabs { display: flex; gap: 4px; min-width: 0; }
.wk-tabs button { all: unset; cursor: pointer; font: 500 13px/1 system-ui, "Segoe UI", sans-serif; color: rgba(255,255,255,.55); padding: 8px 12px; border-radius: 7px; white-space: nowrap; }
.wk-tabs button[aria-selected="true"] { background: #3a4248; color: #fff; }
.wk-chrome .wk-addr { margin-left: auto; font: 12px ui-monospace, Consolas, monospace; color: rgba(255,255,255,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-view { position: relative; height: clamp(420px, calc(min(1200px, 100vw - 2 * var(--edge, 24px)) * .625), 760px); overflow: hidden; background: #111518; }
.wk-screen { position: absolute; left: 0; top: 0; width: 1280px; height: 800px; transform-origin: 0 0; transition: transform .8s cubic-bezier(.65, 0, .25, 1); }
.wk-ring { position: absolute; z-index: 40; border: 3px solid #5ee0b5; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(5, 10, 12, .28), 0 0 24px rgba(94,224,181,.6); pointer-events: none;
  transition: left .8s cubic-bezier(.65,0,.25,1), top .8s cubic-bezier(.65,0,.25,1), width .8s cubic-bezier(.65,0,.25,1), height .8s cubic-bezier(.65,0,.25,1); animation: wkpulse 2.2s ease-in-out infinite; }
@keyframes wkpulse { 50% { box-shadow: 0 0 0 9999px rgba(5,10,12,.28), 0 0 36px rgba(94,224,181,.9); } }
.wk-tip { position: absolute; z-index: 50; background: #fff; color: #111; border-radius: 12px; padding: 14px 16px 15px; box-shadow: 0 16px 40px rgba(0,0,0,.45); transition: left .5s ease, top .5s ease; font-family: var(--font, system-ui); }
.wk-tip b, .wk-dock b { display: block; font-size: 17px; line-height: 1.2; font-weight: 600; margin: 4px 0 6px; }
.wk-tip p, .wk-dock p { margin: 0; font-size: 15px; line-height: 1.42; color: #333; }
.wk-tn { font: 600 12px ui-monospace, Consolas, monospace; color: #0d8a64; letter-spacing: .04em; }
.wk-tip::before { content: ""; position: absolute; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); top: calc(50% - 7px); }
.wk-tip[data-side="l"]::before { left: -6px; } .wk-tip[data-side="r"]::before { right: -6px; } .wk-tip[data-side="t"]::before { display: none; }
.wk-dock { display: none; background: #fff; color: #111; padding: 14px 16px; min-height: 128px; }
.wk-ctl { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #24292d; border-top: 1px solid rgba(255,255,255,.07); }
.wk-ctl button { all: unset; cursor: pointer; font: 600 15px var(--font, system-ui); padding: 10px 18px; border-radius: 999px; border: 1.4px solid rgba(255,255,255,.5); color: #fff; }
.wk-ctl button[data-wk-next] { background: #5ee0b5; border-color: #5ee0b5; color: #04110c; }
.wk-ctl button:disabled { opacity: .35; cursor: default; }
.wk-ctl .wk-n { font: 13px ui-monospace, Consolas, monospace; color: rgba(255,255,255,.65); white-space: nowrap; }
.wk-prog { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; } .wk-prog i { display: block; height: 100%; width: 0; background: #5ee0b5; transition: width .5s ease; }
.wk-hint { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.5); }
@media (max-width: 699px) {
  .wk-view { height: 470px; }
  .wk-dock { display: block; }
  .wk-chrome .wk-addr { display: none; }
  .wk-ctl .wk-prog { display: none; }
  .wk-ctl { justify-content: space-between; }
}

/* the screens: two apps in one 1280x800 screen; the app and screen crossfade */
.wk-screen .app { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.wk-screen[data-app="revit"] .app-revit, .wk-screen[data-app="web"] .app-web { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.v3d { position: relative; background: #dfe6ea; overflow: hidden; }
.v3d canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.v3d canvas:active { cursor: grabbing; }
.v3d .v3d-hint { position: absolute; left: 10px; bottom: 8px; font: 11px system-ui, "Segoe UI", sans-serif; color: #4a5559; background: rgba(255,255,255,.75); padding: 3px 7px; border-radius: 4px; pointer-events: none; z-index: 2; }
.v3d .v3d-wait { position: absolute; inset: 0; display: grid; place-items: center; font: 12px system-ui; color: #6a7579; }
.v3d:has(canvas) .v3d-wait { display: none; }

/* ---------------------------------------------------------------------------------------------- Revit 2024 + add-in */
.app-revit { background: #f3f3f3; color: #1d1d1d; font: 12px/1.3 "Segoe UI", system-ui, sans-serif; }
.rv-tabs { display: flex; height: 22px; align-items: center; background: #e9e9e9; border-bottom: 1px solid #cfcfcf; padding-left: 0; }
.rv-tabs span { padding: 0 9px; height: 22px; line-height: 22px; white-space: nowrap; }
.rv-tabs .file { background: #2a6ac7; color: #fff; }
.rv-tabs .on { background: #f7f7f7; border: 1px solid #cfcfcf; border-bottom: none; }
.rv-tabs .ctx { background: #cfe8b8; display: none; } .st-pipe .rv-tabs .ctx { display: inline; }
.rv-ribbon { height: 92px; background: #f7f7f7; border-bottom: 1px solid #cfcfcf; display: flex; }
.rv-group { display: grid; grid-template-rows: 1fr 18px; border-right: 1px solid #dadada; padding: 4px 6px 0; }
.rv-group > div { display: flex; gap: 2px; align-items: flex-start; }
.rv-group > span { text-align: center; color: #333; font-size: 11.5px; }
.rv-btn { width: 52px; display: grid; justify-items: center; gap: 2px; font-size: 11px; text-align: center; color: #444; line-height: 1.1; padding: 2px; border-radius: 3px; }
.rv-btn i { width: 26px; height: 26px; border-radius: 4px; background: #d7dde3; display: block; position: relative; }
.rv-btn i::after { content: ""; position: absolute; inset: 6px; border: 2px solid #6b7c8c; border-radius: 3px; }
.rv-btn.hot i { background: #cfe0f7; } .rv-btn.hot i::after { border-color: #2a6ac7; }
.rv-mini { display: grid; gap: 4px; font-size: 11px; color: #555; padding-top: 4px; } .rv-mini span::before { content: "\25A1  "; color: #888; }
.rv-opt { display: none; height: 24px; align-items: center; gap: 10px; padding: 0 8px; background: #eef3e6; border-bottom: 1px solid #cfcfcf; }
.st-pipe .rv-opt { display: flex; } .rv-opt b { font-weight: 600; } .rv-opt code { background: #2a6ac7; color: #fff; padding: 1px 4px; font: 12px "Segoe UI"; }
.rv-body { position: absolute; top: 115px; left: 0; right: 0; bottom: 22px; display: grid; grid-template-columns: 200px 1fr 330px; }
.st-pipe .rv-body { top: 139px; }
.rv-left { border-right: 1px solid #cfcfcf; background: #fbfbfb; display: grid; grid-template-rows: 1fr 1fr; min-height: 0; }
.rv-pane { overflow: hidden; border-bottom: 1px solid #cfcfcf; }
.rv-pane h4 { margin: 0; font: 600 12px "Segoe UI"; padding: 3px 6px; background: #e9e9e9; border-bottom: 1px solid #d5d5d5; }
.rv-type { display: flex; gap: 8px; align-items: center; padding: 6px; border-bottom: 1px solid #e3e3e3; }
.rv-type i { width: 38px; height: 30px; background: #dfe3e6; border-radius: 3px; display: block; }
.rv-props { display: grid; grid-template-columns: 92px 1fr; font-size: 11.5px; }
.rv-props span { padding: 2px 6px; border-bottom: 1px solid #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-props .g { grid-column: 1 / -1; font-weight: 600; background: #f0f0f0; }
.rv-props .pipe, .st-pipe .rv-props .view { display: none; } .st-pipe .rv-props .pipe { display: block; }
.rv-props .pipe.g, .rv-props .view.g { } .st-pipe .rv-props .pipe.g { display: block; }
.rv-tree { padding: 4px 6px; font-size: 11.5px; line-height: 1.62; white-space: nowrap; }
.rv-tree div { padding-left: calc(var(--d, 0) * 12px); } .rv-tree div::before { content: "\2212  "; color: #888; } .rv-tree div.c::before { content: "+  "; }
.rv-center { position: relative; display: grid; grid-template-rows: 22px 1fr; min-width: 0; background: #fff; }
.rv-vtab { background: #e6e6e6; display: flex; align-items: end; border-bottom: 1px solid #cfcfcf; } .rv-vtab span { background: #fff; padding: 3px 10px; border: 1px solid #cfcfcf; border-bottom: none; font-size: 11.5px; }
.rv-center .v3d { background: #fff; }
.rv-right { background: #fff; border-left: 1px solid #cfcfcf; display: grid; grid-template-rows: auto auto auto auto 1fr auto; min-height: 0; position: relative; }
.qa-head { background: #2563eb; color: #fff; padding: 9px 12px; } .qa-head b { display: block; font-size: 16px; } .qa-head span { font-size: 11px; opacity: .85; }
.qa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 10px; }
.qa-stats div { border-radius: 6px; padding: 7px 4px; text-align: center; transition: background .4s; }
.qa-stats b { display: block; font-size: 22px; font-weight: 600; transition: color .4s; } .qa-stats span { font-size: 11px; color: #777; }
.qa-stats .c { background: #fdf0f0; } .qa-stats .c b { color: #c62828; } .qa-stats .w { background: #fff8e8; } .qa-stats .w b { color: #e08a00; } .qa-stats .p { background: #eefaf2; } .qa-stats .p b { color: #2e9a52; }
.qa-filter { padding: 4px 10px 6px; font-size: 11px; color: #555; display: grid; gap: 4px; }
.qa-filter .r { display: flex; gap: 8px; align-items: center; } .qa-filter select { font: 11px "Segoe UI"; width: 80px; }
.qa-act { display: flex; gap: 10px; align-items: center; padding: 6px 10px; background: #f6f9ff; font-size: 11.5px; } .qa-act b { color: #2563eb; } .qa-act .r { margin-left: auto; color: #18a058; font-weight: 600; }
.qa-act .ar { border: 1px solid #ccc; padding: 2px 7px; border-radius: 3px; color: #444; font-weight: 400; }
.qa-list { overflow: hidden; padding: 4px 8px; position: relative; }
.qa-grp { display: flex; gap: 6px; align-items: center; padding: 5px 2px; border-bottom: 1px solid #eee; font-size: 11.5px; white-space: nowrap; }
.qa-grp i { width: 13px; height: 13px; border: 1px solid #555; border-radius: 50%; flex: none; } .qa-grp em { font-style: normal; overflow: hidden; text-overflow: ellipsis; flex: 1; } .qa-grp b { color: #2563eb; }
.qa-card { border-left: 3px solid #c62828; background: #fff; padding: 5px 7px; margin: 4px 0 4px 6px; box-shadow: 0 1px 0 #eee; font-size: 11px; display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; }
.qa-card .sev { color: #c62828; font-weight: 600; } .qa-card .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .qa-card .m { color: #777; }
.qa-card .fx { grid-row: 1 / span 3; grid-column: 2; align-self: center; color: #18a058; font-weight: 600; }
.qa-card.open { background: #fffafa; } .qa-card .det { grid-column: 1 / -1; display: none; border: 1px solid #f0dada; background: #fff; padding: 6px 7px; margin-top: 4px; line-height: 1.4; }
.st-open .qa-card.open .det { display: block; }
.qa-card .det dl { display: grid; grid-template-columns: 56px 1fr; margin: 6px 0; gap: 1px 6px; } .qa-card .det dt { color: #777; } .qa-card .det dd { margin: 0; } .qa-card .det dd.bad { color: #c62828; font-weight: 600; }
.qa-card .det .src { color: #888; font-size: 10.5px; }
.qa-cards, .qa-grpwrap { display: none; } .st-grp .qa-cards, .st-grp .qa-grpwrap { display: block; } .st-grp .qa-cards { animation: wkin .5s ease; }
.qa-cards { display: none !important; } .st-open .qa-cards { display: block !important; }
.qa-empty { position: absolute; inset: 40px 10px auto; text-align: center; color: #777; } .st-grp .qa-empty, .st-run .qa-empty { display: none; }
.qa-running { display: none; position: absolute; inset: 60px 20px auto; text-align: center; font-size: 13px; } .st-run .qa-running { display: block; }
.qa-running i { display: block; height: 4px; background: #e3e3e3; margin: 10px 30px; border-radius: 2px; overflow: hidden; } .qa-running i::after { content: ""; display: block; height: 100%; width: 40%; background: #2563eb; animation: wkbar 1.1s linear infinite; }
@keyframes wkbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.qa-foot { border-top: 1px solid #e3e3e3; padding: 6px 10px 10px; font-size: 11px; color: #555; display: grid; gap: 6px; }
.qa-foot .runin { display: flex; gap: 12px; align-items: center; } .qa-foot .runin span::before { content: "\25CB "; } .qa-foot .runin span.on::before { content: "\25C9 "; color: #2563eb; }
.qa-foot .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .qa-foot .btns span { text-align: center; padding: 7px; border-radius: 3px; background: #2563eb; color: #fff; } .qa-foot .btns span + span { background: #fff; color: #2563eb; border: 1px solid #c9d6f5; }
.rv-status { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: #e9e9e9; border-top: 1px solid #cfcfcf; font-size: 11px; padding: 3px 8px; color: #444; }
.rv-dlg { position: absolute; z-index: 5; background: #fff; border: 1px solid #9aa4ad; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 12.5px; opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.rv-dlg .tt { display: flex; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid #e3e3e3; color: #333; } .rv-dlg .bd { padding: 12px 14px; } .rv-dlg .ft { display: flex; justify-content: flex-end; padding: 8px 10px; border-top: 1px solid #eee; } .rv-dlg .ft span { border: 1px solid #2a6ac7; padding: 3px 18px; }
.rv-dlg h5 { margin: 0 0 10px; color: #1f3a93; font: 400 17px "Segoe UI"; } .rv-dlg p { margin: 2px 0; }
.rv-dlg .lk { border: 1px solid #c9d6f5; padding: 8px 10px; margin-top: 8px; color: #2a6ac7; } .rv-dlg .lk small { display: block; color: #2a6ac7; font-size: 11px; } .rv-dlg .lk + .lk { border-color: transparent; margin-top: 2px; }
.st-imported .dlg-import, .st-fail .dlg-fail, .st-pass .dlg-pass, .st-pick .dlg-pick { opacity: 1; transform: none; }
.dlg-import { left: 420px; top: 290px; width: 330px; } .dlg-import p { color: #1f3a93; font-size: 14px; margin: 8px 0; }
.dlg-fail, .dlg-pass { left: 380px; top: 210px; width: 430px; }
.dlg-pick { left: 360px; top: 220px; width: 470px; } .dlg-pick .files div { padding: 5px 8px; border-bottom: 1px solid #eee; } .dlg-pick .files div.on { background: #cce4ff; }

/* ------------------------------------------------------------------------------------------------- the platform */
.app-web { background: #0b1220; color: #e6ebf2; font: 13px/1.35 "DM Sans", "Albert Sans", system-ui, sans-serif; }
.wb-top { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid #1c2638; background: #0d1526; }
.wb-top .logo { font-weight: 700; letter-spacing: .14em; font-size: 12px; } .wb-top .proj { border: 1px solid #263248; border-radius: 6px; padding: 4px 10px; } .wb-top .ok { color: #22c55e; font-size: 12px; } .wb-top .av { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #10b981; color: #04110c; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.wb-side { position: absolute; top: 44px; left: 0; bottom: 0; width: 176px; border-right: 1px solid #1c2638; padding: 10px 8px; background: #0d1526; }
.wb-side .h { font-size: 10px; letter-spacing: .1em; color: #6b7a90; margin: 12px 8px 4px; } .wb-side a { display: block; padding: 6px 8px; border-radius: 6px; color: #b4c0d0; font-size: 12.5px; }
.wb-side a.on { background: #10372e; color: #34d399; }
.wb-main { position: absolute; top: 44px; left: 176px; right: 250px; bottom: 0; overflow: hidden; }
.wb-agent { position: absolute; top: 44px; right: 0; width: 250px; bottom: 0; border-left: 1px solid #1c2638; padding: 12px; background: #0d1526; overflow: hidden; }
.wb-agent .h { display: flex; justify-content: space-between; font-weight: 600; } .wb-agent .h span { background: #0f3b2e; color: #34d399; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.wb-agent .ready { color: #8fa0b5; font-size: 11px; margin: 8px 0 10px; } .wb-agent .ready::before { content: "\25CF "; color: #22c55e; }
.feed div { border-top: 1px solid #1c2638; padding: 6px 0; font-size: 11px; color: #c3cedc; } .feed div small { display: block; color: #6b7a90; font-size: 10px; }
.feed div em { font-style: normal; font-size: 9.5px; padding: 1px 5px; border-radius: 3px; background: #0f3b2e; color: #34d399; margin-right: 4px; } .feed div em.s { background: #1e2a4a; color: #93b4ff; }
.feed .f-run, .feed .f-done, .feed .f-rev1, .feed .f-rescan, .feed .f-fix { display: none; }
.st-ran .feed .f-run, .st-ran .feed .f-done, .st-run .feed .f-run, .st-rev1 .feed .f-rev1, .st-rescan .feed .f-rescan, .st-queued .feed .f-fix { display: block; animation: wkin .5s ease; }
@keyframes wkin { from { opacity: 0; transform: translateY(-6px); } }
.wb-scr { position: absolute; inset: 0; padding: 18px 22px; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; overflow: hidden; }
.wk-screen[data-screen="rules"] .scr-rules, .wk-screen[data-screen="run"] .scr-run, .wk-screen[data-screen="report"] .scr-report, .wk-screen[data-screen="issues"] .scr-issues,
.wk-screen[data-screen="viewer"] .scr-viewer, .wk-screen[data-screen="blocked"] .scr-blocked, .wk-screen[data-screen="upload"] .scr-upload { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.crumb { color: #8fa0b5; font-size: 12px; margin-bottom: 8px; } .crumb b { color: #e6ebf2; font-weight: 500; }
.wb-h1 { font-size: 22px; font-weight: 700; margin: 0 0 4px; } .wb-sub { color: #8fa0b5; font-size: 12px; }
.wcard { background: #111a2c; border: 1px solid #1f2a3e; border-radius: 8px; }
.wpill { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #1e2a3e; color: #b4c0d0; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.btnw { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; border: 1px solid #2a3850; color: #d6deea; font-size: 12px; }
.btnw.g { background: #10b981; border-color: #10b981; color: #04110c; font-weight: 600; }
/* rules */
.rl { display: grid; grid-template-columns: 250px 1fr; gap: 14px; height: 100%; }
.rl-list .r { padding: 8px 10px; border-bottom: 1px solid #1c2638; font-size: 12px; } .rl-list .r b { display: block; font-family: ui-monospace, Consolas, monospace; font-weight: 500; color: #cfe; font-size: 11.5px; } .rl-list .r span { color: #8fa0b5; font-size: 11px; }
.rl-list .r.on { background: #12233a; border-left: 2px solid #34d399; }
.rd .tag { font-family: ui-monospace, Consolas, monospace; background: #1a2436; padding: 3px 8px; border-radius: 4px; color: #b9c7d8; display: inline-block; }
.rd .desc { padding: 12px 14px; margin: 10px 0; color: #c3cedc; line-height: 1.5; font-size: 12.5px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .kpis .wcard { padding: 10px 12px; } .kpis small { display: block; color: #8fa0b5; letter-spacing: .08em; font-size: 10px; } .kpis b { font-size: 26px; }
.tabsw { display: flex; gap: 20px; border-bottom: 1px solid #1f2a3e; margin: 12px 0 10px; font-size: 12.5px; color: #8fa0b5; } .tabsw span { padding: 6px 0; } .tabsw span.on { color: #34d399; border-bottom: 2px solid #34d399; }
.applies { padding: 10px 14px; display: grid; grid-template-columns: 110px 1fr; gap: 6px; font-size: 12.5px; } .applies dt { color: #8fa0b5; } .applies dd { margin: 0; }
/* upload / run */
.drop { border: 1.5px dashed #2f3d56; border-radius: 10px; padding: 26px; text-align: center; color: #8fa0b5; margin: 14px 0; }
.files2 .f { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #1c2638; font-size: 12.5px; } .files2 .f span { color: #8fa0b5; font-size: 11.5px; }
.files2 .f em { font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 4px; background: #0f3b2e; color: #34d399; }
.runbox { padding: 14px; margin-top: 12px; display: grid; gap: 10px; } .runbox .wbar { height: 6px; background: #1c2638; border-radius: 4px; overflow: hidden; }
.runbox .wbar i { display: block; height: 100%; width: 10%; background: #10b981; transition: width 2.4s ease; } .st-ran .runbox .wbar i { width: 100%; }
.runbox .lines div { font-size: 12px; color: #8fa0b5; padding: 3px 0; } .runbox .lines .done { display: none; color: #34d399; } .st-ran .runbox .lines .done { display: block; }
/* report */
.rp-head { display: flex; justify-content: space-between; gap: 12px; } .rp-act { display: flex; gap: 14px; align-items: start; color: #c3cedc; font-size: 12px; } .rp-act .pdf { border: 1px solid #2a3850; padding: 5px 10px; border-radius: 6px; }
.rp-cards { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 14px 0; }
.rp-cards .wcard { padding: 9px 10px; } .rp-cards small { display: block; font-size: 9.5px; letter-spacing: .08em; color: #8fa0b5; height: 24px; } .rp-cards b { font-size: 22px; }
.rp-cards .wbar { height: 4px; background: #1c2638; border-radius: 3px; margin-top: 6px; } .rp-cards .wbar i { display: block; height: 100%; border-radius: 3px; }
.y { color: #f5a524; } .rd2 { color: #f43f5e; } .bl { color: #3b82f6; } .gr { color: #8fa0b5; } .gn { color: #34d399; }
.rp-sum { padding: 12px 14px; } .rp-sum h4 { margin: 0 0 10px; font-size: 13px; } .rp-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.rp-sum table { width: 100%; border-collapse: collapse; font-size: 12px; } .rp-sum th { text-align: left; color: #6b7a90; font-weight: 500; font-size: 10.5px; letter-spacing: .06em; padding: 4px 6px; } .rp-sum td { padding: 6px; border-top: 1px solid #1c2638; }
.sev { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: #3a1420; color: #fb7185; } .sev.b { background: #2a2f3a; color: #b4c0d0; } .sev.w { background: #3a2a10; color: #fbbf24; }
.rec { display: grid; grid-template-columns: auto 1fr; gap: 8px; font-size: 12px; margin-bottom: 8px; align-items: start; }
.rp-charts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; } .rp-charts .wcard { padding: 10px 12px; height: 132px; display: grid; grid-template-rows: auto 1fr; }
.rp-charts .bars { display: flex; align-items: end; gap: 14px; padding: 6px 8px 0; border-bottom: 1px solid #263248; } .rp-charts .bars i { width: 26px; display: block; border-radius: 3px 3px 0 0; transition: height .8s ease; }
.rp-charts .bars i.c { background: #f43f5e; } .rp-charts .bars i.b { background: #64748b; } .rp-charts .bars i.t { background: #14b8a6; }
.wk-screen:not(.st-rev1) .rev1only, .wk-screen.st-rev1 .rev0only { display: none !important; }
.files2 .f.r1 { display: none; } .st-rev1 .files2 .f.r1 { display: flex; animation: wkin .5s ease; }
.app-revit i.v1, .app-revit i.v2 { display: none; } .app-revit i { font-style: normal; }
.st-grp .app-revit i.v0, .st-run .app-revit i.v0 { display: none; } .st-grp .app-revit i.v1, .st-run .app-revit i.v1 { display: inline; }
.st-rev1 .app-revit i.v0, .st-rev1 .app-revit i.v1 { display: none; } .st-rev1 .app-revit i.v2 { display: inline; }
.st-run:not(.st-grp) .app-revit .qa-stats i.v1 { display: none; } .st-run:not(.st-grp) .app-revit .qa-stats i.v0 { display: inline; }
.st-rev1 .qa-grpwrap { display: none; }
.wk-screen[data-screen="upload"] [data-nav="upload"], .wk-screen[data-screen="rules"] [data-nav="rules"], .wk-screen[data-screen="run"] [data-nav="run"],
.wk-screen[data-screen="report"] [data-nav="report"], .wk-screen[data-screen="issues"] [data-nav="issues"], .wk-screen[data-screen="blocked"] [data-nav="issues"],
.wk-screen[data-screen="viewer"] [data-nav="viewer"] { background: #10372e; color: #34d399; }
/* issues */
.is-bar { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 10px; } .is-bar .sel { border: 1px solid #263248; border-radius: 6px; padding: 5px 9px; color: #c3cedc; }
.is-q { padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-size: 12.5px; margin-bottom: 8px; } .is-q .n { background: #1a2436; padding: 2px 8px; border-radius: 4px; }
.is-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 560px; }
.is-rows .irow { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #1c2638; font-size: 12px; transition: background .3s; }
.is-rows .irow small { display: block; color: #8fa0b5; font-size: 11px; } .is-rows .irow .fx { font-size: 10.5px; color: #34d399; }
.is-rows .irow.on { background: #12233a; box-shadow: inset 2px 0 #34d399; }
.is-det { padding: 14px; position: relative; } .is-det h4 { margin: 6px 0 4px; font-size: 14px; } .is-det .msg { color: #c3cedc; font-size: 12.5px; line-height: 1.45; margin: 8px 0 12px; }
.is-det .meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 12px; } .is-det .meta small { display: block; color: #8fa0b5; }
.ovr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 12px 0; } .ovr div { border-radius: 8px; padding: 10px; font-size: 12px; } .ovr .o { background: #2a1620; border: 1px solid #5b2333; } .ovr .q { background: #0f2a22; border: 1px solid #1d5a45; } .ovr .p { border: 1px solid #1f2a3e; }
.ovr b { display: block; font-size: 15px; margin-top: 4px; } .ovr .o b { color: #fb7185; } .ovr .q b { color: #34d399; }
.cite { font-size: 11.5px; color: #8fa0b5; border-top: 1px solid #1c2638; padding-top: 8px; line-height: 1.5; }
.is-det .acts { display: flex; gap: 8px; margin-top: 12px; }
.fixm { position: absolute; z-index: 6; left: 50%; top: 52%; width: 440px; transform: translate(-50%, -46%) scale(.97); background: #182033; border: 1px solid #2a3850; border-radius: 10px; padding: 14px 16px; box-shadow: 0 30px 70px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease; font-size: 12px; }
.st-fix .fixm { opacity: 1; transform: translate(-50%, -50%); } .st-fix .scr-issues .is-list { filter: brightness(.45); transition: filter .35s; }
.fixm h5 { margin: 0 0 10px; font-size: 14px; display: flex; gap: 8px; align-items: center; } .fixm .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; } .fixm small { display: block; color: #8fa0b5; font-size: 10px; letter-spacing: .08em; }
.fixm .opt { border: 1px solid #263248; border-radius: 6px; padding: 8px 10px; margin-top: 6px; } .fixm .opt.on { border-color: #10b981; } .fixm .opt span { display: block; color: #8fa0b5; font-size: 11px; }
.fixm .ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 10px; text-align: center; } .fixm .ba div { border-radius: 6px; padding: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 15px; font-weight: 700; }
.fixm .ba .bf { background: #2a1620; color: #fb7185; border: 1px solid #5b2333; } .fixm .ba .af { background: #0f2a22; color: #34d399; border: 1px solid #1d5a45; }
.fixm .ft { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
/* viewer */
.vw { display: grid; grid-template-columns: 1fr 260px; gap: 12px; height: 690px; } .vw .v3d { border-radius: 8px; height: 100%; }
.vw-tools { display: flex; gap: 6px; align-items: center; font-size: 12px; margin-bottom: 8px; } .vw-tools span.on { background: #10b981; color: #04110c; border-radius: 5px; padding: 3px 9px; font-weight: 600; } .vw-tools span { padding: 3px 9px; }
.vw-props { padding: 10px 12px; font-size: 12px; overflow: hidden; } .vw-props dl { display: grid; grid-template-columns: 104px 1fr; gap: 5px 8px; margin: 0; } .vw-props dt { color: #8fa0b5; } .vw-props dd { margin: 0; overflow-wrap: anywhere; }
.st-rev1 .vw-props .r0 { display: none; } .vw-props .r1 { display: none; } .st-rev1 .vw-props .r1 { display: block; }

/* ------------------------------------------------------------------------------------- Clash: the platform (rev 1a) */
.wk-screen[data-screen="cup"] .scr-cup, .wk-screen[data-screen="cview"] .scr-cview, .wk-screen[data-screen="crun"] .scr-crun,
.wk-screen[data-screen="clist"] .scr-clist, .wk-screen[data-screen="cdet"] .scr-cdet, .wk-screen[data-screen="cres"] .scr-cres { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.wk-screen[data-screen="cup"] [data-nav="upload"], .wk-screen[data-screen="cview"] [data-nav="viewer"], .wk-screen[data-screen="crun"] [data-nav="clashes"],
.wk-screen[data-screen="clist"] [data-nav="clashes"], .wk-screen[data-screen="cdet"] [data-nav="clashes"], .wk-screen[data-screen="cres"] [data-nav="clashes"] { background: #10372e; color: #34d399; }
.app-web em.hd, .app-web em.hp, .app-web em.bt, .app-web em.ok, .app-web em.af, .app-web em.ui, .app-web em.ai, .app-web em.rv, .app-web em.ac {
  font-style: normal; display: inline-block; font-size: 11px; line-height: 1.3; padding: 2px 8px; border-radius: 6px; font-weight: 500; white-space: nowrap; }
.app-web em.hd, .app-web em.hp { background: #3a1420; color: #f87171; } .app-web em.bt, .app-web em.ui { background: #13254a; color: #60a5fa; }
.app-web em.ok, .app-web em.af, .app-web em.ai { background: #0f3b2e; color: #34d399; } .app-web em.rv, .app-web em.ac { background: #3a2a10; color: #fbbf24; }
.app-web small.lbl { display: block; font-size: 10px; letter-spacing: .1em; color: #8fa0b5; margin: 4px 0 6px; }
.is-bar .sel.on { border-color: #10b981; color: #34d399; }
.cl-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; opacity: 0; transition: opacity .5s ease .3s; } .st-ran .cl-sum { opacity: 1; }
.cl-sum .wcard { padding: 12px 14px; } .cl-sum small { display: block; color: #8fa0b5; letter-spacing: .08em; font-size: 10px; margin-bottom: 4px; }
.cl-sum b { font-size: 24px; } .cl-sum b.sm { font: 500 14px ui-monospace, Consolas, monospace; }
.cl-tbl { overflow: hidden; }
.cl-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid #1c2638; } .cl-head b { font-size: 15px; } .cl-head span { color: #8fa0b5; font-size: 12px; }
.cl-th, .cl-r { display: grid; grid-template-columns: 1.55fr .7fr .85fr 1.15fr 1fr 1fr .9fr; align-items: center; padding: 0 16px; }
.cl-th { height: 32px; font-size: 10px; letter-spacing: .1em; color: #6b7a90; border-bottom: 1px solid #1c2638; }
.cl-r { height: 37px; border-bottom: 1px solid #1a2334; font-size: 12px; }
.cl-r code { font: 12px ui-monospace, Consolas, monospace; color: #2dd4bf; background: #13233a; padding: 3px 7px; border-radius: 4px; }
.cl-r .cf { color: #f87171; font-weight: 600; } .cl-r.tcs { background: #101f33; }
/* one clash */
.cd { display: grid; grid-template-columns: minmax(0, 1fr) 262px; gap: 14px; }
.cd-top .r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cd-id { font-size: 20px; background: #16233a; padding: 4px 10px; border-radius: 6px; color: #e6ebf2; }
.cd-top h3 { margin: 10px 0 10px; font-size: 17px; font-weight: 600; }
.cd-els { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cd-els .wcard { padding: 10px 12px; } .cd-els small { display: block; font-size: 10px; letter-spacing: .08em; color: #8fa0b5; } .cd-els b { display: block; font-size: 13.5px; margin: 6px 0; }
.cd-els dl { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: 11.5px; }
.cd-els dt, .cd-els dd { padding: 4px 0; border-top: 1px solid #1a2334; } .cd-els dt { color: #8fa0b5; } .cd-els dd { margin: 0; text-align: right; }
.cd-msg { font-size: 13px; line-height: 1.5; margin: 10px 0; color: #e6ebf2; }
.cd-vis { padding: 8px 10px 10px; } .cd-vis .v3d { height: 262px; border-radius: 6px; }
.cd-status { padding: 12px 14px; font-size: 12px; } .cd-status .st1 { display: flex; justify-content: space-between; align-items: center; } .cd-status .st1 b { font-size: 14px; }
.cd-status .nav { text-align: center; color: #8fa0b5; margin: 10px 0 12px; border-bottom: 1px solid #1c2638; padding-bottom: 12px; }
.cd-status .seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #263248; border-radius: 6px; overflow: hidden; text-align: center; font-size: 11px; }
.cd-status .seg span { padding: 6px 2px; color: #8fa0b5; } .cd-status .seg span.on { background: #0f3b2e; color: #34d399; }
.cd-status .nt { color: #6b7a90; font-size: 11px; line-height: 1.4; margin: 8px 0 10px; }
.cd-status dl { display: grid; grid-template-columns: auto 1fr; margin: 0; } .cd-status dt, .cd-status dd { padding: 7px 0; border-top: 1px solid #1a2334; }
.cd-status dt { color: #8fa0b5; } .cd-status dd { margin: 0; text-align: right; }
.cd-status .acts { display: flex; gap: 8px; margin-top: 12px; }
/* resolution */
.cr { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 14px; }
.cr-main { padding: 14px 16px; } .cr-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #1c2638; } .cr-h b { font-size: 15px; }
.cr-who { font-size: 12.5px; line-height: 1.55; color: #c3cedc; margin: 12px 0 4px; } .cr-who b { color: #e6ebf2; }
.cr-s { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; border: 1px solid #1f2a3e; border-radius: 8px; padding: 12px 14px; margin-top: 10px; transition: border-color .35s, background .35s; }
.cr-s .ck { width: 17px; height: 17px; border-radius: 50%; border: 1.6px solid #6b7a90; margin-top: 2px; position: relative; display: block; }
.cr-s1, .st-s2 .cr-s2 { border-color: #14b8a6; background: #0f2129; } .st-s2 .cr-s1 { border-color: #1f2a3e; background: none; }
.cr-s1 .ck, .st-s2 .cr-s2 .ck { border-color: #2dd4bf; }
.cr-s1 .ck::after, .st-s2 .cr-s2 .ck::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #2dd4bf; font-size: 11px; font-style: normal; }
.st-s2 .cr-s1 .ck { border-color: #6b7a90; } .st-s2 .cr-s1 .ck::after { content: none; }
.cr-s .t { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .cr-s .t b { font-size: 14px; }
.cr-s .m { color: #8fa0b5; font-size: 11.5px; margin: 6px 0; display: flex; gap: 8px; align-items: center; }
.cr-s p { margin: 4px 0; font-size: 12px; line-height: 1.45; color: #c3cedc; } .cr-s .ch { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; margin: 8px 0 6px; padding-left: 8px; }
.cr-s .est { color: #6b7a90; font-size: 10.5px; } .cr-s .vc { align-self: start; white-space: nowrap; }
.cr-side { display: grid; gap: 12px; align-content: start; }
.cr-cm { display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 12px; color: #6b7a90; font-size: 12px; }
.cr-cm i { font-style: normal; background: #14b8a6; color: #04110c; border-radius: 6px; padding: 4px 9px; }
.cr-act { padding: 12px 14px; font-size: 12px; } .cr-act > b { display: block; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid #1c2638; margin-bottom: 4px; }
.cr-act div { display: grid; grid-template-columns: 8px 1fr auto; gap: 8px; padding: 8px 0; align-items: start; line-height: 1.4; }
.cr-act div i { width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; margin-top: 5px; display: block; } .cr-act div i.g { background: #10b981; } .cr-act small { color: #6b7a90; }
.cr-q { padding: 12px 14px; font-size: 12px; } .cr-q b { display: block; font-size: 13px; margin: 2px 0 4px; } .cr-q span { color: #8fa0b5; font-size: 11.5px; line-height: 1.4; display: block; }
.cr-q .acts { display: flex; gap: 8px; margin-top: 10px; }
.cr-q .q1 { display: none; } .st-queued .cr-q .q0 { display: none; } .st-queued .cr-q .q1 { display: block; animation: wkin .5s ease; } .cr-q .q1 em { margin-bottom: 6px; }

/* --------------------------------------------------------------------- Clash: Revit 2024's own Interference Check */
.rv-wide .rv-body { grid-template-columns: 200px 1fr; }
.rv-tsub { font-size: 11.5px; padding: 3px 6px; border-bottom: 1px solid #e3e3e3; color: #333; }
.rv-vtab span.off { background: #ececec; color: #555; margin-right: 2px; }
.dlg-icpick { left: 330px; top: 128px; width: 520px; }
.dlg-icpick .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dlg-icpick small { display: block; color: #333; font-size: 11.5px; margin: 2px 0 3px; }
.dlg-icpick .sel { display: block; border: 1px solid #b9c0c7; padding: 2px 6px; font-size: 11.5px; margin-bottom: 6px; }
.dlg-icpick .cats { border: 1px solid #b9c0c7; height: 300px; overflow: hidden; padding: 2px 0; font-size: 11.5px; }
.dlg-icpick .cats div { display: flex; gap: 6px; align-items: center; padding: 0 6px; height: 17px; white-space: nowrap; }
.dlg-icpick .cats i { width: 11px; height: 11px; border: 1px solid #777; display: block; flex: none; background: #fff; position: relative; }
.dlg-icpick .cats .on i::after { content: "\2713"; position: absolute; left: 1px; top: -3px; font-size: 11px; color: #222; font-style: normal; }
.dlg-icpick .sb { display: flex; gap: 8px; } .dlg-icpick .sb span { border: 1px solid #adb5bd; padding: 2px 12px; font-size: 11.5px; background: #f6f6f6; }
.rv-dlg .ft span + span { margin-left: 8px; }
.dlg-icr { left: 20px; top: 128px; width: 470px; }
.dlg-icr .gb { font-size: 11.5px; margin-bottom: 8px; } .dlg-icr .gb .sel { border: 1px solid #b9c0c7; padding: 1px 6px; margin-left: 20px; }
.dlg-icr .ict { border: 1px solid #b9c0c7; height: 330px; overflow: hidden; }
.dlg-icr .hd { text-align: center; background: #f2f2f2; border-bottom: 1px solid #ddd; font-size: 11.5px; padding: 2px; }
.dlg-icr .tree { font-size: 11.5px; } .dlg-icr .tree > div:not(.ic7), .dlg-icr .ic7 > div { height: 17px; line-height: 17px; border-bottom: 1px solid #ececec; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlg-icr .tree .p { padding-left: 6px; } .dlg-icr .tree .p::before { content: "\229F  "; color: #666; }
.dlg-icr .c { padding-left: 24px; } .dlg-icr .c .pm::before { content: "\229E  "; color: #666; } .st-ic7 .dlg-icr .ic7 .c .pm::before { content: "\229F  "; }
.dlg-icr .ic7 .k { display: none; padding-left: 50px; } .st-ic7 .dlg-icr .ic7 .k { display: block; } .dlg-icr .ic7 .k.on { background: #0a64d6; color: #fff; }
.dlg-icr .meta { display: grid; grid-template-columns: 90px 1fr; gap: 4px; font-size: 11.5px; margin-top: 10px; } .dlg-icr .nt { font-size: 11px; color: #444; margin: 6px 0 0 90px; }
.dlg-icr .ft2 { display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid #eee; }
.dlg-icr .ft2 span { border: 1px solid #adb5bd; padding: 3px 14px; background: #f6f6f6; font-size: 11.5px; } .dlg-icr .ft2 .cl { margin-left: auto; border-color: #2a6ac7; }
.dlg-icok { left: 560px; top: 330px; width: 300px; } .dlg-icok p { color: #1f3a93; font-size: 13.5px; margin: 6px 0 4px; }
.st-icpick .dlg-icpick, .st-icr .dlg-icr, .st-icok .dlg-icok { opacity: 1; transform: none; }

/* ------------------------------------------------------------- Field Evidence: the app's own screens, one per step */
.wk-screen[data-app="fe"] .app-fe { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.app-fe { background: #f6f5ef; }
.fe-shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
.fe-shot.on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.fe-shot img { display: block; width: 1280px; height: 800px; }
.fe-shot .hs { position: absolute; display: block; }

/* scroll-driven walkthrough (18 Nov 15:45): the window is pinned while the track scrolls past */
.wk-sec { padding-bottom: 0; }
.wk-track { position: relative; }
.wk-pin { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; padding: 10px 0; }
.wk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.wk-top .wk-chaps { margin: 0; }
.wk-skip { all: unset; cursor: pointer; flex: none; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.wk-skip:hover, .wk-skip:focus-visible { background: rgba(255,255,255,.22); }
.wk-pin .wk-view { height: min(clamp(420px, calc(min(1200px, 100vw - 2 * var(--edge, 24px)) * .625), 760px), calc(100dvh - 190px)); }
.wk-pin .wk-hint { margin-top: 8px; }
@media (max-width: 760px) {
  .wk-top { align-items: flex-start; }
  .wk-top .wk-chaps button { font-size: 12px; padding: 5px 9px; }
  .wk-skip { font-size: 12px; padding: 6px 10px; }
  .wk-pin .wk-view { height: max(220px, calc(100dvh - 380px)); }
  .wk-pin .wk-hint { display: none; }
}
