:root{--ink:#17221d;--muted:#718078;--line:#e6ebe7;--canvas:#f7f8f6;--paper:#fff;--brand:#0d6d4c;--brand-soft:#e8f4ed;--lime:#c8ee6a;--shadow:0 12px 30px rgba(27,43,34,.06)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.shell{min-height:100vh;display:grid;grid-template-columns:244px 1fr}.sidebar{background:#123b2d;color:#e8f0eb;padding:24px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;color:#fff;text-decoration:none;padding:0 8px 26px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:var(--lime);border-radius:9px;color:#173d2e;font-weight:800;font-size:18px}.brand strong{display:block;font-size:17px;letter-spacing:.06em}.brand small{display:block;font-size:10px;opacity:.65;letter-spacing:.08em;text-transform:uppercase}.workspace-switcher{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);border-radius:9px;padding:9px 10px;display:flex;gap:8px;align-items:center;margin:0 4px 22px}.workspace-switcher button{margin-left:auto;background:none;border:0;color:inherit}.dot,.status i,.live i{width:8px;height:8px;border-radius:50%;background:#8dddab;display:inline-block}.sidebar nav{display:grid;gap:4px}.sidebar nav a{color:#bdcec5;text-decoration:none;border-radius:8px;padding:10px 12px;display:flex;gap:11px;align-items:center}.sidebar nav a span{width:16px;text-align:center;color:#e6f7ed}.sidebar nav a.active,.sidebar nav a:hover{background:#22513e;color:#fff}.sidebar nav b{font-size:10px;background:rgba(255,255,255,.14);padding:1px 6px;border-radius:8px;margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding:18px 8px 2px;font-size:12px}.sidebar-bottom p{margin:0;color:#9ab2a6}.sidebar-bottom strong{display:block;color:#fff;margin:3px 0}.sidebar-bottom a{color:#a8d8b9;text-decoration:none}.topbar{height:76px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.crumb{color:var(--muted)}.crumb i{font-style:normal;margin:0 9px;color:#c4cbc6}.crumb strong{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:16px}.search,.bell,.icon-button{border:0;background:transparent;color:var(--muted);cursor:pointer}.search{border:1px solid var(--line);border-radius:8px;padding:7px 9px;color:#718078}.search kbd{margin-left:14px;font:10px inherit;border:1px solid var(--line);border-radius:4px;padding:2px 4px}.bell{font-size:19px}.avatar{background:#ddece4;color:var(--brand);font-weight:700;font-size:11px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.mobile-menu{display:none}.content{max-width:1280px;padding:44px 42px 60px;margin:auto}.hero{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:31px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--brand);margin:0 0 7px}.hero h1{font-size:31px;letter-spacing:-.045em;margin:0 0 5px}.subtle{color:var(--muted);margin:0}.primary,.secondary{border:0;border-radius:8px;padding:10px 15px;font-weight:650;cursor:pointer}.primary{background:var(--brand);color:#fff;box-shadow:0 5px 14px rgba(13,109,76,.18)}.primary:hover{background:#0a5a3e}.secondary{border:1px solid #b8d7c5;background:#f1f8f3;color:#0b6042;margin-top:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metrics article,.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.metrics article{padding:17px}.metrics p{margin:0;color:var(--muted);font-size:12px}.metrics strong{display:block;font-size:27px;letter-spacing:-.04em;margin:9px 0}.metric-note{color:#839088;font-size:11px}.metric-note.positive{color:#22714f}.grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.panel{padding:21px}.panel-title{display:flex;justify-content:space-between;align-items:flex-start}.panel h2{font-size:17px;letter-spacing:-.025em;margin:0}.panel-title a{font-size:12px;color:var(--brand);text-decoration:none}.agent-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin-top:18px}.agent-icon{background:var(--brand-soft);color:var(--brand);height:38px;width:38px;display:grid;place-items:center;border-radius:10px;font-size:19px}.agent-info{display:grid;gap:2px;flex:1}.agent-info span{font-size:12px;color:var(--muted)}.status{font-size:11px;color:#287151;white-space:nowrap}.status i{margin-right:4px}.dashed{width:100%;padding:11px;margin-top:14px;border:1px dashed #b6cbc0;background:#fbfdfb;border-radius:8px;color:var(--brand);font-weight:600;cursor:pointer}.empty{text-align:center;padding:28px 10px 7px}.empty-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eaf6ef;color:var(--brand);font-weight:800;margin:0 auto 8px}.empty strong{display:block}.empty p{font-size:12px;color:var(--muted);margin:4px 0}.lower-grid{margin-top:18px;grid-template-columns:1.1fr .9fr}.timeline{margin-top:18px;display:grid;gap:17px}.timeline>div{display:grid;grid-template-columns:16px 1fr auto;gap:9px}.time-dot{width:8px;height:8px;background:var(--brand);border-radius:50%;margin-top:5px}.time-dot.muted{background:#c7d0ca}.timeline p{margin:0;display:grid;gap:2px}.timeline small{color:var(--muted);font-size:12px}.timeline time{font-size:11px;color:var(--muted)}.live{font-size:11px;color:var(--brand)}.live i{margin-right:4px}.knowledge>p{color:var(--muted);font-size:13px;margin:18px 0 0}.governance{background:#173d2e;color:#eff7f2;border-radius:12px;margin-top:18px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between}.governance>div{display:flex;gap:12px;align-items:center}.shield{width:35px;height:35px;background:rgba(200,238,106,.15);color:var(--lime);border-radius:9px;display:grid;place-items:center;font-size:18px}.governance strong{display:block}.governance p{margin:2px 0 0;color:#b9d0c2;font-size:12px}.governance a{color:var(--lime);text-decoration:none;font-size:12px;white-space:nowrap}dialog{border:0;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.25);padding:0;max-width:360px}dialog::backdrop{background:rgba(8,25,17,.5)}dialog form{padding:26px;position:relative}dialog h2{margin:0 0 8px}dialog p:not(.eyebrow){color:var(--muted);margin-bottom:20px}.dialog-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:23px;color:var(--muted);cursor:pointer}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:0 20px}.mobile-menu{display:block;border:0;background:none;font-size:20px}.content{padding:30px 20px}.metrics{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.hero{align-items:flex-start;gap:18px}.search{display:none}}@media(max-width:520px){.hero{display:grid}.metrics{grid-template-columns:1fr}.governance{display:grid;gap:15px}.governance a{margin-left:47px}}.platform-status{margin:12px 0 0;color:var(--brand);font-size:12px;font-weight:600}.live.is-pending{color:#9b6d1a}.live.is-pending i{background:#dba432}
@media(max-width:900px){.shell.menu-open .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:min(84vw,300px);z-index:20;box-shadow:18px 0 30px rgba(8,25,17,.22)}.shell.menu-open::after{content:"";position:fixed;inset:0;background:rgba(8,25,17,.35);z-index:10}.shell.menu-open .topbar{position:relative;z-index:30}.mobile-menu{cursor:pointer}}
.shell{align-items:start;min-width:0}.sidebar{position:sticky;top:0;height:100dvh;overflow:hidden;padding:22px 14px 16px;border-right:1px solid rgba(255,255,255,.08);box-shadow:12px 0 28px rgba(9,37,26,.08)}.shell>main{min-width:0}.brand{padding:2px 8px 20px}.workspace-switcher{margin-bottom:16px;border-radius:11px;min-height:42px}.workspace-switcher button{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;cursor:pointer}.workspace-switcher button:hover{background:rgba(255,255,255,.1)}.workspace-switcher svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sidebar nav{gap:2px;overflow:hidden}.nav-label{margin:10px 10px 5px;color:#83a798;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.nav-label:first-child{margin-top:2px}.sidebar nav a{min-height:38px;padding:8px 10px;gap:10px;font-weight:590;transition:background .16s ease,color .16s ease,transform .16s ease}.sidebar nav a:hover{transform:translateX(2px)}.sidebar nav a span.nav-icon{display:grid;place-items:center;width:18px;height:18px;color:inherit}.nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar nav a.active .nav-icon{color:var(--lime)}.sidebar-bottom{padding:13px 8px 1px}.sidebar-bottom a span{font-size:11px}.topbar{min-width:0;box-shadow:0 1px 0 rgba(22,40,31,.02)}.content{padding-top:38px}.metrics article,.panel{box-shadow:0 10px 24px rgba(27,43,34,.045)}.panel{border-radius:14px}.primary,.secondary,.dashed{border-radius:9px}.primary{transition:transform .16s ease,box-shadow .16s ease}.primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(13,109,76,.22)}
.ui-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px}.mobile-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.bell,.help-button,.theme-toggle{display:grid;place-items:center;width:30px;height:30px;border-radius:8px}.bell:hover,.help-button:hover,.theme-toggle:hover{background:var(--brand-soft);color:var(--brand)}.agent-icon svg,.empty-icon svg,.shield svg,.publication-readiness-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shield svg{width:19px;height:19px}
@media(max-width:900px){.sidebar{position:fixed;height:100dvh;overflow:hidden}.sidebar nav{overflow:hidden}.nav-label{margin-top:8px}.sidebar-bottom{margin-top:auto}}
.feedback-panel{margin-top:18px}.feedback-copy{color:var(--muted);font-size:13px;margin:17px 0 0}.feedback-list{display:grid;gap:9px;margin-top:14px}.feedback-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;border-top:1px solid var(--line);padding:12px 0}.feedback-row strong,.feedback-row small{display:block}.feedback-row small,.feedback-row time{color:var(--muted);font-size:12px}.feedback-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.feedback-open{margin-top:0;padding:7px 10px;font-size:12px}@media(max-width:700px){.feedback-row{grid-template-columns:1fr auto}.feedback-row .feedback-actions{grid-column:1/-1;justify-content:flex-start}}
:root{--ink:#17221d;--muted:#718078;--line:#e6ebe7;--canvas:#f7f8f6;--paper:#fff;--brand:#0d6d4c;--brand-soft:#e8f4ed;--lime:#c8ee6a;--shadow:0 12px 30px rgba(27,43,34,.06)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.shell{min-height:100vh;display:grid;grid-template-columns:244px 1fr}.sidebar{background:#123b2d;color:#e8f0eb;padding:24px 16px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;color:#fff;text-decoration:none;padding:0 8px 26px}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:var(--lime);border-radius:9px;color:#173d2e;font-weight:800;font-size:18px}.brand strong{display:block;font-size:17px;letter-spacing:.06em}.brand small{display:block;font-size:10px;opacity:.65;letter-spacing:.08em;text-transform:uppercase}.workspace-switcher{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);border-radius:9px;padding:9px 10px;display:flex;gap:8px;align-items:center;margin:0 4px 22px}.workspace-switcher button{margin-left:auto;background:none;border:0;color:inherit}.dot,.status i,.live i{width:8px;height:8px;border-radius:50%;background:#8dddab;display:inline-block}.sidebar nav{display:grid;gap:4px}.sidebar nav a{color:#bdcec5;text-decoration:none;border-radius:8px;padding:10px 12px;display:flex;gap:11px;align-items:center}.sidebar nav a span{width:16px;text-align:center;color:#e6f7ed}.sidebar nav a.active,.sidebar nav a:hover{background:#22513e;color:#fff}.sidebar nav b{font-size:10px;background:rgba(255,255,255,.14);padding:1px 6px;border-radius:8px;margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding:18px 8px 2px;font-size:12px}.sidebar-bottom p{margin:0;color:#9ab2a6}.sidebar-bottom strong{display:block;color:#fff;margin:3px 0}.sidebar-bottom a{color:#a8d8b9;text-decoration:none}.topbar{height:76px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.crumb{color:var(--muted)}.crumb i{font-style:normal;margin:0 9px;color:#c4cbc6}.crumb strong{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:16px}.search,.bell,.icon-button{border:0;background:transparent;color:var(--muted);cursor:pointer}.search{border:1px solid var(--line);border-radius:8px;padding:7px 9px;color:#718078}.search kbd{margin-left:14px;font:10px inherit;border:1px solid var(--line);border-radius:4px;padding:2px 4px}.bell{font-size:19px}.avatar{background:#ddece4;color:var(--brand);font-weight:700;font-size:11px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center}.mobile-menu{display:none}.content{max-width:1280px;padding:44px 42px 60px;margin:auto}.hero{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:31px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--brand);margin:0 0 7px}.hero h1{font-size:31px;letter-spacing:-.045em;margin:0 0 5px}.subtle{color:var(--muted);margin:0}.primary,.secondary{border:0;border-radius:8px;padding:10px 15px;font-weight:650;cursor:pointer}.primary{background:var(--brand);color:#fff;box-shadow:0 5px 14px rgba(13,109,76,.18)}.primary:hover{background:#0a5a3e}.secondary{border:1px solid #b8d7c5;background:#f1f8f3;color:#0b6042;margin-top:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metrics article,.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.metrics article{padding:17px}.metrics p{margin:0;color:var(--muted);font-size:12px}.metrics strong{display:block;font-size:27px;letter-spacing:-.04em;margin:9px 0}.metric-note{color:#839088;font-size:11px}.metric-note.positive{color:#22714f}.grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.panel{padding:21px}.panel-title{display:flex;justify-content:space-between;align-items:flex-start}.panel h2{font-size:17px;letter-spacing:-.025em;margin:0}.panel-title a{font-size:12px;color:var(--brand);text-decoration:none}.agent-row{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin-top:18px}.agent-icon{background:var(--brand-soft);color:var(--brand);height:38px;width:38px;display:grid;place-items:center;border-radius:10px;font-size:19px}.agent-info{display:grid;gap:2px;flex:1}.agent-info span{font-size:12px;color:var(--muted)}.status{font-size:11px;color:#287151;white-space:nowrap}.status i{margin-right:4px}.dashed{width:100%;padding:11px;margin-top:14px;border:1px dashed #b6cbc0;background:#fbfdfb;border-radius:8px;color:var(--brand);font-weight:600;cursor:pointer}.empty{text-align:center;padding:28px 10px 7px}.empty-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eaf6ef;color:var(--brand);font-weight:800;margin:0 auto 8px}.empty strong{display:block}.empty p{font-size:12px;color:var(--muted);margin:4px 0}.governance{background:#173d2e;color:#eff7f2;border-radius:12px;margin-top:18px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between}.governance>div{display:flex;gap:12px;align-items:center}.shield{width:35px;height:35px;background:rgba(200,238,106,.15);color:var(--lime);border-radius:9px;display:grid;place-items:center;font-size:18px}.governance strong{display:block}.governance p{margin:2px 0 0;color:#b9d0c2;font-size:12px}.governance a{color:var(--lime);text-decoration:none;font-size:12px;white-space:nowrap}dialog{border:0;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.25);padding:0;max-width:360px}dialog::backdrop{background:rgba(8,25,17,.5)}dialog form{padding:26px;position:relative}dialog h2{margin:0 0 8px}dialog p:not(.eyebrow){color:var(--muted);margin-bottom:20px}.dialog-close{position:absolute;right:12px;top:10px;border:0;background:transparent;font-size:23px;color:var(--muted);cursor:pointer}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{padding:0 20px}.mobile-menu{display:block;border:0;background:none;font-size:20px}.content{padding:30px 20px}.metrics{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.hero{align-items:flex-start;gap:18px}.search{display:none}}@media(max-width:520px){.hero{display:grid}.metrics{grid-template-columns:1fr}.governance{display:grid;gap:15px}.governance a{margin-left:47px}}.platform-status{margin:12px 0 0;color:var(--brand);font-size:12px;font-weight:600}.live.is-pending{color:#9b6d1a}.live.is-pending i{background:#dba432}
.workspace-switcher { position: relative; }
.workspace-switcher > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher .workspace-current-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher .workspace-role { display: block; max-width: 92px; overflow: hidden; color: #9fc0b0; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.workspace-menu-popover { position: absolute; z-index: 90; top: calc(100% + 9px); left: 0; width: min(290px, calc(100vw - 32px)); padding: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #102f24; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.workspace-menu-title { margin: 2px 6px 8px; color: #a8c4b6; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.workspace-menu-hint { margin: -3px 6px 11px; color: #d3e8dc; font-size: 11px; line-height: 1.35; }
.workspace-menu-current { display:grid; gap:2px; margin:0 0 10px; padding:11px 12px; border:1px solid color-mix(in srgb,var(--brand-highlight) 34%,transparent); border-radius:10px; background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 28%,transparent),rgba(255,255,255,.05)); }
.workspace-menu-current-label { color:var(--lime); font-size:9px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.workspace-menu-current strong { color:#fff; font-size:13px; line-height:1.25; }
.workspace-menu-current small { color:#b9d8c6; font-size:10px; line-height:1.3; }
.workspace-menu-group + .workspace-menu-group { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
.workspace-menu-group-title { margin: 2px 6px 4px; color: #a8c4b6; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.workspace-menu-option { display: grid; width: 100%; gap: 2px; padding: 9px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #ecf6f0; text-align: left; cursor: pointer; }
.workspace-menu-option:hover:not(:disabled) { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.08); }
.workspace-menu-option[aria-current="true"] { border-color:color-mix(in srgb,var(--brand-highlight) 32%,transparent); background:rgba(255,255,255,.055); }
.workspace-menu-option:disabled { cursor: default; opacity: .58; }
.workspace-menu-option strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.workspace-menu-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a8c4b6; font-size: 10px; }
.workspace-menu-empty { margin: 9px 7px; color: #a8c4b6; font-size: 11px; line-height: 1.4; }
.workspace-menu-status { margin: 9px 7px; color: var(--lime); font-size: 11px; font-weight: 650; line-height: 1.4; }
.workspace-menu-manage { width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.06); color: #d7f2e2; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.workspace-menu-manage:hover { background: rgba(255,255,255,.12); }
:root[data-client-theme="sebrae"] .workspace-menu-popover { background: var(--brand-deep); border-color: rgba(166,221,255,.28); }
:root[data-client-theme="sebrae"] .workspace-menu-title,
:root[data-client-theme="sebrae"] .workspace-menu-empty,
:root[data-client-theme="sebrae"] .workspace-menu-group-title,
:root[data-client-theme="sebrae"] .workspace-menu-option small { color: #b9dff7; }
:root[data-client-theme="sebrae"] .workspace-menu-hint { color:#d8efff; }
:root[data-client-theme="sebrae"] .workspace-menu-current { border-color:rgba(166,221,255,.34); background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 34%,transparent),rgba(255,255,255,.05)); }
:root[data-client-theme="sebrae"] .workspace-menu-current-label { color:var(--brand-highlight); }
:root[data-client-theme="sebrae"] .workspace-menu-current small { color:#b9dff7; }
:root[data-client-theme="sebrae"] .workspace-menu-manage { color: #dff3ff; border-color: rgba(166,221,255,.3); }

/* The workspace switcher must escape the fixed sidebar without making the
   navigation itself scroll. Keep the popover readable in both client themes. */
.sidebar { overflow: visible; }
.workspace-menu-popover {
  top: 0;
  left: calc(100% + 10px);
  width: min(300px, calc(100vw - 280px));
  min-width: 280px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  max-height: min(460px, calc(100dvh - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.workspace-menu-popover:not([hidden]) {
  position: fixed;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
}
.workspace-menu-popover[hidden] { display: none; }
.workspace-menu-list { display: grid; gap: 4px; min-width: 0; }
.workspace-switcher .workspace-menu-option {
  width: 100%;
  min-width: 0;
  margin-left: 0;
  justify-items: stretch;
}
.workspace-menu-option strong,
.workspace-menu-option small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}
.workspace-menu-option small { line-height: 1.35; }
.workspace-menu-current strong,
.workspace-menu-current small,
.workspace-menu-group-title,
.workspace-menu-title,
.workspace-menu-hint,
.workspace-menu-empty,
.workspace-menu-status { overflow-wrap: anywhere; }
.workspace-switcher .workspace-menu-manage {
  width: 100%;
  margin-left: 0;
  justify-items: stretch;
  text-align: left;
}
.workspace-switcher {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.workspace-switcher > .dot { align-self: start; margin-top: 7px; }
.workspace-current-meta {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.workspace-switcher .workspace-current-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #f1f8f3;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-switcher .workspace-role {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: #a8c4b6;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-switcher > #workspace-menu {
  margin-left: 0;
  justify-self: end;
}
:root[data-theme="dark"] .sidebar nav a[aria-disabled="true"] {
  color: #6f8b7d;
}
.sidebar nav a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .48;
}
.sidebar nav a[aria-disabled="true"]:hover {
  background: transparent;
  color: #bdcec5;
  transform: none;
}
:root[data-client-theme="sebrae"] .workspace-switcher .workspace-role {
  color: #b9dff7;
}
@media (max-width: 900px) {
  .workspace-menu-popover {
    position: fixed;
    top: 76px;
    left: 12px;
    width: min(300px, calc(100vw - 24px));
    min-width: 0;
    max-height: calc(100dvh - 92px);
  }
}
.timeline>div:not(.audit-filter-entries){grid-template-columns:16px 1fr auto}
.timeline>div.audit-filter-entries{display:block !important;grid-template-columns:none !important;width:100%;min-width:0}
.timeline .audit-filter-entries{display:grid;grid-template-columns:minmax(0,1fr);gap:17px;min-width:0}
.timeline .audit-filter-entries>div{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:9px;align-items:start;min-width:0}
.timeline .audit-filter-entries>div p{min-width:0;overflow-wrap:anywhere}
.timeline .audit-filter-entries>div strong,.timeline .audit-filter-entries>div small{overflow-wrap:anywhere}
.timeline .audit-filter-entries>div time{white-space:nowrap}
.grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
.lower-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.operations-focus-toggle[aria-pressed="true"] { border-color: color-mix(in srgb,var(--brand) 48%,var(--line)); background: var(--surface-state); color: var(--state-ink); }
.operations-view-list.is-focus-mode > .operations-panel { display: none; }
.operations-view-list.is-focus-mode > .operations-primary-section { box-shadow: 0 0 0 2px color-mix(in srgb,var(--brand) 18%,transparent), 0 18px 42px color-mix(in srgb,var(--brand-deep) 16%,transparent); }

/* Keep the workspace chooser usable on narrow windows and small screens. */
@media (max-width: 900px) {
  .workspace-menu-popover {
    position: fixed;
    top: 76px;
    left: 12px;
    right: auto;
    width: min(320px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 92px);
  }
}
@media (max-width: 520px) {
  .workspace-menu-popover {
    top: 68px;
    left: 8px;
    width: min(320px, calc(100vw - 16px));
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 80px);
  }
}

@media (max-width: 360px) {
  .workspace-menu-popover {
    left: 6px;
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    padding: 8px;
  }
}

/* Estados pendentes seguem a paleta do cliente; nenhum indicador usa âmbar fixo. */
.live.is-pending { color: var(--warning) !important; }
.live.is-pending i { background: var(--warning) !important; }

/* The description column may shrink, but never down to one-character lines. */
.timeline .audit-filter-entries > div {
  grid-template-columns: 16px minmax(0, 1fr) minmax(0, max-content);
}
.timeline .audit-filter-entries > div p {
  width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}
.live.is-pending { color:var(--warning) !important; }
.live.is-pending i { background:var(--warning) !important; }
@media (max-width: 700px) {
  .timeline .audit-filter-entries > div {
    grid-template-columns: 16px minmax(0, 1fr);
  }
  .timeline .audit-filter-entries > div time {
    grid-column: 2;
    white-space: normal;
  }
}

/* Keep recent activity readable even when the dashboard grid becomes narrow. */
.activity,
.activity .timeline,
.activity .audit-filter-entries {
  min-width: 0;
  width: 100%;
}
.activity .audit-filter-entries > div {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
}
.activity .audit-filter-entries > div .time-dot { grid-column: 1; }
.activity .audit-filter-entries > div p {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.activity .audit-event-guidance { display:block; margin-top:3px; color:var(--brand); font-weight:650; }
.activity .audit-filter-entries > div time { grid-column: 2; white-space: normal; margin-top: 2px; }
.panel-title-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.panel-title-link { color:var(--brand); font-size:12px; font-weight:700; text-decoration:none; white-space:nowrap; }
.panel-title-link:hover { color:var(--brand-strong,var(--brand)); text-decoration:underline; }
@media (max-width:700px) {
  .activity .panel-title { gap:10px; flex-wrap:wrap; }
  .activity .panel-title-actions { justify-content:flex-start; width:100%; }
}
.activation-progress {
  margin: 12px 0 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}
.activation-context {
  margin: 10px 0 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.activation-context:empty { display: none; }
@media (max-width: 980px) {
  .activity .audit-filter-entries > div {
    grid-template-columns: 8px minmax(0, 1fr);
  }
  .activity .audit-filter-entries > div time {
    grid-column: 2;
    margin-left: 0;
    white-space: normal;
  }
}
/* Keep the direct homologation action aligned with the primary activation action. */
.activation-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}.activation-actions .secondary{margin-top:0}@media (max-width:700px){.activation-actions{justify-content:flex-start}}
/* A mesma próxima ação continua disponível fora da Visão geral, sem competir com a navegação principal. */
.resume-onboarding{display:inline-flex;align-items:center;gap:6px;max-width:250px;overflow:hidden;border:1px solid color-mix(in srgb,var(--brand) 34%,var(--line));border-radius:8px;background:var(--brand-soft);color:var(--brand);padding:7px 10px;font:700 12px/1.2 inherit;cursor:pointer;white-space:nowrap}.resume-onboarding:hover{filter:brightness(.97)}.resume-onboarding .ui-icon{flex:0 0 auto}.resume-onboarding span{overflow:hidden;text-overflow:ellipsis}@media(max-width:1080px){.resume-onboarding{max-width:40px;padding:7px}.resume-onboarding span{display:none}}@media(max-width:700px){.resume-onboarding{display:none!important}}

/* Empty queues explain the workflow instead of looking like broken or unfinished screens. */
.operations-queue-empty{display:grid;gap:13px;margin-top:4px;padding:16px;border:1px dashed color-mix(in srgb,var(--brand) 38%,var(--line));border-radius:14px;background:color-mix(in srgb,var(--brand-soft) 42%,var(--surface-soft));}
.operations-queue-empty-heading{display:flex;align-items:flex-start;gap:10px;min-width:0;}
.operations-queue-empty-mark{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:16px;font-weight:900;}
.operations-queue-empty-heading strong{display:block;color:var(--text);font-size:14px;line-height:1.25;}
.operations-queue-empty-heading p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5;max-width:760px;}
.operations-queue-empty-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.operations-queue-empty-step{display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--surface) 54%,transparent);color:var(--muted);font-size:11px;line-height:1.25;}
.operations-queue-empty-step>span:first-child{color:var(--brand);font-size:10px;font-weight:900;letter-spacing:.06em;}
.operations-queue-empty-step>span:last-child{overflow-wrap:anywhere;}
.operations-queue-empty-action{justify-self:start;}
@media(max-width:700px){.operations-queue-empty-flow{grid-template-columns:1fr;}.operations-queue-empty-action{width:100%;}}

/* O card de equipe continua orientando o primeiro acesso mesmo antes do primeiro assistente. */
.overview-empty-state{display:flex;align-items:center;gap:11px;min-width:0;margin-top:14px;padding:13px 14px;border:1px dashed color-mix(in srgb,var(--brand) 36%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--brand-soft) 34%,var(--surface-soft));}
.overview-empty-mark{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:17px;font-weight:900;}
.overview-empty-state>div{min-width:0;flex:1;}
.overview-empty-state strong{display:block;color:var(--ink);font-size:12px;line-height:1.3;}
.overview-empty-state p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.45;max-width:520px;}
.overview-empty-state button{flex:0 0 auto;margin:0;white-space:nowrap;}
@media(max-width:700px){.overview-empty-state{align-items:flex-start;flex-wrap:wrap;}.overview-empty-state button{width:100%;margin-left:41px;}}
.knowledge-overview-flow{display:flex;align-items:center;gap:6px;margin-top:15px;flex-wrap:wrap;}
.knowledge-overview-flow span{padding:5px 8px;border:1px solid color-mix(in srgb,var(--brand) 30%,var(--line));border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.03em;}
.knowledge-overview-flow i{color:var(--muted);font-size:12px;font-style:normal;}
@media(min-width:1200px){#workspace-view{max-width:1600px;padding-left:38px;padding-right:38px}.workspace-view-card{width:100%;}}
.audit-category-rail{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;padding:2px 0}.audit-category-chip{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--muted);font:inherit;font-size:10px;font-weight:750;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.audit-category-chip:hover{border-color:color-mix(in srgb,var(--brand) 48%,var(--line));color:var(--brand);transform:translateY(-1px)}.audit-category-chip[aria-pressed="true"]{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 10%,transparent)}.audit-category-chip b{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:color-mix(in srgb,var(--ink) 8%,transparent);font-size:9px}.audit-category-chip[aria-pressed="true"] b{background:var(--brand);color:var(--on-brand,#fff)}@media(max-width:560px){.audit-category-rail{gap:5px}.audit-category-chip{font-size:9px;padding-inline:8px}}
.audit-filter-summary{align-self:center;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap}.audit-clear-filters{border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--brand);font:inherit;font-size:10px;font-weight:800;padding:7px 9px;cursor:pointer}.audit-clear-filters:hover{border-color:var(--brand);background:var(--brand-soft)}

/* Status colors are semantic so pending states never fall back to the legacy brown palette. */
.live.is-pending{color:var(--warning)!important;}
.live.is-pending i{background:var(--warning)!important;}
