/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Cormorant_Garamond","arguments":[{"subsets":["latin"],"weight":["300","400","500"],"variable":"--font-display-face","display":"swap"}],"variableName":"display"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/393d45a2251e223a-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/8715d2ed531152f4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/c48b38fe8bb532f3-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/48410f3df60da620-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/_next/static/media/7b89a4fd5e90ede0-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/393d45a2251e223a-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/8715d2ed531152f4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/c48b38fe8bb532f3-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/48410f3df60da620-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7b89a4fd5e90ede0-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/393d45a2251e223a-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/8715d2ed531152f4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/c48b38fe8bb532f3-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/48410f3df60da620-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/7b89a4fd5e90ede0-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: 'Cormorant Garamond Fallback';src: local("Times New Roman");ascent-override: 95.27%;descent-override: 29.59%;line-gap-override: 0.00%;size-adjust: 96.98%
}.__className_5a3df4 {font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback';font-style: normal
}.__variable_5a3df4 {--font-display-face: 'Cormorant Garamond', 'Cormorant Garamond Fallback'
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--font-body-face","display":"swap"}],"variableName":"body"} ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* 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-20C0, 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-20C0, 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-20C0, 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;
}@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_37ef13 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_37ef13 {--font-body-face: 'Inter', 'Inter Fallback'
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/styles/tokens.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Maverick design tokens — from el_design_system.md (ElevenLabs-inspired editorial) */

:root {
  color-scheme: light;

  /* Brand & accent */
  --color-primary: #292524;
  --color-primary-active: #0c0a09;

  /* Surface */
  --color-canvas: #f5f5f5;
  --color-canvas-soft: #fafafa;
  --color-canvas-deep: #0c0a09;
  --color-surface-card: #ffffff;
  --color-surface-strong: #f0efed;
  --color-surface-dark: #0c0a09;
  --color-surface-dark-elevated: #1c1917;
  --color-surface: var(--color-surface-card);

  /* Hairlines */
  --color-hairline: #e7e5e4;
  --color-hairline-soft: #f0efed;
  --color-hairline-strong: #d6d3d1;

  /* Text */
  --color-ink: #0c0a09;
  --color-body: #4e4e4e;
  --color-body-strong: #292524;
  --color-muted: #777169;
  --color-muted-soft: #a8a29e;
  --color-on-primary: #ffffff;
  --color-on-dark: #ffffff;
  --color-on-dark-soft: #a8a29e;

  /* Atmospheric gradients */
  --color-gradient-mint: #a7e5d3;
  --color-gradient-peach: #f4c5a8;
  --color-gradient-lavender: #c8b8e0;
  --color-gradient-sky: #a8c8e8;
  --color-gradient-rose: #e8b8c4;

  /* Semantic */
  --color-success: #16a34a;
  --color-error: #dc2626;
  --color-warning: #ca8a04;

  /* Spacing (4px base) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-base: 16px;
  --space-md: 20px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 96px;

  /* Radii */
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-xxl: 24px;
  --rounded-pill: 9999px;

  /* Elevation */
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.04);

  /* Typography families */
  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: Inter, system-ui, sans-serif;

  /* Compat aliases */
  --bg: var(--color-canvas);
  --bg-elevated: var(--color-surface-card);
  --bg-soft: var(--color-canvas-soft);
  --border: var(--color-hairline);
  --text: var(--color-ink);
  --muted: var(--color-muted);
  --accent: var(--color-primary);
  --accent-strong: var(--color-primary-active);
  --danger: var(--color-error);
  --radius: var(--rounded-xl);
  --font: var(--font-body);
  --canvas: var(--color-canvas);
  --ink: var(--color-ink);
  --card: var(--color-surface-card);
  --line: var(--color-hairline);
  --primary: var(--color-primary);
  --display: var(--font-display);
  --body: var(--font-body);
}

/* Dark — inverted editorial canvas (DS surface-dark / on-dark) */
html[data-theme="dark"] {
  color-scheme: dark;

  --color-primary: #fafaf9;
  --color-primary-active: #ffffff;

  --color-canvas: #0c0a09;
  --color-canvas-soft: #1c1917;
  --color-canvas-deep: #0c0a09;
  --color-surface-card: #1c1917;
  --color-surface-strong: #292524;
  --color-surface-dark: #0c0a09;
  --color-surface-dark-elevated: #292524;
  --color-surface: var(--color-surface-card);

  --color-hairline: #292524;
  --color-hairline-soft: #1c1917;
  --color-hairline-strong: #44403c;

  --color-ink: #fafaf9;
  --color-body: #a8a29e;
  --color-body-strong: #e7e5e4;
  --color-muted: #a8a29e;
  --color-muted-soft: #78716c;
  --color-on-primary: #0c0a09;
  --color-on-dark: #ffffff;
  --color-on-dark-soft: #a8a29e;

  --color-gradient-mint: #5a9e8c;
  --color-gradient-peach: #b8896e;
  --color-gradient-lavender: #8a7aa8;
  --color-gradient-sky: #6a8aaa;
  --color-gradient-rose: #a87884;

  --color-success: #4ade80;
  --color-error: #f87171;
  --color-warning: #fbbf24;

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.45);

  --bg: var(--color-canvas);
  --bg-elevated: var(--color-surface-card);
  --bg-soft: var(--color-canvas-soft);
  --border: var(--color-hairline);
  --text: var(--color-ink);
  --muted: var(--color-muted);
  --accent: var(--color-primary);
  --accent-strong: var(--color-primary-active);
  --danger: var(--color-error);
  --canvas: var(--color-canvas);
  --ink: var(--color-ink);
  --card: var(--color-surface-card);
  --line: var(--color-hairline);
  --primary: var(--color-primary);
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.1.6_react-dom@19.0.0_react@19.0.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

