/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Hanken_Grotesk","arguments":[{"subsets":["latin"],"variable":"--font-heading"}],"variableName":"headingFont"} ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/a6c19694cd327cd4-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/851c4691abdf3def-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/a8a8dd7277bab4cf-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/313510e2713fb214-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Hanken Grotesk Fallback';src: local("Arial");ascent-override: 99.07%;descent-override: 30.02%;line-gap-override: 0.00%;size-adjust: 100.94%
}.__className_9c618b {font-family: 'Hanken Grotesk', 'Hanken Grotesk Fallback';font-style: normal
}.__variable_9c618b {--font-heading: 'Hanken Grotesk', 'Hanken Grotesk Fallback'
}

/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"variable":"--font-body"}],"variableName":"bodyFont"} ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_f367f3 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_f367f3 {--font-body: 'Inter', 'Inter Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"JetBrains_Mono","arguments":[{"subsets":["latin"],"variable":"--font-mono"}],"variableName":"monoFont"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/886030b0b59bc5a7-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/67957d42bae0796d-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/f911b923c6adde36-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/939c4f875ee75fbb-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'JetBrains Mono Fallback';src: local("Arial");ascent-override: 75.79%;descent-override: 22.29%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_3c557b {font-family: 'JetBrains Mono', 'JetBrains Mono Fallback';font-style: normal
}.__variable_3c557b {--font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --background: #111414;
  --surface: #111414;
  --surface-low: #191c1c;
  --surface-card: #1d2020;
  --surface-high: #272b2b;
  --surface-top: rgba(17, 20, 20, 0.82);
  --surface-sidebar: #005055;
  --text: #e1e3e3;
  --muted: #bfc8c9;
  --outline: #3f4849;
  --outline-strong: #899293;
  --primary: #93d1d6;
  --secondary: #e9c082;
  --tertiary: #fab88e;
  --success: #93d1d6;
  --warning: #e9c082;
  --danger: #ffb4ab;
  --info: #83c1c6;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-heading: 'Hanken Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--background); color: var(--text); font-family: var(--font-body); }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
input, select { outline: none; }

.app-shell.light {
  --background: #e8eeee;
  --surface: #f4f7f7;
  --surface-low: #edf2f2;
  --surface-card: #ffffff;
  --surface-high: #eef4f4;
  --surface-top: rgba(255,255,255,0.88);
  --surface-sidebar: #d8f0f2;
  --text: #142122;
  --muted: #4d5d5f;
  --outline: #d3dddd;
  --outline-strong: #8ca0a1;
  --shadow: 0 22px 50px rgba(20, 33, 34, 0.08);
}

.app-shell { min-height: 100vh; display: flex; background: radial-gradient(circle at top right, rgba(147, 209, 214, 0.08), transparent 22%), var(--background); }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, #004a4f 0%, #004247 100%);
  color: #83c1c6;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 24px 20px;
  z-index: 40;
}
.sidebar.collapsed { width: 88px; }
.sidebar.collapsed .eyebrow,
.sidebar.collapsed h2,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .sidebar-footer { display: none; }
.sidebar-brand { display: flex; justify-content: space-between; align-items: flex-start; }
.sidebar-brand > div { display: grid; grid-gap: 8px; gap: 8px; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.sidebar .eyebrow { color: rgba(227, 243, 244, 0.68); }
.sidebar h2 {
  margin: 0;
  color: #e1e3e3;
  font-size: 24px;
  line-height: 1.1;
  font-family: var(--font-heading);
}
.sidebar-nav { display: grid; grid-gap: 6px; gap: 6px; }
.nav-item {
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 6px 6px 0;
  background: transparent;
  color: rgba(225, 227, 227, 0.76);
  padding: 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.nav-item:hover { background: rgba(225, 227, 227, 0.06); color: #e1e3e3; }
.nav-item.active {
  background: rgba(225, 227, 227, 0.08);
  border-left-color: var(--secondary);
  color: #e1e3e3;
}
.sidebar-footer { margin-top: auto; display: grid; grid-gap: 8px; gap: 8px; }
.sidebar-footer.slim { padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-system-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e1e3e3;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.sidebar-system-note {
  color: rgba(225, 227, 227, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.main-panel {
  margin-left: 260px;
  width: calc(100% - 260px);
  min-height: 100vh;
  padding: 80px 24px 24px;
}
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 260px);
  height: 64px;
  padding: 0 24px;
  background: var(--surface-top);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--outline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
}
.topbar-search {
  width: min(100%, 380px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: linear-gradient(180deg, rgba(39, 43, 43, 0.88), rgba(25, 28, 28, 0.88));
  border: 1px solid rgba(137, 146, 147, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.topbar-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 12px 0;
}
.topbar-search input::placeholder { color: var(--muted); }
.topbar-search:focus-within {
  border-color: rgba(233, 192, 130, 0.5);
  box-shadow: 0 0 0 3px rgba(233, 192, 130, 0.08);
}
.topbar-actions, .panel-header, .property-topline, .task-topline, .memory-title-row, .inline-actions, .calendar-item, .calendar-date, .table-row, .detail-list, .setting-item, .task-meta { display: flex; }
.topbar-actions { align-items: center; gap: 12px; }
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  font-family: var(--font-heading);
  font-weight: 700;
}
.heading-meta { display: flex; gap: 16px; color: var(--muted); font-family: var(--font-mono); font-size: 13px; }
.metric-inline { display: inline-flex; gap: 8px; align-items: center; }
.status-pill, .badge, .score-pill {
  border-radius: 999px;
  border: 1px solid var(--outline);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-pill { background: var(--surface-card); color: var(--text); }
.status-pill.live { color: var(--secondary); border-color: rgba(233, 192, 130, 0.3); }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 10px rgba(233, 192, 130, 0.45);
}
.icon-button, .secondary-button, .primary-button, .link-button, .memory-item {
  transition: all 0.18s ease;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--outline);
  background: var(--surface-card);
  color: var(--muted);
  cursor: pointer;
}
.icon-button:hover { color: var(--secondary); border-color: var(--outline-strong); }
.primary-button, .secondary-button, .link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
}
.primary-button {
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 2px solid var(--secondary);
  background: var(--primary);
  color: #00363a;
}
.secondary-button, .link-button {
  background: var(--surface-card);
  border: 1px solid var(--outline);
  color: var(--secondary);
}
.secondary-button:hover, .link-button:hover { border-color: var(--secondary); }

.page-grid, .metrics-grid, .split-grid, .property-grid, .sub-metrics-grid, .settings-grid { display: grid; grid-gap: 16px; gap: 16px; }
.metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-12-col { display: grid; grid-template-columns: repeat(12, 1fr); grid-gap: 16px; gap: 16px; margin-top: 24px; }
.col-8 { grid-column: span 8; display: grid; grid-gap: 16px; gap: 16px; align-content: start; }
.col-4 { grid-column: span 4; display: grid; grid-gap: 16px; gap: 16px; align-content: start; }

.agent-table { width: 100%; border-collapse: collapse; text-align: left; }
.agent-table th { padding: 12px 16px; color: var(--muted); font-size: 11px; text-transform: uppercase; font-weight: normal; border-bottom: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.1); }
.agent-table td { padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); font-family: var(--font-mono); font-size: 13px; }
.agent-table tr:hover { background: rgba(255,255,255,0.02); }
.agent-avatar { width: 28px; height: 28px; border-radius: 6px; background: rgba(147, 209, 214, 0.1); border: 1px solid rgba(147, 209, 214, 0.3); display: grid; place-items: center; color: var(--primary); }
.progress-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; }
.progress-fill.success { background: var(--primary); box-shadow: 0 0 8px rgba(147, 209, 214, 0.6); }
.progress-fill.danger { background: var(--danger); box-shadow: 0 0 8px rgba(255, 180, 171, 0.6); }

