.notification-sounds-admin{display:grid;grid-gap:18px;gap:18px;min-width:0}.notification-sounds-admin .card-heading p{color:var(--muted);font-size:13px;margin:6px 0 0}.notification-sounds-admin .sound-rules-table{min-width:850px}.notification-sounds-admin .sound-rules-table :is(th,td):first-child{width:20%}.notification-sounds-admin .sound-rules-table :is(th,td):nth-child(2){width:35%}.notification-sounds-admin .sound-rules-table :is(th,td):nth-child(3){width:56px;text-align:center}.notification-sounds-admin .sound-rules-table th:nth-child(3){min-width:64px;white-space:nowrap}.notification-sounds-admin .sound-rules-table :is(th,td):nth-child(4){width:310px}.notification-sounds-admin .sound-rules-table :is(th,td):nth-child(5){width:130px;text-align:center}.notification-sounds-admin .sound-select{min-width:0}.notification-sounds-admin select{width:100%;min-width:0}.notification-sounds-admin .row-actions{margin-top:16px;flex-wrap:wrap}.notification-sounds-admin .sound-select select{height:var(--admin-search-height,44px);padding:0 12px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text,#0b1020);font:inherit;font-size:13px}.notification-sounds-admin .switch-label{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.notification-sounds-admin .switch-label input{width:18px;height:18px;margin:0;accent-color:var(--blue,#4f46e5)}.notification-sounds-admin button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--admin-search-height,44px);padding:0 14px;border:1px solid #000;border-radius:6px;background:#000;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.notification-sounds-admin button:hover:not(:disabled){background:#202020;border-color:#202020}.notification-sounds-admin button:disabled{opacity:.5;cursor:not-allowed}.notification-sounds-admin button.sound-preview-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:0}.notification-sounds-admin button:focus-visible,.notification-sounds-admin input:focus-visible{outline:2px solid var(--blue,#4f46e5);outline-offset:3px}.notification-sounds-admin .sound-select select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.12);outline:0}@media (forced-colors:active){.notification-sounds-admin .sound-select select:focus{outline:2px solid Highlight;outline-offset:2px;box-shadow:none}}.attendance-alert-backdrop{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:20px;background:#0008;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.attendance-alert-dialog{width:min(100%,520px);max-height:calc(100dvh - 40px);overflow:auto;background:var(--panel,#fff);color:var(--ink,#101827);border:1px solid #df9f24;border-top:4px solid #df9f24;border-radius:10px;box-shadow:0 18px 60px #0005;padding:24px;outline:none}.attendance-alert-dialog header{display:flex;align-items:center;gap:12px}.attendance-alert-dialog h2{font-size:18px;margin:0}.attendance-alert-symbol{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#b66b00;color:white;font-size:22px;font-weight:800}.attendance-alert-dialog p{line-height:1.6;margin:20px 0}.attendance-alert-dialog .attendance-alert-queue{color:var(--muted,#64748b);font-size:12px;margin-top:-10px}.attendance-alert-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.alerts-notifications-admin .primary,.attendance-alert-dialog button{background:#000!important;color:#fff!important;border:1px solid #000!important;border-radius:6px;padding:10px 16px;white-space:nowrap}.attendance-alert-dialog button:disabled{opacity:.45;cursor:not-allowed}.attendance-alert-dialog button:focus-visible{outline:2px solid #df9f24;outline-offset:3px}.alerts-notifications-admin .alert-setting-switch{display:flex;align-items:center;gap:10px;font-size:13px}.alerts-notifications-admin .card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.alerts-notifications-admin td input[type=number]{width:100px;max-width:100%;height:40px}.attendance-alert-search{width:min(100%,var(--admin-search-width,340px));height:var(--admin-search-height,44px)}.alerts-notifications-admin .admin-resource-toolbar{margin:16px 0}.conversation-row .row-top time{white-space:nowrap;font-size:10px;flex-shrink:0;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media(max-width:480px){.attendance-alert-dialog{padding:18px}.attendance-alert-dialog footer{justify-content:stretch}.attendance-alert-dialog button{flex:1 1}}.react-flow{direction:ltr;--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:rgba(255,255,255,0.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:rgba(240,240,240,0.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:rgba(240,240,240,0.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,0.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:rgba(0,89,220,0.08);--xy-selection-border-default:1px dotted rgba(0,89,220,0.8);--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,0.08);--xy-edge-label-background-color-default:#ffffff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:rgba(150,150,150,0.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,0.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:rgba(240,240,240,0.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(255,255,255,0.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:rgba(200,200,220,0.08);--xy-selection-border-default:1px dotted rgba(200,200,220,0.8);--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,0.08);--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:-webkit-grab;cursor:grab}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:-webkit-grab;cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{position:absolute;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__minimap{background:var(
    --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))
  )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(
      --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))
    );stroke:var(
      --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))
    );stroke-width:var(
      --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))
    )}.react-flow__minimap-node{fill:var(
      --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))
    );stroke:var(
      --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))
    );stroke-width:var(
      --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))
    )}.react-flow__background-pattern.dots{fill:var(
      --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))
    )}.react-flow__background-pattern.lines{stroke:var(
      --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))
    )}.react-flow__background-pattern.cross{stroke:var(
      --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))
    )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border-bottom:1px solid var(
        --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))
      );color:var(
      --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))
    );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{padding:10px;border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default))}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(
        --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))
      );color:var(
        --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))
      )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(
        --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))
      )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.conversation-history-dialog-backdrop{position:fixed;inset:0;z-index:2400;display:grid;place-items:center;padding:22px;background:rgba(10,20,34,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.conversation-history-dialog{display:flex;flex-direction:column;width:min(1060px,100%);height:min(820px,90dvh);max-height:90dvh;min-height:0;overflow:hidden;border-radius:var(--radius-dialog);background:var(--panel);color:var(--ink);box-shadow:var(--shadow-lg)}.conversation-history-dialog>header{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--line)}.conversation-history-dialog>header>div{min-width:0}.conversation-history-dialog h2{margin:0;font-size:20px;line-height:1.35;letter-spacing:-.01em}.conversation-history-dialog>header p{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin:8px 0 0;font-size:14px;overflow-wrap:anywhere}.conversation-history-dialog>header p span{color:var(--muted);font-size:13px}.conversation-history-dialog .conversation-history-close{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:var(--radius-control);background:#f1f4f9;color:var(--muted);font-size:24px;cursor:pointer}.conversation-history-dialog .conversation-history-close:hover{background:#e6ebf2;color:var(--ink)}.conversation-history-details{flex:none;padding:12px 24px;border-bottom:1px solid var(--line)}.conversation-history-details dl{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;grid-gap:12px 20px;gap:12px 20px;margin:0}.conversation-history-details dl>div{min-width:0}.conversation-history-details dt{margin-bottom:4px;color:var(--muted);font-size:11px}.conversation-history-details dd{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.conversation-history-details>p{margin:9px 0 0;color:var(--muted);font-size:12px}.conversation-history-transcript{flex:1 1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 24px;background:#f3f5f9}.conversation-history-identity{margin-bottom:16px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-surface);background:var(--panel);font-size:12px}.conversation-history-identity summary{cursor:pointer;font-weight:600}.conversation-history-identity>div{max-height:220px;overflow:auto;margin-top:8px}.conversation-history-identity ol{margin:0;padding:0;list-style:none}.conversation-history-identity li{padding:8px 0;border-bottom:1px solid var(--line)}.conversation-history-identity p{margin:4px 0;line-height:1.5;overflow-wrap:anywhere}.conversation-history-identity [role=alert]{color:var(--red)}.conversation-history-identity summary:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.conversation-history-status{padding:28px 12px;color:var(--muted);font-size:14px;text-align:center}.conversation-history-status [role=alert]{color:var(--red)}.conversation-history-older{margin-bottom:20px;text-align:center}.conversation-history-day{display:flex;justify-content:center;margin:8px 0 16px;color:var(--muted);font-size:12px}.conversation-history-day span{padding:5px 10px;border-radius:var(--radius-surface);background:#e7ebf1}.conversation-history-message{display:flex;align-items:flex-start;margin-bottom:12px}.conversation-history-message>div{position:relative;min-width:0;max-width:min(75%,620px);padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius-bubble);background:var(--panel);box-shadow:var(--shadow-sm)}.conversation-history-message.outbound{justify-content:flex-end}.conversation-history-message.outbound>div{background:#dde8ff;border-color:#c5d7ff}.conversation-history-message.internal>div{width:100%;max-width:none;background:#fff5d9;border-color:#f2d896}.conversation-history-message.system{justify-content:center}.conversation-history-message.system>div{max-width:90%;background:#e7ebf1;border-color:transparent;color:var(--muted);box-shadow:none;text-align:center}.conversation-history-message p{margin:4px 0 6px;font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.conversation-history-message a{color:var(--blue-strong,var(--blue))}.conversation-history-author,.conversation-history-note{display:block;margin-bottom:5px;font-size:12px}.conversation-history-note{color:#8c6c28}.conversation-history-message blockquote{display:grid;grid-gap:4px;gap:4px;margin:0 0 9px;padding:7px 10px;border:0;border-left:3px solid var(--blue);border-radius:var(--radius-surface);background:rgba(79,70,229,.06);color:var(--muted);font-size:12px;overflow-wrap:anywhere}.conversation-history-message small{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 10px;margin-top:7px;color:var(--muted);font-size:10px}.conversation-history-message.outbound{--outbound-stamp-inset:8px;--history-bubble-right-padding:14px}.conversation-history-message.outbound>div>small{margin-right:calc(var(--outbound-stamp-inset) - var(--history-bubble-right-padding))}.conversation-history-message .conversation-history-deleted,.conversation-history-message .conversation-history-unavailable{color:var(--muted);font-style:italic}.conversation-history-message .conversation-history-image{display:block;width:-moz-fit-content;width:fit-content;max-width:100%}.conversation-history-message img,.conversation-history-message video{display:block;max-width:100%;width:300px;max-height:340px;object-fit:contain;border-radius:var(--radius-surface)}.conversation-history-message audio{display:block;max-width:100%;width:300px;height:42px}.conversation-history-message .conversation-history-document{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:var(--radius-surface);background:var(--panel);color:var(--ink);text-decoration:none;overflow-wrap:anywhere}.conversation-history-document svg{flex:none;width:24px;height:24px;color:var(--muted)}.conversation-history-document span:not([aria-hidden]){min-width:0}.conversation-history-reaction{display:inline-block;margin-top:6px;font-size:16px}.conversation-history-dialog>footer{display:flex;flex:none;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px 24px;border-top:1px solid var(--line);background:var(--panel)}.conversation-history-dialog .btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--panel);color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.conversation-history-dialog .btn:hover{background:#f1f4f9}.conversation-history-dialog .btn.primary{border-color:#000;background:#000;color:#fff}.conversation-history-dialog .btn.primary:hover{background:#202020}.conversation-history-dialog .btn:disabled{opacity:.5;cursor:not-allowed}.conversation-history-dialog :is(button,a):focus-visible{outline:2px solid var(--blue);outline-offset:2px}.conversation-history-transcript:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}@media (max-width:640px){.conversation-history-dialog-backdrop{padding:8px}.conversation-history-dialog{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.conversation-history-dialog>header{padding:15px 14px 12px;gap:10px}.conversation-history-dialog h2{font-size:17px}.conversation-history-details{padding:10px 14px}.conversation-history-details dl{grid-template-columns:1fr 1fr;gap:7px 14px}.conversation-history-transcript{padding:12px 10px}.conversation-history-message>div{max-width:94%;padding:9px 11px}.conversation-history-message.outbound{--history-bubble-right-padding:11px}.conversation-history-dialog>footer{padding:12px 14px}}.client-history-backdrop{position:fixed;inset:0;z-index:2400;display:grid;place-items:center;padding:10px;background:rgba(10,20,34,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.client-history-dialog{display:flex;flex-direction:column;width:min(1600px,100%);height:calc(100dvh - 20px);min-height:0;overflow:hidden;border-radius:var(--radius-dialog);background:var(--panel);color:var(--ink);box-shadow:var(--shadow-lg)}.client-history-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;box-sizing:border-box;padding:14px 22px;background:#000;color:#fff;border-bottom:0;flex:none}.client-history-dialog>header>div{display:flex;align-items:baseline;gap:10px;min-width:0}.client-history-dialog h2{margin:0;font-size:16px;line-height:1.35}.client-history-dialog>header h2{color:#fff;flex:none}.client-history-dialog>header p{margin:0;color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-history-dialog button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:var(--radius-control)}.client-history-dialog .client-history-close{width:34px;height:34px;padding:0;background:#000;color:#fff;border-color:transparent;font-size:25px;line-height:1;flex:none}.client-history-dialog .client-history-close:hover{background:#222}.client-history-dialog>header button:focus-visible{outline-color:#fff}.client-history-layout{display:grid;grid-template-columns:340px minmax(0,1fr);flex:1 1;min-height:0}.client-history-layout>aside{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid var(--line)}.client-history-tools{padding:14px 12px;border-bottom:1px solid var(--line)}.client-history-tools .search-input{width:min(100%,var(--admin-search-width,340px));height:var(--admin-search-height,44px);margin:0;max-width:100%;box-sizing:border-box}.client-history-tools input{min-width:0;width:100%}.client-history-records{flex:1 1;min-height:0;overflow:auto;padding:12px;overscroll-behavior:contain}.client-history-records>div,.client-history-records>p{font-size:13px;line-height:1.5;color:var(--muted)}.client-history-records ul{display:grid;grid-gap:8px;gap:8px;padding:0;margin:0;list-style:none}.client-history-records .client-history-record{display:grid;grid-gap:6px;gap:6px;width:100%;padding:12px;text-align:left;background:var(--panel);color:var(--ink);font-size:12px;line-height:1.4}.client-history-records .client-history-record:hover{background:var(--panel-soft,var(--panel))}.client-history-record[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 3px 0 0 var(--ink);background:var(--panel-soft,var(--panel))}.client-history-record-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.client-history-record-title strong{font-size:12px;overflow-wrap:anywhere}.client-history-record-title>span{color:var(--muted);font-size:10px}.client-history-record small,.client-history-record time{color:var(--muted)}.client-history-layout>aside>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;border-top:1px solid var(--line);font-size:11px}.client-history-layout>aside>footer button,.client-history-records>div button{padding:7px 10px;background:#000;color:#fff;border-color:#000;font-size:12px}.client-history-dialog button:disabled{opacity:.45;cursor:not-allowed}.client-history-dialog :is(button,input,a,summary):focus-visible{outline:2px solid var(--blue);outline-offset:2px}.client-history-detail{min-width:0;min-height:0;display:flex;flex-direction:column;background-image:linear-gradient(rgba(240,244,250,.7),rgba(240,244,250,.7)),url(/chat-bg.png);background-repeat:repeat;background-size:auto,420px}.client-history-empty{margin:auto;padding:24px;color:var(--muted);text-align:center;font-size:13px}.client-history-detail>.conversation-history-dialog{width:100%;height:100%;max-height:none;border-radius:0;box-shadow:none}.client-history-detail .conversation-history-details,.client-history-detail>.conversation-history-dialog>header{display:none}.client-history-detail .conversation-history-transcript{background-image:linear-gradient(rgba(240,244,250,.7),rgba(240,244,250,.7)),url(/chat-bg.png);background-repeat:repeat;background-size:auto,420px}:root[data-chat-theme=dark] .client-history-detail,:root[data-chat-theme=dark] .client-history-detail .conversation-history-transcript{background-image:linear-gradient(rgba(15,23,35,.88),rgba(15,23,35,.88)),url(/chat-bg.png)}@media(max-width:900px){.client-history-layout{grid-template-columns:280px minmax(0,1fr)}.client-history-detail .conversation-history-details dl{grid-template-columns:1fr 1fr}}@media(max-width:640px){.client-history-backdrop{padding:8px}.client-history-dialog{height:calc(100dvh - 16px);width:100%}.client-history-dialog>header{padding:10px 14px;min-height:60px}.client-history-dialog>header>div{display:block;overflow:hidden}.client-history-dialog h2{font-size:15px}.client-history-dialog>header p{margin-top:3px;font-size:12px}.client-history-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(160px,32%) minmax(0,1fr)}.client-history-layout>aside{border-right:0;border-bottom:1px solid var(--line)}.client-history-records,.client-history-tools{padding:8px 10px}.client-history-layout>aside>footer{padding:7px 10px}.client-history-records .client-history-record{padding:8px 10px}.client-history-detail .conversation-history-details{display:none}}.client-history-export-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:12px;font-size:12px}.client-history-export-tools>span{margin-right:auto;color:var(--muted)}.client-history-export-tools button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 9px;background:#000;color:#fff;border-color:#000;min-height:32px;font-size:12px;white-space:nowrap}.client-history-records .client-history-export-record{display:flex;align-items:flex-start;gap:10px;cursor:pointer;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-control)}.client-history-export-record input{width:17px;height:17px;flex:none;margin:1px 0 0;accent-color:#000}.client-history-export-record>span{display:grid;grid-gap:5px;gap:5px;min-width:0}.client-history-export-record strong{overflow-wrap:anywhere}.client-history-dialog .conversation-pdf-dialog{box-sizing:border-box}.client-history-dialog .conversation-pdf-dialog :is(button,.btn){background:#000;color:#fff;border-color:#000}.chatbot-builder{color:#17233b;color-scheme:light}.flow-options{position:relative}.builder-toolbar .flow-options-trigger{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#475569;box-shadow:none}.builder-toolbar .flow-options-trigger:hover,.builder-toolbar .flow-options-trigger[aria-expanded=true]{background:#f1f5f9;color:#1e293b}.flow-options-menu kbd{float:right;margin-left:8px;font:inherit;font-size:11px;color:#94a3b8}.flow-options-locate{display:grid;grid-gap:6px;gap:6px;padding:10px 12px;font-size:12px;color:#64748b}.builder-toolbar .flow-options-locate select{width:100%}.flow-options-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:250px;max-height:calc(100dvh - 90px);overflow-y:auto;padding:6px;background:white;border:1px solid #dbe2ef;border-radius:var(--radius-surface);box-shadow:0 12px 36px #17233b26}.builder-toolbar .flow-options-menu button{display:block;width:100%;text-align:left;border:0;padding:10px 12px;border-radius:var(--radius-control);font-size:13px}.builder-toolbar .flow-options-menu button:disabled{color:#94a3b8;cursor:not-allowed}.flow-options-menu hr{margin:5px 6px;border:0;border-top:1px solid #edf1f6}.builder-toolbar .flow-options-menu .flow-options-save{color:#4f46e5;font-weight:650}.flow-tools-secondary{border:1px solid #dbe2ef;border-radius:var(--radius-surface);padding:9px 13px;background:white;color:#334155;cursor:pointer;font-size:13px}.flow-tools-backdrop{position:fixed;inset:0;z-index:1250;display:grid;place-items:center;padding:24px;background:#10152966;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.flow-tools-dialog{display:flex;flex-direction:column;width:min(540px,100%);max-height:90dvh;background:white;color:#17233b;border:1px solid #dbe2ef;border-radius:var(--radius-dialog);box-shadow:0 20px 60px #17233b26;overflow:hidden;outline:none}.flow-tools-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #edf1f6}.flow-tools-dialog h2{font-size:19px;margin:3px 0 0;line-height:1.4}.flow-tools-dialog h3{font-size:15px;margin:0 0 8px}.flow-tools-dialog header small{font-size:11px;color:#64748b}.flow-tools-dialog>header button{width:32px;height:32px;padding:0;border:0;border-radius:var(--radius-control);background:transparent;color:#64748b;font-size:22px;cursor:pointer}.flow-tools-dialog>header button:hover{background:#f1f5f9}.flow-tools-dialog>header button:active{background:#e6ebf2}.flow-tools-body{display:grid;grid-gap:16px;gap:16px;padding:20px 24px;overflow-y:auto}.flow-tools-dialog p{font-size:13px;line-height:1.6;margin:0}.flow-tools-dialog button{font-family:inherit}.flow-options button:focus-visible,.flow-tools-dialog button:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}.flow-tools-dialog footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:16px 24px;border-top:1px solid #edf1f6}.flow-execution-steps button,.flow-executions-filters button,.flow-import-file button,.flow-tools-dialog footer button{min-height:38px;padding:9px 13px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:white;color:#334155;font-size:13px;cursor:pointer}.flow-tools-dialog footer button.primary{background:#4f46e5;color:white;border-color:#4f46e5}.flow-tools-dialog footer:has(>button:nth-of-type(2):last-of-type)>button{background:#000;color:#fff;border-color:#000}.flow-tools-dialog footer:has(>button:nth-of-type(2):last-of-type)>button:hover:not(:disabled){background:#222;color:#fff;border-color:#222}.flow-tools-dialog button:disabled{opacity:.5;cursor:not-allowed}.form-builder{display:grid;grid-gap:16px;gap:16px;color:#334155;font-size:12px}.form-builder label{display:grid;grid-gap:6px;gap:6px;font-size:12px;font-weight:500}.form-builder input:not([type=checkbox]),.form-builder select,.form-builder textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:#fff;color:#0f172a;font:inherit}.form-builder textarea{min-height:64px;resize:vertical}.form-builder p,.form-builder small{color:#64748b;line-height:1.5;margin:0}.form-builder h4{margin:0;font-size:12px}.form-builder button{border:1px solid #dbe2ef;border-radius:var(--radius-control);background:#fff;color:#475569;padding:6px 8px;cursor:pointer;font:inherit}.form-builder button:disabled{opacity:.4;cursor:default}.form-builder .form-checkbox{display:flex;gap:8px;align-items:center}.form-field-content,.form-rules{display:grid;grid-gap:12px;gap:12px;padding:12px}.form-rules{background:#f8fafc;border-radius:var(--radius-surface);border:1px solid #e2e8f0}.form-field-actions,.form-fields-heading{display:flex;gap:6px;align-items:center;justify-content:space-between}.form-field-card{border:1px solid #dbe2ef;border-radius:var(--radius-surface);overflow:hidden}.form-sequence-heading{display:flex;align-items:center;gap:8px;min-height:48px;padding:6px 10px;background:#f8fafc}.form-sequence-number{flex-shrink:0;border-radius:var(--radius-surface);background:#e0e7ff;color:#4338ca;padding:3px 6px}.form-builder .form-sequence-title{flex:1 1;min-width:0;display:block;text-align:left;padding:6px 0;border:0;background:transparent}.form-sequence-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-sequence-type{flex-shrink:0;font-size:11px}.form-sequence-actions{display:flex;flex-shrink:0;gap:4px}.form-builder .form-sequence-actions button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;border-color:transparent}.form-builder .form-sequence-actions button:hover:not(:disabled){background:#eef2ff;color:#4338ca}.form-builder .form-sequence-actions .form-sequence-delete{color:#dc2626}.form-builder .form-sequence-actions .form-sequence-delete:hover{background:#fef2f2;color:#b91c1c}.form-builder .form-item-done{background:#4f46e5;border-color:#4f46e5;color:white;padding:8px 12px}@media (max-width:600px){.form-sequence-heading{gap:5px;padding:6px}.form-sequence-type{max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-sequence-actions{gap:0}}.form-field-heading button{width:100%;display:flex;align-items:center;gap:8px;text-align:left;padding:12px;border:0;border-radius:0;background:#f8fafc}.form-field-heading strong{flex:1 1}.form-field-heading span{border-radius:var(--radius-surface);background:#e0e7ff;color:#4338ca;padding:3px 6px}.form-choice,.form-limits{display:flex;gap:6px}.form-limits label{min-width:0;flex:1 1}.form-choice{margin:8px 0}.form-choice input{min-width:0}.form-config-errors{border:1px solid #fde68a;background:#fffbeb;padding:12px;border-radius:var(--radius-surface);color:#92400e}.form-config-errors ul{margin:6px 0 0;padding-left:16px}.form-builder-summary .form-open-builder{padding:11px 14px;background:#4f46e5;border-color:#4f46e5;color:white;font-weight:600}dialog.form-construction-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(900px,calc(100vw - 32px));max-height:90dvh;color-scheme:light}dialog.form-construction-dialog:not([open]){display:none}.registration-intro{padding:14px 16px;background:#f0f4ff;border:1px solid #dce5ff;border-radius:var(--radius-surface);color:#475569;line-height:1.6}.registration-add-row{display:flex;gap:12px;align-items:flex-end;padding:16px;border:1px dashed #cbd5e1;border-radius:var(--radius-surface)}.registration-add-row>label{flex:1 1;min-width:0}.registration-map{display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:var(--radius-surface);background:#f8fafc;border:1px solid #e2e8f0}.registration-map>button{align-self:flex-start}.registration-map-row{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1.5fr);align-items:center;grid-gap:12px;gap:12px}.registration-map-row>div{display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}.registration-map-row{padding:8px 0;border-top:1px solid #e2e8f0;align-items:start}.registration-choice-label,.registration-map-row>span{padding-top:10px}.registration-map-row>.registration-destination{min-width:0}.form-builder .registration-destination-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;text-align:left;padding:10px;color:#17233b}.registration-destination-trigger[aria-expanded=true]{border-color:#6366f1;box-shadow:0 0 0 2px #e0e7ff}.registration-destination-list{display:grid;grid-gap:10px;gap:10px;background:white;padding:12px;border:1px solid #c7d2fe;border-radius:var(--radius-surface)}.registration-destination-options{display:grid;grid-gap:4px;gap:4px;max-height:240px;overflow-y:auto;overscroll-behavior:contain}.form-builder .registration-destination-options button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:10px;border-color:transparent}.registration-destination-options button small{white-space:nowrap}.registration-option-detail{display:grid;grid-gap:3px;gap:3px;text-align:right;flex-shrink:0}.registration-option-detail strong{font-size:12px;color:#17233b;white-space:nowrap}.form-builder .registration-destination-options button:hover,.form-builder .registration-destination-options button[aria-pressed=true]{background:#eef2ff;border-color:#c7d2fe}.registration-catalog-pages{display:flex;align-items:center;justify-content:space-between;gap:8px}.form-builder .registration-pending{color:#b45309}@media (max-width:600px){.registration-add-row{flex-direction:column;align-items:stretch}.registration-map-row{grid-template-columns:1fr}.registration-map-row>span{display:none}}.form-construction-dialog::-webkit-backdrop{background:#10152980;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.form-construction-dialog::backdrop{background:#10152980;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.form-construction-dialog>footer,.form-construction-dialog>header{flex-shrink:0}.form-construction-dialog>header p{margin-top:6px;color:#64748b}.form-construction-dialog .flow-tools-body{min-height:0;overscroll-behavior:contain}.form-construction-dialog footer{align-items:center;justify-content:space-between}.form-construction-dialog footer small{color:#64748b;font-size:12px}.form-construction-dialog .form-field-content{padding:18px;gap:14px}.form-construction-dialog .form-rules{display:block}.form-construction-dialog summary{cursor:pointer;font-weight:600;padding:3px}.form-construction-dialog .form-rules .form-field-content{padding:16px 0 0}.form-add-actions{display:flex;flex-wrap:wrap;gap:8px}.form-construction-dialog .form-fields-heading{position:-webkit-sticky;position:sticky;top:-20px;background:white;z-index:1;padding:12px 0;flex-wrap:wrap}.form-construction-dialog .form-field-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.form-construction-dialog .form-field-heading small{flex-shrink:0}@media (max-width:600px){.form-construction-dialog .flow-tools-body,.form-construction-dialog>footer,.form-construction-dialog>header{padding:16px}.form-construction-dialog footer{gap:12px}.form-construction-dialog footer small{flex:1 1}.form-construction-dialog .form-field-heading small{max-width:110px}}.variables-dialog{width:min(880px,100%);height:min(740px,88dvh)}.variables-dialog>header{flex-shrink:0}.variables-dialog>header p{margin-top:5px;color:#64748b}.variables-categories{display:flex;gap:8px;padding:16px 24px 0}.variables-categories button{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:var(--radius-control);background:#fff;color:#475569;padding:10px 16px;font-weight:600;cursor:pointer}.variables-categories button[aria-pressed=true]{background:#eef2ff;border-color:#c7d2fe;color:#4338ca}.variables-categories span{font-size:11px;border-radius:20px;padding:2px 6px;background:#f1f5f9}.variables-filter{padding:16px 24px 12px;display:grid;grid-gap:6px;gap:6px}.variables-filter label{font-size:12px;font-weight:600;color:#475569}.variables-filter input{width:100%;height:40px;border:1px solid #dbe2ef;border-radius:var(--radius-control);padding:0 12px;background:#f8fafc;font:inherit;font-size:13px}.variables-content{overflow-y:auto;min-height:0;flex:1 1;padding:0 24px 24px;overscroll-behavior:contain}.variables-description{color:#64748b;margin-bottom:20px!important}.variables-section+.variables-section{margin-top:24px}.variables-section>p{color:#64748b;margin-bottom:10px}.variables-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.variables-dialog .variable-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:78px;text-align:left;border:1px solid #dbe2ef;border-radius:var(--radius-dialog);padding:13px 14px;background:#fff;color:#64748b;cursor:pointer}.variable-copy>span:first-child{display:grid;grid-gap:6px;gap:6px;min-width:0}.variable-copy code{font-size:12px;color:#4338ca;overflow-wrap:anywhere}.variable-copy small{font-size:12px;line-height:1.4;color:#64748b}.variable-copy svg{flex-shrink:0}.variables-dialog .variable-copy:hover{background:#f8faff;border-color:#a5b4fc}.variables-dialog .variable-copy.is-copied{background:#ecfdf5;border-color:#6ee7b7}.variable-copied{font-size:11px;white-space:nowrap;color:#047857}.variables-dialog footer{align-items:center;flex-wrap:nowrap}.variables-copy-status{color:#64748b;font-size:12px;flex:1 1}.variables-dialog footer .flow-tools-error{flex:1 1}.variables-empty{border:1px dashed #cbd5e1;border-radius:var(--radius-surface);padding:24px;color:#64748b;font-size:13px}@media (max-width:600px){.variables-grid{grid-template-columns:1fr}.variables-categories,.variables-filter{padding-left:16px;padding-right:16px}.variables-content{padding:0 16px 16px}}.flow-import-file{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;border:1px dashed #cbd5e1;border-radius:var(--radius-surface);background:#f8fafc}.flow-import-file small,.flow-tools-muted{color:#64748b;font-size:12px!important;line-height:1.6}.flow-tools-error,.flow-tools-success,.flow-tools-warning{border-radius:var(--radius-surface);padding:12px 14px;font-size:13px;line-height:1.5}.flow-tools-error{color:#a12b21;background:#fff1ef}.flow-tools-warning{color:#785620;background:#fff8e6}.flow-tools-success{color:#166534;background:#edf9f0}.flow-tools-warning ul{margin:10px 0 0;padding-left:18px}.flow-executions{width:min(1660px,100%);height:94dvh;max-height:94dvh}.flow-executions>header{padding:12px 20px}.flow-executions>footer{padding:10px 20px}.flow-executions-filters{display:flex;align-items:flex-end;gap:12px;padding:10px 20px 8px}.flow-executions-filters label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.flow-executions-filters select{height:38px;padding:0 12px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:white;color:#334155;font:inherit;min-width:200px}.flow-executions-note{padding:0 20px 10px}.flow-executions>.flow-tools-error{margin:0 24px 12px}.flow-executions-grid{flex:1 1;min-height:0;display:grid;grid-template-columns:250px 1fr;border-top:1px solid #edf1f6}.flow-executions-list{overflow-y:auto;border-right:1px solid #edf1f6;padding:12px}.flow-executions-list>p{padding:12px;color:#64748b}.flow-executions-list>button{display:grid;grid-gap:7px;gap:7px;text-align:left;width:100%;border:1px solid transparent;padding:12px;margin-bottom:7px;border-radius:var(--radius-control);background:#f8fafc;color:#334155;cursor:pointer}.flow-executions-list>button.selected{background:#efedff;border-color:#beb9fc}.flow-executions-list strong{font-size:13px}.flow-executions-list span{font-size:12px;color:#64748b}.flow-execution-status{display:inline-block;width:-moz-fit-content;width:fit-content;padding:3px 7px;border-radius:var(--radius-surface);font-size:11px;background:#eef2f6;color:#475569}.flow-execution-status.error{background:#fee8e5;color:#a12b21}.flow-execution-status.waiting{background:#fff5da;color:#785620}.flow-execution-status.completed,.flow-execution-status.success{background:#e6f7ed;color:#166534}.flow-execution-detail{padding:20px;overflow-y:auto;min-width:0}.flow-execution-detail>p{margin-bottom:12px}.flow-execution-steps{display:grid;grid-gap:12px;gap:12px;list-style-position:inside;padding:0}.flow-execution-steps li{padding:14px;border:1px solid #e2e8f0;border-radius:var(--radius-surface)}.flow-execution-steps li>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:7px}.flow-execution-steps strong{font-size:13px}.flow-execution-steps button{margin-top:10px;min-height:30px;font-size:12px;padding:5px 9px}.execution-visual-detail{display:flex;flex-direction:column;padding:0;overflow:hidden;min-height:0}.execution-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #edf1f6}.execution-summary h3{margin-bottom:5px}.execution-summary small{display:block;font-size:11px;color:#64748b;line-height:1.8}.execution-summary h3 small{display:inline;margin-left:8px}.execution-result{margin:10px 18px;flex-shrink:0}.execution-workspace{flex:1 1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 270px}.execution-map{min-width:0;display:flex;flex-direction:column;min-height:0;background:#f7f8fc}.execution-canvas{position:relative;flex:1 1;min-height:200px}.execution-map .execution-canvas .react-flow,.execution-map .execution-canvas .react-flow__background{background-color:#f7f8fc}.execution-canvas .react-flow__node.execution-node{width:250px;padding:14px;border:1.5px solid #c5ceda;border-radius:var(--radius-surface);background:#fff;color:#344256;text-align:left;box-shadow:0 3px 10px #1b26450a}.execution-node strong{display:block;font-size:14px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.execution-node-meta,.execution-node-state{display:flex;justify-content:space-between;align-items:center;gap:6px;font-size:10px}.execution-node-meta{color:#64748b}.execution-node-meta code{background:#f1f3f9;padding:3px 5px;border-radius:var(--radius-surface)}.execution-node-state{border-top:1px solid #edf1f6;padding-top:10px;flex-wrap:wrap}.execution-canvas .execution-node.success{border-color:#21a675}.execution-canvas .execution-node.error{border-color:#dc4646;background:#fffafa}.execution-canvas .execution-node.waiting{border-color:#c59439}.execution-canvas .execution-node.unvisited{opacity:.65}.execution-canvas .execution-node.inspected{box-shadow:0 0 0 4px #6366f126}.execution-legend .success,.execution-node.success .execution-node-state{color:#168360}.execution-legend .error,.execution-node.error .execution-node-state{color:#c33636}.execution-legend .waiting,.execution-node.waiting .execution-node-state{color:#906512}.execution-inspector{padding:20px 16px;border-left:1px solid #e6eaf1;overflow-y:auto;background:white;display:flex;flex-direction:column;align-items:stretch;gap:16px}.execution-inspector>small,.execution-visit>small{font-size:10px;letter-spacing:.08em;font-weight:700;color:#64748b}.execution-inspector select{width:100%;min-height:40px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:#fff;color:#334155;padding:7px;font:inherit;font-size:12px}.execution-inspector-title code{font-size:11px;color:#4f46e5;background:#eeedff;border-radius:var(--radius-surface);padding:4px 7px}.execution-inspector-title h3{margin:12px 0 4px}.execution-inspector-title p{color:#64748b}.execution-visit{border-top:1px solid #edf1f6;padding-top:14px;display:grid;grid-gap:10px;gap:10px}.execution-code{color:#64748b;font-size:11px;overflow-wrap:anywhere}.execution-legend{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px 16px;border-top:1px solid #e6eaf1;font-size:10px;color:#64748b;background:#fff}.execution-legend small{margin-left:auto;font-size:10px}.execution-legacy{padding:10px 16px;font-size:11px;color:#785620;background:#fff8e6}.execution-empty{position:absolute;top:45%;left:16px;color:#64748b}@media (max-width:1100px){.flow-executions-grid{grid-template-columns:215px 1fr}.execution-workspace{grid-template-columns:minmax(0,1fr) 220px}.execution-summary{flex-wrap:wrap}}@media (max-width:700px){.flow-tools-backdrop{padding:12px}.flow-executions-grid{grid-template-columns:1fr;overflow-y:auto}.flow-executions-list{max-height:200px;border-right:0;border-bottom:1px solid #edf1f6}.flow-execution-detail{overflow:visible}.flow-tools-body,.flow-tools-dialog>header{padding:16px}.execution-workspace{display:flex;flex-direction:column}.execution-map{min-height:350px}.execution-inspector{overflow:visible;border-left:0;border-top:1px solid #e6eaf1}.execution-visual-detail{min-height:600px}.flow-executions-grid{display:block}.flow-executions-filters{padding:12px}.flow-executions-note{display:none}}.chatbot-builder .react-flow,.chatbot-builder .react-flow__background{background-color:#cbd5e1}.builder-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #dbe2ef;flex-shrink:0}.builder-toolbar button{min-height:32px;padding:5px 9px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:#fff;color:#334155;cursor:pointer;font-size:12px;white-space:nowrap}.builder-toolbar button:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.builder-toolbar .builder-toolbar-icon{width:32px;padding:0;font-size:19px}.chatbot-builder .builder-flow-name{flex:1 1 100px;min-width:90px;max-width:200px;width:120px;padding:5px 2px;font-size:14px;font-weight:600;border:0;background:transparent;color:#17233b}.builder-active-badge{padding:3px 7px;border-radius:20px;background:#e2e8f0;color:#475569;font-size:11px;white-space:nowrap}.builder-active-badge.active{background:#dcfce7;color:#166534}.builder-toolbar-actions,.builder-toolbar-tools{display:flex;align-items:center;gap:6px}.builder-toolbar-tools{margin-left:auto;min-width:0}.builder-toolbar-actions{margin-left:auto}.builder-toolbar-actions>button:not(.chatbot-save){width:30px;padding:0;font-size:16px}.builder-toolbar .chatbot-save{min-width:84px}.builder-start-picker{display:flex;align-items:center;gap:5px;font-size:12px;color:#64748b}.builder-toolbar select{height:32px;padding:5px 24px 5px 8px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:#fff;color:#334155;font-size:12px;min-width:0;text-overflow:ellipsis}.builder-locate-picker,.builder-start-picker select{width:160px}.builder-toolbar .builder-save-state:empty{display:none}@media (max-width:1100px){.builder-toolbar-tools{order:2;flex-basis:100%;flex-wrap:wrap;margin-left:0}.builder-toolbar-actions{margin-left:auto}.chatbot-builder .builder-flow-name{max-width:none}}@media (max-width:600px){.builder-toolbar,.builder-toolbar-tools{gap:5px}.builder-start-picker{flex:1 1 160px}.builder-start-picker select{width:100%}.builder-locate-picker{flex:1 1 130px;width:130px}}.chatbot-builder button:disabled{opacity:.45;cursor:not-allowed}.chatbot-builder button:focus-visible,.chatbot-builder input:focus-visible,.chatbot-builder select:focus-visible,.chatbot-builder textarea:focus-visible{outline:2px solid #6366f1;outline-offset:2px}.chatbot-builder .chatbot-save{background:#4f46e5!important;color:white!important;border-color:#4f46e5!important}.builder-save-state{font-size:12px;color:#64748b}.builder-save-state.is-saved{color:#047857}.builder-save-state.is-error{color:#be123c}.chatbot-builder .builder-save-state{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.builder-save-state:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.builder-locate{display:flex;align-items:center;gap:6px;font-size:12px}.builder-locate select{max-width:220px}.builder-has-errors{color:#be123c!important}.builder-block-search{margin:10px;width:calc(100% - 20px);padding:8px 10px;border:1px solid #dbe2ef;border-radius:var(--radius-surface);font-size:13px;background:#fff;color:#17233b}.builder-issues{max-height:150px;overflow:auto;background:#fffbeb;border:1px solid #f5df9d;border-radius:var(--radius-surface);margin-bottom:10px;padding:8px}.builder-issues button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:6px;color:#5d4920;cursor:pointer;font-size:12px}.builder-node{width:254px;border:1px solid #dbe2ef;border-top:3px solid var(--node-color);border-radius:var(--radius-surface);background:#fff;box-shadow:0 3px 12px #17233b0d;font-size:12px}.builder-node.is-selected{border-color:var(--node-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--node-color) 18%,transparent)}.builder-node.is-running{box-shadow:0 0 0 3px #22c55e80}.builder-node header{display:flex;align-items:center;gap:8px;padding:12px 14px 6px;color:var(--node-color)}.builder-node header strong{color:#17233b;flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-node header small{font-size:10px}.builder-node header .builder-node-id{flex-shrink:0;color:#64748b;font-weight:400;white-space:nowrap}.builder-node p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;color:#64748b;margin:4px 14px 12px;line-height:1.5}.builder-node-output{position:relative;border-top:1px solid #edf1f6;padding:6px 16px;color:#475569}.builder-node-output span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-node .react-flow__handle{width:10px;height:10px;background:var(--node-color);border:2px solid white}.builder-node-terminal{display:block;padding:0 14px 10px;color:#64748b}.builder-inspector{display:flex;flex-direction:column;flex:0 0 360px;width:360px;min-height:0;border:1px solid #dbe2ef;border-radius:var(--radius-surface);background:#fff;overflow:hidden}.builder-inspector>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #edf1f6;gap:8px}.builder-inspector>header div{min-width:0}.builder-inspector>header small{color:#64748b;font-size:11px;display:block;margin-bottom:5px}.builder-inspector>header strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.builder-inspector .builder-block-id{display:inline-flex;align-items:center;margin-top:8px;padding:3px 8px;border:1px solid #dcd9fa;border-radius:var(--radius-surface);background:#f3f1ff;color:#5644af;font-size:11px;font-weight:650;line-height:1.4;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;max-width:100%;overflow-wrap:anywhere}.builder-inspector>header button{display:grid;place-items:center;flex:0 0 30px;height:30px;padding:0;line-height:1;border:0;border-radius:var(--radius-control);background:#f1f5f9;color:#64748b;font-size:21px;cursor:pointer}.builder-inspector-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1 1;padding:14px}.builder-inspector-scroll>.nodrag{padding:0!important;gap:16px!important}.builder-inspector .builder-config-section{display:flex;flex-direction:column;gap:12px;min-width:0;min-inline-size:0;margin:0;padding:12px 0 0;border:0;border-top:1px solid #e2e8f0;background:#fff}.builder-inspector .builder-config-section>legend{max-width:100%;padding:0 8px 0 0;color:#0f172a;font:inherit;font-size:13px;font-weight:650;line-height:1.5}.builder-inspector .builder-config-identification{margin-bottom:16px}.builder-inspector .builder-config-section>*{min-width:0}.builder-inspector input:not([type=checkbox]),.builder-inspector select,.builder-inspector textarea{width:100%;min-width:0;font-size:13px!important;padding:8px 10px!important;border:1px solid #cbd5e1;border-radius:var(--radius-control);background:white;color:#17233b;box-sizing:border-box}.builder-inspector textarea{line-height:1.5!important}.builder-inspector label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#475569}.builder-inspector label:has(input[type=checkbox]){flex-direction:row}.builder-inspector-scroll>label{margin-bottom:12px}.builder-inspector .nodrag{max-width:100%}.builder-inspector>footer{display:flex;gap:6px;padding:12px;border-top:1px solid #edf1f6}.builder-inspector>footer button{flex:1 1;padding:8px 6px;border:1px solid #dbe2ef;border-radius:var(--radius-control);background:#fff;font-size:12px;cursor:pointer}.builder-destinations{margin-top:18px;border-top:1px solid #edf1f6;padding-top:12px;display:grid;grid-gap:12px;gap:12px}.builder-destinations h3{font-size:13px;margin:0}.builder-sgp-vars{border:1px solid #94b8aa;border-radius:var(--radius-surface);background:#eef8f3;color:#173f32;padding:10px;min-width:0}.builder-sgp-vars summary{cursor:pointer;font-size:12px;font-weight:700}.builder-sgp-vars p{font-size:12px;line-height:1.5;color:#334b42}.builder-sgp-vars>.search-field-control>input{width:100%;padding:8px 8px 8px 37px;border:1px solid #94b8aa;border-radius:var(--radius-control);background:white;color:#17233b}.builder-sgp-vars-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:6px;gap:6px;max-height:280px;overflow:auto;margin-top:8px}.builder-sgp-vars-list button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid #b3cbbf;border-radius:var(--radius-control);background:white;color:#17233b;padding:8px;text-align:left;cursor:pointer}.builder-sgp-vars-list button:hover{border-color:#19805a;background:#f4fcf8}.builder-sgp-vars-list code{color:#145d43;font-size:12px;overflow-wrap:anywhere}.builder-sgp-vars-list span{font-size:12px}.builder-sgp-vars-list small{color:#4d655b;font-size:11px}.builder-flow-canvas .react-flow__selection{background:#6366f11c;border:1px solid #6366f1;border-radius:var(--radius-control)}.builder-flow-canvas .react-flow__nodesselection-rect{background:#6366f10a;border:1px dashed #6366f1;border-radius:var(--radius-control)}.builder-library-drawer{--library-width:258px;position:relative;flex:none;width:var(--library-width);min-width:0;height:100%;transition:width .22s ease,margin-right .22s ease}.builder-library-drawer.is-closed{width:0;margin-right:-12px}.builder-library-clip{width:100%;height:100%;overflow:hidden}.builder-workspace .builder-library-drawer .chatbot-block-library{width:var(--library-width);min-width:var(--library-width);transition:transform .22s ease}.builder-library-drawer.is-closed .chatbot-block-library{transform:translateX(-100%)}.chatbot-builder .builder-library-handle{position:absolute;right:-20px;top:50%;transform:translateY(-50%);z-index:8;width:20px;height:56px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #dbe2ef;border-left:0;border-radius:0 var(--radius-surface) var(--radius-surface) 0;background:#fff;color:#64748b;box-shadow:3px 1px 8px #17233b12;cursor:pointer}.chatbot-builder .builder-library-handle:hover{background:#f1f5f9;color:#4f46e5}.builder-library-handle[aria-expanded=false] svg{transform:rotate(180deg)}@media (max-width:1100px){.builder-library-drawer{--library-width:190px}}@media (max-width:760px){.builder-library-drawer{--library-width:145px}}@media (prefers-reduced-motion:reduce){.builder-library-drawer,.builder-workspace .builder-library-drawer .chatbot-block-library{transition:none}}@media (max-width:1100px){.builder-workspace .chatbot-block-library{width:190px;flex-basis:190px}.builder-inspector{width:320px;flex-basis:320px}.builder-workspace .chatbot-block-item small{display:none}}@media (max-width:760px){.chatbot-builder{padding:10px!important}.builder-workspace{position:relative}.builder-inspector{position:absolute;right:0;top:0;bottom:0;width:min(360px,100%);z-index:6;box-shadow:-8px 0 24px #17233b22}.builder-workspace .chatbot-block-library{width:145px;flex-basis:145px}.builder-save-state{display:none}}.bot-variable-editor{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-width:0}.bot-variable-editor>.template-variable-field,.bot-variable-editor>textarea{width:100%}.bot-end-card-preview{padding:9px 10px;border:1px solid #d9e0ea;border-radius:var(--radius-control);background:#f8fafc;color:#1e293b}.bot-end-card-preview span{display:block;margin-bottom:5px;color:#64748b;font-size:10.5px}.bot-end-card-preview p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.45}.builder-workspace .builder-node,.builder-workspace .chatbot-block-group,.chatbot-message-group-badge{--node-color:var(--node-color-light);--node-group-surface:#fff;--node-accent-foreground:#fff}:root[data-chat-theme=dark] .builder-workspace .builder-node,:root[data-chat-theme=dark] .builder-workspace .chatbot-block-group,:root[data-chat-theme=dark] .chatbot-message-group-badge{--node-color:var(--node-color-dark);--node-group-surface:#172231;--node-accent-foreground:#172231}.builder-workspace .chatbot-block-group .chatbot-block-group-count,:root[data-chat-theme=dark] .builder-workspace .chatbot-block-group .chatbot-block-group-count{background:color-mix(in srgb,var(--node-color) 12%,transparent);color:inherit}.builder-workspace .chatbot-block-group .chatbot-block-item:hover,:root[data-chat-theme=dark] .builder-workspace .chatbot-block-group .chatbot-block-item:hover{border-color:color-mix(in srgb,var(--node-color) 35%,transparent);background:color-mix(in srgb,var(--node-color) 8%,var(--node-group-surface))}:root[data-chat-theme=dark] .builder-workspace .builder-node{border-top-color:var(--node-color)}:root[data-chat-theme=dark] .builder-workspace .builder-node.is-selected{border-color:var(--node-color)}:root[data-chat-theme=dark] .builder-workspace .builder-node.is-selected:not(.is-running){box-shadow:0 0 0 2px color-mix(in srgb,var(--node-color) 18%,transparent)}