
.cr.crf{--crf-nav:56px}

html.crf-html,html.crf-html body{height:100%}
body.crf-page{margin:0;background:#fff;overflow:hidden}
.crf-shell{height:100vh;height:100dvh;display:flex;flex-direction:column;min-height:0}

.cr.crf{flex:1;min-height:0;display:flex;flex-direction:column;border:0;box-shadow:none}
.cr.crf .cr-frame{aspect-ratio:auto!important;height:auto;flex:1;min-height:0;flex-direction:column}

.cr.crf .cr-nav{width:auto!important;flex:none;height:var(--crf-nav);flex-direction:row;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.09)}
.cr.crf .cr-brand{flex:none;padding:0;gap:9px;justify-content:flex-start}
.cr.crf .cr-mark{width:26px;height:26px}
.cr.crf .cr-btext{display:none}
.cr.crf .cr-items{flex:1;min-width:0;flex-direction:row;gap:2px;padding:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-behavior:smooth}
.cr.crf .cr-items::-webkit-scrollbar{display:none}
.cr.crf .cr-item{flex:none;justify-content:flex-start;padding:8px 10px;font-size:12.5px;gap:8px}
.cr.crf .cr-item span{display:block}
.cr.crf .cr-item svg{width:14px;height:14px}
.cr.crf .cr-item::before{left:0;right:0;top:auto;bottom:-1px;width:auto;height:2px;transform:scaleX(0)}
.cr.crf .cr-item.on::before{transform:scaleX(1)}
.cr.crf .cr-user{flex:none;margin-top:0;padding:0}
.cr.crf .cr-ulab{display:none}
.cr.crf .cr-urow{justify-content:flex-end}
.cr.crf .cr-uav{width:26px;height:26px;font-size:9px}
.cr.crf .cr-urole{display:none}

.cr.crf .cr-main{flex:1;min-height:0}
.cr.crf .cr-canvas{flex:1;min-height:0;padding:0;overflow:hidden}
.cr.crf .cr-head,.cr.crf .cr-sub{display:none}
.cr.crf .cr-body{flex:1;min-height:0;gap:0;flex-direction:column!important}
.cr.crf .cr-body .cr-chat{flex:1 1 auto!important;flex-basis:auto!important;min-height:0;max-height:none!important;max-width:none;overflow-y:auto;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;gap:11px;padding:15px 14px 96px}
.cr.crf .cr-body .cr-chat > :first-child{margin-top:0!important}
.cr.crf .cr-body .cr-panel{display:none!important}

.cr.crf .crf-step{padding:0;transition:opacity .38s cubic-bezier(.2,.7,.3,1),transform .38s cubic-bezier(.2,.7,.3,1)}
.cr.crf .crf-step.pre{opacity:0;transform:translateY(9px)}
.cr.crf .crf-step-h{font-family:var(--font-display);font-size:19.5px;font-weight:700;letter-spacing:-.032em;line-height:1.16;color:var(--color-text)}

.cr.crf .cm-pan .pn{height:auto;overflow:visible}
.cr.crf .cm-pan .fin{height:auto;padding:24px 18px}
.cr.crf .cm-pan .fin-grid{grid-template-columns:1fr;margin-top:18px}
.cr.crf .cm-pan .pn-cta{margin-top:14px}

.cr.crf .cr-ov{top:var(--crf-nav)}

.cr.crf .pl{flex:none}
.cr.crf .sk-dot::after{content:"";position:absolute;inset:-13px -12px}
.cr.crf .sk{height:34px}
.crf-note{margin:0;padding:8px 14px 10px;font-size:11px;line-height:1.45;color:var(--color-text-faint);background:var(--color-surface-alt);border-top:1px solid var(--color-border)}
.crf-note b{font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-muted);margin-right:7px}


@media (max-height:620px){
  .cr.crf{--crf-nav:48px}
  .cr.crf .cr-mark{width:23px;height:23px}
  .cr.crf .cr-item{padding:7px 9px;font-size:12px}
  .cr.crf .cr-uav{width:23px;height:23px}
  .cr.crf .cr-body .cr-chat{padding:12px 14px 56px;gap:9px}
  .cr.crf .crf-step-h{font-size:18px}
  .cr.crf .pl{padding:7px 12px;gap:9px}
  .cr.crf .pl-b{width:32px;height:32px}
  .cr.crf .pl-g{width:29px;height:29px}
  .cr.crf .sk{height:26px}
  .crf-note{padding:6px 14px 7px;font-size:10px;line-height:1.4}
}

@media (max-height:470px){
  .cr.crf{--crf-nav:44px;--cr-chat:16px;--cr-label:12px}
  .cr.crf .cr-item{padding:6px 9px}
  .cr.crf .cr-body .cr-chat{padding:10px 14px 40px}
  .cr.crf .cm-wa{padding:8px 11px 10px}
  .cr.crf .cm-jo{padding:8px 12px 10px}
  .cr.crf .crf-step-h{font-size:16.5px}
  .cr.crf .cm-pan .pn{padding:13px 14px 12px}
  .cr.crf .pl{padding:6px 12px}
  .crf-note{padding:5px 14px 6px;font-size:9.5px}
}

@media (min-height:900px){
  .cr.crf .cr-body .cr-chat{gap:13px;padding:18px 15px 120px}
}

.crlb{ padding:0; height:100%; height:100svh; }
.crlb-panel{ width:100%; height:100%; display:flex; flex-direction:column; min-height:0;
  padding-bottom:env(safe-area-inset-bottom,0px); }
.crlb-stage{ flex:1; min-height:0; display:flex; }
.crlb-stage .cr.crf{ flex:1; min-width:0; }
.crlb-bar{ flex:none; margin:0; padding:6px 8px 5px 12px; align-items:center; gap:10px; }
.crlb-note{ flex:1 1 auto; min-width:0; margin:0; font-size:9px; line-height:1.3;
  flex-direction:row; align-items:baseline; gap:6px; }
.crlb-tag{ font-size:7.5px; padding:2px 4px; letter-spacing:.1em; }

body.crf-rig{margin:0;background:var(--color-surface-sunken);height:100dvh;display:flex;align-items:center;justify-content:center}
.crf-rig-in{display:flex;flex-direction:column;align-items:center;gap:10px}
.crf-rig-lab{font-family:var(--font-mono);font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-faint)}
.crf-rig-f{width:390px;height:min(844px,calc(100dvh - 70px));border:1px solid var(--color-border);background:#fff;box-shadow:var(--shadow-lg)}
