/* ===================================================================
   LOADING EXPERIENCE · page-specific components
   Loaded after style.css, before color.css.
   Portfolio text follows the V5 type pass; the rebuilt product UI
   (inside .app / svg.fx) stays in the product font, Lato.
   =================================================================== */

/* ---------- Hero: spinner card over the screen ---------- */
.le-hcard{position:absolute;left:20px;bottom:24px;display:flex;align-items:center;gap:14px;background:#fff;border-radius:12px;padding:16px 22px 16px 16px;box-shadow:0 16px 40px rgba(40,30,90,.22);font-family:Lato,Inter,sans-serif;font-size:14px;color:#021D2D}

/* ---------- Spinner (Design System: L 60 · M 40 · S 20 · XS 16) ---------- */
.spn{--s:40px;width:var(--s);height:var(--s);flex:none;display:inline-block;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='21' fill='none' stroke='%23E1E7EA' stroke-width='4.8'/%3E%3Cpath d='M24 3A21 21 0 0 1 34.5 42.19' fill='none' stroke='%23021D2D' stroke-width='4.8' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;animation:spn .9s linear infinite}
.spn.l{--s:60px}.spn.m{--s:40px}
.spn.s{--s:20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 3A21 21 0 0 1 34.5 42.19' fill='none' stroke='%23021D2D' stroke-width='4.8' stroke-linecap='round'/%3E%3C/svg%3E")}
.spn.xs{--s:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 3A21 21 0 0 1 34.5 42.19' fill='none' stroke='%23021D2D' stroke-width='4.8' stroke-linecap='round'/%3E%3C/svg%3E")}
@keyframes spn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spn{animation-duration:2.4s}}

/* ---------- Context: load time breakdown ---------- */
.ltb{width:100%;max-width:960px;display:grid;grid-template-columns:1fr 200px;gap:20px;align-items:start}
.ltb-t{background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 32px rgba(0,0,0,.07);overflow:hidden}
.ltb table{width:100%;border-collapse:collapse;font-size:15px;line-height:20px}
.ltb th{font-weight:500;text-align:left;color:var(--faint);font-size:14px;padding:14px 18px;border-bottom:1px solid var(--line);background:#FAFAFA}
.ltb td{padding:12px 18px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.ltb tr:last-child td{border-bottom:0}
.ltb td:first-child{color:var(--faint);width:84px}
.ltb td.sec{width:120px}
.ltb tr.hot td.sec{color:#B4312A;font-weight:500}
.lt{display:inline-flex;align-items:center;gap:8px}
.lt i{width:8px;height:8px;border-radius:50%;flex:none}
.lt.sp1 i{background:#E5A800}.lt.sp2 i{background:#5A48C8}.lt.sp3 i{background:#D2559A}.lt.skl i{background:#B8C4CC}
.ltb-sp{display:flex;flex-direction:column;gap:12px}
.ltb-sp div{background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 32px rgba(0,0,0,.07);padding:18px 16px;display:flex;align-items:center;gap:14px;font-size:14px;line-height:18px}
.ltb-sp div span{color:var(--muted)}
.ltb-sp b{font-weight:500;display:block;color:var(--ink)}
.tlogo{width:40px;height:40px;flex:none}
@media (max-width:900px){.ltb{grid-template-columns:1fr}.ltb-sp{flex-direction:row;flex-wrap:wrap}.ltb-sp div{flex:1 1 160px}.ltb td,.ltb th{padding:10px 12px}}

/* 2×2 problem cards */
.ctx-cards.c4{grid-template-columns:1fr 1fr;max-width:960px;margin:0 auto}

/* neutral chip for "two screens" pairs */
.d1-lbl.n{color:#3A3093;background:#E2DCFB}

/* ---------- Final solution: stage that scales a fixed 1018×620 app ---------- */
.le-fit{position:relative;width:100%;overflow:hidden}
.le-stage{position:absolute;left:50%;top:0;width:1018px;height:620px;margin-left:-509px;transform-origin:top center}
.le-box{border-radius:var(--radius);background:linear-gradient(165deg,#e7e1fa 0%,#f0e2ec 52%,#f9ebdd 100%);padding:0}
.le-ctl{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 auto 40px}
.le-ctl .dx-tabs{margin:0}
.le-replay{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:500;color:var(--ink);background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06),0 6px 18px rgba(0,0,0,.08)}
.le-replay svg{width:16px;height:16px}
.le-replay:focus-visible{outline:2px solid var(--ac,#5A48C8);outline-offset:2px}
.le-meta{display:flex;justify-content:center;gap:10px;margin-top:20px;font-size:14px;line-height:18px;color:var(--muted)}
.le-meta b{font-weight:500;color:var(--ink);font-variant-numeric:tabular-nums}
.le-sub{margin-top:128px}
.le-sub .dx-tabs{margin:0 auto 0}
.le-sub .dx-cap{margin:32px auto 40px}

/* ---------- The rebuilt product (Lato, Tipalti tokens) ---------- */
.app{position:relative;width:1018px;height:620px;display:grid;grid-template-columns:172px 1fr;background:#fff;border-radius:14px;overflow:hidden;
  font-family:Lato,Inter,sans-serif;color:#021D2D;font-size:12px;line-height:16px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 24px 60px rgba(40,30,90,.16)}
.app svg.i{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.app .sb{background:#1D2547;color:rgba(255,255,255,.86);padding:16px 10px}
.app .logo{display:flex;align-items:center;gap:4px;padding:0 6px 18px;color:#fff;font-weight:900;font-style:italic;font-size:19px;letter-spacing:-.02em}
.app .logo svg{width:22px;height:12px;margin:0 0 10px -4px}
.app .nv{display:flex;align-items:center;gap:8px;height:30px;padding:0 8px;border-radius:5px;margin-bottom:3px;font-size:11.5px}
.app .nv .ch{margin-left:auto;width:11px;height:11px;opacity:.7}
.app .nv.on{background:#D6E4F5;color:#1D2547}
.app .mn{position:relative;display:flex;flex-direction:column;min-width:0}
.app .tb{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #E1E7EA;flex:none}
.app .crumb{font-size:10.5px;color:#6D7275}
.app .tb-r{display:flex;align-items:center;gap:13px;color:#021D2D}
.app .pn{display:flex;align-items:center;gap:4px;font-size:11px}
.app .pn svg.i{width:11px;height:11px}
.app .av{width:24px;height:24px;border-radius:50%;background:#DCE5F0;display:grid;place-items:center}
.app .av svg.i{width:13px;height:13px;stroke:#021D2D;stroke-width:2.2}
.app .ct{padding:18px 22px 0;flex:1;min-height:0;display:flex;flex-direction:column}
.app .ph{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;min-height:38px}
.app .ph h4{font-size:19px;line-height:22px;font-weight:900}
.app .ph p{font-size:11px;color:#6D7275;margin-top:3px}
.app .ph-r{display:flex;gap:6px;align-items:center}
.app .srch{width:150px;height:25px;border:1px solid #C7CED3;border-radius:4px;display:flex;align-items:center;justify-content:space-between;padding:0 7px;font-size:11px;color:#6D7275}
.app .srch svg.i{width:12px;height:12px}
.app .yb{height:25px;padding:0 10px;border-radius:4px;background:#FFC20E;display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700}
.app .yb svg.i{width:12px;height:12px}
.app .tabs2{display:flex;gap:18px;border-bottom:1px solid #E1E7EA;font-size:11px;color:#4A5156;height:27px;align-items:flex-end;margin-bottom:10px}
.app .tabs2 span{padding-bottom:7px}
.app .tabs2 span.on{color:#1F5FD1;box-shadow:inset 0 -2px #1F5FD1;font-weight:700}
.app .flt{display:flex;justify-content:space-between;align-items:center;height:26px;margin-bottom:8px}
.app .ob{height:22px;padding:0 8px;border:1px solid #C7CED3;border-radius:4px;display:flex;align-items:center;gap:4px;font-size:10.5px}
.app .ob svg.i{width:11px;height:11px}
.app .flt-r{display:flex;gap:10px;color:#4A5156}
.app .flt-r svg.i{width:13px;height:13px}
.app table{width:100%;border-collapse:collapse;font-size:10.5px;line-height:14px;table-layout:fixed}
.app th{font-weight:700;text-align:left;color:#4A5156;padding:7px 8px;border-bottom:1px solid #E1E7EA;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app td{padding:0 8px;height:33px;border-bottom:1px solid #EEF2F4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app td.id{color:#1F5FD1;text-decoration:underline;text-underline-offset:2px}
.app td.cb,.app th.cb{width:30px;padding-right:0}
.app .ck{width:12px;height:12px;border:1.5px solid #9AA4AA;border-radius:3px;display:block}
.app .ck.on{background:#1F5FD1;border-color:#1F5FD1;position:relative}
.app .ck.on::after{content:"";position:absolute;left:3px;top:0;width:3px;height:7px;border:solid #fff;border-width:0 1.6px 1.6px 0;transform:rotate(45deg)}
.app tr.sel td{background:#F2F7FE}
.app .pill{display:inline-block;padding:2px 7px;border-radius:10px;font-size:10px;line-height:13px;background:#EEF2F4;color:#4A5156}
.app .pill.b{background:#E6EEFC;color:#1F4FA8}.app .pill.g{background:#E3F4EA;color:#1D6B3A}.app .pill.y{background:#FFF4D6;color:#7A5A00}

/* skeleton blocks */
.app .sk{display:block;background:#ECF2F5;border-radius:4px;position:relative;overflow:hidden}
.app .sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:shim 1.4s ease-in-out infinite}
@keyframes shim{to{transform:translateX(100%)}}
@media (prefers-reduced-motion:reduce){.app .sk::after{animation:none}}
.app .sk-rows{display:flex;flex-direction:column;gap:13px;padding-top:8px}
.app .sk-rows .sk{height:15px}

/* regions: .ld = loading → show the skeleton, hide the real content */
.app .rg>.skel{display:none}
.app .rg.ld>.skel{display:block}
.app .rg.ld>.real{display:none}
.app .rg>.real{animation:rin .35s ease both}
@keyframes rin{from{opacity:0}to{opacity:1}}
.app tbody tr{animation:rin .3s ease both}

/* Before: one white cover with the logo spinner over the whole product */
.app .cover{position:absolute;inset:0;background:#fff;z-index:5;display:none;align-items:center;justify-content:center}
.app.blank .cover{display:flex}
.app .cover svg{width:46px;height:46px}
.app .cover .arc{transform-origin:24px 24px;animation:spn 1s linear infinite}

/* side panel */
.app .sp{position:absolute;top:0;right:0;bottom:0;width:300px;background:#fff;box-shadow:-12px 0 32px rgba(2,29,45,.12);display:flex;flex-direction:column;z-index:4}
.app .sp-h{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 18px 12px;border-bottom:1px solid #E1E7EA}
.app .sp-h b{font-size:14px;font-weight:900;display:block}.app .sp-h small{font-size:10.5px;color:#6D7275}
.app .sp-b{padding:16px 18px;display:flex;flex-direction:column;gap:12px;flex:1}
.app .sp-f{padding:12px 18px;border-top:1px solid #E1E7EA;display:flex;justify-content:flex-end;gap:6px}
.app .dim{position:absolute;inset:0;background:rgba(2,29,45,.18);z-index:3}

/* action bar (button state) */
.app .abar{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;background:#021D2D;color:#fff;border-radius:8px;padding:8px 10px 8px 16px;font-size:11px;box-shadow:0 10px 30px rgba(2,29,45,.3);z-index:4;white-space:nowrap}
.app .abar a{color:#9CC1FF;text-decoration:underline}
.app .abar .sep{width:1px;height:16px;background:rgba(255,255,255,.2)}
.app .bt{height:26px;min-width:78px;padding:0 12px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:700;background:#FFC20E;color:#021D2D}
.app .bt.gh{background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;font-weight:400}
.app .bt.ln{background:#fff;border:1px solid #C7CED3;font-weight:400}
.app .bt .spn{color:#021D2D}

/* widgets (home) */
.app .wg{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.app .w{border:1px solid #E1E7EA;border-radius:10px;padding:14px;height:200px;box-shadow:0 2px 4px rgba(0,0,0,.05);display:flex;flex-direction:column}
.app .w-h{display:flex;align-items:center;gap:9px;padding-bottom:12px}
.app .w-h .tile{width:30px;height:30px;border-radius:7px;background:#EEF4FB;display:grid;place-items:center;color:#1F5FD1;flex:none}
.app .w-h b{font-size:12.5px;font-weight:700;display:block}.app .w-h small{font-size:10.5px;color:#6D7275}
.app .w-c{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;font-size:11px;color:#4A5156}
.app .w-num{font-size:22px;font-weight:900;color:#021D2D}
.app .w-row{display:flex;justify-content:space-between;width:100%;font-size:11px;padding:5px 0;border-bottom:1px solid #EEF2F4}
.app .w.wide{grid-column:1/-1;height:150px}

/* long process */
.app .lp{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding-bottom:40px}
.app .lp{gap:10px}
.app .lp .lbl{font-size:11px;line-height:14px;color:#021D2D}

/* usage stage: a soft swap between states */
.le-use .app{transition:opacity .25s ease}
.le-use .app.out{opacity:0}

/* decision pairs: plain white frame around a full screen */
.d3s .zm.fl{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.05),0 16px 40px rgba(0,0,0,.08)}
.d3s .zm.fl svg.fx{display:block;width:100%;height:auto}
.d3s .zm.pl svg.fx{display:block;width:100%;height:auto}

/* spinner showcase */
.spx{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%}
.spx div{background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 8px 24px rgba(0,0,0,.06);padding:26px 12px 18px;display:flex;flex-direction:column;align-items:center;gap:14px;min-height:190px;justify-content:space-between;text-align:center}
.spx .nm{display:flex;flex-direction:column;align-items:center;gap:2px}
.spx .vis{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-family:Lato,Inter,sans-serif;font-size:11px;line-height:14px;white-space:nowrap;color:#021D2D}
.spx .vis .spn.s,.spx .vis .spn.xs{color:#021D2D}
.spx b{font-size:15px;line-height:20px;font-weight:500}
.spx small{display:block;font-size:13px;color:var(--muted);text-align:center;line-height:16px}
.spx-rules{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.spx-rules p{background:#fff;border-radius:12px;padding:16px 18px;font-size:14px;line-height:20px;color:rgba(13,13,13,.8)}
.spx-rules p b{font-weight:500;color:var(--ink);display:block;margin-bottom:2px}
@media (max-width:700px){.spx{grid-template-columns:1fr 1fr}.spx-rules{grid-template-columns:1fr}}


/* ===== Context & problem: real recording + analysis ===== */
.rsp{width:64px;height:64px;flex:none;border-radius:8px;background:#fff;object-fit:cover}
.tl2-lg{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;font-size:14px;color:var(--muted);margin-top:16px}
.tl2-lg span{display:inline-flex;align-items:center;gap:8px}
.tl2-lg i{width:18px;height:10px;border-radius:5px;display:inline-block}
.tl2-lg .vp-hint{color:var(--faint)}
/* option B player */
.vp{max-width:1194px;margin:0 auto}
.vp-frame{position:relative;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05),0 24px 60px rgba(40,30,90,.14)}
.vp-frame video{display:block;width:100%;height:auto;aspect-ratio:1600/756;object-fit:cover}
.vp-big{all:unset;cursor:pointer;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;background:rgba(13,13,13,.82);color:#fff;display:grid;place-items:center;font-size:24px;padding-left:4px;box-sizing:border-box}
.vp.playing .vp-big{display:none}
.vp-bar{display:flex;align-items:center;gap:16px;margin-top:16px}
.vp-pp{all:unset;cursor:pointer;width:40px;height:40px;border-radius:50%;background:#0D0D0D;color:#fff;display:grid;place-items:center;font-size:13px;flex:none}
.vp-pp:focus-visible,.vp-big:focus-visible,.vp-seg:focus-visible{outline:2px solid #5A48C8;outline-offset:2px}
.vp-track{position:relative;flex:1;height:28px;cursor:pointer}
.vp-track::before{content:"";position:absolute;left:0;right:0;top:12px;height:4px;border-radius:2px;background:#E4E4E8}
.vp-fill{position:absolute;left:0;top:12px;height:4px;border-radius:2px;background:rgba(13,13,13,.35);width:0}
.vp-head{position:absolute;top:6px;width:2px;height:16px;background:#0D0D0D;left:0;border-radius:1px}
.vp-seg{all:unset;cursor:pointer;position:absolute;top:8px;height:12px;min-width:7px;border-radius:6px;box-sizing:border-box}
.vp-seg.fp{background:#0D0D0D}.vp-seg.ia{background:#8C8C92}.vp-seg.sk{background:#9FB4E8}
.vp-seg:hover{transform:scaleY(1.3)}
.vp-tip{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#0D0D0D;color:#fff;font-size:12px;line-height:16px;padding:5px 9px;border-radius:6px;opacity:0;pointer-events:none;transition:opacity .15s}
.vp-seg:hover .vp-tip,.vp-seg:focus-visible .vp-tip{opacity:1}
.vp-time{font-size:14px;font-variant-numeric:tabular-nums;color:var(--muted);width:44px;text-align:right}
.vp figcaption{margin-top:12px}
/* option C clips */
.lt.sp1 i,.lt.sp2 i,.lt.sp3 i{background:#0D0D0D}
.lt.sp2 i,.lt.sp3 i{background:#8C8C92}
.lt.skl i{background:#9FB4E8}
.vp figcaption{text-align:center}
/* review round 2 */
.vp-clock{position:absolute;right:20px;bottom:20px;font-size:15px;line-height:20px;font-weight:500;font-variant-numeric:tabular-nums;color:#fff;background:rgba(13,13,13,.82);padding:6px 11px;border-radius:8px;letter-spacing:.02em}
.vp-seg.no{background:repeating-linear-gradient(135deg,#C9C9CF 0 3px,transparent 3px 6px);box-shadow:inset 0 0 0 1px #B5B5BC}
.tl2-lg i.no{background:repeating-linear-gradient(135deg,#C9C9CF 0 3px,transparent 3px 6px);box-shadow:inset 0 0 0 1px #B5B5BC}

.lt.no i{background:repeating-linear-gradient(135deg,#C9C9CF 0 2px,transparent 2px 4px);box-shadow:inset 0 0 0 1px #B5B5BC}
.ltb-sp img.rsp{width:64px!important;height:64px!important;max-width:none;flex:none;box-shadow:none;border-radius:8px;object-fit:cover}
/* lightbox: fit the pair to its screens, no empty space on the right */
.lbz .lb-pair.d3s{width:fit-content;max-width:100%;align-self:center;align-items:flex-start}
.lbz .lb-pair.d3s .zm{width:fit-content}
.lbz .lb-pair.d3s .d1-lbl.n~.d1-lbl.n{margin-top:24px}
.lbz .lb-pair.d3s.side{display:grid;grid-template-columns:auto auto;column-gap:24px;row-gap:12px;align-items:start}
.lbz .lb-pair.d3s.side>.d1-lbl{grid-row:1;margin-top:0!important;justify-self:start}
.lbz .lb-pair.d3s.side>.zm{grid-row:2}

/* ===== Proposed Final solution (for comparison): usage first, then 3 → 1 strip ===== */
.cmp-flag{max-width:1194px;margin:96px auto 0;padding:0 24px;display:flex;align-items:center;gap:16px;color:#5A48C8;font-size:13px;line-height:16px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.cmp-flag::before,.cmp-flag::after{content:"";flex:1;border-top:2px dashed #C9C2EE}
.sp31{margin-top:112px}
.sp31-h{text-align:center;margin-bottom:32px}
.sp31-row{display:grid;grid-template-columns:minmax(0,3fr) 32px minmax(0,4fr);gap:16px;max-width:1040px;margin:0 auto;align-items:stretch}
.sp31-g{background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 32px rgba(0,0,0,.07);padding:20px 20px 24px;display:flex;flex-direction:column;gap:18px}
.sp31-g>small{font-size:13px;line-height:16px;color:var(--faint)}
.sp31-it{display:grid;gap:12px;flex:1}
.sp31-old .sp31-it{grid-template-columns:repeat(3,1fr)}
.sp31-new .sp31-it{grid-template-columns:repeat(4,1fr)}
.sp31-it>div{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;font-size:13px;line-height:16px;color:var(--muted)}
.sp31-it b{display:block;font-size:14px;line-height:18px;font-weight:500;color:var(--ink)}
.sp31 img{width:64px!important;height:64px!important;max-width:none;flex:none;border-radius:8px;object-fit:cover;box-shadow:none;opacity:.75}
.sp31-v{width:64px;height:64px;display:grid;place-items:center;color:#021D2D}
.sp31-ar{align-self:center;justify-self:center;font-size:24px;color:var(--faint)}
.sp31-cap{text-align:center;max-width:640px;margin:28px auto 0;font-size:15px;line-height:22px;color:var(--muted)}
@media (max-width:820px){.sp31-row{grid-template-columns:1fr}.sp31-ar{transform:rotate(90deg)}}

/* proposed: guidelines block (one source of truth) */
.gl{margin-top:112px}
.gl-sub{max-width:640px;margin:16px auto 0}
.gl-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1040px;margin:0 auto}
.gl-card{margin:0}
.gl-pg{height:420px;overflow:hidden;border-radius:16px;background:#F2F5FA;box-shadow:0 1px 2px rgba(0,0,0,.05),0 12px 32px rgba(0,0,0,.08)}
.gl-pg{position:relative;cursor:zoom-in}
.gl-pg img{display:block;width:100%!important;height:auto!important;max-width:none;box-shadow:none;border-radius:0;transition:transform .4s ease}
.gl-card{cursor:zoom-in;outline:none}
.gl-card:hover .gl-pg img{transform:scale(1.02)}
.gl-card:focus-visible .gl-pg{outline:2px solid var(--ac,#5A48C8);outline-offset:3px}
.gl-pg .dx-exp{position:absolute;right:12px;top:12px;z-index:2}
.gl-card figcaption{margin-top:16px;font-size:14px;line-height:20px;color:var(--muted);text-align:left}
.gl-card figcaption b{display:block;font-size:16px;line-height:22px;font-weight:500;color:var(--ink);margin-bottom:2px}
@media (prefers-reduced-motion:reduce){.gl-pg img{transition:none}}
@media (max-width:820px){.gl-row{grid-template-columns:1fr}.gl-pg{height:320px}}

/* button state in a side panel footer + changing long-process label */
.app .sp-b.kv{gap:0;padding-top:8px}
.app .sp-b.kv>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #EEF2F4;font-size:11px;color:#6D7275}
.app .sp-b.kv b{font-weight:700;color:#021D2D}
.app .sp-f .bt{min-width:84px}
.app .lp .lbl{transition:opacity .25s ease}
.app .lp .lbl.out{opacity:0}

/* product: real logo, side panel that pushes the content, half-loaded table */
.app .logo img{display:block;height:22px;width:auto;max-width:none;box-shadow:none;border-radius:0;margin:2px 0 0}
.app .row{flex:1;min-height:0;display:flex}
.app .row>.ct{min-width:0}
.app .row>.sp{position:relative;top:auto;right:auto;bottom:auto;width:290px;flex:none;box-shadow:none;border-left:1px solid #E1E7EA;z-index:auto}
.app tr.skr td{height:33px}
.app tr.skr .sk{height:11px}

/* guidelines lightbox: full screen, scroll inside */
.gl-lb{border:0;padding:0;width:min(1180px,94vw);height:94vh;max-width:none;max-height:none;border-radius:16px;background:#F2F5FA;box-shadow:0 24px 80px rgba(0,0,0,.3);overflow:hidden}
.gl-lb[open]{display:flex;flex-direction:column}
.gl-lb::backdrop{background:rgba(13,13,13,.55)}
.gl-lb-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 12px 24px;background:#fff;border-bottom:1px solid var(--line);font-size:15px;font-weight:500;flex:none}
.gl-lb-x{all:unset;cursor:pointer;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:24px;line-height:1;color:var(--ink)}
.gl-lb-x:hover{background:#F2F2F4}
.gl-lb-body{flex:1;overflow-y:auto;padding:32px}
.gl-lb-body img{display:block;width:100%!important;max-width:1080px!important;height:auto!important;margin:0 auto;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.08)}
.app .row>.sp{margin:10px 12px 12px 4px;border:1px solid #E1E7EA;border-radius:8px;box-shadow:0 2px 8px rgba(2,29,45,.06)}
.gl-lb{position:fixed;inset:0;margin:auto}
.app .yb{white-space:nowrap}
.app .row:has(>.sp) .srch{width:112px}

/* side panel, matched to the product (Button tab) */
.app .xp{width:300px}
.app .xp-h{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 18px 10px}
.app .xp-h>div{display:flex;flex-direction:column;gap:3px}
.app .xp-h small{font-size:9.5px;letter-spacing:.06em;color:#6D7275;font-weight:700}
.app .xp-h b{font-size:17px;line-height:21px;font-weight:900}
.app .xp-h span{font-size:11px}
.app .xp-h em{font-style:normal;display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin-top:5px;padding:3px 8px;border-radius:10px;background:#E3F3F6;color:#1F4FA8;font-size:10.5px}
.app .xp-h em svg.i{width:11px;height:11px}
.app .xp-t{display:flex;gap:6px;padding:0 18px;border-bottom:1px solid #E1E7EA}
.app .xp-t span{padding:6px 6px 8px;color:#6D7275}
.app .xp-t span.on{color:#021D2D;box-shadow:inset 0 -2px #1D2547}
.app .xp-b{flex:1;padding:12px 18px;display:flex;flex-direction:column;gap:9px;overflow:hidden}
.app .xp-b h5{font-size:12.5px;font-weight:900;margin-bottom:2px}
.app .xr{display:flex;align-items:flex-start;gap:12px;font-size:11px;line-height:15px}
.app .xr>svg.i{width:13px;height:13px;margin-top:1px;color:#4A5156}
.app .xr .nm{display:inline-flex;align-items:center;gap:6px}
.app .xr .nm svg.i{width:11px;height:11px}
.app .xr small{display:block;font-size:10px;color:#6D7275}
.app .xr .fc{display:inline-flex;align-items:center;gap:8px;border:1px solid #C7CED3;border-radius:5px;padding:3px 30px 3px 3px;margin-top:-3px}
.app .xr .fc i{width:18px;height:18px;border-radius:3px;background:#FDF0F0;display:grid;place-items:center;color:#C8303A}
.app .xr .fc svg.i{width:11px;height:11px}
.app .xf{display:flex;flex-direction:column;gap:3px;font-size:11px}
.app .xf b{font-size:10.5px;font-weight:700}
.app .xg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.app .xp .sp-f{padding:12px 18px;gap:8px}
.app .xp .bt{min-width:70px}
.app .xp .bt.ap{min-width:84px}

.app .xp .bt .spn.s{--s:14px}
.vp-seg:hover{transform:none;top:6px;height:16px;border-radius:8px}
