:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#343747;background:#f4f6fb;font-synthesis:none;--primary:#4961ee;--primary-2:#5369f5;--sidebar:#41425f;--sidebar-active:#4c4e70;--surface:#fff;--page:#f4f6fb;--line:#e4e7f1;--muted:#8d91a5;--text:#343747;--green:#45c991;--orange:#ff9954;--red:#ff4f59}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;background:var(--page)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--page)}.login-card{width:min(440px,100%);padding:38px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 14px 42px #393d5c1f}.login-card h1{margin:0 0 8px;font-size:28px}.login-card p{color:var(--muted);line-height:1.55}.login-card label,.secret-grid label{display:grid;gap:7px;margin:18px 0;color:#4c5062;font-size:13px}.login-card>button,.primary{border-color:var(--primary);background:var(--primary);color:#fff;font-weight:700}.login-card>button{width:100%;padding:12px}.app-shell{min-height:100vh;background:var(--page)}.console-topbar{height:86px;position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 32px;background:#fff;border-bottom:1px solid #eceef5;box-shadow:0 1px 6px #31344e0d}.topbar-logo{display:flex;align-items:center;gap:11px;min-width:200px}.topbar-logo>div{display:grid;line-height:1.05}.topbar-logo strong{font-size:21px;font-weight:650;color:#305bb6;letter-spacing:-.03em}.topbar-logo small{font-size:10px;color:#8f93a7;letter-spacing:.13em;text-transform:uppercase;margin-top:4px}.logo-mark{width:50px;height:50px;position:relative;display:grid;place-items:center}.logo-mark:before,.logo-mark:after,.logo-mark i{content:"";position:absolute;border-radius:50%;border:5px solid transparent}.logo-mark:before{inset:2px;border-top-color:#ff8143;border-right-color:#4c63ed;transform:rotate(35deg)}.logo-mark:after{inset:8px;border-bottom-color:#6ed346;border-left-color:#43c7d2;transform:rotate(-25deg)}.logo-mark i{inset:14px;border-color:#5b7ff8;background:#f7f9ff}.logo-mark b{position:relative;z-index:1;font-size:10px;color:#4665e8}.topbar-actions{display:flex;align-items:center;gap:14px}.home-pill{border:0;border-radius:22px;background:var(--primary);color:#fff;padding:10px 22px;font-size:12px;font-weight:700}.home-pill:hover{background:#354fe3}.notification-button{position:relative;width:40px;height:40px;border:0;background:transparent;color:#a8acbd;padding:8px}.notification-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}.notification-dot{position:absolute;right:8px;top:6px;width:7px;height:7px;border-radius:50%;background:#ffc453;border:2px solid #fff}.account-menu-wrap{position:relative;border-left:1px solid #e4e6ee;padding-left:16px}.account-button{border:0;background:transparent;display:flex;align-items:center;gap:11px;color:#46495b;padding:2px 0}.account-name{font-size:13px;min-width:70px;text-align:right}.account-chevron{color:#999db0}.top-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#d9dbe7,#8f95ad);color:#fff;font-weight:800;border:3px solid #f2f3f8}.account-popover{position:absolute;right:0;top:58px;width:240px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px;box-shadow:0 16px 36px #2a2d4824;display:grid;gap:7px}.account-popover strong{font-size:12px;overflow-wrap:anywhere}.account-popover span{font-size:12px;color:var(--muted)}.account-popover button{margin-top:4px;border:1px solid var(--line);background:#fff;border-radius:7px;padding:8px;color:#55596a}.mobile-menu-button{display:none;width:42px;height:42px;border:0;background:transparent;padding:10px}.mobile-menu-button span{display:block;height:2px;background:#50546a;margin:4px 0;border-radius:2px}.console-body{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:calc(100vh - 86px)}.console-sidebar{position:sticky;top:86px;height:calc(100vh - 86px);z-index:30;background:var(--sidebar);color:#fff;display:flex;flex-direction:column;overflow-y:auto}.tenant-switcher{padding:16px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08)}.tenant-switcher label{display:block;font-size:9px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#b8bbcd;margin-bottom:7px}.tenant-switcher select{width:100%;border:1px solid rgba(255,255,255,.16);border-radius:5px;background:#383a56;color:#fff;padding:8px 9px;font-size:11px;outline:none}.tenant-switcher .error{margin:8px 0 0;padding:6px;font-size:10px}.console-nav{display:grid;padding:4px 0 16px}.console-nav button{height:51px;display:flex;align-items:center;gap:12px;border:0;border-left:3px solid transparent;border-radius:0;background:transparent;color:#f2f3f8;padding:0 19px;text-align:left;font-size:12px}.console-nav button:hover{background:#ffffff0f}.console-nav button.active{background:var(--sidebar-active);border-left-color:#8a79ff}.nav-icon{width:20px;height:20px;display:grid;place-items:center;color:#c2c5d7}.nav-icon svg{width:17px;height:17px}.console-nav button.active .nav-icon{color:#fff}.sidebar-meta{margin-top:auto;padding:18px 20px;border-top:1px solid rgba(255,255,255,.08);display:grid;gap:4px}.sidebar-meta strong{font-size:12px}.sidebar-meta span,.sidebar-meta small{font-size:10px;color:#b7bacd}.sidebar-backdrop{display:none}.content{min-width:0;padding:26px 26px 44px}.page-header{display:flex;align-items:center;justify-content:space-between;padding:0 0 18px;border-bottom:1px solid #e0e3ed;margin-bottom:12px}.page-title-wrap{display:flex;align-items:center;gap:12px}.page-title-wrap h1{margin:0;font-size:21px;font-weight:650;color:#343747}.page-title-wrap span{display:block;font-size:11px;color:#9296a9;margin-top:3px}.back-button{width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:var(--primary);box-shadow:0 2px 8px #44486914;font-size:24px;line-height:1;padding:0}.version{display:inline-flex;align-items:center;border:1px solid #dfe2ec;border-radius:4px;background:#fff;color:#7c8196;font-size:11px;padding:7px 10px}.panel{background:#fff;border:1px solid #e8eaf1;border-radius:4px;padding:22px;margin:14px 0;box-shadow:0 2px 9px #363a580b}.panel.compact{margin:0}.panel-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.panel-title h2{margin:0 0 5px;text-transform:capitalize;font-size:17px;color:#343747}.panel-title p{margin:0;color:#8c91a5;font-size:12px;line-height:1.5}.panel-title span{font-size:11px;color:#8d91a4}.eyebrow{font-size:10px;letter-spacing:.12em;color:var(--primary);font-weight:800}input,textarea,select{border:1px solid #dfe3ef;border-radius:4px;background:#fff;color:#343747;padding:10px 11px;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#7184f4;box-shadow:0 0 0 3px #4961ee14}button{border:1px solid #dfe2ec;border-radius:18px;background:#fff;color:#4f5366;padding:8px 15px}.panel button:hover{border-color:#cfd4e5;background:#fafbfe}.primary{border-radius:18px;width:auto;min-width:126px}.danger{border-color:#ffd4d8!important;background:#fff4f5!important;color:#eb4e59!important}.notice,.success,.error{border-radius:4px;padding:11px 13px;margin:12px 0;font-size:12px}.notice{background:#f6f7ff;border:1px solid #dfe3ff;color:#626a98}.success{background:#effbf6;border:1px solid #c5efdc;color:#27845d}.error{background:#fff2f3;border:1px solid #ffd3d7;color:#c7404a}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.secret-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:0 18px}.secret-grid em{font-style:normal;font-size:9px;background:#e8faf2;color:#2c9e6a;padding:3px 6px;border-radius:10px}.secret-grid textarea{min-height:100px}.check{margin-top:14px;padding:10px;border-radius:4px}.check.ok{background:#eefaf4;color:#2d9366}.check.bad{background:#fff1f2;color:#d44a55}pre{overflow:auto;background:#f7f8fb;border:1px solid #e7e9f0;border-radius:4px;padding:16px;font-size:12px;line-height:1.5;color:#44485b}.json{width:100%;min-height:290px;margin-top:18px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}table{width:100%;border-collapse:collapse;margin-top:14px;background:#fff}th,td{text-align:left;border:1px solid #e4e7ef;padding:10px 11px;font-size:12px}th{background:#4b61ee;color:#fff;font-weight:650}tbody tr:nth-child(2n){background:#fafafe}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field-block{display:grid;gap:7px;margin-top:16px;color:#44485b;font-size:12px}.field-block>span,.field-block label>span{font-weight:650}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #eceef4}.setting-row>span{display:grid;gap:3px}.setting-row strong{font-size:13px}.setting-row small,.hint{color:#9095a8;line-height:1.45}.setting-row input[type=checkbox]{appearance:none;width:43px;height:23px;padding:0;border:0;border-radius:999px;background:#e5e6f2;position:relative;transition:.2s;flex:0 0 auto}.setting-row input[type=checkbox]:before{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 3px #0003;transition:.2s}.setting-row input[type=checkbox]:checked{background:var(--primary)}.setting-row input[type=checkbox]:checked:before{transform:translate(20px)}.duration-input{display:flex;align-items:center;gap:10px}.duration-input input{width:140px}.duration-input span{color:#8b919d}.hint{display:block;margin-top:8px;font-size:11px}.dashboard-page{padding:8px 0 0;transition:opacity .15s}.dashboard-page.is-loading{opacity:.72}.dashboard-top-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.dashboard-chart-card,.dashboard-gauge-card{min-height:194px;background:#fff;border:1px solid #e9ebf2;border-bottom:4px solid var(--primary);border-radius:4px;padding:13px 12px 8px;box-shadow:0 2px 8px #3a3d5b0d}.dashboard-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard-card-title h2{margin:0 auto;font-size:17px;font-weight:400;color:#575b6c}.dashboard-card-title span{border:1px solid #aab6ff;color:#5167eb;background:#f8f9ff;border-radius:3px;padding:3px 8px;font-size:10px}.dashboard-chart-value{font-size:11px;color:#4e5367;font-weight:700;margin:7px 0 -3px;text-align:right}.dashboard-line-chart{width:100%;height:123px;overflow:visible}.chart-grid line{stroke:#edf0f5;stroke-width:1}.chart-line{fill:none;stroke:#39cb90;stroke-width:2}.chart-dot{fill:#fff;stroke:#39cb90;stroke-width:2}.dashboard-gauge-wrap{position:relative;height:130px;display:grid;place-items:center}.dashboard-gauge{width:88%;height:120px;overflow:visible}.gauge-track,.gauge-value{fill:none;stroke-width:15;stroke-linecap:butt}.gauge-track{stroke:#ffb000}.gauge-value{stroke:#42c895;stroke-dashoffset:0}.dashboard-gauge-label{position:absolute;left:50%;bottom:12px;transform:translate(-50%);display:grid;text-align:center;gap:2px}.dashboard-gauge-label strong{font-size:20px;color:#3e4354}.dashboard-gauge-label span{font-size:9px;color:#969bad;text-transform:uppercase}.dashboard-divider{height:1px;background:#e0e3ed;margin:32px 0 30px}.dashboard-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 28px}.dashboard-stat-card{height:118px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e9ebf2;border-radius:4px;padding:17px 22px;box-shadow:0 2px 8px #3a3d5b0d}.dashboard-stat-card>div{display:grid;gap:4px;z-index:1}.dashboard-stat-card strong{font-size:39px;line-height:1;color:#383c4d}.dashboard-stat-card span{text-transform:uppercase;font-size:14px;color:#7b8093}.dashboard-stat-card i{width:92px;height:92px;border-radius:50%;margin-right:-36px;display:grid;place-items:center;background:#eef6f7;color:#4e9ea8}.dashboard-stat-card:nth-child(2) i{background:#f0f4f1;color:#4c8c7e}.dashboard-stat-card:nth-child(3) i{background:#f4f0f8;color:#8e6abd}.dashboard-stat-card:nth-child(4) i{background:#eaf9fb;color:#16a8ba}.dashboard-stat-card:nth-child(5) i{background:#f9eef2;color:#c1657f}.dashboard-stat-card:nth-child(6) i{background:#fff3e3;color:#ff8700}.dashboard-stat-card:nth-child(7) i{background:#ffeef1;color:#e64c77}.dashboard-stat-card:nth-child(8) i{background:#eef4f3;color:#7ba6a3}.stat-icon-svg{width:32px;height:32px;margin-left:-22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:1280px){.dashboard-top-grid,.dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.media-grid{grid-template-columns:1fr}.console-body{grid-template-columns:210px minmax(0,1fr)}.dashboard-top-grid,.dashboard-stat-grid{gap:16px}.content{padding:20px}}@media(max-width:760px){.console-topbar{height:72px;padding:0 14px 0 16px}.topbar-logo strong{font-size:17px}.topbar-logo small{display:none}.logo-mark{width:42px;height:42px}.home-pill,.account-name,.account-chevron{display:none}.mobile-menu-button{display:block}.console-body{display:block;min-height:calc(100vh - 72px)}.console-sidebar{position:fixed;left:0;top:72px;width:245px;height:calc(100vh - 72px);transform:translate(-102%);transition:transform .2s;box-shadow:8px 0 30px #1e20322e}.sidebar-open .console-sidebar{transform:translate(0)}.sidebar-backdrop{display:block;position:fixed;z-index:25;inset:72px 0 0;border:0;border-radius:0;background:#1f223440;opacity:0;pointer-events:none}.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}.content{padding:16px 12px 28px}.dashboard-top-grid,.dashboard-stat-grid{grid-template-columns:1fr}.page-header{align-items:flex-start;gap:10px}.version{display:none}.secret-grid{grid-template-columns:1fr}.panel{padding:16px}.dashboard-stat-card{height:106px}.dashboard-stat-card strong{font-size:34px}}.content-studio{display:grid;gap:18px}.catalog-panel{background:#fff;border:1px solid #e7eaf2;border-radius:4px;box-shadow:0 2px 9px #363a580b;overflow:hidden}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid #e8eaf2}.catalog-toolbar h2{margin:0;color:#343747;font-size:21px;font-weight:600}.catalog-toolbar p{margin:5px 0 0;color:#9095a8;font-size:12px}.catalog-actions{display:flex;align-items:center;gap:10px}.catalog-actions button{border:0;color:#fff;font-weight:700;padding:9px 17px}.secondary-action{background:#747887}.primary-action{background:#2fb7e5}.catalog-filters{display:flex;gap:24px;padding:14px 20px 10px;align-items:end}.catalog-filters label{display:grid;gap:6px;min-width:160px}.catalog-filters label>span{font-size:11px;font-weight:650;color:#555a6d}.catalog-search{margin-left:auto;min-width:220px!important}.catalog-table-wrap{overflow:auto;padding:0 20px}.catalog-table{min-width:880px;margin:0 0 12px}.catalog-table th{white-space:nowrap}.catalog-table td{vertical-align:middle}.catalog-title-cell{display:flex;align-items:center;gap:10px}.catalog-title-cell>div{display:grid;gap:2px}.catalog-title-cell small{color:#999eb1}.catalog-thumb{width:72px;height:44px;display:grid;place-items:center;border-radius:3px;background:linear-gradient(135deg,#2e2d43,#7e84a8);color:#fff;font-size:20px;font-weight:800}.status-pill{display:inline-flex;align-items:center;border-radius:14px;padding:5px 10px;font-size:10px;font-weight:700}.status-pill.published{background:#e8fbf2;color:#2c9f6b}.status-pill.draft{background:#fff4e7;color:#d78522}.mini-toggle{display:inline-block;width:40px;height:22px;border-radius:20px;background:#e4e6f3;position:relative;vertical-align:middle}.mini-toggle i{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003}.mini-toggle.on{background:#4961ee}.mini-toggle.on i{left:21px}.row-action{border:0!important;background:#ff9851!important;color:#fff!important;font-weight:700;padding:6px 12px!important}.catalog-empty{text-align:center!important;color:#969bad!important;padding:28px!important}.catalog-footer{display:flex;justify-content:space-between;gap:20px;padding:14px 20px;background:#fff;border-top:1px solid #eceef4;color:#707589;font-size:11px}.editor-stage{display:grid;gap:0}.editor-stage-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e2e5ee;padding:4px 0 12px}.editor-stage-head h2{margin:0;font-size:20px;color:#343747}.editor-stage-head span{display:block;color:#999eb1;font-size:11px;margin-top:2px}.back-to-list{width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#4961ee;font-size:24px;padding:0;box-shadow:0 2px 8px #44486914}.studio-secondary{display:grid;gap:16px}.editor-panel{margin-top:14px}.content-editor{min-width:0}.content-editor textarea{width:100%;resize:vertical}.toggle-stack{display:grid;align-content:end}.action-primary{margin-top:18px}.episode-list{display:grid;gap:8px;margin:18px 0}.episode-row{display:grid;grid-template-columns:42px minmax(180px,1fr) auto auto auto auto;gap:8px;align-items:center;padding:10px;border:1px solid #e2e5ee;border-radius:4px;background:#fbfcff}.episode-number{width:34px;height:34px;display:grid;place-items:center;border-radius:4px;background:#eff2ff;color:#5368ed;font-weight:800}.episode-main{display:grid;gap:3px}.episode-main small{color:#8d92a6}.episode-form{margin-top:22px;padding-top:18px;border-top:1px solid #e3e6ef}.episode-form h3{margin:0 0 12px}.form-actions,.inline-field{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-actions .primary{width:auto;min-width:180px}.file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:18px;background:#4961ee;color:#fff;padding:9px 14px;cursor:pointer;white-space:nowrap}.file-button:hover{background:#354fe3}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.configured-pill{font-style:normal;margin-left:7px;font-size:9px;background:#e8faf2;color:#2c9e6a;padding:3px 6px;border-radius:10px}.inline-field input{flex:1;min-width:240px}.experience-editor{display:grid;gap:18px}.experience-list{display:grid;gap:8px}.experience-row{display:grid;grid-template-columns:34px 120px minmax(180px,1fr) auto 42px 42px;gap:8px;align-items:center;padding:10px;border:1px solid #e2e5ee;border-radius:4px;background:#fbfcff}.experience-row>strong{text-transform:capitalize}.drag-order{width:28px;height:28px;display:grid;place-items:center;border-radius:4px;background:#eef1ff;color:#5368ed;font-weight:800}.compact-toggle{display:flex;align-items:center;gap:8px;white-space:nowrap}.rail-editor{display:grid;gap:12px}.rail-card{padding:14px;border:1px solid #e2e5ee;border-radius:4px;background:#fbfcff}.rail-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.rail-card-head>div{display:flex;gap:6px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.color-field{display:flex;gap:8px;align-items:center}.color-field input[type=color]{width:48px;height:40px;padding:3px;flex:0 0 auto}.color-field input:not([type=color]){flex:1}.experience-save{position:sticky;bottom:18px;z-index:5;box-shadow:0 8px 28px #2c315226;max-width:340px}.experience-editor textarea{width:100%;resize:vertical}@media(max-width:1100px){.episode-row{grid-template-columns:42px minmax(160px,1fr) repeat(2,auto)}.episode-row .file-button{grid-column:2/3}.episode-row .danger{grid-column:auto}.experience-row{grid-template-columns:34px 100px minmax(160px,1fr) auto 42px 42px}}@media(max-width:780px){.catalog-toolbar{align-items:flex-start;flex-direction:column}.catalog-actions{width:100%}.catalog-actions button{flex:1}.catalog-filters{flex-wrap:wrap}.catalog-search{margin-left:0!important;min-width:100%!important}.experience-row{grid-template-columns:34px 1fr 42px 42px}.experience-row>strong{grid-column:2}.experience-row>input,.experience-row>.compact-toggle{grid-column:2/5}.feature-grid{grid-template-columns:1fr}.rail-card-head{align-items:flex-start;flex-direction:column}.experience-save{max-width:none;width:100%}}@media(max-width:720px){.episode-row{grid-template-columns:36px 1fr}.episode-row>*:not(.episode-number):not(.episode-main){grid-column:2}.action-primary{max-width:none}.catalog-footer{flex-direction:column;gap:4px}}
