/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.29_@playwright+test@1.64.1_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/.pnpm/next@15.5.29_@playwright+test@1.64.1_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/.pnpm/next@15.5.29_@playwright+test@1.64.1_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"display":"swap","variable":"--font-inter","weight":["400","500","600","700"]}],"variableName":"inter"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  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: 400;
  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: 400;
  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: 400;
  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: 400;
  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: 400;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  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: 500;
  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: 500;
  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: 500;
  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: 500;
  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: 500;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  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: 600;
  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: 600;
  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: 600;
  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: 600;
  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: 600;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  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: 700;
  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: 700;
  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: 700;
  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: 700;
  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: 700;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  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_176161 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_176161 {--font-inter: 'Inter', 'Inter Fallback'
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.29_@playwright+test@1.64.1_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.29_@playwright+test@1.64.1_@types+node@22.20.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!../../packages/ui/src/styles.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* LegalOS Corporate Liquid Glass — Visual Direction Addendum + CLG §7 tokens.
   Composition from Visual Direction sample; colour intensity desaturated per CLG. */

:root,
[data-brand-plane],
[data-theme="light"] {
  --app-background: #e9edf1;
  --surface-base: #f0f3f5;
  --surface-raised: #f4f6f8;
  --surface-glass: rgba(239, 243, 246, 0.92);
  --surface-white: #ffffff;
  --border-subtle: #d3dae1;
  --text-primary: #273542;
  --text-secondary: #586877;
  --accent-primary: #657b8f;
  --accent-hover: #536a7e;
  --accent-deep: #3f5b7a;
  --header-bg: #3a4f66;
  --header-bg-end: #314557;
  --header-text: #f3f6f9;
  --header-muted: #c5d0db;
  --header-pill: rgba(255, 255, 255, 0.1);
  --header-pill-active: rgba(255, 255, 255, 0.18);
  --status-success: #647d70;
  --status-warning: #907b5f;
  --status-danger: #946c70;
  --status-info: #5f7388;
  --status-success-bg: #e8f5ee;
  --status-warning-bg: #fff6e0;
  --status-danger-bg: #fdecec;
  --status-info-bg: #eef3f8;
  --status-neutral-bg: #eef1f4;
  --shadow-card: 0 1px 2px rgba(39, 53, 66, 0.04), 0 4px 14px rgba(39, 53, 66, 0.05);
  --shadow-header: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 24px rgba(39, 53, 66, 0.12);
  --top-bar-h: 52px;
  --footer-h: 34px;
  --sidebar-w: 168px;
  --radius-card: 12px;
  --radius-control: 10px;
  --space-page-x: 1.15rem;
  --space-page-y: 0.95rem;
  --space-stack: 0.85rem;
  --font-ui: var(--font-inter, "Inter"), ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-size-base: 14px;
  --line-height-base: 1.45;
  --table-row-h: 36px;
}

[data-theme="dark"] {
  --app-background: #222b34;
  --surface-base: #2c3742;
  --surface-raised: #344251;
  --surface-glass: rgba(44, 55, 66, 0.9);
  --surface-white: #2f3c49;
  --border-subtle: #3d4b58;
  --text-primary: #e7ebef;
  --text-secondary: #a8b3bd;
  --accent-primary: #93a7b8;
  --accent-hover: #a8b9c8;
  --accent-deep: #8fa3b8;
  --header-bg: #243140;
  --header-bg-end: #1c2733;
  --header-text: #eef2f6;
  --header-muted: #9aabba;
  --header-pill: rgba(255, 255, 255, 0.06);
  --header-pill-active: rgba(255, 255, 255, 0.12);
  --status-success: #8fa899;
  --status-warning: #b8a584;
  --status-danger: #b89296;
  --status-info: #9aadc0;
  --status-success-bg: rgba(143, 168, 153, 0.18);
  --status-warning-bg: rgba(184, 165, 132, 0.18);
  --status-danger-bg: rgba(184, 146, 150, 0.18);
  --status-info-bg: rgba(154, 173, 192, 0.16);
  --status-neutral-bg: rgba(168, 179, 189, 0.12);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 22px rgba(0, 0, 0, 0.22);
  --shadow-header: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(101, 123, 143, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(63, 91, 122, 0.06), transparent 50%),
    var(--app-background);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.lo-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: var(--top-bar-h) 1fr var(--footer-h);
  background: transparent;
}

/* ——— Top bar (Visual Direction sample: distinct slate header + wordmark) ——— */
.lo-topbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.15rem;
  background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-end) 100%);
  color: var(--header-text);
  box-shadow: var(--shadow-header);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
}

.lo-topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 9.5rem;
  flex-shrink: 0;
}

.lo-topbar__brand img {
  height: 26px;
  width: auto;
}

.lo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--header-text);
}

.lo-wordmark__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lo-wordmark__mark svg {
  width: 17px;
  height: 17px;
  color: var(--header-text);
  display: block;
}

.lo-wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.05rem;
}

.lo-wordmark__name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lo-wordmark__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--header-muted);
}

.lo-topbar__nav {
  display: flex;
  gap: 0.2rem;
  flex: 1 1;
  min-width: 0;
  overflow-x: auto;
}

.lo-nav-pill {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  color: var(--header-muted);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.lo-nav-pill[data-active="true"],
.lo-nav-pill:hover {
  background: var(--header-pill-active);
  color: var(--header-text);
  border-color: rgba(255, 255, 255, 0.08);
}

.lo-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--header-muted);
  flex-shrink: 0;
}

