@font-face{font-family:Google Sans;font-weight:400 700;font-display:swap;src:url(/fonts/GoogleSans.woff2)format("woff2")}:root{--bg:#f4f7fe;--surface:#fff;--soft:#f4f7fe;--soft-hover:#e9edf7;--navy:#1b254b;--ink:#2d3748;--text:#1b2559;--muted:#a3aed0;--muted-strong:#707eae;--icon:#8f9bba;--line:#e9edf7;--field:#e0e5f2;--brand:#422afb;--brand-hover:#3311db;--brand-soft:#f2efff;--brand-tint:#422afb1a;--green:#01b574;--green-soft:#e6faf5;--red:#e31a1a;--red-soft:#feefee;--orange:#b7791f;--orange-soft:#fff6da;--blue:#3965ff;--blue-soft:#eff4fb;--shadow:14px 17px 40px 4px #7090b014;--shadow-control:0 16px 36px #7090b01f;--shadow-round:14px 17px 40px 4px #7090b02e;--radius:20px;--sidebar:290px;--font:"Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{background:var(--bg)}body{background:var(--bg);min-height:100vh;color:var(--ink);font:16px/1.5 var(--font);letter-spacing:-.5px;-webkit-font-smoothing:antialiased;margin:0}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{color:var(--navy);letter-spacing:-.5px;margin:0}h1{font-size:34px;font-weight:700;line-height:1.2}h2{font-size:20px;font-weight:700;line-height:1.3}code{letter-spacing:0;background:var(--soft);color:var(--navy);overflow-wrap:anywhere;border-radius:6px;padding:2px 6px;font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.muted{color:var(--muted);font-weight:400}.spacer{flex:1}input,textarea,select{font:inherit;letter-spacing:-.2px;color:var(--navy);background:var(--surface);border:1px solid var(--field);border-radius:16px;outline:none;width:100%;min-height:44px;padding:0 16px;font-size:14px;transition:border-color .2s,box-shadow .2s}textarea{resize:vertical;padding:12px 16px;line-height:1.45}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus,textarea:focus,select:focus{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}input:disabled,textarea:disabled,select:disabled{background:var(--soft);color:var(--muted-strong)}select{appearance:none;cursor:pointer;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%231b254b' d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 16px center;padding-right:40px;font-weight:600}select:disabled{background-color:var(--soft)}option{color:#000}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--brand);padding:0}label{color:var(--navy);flex-direction:column;gap:8px;font-size:14px;font-weight:700;display:flex}.control{box-shadow:var(--shadow-control);border-color:#0000;font-weight:600}.control:focus{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand), var(--shadow-control)}input.date{border-radius:14px;width:160px;min-height:42px}.btn{font:inherit;letter-spacing:-.2px;cursor:pointer;background:var(--surface);min-height:40px;color:var(--navy);white-space:nowrap;border:0;border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-size:14px;font-weight:700;line-height:1.2;text-decoration:none;transition:background-color .25s,box-shadow .25s,color .25s;display:inline-flex}.btn:hover:not(:disabled){background:var(--soft-hover);text-decoration:none}.btn:disabled{opacity:.45;cursor:default}.btn svg{flex:none;width:16px;height:16px}.card .btn{background:var(--soft)}.card .btn:hover:not(:disabled){background:var(--soft-hover)}.btn.primary,.card .btn.primary{background:var(--brand);color:#fff;box-shadow:0 12px 24px #422afb2e}.btn.primary:hover:not(:disabled),.card .btn.primary:hover:not(:disabled){background:var(--brand-hover)}.btn.soft,.card .btn.soft{background:var(--brand-soft);color:var(--brand)}.btn.soft:hover:not(:disabled),.card .btn.soft:hover:not(:disabled){background:#e9e3ff}.btn.danger,.card .btn.danger{background:var(--red-soft);color:var(--red)}.btn.danger:hover:not(:disabled),.card .btn.danger:hover:not(:disabled){background:#fddcda}.btn.small{border-radius:16px;min-height:32px;padding:0 14px;font-size:12px}.link{font:inherit;color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0;font-weight:500}.link.danger{color:var(--red)}.round-btn{background:var(--surface);color:#a0aec0;width:48px;height:48px;box-shadow:var(--shadow-round);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:inline-grid}.round-btn svg{width:18px;height:18px}.round-btn:hover{color:var(--brand)}.sidebar{z-index:20;background:var(--surface);width:300px;box-shadow:var(--shadow);flex-direction:column;padding:25px 16px 24px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{letter-spacing:-.04em;color:var(--navy);border-bottom:1px solid #878cbd4d;margin:28px 0 0;padding:0 10px 28px;font-size:27px;font-weight:800;line-height:1.05}.side-nav{flex-direction:column;margin-top:28px;padding-left:20px;display:flex}.side-nav a{min-height:46px;color:var(--icon);align-items:center;gap:18px;padding:5px 30px 5px 10px;font-size:16px;text-decoration:none;display:flex;position:relative}.side-nav a svg{flex:none;width:20px;height:20px}.side-nav a:hover{color:var(--navy)}.side-nav a.active{color:var(--ink);font-weight:700}.side-nav a.active svg{color:var(--brand)}.side-nav a.active:after{content:"";background:var(--brand);border-radius:5px;width:4px;height:36px;position:absolute;top:5px;right:0}.main{margin-left:var(--sidebar);min-width:0;min-height:100vh;padding:20px 20px 30px 30px}.topbar{z-index:10;-webkit-backdrop-filter:blur(20px);background:#f4f7fe33;border:1.5px solid #0000;border-radius:16px;align-items:center;gap:16px;min-height:75px;margin-bottom:35px;padding:8px 12px;display:flex;position:sticky;top:12px}.topbar h1{overflow-wrap:anywhere;flex:1;min-width:0}.account{align-items:center;gap:10px;display:flex}.account-email{background:var(--surface);height:48px;box-shadow:var(--shadow-round);color:var(--navy);border-radius:999px;align-items:center;padding:0 18px;font-size:14px;font-weight:600;display:inline-flex}.content{flex-direction:column;gap:20px;min-width:0;display:flex}.bottom-nav{display:none}@media (width<=1199px){.sidebar{display:none}.main{margin-left:0;padding:12px 24px 112px}.bottom-nav{z-index:30;left:calc(8px + env(safe-area-inset-left,0px));right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(8px + env(safe-area-inset-bottom,0px));-webkit-backdrop-filter:blur(20px);background:#f4f7feb8;border:1.5px solid #ffffffb8;border-radius:24px;gap:8px;padding:8px 10px;display:flex;position:fixed;box-shadow:0 14px 34px #7090b02e}.bottom-nav a{height:44px;color:var(--muted);border-radius:16px;flex:1;place-items:center;transition:background-color .2s,color .2s;display:grid}.bottom-nav a svg{width:20px;height:20px}.bottom-nav a.active{background:var(--brand-tint);color:var(--brand)}}@media (width<=767px){.main{padding:8px 14px 104px}.topbar{margin-bottom:16px;padding:8px 2px}h1{font-size:26px}.account-email{display:none}}.page-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.card{border-radius:var(--radius);background:var(--surface);min-width:0;box-shadow:var(--shadow);flex-direction:column;gap:16px;padding:24px;display:flex;position:relative}.card>h2+.card-sub{margin-top:-12px}.card-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.card-sub{color:var(--muted);margin:4px 0 0;font-size:14px;line-height:1.45}.card.empty,.empty-box{border:1px dashed var(--field);border-radius:var(--radius);color:var(--muted);text-align:center;box-shadow:none;margin:0;padding:20px;font-size:14px}.value-pill,.pill{background:var(--soft);min-height:34px;color:var(--navy);text-transform:uppercase;white-space:nowrap;letter-spacing:0;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:8px 12px;font-size:14px;font-weight:700;line-height:1.2;display:inline-flex}.pill{background:var(--surface);min-height:42px;font-size:12px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;display:grid}@media (width<=1199px){.grid-2,.grid-3{grid-template-columns:minmax(0,1fr)}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=767px){.card{padding:18px}}.alert{border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:18px;font-weight:700}.alert.error{color:var(--red)}.alert.success{color:var(--green)}.loading{color:var(--muted-strong);align-items:center;gap:12px;font-size:14px;font-weight:600;display:flex}.spinner{border:3px solid var(--brand-soft);border-top-color:var(--brand);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{border-radius:var(--radius);background:linear-gradient(90deg,#edf1fb 0%,#f8faff 50%,#edf1fb 100%) 0 0/200% 100%;animation:1.4s ease-in-out infinite shimmer}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.badges{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.badge{color:var(--ink);letter-spacing:0;text-transform:uppercase;white-space:nowrap;vertical-align:middle;background:#edf2f7;border-radius:999px;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;line-height:1;display:inline-flex}.badge.status-open,.badge.online{background:var(--green-soft);color:#017a4f}.badge.status-closed,.badge.test{background:var(--orange-soft);color:var(--orange)}.badge.status-settled,.badge.source-site{background:var(--blue-soft);color:var(--blue)}.badge.source-app{background:var(--brand-soft);color:var(--brand)}.badge.current{background:var(--brand);color:#fff}.table-scroll{margin:0 -4px;padding:0 4px;overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:14px}.table th{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;padding:0 12px 12px;font-size:11px;font-weight:700}.table td{border-bottom:1px solid var(--line);color:var(--navy);padding:14px 12px;font-weight:600}.table tr:last-child td{border-bottom:0}.table td .badge{margin-left:8px}.num{font-variant-numeric:tabular-nums;text-align:right!important}.good{color:var(--green)!important}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.login{place-items:center;min-height:100vh;padding:16px;display:grid}.login-card{gap:20px;width:min(420px,100%);padding:36px 32px}.login-card .brand{color:var(--brand);border:0;margin:0;padding:0;font-size:22px}.login-card h1{font-size:30px}.login-card .btn{border-radius:16px;min-height:50px}.login-card input{min-height:50px}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;display:flex}.range-buttons{flex-wrap:wrap;gap:12px;display:flex}.btn.range.active{background:var(--brand);color:#fff;box-shadow:0 12px 24px #422afb2e}.btn.range.active:hover{background:var(--brand-hover)}.range-select{display:none}.toolbar-end{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (width<=767px){.range-buttons{display:none}.range-select{border-radius:20px;min-height:56px;display:block}.toolbar-end{width:100%}.toolbar-end input.date{flex:140px;width:auto}.toolbar-end .pill,.toolbar-end .btn{flex:auto}}.chart-card{gap:18px}.chart-box{min-width:0;height:260px}@media (width<=767px){.chart-box{height:220px}}.apexcharts-tooltip,.apexcharts-xaxistooltip{letter-spacing:0;font-family:var(--font)!important}.highlight{flex-direction:row;justify-content:space-between;align-items:center;gap:16px;padding:28px}.highlight-label{color:var(--muted-strong);font-size:18px;font-weight:500}.highlight-value{color:var(--brand);white-space:nowrap;font-size:30px;font-weight:700;line-height:1}@media (width<=767px){.highlight{padding:22px}.highlight-label{font-size:16px}.highlight-value{font-size:24px}}.funnel{gap:0;padding:28px}.funnel>h2+.card-sub{margin-top:4px}.funnel-rows{flex-direction:column;margin-top:18px;display:flex}.funnel-row{min-height:60px;color:var(--muted-strong);border-top:1px solid #e0e5f2f2;justify-content:space-between;align-items:center;gap:18px;padding:10px 0;font-size:14px;font-weight:500;display:flex}.funnel-row:first-child{border-top:0}.funnel-row b{color:var(--brand);font-size:20px;font-weight:700}.episode-stats{flex-direction:column;gap:20px;scroll-margin-top:110px;display:flex}.section-head{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:12px;display:flex}.section-title{font-size:26px}.section-head select{border-radius:16px;width:auto;min-width:260px;min-height:48px}.stat-boxes{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;display:grid}.stat-box{border-radius:var(--radius);border:1px solid #e0e5f2f2;flex-direction:column;gap:2px;padding:16px;display:flex}.stat-label{color:var(--muted);font-size:14px;font-weight:500}.stat-value{color:var(--navy);font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;line-height:1.3}.stat-note{color:var(--muted);font-size:12px}.card.stat{gap:4px;padding:20px}.card.stat .stat-value{margin-top:4px;font-size:28px}.bet-chart{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding-top:14px;display:flex}.bet-chart-title{color:var(--navy);font-size:14px}.bet-chart .chart-box{margin-left:-6px}.page-form{flex-direction:column;gap:20px;display:flex}.inline-form{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inline-form input{flex:160px;width:auto}.check{color:var(--ink);flex-direction:row;align-items:center;gap:10px;font-size:14px;font-weight:600}.field-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.counter{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;font-weight:600}.counter.over{color:var(--red)}.field-hint{color:var(--muted);margin:-2px 0 0;font-size:13px;font-weight:400;line-height:1.4}.form-footer{z-index:5;border-radius:var(--radius);box-shadow:var(--shadow-control);-webkit-backdrop-filter:blur(20px);background:#ffffffdb;align-items:center;gap:12px;margin-top:4px;padding:14px 18px;font-size:14px;display:flex;position:sticky;bottom:12px}@media (width<=1199px){.form-footer{bottom:calc(84px + env(safe-area-inset-bottom,0px))}}.segmented{background:var(--soft);border-radius:16px;gap:6px;max-width:100%;padding:4px;display:inline-flex}.segmented button{font:inherit;color:var(--navy);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:12px;padding:8px 12px;font-size:13px;font-weight:700}.segmented button.active{background:var(--brand);color:#fff;box-shadow:0 8px 18px #422afb2e}.segmented .count{opacity:.7;font-variant-numeric:tabular-nums;margin-left:4px}.question{gap:14px}.question.hidden-q{box-shadow:none;border:1px dashed var(--field);background:#fbfcff}.question-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.question-num{background:var(--brand-soft);width:36px;height:36px;color:var(--brand);border-radius:12px;flex:none;place-items:center;font-size:14px;font-weight:700;display:inline-grid}.question-head .check{margin-right:auto}.icon-btn{background:var(--soft);width:36px;height:36px;color:var(--navy);cursor:pointer;border:0;border-radius:12px;flex:none;place-items:center;padding:0;display:inline-grid}.icon-btn:hover:not(:disabled){background:var(--soft-hover)}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn.danger{background:var(--red-soft);color:var(--red)}.icon-btn svg{width:18px;height:18px}.tickets{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.tickets-side,.dialog{height:calc(100vh - 170px);min-height:420px}.tickets-side{gap:14px;padding:18px}.ticket-list{flex-direction:column;flex:1;gap:6px;min-height:0;margin:0 -6px;padding:0 6px;display:flex;overflow-y:auto}.ticket-item{color:inherit;border:1px solid #0000;border-radius:16px;flex-direction:column;gap:4px;padding:12px 14px;text-decoration:none;transition:background-color .15s;display:flex}.ticket-item:hover{background:var(--soft);text-decoration:none}.ticket-item.active{background:var(--brand-soft);border-color:#422afb2e}.ticket-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.ticket-name{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:700;overflow:hidden}.ticket-time{color:var(--muted);white-space:nowrap;flex:none;font-size:12px}.ticket-sub{justify-content:space-between;align-items:center;gap:8px;display:flex}.ticket-id{color:var(--muted-strong);letter-spacing:0;font-size:12px;font-weight:600}.ticket-preview{color:var(--muted-strong);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;line-height:1.35;display:-webkit-box;overflow:hidden}.badge.status-waiting{background:var(--orange-soft);color:var(--orange)}.badge.status-answered{background:var(--blue-soft);color:var(--blue)}.badge.status-resolved{background:var(--green-soft);color:#017a4f}.dialog{gap:0;padding:0;overflow:hidden}.dialog-head{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:16px 20px;display:flex}.dialog-who{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.dialog-who b{color:var(--navy);overflow-wrap:anywhere;font-size:18px}.dialog-who span{color:var(--muted-strong);font-size:13px}.dialog-back{display:none}.dialog-messages{background:#fafbff;flex-direction:column;flex:1;gap:10px;min-height:0;padding:20px;display:flex;overflow-y:auto}.bubble{letter-spacing:-.1px;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px;max-width:min(560px,82%);padding:10px 14px;font-size:14px;line-height:1.45}.bubble.in{background:var(--surface);color:var(--navy);border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}.bubble.out{background:var(--brand);color:#fff;border-bottom-right-radius:6px;align-self:flex-end}.bubble.out a{color:#fff;text-decoration:underline}.bubble-meta{opacity:.65;white-space:normal;margin-top:4px;font-size:11px;display:block}.bubble-files{white-space:normal;flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.bubble-files img{border-radius:12px;max-width:220px;max-height:220px;display:block}.day-mark{background:var(--soft-hover);color:var(--muted-strong);border-radius:999px;align-self:center;padding:4px 12px;font-size:12px;font-weight:600}.dialog-form{border-top:1px solid var(--line);align-items:flex-end;gap:10px;padding:14px 16px;display:flex}.dialog-form textarea{flex:1;min-height:46px;max-height:200px}.dialog-form .btn{min-height:46px}.dialog .alert{box-shadow:none;background:var(--red-soft);margin:0 16px 12px;padding:12px 14px;font-size:14px}.dialog-empty{color:var(--muted);text-align:center;flex:1;place-items:center;padding:24px;font-size:15px;display:grid}@media (width<=1199px){.tickets-side,.dialog{height:calc(100vh - 220px)}}@media (width<=899px){.tickets{grid-template-columns:minmax(0,1fr)}.tickets.opened .tickets-side,.tickets:not(.opened) .dialog{display:none}.dialog-back{display:inline-grid}}.bar-cell{align-items:center;gap:12px;min-width:160px;display:flex}.bar-track{background:var(--soft);border-radius:999px;flex:1;height:8px;overflow:hidden}.bar-fill{background:var(--brand);border-radius:999px;height:100%}.search{display:block;position:relative}.search svg{width:18px;height:18px;color:var(--icon);position:absolute;top:50%;left:16px;transform:translateY(-50%)}.search input{padding-left:44px;font-weight:500}
