.bb-recorder-overlay{position:fixed;inset:0;z-index:12050;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(2,6,23,.72);backdrop-filter:blur(16px)}
.bb-recorder-overlay.open{display:flex}.bb-recorder-open{overflow:hidden}.bb-recorder-shell{width:min(1180px,96vw);max-height:94vh;overflow:hidden;border:1px solid rgba(148,163,184,.28);border-radius:24px;background:linear-gradient(145deg,#f8fbff,#eef5ff);box-shadow:0 32px 90px rgba(2,6,23,.45);color:#0f172a;outline:none}
.bb-recorder-head{height:76px;display:flex;align-items:center;gap:14px;padding:0 22px;border-bottom:1px solid #dbe7f5;background:rgba(255,255,255,.82)}.bb-recorder-brand{display:flex;align-items:center;gap:12px;min-width:0}.bb-recorder-brand>i{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#075be8,#50a7ff);color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.28)}.bb-recorder-brand svg{width:25px;fill:none;stroke:currentColor;stroke-width:1.8}.bb-recorder-brand>span{display:flex;flex-direction:column}.bb-recorder-brand b{font-size:18px;letter-spacing:-.02em}.bb-recorder-brand small{font-size:11px;color:#64748b;margin-top:2px}.bb-recorder-free{margin-left:auto;padding:7px 11px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-size:10px;font-weight:800}.bb-recorder-close{width:36px;height:36px;border:0;border-radius:11px;background:#edf2f8;color:#475569;font-size:22px;cursor:pointer}.bb-recorder-close:hover{background:#fee2e2;color:#dc2626}
.bb-recorder-body{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);min-height:620px;max-height:calc(94vh - 76px)}.bb-recorder-preview{padding:22px;overflow:auto;background:radial-gradient(circle at 18% 5%,rgba(59,130,246,.08),transparent 38%),#f8fbff}.bb-recorder-canvas-wrap{position:relative;overflow:hidden;border-radius:18px;background:#07111f;box-shadow:0 18px 45px rgba(15,23,42,.22);aspect-ratio:16/9}.bb-recorder-canvas-wrap canvas{display:block;width:100%;height:100%;object-fit:contain}.bb-recorder-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#cbd5e1;background:radial-gradient(circle at 50% 25%,rgba(59,130,246,.24),transparent 45%),linear-gradient(145deg,#07111f,#14284b)}.bb-recorder-placeholder[hidden]{display:none}.bb-recorder-placeholder-icon{display:grid;place-items:center;width:58px;height:58px;margin-bottom:12px;border:1px solid rgba(125,211,252,.38);border-radius:18px;background:rgba(59,130,246,.16);font-size:25px;color:#7dd3fc}.bb-recorder-placeholder b{font-size:15px;color:#f8fafc}.bb-recorder-placeholder small{margin-top:5px;font-size:10px;color:#8294ad}.bb-recorder-live{position:absolute;left:14px;top:14px;display:none;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:rgba(2,6,23,.78);color:#fff;font-size:10px}.bb-recorder-live.show{display:flex}.bb-recorder-live i{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.18);animation:bbRecorderPulse 1.2s infinite}.bb-recorder-live em{font-style:normal;color:#cbd5e1;font-variant-numeric:tabular-nums}.bb-recorder-playback{display:none;width:100%;margin-top:14px;border-radius:16px;background:#020617}.bb-recorder-playback.show{display:block}.bb-recorder-result{margin-top:14px;padding:13px 14px;border:1px solid #dce6f2;border-radius:14px;background:#fff;color:#64748b;font-size:11px;line-height:1.55}.bb-recorder-result.ready{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.bb-recorder-result.recording{border-color:#fecaca;background:#fff1f2;color:#be123c}.bb-recorder-result.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.bb-recorder-result.error{border-color:#fecaca;background:#fff1f2;color:#b91c1c}.bb-recorder-result b,.bb-recorder-result span{display:block}.bb-recorder-result div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.bb-recorder-result button{height:32px;padding:0 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;font-size:10px;font-weight:700;cursor:pointer}.bb-recorder-result button.primary{border-color:#2563eb;background:#2563eb;color:#fff}
.bb-recorder-controls{padding:20px;overflow:auto;border-left:1px solid #dbe7f5;background:#fff}.bb-recorder-controls section{padding:15px;border:1px solid #e2e8f0;border-radius:16px;background:#fbfdff}.bb-recorder-controls section+section{margin-top:12px}.bb-recorder-section-title{display:flex;align-items:center;justify-content:space-between}.bb-recorder-section-title b{font-size:13px}.bb-recorder-section-title span{font-size:9px;font-weight:800;color:#94a3b8}.bb-recorder-controls section>p{margin:6px 0 12px;font-size:9px;line-height:1.55;color:#64748b}.bb-recorder-checks{display:grid;gap:7px}.bb-recorder-checks label{display:flex;gap:9px;align-items:flex-start;padding:9px;border:1px solid #e2e8f0;border-radius:12px;cursor:pointer}.bb-recorder-checks label:hover{border-color:#93c5fd;background:#f8fbff}.bb-recorder-checks input{margin-top:2px;accent-color:#2563eb}.bb-recorder-checks span{display:flex;flex-direction:column}.bb-recorder-checks b{font-size:10px}.bb-recorder-checks small{margin-top:2px;font-size:8px;line-height:1.35;color:#64748b}.bb-recorder-themes{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.bb-recorder-themes button{height:39px;border:3px solid #fff;border-radius:12px;background:var(--swatch);box-shadow:0 0 0 1px #d8e2ef;cursor:pointer}.bb-recorder-themes button.active{box-shadow:0 0 0 2px #2563eb}.bb-recorder-range{display:block;margin-top:13px}.bb-recorder-range span{display:flex;justify-content:space-between;font-size:9px}.bb-recorder-range em{font-style:normal;color:#64748b;font-variant-numeric:tabular-nums}.bb-recorder-range input{width:100%;margin-top:7px;accent-color:#2563eb}.bb-recorder-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.bb-recorder-actions button{height:40px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;font-size:10px;font-weight:800;cursor:pointer}.bb-recorder-actions button.primary{grid-column:1/-1;border-color:#2563eb;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.22)}.bb-recorder-actions button.danger{border-color:#fecaca;background:#fff1f2;color:#be123c}.bb-recorder-actions button:disabled{opacity:.45;cursor:not-allowed}.job-screen-record-button{border-color:rgba(37,99,235,.32)!important;color:#2563eb!important}.job-screen-record-button span{color:#ef4444;font-size:8px}
@keyframes bbRecorderPulse{50%{opacity:.45;transform:scale(.8)}}
@media(max-width:840px){.bb-recorder-overlay{padding:0}.bb-recorder-shell{width:100vw;max-height:100vh;height:100vh;border-radius:0}.bb-recorder-body{grid-template-columns:1fr;max-height:calc(100vh - 76px);overflow:auto}.bb-recorder-preview{padding:14px}.bb-recorder-controls{overflow:visible;border-left:0;border-top:1px solid #dbe7f5}.bb-recorder-free{display:none}}