.lo-topbar .lo-icon-btn {
  color: var(--header-muted);
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  padding: 0;
}

.lo-topbar .lo-icon-btn:hover {
  background: var(--header-pill);
  color: var(--header-text);
}

.lo-topbar .lo-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lo-user-chip {
  margin-left: 0.15rem;
  min-width: 32px;
  height: 32px;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: var(--header-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.lo-content {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lo-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: var(--space-page-y) var(--space-page-x) 0.55rem;
}

.lo-content-header h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.25;
}

.lo-meta {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 0.2rem;
  font-weight: 450;
}

.lo-ask-pill {
  border: 1px solid color-mix(in srgb, var(--accent-deep) 28%, var(--border-subtle));
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-raised) 100%);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(39, 53, 66, 0.05);
}

.lo-ask-pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.lo-ask-pill:hover {
  border-color: var(--accent-primary);
  color: var(--accent-hover);
}

.lo-page {
  padding: 0 var(--space-page-x) var(--space-page-y);
  flex: 1 1;
}

.lo-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: var(--space-stack);
  gap: var(--space-stack);
  margin-bottom: var(--space-stack);
}

@media (max-width: 1100px) {
  .lo-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lo-kpi {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.75rem 0.85rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.65rem;
  gap: 0.65rem;
  align-items: center;
  min-height: 72px;
}

.lo-kpi__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--status-neutral-bg);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
}

.lo-kpi__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lo-kpi[data-urgent="true"] .lo-kpi__icon {
  background: var(--status-danger-bg);
  color: var(--status-danger);
}

.lo-kpi__label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.lo-kpi__value {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-top: 0.05rem;
  line-height: 1.1;
  color: var(--text-primary);
}

.lo-kpi[data-urgent="true"] .lo-kpi__value {
  color: var(--status-danger);
}

.lo-grid-3 {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.95fr;
  grid-gap: var(--space-stack);
  gap: var(--space-stack);
}

@media (max-width: 1100px) {
  .lo-grid-3 {
    grid-template-columns: 1fr;
  }
}

.lo-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.85rem 0.95rem;
  box-shadow: var(--shadow-card);
}

.lo-card h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.lo-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lo-feed li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  align-items: start;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
}

.lo-feed li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lo-feed__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.35rem;
  background: var(--accent-primary);
  opacity: 0.55;
}

.lo-feed__meta {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
  margin-top: 0.15rem;
}

.lo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lo-table th,
.lo-table td {
  text-align: left;
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--border-subtle);
  height: var(--table-row-h);
  vertical-align: middle;
}

.lo-table tbody tr:hover td {
  background: color-mix(in srgb, var(--surface-base) 70%, transparent);
}

.lo-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lo-table a {
  color: var(--accent-deep);
  font-weight: 600;
}

.lo-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--status-success-bg);
  color: var(--status-success);
  text-transform: capitalize;
}

.lo-badge[data-tone="warning"] {
  background: var(--status-warning-bg);
  color: var(--status-warning);
}

.lo-badge[data-tone="danger"] {
  background: var(--status-danger-bg);
  color: var(--status-danger);
}

.lo-badge[data-tone="info"] {
  background: var(--status-info-bg);
  color: var(--status-info);
}

.lo-badge[data-tone="neutral"] {
  background: var(--status-neutral-bg);
  color: var(--text-secondary);
}

.lo-quick-actions {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 0.65rem;
  gap: 0.65rem;
  margin-top: var(--space-stack);
}

@media (max-width: 1100px) {
  .lo-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lo-quick {
  min-height: 72px;
  padding: 0.7rem 0.55rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--surface-white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.lo-quick svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-deep);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lo-quick:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 45%, var(--border-subtle));
  color: var(--text-primary);
}

.lo-matter-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: calc(100vh - var(--top-bar-h) - var(--footer-h));
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.lo-matter-sidebar {
  border: 1px solid var(--border-subtle);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  padding: 0.75rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: calc(100vh - var(--top-bar-h) - var(--footer-h) - 1.5rem);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin: 0.15rem 0 0.35rem;
}

.lo-matter-nav {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
}

.lo-matter-nav[data-active="true"],
.lo-matter-nav:hover {
  background: var(--surface-white);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: 0 1px 2px rgba(39, 53, 66, 0.04);
}

.lo-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 1rem;
  gap: 1rem;
  padding: 0 1.1rem;
  border-top: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--surface-glass) 90%, #ffffff);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  font-size: 12px;
  color: var(--text-secondary);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4) inset;
}

.lo-footer__right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lo-icon-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.lo-icon-btn:hover {
  background: var(--surface-raised);
  color: var(--text-primary);
}

.lo-footer .lo-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.lo-footer .lo-icon-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lo-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(39, 53, 66, 0.32);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  z-index: 50;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.lo-dialog {
  width: min(560px, 92vw);
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(39, 53, 66, 0.18);
  padding: 1.05rem 1.15rem;
}

.lo-dialog h2 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lo-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-success);
  display: inline-block;
  margin-right: 0.4rem;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-success) 22%, transparent);
}

.lo-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.55rem 1rem;
  gap: 0.55rem 1rem;
}

.lo-summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.lo-summary-item span:first-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  font-weight: 600;
}

.lo-summary-item span:last-child {
  font-size: 13px;
  font-weight: 550;
  color: var(--text-primary);
}

.lo-summary-item[data-tone="warning"] span:last-child {
  color: var(--status-warning);
}

.lo-summary-item[data-tone="danger"] span:last-child {
  color: var(--status-danger);
}

