.nw-mask{position:fixed;inset:0;z-index:230;background:rgba(var(--bb-theme-shadow-rgb, 0,0,0), 0.6);display:flex;align-items:flex-end;justify-content:center;color:var(--bb-theme-ink, #f5f5f2);font:14px/1.55 Inter,"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.nw-sheet{width:100%;max-width:640px;max-height:94vh;display:flex;flex-direction:column;background:var(--bb-theme-surface, #101014);border:1px solid var(--bb-theme-line, #ffffff14);border-radius:20px 20px 0 0;overflow:hidden}.nw-sheet header{display:flex;align-items:center;gap:8px;padding:16px;border-bottom:1px solid var(--bb-theme-line, #ffffff14);flex:none}.nw-sheet h2{flex:1;font-size:18px;margin:0}.nw-sheet h3{font-size:15px;margin:0 0 8px}.nw-body{padding:16px;overflow:auto;overscroll-behavior:contain;min-height:100px;min-width:0}.nw-sheet footer{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--bb-theme-line, #ffffff14);flex:none}.nw-sheet footer .nw-btn{flex:1}.nw-btn{border:1px solid var(--bb-theme-line, #ffffff22);border-radius:10px;min-height:44px;padding:8px 12px;background:rgba(var(--bb-theme-surface-rgb, 0,0,0), 0.0);color:inherit;font:inherit;cursor:pointer}.nw-btn.primary{background:var(--bb-theme-accent, #b8ff3d);color:var(--bb-theme-accent-ink, #0b0d08);border-color:var(--bb-theme-accent-text, #b8ff3d)}.nw-btn.selected{color:var(--bb-theme-accent-text, #b8ff3d);border-color:var(--bb-theme-accent-text, #b8ff3d)}.nw-sheet button:focus-visible,.nw-sheet input:focus-visible,.nw-sheet select:focus-visible{outline:2px solid var(--bb-theme-accent, #b8ff3d);outline-offset:2px}.nw-sheet button:disabled{opacity:.4}.nw-note{color:var(--bb-theme-muted, #96969f);font-size:12px;overflow-wrap:anywhere;margin:8px 0 12px}.nw-empty{color:var(--bb-theme-muted, #b8b8bd);padding:20px 0;margin:0}.nw-card{padding:14px 0;border-bottom:1px solid var(--bb-theme-line, #ffffff14);overflow-wrap:anywhere}.nw-card:last-child{border:0}.nw-card p{margin:5px 0}.nw-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.nw-meta>span{font-size:12px;color:var(--bb-theme-muted, #b8b8bd)}.nw-meta strong{font-size:18px;font-variant-numeric:tabular-nums}.nw-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0}.nw-metrics dt{font-size:12px;color:var(--bb-theme-muted, #96969f)}.nw-metrics dd{font-size:20px;margin:4px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.nw-card .nw-metrics dd{font-size:16px}.nw-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}.nw-line small,.nw-option small,.nw-quote small{display:block;font-size:11px;color:var(--bb-theme-muted, #96969f)}.nw-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.nw-quote{display:flex;justify-content:space-between;gap:12px;width:100%;padding:14px 0;border:0;border-bottom:1px solid var(--bb-theme-line, #ffffff14);text-align:left;background:rgba(var(--bb-theme-surface-rgb, 0,0,0), 0.0);color:inherit;font:inherit;cursor:pointer}.nw-quote>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.nw-quote>span:last-child{text-align:right;font-variant-numeric:tabular-nums;max-width:48%}.nw-option{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--bb-theme-line, #ffffff14)}.nw-option input{width:22px;height:22px;accent-color:var(--bb-theme-accent-text, #b8ff3d);flex:none}.nw-option select{background:var(--bb-theme-inset, #17171c);color:inherit;border:1px solid var(--bb-theme-line, #ffffff22);border-radius:8px;padding:10px}.nw-error{color:var(--bb-theme-down, #ff7772);font-size:13px}.ns-widget{position:relative;min-width:0}.ns-widget.wide{grid-column:1/-1}.ns-widget .ns-w{height:100%;padding-top:36px}.ns-widget-settings{position:absolute;z-index:1;right:8px;top:0;background:rgba(var(--bb-theme-surface-rgb, 0,0,0), 0.0);border:0;color:var(--bb-theme-muted, #a0a0aa);font:inherit;font-size:12px;min-height:36px;padding:6px 8px;cursor:pointer}.ns-widget-settings:focus-visible{outline:2px solid var(--bb-theme-accent, #b8ff3d)}.ns-widget .ns-l{position:absolute;top:10px;left:10px;max-width:calc(100% - 60px)}

/* The production Next theme uses !important on the base tile padding. */
html.next-chat-active body.next-chat-active .ns-widget .ns-w{padding-top:36px!important;height:auto}