/* Atmospheric orbs — decoration only */
.orb-stage {
  position: relative;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.orb-mint {
  background: radial-gradient(circle, var(--color-gradient-mint) 0%, transparent 70%);
}
.orb-peach {
  background: radial-gradient(circle, var(--color-gradient-peach) 0%, transparent 70%);
}
.orb-lavender {
  background: radial-gradient(circle, var(--color-gradient-lavender) 0%, transparent 70%);
}
.orb-sky {
  background: radial-gradient(circle, var(--color-gradient-sky) 0%, transparent 70%);
}
.orb-rose {
  background: radial-gradient(circle, var(--color-gradient-rose) 0%, transparent 70%);
}

.shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 100vh;
  position: relative;
}

.sidebar {
  border-right: 1px solid var(--color-hairline);
  background: var(--color-canvas-soft);
  padding: var(--space-base) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 30;
}

.sidebar-foot {
  margin-top: auto;
  padding: var(--space-xs);
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-group-label {
  margin: var(--space-sm) 0 var(--space-xxs);
  padding: 0 var(--space-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}

.nav-backdrop {
  display: none;
}

.nav a {
  padding: 10px var(--space-sm);
  border-radius: var(--rounded-lg);
  color: var(--color-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: var(--color-surface-strong);
  color: var(--color-ink);
}

.nav a.active {
  background: var(--color-surface-card);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--color-hairline);
}

.main {
  padding: var(--space-lg) var(--space-xl) var(--space-xxl);
  background: var(--color-canvas);
  min-width: 0;
}

.brand {
  display: flex;
  justify-content: center;
  padding: 12px 8px 8px;
  margin-bottom: var(--space-xs);
}

.brand-inline {
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.brand-logo {
  width: 128px;
  height: auto;
}

.logo-light {
  display: block;
}

.logo-dark {
  display: none;
}

html[data-theme="dark"] .logo-light {
  display: none;
}

html[data-theme="dark"] .logo-dark {
  display: block;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
  overflow-y: auto;
}

.nav a {
  padding: 8px var(--space-sm);
  border-radius: var(--rounded-lg);
  color: var(--color-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  gap: var(--space-base);
}

.topbar h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.32px;
  line-height: 1.13;
}

.topbar p {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: var(--space-base);
  gap: var(--space-base);
  margin-bottom: var(--space-lg);
}

.card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: var(--space-lg);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-soft);
}

.card .label {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.card .value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.32px;
  line-height: 1.1;
  color: var(--color-ink);
}

.card .hint {
  margin-top: var(--space-xs);
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.panel {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.panel h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2;
}

.panel .sub {
  color: var(--color-muted);
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: var(--space-sm) var(--space-xs);
  border-bottom: 1px solid var(--color-hairline);
  font-size: 0.9375rem;
  vertical-align: middle;
}

.table th {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

/* Dense directory (economics-operator scan) */
.directory-panel {
  padding-top: var(--space-md);
}
.directory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.directory-head h2 {
  margin: 0;
}
.directory-head .sub {
  margin: 0;
  font-size: 0.8125rem;
}
.table-wrap.dense {
  overflow-x: auto;
  margin: 0 calc(var(--space-lg) * -1);
  padding: 0 var(--space-lg);
}
.virtual-scroll {
  max-height: min(70vh, 720px);
  overflow: auto;
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  background: var(--color-surface-card);
}
.virtual-scroll .table-dense {
  margin: 0;
}
.virtual-scroll .table-dense th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: var(--color-surface-card);
  z-index: 2;
}
.th-sortable {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.th-sortable:hover {
  color: var(--color-ink);
}
.sort-ind {
  opacity: 0.55;
  font-size: 0.65rem;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.table-footer .btn {
  width: auto;
}
.prospects-table-shell .directory-head {
  margin-bottom: 10px;
}
.table-dense th,
.table-dense td {
  padding: 8px 10px;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.table-dense th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: var(--color-surface-card);
  z-index: 1;
  border-bottom: 1px solid var(--color-hairline-strong);
}
.table-dense tbody tr.row-click {
  cursor: pointer;
  transition: background 0.12s ease;
}
.table-dense tbody tr.row-click:hover {
  background: color-mix(in srgb, var(--color-ink) 4%, var(--color-surface-card));
}
.table-dense .col-check {
  width: 36px;
  padding-left: 4px;
  padding-right: 4px;
}
.table-dense .col-amt {
  width: 108px;
  white-space: nowrap;
}
.table-dense .col-amt .amt {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.table-dense .col-amt .amt-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--color-muted);
}
.table-dense .col-name {
  min-width: 200px;
}
.table-dense .name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.table-dense .name-line strong {
  font-weight: 500;
  color: var(--color-ink);
}
.table-dense .meta-line {
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}
.table-dense .meta-line .dot {
  margin: 0 4px;
  opacity: 0.5;
}
.table-dense .col-stage {
  min-width: 140px;
}
.table-dense .col-intent {
  min-width: 120px;
}
.table-dense .col-cap {
  width: 88px;
}
.table-dense .col-src {
  color: var(--color-body);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag-ticket {
  background: color-mix(in srgb, var(--color-warning) 18%, transparent);
  color: var(--color-warning);
  border: 1px solid color-mix(in srgb, var(--color-warning) 35%, transparent);
}
.tag-customer {
  background: color-mix(in srgb, var(--color-success) 16%, transparent);
  color: var(--color-success);
  border: 1px solid color-mix(in srgb, var(--color-success) 30%, transparent);
}
.stage-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  background: var(--color-surface-strong);
  color: var(--color-body-strong);
  border: 1px solid var(--color-hairline);
  white-space: nowrap;
}
.stage-chip.stage-reserved,
.stage-chip.stage-checkout_started {
  border-color: color-mix(in srgb, var(--color-warning) 40%, var(--color-hairline));
  color: var(--color-ink);
}
.stage-chip.stage-investment_committed,
.stage-chip.stage-investment_confirmed {
  border-color: color-mix(in srgb, var(--color-success) 40%, var(--color-hairline));
  color: var(--color-success);
}
.signal {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  grid-gap: 6px;
  gap: 6px;
  align-items: center;
  min-width: 118px;
}
.signal-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.signal-track {
  height: 4px;
  border-radius: 999px;
  background: var(--color-surface-strong);
  overflow: hidden;
}
.signal-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.signal-score {
  font-size: 0.68rem;
  color: var(--color-muted);
  text-align: right;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.signal-hot .signal-label { color: var(--color-error); }
.signal-hot .signal-track i { background: var(--color-error); }
.signal-warm .signal-label { color: var(--color-warning); }
.signal-warm .signal-track i { background: var(--color-warning); }
.signal-cold .signal-label { color: var(--color-muted); }
.signal-cold .signal-track i { background: var(--color-muted-soft); }
.cap-chip {
  font-size: 0.72rem;
  font-weight: 500;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.cap-chip.cap-high { color: var(--color-success); }
.cap-chip.cap-mid { color: var(--color-warning); }
.cap-chip.cap-low { color: var(--color-muted); }
.cap-chip.cap-unk { color: var(--color-muted-soft); }
.compact-panel {
  margin-bottom: 12px;
  padding: var(--space-md) var(--space-lg);
}
.compact-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.import-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-check {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-body);
  white-space: nowrap;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.empty-state {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  color: var(--color-muted);
}

.empty-state h3 {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--color-ink);
}

.empty-state p {
  margin: 0 0 var(--space-lg);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  background: var(--color-canvas);
}

.login-page .orb {
  width: 420px;
  height: 420px;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xxl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
}

.login-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.36px;
  line-height: 1.17;
}

.login-card p {
  margin: 0 0 var(--space-lg);
  color: var(--color-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-base);
}

.field label {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 500;
}

.field input,
.input,
.select {
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-surface-card);
  color: var(--color-ink);
  border-radius: var(--rounded-md);
  padding: 12px 16px;
  height: 44px;
  outline: none;
  min-width: 140px;
}

.field input:focus,
.input:focus,
.select:focus {
  border-width: 2px;
  border-color: var(--color-ink);
  padding: 11px 15px;
}

.kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  height: calc(100vh - 280px);
  min-height: 480px;
  align-items: stretch;
}

.kanban-single {
  grid-auto-columns: minmax(280px, 420px);
}

.kanban-col {
  background: var(--color-canvas-soft);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kanban-col.drop-ok {
  border-color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--color-ink);
}

.kanban-col.drop-bad {
  border-color: var(--color-error);
  background: color-mix(in srgb, var(--color-error) 6%, var(--color-canvas-soft));
}

.kanban-col.drop-muted {
  opacity: 0.55;
}

.kanban-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-hairline);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.kanban-money {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-ink);
}

