:root {
  --ink: #161522;
  --muted: #747184;
  --line: #e9e7ee;
  --surface: #ffffff;
  --canvas: #f8f8fa;
  --violet: #6f56d9;
  --violet-soft: #f0edff;
  --green: #18966f;
  --green-soft: #e7f7f1;
  --blue: #3b7ddd;
  --orange: #d8782e;
  --shadow: 0 10px 28px rgba(30, 24, 56, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 16px 17px; border-right: 1px solid var(--line); background: #fbfbfc; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 24px; color: var(--ink); font-size: 19px; font-weight: 750; letter-spacing: -.4px; text-decoration: none; }
.brand-mark { width: 27px; height: 27px; position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--ink); overflow: hidden; }
.brand-mark i { position: absolute; width: 5px; height: 18px; border-radius: 5px; background: #fff; transform: rotate(35deg); }
.brand-mark i:first-child { left: 5px; top: -1px; }.brand-mark i:nth-child(2) { left: 11px; top: 5px; }.brand-mark i:last-child { left: 18px; top: 10px; }
.workspace-switcher { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 9px; margin-bottom: 22px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 2px 8px rgba(30,24,56,.025); }
.workspace-avatar, .avatar { display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg, #e9e4ff, #d8ccff); color: #5943ac; font-size: 11px; font-weight: 750; }
.workspace-avatar { width: 32px; height: 32px; }.workspace-switcher small, .workspace-switcher strong { display: block; }.workspace-switcher small { margin-bottom: 2px; color: var(--muted); font-size: 10px; }.workspace-switcher strong { font-size: 12px; }.chevron { color: var(--muted); }
.nav-label { margin: 18px 11px 8px; color: #aaa6b4; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.nav-item { min-height: 39px; display: flex; align-items: center; gap: 11px; margin: 2px 0; padding: 0 11px; border-radius: 8px; color: #5d596b; font-size: 12px; font-weight: 560; text-decoration: none; transition: .16s ease; }
.nav-item > span { width: 17px; color: #797487; font-size: 16px; text-align: center; }.nav-item em { margin-left: auto; min-width: 19px; padding: 2px 5px; border-radius: 10px; background: #eceaf0; color: #777282; font-size: 9px; font-style: normal; text-align: center; }.nav-item:hover { background: #f1eff5; color: var(--ink); }.nav-item.active { background: #eeebf9; color: #503caa; font-weight: 700; }.nav-item.active > span { color: #5b45bb; }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; color: #6c6877; font-size: 11px; }.sidebar-footer > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }.sidebar-footer > div > span:first-child { width: 18px; text-align: center; }.sidebar-footer .user { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 10px 8px; border: 0; border-top: 1px solid var(--line); color: inherit; background: transparent; text-align: left; }.avatar { width: 29px !important; height: 29px; border-radius: 50%; }.user > span:nth-child(2) { flex: 1; }.user strong, .user small { display: block; }.user strong { color: var(--ink); font-size: 11px; }.user small { margin-top: 2px; color: var(--muted); font-size: 9px; }
main { min-width: 0; }.topbar { height: 70px; position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }.breadcrumbs { display: flex; gap: 9px; font-size: 11px; }.breadcrumbs span, .breadcrumbs b { color: #a09ca9; }.breadcrumbs b { font-weight: 400; }.top-actions { display: flex; align-items: center; gap: 9px; }.search { width: 210px; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: #9793a0; background: white; font-size: 10px; text-align: left; }.search kbd { margin-left: auto; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: #fafafa; font-size: 8px; }.icon-button { width: 34px; height: 34px; position: relative; border: 1px solid var(--line); border-radius: 8px; background: white; }.icon-button i { width: 5px; height: 5px; position: absolute; right: 7px; top: 7px; border: 1px solid white; border-radius: 50%; background: #e75555; }.primary-button, .secondary-button { min-height: 35px; padding: 0 14px; border-radius: 8px; border: 0; font-size: 10px; font-weight: 700; }.primary-button { color: white; background: var(--ink); box-shadow: 0 4px 12px rgba(20,18,31,.16); }.primary-button:hover { background: #302c42; }.secondary-button { border: 1px solid var(--line); background: white; color: #5c5866; }.mobile-menu { display: none; }
.content { max-width: 1280px; margin: auto; padding: 42px 38px 70px; }.welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }.eyebrow { margin: 0 0 9px; color: #9a96a4; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }.welcome h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(29px, 3vw, 38px); font-weight: 500; letter-spacing: -.8px; }.welcome > div > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 12px; }.health-pill { display: flex; align-items: center; gap: 11px; min-width: 202px; padding: 11px 14px; border: 1px solid #dceddf; border-radius: 9px; background: #fbfffc; }.pulse { width: 8px; height: 8px; border-radius: 50%; background: #29a573; box-shadow: 0 0 0 5px #e1f5ec; }.health-pill small, .health-pill strong { display: block; }.health-pill small { margin-bottom: 3px; color: var(--muted); font-size: 8px; }.health-pill strong { font-size: 10px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }.metrics article { display: flex; gap: 13px; min-height: 106px; align-items: center; padding: 20px; border-right: 1px solid var(--line); }.metrics article:last-child { border: 0; }.metric-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; font-size: 17px; }.metric-icon.violet { color: var(--violet); background: var(--violet-soft); }.metric-icon.green { color: var(--green); background: var(--green-soft); }.metric-icon.blue { color: var(--blue); background: #eaf2ff; }.metric-icon.orange { color: var(--orange); background: #fff0e5; }.metrics small, .metrics strong, .metrics p { display: block; }.metrics small { color: var(--muted); font-size: 9px; }.metrics strong { margin: 4px 0; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }.metrics p { margin: 0; color: #9b97a3; font-size: 8px; }.metrics p b { color: var(--green); }
.section-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; }.section-heading { margin-bottom: 16px; }.section-heading h2, .panel-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 19px; font-weight: 500; }.section-heading p, .panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }.text-button, .more-button { border: 0; color: #6a6473; background: transparent; font-size: 10px; }.text-button span { margin-left: 4px; }.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.project-card, .new-project-card { min-height: 210px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 5px 18px rgba(30,24,56,.035); }.project-card { padding: 18px; }.project-card:hover { border-color: #d5cfea; box-shadow: var(--shadow); transform: translateY(-1px); transition: .18s ease; }.project-top { display: flex; align-items: flex-start; gap: 11px; }.project-logo { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 9px; color: white; font-size: 14px; font-weight: 750; background: linear-gradient(145deg, #8067df, #4b389b); }.project-top > div { flex: 1; }.project-top h3 { margin: 1px 0 4px; font-size: 12px; }.project-top p { margin: 0; color: var(--muted); font-size: 8px; }.menu { border: 0; background: transparent; color: #9994a1; }.project-description { height: 32px; margin: 17px 0 13px; color: #6d6877; font-size: 9px; line-height: 1.6; }.project-meta { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid #f0eef2; border-bottom: 1px solid #f0eef2; color: #777281; font-size: 8px; }.project-meta span { display: flex; align-items: center; gap: 5px; }.project-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; font-size: 8px; }.status { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-weight: 700; }.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }.project-bottom time { color: #9994a1; }.new-project-card { display: grid; place-items: center; border-style: dashed; color: #8f8a98; background: rgba(255,255,255,.45); }.new-project-card button { border: 0; background: transparent; color: inherit; }.new-project-card span { width: 35px; height: 35px; display: grid; place-items: center; margin: 0 auto 9px; border: 1px solid var(--line); border-radius: 50%; color: #706b78; background: white; font-size: 17px; }.new-project-card strong, .new-project-card small { display: block; }.new-project-card strong { color: #4e4959; font-size: 10px; }.new-project-card small { margin-top: 5px; font-size: 8px; }
.lower-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; margin-top: 35px; }.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }.panel-heading { padding: 18px 19px 15px; border-bottom: 1px solid var(--line); }.release { display: grid; grid-template-columns: 1.5fr .8fr .8fr auto; align-items: center; gap: 12px; padding: 15px 19px; border-bottom: 1px solid #f1eff3; font-size: 9px; }.release:last-child { border: 0; }.release-main { display: flex; align-items: center; gap: 10px; }.release-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; color: #5f4ab7; background: var(--violet-soft); font-weight: 800; }.release strong, .release small { display: block; }.release strong { font-size: 9px; }.release small { margin-top: 3px; color: #9893a0; font-size: 8px; }.environment { width: fit-content; padding: 4px 7px; border-radius: 12px; color: #5b46ae; background: #eeebfb; font-size: 8px; text-transform: capitalize; }.environment.production { color: #187b60; background: #e5f5ef; }.release-action { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: white; color: #625d6c; font-size: 8px; }.release-action.accent { border-color: #cdc4ec; color: #5b45b3; background: #f7f5ff; }.activity-list { padding: 5px 19px 9px; }.activity { position: relative; display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; align-items: start; padding: 12px 0; }.activity:not(:last-child)::after { content: ""; width: 1px; position: absolute; left: 12px; top: 35px; bottom: -1px; background: var(--line); }.activity-icon { width: 25px; height: 25px; z-index: 1; display: grid; place-items: center; border-radius: 50%; color: #6a55bd; background: #f1eefc; font-size: 9px; }.activity strong { display: block; color: #524e5b; font-size: 9px; line-height: 1.45; }.activity small, .activity time { color: #9d98a5; font-size: 8px; }.activity small { display: block; margin-top: 4px; }.loading { grid-column: 1/-1; padding: 50px; color: var(--muted); text-align: center; }
dialog { width: min(520px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 25px 80px rgba(25,20,45,.25); } dialog::backdrop { background: rgba(23,20,34,.42); backdrop-filter: blur(3px); } dialog form { padding: 24px; }.modal-heading { display: flex; justify-content: space-between; margin-bottom: 23px; }.modal-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }.modal-heading p:last-child { max-width: 390px; margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.close { height: fit-content; }.modal-heading .close { border: 0; color: #77717f; background: none; font-size: 21px; } label { display: grid; gap: 7px; margin-top: 14px; color: #4a4652; font-size: 10px; font-weight: 700; } input, textarea, select { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--ink); background: white; font-size: 11px; } input:focus, textarea:focus, select:focus { border-color: #9e8ee0; box-shadow: 0 0 0 3px #f0edff; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
dialog { width: min(520px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 25px 80px rgba(25,20,45,.25); } dialog::backdrop { background: rgba(23,20,34,.42); backdrop-filter: blur(3px); } dialog form { padding: 24px; }.modal-heading { display: flex; justify-content: space-between; margin-bottom: 23px; }.modal-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }.modal-heading p:last-child { max-width: 390px; margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }.close { height: fit-content; }.modal-heading .close { border: 0; color: #77717f; background: none; font-size: 21px; } label { display: grid; gap: 7px; margin-top: 14px; color: #4a4652; font-size: 10px; font-weight: 700; } input, textarea, select { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--ink); background: white; font-size: 11px; } input:focus, textarea:focus, select:focus { border-color: #9e8ee0; box-shadow: 0 0 0 3px #f0edff; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.login-modal { width: min(410px, calc(100vw - 30px)); }.login-modal::backdrop { background: #f5f4f8; backdrop-filter: none; }.login-modal form { padding: 32px; }.login-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 32px; }.login-brand strong { font-size: 17px; }.login-modal h2 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }.login-copy { margin: 9px 0 21px; color: var(--muted); font-size: 10px; line-height: 1.6; }.login-button { width: 100%; margin-top: 22px; }.demo-note { margin: 14px 0 0; color: #9994a1; font-size: 8px; text-align: center; }
.project-actions { display: flex; gap: 5px; }.token-result { margin-top: 18px; padding: 14px; border: 1px solid #dcd5f2; border-radius: 9px; background: #f8f6ff; }.token-result p { margin: 0 0 7px; color: #6f6979; font-size: 9px; }.token-result p:not(:first-child) { margin-top: 13px; }.token-result code { display: block; overflow-wrap: anywhere; padding: 9px; border-radius: 6px; color: #3f326f; background: white; font-size: 9px; user-select: all; }.token-result small { display: block; margin-top: 12px; color: #817b8a; font-size: 8px; line-height: 1.55; }
.form-field { min-width: 0; margin-top: 14px; }.form-field > select { margin-top: 7px; }.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.field-label-row > label { margin: 0; }.field-help { position: relative; z-index: 3; }.field-help[open] { z-index: 8; }.field-help summary { display: grid; width: 18px; height: 18px; border: 1px solid #cfc8e4; border-radius: 50%; color: #7568aa; background: #f8f6ff; font-size: 10px; font-weight: 800; line-height: 1; cursor: pointer; list-style: none; place-items: center; }.field-help summary::-webkit-details-marker { display: none; }.field-help summary:hover, .field-help summary:focus-visible, .field-help[open] summary { border-color: #917ed2; color: #4f3e8f; background: #efebff; outline: none; box-shadow: 0 0 0 3px #f0edff; }.field-help-card { position: absolute; right: 0; bottom: calc(100% + 8px); width: min(310px, calc(100vw - 64px)); max-height: min(360px, calc(100vh - 80px)); overflow-y: auto; padding: 14px; border: 1px solid #d9d2ee; border-radius: 10px; color: #4a4652; background: white; box-shadow: 0 16px 44px rgba(31, 24, 57, .18); font-size: 10px; font-weight: 400; line-height: 1.45; }.field-help-card > strong { display: block; color: #302a3d; font-size: 11px; }.field-help-card dl { display: grid; gap: 9px; margin: 11px 0 0; }.field-help-card dl > div { display: grid; gap: 2px; }.field-help-card dt { color: #4f3e8f; font-weight: 800; }.field-help-card dd { margin: 0; color: #6e6877; }.field-help-card p { margin: 11px 0 0; padding-top: 10px; border-top: 1px solid #ece8f4; color: #6e6877; }#project-modal { overflow: visible; }
#toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 330px; padding: 12px 16px; border-radius: 9px; color: white; background: #24202f; box-shadow: 0 12px 35px rgba(20,18,30,.24); font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; } #toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 1000px) { .metrics { grid-template-columns: 1fr 1fr; }.metrics article:nth-child(2) { border-right: 0; }.metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.projects-grid { grid-template-columns: 1fr 1fr; }.lower-grid { grid-template-columns: 1fr; } }
@media (max-width: 740px) { .app-shell { display: block; }.sidebar { display: none; }.topbar { padding: 0 18px; }.mobile-menu { display: block; border: 0; background: transparent; }.breadcrumbs { display: none; }.search { display: none; }.content { padding: 30px 18px 50px; }.welcome { align-items: flex-start; flex-direction: column; }.metrics, .projects-grid { grid-template-columns: 1fr; }.metrics article { border-right: 0; border-bottom: 1px solid var(--line); }.release { grid-template-columns: 1.4fr .8fr auto; }.release > time { display: none; }.form-row { grid-template-columns: 1fr; }.field-help-card { right: 0; width: min(330px, calc(100vw - 62px)); } }

[hidden] { display: none !important; }
.operations-view { max-width: 1380px; }
.operations-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.operations-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.9px; }
.operations-hero > div:first-child > p:last-child { max-width: 600px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.operations-controls { display: flex; align-items: flex-end; gap: 8px; }
.operations-controls label { min-width: 190px; margin: 0; }
.ops-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.ops-metrics article { min-height: 104px; padding: 20px; border-right: 1px solid var(--line); }
.ops-metrics article:last-child { border: 0; }
.ops-metrics small { display: block; color: var(--muted); font-size: 9px; }
.ops-metrics strong { display: block; margin: 6px 0 9px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.signal { display: inline-flex; align-items: center; gap: 5px; font-size: 8px; font-weight: 700; }
.signal::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.signal.violet { color: var(--violet); }.signal.red { color: #c94f59; }.signal.orange { color: var(--orange); }.signal.blue { color: var(--blue); }
.operations-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr); gap: 14px; }
.coding-panel { min-height: 0; margin-bottom: 14px; }
.generation-list { padding: 8px 18px 0; }.generation-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border: 1px solid #ded8ed; border-radius: 9px; background: #faf8ff; }.generation-row strong, .generation-row small { display: block; }.generation-row strong { font-size: 9px; }.generation-row small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.workflow-list { padding: 8px 18px 0; }.workflow-card { margin-top: 9px; border: 1px solid #d9d1ee; border-radius: 10px; background: #fbfaff; }.workflow-card summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; cursor: pointer; list-style: none; }.workflow-card summary::-webkit-details-marker { display: none; }.workflow-card summary strong, .workflow-card summary small { display: block; }.workflow-card summary strong { font-size: 10px; }.workflow-card summary small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.workflow-detail { padding: 0 12px 12px 53px; }.workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 9px; }.workflow-steps > span { padding: 7px; border: 1px solid #e1ddeb; border-radius: 7px; color: #625d6c; background: white; font-size: 7px; font-weight: 800; text-transform: uppercase; }.workflow-steps > span.completed { border-color: #cbe8dc; background: #f1faf6; }.workflow-steps > span.running { border-color: #d5c8ff; background: #f3efff; }.workflow-steps > span.failed { border-color: #f0ced2; background: #fff5f6; }.workflow-steps small { display: block; margin-top: 3px; color: var(--muted); font-size: 6px; font-weight: 500; }
.retrieval-heading { display: flex; align-items: center; justify-content: space-between; margin: 6px 18px 0; padding-top: 14px; border-top: 1px solid var(--line); }.retrieval-heading strong, .retrieval-heading small { display: block; }.retrieval-heading strong { font-size: 10px; }.retrieval-heading small { margin-top: 3px; color: var(--muted); font-size: 7px; }.retrieval-list { padding: 4px 18px 18px; }.retrieval-dataset { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; padding: 10px; border: 1px solid #e2dfe8; border-radius: 8px; background: white; }.retrieval-dataset strong, .retrieval-dataset small { display: block; }.retrieval-dataset strong { font-size: 9px; }.retrieval-dataset small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.code-proposal { margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fdfdfe; }
.code-proposal summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 14px; cursor: pointer; list-style: none; }.code-proposal summary::-webkit-details-marker { display: none; }
.code-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; color: #43536a; background: #eaf0f7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 800; }
.code-proposal summary strong, .code-proposal summary small { display: block; }.code-proposal summary strong { font-size: 10px; }.code-proposal summary small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.code-detail { padding: 0 14px 14px 56px; }.code-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }.code-facts span { padding: 5px 7px; border-radius: 5px; color: #6b6674; background: #f0eef3; font-size: 7px; }
.diff-view { max-height: 330px; overflow: auto; margin: 0; padding: 13px; border: 1px solid #ddd9e5; border-radius: 8px; color: #494453; background: #faf9fb; font: 8px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; tab-size: 2; }
.validation-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 11px; border: 1px solid #e4e1e9; border-radius: 8px; background: white; }.validation-row strong, .validation-row small { display: block; }.validation-row strong { font-size: 8px; }.validation-row small { margin-top: 4px; color: var(--muted); font-size: 7px; }.validation-actions { display: flex; align-items: center; gap: 6px; }
.wide-modal { width: min(760px, calc(100vw - 30px)); }.patch-input { resize: vertical; font: 9px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.operations-panel { min-height: 410px; }
.planner-badge { padding: 5px 7px; border: 1px solid #dcd5f1; border-radius: 5px; color: #6551b3; background: #f6f3ff; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.operations-list { padding: 8px 18px 18px; }
.empty-state { padding: 48px 20px; color: var(--muted); text-align: center; }
.empty-state span { width: 34px; height: 34px; display: grid; place-items: center; margin: 0 auto 10px; border-radius: 50%; color: #6955b7; background: var(--violet-soft); }
.empty-state strong, .empty-state small { display: block; }.empty-state strong { color: #4c4755; font-size: 11px; }.empty-state small { margin-top: 5px; font-size: 9px; }
.agent-run { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fdfdfe; }
.agent-run summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 14px; cursor: pointer; list-style: none; }
.agent-run summary::-webkit-details-marker { display: none; }
.run-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: white; background: linear-gradient(145deg, #8067df, #4b389b); font-size: 12px; }
.agent-run summary strong, .agent-run summary small { display: block; }.agent-run summary strong { max-width: 470px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.agent-run summary small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.state-badge, .risk-badge, .severity-badge { width: fit-content; padding: 4px 7px; border-radius: 12px; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.state-badge.ready, .state-badge.completed, .state-badge.met, .state-badge.published { color: #15765a; background: #e5f5ef; }
.state-badge.awaiting_approval, .state-badge.planned, .state-badge.identified, .state-badge.monitoring { color: #8c5b20; background: #fff0df; }
.state-badge.breached, .state-badge.investigating, .state-badge.exhausted { color: #a6414b; background: #fbeaec; }
.state-badge.insufficient_data, .state-badge.draft, .state-badge.not_evaluated { color: #696474; background: #eeedf1; }
.state-badge.queued, .state-badge.running, .state-badge.waiting_merge { color: #6551b3; background: #eee9ff; }.state-badge.failed { color: #a6414b; background: #fbeaec; }
.run-detail { padding: 0 14px 14px 55px; }
.evidence-line { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 12px; color: var(--muted); font-size: 8px; }.evidence-line code { color: #62578b; font-size: 7px; }
.plan-step { position: relative; padding: 0 0 13px 20px; color: #6d6877; font-size: 9px; line-height: 1.5; }.plan-step::before { content: ""; width: 7px; height: 7px; position: absolute; left: 0; top: 3px; border: 2px solid #8774cc; border-radius: 50%; background: white; }.plan-step:not(:last-child)::after { content: ""; width: 1px; position: absolute; left: 4px; top: 13px; bottom: 2px; background: #ded9ec; }.plan-step strong { display: block; margin-bottom: 3px; color: #45404d; font-size: 9px; }
.proposal { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 8px; padding: 11px; border: 1px solid #e4e0ed; border-radius: 8px; background: white; }.proposal strong, .proposal small { display: block; }.proposal strong { font-size: 9px; }.proposal small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.4; }.proposal-actions { display: flex; align-items: center; gap: 5px; }.risk-badge.low { color: #187b60; background: #e5f5ef; }.risk-badge.medium { color: #806120; background: #fff1d8; }.risk-badge.high, .risk-badge.critical { color: #a6414b; background: #fbeaec; }
.slo-card, .status-row, .postmortem-row { padding: 15px 2px; border-bottom: 1px solid #f0eef3; }.slo-card:last-child, .status-row:last-child, .postmortem-row:last-child { border: 0; }
.slo-top, .status-row, .postmortem-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.slo-top strong, .status-row strong, .postmortem-row strong { display: block; font-size: 10px; }.slo-top small, .status-row small, .postmortem-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.budget-track { height: 5px; overflow: hidden; margin: 12px 0 7px; border-radius: 5px; background: #eeecf2; }.budget-track i { display: block; height: 100%; border-radius: inherit; background: var(--green); }.budget-track i.warning { background: var(--orange); }.budget-track i.exhausted { background: #c94f59; }
.budget-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 8px; }
.operations-heading { margin: 36px 0 15px; }
.incident-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.incident-card { min-height: 220px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.incident-card.resolved { box-shadow: none; opacity: .82; }
.incident-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.severity-badge.sev1 { color: white; background: #a93d48; }.severity-badge.sev2 { color: #a6414b; background: #fbeaec; }.severity-badge.sev3 { color: #8c5b20; background: #fff0df; }.severity-badge.sev4 { color: #56506a; background: #eeebf7; }
.incident-card h3 { margin: 15px 0 7px; font-family: Georgia, serif; font-size: 17px; font-weight: 500; }.incident-card > p { min-height: 34px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.incident-meta { display: flex; gap: 10px; margin: 14px 0; padding: 10px 0; border-top: 1px solid #f0eef3; border-bottom: 1px solid #f0eef3; color: #85808e; font-size: 8px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.final-grid { margin-top: 14px; grid-template-columns: 1fr 1fr; }.final-grid .operations-panel { min-height: 260px; }
.status-link { color: #5b45b3; font-size: 8px; text-decoration: none; }.status-link:hover { text-decoration: underline; }
.checkbox-label { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }.checkbox-label input { width: auto; }
.inline-warning { padding: 9px 11px; border-radius: 7px; color: #8a5a23; background: #fff5e7; font-size: 8px; line-height: 1.5; }
.mobile-menu[aria-expanded="true"] + * { display: block; }
@media (max-width: 1100px) { .operations-grid { grid-template-columns: 1fr; }.incident-grid { grid-template-columns: 1fr 1fr; }.ops-metrics { grid-template-columns: 1fr 1fr; }.ops-metrics article:nth-child(2) { border-right: 0; }.ops-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 740px) { .sidebar.mobile-open { display: flex; z-index: 20; width: min(290px, 85vw); position: fixed; box-shadow: 30px 0 80px rgba(20,18,30,.2); }.operations-hero { align-items: stretch; flex-direction: column; }.operations-controls { align-items: stretch; flex-direction: column; }.operations-controls label { min-width: 0; }.ops-metrics, .incident-grid { grid-template-columns: 1fr; }.ops-metrics article { border-right: 0; border-bottom: 1px solid var(--line); }.operations-grid, .final-grid { grid-template-columns: 1fr; }.agent-run summary { grid-template-columns: auto 1fr; }.agent-run summary .state-badge { grid-column: 2; }.run-detail { padding-left: 14px; }.proposal { grid-template-columns: 1fr; }.incident-card { min-height: 0; } }