.alerts-panel { height: 100%; min-height: 400px; background: rgba(147, 0, 10, 0.05) !important; border-color: rgba(255, 180, 171, 0.1) !important; }
.alerts-list { margin-top: 16px; }
.alert-card { padding: 16px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255, 180, 171, 0.2); border-radius: 8px; position: relative; overflow: hidden; display: flex; align-items: start; gap: 12px; }
.alert-indicator { width: 4px; position: absolute; left: 0; top: 0; bottom: 0; background: var(--danger); }
.alert-card p { margin: 0; font-size: 13px; color: var(--text); line-height: 1.5; }

.sub-metrics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.property-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kanban-board { display: grid; grid-template-columns: repeat(5, minmax(240px, 1fr)); grid-gap: 16px; gap: 16px; overflow-x: auto; }

.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 60px;
}

.calendar-main {
  background: rgba(29, 32, 32, 0.4);
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
}

.calendar-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--outline);
}

.calendar-header h2 {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-controls { display: flex; gap: 8px; }

.calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--outline);
  background: rgba(0, 0, 0, 0.2);
}

.calendar-grid-header div {
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: 1fr;
  flex: 1 1;
}

.calendar-cell {
  border-right: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  padding: 8px;
  min-height: 100px;
  position: relative;
}

.calendar-cell:nth-child(7n) { border-right: none; }