.kanban-system {
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: none;
  color: var(--color-muted);
}

.kanban-body {
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1 1;
  min-height: 0;
  overflow-y: auto;
}

.kanban-empty {
  margin: 0;
  padding: 8px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.kanban-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: 10px 12px;
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
}

.kanban-card.overdue {
  box-shadow: inset 3px 0 0 var(--color-error);
}

.kanban-card.dragging {
  opacity: 0.35;
}

.kanban-card:hover {
  box-shadow: var(--shadow-soft);
}

.kanban-overlay {
  box-shadow: var(--shadow-soft);
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.kanban-face.is-handle {
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: none;
}

.kanban-face.is-handle:active {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.kanban-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  font-weight: 500;
}

.kanban-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  margin-top: 6px;
}

.kanban-range,
.kanban-meta,
.kanban-stage,
.kanban-due {
  font-size: 0.75rem;
  margin-top: 4px;
}

.kanban-stage {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.kanban-due.is-overdue {
  color: var(--color-error);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  border: 0;
  border-radius: var(--rounded-pill);
  padding: 10px 20px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--color-primary-active);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn.secondary,
.btn.outline {
  background: transparent;
  border: 1px solid var(--color-hairline-strong);
  color: var(--color-ink);
}

.btn.secondary:hover,
.btn.outline:hover {
  background: var(--color-surface-strong);
}

.btn.block {
  width: 100%;
}

.muted {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.toast {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 50;
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
  padding: 12px 18px;
  border-radius: var(--rounded-pill);
  font-size: 0.875rem;
  box-shadow: var(--shadow-soft);
}

.funnel-chart {
  width: 100%;
  height: 280px;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-surface-card);
  border-radius: var(--rounded-pill);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 4px;
}

.skeleton {
  background: linear-gradient(90deg, var(--color-surface-strong) 25%, var(--color-hairline-soft) 50%, var(--color-surface-strong) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: var(--rounded-md);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.command-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-base);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
  padding: var(--space-sm) 0;
  background: color-mix(in srgb, var(--color-canvas) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.command-search {
  flex: 1 1;
  min-width: 180px;
}

.command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}

.hero-kpi {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-gap: var(--space-base);
  gap: var(--space-base);
  margin-bottom: var(--space-lg);
}

.hero-kpi-main {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xxl);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.hero-kpi-main .hero-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin: 8px 0;
}

.hero-kpi-main .progress-track {
  height: 10px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface-strong);
  box-shadow: inset 0 0 0 1px var(--color-hairline);
  overflow: hidden;
  margin: var(--space-base) 0 var(--space-xs);
}

