:root{color:#f4efe8;background:#101214;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}#root{min-height:calc(100vh - 64px)}button,input,select,textarea{font:inherit}button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:7px;padding:0 16px;color:#fff;background:var(--accent, #2c7a59);font-weight:800;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,select,textarea{width:100%;border:1px solid rgba(255,255,255,.16);border-radius:7px;padding:12px;color:#f4efe8;background:#11161b}textarea{line-height:1.45;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#d7b66d;outline:none}.server-menu{position:sticky;top:0;z-index:50;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 24px;border-bottom:1px solid rgba(255,255,255,.12);background:#15191d}.server-brand,.server-menu a{color:#f4efe8;text-decoration:none}.server-brand{font-size:16px;font-weight:900}.server-menu nav{display:flex;align-items:center;gap:8px}.menu-item{position:relative;display:inline-flex;align-items:center;padding-bottom:8px;margin-bottom:-8px}.server-menu nav a{min-height:38px;display:inline-flex;align-items:center;border-radius:7px;padding:0 12px;color:#d8d0c6;font-size:14px;font-weight:800}.server-menu nav a.selected,.server-menu nav a:hover{color:#fff;background:#ffffff17}.submenu{position:absolute;top:100%;left:0;z-index:60;min-width:220px;display:none;gap:4px;padding:8px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#181c20;box-shadow:0 20px 38px #00000052}.has-submenu:hover .submenu,.has-submenu:focus-within .submenu{display:grid}.server-menu nav .submenu a{width:100%;min-height:34px;justify-content:flex-start;white-space:nowrap}.mobile-nav-toggle{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none}.mobile-menu-button,.mobile-close-button{min-height:40px;display:none;align-items:center;justify-content:center;border-radius:7px;padding:0 14px;color:#f4efe8;background:#2a3036;font-size:14px;font-weight:900;cursor:pointer}.mobile-nav-scrim{position:fixed;inset:0;z-index:70;display:none;background:#0000008f}.mobile-nav-panel{position:fixed;top:0;right:0;z-index:80;width:min(360px,calc(100vw - 36px));height:100vh;display:grid;align-content:start;gap:8px;overflow-y:auto;padding:18px;border-left:1px solid rgba(255,255,255,.14);background:#15191d;box-shadow:-22px 0 50px #00000061;transform:translate(calc(100% + 24px));transition:transform .16s ease}.mobile-nav-toggle:checked~.mobile-nav-scrim{display:block}.mobile-nav-toggle:checked~.mobile-nav-panel{transform:translate(0)}.mobile-nav-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.mobile-nav-panel a,.mobile-nav-group summary{min-height:46px;display:flex;align-items:center;border-radius:7px;padding:0 12px;color:#d8d0c6;background:#ffffff0f;font-size:15px;font-weight:850;text-decoration:none}.mobile-nav-panel a.selected,.mobile-nav-panel a:hover,.mobile-nav-group summary:hover{color:#fff;background:#ffffff1f}.mobile-nav-group{display:grid;gap:6px}.mobile-nav-group summary{cursor:pointer}.mobile-nav-group[open] summary{color:#fff4c7;background:#d7b66d29}.mobile-nav-group a{margin-left:12px}.callcenter-page{min-height:calc(100vh - 64px);padding:34px;background:#101214}.callcenter-heading{width:min(1280px,100%);margin:0 auto 22px}.callcenter-heading h1{font-size:clamp(34px,6vw,58px)}.callcenter-grid{width:min(1280px,100%);display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin:0 auto}.callcenter-card,.callcenter-empty{border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#181c20;box-shadow:0 22px 50px #0000003d}.callcenter-card{min-height:430px;display:grid;grid-template-rows:240px 1fr;overflow:hidden}.callcenter-card-image{position:relative;overflow:hidden;background:color-mix(in srgb,var(--accent, #2c7a59) 28%,#11161b)}.callcenter-card-image img{position:absolute;inset:18px;width:calc(100% - 36px);height:calc(100% - 36px);display:block;object-fit:contain}.callcenter-card-body{display:grid;grid-template-rows:auto 1fr auto;gap:12px;padding:18px}.callcenter-card-body p,.callcenter-empty p{margin:0;color:#c9c0b3;line-height:1.45}.callcenter-call-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:0 16px;color:#fff;background:var(--accent, #2c7a59);font-weight:900;text-decoration:none}.callcenter-empty{width:min(680px,100%);display:grid;gap:10px;margin:0 auto;padding:24px}.home-page{min-height:calc(100vh - 64px);padding:34px;background:#101214}.home-hero,.home-section{width:min(1380px,100%);margin:0 auto}.home-hero{display:grid;gap:12px;padding:34px 0 28px}.home-hero h1{width:min(840px,100%);font-size:clamp(38px,6vw,68px);line-height:.98}.home-hero p:last-child{width:min(720px,100%);margin:0;color:#c9c0b3;font-size:18px;line-height:1.45}.home-section{display:grid;gap:18px;margin-top:28px}.agent-month-hero+.home-section{margin-top:0}.agent-month-hero{width:min(1380px,100%);display:grid;grid-template-columns:minmax(360px,.82fr) minmax(420px,1.18fr);gap:34px;align-items:stretch;margin:0 auto 36px;padding:28px;border:1px solid rgba(238,202,96,.34);border-radius:8px;background:radial-gradient(circle at 78% 18%,rgba(255,216,111,.2),transparent 34%),linear-gradient(135deg,#b8860b42,#181c20eb),#181c20;box-shadow:0 22px 50px #0000003d}.agent-month-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;align-items:flex-start;gap:18px;padding:18px 0 18px 10px}.agent-month-copy h1{color:#fff4c7;font-size:clamp(54px,9vw,116px);line-height:.92}.agent-month-lead{width:min(720px,100%);margin:0;color:#f3e8c7;font-size:clamp(21px,2.2vw,32px);font-weight:850;line-height:1.18}.agent-month-description{width:min(680px,100%);margin:0;color:#d6ccb9;font-size:18px;line-height:1.45}.agent-month-image{min-height:clamp(420px,52vw,680px);position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:linear-gradient(180deg,#ffffff14,#ffffff05),color-mix(in srgb,var(--accent, #2c7a59) 20%,#11161b)}.agent-month-image img{position:absolute;inset:24px;width:calc(100% - 48px);height:calc(100% - 48px);display:block;object-fit:contain}.gold-action{min-height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:0 22px;color:#211805;background:linear-gradient(180deg,#ffd86f,#c9941f);font-weight:950;text-decoration:none;box-shadow:0 10px 24px #d3a42d47}.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.text-link{min-height:38px;display:inline-flex;align-items:center;border-radius:7px;padding:0 12px;color:#f4efe8;background:#2a3036;font-size:14px;font-weight:850;text-decoration:none}.text-link:hover{background:#343b42}.cases-page{min-height:calc(100vh - 64px);padding:34px;background:#101214}.cases-heading{width:min(1380px,100%);margin:0 auto 22px}.cases-heading h1{font-size:clamp(34px,6vw,58px)}.cases-grid{width:min(1380px,100%);display:grid;gap:22px;margin:0 auto}.cases-grid.compact{width:100%}.cases-grid.compact .case-card{min-height:420px}.cases-grid.compact .case-card-image{min-height:340px}.case-card{min-height:520px;display:grid;grid-template-columns:minmax(360px,1fr) minmax(360px,.78fr);overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#181c20;box-shadow:0 22px 50px #0000003d}.case-card-image{min-height:420px;background-color:#11161b;background-position:center;background-size:cover}.case-card-body{display:grid;grid-template-rows:1fr auto;gap:18px;padding:28px}.case-card-body h2{margin-bottom:14px;font-size:clamp(28px,4vw,44px);line-height:1.04}.case-card-body p{margin:0;color:#c9c0b3;font-size:17px;line-height:1.5}.case-agent-actions{display:flex;flex-wrap:wrap;gap:10px}.case-agent-actions .callcenter-call-button{background:var(--case-button-color, var(--accent, #2c7a59))}.case-empty-agents{font-size:14px!important}.agent-shell{min-height:calc(100vh - 64px);display:grid;padding:22px;background-position:center;background-size:cover}.agent-stage{width:min(1280px,100%);height:clamp(680px,calc(100vh - 108px),820px);min-height:0;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(420px,1.1fr);place-self:center;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#0e1216d6;box-shadow:0 32px 70px #0000005c}.agent-visual{position:relative;min-height:0;height:100%;overflow:hidden;padding:32px;background:#ffffff14}.agent-visual img{position:absolute;inset:32px;width:calc(100% - 64px);height:calc(100% - 64px);object-fit:contain;display:block}.call-panel{min-height:0;height:100%;display:grid;grid-template-rows:auto auto minmax(240px,1fr) auto;gap:16px;overflow:hidden;padding:32px}.call-panel header{display:flex;justify-content:space-between;gap:18px}.eyebrow{margin:0 0 8px;color:#d9c28c;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}h1,h2{margin:0;letter-spacing:0}h1{font-size:46px;line-height:1}h2{font-size:18px}.call-panel p,.message p{margin:0}.state-pill{height:40px;min-width:90px;display:inline-grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:0 14px;background:#ffffff14;font-weight:850}.field-block{display:grid;gap:8px;color:#d8d0c6;font-size:13px;font-weight:850}.call-button{min-height:58px;font-size:18px}.transcript{min-height:0;height:100%;display:grid;align-content:start;gap:10px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:14px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#04070a80}.empty-state{color:#a8a198}.message{display:grid;gap:6px;max-width:88%;padding:12px;border-radius:8px;background:#1d2328}.message span{color:#d9c28c;font-size:11px;font-weight:900;text-transform:uppercase}.message.user{justify-self:end;background:color-mix(in srgb,var(--accent, #2c7a59) 50%,#17211d)}.message.error{background:#3a181b}.composer{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:10px}.admin-page-shell{min-height:calc(100vh - 64px);padding:20px;background:#101214}.admin-workspace{width:min(1720px,100%);margin:0 auto}.admin-toolbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:18px 20px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#181c20}.admin-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.admin-actions button,.editor-tabs button{background:#2a3036}.primary-action{background:#2c7a59!important}.danger-action{background:#9f3434!important}.admin-layout{display:grid;grid-template-columns:minmax(230px,290px) minmax(680px,1fr) minmax(320px,420px);gap:18px;align-items:start}.analytics-layout{grid-template-columns:minmax(680px,1fr) minmax(320px,420px)}.profile-list,.help-panel{position:sticky;top:20px;max-height:calc(100vh - 124px);overflow:auto}.profile-list{display:grid;align-content:start;gap:8px}.profile-list button{display:grid;justify-items:start;height:auto;min-height:72px;padding:11px;background:#22282e;text-align:left}.profile-list button.selected{background:#2c7a59}.profile-list span{color:#c4bbb0;font-size:12px;font-weight:650;line-height:1.35}.profile-editor,.profile-form{min-width:0;display:grid;gap:14px}.editor-tabs{display:flex;gap:8px}.editor-tabs button.selected{background:#b58b40}.profile-section,.help-panel,.admin-login-panel{display:grid;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#181c20}.profile-section-body{display:grid;gap:14px}.form-row{display:grid;gap:12px}.form-row.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row.three-column{grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr) minmax(220px,1fr)}.form-row.model-row{grid-template-columns:minmax(360px,1fr) minmax(180px,.42fr)}.field-label{display:inline-flex;align-items:center;gap:7px}.help-button{width:26px;min-width:26px;min-height:26px;height:26px;padding:0;border-radius:999px;background:#ffffff1a;color:#d8d3ca}.toggle-grid,.advanced-grid{display:grid;gap:12px}.toggle-grid,.advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkbox-group{display:grid;gap:9px;margin:0;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:7px}.checkbox-group legend{padding:0 6px;color:#d8d3ca;font-size:13px;font-weight:800}.checkbox-group>div{display:flex;flex-wrap:wrap;gap:8px}.checkbox-group label,.toggle-field{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:6px 9px;border-radius:7px;background:#ffffff14;color:#e8dfd0;font-size:13px;font-weight:750}.checkbox-group input,.toggle-field input{width:auto;min-height:0}.voice-preview{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:end;padding:14px;border:1px solid rgba(201,178,125,.22);border-radius:8px;background:#c9b27d0f}.voice-preview textarea{min-height:86px}.preview-button{min-height:46px;background:#b58b40}.color-field{display:grid;grid-template-columns:54px minmax(0,1fr);gap:8px}.color-field input[type=color]{min-height:46px;padding:4px}.asset-field{display:grid;gap:10px}.embed-key-editor{display:grid;gap:10px;align-content:start}.embed-key-editor button{justify-self:start;background:#343a41}.case-background-editor{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:12px;align-items:end}.case-preview{min-height:320px;display:grid;place-items:center;gap:12px;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:8px;color:#fff;background-color:#11161b;background-position:center;background-size:cover;font-size:24px;font-weight:900;text-align:center}.case-preview span{padding:8px 12px;border-radius:7px;background:#0000005c}.case-agent-summary{display:inline-flex;align-items:center;gap:8px;color:#d8d0c6;font-size:13px;font-weight:800}.upload-field{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:0 14px;background:#2a3036;color:#f4efe8;font-size:13px;font-weight:800;cursor:pointer}.upload-field:hover{background:#343b42}.upload-field.disabled{cursor:not-allowed;opacity:.55}.upload-field input{display:none}.json-editor,.help-panel pre,.json-review textarea{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px}.profile-form textarea{min-height:132px}.profile-form .json-editor{min-height:190px}.json-review textarea{min-height:720px;white-space:pre}.help-panel h2{font-size:17px}.help-panel p,.option-list{margin:0;color:#c9c0b3;font-size:12px;line-height:1.45}.option-list{padding-left:18px}.help-panel pre{overflow:auto;max-height:260px;margin:0;padding:10px;border-radius:7px;background:#ffffff0f;color:#f6f1ea;white-space:pre-wrap}.admin-login-panel{width:min(620px,100%);margin:54px auto 0}.admin-login-panel p{margin:0;color:#c4bbb0}.admin-notice{margin:12px 0 0;color:#e8c46c;font-size:13px;font-weight:750}.analytics-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#c9c0b3;font-size:13px;font-weight:750}.analytics-status .enabled,.analytics-status .disabled{min-height:30px;display:inline-flex;align-items:center;border-radius:999px;padding:0 11px;color:#fff}.analytics-status .enabled{background:#2c7a59}.analytics-status .disabled{background:#9f3434}.analytics-note{margin:0;color:#c9c0b3;font-size:13px;line-height:1.45}@media(max-width:1120px){.admin-layout,.form-row.two-column,.form-row.three-column,.form-row.model-row,.toggle-grid,.advanced-grid,.voice-preview,.case-background-editor{grid-template-columns:1fr}.profile-list,.help-panel{position:static;max-height:none}}@media(max-width:860px){.server-menu{min-height:58px;padding:0 16px}.server-menu .desktop-nav{display:none}.mobile-menu-button,.mobile-close-button{display:inline-flex}.admin-toolbar,.call-panel header{align-items:flex-start;flex-direction:column}.callcenter-page,.home-page{padding:22px}.home-section-heading{align-items:flex-start;flex-direction:column}.agent-month-hero{grid-template-columns:1fr;padding:22px}.agent-month-copy{padding:0}.agent-month-image{min-height:360px}.cases-page{padding:22px}.case-card,.agent-stage,.composer,.case-background-editor{grid-template-columns:1fr}.case-card{min-height:0}.case-card-body{padding:22px}.agent-stage{height:auto;min-height:calc(100vh - 108px)}.agent-visual{height:280px}.agent-visual img{inset:22px;width:calc(100% - 44px);height:calc(100% - 44px)}.call-panel{height:auto;min-height:620px;grid-template-rows:auto auto 260px auto;overflow:visible;padding:22px}h1{font-size:34px}}