.day-number {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  color: var(--muted);
}

.day-number.today {
  background: var(--primary);
  color: var(--on-primary);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cell-events {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-chip.blue { background: rgba(0, 122, 255, 0.2); color: #80c4ff; border-color: rgba(0, 122, 255, 0.4); }
.event-chip.orange { background: rgba(255, 159, 10, 0.2); color: #ffca80; border-color: rgba(255, 159, 10, 0.4); }
.event-chip.green { background: rgba(48, 209, 88, 0.2); color: #8cf2a5; border-color: rgba(48, 209, 88, 0.4); }

.upcoming-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upcoming-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.op-card {
  background: rgba(29, 32, 32, 0.4);
  border: 1px solid var(--outline);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.op-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.op-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.op-time { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.op-title { font-size: 14px; font-weight: 700; font-family: var(--font-heading); text-transform: uppercase; }
.op-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

.op-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.insight-box {
  background: rgba(233, 192, 130, 0.05);
  border: 1px solid rgba(233, 192, 130, 0.2);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
}

.insight-icon { color: var(--secondary); }
.insight-content h4 { font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; margin-bottom: 4px; }
.insight-content p { font-size: 12px; color: var(--muted); line-height: 1.4; }

.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
}
.side-panel {
  width: 460px;
  height: 100%;
  background: var(--surface-card);
  border-left: 1px solid var(--outline);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.side-panel-header {
  padding: 20px;
  border-bottom: 1px solid var(--outline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.side-panel-scroll { flex: 1 1; overflow-y: auto; }
.side-panel-body { padding: 24px; display: grid; grid-gap: 20px; gap: 20px; }
.side-panel-body h2 { margin: 0; font-size: 24px; font-family: var(--font-heading); }
.badge-row { display: flex; gap: 10px; }
.side-info-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 16px; gap: 16px; background: rgba(0,0,0,0.2); padding: 16px; border-radius: 8px; }
.info-item { display: grid; grid-gap: 4px; gap: 4px; }
.info-item span { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.side-description label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.side-description p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.side-meta { font-size: 12px; color: var(--muted); display: grid; grid-gap: 6px; gap: 6px; border-top: 1px solid var(--outline); pt: 16px; }
.side-actions { display: grid; grid-gap: 12px; gap: 12px; }
.full-width { width: 100%; justify-content: center; }
.center { text-align: center; }


.mini-card, .metric-card, .panel-card, .property-card, .task-card, .kanban-column, .login-card {
  background: rgba(29, 32, 32, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(137, 146, 147, 0.15);
  box-shadow: var(--shadow);
}
.mini-card, .metric-card, .panel-card, .kanban-column, .login-card { border-radius: var(--radius-md); }
.metric-card:hover { border-color: rgba(233, 192, 130, 0.4); box-shadow: inset 0 0 20px rgba(233, 192, 130, 0.05); }
.mini-card { padding: 18px; }
.metric-card {
  min-height: 110px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.metric-label, .mini-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.metric-value, .sub-metrics-grid strong, .mini-value {
  font-family: var(--font-heading);
  font-weight: 700;
}
.metric-value { font-size: 32px; line-height: 1.1; }
.metric-delta, .mini-subtitle, .muted-line { color: var(--muted); font-size: 13px; }
.mini-value { font-size: 18px; }
.panel-card { padding: 20px; }
.panel-header { justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.panel-header h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.stack-list, .activity-feed, .calendar-list, .memory-list, .kanban-stack { display: grid; grid-gap: 14px; gap: 14px; }
.stack-list { margin: 0; padding-left: 18px; }
.activity-item { display: flex; gap: 12px; }
.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(147, 209, 214, 0.4);
  margin-top: 8px;
  flex-shrink: 0;
}
.wide { grid-column: 1 / -1; }

.property-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}
.property-card:hover, .task-card:hover, .memory-item:hover { border-color: var(--outline-strong); }
.property-image-wrap, .detail-image-wrap { position: relative; min-height: 190px; background: var(--surface-high); }
.property-image { object-fit: cover; }
.property-body { padding: 16px; display: grid; grid-gap: 10px; gap: 10px; }
.property-body h3, .detail-content h2, .login-card h1 { margin: 0; font-family: var(--font-heading); }
.property-title-group { display: grid; grid-gap: 2px; gap: 2px; }
.property-type-tag { font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; }
.property-facts { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  border-top: 1px solid rgba(255,255,255,0.05); 
  padding-top: 12px; 
  margin-top: 4px; 
}
.property-price { font-size: 15px; font-weight: 700; color: #fff; }
.property-return { font-size: 11px; font-weight: 600; color: var(--primary); background: rgba(147, 209, 214, 0.1); padding: 2px 8px; border-radius: 4px; }

.score-pill { color: var(--secondary); border-color: rgba(233, 192, 130, 0.2); }
.detail-grid { display: grid; grid-template-columns: 340px 1fr; grid-gap: 20px; gap: 20px; }
.detail-list { flex-direction: column; gap: 10px; margin-bottom: 16px; }
.inline-actions { gap: 10px; flex-wrap: wrap; }

.kanban-column { padding: 18px; min-height: 420px; }
.column-count { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
.task-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  padding: 16px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  background: var(--surface-low);
  cursor: pointer;
}
.task-card h4, .task-card p { margin: 0; }
.task-card p { color: var(--muted); font-size: 14px; }
.task-meta { justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.task-card select, .login-field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--outline-strong);
  background: transparent;
  color: var(--text);
  padding: 10px 0;
}
.task-card select:focus, .login-field input:focus { border-bottom-color: var(--secondary); }

.memory-item {
  width: 100%;
  text-align: left;
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--surface-low);
  border: 1px solid var(--outline);
}
.memory-item p { margin: 8px 0 0; color: var(--muted); }
.calendar-item {
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--outline);
  padding-top: 14px;
}
.calendar-item:first-child { border-top: 0; padding-top: 0; }
.calendar-date { flex-direction: column; min-width: 180px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.org-chart { display: grid; grid-gap: 16px; gap: 16px; }
.agent-node {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  background: var(--surface-low);
}
.agent-node.primary { box-shadow: inset 2px 0 0 var(--secondary); }
.agent-metrics { display: grid; grid-gap: 8px; gap: 8px; margin-top: 14px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.table-like { display: grid; grid-gap: 12px; gap: 12px; }
.table-row {
  align-items: start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-low);
  border: 1px solid var(--outline);
}
.table-row > div { flex: 1 1; }
.table-row > div:last-child { text-align: right; }
.settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.setting-item {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  background: var(--surface-low);
  padding: 16px;
}
.setting-item.full { grid-column: 1 / -1; }

.badge.success { color: var(--success); box-shadow: 0 0 8px rgba(147, 209, 214, 0.16); }
.badge.warning { color: var(--warning); box-shadow: 0 0 8px rgba(233, 192, 130, 0.16); }
.badge.danger { color: var(--danger); box-shadow: 0 0 8px rgba(255, 180, 171, 0.16); }
.badge.info { color: var(--tertiary); box-shadow: 0 0 8px rgba(250, 184, 142, 0.16); }
.badge.muted { color: var(--muted); }

.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface-card);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--outline);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: var(--surface-card);
  color: var(--muted);
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--outline-strong); color: var(--text); }
.filter-btn.active { background: var(--primary); color: #00363a; border-color: rgba(255,255,255,0.08); border-left-color: var(--secondary); }
.filter-stats { margin-left: auto; font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.metric-delta.success, .mini-value.success { color: var(--success); }
.metric-delta.warning { color: var(--warning); }
.metric-delta.danger { color: var(--danger); }
.metric-delta.info { color: var(--tertiary); }
.metric-delta.neutral { color: var(--muted); }

.login-screen {
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card { width: min(100%, 460px); padding: 28px; display: grid; grid-gap: 16px; gap: 16px; }
.login-card p, .login-note { color: var(--muted); }
.login-field { display: grid; grid-gap: 8px; gap: 8px; }
.inline-alert { border-radius: var(--radius-md); padding: 12px 14px; border: 1px solid var(--outline); }
.inline-alert.danger { color: var(--danger); background: rgba(147, 0, 10, 0.14); }

@media (max-width: 1380px) {
  .metrics-grid, .property-grid, .sub-metrics-grid, .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kanban-board { grid-template-columns: repeat(3, minmax(240px, 1fr)); }
}

@media (max-width: 1024px) {
  .sidebar, .sidebar.collapsed, .topbar { width: 100%; position: -webkit-sticky; position: sticky; }
  .main-panel { margin-left: 0; width: 100%; padding-top: 24px; }
  .app-shell { flex-direction: column; }
  .metrics-grid, .dashboard-12-col, .col-8, .col-4, .split-grid, .property-grid, .sub-metrics-grid, .settings-grid, .detail-grid, .kanban-board { grid-template-columns: 1fr; }
  .col-8, .col-4 { grid-column: span 1; }
  .page-heading, .topbar, .topbar-actions, .table-row { flex-direction: column; align-items: flex-start; }
}