.hero-kpi-main .progress-track i {
  display: block;
  height: 100%;
  min-width: 6px;
  background: var(--color-ink);
  border-radius: var(--rounded-pill);
  transition: width 0.6s ease;
}

.velocity-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xxl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.velocity-card .status-pill {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
}

.status-pill.on {
  background: color-mix(in srgb, var(--color-success) 18%, var(--color-surface-card));
  color: var(--color-success);
  border: 1px solid color-mix(in srgb, var(--color-success) 35%, transparent);
}
.status-pill.off {
  background: color-mix(in srgb, var(--color-error) 16%, var(--color-surface-card));
  color: var(--color-error);
  border: 1px solid color-mix(in srgb, var(--color-error) 35%, transparent);
}

.funnel-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.funnel-row {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  font-size: 0.875rem;
}

.funnel-row .bar-track {
  height: 28px;
  background: var(--color-surface-strong);
  border-radius: var(--rounded-pill);
  overflow: hidden;
}

.funnel-row .bar-fill {
  height: 100%;
  background: var(--color-ink);
  border-radius: var(--rounded-pill);
  min-width: 4px;
  transition: width 0.5s ease;
}

.system-foot {
  margin-top: var(--space-xxl);
  padding-top: var(--space-base);
  border-top: 1px solid var(--color-hairline);
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xxl);
  padding: var(--space-lg);
}
.stat-strip > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-strip strong {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.32px;
}
.stat-strip.ops strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.5rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.stat-strip span {
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: var(--space-sm) var(--space-base);
  gap: var(--space-sm) var(--space-base);
  align-items: end;
}
.form-grid label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-body);
}
.form-actions {
  display: flex;
  align-items: flex-end;
}
.check-row {
  display: flex !important;
  align-items: center;
  gap: 8px;
  grid-template-columns: none !important;
}
.utm-preview {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
  padding: var(--space-sm) var(--space-base);
  background: var(--color-canvas-soft);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
}
.utm-preview code {
  flex: 1 1;
  min-width: 200px;
  font-size: 0.8125rem;
  word-break: break-all;
}
.table-wrap {
  overflow-x: auto;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
}
.truncate {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-hairline);
  background: var(--color-surface-card);
  color: var(--color-ink);
  border-radius: var(--rounded-pill);
  padding: 8px 14px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 36px;
}
.theme-toggle:hover {
  border-color: var(--color-hairline-strong);
  background: var(--color-surface-strong);
}
.theme-toggle.compact {
  padding: 8px 10px;
  min-width: 36px;
  justify-content: center;
}
.theme-toggle-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.hint {
  color: var(--color-muted);
  font-size: 0.75rem;
}

html[data-theme="dark"] .consent-banner {
  background: var(--color-surface-strong);
  color: var(--color-ink);
}
html[data-theme="dark"] .consent-banner .btn-primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.nav-group-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 0 var(--space-sm);
  margin: var(--space-sm) 0 var(--space-xxs);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--color-muted-soft);
  cursor: pointer;
}
.nav-group-toggle:hover { color: var(--color-muted); }

.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 9, 0.35);
  z-index: 40;
}
.sheet-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: min(420px, 100vw);
  background: var(--color-canvas);
  border-left: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  overflow: auto;
}
.sheet-content.wide { width: min(520px, 100vw); }
.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}
.sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.75rem;
  letter-spacing: -0.36px;
}
.sheet-desc {
  margin: 6px 0 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}
