/* Platform Ecosystem: animated product dashboards (prototype, 2026-10-08).
   Databricks-style "running UI" in the featured frame. One design for all four platforms.
   Scene is drawn on a 640x340 canvas and scaled to cover the 233px stage (cropped right/bottom like a bleed). */
/* give the running product view the larger share of the featured card */
.hm_eco_ctl { position:absolute; bottom:12px; right:12px; z-index:7; width:30px; height:30px; border-radius:50%; border:1px solid #CBD6E2; background:rgba(255,255,255,.94); color:#0B2347; cursor:pointer;
  display:grid; place-items:center; padding:0; box-shadow:0 2px 8px -3px rgba(11,35,71,.14); transition:background-color .2s ease, border-color .2s ease; }
.hm_eco_ctl:hover { background:#F6F8FA; border-color:#B3C1D1; }
.hm_eco_ctl:focus-visible { outline:2px solid #1478C9; outline-offset:2px; }
.hm_eco_ctl i { display:block; width:8px; height:10px; border-left:3px solid currentColor; border-right:3px solid currentColor; }
.hm_eco_ctl.is-paused i { width:0; height:0; border-style:solid; border-width:5px 0 5px 9px; border-color:transparent transparent transparent currentColor; margin-left:2px; }

.hm_dash { position:relative; flex:1 1 auto; min-height:300px; margin-top:0; border-radius:8px; overflow:hidden; background:linear-gradient(160deg,#EEF4FA,#E6EEF7); }
.hm_dash_canvas { position:absolute; left:0; top:0; width:660px; height:340px; transform-origin:0 0; font-family:Jost,sans-serif; color:#132238;
  transition:opacity .3s ease; }
.hm_dash.is-reset .hm_dash_canvas { opacity:0; }
/* timeline scrubber (click, drag, arrow keys) */
.hm_eco_prog { position:absolute; left:12px; right:12px; bottom:10px; z-index:7; height:22px; padding:0 12px; display:flex; align-items:center; box-sizing:border-box;
  border-radius:20px; background:rgba(255,255,255,.94); border:1px solid #DCE4EE; box-shadow:0 4px 12px -6px rgba(11,35,71,.25); cursor:pointer; touch-action:none; }
.hm_eco_prog:focus-visible { outline:2px solid #1478C9; outline-offset:2px; }
.hm_eco_track { position:relative; flex:1; height:4px; border-radius:4px; background:#DCE4EE; }
.hm_eco_fill { position:absolute; inset:0; border-radius:inherit; background:#1478C9; transform-origin:0 50%; transform:scaleX(0); }
.hm_eco_knob { position:absolute; top:50%; left:0; width:10px; height:10px; margin:-5px 0 0 -5px; border-radius:50%; background:#fff; border:2px solid #1478C9; box-sizing:border-box; }
.hm_dash.is-seek * { transition:none !important; }
.hd_type.is-fin { animation:none; clip-path:none; } .ck_beam.is-fin, .af_pk.is-fin { display:none; }

/* window chrome */
.hd_win { position:absolute; left:16px; top:16px; right:-8px; bottom:-28px; background:#fff; border:1px solid #DCE4EE; border-radius:10px;
  box-shadow:0 22px 44px -26px rgba(11,35,71,.38); overflow:hidden; display:flex; flex-direction:column; }
.hd_head { display:flex; align-items:stretch; height:52px; flex:none; border-bottom:1px solid #E6ECF4; }
.hd_head .hd_brand { margin:0; padding:0 16px; min-width:156px; box-sizing:border-box; border-right:1px solid #E6ECF4; background:#F6F8FB; display:flex; align-items:center; gap:7px; }
.hd_head .hd_top { flex:1; min-width:0; height:auto; border-bottom:0; }
.hd_top_t { white-space:nowrap; }
.hm_dash.is-narrow .hd_top_r .hd_tbtn, .hm_dash.is-narrow .hd_top_r .hd_ib { display:none; }
/* content clears the play/pause control */
.hd_row .hd_body { padding-bottom:52px; } .hd_row .pie_chat { padding-bottom:12px; }
.pie_comp { position:relative; flex:none; margin:auto 40px 58px 22px; } .hm_dash.is-narrow .pie_comp { margin-right:74px; } /* in flow: never overlaps the answer */
.pie_comp { display:flex; align-items:center; gap:8px; padding:9px 10px; border:1px solid #CBD6E2; border-radius:12px;
  background:#fff; box-shadow:0 6px 16px -12px rgba(11,35,71,.35); font:400 13px/1 Jost,sans-serif; color:#7A8BA0; }
.pie_comp .hd_i { color:#4A5B71; } .pie_comp_ph { flex:1; } .pie_comp .hd_pill { font-weight:600; }
.hd_row { flex:1; min-height:0; display:grid; grid-template-columns:156px 1fr; }
.hd_mark { display:block; height:26px; width:auto; flex:none; }
.hm_dash.is-narrow .hd_row { grid-template-columns:1fr; }
.hm_dash.is-narrow .hd_head .hd_brand { min-width:0; }
.hm_dash.is-narrow .hd_side { display:none; }
.hd_side { position:relative; background:#F6F8FB; border-right:1px solid #E6ECF4; padding:12px 9px; display:flex; flex-direction:column; gap:2px; }
.hd_user { position:static; margin-top:auto; padding:11px 3px 4px; border-top:1px solid #E6ECF4; overflow:hidden; white-space:nowrap; display:flex; align-items:center; gap:6px; font:600 11px/1 Jost,sans-serif; color:#3A4B61; }
.hd_side.is-navy .hd_user { border-top-color:#1E3A5F; }
.hd_user i { width:18px; height:18px; border-radius:50%; background:#DCE7F3; display:grid; place-items:center; font:700 9.5px/1 Jost,sans-serif; color:#0B2347; font-style:normal; }
.hd_side.is-navy .hd_user { color:#C9D6E6; } .hd_side.is-navy .hd_user i { background:#123D68; color:#fff; }
.hd_side.is-navy { background:#0B2347; border-right-color:#0B2347; }
.hd_brand { font:700 20.5px/1 Jost,sans-serif; letter-spacing:-.01em; margin:0 0 12px 4px; white-space:nowrap; }
.hd_brand b { font-weight:700; }
.hd_b_blue { color:#0062A5; } .hd_b_green { color:#75B83F; } .hd_b_white { color:#fff; }
.hd_sec { font:700 10px/1 Jost,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:#7A8BA0; margin:8px 4px 4px; }
.hd_side.is-navy .hd_sec { color:#8FA6C2; }
.hd_side > .hd_nav { flex:1 1 auto; max-height:48px; }
.hd_nav { display:flex; align-items:center; gap:7px; padding:7px 8px; border-radius:6px; min-width:0; overflow:hidden; text-overflow:ellipsis; font:500 13px/1 Jost,sans-serif; color:#3A4B61; white-space:nowrap; }
.hd_i { width:15px; height:15px; fill:currentColor; flex:none; display:block; }
.hd_nav .hd_i { color:#7A8BA0; } .hd_nav.is-act .hd_i { color:#0062A5; }
.hd_side.is-navy .hd_nav .hd_i { color:#8FA6C2; } .hd_side.is-navy .hd_nav.is-act .hd_i { color:#8CC63E; }
.hd_brand { display:flex; align-items:center; gap:6px; } .hd_brand .hd_i { width:16px; height:16px; color:#75B83F; }
.hd_logo { display:block; width:auto; max-width:100%; }
.hd_tile { width:26px; height:26px; border-radius:6px; display:grid; place-items:center; flex:none; background:#E7F0F8; color:#0062A5; }
.hd_tile .hd_i { width:13px; height:13px; color:inherit; } .hd_tile.g { background:#EAF5DD; color:#3B6E14; } .hd_tile.n { background:#0B2347; color:#fff; } .hd_tile.w { background:#FBF3DF; color:#80611F; }
.hd_tile.sm { width:22px; height:22px; border-radius:6px; } .hd_tile.sm .hd_i { width:13px; height:13px; }
.hd_nav > span { overflow:hidden; text-overflow:ellipsis; }
.hd_nav.is-act { background:#E3EDF7; color:#0B2347; font-weight:600; }
.hd_side.is-navy .hd_nav { color:#C9D6E6; }
.hd_side.is-navy .hd_nav.is-act { background:#123D68; color:#fff; }
.hd_main { position:relative; display:flex; flex-direction:column; min-width:0; }
.hd_top { height:40px; flex:none; border-bottom:1px solid #E6ECF4; display:flex; align-items:center; gap:8px; padding:0 12px; }
.hd_top_t { font:600 14px/1 Jost,sans-serif; color:#132238; background:#F1F5F9; border-radius:5px; padding:5px 8px; }
.hd_search { gap:6px; width:220px; height:28px; border:1px solid #DCE4EE; border-radius:6px; background:#fff; display:flex; align-items:center; padding:0 8px;
  font:400 12.5px/1 Jost,sans-serif; color:#7A8BA0; }
.hd_top_r { margin-left:auto; display:flex; align-items:center; gap:6px; }
.hd_ib { width:22px; height:22px; border-radius:6px; border:1px solid #DCE4EE; display:grid; place-items:center; color:#4A5B71; background:#fff; } .hd_ib .hd_i { width:12px; height:12px; }
.hd_tbtn { white-space:nowrap; display:inline-flex; align-items:center; gap:5px; font:600 12.5px/1 Jost,sans-serif; color:#132238; border:1px solid #DCE4EE; border-radius:6px; padding:5px 8px; background:#fff; }
.hd_body { padding:14px 16px; display:flex; flex-direction:column; gap:10px; min-height:0; flex:1; }
.hd_h { font:700 21.5px/1.15 Jost,sans-serif; color:#132238; margin:0; letter-spacing:-.01em; }
.hd_sub { font:400 13px/1.3 Jost,sans-serif; color:#5F7285; margin:2px 0 0; }
.hd_card { background:#fff; border:1px solid #DCE4EE; border-radius:8px; padding:10px 12px; }
.hd_k { font:700 10px/1 Jost,sans-serif; letter-spacing:.11em; text-transform:uppercase; color:#5F7285; }
.hd_t { font:600 14.5px/1.25 Jost,sans-serif; color:#132238; }
.hd_p { font:400 12.5px/1.4 Jost,sans-serif; color:#4A5B71; }
.hd_line { height:5px; border-radius:3px; background:#E6ECF4; }
.hd_pill .hd_i { width:12px; height:12px; }
.hd_pill { display:inline-flex; align-items:center; gap:4px; font:600 11.5px/1 Jost,sans-serif; padding:5px 8px; border-radius:20px; white-space:nowrap; }
.hd_pill.ok { background:#EAF5DD; color:#3B6E14; } .hd_pill.warn { background:#FBF3DF; color:#80611F; }
.hd_pill.bad { background:#FDECEA; color:#B42318; } .hd_pill.info { background:#E7F0F8; color:#0A2947; } .hd_pill.mute { background:#F1F5F9; color:#5F7285; }
.hd_btn { display:inline-flex; align-items:center; font:600 12.5px/1 Jost,sans-serif; padding:7px 12px; border-radius:6px; background:#1478C9; color:#fff;
  transition:background-color .2s ease, transform .15s ease; }
.hd_btn.is-ghost { background:#fff; color:#0B2347; border:1px solid #CBD6E2; }
.hd_btn.is-press { transform:scale(.94); background:#0F66AD; }
.hd_btn.is-ghost.is-press { background:#F2F4F6; }

/* reveal + state helpers */
.hd_rv { opacity:0; transform:translateY(6px); transition:opacity .36s ease-out, transform .36s ease-out; }
.hd_rv.is-on { opacity:1; transform:none; }
.hd_fade { opacity:0; transition:opacity .3s ease; } .hd_fade.is-on { opacity:1; }
.hd_swap { display:inline-grid; } .hd_swap > * { grid-area:1/1; transition:opacity .25s ease; }
.hd_swap > :last-child { opacity:0; } .hd_swap.is-on > :first-child { opacity:0; } .hd_swap.is-on > :last-child { opacity:1; }
.hd_swap3 { display:inline-grid; } .hd_swap3 > * { grid-area:1/1; opacity:0; transition:opacity .25s ease; }
.hd_swap3[data-v="0"] > :nth-child(1), .hd_swap3[data-v="1"] > :nth-child(2), .hd_swap3[data-v="2"] > :nth-child(3) { opacity:1; }
.hd_bar { height:6px; border-radius:4px; background:#E6ECF4; overflow:hidden; }
.hd_bar > i { display:block; height:100%; width:0; border-radius:4px; background:#75B83F; transition:width 1.6s cubic-bezier(.3,.7,.3,1); }
.hd_bar.is-blue > i { background:#1478C9; }
.hd_bar.is-on > i { width:var(--w,100%); }
.hd_type { display:inline-block; white-space:nowrap; clip-path:inset(0 100% 0 0); }
.hd_type.is-on { animation:hdType var(--d,1.2s) steps(var(--n,40)) forwards; }
@keyframes hdType { to { clip-path:inset(0 0 0 0); } }
.hd_dots { display:inline-flex; gap:3px; } .hd_dots i { width:5px; height:5px; border-radius:50%; background:#7A8BA0; animation:hdDot 1s ease-in-out infinite; }
.hd_dots i:nth-child(2) { animation-delay:.15s; } .hd_dots i:nth-child(3) { animation-delay:.3s; }
@keyframes hdDot { 0%,100% { opacity:.25; } 50% { opacity:1; } }
.hd_tick { width:14px; height:14px; border-radius:50%; border:1.5px solid #B9C6D6; position:relative; flex:none; transition:background-color .25s ease, border-color .25s ease; }
.hd_tick::after { content:""; position:absolute; left:3.5px; top:1.5px; width:3px; height:5.5px; border:solid #fff; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); opacity:0; }
.hd_tick.is-on { background:#75B83F; border-color:#75B83F; } .hd_tick.is-on::after { opacity:1; }
.hd_tick.is-warn.is-on { background:#C79A2E; border-color:#C79A2E; }
.hd_hl { transition:background-color .35s ease, box-shadow .35s ease; } .hd_hl.is-on { background:#FFF7F6; box-shadow:inset 3px 0 0 #B42318; }

/* cursor */
.hd_cur { position:absolute; left:600px; top:300px; width:14px; height:20px; z-index:5; opacity:0; pointer-events:none;
  transition:left .8s cubic-bezier(.4,.1,.2,1), top .8s cubic-bezier(.4,.1,.2,1), opacity .3s ease, transform .15s ease; }
.hd_cur.is-on { opacity:1; } .hd_cur.is-press { transform:scale(.82); }
.hd_cur svg { display:block; width:14px; height:20px; filter:drop-shadow(0 2px 3px rgba(11,35,71,.3)); }

/* ---- Pie ---- */
.pie_chat { display:flex; flex-direction:column; gap:9px; padding:16px 40px 0 22px; }
.pie_q { align-self:flex-end; background:#E3EEF9; border-radius:10px 10px 2px 10px; padding:8px 12px; font:500 14px/1.3 Jost,sans-serif; color:#132238; }
.pie_ans { display:flex; flex-direction:column; gap:8px; }
.pie_row > .hd_pill, .pie_row > .hd_swap { grid-column:2; justify-self:start; margin-top:-2px; } /* status under the text: no squeezed copy */
.pie_row { display:grid; grid-template-columns:24px 1fr; gap:4px 10px; align-items:start; border-radius:8px; padding:9px 11px; border:1px solid; }
.pie_row.r { background:#FFF7F6; border-color:#F6D5D1; } .pie_row.a { background:#FFFBF1; border-color:#F1E2B8; } .pie_row.g { background:#F5FAEF; border-color:#D7EBC1; }
.pie_ic { width:24px; height:24px; border-radius:6px; display:grid; place-items:center; } .pie_ic .hd_i { width:14px; height:14px; }
.pie_ava { width:20px; height:20px; border-radius:50%; background:#EAF5DD; display:grid; place-items:center; flex:none; overflow:hidden; } .pie_ava img { width:15px; height:auto; display:block; }
.pie_who { display:flex; align-items:center; gap:6px; font:700 13px/1 Jost,sans-serif; color:#132238; }
.pie_chip { display:inline-flex; align-items:center; gap:4px; } .pie_chip .hd_i { width:10px; height:10px; color:#0062A5; }
.pie_row.r .pie_ic { background:#FBE1DE; color:#B42318; } .pie_row.a .pie_ic { background:#F7E9C6; color:#80611F; } .pie_row.g .pie_ic { background:#E2F1D0; color:#3B6E14; }
.pie_src { display:flex; gap:5px; flex-wrap:wrap; }
.pie_chip { font:500 12px/1 Jost,sans-serif; color:#132238; border:1px solid #DCE4EE; border-radius:6px; padding:6px 8px; background:#fff; }

/* ---- aptVeri5 ---- */
.v5_kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.v5_kh { display:flex; align-items:center; justify-content:space-between; } .v5_kh { gap:8px; justify-content:flex-start; } .v5_kh .hd_k { flex:1; }
.v5_big { font:700 26.5px/1 Jost,sans-serif; color:#132238; margin:6px 0 6px; }
.v5_tbl { border:1px solid #DCE4EE; border-radius:8px; overflow:hidden; }
.v5_tr { display:grid; grid-template-columns:44px 1fr 112px 92px; align-items:center; gap:6px; padding:8px 12px; border-top:1px solid #EEF2F7;
  font:500 13px/1.2 Jost,sans-serif; color:#132238; }
.v5_tr:first-child { border-top:0; background:#F6F8FB; font:700 10px/1 Jost,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:#5F7285; }
.v5_id { color:#5F7285; font-weight:600; }
.v5_tbl { position:relative; }
.v5_panel { position:absolute; top:0; right:0; bottom:0; width:206px; border-radius:0 8px 8px 0; background:#fff; border-left:1px solid #DCE4EE; box-shadow:-16px 0 30px -24px rgba(11,35,71,.4);
  padding:12px; display:flex; flex-direction:column; gap:8px; transform:translateX(110%); transition:transform .5s cubic-bezier(.3,.7,.3,1); }
.v5_panel.is-on { transform:none; }
.v5_spark { width:100%; height:34px; display:block; margin-top:4px; }
.v5_spark path { fill:none; stroke:#1478C9; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:300; stroke-dashoffset:300;
  transition:stroke-dashoffset 2s ease-out; }
.v5_spark.is-on path { stroke-dashoffset:0; }

/* ---- aptVeri5 (real-UI rebuild) ---- */
.v5r_ptile { width:30px; height:30px; border-radius:8px; background:#1478C9; display:grid; place-items:center; flex:none; } .v5r_ptile .hd_i { color:#fff; }
.v5r_ptitle { font:700 17px/1 Jost,sans-serif; color:#132238; letter-spacing:-.01em; }
.v5r_ai { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:8px; background:#F3EEFE; border:1px solid #E1D5FB; color:#5B32B4; font:600 12px/1 Jost,sans-serif; }
.v5r_ai .hd_i { color:#5B32B4; }
.v5r_stats { display:grid; grid-template-columns:96px repeat(2,minmax(0,1fr)); gap:10px; align-items:stretch; }
.v5r_donut { position:relative; width:96px; height:96px; align-self:center; }
.v5r_donut svg { width:96px; height:96px; display:block; }
.v5r_dtrack { fill:none; stroke:#E6ECF4; stroke-width:9; }
.v5r_dfill { fill:none; stroke:#75B83F; stroke-width:9; stroke-linecap:round; stroke-dasharray:201; stroke-dashoffset:201; transform:rotate(-90deg); transform-origin:50% 50%; transition:stroke-dashoffset 1.6s ease-out; }
.v5r_dfill.is-on { stroke-dashoffset:0; }
.v5r_dc { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.v5r_dc b { font:700 18px/1 Jost,sans-serif; color:#132238; } .v5r_dc i { margin-top:4px; font:700 9px/1 Jost,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:#5F7285; font-style:normal; }
.v5r_stat { border-radius:12px; padding:10px 12px; border:1px solid; display:flex; flex-direction:column; gap:3px; min-width:0; }
.v5r_stat.is-g { background:linear-gradient(135deg,#EDF8E4,#F8FCF4); border-color:#D7EBC1; } .v5r_stat.is-r { background:linear-gradient(135deg,#FDECEA,#FFF8F7); border-color:#F6D5D1; }
.v5r_stat.is-b { background:linear-gradient(135deg,#E7F0F8,#F5F9FD); border-color:#CFE0F0; }
.v5r_sh { display:flex; align-items:center; justify-content:space-between; gap:6px; min-width:0; } .v5r_sh .hd_k { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.v5r_num { font:700 22px/1.15 Jost,sans-serif; color:#132238; } .is-g .v5r_num { color:#3B6E14; } .is-r .v5r_num { color:#B42318; } .is-b .v5r_num { color:#0062A5; font-size:17px; line-height:1.5; }
.v5r_note { font:500 11px/1.2 Jost,sans-serif; color:#5F7285; }
.v5r_tr { display:grid; grid-template-columns:62px minmax(0,1fr) 76px 66px; gap:8px; align-items:center; padding:9px 12px; border-top:1px solid #EEF2F7; font:500 12.5px/1.2 Jost,sans-serif; color:#132238; }
.v5r_tr:first-child { border-top:0; background:#F6F8FB; font:700 9.5px/1 Jost,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:#5F7285; }
.v5r_id { color:#0062A5; font-weight:600; } .v5r_area { color:#5F7285; }
/* ---- aptCheck (real-UI rebuild) ---- */
.hd_win.is-noside .hd_row { grid-template-columns:1fr; }
.ckr_menu { width:30px; height:30px; border-radius:7px; background:#0B2347; display:grid; place-items:center; flex:none; } .ckr_menu .hd_i { color:#fff; }
.ckr_crumb { display:flex; align-items:center; gap:6px; font:600 14px/1 Jost,sans-serif; color:#132238; white-space:nowrap; }
.ckr_crumb .hd_i { width:14px; height:14px; color:#7A8BA0; } .ckr_crumb span:not(:last-child) { color:#4A5B71; font-weight:500; }
.ckr_title { font:700 11.5px/1.2 Jost,sans-serif; letter-spacing:.07em; text-transform:uppercase; color:#132238; text-align:center; }
.ckr_fields { display:grid; grid-template-columns:1fr 1.25fr 1fr; gap:8px; }
.ckr_f { border:1px solid #DCE4EE; border-radius:8px; padding:6px 10px; min-width:0; } .ckr_f i { display:block; font:500 10px/1.3 Jost,sans-serif; color:#7A8BA0; font-style:normal; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ckr_f b { display:block; font:600 13px/1.4 Jost,sans-serif; color:#132238; white-space:nowrap; }
.ckr_tbl { position:relative; border:1px solid #DCE4EE; border-radius:10px; overflow:hidden; }
.ckr_tbl .ck_beam.is-on { animation:ckBeamT 3.2s linear forwards; } @keyframes ckBeamT { from { top:-30px; } to { top:100%; } }
.ckr_tr { display:grid; grid-template-columns:132px minmax(0,1fr) 92px; gap:12px; align-items:center; padding:9px 12px; border-top:1px solid #EEF2F7; }
.ckr_tr:first-child { border-top:0; background:#F6F8FB; font:700 9.5px/1 Jost,sans-serif; letter-spacing:.1em; text-transform:uppercase; color:#5F7285; padding:8px 12px; }
.ckr_key { font:600 12.5px/1.3 Jost,sans-serif; color:#132238; }
.ckr_pts { display:flex; flex-direction:column; gap:6px; }
.ckr_score { display:flex; flex-direction:column; gap:4px; }
.ckr_box { height:24px; border-radius:6px; display:grid; place-items:center; font:700 13px/1 Jost,sans-serif; background:#F1F5F9; color:#9AA8B8; transition:background-color .3s ease, color .3s ease; }
.ckr_box.g.is-on { background:#CDEBB2; color:#24510B; } .ckr_box.a.is-on { background:#F7E3B0; color:#6B5115; }
.ckr_conf { font:500 10.5px/1 Jost,sans-serif; color:#5F7285; text-align:center; white-space:nowrap; }
.ckr_foot { display:flex; align-items:center; gap:10px; padding:10px 12px; border-top:1px solid #DCE4EE; background:#FAFCFE; }
.ckr_foot .hd_bar { flex:1; min-width:40px; } .ckr_tv { font:700 13px/1 Jost,sans-serif; color:#132238; white-space:nowrap; }
/* ---- aptCheck ---- */
.ck_split { display:grid; grid-template-columns:1fr 1.15fr; gap:12px; flex:1; min-height:0; }
.ck_doc { position:relative; height:100%; min-height:220px; box-sizing:border-box; border:1px solid #DCE4EE; border-radius:8px; background:#fff; padding:12px 12px; overflow:hidden; display:flex; flex-direction:column; gap:6px; }
.ck_doc .hd_line.is-h { height:8px; width:55%; background:#C9D6E6; }
.ck_mark { position:relative; } .ck_mark::after { content:""; position:absolute; inset:-2px -3px; border-radius:3px; background:rgba(117,184,63,.25); opacity:0; transition:opacity .3s ease; }
.ck_mark.is-warn::after { background:rgba(199,154,46,.28); } .ck_mark.is-on::after { opacity:1; }
.ck_beam { position:absolute; left:0; right:0; top:-30px; height:30px; background:linear-gradient(180deg,rgba(20,120,201,0),rgba(20,120,201,.16) 70%,rgba(20,120,201,.45));
  opacity:0; }
.ck_beam.is-on { opacity:1; animation:ckBeam 3.4s linear forwards; }
@keyframes ckBeam { from { top:-30px; } to { top:250px; } }
.ck_list { display:flex; flex-direction:column; gap:0; border:1px solid #DCE4EE; border-radius:8px; overflow:hidden; }
.ck_item { display:grid; grid-template-columns:16px 1fr 72px; gap:8px; align-items:center; padding:8px 10px; border-top:1px solid #EEF2F7; font:500 13px/1.2 Jost,sans-serif; }
.ck_item:first-child { border-top:0; }
.ck_toast { position:absolute; right:14px; top:10px; z-index:4; display:flex; align-items:center; gap:7px; background:#0B2347; color:#fff; border-radius:8px; padding:8px 11px;
  font:600 13px/1 Jost,sans-serif; box-shadow:0 12px 24px -14px rgba(11,35,71,.6); }

/* ---- aptAIAgentFactory ---- */
.hd_win.is-af .hd_row { grid-template-columns:184px 1fr; } .hd_win.is-af .hd_head .hd_brand { min-width:184px; padding:0 14px; gap:8px; }
.af_side_card { margin:16px 4px 0; padding:10px 11px; border-radius:10px; background:#fff; border:1px solid #DCE4EE; display:flex; flex-direction:column; gap:7px; }
.af_side_h { display:flex; align-items:center; gap:6px; font:600 11.5px/1 Jost,sans-serif; color:#132238; } .af_side_h .hd_i { width:13px; height:13px; color:#0062A5; }
.af_side_n { font:500 10.5px/1 Jost,sans-serif; color:#3B6E14; }
.hm_dash.is-narrow .hd_win.is-af .hd_row { grid-template-columns:1fr; }
.af_grid { display:flex; flex-direction:column; gap:10px; }
.hm_dash.is-wide .af_grid { display:grid; grid-template-columns:408px minmax(0,1fr); gap:12px; align-items:start; }
.hm_dash.is-wide .af_log { grid-template-columns:1fr; grid-auto-flow:row; grid-template-rows:none; align-content:start; gap:9px; min-height:252px; }
.af_node .hd_t { font-size:10.5px; margin-top:4px; }
.af_guard { position:absolute; left:8px; top:84px; width:120px; box-sizing:border-box; padding:7px 8px; border-radius:8px; background:#F3F7FB; border:1px dashed #B9D3E9; }
.af_guard .hd_bar { margin:5px 0 5px; }
.af_tr { display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; font:500 12px/1.3 Jost,sans-serif; color:#132238; }
.af_tr .hd_i { width:12px; height:12px; color:#75B83F; } .af_tr.is-w .hd_i { color:#C79A2E; } .af_tr.is-b .hd_i { color:#0062A5; }
.af_canvas { position:relative; height:252px; box-sizing:border-box; border:1px solid #DCE4EE; border-radius:8px; overflow:hidden;
  background-color:#FAFCFE; background-image:radial-gradient(#D5DEE9 1px, transparent 1.2px); background-size:14px 14px; }
.af_node { position:absolute; width:120px; box-sizing:border-box; padding:7px 8px; border-radius:8px; background:#fff; border:1px solid #DCE4EE; box-shadow:0 6px 14px -10px rgba(11,35,71,.35);
  transition:border-color .3s ease, box-shadow .3s ease; }
.af_node .hd_k { display:flex; align-items:center; gap:4px; }
.af_node .hd_k { gap:5px; letter-spacing:.06em; white-space:nowrap; }
.af_node .hd_k::after { content:""; margin-left:auto; width:6px; height:6px; border-radius:50%; background:#B9C6D6; transition:background-color .3s ease; }
.af_node.is-on { border-color:#1478C9; box-shadow:0 0 0 3px rgba(20,120,201,.12), 0 6px 14px -10px rgba(11,35,71,.35); }
.af_node.is-done .hd_k::after { background:#75B83F; }
.af_node.is-wait { border-color:#C79A2E; box-shadow:0 0 0 3px rgba(199,154,46,.14); }
.af_edge { position:absolute; background:#C9D6E6; }
.af_edge.h { height:2px; } .af_edge.v { width:2px; }
.af_pk { position:absolute; width:8px; height:8px; margin:-3px 0 0 -3px; border-radius:50%; background:#75B83F; box-shadow:0 0 0 3px rgba(117,184,63,.25); opacity:0; }
.af_pk.is-on { opacity:1; animation:afMove .9s ease-in-out forwards; }
@keyframes afMove { from { transform:translate(0,0); } to { transform:translate(var(--dx,0px),var(--dy,0px)); } }
.af_log { border:1px solid #DCE4EE; border-radius:8px; padding:9px 12px; display:grid; grid-template-columns:1fr 1fr; grid-auto-flow:column; grid-template-rows:auto repeat(3,auto); gap:6px 14px; box-sizing:border-box; }
.af_log_h { grid-column:1/-1; display:flex; align-items:center; gap:6px; } .af_log_h .hd_k { margin-right:auto; }
.af_ln_old { display:flex; gap:6px; align-items:flex-start; font:500 10px/1.3 Jost,sans-serif; color:#132238; }
.af_ln::before { content:""; width:5px; height:5px; border-radius:50%; background:#75B83F; margin-top:3px; flex:none; }
.af_ln.is-w::before { background:#C79A2E; }

/* reduced motion and paused */
.hm_dash.is-static *, .hm_dash.is-static { transition:none !important; animation:none !important; }
.hm_dash.is-static .hd_type, .hm_dash.is-static .ck_beam { clip-path:none; }
.hm_dash.is-static .ck_beam, .hm_dash.is-static .hd_cur, .hm_dash.is-static .af_pk { display:none; }
.hm_dash.is-paused * { animation-play-state:paused !important; }
/* Option C stage (from hm-eco-optc); since 2026-10-30 the window sits fully inside the card */
.hmc_visual .hm_dash { flex:1; height:auto; min-height:0; border-radius:16px; background:linear-gradient(135deg,#DCEAF6 0%,#E6F0F7 48%,#E5F2D8 100%); }
.hmc_visual .hd_win { left:24px; right:24px; top:22px; bottom:24px; box-shadow:0 24px 50px -26px rgba(11,35,71,.45); } /* the window fills the card the same way on every platform (consistent height); 2026-10-31 */
.hmc_visual .hd_body > .v5_tbl, .hmc_visual .hd_body > .ck_split, .hmc_visual .hd_body > .af_grid { flex:1 1 auto; min-height:0; } /* the main panel of the shorter scenes grows to the window, so there is no blank band under it */
.hmc_visual .pie_comp { margin-bottom:10px; } .hmc_visual .pie_chat { gap:6px; padding-top:8px; } .hmc_visual .pie_ans { gap:6px; } .hmc_visual .pie_row { padding-top:7px; padding-bottom:7px; } /* 2026-10-30: Pie made a little more compact so the card can be 540px high, not 580 */ .hmc_visual .hd_row .hd_body { padding-bottom:16px; } /* the window now ends inside the card, so less room is kept under the content for the play control */
.hmc_visual .hm_eco_ctl { bottom:14px; right:14px; } /* bottom-right (user), over the part of the window that bleeds off the card */
.hmc_visual .hm_dash { position:relative; }

/* ---- 2026-10-31 round: no overlap, no clipping, phones laid out for the phone ---- */
/* aptVeri5: opening the report turns the table into a list beside it (results shrink to their status icon), so the panel never covers a column */
.v5_panel { width:184px; padding:10px 12px; gap:7px; }
.v5_panel .hd_line:nth-of-type(3) { display:none; }
.v5_tbl:has(.v5_panel.is-on) .v5r_tr { grid-template-columns:54px minmax(0,1fr) 24px; padding-right:196px; }
.v5_tbl:has(.v5_panel.is-on) .v5r_tr > :nth-child(4) { display:none; }
.v5_tbl:has(.v5_panel.is-on) .v5r_tr > :nth-child(3) .hd_pill { font-size:0; gap:0; padding:5px; }
.v5_tbl:has(.v5_panel.is-on) .v5r_tr:first-child > :nth-child(3) { visibility:hidden; }

/* phones (stage < 560px): the sidebar is gone, text stays >= 10px rendered (canvas is drawn at about 0.84 scale), each scene is a compact single column */
.hm_dash.is-narrow .hd_cur { display:none; }
.hm_dash.is-narrow .hd_win { left:12px; right:12px; top:12px; bottom:14px; }
.hm_dash.is-narrow .hd_head { height:46px; }
.hm_dash.is-narrow .hd_head .hd_top { padding:0 10px; gap:6px; }
.hm_dash.is-narrow .hd_top_t { font-size:13px; }
.hm_dash.is-narrow .hd_body { padding:10px 12px; gap:8px; }
.hm_dash.is-narrow .hd_sub { display:none; }
.hm_dash.is-narrow .hd_h { font-size:19px; }
.hm_dash.is-narrow .hd_k, .hm_dash.is-narrow .hd_sec { font-size:12px; letter-spacing:.08em; }
.hm_dash.is-narrow .hd_pill { font-size:12px; }
.hm_dash.is-narrow .hd_p { font-size:12.5px; }
.hm_dash.is-narrow .hd_btn { font-size:12.5px; }
/* Pie */
.hm_dash.is-narrow .pie_chat { padding:8px 12px 0; gap:6px; }
.hm_dash.is-narrow .pie_src, .hm_dash.is-narrow [data-k="a1"], .hm_dash.is-narrow .pie_row .hd_p, .hm_dash.is-narrow .pie_comp .hd_pill { display:none; }
.hm_dash.is-narrow .pie_q { font-size:13.5px; }
.hm_dash.is-narrow .pie_row { padding:7px 9px; grid-template-columns:22px 1fr; gap:3px 8px; }
.hm_dash.is-narrow .pie_comp { margin:auto 12px 8px; }
.hm_dash.is-narrow .hd_row .hd_body { padding-bottom:12px; }
/* aptVeri5 */
.hm_dash.is-narrow .v5r_stats { grid-template-columns:76px repeat(2,minmax(0,1fr)); gap:8px; }
.hm_dash.is-narrow .v5r_donut, .hm_dash.is-narrow .v5r_donut svg { width:76px; height:76px; }
.hm_dash.is-narrow .v5r_dc b { font-size:15px; } .hm_dash.is-narrow .v5r_dc i { font-size:9.5px; letter-spacing:.06em; }
.hm_dash.is-narrow .v5r_stat { padding:8px 9px; } .hm_dash.is-narrow .v5r_num { font-size:20px; } .hm_dash.is-narrow .v5r_note { font-size:12px; }
.hm_dash.is-narrow .v5r_sh .hd_tile { display:none; }
.hm_dash.is-narrow .v5r_tr { grid-template-columns:66px minmax(0,1fr) 74px; padding:8px 10px; font-size:13px; }
.hm_dash.is-narrow .v5r_tr > :nth-child(4) { display:none; }
.hm_dash.is-narrow .v5r_tr:first-child { font-size:11.5px; }
.hm_dash.is-narrow .v5_panel { width:100%; border-radius:8px; border-left:0; box-shadow:none; padding:14px; transform:translateY(8%); opacity:0; transition:transform .5s cubic-bezier(.3,.7,.3,1), opacity .4s ease; }
.hm_dash.is-narrow .v5_panel.is-on { transform:none; opacity:1; }
.hm_dash.is-narrow .v5_tbl:has(.v5_panel.is-on) .v5r_tr { padding-right:10px; }
.hm_dash.is-narrow .v5_tbl:has(.v5_panel.is-on) .v5r_tr > :nth-child(3) .hd_pill { font-size:12px; gap:4px; padding:5px 8px; }
.hm_dash.is-narrow .v5_tbl:has(.v5_panel.is-on) .v5r_tr:first-child > :nth-child(3) { visibility:visible; }
/* aptCheck */
.hm_dash.is-narrow .ck_doc { display:none; }
.hm_dash.is-narrow .ck_split { grid-template-columns:1fr; }
.hm_dash.is-narrow .ck_item { grid-template-columns:16px 1fr 64px; padding:8px 10px; font-size:13px; }
.hm_dash.is-narrow .ck_toast { right:10px; top:8px; font-size:12.5px; padding:7px 10px; }
.hm_dash.is-narrow .hd_card { padding:9px 11px; }
/* aptAIAgentFactory: the diagram becomes a 3-column grid of nodes (no edges), the trace sits below */
.hm_dash.is-narrow .af_canvas { height:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; padding:8px; background-image:none; align-content:start; }
.hm_dash.is-narrow .af_edge, .hm_dash.is-narrow .af_pk { display:none; }
.hm_dash.is-narrow .af_node, .hm_dash.is-narrow .af_guard { position:static; width:auto; padding:6px 7px; }
.hm_dash.is-narrow .af_node .hd_k, .hm_dash.is-narrow .af_guard .hd_k { font-size:11px; letter-spacing:.04em; gap:4px; }
.hm_dash.is-narrow .af_node .hd_tile.sm { width:18px; height:18px; } .hm_dash.is-narrow .af_node .hd_tile .hd_i { width:11px; height:11px; }
.hm_dash.is-narrow .af_node .hd_t { font-size:12px; margin-top:3px; }
.hm_dash.is-narrow .af_guard .hd_tile { display:none; }
.hm_dash.is-narrow .af_guard .hd_bar { margin:4px 0; }
.hm_dash.is-narrow .af_tr { font-size:12px; white-space:normal; align-items:flex-start; }
.hm_dash.is-narrow .af_log { padding:8px 10px; gap:5px 10px; }
.hm_dash.is-narrow .af_log_h .hd_pill { display:none; }
.hm_dash.is-narrow .af_log_h .hd_k { margin-right:0; }

/* Pie at desktop: a little tighter so the whole answer and the composer fit above the control strip */
.hmc_visual .pie_chat { padding-top:4px; gap:5px; } .hmc_visual .pie_ans { gap:5px; } .hmc_visual .pie_row { padding-top:6px; padding-bottom:6px; gap:3px 10px; }
.hmc_visual .pie_comp { margin-bottom:6px; } .hmc_visual .pie_row .hd_p { line-height:1.3; }
/* phones: remaining fixes */
.hm_dash.is-narrow .ck_toast { position:static; align-self:flex-start; margin:0 12px 10px; }
.hm_dash.is-narrow .hd_win.is-af .hd_head .hd_brand { min-width:0; padding:0 10px; }
.hm_dash.is-narrow .hd_head .hd_top { overflow:hidden; } .hm_dash.is-narrow .hd_top_t { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.hm_dash.is-narrow .hd_head .hd_top > .hd_pill { display:none; }
.hm_dash.is-narrow .hd_head { height:42px; } .hm_dash.is-narrow .hd_body { padding:8px 12px; gap:6px; }
.hm_dash.is-narrow .af_canvas { padding:6px; gap:6px; } .hm_dash.is-narrow .af_log { padding:7px 10px; gap:4px 10px; }
.hm_dash.is-narrow .hd_win.is-af .hd_h { font-size:17px; }
.hm_dash.is-narrow .v5r_ai, .hm_dash.is-narrow .v5r_ptile { display:none; }
.hm_dash.is-narrow .af_node .hd_k .hd_tile { display:none; }
.hm_dash.is-narrow .af_node { padding:5px 7px; }

/* 2026-11-01: shorter card (500px): Pie a few px tighter */
.hmc_visual .pie_row { padding-top:5px; padding-bottom:5px; } .hmc_visual .pie_comp { margin-bottom:4px; }

/* 2026-11-01: desktop - the tinted panel runs the full height of the card's right side (flush to the card edge); the window sits inside it with an even inset */
@media (min-width:992px) { .hmc_visual .hm_dash { border-radius:0; } }

/* 2026-11-01 (Rahul: "why this space is left out, trim it and make the pause button appear on top of it"): no spare strip under the window.
   The window ends 24px (14px on phones) from the card edge, like its other sides; Pause/Play sits on top of its bottom-right corner,
   over padding that every scene keeps free (body padding right/bottom), so it never covers content. */
.hmc_visual .hm_eco_ctl { bottom:10px; right:10px; z-index:9; box-shadow:0 4px 12px -4px rgba(11,35,71,.35); }
.hmc_visual .hd_row .hd_body { padding-right:24px; padding-bottom:26px; }
.hm_dash.is-narrow .hd_row .hd_body { padding-right:26px; padding-bottom:32px; }
.hm_dash.is-narrow .pie_comp { margin-right:40px; margin-bottom:12px; }
