/* Workspace 0.13. Own indigo/coral identity; no third-party assets. */
.workspace-shell{grid-template-columns:246px minmax(0,1fr)}
.workspace-shell .sidebar{padding:27px 16px 16px;gap:0;overflow-x:hidden}
.sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sidebar-brand-row .brand{padding:0 10px 25px}
.workspace-shell .workspace{padding:17px 8px;margin:0 0 20px;gap:10px;min-width:0}
.workspace-shell .workspace>div{min-width:0}
.workspace-shell .workspace strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:156px}
.workspace-shell .workspace small{display:block;font-size:10px;color:#a3adc8;margin-top:5px}
.workspace-shell .nav-label{padding:0 12px;margin:0 0 10px;font-size:9px;letter-spacing:1.7px;color:#8c98ba}
.workspace-shell .workspace-nav{display:flex;flex-direction:column;gap:4px;margin:0;overflow:visible;max-width:100%}
.workspace-nav>button,.workspace-nav summary{display:flex;align-items:center;gap:11px;min-height:43px;width:100%;padding:11px 13px;border-radius:9px;font-size:12px;text-align:left;color:#bbc4df;background:transparent;white-space:normal;line-height:1.4}
.workspace-nav .icon{width:18px;height:18px;flex-shrink:0}
.workspace-nav>button:hover,.workspace-nav summary:hover{background:#242f50;color:#fff}
.workspace-nav .nav-section{min-width:0}
.workspace-nav .nav-section summary{cursor:pointer;list-style:none}
.workspace-nav summary::-webkit-details-marker{display:none}
.workspace-nav summary .nav-chevron{margin-left:auto;font-size:16px;color:#8f9bbd;transform:rotate(-90deg)}
.workspace-nav details[open] summary .nav-chevron{transform:rotate(0)}
.workspace-nav .section-active>summary{color:#d7dfff}
.workspace-nav .nav-children{margin:3px 0 7px 21px;padding-left:10px;border-left:1px solid #35415f;display:flex;flex-direction:column;gap:3px}
.workspace-nav .nav-children>button{width:100%;display:block;min-height:35px;padding:8px 11px;color:#aab5d1;font-size:11px;line-height:1.5;text-align:left;border-radius:7px;background:transparent;white-space:normal}
.workspace-nav .nav-children>button:hover{background:#242f50;color:#fff}
.workspace-shell .nav button.active{color:#dbe2ff;background:#2e3a63;box-shadow:inset 3px 0 #92a1ff}
.workspace-shell .sidebar-bottom{margin-top:auto;padding-top:25px}
.sidebar-assistant{display:flex;align-items:center;gap:9px;width:100%;padding:13px 11px;color:#e4e9ff;background:#293355;border:1px solid #3d496e;border-radius:10px;text-align:left;font-size:11px}
.sidebar-assistant>span{flex:1;min-width:0}
.sidebar-assistant small{display:block;color:#aab6da;font-size:9px;margin-top:5px}
.sidebar-assistant .icon{flex-shrink:0;width:18px;height:18px}
.sidebar-version{font-size:9px;color:#8e9bbd;padding:0 10px;margin:16px 0 0}
.menu-toggle{display:none}
.workspace-shell .main{min-width:0}
.workspace-shell .content{max-width:1440px;margin:auto;padding:32px 36px}
.workspace-shell .topbar{padding:0 36px;background:#ffffffdf;border-color:var(--line);height:73px}
.breadcrumb-section{font-size:11px;color:var(--muted)}
.workspace-shell .topbar strong{font-size:12px}
.skip-link{position:fixed;top:-100px;left:16px;background:#fff;color:var(--ink);padding:15px;z-index:200;border-radius:8px}
.skip-link:focus{top:12px}
.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}
.home-assistant{text-align:center;padding:21px 0 24px;max-width:980px;margin:0 auto}
.assistant-emblem{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 17px;border:1px solid #d7defa;background:linear-gradient(135deg,#edf0ff,#fff0eb);border-radius:18px;color:#2563EB;box-shadow:0 6px 18px #536af510}
.assistant-emblem .icon{width:28px;height:28px}
.home-assistant .eyebrow{font-size:9px;letter-spacing:2.3px;color:#7581a1;margin:0 0 13px}
.home-assistant h1{font-size:clamp(28px,3vw,42px);letter-spacing:-1.5px;margin:0 0 13px;line-height:1.15}
.home-assistant>.sub{font-size:13px;margin:0 0 26px;line-height:1.8}
.home-assistant-form{background:#fff;border:1px solid #d5ddf2;border-radius:18px;padding:18px 21px 15px;box-shadow:0 9px 34px #23367208;text-align:left}
.home-assistant-form:focus-within{border-color:#7e91ed;box-shadow:0 0 0 3px #536af514}
.home-assistant-form textarea{background:transparent;border:0;outline:none;width:100%;padding:3px 0;min-height:76px;resize:vertical;max-height:280px;color:var(--ink);font-size:15px;line-height:1.65}
.home-assistant-form textarea::placeholder{color:#8691aa}
.home-assistant-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:12px}
.home-assistant-form-bottom>span{font-size:10px;line-height:1.6;color:var(--muted)}
.home-assistant-form-bottom .btn{font-size:11px;padding:11px 15px;white-space:nowrap;border-radius:9px}
.home-prompts{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:15px}
.home-prompts button{border:1px solid #dce2f3;color:#52649d;background:#f0f3ff;padding:9px 13px;font-size:10px;border-radius:30px;line-height:1.5}
.home-prompts button:hover{background:#e4eaff}
.assistant-safety{font-size:10px;line-height:1.8;color:var(--muted);margin:13px 0 0}
.setup-progress{margin:10px 0 33px;border:1px solid #e0e5f4;background:linear-gradient(100deg,#fff,#f1f3ff);padding:22px 25px}
.setup-overview{display:flex;align-items:center;gap:17px}
.setup-overview h2{font-size:16px;letter-spacing:-.3px;margin:0 0 6px}
.setup-overview .sub{font-size:11px;margin:0}
.setup-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;background:#ffe6dd;color:#a35e48;border-radius:13px}
.setup-meter{margin-left:auto;min-width:130px;display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.setup-meter strong{font-size:25px;color:#2563EB;letter-spacing:-1px}
.setup-meter progress{width:130px;height:6px;accent-color:#2563EB;border-radius:10px;overflow:hidden;border:none;background:#dce2f6}
.setup-meter progress::-webkit-progress-bar{background:#dce2f6;border-radius:10px}
.setup-meter progress::-webkit-progress-value{background:#2563EB;border-radius:10px}
.setup-progress details{margin-top:16px;border-top:1px solid #e0e5f4;padding-top:13px}
.setup-progress summary{font-size:11px;color:#5366a0;cursor:pointer;width:fit-content}
.setup-steps{list-style:none;padding:0;margin:13px 0 0}
.setup-steps li{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #e3e7f2}
.setup-steps li:last-child{border-bottom:0}
.setup-step-state{display:grid;place-items:center;background:#f1f3fa;border:1px solid #d6ddec;color:#a2aac0;border-radius:50%;width:25px;height:25px;flex-shrink:0}
.setup-step-state.done{background:#e7ecff;border-color:#ccd5ff;color:#2563EB}
.setup-steps li>div{flex:1}
.setup-steps strong{display:block;font-size:12px;font-weight:600}
.setup-steps small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:5px}
.setup-steps .text-btn{font-size:10px;white-space:nowrap}
.home-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}
.home-section-title h2{font-size:16px;margin:0;letter-spacing:-.2px}
.home-section-title .text-btn{font-size:11px}
.workspace-stats .stat{text-align:left;min-width:0;color:var(--ink);font-family:inherit;box-shadow:none}
.workspace-stats .stat:hover{border-color:#aab8f2;background:#fbfcff}
.workspace-stats .stat-top{display:flex;min-height:32px;align-items:flex-start;gap:8px;line-height:1.5;font-size:11px}
.workspace-stats .stat-top .icon{flex-shrink:0;width:17px;height:17px}
.workspace-stats .stat strong{display:block;font-size:30px;margin:8px 0}
.workspace-stats .stat small{display:block;font-size:10px;line-height:1.6}
.home-bottom{margin-top:23px;align-items:stretch}
.home-bottom h2{font-size:15px;margin-top:0}
.home-bottom .sub{font-size:12px;line-height:1.8}
.home-task{display:flex;align-items:center;gap:12px;width:100%;padding:13px 0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left}
.home-task:last-child{border-bottom:0}
.home-task strong{display:block;font-size:12px;font-weight:600;line-height:1.6}
.home-task small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.7}
.task-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#a4b2ed}
.task-dot.overdue{background:#da936f}
.home-shortcuts>button{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0;background:transparent;color:#56658d;width:100%;font-size:12px;text-align:left}
.home-shortcuts>button .icon{width:18px;height:18px;flex-shrink:0}
.home-shortcuts>button .icon:last-child{margin-left:auto}
.agent-overview{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.workspace-table{width:100%;border-collapse:collapse;font-size:12px}
.workspace-table th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;text-align:left;color:var(--muted);padding:16px 12px;border-bottom:1px solid var(--line)}
.workspace-table td{padding:14px 12px;border-bottom:1px solid var(--line);line-height:1.7}
.workspace-table .text-btn{text-align:left}
@media(min-width:761px){.workspace-shell .sidebar{height:100vh;height:100dvh;position:sticky;top:0;overflow-y:auto}}
@media(max-width:1150px){.workspace-shell{grid-template-columns:220px minmax(0,1fr)}.workspace-shell .content{padding:25px}.workspace-shell .topbar{padding:0 25px}.workspace-shell .workspace strong{max-width:130px}.home-assistant h1{font-size:34px}.home-assistant-form-bottom>span{max-width:250px}.workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace-shell{grid-template-columns:minmax(0,1fr)}.workspace-shell .sidebar{height:auto;position:relative;padding:15px 18px}.sidebar-brand-row .brand{padding:0}.menu-toggle{display:block;background:#2c385e;color:#d9e1ff;width:35px;height:35px;border-radius:8px;font-size:18px}.workspace-shell .sidebar .workspace-nav{display:none;flex-direction:column;overflow:visible;margin-top:18px;padding-bottom:0}.workspace-shell .sidebar.menu-open .workspace-nav{display:flex;max-height:65vh;max-height:65dvh;overflow-y:auto}.workspace-shell .nav button,.workspace-shell .nav summary{font-size:12px}.workspace-shell .nav .icon{width:18px;height:18px}.workspace-shell .topbar{height:auto;min-height:56px;padding:12px 18px;gap:12px;flex-wrap:wrap}.breadcrumb-section{display:none}.workspace-shell .content{padding:19px 16px}.home-assistant{padding:15px 0 22px}.home-assistant h1{font-size:30px}.home-assistant>.sub{font-size:12px;margin-bottom:20px}.home-assistant-form{padding:14px;border-radius:14px}.home-assistant-form textarea{font-size:13px;min-height:95px}.home-assistant-form-bottom{align-items:flex-end;gap:10px}.home-assistant-form-bottom>span{font-size:9px}.home-assistant-form-bottom .btn{font-size:10px;padding:10px}.home-prompts{gap:6px}.home-prompts button{font-size:10px;padding:8px 11px}.assistant-safety{font-size:9px}.setup-progress{padding:18px;margin-bottom:25px}.setup-overview{flex-wrap:wrap;gap:12px}.setup-overview>div:not(.setup-meter){flex:1;min-width:180px}.setup-overview h2{font-size:14px}.setup-meter{flex-direction:row;align-items:center;justify-content:space-between;width:100%;margin:0;gap:15px}.setup-meter progress{width:100%}.setup-meter strong{font-size:21px}.setup-steps li{flex-wrap:wrap}.setup-steps li>div{min-width:150px}.setup-steps .text-btn{margin-left:38px}.home-section-title h2{font-size:14px}.home-section-title .text-btn{font-size:10px}.workspace-stats{gap:10px}.workspace-stats .stat{padding:15px}.workspace-stats .stat-top{font-size:10px;min-height:34px}.workspace-stats .stat strong{font-size:27px}.workspace-stats .stat small{font-size:9px}.home-bottom{gap:15px}.workspace-table{min-width:480px}.workspace-table th,.workspace-table td{padding:12px 9px}}
@media(prefers-reduced-motion:reduce){.workspace-shell *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.whatsapp-connection{width:100%;max-width:780px;margin:0 auto}
.whatsapp-connection .connect-box{min-height:350px}
.whatsapp-connection .actions{justify-content:center}
.nav-extra{padding:3px 0 8px 10px;border-left:1px solid #35415f;margin-left:20px}
.nav-extra>button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px;color:#bbc4df;background:transparent;border-radius:8px;text-align:left}
.nav-extra>button:hover{background:#242f50;color:#fff}
.simple-home{margin:24px 0}
.simple-home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.simple-home-heading h1{font-size:clamp(24px,3vw,34px);margin:6px 0 10px;line-height:1.2}
.simple-home-heading .sub{margin:0}
.simple-home-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.simple-home-action{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;width:100%;color:var(--ink);cursor:pointer;min-height:180px}
.simple-home-action:hover{border-color:#7e91ed;box-shadow:0 6px 20px #23367212}
.simple-home-action>.icon{width:25px;height:25px;color:#2563eb}
.simple-home-action strong{font-size:15px;line-height:1.4}
.simple-home-action span{font-size:12px;color:var(--muted);line-height:1.6}
.simple-home-action small{margin-top:auto;color:#2563eb}
.home-more{margin-top:20px}
.home-more>summary{cursor:pointer;min-height:32px;font-weight:600}
.home-extra-actions{display:flex;flex-wrap:wrap;gap:12px;padding-top:16px}
.onboarding-next{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:20px 0}
.onboarding-next h3{font-size:20px;margin:12px 0 8px}
.onboarding-next .btn{flex-shrink:0;min-height:44px}
@media(max-width:1100px){.simple-home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.simple-home-heading,.onboarding-next{align-items:stretch;flex-direction:column}.simple-home-actions{grid-template-columns:1fr}.simple-home-action{min-height:140px}.simple-home-heading>.btn{align-self:flex-start}.onboarding-next .btn{width:100%;white-space:normal}}
.screen-guide{margin-bottom:20px;padding:16px 20px}
.screen-guide summary{font-weight:600;cursor:pointer;line-height:1.5;min-height:30px}
.screen-guide li{margin:12px 0;line-height:1.7;color:var(--muted)}
html[data-theme="dark"] .simple-home-action{color:var(--ink);background:#151922}
html[data-theme="dark"] .simple-home-action:hover{border-color:#7e91ed}

.message-video{display:block;max-width:100%;max-height:360px;border-radius:12px}