.sheet-form {
  display: grid;
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
}
.sheet-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-size: 0.875rem;
}

.camp-hero {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  grid-gap: var(--space-base);
  gap: var(--space-base);
  margin-bottom: var(--space-lg);
}
.camp-hero-main {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xxl);
  padding: var(--space-xl);
}
.camp-hero-main .hero-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -1.5px;
  margin: 8px 0;
  line-height: 1.05;
}
.camp-roas { margin: 0 0 8px; font-weight: 500; }
.camp-roas.good { color: var(--color-success); }
.camp-roas.bad { color: var(--color-error); }
.camp-hero-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
}
.camp-metric {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.camp-metric > span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.camp-metric strong {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.35rem;
}
.delta {
  font-size: 0.75rem;
  color: var(--color-muted);
}
.delta.good { color: var(--color-success); }
.delta.bad { color: var(--color-error); }
.sparkline { color: var(--color-ink); margin-top: 6px; opacity: 0.7; }

.camp-builder {
  border-style: dashed;
}
.camp-builder h2 {
  margin-bottom: 4px;
}
.camp-builder-head {
  margin-bottom: var(--space-md);
}

.camp-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-hairline);
}
.camp-tabs button {
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font: inherit;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.camp-tabs button.active {
  color: var(--color-ink);
  border-bottom-color: var(--color-ink);
}
.camp-tabs em {
  font-style: normal;
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--color-muted-soft);
  background: var(--color-surface-strong);
  border-radius: var(--rounded-pill);
  padding: 2px 8px;
}

.panel.flush { padding-top: var(--space-sm); }
.th-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
}
.th-btn:hover { color: var(--color-ink); }
.row-open td { background: var(--color-canvas-soft); }
.row-detail td {
  background: var(--color-canvas-soft);
  padding: var(--space-md);
}
.row-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--space-lg);
  gap: var(--space-lg);
}
.row-detail h4 {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.detail-line {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.875rem;
}
.row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.good { color: var(--color-success); }
.bad { color: var(--color-error); }
.qr-panel {
  display: grid;
  grid-gap: var(--space-md);
  gap: var(--space-md);
  justify-items: start;
}
.qr-panel img {
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  background: #fff;
}
.qr-panel code {
  font-size: 0.875rem;
  word-break: break-all;
}

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

@media (max-width: 768px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.35);
    border: 0;
    z-index: 25;
    cursor: pointer;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    display: flex;
    border-right: 1px solid var(--color-hairline);
    box-shadow: var(--shadow-soft);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .topbar h1 {
    font-size: 1.5rem;
  }
  .funnel-row {
    grid-template-columns: 90px 1fr 40px;
  }
}

.capital-buckets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: var(--space-base);
  gap: var(--space-base);
  margin-bottom: var(--space-lg);
}
.bucket-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xxl);
  padding: var(--space-lg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.bucket-card:hover {
  border-color: var(--color-hairline-strong);
  transform: translateY(-2px);
}
.bucket-card .value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.75rem;
  letter-spacing: -0.32px;
  margin: 6px 0;
}
.whatif-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  margin-bottom: var(--space-lg);
  border-radius: var(--rounded-xl);
  border: 1px dashed var(--color-hairline-strong);
  background: var(--color-canvas-soft);
  color: var(--color-ink);
}
.whatif-card .btn {
  width: auto;
  flex-shrink: 0;
}
.glossary-panel {
  margin: var(--space-lg) 0;
}
.glossary-toggle {
  background: none;
  border: 0;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}
.glossary-toggle:hover {
  color: var(--color-ink);
}
.glossary-list {
  margin: 12px 0 0;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 16px;
  border-radius: var(--rounded-xl);
  border: 1px solid var(--color-hairline);
  background: var(--color-surface-card);
}
.glossary-item dt {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ink);
}
.glossary-item dd {
  margin: 4px 0 0;
  color: var(--color-body);
  font-size: 0.875rem;
  line-height: 1.45;
}
@media (max-width: 768px) {
  .capital-buckets {
    grid-template-columns: 1fr;
  }
}

