.rdp-root{--rdp-accent-color: blue;--rdp-accent-background-color: #f0f0ff;--rdp-day-height: 44px;--rdp-day-width: 44px;--rdp-day_button-border-radius: 100%;--rdp-day_button-border: 2px solid transparent;--rdp-day_button-height: 42px;--rdp-day_button-width: 42px;--rdp-selected-border: 2px solid var(--rdp-accent-color);--rdp-disabled-opacity: .5;--rdp-outside-opacity: .75;--rdp-today-color: var(--rdp-accent-color);--rdp-dropdown-gap: .5rem;--rdp-months-gap: 2rem;--rdp-nav_button-disabled-opacity: .5;--rdp-nav_button-height: 2.25rem;--rdp-nav_button-width: 2.25rem;--rdp-nav-height: 2.75rem;--rdp-range_middle-background-color: var(--rdp-accent-background-color);--rdp-range_middle-color: inherit;--rdp-range_start-color: white;--rdp-range_start-background: linear-gradient( var(--rdp-gradient-direction), transparent 50%, var(--rdp-range_middle-background-color) 50% );--rdp-range_start-date-background-color: var(--rdp-accent-color);--rdp-range_end-background: linear-gradient( var(--rdp-gradient-direction), var(--rdp-range_middle-background-color) 50%, transparent 50% );--rdp-range_end-color: white;--rdp-range_end-date-background-color: var(--rdp-accent-color);--rdp-week_number-border-radius: 100%;--rdp-week_number-border: 2px solid transparent;--rdp-week_number-height: var(--rdp-day-height);--rdp-week_number-opacity: .75;--rdp-week_number-width: var(--rdp-day-width);--rdp-weeknumber-text-align: center;--rdp-weekday-opacity: .75;--rdp-weekday-padding: .5rem 0rem;--rdp-weekday-text-align: center;--rdp-gradient-direction: 90deg;--rdp-animation_duration: .3s;--rdp-animation_timing: cubic-bezier(.4, 0, .2, 1)}.rdp-root[dir=rtl]{--rdp-gradient-direction: -90deg}.rdp-root[data-broadcast-calendar=true]{--rdp-outside-opacity: unset}.rdp-root{position:relative;box-sizing:border-box}.rdp-root *{box-sizing:border-box}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);text-align:center}.rdp-day_button{background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex;width:var(--rdp-day_button-width);height:var(--rdp-day_button-height);border:var(--rdp-day_button-border);border-radius:var(--rdp-day_button-border-radius)}.rdp-day_button:disabled{cursor:revert}.rdp-caption_label{z-index:1;position:relative;display:inline-flex;align-items:center;white-space:nowrap;border:0}.rdp-dropdown:focus-visible~.rdp-caption_label{outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.rdp-button_next,.rdp-button_previous{border:none;background:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;-moz-appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;position:relative;appearance:none;width:var(--rdp-nav_button-width);height:var(--rdp-nav_button-height)}.rdp-button_next:disabled,.rdp-button_next[aria-disabled=true],.rdp-button_previous:disabled,.rdp-button_previous[aria-disabled=true]{cursor:revert;opacity:var(--rdp-nav_button-disabled-opacity)}.rdp-chevron{display:inline-block;fill:var(--rdp-accent-color)}.rdp-root[dir=rtl] .rdp-nav .rdp-chevron{transform:rotate(180deg);transform-origin:50%}.rdp-dropdowns{position:relative;display:inline-flex;align-items:center;gap:var(--rdp-dropdown-gap)}.rdp-dropdown{z-index:2;opacity:0;appearance:none;position:absolute;inset-block-start:0;inset-block-end:0;inset-inline-start:0;width:100%;margin:0;padding:0;cursor:inherit;border:none;line-height:inherit}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center}.rdp-dropdown_root[data-disabled=true] .rdp-chevron{opacity:var(--rdp-disabled-opacity)}.rdp-month_caption{display:flex;align-content:center;height:var(--rdp-nav-height);font-weight:700;font-size:large}.rdp-root[data-nav-layout=around] .rdp-month,.rdp-root[data-nav-layout=after] .rdp-month{position:relative}.rdp-root[data-nav-layout=around] .rdp-month_caption{justify-content:center;margin-inline-start:var(--rdp-nav_button-width);margin-inline-end:var(--rdp-nav_button-width);position:relative}.rdp-root[data-nav-layout=around] .rdp-button_previous{position:absolute;inset-inline-start:0;top:0;height:var(--rdp-nav-height);display:inline-flex}.rdp-root[data-nav-layout=around] .rdp-button_next{position:absolute;inset-inline-end:0;top:0;height:var(--rdp-nav-height);display:inline-flex;justify-content:center}.rdp-months{position:relative;display:flex;flex-wrap:wrap;gap:var(--rdp-months-gap);max-width:fit-content}.rdp-month_grid{border-collapse:collapse}.rdp-nav{position:absolute;inset-block-start:0;inset-inline-end:0;display:flex;align-items:center;height:var(--rdp-nav-height)}.rdp-weekday{opacity:var(--rdp-weekday-opacity);padding:var(--rdp-weekday-padding);font-weight:500;font-size:smaller;text-align:var(--rdp-weekday-text-align);text-transform:var(--rdp-weekday-text-transform)}.rdp-week_number{opacity:var(--rdp-week_number-opacity);font-weight:400;font-size:small;height:var(--rdp-week_number-height);width:var(--rdp-week_number-width);border:var(--rdp-week_number-border);border-radius:var(--rdp-week_number-border-radius);text-align:var(--rdp-weeknumber-text-align)}.rdp-today:not(.rdp-outside){color:var(--rdp-today-color)}.rdp-selected{font-weight:700;font-size:large}.rdp-selected .rdp-day_button{border:var(--rdp-selected-border)}.rdp-outside{opacity:var(--rdp-outside-opacity)}.rdp-disabled:not(.rdp-selected){opacity:var(--rdp-disabled-opacity)}.rdp-hidden{visibility:hidden;color:var(--rdp-range_start-color)}.rdp-range_start{background:var(--rdp-range_start-background)}.rdp-range_start .rdp-day_button{background-color:var(--rdp-range_start-date-background-color);color:var(--rdp-range_start-color)}.rdp-range_middle{background-color:var(--rdp-range_middle-background-color)}.rdp-range_middle .rdp-day_button{border:unset;border-radius:unset;color:var(--rdp-range_middle-color)}.rdp-range_end{background:var(--rdp-range_end-background);color:var(--rdp-range_end-color)}.rdp-range_end .rdp-day_button{color:var(--rdp-range_start-color);background-color:var(--rdp-range_end-date-background-color)}.rdp-range_start.rdp-range_end{background:revert}.rdp-focusable{cursor:pointer}@keyframes rdp-slide_in_left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes rdp-slide_in_right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rdp-slide_out_left{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes rdp-slide_out_right{0%{transform:translate(0)}to{transform:translate(100%)}}.rdp-weeks_before_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_before_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-weeks_after_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_enter{animation:rdp-slide_in_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_exit{animation:rdp-slide_out_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_before_enter{animation:rdp-slide_in_right var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-root[dir=rtl] .rdp-weeks_after_exit{animation:rdp-slide_out_left var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}@keyframes rdp-fade_in{0%{opacity:0}to{opacity:1}}@keyframes rdp-fade_out{0%{opacity:1}to{opacity:0}}.rdp-caption_after_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_after_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_enter{animation:rdp-fade_in var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.rdp-caption_before_exit{animation:rdp-fade_out var(--rdp-animation_duration) var(--rdp-animation_timing) forwards}.statistics-page{--statistics-purple: #7064bd;--statistics-teal: #168d78;--statistics-blue: #4c79d2;--statistics-orange: #c18131;--statistics-red: #c65a59;--statistics-grid: #e7e8ec;gap:15px}.dark .statistics-page{--statistics-purple: #a49bee;--statistics-teal: #69c5ad;--statistics-blue: #86a8f2;--statistics-orange: #ebb06d;--statistics-red: #ed8985;--statistics-grid: #34343c}.statistics-heading>span{display:block;margin-bottom:8px;color:var(--muted-foreground);font-size:.67rem;font-weight:750;letter-spacing:.12em}.statistics-page .page-header h1{margin:0;letter-spacing:-.035em}.statistics-heading .page-header>div:first-child{flex-shrink:0}.statistics-heading .page-actions{min-width:0;justify-content:flex-end}.statistics-heading .dashboard-controls{justify-content:flex-end}.statistics-period-trigger{max-width:100%;font-size:.76rem;font-variant-numeric:tabular-nums}.statistics-period-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis}.statistics-period-popover{z-index:60;width:max-content;max-width:calc(100vw - 24px);max-height:var(--radix-popover-content-available-height);overflow-y:auto;padding:16px;border:1px solid var(--border);border-radius:12px;color:var(--foreground);background:var(--surface);box-shadow:0 10px 35px #0003}.statistics-period-popover h2{margin:0;font-size:.95rem}.period-selection-hint,.period-timezone{color:var(--muted-foreground);font-size:.73rem}.period-selection-hint{margin:6px 0 12px}.statistics-period-popover .rdp-root{--rdp-accent-color: var(--foreground);--rdp-accent-background-color: var(--surface-muted);--rdp-range_start-color: var(--background);--rdp-range_end-color: var(--background);--rdp-day-height: 36px;--rdp-day-width: 36px;--rdp-day_button-height: 34px;--rdp-day_button-width: 34px;--rdp-months-gap: 18px;font-size:.78rem}.statistics-period-popover .rdp-caption_label{font-size:.83rem}.statistics-period-popover .rdp-month_grid{width:auto;font-size:inherit}.statistics-period-popover .rdp-month_grid th,.statistics-period-popover .rdp-month_grid td{padding:0;border:0;text-align:center;white-space:normal}.statistics-period-popover .rdp-month_grid th,.statistics-period-popover .rdp-month_grid tbody tr:hover{background:transparent}.statistics-period-popover .rdp-day_button:hover{outline:1px solid var(--border-strong)}.statistics-period-popover .rdp-day_button:focus-visible,.statistics-period-popover .rdp-button_previous:focus-visible,.statistics-period-popover .rdp-button_next:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.period-time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.period-time-fields .field{min-width:0;font-size:.75rem}.period-time-fields .input{width:100%;min-width:0}.period-timezone,.statistics-period-popover .field-error{display:block;margin-top:10px;overflow-wrap:anywhere}.period-picker-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.statistics-coverage,.statistics-warning{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:10px 13px;border:1px solid var(--border);border-radius:10px;color:var(--muted-foreground);font-size:.76rem;line-height:1.4}.statistics-coverage svg{flex:none;color:var(--statistics-teal)}.statistics-coverage-period{margin-left:auto;color:var(--foreground);font-variant-numeric:tabular-nums}.statistics-warning{color:var(--warn);border-color:color-mix(in srgb,var(--warn) 28%,var(--border));background:color-mix(in srgb,var(--warn) 7%,var(--surface))}.statistics-warning svg{flex:none}.statistics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:15px}.statistics-panel{display:flex;flex-direction:column;min-width:0;min-height:345px;padding:19px;box-shadow:none}.statistics-panel-heading h2{margin:0 0 6px;font-size:1rem;font-weight:700;letter-spacing:-.015em}.statistics-panel-heading p{margin:0;min-height:2.6em;color:var(--muted-foreground);font-size:.76rem;line-height:1.35}.statistics-chart{width:100%;height:205px;margin-top:15px}.statistics-legend{display:flex;flex-wrap:wrap;gap:6px 17px;margin-top:9px;color:var(--muted-foreground);font-size:.72rem}.statistics-legend span,.statistics-tooltip span{display:inline-flex;align-items:center;gap:6px}.statistics-legend i,.statistics-tooltip i{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%}.statistics-summary{margin-top:auto;padding-top:13px;color:var(--muted-foreground);font-size:.72rem;line-height:1.4}.statistics-table{margin-top:10px;border-top:1px solid var(--border);padding-top:9px}.statistics-table summary{display:flex;align-items:center;gap:6px;width:fit-content;color:var(--muted-foreground);cursor:pointer;font-size:.72rem;list-style:none}.statistics-table summary::-webkit-details-marker{display:none}.statistics-table summary svg{width:14px;height:14px;transition:transform .15s ease}.statistics-table[open] summary svg{transform:rotate(180deg)}.statistics-table .table-scroll{margin-top:10px}.statistics-table table{width:100%;border-collapse:collapse;font-size:.72rem}.statistics-table th,.statistics-table td{padding:7px 9px;border-bottom:1px solid var(--border);text-align:left;white-space:nowrap}.statistics-table th{color:var(--muted-foreground);font-weight:600}.statistics-tooltip{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:9px;color:var(--foreground);background:var(--surface-raised);box-shadow:var(--shadow);font-size:.74rem}.statistics-tooltip strong{margin-bottom:2px}.statistics-retention{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.75fr);align-items:center;column-gap:30px;min-height:170px}.statistics-retention .statistics-panel-heading,.statistics-retention-value,.statistics-progress{grid-column:1}.statistics-period-pair,.statistics-retention-empty{grid-column:2;grid-row:1 / span 3}.statistics-grid>.statistics-panel:last-child{grid-column:1 / -1}.statistics-retention-value{display:flex;align-items:baseline;gap:12px;margin-top:18px;font-variant-numeric:tabular-nums}.statistics-retention-value strong{font-size:2.4rem;font-weight:700;letter-spacing:-.05em}.statistics-retention-value span,.statistics-period-pair{color:var(--muted-foreground);font-size:.75rem}.statistics-progress{height:7px;overflow:hidden;margin-top:10px;border-radius:99px;background:var(--surface-muted)}.statistics-progress span{display:block;height:100%;border-radius:inherit;background:var(--statistics-teal)}.statistics-period-pair{display:grid;gap:5px;margin-top:13px;line-height:1.35}.statistics-retention-empty{margin-top:18px;padding:13px 15px;border:1px dashed var(--border-strong);border-radius:9px;background:var(--surface-muted)}.statistics-retention-empty strong{font-size:.86rem}.statistics-retention-empty p{margin:5px 0 0;color:var(--muted-foreground);font-size:.75rem;line-height:1.4}.statistics-availability{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.statistics-screen-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}.statistics-screen-picker button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:8px 9px;border:1px solid var(--border);border-radius:8px;color:var(--muted-foreground);background:var(--surface-muted);cursor:pointer;font:inherit;font-size:.72rem;text-align:left}.statistics-screen-picker button[aria-pressed=true]{border-color:color-mix(in srgb,var(--statistics-blue) 60%,var(--border));color:var(--foreground);background:color-mix(in srgb,var(--statistics-blue) 9%,var(--surface))}.statistics-screen-picker button:hover{border-color:var(--statistics-blue)}.statistics-screen-picker button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.statistics-screen-picker button small{font-size:inherit;font-variant-numeric:tabular-nums}.statistics-actions{margin-top:12px;padding-top:10px;border-top:1px solid var(--border);font-size:.73rem}.statistics-actions h3{margin:0 0 8px;font-size:.76rem}.statistics-actions ol{display:grid;gap:6px;margin:0;padding-left:20px}.statistics-actions li{padding-left:2px;color:var(--muted-foreground)}.statistics-actions li span{color:var(--foreground)}.statistics-actions li strong{float:right;font-variant-numeric:tabular-nums}.statistics-actions p{margin:0;color:var(--muted-foreground)}@media(max-width:1000px){.statistics-grid{grid-template-columns:1fr}.statistics-retention{display:flex}}@media(max-width:600px){.statistics-heading .dashboard-controls{justify-content:stretch}.statistics-period-trigger{width:100%}.statistics-period-popover{padding:12px}.statistics-period-popover .rdp-root{--rdp-day-width: min(44px, calc((100vw - 54px) / 7));--rdp-day-height: 44px;--rdp-day_button-width: calc(var(--rdp-day-width) - 2px);--rdp-day_button-height: 42px}.statistics-panel{min-height:0;padding:15px}.statistics-chart{height:195px}.statistics-coverage-period{width:100%;margin-left:25px}.statistics-retention-value{flex-wrap:wrap;gap:0 10px}.statistics-screen-picker{grid-template-columns:1fr 1fr}}/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.resize{resize:both}.items-center{align-items:center}.gap-2{gap:calc(var(--spacing)*2)}}:root{color-scheme:light;font-synthesis:none;--background:#f7f7f8;--surface:#fff;--surface-raised:#fff;--surface-muted:#f1f1f3;--foreground:#171719;--muted-foreground:#6f6f78;--border:#dedee3;--border-strong:#c5c5cb;--primary:#1f1f22;--primary-foreground:#fff;--focus:#2563eb;--good:#16803c;--warn:#b35c00;--bad:#c62828;--info:#2563eb;--chart-blue:#3976dd;--chart-orange:#e4862b;--chart-green:#24965a;--chart-red:#d84a4a;--shadow:0 1px 2px #0000000a,0 12px 35px #00000009;--radius:12px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.dark{color-scheme:dark;--background:#101012;--surface:#18181b;--surface-raised:#202023;--surface-muted:#252529;--foreground:#f4f4f5;--muted-foreground:#a1a1aa;--border:#303036;--border-strong:#48484f;--primary:#f4f4f5;--primary-foreground:#18181b;--focus:#60a5fa;--good:#45c477;--warn:#f0a249;--bad:#f06a6a;--info:#6ca0f6;--chart-blue:#5b8dea;--chart-orange:#ee9849;--chart-green:#45b879;--chart-red:#ec6868;--shadow:0 1px 2px #00000040,0 18px 42px #0000002e}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{background:var(--background);color:var(--foreground)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline:none}:focus-visible{outline:3px solid var(--focus)}@supports (color:color-mix(in lab,red,red)){:focus-visible{outline:3px solid color-mix(in srgb,var(--focus)38%,transparent)}}:focus-visible{outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:7px;font-size:clamp(1.55rem,2vw,2.1rem)}h2{margin-bottom:6px;font-size:1.05rem}h3{font-size:.9rem}code{color:var(--muted-foreground);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.button{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:8px 13px;font-size:.84rem;font-weight:610;transition:background .15s,border-color .15s,transform .1s;display:inline-flex}.button svg{width:16px;height:16px}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.45;cursor:not-allowed}.button-primary{color:var(--primary-foreground);background:var(--primary)}.button-secondary{color:var(--foreground);background:var(--surface);border-color:var(--border)}.button-secondary:hover{background:var(--surface-muted);border-color:var(--border-strong)}.button-ghost{color:var(--muted-foreground);background:0 0}.button-ghost:hover{color:var(--foreground);background:var(--surface-muted)}.button-danger{color:#fff;background:var(--bad)}.button-sm{min-height:32px;padding:5px 9px;font-size:.78rem}.button-icon{width:36px;min-height:36px;padding:0}.input{width:100%;min-height:39px;color:var(--foreground);background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:8px 10px}.input:hover{border-color:var(--border-strong)}.input:focus{border-color:var(--focus);box-shadow:0 0 0 3px var(--focus)}@supports (color:color-mix(in lab,red,red)){.input:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--focus)13%,transparent)}}.input:disabled{background:var(--surface-muted);color:var(--muted-foreground)}.textarea{resize:vertical;min-height:120px;line-height:1.55}.field{min-width:0;color:var(--muted-foreground);align-content:start;gap:6px;font-size:.8rem;display:grid}.field>span{color:var(--foreground);font-weight:620}.field small{line-height:1.4}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;padding:20px}.badge{background:var(--surface-muted);border:1px solid var(--border);width:fit-content;color:var(--muted-foreground);border-radius:999px;align-items:center;gap:5px;padding:3px 7px;font-size:.69rem;font-weight:690;line-height:1.25;display:inline-flex}.badge svg{width:12px;height:12px}.badge-good{color:var(--good);background:var(--good)}@supports (color:color-mix(in lab,red,red)){.badge-good{background:color-mix(in srgb,var(--good)11%,var(--surface))}}.badge-good{border-color:var(--good)}@supports (color:color-mix(in lab,red,red)){.badge-good{border-color:color-mix(in srgb,var(--good)24%,var(--border))}}.badge-warn{color:var(--warn);background:var(--warn)}@supports (color:color-mix(in lab,red,red)){.badge-warn{background:color-mix(in srgb,var(--warn)10%,var(--surface))}}.badge-warn{border-color:var(--warn)}@supports (color:color-mix(in lab,red,red)){.badge-warn{border-color:color-mix(in srgb,var(--warn)24%,var(--border))}}.badge-bad{color:var(--bad);background:var(--bad)}@supports (color:color-mix(in lab,red,red)){.badge-bad{background:color-mix(in srgb,var(--bad)10%,var(--surface))}}.badge-bad{border-color:var(--bad)}@supports (color:color-mix(in lab,red,red)){.badge-bad{border-color:color-mix(in srgb,var(--bad)24%,var(--border))}}.badge-info{color:var(--info);background:var(--info)}@supports (color:color-mix(in lab,red,red)){.badge-info{background:color-mix(in srgb,var(--info)10%,var(--surface))}}.badge-info{border-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.badge-info{border-color:color-mix(in srgb,var(--info)24%,var(--border))}}.shell{grid-template-columns:auto minmax(0,1fr);min-height:100vh;display:grid}.shell-content{min-width:0}.sidebar{color:#fafafa;z-index:30;background:#151517;border-right:1px solid #29292d;flex-direction:column;width:248px;height:100vh;padding:15px 12px;transition:width .2s;display:flex;position:sticky;top:0}.sidebar-collapsed{width:76px}.sidebar-brand{border-bottom:1px solid #2c2c30;align-items:center;gap:10px;min-height:49px;padding:3px 8px 15px;display:flex}.sidebar-brand>div{display:grid;overflow:hidden}.sidebar-brand b{font-size:.93rem}.sidebar-brand small{color:#92929a;white-space:nowrap;font-size:.7rem}.brand-mark{color:#111;background:#f5f5f5;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-weight:850;display:grid}.sidebar nav{flex:1;padding-top:12px;overflow:auto}.nav-group{gap:3px;margin-bottom:19px;display:grid}.nav-group>span{color:#6f6f77;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;padding:4px 10px;font-size:.62rem;overflow:hidden}.nav-link{color:#a9a9b0;border-radius:8px;align-items:center;gap:11px;min-height:39px;padding:8px 10px;text-decoration:none;transition:background .15s,color .15s;display:flex}.nav-link:hover{color:#fff;background:#222225}.nav-link.active{color:#fff;background:#2a2a2e}.nav-link svg{flex:none;width:18px;height:18px}.nav-link em{white-space:nowrap;font-size:.82rem;font-style:normal;font-weight:570}.sidebar-toggle{color:#93939a;justify-content:center;width:36px;min-width:36px;margin-left:auto;padding:0}.sidebar-expand-mark{color:#111;background:#f5f5f5;border-radius:9px;place-items:center;width:34px;height:34px;font-weight:850;display:grid}.sidebar-collapsed .sidebar-brand>div,.sidebar-collapsed .nav-group>span,.sidebar-collapsed .nav-link em{display:none}.sidebar-collapsed .nav-link{justify-content:center}.sidebar-collapsed .sidebar-brand{justify-content:center;padding-left:0;padding-right:0}.sidebar-collapsed .sidebar-toggle{margin-left:0}.sidebar-collapsed .brand-mark{display:none}.topbar{z-index:20;background:var(--surface);justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:10px 24px;display:flex;position:sticky;top:0}@supports (color:color-mix(in lab,red,red)){.topbar{background:color-mix(in srgb,var(--surface)91%,transparent)}}.topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.topbar-title,.topbar-actions,.config-actions,.user-menu,.theme-select{align-items:center;gap:8px;display:flex}.topbar-title{color:var(--muted-foreground);font-size:.8rem}.topbar-title b{color:var(--foreground)}.breadcrumb-separator{width:14px;height:14px}.topbar-actions{min-width:0}.theme-select{border:1px solid var(--border);height:34px;color:var(--muted-foreground);border-radius:8px;padding:0 8px}.theme-select select{max-width:88px;color:var(--foreground);background:0 0;border:0;font-size:.75rem}.theme-select svg{width:13px;height:13px}.user-menu{border-left:1px solid var(--border);padding-left:10px;font-size:.75rem}.user-menu span{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}.user-menu button{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;padding:4px}.draft-status{color:var(--muted-foreground);background:var(--surface-muted);white-space:nowrap;border-radius:7px;padding:5px 8px;font-size:.68rem}.draft-dirty{color:var(--warn);background:var(--warn)}@supports (color:color-mix(in lab,red,red)){.draft-dirty{background:color-mix(in srgb,var(--warn)10%,var(--surface))}}.config-actions{position:relative}.conflict-popover{background:var(--surface-raised);border:1px solid var(--bad);width:360px;padding:15px;position:absolute;top:43px;right:0}@supports (color:color-mix(in lab,red,red)){.conflict-popover{border:1px solid color-mix(in srgb,var(--bad)40%,var(--border))}}.conflict-popover{border-radius:11px;box-shadow:0 18px 50px #0000002e}.validation-popover{background:var(--surface-raised);border:1px solid var(--bad);width:min(460px,90vw);max-height:70vh;padding:15px;position:absolute;top:43px;right:0;overflow:auto}@supports (color:color-mix(in lab,red,red)){.validation-popover{border:1px solid color-mix(in srgb,var(--bad)40%,var(--border))}}.validation-popover{border-radius:11px;box-shadow:0 18px 50px #0000002e}.validation-popover section{margin-top:12px}.validation-popover h3{margin-bottom:5px}.validation-popover a{color:var(--foreground);border-radius:7px;gap:3px;padding:7px;text-decoration:none;display:grid}.validation-popover a:hover{background:var(--surface-muted)}.validation-popover a span{color:var(--muted-foreground);font-size:.72rem}[id]{scroll-margin-top:90px}.conflict-popover p{color:var(--muted-foreground);margin:5px 0 12px;font-size:.78rem}.conflict-popover>div{gap:8px;display:flex}.mobile-menu{display:none}.page-container{width:min(100%,1580px);margin:0 auto;padding:28px}.page-stack{gap:18px;display:grid}.page-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.page-header p{max-width:720px;color:var(--muted-foreground);margin:0;line-height:1.45}.page-actions,.dashboard-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.section-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:16px;display:flex}.section-heading h2{margin-top:7px}.section-heading p{color:var(--muted-foreground);margin:0;font-size:.8rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.inset{background:var(--surface-muted);border-radius:9px;margin-top:14px;padding:14px}.switch-row{align-items:center;gap:8px;margin:13px 0;font-size:.82rem;font-weight:580;display:flex}.switch-row input{width:17px;height:17px;accent-color:var(--foreground)}.empty-state{border:1px dashed var(--border);text-align:center;min-height:130px;color:var(--muted-foreground);border-radius:10px;align-content:center;place-items:center;gap:4px;padding:24px;display:grid}.empty-state p{max-width:480px;margin:0;font-size:.79rem;line-height:1.45}.loading-state{min-height:180px;color:var(--muted-foreground);justify-content:center;align-items:center;gap:10px;display:flex}.spinner{border:2px solid var(--border);border-top-color:var(--foreground);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-state{border:1px solid var(--bad);justify-content:space-between;align-items:center;gap:15px;min-height:130px;padding:18px;display:flex}@supports (color:color-mix(in lab,red,red)){.error-state{border:1px solid color-mix(in srgb,var(--bad)35%,var(--border))}}.error-state{border-radius:var(--radius);background:var(--bad)}@supports (color:color-mix(in lab,red,red)){.error-state{background:color-mix(in srgb,var(--bad)6%,var(--surface))}}.error-state p{color:var(--muted-foreground);margin:5px 0 0}.auth-screen{place-items:center;min-height:100vh;padding:30px;display:grid}.auth-card{place-content:center;justify-items:start;max-width:450px;margin:auto}.auth-card h1{margin:18px 0 5px}.auth-card p{color:var(--muted-foreground);line-height:1.55}.forbidden{text-align:center;place-content:center;justify-items:center;min-height:55vh;display:grid}.forbidden>b{color:var(--border-strong);font-size:5rem;line-height:1}.forbidden p{max-width:500px;color:var(--muted-foreground)}.segmented{background:var(--surface-muted);border-radius:9px;padding:3px;display:flex}.segmented button{min-height:32px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:4px 10px;font-size:.75rem}.segmented button.active{color:var(--foreground);background:var(--surface);box-shadow:0 1px 3px #00000014}.timezone{width:190px}.custom-period{grid-template-columns:auto minmax(190px,1fr) minmax(190px,1fr) auto;align-items:end;gap:14px;padding:14px 18px;display:grid}.custom-period>svg{color:var(--muted-foreground);align-self:center}.custom-period-offset,.custom-period .field-error{grid-column:2/-1;font-size:.72rem}.custom-period-offset{color:var(--muted-foreground)}.custom-period .field-error{color:var(--danger)}.observation-note{color:var(--muted-foreground);flex-wrap:wrap;gap:12px;font-size:.73rem;display:flex}.observation-note span{border-right:1px solid var(--border);padding-right:12px}.warning-banner,.info-banner{color:var(--warn);background:var(--warn);align-items:center;gap:9px;padding:12px 14px;display:flex}@supports (color:color-mix(in lab,red,red)){.warning-banner,.info-banner{background:color-mix(in srgb,var(--warn)9%,var(--surface))}}.warning-banner,.info-banner{border:1px solid var(--warn)}@supports (color:color-mix(in lab,red,red)){.warning-banner,.info-banner{border:1px solid color-mix(in srgb,var(--warn)25%,var(--border))}}.warning-banner,.info-banner{border-radius:9px;font-size:.8rem}.warning-banner svg{width:17px}.info-banner{color:var(--info);background:var(--info)}@supports (color:color-mix(in lab,red,red)){.info-banner{background:color-mix(in srgb,var(--info)8%,var(--surface))}}.info-banner{border-color:var(--info)}@supports (color:color-mix(in lab,red,red)){.info-banner{border-color:color-mix(in srgb,var(--info)24%,var(--border))}}.info-banner{margin-bottom:16px}.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.chart-card{flex-direction:column;min-height:460px;display:flex}.chart-heading{justify-content:space-between;gap:12px;display:flex}.chart-heading p{min-height:34px;color:var(--muted-foreground);margin:0;font-size:.74rem;line-height:1.4}.chart-heading strong{white-space:nowrap;font-size:1.35rem}.chart-area{flex:1;height:315px;min-height:260px;margin-top:14px}.availability-notes{flex-wrap:wrap;gap:6px;margin-bottom:6px;display:flex}.feature-chart{height:calc(100% - 30px);min-height:230px}.chart-tooltip{max-width:260px;color:var(--foreground);background:var(--surface-raised);border:1px solid var(--border-strong);border-radius:8px;gap:5px;padding:9px 11px;font-size:.72rem;display:grid;box-shadow:0 10px 28px #00000029}.chart-tooltip span{align-items:center;gap:6px;display:flex}.chart-tooltip i{border-radius:2px;width:8px;height:8px}.data-details{border-top:1px solid var(--border);margin-top:14px;padding-top:10px}.data-details summary{color:var(--muted-foreground);cursor:pointer;align-items:center;gap:6px;font-size:.75rem;display:flex}.data-details summary svg{width:14px}.data-details[open] summary svg{transform:rotate(180deg)}.retention-card{min-height:330px}.retention-value{align-items:baseline;gap:12px;margin:30px 0 14px;display:flex}.retention-value strong{letter-spacing:-.06em;font-size:3.4rem}.retention-value span{color:var(--muted-foreground)}.progress{background:var(--surface-muted);border-radius:999px;height:14px;overflow:hidden}.progress span{background:var(--chart-green);border-radius:inherit;height:100%;display:block}.period-pair{color:var(--muted-foreground);gap:5px;margin-top:15px;font-size:.74rem;display:grid}.interface-card{min-height:unset;grid-column:1/-1}.interface-chart{margin-top:16px}.mobile-pane-toggle{display:none}.editor-page{container-type:inline-size}.messages-toolbar{flex-wrap:wrap;gap:8px;display:flex}.catalog-drawer-toggle,.catalog-close,.catalog-backdrop{display:none}.message-editor{grid-template-columns:180px minmax(300px,1fr) 380px;align-items:start;gap:12px;min-width:0;display:grid}.message-editor.catalog-hidden{grid-template-columns:minmax(300px,1fr) 380px}.message-editor.catalog-hidden .screen-catalog,.message-editor.preview-focused .screen-catalog,.message-editor.preview-focused .screen-form{display:none}.message-editor.preview-focused{grid-template-columns:minmax(0,1fr)}.message-editor.preview-focused .telegram-preview{width:min(100%,760px);margin:0 auto}.message-editor.preview-focused .phone-frame{width:min(100%,450px)}.screen-catalog{flex-direction:column;height:calc(100dvh - 225px);min-height:420px;padding:12px;display:flex;position:sticky;top:86px}.catalog-heading{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.8rem;display:flex}.catalog-list{min-height:0;margin:10px -5px -5px;padding:0 5px 8px;overflow:auto}.search-box{align-items:center;gap:6px;display:flex}.search-box>svg{width:17px;color:var(--muted-foreground);flex:none}.search-box input{flex:1;width:auto;min-width:0}.catalog-list section{margin-top:16px}.screen-catalog section h3{color:var(--muted-foreground);letter-spacing:.06em;text-transform:uppercase;margin:0 8px 5px;font-size:.65rem}.screen-link{text-align:left;width:100%;color:var(--foreground);cursor:pointer;background:0 0;border:0;border-radius:8px;gap:2px;padding:9px;display:grid}.screen-link:hover,.screen-link.active{background:var(--surface-muted)}.screen-link.active{box-shadow:inset 3px 0 var(--foreground)}.screen-link span{font-size:.78rem;font-weight:570}.screen-link code{font-size:.65rem}.screen-form{min-width:0;padding:16px}.plan-tabs{border-bottom:1px solid var(--border);gap:5px;margin-bottom:10px;display:flex;overflow-x:auto}.plan-tabs button{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;padding:9px 10px;font-size:.78rem}.plan-tabs button[aria-selected=true]{color:var(--foreground);border-bottom-color:var(--foreground);font-weight:700}.plan-description{margin-bottom:14px}.button-fields{border-top:1px solid var(--border);padding-top:14px}.button-fields summary{cursor:pointer;font-size:.82rem;font-weight:680}.button-fields-content{gap:12px;margin-top:14px;display:grid}.variables{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 20px;font-size:.75rem;display:flex}.telegram-preview{flex-direction:column;min-width:0;height:calc(100dvh - 225px);min-height:420px;padding:12px;display:flex;position:sticky;top:86px}.preview-heading{align-items:center;gap:6px;min-height:30px;margin-bottom:10px;display:flex}.preview-heading>div{gap:2px;margin-right:auto;display:grid}.preview-heading strong{font-size:.84rem}.preview-heading span{color:var(--muted-foreground);font-size:.68rem}.preview-settings{flex:none;position:relative}.preview-settings summary{cursor:pointer;color:var(--muted-foreground);padding:6px 7px;font-size:.74rem;list-style:none}.preview-settings summary::-webkit-details-marker{display:none}.preview-settings summary:after{content:" ▾"}.preview-settings[open] summary:after{content:" ▴"}.preview-settings-panel{z-index:5;border:1px solid var(--border);background:var(--surface-raised);width:min(330px,100vw - 40px);max-height:min(65dvh,490px);box-shadow:var(--shadow);border-radius:10px;gap:10px;padding:14px;display:grid;position:absolute;top:calc(100% + 6px);right:0;overflow:auto}.preview-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.phone-frame{background:#dce5eb;border:8px solid #222328;border-radius:30px;flex-direction:column;flex:1;width:min(100%,360px);min-height:0;margin:10px auto 8px;display:flex;overflow:hidden;box-shadow:0 24px 55px #0000002e}.phone-header{color:#1b1b1d;background:#fff;flex:0 0 48px;place-content:center;justify-items:center;display:grid}.phone-header span{color:#777;font-size:.68rem}.phone-chat{flex-direction:column;flex:1;justify-content:flex-start;min-height:0;padding:12px;display:flex;overflow:auto}.message-bubble{color:#161619;white-space:pre-wrap;text-align:left;background:#fff;border:0;border-radius:15px 15px 15px 4px;width:fit-content;max-width:92%;padding:11px 13px;line-height:1.45;box-shadow:0 2px 10px #00000014}.message-bubble a{color:#2273ad;text-decoration:underline}.telegram-spoiler{color:#0000;cursor:pointer;background:#5b5b5b;border-radius:3px;padding:0 2px}.telegram-spoiler.revealed{color:inherit;background:#e0e0e0}.telegram-spoiler:focus-visible{outline-offset:2px;outline:2px solid #2273ad}.open-preview-template{white-space:nowrap;padding:5px;font-size:.68rem}.preview-error{color:var(--bad);margin:8px 0;font-size:.75rem}.telegram-keyboard{flex:none;gap:4px;max-height:38%;padding:6px 8px 8px;display:grid;overflow:auto}.telegram-keyboard-row{gap:4px;min-width:0;display:flex}.telegram-keyboard-row button{flex:1 1 0;min-width:0}.telegram-keyboard button{color:#2670a9;cursor:pointer;overflow-wrap:anywhere;background:#ffffffeb;border:0;border-radius:8px;min-height:32px;padding:5px 3px;font-size:.72rem}.safe-preview{color:var(--muted-foreground);margin:0;font-size:.71rem;line-height:1.45}.models-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.model-card{flex-direction:column;display:flex}.model-card>.switch-row{margin-top:auto;padding-top:15px}.model-layout{gap:9px;display:grid}.layout-row{border:1px solid var(--border);border-radius:10px;grid-template-columns:minmax(0,1fr);align-items:center;gap:12px;padding:10px;display:grid}.layout-order{display:flex}.telegram-model-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.layout-model{gap:4px;min-width:0;display:grid}.layout-model .layout-order{justify-content:center}.telegram-model-button{color:#2670a9;background:#edf7ff;border:1px solid #d0e8fa;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:6px;display:flex}.telegram-model-button:only-child{grid-column:1/-1}.telegram-model-button svg{width:13px}.table-card{padding:0;overflow:hidden}.table-scroll{max-width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:.78rem}th{color:var(--muted-foreground);background:var(--surface-muted);font-weight:650}th,td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;white-space:nowrap;padding:11px 13px}tbody tr:hover{background:var(--surface-muted)}@supports (color:color-mix(in lab,red,red)){tbody tr:hover{background:color-mix(in srgb,var(--surface-muted)65%,transparent)}}.table-actions,.copy-cell{align-items:center;gap:5px;display:flex}.json-preview{height:calc(100vh - 100px);color:var(--foreground);background:var(--surface-muted);border-radius:8px;margin:0;padding:15px;font-size:.72rem;line-height:1.45;overflow:auto}.dialog-overlay{z-index:60;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#00000073;position:fixed;inset:0}.drawer{z-index:61;background:var(--surface);width:min(620px,92vw);padding:18px;position:fixed;inset:0 0 0 auto;box-shadow:-20px 0 60px #0003}.drawer-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.drawer-header h2{margin:0}.drawer-header p{color:var(--muted-foreground);margin:3px 0 0}.tabs{background:var(--surface-muted);border-radius:9px;gap:3px;width:fit-content;padding:3px;display:flex}.tabs button{color:var(--muted-foreground);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 13px;font-size:.8rem}.tabs button[data-state=active]{color:var(--foreground);background:var(--surface);box-shadow:0 1px 3px #00000014}[role=tabpanel]{margin-top:16px}.plans-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.plan-card{gap:10px;display:grid}.plan-title{align-items:center;gap:12px;display:flex}.plan-title h2{margin:5px 0 0}.stars-icon{width:43px;height:43px;color:var(--warn);background:var(--warn);border-radius:11px;place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.stars-icon{background:color-mix(in srgb,var(--warn)12%,var(--surface))}}.filters{border-bottom:1px solid var(--border);gap:12px;padding:15px;display:flex}.filters .field{width:210px}.table-sort{color:inherit;font-weight:inherit;cursor:pointer;background:0 0;border:0}.cancellations{gap:6px;display:grid}.cancellations>span{gap:3px;display:grid}.cancellations small{color:var(--muted-foreground)}.conversation-workspace{grid-template-columns:270px minmax(0,1fr);min-height:calc(100vh - 185px);padding:0;display:grid;overflow:hidden}.topics-pane{border-right:1px solid var(--border);overflow:hidden}.topics-pane>.search-box{border-bottom:1px solid var(--border);padding:12px}.topic-list{max-height:calc(100vh - 305px);overflow:auto}.topic-controls{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px;padding:8px 12px;display:flex}.topic-controls label{align-items:center;gap:5px;font-size:.72rem;display:flex}.topic-controls button{padding:6px;font-size:.72rem}.unread-count{background:var(--primary);min-width:22px;color:var(--primary-foreground);text-align:center;border-radius:12px;padding:3px 6px;font-size:.7rem;font-weight:700}.conversation-read-error{overflow-wrap:anywhere;padding:12px;font-size:.75rem}.chat-body{min-width:0}.delivery-parts,.answer-details small{color:var(--muted-foreground);overflow-wrap:anywhere;margin-top:6px;font-size:.7rem;display:block}.answer-details{margin-top:10px}.answer-details summary{cursor:pointer;font-size:.75rem}.answer-event{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.topic-item{text-align:left;width:100%;color:var(--foreground);border:0;border-bottom:1px solid var(--border);cursor:pointer;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.topic-item:hover,.topic-item.active{background:var(--surface-muted)}.topic-item.active{box-shadow:inset 3px 0 var(--foreground)}.topic-avatar{width:34px;height:34px;color:var(--primary-foreground);background:var(--primary);border-radius:50%;place-items:center;font-size:.75rem;font-weight:750;display:grid}.topic-avatar.large{width:40px;height:40px}.topic-avatar svg{width:18px}.topic-copy{gap:3px;min-width:0;display:grid}.topic-copy b,.topic-copy em,.topic-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topic-copy b{font-size:.79rem}.topic-copy em{color:var(--muted-foreground);font-size:.73rem;font-style:normal}.topic-copy small{color:var(--muted-foreground);font-size:.64rem}.topic-status{width:8px;height:8px;fill:var(--muted-foreground);color:var(--muted-foreground)}.status-generating,.status-delivery{fill:var(--good);color:var(--good)}.messages-pane{flex-direction:column;min-width:0;display:flex}.topic-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:65px;padding:11px 16px;display:flex}.topic-header>div:last-child{gap:3px;min-width:0;display:grid}.topic-header b,.topic-header span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topic-header span{color:var(--muted-foreground);font-size:.7rem}.message-scroll{scroll-behavior:auto;height:calc(100vh - 250px);padding:18px;overflow:auto}.older-button{margin:0 auto 15px;display:flex}.chat-message{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;grid-template-columns:auto minmax(0,1fr);gap:9px;max-width:86%;margin:10px 0;padding:12px;display:grid}.chat-message.role-user{background:var(--info);margin-left:auto}@supports (color:color-mix(in lab,red,red)){.chat-message.role-user{background:color-mix(in srgb,var(--info)7%,var(--surface))}}.chat-message.inactive{opacity:.55}.chat-icon{background:var(--surface);border:1px solid var(--border);border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.chat-icon svg{width:15px}.chat-meta{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.chat-meta b{font-size:.75rem}.chat-meta time{color:var(--muted-foreground);font-size:.65rem}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:.82rem;line-height:1.5}.session-divider{color:var(--muted-foreground);align-items:center;gap:10px;margin:20px 0;font-size:.67rem;display:flex}.session-divider:before,.session-divider:after{content:"";background:var(--border);flex:1;height:1px}.mobile-drawer{display:none}@media(max-width:1180px){.config-actions .draft-status{display:none}.plans-grid{grid-template-columns:1fr}}@media(max-width:820px){.desktop-sidebar{display:none}.shell{display:block}.mobile-menu{display:inline-flex}.mobile-drawer{z-index:50;display:block;position:fixed;inset:0}.drawer-backdrop{background:#00000080;border:0;width:100%;position:absolute;inset:0}.mobile-drawer .sidebar{position:relative}.topbar{padding:9px 12px}.topbar-title>span,.breadcrumb-separator,.user-menu span,.theme-select svg{display:none}.topbar-actions{margin-left:auto}.config-actions .button{min-width:36px;font-size:0}.config-actions .button svg{width:16px}.theme-select select{width:68px}.page-container{padding:18px 14px}.page-header{display:grid}.chart-grid{grid-template-columns:1fr}.interface-card{grid-column:auto}.custom-period{grid-template-columns:1fr 1fr}.custom-period>svg{display:none}.chart-card{min-height:420px;padding:15px}.chart-area{height:290px}.form-grid,.form-grid.three,.models-grid,.layout-row{grid-template-columns:1fr}.layout-order{order:2}.conversation-workspace{grid-template-columns:1fr;min-height:0}.topics-pane{border-right:0;border-bottom:1px solid var(--border)}.topic-list{max-height:300px}.messages-pane{min-height:520px}.message-scroll{height:520px}}@container (max-width:939px){.message-editor,.message-editor.catalog-hidden{grid-template-columns:minmax(0,1fr) 380px}.catalog-wide-toggle{display:none}.catalog-drawer-toggle{display:inline-flex}.message-editor .screen-catalog{display:none}.message-editor.catalog-drawer-open .screen-catalog{z-index:42;border-radius:0;width:min(310px,100vw - 45px);height:100dvh;min-height:0;display:flex;position:fixed;top:0;left:0}.catalog-close{display:inline-flex}.catalog-backdrop{z-index:41;background:#00000085;border:0;display:block;position:fixed;inset:0}.message-editor.preview-focused{grid-template-columns:minmax(0,1fr)}}@container (max-width:719px){.mobile-pane-toggle{gap:7px;display:flex}.mobile-pane-toggle .button{flex:1}.messages-toolbar .catalog-drawer-toggle,.messages-toolbar .catalog-wide-toggle,.messages-toolbar .focus-toggle{display:none}.message-editor,.message-editor.catalog-hidden,.message-editor.preview-focused{display:block}.message-editor .screen-catalog,.message-editor.catalog-hidden .screen-catalog{height:auto;min-height:0;max-height:300px;margin-bottom:12px;display:flex;position:static}.message-editor.mobile-editor .telegram-preview{display:none}.message-editor.mobile-editor.preview-focused .screen-form{display:block}.message-editor.mobile-preview .screen-catalog,.message-editor.mobile-preview .screen-form{display:none}.message-editor.mobile-preview .telegram-preview{width:100%;height:calc(100dvh - 190px);min-height:470px;margin-top:0;display:flex;position:static}}@media(max-width:520px){.page-container{padding:14px 10px}.topbar-title b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.user-menu{border-left:0;padding-left:0}.page-actions,.dashboard-controls{width:100%}.page-actions .button{flex:1}.segmented{width:100%;overflow:auto}.segmented button{white-space:nowrap;flex:1}.timezone{width:100%}.custom-period{grid-template-columns:1fr}.chart-heading{display:grid}.chart-heading strong{font-size:1.05rem}.retention-value strong{font-size:2.8rem}.phone-frame{border-width:6px}.filters{display:grid}.filters .field{width:100%}.chat-message{max-width:96%}.conflict-popover{width:auto;max-height:calc(100dvh - 84px);position:fixed;inset:72px 10px auto;overflow:auto}.validation-popover{width:auto;max-height:calc(100dvh - 84px);position:fixed;inset:72px 10px auto}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
