/* 7CATS_WEB_LEGACY_FALLBACK_SCOPED_CSS_V100 */
body.legacy-console-screen {
  --bg:#f4f5f7;
  --card:#fff;
  --line:#dfe3e8;
  --muted:#68707a;
  --green:#087a24;
  margin:0;
  background:var(--bg);
  font-family:system-ui,-apple-system,Segoe UI,sans-serif;
  color:#1f2328;
}
body.legacy-console-screen,
body.legacy-console-screen * { box-sizing:border-box; }

body.legacy-console-screen .wrap { max-width:1240px; margin:22px auto; padding:0 14px; }
body.legacy-console-screen .grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
body.legacy-console-screen .card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  box-shadow:0 3px 14px #0000000d;
}
body.legacy-console-screen .full { grid-column:1/-1; }
body.legacy-console-screen h2 { font-size:1.05rem; margin:0 0 14px; }
body.legacy-console-screen label { display:block; font-size:.84rem; font-weight:650; margin:10px 0 5px; }
body.legacy-console-screen .help { font-size:.76rem; color:var(--muted); font-weight:400; }
body.legacy-console-screen input,
body.legacy-console-screen textarea,
body.legacy-console-screen select {
  width:100%;
  padding:10px;
  border:1px solid #bfc5cc;
  border-radius:8px;
  background:#fff;
}
body.legacy-console-screen textarea { min-height:72px; }
body.legacy-console-screen button,
body.legacy-console-screen .button {
  padding:10px 14px;
  border:0;
  border-radius:8px;
  background:#111;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}
body.legacy-console-screen .green { background:#0a6b2b; }
body.legacy-console-screen .small { font-size:.82rem; color:var(--muted); }
body.legacy-console-screen .pill {
  display:inline-block;
  padding:3px 8px;
  border-radius:999px;
  background:#eef1f4;
  font-size:.78rem;
}
body.legacy-console-screen .package { border-top:1px solid var(--line); padding-top:14px; margin-top:14px; }
body.legacy-console-screen .package:first-of-type { border-top:0; padding-top:0; margin-top:0; }
body.legacy-console-screen .suggest {
  background:#f0f8f2;
  border:1px solid #b8ddc1;
  border-radius:10px;
  padding:12px;
  margin:10px 0;
}
body.legacy-console-screen table { width:100%; border-collapse:collapse; font-size:.84rem; }
body.legacy-console-screen th,
body.legacy-console-screen td {
  text-align:left;
  padding:8px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
body.legacy-console-screen code { white-space:pre-wrap; word-break:break-word; }
body.legacy-console-screen .copy { padding:6px 9px; font-size:.78rem; }
body.legacy-console-screen .ok { color:var(--green); font-weight:700; }
body.legacy-console-screen .match-note {
  margin:10px 0;
  padding:9px 10px;
  border-radius:8px;
  font-size:.82rem;
}
body.legacy-console-screen .match-note.exact { background:#eaf7ed; color:#075f20; border:1px solid #b8ddc1; }
body.legacy-console-screen .match-note.similar { background:#fff8df; color:#725500; border:1px solid #ead690; }
body.legacy-console-screen .match-note.none { background:#f5f6f7; color:#59616b; border:1px solid #dfe3e8; }
body.legacy-console-screen .muted-button { background:#6b7280; }
body.legacy-console-screen .dismiss-form { margin-top:8px; }
body.legacy-console-screen .task-reassign-form { display:flex; gap:6px; align-items:center; }
body.legacy-console-screen .task-reassign-form select { min-width:210px; }
body.legacy-console-screen .prepare-form [hidden] { display:none!important; }
body.legacy-console-screen .legacy-project-status-row {
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
body.legacy-console-screen .legacy-error-text { color:#a00; }
body.legacy-console-screen .legacy-copy-buffer {
  position:fixed;
  opacity:0;
  pointer-events:none;
}
@media(max-width:820px) {
  body.legacy-console-screen .grid { grid-template-columns:1fr; }
  body.legacy-console-screen .full { grid-column:auto; }
  body.legacy-console-screen table { display:block; overflow:auto; }
}
/* END_7CATS_WEB_LEGACY_FALLBACK_SCOPED_CSS_V100 */

/* 7CATS_SAFE_TERMINAL_SHARED_CSS_V101 */
body.safe-terminal-console-screen{--bg:#f4f5f7;--card:#fff;--line:#dfe3e8;--muted:#68707a;--green:#087a24;--amber:#8a5a00;--red:#a31515}
body.safe-terminal-console-screen *{box-sizing:border-box}body.safe-terminal-console-screen{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1f2328}


body.safe-terminal-console-screen .wrap{max-width:1440px;margin:22px auto;padding:0 14px 40px}body.safe-terminal-console-screen .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}
body.safe-terminal-console-screen .card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 3px 14px #0000000d;overflow:auto}
body.safe-terminal-console-screen .span-12{grid-column:span 12}body.safe-terminal-console-screen .span-6{grid-column:span 6}body.safe-terminal-console-screen .metric{grid-column:span 2;text-align:center}body.safe-terminal-console-screen .metric strong{font-size:1.7rem;display:block}
body.safe-terminal-console-screen h1,body.safe-terminal-console-screen h2,body.safe-terminal-console-screen h3{margin-top:0}body.safe-terminal-console-screen .muted,body.safe-terminal-console-screen .small{color:var(--muted)}body.safe-terminal-console-screen .small{font-size:.8rem}body.safe-terminal-console-screen .uid,body.safe-terminal-console-screen code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
body.safe-terminal-console-screen .notice,body.safe-terminal-console-screen .warning,body.safe-terminal-console-screen .error{padding:12px 14px;border-radius:10px;margin:0 0 16px}body.safe-terminal-console-screen .notice{background:#eaf6ed;color:#075f1d}body.safe-terminal-console-screen .warning{background:#fff5d8;color:#694500}body.safe-terminal-console-screen .error{background:#fdeaea;color:#8e1111}
body.safe-terminal-console-screen .pill{display:inline-block;padding:4px 8px;border-radius:999px;font-size:.75rem;font-weight:700}body.safe-terminal-console-screen .pill.ok{background:#e8f7ec;color:var(--green)}body.safe-terminal-console-screen .pill.warn{background:#fff1c7;color:var(--amber)}body.safe-terminal-console-screen .pill.bad{background:#fde5e5;color:var(--red)}body.safe-terminal-console-screen .pill.neutral{background:#edf0f3;color:#48515a}
body.safe-terminal-console-screen table{width:100%;border-collapse:collapse;min-width:920px}body.safe-terminal-console-screen th,body.safe-terminal-console-screen td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;font-size:.84rem}body.safe-terminal-console-screen th{background:#f7f8fa}
body.safe-terminal-console-screen pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#111;color:#e9eef4;padding:12px;border-radius:9px;max-height:420px;overflow:auto;font-size:.78rem}
body.safe-terminal-console-screen a.button{display:inline-block;background:#111;color:#fff;text-decoration:none;padding:8px 11px;border-radius:8px}body.safe-terminal-console-screen .approval{border-left:5px solid #ad7a00}body.safe-terminal-console-screen .json-block{margin-top:12px}body.safe-terminal-console-screen label{display:block;font-weight:700;margin:10px 0 5px}body.safe-terminal-console-screen input,body.safe-terminal-console-screen textarea,body.safe-terminal-console-screen select{width:100%;padding:9px 10px;border:1px solid #cbd2d9;border-radius:8px;background:#fff;font:inherit}body.safe-terminal-console-screen button{margin-top:12px;padding:9px 12px;border:0;border-radius:8px;background:#111;color:#fff;font-weight:700;cursor:pointer}body.safe-terminal-console-screen button:hover{background:#2c2c2c}body.safe-terminal-console-screen .program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body.safe-terminal-console-screen .program-option{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;font-weight:500}body.safe-terminal-console-screen .program-option input{width:auto;margin:0}@media(max-width:750px){body.safe-terminal-console-screen .program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){body.safe-terminal-console-screen .metric{grid-column:span 4}body.safe-terminal-console-screen .span-6{grid-column:span 12}}@media(max-width:650px){body.safe-terminal-console-screen .metric{grid-column:span 6}}
.st-detail-head,.st-output-head,.st-output-actions,.st-live-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.st-detail-head{justify-content:space-between}.st-output-head{justify-content:space-between}.st-output-actions button{margin:0;padding:6px 9px}.st-live-dot{width:9px;height:9px;border-radius:999px;background:#8a5a00;display:inline-block}.st-live-dot.stopped{background:#68707a}.st-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.st-meta{border:1px solid var(--line);border-radius:9px;padding:10px;min-width:0}.st-meta strong{display:block;font-size:.75rem;color:var(--muted);margin-bottom:4px}.st-meta span{overflow-wrap:anywhere;white-space:pre-line}.st-output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.st-output-card{border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0}.st-output{min-height:160px;max-height:620px}.st-event-detail{margin:0;max-height:180px;min-width:360px}.st-sandbox{max-height:360px}@media(max-width:1000px){.st-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.st-output-grid{grid-template-columns:1fr}}@media(max-width:650px){.st-meta-grid{grid-template-columns:1fr}}
.sto-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
.sto-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.sto-meta>div{border:1px solid var(--line);border-radius:9px;padding:10px;min-width:0}
.sto-meta strong{display:block;font-size:.75rem;color:var(--muted);margin-bottom:4px}
.sto-meta span{overflow-wrap:anywhere}
.sto-terminal{background:#090d0a;color:#c8f7d4;border:1px solid #243c2b;border-radius:12px;padding:16px;min-height:390px;max-height:68vh;overflow:auto;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;box-shadow:inset 0 0 30px #0008}
.sto-live{display:flex;gap:8px;align-items:center;font-size:.85rem}
.sto-dot{width:9px;height:9px;border-radius:50%;background:#d39b16;display:inline-block}
.sto-dot.done{background:#68707a}
.sto-tabs{display:flex;gap:8px;margin:12px 0 8px}
.sto-tabs button{padding:7px 11px}
@media(max-width:900px){.sto-meta{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.sto-meta{grid-template-columns:1fr}}
.st-detail-title{margin-bottom:5px}
.sto-title{margin-bottom:6px}
.sto-context{margin:7px 0 5px}
.st-copy-buffer,.sto-copy-buffer{position:fixed;opacity:0;pointer-events:none}
/* END_7CATS_SAFE_TERMINAL_SHARED_CSS_V101 */

/* 7CATS_TECHNICAL_MEMORY_ASSIST_SCOPED_CSS_V100 */
.technical-memory-page .technical-memory-banner{background:#eef7ff;border:1px solid #bdd9ef;border-radius:12px;padding:14px;margin-bottom:16px}
    .technical-memory-page .technical-memory-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
    .technical-memory-page .technical-memory-terms{display:flex;gap:6px;flex-wrap:wrap}
    .technical-memory-page .technical-memory-result{border:1px solid #dfe3e8;border-radius:12px;padding:14px;margin:12px 0;background:#fff}
    .technical-memory-page .technical-memory-result-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
    .technical-memory-page .technical-memory-snippet,.technical-memory-page .technical-memory-breakdown{white-space:pre-wrap;word-break:break-word;background:#f6f7f8;border:1px solid #e2e5e8;border-radius:8px;padding:10px;max-height:260px;overflow:auto;font-size:.78rem}
    .technical-memory-page .technical-memory-evidence{display:grid;grid-template-columns:130px 1fr;gap:6px 10px;font-size:.8rem}
    .technical-memory-page .technical-memory-evidence dt{font-weight:700}.technical-memory-page .technical-memory-evidence dd{margin:0;word-break:break-all}
    .technical-memory-page .technical-memory-assist-request-form{display:inline-block;margin:0}
    .technical-memory-page .technical-memory-graph-form{display:grid;gap:12px}
    .technical-memory-page .technical-memory-graph-form label{display:grid;gap:6px;font-weight:700}
    .technical-memory-page .technical-memory-graph-form textarea{min-height:96px}
    .technical-memory-page .technical-memory-question-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
    .technical-memory-page .technical-memory-question-row label{min-width:0}
    .technical-memory-page .technical-memory-suggestion-button{min-width:190px;margin-bottom:1px}
    .technical-memory-page .technical-memory-suggestion-panel{border:1px solid #d7c9ef;background:#fbf9ff;border-radius:12px;padding:16px;margin:18px 0}
    .technical-memory-page .technical-memory-suggestion-panel.is-failed{border-color:#e2b7b7;background:#fff5f5}
    .technical-memory-page .technical-memory-suggestion-panel h3{margin-top:0}
    .technical-memory-page .technical-memory-suggestion-meta{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0;font-size:.78rem}
    .technical-memory-page .technical-memory-suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
    .technical-memory-page .technical-memory-suggestion-card{border:1px solid #ded5ec;background:#fff;border-radius:10px;padding:14px;min-width:0}
    .technical-memory-page .technical-memory-suggestion-card.is-recommended{border:2px solid #8f70bd;background:#fdfbff}
    .technical-memory-page .technical-memory-suggestion-card.is-selected{box-shadow:0 0 0 3px rgba(34,109,88,.18);border-color:#226d58}
    .technical-memory-page .technical-memory-suggestion-card h4{margin:10px 0 8px}
    .technical-memory-page .technical-memory-suggestion-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
    .technical-memory-page .technical-memory-suggestion-question{font-weight:700;line-height:1.45}
    .technical-memory-page .technical-memory-recommended-badge{display:inline-flex;align-items:center;border:1px solid #8f70bd;background:#efe7fb;color:#52357d;border-radius:999px;padding:4px 8px;font-size:.7rem;font-weight:800}
    .technical-memory-page .technical-memory-selected-badge{display:inline-flex;align-items:center;border:1px solid #226d58;background:#e8f5ef;color:#174d3e;border-radius:999px;padding:4px 8px;font-size:.7rem;font-weight:800;margin-left:4px}
    .technical-memory-page .technical-memory-suggestion-select-form{margin-top:12px}
    .technical-memory-page .technical-memory-suggestion-select-form button{width:100%}
    .technical-memory-page .technical-memory-selection-confirmation{border:1px solid #9bc9b8;background:#eff9f5;border-radius:8px;padding:10px 12px;margin:0}
    .technical-memory-page .technical-memory-graph-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    .technical-memory-page .technical-memory-graph-audit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
    .technical-memory-page .technical-memory-graph-summary{border:1px solid #bdd9ef;background:#f8fbff;border-radius:10px;padding:14px;margin:14px 0}
    .technical-memory-page .technical-memory-graph-planner{border:1px solid #d7c9ef;background:#fbf9ff;border-radius:10px;padding:14px;margin:14px 0}
    .technical-memory-page .technical-memory-ai-proposal{border:1px solid #d7c9ef;background:#fbf9ff;border-radius:12px;padding:16px;margin:16px 0}
    .technical-memory-page .technical-memory-ai-proposal h3,.technical-memory-page .technical-memory-evidence-boundary h3{margin-top:0}
    .technical-memory-page .technical-memory-not-evidence{display:inline-flex;align-items:center;border:1px solid #c99535;background:#fff8e8;color:#75510f;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800;white-space:nowrap}
    .technical-memory-page .technical-memory-query-value{display:inline-block;white-space:pre-wrap;word-break:break-word;background:#fff;padding:7px 9px;border-radius:7px;border:1px solid #ded5ec}
    .technical-memory-page .technical-memory-graph-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:14px 0 18px}
    .technical-memory-page .technical-memory-graph-timeline li{border:1px solid #dfe3e8;background:#f6f7f8;border-radius:9px;padding:10px;font-size:.76rem;font-weight:700}
    .technical-memory-page .technical-memory-graph-timeline li.is-complete{border-color:#b8d4bd;background:#f5fff6}
    .technical-memory-page .technical-memory-graph-timeline li.is-failed{border-color:#e2b7b7;background:#fff5f5}
    .technical-memory-page .technical-memory-evidence-boundary{border:2px solid #7faed0;background:#f8fbff;border-radius:12px;padding:16px;margin:18px 0}
    .technical-memory-page .technical-memory-evidence-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
    .technical-memory-page .technical-memory-evidence-badge{display:inline-flex;align-items:center;border:1px solid #6c9fc4;background:#eaf6ff;color:#174f75;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800;white-space:nowrap}
    .technical-memory-page .technical-memory-graph-handoff{margin-top:18px;padding:14px;border-radius:10px}
    .technical-memory-page .technical-memory-audit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
    .technical-memory-page .technical-memory-event{border-left:3px solid #bdd9ef;padding:6px 10px;margin:6px 0}
    .technical-memory-page .technical-memory-synthesis{border:1px solid #c8d9c0;background:#fbfff9}
    .technical-memory-page .technical-memory-synthesis-section{border-top:1px solid #e1e8de;padding-top:12px;margin-top:14px}
    .technical-memory-page .technical-memory-synthesis-evidence{border-left:3px solid #b8cdaa;padding:8px 12px;margin:8px 0;background:#fff}
    .technical-memory-page .technical-memory-synthesis-error{border:1px solid #e2b7b7;background:#fff5f5;border-radius:8px;padding:12px;margin-top:14px}
    .technical-memory-page .technical-memory-developer-handoff{border:1px solid #c7d7e6;background:#f8fbff}
    .technical-memory-page .technical-memory-developer-handoff-text{white-space:pre-wrap;word-break:break-word;background:#fff;border:1px solid #d8e1ea;border-radius:10px;padding:14px;max-height:720px;overflow:auto;font-size:.8rem;line-height:1.48}
    .technical-memory-page .technical-memory-developer-handoff-actions{margin-top:12px}
    .technical-memory-page .danger-text{color:#9f1d1d;font-weight:700}
    @media(max-width:820px){.technical-memory-page .technical-memory-grid,.technical-memory-page .technical-memory-audit,.technical-memory-page .technical-memory-graph-audit,.technical-memory-page .technical-memory-graph-fields,.technical-memory-page .technical-memory-graph-timeline,.technical-memory-page .technical-memory-question-row,.technical-memory-page .technical-memory-suggestion-grid{grid-template-columns:1fr}.technical-memory-page .technical-memory-result-head,.technical-memory-page .technical-memory-evidence-title{display:block}.technical-memory-page .technical-memory-not-evidence,.technical-memory-page .technical-memory-evidence-badge{margin-top:8px}.technical-memory-page .technical-memory-suggestion-button{width:100%;margin:0}}
.technical-memory-page .technical-memory-table-scroll{overflow:auto}
/* END_7CATS_TECHNICAL_MEMORY_ASSIST_SCOPED_CSS_V100 */

/* 7CATS_TECHNICAL_MEMORY_ASSIST_COPY_BUFFER_CSS_V101 */
.technical-memory-page .technical-memory-copy-buffer{position:fixed;opacity:0;pointer-events:none}
/* END_7CATS_TECHNICAL_MEMORY_ASSIST_COPY_BUFFER_CSS_V101 */

/* 7CATS_PROFILES_SHARED_CSS_V100 */
body.profiles-screen{--bg:#f4f5f7;--card:#fff;--line:#dfe3e8;--muted:#68707a;--green:#087a24;--blue:#155eef}
body.profiles-screen *{box-sizing:border-box}
body.profiles-screen{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1f2328}

body.profiles-screen nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
body.profiles-screen nav a{color:#fff;text-decoration:none}
body.profiles-screen nav form{margin:0}
body.profiles-screen nav button{margin:0;padding:7px 11px;background:#333}
body.profiles-screen .wrap{max-width:1240px;margin:22px auto;padding:0 14px}
body.profiles-screen .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 3px 14px #0000000d;margin-bottom:18px}
body.profiles-screen .profile{border-left:5px solid transparent}
body.profiles-screen .profile.active{border-left-color:var(--green)}
body.profiles-screen .profile-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}
body.profiles-screen .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.profiles-screen .field{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fafbfc}
body.profiles-screen label{font-weight:700;display:block;margin-bottom:6px}
body.profiles-screen input,
body.profiles-screen select,
body.profiles-screen button{font:inherit}
body.profiles-screen input{width:100%;padding:10px;border:1px solid #b8bec6;border-radius:8px;background:#fff}
body.profiles-screen button{border:0;border-radius:8px;padding:9px 13px;font-weight:750;cursor:pointer;background:#111;color:#fff}
body.profiles-screen .secondary{background:#e9edf2;color:#1f2328}
body.profiles-screen .activate{background:var(--blue)}
body.profiles-screen .actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:14px}
body.profiles-screen .small{color:var(--muted);font-size:.9rem}
body.profiles-screen .pill{display:inline-block;border-radius:999px;padding:3px 8px;background:#e8f6ec;color:var(--green);font-size:.8rem;font-weight:800}
body.profiles-screen .notice{padding:11px 13px;border-radius:9px;background:#edf7ef;color:#075f1d;margin:12px 0}
body.profiles-screen .bad{background:#fff0f0;color:#9b1414}
body.profiles-screen .effective{margin-top:6px;word-break:break-all}
body.profiles-screen .effective code{font-size:.82rem}
body.profiles-screen details{margin-top:14px}
body.profiles-screen summary{cursor:pointer;font-weight:750}
@media(max-width:760px){
body.profiles-screen .grid{grid-template-columns:1fr}

}
/* END_7CATS_PROFILES_SHARED_CSS_V100 */

/* 7CATS_MANUAL_UPLOAD_SHARED_CSS_V100 */
body.manual-upload-screen{--mu-bg:#f3f5f8;--mu-card:#fff;--mu-border:#d8e0ea;--mu-text:#11223a;--mu-muted:#607188;--mu-blue:#1769aa}
body.manual-upload-screen *{box-sizing:border-box}
body.manual-upload-screen{margin:0;background:var(--mu-bg);color:var(--mu-text);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.manual-upload-screen .mu-top{height:72px;background:#111;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 24px}
body.manual-upload-screen .mu-brand{display:flex;align-items:center;gap:14px;font-weight:800}
body.manual-upload-screen .mu-brand a{color:#fff;text-decoration:none}
body.manual-upload-screen .mu-sep{opacity:.35}
body.manual-upload-screen .mu-sec{color:#d8d8d8;font-weight:500}
body.manual-upload-screen .mu-out{padding:8px 13px;border:1px solid #565656;border-radius:8px;background:#242424;color:#fff;text-decoration:none;font-weight:700}
body.manual-upload-screen .mu-shell{max-width:1305px;margin:22px auto 40px;padding:0 18px}
body.manual-upload-screen .mu-content{max-width:900px;margin:28px auto 0}
body.manual-upload-screen .mu-card{background:#fff;border:1px solid var(--mu-border);border-radius:14px;padding:24px;box-shadow:0 8px 26px rgba(17,34,58,.07)}
body.manual-upload-screen .mu-card h1{margin:0 0 6px;font-size:30px}
body.manual-upload-screen .muted{color:var(--mu-muted)}
body.manual-upload-screen .mu-card label{display:block;font-weight:750;margin:18px 0 7px}
body.manual-upload-screen .mu-card input[type=file],
body.manual-upload-screen .mu-card textarea{width:100%;border:1px solid #b8c5d5;border-radius:9px;padding:12px;background:#fff}
body.manual-upload-screen .mu-card textarea{min-height:320px;font:13px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical}
body.manual-upload-screen .mu-btn{margin-top:20px;background:var(--mu-blue);color:#fff;border:0;border-radius:9px;padding:12px 18px;font-weight:750;cursor:pointer}
body.manual-upload-screen .mu-or{text-align:center;color:var(--mu-muted);font-weight:750;margin:18px 0}
body.manual-upload-screen .notice{border-radius:9px;padding:13px 15px;margin:16px 0}
body.manual-upload-screen .ok{background:#eaf8ef;border:1px solid #9ed5ae}
body.manual-upload-screen .bad{background:#fff0f0;border:1px solid #e2a2a2}
body.manual-upload-screen .result{background:#f6f8fb;border-radius:9px;padding:14px;margin-top:12px}
body.manual-upload-screen .result code{word-break:break-all}
body.manual-upload-screen .mu-card small{display:block;color:var(--mu-muted);margin-top:6px}
/* END_7CATS_MANUAL_UPLOAD_SHARED_CSS_V100 */

/* 7CATS_GLOBAL_VARIABLES_SHARED_CSS_V100 */
body.global-variables-screen{--bg:#f4f5f7;--card:#fff;--line:#dfe3e8;--muted:#68707a;--ok:#087a24;--bad:#a10f1b}
body.global-variables-screen *{box-sizing:border-box}
body.global-variables-screen{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1f2328}





body.global-variables-screen .wrap{max-width:1100px;margin:22px auto;padding:0 14px}
body.global-variables-screen .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 3px 14px #0000000d;margin-bottom:18px}
body.global-variables-screen h1{font-size:1.35rem;margin:0 0 8px}
body.global-variables-screen h2{font-size:1rem;margin:0 0 5px}
body.global-variables-screen p{line-height:1.45}
body.global-variables-screen .small{font-size:.82rem;color:var(--muted)}
body.global-variables-screen .notice{border-radius:10px;padding:12px;margin-bottom:14px}
body.global-variables-screen .ok{background:#edf8f0;color:var(--ok);border:1px solid #b8ddc1}
body.global-variables-screen .bad{background:#fff0f1;color:var(--bad);border:1px solid #efb7bc}
body.global-variables-screen .grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.global-variables-screen .field{border:1px solid var(--line);border-radius:12px;padding:14px}
body.global-variables-screen label{display:block;font-weight:750;margin-bottom:6px}
body.global-variables-screen code{font-size:.82rem;background:#eef1f4;border-radius:5px;padding:2px 6px}
body.global-variables-screen input,
body.global-variables-screen select{width:100%;padding:10px;border:1px solid #bfc5cc;border-radius:8px;background:#fff}
body.global-variables-screen button.save{padding:11px 16px;border:0;border-radius:8px;background:#111;color:#fff;font-weight:750;cursor:pointer;margin-top:14px}
body.global-variables-screen .example{background:#f7f8fa;border:1px solid var(--line);border-radius:10px;padding:12px}
@media(max-width:760px){
body.global-variables-screen .grid{grid-template-columns:1fr}

}
/* END_7CATS_GLOBAL_VARIABLES_SHARED_CSS_V100 */

/* 7CATS_AI_ROUTER_SHARED_CSS_V100 */
body.ai-router-screen *{box-sizing:border-box}
body.ai-router-screen{margin:0;background:#f4f5f7;color:#1f2328;font-family:system-ui,-apple-system,Segoe UI,sans-serif}

body.ai-router-screen .wrap{max-width:1120px;margin:22px auto;padding:0 14px 30px}
body.ai-router-screen nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
body.ai-router-screen nav a{padding:8px 11px;border:1px solid #cfd5dc;border-radius:8px;background:#fff;color:#222;text-decoration:none;font-size:.84rem;font-weight:700}
body.ai-router-screen .intro,
body.ai-router-screen .route{background:#fff;border:1px solid #dfe3e8;border-radius:14px;padding:18px;box-shadow:0 3px 14px #0000000d}
body.ai-router-screen .intro{margin-bottom:18px}
body.ai-router-screen .routes{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.ai-router-screen .route h2{margin:0 0 4px;font-size:1.05rem}
body.ai-router-screen .key,
body.ai-router-screen .help,
body.ai-router-screen .desc{color:#68707a;font-size:.78rem}
body.ai-router-screen .desc{min-height:40px}
body.ai-router-screen .grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.ai-router-screen label{display:block;margin:10px 0 5px;font-size:.82rem;font-weight:700}
body.ai-router-screen input[type=text],
body.ai-router-screen select{width:100%;padding:10px;border:1px solid #bfc5cc;border-radius:8px;background:#fff}
body.ai-router-screen .check{display:flex;gap:8px;align-items:center;margin:12px 0}
body.ai-router-screen .check label{margin:0}
body.ai-router-screen button{padding:10px 14px;border:0;border-radius:8px;background:#111;color:#fff;font-weight:700;cursor:pointer}
body.ai-router-screen .ok{padding:10px;border:1px solid #abd2b4;border-radius:8px;background:#eff9f1;color:#087a24;font-weight:700;margin-bottom:14px}
body.ai-router-screen .pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef1f4;font-size:.75rem;margin-right:6px}
body.ai-router-screen .installed{background:#e9f7ed;color:#087a24}
@media(max-width:800px){
body.ai-router-screen .routes,
body.ai-router-screen .grid{grid-template-columns:1fr}
}
/* END_7CATS_AI_ROUTER_SHARED_CSS_V100 */

/* 7CATS_USERS_SHARED_CSS_V100 */
body.users-screen{--bg:#f4f5f7;--card:#fff;--line:#dfe3e8;--muted:#68707a;--green:#087a24}
body.users-screen *{box-sizing:border-box}
body.users-screen{margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1f2328}
body.users-screen .wrap{max-width:1240px;margin:22px auto;padding:0 14px}
body.users-screen .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 3px 14px #0000000d;margin-bottom:18px}
body.users-screen .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
body.users-screen .span-4{grid-column:span 4}
body.users-screen .span-8{grid-column:span 8}
body.users-screen label{display:block;font-weight:700;font-size:.82rem;margin:10px 0 5px}
body.users-screen input,
body.users-screen select{width:100%;padding:10px;border:1px solid #cfd5dc;border-radius:8px;background:#fff}
body.users-screen button,
body.users-screen .button{display:inline-block;padding:9px 12px;border:0;border-radius:8px;background:#111;color:#fff;text-decoration:none;font-weight:700;cursor:pointer}
body.users-screen button.green{background:var(--green)}
body.users-screen .small{font-size:.82rem;color:var(--muted)}
body.users-screen .notice,
body.users-screen .error{padding:12px;border-radius:10px;margin-bottom:14px}
body.users-screen .notice{background:#eaf7ed;border:1px solid #9bcaa7}
body.users-screen .error{background:#fdecec;border:1px solid #db8f8f}
body.users-screen table{width:100%;border-collapse:collapse}
body.users-screen th,
body.users-screen td{text-align:left;padding:10px 8px;border-bottom:1px solid #e5e7eb;vertical-align:top}
body.users-screen .pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#eef1f4;font-size:.76rem}
@media(max-width:850px){
body.users-screen .span-4,
body.users-screen .span-8{grid-column:1/-1}
}
body.users-screen .users-inline-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.users-screen .users-checkbox-label{font-weight:400;display:flex;gap:8px;align-items:center}
body.users-screen .users-checkbox-input{width:auto}
/* END_7CATS_USERS_SHARED_CSS_V100 */

/* 7CATS_ORCHESTRATOR_SHARED_CSS_V100 */
#orchestrator-global-header{
    position:relative;
    z-index:30;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    min-height:58px;
    padding:14px 20px;
    background:#111;
    color:#fff;
}
#orchestrator-global-header *{box-sizing:border-box}
.orchestrator-brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.orchestrator-brand a{
    color:#fff;
    font-size:.95rem;
    font-weight:850;
    letter-spacing:-.01em;
    text-decoration:none;
    white-space:nowrap;
}
.orchestrator-section{
    overflow:hidden;
    padding-left:12px;
    border-left:1px solid #454545;
    color:#c8c8c8;
    font-size:.78rem;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.orchestrator-copy-ai{
    flex:0 0 auto;width:auto;margin:0;border:1px solid #555;border-radius:7px;
    background:#fff;color:#111;padding:8px 11px;font-size:.76rem;font-weight:750;
    cursor:pointer;white-space:nowrap
}
.orchestrator-copy-ai:hover{background:#333}
.orchestrator-copy-ai.is-copied{background:#176b35;border-color:#176b35}
.orchestrator-logout{
    flex:0 0 auto;
    margin:0;
}
.orchestrator-logout button{
    width:auto;
    margin:0;
    padding:8px 11px;
    border:1px solid #555;
    border-radius:8px;
    background:#fff;
    color:#111;
    font-size:.78rem;
    font-weight:750;
    cursor:pointer;
}
.orchestrator-logout button:hover{
    border-color:#888;
    background:#383838;
}
.orchestrator-nav-shell{
    position:relative;
    z-index:25;
    margin:0 0 22px;
    padding:10px 12px;
    border:1px solid #d9dee5;
    border-radius:12px;
    background:#fff;
    box-shadow:0 3px 12px #0000000a;
}
#orchestrator-global-nav{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}
.orchestrator-nav-primary{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
}
.orchestrator-nav-secondary{
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:auto;
}
#orchestrator-global-nav a,
.orchestrator-nav-menu summary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:7px 11px;
    border:1px solid #d3d9e0;
    border-radius:8px;
    background:#fff;
    color:#24292f;
    font-size:.78rem;
    font-weight:750;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
    transition:
        background-color .12s ease,
        border-color .12s ease,
        color .12s ease,
        transform .12s ease;
}
#orchestrator-global-nav a:hover,
.orchestrator-nav-menu summary:hover{
    border-color:#969ea8;
    background:#f6f7f8;
    transform:translateY(-1px);
}
#orchestrator-global-nav a.active,
#orchestrator-global-nav a[aria-current="page"]{
    border-color:#111;
    background:#111;
    color:#fff;
}
.orchestrator-nav-menu{
    position:relative;
}
.orchestrator-nav-menu summary{
    list-style:none;
    cursor:pointer;
    user-select:none;
}
.orchestrator-nav-menu summary::-webkit-details-marker{
    display:none;
}
.orchestrator-nav-menu summary::after{
    content:"";
    width:6px;
    height:6px;
    margin-left:8px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:translateY(-2px) rotate(45deg);
    transition:transform .12s ease;
}
.orchestrator-nav-menu[open] summary::after{
    transform:translateY(1px) rotate(225deg);
}
.orchestrator-nav-menu[open] summary,
.orchestrator-nav-menu.active-group summary{
    border-color:#111;
    background:#f1f2f4;
    color:#111;
}
.orchestrator-nav-menu.active-group summary::before{
    content:"";
    width:6px;
    height:6px;
    margin-right:7px;
    border-radius:999px;
    background:#111;
}
.orchestrator-nav-menu-panel{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    display:grid;
    gap:5px;
    min-width:218px;
    padding:8px;
    border:1px solid #d9dee5;
    border-radius:10px;
    background:#fff;
    box-shadow:0 12px 30px #00000020;
}
.orchestrator-nav-menu-panel a{
    justify-content:flex-start !important;
    width:100%;
    min-height:36px !important;
}
.orchestrator-nav-menu-panel a.active::after{
    content:"Actual";
    margin-left:auto;
    padding:3px 6px;
    border-radius:999px;
    background:#fff;
    color:#111;
    font-size:.61rem;
    font-weight:850;
    text-transform:uppercase;
}
.orchestrator-nav-context{
    display:none;
    margin-top:8px;
    color:#68707a;
    font-size:.72rem;
}
@media(max-width:980px){
    #orchestrator-global-nav{
        flex-wrap:wrap;
    }
    .orchestrator-nav-secondary{
        margin-left:0;
    }
}
@media(max-width:700px){
    #orchestrator-global-header{
        align-items:flex-start;
        min-height:auto;
        padding:12px 14px;
    }
    .orchestrator-brand{
        display:block;
    }
    .orchestrator-brand a{
        white-space:normal;
    }
    .orchestrator-section{
        margin-top:3px;
        padding-left:0;
        border-left:0;
        white-space:normal;
    }
    .orchestrator-nav-shell{
        margin-bottom:16px;
        padding:10px;
    }
    #orchestrator-global-nav{
        display:block;
    }
    .orchestrator-nav-primary{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .orchestrator-nav-primary a{
        width:100%;
        white-space:normal;
        text-align:center;
    }
    .orchestrator-nav-secondary{
        display:grid;
        grid-template-columns:1fr;
        gap:7px;
        margin-top:9px;
    }
    .orchestrator-nav-menu{
        width:100%;
    }
    .orchestrator-nav-menu summary{
        width:100%;
        justify-content:space-between;
    }
    .orchestrator-nav-menu.active-group summary::before{
        margin-right:auto;
    }
    .orchestrator-nav-menu-panel{
        position:static;
        min-width:0;
        margin-top:6px;
        box-shadow:none;
    }
    .orchestrator-nav-context{
        display:block;
    }
}

/* 7CATS_BRAND_HEADER_V1 */
.orchestrator-brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.orchestrator-brand-link{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    color:#fff;
    text-decoration:none;
}
.orchestrator-brand-link:hover{
    text-decoration:none;
}
.orchestrator-brand-logo{
    display:block;
    width:122px;
    height:auto;
    max-height:28px;
    object-fit:contain;
}
.orchestrator-product-name{
    color:#f4f4f4;
    font-size:.86rem;
    font-weight:750;
    letter-spacing:.015em;
    white-space:nowrap;
}
.orchestrator-section{
    flex:0 1 auto;
}
@media(max-width:640px){
    .orchestrator-brand{
        gap:8px;
    }
    .orchestrator-brand-link{
        gap:8px;
    }
    .orchestrator-brand-logo{
        width:102px;
        max-height:24px;
    }
    .orchestrator-product-name{
        font-size:.78rem;
    }
}

/* 7CATS_ORCHESTRATOR_UX_FOUNDATION_V100
   Namespaced reusable primitives. Existing screens are unaffected until
   they explicitly adopt oc-* classes. */
.oc-page{
    --oc-bg:#f4f5f7;
    --oc-card:#fff;
    --oc-line:#dfe3e8;
    --oc-text:#17191c;
    --oc-muted:#68707a;
    --oc-green:#087a24;
    --oc-amber:#8a6200;
    --oc-red:#a4262c;
    --oc-blue:#245b9e;
}
.oc-page-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:18px;
    margin:2px 0 18px;
}
.oc-page-heading h1{margin:0;font-size:1.75rem;letter-spacing:-.02em}
.oc-page-subtitle{margin:5px 0 0;color:var(--oc-muted);font-size:.9rem}
.oc-card{
    background:var(--oc-card);
    border:1px solid var(--oc-line);
    border-radius:14px;
    box-shadow:0 3px 14px #0000000d;
}
.oc-card-pad{padding:17px}
.oc-section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}
.oc-section-head h2,.oc-section-head h3{margin:0}
.oc-stat-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}
.oc-stat{
    padding:14px 15px;
    background:#fff;
    border:1px solid var(--oc-line);
    border-radius:12px;
}
.oc-stat strong{display:block;font-size:1.6rem;line-height:1.1}
.oc-stat span{display:block;margin-top:3px;color:var(--oc-muted);font-size:.78rem}
.oc-pill{
    display:inline-flex;
    align-items:center;
    gap:5px;
    max-width:100%;
    padding:4px 8px;
    border-radius:999px;
    background:#eef1f4;
    color:#4f5863;
    font-size:.72rem;
    font-weight:750;
    line-height:1.2;
}
.oc-pill.is-active{background:#e9f7ed;color:#075f20}
.oc-pill.is-paused{background:#fff4d8;color:#725500}
.oc-pill.is-danger{background:#fdecec;color:#8a2228}
.oc-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    width:auto;
    margin:0;
    padding:7px 10px;
    border:1px solid #cfd5dc;
    border-radius:8px;
    background:#fff;
    color:#24292f;
    font:inherit;
    font-size:.76rem;
    font-weight:750;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
}
.oc-button:hover{background:#f5f6f7;border-color:#9ca4ad}
.oc-button.is-primary{background:#111;border-color:#111;color:#fff}
.oc-button.is-success{background:#087a24;border-color:#087a24;color:#fff}
.oc-button.is-danger{background:#fff;border-color:#d7a3a7;color:#8a2228}
.oc-button.is-quiet{background:#f3f5f7}
.oc-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
}
.oc-disclosure{position:relative}
.oc-disclosure > summary{list-style:none;cursor:pointer}
.oc-disclosure > summary::-webkit-details-marker{display:none}
.oc-disclosure-panel{
    margin-top:8px;
    padding:12px;
    border:1px solid var(--oc-line);
    border-radius:10px;
    background:#f8f9fa;
}
.oc-muted{color:var(--oc-muted)}
.oc-small{font-size:.76rem;line-height:1.45}
.oc-mono{
    font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size:.69rem;
    word-break:break-all;
}
.oc-meta-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
.oc-meta{
    min-width:0;
    padding:10px;
    border:1px solid #e5e8ec;
    border-radius:10px;
    background:#fafbfc;
}
.oc-meta-label{
    display:block;
    margin-bottom:3px;
    color:var(--oc-muted);
    font-size:.67rem;
    font-weight:800;
    letter-spacing:.045em;
    text-transform:uppercase;
}
.oc-meta-value{
    display:block;
    overflow:hidden;
    color:#272b30;
    font-size:.79rem;
    font-weight:700;
    line-height:1.35;
    text-overflow:ellipsis;
}
.oc-note{
    padding:9px 10px;
    border-left:3px solid #c8ced5;
    border-radius:0 8px 8px 0;
    background:#f7f8f9;
    color:#4f5863;
    font-size:.76rem;
    line-height:1.45;
}
@media(max-width:1000px){
    .oc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .oc-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
    .oc-page-heading{align-items:flex-start;flex-direction:column}
    .oc-stat-grid,.oc-meta-grid{grid-template-columns:1fr}
}


/* 7CATS_ORCHESTRATOR_FILTER_MENU_V100
   Shared multi-choice filter primitive for server-rendered forms. */
.oc-filter-menu{
    position:relative;
    min-width:0;
}
.oc-filter-menu > summary{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    min-height:40px;
    padding:9px 34px 9px 10px;
    border:1px solid #bfc5cc;
    border-radius:8px;
    background:#fff;
    color:var(--oc-text,#17191c);
    font-size:.84rem;
    cursor:pointer;
    list-style:none;
    user-select:none;
}
.oc-filter-menu > summary::-webkit-details-marker{display:none}
.oc-filter-menu > summary::after{
    content:"▾";
    position:absolute;
    right:11px;
    top:50%;
    transform:translateY(-50%);
    color:var(--oc-muted,#68707a);
    font-size:.78rem;
}
.oc-filter-menu[open] > summary{
    border-color:#8d959f;
    box-shadow:0 0 0 2px #0000000a;
}
.oc-filter-menu-panel{
    position:absolute;
    z-index:45;
    top:calc(100% + 6px);
    left:0;
    min-width:100%;
    width:max-content;
    max-width:min(420px,82vw);
    max-height:330px;
    overflow:auto;
    padding:8px;
    border:1px solid var(--oc-line,#dfe3e8);
    border-radius:10px;
    background:#fff;
    box-shadow:0 12px 28px #0000001f;
}
.oc-filter-menu-hint{
    padding:5px 7px 8px;
    color:var(--oc-muted,#68707a);
    font-size:.72rem;
}
.oc-check-list{
    display:grid;
    gap:3px;
}
.oc-check-option{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin:0;
    padding:7px;
    border-radius:7px;
    cursor:pointer;
    font-size:.8rem;
    font-weight:500;
}
.oc-check-option:hover{background:#f4f6f8}
.oc-check-option input{
    flex:0 0 auto;
    width:auto;
    margin:2px 0 0;
}
.oc-check-option span{display:block;min-width:0}
.oc-check-option strong{display:block;font-size:.8rem}
.oc-check-option small{
    display:block;
    margin-top:1px;
    color:var(--oc-muted,#68707a);
    font-size:.7rem;
    font-weight:400;
}
@media(max-width:700px){
    .oc-filter-menu-panel{
        position:static;
        width:100%;
        max-width:none;
        margin-top:6px;
    }
}


/* 7CATS_ORCHESTRATOR_PAGINATION_V100
   Shared pagination layout for server-rendered operational lists. */
.oc-pagination{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:12px;
    margin-top:14px;
}
.oc-pagination-summary{
    color:var(--oc-muted,#68707a);
    font-size:.78rem;
}
.oc-pagination-summary.is-end{text-align:right}
.oc-pagination-pages{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}
@media(max-width:700px){
    .oc-pagination{grid-template-columns:1fr}
    .oc-pagination-pages{justify-content:flex-start;flex-wrap:wrap}
    .oc-pagination-summary.is-end{text-align:left}
}


/* 7CATS_ORCHESTRATOR_INDEX_LIST_UX_V100 */
.oc-index-layout{display:block!important}.oc-index-layout>section{width:100%!important;max-width:none!important}.oc-index-layout>section:first-child{margin-bottom:12px}
.oc-create-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none}.oc-create-disclosure>summary::-webkit-details-marker{display:none}.oc-create-disclosure>summary>div{display:grid;gap:3px}.oc-create-disclosure>summary span:not(.oc-button){color:var(--oc-muted,#68707a);font-size:.78rem}.oc-create-disclosure-panel{margin-top:16px;padding-top:14px;border-top:1px solid var(--oc-line,#dfe3e8)}
.oc-index-card{padding:20px!important}.oc-index-total{display:flex;align-items:baseline;gap:7px}.oc-index-total strong{font-size:1.45rem}.oc-index-total span{color:var(--oc-muted,#68707a);font-size:.76rem}
.oc-status-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 12px}.oc-status-tabs a{display:inline-flex;gap:6px;padding:7px 10px;border:1px solid var(--oc-line,#dfe3e8);border-radius:999px;background:#fff;color:var(--oc-text,#1f2328);font-size:.76rem;font-weight:650;text-decoration:none}.oc-status-tabs a.is-active{border-color:#111;background:#111;color:#fff}
.oc-filter-bar{display:grid;grid-template-columns:minmax(260px,1fr) minmax(150px,190px) minmax(120px,150px) auto auto;gap:8px;align-items:center;margin-bottom:14px}.oc-filter-bar input,.oc-filter-bar select,.oc-filter-bar button,.oc-filter-bar .oc-button{min-height:40px;margin:0}
.oc-table-shell{width:100%;overflow:auto;border:1px solid var(--oc-line,#dfe3e8);border-radius:10px}.oc-data-table{min-width:920px;margin:0}.oc-data-table thead th{padding:9px 10px;background:#f7f8fa;color:#4e5661;font-size:.72rem}.oc-data-table tbody td{padding:12px 10px}.oc-data-table tbody tr:hover{background:#fafbfc}
.oc-entity-cell{min-width:300px}.oc-entity-title{display:flex;align-items:center;gap:8px;margin-bottom:4px}.oc-entity-title>a{color:var(--oc-text,#1f2328);font-weight:750;text-decoration:none}.oc-entity-subline{display:flex;gap:5px;margin-top:3px;color:var(--oc-muted,#68707a);font-size:.72rem}.oc-path{display:inline-block;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oc-inline-details{margin-top:5px;color:var(--oc-muted,#68707a);font-size:.7rem}
.oc-workstream-summary{display:flex;align-items:baseline;gap:5px;margin-bottom:4px}.oc-workstream-summary span{color:var(--oc-muted,#68707a);font-size:.72rem}.oc-clamp-2{display:-webkit-box;max-width:360px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--oc-muted,#68707a);font-size:.72rem}.oc-metric-row{display:flex;flex-wrap:wrap;gap:6px}.oc-metric-row span{padding:4px 6px;border-radius:6px;background:#f3f5f7;font-size:.7rem}.oc-actions-cell{width:1%;white-space:nowrap}
@media(max-width:900px){.oc-filter-bar{grid-template-columns:1fr 1fr}.oc-filter-bar>:first-child{grid-column:1/-1}}@media(max-width:600px){.oc-create-disclosure>summary{align-items:flex-start;flex-direction:column}.oc-filter-bar{grid-template-columns:1fr}.oc-filter-bar>:first-child{grid-column:auto}}

/* 7CATS_ORCHESTRATOR_LIVE_LIST_V100 */
[data-oc-live-list]{position:relative}
[data-oc-live-list].is-loading{opacity:.64;pointer-events:none}
[data-oc-live-list].is-loading::after{
    content:"Actualizando…";
    position:absolute;
    z-index:20;
    top:12px;
    right:14px;
    padding:5px 8px;
    border:1px solid var(--oc-line,#dfe3e8);
    border-radius:999px;
    background:#fff;
    color:var(--oc-muted,#68707a);
    font-size:.7rem;
    font-weight:700;
    box-shadow:0 3px 10px #00000012
}

/* 7CATS_ORCHESTRATOR_BULK_SELECT_V100 */
.oc-bulk-bar{
    display:grid;
    grid-template-columns:minmax(210px,1fr) minmax(220px,320px) auto;
    gap:10px;
    align-items:center;
    margin:12px 0;
    padding:10px 12px;
    border:1px solid var(--oc-line,#dfe3e8);
    border-radius:10px;
    background:#f8f9fa
}
.oc-bulk-selection{display:grid;gap:2px}
.oc-bulk-selection strong{font-size:.82rem}
.oc-bulk-selection span{color:var(--oc-muted,#68707a);font-size:.7rem}
.oc-bulk-bar select{margin:0;min-height:38px}
.oc-table-select{width:38px;text-align:center!important}
.oc-table-select input{width:auto;margin:0}
@media(max-width:760px){.oc-bulk-bar{grid-template-columns:1fr}}

/* 7CATS_ORCHESTRATOR_DOCUMENT_FOUNDATION_V100 */
html{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body{
    margin:0;
    background:#f4f5f7;
    color:#1f2328;
    font-family:inherit;
}
button,
input,
select,
textarea{
    font-family:inherit;
}
/* 7CATS_ORCHESTRATOR_GLOBAL_LIST_LAYOUT_V100 */
.oc-app-wrap{width:min(1280px,calc(100% - 28px));margin:22px auto}
.oc-filter-grid{
    display:grid;
    grid-template-columns:minmax(220px,1.5fr) repeat(5,minmax(130px,.75fr)) auto;
    gap:9px;align-items:end;margin:16px 0 12px;padding:11px;
    border:1px solid var(--oc-line,#dfe3e8);border-radius:11px;background:#f8f9fa
}
.oc-filter-field{display:grid;gap:5px;min-width:0}
.oc-filter-field label{margin:0;color:var(--oc-muted,#68707a);font-size:.7rem;font-weight:750}
.oc-filter-field input,.oc-filter-field select{width:100%;min-width:0;margin:0;min-height:38px}
.oc-filter-actions{display:flex;gap:7px;align-items:center}
@media(max-width:1100px){
    .oc-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .oc-filter-field.is-search{grid-column:span 2}
}
@media(max-width:760px){
    .oc-app-wrap{width:min(100% - 18px,1280px);margin:12px auto}
    .oc-filter-grid{grid-template-columns:1fr}
    .oc-filter-field.is-search{grid-column:auto}
    .oc-filter-actions{flex-wrap:wrap}
}

/* 7CATS_PROJECTS_STATIC_CSS_CENTRALIZED_V100 */
:root{
    --bg:#f4f5f7;
    --card:#fff;
    --line:#dfe3e8;
    --muted:#68707a;
    --green:#087a24;
    --red:#a4262c;
}
*{box-sizing:border-box}
body{
    margin:0;
    background:var(--bg);
    color:#1f2328;
    font-family:system-ui,-apple-system,Segoe UI,sans-serif;
}
.project-detail-layout{
    display:block !important;
}
.project-detail-layout > section{
    width:100% !important;
    max-width:none !important;
}
.workstream-slot-button{
    margin-left:auto;
    white-space:nowrap;
}
header{
    padding:14px 20px;
    background:#111;
    color:#fff;
}
.wrap{
    max-width:1280px;
    margin:22px auto;
    padding:0 14px 30px;
}
.projects-nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
}
.projects-nav a{
    padding:8px 11px;
    border:1px solid #cfd5dc;
    border-radius:8px;
    background:#fff;
    color:#222;
    font-size:.84rem;
    font-weight:700;
    text-decoration:none;
}
.projects-nav a.active{
    border-color:#111;
    background:#111;
    color:#fff;
}
.layout{
    display:grid;
    grid-template-columns:minmax(350px,.82fr) minmax(0,1.5fr);
    gap:18px;
    align-items:start;
}
.card{
    margin-bottom:18px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--card);
    box-shadow:0 3px 14px #0000000d;
}
.card h1,.card h2{margin-top:0}
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
label{
    display:block;
    margin:10px 0 5px;
    font-size:.82rem;
    font-weight:700;
}
input,textarea,select{
    width:100%;
    padding:10px;
    border:1px solid #bfc5cc;
    border-radius:8px;
    background:#fff;
}
textarea{
    min-height:90px;
    resize:vertical;
}
.notes{min-height:145px}
.aliases{min-height:105px}
.check{
    display:flex;
    gap:8px;
    align-items:center;
    margin:14px 0;
}
.check input{width:auto}
.check label{margin:0}
button,.button{
    display:inline-block;
    padding:9px 12px;
    border:0;
    border-radius:8px;
    background:#111;
    color:#fff;
    cursor:pointer;
    font-weight:700;
    text-decoration:none;
}
.button.secondary{
    background:#e9edf1;
    color:#222;
}
.small{
    color:var(--muted);
    font-size:.78rem;
}
.notice,.error{
    margin-bottom:14px;
    padding:11px 13px;
    border-radius:9px;
    font-weight:700;
}
.notice{
    border:1px solid #abd2b4;
    background:#eff9f1;
    color:var(--green);
}
.error{
    border:1px solid #e2b3b6;
    background:#fff0f1;
    color:var(--red);
}
.filters{
    display:grid;
    grid-template-columns:1fr 190px auto;
    gap:8px;
    margin-bottom:12px;
}
.counts{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:14px;
}
.pill{
    display:inline-block;
    padding:4px 8px;
    border-radius:999px;
    background:#eef1f4;
    font-size:.75rem;
}
.pill.active{
    background:#e9f7ed;
    color:var(--green);
}
.pill.paused{
    background:#fff4d8;
    color:#795b00;
}
.pill.archived{
    background:#eceff2;
    color:#58606a;
}
table{
    width:100%;
    border-collapse:collapse;
    font-size:.82rem;
}
th,td{
    padding:9px 7px;
    border-bottom:1px solid var(--line);
    text-align:left;
    vertical-align:top;
}
code{
    white-space:pre-wrap;
    word-break:break-word;
}
.uid{
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    word-break:break-all;
}
.audit{
    max-height:280px;
    overflow:auto;
}
.audit-item{
    padding:8px 0;
    border-bottom:1px solid var(--line);
}
.task-reassign-form{
    display:flex;
    gap:6px;
    align-items:center;
}
.task-reassign-form select{min-width:200px}

/* 7CATS_PROJECT_DETAIL_UNIFIED_TASKS_UX_STYLES_V100 */
.project-detail-operations{min-width:0}
.project-detail-section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:12px;
}
.project-detail-section-head h2{margin:0 0 4px}
.project-detail-section-head p{margin:0}
.project-detail-stats{margin:14px 0}
.project-workstream-summary-wrap,
.project-tasks-table-wrap{overflow:auto}
.project-workstream-summary{min-width:900px}
.project-workstream-summary td:first-child{min-width:250px}
.project-workstream-summary .oc-actions{min-width:245px}
.project-tasks-section{
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid var(--line);
}
.project-task-toolbar{
    display:grid;
    grid-template-columns:minmax(260px,1.45fr) minmax(190px,.9fr) minmax(155px,.7fr) 110px auto;
    gap:9px;
    align-items:end;
    margin:14px 0;
    padding:12px;
    border:1px solid #dfe3e8;
    border-radius:11px;
    background:#f8f9fa;
}
.project-task-toolbar label{margin-top:0}
.project-task-toolbar-actions{
    display:flex;
    gap:7px;
    align-items:center;
    padding-bottom:1px;
}
.project-tasks-table{min-width:1050px}
.project-tasks-table .task-id-cell{width:70px;font-weight:750}
.project-tasks-table .task-title-cell{min-width:320px}
.project-tasks-table .task-description{
    max-width:520px;
    margin-top:4px;
    line-height:1.4;
}
.project-tasks-table .task-actions-cell{width:120px}
.task-manage-actions{position:relative}
.task-manage-actions > summary{list-style:none}
.task-manage-actions > summary::-webkit-details-marker{display:none}
.task-manage-actions[open] .task-manage-panel{
    position:absolute;
    z-index:20;
    right:0;
    width:min(560px,80vw);
    margin-top:7px;
    padding:12px;
    border:1px solid #d8dde3;
    border-radius:10px;
    background:#fff;
    box-shadow:0 12px 30px #00000022;
}
.task-manage-block + .task-manage-block{
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid #e5e7eb;
}
.task-manage-block > strong{
    display:block;
    margin-bottom:7px;
    font-size:.78rem;
}
.task-manage-panel .task-reassign-form{
    display:grid;
    grid-template-columns:minmax(220px,1fr) auto;
}
.project-task-empty{
    padding:28px;
    border:1px dashed #cfd5dc;
    border-radius:10px;
    color:var(--muted);
    text-align:center;
}
.project-task-pagination{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:12px;
    margin-top:14px;
}
.project-task-pagination > :last-child{text-align:right}
.project-task-pages{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
}
@media(max-width:1000px){
    .project-task-toolbar{grid-template-columns:1fr 1fr}
    .project-task-toolbar-actions{grid-column:1/-1}
}
@media(max-width:700px){
    .project-detail-section-head{flex-direction:column}
    .project-task-toolbar{grid-template-columns:1fr}
    .project-task-toolbar-actions{grid-column:auto}
    .project-task-pagination{grid-template-columns:1fr}
    .project-task-pagination > :last-child{text-align:left}
    .project-task-pages{justify-content:flex-start;flex-wrap:wrap}
}


@media(max-width:920px){
    .layout,.form-grid,.filters{grid-template-columns:1fr}
    table{display:block;overflow:auto}
}
/* END_7CATS_PROJECTS_STATIC_CSS_CENTRALIZED_V100 */

/* 7CATS_FEEDBACK_GUIDANCE_SHARED_CSS_V100 */
.feedback-guidance{margin:12px 0;padding:14px;border-radius:10px;border:1px solid #c8d4df;background:#f5f9fc;color:#243746}.feedback-guidance.error-state{border-color:#e2b3b6;background:#fff5f5;color:#70252a}.feedback-guidance.warning-state{border-color:#e6c46a;background:#fffaf0;color:#654d12}.feedback-guidance.recovery-state{border-color:#c78a42;background:#fff4e8;color:#5f3512}.feedback-guidance h3{margin:0 0 7px;font-size:.98rem}.feedback-guidance p{margin:6px 0}.feedback-guidance ul{margin:8px 0 12px;padding-left:21px}.feedback-guidance li{margin:4px 0}.feedback-guidance-status{margin-left:8px;font-size:.76rem;font-weight:700}.feedback-guidance-meta{font-size:.76rem;opacity:.82}.feedback-guidance .button-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
/* END_7CATS_FEEDBACK_GUIDANCE_SHARED_CSS_V100 */

/* 7CATS_TASK_SLOTS_SCOPED_CSS_V100 */
body.task-slots-screen{
    --bg:#f4f5f7;
    --card:#fff;
    --line:#dfe3e8;
    --muted:#68707a;
    --green:#087a24;
    --amber:#8a6200;
    --red:#a4262c;
}
body.task-slots-screen *{box-sizing:border-box}
body.task-slots-screen{
    margin:0;
    background:var(--bg);
    color:#17191c;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.task-slots-screen .wrap{max-width:1500px;margin:0 auto;padding:20px}
body.task-slots-screen .page-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin:2px 0 18px}
body.task-slots-screen .page-heading h1{margin:0;font-size:1.75rem}
body.task-slots-screen .subtitle{color:var(--muted);margin:5px 0 0}
body.task-slots-screen .identity-note{text-align:right;color:var(--muted);font-size:.78rem}
body.task-slots-screen .grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
body.task-slots-screen .span-3{grid-column:span 3}
body.task-slots-screen .span-4{grid-column:span 4}
body.task-slots-screen .span-8{grid-column:span 8}
body.task-slots-screen .span-12{grid-column:1/-1}
body.task-slots-screen .card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:14px;
    padding:17px;
    box-shadow:0 3px 14px #0000000d;
}
body.task-slots-screen .metric strong{display:block;font-size:1.75rem;line-height:1.1}
body.task-slots-screen .metric span{color:var(--muted);font-size:.82rem}
body.task-slots-screen .metric .metric-caption{margin-top:5px;display:block}
body.task-slots-screen .notice,body.task-slots-screen .warning,body.task-slots-screen .error{
    padding:11px 13px;
    border-radius:10px;
    margin-bottom:12px;
    font-size:.86rem;
}
body.task-slots-screen .notice{background:#eaf7ed;border:1px solid #9bcaa7}
body.task-slots-screen .warning{background:#fff8df;border:1px solid #ead690;color:#725500}
body.task-slots-screen .warning.strong,body.task-slots-screen .error{background:#fdecec;border:1px solid #db8f8f;color:#7d1d23}
body.task-slots-screen .section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
body.task-slots-screen .section-heading h2{margin:0;font-size:1.08rem}
body.task-slots-screen .small{font-size:.78rem;color:var(--muted);line-height:1.45}
body.task-slots-screen .uid{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;word-break:break-all}
body.task-slots-screen .pill{
    display:inline-block;
    padding:3px 8px;
    border-radius:999px;
    background:#eef1f4;
    font-size:.74rem;
}
body.task-slots-screen .pill.active{background:#e9f7ed;color:#075f20}
body.task-slots-screen .pill.paused,body.task-slots-screen .warning-pill{background:#fff4d8;color:#725500}
body.task-slots-screen .pill.stale{background:#fdecec;color:#8a2228}
body.task-slots-screen .slot-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
body.task-slots-screen .slot-table{width:100%;border-collapse:collapse}
body.task-slots-screen .slot-table th,body.task-slots-screen .slot-table td{
    text-align:left;
    padding:11px 9px;
    border-bottom:1px solid #e5e7eb;
    vertical-align:top;
}
body.task-slots-screen .slot-table th{font-size:.76rem;color:var(--muted);font-weight:750}
body.task-slots-screen .slot-table tr:last-child td{border-bottom:0}
body.task-slots-screen .slot-number-cell{width:170px}
body.task-slots-screen .slot-number{font-weight:800;font-size:1rem}
body.task-slots-screen .slot-description{margin-top:4px;max-width:620px}
body.task-slots-screen .empty-state{padding:28px!important;text-align:center;color:var(--muted)}
body.task-slots-screen .model-note{
    border-left:4px solid #bbc2ca;
    padding:2px 0 2px 12px;
    color:var(--muted);
    font-size:.8rem;
    line-height:1.5;
}
body.task-slots-screen input,body.task-slots-screen textarea,body.task-slots-screen select{
    width:100%;
    padding:10px;
    border:1px solid #bfc5cc;
    border-radius:8px;
    background:#fff;
    font:inherit;
}
body.task-slots-screen textarea{min-height:78px;resize:vertical}
body.task-slots-screen label{display:block;margin:10px 0 5px;font-size:.82rem;font-weight:700}
body.task-slots-screen .button,body.task-slots-screen button:not(.oc-button){
    display:inline-block;
    padding:9px 12px;
    border:0;
    border-radius:8px;
    background:#111;
    color:#fff;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}
body.task-slots-screen button.green,body.task-slots-screen .button.green{background:var(--green)}
body.task-slots-screen button.secondary,body.task-slots-screen .button.secondary{background:#e9edf1;color:#222}
body.task-slots-screen button.danger,body.task-slots-screen .button.danger{background:var(--red)}
body.task-slots-screen .actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
body.task-slots-screen .create-grid{
    display:grid;
    grid-template-columns:minmax(250px,1.3fr) minmax(190px,.8fr) minmax(220px,1fr) 180px;
    gap:10px;
    align-items:end;
}
body.task-slots-screen .create-grid .description-field{grid-column:1/4}
body.task-slots-screen .fixed-context-value{
    min-height:42px;
    display:flex;
    align-items:center;
    padding:10px;
    border:1px solid #d5dbe2;
    border-radius:8px;
    background:#f5f7f9;
    font-size:.84rem;
    font-weight:700;
}
body.task-slots-screen .create-grid .submit-field{display:flex;align-items:end;height:100%}
body.task-slots-screen .create-grid .submit-field button{width:100%}
body.task-slots-screen .slot-actions-cell{width:185px}
body.task-slots-screen .slot-actions{display:grid;gap:6px}
body.task-slots-screen .slot-actions form{margin:0}
body.task-slots-screen .small-button{padding:7px 9px;font-size:.75rem;width:100%}
body.task-slots-screen .note-details summary,body.task-slots-screen .chat-details summary,body.task-slots-screen .edit-details summary{
    cursor:pointer;
    font-size:.76rem;
    font-weight:700;
    color:#38414b;
    padding:5px 0;
}
body.task-slots-screen .note-details textarea{min-height:68px;margin:6px 0}
body.task-slots-screen .edit-details input,body.task-slots-screen .edit-details textarea{margin:6px 0}
body.task-slots-screen .edit-details textarea{min-height:68px}
body.task-slots-screen .edit-context{
    margin:6px 0 8px;
    padding:7px 8px;
    background:#f5f6f7;
    border-radius:7px;
    color:#4f5863;
    font-size:.76rem;
    line-height:1.4;
}
body.task-slots-screen .copy-ai-context.copied{font-weight:800}
body.task-slots-screen .chat-details input{margin:6px 0}
body.task-slots-screen .unlink-chat-form{margin-top:5px!important}
body.task-slots-screen .current-chat{
    margin-top:7px;
    padding:7px 8px;
    background:#f5f6f7;
    border-radius:7px;
    color:#4f5863;
}
body.task-slots-screen .current-chat a{font-weight:700;color:#245b9e;text-decoration:none}
body.task-slots-screen .current-chat a:hover{text-decoration:underline}
body.task-slots-screen .current-chat.no-chat{color:var(--muted)}
body.task-slots-screen .chat-url{
    margin-top:3px;
    max-width:360px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
body.task-slots-screen .latest-note{
    margin-top:7px;
    padding:7px 8px;
    background:#f5f6f7;
    border-radius:7px;
    color:#4f5863;
}
body.task-slots-screen .compact-list{margin:7px 0 0;padding-left:20px}
body.task-slots-screen .context-prefill-note{
    margin:0 0 10px;
    padding:8px 10px;
    border-radius:8px;
    background:#eef5ff;
    border:1px solid #c7d8ef;
    color:#3d4e63;
    font-size:.8rem;
}
body.task-slots-screen .context-prefill-note span{
    display:block;
    margin-top:3px;
    color:var(--muted);
}
body.task-slots-screen .create-confirm-card{margin-bottom:14px;border-color:#e2c978}
body.task-slots-screen .readonly-note{margin-bottom:14px}

body.task-slots-screen .slot-card-list{display:grid;gap:12px}
body.task-slots-screen .slot-card{overflow:visible}
body.task-slots-screen .slot-card-main{padding:16px}
body.task-slots-screen .slot-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
body.task-slots-screen .slot-card-identity{min-width:0}
body.task-slots-screen .slot-eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px}
body.task-slots-screen .slot-card h3{margin:0 0 5px;font-size:1.08rem;line-height:1.25;letter-spacing:-.01em}
body.task-slots-screen .slot-card-description{max-width:900px;margin:11px 0 0;color:#535c66;font-size:.82rem;line-height:1.5}
body.task-slots-screen .slot-card-primary-actions{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
body.task-slots-screen .slot-card-primary-actions form{margin:0}
body.task-slots-screen .slot-card-meta{margin-top:13px}
body.task-slots-screen .slot-card-note{margin-top:10px}
body.task-slots-screen .slot-no-chat{margin-top:9px}
body.task-slots-screen .slot-card-footer{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid #e6e9ed;background:#fafbfc}
body.task-slots-screen .slot-more-actions{margin-left:auto}
body.task-slots-screen .slot-more-actions[open]{width:min(720px,100%)}
body.task-slots-screen .slot-more-panel{position:relative}
body.task-slots-screen .slot-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.task-slots-screen .slot-action-detail{padding:9px 10px;border:1px solid #e0e4e8;border-radius:9px;background:#fff}
body.task-slots-screen .slot-action-detail > summary{cursor:pointer;font-size:.78rem;font-weight:800}
body.task-slots-screen .slot-action-detail form{margin-top:8px}
body.task-slots-screen .slot-action-detail input,body.task-slots-screen .slot-action-detail textarea{margin:5px 0}
body.task-slots-screen .slot-action-detail textarea{min-height:74px}
body.task-slots-screen .slot-complete-form{display:flex;justify-content:flex-end;margin:12px 0 0;padding-top:10px;border-top:1px solid #e0e4e8}
body.task-slots-screen .copy-ai-context.copied{background:#e9f7ed!important;border-color:#9bcaa7!important;color:#075f20!important}
@media(max-width:900px){
    body.task-slots-screen .slot-card-heading{flex-direction:column}
    body.task-slots-screen .slot-card-primary-actions{justify-content:flex-start}
    body.task-slots-screen .slot-more-grid{grid-template-columns:1fr}
    body.task-slots-screen .slot-more-actions[open]{width:100%}
}

@media(max-width:1000px){
    body.task-slots-screen .span-3{grid-column:span 6}
    body.task-slots-screen .span-4,body.task-slots-screen .span-8{grid-column:1/-1}
    body.task-slots-screen .create-grid{grid-template-columns:1fr 1fr}
    body.task-slots-screen .create-grid .description-field{grid-column:1/-1}
}
@media(max-width:700px){
    body.task-slots-screen .span-3{grid-column:1/-1}
    body.task-slots-screen .page-heading{align-items:flex-start;flex-direction:column}
    body.task-slots-screen .identity-note{text-align:left}
    body.task-slots-screen .create-grid{grid-template-columns:1fr}
    body.task-slots-screen .create-grid .description-field{grid-column:auto}
    body.task-slots-screen .slot-table-wrap{overflow:auto}
    body.task-slots-screen .slot-table{min-width:900px}
}
/* END_7CATS_TASK_SLOTS_SCOPED_CSS_V100 */

/* 7CATS_OPERATIONAL_DASHBOARD_SCOPED_CSS_V100 */
body.operational-dashboard-screen{
 --bg:#f4f5f7;--card:#fff;--line:#dfe3e8;--muted:#68707a;
 --green:#087a24;--red:#a4262c;--amber:#795b00;--blue:#165d9c;
}
body.operational-dashboard-screen *{box-sizing:border-box}
body.operational-dashboard-screen{margin:0;background:var(--bg);color:#1f2328;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
/* Header visual promoted to #orchestrator-global-header (universal). */
/* Header form/button visual now owned by universal header selectors. */
body.operational-dashboard-screen .wrap{max-width:1320px;margin:22px auto;padding:0 14px 34px}
body.operational-dashboard-screen .op-nav{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
body.operational-dashboard-screen .op-nav a{padding:8px 10px;border:1px solid #cfd5dc;border-radius:8px;background:#fff;color:#222;font-size:.82rem;font-weight:700;text-decoration:none}
body.operational-dashboard-screen .op-nav a.active{border-color:#111;background:#111;color:#fff}
body.operational-dashboard-screen .page-title{margin:0 0 3px}body.operational-dashboard-screen .subtitle{margin:0 0 18px;color:var(--muted)}
body.operational-dashboard-screen .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}body.operational-dashboard-screen .span-3{grid-column:span 3}body.operational-dashboard-screen .span-4{grid-column:span 4}body.operational-dashboard-screen .span-5{grid-column:span 5}body.operational-dashboard-screen .span-6{grid-column:span 6}body.operational-dashboard-screen .span-7{grid-column:span 7}body.operational-dashboard-screen .span-8{grid-column:span 8}body.operational-dashboard-screen .span-12{grid-column:1/-1}
body.operational-dashboard-screen .card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:17px;box-shadow:0 3px 14px #0000000d}body.operational-dashboard-screen .card h2,body.operational-dashboard-screen .card h3{margin:0 0 12px}body.operational-dashboard-screen .metric strong{display:block;font-size:1.75rem;line-height:1.1}body.operational-dashboard-screen .metric span{color:var(--muted);font-size:.82rem}body.operational-dashboard-screen .metric a{text-decoration:none;color:inherit}
body.operational-dashboard-screen .small{font-size:.78rem;color:var(--muted)}body.operational-dashboard-screen .uid{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}
body.operational-dashboard-screen .pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef1f4;font-size:.74rem;font-weight:700}body.operational-dashboard-screen .pill.ok{background:#e9f7ed;color:var(--green)}body.operational-dashboard-screen .pill.bad{background:#fff0f1;color:var(--red)}body.operational-dashboard-screen .pill.running{background:#eaf3ff;color:var(--blue)}body.operational-dashboard-screen .pill.new{background:#fff4d8;color:var(--amber)}
body.operational-dashboard-screen .notice,body.operational-dashboard-screen .warning,body.operational-dashboard-screen .error{padding:11px 13px;border-radius:9px;margin-bottom:14px;font-weight:650}body.operational-dashboard-screen .notice{background:#eff9f1;border:1px solid #abd2b4;color:var(--green)}body.operational-dashboard-screen .warning{background:#fff8df;border:1px solid #ead690;color:var(--amber)}body.operational-dashboard-screen .error{background:#fff0f1;border:1px solid #e2b3b6;color:var(--red)}
body.operational-dashboard-screen .button,body.operational-dashboard-screen button{display:inline-block;padding:9px 12px;border:0;border-radius:8px;background:#111;color:#fff;font-weight:700;text-decoration:none;cursor:pointer}body.operational-dashboard-screen .button.secondary,body.operational-dashboard-screen button.secondary{background:#e9edf1;color:#222}body.operational-dashboard-screen .button.green,body.operational-dashboard-screen button.green{background:#0a6b2b}body.operational-dashboard-screen .button.muted-button,body.operational-dashboard-screen button.muted-button{background:#6b7280}body.operational-dashboard-screen .button.danger,body.operational-dashboard-screen button.danger{background:#a4262c}body.operational-dashboard-screen .copy{padding:6px 9px;font-size:.76rem}
body.operational-dashboard-screen .actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}body.operational-dashboard-screen .command{display:flex;gap:8px;align-items:center}body.operational-dashboard-screen .command code{flex:1;padding:10px;border-radius:8px;background:#111;color:#fff;white-space:pre-wrap;word-break:break-all}
body.operational-dashboard-screen table{width:100%;border-collapse:collapse;font-size:.82rem}body.operational-dashboard-screen th,body.operational-dashboard-screen td{text-align:left;padding:9px 7px;border-bottom:1px solid var(--line);vertical-align:top}body.operational-dashboard-screen code{white-space:pre-wrap;word-break:break-word}
body.operational-dashboard-screen input,body.operational-dashboard-screen textarea,body.operational-dashboard-screen select{width:100%;padding:10px;border:1px solid #bfc5cc;border-radius:8px;background:#fff}body.operational-dashboard-screen textarea{min-height:78px}body.operational-dashboard-screen label{display:block;margin:10px 0 5px;font-size:.82rem;font-weight:700}body.operational-dashboard-screen .filters{display:grid;grid-template-columns:minmax(220px,1fr) 190px 170px 160px auto;gap:8px;margin-bottom:14px}body.operational-dashboard-screen .lifecycle-actions{display:grid;gap:6px;min-width:170px}body.operational-dashboard-screen .lifecycle-actions form{margin:0}body.operational-dashboard-screen .lifecycle-actions button{width:100%;padding:7px 9px;font-size:.73rem}body.operational-dashboard-screen .stale-note{margin-top:6px;color:var(--red);font-size:.72rem;font-weight:750}body.operational-dashboard-screen .package{padding:15px 0;border-top:1px solid var(--line)}body.operational-dashboard-screen .package:first-of-type{border-top:0;padding-top:0}body.operational-dashboard-screen .suggest{margin:10px 0;padding:12px;border:1px solid #b8ddc1;border-radius:10px;background:#f0f8f2}body.operational-dashboard-screen .match-note{margin:10px 0;padding:9px 10px;border-radius:8px;font-size:.82rem}body.operational-dashboard-screen .match-note.exact{background:#eaf7ed;color:#075f20;border:1px solid #b8ddc1}body.operational-dashboard-screen .match-note.similar{background:#fff8df;color:#725500;border:1px solid #ead690}body.operational-dashboard-screen .match-note.none{background:#f5f6f7;color:#59616b;border:1px solid #dfe3e8}body.operational-dashboard-screen .dismiss-form{margin-top:8px}body.operational-dashboard-screen .prepare-form [hidden]{display:none!important}body.operational-dashboard-screen .review-form{display:inline}body.operational-dashboard-screen .activity{margin:0;padding:0;list-style:none}body.operational-dashboard-screen .activity li{padding:9px 0;border-bottom:1px solid var(--line)}body.operational-dashboard-screen .ai-summary{margin-top:8px;padding:9px 10px;border:1px solid #c9d9ea;border-radius:9px;background:#f3f8fd;color:#23415d;font-size:.76rem;line-height:1.45}body.operational-dashboard-screen .ai-actions{margin-top:7px}body.operational-dashboard-screen .ai-request-form{display:inline;margin:0}body.operational-dashboard-screen .report-interactions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}body.operational-dashboard-screen .interaction-chip{display:inline-block;padding:3px 7px;border:1px solid #d8dde3;border-radius:999px;background:#f7f8f9;color:#4f5863;font-size:.71rem}body.operational-dashboard-screen .interaction-chip[data-copy-stat]{display:inline-flex;align-items:center;gap:5px;font-weight:750}body.operational-dashboard-screen .interaction-chip[data-copy-stat]::before{content:"";width:7px;height:7px;border-radius:50%;flex:0 0 7px}body.operational-dashboard-screen .interaction-chip[data-copy-stat][data-count="0"]{background:#fff4d8;border-color:#ead690;color:#725500}body.operational-dashboard-screen .interaction-chip[data-copy-stat][data-count="0"]::before{background:#d97706;box-shadow:0 0 0 2px rgba(217,119,6,.15)}body.operational-dashboard-screen .interaction-chip[data-copy-stat]:not([data-count="0"]){background:#e9f7ed;border-color:#b8ddc1;color:#075f20}body.operational-dashboard-screen .interaction-chip[data-copy-stat]:not([data-count="0"])::before{background:#16a34a;box-shadow:0 0 0 2px rgba(22,163,74,.14)}body.operational-dashboard-screen .interaction-detail{width:100%;margin-top:2px;color:var(--muted);font-size:.72rem;line-height:1.45}

@media(max-width:980px){body.operational-dashboard-screen .span-3,body.operational-dashboard-screen .span-4,body.operational-dashboard-screen .span-5,body.operational-dashboard-screen .span-6,body.operational-dashboard-screen .span-7,body.operational-dashboard-screen .span-8{grid-column:span 6}body.operational-dashboard-screen .filters{grid-template-columns:1fr 1fr}}
@media(max-width:700px){body.operational-dashboard-screen .span-3,body.operational-dashboard-screen .span-4,body.operational-dashboard-screen .span-5,body.operational-dashboard-screen .span-6,body.operational-dashboard-screen .span-7,body.operational-dashboard-screen .span-8{grid-column:1/-1}body.operational-dashboard-screen .filters{grid-template-columns:1fr}body.operational-dashboard-screen .command{display:block}body.operational-dashboard-screen .command button{margin-top:8px}body.operational-dashboard-screen table{display:block;overflow:auto}}
/* END_7CATS_OPERATIONAL_DASHBOARD_SCOPED_CSS_V100 */

/* 7CATS_INBOX_SHARED_LAYOUT_CSS_V100 */
body.operational-dashboard-screen.operational-view-inbox .inbox-layout{
  align-items:start;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-package-toolbar{
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-package-heading{
  margin:0;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-scan-form{
  margin:0;
  flex:0 0 auto;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-pending-card > .package{
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px;
  margin-top:12px;
  background:var(--card);
}
body.operational-dashboard-screen.operational-view-inbox .inbox-pending-card > .package:first-of-type{
  border:1px solid var(--line);
  padding:16px;
  margin-top:12px;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-execution-actions{
  margin-top:10px;
  flex-wrap:wrap;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-root-note{
  margin-top:8px;
}
body.operational-dashboard-screen.operational-view-inbox .inbox-flow-card{
  align-self:start;
  position:sticky;
  top:14px;
}
@media(max-width:980px){
  body.operational-dashboard-screen.operational-view-inbox .inbox-package-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }
  body.operational-dashboard-screen.operational-view-inbox .inbox-flow-card{
    position:static;
  }
}
/* END_7CATS_INBOX_SHARED_LAYOUT_CSS_V100 */

/* 7CATS_DOCS_SHARED_CSS_V110 */
body.docs-screen{
    --bg:#f4f5f7;
    --card:#fff;
    --line:#dfe3e8;
    --muted:#68707a;
    --green:#087a24;
    --red:#a4262c;
    --amber:#795b00;
    --blue:#165d9c;
    --redbg:#fff1f0;
    --greenbg:#eefaf1;
    --bluebg:#eef6ff;
    --amberbg:#fff8e6;
    margin:0;
    background:var(--bg);
    color:#1f2328;
    font-family:system-ui,-apple-system,Segoe UI,sans-serif;
}
body.docs-screen *{box-sizing:border-box}

body.docs-screen .wrap{
    max-width:1320px;
    margin:22px auto;
    padding:0 14px 34px;
}

body.docs-screen #orchestrator-global-header button{
    background:#fff;
    color:#111;
    padding:8px 11px;
}

body.docs-screen.docs-index-screen .hero{margin:0 0 18px}
body.docs-screen.docs-index-screen .hero h1{
    margin:0 0 3px;
    font-size:1.75rem;
    letter-spacing:-.02em;
}
body.docs-screen.docs-index-screen .hero p{
    margin:0;
    color:var(--muted);
    font-size:.9rem;
}
body.docs-screen.docs-index-screen .docs-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}
body.docs-screen.docs-index-screen .doc-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:14px;
    padding:17px;
    box-shadow:0 3px 14px #0000000d;
}
body.docs-screen.docs-index-screen .doc-card h2{
    margin:7px 0 8px;
    font-size:1.12rem;
    line-height:1.3;
}
body.docs-screen.docs-index-screen .doc-card p{
    margin:0 0 12px;
    color:var(--muted);
    line-height:1.55;
}
body.docs-screen.docs-index-screen .doc-card a{
    display:inline-block;
    margin-top:2px;
    padding:9px 12px;
    border:0;
    border-radius:8px;
    background:#111;
    color:#fff;
    text-decoration:none;
    font-weight:700;
}
body.docs-screen.docs-index-screen .badge{
    display:inline-block;
    padding:3px 8px;
    border-radius:999px;
    background:#f3f4f6;
    font-size:.74rem;
    font-weight:700;
}

body.docs-screen:not(.docs-index-screen) .doc-head{margin:0 0 18px}
body.docs-screen:not(.docs-index-screen) .doc-head .back{
    display:inline-block;
    margin-bottom:12px;
    color:#111;
    font-size:.82rem;
    font-weight:700;
    text-decoration:none;
}
body.docs-screen:not(.docs-index-screen) .doc-head h1{
    margin:0 0 3px;
    font-size:1.75rem;
    letter-spacing:-.02em;
    line-height:1.2;
}
body.docs-screen:not(.docs-index-screen) .doc-head p{
    margin:0;
    color:var(--muted);
    font-size:.9rem;
    line-height:1.55;
}

body.docs-screen:not(.docs-index-screen) .card{
    margin:0 0 14px;
    padding:17px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--card);
    box-shadow:0 3px 14px #0000000d;
}
body.docs-screen:not(.docs-index-screen) .card h1{
    margin:0 0 12px;
    font-size:1.4rem;
}
body.docs-screen:not(.docs-index-screen) .card h2{
    margin:0 0 12px;
    font-size:1.16rem;
}
body.docs-screen:not(.docs-index-screen) .card h3{
    margin:20px 0 8px;
    font-size:1rem;
}
body.docs-screen:not(.docs-index-screen) .card p,
body.docs-screen:not(.docs-index-screen) .card li{
    line-height:1.62;
}
body.docs-screen:not(.docs-index-screen) .card ul,
body.docs-screen:not(.docs-index-screen) .card ol{
    padding-left:24px;
}

body.docs-screen:not(.docs-index-screen) .info{background:var(--bluebg)}
body.docs-screen:not(.docs-index-screen) .good{
    background:var(--greenbg);
    border-color:#b9e1c1;
}
body.docs-screen:not(.docs-index-screen) .caution{
    background:var(--amberbg);
    border-color:#ead3a0;
}
body.docs-screen:not(.docs-index-screen) .warning{
    background:var(--redbg);
    border-color:#f2b8b5;
}
body.docs-screen:not(.docs-index-screen) .warning strong{color:#b42318}

body.docs-screen:not(.docs-index-screen) code{
    padding:2px 5px;
    border-radius:5px;
    background:#f1f3f5;
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}
body.docs-screen:not(.docs-index-screen) pre{
    overflow:auto;
    padding:15px;
    border-radius:10px;
    background:#111;
    color:#f6f6f6;
    line-height:1.5;
    white-space:pre-wrap;
}
body.docs-screen:not(.docs-index-screen) pre code{
    padding:0;
    background:transparent;
    color:inherit;
}
body.docs-screen:not(.docs-index-screen) .flow{
    padding:14px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fafafa;
    font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
    line-height:1.55;
    white-space:pre-wrap;
}
body.docs-screen:not(.docs-index-screen) .small{
    color:var(--muted);
    font-size:.82rem;
}

body.docs-screen:not(.docs-index-screen) .copy-code{position:relative}
body.docs-screen:not(.docs-index-screen) .copy-code pre{padding-top:44px}
body.docs-screen:not(.docs-index-screen) .copy-code-button{
    position:absolute;
    top:8px;
    right:8px;
    padding:6px 10px;
    border:1px solid #444;
    border-radius:7px;
    background:#fff;
    color:#111;
    font-weight:700;
    cursor:pointer;
}
body.docs-screen:not(.docs-index-screen) .warning-inline{
    margin-top:14px;
    padding:12px 14px;
    border:1px solid #f2b8b5;
    border-radius:9px;
    background:#fff1f0;
    line-height:1.55;
}

body.docs-screen:not(.docs-index-screen) .rule-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
body.docs-screen:not(.docs-index-screen) .rule{
    margin:12px 0;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fafafa;
}
body.docs-screen:not(.docs-index-screen) .rule strong{
    display:block;
    margin-bottom:4px;
}

body.docs-screen:not(.docs-index-screen) .badge{
    display:inline-block;
    margin-right:5px;
    padding:3px 8px;
    border-radius:999px;
    background:#eef1f4;
    font-size:.74rem;
    font-weight:700;
}
body.docs-screen:not(.docs-index-screen) .badge.live{
    background:#e9f7ed;
    color:#075f20;
}
body.docs-screen:not(.docs-index-screen) .badge.pending{
    background:#fff4d8;
    color:#725500;
}

@media(max-width:760px){
    body.docs-screen .wrap{
        margin:12px auto;
        padding:0 9px 28px;
    }
    body.docs-screen.docs-index-screen .docs-grid{
        grid-template-columns:1fr;
    }
    body.docs-screen:not(.docs-index-screen) .rule-grid{
        grid-template-columns:1fr;
    }
}
/* END_7CATS_DOCS_SHARED_CSS_V110 */

/* 7CATS_SNAPSHOTS_SHARED_CSS_V100 */
body.snapshots-screen{
    --bg:#f4f5f7;
    --card:#fff;
    --line:#dfe3e8;
    --muted:#68707a;
    --green:#087a24;
    --red:#a4262c;
    --amber:#795b00;
}
body.snapshots-screen *{box-sizing:border-box}
body.snapshots-screen{
    margin:0;
    background:var(--bg);
    color:#1f2328;
    font-family:system-ui,-apple-system,Segoe UI,sans-serif;
}

body.snapshots-screen .wrap{
    max-width:1240px;
    margin:22px auto;
    padding:0 14px 30px;
}
body.snapshots-screen .snapshot-nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
}
body.snapshots-screen .snapshot-nav a{
    padding:8px 11px;
    border:1px solid #cfd5dc;
    border-radius:8px;
    background:#fff;
    color:#222;
    font-size:.84rem;
    font-weight:700;
    text-decoration:none;
}
body.snapshots-screen .snapshot-nav a.active{
    border-color:#111;
    background:#111;
    color:#fff;
}
body.snapshots-screen .card{
    margin-bottom:18px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--card);
    box-shadow:0 3px 14px #0000000d;
}
body.snapshots-screen .grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}
body.snapshots-screen .metric{
    padding:13px;
    border-radius:10px;
    background:#f6f7f8;
}
body.snapshots-screen .metric strong{display:block;font-size:1.4rem}
body.snapshots-screen .notice,
body.snapshots-screen .error,
body.snapshots-screen .warning{
    margin-bottom:16px;
    padding:12px 14px;
    border-radius:9px;
    font-weight:700;
}
body.snapshots-screen .notice{
    border:1px solid #abd2b4;
    background:#eff9f1;
    color:var(--green);
}
body.snapshots-screen .error{
    border:1px solid #e2b3b6;
    background:#fff0f1;
    color:var(--red);
}
body.snapshots-screen .warning{
    border:1px solid #ead690;
    background:#fff8df;
    color:var(--amber);
}
body.snapshots-screen .command{display:flex;gap:8px;align-items:center}
body.snapshots-screen .command code{
    flex:1;
    padding:11px;
    border:1px solid #cdd3da;
    border-radius:8px;
    background:#111;
    color:#fff;
    white-space:pre-wrap;
    word-break:break-all;
}
body.snapshots-screen button{
    display:inline-block;
    padding:9px 12px;
    border:0;
    border-radius:8px;
    background:#111;
    color:#fff;
    cursor:pointer;
    font-weight:700;
}
body.snapshots-screen button.secondary{background:#e9edf1;color:#222}
body.snapshots-screen table{width:100%;border-collapse:collapse;font-size:.82rem}
body.snapshots-screen th,
body.snapshots-screen td{
    padding:9px 7px;
    border-bottom:1px solid var(--line);
    text-align:left;
    vertical-align:top;
}
body.snapshots-screen .small{color:var(--muted);font-size:.78rem}
body.snapshots-screen .pill{
    display:inline-block;
    margin:2px 3px 2px 0;
    padding:4px 8px;
    border-radius:999px;
    background:#eef1f4;
    font-size:.74rem;
}
body.snapshots-screen .pill.ok{background:#e9f7ed;color:var(--green)}
body.snapshots-screen .pill.bad{background:#fff0f1;color:var(--red)}
body.snapshots-screen code{word-break:break-all}
body.snapshots-screen details{margin-top:7px}
@media(max-width:850px){
body.snapshots-screen .grid{grid-template-columns:1fr}
body.snapshots-screen table{display:block;overflow:auto}
body.snapshots-screen .command{display:block}
body.snapshots-screen .command button{margin-top:8px}
}
body.snapshots-screen .snapshot-refresh-form{margin-top:14px}
body.snapshots-screen .snapshot-copy-buffer{position:fixed;opacity:0;pointer-events:none}
/* END_7CATS_SNAPSHOTS_SHARED_CSS_V100 */

/* 7CATS_WORKFLOW_CONTROLS_SHARED_ASSETS_V101 */
.oc-package-history-page{max-width:1100px;}
.oc-package-history-section{margin-top:18px;}
.oc-package-history-operation{border:1px solid #dfe3e8;border-radius:12px;padding:14px;margin:12px 0;}
.oc-package-history-operation-head{align-items:center;}
.oc-package-history-meta{margin-top:6px;}
.oc-package-history-stages{margin-top:10px;}
.oc-package-history-table-wrap{overflow:auto;margin-top:10px;}
@media(max-width:760px){.oc-package-history-page .oc-table{display:block;overflow:auto;}}
/* 7CATS_WEB_LOGIN_SHARED_UX_V100 */
.oc-login-screen{margin:0;min-height:100vh;box-sizing:border-box;padding:12vh 20px 48px;background:#f4f5f7;color:#1f2328}
.oc-login-card{width:min(100%,420px);margin:0 auto;box-sizing:border-box;padding:30px;border:1px solid #dfe3e8;border-radius:16px;background:#fff;box-shadow:0 8px 32px #0002}
.oc-login-brand{margin:0 0 8px;font-size:.74rem;font-weight:800;letter-spacing:.14em;color:#68707a}
.oc-login-title{margin:0;font-size:1.75rem;line-height:1.15}
.oc-login-subtitle{margin:8px 0 24px;color:#68707a;font-size:.92rem}
.oc-login-error{margin:0 0 16px;padding:10px 12px;border:1px solid #f0c7c7;border-radius:9px;background:#fff7f7;color:#9f1d1d;font-size:.9rem}
.oc-login-form{display:grid;gap:8px}
.oc-login-label{margin-top:4px;font-size:.82rem;font-weight:700;color:#3f4750}
.oc-login-input{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #bfc6ce;border-radius:9px;background:#fff;color:#1f2328;font:inherit}
.oc-login-input:focus{outline:2px solid #111;outline-offset:2px;border-color:#111}
.oc-login-submit{width:100%;justify-content:center;margin-top:8px}
@media(max-width:520px){.oc-login-screen{padding:8vh 14px 32px}.oc-login-card{padding:24px}}
/* END_7CATS_WEB_LOGIN_SHARED_UX_V100 */
/* 7CATS_NAV_HEADER_USER_SHARED_UX_V100 */
.orchestrator-header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.orchestrator-user-meta{
  text-align:right;
  line-height:1.2;
}
.orchestrator-user-name{
  font-size:.78rem;
  font-weight:750;
}
.orchestrator-user-role{
  font-size:.68rem;
  color:#bdbdbd;
}
/* END_7CATS_NAV_HEADER_USER_SHARED_UX_V100 */
/* 7CATS_TASK_SLOTS_FINAL_UX_V100 */
body.task-slots-screen .actions > form{margin:0}
body.task-slots-screen .task-slots-section-gap{margin-bottom:14px}
body.task-slots-screen .task-slots-metric-grid{margin-bottom:14px}
body.task-slots-screen .oc-button.is-quiet{
    background:#f3f5f7;
    border-color:#cfd5dc;
    color:#24292f;
}
/* END_7CATS_TASK_SLOTS_FINAL_UX_V100 */
/* 7CATS_INTEGRATIONS_SHARED_UX_V101
   Content-only legacy styles. The universal DO header/navigation/shell stay authoritative. */
body.integrations-screen{--bg:#f4f5f7;--card:#fff;--line:#dfe3e8;--muted:#68707a;--green:#087a24;--red:#a00;margin:0;background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1f2328}
body.integrations-screen main.oc-app-wrap>.grid{box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:18px}
body.integrations-screen main.oc-app-wrap>.grid *{box-sizing:border-box}
body.integrations-screen main.oc-app-wrap>.grid .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 3px 14px #0000000d}
body.integrations-screen main.oc-app-wrap>.grid .full{grid-column:1/-1}
body.integrations-screen main.oc-app-wrap>.grid h1{font-size:1.35rem;margin:0}
body.integrations-screen main.oc-app-wrap>.grid h2{font-size:1.08rem;margin:0 0 14px}
body.integrations-screen main.oc-app-wrap>.grid h3{font-size:.98rem;margin:0 0 10px}
body.integrations-screen main.oc-app-wrap>.grid label{display:block;font-size:.86rem;font-weight:700;margin:12px 0 5px}
body.integrations-screen main.oc-app-wrap>.grid .help,
body.integrations-screen main.oc-app-wrap>.grid .small{font-size:.8rem;color:var(--muted);font-weight:400}
body.integrations-screen main.oc-app-wrap>.grid input,
body.integrations-screen main.oc-app-wrap>.grid select,
body.integrations-screen main.oc-app-wrap>.grid textarea{width:100%;padding:11px;border:1px solid #bfc5cc;border-radius:8px;background:#fff;font:inherit}
body.integrations-screen main.oc-app-wrap>.grid button,
body.integrations-screen main.oc-app-wrap>.grid .button{padding:10px 14px;border:0;border-radius:8px;background:#111;color:#fff;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block;font:inherit}
body.integrations-screen main.oc-app-wrap>.grid .secondary{background:#4b5563}
body.integrations-screen main.oc-app-wrap>.grid .danger{background:#8f1d1d}
body.integrations-screen main.oc-app-wrap>.grid .pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#eef1f4;font-size:.78rem}
body.integrations-screen main.oc-app-wrap>.grid .ok{color:var(--green);font-weight:700}
body.integrations-screen main.oc-app-wrap>.grid .error{border:1px solid #e2a8a8;background:#fff3f3;color:#7d1515;border-radius:10px;padding:12px}
body.integrations-screen main.oc-app-wrap>.grid .notice{background:#f0f8f2;border:1px solid #b8ddc1;border-radius:10px;padding:12px}
body.integrations-screen main.oc-app-wrap>.grid .connection{border:1px solid var(--line);border-radius:12px;padding:14px}
body.integrations-screen main.oc-app-wrap>.grid .connection-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.integrations-screen main.oc-app-wrap>.grid .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
body.integrations-screen main.oc-app-wrap>.grid .actions form{margin:0}
body.integrations-screen main.oc-app-wrap>.grid .catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
body.integrations-screen main.oc-app-wrap>.grid .provider{border:1px solid var(--line);border-radius:10px;padding:12px}
body.integrations-screen main.oc-app-wrap>.grid .provider strong{display:block}
body.integrations-screen main.oc-app-wrap>.grid code{white-space:pre-wrap;word-break:break-word;background:#eef1f4;padding:2px 5px;border-radius:4px}
body.integrations-screen main.oc-app-wrap>.grid .integration-active-toggle{display:flex;align-items:center;gap:8px;font-weight:600}
body.integrations-screen main.oc-app-wrap>.grid .integration-active-checkbox{width:auto}
@media(max-width:820px){
  body.integrations-screen main.oc-app-wrap>.grid{grid-template-columns:1fr}
  body.integrations-screen main.oc-app-wrap>.grid .full{grid-column:auto}
  body.integrations-screen main.oc-app-wrap>.grid .catalog{grid-template-columns:1fr}
}
/* END_7CATS_INTEGRATIONS_SHARED_UX_V101 */
/* 7CATS_AI_ANALYSIS_SHARED_UX_V101 */
.ai-handoff-options{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0}
.ai-handoff-option{display:flex;gap:7px;align-items:center;margin:0;font-weight:600}
.ai-handoff-checkbox{width:auto}
.ai-overflow-auto{overflow:auto}
.ai-gap-bottom{margin-bottom:14px}
.ai-actions-between{justify-content:space-between}
.ai-gap-top{margin-top:14px}
.ai-compare-pre{white-space:pre-wrap;overflow:auto;max-height:580px}
.ai-prewrap{white-space:pre-wrap}
.ai-no-bottom-margin{margin-bottom:0}
/* END_7CATS_AI_ANALYSIS_SHARED_UX_V101 */
/* 7CATS_OC_VISUAL_UTILITIES_V100 */
.oc-u-m0{margin:0}
.oc-u-mt-5{margin-top:5px}
.oc-u-mt-6{margin-top:6px}
.oc-u-mt-7{margin-top:7px}
.oc-u-mt-8{margin-top:8px}
.oc-u-mt-9{margin-top:9px}
.oc-u-mt-12{margin-top:12px}
.oc-u-mt-14{margin-top:14px}
.oc-u-mt-18{margin-top:18px}
.oc-u-mb-12{margin-bottom:12px}
.oc-u-mb-14{margin-bottom:14px}
.oc-u-between{justify-content:space-between}
.oc-u-overflow-auto{overflow:auto}
.oc-u-pre-wrap{white-space:pre-wrap}
.oc-u-pre-scroll-600{white-space:pre-wrap;max-height:600px;overflow:auto}
.oc-u-pre-scroll-900{white-space:pre-wrap;overflow:auto;max-height:900px}
.oc-u-actions-center{align-items:center;gap:8px;flex-wrap:wrap}
.oc-u-actions-tight{margin-top:7px;gap:6px;flex-wrap:wrap}
.oc-u-block-mt-7{display:block;margin-top:7px}
.oc-u-flex-between-wrap{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap}
.oc-u-flex-end-gap{display:flex;align-items:end;gap:8px}
.oc-u-panel-compact{margin:0 0 14px;padding:12px;border:1px solid #d7dce3;border-radius:8px}
.oc-u-block-label{display:block;font-weight:700;margin-bottom:5px}
.oc-u-code-textarea{display:block;width:100%;min-height:240px;box-sizing:border-box;padding:10px;font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;overflow:auto;background:#111827;color:#e5e7eb;border:1px solid #374151;border-radius:7px}
.oc-u-divider-form{border-top:1px solid var(--line);padding:12px 0;margin-top:10px}
/* END_7CATS_OC_VISUAL_UTILITIES_V100 */

/* 7CATS_CHAT3_MEMORY_UX_POLISH_V101 */
body.task-slots-screen .slot-memory-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
body.task-slots-screen .slot-memory-toolbar>.oc-disclosure{margin:0}
body.task-slots-screen .slot-memory-toolbar .oc-button{margin:0}
body.task-slots-screen .slot-comments-panel>.oc-disclosure-panel{width:min(680px,calc(100vw - 72px));max-height:72vh;overflow:auto;padding:16px}
body.task-slots-screen .slot-snapshot-panel>.oc-disclosure-panel{width:min(920px,calc(100vw - 72px));max-height:80vh;overflow:auto;padding:18px}
body.task-slots-screen .slot-comments-panel .oc-note,
body.task-slots-screen .slot-snapshot-panel .oc-note{border-radius:10px;border-color:#dfe3e8;background:#fff}
body.task-slots-screen .slot-comments-panel .oc-note+.oc-note{margin-top:8px}
body.task-slots-screen .slot-snapshot-panel>.oc-disclosure-panel>.oc-note{background:#fbfcfd;border-color:#cfd5dc}
body.task-slots-screen .slot-snapshot-panel .slot-action-detail{border:1px solid #dfe3e8;border-radius:9px;background:#fff;overflow:hidden}
body.task-slots-screen .slot-snapshot-panel .slot-action-detail>summary{padding:10px 12px;cursor:pointer;font-weight:700;list-style:none}
body.task-slots-screen .slot-snapshot-panel .slot-action-detail>summary::-webkit-details-marker{display:none}
body.task-slots-screen .slot-snapshot-panel .slot-action-detail[open]>summary{border-bottom:1px solid #e5e8ec;background:#fafbfc}
body.task-slots-screen .slot-snapshot-panel ul.compact-list{margin-top:7px;margin-bottom:2px}
body.task-slots-screen .slot-snapshot-panel label{margin-top:10px}
body.task-slots-screen .slot-snapshot-panel textarea{min-height:88px}
body.task-slots-screen .slot-snapshot-panel .actions{display:flex;flex-wrap:wrap;gap:8px}
body.task-slots-screen .slot-snapshot-panel .notice.bad{border-radius:9px}
body.task-slots-screen .slot-snapshot-panel a{word-break:break-word}

body.manual-upload-screen .mu-shell{max-width:1180px;margin:0 auto;padding:0 24px 40px}
body.manual-upload-screen .mu-content{margin-top:18px}
body.manual-upload-screen .mu-hero{margin-bottom:16px}
body.manual-upload-screen .mu-hero h1{margin:0 0 6px}
body.manual-upload-screen .mu-hero p{margin:0;color:#68707a;max-width:840px;line-height:1.5}
body.manual-upload-screen .mu-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.manual-upload-screen .mu-mode-card{border:1px solid #dfe3e8;border-radius:12px;background:#fff;padding:18px}
body.manual-upload-screen .mu-mode-card.is-technical{border-top:4px solid #111}
body.manual-upload-screen .mu-mode-card.is-memory{border-top:4px solid #496b8a}
body.manual-upload-screen .mu-mode-kicker{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:999px;background:#f2f4f6;color:#59616b;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
body.manual-upload-screen .mu-mode-card h2{margin:10px 0 5px;font-size:1.08rem}
body.manual-upload-screen .mu-mode-card p{margin:0 0 14px;color:#68707a;line-height:1.5}
body.manual-upload-screen .mu-mode-card label{display:block;margin-top:10px;margin-bottom:5px;font-weight:700}
body.manual-upload-screen .mu-mode-card textarea{min-height:220px;width:100%}
body.manual-upload-screen .mu-mode-card input[type=file]{width:100%}
body.manual-upload-screen .mu-form-or{display:flex;align-items:center;gap:10px;margin:12px 0;color:#68707a;font-size:.75rem}
body.manual-upload-screen .mu-form-or:before,
body.manual-upload-screen .mu-form-or:after{content:"";height:1px;flex:1;background:#dfe3e8}
body.manual-upload-screen .mu-mode-help{display:block;margin-top:6px;color:#68707a;font-size:.76rem;line-height:1.4}
body.manual-upload-screen .mu-submit-row{display:flex;gap:10px;margin-top:14px}
body.manual-upload-screen .mu-result-card{margin-bottom:14px;border:1px solid #b9d9c1;border-radius:10px;background:#f5fbf6;padding:14px}
body.manual-upload-screen .mu-result-grid{display:grid;grid-template-columns:max-content 1fr;gap:5px 12px;margin-top:8px;font-size:.82rem}
body.manual-upload-screen .mu-result-grid code{word-break:break-all}
body.manual-upload-screen .mu-btn{appearance:none;border:1px solid #111;border-radius:8px;background:#111;color:#fff;min-height:40px;padding:8px 14px;font:inherit;font-weight:700;cursor:pointer}
body.manual-upload-screen .mu-btn:hover{opacity:.9}
@media(max-width:860px){
  body.manual-upload-screen .mu-mode-grid{grid-template-columns:1fr}
  body.task-slots-screen .slot-comments-panel>.oc-disclosure-panel,
  body.task-slots-screen .slot-snapshot-panel>.oc-disclosure-panel{width:min(94vw,760px);max-height:80vh}
}

/* 7CATS_MANUAL_UPLOAD_AUTODETECT_UX_V100 */
body.manual-upload-screen .mu-universal-card{max-width:760px;margin:0;border-top:4px solid #111}
body.manual-upload-screen .mu-universal-card textarea{min-height:280px}

/* 7CATS_CHAT3_SNAPSHOT_INLINE_PANEL_UX_V100 */
body.task-slots-screen .slot-memory-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:flex-start;
  gap:8px;
  width:100%;
  position:relative;
}

body.task-slots-screen .slot-memory-toolbar > .copy-ai-context,
body.task-slots-screen .slot-memory-toolbar > .slot-comments-panel,
body.task-slots-screen .slot-memory-toolbar > .slot-snapshot-panel{
  flex:0 0 auto;
}

body.task-slots-screen .slot-comments-panel,
body.task-slots-screen .slot-snapshot-panel{
  position:static;
}

body.task-slots-screen .slot-comments-panel > .oc-disclosure-panel{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  z-index:20;
  width:min(680px,100%);
  max-height:70vh;
  overflow:auto;
}

body.task-slots-screen .slot-snapshot-panel{
  flex-basis:auto;
}

body.task-slots-screen .slot-snapshot-panel[open]{
  flex-basis:100%;
  width:100%;
}

body.task-slots-screen .slot-snapshot-panel[open] > summary{
  margin-bottom:10px;
}

body.task-slots-screen .slot-snapshot-panel > .oc-disclosure-panel{
  position:static;
  width:100%;
  max-width:none;
  max-height:none;
  overflow:visible;
  padding:16px;
  margin:0;
  box-sizing:border-box;
  border:1px solid var(--oc-line,#dfe3e8);
  border-radius:10px;
  background:#f8f9fa;
  box-shadow:none;
}

body.task-slots-screen .slot-snapshot-panel .oc-note{
  max-width:none;
}

body.task-slots-screen .slot-snapshot-panel .slot-action-detail{
  width:100%;
  box-sizing:border-box;
}

body.task-slots-screen .slot-snapshot-panel .compact-list{
  line-height:1.5;
}

@media(max-width:860px){
  body.task-slots-screen .slot-memory-toolbar{
    gap:6px;
  }
  body.task-slots-screen .slot-comments-panel > .oc-disclosure-panel{
    width:100%;
    max-height:70vh;
  }
  body.task-slots-screen .slot-snapshot-panel > .oc-disclosure-panel{
    padding:12px;
  }
}


/* 7CATS_COLLABORATOR_WORK_PART1_CSS_V100 */
body.collaborator-work-screen{--cw-bg:#f5f7fb;--cw-card:#fff;--cw-line:#e2e7ef;--cw-text:#182033;--cw-muted:#667085;--cw-blue:#1769ff;--cw-blue-soft:#eaf1ff;--cw-green:#137a55;--cw-green-soft:#dff5eb;--cw-gray-soft:#edf0f5;margin:0;background:var(--cw-bg);color:var(--cw-text);font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.collaborator-work-screen *{box-sizing:border-box}
.cw-shell{min-height:100vh;display:grid;grid-template-columns:220px minmax(0,1fr)}
.cw-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:24px 16px;background:#fff;border-right:1px solid var(--cw-line)}
.cw-brand{display:flex;align-items:center;gap:10px;color:var(--cw-text);text-decoration:none;font-weight:800;padding:0 8px 24px}
.cw-brand-mark{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:var(--cw-blue);color:#fff;font-size:.72rem;font-weight:900}
.cw-nav{display:grid;gap:7px}.cw-nav-link{display:block;padding:10px 12px;border-radius:9px;color:#475467;text-decoration:none;font-weight:650}.cw-nav-link:hover{background:#f4f6fa;color:var(--cw-text)}.cw-nav-link.is-active{background:var(--cw-blue-soft);color:#175cd3}
.cw-logout{margin-top:auto}.cw-logout button{width:100%;border:0;background:transparent;color:#475467;text-align:left;padding:10px 12px;border-radius:9px;font:inherit;font-weight:650;cursor:pointer}.cw-logout button:hover{background:#f4f6fa;color:var(--cw-text)}
.cw-main{width:min(1180px,100%);margin:0 auto;padding:42px clamp(20px,4vw,54px) 56px}.cw-page-heading{margin-bottom:24px}.cw-eyebrow{color:#175cd3;font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px}
.cw-page-heading h1,.cw-selected h1{margin:0;color:#101828;font-size:2rem;line-height:1.15}.cw-page-heading p,.cw-selected p{margin:8px 0 0;color:var(--cw-muted);font-size:1rem}
.cw-project-list{display:grid;gap:14px}.cw-project-card{display:grid;grid-template-columns:minmax(320px,1.4fr) minmax(330px,1fr) auto;gap:24px;align-items:center;background:var(--cw-card);border:1px solid var(--cw-line);border-radius:14px;padding:17px 20px;box-shadow:0 4px 18px rgba(16,24,40,.035)}
.cw-project-main{display:flex;align-items:center;gap:16px;min-width:0}.cw-project-avatar{flex:0 0 64px;width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#eaf1ff,#d8e6ff);color:#175cd3;font-size:1.35rem;font-weight:850}.cw-project-copy{min-width:0}
.cw-project-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cw-project-title-row h2{margin:0;font-size:1.05rem;color:#101828}.cw-project-description{margin:5px 0 0;color:var(--cw-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cw-status{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:5px 10px;border-radius:999px;font-size:.76rem;font-weight:800;white-space:nowrap}.cw-status.active{background:var(--cw-green-soft);color:var(--cw-green)}.cw-status.paused{background:var(--cw-gray-soft);color:#475467}
.cw-project-metrics{display:grid;gap:6px;min-width:0}.cw-project-metrics>div{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:baseline}.cw-project-metrics strong{font-size:.84rem;color:#344054;font-weight:750;white-space:nowrap}.cw-project-metrics span{font-size:.82rem;color:var(--cw-muted)}
.cw-project-action{justify-self:end}.cw-button{display:inline-flex;align-items:center;justify-content:center;min-width:92px;padding:9px 15px;border-radius:8px;background:var(--cw-blue);color:#fff;text-decoration:none;font-weight:800;box-shadow:0 2px 6px rgba(23,105,255,.18)}.cw-button:hover{background:#0f5ce0}.cw-button-secondary{background:#fff;color:#175cd3;border:1px solid #bfd2ff;box-shadow:none}.cw-button-secondary:hover{background:#f6f9ff}
.cw-selected,.cw-placeholder,.cw-empty{background:#fff;border:1px solid var(--cw-line);border-radius:14px;padding:24px;box-shadow:0 4px 18px rgba(16,24,40,.035)}.cw-selected{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.cw-placeholder{margin-top:14px}.cw-placeholder h2,.cw-empty h2{margin:0 0 8px}.cw-placeholder p,.cw-empty p{color:var(--cw-muted);margin:0 0 18px}
@media(max-width:980px){.cw-project-card{grid-template-columns:1fr auto}.cw-project-metrics{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}.cw-project-metrics>div{display:block}.cw-project-metrics span{display:block;margin-top:2px}}
@media(max-width:760px){.cw-shell{grid-template-columns:1fr}.cw-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--cw-line);padding:14px 16px}.cw-brand{padding:0 0 12px}.cw-nav{display:flex;flex-wrap:wrap}.cw-logout{margin-top:8px}.cw-logout button{width:auto}.cw-main{padding:28px 16px 40px}.cw-project-card{grid-template-columns:1fr;padding:16px}.cw-project-action{justify-self:stretch}.cw-project-action .cw-button{width:100%}.cw-project-metrics{grid-template-columns:1fr}.cw-selected{display:block}.cw-selected .cw-status{margin-top:14px}}
/* END_7CATS_COLLABORATOR_WORK_PART1_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_SEARCH_PAGINATION_CSS_V100 */
.cw-search-panel{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;gap:12px;align-items:end;margin:0 0 12px;padding:14px;background:#fff;border:1px solid var(--cw-line);border-radius:12px}
.cw-search-panel label{display:block;margin:0 0 5px;color:#475467;font-size:.76rem;font-weight:800}
.cw-search-panel input,.cw-search-panel select{width:100%;height:40px;padding:8px 10px;border:1px solid #cfd6e2;border-radius:8px;background:#fff;color:var(--cw-text);font:inherit}
.cw-search-actions{display:flex;align-items:center;gap:10px}.cw-search-actions .cw-button{border:0;cursor:pointer;font:inherit}.cw-clear-filter{color:#667085;text-decoration:none;font-size:.82rem;font-weight:700}
.cw-results-summary{margin:0 2px 12px;color:#667085;font-size:.8rem;font-weight:650}
.cw-pagination{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin:20px 0 0}
.cw-pagination a,.cw-pagination span{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border-radius:8px;font-size:.82rem}
.cw-pagination a{border:1px solid #d7deea;background:#fff;color:#344054;text-decoration:none;font-weight:750}.cw-pagination a.is-current{border-color:var(--cw-blue);background:var(--cw-blue);color:#fff}
@media(max-width:760px){.cw-search-panel{grid-template-columns:1fr}}
/* END_7CATS_COLLABORATOR_WORK_SEARCH_PAGINATION_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_OWNER_LIFECYCLE_CSS_V100 */
.cw-project-action{display:flex;align-items:center;gap:8px}
.cw-owner-menu{position:relative}
.cw-owner-menu>summary{
    list-style:none;
    width:36px;height:36px;
    display:flex;align-items:center;justify-content:center;
    border:1px solid #d7deea;border-radius:8px;
    background:#fff;color:#475467;
    font-size:1.25rem;font-weight:800;
    cursor:pointer;user-select:none
}
.cw-owner-menu>summary::-webkit-details-marker{display:none}
.cw-owner-menu>summary:hover{background:#f7f9fc;color:#175cd3;border-color:#b8c8e5}
.cw-owner-menu-panel{
    position:absolute;right:0;top:42px;z-index:20;
    min-width:180px;padding:6px;
    border:1px solid #d7deea;border-radius:10px;
    background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.13)
}
.cw-owner-menu-panel form{margin:0}
.cw-owner-menu-panel button{
    width:100%;border:0;border-radius:7px;
    padding:9px 10px;text-align:left;
    background:transparent;color:#344054;
    font:inherit;font-size:.82rem;font-weight:750;cursor:pointer
}
.cw-owner-menu-panel button:hover{background:#f5f7fa}
.cw-owner-menu-panel button.is-pause{color:#8a5a00}
.cw-owner-menu-panel button.is-resume{color:#137a55}
.cw-owner-menu-panel button:disabled{opacity:.5;cursor:wait}
@media(max-width:760px){
    .cw-project-action{width:100%}
    .cw-project-action>.cw-button{flex:1}
    .cw-owner-menu-panel{right:0}
}
/* END_7CATS_COLLABORATOR_WORK_OWNER_LIFECYCLE_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_VISUAL_REFINEMENT_CSS_V100 */
body.collaborator-work-screen{
    background:#f6f8fb;
    color:#172033;
}
.cw-shell{grid-template-columns:188px minmax(0,1fr)}
.cw-sidebar{
    padding:22px 12px 18px;
    background:#fff;
    border-right:1px solid #e3e8ef;
}
.cw-brand{
    gap:9px;
    padding:0 8px 22px;
    font-size:.88rem;
    letter-spacing:-.01em;
}
.cw-brand-mark{
    width:25px;height:25px;border-radius:7px;
    font-size:.66rem;
}
.cw-nav{gap:8px}
.cw-nav-link{
    padding:10px 12px;
    border-radius:8px;
    font-size:.88rem;
}
.cw-nav-link.is-active{
    background:#eaf1ff;
    color:#135dcc;
}
.cw-main{
    width:min(1080px,100%);
    padding:34px 28px 52px;
}
.cw-page-heading{
    margin:0 0 18px;
    padding:0;
    background:transparent;
}
.cw-page-heading h1{
    font-size:1.55rem;
    letter-spacing:-.025em;
}
.cw-page-heading p{
    margin-top:4px;
    font-size:.93rem;
    color:#667085;
}
.cw-search-panel{
    padding:12px 14px;
    margin-bottom:10px;
    border-radius:10px;
    box-shadow:none;
}
.cw-search-panel label{
    font-size:.72rem;
    color:#344054;
}
.cw-search-panel input,
.cw-search-panel select{
    height:38px;
    border-radius:7px;
}
.cw-results-summary{
    margin:10px 2px 12px;
    font-size:.78rem;
}
.cw-project-list{gap:10px}
.cw-project-card{
    grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr) auto;
    gap:18px;
    min-height:112px;
    padding:14px 18px;
    border-radius:11px;
    border-color:#e1e7ef;
    box-shadow:0 1px 3px rgba(16,24,40,.025);
}
.cw-project-main{gap:14px}
.cw-project-avatar{
    flex-basis:62px;
    width:62px;height:62px;
    border-radius:9px;
    background:#dfeaff;
    color:#115dce;
    font-size:1.2rem;
}
.cw-project-title-row{
    align-items:center;
    gap:9px;
}
.cw-project-title-row h2{
    font-size:.96rem;
    line-height:1.28;
    letter-spacing:-.01em;
}
.cw-project-description{
    margin-top:4px;
    font-size:.82rem;
    line-height:1.38;
    color:#667085;
    -webkit-line-clamp:2;
}
.cw-status{
    min-width:62px;
    padding:4px 9px;
    font-size:.69rem;
}
.cw-project-metrics{
    gap:7px;
    align-content:center;
}
.cw-project-metric{
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    gap:6px;
    align-items:center;
    color:#667085;
    font-size:.76rem;
}
.cw-project-metric strong{
    color:#344054;
    font-weight:800;
}
.cw-project-metric-icon{
    color:#52657c;
    font-size:.9rem;
    text-align:center;
}
.cw-project-action{
    gap:7px;
    align-self:center;
}
.cw-project-action>.cw-button{
    min-width:86px;
    padding:9px 15px;
    border-radius:7px;
    font-size:.82rem;
}
.cw-owner-menu>summary{
    width:34px;height:34px;
    border-radius:7px;
    font-size:1.08rem;
}
.cw-owner-menu-panel{
    top:39px;
    min-width:170px;
}
.cw-pagination{margin-top:16px}
.cw-pagination a,.cw-pagination span{
    min-width:32px;height:32px;
    border-radius:7px;
    font-size:.78rem;
}
@media(max-width:980px){
    .cw-project-card{grid-template-columns:1fr auto}
    .cw-project-metrics{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
    .cw-shell{grid-template-columns:1fr}
    .cw-main{padding:24px 14px 36px}
    .cw-project-card{grid-template-columns:1fr;gap:12px}
    .cw-project-metrics{grid-template-columns:1fr}
}
/* END_7CATS_COLLABORATOR_WORK_VISUAL_REFINEMENT_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_PART2A_CSS_V100 */
.cw-workspace-header{margin-bottom:14px}
.cw-back-link{display:inline-block;margin-bottom:10px;color:#667085;text-decoration:none;font-size:.8rem;font-weight:700}
.cw-back-link:hover{color:#175cd3}
.cw-workspace-head-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--cw-line);border-radius:11px;padding:12px 14px}
.cw-workspace-avatar{width:54px;height:54px;flex-basis:54px}
.cw-workspace-title-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cw-workspace-title h1{margin:0;font-size:1.14rem;letter-spacing:-.02em}
.cw-workspace-title p{margin:4px 0 0;color:#667085;font-size:.82rem;line-height:1.38}
.cw-workspace-team-summary{color:#667085;font-size:.78rem;font-weight:700;white-space:nowrap}
.cw-workspace-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:12px;align-items:start}
.cw-workspace-main-column,.cw-workspace-side-column{display:grid;gap:12px}
.cw-workspace-card{background:#fff;border:1px solid var(--cw-line);border-radius:11px;padding:14px;box-shadow:0 1px 3px rgba(16,24,40,.025)}
.cw-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.cw-section-head h2{margin:0;font-size:.98rem;letter-spacing:-.01em}
.cw-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#eef2f7;color:#475467;font-size:.7rem;font-weight:800}
.cw-context-version{color:#667085;font-size:.72rem;font-weight:700}
.cw-task-list{display:grid;gap:7px}
.cw-task-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e5eaf1;border-radius:9px;background:#fff}
.cw-task-check{width:18px;height:18px;border:2px solid #98a2b3;border-radius:5px}
.cw-task-copy{display:grid;gap:2px;min-width:0}
.cw-task-copy strong{font-size:.84rem}
.cw-task-copy span{font-size:.76rem;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-task-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#475467;font-size:.68rem;font-weight:800}
.cw-task-status.in_progress{background:#e7f0ff;color:#175cd3}
.cw-task-status.blocked{background:#fff0e8;color:#b54708}
.cw-task-status.verify{background:#f2ecff;color:#6941c6}
.cw-workspace-placeholder,.cw-workspace-empty{color:#98a2b3;font-size:.78rem;padding:6px 0}
.cw-context-text{margin:0;color:#475467;font-size:.8rem;line-height:1.48}
.cw-resource-list,.cw-comment-list,.cw-team-list{display:grid;gap:5px}
.cw-resource-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;padding:7px 0;border-top:1px solid #eef1f5;color:#344054;text-decoration:none}
.cw-resource-row:first-child{border-top:0}
.cw-resource-icon{width:26px;height:26px;border-radius:7px;background:#eaf1ff;color:#175cd3;display:flex;align-items:center;justify-content:center;font-weight:900}
.cw-resource-row span:last-child{display:grid;gap:1px;min-width:0}
.cw-resource-row strong{font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-resource-row small{color:#98a2b3;font-size:.68rem;text-transform:capitalize}
.cw-comment-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:8px 0;border-top:1px solid #eef1f5}
.cw-comment-row:first-child{border-top:0}
.cw-member-avatar{width:28px;height:28px;border-radius:50%;background:#e5efff;color:#175cd3;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:800}
.cw-comment-row strong,.cw-team-row strong{font-size:.76rem}
.cw-comment-time{margin-left:5px;color:#98a2b3;font-size:.66rem}
.cw-comment-row p{margin:3px 0 0;color:#667085;font-size:.74rem;line-height:1.4}
.cw-team-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px 0;border-top:1px solid #eef1f5}
.cw-team-row:first-child{border-top:0}
.cw-team-row>div:nth-child(2){display:grid;gap:1px}
.cw-team-row span{color:#98a2b3;font-size:.68rem}
.cw-member-presence{width:7px;height:7px;border-radius:50%;background:#98a2b3}
.cw-member-presence.active{background:#12b76a}
.cw-member-presence.paused{background:#f79009}
@media(max-width:900px){.cw-workspace-grid{grid-template-columns:1fr}.cw-workspace-side-column{grid-template-columns:1fr 1fr}.cw-workspace-side-column .cw-workspace-card:last-child{grid-column:1/-1}}
@media(max-width:650px){.cw-workspace-head-main{grid-template-columns:auto 1fr}.cw-workspace-team-summary{grid-column:1/-1}.cw-workspace-side-column{grid-template-columns:1fr}.cw-workspace-side-column .cw-workspace-card:last-child{grid-column:auto}.cw-task-row{grid-template-columns:24px minmax(0,1fr)}.cw-task-status{grid-column:2;justify-self:start}}
/* END_7CATS_COLLABORATOR_WORK_PART2A_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_PART2A_VISUAL_REFINEMENT_CSS_V100 */

body.collaborator-work-screen{
    background:#f7f9fc;
}
.cw-main{
    width:min(1120px,100%);
    padding-top:28px;
}

.cw-workspace-header{
    margin:0 0 12px;
    padding:0;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}
.cw-back-link{
    margin:0 0 8px 2px;
    color:#667085;
    font-size:.76rem;
    font-weight:700;
}
.cw-back-link:hover{
    color:#175cd3;
}
.cw-workspace-head-main{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:13px;
    padding:12px 14px;
    background:#fff !important;
    border:1px solid #e1e7ef;
    border-radius:10px;
    box-shadow:0 1px 2px rgba(16,24,40,.02);
}
.cw-workspace-avatar{
    width:50px;
    height:50px;
    flex-basis:50px;
    border-radius:8px;
}
.cw-workspace-title h1{
    font-size:1.06rem;
    line-height:1.25;
}
.cw-workspace-title p{
    max-width:760px;
    margin-top:3px;
    font-size:.78rem;
    line-height:1.35;
    color:#667085;
}
.cw-workspace-team-summary{
    padding-left:12px;
    color:#667085;
    font-size:.74rem;
    font-weight:700;
    white-space:nowrap;
}

.cw-workspace-grid{
    grid-template-columns:minmax(0,1.7fr) minmax(300px,.85fr);
    gap:10px;
}
.cw-workspace-main-column,
.cw-workspace-side-column{
    gap:10px;
}
.cw-workspace-card{
    padding:12px 13px;
    border-radius:10px;
    border-color:#e1e7ef;
    box-shadow:0 1px 2px rgba(16,24,40,.018);
}
.cw-section-head{
    margin-bottom:8px;
}
.cw-section-head h2{
    font-size:.9rem;
}
.cw-count-badge{
    min-width:20px;
    height:20px;
    padding:0 6px;
    font-size:.66rem;
}

.cw-workspace-tasks{
    min-height:0 !important;
}
.cw-task-list{
    gap:6px;
}
.cw-task-row{
    min-height:54px;
    padding:8px 9px;
    border-radius:8px;
}
.cw-task-copy strong{
    font-size:.8rem;
}
.cw-task-copy span{
    font-size:.72rem;
}
.cw-task-status{
    padding:3px 7px;
    font-size:.64rem;
}
.cw-workspace-empty{
    padding:4px 0 2px;
    font-size:.73rem;
}

.cw-ai-coming-soon{
    padding:10px 12px;
    background:#fbfcfe;
}
.cw-ai-coming-soon .cw-section-head{
    margin-bottom:4px;
}
.cw-ai-coming-soon .cw-workspace-placeholder{
    padding:0;
    font-size:.72rem;
    color:#98a2b3;
}

.cw-context-text{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:8;
    overflow:hidden;
    font-size:.75rem;
    line-height:1.42;
    color:#475467;
}

.cw-workspace-side-column .cw-workspace-card{
    padding:11px 12px;
}
.cw-resource-list,
.cw-comment-list,
.cw-team-list{
    gap:2px;
}
.cw-resource-row,
.cw-comment-row,
.cw-team-row{
    padding:6px 0;
}
.cw-resource-icon,
.cw-member-avatar{
    width:25px;
    height:25px;
}
.cw-resource-row{
    grid-template-columns:25px minmax(0,1fr);
}
.cw-comment-row{
    grid-template-columns:25px minmax(0,1fr);
}
.cw-team-row{
    grid-template-columns:25px minmax(0,1fr) auto;
}
.cw-resource-row strong,
.cw-comment-row strong,
.cw-team-row strong{
    font-size:.72rem;
}
.cw-resource-row small,
.cw-team-row span,
.cw-comment-time{
    font-size:.64rem;
}
.cw-comment-row p{
    font-size:.7rem;
    line-height:1.35;
}
.cw-workspace-side-column{
    align-content:start;
}

@media(max-width:980px){
    .cw-workspace-grid{
        grid-template-columns:minmax(0,1.45fr) minmax(270px,.9fr);
    }
}
@media(max-width:860px){
    .cw-workspace-grid{
        grid-template-columns:1fr;
    }
    .cw-workspace-side-column{
        grid-template-columns:1fr 1fr;
    }
    .cw-workspace-side-column .cw-workspace-card:first-child{
        grid-column:1/-1;
    }
}
@media(max-width:650px){
    .cw-workspace-head-main{
        grid-template-columns:auto minmax(0,1fr);
    }
    .cw-workspace-team-summary{
        grid-column:1/-1;
        padding-left:0;
    }
    .cw-workspace-side-column{
        grid-template-columns:1fr;
    }
    .cw-workspace-side-column .cw-workspace-card:first-child{
        grid-column:auto;
    }
}

/* END_7CATS_COLLABORATOR_WORK_PART2A_VISUAL_REFINEMENT_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_PART2A_TYPOGRAPHY_FIX_CSS_V100 */

.cw-back-link{
    font-size:.86rem;
}
.cw-workspace-title h1{
    font-size:1.2rem;
}
.cw-workspace-title p{
    font-size:.9rem;
    line-height:1.45;
}
.cw-workspace-team-summary{
    font-size:.84rem;
}
.cw-section-head h2{
    font-size:1rem;
}
.cw-count-badge{
    font-size:.74rem;
}
.cw-task-copy strong{
    font-size:.92rem;
}
.cw-task-copy span{
    font-size:.82rem;
    line-height:1.4;
}
.cw-task-status{
    font-size:.72rem;
}
.cw-workspace-empty,
.cw-workspace-placeholder{
    font-size:.82rem;
    line-height:1.45;
}
.cw-ai-coming-soon .cw-workspace-placeholder{
    font-size:.82rem;
}
.cw-context-text{
    font-size:.86rem;
    line-height:1.55;
}
.cw-resource-row strong{
    font-size:.84rem;
}
.cw-resource-row small{
    font-size:.74rem;
}
.cw-comment-row strong,
.cw-team-row strong{
    font-size:.82rem;
}
.cw-comment-time{
    font-size:.72rem;
}
.cw-comment-row p{
    font-size:.8rem;
    line-height:1.45;
}
.cw-team-row span{
    font-size:.74rem;
}
.cw-status{
    font-size:.75rem;
}
.cw-context-version{
    font-size:.76rem;
}

/* END_7CATS_COLLABORATOR_WORK_PART2A_TYPOGRAPHY_FIX_CSS_V100 */


/* 7CATS_COLLABORATOR_WORK_PART2B1_AI_CONTEXT_CSS_V100 */
.cw-ai-workspace{background:#fff}
.cw-ai-workspace-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cw-ai-copy-panel,.cw-ai-inbound-panel{padding:11px;border:1px solid #e4e9f0;border-radius:9px;background:#fbfcfe}
.cw-ai-copy-panel strong,.cw-ai-inbound-panel strong{display:block;font-size:.86rem;line-height:1.3;color:#344054}
.cw-ai-copy-panel p,.cw-ai-inbound-panel p{margin:5px 0 10px;color:#667085;font-size:.8rem;line-height:1.4}
.cw-ai-copy-panel .cw-button{min-width:165px;font-size:.8rem}
.cw-ai-inbound-panel.is-pending{background:#fafafa;color:#667085}
body.collaborator-work-screen .copy-ai-context.copied{background:#e9f7ed!important;border-color:#9bcaa7!important;color:#075f20!important}
@media(max-width:720px){.cw-ai-workspace-grid{grid-template-columns:1fr}}
/* END_7CATS_COLLABORATOR_WORK_PART2B1_AI_CONTEXT_CSS_V100 */

/* 7CATS_SIMPLE_WORK_CSS_CENTRALIZATION_V100 */

/* Workspace brief */
.cw-workspace-brief{display:grid;gap:10px;margin-top:10px;max-width:900px}
.cw-workspace-brief-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start}
.cw-workspace-brief-row>strong{font-size:12px;line-height:1.45;color:#475467;text-transform:uppercase;letter-spacing:.04em;padding-top:2px}
.cw-workspace-brief-row>p{margin:0!important;color:#475467!important;line-height:1.55!important}
.cw-workspace-brief-more,.cw-workspace-brief-full{margin-top:2px}
.cw-workspace-brief-more>summary,.cw-workspace-brief-full>summary{cursor:pointer;color:#344054;font-weight:650;font-size:13px}
.cw-workspace-brief-detail{margin-top:10px;padding:12px 14px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc;display:grid;gap:12px}
.cw-workspace-brief-detail strong{font-size:13px;color:#101828}
.cw-workspace-brief-detail p{margin:5px 0 0!important;color:#475467!important;line-height:1.55!important}
.cw-workspace-brief-detail ul{margin:7px 0 0 18px;padding:0;color:#475467;display:grid;gap:5px}
.cw-workspace-brief-full pre{margin:10px 0 0;white-space:pre-wrap;word-break:break-word;font:inherit;font-size:12.5px;line-height:1.55;color:#475467;background:#f8fafc;border:1px solid #e4e7ec;border-radius:10px;padding:12px 14px;max-height:320px;overflow:auto}

/* Human tasks */
.cw-section-head .cw-task-create{margin-left:auto}
.cw-task-create{position:relative}
.cw-task-create>summary{cursor:pointer;list-style:none}
.cw-task-create>summary::marker{content:"";font-size:0}
.cw-task-create>summary::-webkit-details-marker{display:none}
.cw-task-create[open]{width:min(560px,90vw)}
.cw-task-create>form{position:absolute;right:0;top:44px;z-index:15;width:min(520px,88vw);padding:16px;background:#fff;border:1px solid #d0d5dd;border-radius:12px;box-shadow:0 16px 40px rgba(16,24,40,.14);display:grid;gap:8px}
.cw-task-create label{font-size:12px;font-weight:700;color:#475467}
.cw-task-create input,.cw-task-create textarea,.cw-task-create select,.cw-task-status-form select{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:8px;padding:9px 10px;background:#fff;color:#101828;font:inherit}
.cw-task-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cw-task-self-assignee{border:1px solid #e4e7ec;background:#f8fafc;border-radius:8px;padding:9px 10px;color:#475467}
.cw-team-task-row{align-items:center}
.cw-team-task-row .cw-task-copy small{display:block;margin-top:5px;color:#667085;font-size:12px}
.cw-task-status-form{min-width:132px}
.cw-task-status-form select{font-size:12px;padding:7px 8px}

@media(max-width:760px){
    .cw-workspace-brief-row{grid-template-columns:1fr;gap:3px}
    .cw-task-create-grid{grid-template-columns:1fr}
    .cw-team-task-row{align-items:flex-start}
    .cw-task-status-form{min-width:110px}
}

/* END_7CATS_SIMPLE_WORK_CSS_CENTRALIZATION_V100 */

/* 7CATS_SIMPLE_WORK_COMMENTS_RESOURCES_V100 */
.cw-inline-create{position:relative;margin-left:auto}
.cw-inline-create>summary{list-style:none;cursor:pointer}
.cw-inline-create>summary::marker{content:"";font-size:0}
.cw-inline-create>summary::-webkit-details-marker{display:none}
.cw-inline-action{color:#175cd3;font-size:.74rem;font-weight:800;white-space:nowrap}
.cw-inline-action:hover{color:#0f5ce0}
.cw-inline-create>form{
    position:absolute;right:0;top:28px;z-index:20;
    width:min(390px,82vw);padding:14px;
    border:1px solid #d7deea;border-radius:10px;
    background:#fff;box-shadow:0 14px 34px rgba(16,24,40,.14);
    display:grid;gap:7px
}
.cw-inline-create label{font-size:.72rem;font-weight:800;color:#475467}
.cw-inline-create input,.cw-inline-create textarea,.cw-inline-create select{
    width:100%;box-sizing:border-box;
    border:1px solid #d0d5dd;border-radius:8px;
    padding:8px 9px;background:#fff;color:#101828;font:inherit;font-size:.8rem
}
.cw-inline-create textarea{resize:vertical;min-height:88px}
.cw-inline-create .cw-button{justify-self:start;min-width:0;margin-top:3px;border:0;cursor:pointer;font:inherit;font-size:.78rem}
.cw-resource-create>form{width:min(420px,82vw)}
/* END_7CATS_SIMPLE_WORK_COMMENTS_RESOURCES_V100 */

/* 7CATS_SIMPLE_WORK_AI_INBOUND_V100 */
.cw-ai-inbound-create{margin-top:12px}
.cw-ai-inbound-create>summary{list-style:none;cursor:pointer;display:inline-flex}
.cw-ai-inbound-create>summary::marker{content:"";font-size:0}
.cw-ai-inbound-create>summary::-webkit-details-marker{display:none}
.cw-ai-inbound-create>form{margin-top:10px;display:grid;gap:8px}
.cw-ai-inbound-create label{font-size:.75rem;font-weight:800;color:#475467}
.cw-ai-inbound-create textarea{
    width:100%;box-sizing:border-box;min-height:190px;resize:vertical;
    border:1px solid #d0d5dd;border-radius:9px;padding:10px 11px;
    background:#fff;color:#101828;font:inherit;font-size:.78rem;line-height:1.45
}
.cw-ai-inbound-create .cw-button{justify-self:start;border:0;cursor:pointer;font:inherit}
.cw-ai-inbound-note{font-size:.72rem;line-height:1.45;color:#667085}
/* END_7CATS_SIMPLE_WORK_AI_INBOUND_V100 */

/* 7CATS_SIMPLE_WORK_INTERACTION_LOG_V102 */
.cw-activity-list{display:grid;gap:0}
.cw-activity-row{
    display:grid;grid-template-columns:10px minmax(0,1fr);gap:9px;
    padding:10px 0;border-bottom:1px solid #eaecf0
}
.cw-activity-row:last-child{border-bottom:0;padding-bottom:0}
.cw-activity-row:first-child{padding-top:2px}
.cw-activity-dot{
    width:7px;height:7px;border-radius:50%;background:#2e6cf6;margin-top:6px
}
.cw-activity-copy{min-width:0;display:grid;gap:3px}
.cw-activity-copy strong{font-size:.77rem;color:#101828}
.cw-activity-copy span{font-size:.68rem;color:#667085}
.cw-activity-copy p{
    margin:0!important;font-size:.71rem!important;line-height:1.4!important;color:#475467!important
}
.cw-activity-copy code{
    display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    font-size:.64rem;color:#667085;background:#f8fafc;border-radius:5px;padding:3px 5px
}
/* END_7CATS_SIMPLE_WORK_INTERACTION_LOG_V102 */

/* 7CATS_SIMPLE_WORK_FLASH_V100 */
.cw-work-flash{
    max-width:1120px;
    margin:0 auto 14px;
    padding:11px 14px;
    border-radius:10px;
    border:1px solid #d0d5dd;
    background:#fff;
    font-size:.82rem;
    line-height:1.45
}
.cw-work-flash.notice{
    border-color:#abefc6;
    background:#ecfdf3;
    color:#067647
}
.cw-work-flash.error{
    border-color:#fecdca;
    background:#fef3f2;
    color:#b42318
}
/* END_7CATS_SIMPLE_WORK_FLASH_V100 */

/* 7CATS_SIMPLE_WORK_WORKSPACE_HEADER_HIERARCHY_V100 */
.cw-workspace-head-main{
    align-items:flex-start;
    padding:18px 18px 16px;
}
.cw-workspace-avatar{
    margin-top:2px;
}
.cw-workspace-title-row{
    gap:12px;
    align-items:center;
}
.cw-workspace-title h1{
    font-size:1.72rem;
    line-height:1.18;
    letter-spacing:-.035em;
    font-weight:800;
    color:#101828;
}
.cw-workspace-context-line{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    margin-top:5px;
    color:#667085;
    font-size:.82rem;
    line-height:1.35;
    font-weight:650;
}
.cw-workspace-context-line i{
    color:#98a2b3;
    font-style:normal;
}
.cw-workspace-team-summary{
    padding-top:6px;
}
.cw-workspace-brief{
    margin-top:16px;
}
@media(max-width:760px){
    .cw-workspace-head-main{
        padding:15px;
    }
    .cw-workspace-title h1{
        font-size:1.42rem;
    }
    .cw-workspace-context-line{
        font-size:.78rem;
    }
}
/* END_7CATS_SIMPLE_WORK_WORKSPACE_HEADER_HIERARCHY_V100 */

/* 7CATS_SIMPLE_WORK_ACTIVITY_LAYOUT_COMPACT_V100 */
.cw-activity-main-card{padding-bottom:10px}
.cw-activity-main-card .cw-activity-row{grid-template-columns:10px minmax(0,1fr)}
.cw-activity-main-card .cw-activity-copy strong{font-size:.82rem}
.cw-activity-main-card .cw-activity-copy span{font-size:.72rem}
.cw-activity-main-card .cw-activity-copy p{font-size:.75rem!important}
.cw-activity-older{margin-top:7px;border-top:1px solid #eaecf0;padding-top:7px}
.cw-activity-older>summary{cursor:pointer;list-style:none;color:#175cd3;font-size:.76rem;font-weight:800;padding:4px 0 2px}
.cw-activity-older>summary::marker{content:"";font-size:0}
.cw-activity-older>summary::-webkit-details-marker{display:none}
.cw-activity-older>summary::before{content:"▸";display:inline-block;margin-right:6px;transition:transform .15s ease}
.cw-activity-older[open]>summary::before{transform:rotate(90deg)}
.cw-activity-older-list{margin-top:6px}
.cw-workspace-side-column{align-self:start}
/* END_7CATS_SIMPLE_WORK_ACTIVITY_LAYOUT_COMPACT_V100 */

/* 7CATS_GLOBAL_SITE_SHELL_TASK_SLOTS_CANONICAL_V101
   Task Slots defines the canonical advanced-site shell geometry:
   max-width 1500px, 20px horizontal gutter and 20px top breathing room.
   Primary page content fills that shell unless a component is intentionally readable-width. */
:root{
  --oc-site-shell-max:1500px;
  --oc-site-shell-gutter:20px;
  --oc-site-shell-top:20px;
}

/* Advanced pages using the shared top navigation. */
body:not(.oc-login-screen):not(.collaborator-work-screen) > main,
body:not(.oc-login-screen):not(.collaborator-work-screen) > .wrap{
  box-sizing:border-box;
  width:100% !important;
  max-width:var(--oc-site-shell-max) !important;
  margin-top:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-top:var(--oc-site-shell-top) !important;
  padding-left:var(--oc-site-shell-gutter) !important;
  padding-right:var(--oc-site-shell-gutter) !important;
}

/* Manual Upload owns a div shell around navigation + nested main. */
body.manual-upload-screen > .mu-shell{
  box-sizing:border-box;
  width:100% !important;
  max-width:var(--oc-site-shell-max) !important;
  margin-top:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-top:var(--oc-site-shell-top) !important;
  padding-left:var(--oc-site-shell-gutter) !important;
  padding-right:var(--oc-site-shell-gutter) !important;
}

/* Manual Upload's primary content was legacy-capped at 900/760px.
   Let the page use the canonical shell; keep readable text limits page-owned. */
body.manual-upload-screen > .mu-shell > .mu-content{
  box-sizing:border-box;
  width:100% !important;
  max-width:none !important;
  margin:18px 0 0 !important;
}

body.manual-upload-screen > .mu-shell > .mu-content > .mu-universal-card{
  box-sizing:border-box;
  width:100% !important;
  max-width:none !important;
}

/* Preserve Task Slots itself as the reference shape. */
body.task-slots-screen > main.wrap{
  max-width:var(--oc-site-shell-max) !important;
  padding-top:var(--oc-site-shell-top) !important;
  padding-left:var(--oc-site-shell-gutter) !important;
  padding-right:var(--oc-site-shell-gutter) !important;
}
/* END_7CATS_GLOBAL_SITE_SHELL_TASK_SLOTS_CANONICAL_V101 */

/* 7CATS_P2_ADVANCED_NOTIFICATIONS_HEADER_V102_BEGIN */
[data-orchestrator-navigation-version] a[href="?view=notifications"]{
  display:none !important;
}

.orchestrator-header-notifications{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 10px;
  border-radius:8px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  white-space:nowrap;
}
.orchestrator-header-notifications:hover,
.orchestrator-header-notifications:focus-visible{
  background:rgba(255,255,255,.10);
  color:#fff;
  text-decoration:none;
}
.orchestrator-header-notifications[aria-current="page"]{
  background:rgba(255,255,255,.16);
}
/* 7CATS_P2_ADVANCED_NOTIFICATIONS_HEADER_V102_END */

/* 7CATS_DASHBOARD_UX_QUICK_V100 — scoped UX improvements */
/* First row: the four priority links. Second row: other visible links and existing dropdowns. */
.orchestrator-nav-shell #orchestrator-global-nav{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}
.orchestrator-nav-shell .orchestrator-nav-primary{display:flex;flex-wrap:wrap;width:100%;gap:7px;overflow:visible;min-width:0}
.orchestrator-nav-shell .orchestrator-nav-primary .orchestrator-nav-link{flex:0 1 auto;white-space:nowrap;visibility:visible}
.orchestrator-nav-shell .orchestrator-nav-secondary{display:flex;flex-wrap:wrap;align-items:center;width:100%;gap:6px;min-width:0}
.orchestrator-nav-shell .orchestrator-nav-secondary>.orchestrator-nav-link{display:inline-flex;align-items:center;text-decoration:none;font-size:.85rem;font-weight:550;padding:7px 9px;border-radius:8px;white-space:nowrap;color:inherit}
.orchestrator-nav-shell .orchestrator-nav-secondary>.orchestrator-nav-link.active{font-weight:700;background:rgba(51,88,145,.1)}
@media(max-width:700px){.orchestrator-nav-shell .orchestrator-nav-primary{overflow:visible;flex-wrap:wrap}.orchestrator-nav-shell .orchestrator-nav-secondary{flex-wrap:wrap}}
/* Only Dashboard; do not compact the prepared-execution panel or other views. */
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid{gap:10px}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.metric{padding:9px 12px;min-height:0;box-shadow:none}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.metric a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;text-decoration:none}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.metric strong{font-size:1.5rem;line-height:1.1}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.metric span{font-size:.77rem;line-height:1.25}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity,body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ai-auxiliary{grid-column:1/-1;min-width:0}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity{overflow-x:auto}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity table{width:100%}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity th{font-size:.8rem}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity td{vertical-align:top;line-height:1.4}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity td:first-child{min-width:230px}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity td:last-child{min-width:240px}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity .actions{margin:6px 0;gap:7px}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-activity .actions a{font-size:.8rem}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-copy-primary{background:#174d8b;color:#fff;border:1px solid #174d8b;border-radius:8px;padding:9px 13px;font-weight:750;cursor:pointer;box-shadow:0 2px 5px #0000001a}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-copy-primary:hover{background:#103b6c}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-copy-primary:focus-visible{outline:3px solid #77b4ff;outline-offset:2px}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ai-auxiliary{padding:12px 16px;box-shadow:none;background:#f8fafc}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ai-auxiliary .notice{margin:6px 0;padding:8px 10px}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ai-auxiliary p{margin:8px 0;font-size:.88rem}

/* CHAT99_DASHBOARD_RESPONSIVE_CURTAINS_V100 — dashboard-only responsive follow-up */
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-curtain{grid-column:1/-1;min-width:0}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain > summary{display:none}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content,
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;min-width:0}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content > .metric{padding:9px 12px;min-height:0;box-shadow:none}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content > .metric a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;text-decoration:none}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content > .metric strong{font-size:1.5rem;line-height:1.1}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content > .metric span{font-size:.77rem;line-height:1.25}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-activity{grid-column:span 8}
body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-ai-auxiliary{grid-column:span 4;align-self:start}
@media(max-width:980px){
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-activity,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-ai-auxiliary{grid-column:1/-1}
}
@media(max-width:760px){
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain{border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain > summary{display:list-item;cursor:pointer;font-weight:700;padding:12px 16px;font-size:.9rem;list-style:revert}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain > summary::marker{color:#174d8b}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content{padding:0 12px 12px;grid-template-columns:repeat(12,minmax(0,1fr))}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content > .metric{grid-column:span 6}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content > .span-6{grid-column:1/-1}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-activity,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid > .oc-dashboard-ai-auxiliary{grid-column:1/-1}
}

/* CHAT99_DASHBOARD_CURTAINS_VISIBILITY_FIX_V100
   Author CSS grid rules can override the browser's implicit closed-details
   hiding. Explicitly honor the native details open state on mobile. */
@media(max-width:760px){
 body.operational-dashboard-screen.operational-view-dashboard
 .oc-dashboard-curtain:not([open]) > .oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard
 .oc-dashboard-curtain:not([open]) > .oc-dashboard-summary-content{
   display:none!important;
 }
 body.operational-dashboard-screen.operational-view-dashboard
 .oc-dashboard-curtain > summary{
   display:list-item!important;
   list-style:disclosure-closed inside;
 }
 body.operational-dashboard-screen.operational-view-dashboard
 .oc-dashboard-curtain[open] > summary{
   list-style:disclosure-open inside;
 }
}

/* CHAT99_DASHBOARD_TRIPLE_BREAKPOINT_RESPONSIVE_V100
   Three dashboard viewport modes:
   - mobile: up to 760px
   - tablet / split-window: 761px to 1100px
   - desktop: 1101px and above */

@media(min-width:1101px){
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain{
   grid-column:1/-1;
   border:0;
   background:transparent;
   box-shadow:none;
   padding:0;
   overflow:visible;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain>summary{
   display:none!important;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content{
   display:grid!important;
   grid-template-columns:repeat(12,minmax(0,1fr));
   gap:10px;
   padding:0;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content>.metric{grid-column:span 3}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content>.span-6{grid-column:span 6}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.oc-dashboard-activity{grid-column:span 8}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.oc-dashboard-ai-auxiliary{grid-column:span 4;align-self:start}
}

@media(min-width:761px) and (max-width:1100px){
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain{
   grid-column:1/-1;
   border:1px solid var(--line);
   border-radius:12px;
   background:var(--card);
   overflow:hidden;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain>summary{
   display:list-item!important;
   list-style:disclosure-closed inside;
   cursor:pointer;
   font-weight:700;
   padding:12px 16px;
   font-size:.9rem;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain[open]>summary{
   list-style:disclosure-open inside;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain:not([open])>.oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain:not([open])>.oc-dashboard-summary-content{
   display:none!important;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain[open]>.oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain[open]>.oc-dashboard-summary-content{
   display:grid!important;
   grid-template-columns:repeat(12,minmax(0,1fr));
   gap:10px;
   padding:0 12px 12px;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content>.metric{grid-column:span 6}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content>.span-6{grid-column:1/-1}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.oc-dashboard-activity,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.oc-dashboard-ai-auxiliary{grid-column:1/-1}
}

@media(max-width:760px){
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain{
   grid-column:1/-1;
   border:1px solid var(--line);
   border-radius:12px;
   background:var(--card);
   overflow:hidden;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain>summary{
   display:list-item!important;
   list-style:disclosure-closed inside;
   cursor:pointer;
   font-weight:700;
   padding:12px 16px;
   font-size:.9rem;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain[open]>summary{
   list-style:disclosure-open inside;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain:not([open])>.oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain:not([open])>.oc-dashboard-summary-content{
   display:none!important;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain[open]>.oc-dashboard-kpi-content,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-curtain[open]>.oc-dashboard-summary-content{
   display:grid!important;
   grid-template-columns:repeat(12,minmax(0,1fr));
   gap:10px;
   padding:0 12px 12px;
 }
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-kpi-content>.metric{grid-column:1/-1}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-summary-content>.span-6{grid-column:1/-1}
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.oc-dashboard-activity,
 body.operational-dashboard-screen.operational-view-dashboard .oc-dashboard-ux-grid>.oc-dashboard-ai-auxiliary{grid-column:1/-1}
}

/* CHAT99_UPLOAD_FORM_FIRST_RESPONSIVE_V100 — upload page only. */
body.manual-upload-screen .mu-result-card{margin-top:16px;margin-bottom:0;min-width:0}
body.manual-upload-screen .mu-result-grid{grid-template-columns:minmax(110px,max-content) minmax(0,1fr)}
body.manual-upload-screen .mu-result-grid>span,
body.manual-upload-screen .mu-result-grid>code{min-width:0;overflow-wrap:anywhere}
body.manual-upload-screen .mu-universal-card{min-width:0}
body.manual-upload-screen .mu-universal-card textarea{max-width:100%;resize:vertical}
@media(min-width:761px) and (max-width:1100px){
  body.manual-upload-screen .mu-mode-card{padding:16px}
  body.manual-upload-screen .mu-universal-card textarea{min-height:220px}
  body.manual-upload-screen .mu-result-card{padding:12px}
}
@media(max-width:760px){
  body.manual-upload-screen .mu-shell{padding-left:12px!important;padding-right:12px!important}
  body.manual-upload-screen .mu-content{min-width:0}
  body.manual-upload-screen .mu-hero h1{font-size:1.5rem}
  body.manual-upload-screen .mu-mode-card{padding:12px}
  body.manual-upload-screen .mu-universal-card textarea{min-height:180px}
  body.manual-upload-screen .mu-universal-card input[type=file]{max-width:100%}
  body.manual-upload-screen .mu-submit-row .mu-btn{width:100%}
  body.manual-upload-screen .mu-result-grid{grid-template-columns:minmax(0,1fr);gap:2px}
  body.manual-upload-screen .mu-result-grid>span:nth-child(odd){margin-top:5px;font-weight:700}
}

/* CHAT99_UPLOAD_DUPLICATE_WARNING_TWEAK_V100 */
body.manual-upload-screen .notice.mu-duplicate-warning{
  color:#694400;background:#fff7dc;border:1px solid #e6ca74;
}
body.manual-upload-screen .mu-universal-card textarea{min-height:260px}
@media(min-width:761px) and (max-width:1100px){
  body.manual-upload-screen .mu-universal-card textarea{min-height:200px}
}
@media(max-width:760px){
  body.manual-upload-screen .mu-universal-card textarea{min-height:160px}
}

/* CHAT99_INBOX_THREE_MODE_RESPONSIVE_V101 — regular Inbox only. */
body.operational-dashboard-screen .oc-inbox-responsive-grid>.inbox-pending-card{min-width:0}
body.operational-dashboard-screen .oc-inbox-responsive-grid>.oc-inbox-flow-responsive{min-width:0;align-self:start}
body.operational-dashboard-screen .oc-inbox-flow-disclosure>summary{font-size:1.5rem;font-weight:750;line-height:1.2;list-style:none;cursor:default;margin:0 0 14px}
body.operational-dashboard-screen .oc-inbox-flow-disclosure>summary::-webkit-details-marker{display:none}
body.operational-dashboard-screen .oc-inbox-flow-body{min-width:0}
@media(min-width:1101px){
 body.operational-dashboard-screen .oc-inbox-responsive-grid>.inbox-pending-card{grid-column:span 8}
 body.operational-dashboard-screen .oc-inbox-responsive-grid>.oc-inbox-flow-responsive{grid-column:span 4}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure>summary{pointer-events:none}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure>.oc-inbox-flow-body{display:block!important}
}
@media(min-width:761px) and (max-width:1100px){
 body.operational-dashboard-screen .oc-inbox-responsive-grid>.inbox-pending-card,
 body.operational-dashboard-screen .oc-inbox-responsive-grid>.oc-inbox-flow-responsive{grid-column:1/-1}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure>summary{list-style:disclosure-closed inside;cursor:pointer;font-size:1rem;margin:0}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure[open]>summary{list-style:disclosure-open inside;margin-bottom:12px}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure:not([open])>.oc-inbox-flow-body{display:none!important}
}
@media(max-width:760px){
 body.operational-dashboard-screen .oc-inbox-responsive-grid>.inbox-pending-card,
 body.operational-dashboard-screen .oc-inbox-responsive-grid>.oc-inbox-flow-responsive{grid-column:1/-1}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure>summary{list-style:disclosure-closed inside;cursor:pointer;font-size:1rem;margin:0}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure[open]>summary{list-style:disclosure-open inside;margin-bottom:12px}
 body.operational-dashboard-screen .oc-inbox-flow-disclosure:not([open])>.oc-inbox-flow-body{display:none!important}
 body.operational-dashboard-screen .oc-inbox-responsive-grid .inbox-package-toolbar{flex-wrap:wrap}
 body.operational-dashboard-screen .oc-inbox-responsive-grid .prepare-form input,
 body.operational-dashboard-screen .oc-inbox-responsive-grid .prepare-form select,
 body.operational-dashboard-screen .oc-inbox-responsive-grid .prepare-form textarea{max-width:100%;box-sizing:border-box}
}

/* CHAT99_HEADER_V2_INBOX_ROLLOUT_V100 — same approved V2 styling for Inbox. */
/* CHAT99_HEADER_V2_UPLOAD_TASK_SLOTS_V100 — only V2 header rules extended. */
/* CHAT99_HEADER_V2_REMAINING_ROUTES_V100 — approved header only. */
/* CHAT99_HEADER_V2_DASHBOARD_PILOT_V100 — scoped to dashboard pilot. */
body #orchestrator-global-header.oc-v2-header{background:#fff;color:#102436;box-shadow:0 2px 18px #1d273312;padding:0;min-height:70px;position:relative;z-index:100;border-bottom:1px solid #e5e7eb;font-family:inherit}
body .oc-v2-header *{box-sizing:border-box}
body .oc-v2-bar{display:flex;align-items:center;gap:18px;width:100%;min-height:70px;padding:10px 20px}
body .oc-v2-brand{display:flex;align-items:center;gap:8px;flex:0 0 auto;color:#0d2535;text-decoration:none;min-width:0}
body .oc-v2-mark{width:64px;height:46px;object-fit:contain}
body .oc-v2-wordmark{display:flex;flex-direction:column;font-size:16px;letter-spacing:-.04em;line-height:.94;color:#0d2535}
body .oc-v2-wordmark strong{font-weight:850}
body .oc-v2-wordmark span{font-weight:650}
body .oc-v2-priority{display:flex;align-items:center;gap:4px;min-width:0;flex:1;margin-left:10px}
body .oc-v2-priority a{font-size:12px;display:inline-flex;align-items:center;padding:10px 9px;white-space:nowrap;border-radius:9px;text-decoration:none;color:#24344b;font-weight:650}
body .oc-v2-priority a.active{background:#e9f8f8;color:#0f4c5c}
body .oc-v2-priority a:hover{background:#eef7f8}
body .oc-v2-utilities{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
body .oc-v2-icon-button{display:inline-flex;width:34px;height:36px;align-items:center;justify-content:center;border:0;background:transparent;color:#0f4c5c;border-radius:9px;text-decoration:none;font-size:22px;padding:0;cursor:pointer;margin:0}
body .oc-v2-icon-button:hover{background:#e9f8f8;color:#0f4c5c}
body .oc-v2-account,body .oc-v2-menu{position:relative}
body .oc-v2-account summary,body .oc-v2-menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:5px}
body .oc-v2-account summary::-webkit-details-marker,body .oc-v2-menu summary::-webkit-details-marker{display:none}
body .oc-v2-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#416fba;color:#fff;font-size:13px;font-weight:800}
body .oc-v2-chevron{font-size:18px;color:#36465b}
body .oc-v2-account-panel{position:absolute;right:0;top:calc(100% + 12px);width:205px;border:1px solid #dce6ea;border-radius:11px;padding:14px;background:#fff;box-shadow:0 10px 28px #12273922;display:flex;flex-direction:column;gap:10px;z-index:101}
body .oc-v2-role{color:#617282;font-size:12px}
body .oc-v2-account-panel a{color:#0f4c5c;text-decoration:none;font-size:13px}
body .oc-v2-account-panel .orchestrator-logout button{background:#f3f6f7;color:#162738;border:0;width:100%;text-align:left}
body .oc-v2-menu>summary{font-size:16px;padding:8px 9px;border-radius:9px;color:#0f4c5c}
body .oc-v2-menu-content{position:absolute;right:0;top:calc(100% + 10px);width:min(610px,calc(100vw - 36px));max-height:75vh;overflow:auto;border-radius:12px;background:#fff;border:1px solid #e0e6e9;box-shadow:0 14px 32px #1029382b;z-index:102;padding:12px}
body .oc-v2-menu-content .orchestrator-nav-shell{margin:0;box-shadow:none;border:0;padding:0}
body .oc-v2-menu-content [data-orchestrator-navigation-version] a[href="?view=notifications"]{display:none!important}
body .oc-v2-menu-content #orchestrator-global-nav{display:flex;flex-direction:column;align-items:stretch;gap:10px}
body .oc-v2-menu-content .orchestrator-nav-primary,body .oc-v2-menu-content .orchestrator-nav-secondary{display:flex;flex-wrap:wrap;gap:7px;margin:0}
body .oc-v2-menu-content .orchestrator-nav-menu-panel{z-index:110}
body .oc-v2-header:not(.oc-v2-ready) .oc-v2-priority{visibility:hidden}
@media(min-width:1101px){body .oc-v2-menu summary span{display:inline}}
@media(min-width:761px) and (max-width:1100px){body .oc-v2-bar{gap:10px;padding:10px 14px}body .oc-v2-priority a{padding:8px 6px;font-size:11px}body .oc-v2-mark{width:55px}body .oc-v2-wordmark{font-size:14px}body .oc-v2-menu summary span{display:none}}
@media(max-width:760px){body .oc-v2-bar{padding:8px 12px;min-height:62px;gap:8px}body .oc-v2-mark{width:51px;height:37px}body .oc-v2-wordmark{font-size:13px}body .oc-v2-priority{display:none}body .oc-v2-icon-button{width:30px;font-size:18px}body .oc-v2-menu summary span{display:none}body .oc-v2-utilities{gap:3px}}

/* CHAT99_HEADER_V2_DASHBOARD_PILOT_TYPOGRAPHY_V102: readable pilot header, no functional changes. */
body .oc-v2-priority a{font-size:14px;line-height:1.3}
body .oc-v2-menu-content .orchestrator-nav-link,
body .oc-v2-menu-content .orchestrator-nav-menu>summary{font-size:14px;line-height:1.3;padding:9px 11px}
@media (min-width:761px) and (max-width:1100px){
 body .oc-v2-priority a{font-size:13px;padding:8px 7px}
}
@media (max-width:760px){
 body .oc-v2-menu-content .orchestrator-nav-link,
 body .oc-v2-menu-content .orchestrator-nav-menu>summary{font-size:14px;padding:10px 11px}
}

/* CHAT99_HEADER_V2_FUNCTIONAL_MENU_V100 — only shared 'Mas' drawer. */
body .oc-v2-menu-content{
 width:min(370px,calc(100vw - 24px));
 max-height:min(720px,calc(100dvh - 100px));
 overflow-x:hidden;
 overflow-y:auto;
 padding:10px;
}
body .oc-v2-menu-content .orchestrator-nav-shell,
body .oc-v2-menu-content #orchestrator-global-nav{width:100%;min-width:0}
body .oc-v2-menu-content #orchestrator-global-nav{gap:8px}
body .oc-v2-menu-content .orchestrator-nav-shell .orchestrator-nav-primary,
body .oc-v2-menu-content .orchestrator-nav-shell .orchestrator-nav-secondary{
 display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;
 width:100%;gap:3px;overflow:visible;
}
body .oc-v2-menu-content .orchestrator-nav-primary>.orchestrator-nav-link,
body .oc-v2-menu-content .orchestrator-nav-secondary>.orchestrator-nav-link{
 display:flex;width:100%;justify-content:flex-start;white-space:normal;
}
body .oc-v2-menu-content .orchestrator-nav-menu{position:relative;width:100%;min-width:0}
body .oc-v2-menu-content .orchestrator-nav-menu>summary{width:100%;justify-content:flex-start;white-space:normal}
body .oc-v2-menu-content .orchestrator-nav-menu-panel{
 position:static;top:auto;right:auto;left:auto;
 width:100%;min-width:0;max-width:none;max-height:none;
 margin:3px 0 6px;padding:4px 0 4px 12px;
 border:0;border-left:2px solid #d9e7e9;border-radius:0;
 background:transparent;box-shadow:none;overflow:visible;
}
body .oc-v2-menu-content .orchestrator-nav-menu-panel a{
 display:flex;width:100%;white-space:normal;min-height:34px;
}
@media(max-width:760px){
 body .oc-v2-menu-content{right:0;width:min(370px,calc(100vw - 16px));max-height:calc(100dvh - 82px)}
}


/* CHAT99-DASHBOARD-DIAMOND-WHITE-BACKGROUND-v1.0.0 */
/* Scope: only the diamond button in the operational Dashboard header. */
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout,
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout:hover,
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout:focus-visible {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f4c5c !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout svg {
  color: #0f4c5c !important;
}


/* CHAT99-DASHBOARD-DIAMOND-CENTER-ALIGN-v1.0.0 */
/* Center the actual icon without changing any other header control. */
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout svg,
body.operational-view-dashboard #orchestrator-global-header #orchestrator-copy-ai-handout > span {
  display: block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  flex: 0 0 auto !important;
}


/* CHAT99-DIAMOND-HEADER-CONSISTENCY-AND-CLICK-FEEDBACK-v1.0.0 */
/* Only the shared V2 header diamond, on every route using that header. */
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 36px !important;
  min-width: 34px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  color: #0f4c5c !important;
  font-size: 22px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  font-size: inherit !important;
  line-height: 1 !important;
  text-align: center !important;
}
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout:hover,
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout:focus-visible {
  background: #e9f8f8 !important;
  color: #0f4c5c !important;
}
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout:focus-visible {
  outline: 2px solid #0f4c5c !important;
  outline-offset: 2px !important;
}
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout.is-copied,
body #orchestrator-global-header.oc-v2-header #orchestrator-copy-ai-handout.is-copied:hover {
  background: #d9f4e8 !important;
  color: #176b35 !important;
}