.track-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 24px;
  margin-bottom: 20px;
  border-radius: var(--rounded-xxl);
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-surface-card);
  color: var(--color-ink);
}
.track-banner[data-ontrack="yes"] {
  border-color: color-mix(in srgb, var(--color-success) 40%, var(--color-hairline));
  background: color-mix(in srgb, var(--color-success) 8%, var(--color-surface-card));
}
.track-banner[data-ontrack="no"] {
  border-color: color-mix(in srgb, var(--color-error) 45%, var(--color-hairline));
  background: color-mix(in srgb, var(--color-error) 10%, var(--color-surface-card));
}
.track-banner .label {
  color: var(--color-muted);
}
.track-banner .hint {
  color: var(--color-body);
  margin: 8px 0 0;
  max-width: 52ch;
}
.track-answer {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.32px;
  line-height: 1.15;
  margin-top: 6px;
  color: var(--color-ink);
}
.track-banner .btn {
  width: auto;
  flex-shrink: 0;
}
.action-center .action-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}
.action-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  background: var(--color-surface-card);
  color: var(--color-ink);
}
.action-card .hint {
  color: var(--color-body);
  margin: 4px 0 0;
}
.action-rank {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-ink);
  color: var(--color-on-primary);
  font-size: 0.85rem;
  font-weight: 600;
}
.kpi-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.kpi-link:hover {
  transform: translateY(-2px);
  border-color: var(--color-hairline-strong);
}
.flash-ok {
  color: var(--color-success);
  margin: 0 0 12px;
}
.bulk-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--color-ink);
  color: var(--color-on-primary);
}
.bulk-bar .btn,
.bulk-bar .btn.secondary {
  width: auto;
}
.kanban-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.kanban-actions button,
.kanban-actions a {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-surface-card);
  cursor: pointer;
  color: var(--color-ink);
}
.kanban-actions button.primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: transparent;
}
.kanban-actions button:disabled {
  opacity: 0.5;
  cursor: default;
}

.pipeline-error {
  color: var(--color-error);
  display: flex;
  gap: 12px;
  align-items: center;
}

.pipeline-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  z-index: 40;
  cursor: default;
}

.card-menu {
  position: fixed;
  z-index: 50;
  width: 240px;
  padding: 8px;
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--rounded-lg);
  box-shadow: var(--shadow-soft);
}

.card-menu a,
.card-menu button {
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  padding: 8px 10px;
  border-radius: var(--rounded-md);
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
}

.card-menu a:hover,
.card-menu button:hover {
  background: var(--color-canvas-soft);
}

.card-menu button.danger {
  color: var(--color-error);
}

.card-menu label {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.card-menu select,
.pipeline-dialog textarea {
  width: 100%;
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--rounded-md);
  background: var(--color-surface-card);
  color: var(--color-ink);
  font: inherit;
  padding: 8px;
}

.pipeline-dialog-wrap,
.pipeline-drawer-wrap {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.pipeline-dialog-wrap .pipeline-backdrop,
.pipeline-drawer-wrap .pipeline-backdrop {
  background: rgba(12, 10, 9, 0.28);
}

.pipeline-dialog {
  position: relative;
  z-index: 61;
  width: min(440px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 24px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.pipeline-dialog h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
}

.pipeline-dialog label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.pipeline-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pipeline-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 61;
  width: min(420px, 100%);
  background: var(--color-surface-card);
  border-left: 1px solid var(--color-hairline);
  padding: 20px;
  overflow: auto;
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
}

.pipeline-drawer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pipeline-drawer h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
}

.task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.task-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-hairline);
}

.task-list li.is-overdue a {
  color: var(--color-error);
}
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.lead-actions .btn {
  width: auto;
}
.invite-form,
.copilot-form {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  max-width: 560px;
}
.invite-form {
  grid-template-columns: 1fr 1fr auto;
  max-width: none;
}
.copilot-form label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-muted);
}
@media (max-width: 768px) {
  .invite-form {
    grid-template-columns: 1fr;
  }
  .action-card {
    grid-template-columns: auto 1fr;
  }
  .action-card .btn {
    grid-column: 1 / -1;
  }
}

.status-pill.draft {
  background: var(--color-surface-strong);
  color: var(--color-body-strong);
}
.status-pill.paused {
  background: var(--color-canvas);
  color: var(--color-muted);
  border: 1px solid var(--color-hairline);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-chip {
  border: 1px solid var(--color-hairline);
  background: transparent;
  color: var(--color-body);
  border-radius: var(--rounded-pill);
  padding: 6px 12px;
  min-height: 36px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.filter-chip:hover {
  border-color: var(--color-hairline-strong);
  color: var(--color-ink);
}
.filter-chip.active {
  background: var(--color-ink);
  color: var(--color-on-primary);
  border-color: var(--color-ink);
}
.filter-chip em {
  font-style: normal;
  margin-left: 6px;
  opacity: 0.7;
}

.play-grid,
.recipe-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}
.recipe-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.play-card,
.recipe-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: 20px 22px;
}
.play-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 8px 24px;
  gap: 8px 24px;
  align-items: center;
}
.play-card:hover,
.recipe-card:hover {
  box-shadow: var(--shadow-soft);
}
.play-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.play-card h3,
.recipe-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0;
  line-height: 1.2;
}
.play-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.play-start,
.play-trail,
.play-exit {
  margin: 6px 0 0;
  font-size: 0.875rem;
}
.play-start {
  color: var(--color-body);
}
.play-trail {
  color: var(--color-ink);
}
.play-exit,
.play-count {
  color: var(--color-muted);
}
.play-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.recipe-card p {
  margin: 8px 0 14px;
  color: var(--color-muted);
  font-size: 0.875rem;
  min-height: 3.2em;
}
.recipe-card .play-start {
  margin-bottom: 8px;
}
.section-label {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0;
}
.section-note {
  margin: -6px 0 14px;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.back-link:hover {
  color: var(--color-ink);
}
.studio-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.studio-name {
  flex: 1 1;
  min-width: min(100%, 280px);
  margin-bottom: 0;
}
.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.studio-note {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 0.875rem;
}
.play-issues {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline-strong);
  border-radius: var(--rounded-xl);
  padding: 14px 18px;
  margin-bottom: 12px;
}
.play-issues strong {
  font-weight: 500;
  font-size: 0.9375rem;
}
.play-issues ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--color-body);
  font-size: 0.875rem;
}
.play-preview {
  margin: 0 0 12px;
  padding: 10px 14px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  font-size: 0.875rem;
  color: var(--color-body);
}

.flow-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  grid-template-rows: auto minmax(280px, 1fr);
  grid-gap: 12px;
  gap: 12px;
  height: calc(100vh - 320px);
  min-height: 460px;
}
.flow-palette,
.flow-inspector {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: 14px;
  overflow: auto;
}
.flow-palette {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 10px 12px;
}
.flow-group {
  margin: 0;
  min-width: 0;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.flow-group-label {
  margin: 0 4px 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--color-muted-soft);
  white-space: nowrap;
}
.flow-add {
  display: inline-flex;
  align-items: center;
  width: auto;
  text-align: left;
  border: 1px solid var(--color-hairline);
  background: var(--color-canvas);
  border-radius: var(--rounded-lg);
  padding: 6px 10px;
  margin: 0;
  cursor: pointer;
  color: var(--color-ink);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}
.flow-add small {
  display: none;
}
.flow-add:hover {
  border-color: var(--color-hairline-strong);
  box-shadow: var(--shadow-soft);
}
.flow-help {
  display: none;
}
.flow-canvas-wrap {
  position: relative;
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  background: var(--color-canvas-soft);
  min-height: 280px;
  height: 100%;
}
.flow-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  max-width: 280px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: var(--color-body);
  pointer-events: none;
  box-shadow: var(--shadow-soft);
}
.flow-hint strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--color-ink);
}
.flow-node {
  min-width: 168px;
  max-width: 220px;
  padding: 10px 12px;
  border-radius: var(--rounded-xl);
  border: 1px solid var(--color-hairline);
  background: var(--color-surface-card);
  color: var(--color-ink);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-soft);
}
.flow-node.is-selected {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 1px var(--color-ink);
}
.flow-node.is-path {
  background: var(--color-canvas-soft);
}
.flow-node-kicker {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.flow-node-title {
  font-weight: 500;
  line-height: 1.35;
}
.flow-node-detail,
.flow-node-metric {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.75rem;
}
.flow-branches {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-muted);
}
.flow-node .react-flow__handle {
  width: 10px;
  height: 10px;
  background: var(--color-ink);
  border: 2px solid var(--color-surface-card);
}
.flow-inspector h3 {
  margin: 0 0 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--color-muted-soft);
}
.flow-inspector .field {
  margin-bottom: 12px;
}
.flow-inspector .field input,
.flow-inspector .field select {
  min-width: 0;
  width: 100%;
}
.inspector-empty {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.sheet-recipes {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}
.sheet-recipe {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-hairline);
}
.sheet-recipe strong {
  font-weight: 500;
}
.sheet-recipe p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
}
.sheet-blank {
  margin-top: 18px;
  padding-top: 8px;
}

@media (max-width: 1100px) {
  .flow-studio {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(420px, 62vh) auto;
    height: auto;
    min-height: 0;
  }
  .flow-canvas-wrap {
    height: min(62vh, 560px);
    min-height: 420px;
  }
  .flow-inspector {
    height: auto;
  }
}
@media (max-width: 768px) {
  .play-card {
    grid-template-columns: 1fr;
  }
  .play-side,
  .play-actions {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.desk-error {
  color: var(--color-error);
  margin: 0 0 12px;
}
.desk-flash {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--rounded-lg);
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  color: var(--color-body);
  font-size: 0.875rem;
}
.day-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: var(--rounded-xl);
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
}
.day-strip strong {
  display: block;
  font-weight: 500;
}
.day-strip span {
  color: var(--color-muted);
  font-size: 0.875rem;
}
.desk-tabs {
  display: none;
}
.desk-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
  margin-bottom: 24px;
}
.desk-col h2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.32px;
}
.desk-col h2 span,
.desk-tabs em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  color: var(--color-muted);
}
.desk-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  padding: 16px;
  margin-bottom: 12px;
}
.desk-card[data-breached="yes"] {
  box-shadow: inset 3px 0 0 var(--color-error);
}
.desk-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.desk-card header strong {
  font-weight: 500;
}
.desk-card p {
  margin: 10px 0 0;
}
.desk-amount {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}
.sla-chip {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.sla-chip[data-breached="yes"] {
  background: color-mix(in srgb, var(--color-error) 14%, var(--color-surface-card));
  color: var(--color-error);
}
.desk-actions {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 14px;
}
.desk-actions .btn {
  width: 100%;
  min-height: 44px;
}
.desk-thread {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-body);
}
.desk-assign {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
}
.desk-assign select {
  width: 100%;
  min-height: 40px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-surface-card);
  padding: 8px 10px;
}
.desk-attr {
  margin-top: 8px;
}
.thread-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.thread-toolbar .btn.on {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}
.thread-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
  height: calc(100vh - 220px);
  min-height: 420px;
  align-items: stretch;
}
.thread-list,
.thread-pane {
  background: var(--color-surface-card);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-xl);
  min-height: 0;
  height: 100%;
}
.thread-list {
  overflow: auto;
  padding: 8px;
}
.thread-row {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 12px;
  border-radius: var(--rounded-lg);
  color: var(--color-ink);
}
.thread-row span,
.thread-row em {
  color: var(--color-muted);
  font-size: 0.8125rem;
  font-style: normal;
}
.thread-row.on,
.thread-row:hover {
  background: var(--color-canvas);
}
.thread-pane {
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
}
.thread-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.thread-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
}
.thread-back {
  display: none;
}
.thread-log {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding: 4px 0 12px;
}
.bubble {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: var(--rounded-xl);
  border: 1px solid var(--color-hairline);
}
.bubble p {
  margin: 0;
}
.bubble time {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.75rem;
}
.bubble.in {
  align-self: flex-start;
  background: var(--color-canvas);
}
.bubble.out {
  align-self: flex-end;
  background: var(--color-surface-strong);
}
.thread-compose {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}
.thread-compose textarea {
  width: 100%;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--color-hairline-strong);
  padding: 12px;
  background: var(--color-surface-card);
  resize: vertical;
}
.thread-compose .btn {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 900px) {
  .desk-board {
    grid-template-columns: 1fr;
  }
  .desk-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }
  .desk-tabs button {
    flex: 1 1;
    min-height: 44px;
    border-radius: var(--rounded-pill);
    border: 1px solid var(--color-hairline);
    background: var(--color-surface-card);
    color: var(--color-ink);
    font: inherit;
    font-weight: 500;
  }
  .desk-tabs button.on {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border-color: var(--color-primary);
  }
  .desk-col {
    display: none;
  }
  .desk-col.active {
    display: block;
  }
  .desk-col h2 {
    display: none;
  }
  .day-strip {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    box-shadow: var(--shadow-soft);
  }
  .thread-shell {
    height: calc(100vh - 200px);
  }
  .thread-shell {
    grid-template-columns: 1fr;
  }
  .thread-shell.has-thread .thread-list {
    display: none;
  }
  .thread-shell:not(.has-thread) .thread-pane {
    display: none;
  }
  .thread-back {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--color-muted);
    font-size: 0.875rem;
    font-weight: 500;
  }
  .thread-head {
    flex-direction: column;
  }
}

.sites-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}

.sites-error,
.sites-note {
  margin: 0 0 16px;
}

.sites-error {
  color: var(--color-error);
}

.sites-note {
  color: var(--color-muted);
}

.sites-rail-head,
.sites-mast,
.sites-editor-head,
.sites-editor-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sites-rail-head {
  align-items: center;
  margin-bottom: 12px;
}

.sites-rail-head h2,
.sites-mast h2 {
  margin: 0;
}

.site-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.site-card {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  border-radius: var(--rounded-lg);
  padding: 12px 14px;
  cursor: pointer;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.site-card:hover,
.site-card.is-selected {
  background: var(--color-surface-strong);
  border-color: var(--color-hairline);
}

.site-card-name {
  font-weight: 500;
}

.sites-create {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-hairline);
}

.sites-kicker {
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.sites-mast a {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.sites-mast a:hover {
  color: var(--color-ink);
}

.page-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-hairline);
  background: var(--color-surface-card);
  color: inherit;
  border-radius: var(--rounded-pill);
  padding: 8px 8px 8px 14px;
  cursor: pointer;
}

.page-tab.is-selected {
  border-color: var(--color-ink);
}

.sites-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}

.sites-editor-actions {
  align-items: center;
  flex-shrink: 0;
}

.sites-seo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.field-hint {
  color: var(--color-muted);
  font-size: 0.75rem;
}

.sites-blocks {
  margin-top: 8px;
}

.sites-blocks summary {
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 8px;
}

.sites-blocks textarea {
  width: 100%;
  border: 1px solid var(--color-hairline-strong);
  background: var(--color-canvas);
  color: var(--color-ink);
  border-radius: var(--rounded-md);
  padding: 12px 14px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.8rem;
}

.sites-side {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.sites-side .panel {
  margin-bottom: 0;
}

.sites-score {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: -0.96px;
  line-height: 1;
}

.sites-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.sites-checks li {
  display: flex;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.sites-checks li.is-ok {
  color: var(--color-ink);
}

.serp,
.share-card {
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  background: var(--color-canvas);
  padding: 14px 16px;
}

.serp-title {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.05rem;
}

.serp-url,
.serp-desc,
.share-card span {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.share-card p {
  margin: 0;
  font-weight: 500;
}

.sites-subhead {
  margin-top: 20px;
}

.version-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.version-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.version-list li > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 980px) {
  .sites-layout,
  .sites-editor,
  .sites-seo-row {
    grid-template-columns: 1fr;
  }
  .sites-editor-head,
  .sites-mast {
    flex-direction: column;
  }
}

