/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"Plus_Jakarta_Sans","arguments":[{"subsets":["latin"],"variable":"--font-sans","display":"swap","weight":["400","500","600","700"]}],"variableName":"plusJakarta"} ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/6fe53d21e6e7ebd8-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/8ebc6e9dde468c4a-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/9e7b0a821b9dfcb4-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/636a5ac981f94f8b-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/6fe53d21e6e7ebd8-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/8ebc6e9dde468c4a-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/9e7b0a821b9dfcb4-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/636a5ac981f94f8b-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/6fe53d21e6e7ebd8-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/8ebc6e9dde468c4a-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/9e7b0a821b9dfcb4-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/636a5ac981f94f8b-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/6fe53d21e6e7ebd8-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/8ebc6e9dde468c4a-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/9e7b0a821b9dfcb4-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: '__Plus_Jakarta_Sans_014e29';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/636a5ac981f94f8b-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: '__Plus_Jakarta_Sans_Fallback_014e29';src: local("Arial");ascent-override: 98.88%;descent-override: 21.15%;line-gap-override: 0.00%;size-adjust: 104.98%
}.__className_014e29 {font-family: '__Plus_Jakarta_Sans_014e29', '__Plus_Jakarta_Sans_Fallback_014e29';font-style: normal
}.__variable_014e29 {--font-sans: '__Plus_Jakarta_Sans_014e29', '__Plus_Jakarta_Sans_Fallback_014e29'
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/next/font/google/target.css?{"path":"src/app/layout.tsx","import":"IBM_Plex_Mono","arguments":[{"subsets":["latin"],"variable":"--font-mono","display":"swap","weight":["400","500"]}],"variableName":"ibmPlexMono"} ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/58f386aa6b1a2a92-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/011e180705008d6f-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7ba5fb2a8c88521c-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/92eeb95d069020cc-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/d3ebbfd689654d3a-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ef4d5661765d0e49-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/d29838c109ef09b4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/e40af3453d7c920a-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/99dcf268bda04fe5-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: '__IBM_Plex_Mono_9f0762';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/98e207f02528a563-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: '__IBM_Plex_Mono_Fallback_9f0762';src: local("Arial");ascent-override: 76.16%;descent-override: 20.43%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_9f0762 {font-family: '__IBM_Plex_Mono_9f0762', '__IBM_Plex_Mono_Fallback_9f0762';font-style: normal
}.__variable_9f0762 {--font-mono: '__IBM_Plex_Mono_9f0762', '__IBM_Plex_Mono_Fallback_9f0762'
}

/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/theme.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
/*
 * =============================================================================
 * PREP SARVA — central theme (change colors / density HERE)
 * =============================================================================
 * Method: styles/METHOD.md
 *
 * Direction: Enterprise Minimal — slate ink, white sheets, Prep teal action
 * (logo teal / navy). Supreme layout reference for auth; our brand colors only.
 *
 * Quick retheme:
 *   1. Edit Brand / Action / Semantic below
 *   2. Surfaces derive from grays + brand
 *   3. List/form density via --o-list-* / --o-input-* / --o-space-*
 *   4. shadcn/Tailwind aliases at the bottom follow automatically
 *
 * Import order: theme → utilities → form → list → settings (see globals.css)
 */

:root {
  /* ── Neutrals (slate — enterprise / Swiss minimal) ─────────────────────── */
  --o-white: #ffffff;
  --o-black: #000000;
  --o-gray-100: #f8fafc;
  --o-gray-200: #f1f5f9;
  --o-gray-300: #e2e8f0;
  --o-gray-400: #cbd5e1;
  --o-gray-500: #94a3b8;
  --o-gray-600: #64748b;
  --o-gray-700: #475569;
  --o-gray-800: #334155;
  --o-gray-900: #0f172a;

  /* ── Brand (Prep logo teal CTA + slate ink — not Supreme green) ─────────── */
  --o-brand: #0f172a;
  --o-brand-dark: #020617;
  --o-action: #0c7884;
  --o-action-dark: #096570;
  --o-mix-surface: #ffffff;
  --o-on-accent: #ffffff; /* text/icons on solid action fills */

  /* ── Semantic ───────────────────────────────────────────────────────────── */
  --o-danger: #dc2626;
  --o-danger-dark: #b91c1c;
  --o-success: #059669;
  --o-success-bright: #10b981;
  --o-warning: #d97706;
  --o-info: var(--o-action);
  --o-checkbox: var(--o-action);
  --o-action-soft: color-mix(in srgb, var(--o-action) 10%, var(--o-mix-surface));
  --o-danger-soft: color-mix(in srgb, var(--o-danger) 10%, var(--o-mix-surface));
  --o-warning-soft: color-mix(in srgb, var(--o-warning) 14%, var(--o-mix-surface));
  --o-success-soft: color-mix(in srgb, var(--o-success) 10%, var(--o-mix-surface));
  --o-info-soft: color-mix(in srgb, var(--o-info, var(--o-action)) 10%, var(--o-mix-surface));

  /* ── Surfaces ───────────────────────────────────────────────────────────── */
  --o-webclient-bg: #f8fafc;
  --o-navbar-bg: var(--o-white);
  --o-view-bg: var(--o-white);
  --o-elevated-bg: var(--o-white);
  --o-chatter-bg: #f1f5f9;
  --o-sheet-border: var(--o-gray-300);
  --o-form-lightsecondary: #cbd5e1;
  --o-input-border: var(--o-form-lightsecondary);

  /* ── Elevation / shadows ────────────────────────────────────────────────── */
  --o-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.05);
  --o-shadow-md: 0 8px 24px rgb(15 23 42 / 0.08);
  --o-shadow-lg: 0 16px 40px rgb(15 23 42 / 0.1);
  --o-focus-ring: 0 0 0 3px color-mix(in srgb, var(--o-action) 22%, transparent);

  /* ── Chatter / mail specifics ───────────────────────────────────────────── */
  --o-chatter-min-width: 450px;
  --o-chatter-aside-width: 100%;
  --o-note-bg: #fffbeb;
  --o-note-border: #fde68a;
  --o-avatar-bg: #57534e; /* warm stone, not Odoo purple */
  --o-tracking-new: var(--o-action);

  /* ── Auth / marketing aliases (login card) ──────────────────────────────── */
  --o-auth-teal: var(--o-action);
  --o-auth-teal-deep: var(--o-action-dark);
  --o-auth-navy: #334155;
  --o-auth-ink: #0f172a;
  --o-auth-muted: #64748b;
  --o-auth-line: #e2e8f0;
  --o-auth-canvas: #f8fafc;
  --o-auth-surface: var(--o-white);

  /* ── Layout chrome ──────────────────────────────────────────────────────── */
  --o-input-padding-y: 4px;
  --o-input-padding-x: 6px;
  --o-border-radius: 8px;
  --o-border-radius-sm: 6px;
  --o-border-radius-lg: 12px;
  --o-font-size: 14.5px;
  --o-line-height: 1.5;
  --o-space-xs: 4px;
  --o-space-sm: 8px;
  --o-space-md: 16px;
  --o-space-lg: 24px;
  --o-space-xl: 32px;

  /* ── List view (centralized — change row height HERE) ───────────────────── */
  --o-list-font-size: 13.5px;
  --o-list-mono-font-size: 12.5px;
  --o-list-line-height: 1.4;
  --o-list-row-height: 40px;
  --o-list-header-height: 40px;
  --o-list-cell-padding-y: 0.4rem;
  --o-list-cell-padding-x: 0.75rem;
  --o-list-selector-width: 2.25rem;
  --o-list-avatar-size: 1.5rem;
  --o-list-action-btn-height: 1.5rem;
  --o-list-border: var(--o-gray-300);
  --o-list-row-border: var(--o-gray-200);
  --o-list-header-bg: var(--o-white); /* white header + hairline, not gray fill */
  --o-list-header-color: var(--o-gray-600);
  --o-list-cell-color: var(--o-gray-700);
  --o-list-cell-primary: var(--o-gray-900);
  --o-list-row-hover: #f1f5f9;

  /* ── shadcn / Tailwind bridge (full colors — no hsl() wrap needed) ─────── */
  --background: var(--o-webclient-bg);
  --foreground: var(--o-gray-900);
  --card: var(--o-view-bg);
  --card-foreground: var(--o-gray-900);
  --popover: var(--o-view-bg);
  --popover-foreground: var(--o-gray-900);
  --primary: var(--o-brand);
  --primary-foreground: var(--o-white);
  --secondary: var(--o-gray-200);
  --secondary-foreground: var(--o-gray-900);
  --muted: var(--o-gray-100);
  --muted-foreground: var(--o-gray-600);
  --accent: var(--o-action);
  --accent-foreground: var(--o-white);
  --destructive: var(--o-danger);
  --destructive-foreground: var(--o-white);
  --success: var(--o-success);
  --success-foreground: var(--o-white);
  --border: var(--o-gray-300);
  --input: var(--o-form-lightsecondary);
  --ring: var(--o-action);
  --radius: var(--o-border-radius);
  --sidebar: var(--o-brand);
  --sidebar-foreground: var(--o-gray-100);
  --sidebar-muted: var(--o-gray-600);
  --sidebar-accent: var(--o-action);
  --sidebar-border: var(--o-brand-dark);
}

@media (min-width: 1400px) {
  :root {
    --o-chatter-aside-width: var(--o-chatter-min-width);
  }
}

/* Dark mode — layered zinc ERP (canvas < sheet < elevated).
 * Toggle via <html class="dark"> (User menu → Theme).
 * Neutrals invert: 100 = deep fill, 900 = bright text. --o-white stays pure white. */
.dark {
  color-scheme: dark;

  /* Surfaces */
  --o-webclient-bg: #09090b;
  --o-navbar-bg: #18181b;
  --o-view-bg: #18181b;
  --o-elevated-bg: #27272a;
  --o-chatter-bg: #0c0c0e;
  --o-mix-surface: #18181b;
  --o-sheet-border: var(--o-gray-300);
  --o-form-lightsecondary: #3f3f46;
  --o-input-border: var(--o-form-lightsecondary);

  /* Neutrals (inverted roles) */
  --o-gray-100: #18181b;
  --o-gray-200: #27272a;
  --o-gray-300: #3f3f46;
  --o-gray-400: #52525b;
  --o-gray-500: #71717a;
  --o-gray-600: #a1a1aa;
  --o-gray-700: #d4d4d8;
  --o-gray-800: #e4e4e7;
  --o-gray-900: #fafafa;
  --o-white: #ffffff;
  --o-black: #000000;

  /* Brand / action — brighter teal for contrast on dark sheets */
  --o-brand: #fafafa;
  --o-brand-dark: #ffffff;
  --o-action: #2dd4bf;
  --o-action-dark: #5eead4;
  --o-action-soft: color-mix(in srgb, var(--o-action) 16%, var(--o-mix-surface));
  --o-danger-soft: color-mix(in srgb, var(--o-danger) 16%, var(--o-mix-surface));
  --o-warning-soft: color-mix(in srgb, var(--o-warning) 18%, var(--o-mix-surface));
  --o-success-soft: color-mix(in srgb, var(--o-success) 16%, var(--o-mix-surface));
  --o-info-soft: color-mix(in srgb, var(--o-info, var(--o-action)) 16%, var(--o-mix-surface));
  --o-on-accent: #042f2e;
  --o-focus-ring: 0 0 0 3px color-mix(in srgb, var(--o-action) 28%, transparent);

  --o-danger: #f87171;
  --o-danger-dark: #ef4444;
  --o-success: #34d399;
  --o-success-bright: #4ade80;
  --o-warning: #fbbf24;
  --o-info: var(--o-action);
  --o-checkbox: var(--o-action);

  /* List */
  --o-list-header-bg: #18181b;
  --o-list-header-color: var(--o-gray-600);
  --o-list-cell-color: var(--o-gray-700);
  --o-list-cell-primary: var(--o-gray-900);
  --o-list-row-hover: color-mix(in srgb, var(--o-action) 8%, var(--o-view-bg));
  --o-list-border: var(--o-gray-300);
  --o-list-row-border: var(--o-gray-200);

  /* Mail / notes */
  --o-note-bg: #292524;
  --o-note-border: #57534e;
  --o-avatar-bg: #78716c;

  /* Auth surfaces follow app dark */
  --o-auth-canvas: #09090b;
  --o-auth-surface: var(--o-elevated-bg);
  --o-auth-ink: var(--o-gray-900);
  --o-auth-muted: var(--o-gray-600);
  --o-auth-line: var(--o-gray-300);
  --o-auth-navy: #a1a1aa;
  --o-auth-teal: var(--o-action);
  --o-auth-teal-deep: var(--o-action-dark);

  /* Shadows — deeper on dark */
  --o-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.45);
  --o-shadow-md: 0 8px 24px rgb(0 0 0 / 0.5);
  --o-shadow-lg: 0 16px 40px rgb(0 0 0 / 0.6);

  /* shadcn bridges */
  --primary: var(--o-brand);
  --primary-foreground: #09090b;
  --secondary: var(--o-gray-200);
  --secondary-foreground: var(--o-gray-900);
  --muted: var(--o-gray-100);
  --muted-foreground: var(--o-gray-600);
  --accent: var(--o-action);
  --accent-foreground: var(--o-on-accent);
  --destructive: var(--o-danger);
  --card: var(--o-view-bg);
  --card-foreground: var(--o-gray-900);
  --popover: var(--o-elevated-bg);
  --popover-foreground: var(--o-gray-900);
  --border: var(--o-gray-300);
  --input: var(--o-form-lightsecondary);
  --ring: var(--o-action);
  --sidebar: #18181b;
  --sidebar-foreground: var(--o-gray-800);
  --sidebar-muted: var(--o-gray-500);
  --sidebar-accent: var(--o-action);
  --sidebar-border: var(--o-gray-300);
}

/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/utilities.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
/*
 * PREP SARVA — semantic utilities (central).
 * Prefer these + theme tokens over text-[var(--o-…)] / one-off Tailwind stacks.
 * See styles/METHOD.md.
 */

/* —— Text roles —— */
.o_text_primary {
  color: var(--o-gray-900);
}

.o_text_body {
  color: var(--o-gray-800);
}

.o_text_muted {
  color: var(--o-gray-600);
}

.o_text_faint {
  color: var(--o-gray-500);
}

.o_text_action {
  color: var(--o-action);
}

.o_text_danger {
  color: var(--o-danger);
}

.o_text_success {
  color: var(--o-success);
}

.o_text_warning {
  color: var(--o-warning);
}

/* —— Surfaces / borders —— */
.o_bg_view {
  background: var(--o-view-bg);
}

.o_bg_canvas {
  background: var(--o-webclient-bg);
}

.o_bg_muted {
  background: var(--o-gray-100);
}

.o_border {
  border: 1px solid var(--o-gray-300);
}

.o_border_b {
  border-bottom: 1px solid var(--o-gray-300);
}

.o_border_soft {
  border: 1px solid var(--o-gray-200);
}

.o_border_b_soft {
  border-bottom: 1px solid var(--o-gray-200);
}

/* —— Compact toolbar strip under list/form control panel —— */
.o_view_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--o-space-sm);
  padding: var(--o-space-sm) 0.75rem;
  border-bottom: 1px solid var(--o-gray-300);
  background: var(--o-view-bg);
}

@media (min-width: 640px) {
  .o_view_toolbar {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* —— Hint / error lines (shared across views) —— */
.o_view_hint {
  margin: 0;
  padding: var(--o-space-sm) 1rem;
  border-bottom: 1px solid var(--o-gray-300);
  font-size: var(--o-list-font-size, var(--o-font-size));
  line-height: var(--o-list-line-height, var(--o-line-height));
  color: var(--o-gray-600);
}

.o_view_error {
  margin: 0;
  padding: var(--o-space-sm) 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--o-danger) 35%, var(--o-mix-surface));
  background: var(--o-danger-soft);
  font-size: var(--o-list-font-size, var(--o-font-size));
  color: var(--o-danger);
}

/* —— Group-by indent (depth set via --o-group-depth inline) —— */
.o_group_indent {
  padding-left: calc(var(--o-group-depth, 0) * 12px + 12px);
}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/form.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/*
 * PREP SARVA — centralized form chrome (Odoo form_controller.scss pattern).
 * Method: styles/METHOD.md. Forms use tiny markup + these classes;
 * do not restyle per-page with Tailwind.
 *
 * Markup sketch (same for Users, Companies, Contacts, …):
 *
 *   <div class="oe_title">…</div>
 *   <div class="o_group">
 *     <div class="o_cell"><label class="o_form_label">…</label><div class="o_field">…</div></div>
 *   </div>
 *   <div class="o_notebook">
 *     <div class="o_notebook_headers">…</div>
 *     <div class="o_notebook_content">…</div>
 *   </div>
 */

/* —— Sheet already in globals; reinforce form-view tokens —— */
.o_form_sheet {
  --formView-sheet-padding-y: 1rem;
  --formView-sheet-padding-x: 1rem;
  position: relative;
  overflow: hidden;
}

/*
 * Odoo web_ribbon: keep the banner fully inside the sheet so sheet
 * overflow / side-chatter scrollports cannot clip or cover WON/LOST.
 * (Negative corner overhang fights overflow-y:auto on the sheet column.)
 */
.o_form_sheet:has(> .o_ribbon) {
  /* Allow the diagonal to paint cleanly; sheet still clips via .o_ribbon itself */
  overflow: visible;
}

.o_form_sheet_bg:has(.o_ribbon) {
  position: relative;
  z-index: 1; /* above .o_Chatter--aside (z-0) */
}

/* —— Odoo web_ribbon (Won / Lost / Paid corner banner) —— */
.o_ribbon {
  --Ribbon-wrapper-width: 10rem;
  --Ribbon-wrapper-height: var(--Ribbon-wrapper-width);
  --Ribbon-font-size: 1.125rem;
  --Ribbon-height: calc(var(--Ribbon-font-size) * 2.5);
  --Ribbon-shadow-distance: 0.25rem;
  --Ribbon-shadow-blur: 0.5rem;
  /* Sit flush in the sheet corner (no negative overhang). */
  --Ribbon-gap-top: 0;
  --Ribbon-gap-right: 0;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 40; /* above sticky .o_form_statusbar (z-index: 30) when both are in-sheet */
  width: var(--Ribbon-wrapper-width);
  height: var(--Ribbon-wrapper-height);
  margin-top: var(--Ribbon-gap-top);
  margin-right: 0;
  overflow: hidden;
  pointer-events: none;
  border-top-right-radius: inherit;
}

.o_ribbon_top_right {
  right: var(--Ribbon-gap-right);
}

.o_ribbon_span {
  position: absolute;
  top: calc(var(--Ribbon-height) * -1);
  left: calc(var(--Ribbon-shadow-distance) + var(--Ribbon-shadow-blur));
  z-index: 1;
  width: 141.421%;
  height: var(--Ribbon-height);
  overflow: hidden;
  box-shadow: 0 var(--Ribbon-shadow-distance) var(--Ribbon-shadow-blur) rgb(0 0 0 / 0.1);
  color: #fff;
  font-size: var(--Ribbon-font-size);
  font-weight: 700;
  line-height: var(--Ribbon-height);
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgb(0 0 0 / 0.2);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  transform: rotate(45deg);
  transform-origin: left bottom;
  background: var(--o-gray-600);
}

.o_ribbon_span--success {
  background: var(--o-success-bright, var(--o-success));
}

.o_ribbon_span--warning {
  background: var(--o-warning);
}

.o_ribbon_span--danger {
  background: var(--o-danger);
}

.o_ribbon_span--neutral {
  background: var(--o-gray-600);
}

/* Keep title / fields clear of the diagonal ribbon */
.o_form_sheet:has(> .o_ribbon) > .oe_title,
.o_form_sheet:has(> .o_ribbon) > .o_form_statusbar {
  padding-right: 5.5rem;
}

/*
 * Odoo oe_button_box sits on the sheet, top-right, beside the title.
 * Float (not absolute) so the sheet grows and the last button is not clipped.
 */
.o_form_sheet > .oe_button_box {
  float: right;
  width: 22rem;
  max-width: 46%;
  margin: 0 0 0.75rem 1.25rem;
}

.o_form_sheet > .oe_button_box .o-form-buttonbox {
  flex-wrap: wrap;
  width: 100%;
}

.o_form_sheet > .oe_button_box .oe_stat_button {
  flex: 1 1 calc(50% - 1px);
  min-width: calc(50% - 1px);
  max-width: 50%;
}

.o_agreement_title_line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-width: 0;
}

.o_agreement_title_line .o_input {
  width: auto;
  max-width: calc(100% - 8rem);
  min-width: 8rem;
  flex: 0 1 auto;
  field-sizing: content;
}

.o_form_sheet:has(> .o_ribbon) .o_agreement_title_line {
  padding-right: 6.5rem;
}

.o_agreement_version {
  flex: 0 0 auto;
  color: var(--o-gray-600);
  font-size: 1.35rem;
  font-weight: 400;
  white-space: nowrap;
}

.o_form_group_pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 2rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .o_form_sheet > .oe_button_box {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 0.75rem;
  }

  .o_form_group_pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* —— Title block (avatar + big name) —— */
.oe_title {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.oe_title--no-avatar {
  gap: 0;
}

.oe_title .o_avatar,
.oe_title .o_form_avatar {
  display: flex;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  background: var(--o-avatar-bg, #875a7b);
  color: var(--o-white);
}

.oe_title .o_form_avatar--round {
  border-radius: 999px;
}

.oe_title .o_form_avatar--square {
  border-radius: var(--o-border-radius);
}

.oe_title .o_form_avatar--editable {
  position: relative;
  padding: 0;
  border: none;
  cursor: pointer;
  overflow: hidden;
}

.oe_title .o_form_avatar--editable:focus-visible {
  outline: 2px solid var(--o-action);
  outline-offset: 2px;
}

.oe_title .o_form_avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.oe_title .o_form_avatar_edit {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--o-white);
  background: rgb(0 0 0 / 0.55);
  opacity: 0;
  transition: opacity 0.12s ease;
}

.oe_title .o_form_avatar--editable:hover .o_form_avatar_edit,
.oe_title .o_form_avatar--editable:focus-visible .o_form_avatar_edit {
  opacity: 1;
}

.oe_title .o_title_fields {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.25rem;
}

/* Contact form — email/phone under name (Odoo title channels) */
.o_contact_title_channels {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 28rem;
  margin-top: 0.15rem;
}

.o_contact_title_channel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.o_contact_title_channel .o_input {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
}

.o_company_type {
  margin-bottom: 0.15rem;
}

/* Odoo parent_id under name — individuals only */
.o_contact_parent {
  max-width: 22rem;
}

.o_contact_parent .o_form_autocomplete,
.o_contact_parent .o_input {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
}

/* Odoo o_address_format — stacked street + city/state/zip row */
.o_address_format {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
}

.o_address_format .o_address_street,
.o_address_format .o_address_country {
  width: 100%;
}

.o_address_city_row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2%;
  align-items: center;
  width: 100%;
}

.o_address_city_row .o_address_city {
  flex: 1 1 38%;
  min-width: 6rem;
}

.o_address_city_row .o_address_state {
  flex: 1 1 33%;
  min-width: 6rem;
}

.o_address_city_row .o_address_zip {
  flex: 1 1 23%;
  min-width: 4.5rem;
}

.o_address_format .o_form_autocomplete,
.o_address_city_row .o_form_autocomplete {
  width: 100%;
}

.o_partner_child_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.o_partner_child_card {
  display: flex;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius, 0.25rem);
  background: var(--o-view-bg);
  text-align: left;
  cursor: pointer;
}

.o_partner_child_card:hover {
  border-color: var(--o-action);
  background: color-mix(in srgb, var(--o-action) 6%, var(--o-view-bg));
}

.o_partner_child_avatar {
  display: flex;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--o-gray-200);
  color: var(--o-gray-600);
}

.o_partner_child_body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
}

.o_partner_child_name {
  font-weight: 600;
  color: var(--o-gray-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o_partner_child_meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--o-gray-600);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o_partner_child_add {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

/* Odoo user/product title ≈ 2.1rem / weight 400–500 */
.oe_title .o_input.o_field_char,
.oe_title input.o_input {
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.oe_title .o_form_subtitle {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.875rem;
  color: var(--o-gray-700);
}

.oe_title .o_form_subtitle span,
.oe_title .o_form_subtitle .o_form_contact_row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.75rem;
}

.oe_title .o_form_subtitle .o_form_contact_row .o_input {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 400;
}

.oe_title .o_form_subtitle .o_form_contact_icon {
  display: inline-flex;
  width: 1rem;
  flex-shrink: 0;
  color: var(--o-gray-500);
}

/* —— Statusbar (Odoo o_form_statusbar / o_statusbar_status) —— */
.o_form_statusbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  /* Bleed into sheet_bg horizontal padding (Odoo form_controller.scss). */
  margin-inline: calc(-1 * var(--formView-sheetBg-padding-x, 1rem))
    calc(-1 * var(--formView-sheetBg-padding-right, var(--formView-sheetBg-padding-x, 1rem)));
  padding-inline: var(--formView-sheetBg-padding-x, 1rem)
    var(--formView-sheetBg-padding-right, var(--formView-sheetBg-padding-x, 1rem));
  padding-block: 0.35rem 0.5rem;
  margin-bottom: 0;
  background: var(--o-webclient-bg);
}

.o_form_statusbar .o_statusbar_buttons {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.o_form_statusbar .o_statusbar_buttons .o_btn_primary,
.o_form_statusbar .o_statusbar_buttons .o_btn_secondary {
  min-height: 1.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--o-border-radius, 0.25rem);
  cursor: pointer;
}

.o_form_statusbar .o_statusbar_buttons .o_btn_primary:disabled,
.o_form_statusbar .o_statusbar_buttons .o_btn_secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.o_form_statusbar .o_field_statusbar {
  margin-left: auto;
}

.o_statusbar_status {
  display: flex;
  flex-flow: row-reverse wrap-reverse;
  align-items: stretch;
  align-content: space-around;
  --o-statusbar-radius: 0.1rem;
  --o-statusbar-caret-width: 0.7rem;
  --o-statusbar-border-width: 1px;
  --o-statusbar-padding-x: calc(var(--o-statusbar-caret-width) * 1.25);
  --o-statusbar-padding-y: 0.35rem;
  --o-statusbar-border: var(--o-webclient-bg);
  --o-statusbar-background-active: var(--o-action-soft);
  --o-statusbar-border-active: color-mix(in srgb, var(--o-action) 45%, var(--o-mix-surface));
  --o-statusbar-background-hover: var(--o-gray-200);
}

.o_statusbar_status > .o_arrow_button {
  position: relative;
  z-index: 0;
  margin-left: calc(-1 * var(--o-statusbar-caret-width) - var(--o-statusbar-border-width));
  padding: var(--o-statusbar-padding-y) calc(var(--o-statusbar-padding-x) * 1.375);
  border: 0;
  background: var(--o-gray-200);
  color: var(--o-gray-600);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  cursor: default;
  clip-path: polygon(
    0 0,
    calc(100% - var(--o-statusbar-caret-width)) 0,
    100% 50%,
    calc(100% - var(--o-statusbar-caret-width)) 100%,
    0 100%,
    var(--o-statusbar-caret-width) 50%
  );
}

.o_statusbar_status > .o_arrow_button.o_last {
  margin-left: 0;
  padding-left: var(--o-statusbar-padding-x);
  border-top-left-radius: var(--o-statusbar-radius);
  border-bottom-left-radius: var(--o-statusbar-radius);
  clip-path: polygon(
    0 0,
    calc(100% - var(--o-statusbar-caret-width)) 0,
    100% 50%,
    calc(100% - var(--o-statusbar-caret-width)) 100%,
    0 100%
  );
}

.o_statusbar_status > .o_arrow_button.o_first {
  padding-right: var(--o-statusbar-padding-x);
  border-top-right-radius: var(--o-statusbar-radius);
  border-bottom-right-radius: var(--o-statusbar-radius);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--o-statusbar-caret-width) 50%);
}

.o_statusbar_status > .o_arrow_button.o_first.o_last {
  clip-path: none;
  margin-left: 0;
}

.o_statusbar_status > .o_arrow_button.o_arrow_button_current {
  z-index: 1;
  background: var(--o-statusbar-background-active);
  color: var(--o-gray-900);
}

.o_statusbar_status > .o_arrow_button:disabled {
  opacity: 1;
  cursor: default;
}

.o_statusbar_status > .o_arrow_button:not(:disabled) {
  cursor: pointer;
}

.o_statusbar_status > .o_arrow_button:not(:disabled):hover {
  background: var(--o-statusbar-background-hover);
}

.o_statusbar_status > .o_arrow_button.o_arrow_button_current:not(:disabled):hover {
  background: var(--o-statusbar-background-active);
}

/* —— Field groups (Odoo o_group / o_inner_group) —— */
.o_group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem 2rem;
  margin-bottom: 0.5rem;
}

.o_group.o_group--1 {
  grid-template-columns: minmax(0, 1fr);
}

.o_group.o_inner_group {
  display: grid;
  grid-template-columns: minmax(6rem, 8rem) minmax(0, 1fr);
  gap: 0.625rem 1rem;
  align-items: center;
}

@media (max-width: 767px) {
  .o_group {
    grid-template-columns: minmax(0, 1fr);
  }

  .o_group.o_inner_group {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem 0;
  }
}

.o_cell {
  display: grid;
  grid-template-columns: minmax(6rem, 8rem) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: center;
  min-width: 0;
}

.o_cell.o_cell--full {
  grid-column: 1 / -1;
}

.o_cell .o_form_label {
  margin-bottom: 0;
}

.o_cell .o_field,
.o_cell .o_wrap_field {
  min-width: 0;
}

.o_cell .o_field .o_input,
.o_inner_group .o_input {
  width: 100%;
}

/* Partner address under many2one (Odoo contact_address on PO/SO) */
.o_partner_address {
  margin-top: 0.25rem;
  color: var(--o-gray-600);
  font-size: var(--o-font-size-sm, 0.8125rem);
  line-height: 1.35;
}

.o_partner_address_line {
  white-space: pre-wrap;
}

.o_inner_group:has(.o_partner_address),
.o_inner_group:has(.o_address_format) {
  align-items: start;
}

.o_inner_group:has(.o_partner_address) > .o_form_label,
.o_inner_group:has(.o_address_format) > .o_form_label {
  padding-top: 0.35rem;
}

/* HTML / report template CodeMirror shell */
.o_html_template_editor {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: var(--o-view-bg, #fff);
  overflow: hidden;
}

.o_html_template_editor .cm-editor {
  width: 100%;
}

.o_html_template_editor .cm-editor.cm-focused {
  outline: 1px solid var(--o-action, #714b67);
  outline-offset: -1px;
}

.o_cell--full .o_html_template_editor {
  min-height: 280px;
}

.o_chrome_image_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.o_chrome_image_thumb {
  display: block;
  margin-top: 0.75rem;
  max-width: 100%;
  max-height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
  border: 1px solid var(--o-gray-300);
  background: var(--o-view-bg);
}

.o_chrome_image_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.o_chrome_image_card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: var(--o-view-bg);
  overflow: hidden;
}

.o_chrome_image_card img {
  width: 100%;
  height: 88px;
  -o-object-fit: contain;
     object-fit: contain;
  background: var(--o-gray-100, #f4f4f4);
}

.o_chrome_image_card_meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 0.5rem 0.5rem;
}

.o_chrome_image_card_name {
  font-size: 0.75rem;
  color: var(--o-gray-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o_chrome_image_card_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.o_chrome_preview_page {
  margin-top: 0.75rem;
  max-width: 210mm;
  border: 1px solid var(--o-gray-300);
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
}

.o_chrome_preview_band {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px dashed var(--o-action, #714b67);
  background: color-mix(in srgb, var(--o-action, #714b67) 6%, #fff);
}

.o_chrome_preview_inner {
  height: 100%;
  overflow: hidden;
}

.o_chrome_preview_inner img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.o_chrome_preview_ruler {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--o-gray-600);
  background: rgb(255 255 255 / 85%);
  padding: 1px 4px;
  border-radius: 2px;
}

.o_chrome_preview_body {
  min-height: 80px;
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: var(--o-gray-500);
  border-top: 1px solid var(--o-gray-200, #eee);
}

/* Live print / chrome template designer (Odoo-style) */
.o_print_designer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.o_print_designer_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: var(--o-gray-100, #f8f9fa);
}

.o_print_designer_modes {
  display: inline-flex;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.o_print_designer_mode {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  color: var(--o-gray-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.o_print_designer_mode + .o_print_designer_mode {
  border-left: 1px solid var(--o-gray-300);
}

.o_print_designer_mode.is-active {
  background: color-mix(in srgb, var(--o-action, #714b67) 12%, #fff);
  color: var(--o-action, #714b67);
}

.o_print_designer_fmt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
  position: relative;
}

.o_print_tb_select {
  -webkit-appearance: auto;
     -moz-appearance: auto;
          appearance: auto;
  position: relative;
  z-index: 2;
  height: 1.75rem;
  max-width: 7.5rem;
  padding: 0 0.35rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: #fff;
  color: var(--o-gray-800);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
}

.o_print_tb_select--size {
  max-width: 3.25rem;
  font-variant-numeric: tabular-nums;
}

.o_print_tb {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: var(--o-gray-800);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.o_print_tb:hover:not(:disabled) {
  background: #fff;
  border-color: var(--o-gray-300);
}

.o_print_tb:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.o_print_tb--accent {
  color: var(--o-action, #714b67);
  border-color: color-mix(in srgb, var(--o-action, #714b67) 35%, #fff);
  background: color-mix(in srgb, var(--o-action, #714b67) 8%, #fff);
}

.o_print_tb_sep {
  width: 1px;
  height: 1.1rem;
  margin: 0 0.25rem;
  background: var(--o-gray-300);
}

.o_print_tb_color_wrap,
.o_print_tb_more_wrap {
  position: relative;
}

.o_print_tb_color {
  flex-direction: column;
  gap: 0;
  padding: 0.1rem 0.35rem 0.15rem;
  line-height: 1;
}

.o_print_tb_color_a {
  font-size: 0.8125rem;
  font-weight: 700;
}

.o_print_tb_color_bar {
  display: block;
  width: 0.9rem;
  height: 3px;
  margin-top: 1px;
  border-radius: 1px;
  background: #111827;
}

.o_print_color_pop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1.25rem);
  gap: 0.3rem;
  padding: 0.45rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}

.o_print_color_swatch {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.o_print_more_pop {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  min-width: 10.5rem;
  padding: 0.25rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}

.o_print_more_pop button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--o-gray-800);
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
  border-radius: 2px;
}

.o_print_more_pop button:hover {
  background: color-mix(in srgb, var(--o-action, #714b67) 10%, #fff);
}

.o_print_designer_tip {
  margin: 0;
  font-size: 0.75rem;
  color: var(--o-gray-600);
}

.o_print_designer_tip kbd {
  display: inline-block;
  padding: 0 0.3rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: #fff;
  font-size: 0.6875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.o_print_designer_canvas_wrap {
  position: relative;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: #fff;
  /* Keep visible so floating menus aren't eaten by an inner scrollport */
  overflow: visible;
}

.o_print_designer_placeholder {
  position: absolute;
  top: 12px;
  left: 14px;
  pointer-events: none;
  color: var(--o-gray-400);
  font-size: 0.875rem;
  font-style: italic;
  z-index: 0;
}

.o_print_designer_canvas {
  position: relative;
  z-index: 1;
  min-height: 160px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  outline: none;
  box-sizing: border-box;
}

.o_print_designer_canvas:focus {
  outline: 1px solid var(--o-action, #714b67);
  outline-offset: -1px;
}

.o_print_designer_canvas h1 {
  font-size: 1.35rem;
  margin: 0.25rem 0;
}

.o_print_designer_canvas h2 {
  font-size: 1.1rem;
  margin: 0.25rem 0;
}

.o_print_designer_canvas hr {
  border: 0;
  border-top: 1px solid var(--o-gray-300);
  margin: 0.5rem 0;
}

.o_print_token {
  display: inline-block;
  margin: 0 1px;
  padding: 0 5px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--o-action, #714b67) 14%, #fff);
  color: var(--o-action, #714b67);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  vertical-align: baseline;
}

.o_print_att_img,
.o_print_designer_canvas img {
  max-width: 100%;
  max-height: 120px;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.o_print_height_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

/* Slash powerbox (Odoo html_editor) — portaled to body, above form chrome */
.o_print_powerbox {
  position: fixed;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  width: 320px;
  max-height: min(22rem, 70vh);
  overflow: hidden;
  border: 1px solid var(--o-gray-300);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 16%);
  isolation: isolate;
}

.o_print_powerbox_search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--o-gray-200, #eee);
  font-size: 0.8125rem;
  color: var(--o-gray-600);
  background: #fff;
}

.o_print_powerbox_slash {
  font-weight: 700;
  color: var(--o-action, #714b67);
}

.o_print_powerbox_query {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o_print_powerbox_body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
}

.o_print_powerbox_category_label {
  padding: 0.4rem 0.65rem 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--o-gray-500);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.o_print_powerbox_item {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.o_print_powerbox_item:hover,
.o_print_powerbox_item.is-active {
  background: color-mix(in srgb, var(--o-action, #714b67) 10%, #fff);
}

.o_print_powerbox_item_icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--o-gray-700);
}

.o_print_powerbox_item_text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.o_print_powerbox_item_title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--o-gray-900);
}

.o_print_powerbox_item_desc {
  font-size: 0.75rem;
  color: var(--o-gray-600);
}

.o_print_powerbox_empty {
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  color: var(--o-gray-500);
}

.o_print_powerbox_hint {
  flex: 0 0 auto;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  color: var(--o-gray-500);
  border-top: 1px solid var(--o-gray-200, #eee);
  background: #fff;
}

.o_print_field_picker {
  z-index: 1400 !important;
  overflow: hidden;
}

.o_print_field_picker_icon {
  display: inline-flex;
  width: 1.5rem;
  align-items: center;
  justify-content: center;
  color: var(--o-action, #714b67);
}

.o_print_field_picker_item--active {
  background: color-mix(in srgb, var(--o-action, #714b67) 8%, #fff);
}

.o_print_field_picker_row_main {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.o_print_field_picker_thumb {
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
     object-fit: contain;
  border: 1px solid var(--o-gray-300);
  border-radius: 2px;
  background: #fff;
}

.o_print_field_picker_hint {
  padding: 0.4rem 0.65rem;
  border-top: 1px solid var(--o-gray-200, #eee);
  font-size: 0.6875rem;
  color: var(--o-gray-500);
}

/* —— Horizontal section title —— */
.o_horizontal_separator {
  margin: 1rem 0 0.5rem;
  padding: 0;
  border: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--o-gray-700);
}

.o_horizontal_separator:first-child {
  margin-top: 0.5rem;
}

/* —— Notebook —— */
.o_notebook {
  margin-top: 0.75rem;
}

.o_notebook_headers {
  display: flex;
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--o-gray-300);
  /* overflow-x:auto alone computes overflow-y to auto and shows a bogus vertical bar */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.o_notebook_headers::-webkit-scrollbar {
  display: none;
}

.o_notebook_headers button {
  margin-bottom: -1px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--o-gray-600);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
  transition:
    color 140ms ease,
    border-color 140ms ease;
}

.o_notebook_headers button[aria-selected='true'] {
  border-bottom-color: var(--o-action);
  color: var(--o-gray-900);
  font-weight: 600;
}

.o_notebook_headers button:hover {
  color: var(--o-gray-900);
}

/* Pad the active panel only (not content + panel — that stacked a double gap). */
.o_notebook_content {
  padding-top: 0;
}

.o_notebook_content > [role='tabpanel'] {
  padding-top: 0.75rem;
}

/*
 * Odoo: first x2many list under a notebook tab sits flush on the tab bar
 * (tab-pane padding cancelled for the list). Match that for Products / Lines.
 */
.o_notebook_content > [role='tabpanel']:has(> .o_form_embedded_list:first-child) {
  padding-top: 0;
}

.o_notebook_content > [role='tabpanel'] > .o_form_embedded_list:first-child {
  margin-top: 0;
}

/* —— Inline helpers —— */
.o_form_text_muted {
  font-size: 0.875rem;
  color: var(--o-gray-600);
}

.o_form_alert {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  line-height: 1.4;
  border-radius: 2px;
  border: 0;
  border-left: 3px solid transparent;
  word-break: break-word;
}

/* Odoo `.alert.alert-*` — soft fill + left accent (not plain red text). */
.o_form_alert--danger {
  color: var(--o-danger-dark, var(--o-danger));
  background: var(--o-danger-soft);
  border-left-color: var(--o-danger);
}

.o_form_alert--warning {
  color: color-mix(in srgb, var(--o-warning) 55%, #000);
  background: var(--o-warning-soft);
  border-left-color: var(--o-warning);
}

.o_form_alert--success {
  color: color-mix(in srgb, var(--o-success) 70%, #000);
  background: var(--o-success-soft);
  border-left-color: var(--o-success-bright, var(--o-success));
}

.o_form_alert--info {
  color: color-mix(in srgb, var(--o-info, var(--o-action)) 65%, #000);
  background: var(--o-info-soft);
  border-left-color: var(--o-info, var(--o-action));
}

:root.o_dark .o_form_alert--danger {
  color: var(--o-danger);
}

:root.o_dark .o_form_alert--warning {
  color: var(--o-warning);
}

:root.o_dark .o_form_alert--success {
  color: var(--o-success);
}

:root.o_dark .o_form_alert--info {
  color: var(--o-info, var(--o-action));
}

.o_form_boolean_list {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .o_form_boolean_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Side-by-side checkboxes on one row (wrap on narrow screens). */
.o_form_boolean_list.o_form_boolean_list--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  grid-template-columns: none;
}

.o_form_boolean_list label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--o-gray-800);
  cursor: pointer;
  white-space: normal;
  min-width: 0;
}

.o_form_boolean_list label span {
  line-height: 1.35;
}

.o_form_multi_check {
  display: grid;
  gap: 0.25rem 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  max-height: 14rem;
  overflow: auto;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--o-gray-200);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg, #fff);
}

.o_form_multi_check label {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-size: 12px;
  color: var(--o-gray-800);
  cursor: pointer;
}

.o_form_multi_check label span {
  line-height: 1.3;
}

/* Boolean in a normal FormField cell — checkbox only, label is o_form_label */
.o_cell .o_field > .o_checkbox {
  margin-top: 0.2rem;
}

/* Checkbox + help text beside it (do NOT put o_checkbox on the wrapping label) */
.o_field_boolean {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--o-gray-700);
  line-height: 1.35;
  cursor: pointer;
}

.o_field_boolean > .o_checkbox {
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.o_field_boolean > span {
  min-width: 0;
  white-space: normal;
}

.o_form_radio_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.o_form_radio_list label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.o_form_badge_list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* —— Odoo technical modal (Schedule Activity, …) —— */
/* Portaled to document.body — above sticky thead; below attachment preview. */
.o-overlay-container {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Nested Search More / SelectCreate above an already-open technical modal. */
.o-overlay-container--stacked {
  z-index: 10100;
}

.o-overlay-backdrop {
  position: absolute;
  inset: 0;
  /* Bootstrap modal-backdrop */
  background: rgb(0 0 0 / 0.5);
}

.o_technical_modal.modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  pointer-events: none;
}

/* Odoo dialog_size: large → modal-lg (~800px) */
.o_technical_modal .modal-dialog {
  pointer-events: auto;
  margin: 1.75rem auto;
  max-width: 800px;
  width: calc(100% - 2rem);
}

.o_technical_modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 3.5rem);
  overflow: hidden;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.3rem;
  background: var(--o-view-bg, #fff);
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0.15);
  isolation: isolate;
}

.o_technical_modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--o-gray-200);
  background: var(--o-view-bg, #fff);
}

.o_technical_modal .modal-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--o-gray-900);
}

/* Odoo dialog header × — visible Lucide icon. */
.o_technical_modal .btn-close,
.o_technical_modal .o_dialog_close {
  box-sizing: content-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--o-gray-800, #343a40);
  opacity: 1;
  cursor: pointer;
  line-height: 1;
}

.o_technical_modal .btn-close:hover,
.o_technical_modal .o_dialog_close:hover {
  background-color: var(--o-gray-100, #f3f4f6);
  color: var(--o-gray-900, #111827);
}

.o_technical_modal .o_dialog_close .o_dialog_close_icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.25;
}

.o_technical_modal .modal-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 0;
  background: var(--o-view-bg, #fff);
}

.o_technical_modal .o_form_sheet_bg.o_mail_activity_schedule_wizard {
  padding: 0;
  background: var(--o-view-bg, #fff);
}

.o_technical_modal .o_mail_activity_schedule_wizard .o_form_sheet {
  max-width: none;
  margin: 0;
  padding: 1rem 1rem 1.25rem;
  background: var(--o-view-bg, #fff);
  border: 0;
  box-shadow: none;
}

.o_technical_modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  flex: 0 0 auto;
  padding: 0.75rem;
  border-top: 1px solid var(--o-gray-200);
  background: var(--o-view-bg, #fff);
  text-align: left;
}

.o_technical_modal .modal-footer .o_btn_primary,
.o_technical_modal .modal-footer .o_btn_secondary {
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--o-border-radius, 0.25rem);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.o_technical_modal .modal-footer .o_btn_primary {
  border: 1px solid var(--o-action);
  background: var(--o-action);
  color: #fff;
}

.o_technical_modal .modal-footer .o_btn_primary.o_btn_danger {
  border-color: var(--o-danger, #dc3545);
  background: var(--o-danger, #dc3545);
}

.o_technical_modal .modal-footer .o_btn_secondary {
  border: 1px solid var(--o-gray-300);
  background: var(--o-view-bg, #fff);
  color: var(--o-gray-800);
}

.o_technical_modal .modal-footer .o_btn_primary:disabled,
.o_technical_modal .modal-footer .o_btn_secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Bye-bye / ConfirmationDialog */
.o_technical_modal .modal-dialog.o_confirm_dialog {
  max-width: 420px;
  width: calc(100% - 2rem);
  margin: 1rem auto;
}

.o_technical_modal .o_confirm_dialog .modal-header {
  padding: 1rem 1.25rem;
}

.o_technical_modal .o_confirm_dialog .modal-body {
  padding: 1.25rem;
}

.o_technical_modal .o_confirm_dialog .modal-footer {
  gap: 0.5rem;
  padding: 1rem 1.25rem;
}

.o_confirm_dialog_text {
  margin: 0;
  white-space: pre-line;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--o-gray-800);
}

.o_confirm_dialog_error {
  margin-top: 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--o-danger, #dc3545);
  border-left-width: 3px;
  border-radius: var(--o-border-radius, 0.25rem);
  background: color-mix(in srgb, var(--o-danger, #dc3545) 8%, #fff);
  color: var(--o-gray-900);
  font-size: 0.8125rem;
  line-height: 1.4;
  word-break: break-word;
}

/* Process House — lot allocation wizard */
.o_technical_modal .modal-dialog.o_ph_alloc_dialog {
  max-width: 44rem;
  width: calc(100% - 2rem);
}

.o_technical_modal .o_ph_alloc_dialog .modal-content {
  overflow: hidden;
}

.o_technical_modal .o_ph_alloc_dialog .modal-header {
  align-items: flex-start;
  padding: 1.35rem 1.75rem 1.15rem;
}

.o_ph_alloc_header_text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding-right: 0.5rem;
}

.o_ph_alloc_header_text .modal-title {
  flex: 0 0 auto;
}

.o_technical_modal .o_ph_alloc_dialog .modal-footer {
  gap: 0.625rem;
  padding: 1.15rem 1.75rem 1.35rem;
}

/* Must beat `.o_technical_modal .modal-body { padding: 0 }` */
.o_technical_modal .modal-body.o_ph_alloc_body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 1.35rem 1.75rem 1.5rem;
}

.o_ph_alloc_hint {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--o-gray-600);
}

.o_ph_alloc_progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--o-gray-200);
  border-radius: var(--o-border-radius, 0.25rem);
  background: var(--o-gray-100, #f8f9fa);
}

.o_ph_alloc_progress_item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.o_ph_alloc_progress_label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--o-gray-600);
}

.o_ph_alloc_progress_value {
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--o-main-text-color, #212529);
}

.o_ph_alloc_progress_item--emphasis .o_ph_alloc_progress_value {
  color: var(--o-brand-primary, #714b67);
}

.o_ph_program_progress {
  margin-bottom: 0.25rem;
}

.o_ph_program_progress .o_ph_alloc_progress {
  margin: 0;
}

.o_ph_alloc_picker {
  padding: 1.35rem 1.35rem 1.25rem;
  border: 1px solid var(--o-gray-200);
  border-radius: var(--o-border-radius, 0.25rem);
  background: var(--o-gray-100, #f8f9fa);
}

.o_ph_alloc_picker .o_group {
  margin: 0;
  gap: 1.1rem 1.75rem;
}

.o_ph_alloc_picker .o_cell {
  gap: 0.4rem 1rem;
}

.o_ph_alloc_picker .o_cell .o_form_label {
  padding-inline-start: 0.1rem;
}

.o_ph_alloc_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--o-gray-200);
}

.o_ph_alloc_actions > .o_form_label {
  flex: 0 0 auto;
  margin: 0;
  min-width: 5.5rem;
}

.o_ph_alloc_actions .o_ph_alloc_qty_input,
.o_ph_alloc_picker .o_ph_alloc_qty_input.o_input {
  flex: 0 0 auto;
  width: 7rem;
  max-width: 100%;
}

.o_ph_alloc_bal_hint {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  color: var(--o-gray-700);
  white-space: nowrap;
}

.o_ph_alloc_bal_hint--muted {
  color: var(--o-gray-500);
}

.o_ph_alloc_add_btn {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 2.125rem;
  padding: 0.4rem 1.15rem;
  border: 1px solid var(--o-action);
  border-radius: var(--o-border-radius, 0.25rem);
  background: var(--o-action);
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.o_ph_alloc_add_btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.o_ph_alloc_list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.o_ph_alloc_list_title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--o-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.o_ph_alloc_count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--o-gray-200);
  color: var(--o-gray-800);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.o_ph_alloc_list .o_list_table_wrapper {
  border: 1px solid var(--o-gray-200);
  border-radius: var(--o-border-radius, 0.25rem);
  overflow-x: auto;
  overflow-y: hidden;
}

.o_ph_alloc_list .o_list_table {
  table-layout: auto;
  min-width: 36rem;
}

.o_ph_alloc_list .o_list_table > thead > tr > th,
.o_ph_alloc_list .o_list_table > tbody > tr > td {
  padding: 0.75rem 1.15rem;
}

.o_ph_alloc_list .o_list_table > thead > tr > th.o_list_actions_header {
  background: var(--o-list-header-bg);
  box-shadow: inset 0 -1px 0 var(--o-list-border);
}

.o_ph_alloc_list .o_list_table > tbody > tr > td.o_data_cell--actions {
  padding-inline: 0.65rem 0.9rem;
}

.o_ph_alloc_empty_row > td.o_list_empty {
  height: auto !important;
  min-height: 0;
  padding: 0 !important;
}

.o_ph_alloc_empty {
  min-height: 8.5rem;
  padding: 2.25rem 1.75rem;
  gap: 0.5rem;
}

.o_ph_alloc_empty .o_view_nocontent_smiling_face {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--o-gray-800);
}

.o_ph_alloc_empty .o_text_muted {
  margin: 0;
  font-size: 0.8125rem;
}

.o_ph_alloc_remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--o-border-radius, 0.25rem);
  background: transparent;
  color: var(--o-gray-600);
  cursor: pointer;
}

.o_ph_alloc_remove:hover {
  background: color-mix(in srgb, var(--o-danger, #dc3545) 10%, #fff);
  color: var(--o-danger, #dc3545);
}

@media (max-width: 640px) {
  .o_technical_modal .o_ph_alloc_dialog .modal-header,
  .o_technical_modal .o_ph_alloc_dialog .modal-footer,
  .o_technical_modal .modal-body.o_ph_alloc_body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .o_ph_alloc_picker {
    padding: 1.15rem;
  }

  .o_ph_alloc_actions > .o_form_label {
    min-width: 0;
    width: 100%;
  }

  .o_ph_alloc_actions .o_ph_alloc_qty_input,
  .o_ph_alloc_picker .o_ph_alloc_qty_input.o_input {
    width: 100%;
    flex: 1 1 auto;
  }

  .o_ph_alloc_add_btn {
    width: 100%;
    margin-left: 0;
  }

  .o_ph_alloc_progress {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .o-overlay-container {
    align-items: flex-end;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .o_technical_modal .modal-dialog.o_confirm_dialog {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .o_technical_modal .o_confirm_dialog .modal-content {
    max-height: min(88vh, 100%);
    border-radius: 0.75rem 0.75rem 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .o_technical_modal .o_confirm_dialog .modal-header,
  .o_technical_modal .o_confirm_dialog .modal-body,
  .o_technical_modal .o_confirm_dialog .modal-footer {
    padding: 1rem 1.125rem;
  }

  .o_technical_modal .o_confirm_dialog .modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .o_technical_modal .o_confirm_dialog .modal-footer .o_btn_primary,
  .o_technical_modal .o_confirm_dialog .modal-footer .o_btn_secondary {
    display: inline-flex;
    width: 100%;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
  }

  .o_list_selection_bar {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.35rem;
  }
}

/* mail.BadgeSelectionIconsField — btn-secondary chips, not pills */
.o_selection_badge_icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.o_selection_badge.btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-gray-200, #e9ecef);
  color: var(--o-gray-900);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.o_selection_badge.btn.btn-secondary:hover {
  background: var(--o-gray-300, #dee2e6);
  border-color: var(--o-gray-400);
  color: var(--o-gray-900);
}

.o_selection_badge.btn.btn-secondary.active {
  /* Odoo selection_badge: keep secondary fill, action outline */
  border-color: var(--o-action);
  background: var(--o-view-bg, #fff);
  color: var(--o-gray-900);
  outline: 2px solid var(--o-action);
  outline-offset: -1px;
  box-shadow: none;
}

.o_selection_badge.btn.btn-secondary .lucide {
  color: var(--o-gray-700);
}

.o_selection_badge.btn.btn-secondary.active .lucide {
  color: var(--o-action);
}

/* Odoo: Summary label + field at fs-3 spanning the sheet */
.o_mail_activity_summary_group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.o_mail_activity_summary_label {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--o-gray-700);
}

.o_mail_activity_summary_input.o_input {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  color: var(--o-gray-900);
}

.o_mail_activity_fields {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr);
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 0.65rem;
  align-items: center;
  max-width: 28rem;
  margin: 0 0 0.75rem;
}

.o_mail_activity_fields .o_form_label {
  margin: 0;
  font-size: var(--o-font-size);
  font-weight: 500;
  color: var(--o-gray-700);
}

.o_mail_activity_fields .o_field {
  min-width: 0;
}

/* Keep global Odoo underline .o_input — do not box these fields */
.o_technical_modal .o_mail_activity_fields .o_input.o_daterange_start {
  display: inline-flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  text-align: left;
  background: transparent;
}

.o_technical_modal .o_mail_activity_fields .o_field_many2one_avatar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.o_technical_modal .o_mail_activity_fields .o_field_many2one_avatar .o_avatar_chip_img {
  flex: 0 0 auto;
}

.o_technical_modal .o_mail_activity_fields .o_field_many2one_avatar .o_form_autocomplete {
  flex: 1 1 auto;
  min-width: 0;
}

.o_mail_activity_note,
.o_technical_modal .oe-bordered-editor {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-view-bg, #fff);
  padding: 0.5rem 0.75rem;
  color: var(--o-gray-900);
  resize: vertical;
  min-height: 6em;
  font: inherit;
  font-size: var(--o-font-size);
  line-height: var(--o-line-height);
}

.o_mail_activity_note:focus,
.o_technical_modal .oe-bordered-editor:focus {
  outline: none;
  border-color: var(--o-action);
}

.o_mail_activity_note::-moz-placeholder {
  color: var(--o-gray-500);
}

.o_mail_activity_note::placeholder {
  color: var(--o-gray-500);
}

.o_avatar_chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  font-size: 0.875rem;
  color: var(--o-gray-900);
}

.o_avatar_chip_img {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--o-avatar-bg, #875a7b);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
}

.o_input.o_daterange_start {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  color: var(--o-gray-900);
  text-align: left;
}

@media (max-width: 640px) {
  .o_mail_activity_summary_group {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .o_mail_activity_summary_label,
  .o_mail_activity_summary_input.o_input {
    font-size: 1.35rem;
  }

  .o_mail_activity_fields {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
    max-width: none;
  }

  .o_mail_activity_fields .o_form_label {
    margin-top: 0.35rem;
  }
}

/* Attachment PDF/image preview — portaled to body, above all form chrome */
.o_attachment_preview_root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.o_attachment_preview_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.o_attachment_preview_dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1100px, calc(100vw - 2rem));
  height: min(900px, calc(100vh - 2rem));
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg);
  box-shadow: 0 16px 48px rgb(0 0 0 / 0.28);
  overflow: hidden;
}

.o_attachment_preview_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--o-gray-300);
  background: var(--o-view-bg);
}

.o_attachment_preview_title {
  margin: 0;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--o-gray-900);
}

.o_attachment_preview_actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.o_attachment_preview_iconBtn {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--o-border-radius);
  background: transparent;
  color: var(--o-gray-700);
  cursor: pointer;
  text-decoration: none;
}

.o_attachment_preview_iconBtn:hover {
  background: var(--o-gray-100);
  color: var(--o-action);
}

.o_attachment_preview_body {
  position: relative;
  display: flex;
  min-height: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: var(--o-gray-100);
}

.o_attachment_preview_status {
  margin: 0;
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--o-gray-600);
}

.o_attachment_preview_status--error {
  color: var(--o-danger, #dc3545);
}

.o_attachment_preview_status a {
  color: var(--o-action);
  text-decoration: underline;
}

.o_attachment_preview_imgWrap {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.o_attachment_preview_img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0.25rem;
  background: var(--o-view-bg);
}

.o_attachment_preview_pdf {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #525659;
}

.o_attachment_pdf_viewer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #525659;
}

.o_attachment_pdf_toolbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgb(0 0 0 / 0.2);
  background: rgb(255 255 255 / 0.95);
}

.o_attachment_pdf_pageLabel {
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--o-gray-800);
}

.o_attachment_pdf_toolbarGrow {
  flex: 1;
}

.o_attachment_pdf_scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.o_attachment_pdf_canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: var(--o-view-bg);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.35);
}

.o_attachment_preview_nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--o-gray-800);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.o_attachment_preview_nav:hover {
  color: var(--o-action);
}

.o_attachment_preview_nav--prev {
  left: 0.75rem;
}

.o_attachment_preview_nav--next {
  right: 0.75rem;
}

.o_attachment_preview_counter {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--o-gray-700);
  font-size: 12px;
  font-weight: 600;
  transform: translateX(-50%);
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
}

/* —— Embedded one2many-style lists inside form notebook (ir.model tabs) —— */
.o_form_embedded_list {
  margin: 0.5rem 0 0.35rem;
  overflow: auto;
  border: 1px solid var(--o-sheet-border);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg);
}

.o_form_embedded_list .o_list_table {
  margin: 0;
}

/* Editable mapping / line tables (fiscal position, etc.) */
.o_form_embedded_list--editable {
  overflow: visible;
}

.o_form_embedded_list--editable .o_list_table > thead > tr > th {
  white-space: nowrap;
}

.o_form_embedded_list--editable .o_list_table > thead > tr > th.o_list_number_th {
  text-align: right;
  width: 7.5rem;
  min-width: 7.5rem;
}

/* Allocate Lots: show full "Remaining" header (global 7.5rem + ellipsis clipped it to "Rema"). */
.o_ph_alloc_list .o_form_embedded_list--editable .o_list_table > thead > tr > th.o_list_number_th,
.o_ph_alloc_list
  .o_form_embedded_list--editable
  .o_list_table
  > tbody
  > tr
  > td.o_data_cell--numeric {
  width: auto;
  min-width: 5.75rem;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  white-space: nowrap;
}

.o_ph_alloc_list
  .o_form_embedded_list--editable
  .o_list_table
  > thead
  > tr
  > th.o_list_number_th:nth-child(5) {
  min-width: 6.75rem;
}

.o_form_embedded_list--editable .o_list_table > tbody > tr > td.o_data_cell {
  text-align: left;
}

.o_form_embedded_list--editable .o_list_table > tbody > tr > td.o_data_cell .o_input {
  width: 100%;
  text-align: inherit;
}

.o_form_embedded_list--editable .o_list_table > tbody > tr > td.o_data_cell--numeric,
.o_form_embedded_list--editable .o_list_table > tbody > tr > td.o_list_number {
  text-align: right;
  width: 7.5rem;
  min-width: 7.5rem;
  font-variant-numeric: tabular-nums;
  /* Odoo monetary: LTR digits even in RTL UIs */
  direction: ltr;
}

.o_form_embedded_list--editable .o_list_table > tbody > tr > td.o_data_cell--numeric .o_input,
.o_form_embedded_list--editable .o_list_table > tbody > tr > td.o_list_number .o_input {
  width: 100%;
  text-align: right;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

/* Hide spinner so amounts sit flush with the right edge like Odoo */
.o_form_embedded_list--editable .o_data_cell--numeric input[type='number'] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
          appearance: textfield;
}

.o_form_embedded_list--editable
  .o_data_cell--numeric
  input[type='number']::-webkit-outer-spin-button,
.o_form_embedded_list--editable
  .o_data_cell--numeric
  input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.o_form_embedded_list--editable .o_list_table > tfoot.o_list_footer .o_list_number {
  text-align: right;
  width: 7.5rem;
  min-width: 7.5rem;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.o_form_embedded_list--editable .o_list_table > tbody > tr > td {
  overflow: visible;
  vertical-align: middle;
  padding-top: var(--o-list-cell-padding-y, 0.25rem);
  padding-bottom: var(--o-list-cell-padding-y, 0.25rem);
}

/* Order / invoice product lines — flush like Odoo section_and_note (no card chrome) */
.o_form_embedded_list:has(.o_section_and_note_list_view),
.o_form_embedded_list.o_list_table_wrapper:has(.o_section_and_note_list_view),
.o_form_embedded_list.o_journal_items {
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.o_form_embedded_list .o_section_and_note_list_view > thead > tr > th,
.o_journal_items .o_list_table > thead > tr > th {
  background: transparent;
  box-shadow: inset 0 -1px 0 var(--o-list-border);
}

.o_form_embedded_list .o_section_and_note_list_view > tbody > tr.o_data_row > td,
.o_journal_items .o_list_table > tbody > tr.o_data_row > td {
  border-bottom: 1px solid var(--o-list-row-border);
}

.o_form_embedded_list .o_section_and_note_list_view > tbody > tr.o_field_x2many_list_row_add > td,
.o_journal_items .o_list_table > tbody > tr.o_field_x2many_list_row_add > td {
  border-top: 0;
  border-bottom: 1px solid var(--o-list-row-border);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.o_form_embedded_list--editable .o_form_autocomplete .o_input {
  min-height: 1.75rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.o_form_embedded_list--editable .o_form_autocomplete .o_input:hover,
.o_form_embedded_list--editable .o_form_autocomplete .o_input:focus {
  background: var(--o-gray-100);
}

.o_form_embedded_list--editable .o_data_cell--actions {
  width: 2.5rem;
  text-align: center;
}

.o_form_embedded_list_add {
  margin: 0 0 1rem;
  padding: 0 0.15rem;
}

/* Odoo x2many list: “Add a line” link row inside the table body */
.o_form_embedded_list .o_field_x2many_list_row_add > td {
  padding: 0.35rem 0.75rem;
  border-top: 1px solid var(--o-sheet-border);
  background: var(--o-view-bg);
  vertical-align: middle;
}

.o_form_embedded_list .o_field_x2many_list_row_add a {
  color: var(--o-action);
  font-size: var(--o-font-size-sm, 0.875rem);
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

.o_form_embedded_list .o_field_x2many_list_row_add a:hover,
.o_form_embedded_list .o_field_x2many_list_row_add a:focus {
  color: var(--o-action-dark);
  text-decoration: underline;
  outline: none;
}

/* Odoo list footer: aggregate amounts under numeric columns only */
.o_form_embedded_list .o_list_footer > tr > td {
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--o-sheet-border);
  background: var(--o-gray-100);
  font-weight: 600;
  color: var(--o-gray-800);
  vertical-align: middle;
}

.o_form_embedded_list .o_list_footer .o_list_number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* —— Journal items list (Odoo keeps table + horizontal scroll on mobile) —— */
.o_journal_items {
  overflow: visible;
}

/* Odoo mobile statusbar: primary visible, secondary in ⋯ overflow */
.o_statusbar_overflow {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.o_statusbar_overflow_toggler {
  min-width: 2.25rem;
  padding-inline: 0.5rem !important;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.o_statusbar_overflow_menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  min-width: 10rem;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
}

/* Portaled to body — escapes statusbar overflow-x / sheet stacking */
.o_statusbar_overflow_menu--portal {
  position: fixed;
  z-index: 1300;
  top: 0;
  left: 0;
}

.o_statusbar_overflow_item {
  display: block;
  width: 100%;
  padding: 0.5rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--o-gray-800);
  font: inherit;
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
}

.o_statusbar_overflow_item:hover:not(:disabled) {
  background: var(--o-gray-100);
}

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

/* Desktop: show Cancel as secondary; hide mobile overflow */
.o_statusbar_overflow_mobile {
  display: none;
}

@media (max-width: 767px) {
  .o_statusbar_btn_desktop {
    display: none !important;
  }

  .o_statusbar_overflow_mobile {
    display: inline-flex;
  }

  /* Odoo mobile: status row then actions under it */
  .o_form_statusbar {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .o_form_statusbar .o_field_statusbar {
    margin-left: auto;
  }

  .o_form_statusbar .o_statusbar_buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    /* Do not use overflow-x:auto — it forces overflow-y:auto too and clips the ⋯ menu */
    overflow: visible;
  }

  .o_form_statusbar .o_statusbar_buttons .o_btn_primary,
  .o_form_statusbar .o_statusbar_buttons .o_btn_secondary {
    min-height: 2rem;
    flex: 0 1 auto;
    max-width: 100%;
  }

  .o_cell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem 0;
    align-items: stretch;
  }

  .o_form_sheet {
    padding-inline: 0.75rem;
  }

  .oe_title {
    gap: 0.75rem;
  }

  .oe_title .o_avatar,
  .oe_title .o_form_avatar {
    width: 64px;
    height: 64px;
  }

  .oe_title .o_input.o_field_char,
  .oe_title input.o_input {
    font-size: 1.35rem;
  }

  .o_form_view_bg,
  .o_form_sheet_bg {
    --formView-sheetBg-padding-x: 0.5rem;
    max-width: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .o_form_view_body {
    overflow-x: clip;
  }

  /* Odoo x2many mobile: compact label|value cards (not a tall field stack) */
  .o_form_embedded_list,
  .o_form_embedded_list--editable {
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .o_form_embedded_list .o_list_table,
  .o_form_embedded_list--editable .o_list_table {
    min-width: 0 !important;
    width: 100%;
    display: block;
  }

  /* Hide column titles on mobile cards, but keep the optional-columns gear visible */
  .o_form_embedded_list .o_list_table > thead {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 0.35rem !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    border: 0 !important;
  }

  .o_form_embedded_list .o_list_table > thead > tr {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 0;
    border: 0;
    background: transparent;
  }

  .o_form_embedded_list .o_list_table > thead th {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
  }

  .o_form_embedded_list .o_list_table > thead th.o_list_actions_header {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
  }

  .o_form_embedded_list .o_optional_columns_dropdown {
    width: auto;
    height: auto;
  }

  .o_form_embedded_list .o_optional_columns_dropdown_toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--o-border-radius, 0.25rem);
    color: var(--o-gray-600);
  }

  .o_form_embedded_list .o_optional_columns_dropdown_toggle:hover,
  .o_form_embedded_list .o_optional_columns_dropdown_toggle:focus-visible {
    background: var(--o-gray-100);
    color: var(--o-gray-900);
  }

  .o_form_embedded_list .o_list_table > tbody {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  /* Desktop filler rows must never become cards */
  .o_form_embedded_list .o_list_table > tbody > tr.o_list_empty_row {
    display: none !important;
  }

  .o_form_embedded_list .o_list_table > tbody > tr.o_data_row:not(.o_list_empty_row) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.75rem;
    align-items: start;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0;
    padding: 0.7rem 0.75rem 0.55rem;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius, 0.25rem);
    background: var(--o-view-bg, #fff);
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  }

  .o_form_embedded_list .o_list_table > tbody > tr.o_field_x2many_list_row_add {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    height: auto !important;
  }

  .o_form_embedded_list .o_field_x2many_list_row_add > td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    height: auto !important;
  }

  .o_form_embedded_list .o_field_x2many_list_row_add a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.25rem 0.1rem;
    font-size: 0.875rem;
    font-weight: 600;
  }

  /*
   * Compact card cell: label above control (full-width fields + 2-col pairs).
   * Avoids cramped label|value rows that break "Unit Price" / Taxes.
   */
  .o_form_embedded_list .o_list_table > tbody > tr.o_data_row:not(.o_list_empty_row) > td {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.1rem;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    white-space: normal;
    position: static !important;
    left: auto !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: left !important;
    direction: ltr;
  }

  /* Identity / long text / tax / money total: full card width */
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Product'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Description'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Account'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Label'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Partner'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Taxes'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Tax'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Amount'],
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td:nth-child(1),
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td:nth-child(2) {
    grid-column: 1 / -1;
  }

  /* Subtotal + delete share one footer row when both present */
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal'] {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.15rem;
    padding-top: 0.4rem !important;
    border-top: 1px solid var(--o-gray-200) !important;
    font-weight: 600;
  }

  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal']:has(+ td.o_list_record_remove),
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal']:has(+ td.o_data_cell--actions) {
    grid-column: 1 / 2;
  }

  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_data_cell--actions,
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_list_record_remove {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.15rem;
    padding-top: 0.25rem !important;
    border-top: 1px solid var(--o-gray-200) !important;
    min-height: 0 !important;
  }

  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal']
    + td.o_list_record_remove,
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal']
    + td.o_data_cell--actions {
    grid-column: 2 / 3;
    border-top: 1px solid var(--o-gray-200) !important;
  }

  .o_form_embedded_list .o_list_record_remove_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--o-border-radius, 0.25rem);
    color: var(--o-gray-600);
  }

  .o_form_embedded_list .o_list_record_remove_btn:hover,
  .o_form_embedded_list .o_list_record_remove_btn:focus-visible {
    background: var(--o-danger-soft, #fde8e8);
    color: var(--o-danger, #c0392b);
  }

  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--o-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='Subtotal']::before {
    text-transform: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--o-gray-700);
    flex: 0 0 auto;
  }

  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_data_cell--actions::before,
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_list_record_remove::before,
  .o_form_embedded_list
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td[data-label='']::before {
    content: none;
    display: none;
  }

  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_input,
  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_form_autocomplete,
  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_form_autocomplete
    .o_input {
    width: 100%;
    min-width: 0;
  }

  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_input,
  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_form_autocomplete
    .o_input {
    min-height: 1.85rem;
    height: 1.85rem;
    padding: 0.15rem 0;
    border: 0;
    border-bottom: 1px solid var(--o-input-border, var(--o-gray-300));
    background: transparent;
    text-align: left !important;
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_input:focus,
  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td
    .o_form_autocomplete
    .o_input:focus {
    border-bottom-color: var(--o-action);
  }

  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_data_cell--numeric,
  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_list_number {
    width: auto !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_data_cell--numeric
    .o_input,
  .o_form_embedded_list--editable
    .o_list_table
    > tbody
    > tr.o_data_row:not(.o_list_empty_row)
    > td.o_list_number
    .o_input {
    text-align: left !important;
  }

  .o_form_embedded_list .o_line_tax_picker {
    display: inline-flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
    max-width: 14rem;
  }

  .o_form_embedded_list .o_line_tax_picker .o_field_many2many_selection {
    flex: 1 0 2.5rem;
    min-width: 2.5rem;
  }

  .o_form_embedded_list .o_list_table > tfoot {
    display: block;
  }

  .o_form_embedded_list .o_list_table > tfoot > tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem 0 0;
    border: 0;
    background: transparent;
  }

  /* Desktop spacers (label columns + actions) — hide on mobile cards */
  .o_form_embedded_list .o_list_table > tfoot > tr > td.o_list_footer_spacer,
  .o_form_embedded_list .o_list_table > tfoot > tr > td:empty {
    display: none !important;
  }

  .o_form_embedded_list .o_list_table > tfoot > tr > td {
    flex: 1 1 auto;
    min-width: 6.5rem;
    max-width: 50%;
    padding: 0.45rem 0.65rem !important;
    border: 1px solid var(--o-gray-300) !important;
    border-radius: var(--o-border-radius, 0.25rem);
    background: var(--o-gray-100);
    text-align: right !important;
  }

  .o_form_embedded_list .o_list_table > tfoot > tr > td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--o-gray-500);
    text-align: left;
  }

  .o_journal_items,
  .o_journal_items_table {
    display: block;
    width: 100%;
    overflow-x: visible;
  }

  .o_journal_items_table .o_list_table {
    min-width: 0 !important;
  }

  .o_form_control_panel {
    gap: 0.35rem 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .o_form_control_panel .o_breadcrumb {
    max-width: 100%;
  }

  .o_form_control_panel .o_cp_left {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .o_form_control_panel .o_cp_pager {
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Smart buttons on their own full-width row — never squeeze next to pager */
  .o_form_control_panel .o_cp_actions {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.1rem;
  }

  .o_form_control_panel .o-form-buttonbox {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }

  .o_form_control_panel .oe_stat_button {
    flex: 1 1 auto;
    min-width: min(8.5rem, 100%);
    max-width: 100%;
    width: auto;
    height: auto;
    min-height: 2.25rem;
    padding: 0.35rem 0.65rem 0.35rem 0.5rem;
  }

  .o_form_control_panel .oe_stat_button .o_stat_text,
  .o_form_control_panel .oe_stat_button .o_stat_value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .o_cell .o_form_label,
  .o_cell > label {
    font-size: 0.75rem;
    color: var(--o-gray-600);
  }

  .o_form_sheet {
    padding: 1rem 0.75rem;
  }

  .o_field_boolean {
    align-items: flex-start;
  }

  .o_technical_modal .modal-dialog {
    margin: 0.75rem auto;
    width: calc(100% - 1rem);
    max-width: calc(100vw - 1rem);
  }

  .o_technical_modal .modal-content {
    max-height: calc(100dvh - 1.5rem);
  }

  .o_form_autocomplete_list--portal,
  .o-mail-AddFollowers-suggest--portal {
    max-width: calc(100vw - 1rem);
  }

  .o_Chatter_topbar {
    padding-inline: 0.5rem;
  }

  .o_Chatter_btn {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.o_model_notes {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--o-sheet-border);
  border-radius: var(--o-border-radius);
  background: var(--o-gray-100);
  color: var(--o-gray-800);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* —— Process House form view polish (Odoo dense document style) —— */
.o_process_house_form {
  --ph-bg: #f8faf9;
  --ph-bg-soft: #f0f6f6;
  --ph-surface: #ffffff;
  --ph-surface-soft: #fbfcfc;
  --ph-surface-tint: #f3f7f7;
  --ph-border: #d4dee3;
  --ph-border-strong: #bac9d2;
  --ph-ink: #111827;
  --ph-text: #243041;
  --ph-muted: #64748b;
  --ph-label: #334b63;
  --ph-accent: #017e84;
  --ph-accent-dark: #016970;
  --ph-accent-soft: #dff3f2;
  --ph-accent-line: #5eead4;
  --ph-warm: #f7f2f6;
  --ph-gold: #d97706;
}

.o_process_house_form .o_form_view_body {
  background:
    radial-gradient(circle at 22% 0%, rgb(1 126 132 / 0.08), transparent 26rem),
    linear-gradient(180deg, #fbfaf9 0, var(--ph-bg) 210px, var(--ph-bg-soft) 100%);
}

.o_process_house_form .o_form_view_bg,
.o_process_house_form .o_form_sheet_bg {
  --formView-sheetBg-padding-x: 0.65rem;
  --formView-sheetBg-padding-right: 0.5rem;
  --formView-sheetBg-padding-top: 0.4rem;
}

.o_process_house_form .o_form_sheet {
  --formView-sheet-padding-y: 0;
  --formView-sheet-padding-x: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Global desktop chatter keeps a fixed flex-basis. Remove that reservation
 * when this form's activity drawer is collapsed so the sheet can truly grow. */
@media (min-width: 1400px) {
  .o_Chatter--aside.o_Chatter--collapsed {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    flex: 0 0 0 !important;
    border: 0 !important;
  }
}

/* Inward receipt — deliberate workflow surface, scoped to this one form. */
.o_process_house_form .ph_inward_hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 0.55rem 0.75rem 0.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid #b9d9d8;
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at 100% 0%, rgb(45 212 191 / 0.17), transparent 13rem),
    linear-gradient(135deg, #f8ffff, #edf8f7);
  box-shadow: 0 9px 20px rgb(15 23 42 / 0.06);
}

.o_process_house_form .ph_inward_hero_icon {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--ph-accent), #0f9b9c);
  color: #fff;
  box-shadow: 0 7px 14px rgb(1 126 132 / 0.22);
}

.o_process_house_form .ph_inward_hero_copy {
  min-width: 0;
}
.o_process_house_form .ph_inward_eyebrow,
.o_process_house_form .ph_inward_lines_header p {
  margin: 0 0 0.18rem;
  color: var(--ph-accent-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.o_process_house_form .oe_title.ph_inward_title {
  margin: 0;
  padding: 0;
}

.o_process_house_form .ph_inward_title .o_form_title_text {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.o_process_house_form .ph_inward_subtitle {
  display: block;
  margin-top: 0.2rem;
  color: var(--ph-muted);
  font-size: 0.84rem;
}

.o_process_house_form .ph_inward_hero_status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  color: var(--ph-muted);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.o_process_house_form .ph_inward_state {
  padding: 0.32rem 0.65rem;
  border: 1px solid #94d4d0;
  border-radius: 999px;
  background: #e3f7f5;
  color: #076b70;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.o_process_house_form .ph_inward_state--confirmed {
  border-color: #8ed2ac;
  background: #e6f8eb;
  color: #176b3a;
}
.o_process_house_form .ph_inward_state--cancel {
  border-color: #f0b5b5;
  background: #fff0f0;
  color: #a22c2c;
}

.o_process_house_form .o_group.ph_inward_overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.4rem;
  margin: 0;
  padding: 0.7rem 1rem 0.8rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.o_process_house_form .ph_inward_overview_card {
  margin: 0 0.75rem 0.75rem;
  overflow: hidden;
  border: 1px solid #d7e4e6;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 6px 16px rgb(15 23 42 / 0.045);
}

.o_process_house_form .ph_inward_overview_header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #dfeaec;
  background: linear-gradient(135deg, #fbfefe, #f1f8f7);
}

.o_process_house_form .ph_inward_overview_header p {
  margin: 0 0 0.18rem;
  color: var(--ph-accent-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.o_process_house_form .ph_inward_overview_header h2 {
  margin: 0;
  color: #1e3a4c;
  font-size: 1rem;
  font-weight: 750;
}

.o_process_house_form .ph_inward_section_icon {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  line-height: 0;
  border: 1px solid #b9ddda;
  border-radius: 0.5rem;
  background: #e4f5f3;
  color: var(--ph-accent-dark);
}

.o_process_house_form .ph_inward_section_icon > svg {
  display: block;
  margin: auto;
  transform: translateY(1.5px);
}

.o_process_house_form .ph_inward_overview .o_cell {
  display: block;
  min-width: 0;
  min-height: auto;
  padding: 0.12rem 0.15rem;
}

/* A fine divider makes the paired receipt fields easier to scan without
 * turning the compact grid into a collection of heavy cards. */
@media (min-width: 768px) {
  .o_process_house_form .ph_inward_overview .o_cell:nth-child(even) {
    padding-left: 1.35rem;
    border-left: 1px solid #e4edef;
  }
}

.o_process_house_form .ph_inward_overview .o_cell .o_form_label {
  display: block;
  margin-bottom: 0.32rem;
  color: #536579;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.o_process_house_form .ph_inward_overview .o_cell .o_field {
  min-height: 1.9rem;
}
.o_process_house_form .ph_inward_overview .o_input:not(:disabled),
.o_process_house_form .ph_inward_overview .o_form_autocomplete .o_input:not(:disabled) {
  min-height: 1.9rem;
  padding: 0.2rem 0.15rem;
  border-bottom: 1px solid #b6c9d1;
  font-weight: 600;
}

.o_process_house_form .ph_inward_overview .o_cell--full {
  grid-column: 1 / -1;
  padding-left: 0.15rem !important;
  border-left: 0 !important;
}

.o_process_house_form .ph_inward_lines {
  margin: 0 0.75rem 0.75rem;
  position: relative;
  overflow: visible;
  border: 1px solid #d7e4e6;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 6px 16px rgb(15 23 42 / 0.045);
}

.o_process_house_form .ph_inward_lines_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #dfeaec;
  background: linear-gradient(135deg, #fbfefe, #f1f8f7);
}

.o_process_house_form .ph_inward_section_heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
}

.o_process_house_form .ph_inward_lines_header h2 {
  margin: 0;
  color: #1e3a4c;
  font-size: 1rem;
  font-weight: 750;
}

.o_process_house_form .ph_inward_lines_header span {
  display: block;
  margin-top: 0.18rem;
  color: var(--ph-muted);
  font-size: 0.78rem;
}

.o_process_house_form .ph_inward_add_line {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ph-accent);
  border-radius: 0.48rem;
  background: var(--ph-accent);
  color: #fff;
  font-size: 0.79rem;
  font-weight: 700;
  box-shadow: 0 3px 7px rgb(1 126 132 / 0.18);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.o_process_house_form .ph_inward_add_line:hover {
  border-color: var(--ph-accent-dark);
  background: var(--ph-accent-dark);
  box-shadow: 0 5px 10px rgb(1 126 132 / 0.24);
}
.o_process_house_form .ph_inward_add_line:focus-visible {
  outline: 2px solid var(--ph-accent);
  outline-offset: 3px;
}
.o_process_house_form .ph_inward_lines .o_form_embedded_list.ph_inward_lines_table {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

@media (max-width: 767px) {
  .o_process_house_form .ph_inward_hero {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.85rem;
  }
  .o_process_house_form .ph_inward_hero_status {
    grid-column: 1 / -1;
    align-items: flex-start;
    flex-direction: row;
  }
  .o_process_house_form .o_group.ph_inward_overview {
    grid-template-columns: minmax(0, 1fr);
  }
  .o_process_house_form .ph_inward_lines_header {
    align-items: flex-start;
    flex-direction: column;
  }
}

.o_process_house_form .o_form_statusbar {
  margin-bottom: 0;
  padding: 0.42rem 0.85rem;
  border-bottom: 1px solid var(--ph-border);
  background: linear-gradient(180deg, var(--ph-surface), #f7f6f8);
  position: relative;
  top: auto;
  margin-inline: 0;
  z-index: 1;
}

.o_process_house_form .o_form_statusbar .o_statusbar_buttons .o_btn_primary,
.o_process_house_form .o_form_statusbar .o_statusbar_buttons .o_btn_secondary {
  min-height: 1.85rem;
  border-radius: 0.4rem;
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.04);
}

.o_process_house_form .o_form_statusbar .o_statusbar_buttons .o_btn_primary {
  border-color: var(--ph-accent);
  background: var(--ph-accent);
  color: #ffffff;
}

.o_process_house_form .o_form_statusbar .o_statusbar_buttons .o_btn_primary:hover {
  border-color: var(--ph-accent-dark);
  background: var(--ph-accent-dark);
}

.o_process_house_form .o_form_statusbar .o_statusbar_buttons .o_btn_secondary {
  border: 1px solid var(--ph-border-strong);
  background: var(--ph-surface);
  color: var(--ph-text);
}

.o_process_house_form .o_statusbar_status {
  --o-statusbar-border: #f7f6f8;
  --o-statusbar-background-active: var(--ph-accent-soft);
  --o-statusbar-background-hover: #f0eaf0;
}

.o_process_house_form .o_statusbar_status > .o_arrow_button {
  background: #f3f1f3;
  color: var(--ph-muted);
}

.o_process_house_form .o_statusbar_status > .o_arrow_button.o_arrow_button_current {
  color: var(--ph-accent-dark);
  font-weight: 600;
}

.o_process_house_form .oe_title {
  margin: 0;
  padding: 0.75rem 1rem 0.35rem;
  background: transparent;
}

.o_process_house_form .oe_title h1,
.o_process_house_form .o_form_title_text {
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ph-ink);
}

/* Outer field groups only — never style nested o_inner_group as cards. */
.o_process_house_form .o_group:not(.o_inner_group) {
  position: relative;
  gap: 0.35rem 2.25rem;
  margin: 0 1rem 0.85rem;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid var(--ph-border);
  border-radius: 0.45rem;
  background:
    linear-gradient(90deg, rgb(1 126 132 / 0.09), transparent 0.28rem),
    linear-gradient(180deg, var(--ph-surface), var(--ph-surface-soft));
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.035);
  align-items: start;
}

.o_process_house_form .o_group.o_inner_group {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 0.45rem 0.85rem;
  grid-template-columns: minmax(7.25rem, 8.75rem) minmax(0, 1fr);
  align-items: center;
}

.o_process_house_form .o_inner_group > .o_form_label {
  color: var(--ph-label);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  padding-top: 0.15rem;
}

.o_process_house_form .o_inner_group > .o_field {
  min-height: 1.95rem;
  min-width: 0;
  display: flex;
  align-items: center;
  color: var(--ph-ink);
  font-weight: 500;
}

.o_process_house_form .o_cell {
  grid-template-columns: minmax(7.25rem, 8.75rem) minmax(0, 1fr);
  gap: 0.2rem 0.85rem;
  min-height: 2.15rem;
  padding: 0.1rem 0.15rem;
  border-radius: 0.25rem;
}

.o_process_house_form .o_cell:hover {
  background: #f3f8f8;
}

.o_process_house_form .o_cell .o_form_label {
  color: var(--ph-label);
  font-size: 0.8125rem;
  font-weight: 600;
}

.o_process_house_form .o_cell .o_field {
  min-height: 1.95rem;
  display: flex;
  align-items: center;
  color: var(--ph-ink);
  font-weight: 500;
}

/* Snapshot / readonly blanks — muted dash instead of empty dead space */
.o_process_house_form .o_input:-moz-read-only.o_field_empty {
  color: var(--ph-muted);
  -webkit-text-fill-color: var(--ph-muted);
  font-weight: 400;
  font-style: normal;
}
.o_process_house_form .o_input.o_field_empty,
.o_process_house_form .o_input:disabled.o_field_empty,
.o_process_house_form .o_input:read-only.o_field_empty {
  color: var(--ph-muted);
  -webkit-text-fill-color: var(--ph-muted);
  font-weight: 400;
  font-style: normal;
}

.o_process_house_form .o_notebook {
  margin: 0 1rem 1rem;
  border: 1px solid var(--ph-border);
  border-radius: 0.45rem;
  background: var(--ph-surface);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.035);
  overflow: hidden;
}

.o_process_house_form .o_notebook_headers {
  padding: 0 0.65rem;
  border-bottom: 1px solid var(--ph-border);
  background: linear-gradient(180deg, #fbfcfc, #f3f7f7);
}

.o_process_house_form .o_notebook_headers button[aria-selected='true'] {
  color: var(--ph-accent-dark);
  border-bottom-color: var(--ph-accent);
  font-weight: 600;
}

.o_process_house_form .o_notebook_content {
  padding: 0.65rem 0.75rem 0.85rem;
}

.o_process_house_form .o_notebook_content .o_form_embedded_list {
  margin: 0.35rem 0 0;
}

.o_process_house_form .o_notebook_content .o_group:not(.o_inner_group) {
  margin: 0.35rem 0 0;
}

.o_process_house_form .o_form_text_muted,
.o_process_house_form .o_text_muted {
  color: var(--ph-muted);
  font-size: 0.8125rem;
  margin: 0 0 0.45rem;
}

.o_process_house_form .o_input:not(:disabled),
.o_process_house_form .o_form_autocomplete .o_input:not(:disabled) {
  border-bottom-color: #afbfca;
  color: var(--ph-ink);
}

.o_process_house_form .o_input:not(:disabled):focus,
.o_process_house_form .o_form_autocomplete .o_input:not(:disabled):focus {
  border-bottom-color: var(--ph-accent);
  box-shadow: 0 1px 0 var(--ph-accent);
}

.o_process_house_form .o_input:-moz-read-only {
  cursor: default;
  opacity: 1;
  background-color: transparent;
  color: var(--ph-ink);
  -webkit-text-fill-color: var(--ph-ink);
  border-bottom-color: transparent;
  padding-left: 0;
  padding-right: 0;
  font-weight: 500;
}

.o_process_house_form .o_input:disabled,
.o_process_house_form .o_input:read-only,
.o_process_house_form .o_form_autocomplete:has(.o_input:disabled) .o_input {
  cursor: default;
  opacity: 1;
  background-color: transparent;
  color: var(--ph-ink);
  -webkit-text-fill-color: var(--ph-ink);
  border-bottom-color: transparent;
  padding-left: 0;
  padding-right: 0;
  font-weight: 500;
}

.o_process_house_form .o_input:disabled::-moz-placeholder, .o_process_house_form .o_input:read-only::-moz-placeholder {
  color: #8b9aad;
  -webkit-text-fill-color: #8b9aad;
}

.o_process_house_form .o_input:-moz-read-only::placeholder {
  color: #8b9aad;
  -webkit-text-fill-color: #8b9aad;
}

.o_process_house_form .o_input:disabled::placeholder,
.o_process_house_form .o_input:read-only::placeholder {
  color: #8b9aad;
  -webkit-text-fill-color: #8b9aad;
}

.o_process_house_form .o_form_uri {
  color: var(--ph-accent);
  font-weight: 600;
  text-decoration: none;
}

.o_process_house_form .o_form_uri:hover {
  text-decoration: underline;
}

.o_process_house_form .o_form_checkbox_label {
  display: inline-flex;
  min-height: 1.95rem;
  align-items: center;
  gap: 0.5rem;
  color: var(--ph-ink);
  font-weight: 500;
}

.o_process_house_form .o_form_checkbox_label input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--ph-accent);
}

.o_process_house_form .o_form_embedded_list {
  margin: 0 1rem 1rem;
  border-color: var(--ph-border-strong);
  border-radius: 0.45rem;
  background: var(--ph-surface);
  box-shadow:
    0 1px 2px rgb(15 23 42 / 0.035),
    inset 0 1px 0 #fff;
  overflow: visible;
}

.o_process_house_form .o_form_embedded_list .o_list_table {
  --o-list-header-height: 36px;
  --o-list-row-height: 44px;
  --o-list-cell-padding-y: 0.35rem;
  --o-list-cell-padding-x: 0.85rem;
}

.o_process_house_form .o_form_embedded_list .o_list_table > thead {
  background: linear-gradient(180deg, #f7f6f8, #eef6f6);
}

.o_process_house_form .o_form_embedded_list .o_list_table > thead > tr > th {
  color: #213247;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--ph-border-strong);
}

.o_process_house_form .o_form_embedded_list .o_list_table > tbody > tr > td {
  border-bottom-color: #e0e8ee;
}

.o_process_house_form .o_form_embedded_list .o_list_table > tbody > tr.o_data_row {
  background: var(--ph-surface);
}

.o_process_house_form .o_form_embedded_list .o_list_table > tbody > tr.o_data_row:hover {
  background: #f1fbfa;
}

.o_process_house_form .o_form_embedded_list .o_data_row .o_input:disabled {
  color: var(--ph-text);
  -webkit-text-fill-color: var(--ph-text);
  border-bottom-color: transparent;
  padding-left: 0.25rem;
}

/* Folding line table — compact numeric columns */
.o_process_house_form .o_ph_folding_lines .o_list_table {
  table-layout: fixed;
}

.o_process_house_form .o_ph_folding_lines .o_ph_col_sr {
  width: 3rem;
}

.o_process_house_form .o_ph_folding_lines .o_ph_col_bale {
  width: 5.5rem;
}

.o_process_house_form .o_ph_folding_lines .o_ph_col_mtr {
  width: 6rem;
}

.o_process_house_form .o_ph_folding_lines .o_ph_col_qty {
  width: 5.25rem;
}

.o_process_house_form .o_ph_folding_lines .o_list_footer {
  background: #f5f9f9;
  border-top: 1px solid var(--ph-border-strong);
}

.o_process_house_form .o_ph_folding_lines .o_list_footer .o_list_number {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ph-ink);
}

.o_process_house_form .o_ph_line_column_settings {
  position: relative;
  display: flex;
  justify-content: flex-end;
  z-index: 30;
}

.o_process_house_form .o_ph_line_column_settings_btn {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #b9d5d6;
  border-radius: 0.45rem;
  background: #f7fcfb;
  color: var(--ph-accent);
  line-height: 1;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  transition:
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.o_process_house_form .o_ph_line_column_settings_btn:hover,
.o_process_house_form .o_ph_line_column_settings_btn[aria-expanded='true'] {
  border-color: var(--ph-accent);
  background: var(--ph-accent-soft);
  box-shadow: 0 2px 5px rgb(1 126 132 / 0.14);
}

.o_process_house_form .o_ph_line_column_settings_btn:focus-visible {
  outline: 2px solid var(--ph-accent);
  outline-offset: 2px;
}

.o_process_house_form .o_ph_line_column_settings_menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  z-index: 40;
  min-width: 10.5rem;
  padding: 0.3rem;
  border: 1px solid var(--ph-border-strong);
  border-radius: 0.45rem;
  background: #ffffff;
  box-shadow: 0 0.85rem 2rem rgb(15 23 42 / 0.18);
}

.o_process_house_form .o_ph_line_column_option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.8rem;
  padding: 0.25rem 0.45rem;
  border-radius: 0.35rem;
  color: var(--ph-text);
  font-weight: 500;
  font-size: 0.82rem;
  white-space: nowrap;
}

.o_process_house_form .o_ph_line_column_option:hover {
  background: #f1fbfa;
}

.o_process_house_form .o_ph_line_column_option input {
  accent-color: var(--ph-accent);
}

.o_process_house_form .o_Chatter {
  border-left: 1px solid var(--ph-border-strong);
  background: linear-gradient(180deg, #eef8f8, #eaf3f5);
}

.o_process_house_form .o_Chatter_topbar {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--ph-border);
  background: linear-gradient(180deg, var(--ph-surface), #f7f6f8);
}

.o_process_house_form .o_Chatter_btn {
  min-height: 32px;
  border-radius: 0.4rem;
  font-weight: 600;
}

.o_process_house_form .o_Chatter_btn.o-primary,
.o_process_house_form .o_Chatter_btn:first-child {
  border-color: var(--ph-accent);
  background: var(--ph-accent);
  color: #ffffff;
}

.o_process_house_form .o_Chatter_iconBtn {
  width: 34px;
  height: 34px;
  color: var(--ph-accent);
}

.o_process_house_form .o-mail-DateSection {
  padding-inline: 0.65rem;
}

.o_process_house_form .o-mail-NotificationMessage {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.3rem 0.9rem 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.4rem;
  border: 1px solid rgb(186 201 210 / 0.58);
  background: rgb(255 255 255 / 0.76);
  text-align: left;
  color: var(--ph-muted);
}

.o_process_house_form .o-mail-NotificationMessage-author {
  font-weight: 600;
  color: var(--ph-text);
}

.o_process_house_form .o-mail-Message-date {
  color: #7b8da3;
}

@media (max-width: 767px) {
  .o_process_house_form .o_cell {
    grid-template-columns: minmax(0, 1fr);
  }

  .o_process_house_form .o_group:not(.o_inner_group) {
    gap: 1rem;
    padding: 0.75rem;
  }

  .o_process_house_form .o_group.o_inner_group {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem 0;
  }

  .o_process_house_form .o_inner_group > .o_form_label {
    padding-top: 0;
  }
}

/* —— Form autocomplete (selection / many2one-style) —— */
.o_form_autocomplete {
  position: relative;
  width: 100%;
  min-width: 0;
}

/* Odoo many2one `o_input_dropdown` + caret (fields.scss). */
.o_form_autocomplete.o_input_dropdown .o_input {
  padding-right: 1.25rem;
}

.o_form_autocomplete .o_dropdown_button {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
}

.o_form_autocomplete:hover .o_dropdown_button,
.o_form_autocomplete:focus-within .o_dropdown_button {
  opacity: 1;
}

.o_form_autocomplete .o_dropdown_button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin: 0.15rem auto 0;
  border-left: 0.28rem solid transparent;
  border-right: 0.28rem solid transparent;
  border-top: 0.32rem solid var(--o-gray-500);
}

/* Odoo many2one / tags suggest: JS caps at 7 rows + Search More — never scroll. */
.o_form_autocomplete_list,
.o_form_autocomplete_list--portal,
.o-mail-AddFollowers-suggest {
  max-height: none !important;
  overflow: visible !important;
}

.o_form_autocomplete_list,
.o_form_autocomplete_list--portal {
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg, #fff);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
}

.o_form_autocomplete_list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
}

.o_form_autocomplete_list--portal {
  position: fixed;
  z-index: 10100;
}

.o_form_autocomplete_item {
  display: block;
  width: 100%;
  padding: 0.35rem 0.65rem;
  border: none;
  background: transparent;
  color: var(--o-gray-900);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.o_form_autocomplete_item--active,
.o_form_autocomplete_item:hover {
  background: var(--o-gray-100);
  color: var(--o-action, #714b67);
}

.o_form_autocomplete_item--search_more {
  margin-top: 0.15rem;
  border-top: 1px solid var(--o-gray-200);
  color: var(--o-action, #714b67);
  font-weight: 600;
}

.o_form_autocomplete_item--muted {
  color: var(--o-gray-500);
  cursor: default;
  pointer-events: none;
}

.o_form_autocomplete_search_more .o_form_autocomplete_search_more_bar {
  margin-bottom: 0.75rem;
}

.o_form_autocomplete_search_more .o_form_autocomplete_search_more_bar .o_cp_searchview {
  width: 100%;
  max-width: none;
}

.o_form_autocomplete_search_more_count {
  margin: 0.5rem 0 0;
  color: var(--o-gray-500);
  font-size: 12px;
  text-align: right;
}

.o_form_autocomplete_search_more_list {
  max-height: min(50vh, 360px);
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--o-gray-200);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg, #fff);
}

.o_form_autocomplete_search_more_empty {
  padding: 0.75rem 0.65rem;
  color: var(--o-gray-500);
  font-size: 13px;
}

/* —— Odoo SelectCreateDialog (Search More…) —— */
.o_technical_modal .modal-dialog.o_select_create_dialog {
  max-width: 900px;
}

.o_select_create_dialog_content {
  min-height: min(70vh, 560px);
}

.o_select_create_header {
  gap: 0.75rem;
}

.o_select_create_header_right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.o_select_create_header .o_pager {
  flex-shrink: 0;
}

.o_select_create_list .o_list_record_selector {
  width: 2.25rem;
  text-align: center;
  vertical-align: middle;
}

.o_select_create_list .o_list_record_selector .form-check-input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  cursor: pointer;
  accent-color: var(--o-brand-primary, var(--o-action, #017e84));
}

.o_technical_modal .modal-body.o_select_create_dialog_body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.o_select_create_search {
  flex: 0 0 auto;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--o-gray-200);
  background: var(--o-view-bg, #fff);
}

.o_select_create_search .o_cp_searchview {
  width: 100%;
  max-width: none;
}

.o_select_create_list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.o_select_create_list .o_list_renderer {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.o_select_create_list .o_list_table {
  margin: 0;
  width: 100%;
}

.o_select_create_list .o_list_table > thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 1;
  cursor: pointer;
  background: var(--o-view-bg, #fff);
  white-space: nowrap;
}

.o_select_create_list .o_data_row {
  cursor: pointer;
}

.o_select_create_list .o_data_row:hover > td {
  background: var(--o-gray-100, #f5f5f5);
}

.o_select_create_list .o_data_row--selected > td {
  background: color-mix(in srgb, var(--o-action, #714b67) 12%, transparent);
}

.o_select_create_empty {
  padding: 1.25rem 1rem;
  color: var(--o-gray-500);
  font-size: 13px;
  text-align: center;
}

.o_select_create_count {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.35rem 1rem;
  border-top: 1px solid var(--o-gray-200);
  color: var(--o-gray-500);
  font-size: 12px;
  text-align: right;
}

/* —— Order-line taxes: Odoo many2many_tax_tags —— */
.o_line_tax_picker.o_field_tags {
  display: inline-flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 0.2rem;
  min-width: 6rem;
  max-width: 100%;
  width: 100%;
}

.o_line_tax_picker.o_tags_input {
  padding: 1px 0;
}

.o_line_tax_picker__chip.o_tag.badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  max-width: 100%;
  padding: 0.05rem 0.35rem;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
  background: var(--o-gray-100, #f5f5f5);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--o-gray-800);
}

.o_line_tax_picker__chip .o_tag_badge_text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 9rem;
}

.o_line_tax_picker__remove {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--o-gray-500);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.o_line_tax_picker__remove:hover {
  color: var(--o-danger, #c00);
}

.o_line_tax_picker .o_field_many2many_selection {
  flex: 1 0 2.5rem;
  min-width: 2.5rem;
}

.o_line_tax_picker .o_field_many2many_selection .o_form_autocomplete,
.o_line_tax_picker .o_field_many2many_selection .o_form_autocomplete_wrap {
  width: 100%;
}

.o_line_tax_picker .o_field_many2many_selection .o_input {
  border: none;
  background: transparent;
  min-height: 1.4rem;
  padding-inline: 0.15rem;
  font-size: 12px;
}

.o_form_embedded_list .o_line_tax_picker {
  min-width: 7rem;
  max-width: 14rem;
}

/* —— Odoo oe_subtotal_footer / tax totals (SO, PO, invoice) —— */
.oe_subtotal_footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  width: 100%;
}

.o_tax_totals {
  border-collapse: collapse;
  margin-left: auto;
  min-width: 16rem;
}

.o_tax_totals td {
  padding: 0.15rem 0 0.15rem 1rem;
  vertical-align: baseline;
}

.o_tax_totals .o_td_label {
  padding-left: 0;
  text-align: right;
  white-space: nowrap;
}

.o_tax_totals .o_tax_total_label {
  margin: 0;
  font-weight: 500;
  color: var(--o-gray-700);
}

.o_tax_totals .o_list_monetary {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  direction: ltr;
}

.o_tax_totals__value {
  font-weight: 600;
}

.o_tax_totals__total {
  font-size: 1.25em;
  font-weight: 700;
  white-space: nowrap;
}

.oe_subtotal_footer_separator {
  border-top: 1px solid var(--o-gray-300);
  padding-top: 0.35rem !important;
}

/* Notes + totals row (Odoo note_group): notes left, totals right */
.o_order_totals_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: start;
  margin-top: 0.35rem;
  /* Match sheet field indent — Terms not flush to the sheet edge */
  padding-left: 1rem;
  /* Keep Untaxed / Total on the far right under the lines table */
  padding-right: 0.5rem;
}

.o_order_totals_row > :first-child {
  min-width: 0;
  padding-left: 0.5rem;
}

.o_order_terms .o_cell,
.o_order_totals_row > :first-child .o_cell {
  /* Long “Terms and Conditions” label needs a wider column than the default 8rem */
  grid-template-columns: minmax(8.5rem, 11rem) minmax(0, 1fr);
}

.o_order_totals_row > .oe_subtotal_footer {
  margin-top: 0;
  width: auto;
  justify-self: end;
  justify-content: flex-end;
}

.o_order_totals_row .o_tax_totals {
  margin-left: 0;
}

@media (max-width: 767px) {
  .o_order_totals_row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 0;
    padding-right: 0;
    margin-top: 1rem;
  }

  .o_order_totals_row > :first-child {
    padding-left: 0;
  }

  .o_order_totals_row > .oe_subtotal_footer {
    justify-self: stretch;
    width: 100%;
  }

  .oe_subtotal_footer {
    justify-content: stretch;
    width: 100%;
  }

  .o_tax_totals {
    width: 100%;
    min-width: 0;
  }

  .o_tax_totals td {
    padding: 0.35rem 0;
  }

  .o_tax_totals .o_td_label {
    text-align: left;
    padding-right: 1rem;
  }

  .o_tax_totals .o_list_monetary {
    text-align: right;
  }

  .o_order_terms .o_cell,
  .o_order_totals_row > :first-child .o_cell {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem 0;
  }
}

/* Line tax picker: keep add control compact; dropdown portals above rows */
.o_line_tax_picker__add {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--o-action, #714b67);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
}

.o_line_tax_picker__add:hover {
  text-decoration: underline;
}

.o_line_tax_picker .o_form_autocomplete {
  min-width: 8rem;
}

.o_list_table .o_line_tax_picker {
  position: relative;
  z-index: 1;
}

.o_list_table .o_data_row:focus-within .o_line_tax_picker,
.o_list_table .o_data_row:hover .o_line_tax_picker {
  z-index: 5;
}

/* Confirmed inwards are a receipt summary, not an inactive edit form. */
.o_process_house_form .ph_inward_overview.ph_inward_overview--readonly {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem 1rem 0.85rem;
}

.o_process_house_form .ph_inward_overview--readonly .o_cell {
  display: block;
  min-height: 4.1rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid #dbe9e9;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #ffffff, #f8fcfc);
}

.o_process_house_form .ph_inward_overview--readonly .o_cell:nth-child(even) {
  padding-left: 0.65rem;
  border-left: 1px solid #dbe9e9;
}

.o_process_house_form .ph_inward_overview--readonly .o_cell .o_form_label {
  display: block;
  margin-bottom: 0.32rem;
  color: #587187;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.o_process_house_form .ph_inward_overview--readonly .o_cell .o_field {
  min-height: 1.4rem;
  color: #173a50;
  font-size: 0.88rem;
  font-weight: 650;
}

.o_process_house_form .ph_inward_overview--readonly .o_input:-moz-read-only {
  min-height: 1.4rem;
  padding: 0;
  border-bottom: 0;
  color: #173a50;
  -webkit-text-fill-color: #173a50;
  font-size: 0.88rem;
  font-weight: 650;
}

.o_process_house_form .ph_inward_overview--readonly .o_input:disabled,
.o_process_house_form .ph_inward_overview--readonly .o_input:read-only,
.o_process_house_form
  .ph_inward_overview--readonly
  .o_form_autocomplete:has(.o_input:disabled)
  .o_input {
  min-height: 1.4rem;
  padding: 0;
  border-bottom: 0;
  color: #173a50;
  -webkit-text-fill-color: #173a50;
  font-size: 0.88rem;
  font-weight: 650;
}

.o_process_house_form .ph_inward_overview--readonly .o_input:disabled::-moz-placeholder, .o_process_house_form .ph_inward_overview--readonly .o_input:read-only::-moz-placeholder {
  color: #7e95a5;
  -webkit-text-fill-color: #7e95a5;
  font-weight: 500;
}

.o_process_house_form .ph_inward_overview--readonly .o_input:-moz-read-only::placeholder {
  color: #7e95a5;
  -webkit-text-fill-color: #7e95a5;
  font-weight: 500;
}

.o_process_house_form .ph_inward_overview--readonly .o_input:disabled::placeholder,
.o_process_house_form .ph_inward_overview--readonly .o_input:read-only::placeholder {
  color: #7e95a5;
  -webkit-text-fill-color: #7e95a5;
  font-weight: 500;
}

.o_process_house_form .ph_inward_overview--readonly .o_cell--full {
  grid-column: 1 / -1;
  min-height: 3.3rem;
}

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

@media (max-width: 767px) {
  .o_process_house_form .ph_inward_overview.ph_inward_overview--readonly {
    grid-template-columns: minmax(0, 1fr);
  }
}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/list.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/*
 * PREP SARVA — centralized list chrome (Odoo list_renderer pattern).
 * Method: styles/METHOD.md. Density tokens: theme.css (--o-list-*).
 * List pages use ListViewShell / ListTable / ListRow + these classes.
 * Do not restyle row height / cell padding per-page with Tailwind.
 *
 * Tokens live in styles/theme.css (--o-list-*). Override there only.
 *
 * Markup:
 *   <table class="o_list_table">
 *     <thead><tr><th class="o_list_record_selector">…</th><th>…</th></tr></thead>
 *     <tbody>
 *       <tr class="o_data_row">
 *         <td class="o_list_record_selector">…</td>
 *         <td class="o_data_cell o_data_cell--primary">…</td>
 *         <td class="o_data_cell">…</td>
 *         <td class="o_data_cell o_data_cell--actions">…</td>
 *       </tr>
 *     </tbody>
 *   </table>
 */

/* —— Shell (control panel + body) —— */
.o_list_view {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: var(--o-view-bg);
}

.o_list_view__cp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 3;
  padding: 0.375rem 0.75rem;
  border-bottom: 1px solid var(--o-list-border);
  background: var(--o-view-bg);
}

@media (min-width: 640px) {
  .o_list_view__cp {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.o_list_view__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: var(--o-view-bg);
}

.o_list_view__hint {
  margin: 0;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--o-list-border);
  font-size: var(--o-list-font-size);
  line-height: var(--o-list-line-height);
  color: var(--o-gray-600);
}

.o_list_view__error {
  margin: 0;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--o-danger) 35%, var(--o-mix-surface));
  background: var(--o-danger-soft);
  font-size: var(--o-list-font-size);
  color: var(--o-danger);
}

/* —— Process House list register ——
 * Scoped to the module wrapper so inventory, sales, accounting, and all other
 * application list views retain their own density and color treatment. */
.o_process_house_module .o_list_view {
  --o-list-header-height: 2.15rem;
  --o-list-row-height: 2.5rem;
  --o-list-cell-padding-y: 0.28rem;
  --o-list-cell-padding-x: 0.8rem;
  --o-list-header-bg: #eaf5f4;
  --o-list-row-hover: #edf8f7;
  --o-list-row-border: #e2ecec;
}

.o_process_house_module .o_list_view__cp {
  min-height: 2.85rem;
  border-bottom: 2px solid #c7dedd;
  background: #ffffff;
}

.o_process_house_module .o_list_view__cp > button:not(.o_cp_search_toggler) {
  min-height: 2rem;
  border-radius: 0.42rem;
  box-shadow: 0 2px 5px rgb(1 126 132 / 0.14);
}

.o_process_house_module .o_list_view__body {
  position: relative;
  overflow: auto;
  scrollbar-color: #93b4b8 transparent;
  scrollbar-width: thin;
}

.o_process_house_module .o_list_view__body::-webkit-scrollbar {
  width: 0.65rem;
  height: 0.65rem;
}

.o_process_house_module .o_list_view__body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #93b4b8;
  background-clip: padding-box;
}

.o_process_house_module .o_list_table > thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: linear-gradient(90deg, #e3f1f1, #edf6f6);
  color: #35566b;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  box-shadow:
    inset 0 -1px 0 #b8d2d3,
    0 1px 3px rgb(15 55 62 / 0.06);
}

.o_process_house_module .o_list_table > thead > tr > th > button {
  color: inherit;
  font-weight: 750;
}

.o_process_house_module .o_list_table > thead > tr > th > button:hover {
  color: #087d84;
}

.o_process_house_module .o_list_table > tbody > tr.o_data_row > td {
  color: #40566c;
  font-size: 0.83rem;
}

.o_process_house_module .o_list_table > tbody > tr.o_data_row:hover > td {
  background: #edf8f7;
}

.o_process_house_module .o_list_table .o_data_cell--primary {
  color: #123c52;
  font-weight: 750;
}

.o_process_house_module .o_list_table .o_data_cell--numeric {
  color: #234e63;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

/* —— Table —— */
/* border-collapse:collapse breaks position:sticky on th in Chromium — use separate. */
.o_list_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: var(--o-list-font-size);
  line-height: var(--o-list-line-height);
  color: var(--o-list-cell-color);
  background: var(--o-view-bg);
}

.o_list_table > thead {
  background: var(--o-list-header-bg);
  color: var(--o-list-header-color);
  font-size: var(--o-list-font-size);
  font-weight: 500;
}

.o_list_table > thead > tr {
  height: var(--o-list-header-height);
}

.o_list_table > thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: var(--o-list-header-height);
  padding: var(--o-list-cell-padding-y) var(--o-list-cell-padding-x);
  vertical-align: middle;
  font-weight: 500;
  white-space: nowrap;
  background: var(--o-list-header-bg);
  /* Replaces collapsed thead border so the rule stays under sticky cells */
  box-shadow: inset 0 -1px 0 var(--o-list-border);
}

.o_list_table > thead > tr > th > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.o_list_table > thead > tr > th > button:hover {
  color: var(--o-action);
}

/* —— Data rows: uniform height —— */
/* With border-collapse:separate (needed for sticky th), tr borders are ignored —
   put the Odoo-style hairline on each td instead. */
.o_list_table > tbody > tr.o_data_row {
  height: var(--o-list-row-height);
  transition: background-color 140ms ease;
}

.o_list_table > tbody > tr.o_data_row:hover {
  background: var(--o-list-row-hover);
}

.o_list_table > tbody > tr.o_data_row--open {
  cursor: pointer;
}

.o_list_table > tbody > tr.o_data_row--open:focus-visible {
  outline: 2px solid var(--o-action);
  outline-offset: -2px;
}

.o_list_table > tbody > tr > td {
  height: var(--o-list-row-height);
  max-height: var(--o-list-row-height);
  padding: var(--o-list-cell-padding-y) var(--o-list-cell-padding-x);
  vertical-align: middle;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid var(--o-list-row-border);
}

.o_list_table > tbody > tr.o_data_row:last-child > td {
  border-bottom-color: var(--o-list-border);
}

/* Process House / Inward Entries — dense receipt register.  This is scoped to
 * the one list so other business lists retain their standard Odoo density. */
.o_inward_entries_list {
  --o-list-header-height: 2.15rem;
  --o-list-row-height: 2.5rem;
  --o-list-cell-padding-y: 0.28rem;
  --o-list-cell-padding-x: 0.8rem;
  --o-list-header-bg: #f2f8f8;
  --o-list-row-hover: #edf8f7;
  --o-list-row-border: #e4edef;
}

.o_inward_entries_list .o_list_view__cp {
  min-height: 2.85rem;
  border-bottom: 2px solid #c7dedd;
  background: #ffffff;
}

/* Keep the register header in view while the entries scroll.  The scrollport
 * is intentionally the list body, so the application navigation stays still. */
.o_inward_entries_list .o_list_view__body {
  position: relative;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-color: #93b4b8 transparent;
  scrollbar-width: thin;
}

.o_inward_entries_list .o_list_view__body::-webkit-scrollbar {
  width: 0.65rem;
  height: 0.65rem;
}

.o_inward_entries_list .o_list_view__body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #93b4b8;
  background-clip: padding-box;
}

.o_inward_entries_list .o_list_view__cp > button:not(.o_cp_search_toggler) {
  min-height: 2rem;
  border-radius: 0.42rem;
  box-shadow: 0 2px 5px rgb(1 126 132 / 0.16);
}

.o_inward_entries_list .o_breadcrumb a,
.o_inward_entries_list .o_breadcrumb span {
  color: #164256;
  font-weight: 700;
}

.o_inward_entries_list .o_cp_searchview {
  max-width: 35rem;
}

.o_inward_entries_list .o_list_table > thead > tr > th {
  position: sticky;
  top: 0;
  z-index: 6;
  background: linear-gradient(90deg, #e3f1f1, #edf6f6);
  color: #35566b;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  box-shadow:
    inset 0 -1px 0 #b8d2d3,
    0 1px 3px rgb(15 55 62 / 0.06);
}

.o_inward_entries_list .o_list_table > thead > tr > th > button {
  color: inherit;
  font-weight: 750;
}

.o_inward_entries_list .o_list_table > thead > tr > th > button:hover {
  color: #087d84;
}

.o_inward_entries_list .o_list_table > tbody > tr.o_inward_entry > td {
  color: #40566c;
  font-size: 0.83rem;
}

.o_inward_entries_list .o_list_table > tbody > tr.o_inward_entry:hover > td {
  background: #edf8f7;
}

.o_inward_entries_list .o_list_table > tbody > tr.o_inward_entry--draft > td {
  background: #fffcf4;
}

.o_inward_entries_list .o_inward_entry_id {
  color: #123c52;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.o_inward_entries_list .o_data_cell--numeric {
  color: #234e63;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.o_inward_entries_list .o_inward_entry_state {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.05rem 0.48rem;
  border: 1px solid #a8d8c0;
  border-radius: 999px;
  background: #eaf8ee;
  color: #176b3a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.o_inward_entries_list .o_inward_entry_state--draft {
  border-color: #e8cc8c;
  background: #fff8e6;
  color: #8a5a00;
}

.o_inward_entries_list .o_inward_entry_state--cancel {
  border-color: #efb9b9;
  background: #fff0f0;
  color: #a12f2f;
}

.o_list_table > tbody > tr > td.o_list_empty {
  height: auto;
  max-height: none;
  padding: 0;
  color: var(--o-gray-600);
  white-space: normal;
  text-overflow: unset;
  overflow: visible;
  border-bottom: 0;
  vertical-align: middle;
}

.o_list_table > tbody > tr.o_list_nocontent_row > td.o_list_empty {
  height: min(52vh, 26rem);
}

.o_view_nocontent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  box-sizing: border-box;
  width: 100%;
  min-height: inherit;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.o_view_nocontent_icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--o-gray-400);
  flex-shrink: 0;
}

.o_nocontent_help {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 22rem;
  margin: 0;
  color: var(--o-gray-600);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.o_nocontent_help > p,
.o_list_empty_stack > p {
  margin: 0;
  max-width: 22rem;
}

.o_list_empty_stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

/* —— Cells —— */
.o_list_table .o_data_cell {
  color: var(--o-list-cell-color);
  font-size: var(--o-list-font-size);
  line-height: var(--o-list-line-height);
}

.o_list_table .o_data_cell--danger {
  color: var(--o-danger);
  font-weight: 500;
}

.o_list_table .o_data_cell--primary {
  color: var(--o-list-cell-primary);
  font-weight: 500;
}

.o_list_table .o_data_cell--muted {
  color: var(--o-gray-600);
}

.o_list_table .o_data_cell--mono {
  font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: var(--o-list-mono-font-size);
}

.o_list_table > thead > tr > th.o_list_number_th {
  text-align: right;
}

.o_list_table .o_data_cell--numeric {
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: var(--o-list-mono-font-size);
}

.o_list_table .o_data_cell--actions {
  overflow: visible;
  white-space: nowrap;
}

.o_list_table .o_data_cell--actions > .o_list_row_actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
}

.o_list_table .o_data_cell a {
  color: inherit;
  text-decoration: none;
}

.o_list_table .o_data_cell a:hover {
  color: var(--o-action);
}

/* Compact row action buttons (Mark Done, Edit, Re-enable, …) */
.o_list_table .o_list_row_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--o-list-action-btn-height);
  min-height: var(--o-list-action-btn-height);
  padding: 0 0.5rem;
  border: 1px solid var(--o-list-border);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg);
  color: var(--o-gray-800);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.o_list_table .o_list_row_btn:hover:not(:disabled) {
  background: var(--o-gray-100);
  border-color: var(--o-gray-400);
}

.o_list_table .o_list_row_btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.o_list_table .o_list_row_btn--primary {
  border-color: color-mix(in srgb, var(--o-action) 40%, var(--o-list-border));
  color: var(--o-action-dark);
}

.o_list_table .o_list_row_btn--danger {
  color: var(--o-danger);
  border-color: color-mix(in srgb, var(--o-danger) 35%, var(--o-list-border));
}

/* Odoo x2many delete — fa-trash-o analog (no boxed button) */
.o_list_table td.o_list_record_remove {
  width: 2rem;
  min-width: 2rem;
  max-width: 2.25rem;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.o_list_table .o_list_record_remove_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--o-gray-500);
  cursor: pointer;
}

.o_list_table .o_list_record_remove_btn:hover:not(:disabled) {
  color: var(--o-danger);
}

.o_list_table .o_list_record_remove_btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Odoo empty filler rows under “Add a line” — same height + bottom hairline as data rows */
.o_list_table > tbody > tr.o_list_empty_row > td {
  height: var(--o-list-row-height, 2.25rem);
  min-height: var(--o-list-row-height, 2.25rem);
  max-height: var(--o-list-row-height, 2.25rem);
  padding: var(--o-list-cell-padding-y, 0.35rem) var(--o-list-cell-padding-x, 0.5rem);
  border-top: 0;
  border-bottom: 1px solid var(--o-list-row-border);
  background: var(--o-view-bg);
  vertical-align: middle;
  color: transparent;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.o_form_embedded_list .o_list_table > tbody > tr.o_list_empty_row > td {
  height: var(--o-list-row-height, 2.25rem);
  min-height: var(--o-list-row-height, 2.25rem);
  max-height: var(--o-list-row-height, 2.25rem);
}

@media (max-width: 767px) {
  .o_form_embedded_list .o_list_table > tbody > tr.o_list_empty_row,
  .o_form_embedded_list .o_list_table > tbody > tr.o_list_empty_row > td {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
}

/* Optional-columns menu above sticky cells / row chrome */
.o_form_embedded_list .o_optional_columns_menu,
.o_list_table .o_optional_columns_menu {
  z-index: 50;
}

.o_optional_columns_menu--portal {
  z-index: 10200;
}

/* Name cell: avatar + label on one line (fixed height) */
.o_list_table .o_list_name_link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.375rem;
  color: var(--o-list-cell-primary);
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.o_list_table .o_list_name_link:hover {
  color: var(--o-action);
}

.o_list_table .o_list_record_selector {
  width: var(--o-list-selector-width);
  min-width: var(--o-list-selector-width);
  max-width: var(--o-list-selector-width);
  text-align: center;
  overflow: visible;
}

.o_list_table > tbody > tr.o_data_row--selected {
  background: color-mix(in srgb, var(--o-action) 10%, var(--o-view-bg));
}

.o_list_table > tbody > tr.o_data_row--selected:hover {
  background: color-mix(in srgb, var(--o-action) 14%, var(--o-view-bg));
}

/* —— Selection bar (replaces search when rows selected) —— */
.o_list_selection_bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
  max-width: 560px;
  flex: 1 1 auto;
}

@media (max-width: 639px) {
  .o_list_selection_bar {
    flex-basis: 100%;
    max-width: none;
  }
}

/* Odoo mobile list: compact CP + card rows (kanban-like), search behind icon */
@media (max-width: 767px) {
  .o_list_view__cp {
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    align-items: center;
  }

  .o_list_view__cp .o_breadcrumb {
    font-size: 0.8125rem;
  }

  /* Search icon in CP row (Odoo); full searchview expands below when open */
  .o_cp_search_toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-left: 0;
    padding: 0;
    border: 1px solid var(--o-list-border);
    border-radius: var(--o-border-radius, 3px);
    background: var(--o-view-bg);
    color: var(--o-gray-700);
    cursor: pointer;
    order: 4;
    flex: 0 0 auto;
  }

  .o_list_view__cp > .inline-flex,
  .o_list_view__cp > button:not(.o_cp_search_toggler) {
    order: 1;
  }

  .o_list_view__cp > .flex.min-w-0 {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  .o_list_view__cp .ml-auto {
    margin-left: 0;
    order: 3;
  }

  .o_cp_searchview.o_cp_searchview--collapsed-mobile {
    display: none !important;
  }

  .o_cp_searchview:not(.o_cp_searchview--collapsed-mobile) {
    order: 10;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .o_list_view__body {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--o-gray-100, #f8f9fa);
  }

  /* Card rows — Odoo mobile kanban-style list */
  .o_list_view__body .o_list_table {
    min-width: 0 !important;
    width: 100%;
    display: block;
    background: transparent;
  }

  .o_list_view__body .o_list_table > thead {
    display: none;
  }

  .o_list_view__body .o_list_table > tbody {
    display: block;
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    -moz-column-gap: 0.45rem;
         column-gap: 0.45rem;
    row-gap: 0.2rem;
    width: auto;
    height: auto !important;
    min-height: 3.25rem;
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 0;
    border-bottom: 1px solid var(--o-list-border);
    background: var(--o-view-bg);
    cursor: pointer;
    position: relative;
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row:active {
    background: var(--o-gray-100);
  }

  /* Row checkbox — left of the card (Odoo mobile list) */
  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_list_record_selector {
    display: flex !important;
    position: absolute;
    top: 0.85rem;
    left: 0.65rem;
    z-index: 1;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_list_record_selector .o_checkbox {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    border-color: var(--o-gray-500);
  }

  .o_list_view__body
    .o_list_table
    > tbody
    > .o_data_row
    > .o_list_record_selector
    .o_checkbox:not(:checked) {
    background: var(--o-view-bg);
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row > td,
  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_data_cell {
    display: block;
    box-sizing: border-box;
    width: auto;
    max-width: none;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible;
    white-space: nowrap;
    text-overflow: unset;
  }

  /* Empty values must not affect flex alignment */
  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_data_cell--blank {
    display: none !important;
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_data_cell--primary {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-weight: 600;
    color: var(--o-gray-900);
    font-size: 0.9375rem;
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_data_cell--numeric {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--o-gray-900);
  }

  /* Force meta fields onto the next line under primary + amount */
  .o_list_view__body .o_list_table > tbody > .o_data_row::after {
    content: '';
    order: 3;
    flex: 1 0 100%;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .o_list_view__body
    .o_list_table
    > tbody
    > .o_data_row
    > .o_data_cell:not(.o_data_cell--primary):not(.o_data_cell--numeric):not(
      .o_data_cell--actions
    ) {
    order: 4;
    flex: 0 1 auto;
    max-width: 100%;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--o-gray-600);
    white-space: nowrap;
  }

  .o_list_view__body
    .o_list_table
    > tbody
    > .o_data_row
    > .o_data_cell:not(.o_data_cell--primary):not(.o_data_cell--numeric):not(
      .o_data_cell--actions
    ):not(.o_data_cell--blank)::after {
    content: ' · ';
    color: var(--o-gray-400);
  }

  .o_list_view__body
    .o_list_table
    > tbody
    > .o_data_row
    > .o_data_cell:not(.o_data_cell--primary):not(.o_data_cell--numeric):not(
      .o_data_cell--actions
    ):not(.o_data_cell--blank):not(
      :has(
        ~ .o_data_cell:not(.o_data_cell--primary):not(.o_data_cell--numeric):not(
            .o_data_cell--actions
          ):not(.o_data_cell--blank)
      )
    )::after {
    content: none;
  }

  /* No amount column: primary uses full width */
  .o_list_view__body
    .o_list_table
    > tbody
    > .o_data_row:not(:has(> .o_data_cell--numeric:not(.o_data_cell--blank)))
    > .o_data_cell--primary {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* No primary: amount leads the first line */
  .o_list_view__body
    .o_list_table
    > tbody
    > .o_data_row:not(:has(> .o_data_cell--primary:not(.o_data_cell--blank)))
    > .o_data_cell--numeric {
    order: 1;
    margin-left: 0;
    flex: 1 1 auto;
    text-align: left;
  }

  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_data_cell--actions,
  .o_list_view__body .o_list_table > tbody > .o_data_row > .o_list_controller {
    display: none;
  }

  .o_list_view__body .o_list_table > tbody > tr.o_list_nocontent_row {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    min-height: min(52vh, 26rem);
    cursor: default;
  }

  .o_list_view__body .o_list_table > tbody > tr.o_list_nocontent_row > .o_list_empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: min(52vh, 26rem);
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent;
  }

  .o_list_view__body .o_list_empty {
    display: block;
    text-align: center;
    background: transparent;
  }

  .o_list_view__body .o_view_nocontent {
    background: transparent;
  }

  .o_list_view__hint,
  .o_list_view__error {
    padding-inline: 0.75rem;
  }

  .o_cp_searchview {
    min-width: 0;
  }
}

@media (min-width: 768px) {
  .o_cp_search_toggler {
    display: none !important;
  }
}

.o_list_selection_box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  padding: 0.25rem 0.35rem 0.25rem 0.65rem;
  border-radius: 3px;
  background: var(--o-action);
  color: var(--o-on-accent);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.o_list_selection_box strong {
  font-weight: 700;
}

.o_select_domain {
  margin-left: 0.15rem;
  padding: 0.15rem 0.4rem;
  border: 0;
  border-radius: 2px;
  background: color-mix(in srgb, var(--o-on-accent) 18%, transparent);
  color: inherit;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.o_select_domain:hover {
  background: color-mix(in srgb, var(--o-on-accent) 28%, transparent);
}

.o_unselect_all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.85;
}

.o_unselect_all:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--o-on-accent) 18%, transparent);
}

/* Avatar in name cell — fixed box so it never changes row height */
.o_list_table .o_list_avatar {
  display: inline-flex;
  height: var(--o-list-avatar-size);
  width: var(--o-list-avatar-size);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  vertical-align: middle;
}

.o_list_table .o_badge {
  display: inline-flex;
  align-items: center;
  height: 1.25rem;
  padding: 0 0.375rem;
  border-radius: 3px;
  background: var(--o-gray-200);
  color: var(--o-gray-800);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

.o_list_group_header {
  height: var(--o-list-row-height);
  padding: var(--o-list-cell-padding-y) var(--o-list-cell-padding-x);
  background: var(--o-gray-100);
  border-bottom: 1px solid var(--o-list-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--o-gray-800);
  vertical-align: middle;
}

/* Group header cells also need the line when rendered as <td> under separate collapse */
.o_list_table > tbody > tr > td.o_list_group_header {
  border-bottom: 1px solid var(--o-list-border);
}

.o_list_table .o_list_model_pick {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}

.o_list_table .o_list_model_pick[aria-pressed='true'] {
  color: var(--o-list-cell-primary);
  font-weight: 600;
}

/* Kill common Tailwind overrides that break uniform row height */
.o_list_table .o_data_cell.text-sm,
.o_list_table .o_data_cell.text-xs,
.o_list_table td.p-0,
.o_list_table td.px-2,
.o_list_table td.py-1\.5,
.o_list_table td.py-1,
.o_list_table td.py-2 {
  font-size: var(--o-list-font-size) !important;
  padding: var(--o-list-cell-padding-y) var(--o-list-cell-padding-x) !important;
  line-height: var(--o-list-line-height) !important;
}

.o_list_table .o_data_cell.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: var(--o-list-mono-font-size);
}

/* Odoo optional columns — sticky trailing header (oi-settings-adjust analog) */
.o_list_table > thead > tr > th.o_list_actions_header {
  width: 2rem;
  min-width: 2rem;
  max-width: 2rem;
  padding: 0;
  text-align: center;
  position: sticky;
  right: 0;
  z-index: 2;
  background: var(--o-view-bg);
}

.o_list_table > tbody > tr > td.o_list_controller {
  width: 2rem;
  min-width: 2rem;
  padding: 0;
  position: sticky;
  right: 0;
  background: inherit;
}

.o_optional_columns_dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.o_optional_columns_dropdown_toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--o-gray-500);
  cursor: pointer;
}

.o_optional_columns_dropdown_toggle:hover {
  color: var(--o-gray-800);
}

.o_optional_columns_menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  margin-top: 0.25rem;
  max-height: 18rem;
  width: 14rem;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid var(--o-list-border);
  border-radius: 0.25rem;
  /* Solid elevated surface — never translucent over form fields */
  background-color: var(--o-elevated-bg, #fff);
  opacity: 1;
  box-shadow: var(--o-shadow-md, 0 4px 16px rgb(0 0 0 / 0.14));
  text-align: left;
}

/* Portaled above sticky thead / row stacking contexts */
.o_optional_columns_menu--portal {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 10200;
  margin-top: 0;
  isolation: isolate;
  background-color: var(--o-elevated-bg, #fff);
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.o_optional_columns_item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.35rem;
  font-size: var(--o-list-font-size);
  font-weight: 400;
  color: var(--o-gray-800);
  cursor: pointer;
}

.o_optional_columns_item:hover {
  background: var(--o-gray-100);
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/settings.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************/
/*
 * PREP SARVA — Odoo base_settings layout
 * Mirrored from web/static/src/webclient/settings_form_view/settings_form_view.scss
 * and views/form/setting/setting.scss
 */

.o_base_settings {
  --settings__tab-bg: var(--o-gray-100);
  --settings__tab-bg--active: var(--o-action-soft);
  --settings__tab-color: var(--o-gray-700);
  --settings__title-bg: var(--o-gray-200);
  --settings__horizontal-pad: 16px;

  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--o-view-bg);
  color: var(--o-gray-900);
}

@media (min-width: 1280px) {
  .o_base_settings {
    --settings__horizontal-pad: 32px;
  }
}

/* Control panel — Odoo settings: Save/Discard + title | Search */
.o_base_settings .o_settings_control_panel {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem var(--settings__horizontal-pad);
  border-bottom: 1px solid var(--o-gray-300);
  background: var(--o-view-bg);
}

.o_base_settings .o_settings_cp_main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  width: 100%;
}

.o_base_settings .o_settings_cp_buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin-left: 0;
}

.o_base_settings .o_settings_cp_buttons .o_btn_primary,
.o_base_settings .o_settings_cp_buttons .o_btn_secondary {
  height: 2rem;
  min-height: 2rem;
  padding: 0.25rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.o_base_settings .o_settings_cp_title {
  margin-left: 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--o-gray-900);
  line-height: 1.2;
  white-space: nowrap;
}

.o_base_settings .o_settings_search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 16rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  min-height: 2rem;
  padding: 0.15rem 0.65rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-view-bg);
}

.o_base_settings .o_settings_search__icon {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  color: var(--o-gray-500);
}

.o_base_settings .o_settings_search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 1.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--o-gray-900);
  font: inherit;
  font-size: 0.8125rem;
  outline: none;
}

.o_base_settings .o_settings_search__input::-moz-placeholder {
  color: var(--o-gray-500);
}

.o_base_settings .o_settings_search__input::placeholder {
  color: var(--o-gray-500);
}

.o_base_settings .o_settings_cp_end {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.o_base_settings .o_settings_company {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
}

.o_base_settings .o_settings_company .o_input,
.o_base_settings .o_settings_company .o_input_boxed {
  min-width: 10rem;
  max-width: 16rem;
}

.o_base_settings .o_settings_company select.o_input_boxed {
  height: 2rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-view-bg);
  color: var(--o-gray-900);
  font: inherit;
  font-size: 0.8125rem;
}

.o_base_settings .o_settings_dirty_hint {
  font-size: 12px;
  color: var(--o-gray-600);
  margin-right: 0.25rem;
}

/* Left tabs + right content */
.o_base_settings .o_setting_container {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.o_base_settings .settings_tab {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 11.5rem;
  background: var(--settings__tab-bg);
  overflow: auto;
  border-right: 1px solid var(--o-gray-200);
}

.o_base_settings .settings_tab .tab {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 1.5rem 0 1rem;
  border: 0;
  background: transparent;
  color: var(--settings__tab-color);
  font-size: 13px;
  line-height: 40px;
  white-space: nowrap;
  cursor: pointer;
  text-align: left;
}

.o_base_settings .settings_tab .tab .icon {
  display: inline-flex;
  width: 23px;
  min-width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  color: #e07a3a;
}

.o_base_settings .settings_tab .tab:hover,
.o_base_settings .settings_tab .tab.selected {
  color: var(--o-black);
}

.o_base_settings .settings_tab .tab.selected {
  background: var(--settings__tab-bg--active);
  box-shadow: inset 2px 0 0 var(--o-action);
}

.o_base_settings .settings {
  position: relative;
  flex: 1 1 100%;
  overflow: auto;
  background: var(--o-view-bg);
}

.o_base_settings .app_settings_block h2 {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 0.7rem var(--settings__horizontal-pad);
  background: var(--settings__title-bg);
  font-size: 15px;
  font-weight: 500;
  color: var(--o-gray-800);
  border-bottom: 1px solid color-mix(in srgb, var(--o-gray-300) 70%, transparent);
}

.o_base_settings .app_settings_block .o_setting_tip {
  margin: 0;
  padding: 0.7rem var(--settings__horizontal-pad);
  font-size: 13px;
  font-weight: 400;
  color: var(--o-gray-600);
}

.o_base_settings .o_settings_container {
  display: flex;
  flex-wrap: wrap;
  max-width: 992px; /* Bootstrap lg — Odoo readability cap */
  margin-top: 1rem; /* Odoo .row.mt16 */
  margin-bottom: 24px;
  padding: 0 var(--settings__horizontal-pad);
}

/* Setting cell — Odoo .o_setting_box.col-12.col-lg-6 */
.o_base_settings .o_setting_box {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-right: 0.75rem;
  min-height: 2rem;
}

@media (min-width: 992px) {
  .o_base_settings .o_setting_box {
    width: 50%;
  }

  .o_base_settings .o_setting_box.o_setting_box--full {
    width: 100%;
  }
}

.o_base_settings .o_setting_left_pane {
  flex: 0 0 24px;
  width: 24px;
  padding-top: 2px;
}

.o_base_settings .o_setting_right_pane {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0;
  border-left: 1px solid var(--o-gray-300);
  padding-left: 12px;
  min-height: 1.5rem;
}

.o_base_settings .o_setting_right_pane .o_form_label {
  display: inline;
  margin: 0;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: var(--o-gray-900);
}

.o_base_settings .o_setting_right_pane .o_form_label.o_light_label {
  font-weight: 400;
}

.o_base_settings .o_setting_right_pane .text-muted,
.o_base_settings .o_setting_help {
  display: block;
  margin: 0;
  color: var(--o-gray-600);
  font-size: 13px;
  line-height: 1.4;
}

/* Odoo web.Setting: field slot sits in .mt16 under label/help */
.o_base_settings .o_setting_right_pane .content-group.mt16 {
  margin-top: 1rem;
}

.o_base_settings .o_setting_right_pane .content-group {
  margin-top: 0;
}

.o_base_settings .mt16 {
  margin-top: 1rem;
}

.o_base_settings .o_setting_right_pane .content-group > .btn-link {
  margin-top: 0.5rem;
}

.o_base_settings .o_setting_right_pane .content-group > .o_input + .btn-link,
.o_base_settings .o_setting_right_pane .content-group > .o_input + .o_setting_status {
  display: block;
  margin-top: 0.5rem;
}

.o_base_settings .o_setting_right_pane .o_input {
  max-width: 100%;
}

.o_base_settings .o_setting_right_pane .o_form_autocomplete {
  display: block;
  width: 100%;
  max-width: 22rem;
}

.o_base_settings .o_setting_right_pane .o_form_autocomplete .o_input {
  width: 100%;
}

.o_base_settings .settings > .app_settings_block:last-child {
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .o_base_settings .o_setting_right_pane .o_input:not(.o_input--wide) {
    width: 50%;
    max-width: 12rem;
  }

  .o_base_settings .o_setting_right_pane .o_form_autocomplete {
    max-width: 22rem;
  }

  .o_base_settings .o_setting_right_pane .o_form_autocomplete .o_input {
    width: 100%;
  }
}

.o_base_settings .btn-link,
.o_base_settings a.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--o-action);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.o_base_settings .btn-link:hover,
.o_base_settings a.btn-link:hover {
  text-decoration: underline;
}

.o_base_settings .o_checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--o-checkbox);
  cursor: pointer;
}

.o_base_settings .o_light_label {
  display: inline-block;
  min-width: 4.5rem;
  margin-right: 0.5rem;
  font-size: 13px;
  color: var(--o-gray-700);
}

.o_base_settings .o_setting_inline_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.5rem;
}

/* Nested field under a setting (Odoo Default Taxes → Sales Tax / Package) */
.o_base_settings .o_setting_field_row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: 0.5rem;
}

.o_base_settings .o_setting_field_row:first-child {
  margin-top: 0;
}

.o_base_settings .o_setting_field_row__label {
  flex: 0 0 auto;
  min-width: 5.5rem;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--o-gray-700);
}

.o_base_settings .o_setting_field_row__widget {
  flex: 1 1 10rem;
  min-width: 0;
  max-width: 18rem;
}

.o_base_settings .o_setting_field_row__widget .o_form_autocomplete,
.o_base_settings .o_setting_field_row__widget .o_input {
  width: 100%;
  max-width: 100%;
}

.o_base_settings .o_setting_status {
  font-size: 12px;
  color: var(--o-gray-600);
}

.o_base_settings .o_setting_status.is-error {
  color: var(--o-danger);
}

/* Odoo content-group action buttons (Reload / Load Chart) */
.o_base_settings .o_setting_right_pane .content-group > .o_btn_secondary,
.o_base_settings .o_setting_reload_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  min-width: 7.5rem;
  height: 2rem;
  padding: 0.25rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.o_base_settings .o_setting_link_stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.o_base_settings .o_setting_link_stack > .btn-link {
  margin-top: 0;
}

@media (max-width: 767px) {
  .o_base_settings .o_setting_container {
    flex-direction: column;
  }

  .o_base_settings .settings_tab {
    flex-direction: row;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--o-gray-200);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .o_base_settings .settings_tab .tab.selected {
    box-shadow: inset 0 -2px 0 var(--o-action);
  }

  .o_base_settings .o_setting_right_pane {
    padding-inline: 0.75rem;
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/modules.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************/
/*
 * PREP SARVA — Apps (module) kanban — Odoo o_modules_kanban shape.
 * Method: styles/METHOD.md. Tokens: theme.css.
 */

.o_modules_kanban {
  --KanbanRecord-width: 280px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  align-content: flex-start;
  background: var(--o-view-bg);
  min-height: 12rem;
}

@media (max-width: 767px) {
  .o_modules_kanban {
    --KanbanRecord-width: 100%;
    gap: 0.75rem;
    padding: 0.75rem;
  }
}

.o_modules_kanban__empty {
  width: 100%;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--o-gray-600);
  font-size: var(--o-font-size);
}

.o_module_card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  width: var(--KanbanRecord-width);
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.02);
}

.o_module_card__aside {
  flex-shrink: 0;
}

.o_module_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--o-gray-100);
  color: var(--o-brand);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.o_module_icon--base {
  background: var(--o-action-soft);
  color: var(--o-action-dark);
}

.o_module_icon--demo {
  background: var(--o-warning-soft);
  color: var(--o-gray-800);
}

.o_module_card__main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
}

.o_module_card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--o-gray-900);
}

.o_module_card__summary {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--o-gray-600);
}

.o_module_card__summary code {
  font-size: 0.75rem;
  color: var(--o-gray-700);
}

.o_module_card__meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--o-gray-500);
}

.o_module_card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
}

.o_module_card__installed {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--o-gray-600);
}

.o_module_card__installed::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--o-success-bright);
}

.o_module_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.75rem;
  padding: 0 0.65rem;
  border-radius: var(--o-border-radius);
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--o-action);
  color: var(--o-white);
}

.o_module_btn:hover:not(:disabled) {
  background: var(--o-action-dark);
}

.o_module_btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.o_module_btn--secondary {
  background: var(--o-view-bg);
  color: var(--o-gray-800);
  border-color: var(--o-gray-300);
}

.o_module_btn--secondary:hover:not(:disabled) {
  background: var(--o-gray-100);
}

.o_module_btn--danger {
  background: var(--o-view-bg);
  color: var(--o-danger);
  border-color: var(--o-gray-300);
}

.o_module_btn--danger:hover:not(:disabled) {
  background: var(--o-danger-soft);
  border-color: var(--o-danger);
}

.o_module_badge {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.5rem;
  border-radius: var(--o-border-radius);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--o-warning-soft);
  color: var(--o-gray-900);
}

/*!***************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/kanban.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************/
/**
 * PREP SARVA — Odoo-style kanban board (pipeline / state columns).
 * Tokens only; used by CRM / Sales / Purchase list shells.
 */

.o_kanban_renderer {
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  padding: 12px 16px 20px;
  min-height: 280px;
  background: var(--o-view-bg);
}

.o_kanban_group {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 180px);
  background: var(--o-gray-100);
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
}

@media (max-width: 767px) {
  .o_kanban_renderer {
    gap: 8px;
    padding: 8px 10px 16px;
    -webkit-overflow-scrolling: touch;
  }

  .o_kanban_group {
    flex: 0 0 min(280px, calc(100vw - 2.5rem));
    max-height: calc(100dvh - 10rem);
  }
}

.o_kanban_group--dragover {
  border-color: var(--o-action);
  box-shadow: inset 0 0 0 1px var(--o-action);
}

.o_kanban_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--o-gray-300);
  background: var(--o-view-bg);
}

.o_kanban_header_title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--o-gray-900);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o_kanban_counter {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--o-gray-600);
  font-variant-numeric: tabular-nums;
}

.o_kanban_records {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.o_kanban_record {
  display: block;
  padding: 10px 12px;
  background: var(--o-view-bg);
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
  color: inherit;
  text-decoration: none;
  cursor: grab;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.o_kanban_record:hover {
  border-color: var(--o-gray-400);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--o-gray-900) 8%, transparent);
}

.o_kanban_record:active {
  cursor: grabbing;
}

.o_kanban_record--dragging {
  opacity: 0.45;
}

.o_kanban_record_title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--o-gray-900);
  line-height: 1.3;
  margin-bottom: 4px;
  word-break: break-word;
}

.o_kanban_record_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: var(--o-gray-600);
}

.o_kanban_record_meta strong {
  color: var(--o-gray-800);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.o_kanban_empty {
  padding: 16px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--o-gray-500);
}

.o_kanban_loading {
  padding: 24px 16px;
  font-size: 13px;
  color: var(--o-gray-600);
}

/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/pivot.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
/**
 * PREP SARVA — Odoo-style pivot / analysis table.
 */

.o_pivot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 20px;
  background: var(--o-view-bg);
  min-height: 240px;
}

@media (max-width: 767px) {
  .o_pivot {
    padding: 8px 10px 16px;
    gap: 10px;
  }

  .o_pivot_field {
    min-width: 0;
    flex: 1 1 100%;
  }

  .o_pivot_table_wrap {
    -webkit-overflow-scrolling: touch;
  }
}

.o_pivot_toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}

.o_pivot_field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.o_pivot_field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--o-gray-600);
}

.o_pivot_field select {
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
  background: var(--o-view-bg);
  color: var(--o-gray-900);
  font: inherit;
  font-size: 13px;
}

.o_pivot_table_wrap {
  overflow: auto;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius);
}

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

.o_pivot_table th,
.o_pivot_table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--o-gray-200);
  border-right: 1px solid var(--o-gray-200);
  text-align: left;
  white-space: nowrap;
}

.o_pivot_table th:last-child,
.o_pivot_table td:last-child {
  border-right: 0;
}

.o_pivot_table thead th {
  background: var(--o-gray-100);
  font-weight: 600;
  color: var(--o-gray-800);
  position: sticky;
  top: 0;
  z-index: 1;
}

.o_pivot_table .o_pivot_row_header {
  background: var(--o-view-bg);
  font-weight: 500;
  color: var(--o-gray-900);
  position: sticky;
  left: 0;
  z-index: 1;
}

.o_pivot_table .o_pivot_measure {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--o-gray-800);
}

.o_pivot_table .o_pivot_total {
  font-weight: 600;
  background: var(--o-gray-100);
}

.o_pivot_table tbody tr:hover td {
  background: color-mix(in srgb, var(--o-action) 6%, var(--o-view-bg));
}

.o_pivot_empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--o-gray-600);
  font-size: 13px;
}

.o_pivot_hint {
  margin: 0;
  font-size: 12px;
  color: var(--o-gray-500);
}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/home.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
/*
 * Home / app launcher — Supreme-matched backgrounds + frosted colored tiles.
 * Background applied via CSS vars set by home-background.ts (html[data-home-bg-type]).
 */

:root {
  --homeMenu-bg-color: var(--home-bg-plain-light, var(--o-webclient-bg));
  --home-bg-image: none;
  --home-bg-overlay: none;
  --home-bg-vignette: none;
  --home-bg-plain-light: #faf7f2;
  --home-bg-plain-dark: #0b1220;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-card-border: rgba(255, 255, 255, 0.7);
  --home-card-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dark {
  --homeMenu-bg-color: var(--home-bg-plain-dark, var(--o-webclient-bg));
  --home-card-border: rgba(148, 163, 184, 0.22);
  --home-card-shadow: 0 12px 30px rgba(2, 6, 23, 0.4), inset 0 1px 0 rgba(16, 185, 129, 0.12);
}

/* —— Atmosphere canvas —— */
.o_home_menu_background {
  position: relative;
  isolation: isolate;
  background-color: var(--homeMenu-bg-color);
  background-image: none;
  transition: background 0.35s var(--home-ease), background-color 0.35s var(--home-ease);
}

.o_home_menu_background::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--home-bg-vignette);
}

.o_home_menu_background::after {
  content: none;
}

/* Image / framed backgrounds */
html[data-home-bg-type='image'] .o_home_menu_background {
  background-color: var(--home-bg-plain-light);
  background-image: var(--home-bg-overlay-light), var(--home-bg-image-light);
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

html.dark[data-home-bg-type='image'] .o_home_menu_background {
  background-color: var(--home-bg-plain-dark);
  background-image: var(--home-bg-overlay-dark), var(--home-bg-image-dark);
}

html[data-home-bg-type='image'] .o_home_menu_background::before {
  background: var(--home-bg-vignette-light);
}

html.dark[data-home-bg-type='image'] .o_home_menu_background::before {
  background: var(--home-bg-vignette-dark);
}

/* Solid color + wash (gradient stored in plain vars) */
html[data-home-bg-type='color'] .o_home_menu_background,
html[data-home-bg-type='none'] .o_home_menu_background {
  background-color: var(--home-bg-plain-light);
  background-image: none;
}

html.dark[data-home-bg-type='color'] .o_home_menu_background,
html.dark[data-home-bg-type='none'] .o_home_menu_background {
  background-color: var(--home-bg-plain-dark);
}

html[data-home-bg-type='gradient'] .o_home_menu_background {
  background-color: transparent;
  background-image: var(--home-bg-plain-light);
}

html.dark[data-home-bg-type='gradient'] .o_home_menu_background {
  background-image: var(--home-bg-plain-dark);
}

html[data-home-bg-type='color'] .o_home_menu_background::before,
html[data-home-bg-type='none'] .o_home_menu_background::before,
html[data-home-bg-type='gradient'] .o_home_menu_background::before {
  background: none;
}

@media (max-width: 768px) {
  html[data-home-bg-type='image'] .o_home_menu_background {
    background-attachment: scroll, scroll;
  }
}

.o_home_shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  min-height: calc(100vh - 3rem);
  padding: 2rem 1.25rem 5.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .o_home_shell {
    padding: 3.25rem 2rem 6rem;
  }
}

/* —— Floating background switcher (bottom center) —— */
.o_home_bg_picker {
  position: fixed;
  left: 50%;
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.o_home_bg_picker__toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--o-gray-800);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(16, 40, 29, 0.14);
  backdrop-filter: blur(14px) saturate(1.15);
  transition: transform 0.2s var(--home-ease), box-shadow 0.2s ease;
}

.o_home_bg_picker__toggle:hover {
  transform: translateY(-2px);
}

.dark .o_home_bg_picker__toggle {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
}

.o_home_bg_picker__preview {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.dark .o_home_bg_picker__preview {
  border-color: rgba(148, 163, 184, 0.45);
}

.o_home_bg_picker__label {
  padding-right: 0.45rem;
  white-space: nowrap;
}

/* —— Background chooser modal —— */
.o_home_bg_modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  animation: o_home_fade_up 0.2s var(--home-ease) both;
}

.o_home_bg_modal__panel {
  width: min(640px, 100%);
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 24px 64px rgba(16, 40, 29, 0.18);
  overflow: hidden;
}

.dark .o_home_bg_modal__panel {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 24px 64px rgba(2, 6, 23, 0.55);
}

.o_home_bg_modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(16, 40, 29, 0.08);
}

.dark .o_home_bg_modal__head {
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

.o_home_bg_modal__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--o-gray-900);
}

.o_home_bg_modal__head p {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--o-gray-600);
  line-height: 1.4;
}

.o_home_bg_modal__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--o-gray-600);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.o_home_bg_modal__close:hover {
  background: var(--o-gray-100);
  color: var(--o-gray-900);
}

.o_home_bg_modal__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem 0.35rem;
}

.o_home_bg_modal__tab {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 999px;
  background: var(--o-white);
  color: var(--o-gray-700);
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dark .o_home_bg_modal__tab {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.28);
  color: #cbd5e1;
}

.o_home_bg_modal__tab--active {
  border-color: var(--o-action);
  background: var(--o-action);
  color: var(--o-on-accent);
}

.o_home_bg_modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem 1.25rem 1.25rem;
  overflow-y: auto;
}

@media (min-width: 560px) {
  .o_home_bg_modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.o_home_bg_modal__option {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1.5px solid rgba(16, 40, 29, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s var(--home-ease), box-shadow 0.2s ease;
}

.dark .o_home_bg_modal__option {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.35);
}

.o_home_bg_modal__option:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--o-action) 40%, transparent);
}

.o_home_bg_modal__option--active {
  border-color: var(--o-action);
  box-shadow: 0 0 0 1px var(--o-action);
}

.o_home_bg_modal__pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: 10px;
  overflow: hidden;
  min-height: 4.25rem;
}

.o_home_bg_modal__thumb {
  position: relative;
  min-height: 4.25rem;
  background-size: cover !important;
  background-position: center !important;
}

.o_home_bg_modal__thumb span {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.o_home_bg_modal__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--o-gray-800);
}

.o_home_bg_modal__check {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--o-action);
  color: var(--o-on-accent);
  font-size: 0.7rem;
  line-height: 1.15rem;
  text-align: center;
  font-weight: 700;
}

.o_home_bg_modal__option--active .o_home_bg_modal__check {
  display: inline-block;
}

.o_home_menu {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  gap: 1.35rem;
  padding: 0;
  animation: o_home_fade_up 0.55s var(--home-ease) 0.06s both;
}

/* —— Search —— */
.o_home_search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: min(100%, 30rem);
  min-height: 3.1rem;
  padding: 0.45rem 0.85rem 0.45rem 1rem;
  border: 1.5px solid var(--o-gray-300);
  border-radius: 999px;
  background: color-mix(in srgb, var(--o-white) 92%, transparent);
  box-shadow: var(--o-shadow-sm);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.2s var(--home-ease),
    box-shadow 0.2s var(--home-ease),
    background-color 0.2s ease,
    transform 0.2s var(--home-ease);
}

.dark .o_home_search {
  background: color-mix(in srgb, var(--o-view-bg) 92%, transparent);
}

.o_home_search:hover {
  border-color: color-mix(in srgb, var(--o-action) 45%, var(--o-gray-300));
  box-shadow: var(--o-shadow-sm), 0 0 0 3px color-mix(in srgb, var(--o-action) 14%, transparent);
}

.o_home_search:focus-within {
  border-color: var(--o-action);
  background: var(--o-white);
  box-shadow: var(--o-shadow-md), 0 0 0 4px color-mix(in srgb, var(--o-action) 28%, transparent);
  transform: translateY(-1px);
}

.o_home_search__glyph {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--o-gray-500);
}

.o_home_search:focus-within .o_home_search__glyph,
.o_home_search:hover .o_home_search__glyph {
  color: var(--o-action);
}

.o_home_search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--o-gray-900);
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.o_home_search__input::-moz-placeholder {
  color: var(--o-gray-500);
}

.o_home_search__input::placeholder {
  color: var(--o-gray-500);
}

.o_home_search__clear {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--o-gray-600);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.o_home_search__clear:hover {
  background: var(--o-action-soft);
  color: var(--o-action);
}

.o_home_search__kbd {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius-sm);
  background: var(--o-gray-100);
  color: var(--o-gray-600);
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.o_home_search:focus-within .o_home_search__kbd {
  border-color: color-mix(in srgb, var(--o-action) 35%, var(--o-gray-300));
  background: var(--o-action-soft);
  color: var(--o-action);
}

.o_home_query {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--o-gray-500);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
}

.o_search_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

/* —— App grid (Supreme flex wrap) —— */
.o_apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 0.875rem;
  width: 100%;
  margin-top: 0.15rem;
}

.o_home_commands {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.4rem 0;
  border: 1.5px solid var(--o-gray-300);
  border-radius: var(--o-border-radius-lg);
  background: var(--o-white);
  box-shadow: var(--o-shadow-md);
  max-height: min(60vh, 28rem);
  overflow-y: auto;
  animation: o_home_fade_up 0.28s var(--home-ease) both;
}

.dark .o_home_commands {
  background: var(--o-view-bg);
}

.o_home_command {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--o-gray-900);
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.o_home_command:hover,
.o_home_command.o_focused {
  background: var(--o-action-soft);
  border-left-color: var(--o-action);
}

.o_home_command--app .o_home_command__icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
}

.o_home_command--app .o_home_command__icon .o_app_icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--o-border-radius-sm);
  box-shadow: none;
  background: transparent;
}

.o_home_command--app .o_home_command__icon .o_app_icon__glyph {
  width: 1.25rem;
  height: 1.25rem;
}

.o_home_command__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o_home_match {
  font-weight: 700;
  color: var(--o-action);
}

/* —— App tiles: frosted card + colored icon/label (Supreme) —— */
.o_app.o_menuitem {
  --app-accent: #539bff;
  flex: 0 0 9.25rem;
  width: 9.25rem;
  max-width: 9.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 8rem;
  padding: 1.15rem 0.75rem;
  text-decoration: none;
  color: var(--app-accent);
  cursor: pointer;
  border: 1px solid var(--home-card-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--home-card-shadow);
  backdrop-filter: blur(16px) saturate(1.2);
  outline: none;
  overflow: hidden;
  animation: o_home_tile_in 0.45s var(--home-ease) both;
  transition:
    transform 0.32s var(--home-ease),
    box-shadow 0.32s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.o_app.o_menuitem::before {
  content: '';
  position: absolute;
  inset: -40% auto auto -40%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 0.35s, opacity 0.35s;
}

.dark .o_app.o_menuitem {
  background: rgba(15, 23, 42, 0.55);
}

.o_app.o_menuitem:nth-child(1) { animation-delay: 0.04s; }
.o_app.o_menuitem:nth-child(2) { animation-delay: 0.08s; }
.o_app.o_menuitem:nth-child(3) { animation-delay: 0.12s; }
.o_app.o_menuitem:nth-child(4) { animation-delay: 0.16s; }
.o_app.o_menuitem:nth-child(5) { animation-delay: 0.2s; }
.o_app.o_menuitem:nth-child(6) { animation-delay: 0.24s; }
.o_app.o_menuitem:nth-child(7) { animation-delay: 0.28s; }
.o_app.o_menuitem:nth-child(8) { animation-delay: 0.32s; }
.o_app.o_menuitem:nth-child(9) { animation-delay: 0.36s; }
.o_app.o_menuitem:nth-child(10) { animation-delay: 0.4s; }
.o_app.o_menuitem:nth-child(11) { animation-delay: 0.44s; }
.o_app.o_menuitem:nth-child(12) { animation-delay: 0.48s; }

.o_app.o_menuitem:hover,
.o_app.o_menuitem.o_focused,
.o_app.o_menuitem:focus-visible {
  transform: translateY(-8px) scale(1.04);
  border-color: color-mix(in srgb, var(--o-action) 28%, transparent);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.dark .o_app.o_menuitem:hover,
.dark .o_app.o_menuitem.o_focused,
.dark .o_app.o_menuitem:focus-visible {
  background: rgba(15, 23, 42, 0.72);
  border-color: color-mix(in srgb, var(--o-action) 48%, transparent);
}

.o_app.o_menuitem:hover::before,
.o_app.o_menuitem.o_focused::before,
.o_app.o_menuitem:focus-visible::before {
  transform: translate(28px, 18px) scale(1.25);
  opacity: 0.85;
}

.o_app.o_menuitem:active {
  transform: scale(0.97);
}

/* Per-app accent colors (icon + caption) */
.o_app.o_menuitem[data-app-tone='contacts'] { --app-accent: #539bff; }
.o_app.o_menuitem[data-app-tone='apps'] { --app-accent: #5d87ff; }
.o_app.o_menuitem[data-app-tone='settings'] { --app-accent: #fa896b; }
.o_app.o_menuitem[data-app-tone='calendar'] { --app-accent: #ffae1f; }
.o_app.o_menuitem[data-app-tone='account'] { --app-accent: #13deb9; }
.o_app.o_menuitem[data-app-tone='crm'] { --app-accent: #5d87ff; }
.o_app.o_menuitem[data-app-tone='sale'] { --app-accent: #ffae1f; }
.o_app.o_menuitem[data-app-tone='purchase'] { --app-accent: #539bff; }
.o_app.o_menuitem[data-app-tone='inventory'] { --app-accent: #49beff; }
.o_app.o_menuitem[data-app-tone='manufacturing'] { --app-accent: #0c7884; }
.o_app.o_menuitem[data-app-tone='process-house'] { --app-accent: #fa896b; }
.o_app.o_menuitem[data-app-tone='default'] { --app-accent: #64748b; }

.o_app_icon {
  position: relative;
  z-index: 1;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  color: var(--app-accent);
  animation: o_home_icon_float 2.8s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.o_app.o_menuitem:nth-child(2n) .o_app_icon { animation-delay: 0.4s; }
.o_app.o_menuitem:nth-child(3n) .o_app_icon { animation-delay: 0.8s; }

.o_app.o_menuitem:hover .o_app_icon,
.o_app.o_menuitem.o_focused .o_app_icon,
.o_app.o_menuitem:focus-visible .o_app_icon {
  animation: none;
  transform: scale(1.12) rotate(-4deg);
}

.o_app_icon__glyph {
  width: 2.65rem;
  height: 2.65rem;
  stroke-width: 1.6;
  color: inherit;
}

.o_caption {
  position: relative;
  z-index: 1;
  margin: 0;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--app-accent);
  transition: letter-spacing 0.25s ease;
}

.o_app.o_menuitem:hover .o_caption,
.o_app.o_menuitem.o_focused .o_caption,
.o_app.o_menuitem:focus-visible .o_caption {
  letter-spacing: 0.02em;
}

.o_home_empty {
  margin: 1rem 0 0;
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--o-gray-600);
  border: 1.5px dashed var(--o-gray-300);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
}

.o_home_loading {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  width: 100%;
}

.o_home_loading__tile {
  flex: 0 0 9.25rem;
  width: 9.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  min-height: 8rem;
  padding: 1.15rem 0.75rem;
  border: 1px solid var(--home-card-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.dark .o_home_loading__tile {
  background: rgba(15, 23, 42, 0.55);
}

.o_home_loading__icon {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 12px;
  background: var(--o-gray-200);
  animation: o_home_pulse 1.15s ease-in-out infinite;
}

.o_home_loading__label {
  width: 3.5rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--o-gray-200);
  animation: o_home_pulse 1.15s ease-in-out infinite;
}

@keyframes o_home_fade_up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes o_home_tile_in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes o_home_icon_float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes o_home_pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .o_home_menu,
  .o_home_commands,
  .o_app.o_menuitem,
  .o_home_loading__icon,
  .o_home_loading__label,
  .o_app_icon {
    animation: none;
  }

  .o_app.o_menuitem:hover,
  .o_app.o_menuitem.o_focused,
  .o_app.o_menuitem:focus-visible,
  .o_app.o_menuitem:active,
  .o_home_search:focus-within,
  .o_app.o_menuitem:hover .o_app_icon,
  .o_app.o_menuitem.o_focused .o_app_icon,
  .o_app.o_menuitem:focus-visible .o_app_icon,
  .o_home_bg_picker__toggle:hover {
    transform: none;
  }
}

/*!************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/hub.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************/
/*
 * PREP SARVA — app hub dashboards (CRM / Sales / Purchase / Accounting / Inventory).
 * Method: styles/METHOD.md. Pages use AppHubShell + these classes only.
 */

.o_app_hub {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  background: var(--o-webclient-bg, var(--o-gray-100));
}

/* —— Sticky hub chrome (breadcrumb + quick actions) —— */
.o_app_hub_cp {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0.65rem 1rem 0.75rem;
  border-bottom: 1px solid var(--o-gray-200);
  background: var(--o-view-bg);
}

.o_app_hub_cp .o_breadcrumb {
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--o-gray-900);
  line-height: 1.3;
}

.o_app_hub_title--desktop {
  display: none;
}

@media (min-width: 768px) {
  .o_app_hub_title--desktop {
    display: block;
  }
}

.o_app_hub_cp .o_breadcrumb_item {
  color: var(--o-gray-900);
  font-weight: 700;
}

.o_app_hub_cp .o_breadcrumb a {
  font-weight: 600;
}

/* —— Quick actions (in CP so they never flex-shrink away) —— */
.o_app_hub_quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  min-width: 0;
  width: 100%;
}

.o_app_hub_quick_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-view-bg);
  color: var(--o-gray-900);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.o_app_hub_quick_btn:hover {
  border-color: var(--o-action);
  color: var(--o-action);
  background: var(--o-action-soft, color-mix(in srgb, var(--o-action) 8%, var(--o-view-bg)));
}

.o_app_hub_quick_btn--primary {
  border-color: var(--o-action);
  background: var(--o-action);
  color: #fff;
}

.o_app_hub_quick_btn--primary:hover {
  filter: brightness(0.95);
  color: #fff;
  background: var(--o-action);
}

/* —— Scrollable tile body —— */
.o_app_hub_body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.15rem 1.5rem 2rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--o-gray-300) transparent;
}

.o_app_hub_body::-webkit-scrollbar {
  width: 6px;
}

.o_app_hub_body::-webkit-scrollbar-thumb {
  background: var(--o-gray-300);
  border-radius: 999px;
}

.o_app_hub_body::-webkit-scrollbar-track {
  background: transparent;
}

/* —— Sections —— */
.o_app_hub_section {
  margin-bottom: 1.35rem;
  min-width: 0;
}

.o_app_hub_section:last-of-type {
  margin-bottom: 0.5rem;
}

.o_app_hub_section_title {
  margin: 0 0 0.65rem;
  color: var(--o-gray-600);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.o_app_hub_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  min-width: 0;
}

.o_app_hub_tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
  min-width: 0;
  min-height: 5.75rem;
  padding: 0.95rem 0.65rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.5rem;
  background: var(--o-view-bg);
  box-shadow: var(--o-shadow-sm, 0 1px 2px rgb(0 0 0 / 0.04));
  color: var(--o-gray-900);
  text-decoration: none;
  text-align: center;
  transition:
    border-color 0.12s ease,
    background-color 0.12s ease,
    box-shadow 0.12s ease,
    transform 0.12s ease;
}

.o_app_hub_tile:hover {
  border-color: var(--o-action);
  background: var(--o-action-soft, color-mix(in srgb, var(--o-action) 8%, var(--o-view-bg)));
  box-shadow: var(--o-shadow-sm);
  transform: translateY(-1px);
}

.o_app_hub_tile:active {
  background: color-mix(in srgb, var(--o-action) 12%, var(--o-view-bg));
}

.o_app_hub_tile_icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  color: var(--o-action);
}

.o_app_hub_tile_label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  word-break: break-word;
}

.o_app_hub_hint,
.o_app_hub_empty {
  margin: 0.35rem 0 0;
  color: var(--o-gray-600);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.o_app_hub_empty {
  padding: 1.5rem 0;
  text-align: center;
}

@media (max-width: 767px) {
  .o_app_hub_cp {
    gap: 0.5rem;
    padding: 0.55rem 0.75rem 0.7rem;
  }

  .o_app_hub_cp:not(:has(.o_app_hub_title:not(.o_app_hub_title--desktop))) {
    /* title hidden — slightly tighter when only quick actions show */
    padding-top: 0.5rem;
  }

  .o_app_hub_cp .o_breadcrumb {
    font-size: 1rem;
  }

  /* Full-width stacked actions — avoids half-width orphan buttons */
  .o_app_hub_quick {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .o_app_hub_quick_btn {
    width: 100%;
    min-height: 2.5rem;
    padding-inline: 0.75rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
  }

  .o_app_hub_quick_btn--primary {
    grid-column: unset;
  }

  .o_app_hub_body {
    padding: 0.85rem 0.75rem 1.5rem;
    scrollbar-width: none;
  }

  .o_app_hub_body::-webkit-scrollbar {
    display: none;
    width: 0;
  }

  .o_app_hub_section {
    margin-bottom: 1.1rem;
  }

  .o_app_hub_section_title {
    margin-bottom: 0.5rem;
  }

  .o_app_hub_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .o_app_hub_tile {
    min-height: 5.25rem;
    padding: 0.75rem 0.4rem;
    gap: 0.4rem;
  }

  .o_app_hub_tile_icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .o_app_hub_tile_label {
    font-size: 0.75rem;
  }

  .o_app_hub_empty {
    padding: 2rem 0.5rem;
  }
}

/* —— Process House dashboard (PH7) — ops bento + pipeline + tower —— */
.o_ph_dash {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  max-width: 56rem;
}

.o_ph_dash_error {
  margin: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--o-danger) 35%, var(--o-gray-300));
  border-radius: 0.375rem;
  background: var(--o-danger-soft);
  color: var(--o-danger-dark);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.o_ph_dash_status {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.o_ph_dash_eyebrow {
  margin: 0 0 0.2rem;
  color: var(--o-gray-600);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.o_ph_dash_title {
  margin: 0;
  color: var(--o-gray-900);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.o_ph_dash_sub {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  color: var(--o-gray-600);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.o_ph_dash_pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  min-height: 1.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.o_ph_dash_pill svg {
  width: 0.9rem;
  height: 0.9rem;
}

.o_ph_dash_pill--work {
  border: 1px solid color-mix(in srgb, var(--o-warning) 50%, var(--o-gray-300));
  background: var(--o-warning-soft);
  color: var(--o-gray-900);
}

.o_ph_dash_pill--clear {
  border: 1px solid color-mix(in srgb, var(--o-success) 30%, var(--o-gray-300));
  background: var(--o-success-soft);
  color: var(--o-success);
}

/* Bento */
.o_ph_dash_bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 0.65rem;
  min-width: 0;
}

.o_ph_dash_card {
  --ph-accent: var(--o-gray-400);
  --ph-soft: var(--o-gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-sizing: border-box;
  min-width: 0;
  min-height: 9.5rem;
  padding: 0.95rem 1rem 0.85rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.5rem;
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--ph-soft) 70%, var(--o-view-bg)) 0%,
      var(--o-view-bg) 48%
    );
  color: var(--o-gray-900);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--o-shadow-sm);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.o_ph_dash_card:hover {
  border-color: color-mix(in srgb, var(--ph-accent) 55%, var(--o-gray-300));
  box-shadow: var(--o-shadow-md);
}

.o_ph_dash_card:focus-visible {
  outline: 2px solid var(--o-action);
  outline-offset: 2px;
}

.o_ph_dash_card--hero {
  min-height: 11rem;
  padding: 1.1rem 1.15rem 1rem;
}

.o_ph_dash_card--work {
  --ph-accent: var(--o-warning);
  --ph-soft: var(--o-warning-soft);
  border-color: color-mix(in srgb, var(--o-warning) 40%, var(--o-gray-300));
}

.o_ph_dash_card--clear {
  --ph-accent: var(--o-success);
  --ph-soft: var(--o-success-soft);
}

.o_ph_dash_card--idle {
  --ph-accent: var(--o-action);
  --ph-soft: var(--o-action-soft);
}

.o_ph_dash_card--skel {
  pointer-events: none;
  cursor: default;
  background: linear-gradient(
    90deg,
    var(--o-gray-200) 0%,
    var(--o-gray-100) 50%,
    var(--o-gray-200) 100%
  );
  background-size: 200% 100%;
  animation: o_ph_dash_shimmer 1.1s ease-in-out infinite;
  border-color: var(--o-gray-300);
  box-shadow: none;
}

.o_ph_dash_card_meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.o_ph_dash_card_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.375rem;
  background: color-mix(in srgb, var(--ph-soft) 80%, var(--o-view-bg));
  color: var(--ph-accent);
  border: 1px solid color-mix(in srgb, var(--ph-accent) 22%, transparent);
}

.o_ph_dash_card_icon svg {
  width: 1rem;
  height: 1rem;
}

.o_ph_dash_card_kicker {
  color: var(--o-gray-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.o_ph_dash_card_hero_value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.o_ph_dash_card_num {
  font-size: 2.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--o-gray-900);
}

.o_ph_dash_card_num--md {
  margin-top: 0.15rem;
  font-size: 1.85rem;
}

.o_ph_dash_card_unit {
  color: var(--o-gray-600);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.o_ph_dash_card_desc {
  flex: 1;
  color: var(--o-gray-600);
  font-size: 0.75rem;
  line-height: 1.4;
}

.o_ph_dash_card_cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
  color: var(--o-action);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.o_ph_dash_card_cta svg {
  width: 0.9rem;
  height: 0.9rem;
}

.o_ph_dash_card:hover .o_ph_dash_card_cta {
  color: var(--o-action-dark);
}

/* Pipeline */
.o_ph_dash_section_label {
  margin: 0 0 0.55rem;
  color: var(--o-gray-600);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.o_ph_dash_flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.o_ph_dash_flow_step {
  flex: 1 1 7.5rem;
  min-width: 0;
}

.o_ph_dash_flow_step > a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-sizing: border-box;
  min-height: 3.25rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.375rem;
  background: var(--o-view-bg);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.o_ph_dash_flow_step > a:hover {
  border-color: var(--o-action);
  background: var(--o-action-soft);
}

.o_ph_dash_flow_step > a:focus-visible {
  outline: 2px solid var(--o-action);
  outline-offset: 2px;
}

.o_ph_dash_flow_step--work > a {
  border-color: color-mix(in srgb, var(--o-warning) 45%, var(--o-gray-300));
  background: color-mix(in srgb, var(--o-warning-soft) 65%, var(--o-view-bg));
}

.o_ph_dash_flow_idx {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--o-gray-100);
  color: var(--o-gray-700);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.o_ph_dash_flow_step--work .o_ph_dash_flow_idx {
  background: color-mix(in srgb, var(--o-warning) 35%, var(--o-view-bg));
  color: var(--o-gray-900);
}

.o_ph_dash_flow_body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.o_ph_dash_flow_name {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
}

.o_ph_dash_flow_val {
  color: var(--o-gray-600);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o_ph_dash_flow_sep {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--o-gray-400);
}

.o_ph_dash_flow_sep svg {
  width: 1rem;
  height: 1rem;
}

/* Control Tower */
.o_ph_dash_tower_head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
}

.o_ph_dash_tower_head .o_ph_dash_section_label {
  margin: 0;
}

.o_ph_dash_tower_hint {
  margin: 0;
  color: var(--o-gray-600);
  font-size: 0.75rem;
  line-height: 1.3;
}

.o_ph_dash_tower_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.o_ph_dash_tower_row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-sizing: border-box;
  min-height: 3.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.375rem;
  background: var(--o-view-bg);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.o_ph_dash_tower_row:hover {
  border-color: var(--o-action);
  background: var(--o-action-soft);
  box-shadow: var(--o-shadow-sm);
}

.o_ph_dash_tower_row:focus-visible {
  outline: 2px solid var(--o-action);
  outline-offset: 2px;
}

.o_ph_dash_tower_icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: var(--o-gray-100);
  color: var(--o-action);
}

.o_ph_dash_tower_icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.o_ph_dash_tower_copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.o_ph_dash_tower_label {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.o_ph_dash_tower_desc {
  color: var(--o-gray-600);
  font-size: 0.6875rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o_ph_dash_tower_chev {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--o-gray-400);
}

.o_ph_dash_tower_row:hover .o_ph_dash_tower_chev {
  color: var(--o-action);
}

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

@media (prefers-reduced-motion: reduce) {
  .o_ph_dash_card,
  .o_ph_dash_flow_step > a,
  .o_ph_dash_tower_row {
    transition: none;
  }

  .o_ph_dash_card--skel {
    animation: none;
    background: var(--o-gray-200);
  }
}

@media (max-width: 900px) {
  .o_ph_dash_bento {
    grid-template-columns: 1fr 1fr;
  }

  .o_ph_dash_card--hero {
    grid-column: 1 / -1;
  }

  .o_ph_dash_flow_sep {
    display: none;
  }
}

@media (max-width: 640px) {
  .o_ph_dash {
    gap: 1rem;
  }

  .o_ph_dash_title {
    font-size: 1.1rem;
  }

  .o_ph_dash_bento {
    grid-template-columns: 1fr;
  }

  .o_ph_dash_card,
  .o_ph_dash_card--hero {
    min-height: 0;
  }

  .o_ph_dash_card_num {
    font-size: 2rem;
  }

  .o_ph_dash_tower_list {
    grid-template-columns: 1fr;
  }

  .o_ph_dash_flow_step {
    flex: 1 1 100%;
  }
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/account-report.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
/*
 * Accounting reports — Odoo account_reports control panel + table chrome.
 * Tokens only from theme.css. Wired via globals.css.
 *
 * Layout mirrors Odoo ControlPanel:
 *   left  = Print (main buttons) + breadcrumb
 *   center = Date / Comparison / Journals / Options / Search (layout-actions)
 *   right  = navigation spacer (no chatter → full central content)
 * Content table: mx-auto centered in o_content (no activity panel).
 */

.o_account_report {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  background: var(--o-view-bg);
}

/* —— Control panel (Odoo .o_control_panel) —— */
.o_account_report_cp.o_control_panel {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem 0.75rem;
  border-bottom: 1px solid var(--o-gray-200);
  background: var(--o-view-bg);
}

.o_account_report_cp .o_control_panel_main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}

@media (min-width: 992px) {
  .o_account_report_cp .o_control_panel_main {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem 1rem;
  }
}

.o_account_report_cp .o_control_panel_breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  order: 0;
}

@media (min-width: 992px) {
  .o_account_report_cp .o_control_panel_breadcrumbs {
    justify-self: start;
    min-width: 0;
  }
}

.o_account_report_cp .o_control_panel_main_buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.o_account_report_cp .o_control_panel_main_buttons .o_btn_primary,
.o_account_report_cp .o_control_panel_main_buttons .o_btn_secondary {
  height: 2rem;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.o_account_report_cp .breadcrumb {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.o_account_report_cp .breadcrumb-item {
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--o-gray-600);
}

.o_account_report_cp .breadcrumb-item + .breadcrumb-item {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--o-gray-900);
}

.o_account_report_cp .breadcrumb-item + .breadcrumb-item::before {
  content: none;
}

.o_account_report_cp .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}

.o_account_report_cp .breadcrumb-item a:hover {
  color: var(--o-action);
}

/* Center — filters (Odoo .o_control_panel_actions / layout-actions) */
.o_account_report_cp .o_control_panel_actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  order: 2;
  width: 100%;
  min-width: 0;
}

@media (min-width: 992px) {
  .o_account_report_cp .o_control_panel_actions {
    order: 1;
    width: auto;
    max-width: 100%;
    justify-self: center;
    justify-content: center;
  }
}

.o_account_report_cp .o_control_panel_navigation {
  display: none;
  order: 1;
}

@media (min-width: 992px) {
  .o_account_report_cp .o_control_panel_navigation {
    display: block;
    order: 2;
    min-width: 0;
    justify-self: end;
  }
}

/* —— Filter buttons inside center actions —— */
.o_account_report_filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.o_account_report_filters__search {
  display: flex;
  align-items: center;
  min-width: 10rem;
  max-width: 16rem;
  flex: 0 1 14rem;
}

.o_account_report_filters__search .o_input {
  width: 100%;
  height: 2rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-view-bg);
}

.o_account_report_filter {
  position: relative;
}

.o_account_report_filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 18rem;
  height: 2rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-elevated-bg);
  color: var(--o-gray-800);
  font-size: 0.8125rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.o_account_report_filter__btn:hover {
  background: var(--o-gray-100);
  border-color: var(--o-gray-400);
}

.o_account_report_filter__btn--open {
  border-color: var(--o-action);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--o-action) 35%, transparent);
}

.o_account_report_filter__btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.o_account_report_filter__icon {
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
  color: var(--o-gray-600);
}

.o_account_report_filter__menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 40;
  min-width: 16rem;
  max-width: min(28rem, 92vw);
  max-height: min(22rem, 70vh);
  overflow: auto;
  padding: 0.25rem 0;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-elevated-bg);
  box-shadow: var(--o-shadow-md);
}

/* Portaled to body — escapes CP / sheet overflow and right-edge clipping */
.o_account_report_filter__menu--portal {
  position: fixed;
  z-index: 10100;
  right: auto;
  bottom: auto;
  max-width: min(28rem, calc(100vw - 1rem));
}

.o_account_report_filter__menu--wide {
  min-width: 20rem;
}

.o_account_report_filter__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.4rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--o-gray-900);
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
}

.o_account_report_filter__item:hover {
  background: var(--o-gray-100);
}

.o_account_report_filter__item--selected {
  font-weight: 600;
  background: color-mix(in srgb, var(--o-action) 10%, var(--o-elevated-bg));
}

.o_account_report_filter__item--selected::after {
  content: '✓';
  color: var(--o-action);
  font-weight: 700;
}

.o_account_report_filter__item--check {
  justify-content: flex-start;
  gap: 0.5rem;
}

.o_account_report_filter__item--check::after {
  content: none;
}

.o_account_report_filter__item--static {
  cursor: default;
}

.o_account_report_filter__item--static:hover {
  background: transparent;
}

.o_account_report_filter__divider {
  height: 1px;
  margin: 0.25rem 0;
  background: var(--o-gray-200);
}

.o_account_report_filter__custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem 0.55rem;
}

.o_account_report_filter__custom .o_input {
  width: auto;
  min-width: 9.5rem;
  height: 1.75rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--o-input-border);
  border-radius: 0.2rem;
  text-align: center;
}

.o_account_report_filter__custom-sep {
  color: var(--o-gray-600);
  font-size: 0.75rem;
}

.o_account_report_filter__period-n {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.o_account_report_filter__period-n .o_input {
  width: 3.5rem;
  height: 1.6rem;
  padding: 0.1rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--o-input-border);
  border-radius: 0;
  text-align: center;
  background: transparent;
}

/* —— Content: full central area, table centered (no chatter) —— */
.o_account_report__body.o_content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: auto;
  padding: 0;
  background: var(--o-webclient-bg);
}

.o_account_report_scroll_container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.25rem 1rem 2rem;
  margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .o_account_report_scroll_container {
    align-items: center;
  }
}

.o_account_report__period {
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.85rem;
  color: var(--o-gray-600);
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: left;
}

.o_account_report__title {
  margin: 0 0 0.15rem;
  color: var(--o-gray-900);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.o_account_report_heading {
  width: 100%;
  min-width: 0;
}

.o_account_report_table_wrap {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 1.5rem 2rem 1.75rem;
  border: 1px solid var(--o-gray-300);
  border-radius: 0.25rem;
  background: var(--o-view-bg);
  box-shadow: var(--o-shadow-sm, 0 1px 2px rgb(0 0 0 / 0.04));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .o_account_report_table_wrap:not(.o_account_report_table_wrap--split) {
    width: -moz-fit-content;
    width: fit-content;
    min-width: min(100%, 52rem);
  }
}

/* Balance sheet: stack by default; two columns only on wide screens */
.o_account_report_table_wrap--split {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  max-width: 72rem;
  min-width: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  overflow-x: hidden;
}

.o_account_report_table_wrap--split > .o_account_report_heading {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.o_account_report_table_wrap--split > .o_account_report_table_pane {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.o_account_report_table_wrap--split > .o_account_report_table_pane > .o_account_report__pane_title {
  margin: 0 0 0.5rem;
  color: var(--o-gray-800);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.o_account_report_table_wrap--split .o_account_report_table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.o_account_report_table_wrap--split .o_account_report_table > thead > tr > th:first-child,
.o_account_report_table_wrap--split .o_account_report_table > tbody > tr > td:first-child {
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o_account_report_table_wrap--split .o_account_report_table > thead > tr > th.o_list_number_th,
.o_account_report_table_wrap--split .o_account_report_table > tbody > tr > td.o_data_cell--numeric {
  width: 7.5rem;
  min-width: 5.5rem;
}

@media (min-width: 992px) {
  .o_account_report_table_wrap--split {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem 2rem;
    overflow-x: visible;
  }

  .o_account_report_table_wrap--split > .o_account_report_heading {
    flex: 1 1 100%;
  }

  .o_account_report_table_wrap--split > .o_account_report_table_pane {
    flex: 1 1 calc(50% - 1rem);
    width: auto;
    overflow-x: visible;
  }
}

@media (max-width: 767px) {
  .o_account_report_cp.o_control_panel {
    padding-inline: 0.75rem;
  }

  .o_account_report_scroll_container {
    padding: 0.75rem 0 1.5rem;
  }

  .o_account_report_table_wrap {
    padding: 1rem 0.75rem 1.25rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .o_account_report_table_wrap--split {
    padding: 1rem 0.75rem 1.25rem;
    gap: 1.5rem;
  }

  .o_account_report_table_wrap--split .o_account_report_table > thead > tr > th.o_list_number_th,
  .o_account_report_table_wrap--split .o_account_report_table > tbody > tr > td.o_data_cell--numeric {
    width: 6.25rem;
    min-width: 5rem;
    padding-inline: 0.35rem;
  }

  .o_account_report_table_wrap--split .o_account_report_table > thead > tr > th:first-child,
  .o_account_report_table_wrap--split .o_account_report_table > tbody > tr > td:first-child {
    padding-inline: 0.35rem;
  }

  .o_account_report_table_wrap:not(.o_account_report_table_wrap--split) .o_account_report_table {
    min-width: 28rem;
  }

  .o_account_report__title {
    font-size: 1.05rem;
  }
}

.o_account_report_table {
  width: auto;
  min-width: 42rem;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  background: var(--o-view-bg);
  color: var(--o-gray-900);
}

.o_account_report_table > thead > tr > th {
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid var(--o-gray-300);
  color: var(--o-gray-700);
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
}

.o_account_report_table > thead > tr > th:first-child {
  color: var(--o-gray-600);
  text-align: left;
  font-weight: 600;
}

/* Odoo amount headers sit over right-aligned figures */
.o_account_report_table > thead > tr > th:not(:first-child),
.o_account_report_table > thead > tr > th.o_list_number_th {
  text-align: right;
}

.o_account_report_table > tbody > tr > td {
  padding: 0.3rem 0.75rem;
  border-bottom: 1px solid var(--o-gray-200);
  vertical-align: middle;
  white-space: nowrap;
}

.o_account_report_table > tbody > tr:last-child > td {
  border-bottom: 0;
}

.o_account_report_table .o_data_cell--numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--o-gray-900);
}

.o_account_report_table .o_data_cell--primary {
  color: var(--o-gray-900);
}

.o_account_report_table .o_list_group_header > td {
  font-weight: 700;
  border-bottom-color: var(--o-gray-300);
  background: color-mix(in srgb, var(--o-gray-100) 70%, var(--o-view-bg));
}

.o_account_report_table .o_account_report_total > td {
  font-weight: 700;
  border-top: 2px solid var(--o-gray-400);
  border-bottom: 0;
  padding-top: 0.45rem;
  background: var(--o-view-bg);
}

/* Section subtotals (Total Assets / Total Liabilities) — Odoo double rule feel */
.o_account_report_table .o_account_report_section_total > td {
  font-weight: 700;
  border-top: 1px solid var(--o-gray-400);
  border-bottom: 1px solid var(--o-gray-300);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: color-mix(in srgb, var(--o-gray-100) 55%, var(--o-view-bg));
}

.o_account_report_table .o_account_report_section > td {
  font-weight: 700;
  background: var(--o-gray-100);
  border-bottom-color: var(--o-gray-300);
}

.o_account_report_table a.o_list_name_link {
  color: inherit;
  text-decoration: none;
}

.o_account_report_table a.o_list_name_link:hover {
  color: var(--o-action);
  text-decoration: underline;
}

.o_account_report__empty {
  padding: 2rem 1rem;
  color: var(--o-gray-600);
  text-align: center;
}

.o_account_report__hint {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1rem 0;
  color: var(--o-gray-600);
  font-size: 0.8125rem;
}

/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: var(--font-sans), system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* theme.css owns :root + .dark brand tokens */

*{
  border-color: var(--border);
}

html{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    color-scheme: light;
    /* Never let a wide child force the whole app to scroll sideways. */
    overflow-x: clip;
}

html.dark {
    color-scheme: dark;
  }

body{
  background-color: var(--background);
  font-family: var(--font-sans), system-ui, sans-serif;
  color: var(--foreground);
    font-size: var(--o-font-size);
    line-height: var(--o-line-height);
    letter-spacing: -0.011em;
    color: var(--o-gray-900);
    background-color: var(--o-webclient-bg);
    overflow-x: clip;
    max-width: 100vw;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
.o_input {
    display: block;
    width: 100%;
    margin: 0;
    padding: var(--o-input-padding-y) var(--o-input-padding-x);
    border: 1px solid var(--o-input-border);
    border-width: 0 0 1px 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--o-gray-900);
    font: inherit;
    font-size: var(--o-font-size);
    line-height: var(--o-line-height);
    outline: none;
    transition: border-color 0.15s ease;
  }
.o_input::-moz-placeholder {
    color: var(--o-gray-500);
    text-overflow: ellipsis;
  }
.o_input::placeholder {
    color: var(--o-gray-500);
    text-overflow: ellipsis;
  }
.o_input:hover:not(:disabled):not(:focus) {
    border-color: var(--o-gray-500);
  }
.o_input:focus,
  .o_input:focus-visible {
    border-color: var(--o-action);
    outline: none;
    box-shadow: var(--o-focus-ring);
  }
.o_input:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    background-color: var(--o-gray-100);
  }
.o_input[aria-invalid='true'],
  .o_input.o_field_invalid {
    border-color: var(--o-danger);
    color: var(--o-danger);
  }
/* Search bar / control-panel fields: boxed like Odoo searchview */
.o_input_boxed {
    display: block;
    width: 100%;
    margin: 0;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid var(--o-gray-400);
    border-radius: var(--o-border-radius);
    background-color: var(--o-gray-100);
    color: var(--o-gray-900);
    font: inherit;
    font-size: var(--o-font-size);
    line-height: var(--o-line-height);
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
  }
.o_input_boxed::-moz-placeholder {
    color: var(--o-gray-500);
  }
.o_input_boxed::placeholder {
    color: var(--o-gray-500);
  }
.o_input_boxed:focus,
  .o_input_boxed:focus-visible {
    border-color: var(--o-action);
    background-color: var(--o-view-bg);
    outline: none;
    box-shadow: var(--o-focus-ring);
  }
.o_input_boxed:disabled {
    cursor: not-allowed;
    opacity: 0.55;
  }
.o_form_label {
    display: block;
    margin-bottom: 2px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--o-gray-600);
  }
.o_form_sheet {
    /* Odoo md+: sheet sits inside sheet_bg padding (margin-x: 0). */
    --formView-sheet-padding-y: 1rem;
    --formView-sheet-padding-x: 1rem;
    margin: 0;
    width: 100%;
    max-width: none;
    padding: var(--formView-sheet-padding-y) var(--formView-sheet-padding-x);
    border: 1px solid var(--o-sheet-border);
    border-radius: var(--o-border-radius-lg, var(--o-border-radius));
    background: var(--o-view-bg);
    box-shadow: var(--o-shadow-sm);
  }
@media (min-width: 992px) {
    .o_form_sheet {
      --formView-sheet-padding-y: 1.5rem;
      --formView-sheet-padding-x: 1.5rem;
    }
  }
@media (min-width: 1400px) {
    /* Odoo xxl: tighten sheet padding again when side chatter is present. */
    .o_form_sheet {
      --formView-sheet-padding-y: 1rem;
      --formView-sheet-padding-x: 1rem;
    }
  }
.o_form_view_bg,
  .o_form_sheet_bg {
    --formView-sheetBg-padding-x: 1rem;
    --formView-sheetBg-padding-right: var(--formView-sheetBg-padding-x);
    --formView-sheetBg-padding-top: 0.5rem;
    background-color: var(--o-webclient-bg);
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    padding: var(--formView-sheetBg-padding-top) var(--formView-sheetBg-padding-right) 0
      var(--formView-sheetBg-padding-x);
  }
/* Side chatter (≥1400px): Odoo uses a tighter right gutter (8px). */
@media (min-width: 1400px) {
    .o_form_view_body > .o_form_sheet_bg {
      --formView-sheetBg-padding-right: 0.5rem;
      max-width: none;
    }
  }
.o_form_sheet_bg:not(:has(.o_form_statusbar)) {
    --formView-sheetBg-padding-top: 0.5rem;
  }
.o_form_sheet_bg:has(.o_form_statusbar) {
    --formView-sheetBg-padding-top: 0;
  }
.o_horizontal_separator {
    margin: 16px 0 8px;
    padding: 0;
    border: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--o-gray-700);
  }
textarea.o_input {
    min-height: 4.5rem;
    resize: vertical;
  }
select.o_input {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 12px;
    padding-right: 18px;
    cursor: pointer;
  }
/* Systray / ghost selects: kill underline when borderless */
.o_input.border-0,
  .o_input.border-0:focus,
  .o_input.border-0:focus-visible {
    border-width: 0 !important;
    background-color: transparent;
  }
/* —— Odoo searchview (list control panel) —— */
.o_cp_searchview {
    position: relative;
    width: 100%;
    max-width: 560px;
  }
.o_cp_searchview_row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
.o_cp_searchview_row .o_searchview {
    flex: 1;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
.o_searchview_dropdown_toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--o-gray-300);
    border-left: 0;
    border-radius: 0 var(--o-border-radius) var(--o-border-radius) 0;
    background: var(--o-view-bg);
    color: var(--o-gray-700);
    cursor: pointer;
  }
.o_searchview_dropdown_toggler:hover,
  .o_searchview_dropdown_toggler--open {
    background: var(--o-gray-100);
    color: var(--o-action);
    border-color: var(--o-action);
  }
.o_searchview_dropdown_toggler--open {
    border-color: var(--o-action);
  }
.o_cp_searchview_row:has(.o_searchview--open) .o_searchview_dropdown_toggler {
    border-color: var(--o-action);
  }
.o_searchview {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    width: 100%;
    padding: 2px 4px 2px 6px;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
  }
.o_searchview:focus-within,
  .o_searchview--open {
    border-color: var(--o-action);
  }
.o_searchview_icon_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    color: var(--o-gray-600);
    cursor: pointer;
  }
.o_searchview_input_container {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
  }
.o_searchview_input {
    flex: 1;
    min-width: 4rem;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
    outline: none;
  }
.o_searchview_input::-moz-placeholder {
    color: var(--o-gray-500);
  }
.o_searchview_input::placeholder {
    color: var(--o-gray-500);
  }
.o_searchview_facet {
    display: inline-flex;
    align-items: stretch;
    max-width: 16rem;
    overflow: hidden;
    border-radius: var(--o-border-radius);
    background: var(--o-gray-200);
    font-size: 12px;
    line-height: 1.2;
    animation: o_facet_in 0.2s ease-out;
  }
.o_searchview_facet--groupby .o_searchview_facet_label {
    background: #714b67;
  }
.o_searchview_facet--filter .o_searchview_facet_label {
    background: #017e84;
  }
.o_searchview_facet--favorite .o_searchview_facet_label {
    background: #f0ad4e;
    color: #212529;
  }
@keyframes o_facet_in {
    from {
      opacity: 0.5;
      transform: translateY(20%);
    }
  }
.o_searchview_facet_label {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border: 0;
    background: var(--o-action);
    color: var(--o-white);
    font: inherit;
    font-weight: 600;
    white-space: nowrap;
  }
.o_searchview_facet_label--edit {
    cursor: pointer;
  }
.o_searchview_facet_edit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: inherit;
    color: inherit;
    opacity: 0;
    pointer-events: none;
  }
.o_searchview_facet_label--edit:hover .o_searchview_facet_label_text {
    visibility: hidden;
  }
.o_searchview_facet_label--edit:hover .o_searchview_facet_edit {
    opacity: 1;
  }
.o_facet_values {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    padding: 2px 2px 2px 6px;
    background: var(--o-view-bg);
    border: 1px solid var(--o-gray-300);
    border-left: 0;
    border-radius: 0 var(--o-border-radius) var(--o-border-radius) 0;
  }
.o_facet_values--solo {
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
  }
.o_facet_value {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--o-gray-900);
    font-weight: 500;
  }
.o_searchview_facet--filter .o_facet_value {
    max-width: 22rem;
  }
.o_facet_remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border: 0;
    background: transparent;
    color: var(--o-danger, #dc3545);
    cursor: pointer;
    opacity: 0.75;
  }
.o_facet_remove:hover {
    opacity: 1;
  }
/* Portaled to document.body — must be fixed */
.o_searchview_autocomplete {
    position: fixed;
    /* Above technical modals (.o-overlay-container: 10000); below toasts (11000). */
    z-index: 10150;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-elevated-bg);
    box-shadow: var(--o-shadow-md);
    max-height: 16rem;
    overflow: auto;
  }
.o_searchview_autocomplete_item {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.75rem 0.4rem 1.5rem;
    font-size: 13px;
    color: var(--o-gray-800);
    cursor: pointer;
  }
.o_searchview_autocomplete_item--action {
    border-top: 1px solid var(--o-gray-200);
    margin-top: 0.15rem;
    padding-top: 0.5rem;
  }
.o_searchview_autocomplete_item--active,
  .o_searchview_autocomplete_item:hover {
    background: var(--o-gray-100);
  }
.o_searchview_autocomplete_text b {
    font-weight: 700;
    color: var(--o-gray-900);
  }
.o_searchview_autocomplete_query {
    font-style: italic;
    font-weight: 700;
    color: var(--o-action);
  }
/* Filters | Group By | Favorites panel (portaled) */
.o_search_bar_menu {
    position: fixed;
    /* Above technical modals (.o-overlay-container: 10000); below toasts (11000). */
    z-index: 10150;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    min-width: min(560px, calc(100vw - 1.5rem));
    max-width: min(720px, calc(100vw - 1rem));
    max-height: min(70vh, 28rem);
    overflow: auto;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-elevated-bg);
    box-shadow: var(--o-shadow-lg);
  }
.o_search_bar_menu .o_dropdown_container {
    flex: 1 1 10rem;
    min-width: 10rem;
    padding: 0.5rem 0 0.65rem;
    border-right: 1px solid var(--o-gray-200);
  }
.o_search_bar_menu .o_dropdown_container:last-child {
    border-right: 0;
  }
.o_dropdown_title_row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.85rem 0.5rem;
  }
.o_dropdown_title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--o-gray-900);
  }
.o_group_by_icon {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid var(--o-action);
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px var(--o-view-bg);
    background:
      linear-gradient(var(--o-action), var(--o-action)) center / 100% 2px no-repeat;
  }
.o_menu_item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.35rem 0.85rem 0.35rem 0.5rem;
    border: 0;
    background: transparent;
    color: var(--o-gray-800);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
  }
.o_menu_item:hover,
  .o_menu_item.selected {
    background: var(--o-gray-100);
  }

  .o_menu_item.\!selected {
    background: var(--o-gray-100) !important;
  }
.o_menu_item:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
.o_menu_item_check {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--o-action);
  }
.o_menu_empty {
    margin: 0;
    padding: 0.35rem 0.85rem;
    font-size: 12px;
    color: var(--o-gray-500);
  }
.o_search_bar_menu .dropdown-divider {
    height: 0;
    margin: 0.35rem 0.65rem;
    border: 0;
    border-top: 1px solid var(--o-gray-200);
  }
.o_save_favorite {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
  }
.o_save_favorite .o_input,
  .o_custom_filter_field .o_input,
  .o_tree_editor_condition .o_input {
    width: 100%;
    min-height: 2rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
  }
.o_custom_filter_dialog {
    position: fixed;
    inset: 0;
    /* Above Search More (10000) and search menus (10150); below field popovers / toasts. */
    z-index: 10200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
.o_custom_filter_backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.35);
  }
.o_custom_filter_panel {
    position: relative;
    z-index: 1;
    width: min(28rem, 100%);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.2);
  }
.o_custom_filter_panel--domain {
    width: min(52rem, 100%);
  }
.o_custom_filter_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--o-gray-200);
  }
.o_custom_filter_header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
  }
.o_custom_filter_body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
.o_tree_editor_connector_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 13px;
    color: var(--o-gray-800);
  }
.o_tree_editor_connector_toggle {
    border: 0;
    padding: 0 0.15rem;
    background: transparent;
    color: var(--o-action);
    cursor: pointer;
    font: inherit;
  }
.o_tree_editor_connector_toggle:hover {
    text-decoration: underline;
  }
.o_tree_editor_rules {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
.o_tree_editor_condition {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }
.o_tree_editor_field {
    flex: 1 1 10rem;
    min-width: 8rem;
  }
.o_tree_editor_operator {
    flex: 0 1 9rem;
    min-width: 7rem;
  }
.o_tree_editor_value {
    flex: 1 1 12rem;
    min-width: 8rem;
  }
.o_tree_editor_value_range {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
.o_tree_editor_value_range .o_input {
    flex: 1 1 0;
    min-width: 0;
  }
.o_tree_editor_value_range_sep {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--o-gray-500);
  }
.o_tree_editor_tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    min-height: 2rem;
    padding: 0.2rem 0.35rem;
    cursor: text;
  }
.o_tree_editor_tags_wrap {
    position: relative;
    flex: 1 1 12rem;
    min-width: 8rem;
  }
.o_tree_editor_suggest {
    position: absolute;
    z-index: 30;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    max-height: 12rem;
    overflow: auto;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
  }
.o_tree_editor_suggest_empty {
    padding: 0.4rem 0.65rem;
    font-size: 12px;
    color: var(--o-gray-500);
  }
.o_tree_editor_suggest_item {
    display: block;
    width: 100%;
    border: 0;
    padding: 0.35rem 0.65rem;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
    cursor: pointer;
  }
.o_tree_editor_suggest_item--active,
  .o_tree_editor_suggest_item:hover {
    background: var(--o-gray-100);
  }
.o_tree_editor_tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    max-width: 100%;
    padding: 0.05rem 0.2rem 0.05rem 0.4rem;
    border-radius: var(--o-border-radius);
    background: var(--o-gray-200);
    color: var(--o-gray-800);
    font-size: 12px;
    line-height: 1.4;
  }
.o_tree_editor_tag_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.o_tree_editor_tag_remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--o-gray-500);
    cursor: pointer;
  }
.o_tree_editor_tag_remove:hover {
    color: var(--o-gray-800);
  }
.o_tree_editor_tag_input {
    flex: 1 1 7rem;
    min-width: 6rem;
    min-height: 1.5rem;
    border: 0 !important;
    padding: 0.1rem 0.15rem !important;
    background: transparent !important;
    box-shadow: none;
    outline: none;
    font: inherit;
    font-size: 13px;
  }
.o_tree_editor_value--empty {
    display: block;
    min-height: 2rem;
    border: 0;
    background: transparent;
    pointer-events: none;
  }
.o_tree_editor_delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: var(--o-danger, #dc3545);
    cursor: pointer;
    opacity: 0.8;
  }
.o_tree_editor_delete:hover {
    opacity: 1;
  }
.o_tree_editor_new_rule {
    align-self: flex-start;
    border: 0;
    padding: 0.25rem 0;
    background: transparent;
    color: var(--o-action);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
.o_tree_editor_new_rule:hover {
    text-decoration: underline;
  }
.o_custom_filter_footer {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--o-gray-200);
  }
.o_btn_primary,
  .o_btn_secondary {
    min-height: 2rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--o-border-radius);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
.o_btn_primary {
    border: 1px solid var(--o-action);
    background: var(--o-action);
    color: var(--o-white);
  }
.o_btn_primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
.o_btn_secondary {
    border: 1px solid var(--o-gray-300);
    background: var(--o-view-bg);
    color: var(--o-gray-800);
  }
.o_model_field_selector {
    flex: 1 1 10rem;
    min-width: 8rem;
  }
.o_model_field_selector_trigger {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2rem;
    padding: 0.25rem 0.5rem;
    text-align: left;
    cursor: pointer;
  }
.o_model_field_selector_trigger--open {
    border-color: var(--o-action);
  }
.o_model_field_selector_popover {
    position: fixed;
    /* Above Custom Filter dialog (10200); below toasts (11000). */
    z-index: 10300;
    display: flex;
    flex-direction: column;
    max-height: min(22rem, 70vh);
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-elevated-bg);
    box-shadow: var(--o-shadow-lg);
  }
.o_model_field_selector_popover_header {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.5rem;
    border-bottom: 1px solid var(--o-gray-200);
  }
.o_model_field_selector_title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--o-gray-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.o_model_field_selector_back,
  .o_model_field_selector_close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    background: transparent;
    color: var(--o-gray-700);
    cursor: pointer;
  }
.o_model_field_selector_search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-bottom: 1px solid var(--o-gray-200);
  }
.o_model_field_selector_search .o_input {
    flex: 1;
    min-height: 1.75rem;
    border: 0;
    padding: 0;
    outline: none;
    box-shadow: none;
  }
.o_model_field_selector_list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: auto;
  }
.o_model_field_selector_item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--o-gray-100);
  }
.o_model_field_selector_item_name {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    padding: 0.45rem 0.75rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
  }
.o_model_field_selector_item_name:hover {
    background: var(--o-gray-100);
  }
.o_model_field_selector_item_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 11px;
    color: var(--o-gray-500);
  }
.o_model_field_selector_item_type {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    padding: 0.05rem 0.3rem;
    border-radius: 3px;
    background: var(--o-gray-100);
    color: var(--o-gray-700);
    text-transform: lowercase;
  }
.o_model_field_selector_item_relation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    border: 0;
    border-left: 1px solid var(--o-gray-200);
    background: transparent;
    color: var(--o-action);
    cursor: pointer;
  }
.o_model_field_selector_item_relation:hover {
    background: var(--o-gray-100);
  }
.o_model_field_selector_empty {
    padding: 0.75rem;
    font-size: 12px;
    color: var(--o-gray-500);
  }
/* —— Export Data dialog (Odoo ExportDataDialog) —— */
.o_export_data_dialog {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
.o_export_backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.35);
  }
.o_export_panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(56rem, 100%);
    height: min(90vh, 40rem);
    max-height: min(90vh, 40rem);
    overflow: hidden;
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.2);
  }
.o_export_header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--o-gray-200);
  }
.o_export_header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
  }
.o_export_body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 1rem;
    align-items: stretch;
  }
@media (min-width: 768px) {
    .o_export_body {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
  }
/* Grid items default min-height:auto — must allow shrink or lists spill into the other column */
.o_export_left,
  .o_export_right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }
.o_export_left h5,
  .o_export_right h5 {
    margin: 0;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
  }
.o_export_compat {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 13px;
    color: var(--o-gray-800);
  }
.o_export_search {
    width: 100%;
    flex-shrink: 0;
  }
.o_export_field_tree {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    padding: 0.35rem 0;
  }
.o_export_tree_row {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    min-height: 1.75rem;
  }
.o_export_expand,
  .o_export_expand_spacer {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--o-gray-600);
    cursor: pointer;
  }
.o_export_tree_label {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.15rem 0.25rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
  }
.o_export_tree_label:hover {
    background: var(--o-gray-100);
  }
.o_export_tree_tech {
    font-size: 11px;
    color: var(--o-gray-500);
  }
.o_export_add_field {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.35rem;
    border: 0;
    background: transparent;
    color: var(--o-action);
    cursor: pointer;
  }
.o_export_add_field--inactive,
  .o_export_add_field:disabled {
    opacity: 0.3;
    cursor: default;
  }
.o_export_format {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 13px;
  }
.o_export_format_opt {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
  }
.o_exported_lists {
    display: flex;
    flex-shrink: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
  }
.o_export_template_label {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }
.o_export_template_select,
  .o_export_template_name {
    flex: 1 1 auto;
    min-width: 0;
  }
.o_export_template_select .o_form_autocomplete,
  .o_export_template_select .o_input {
    width: 100%;
    min-width: 0;
  }
.o_export_icon_btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2rem;
    min-height: 2rem;
    padding: 0;
  }
.o_fields_list {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    overflow: auto;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
  }
.o_export_field {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.35rem;
    border-bottom: 1px solid var(--o-gray-100);
    font-size: 13px;
  }
.o_export_field_label {
    flex: 1;
    min-width: 0;
  }
.o_export_sort,
  .o_remove_field {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    color: var(--o-gray-600);
    cursor: pointer;
  }
.o_remove_field {
    color: var(--o-danger, #dc3545);
  }
.o_export_sort:disabled {
    opacity: 0.3;
    cursor: default;
  }
.o_export_empty {
    margin: 0;
    padding: 0.75rem;
    font-size: 12px;
    color: var(--o-gray-500);
  }
.o_export_count {
    margin: 0;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--o-gray-600);
  }
.o_export_footer {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--o-gray-200);
  }
.o_export_expand_spinner {
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid var(--o-gray-300);
    border-top-color: var(--o-action);
    border-radius: 50%;
    animation: o_spin 0.6s linear infinite;
  }
@media (max-width: 767px) {
    .o_export_panel {
      width: min(100%, 56rem);
      height: min(92dvh, 40rem);
      max-height: min(92dvh, 40rem);
    }

    .o_export_body {
      overflow: auto;
      align-content: start;
    }

    .o_export_left,
    .o_export_right {
      overflow: visible;
      min-height: auto;
    }

    .o_export_field_tree {
      flex: none;
      height: 14rem;
      max-height: 36vh;
      min-height: 10rem;
    }

    .o_fields_list {
      flex: none;
      height: 11rem;
      max-height: 28vh;
      min-height: 8rem;
    }

    .o_exported_lists {
      flex-wrap: wrap;
    }
  }
@keyframes o_spin {
    to {
      transform: rotate(360deg);
    }
  }
/* List table styles → styles/list.css (centralized) */
/* —— View switcher (list / kanban) —— */
.o_cp_switch_buttons {
    display: inline-flex;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    overflow: hidden;
  }
.o_cp_switch_buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    border: 0;
    border-right: 1px solid var(--o-gray-300);
    background: var(--o-view-bg);
    color: var(--o-gray-700);
    cursor: pointer;
  }
.o_cp_switch_buttons button:last-child {
    border-right: 0;
  }
.o_cp_switch_buttons button[aria-pressed='true'] {
    background: var(--o-gray-200);
    color: var(--o-gray-900);
  }
.o_cp_switch_buttons button:hover {
    background: var(--o-gray-100);
  }
/* —— Form notebook tabs —— */
.o_notebook_headers {
    display: flex;
    gap: 0;
    margin: 12px 0 0;
    border-bottom: 1px solid var(--o-gray-300);
  }
.o_notebook_headers button {
    margin-bottom: -1px;
    padding: 8px 14px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--o-gray-600);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
  }
.o_notebook_headers button[aria-selected='true'] {
    border-bottom-color: var(--o-action);
    color: var(--o-gray-900);
    font-weight: 600;
  }
.o_notebook_headers button:hover {
    color: var(--o-gray-900);
  }
/* —— Teal checkboxes / radios (Odoo form) —— */
.o_checkbox,
  .o_radio {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    width: 14px;
    height: 14px;
    margin: 0;
    border: 1px solid var(--o-gray-400);
    background: var(--o-view-bg);
    vertical-align: middle;
    cursor: pointer;
  }
.o_checkbox {
    border-radius: 2px;
  }
.o_radio {
    border-radius: 50%;
  }
.o_checkbox:checked,
  .o_radio:checked {
    border-color: var(--o-checkbox);
    background: var(--o-checkbox);
  }
.o_checkbox:checked::before {
    content: '';
    width: 8px;
    height: 5px;
    border: solid white;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg) translate(1px, -1px);
  }
.o_radio:checked::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--o-view-bg);
  }
.o_checkbox:focus-visible,
  .o_radio:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--o-checkbox) 45%, white);
    outline-offset: 1px;
  }
/* —— Odoo pager (list + form) —— */
.o_pager {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    height: 100%;
    color: var(--o-gray-700);
    font-size: 13px;
    line-height: 1;
  }
.o_pager_counter {
    display: inline-flex;
    align-items: center;
    align-self: center;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
.o_pager_value {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: inherit;
    font: inherit;
    font-variant-numeric: tabular-nums;
    line-height: inherit;
    cursor: default;
  }
.o_pager_value--editable {
    cursor: pointer;
  }
.o_pager_value--editable:hover {
    border-bottom-color: var(--o-gray-400);
  }
.o_pager_value_input {
    min-width: 1.5rem;
    max-width: 4.5rem;
    padding: 0 2px;
    border: 0;
    border-bottom: 1px solid var(--o-gray-500);
    background: transparent;
    color: inherit;
    font: inherit;
    font-variant-numeric: tabular-nums;
    text-align: end;
    outline: none;
  }
.o_pager_value_input:focus {
    border-bottom-color: var(--o-action);
  }
.o_pager_limit {
    font-variant-numeric: tabular-nums;
  }
.o_pager_btns {
    display: inline-flex;
    align-items: stretch;
  }
.o_pager_previous,
  .o_pager_next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 28px;
    padding: 0 0.5rem;
    border: 1px solid var(--o-gray-300);
    background: var(--o-gray-100);
    color: var(--o-gray-800);
    cursor: pointer;
  }
.o_pager_previous {
    border-radius: var(--o-border-radius) 0 0 var(--o-border-radius);
  }
.o_pager_next {
    margin-left: -1px;
    border-radius: 0 var(--o-border-radius) var(--o-border-radius) 0;
  }
.o_pager_previous:hover:not(:disabled),
  .o_pager_next:hover:not(:disabled) {
    background: var(--o-gray-200);
    color: var(--o-gray-900);
  }
.o_pager_previous:disabled,
  .o_pager_next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
/* —— Control-panel icon buttons (gear / list settings) —— */
.o_cp_icon_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: var(--o-border-radius);
    background: transparent;
    color: var(--o-gray-700);
    cursor: pointer;
  }
.o_cp_icon_btn:hover {
    background: var(--o-gray-100);
    color: var(--o-gray-900);
  }
.o_cp_icon_btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
/* —— Odoo form status Save / Discard (btn-light px-1 py-0 lh-sm) —— */
.o_form_status_indicator_buttons {
    display: inline-flex;
    align-items: center;
    align-self: center;
  }
.o_form_button_save,
  .o_form_button_cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0 0.25rem;
    border: 0;
    border-radius: var(--o-border-radius);
    background: transparent;
    color: var(--o-gray-700);
    line-height: 1.25;
    cursor: pointer;
  }
.o_form_button_save_label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--o-action);
  }
.o_form_button_save:hover,
  .o_form_button_cancel:hover {
    background: var(--o-gray-100);
    color: var(--o-gray-900);
  }
.o_form_button_save:disabled,
  .o_form_button_cancel:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
.o_cp_action_menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 40;
    min-width: 11rem;
    max-width: min(11rem, calc(100vw - 1rem));
    padding: 4px 0;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  }
/* Portaled: fixed coords from JS so mobile CP / overflow never clips the menu */
.o_cp_action_menu--portal {
    position: fixed;
    top: 0;
    left: 0;
    /* Above sticky list chrome; below Bye-bye overlay (10000). */
    z-index: 10200;
    max-width: min(16rem, calc(100vw - 1rem));
  }
.o_cp_action_sep {
    height: 1px;
    margin: 4px 0;
    background: var(--o-gray-200);
  }
.o_cp_action_item {
    display: block;
    width: 100%;
    padding: 6px 14px;
    border: 0;
    background: transparent;
    color: var(--o-gray-900);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
  }
.o_cp_action_item:hover:not(:disabled) {
    background: var(--o-gray-100);
  }
.o_cp_action_item--danger {
    color: var(--o-danger, #dc3545);
  }
.o_cp_action_item:disabled {
    cursor: not-allowed;
  }
.o_breadcrumb a {
    color: var(--o-action);
    text-decoration: none;
    font-weight: 500;
  }
.o_breadcrumb a:hover {
    text-decoration: underline;
  }
.o_breadcrumb_item {
    color: var(--o-gray-800);
    font-weight: 500;
  }
/* Odoo oe_stat_button / smart buttons */
.o-form-buttonbox {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 100%;
  }
.oe_stat_button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
    min-width: 7.5rem;
    height: 33px;
    margin: 0;
    padding: 0 10px 0 8px;
    border: 1px solid var(--o-gray-300);
    border-radius: 0;
    background: var(--o-view-bg);
    color: var(--o-gray-800);
    font: inherit;
    line-height: 1.15;
    text-align: left;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease;
  }
.oe_stat_button + .oe_stat_button {
    margin-left: -1px;
  }
.oe_stat_button:first-child {
    border-top-left-radius: var(--o-border-radius);
    border-bottom-left-radius: var(--o-border-radius);
  }
.oe_stat_button:last-child {
    border-top-right-radius: var(--o-border-radius);
    border-bottom-right-radius: var(--o-border-radius);
  }
.oe_stat_button:hover {
    z-index: 1;
    background: var(--o-gray-100);
    border-color: var(--o-gray-400);
  }
.oe_stat_button:focus-visible {
    z-index: 2;
    outline: 2px solid color-mix(in srgb, var(--o-action) 45%, white);
    outline-offset: 1px;
  }
.oe_stat_button .o_button_icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: var(--o-action);
    font-size: 1.25rem;
  }
.oe_stat_button .o_stat_info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
  }
.oe_stat_button .o_stat_value {
    overflow: hidden;
    color: var(--o-action);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.oe_stat_button .o_stat_text {
    overflow: hidden;
    color: var(--o-gray-700);
    font-size: 11px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
/* —— Chatter (Odoo mail.Chatter aside) —— */
.o_Chatter {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--o-chatter-bg);
    height: auto;
  }
/* Aside: full width when stacked; fixed 530px only at Odoo XXL (≥1400px) */
.o_Chatter--aside {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
  }
@media (min-width: 1400px) {
    .o_Chatter {
      height: 100%;
    }

    .o_Chatter--aside {
      width: var(--o-chatter-aside-width);
      max-width: var(--o-chatter-min-width);
      flex: 0 0 var(--o-chatter-aside-width);
      height: 100%;
      min-height: 0;
    }
  }
.o_Chatter_topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    overflow-x: auto;
    /* Odoo: no divider under topbar — sheet/chatter split is bg only */
    border-bottom: 0;
  }
.o_Chatter_topbarGrow {
    flex: 1 1 auto;
    min-width: 8px;
  }
.o_Chatter_btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 4px 12px;
    border: 1px solid transparent;
    border-radius: var(--o-border-radius);
    background: transparent;
    color: var(--o-gray-800);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  }
.o_Chatter_btn--primary {
    border-color: var(--o-action);
    background: var(--o-action);
    color: white;
  }
.o_Chatter_btn--primary:hover {
    background: var(--o-action-dark);
    border-color: var(--o-action-dark);
  }
.o_Chatter_btn--secondary {
    border-color: var(--o-gray-300);
    background: var(--o-view-bg);
    color: var(--o-gray-800);
  }
.o_Chatter_btn--secondary:hover {
    background: var(--o-gray-100);
  }
.o_Chatter_btn--active.o_Chatter_btn--secondary {
    border-color: var(--o-gray-400);
    background: var(--o-gray-100);
  }
.o_Chatter_iconBtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--o-border-radius);
    background: transparent;
    color: var(--o-action);
    cursor: pointer;
  }
.o_Chatter_iconBtn:hover {
    background: var(--o-gray-100);
  }
.o_Chatter_iconBtn--active {
    background: var(--o-gray-100);
  }
.o_Chatter_iconBtn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
.o_Chatter_followersCount {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: var(--o-action);
  }
.o_Chatter_followers--following {
    color: var(--o-action);
  }
/* Odoo Search Messages (chatter topbar replacement) */
.o-mail-SearchMessageInput {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px 0;
  }
.o-mail-SearchMessageInput-group {
    display: flex;
    flex: 1 1 auto;
    align-items: stretch;
    min-width: 0;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    overflow: hidden;
  }
.o-mail-SearchMessageInput-field {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--o-gray-800);
    outline: none;
  }
.o-mail-SearchMessageInput-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    flex-shrink: 0;
    border: 0;
    border-left: 1px solid var(--o-gray-300);
    cursor: pointer;
    color: var(--o-gray-700);
  }
.o-mail-SearchMessageInput-btn--solid {
    background: var(--o-gray-200);
  }
.o-mail-SearchMessageInput-btn--outline {
    background: var(--o-view-bg);
  }
.o-mail-SearchMessageInput-btn:hover {
    background: var(--o-gray-100);
  }
.o-mail-SearchMessageInput-filter {
    position: relative;
    flex-shrink: 0;
  }
.o-mail-SearchMessageInput-filterMenu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 50;
    min-width: 180px;
    padding: 4px 0;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
  }
.o-mail-SearchMessageInput-filterItem {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 13px;
    color: var(--o-gray-800);
    cursor: pointer;
  }
.o-mail-SearchMessageInput-filterItem:hover {
    background: var(--o-gray-100);
  }
.o-mail-SearchMessageInput-radio {
    width: 12px;
    height: 12px;
    border: 1px solid var(--o-gray-400);
    border-radius: 50%;
    flex-shrink: 0;
  }
.o-mail-SearchMessageInput-filterItem--active .o-mail-SearchMessageInput-radio {
    border-color: var(--o-action);
    box-shadow: inset 0 0 0 3px var(--o-action);
  }
.o-mail-SearchMessagesPanel-title {
    margin: 8px 0 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--o-gray-500);
  }
.o-mail-SearchMessageResult-empty {
    margin: 2rem 0;
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--o-gray-500);
  }
.o-mail-MessageCardList {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px 12px;
  }
.o-mail-MessageCard {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid var(--o-gray-400);
    border-radius: 0.75rem;
    background: var(--o-view-bg);
    box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
    overflow: hidden;
  }
.o-mail-MessageCard:hover {
    border-color: var(--o-gray-500);
  }
.o-mail-MessageCard .o-mail-Message {
    margin: 0;
    padding: 8px 12px 10px;
    cursor: pointer;
  }
.o-mail-MessageCard-jump {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    padding: 3px 8px;
    border: 0;
    border-radius: 0.35rem;
    background: var(--o-gray-300);
    font-size: 11px;
    font-weight: 600;
    color: var(--o-gray-800);
    opacity: 0;
    cursor: pointer;
  }
.o-mail-MessageCard:hover .o-mail-MessageCard-jump {
    opacity: 1;
  }
.o-mail-Message-searchHighlight {
    background: color-mix(in srgb, #f0ad4e 75%, transparent);
    border-radius: 2px;
    padding: 0 1px;
  }
.o-mail-Message--highlighted {
    outline: 1px solid color-mix(in srgb, var(--o-action) 35%, transparent);
    outline-offset: -1px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--o-action) 8%, transparent);
    box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
    transform: translateY(-4px);
    transition: background-color 0.2s ease-out, box-shadow 0.5s ease-out, transform 0.2s ease-out;
    z-index: 2;
  }
.o-mail-NotificationMessage--inSearch {
    padding: 4px 0;
  }
/* Odoo o-mail-Followers dropdown */
.o-mail-Followers {
    position: relative;
    display: inline-flex;
  }
.o-mail-Followers-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 40;
    min-width: 220px;
    max-width: 280px;
    padding: 4px 0;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
  }
/* Portaled to body so chatter overflow:hidden cannot clip it — sits beside the panel. */
.o-mail-Followers-dropdown--portal {
    position: fixed;
    right: auto;
    z-index: 1100;
  }
.o-mail-Followers-action {
    display: block;
    width: 100%;
    padding: 6px 12px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 13px;
    color: var(--o-gray-800);
    cursor: pointer;
  }
.o-mail-Followers-action:hover:not(:disabled) {
    background: var(--o-gray-100);
  }
.o-mail-Followers-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
.o-mail-Followers-action--follow {
    color: #1f7a3f;
    font-weight: 600;
  }
.o-mail-Followers-action--unfollow {
    color: #c0392b;
    font-weight: 600;
  }
.o-mail-Followers-divider {
    height: 1px;
    margin: 4px 0;
    background: var(--o-gray-200);
  }
.o-mail-Followers-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
  }
.o-mail-Followers-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 12px;
  }
.o-mail-Followers-row:hover {
    background: var(--o-gray-100);
  }
.o-mail-Followers-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--o-gray-300);
    color: var(--o-gray-800);
    font-size: 11px;
    font-weight: 700;
  }
.o-mail-Followers-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--o-gray-800);
  }
.o-mail-Followers-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border: 0;
    border-radius: var(--o-border-radius);
    background: transparent;
    color: var(--o-gray-500);
    cursor: pointer;
  }
.o-mail-Followers-remove:hover:not(:disabled) {
    background: var(--o-gray-200);
    color: #c0392b;
  }
.o-mail-Followers-error {
    margin: 4px 12px 6px;
    font-size: 12px;
    color: #c0392b;
  }
/* Odoo mail.followers.edit wizard (medium dialog) */
.o_technical_modal .modal-dialog.o-mail-AddFollowers-dialog {
    max-width: 560px;
  }
.o-mail-AddFollowers-body {
    max-height: min(60vh, 480px);
    overflow-y: auto;
    padding: 1.35rem 1.5rem 1.25rem;
  }
.o-mail-AddFollowers-body .o_form_alert {
    margin-bottom: 1rem;
  }
/* Beat .o_group.o_inner_group gap shorthand so row spacing sticks. */
.o_group.o_inner_group.o-mail-AddFollowers-fields {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.35rem 1.25rem;
    align-items: center;
    margin: 0.5rem 0 1.15rem 1rem;
  }
.o_group.o_inner_group.o-mail-AddFollowers-fields > .o_form_label {
    margin: 0;
    padding-top: 0.45rem;
    align-self: start;
    color: var(--o-gray-700);
    font-size: 13px;
    font-weight: 500;
  }
.o-mail-AddFollowers-field {
    position: relative;
    min-width: 0;
    margin: 0;
  }
.o-mail-AddFollowers-notifyField {
    display: flex;
    align-items: center;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.15rem 0;
  }
.o-mail-AddFollowers-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    min-height: 2.5rem;
    padding: 0.35rem 1.75rem 0.35rem 0.65rem;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius, 0.25rem);
    background: var(--o-view-bg, #fff);
    cursor: text;
    transition: border-color 0.12s ease;
  }
.o-mail-AddFollowers-tags--focused,
  .o-mail-AddFollowers-tags--open,
  .o-mail-AddFollowers-tags:focus-within {
    border-color: var(--o-brand-primary, var(--o-action, #017e84));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--o-brand-primary, var(--o-action, #017e84)) 35%, transparent);
  }
.o-mail-AddFollowers-tags .o_dropdown_button {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    display: block;
    width: 0.65rem;
    height: 0.65rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.55;
  }
.o-mail-AddFollowers-tags:hover .o_dropdown_button,
  .o-mail-AddFollowers-tags:focus-within .o_dropdown_button,
  .o-mail-AddFollowers-tags--open .o_dropdown_button {
    opacity: 1;
  }
.o-mail-AddFollowers-tags .o_dropdown_button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin: 0.15rem auto 0;
    border-left: 0.28rem solid transparent;
    border-right: 0.28rem solid transparent;
    border-top: 0.32rem solid var(--o-gray-500);
  }
.o-mail-AddFollowers-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.15rem 0.35rem 0.15rem 0.15rem;
    border-radius: 0.25rem;
    background: color-mix(in srgb, var(--o-brand-primary, #017e84) 14%, #fff);
    border: 1px solid color-mix(in srgb, var(--o-brand-primary, #017e84) 28%, transparent);
    font-size: 12px;
    line-height: 1.3;
  }
.o-mail-AddFollowers-tag .o-mail-Followers-avatar {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 10px;
  }
.o-mail-AddFollowers-tagText {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--o-gray-800);
    max-width: 12rem;
  }
.o-mail-AddFollowers-tagEmail {
    color: var(--o-gray-500);
  }
.o-mail-AddFollowers-tagRemove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border: 0;
    border-radius: 0.2rem;
    background: transparent;
    color: var(--o-gray-500);
    cursor: pointer;
    padding: 0;
  }
.o-mail-AddFollowers-tagRemove:hover:not(:disabled) {
    background: var(--o-gray-300, #dee2e6);
    color: var(--o-danger, #c0392b);
  }
.o-mail-AddFollowers-tagInput {
    flex: 1 1 8rem;
    min-width: 7rem;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 13px;
    padding: 0.2rem 0.15rem;
    color: var(--o-gray-900);
  }
.o-mail-AddFollowers-tagInput::-moz-placeholder {
    color: var(--o-gray-400);
  }
.o-mail-AddFollowers-tagInput::placeholder {
    color: var(--o-gray-400);
  }
.o-mail-AddFollowers-suggest {
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius, 0.25rem);
    background: var(--o-elevated-bg, var(--o-view-bg, #fff));
    box-shadow: var(--o-shadow-md, 0 4px 16px rgb(0 0 0 / 0.14));
    /* Same as form autocomplete: 7 suggestions + Search More, no inner scroll. */
    max-height: none;
    overflow: visible;
  }
.o-mail-AddFollowers-suggest--portal {
    position: fixed;
    z-index: 10250;
  }
.o-mail-AddFollowers-suggestEmpty {
    padding: 0.65rem 0.75rem;
    font-size: 13px;
    color: var(--o-gray-500);
  }
.o-mail-AddFollowers-suggestItem {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
  }
.o-mail-AddFollowers-suggestItem:hover {
    background: var(--o-gray-100, #f5f5f5);
  }
.o-mail-AddFollowers-suggestItem--searchMore {
    justify-content: flex-start;
    color: var(--o-brand-primary, var(--o-action, #017e84));
    font-weight: 500;
    border-top: 1px solid var(--o-gray-200);
    margin-top: 0.15rem;
    padding-top: 0.55rem;
  }
.o-mail-AddFollowers-suggestText {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.1rem;
  }
.o-mail-AddFollowers-notify {
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
  }
.o-mail-AddFollowers-notify .form-check-input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    cursor: pointer;
    accent-color: var(--o-brand-primary, var(--o-action, #017e84));
  }
.o-mail-AddFollowers-messageWrap {
    margin-top: 0.35rem;
    margin-bottom: 0.25rem;
    margin-left: 1rem;
  }
.o-mail-AddFollowers-message {
    display: block;
    width: 100%;
    min-height: 6.5rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius, 0.25rem);
    background: var(--o-view-bg, #fff);
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
    color: var(--o-gray-900);
    resize: vertical;
  }
.o-mail-AddFollowers-message:focus {
    outline: none;
    border-color: var(--o-brand-primary, var(--o-action, #017e84));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--o-brand-primary, var(--o-action, #017e84)) 35%, transparent);
  }
.o_technical_modal .modal-content.o-mail-AddFollowers > .modal-footer {
    gap: 0.5rem;
    padding: 0.85rem 1.25rem 1rem;
  }
.o-mail-AddFollowers-email {
    display: block;
    font-size: 12px;
    color: var(--o-gray-500);
  }
.o_form_send_password_reset {
    flex-shrink: 0;
    margin-left: 0.25rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius, 4px);
    background: var(--o-view-bg, #fff);
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--o-gray-800);
    white-space: nowrap;
    cursor: pointer;
  }
.o_form_send_password_reset:hover:not(:disabled) {
    background: var(--o-gray-100);
  }
.o_form_send_password_reset:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
/* Odoo mail.AttachmentBox + AttachmentList */
.o-mail-AttachmentBox {
    padding: 0 8px 10px;
  }
.o-mail-AttachmentBox-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0 0.5rem;
  }
.o-mail-AttachmentBox-header hr {
    flex: 1;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--o-gray-300);
  }
.o-mail-AttachmentBox-header span {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--o-gray-800);
  }
.o-mail-AttachmentBox-empty {
    margin: 0 0 0.5rem;
    font-size: 12.5px;
    color: var(--o-gray-500);
  }
.o-mail-AttachmentList {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
  }
.o-mail-AttachmentContainer {
    position: relative;
    display: flex;
    width: 13em;
    height: 10em;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--o-gray-300);
    border-radius: 0.75rem;
    background: var(--o-gray-200);
    cursor: default;
  }
.o-mail-AttachmentContainer.o-viewable {
    cursor: zoom-in;
  }
.o-mail-AttachmentImage {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: scale-down;
       object-fit: scale-down;
    border-radius: 0.75rem;
  }
.o-mail-AttachmentCard {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
  }
.o-mail-AttachmentCard-preview {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    background: var(--o-view-bg);
    border-radius: 0.75rem 0.75rem 0 0;
  }
.o-mail-AttachmentCard-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.5rem;
    background: var(--o-gray-200);
    border-radius: 0 0 0.75rem 0.75rem;
  }
.o-mail-AttachmentCard-name {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    color: var(--o-gray-900);
  }
.o_image {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.35rem;
    color: var(--o-gray-600);
    background: color-mix(in srgb, var(--o-gray-300) 55%, white);
  }
.o_image--sm {
    width: 1.4rem;
    height: 1.4rem;
  }
.o_image--pdf {
    color: #c0392b;
    background: color-mix(in srgb, #c0392b 12%, white);
  }
.o_image--file {
    color: var(--o-action);
    background: color-mix(in srgb, var(--o-action) 12%, white);
  }
.o-mail-Attachment-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: var(--o-gray-100);
    opacity: 0;
    transition: opacity 0.12s ease;
  }
.o-mail-AttachmentContainer:hover .o-mail-Attachment-hover,
  .o-mail-AttachmentContainer:focus-within .o-mail-Attachment-hover {
    opacity: 1;
  }
.o-mail-Attachment-hover.o-image {
    background: rgba(0, 0, 0, 0.45);
  }
.o-mail-Attachment-hoverTop {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    width: 100%;
  }
.o-mail-Attachment-hoverIcon {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    color: white;
  }
.o-mail-Attachment-hoverName {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--o-gray-900);
  }
.o-mail-Attachment-hover.o-image .o-mail-Attachment-hoverName,
  .o-mail-Attachment-hover.o-image .o-mail-Attachment-hoverSize {
    color: white;
  }
.o-mail-Attachment-hoverSize {
    margin: 0.2rem 0 0 1.55rem;
    font-size: 11px;
    color: var(--o-gray-600);
    opacity: 0.85;
  }
.o-mail-AttachmentButtons {
    display: flex;
    gap: 0.35rem;
    margin: auto 0 0 1.55rem;
    padding-top: 0.5rem;
  }
.o-mail-AttachmentBtn {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.3rem;
    background: color-mix(in srgb, var(--o-gray-600) 85%, black);
    color: white;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.12);
    cursor: pointer;
    text-decoration: none;
  }
.o-mail-AttachmentBtn:hover:not(:disabled) {
    filter: brightness(0.95);
  }
.o-mail-AttachmentBtn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
.o-mail-Chatter-attachFiles {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
    padding: 0.15rem 0;
    border: 0;
    background: transparent;
    color: var(--o-action);
    font-size: 13px;
    cursor: pointer;
  }
.o-mail-Chatter-attachFiles:hover:not(:disabled) {
    text-decoration: underline;
  }
.o-mail-Chatter-attachFiles:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
.o_Chatter_composer {
    padding: 8px 12px 12px;
    border-bottom: 0;
    background: transparent;
  }
.o_Chatter_composerTo,
  .o_Chatter_composerHint {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--o-gray-700);
  }
.o_Chatter_composerTo > span:first-child {
    display: inline-block;
    width: 2rem;
    font-weight: 700;
  }
.o_Chatter_composerToEmpty {
    font-style: italic;
    color: var(--o-gray-500);
  }
.o_Chatter_composerToChips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    vertical-align: middle;
  }
.o_Chatter_composerToChip {
    display: inline-block;
    width: auto !important;
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--o-gray-200);
    color: var(--o-gray-800);
    font-size: 12px;
    font-weight: 500;
  }
.o_Chatter_textarea {
    width: 100%;
    min-height: 4.5rem;
    resize: vertical;
    padding: 8px 10px;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
    font: inherit;
    font-size: 13px;
    color: var(--o-gray-900);
  }
.o_Chatter_textarea:focus {
    outline: none;
    border-color: var(--o-action);
  }
.o_Chatter_textarea--note {
    background: var(--o-note-bg);
    border-color: var(--o-note-border);
  }
.o_Chatter_composerActions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
  }
.o_Chatter_activityList {
    padding: 4px 0 8px;
  }
.o_Chatter_activityToggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0;
    padding: 8px 8px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--o-gray-800);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
  }
.o_Chatter_activityRule {
    flex: 1 1 auto;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--o-gray-300);
  }
.o_Chatter_activityLabel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    white-space: nowrap;
  }
.o_Chatter_activityBadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--o-success-bright);
    color: white;
    font-size: 11px;
    font-weight: 700;
  }
.o_Chatter_activityCard {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 12px;
    padding: 8px 10px;
    border: 1px solid var(--o-gray-200);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
  }
.o_Chatter_activityIcon {
    display: flex;
    height: 28px;
    width: 28px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--o-action) 12%, white);
    color: var(--o-action);
  }
/* —— Odoo mail Thread / Message / Tracking —— */
.o-mail-Thread {
    min-height: 0;
  }
.o-mail-Thread-inner {
    min-height: 0;
  }
.o-mail-DateSection {
    display: flex;
    width: 100%;
    align-items: center;
    font-weight: 700;
    z-index: 1;
  }
.o-mail-DateSection span {
    padding: 0 0.5rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--o-gray-600);
    opacity: 0.55;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.o-discuss-separator {
    flex: 1 1 auto;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--o-gray-300);
    opacity: 0.7;
  }
.o-mail-NotificationMessage {
    position: relative;
    margin: 0.35rem auto;
    padding: 0.25rem 0.75rem;
    max-width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: var(--o-gray-600);
    word-break: break-word;
  }
/* Odoo `ms-1` — keep time from running into “…created”. */
.o-mail-NotificationMessage > .o-mail-Message-date {
    margin-left: 0.25rem;
  }
.o-mail-Message {
    position: relative;
    padding: 0.35rem 0.25rem 0.5rem;
    background: inherit;
  }
.o-mail-Message-core {
    display: flex;
    position: relative;
    flex-shrink: 0;
    background: inherit;
  }
.o-mail-Message-sidebar {
    display: flex;
    flex: 0 0 48px;
    max-width: 48px;
    flex-direction: column;
    align-items: center;
    background: inherit;
  }
.o-mail-Message-avatarContainer {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: inherit;
  }
.o-mail-Message-avatar {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: var(--o-avatar-bg);
    color: white;
    font-size: 13px;
    font-weight: 700;
  }
.o-mail-Message-contentWrap {
    min-width: 0;
    width: 100%;
    padding-right: 0.5rem;
  }
.o-mail-Message-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.15rem;
    line-height: 1.2;
  }
.o-mail-Message-author {
    font-size: 13px;
    color: var(--o-gray-900);
  }
.o-mail-Message-author strong {
    font-weight: 600;
  }
.o-mail-Message-date {
    font-size: 11px;
    color: var(--o-gray-500);
  }
.o-mail-Message-content {
    min-width: 0;
  }
.o-mail-Message-body {
    font-size: 13px;
    line-height: 1.45;
    color: var(--o-gray-900);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
.o-mail-Message-body p:last-child {
    margin-bottom: 0;
  }
.o-mail-Message-body--note,
  .o-mail-Message--note .o-mail-Message-body {
    margin-top: 0.25rem;
    padding: 0.5rem 0.65rem;
    border-radius: var(--o-border-radius);
    background: var(--o-note-bg);
  }
.o-mail-Message-trackingList {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0 0.5rem;
    list-style: none;
  }
.o-mail-Message-tracking {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 13px;
    line-height: 1.35;
  }
.o-mail-Message-trackingOld {
    color: var(--o-gray-600);
    font-weight: 700;
  }
.o-mail-Message-trackingSeparator {
    width: 0.85rem;
    height: 0.85rem;
    margin: 0 0.4rem;
    flex-shrink: 0;
    color: var(--o-gray-600);
  }
.o-mail-Message-trackingNew {
    margin-right: 0.25rem;
    color: var(--o-action);
    font-weight: 700;
  }
.o-mail-Message-trackingField {
    margin-left: 0.15rem;
    font-style: italic;
    color: var(--o-gray-600);
  }
/* Activity / meeting log — readable details, not field-change arrows */
.o-mail-ActivityLog-action {
    font-size: 13px;
    color: var(--o-gray-600);
  }
.o-mail-ActivityLog-card {
    margin-top: 0.35rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--o-gray-300);
    border-radius: var(--o-border-radius);
    background: var(--o-view-bg);
  }
.o-mail-ActivityLog--meeting .o-mail-ActivityLog-card {
    border-color: color-mix(in srgb, var(--o-action) 28%, var(--o-gray-300));
    background: color-mix(in srgb, var(--o-action) 5%, white);
  }
.o-mail-ActivityLog-cardHead {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.35rem;
  }
.o-mail-ActivityLog-badge {
    display: inline-block;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--o-gray-600);
  }
.o-mail-ActivityLog-subject {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--o-gray-900);
    line-height: 1.3;
  }
.o-mail-ActivityLog-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
  }
.o-mail-ActivityLog-row {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
    font-size: 12.5px;
    line-height: 1.4;
  }
.o-mail-ActivityLog-row dt {
    margin: 0;
    color: var(--o-gray-500);
    font-weight: 500;
  }
.o-mail-ActivityLog-row dd {
    margin: 0;
    color: var(--o-gray-900);
    word-break: break-word;
  }
.o-mail-ActivityLog-row a {
    color: var(--o-action);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
.o_badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 10px;
    background: var(--o-gray-200);
    color: var(--o-gray-800);
    font-size: 12px;
    font-weight: 500;
  }
.prep-login-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
    font-size: 0.875rem;
    line-height: 1.4;
  }
.prep-login-alert--ok {
    border-color: #9fd4da;
    background: #eef8f9;
    color: #096570;
  }
.prep-login-alert--warn {
    border-color: #f5d0a9;
    background: #fff8ef;
    color: #9a5b12;
  }
.prep-login-field {
    margin-bottom: 16px;
  }
.prep-login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--prep-ink);
  }
.prep-login-field input,
  .prep-login-field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--prep-line);
    border-radius: 10px;
    background: #fff;
    color: var(--prep-ink);
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
.prep-login-field select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230c7884' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
  }
.prep-login-field select:disabled {
    cursor: wait;
    opacity: 0.75;
  }
.prep-login-field input:hover,
  .prep-login-field select:hover {
    border-color: #a8c0c6;
  }
.prep-login-field input:focus,
  .prep-login-field select:focus {
    outline: 0;
    background-color: var(--prep-surface);
    border-color: var(--prep-teal);
    box-shadow: 0 0 0 3px rgba(12, 120, 132, 0.22);
  }
.prep-login-field input[aria-invalid='true'],
  .prep-login-field select[aria-invalid='true'] {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
  }
.prep-login-forgot {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--prep-teal);
    text-decoration: none;
  }
.prep-login-forgot:hover {
    color: var(--prep-teal-deep);
    text-decoration: underline;
  }
.prep-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: var(--prep-teal);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(12, 120, 132, 0.28);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  }
.prep-login-submit:hover {
    background: var(--prep-teal-deep);
    box-shadow: 0 10px 24px rgba(12, 120, 132, 0.32);
    transform: translateY(-1px);
  }
.prep-login-submit:focus-visible {
    outline: 3px solid var(--prep-teal);
    outline-offset: 3px;
  }
.prep-login-submit:disabled {
    cursor: wait;
    opacity: 0.75;
    transform: none;
  }
@keyframes prep-login-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
@keyframes prep-auth-radial {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
@media (prefers-reduced-motion: reduce) {
    .prep-login::before { animation: none; }
    .prep-login-column { animation: none; }
    .prep-login-submit:hover { transform: none; }
  }
/* Kept for db-manager / selector if they still reference split helpers */
.prep-split {
    --prep-teal: #0c7884;
    --prep-teal-deep: #096570;
    --prep-navy: #0c4860;
    --prep-navy-deep: #083848;
    --prep-red: #d83030;
    --prep-amber: #f0b454;
    --prep-ink: #1a2e38;
    --prep-muted: #5a6b73;
    --prep-line: #c5d5da;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(340px, 0.95fr) minmax(400px, 1.05fr);
    color: var(--prep-ink);
  }
.prep-split-formside {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 24px;
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 55% 45% at 90% 8%, rgba(12, 120, 132, 0.14), transparent 60%),
      radial-gradient(ellipse 45% 40% at 5% 95%, rgba(240, 180, 84, 0.16), transparent 55%),
      linear-gradient(168deg, #f7fbfc 0%, #eef6f8 50%, #f8f4ec 100%);
  }
.prep-split-card {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    padding: 36px 36px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95) inset,
      0 22px 55px rgba(12, 72, 96, 0.12);
    animation: prep-split-in 360ms ease-out both;
  }
.prep-split-card-logo {
    display: block;
    margin: 0 auto 20px;
    border-radius: 10px;
  }
.prep-split-card h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--prep-ink);
  }
.prep-split-lead {
    margin: 8px 0 24px;
    color: var(--prep-muted);
    line-height: 1.5;
  }
.prep-split-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
  }
.prep-split-card-foot {
    margin: 18px 0 0;
    text-align: center;
    font-size: 0.875rem;
  }
.prep-split-card-foot a {
    font-weight: 600;
    color: var(--prep-navy);
    text-decoration: none;
  }
.prep-split-card-foot a:hover {
    color: var(--prep-teal);
    text-decoration: underline;
  }
.prep-split--single {
    grid-template-columns: 1fr;
  }
.prep-split-formside--full {
    min-height: 100vh;
  }
.prep-split-card--wide {
    width: min(100%, 520px);
  }
.prep-db-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
.prep-db-item {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid var(--prep-line);
    border-radius: 12px;
    background: var(--o-view-bg);
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
.prep-db-item:hover {
    border-color: var(--prep-teal);
    box-shadow: 0 0 0 3px rgba(12, 120, 132, 0.12);
  }
.prep-db-name {
    font-weight: 600;
    color: var(--prep-ink);
  }
.prep-db-meta {
    font-size: 0.75rem;
    color: var(--prep-muted);
  }
@keyframes prep-split-in {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
@media (max-width: 900px) {
    .prep-split {
      display: flex;
      flex-direction: column;
      background: linear-gradient(155deg, #083848 0%, #0c4860 45%, #0c7884 100%);
    }
    .prep-split-panel {
      min-height: auto;
      padding: max(28px, env(safe-area-inset-top)) 24px 16px;
      background: transparent;
      gap: 16px;
    }
    .prep-split-panel h1 {
      font-size: clamp(1.65rem, 7vw, 2.1rem);
    }
    .prep-split-formside {
      min-height: auto;
      flex: 1;
      padding: 12px 16px max(28px, env(safe-area-inset-bottom));
      background: transparent;
    }
    .prep-split-card {
      width: 100%;
      padding: 28px 22px;
    }
    .prep-split-card-logo {
      display: none;
    }
  }
@media (prefers-reduced-motion: reduce) {
    .prep-split-panel-brand,
    .prep-split-panel-copy,
    .prep-split-card {
      animation: none;
    }
    .prep-split-submit:hover {
      transform: none;
    }
  }
.auth-radial {
    background: linear-gradient(165deg, #f7fbfc 0%, #eef6f8 42%, #f8f4ec 100%);
  }
.auth-card-enter {
    animation: prep-split-in 280ms ease-out both;
  }
@media (prefers-reduced-motion: reduce) {
    .auth-card-enter {
      animation: none;
    }
  }
/* —— Staff login / database selector (Odoo-style) —— */
:root {
    --prep-ink: var(--o-auth-ink);
    --prep-muted: var(--o-auth-muted);
    --prep-green: var(--o-success);
    --prep-green-dark: var(--o-action-dark);
  }
.prep-auth-loading {
    min-height: 100vh;
    display: grid;
    place-items: center;
    color: var(--prep-muted);
  }
/* —— Auth split (Pro Max Trust & Authority + Prep teal) —— */
.prep-auth-layout {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--o-white);
    --prep-teal: var(--o-action);
    --prep-teal-deep: var(--o-action-dark);
    --prep-ink: var(--o-auth-ink, #1a2e38);
    --prep-muted: var(--o-auth-muted, #5a6b73);
    --prep-line: var(--o-auth-line, #c5d5da);
    --prep-surface: var(--o-auth-surface, #fff);
  }
.prep-auth-skip {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 50;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--o-brand);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }
.prep-auth-skip:focus {
    top: 16px;
    outline: 3px solid var(--o-action);
    outline-offset: 2px;
  }
.prep-auth-story {
    position: relative;
    isolation: isolate;
    padding: clamp(40px, 6vh, 64px) clamp(36px, 5vw, 64px);
    color: #f4fbfc;
    background: #0a555f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    overflow: hidden;
  }
.prep-auth-story-base {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      radial-gradient(ellipse 90% 70% at 8% 100%, rgba(8, 70, 78, 0.9) 0%, transparent 55%),
      linear-gradient(165deg, #0c7884 0%, #0a555f 42%, #08464e 100%);
    pointer-events: none;
  }
.prep-auth-story-arcs {
    position: absolute;
    z-index: 0;
    left: -38%;
    bottom: -32%;
    width: min(980px, 155vw);
    height: min(980px, 155vw);
    transform: none;
    pointer-events: none;
  }
.prep-auth-arc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.11);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  }
.prep-auth-arc--1 {
    inset: 6%;
    border-color: rgba(255, 255, 255, 0.07);
  }
.prep-auth-arc--2 {
    inset: 18%;
    border-color: rgba(255, 255, 255, 0.1);
  }
.prep-auth-arc--3 {
    inset: 32%;
    border-color: rgba(255, 255, 255, 0.13);
  }
.prep-auth-arc--4 {
    inset: 46%;
    border-color: rgba(240, 180, 84, 0.18);
  }
.prep-auth-arc--glow {
    inset: 54%;
    border: none;
    background: radial-gradient(
      circle,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(94, 234, 212, 0.08) 35%,
      transparent 70%
    );
  }
.prep-auth-story-stack {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2.75rem, 6.5vh, 4.5rem);
  }
.prep-auth-story-brand,
  .prep-auth-story-main,
  .prep-auth-story-bottom,
  .prep-auth-story-foot {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
.prep-auth-story-brand {
    gap: 1rem;
  }
.prep-auth-story-bottom {
    gap: 1.75rem;
  }
.prep-auth-story-logo-mark {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 90%;
    height: auto;
    display: grid;
    place-items: center;
    margin: 0 auto;
    padding: 3px;
  }
.prep-auth-story-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(240, 180, 84, 0.42) 55%,
      rgba(255, 255, 255, 0.24) 100%
    );
    box-shadow: 0 10px 28px rgba(2, 30, 34, 0.28);
  }
.prep-auth-story-logo-ring::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 0.88rem;
    background: #0a555f;
  }
.prep-auth-story-logo-disc {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    border-radius: 0.8rem;
    display: grid;
    place-items: center;
    padding: 0.5rem 0.95rem;
    background: linear-gradient(165deg, #ffffff 0%, #f2f8f9 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow:
      0 8px 22px rgba(2, 30, 34, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
.prep-auth-story-logo {
    display: block;
    max-width: min(13.5rem, 64vw);
    width: auto;
    height: auto;
    margin-inline: auto;
    -o-object-fit: contain;
       object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1));
  }
.prep-auth-story-wordmark {
    margin: 0.15rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow:
      0 8px 22px rgba(2, 30, 34, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
  }
.prep-auth-story-wordmark__prep {
    color: #fff;
  }
.prep-auth-story-wordmark__sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f0b454;
    box-shadow: 0 0 10px rgba(240, 180, 84, 0.65);
    flex-shrink: 0;
  }
.prep-auth-story-wordmark__sarva {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.16em;
  }
.prep-auth-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 auto 1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
  }
.prep-auth-story-body {
    width: 100%;
    text-align: center;
  }
.prep-auth-story-body h1 {
    margin: 0 auto;
    font-size: clamp(2.05rem, 3.8vw, 3.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
    max-width: 14ch;
    color: #fff;
    text-wrap: balance;
  }
.prep-auth-story-main {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
  }
.prep-auth-quote {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 22rem;
    text-align: center;
    border-radius: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }
.prep-auth-quote--placeholder {
    min-height: 4.5rem;
    opacity: 0;
    pointer-events: none;
  }
.prep-auth-quote__text {
    margin: 0;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 450;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.9);
    text-wrap: balance;
  }
.prep-auth-quote__author {
    margin: 1.1rem 0 0;
    font-size: 0.7rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
  }
.prep-auth-story-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 500;
    opacity: 0.55;
  }
.prep-auth-workspace {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 6vh, 56px) 24px;
    overflow: hidden;
    background: #f3f8f8;
  }
.prep-auth-workspace-wash {
    position: absolute;
    z-index: 0;
    right: -18%;
    bottom: -28%;
    width: min(640px, 90vw);
    height: min(480px, 70vw);
    border-radius: 50%;
    background: radial-gradient(
      ellipse at center,
      rgba(12, 120, 132, 0.16) 0%,
      rgba(12, 120, 132, 0.06) 42%,
      transparent 70%
    );
    pointer-events: none;
  }
.prep-auth-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--o-gray-300);
    border-radius: 20px;
    padding: 36px 30px 28px;
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 22px 48px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(14px);
  }
.prep-auth-card-head {
    margin-bottom: 6px;
  }
.prep-auth-card-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--o-action);
  }
.prep-auth-card-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 2.5vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--o-gray-900);
  }
.prep-auth-lead {
    margin: 0 0 22px;
    color: var(--o-gray-600);
    font-size: 0.95rem;
    line-height: 1.45;
  }
.prep-auth-card .prep-login-field input,
  .prep-auth-card .prep-login-field select {
    min-height: 52px;
    border: 1.5px solid #c5d5da;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: text;
  }
.prep-auth-card .prep-login-field select {
    cursor: pointer;
  }
.prep-auth-card .prep-login-field input:hover,
  .prep-auth-card .prep-login-field select:hover {
    border-color: color-mix(in srgb, var(--o-action) 45%, #c5d5da);
  }
.prep-auth-card .prep-login-field input:focus,
  .prep-auth-card .prep-login-field select:focus {
    outline: 0;
    border-color: var(--o-action);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(12, 120, 132, 0.22);
  }
.prep-auth-card .prep-login-submit {
    min-height: 52px;
    margin-top: 8px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: -0.01em;
  }
.prep-auth-card .prep-login-forgot {
    cursor: pointer;
  }
.prep-auth-card .prep-login-db a {
    cursor: pointer;
  }
.prep-auth-card-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.55rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid color-mix(in srgb, var(--o-gray-300) 85%, transparent);
  }
.prep-auth-card-links__sep {
    color: var(--o-gray-400, #94a3b8);
    font-weight: 600;
    line-height: 1;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.prep-auth-card-links .prep-login-forgot,
  .prep-auth-card-links .prep-login-db-link {
    font-size: 0.8125rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--o-action);
    transition: color 0.15s ease, opacity 0.15s ease;
  }
.prep-auth-card-links .prep-login-db-link {
    color: var(--o-gray-600, #64748b);
  }
.prep-auth-card-links .prep-login-forgot:hover,
  .prep-auth-card-links .prep-login-db-link:hover {
    color: var(--o-action-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
.prep-auth-card-links .prep-login-forgot:focus-visible,
  .prep-auth-card-links .prep-login-db-link:focus-visible {
    outline: 2px solid var(--o-action);
    outline-offset: 3px;
    border-radius: 4px;
  }
.prep-auth-reveal {
    animation: prep-auth-rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--reveal-delay, 0ms);
  }
@keyframes prep-auth-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
@media (max-width: 1100px) {
    .prep-auth-story {
      padding: clamp(32px, 4vh, 48px) clamp(24px, 3vw, 40px);
    }
    .prep-auth-story-body h1 {
      font-size: clamp(1.85rem, 3.2vw, 2.6rem);
      max-width: 13ch;
    }
    .prep-auth-workspace {
      padding: clamp(24px, 4vh, 40px) 20px;
    }
  }
@media (max-width: 900px) {
    .prep-auth-layout {
      grid-template-columns: 1fr;
      grid-template-rows: auto 1fr;
    }
    .prep-auth-story {
      min-height: 0;
      padding: 28px 20px 30px;
      justify-content: center;
    }
    .prep-auth-story-stack {
      gap: 1.5rem;
      max-width: 22rem;
    }
    .prep-auth-story-brand {
      gap: 0.75rem;
    }
    .prep-auth-story-logo-mark {
      max-width: 86%;
      padding: 2px;
    }
    .prep-auth-story-logo-disc {
      padding: 0.4rem 0.7rem;
    }
    .prep-auth-story-logo {
      max-width: min(11.5rem, 68vw);
    }
    .prep-auth-story-wordmark {
      font-size: 0.7rem;
      padding: 0.38rem 0.85rem;
      gap: 0.45rem;
    }
    .prep-auth-kicker {
      margin-bottom: 10px;
      font-size: 10px;
    }
    .prep-auth-story-body h1 {
      max-width: 16ch;
      font-size: clamp(1.55rem, 6.2vw, 1.95rem);
      line-height: 1.15;
    }
    .prep-auth-story-bottom {
      display: none;
    }
    .prep-auth-story-arcs {
      opacity: 0.4;
      left: -42%;
      bottom: -52%;
      width: min(620px, 180vw);
      height: min(620px, 180vw);
    }
    .prep-auth-workspace {
      align-items: flex-start;
      justify-content: flex-start;
      padding: 20px 16px max(28px, env(safe-area-inset-bottom, 0px));
      min-height: 0;
    }
    .prep-auth-workspace-wash {
      width: min(420px, 100vw);
      height: min(320px, 70vw);
      right: -20%;
      bottom: -30%;
      opacity: 0.85;
    }
    .prep-auth-card {
      width: 100%;
      max-width: 420px;
      margin-inline: auto;
      padding: 28px 20px 22px;
      border-radius: 16px;
    }
    .prep-auth-card-head h2 {
      font-size: clamp(1.35rem, 5vw, 1.65rem);
    }
    .prep-auth-card .prep-login-field input,
    .prep-auth-card .prep-login-field select {
      min-height: 48px;
    }
    .prep-auth-card .prep-login-submit {
      min-height: 48px;
    }
  }
@media (max-width: 480px) {
    .prep-auth-story {
      padding: 22px 16px 24px;
    }
    .prep-auth-story-stack {
      gap: 0.95rem;
    }
    .prep-auth-story-logo-mark {
      max-width: 88%;
    }
    .prep-auth-story-logo-disc {
      padding: 0.35rem 0.6rem;
    }
    .prep-auth-story-logo {
      max-width: min(10.5rem, 72vw);
    }
    .prep-auth-story-body h1 {
      font-size: clamp(1.4rem, 7vw, 1.7rem);
      max-width: 14ch;
    }
    .prep-auth-workspace {
      padding: 16px 12px max(24px, env(safe-area-inset-bottom, 0px));
    }
    .prep-auth-card {
      padding: 24px 16px 20px;
      border-radius: 14px;
    }
  }
@media (prefers-reduced-motion: reduce) {
    .prep-auth-reveal,
    .prep-auth-card {
      animation: none !important;
    }
  }
.prep-auth-card h2 {
    margin: 0 0 8px;
    font-size: 1.6rem;
    color: var(--prep-ink);
  }
.prep-auth-lead {
    margin: 0 0 18px;
    color: var(--prep-muted);
    font-size: 0.95rem;
    line-height: 1.45;
  }
.prep-auth-card--wide {
    width: min(560px, 100%);
  }
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.visible{
  visibility: visible;
}
.collapse{
  visibility: collapse;
}
.static{
  position: static;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.sticky{
  position: sticky;
}
.left-2{
  left: 0.5rem;
}
.right-3{
  right: 0.75rem;
}
.top-0{
  top: 0px;
}
.top-3{
  top: 0.75rem;
}
.z-0{
  z-index: 0;
}
.z-10{
  z-index: 10;
}
.z-30{
  z-index: 30;
}
.z-50{
  z-index: 50;
}
.order-last{
  order: 9999;
}
.-mx-1{
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mx-1{
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.my-1{
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-2{
  margin-bottom: 0.5rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-5{
  margin-bottom: 1.25rem;
}
.ml-2{
  margin-left: 0.5rem;
}
.ml-4{
  margin-left: 1rem;
}
.ml-auto{
  margin-left: auto;
}
.mt-0\.5{
  margin-top: 0.125rem;
}
.mt-1{
  margin-top: 0.25rem;
}
.mt-2{
  margin-top: 0.5rem;
}
.mt-3{
  margin-top: 0.75rem;
}
.mt-4{
  margin-top: 1rem;
}
.mt-5{
  margin-top: 1.25rem;
}
.mt-6{
  margin-top: 1.5rem;
}
.block{
  display: block;
}
.inline{
  display: inline;
}
.flex{
  display: flex;
}
.inline-flex{
  display: inline-flex;
}
.\!table{
  display: table !important;
}
.table{
  display: table;
}
.grid{
  display: grid;
}
.contents{
  display: contents;
}
.hidden{
  display: none;
}
.size-8{
  width: 2rem;
  height: 2rem;
}
.h-10{
  height: 2.5rem;
}
.h-11{
  height: 2.75rem;
}
.h-12{
  height: 3rem;
}
.h-3{
  height: 0.75rem;
}
.h-3\.5{
  height: 0.875rem;
}
.h-4{
  height: 1rem;
}
.h-5{
  height: 1.25rem;
}
.h-6{
  height: 1.5rem;
}
.h-7{
  height: 1.75rem;
}
.h-8{
  height: 2rem;
}
.h-9{
  height: 2.25rem;
}
.h-\[18px\]{
  height: 18px;
}
.h-\[440px\]{
  height: 440px;
}
.h-\[var\(--radix-select-trigger-height\)\]{
  height: var(--radix-select-trigger-height);
}
.h-auto{
  height: auto;
}
.h-dvh{
  height: 100dvh;
}
.h-full{
  height: 100%;
}
.h-px{
  height: 1px;
}
.max-h-0{
  max-height: 0px;
}
.max-h-32{
  max-height: 8rem;
}
.max-h-48{
  max-height: 12rem;
}
.max-h-64{
  max-height: 16rem;
}
.max-h-96{
  max-height: 24rem;
}
.max-h-\[1000px\]{
  max-height: 1000px;
}
.min-h-0{
  min-height: 0px;
}
.min-h-24{
  min-height: 6rem;
}
.min-h-\[12rem\]{
  min-height: 12rem;
}
.min-h-\[160px\]{
  min-height: 160px;
}
.min-h-\[16rem\]{
  min-height: 16rem;
}
.min-h-\[4\.5rem\]{
  min-height: 4.5rem;
}
.min-h-\[5rem\]{
  min-height: 5rem;
}
.min-h-\[80px\]{
  min-height: 80px;
}
.min-h-\[8rem\]{
  min-height: 8rem;
}
.min-h-screen{
  min-height: 100vh;
}
.w-10{
  width: 2.5rem;
}
.w-28{
  width: 7rem;
}
.w-3{
  width: 0.75rem;
}
.w-3\.5{
  width: 0.875rem;
}
.w-4{
  width: 1rem;
}
.w-5{
  width: 1.25rem;
}
.w-6{
  width: 1.5rem;
}
.w-8{
  width: 2rem;
}
.w-9{
  width: 2.25rem;
}
.w-\[18px\]{
  width: 18px;
}
.w-\[200px\]{
  width: 200px;
}
.w-\[220px\]{
  width: 220px;
}
.w-auto{
  width: auto;
}
.w-full{
  width: 100%;
}
.min-w-0{
  min-width: 0px;
}
.min-w-\[8rem\]{
  min-width: 8rem;
}
.min-w-\[var\(--radix-select-trigger-width\)\]{
  min-width: var(--radix-select-trigger-width);
}
.max-w-3xl{
  max-width: 48rem;
}
.max-w-4xl{
  max-width: 56rem;
}
.max-w-\[14rem\]{
  max-width: 14rem;
}
.max-w-\[16rem\]{
  max-width: 16rem;
}
.max-w-\[420px\]{
  max-width: 420px;
}
.max-w-md{
  max-width: 28rem;
}
.max-w-xs{
  max-width: 20rem;
}
.flex-1{
  flex: 1 1 0%;
}
.shrink-0{
  flex-shrink: 0;
}
.grow{
  flex-grow: 1;
}
.basis-full{
  flex-basis: 100%;
}
.border-collapse{
  border-collapse: collapse;
}
.-translate-y-2{
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.cursor-default{
  cursor: default;
}
.cursor-pointer{
  cursor: pointer;
}
.select-none{
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.resize{
  resize: both;
}
.flex-col{
  flex-direction: column;
}
.flex-wrap{
  flex-wrap: wrap;
}
.items-start{
  align-items: flex-start;
}
.items-end{
  align-items: flex-end;
}
.items-center{
  align-items: center;
}
.justify-end{
  justify-content: flex-end;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-1{
  gap: 0.25rem;
}
.gap-1\.5{
  gap: 0.375rem;
}
.gap-2{
  gap: 0.5rem;
}
.gap-3{
  gap: 0.75rem;
}
.gap-4{
  gap: 1rem;
}
.gap-x-2{
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
}
.gap-y-1{
  row-gap: 0.25rem;
}
.gap-y-1\.5{
  row-gap: 0.375rem;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]){
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-border > :not([hidden]) ~ :not([hidden]){
  border-color: var(--border);
}
.overflow-auto{
  overflow: auto;
}
.overflow-hidden{
  overflow: hidden;
}
.overflow-x-auto{
  overflow-x: auto;
}
.overflow-y-auto{
  overflow-y: auto;
}
.truncate{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap{
  white-space: nowrap;
}
.whitespace-pre-wrap{
  white-space: pre-wrap;
}
.break-all{
  word-break: break-all;
}
.rounded{
  border-radius: 0.25rem;
}
.rounded-\[20px\]{
  border-radius: 20px;
}
.rounded-\[4px\]{
  border-radius: 4px;
}
.rounded-lg{
  border-radius: var(--radius);
}
.rounded-md{
  border-radius: calc(var(--radius) - 2px);
}
.rounded-sm{
  border-radius: calc(var(--radius) - 4px);
}
.rounded-xl{
  border-radius: 0.75rem;
}
.border{
  border-width: 1px;
}
.border-0{
  border-width: 0px;
}
.border-b{
  border-bottom-width: 1px;
}
.border-t{
  border-top-width: 1px;
}
.border-\[var\(--o-danger\)\]{
  border-color: var(--o-danger);
}
.border-\[var\(--o-gray-200\)\]{
  border-color: var(--o-gray-200);
}
.border-\[var\(--o-gray-300\)\]{
  border-color: var(--o-gray-300);
}
.border-border{
  border-color: var(--border);
}
.border-emerald-200{
  --tw-border-opacity: 1;
  border-color: rgb(167 243 208 / var(--tw-border-opacity, 1));
}
.border-input{
  border-color: var(--input);
}
.border-o-action{
  border-color: var(--o-action);
}
.border-o-gray-300{
  border-color: var(--o-gray-300);
}
.border-o-gray-400{
  border-color: var(--o-gray-400);
}
.border-o-list-border{
  border-color: var(--o-list-border);
}
.border-red-200{
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.border-slate-200{
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.border-slate-300{
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
}
.border-transparent{
  border-color: transparent;
}
.bg-\[var\(--o-action\)\]{
  background-color: var(--o-action);
}
.bg-\[var\(--o-danger\)\]{
  background-color: var(--o-danger);
}
.bg-\[var\(--o-gray-100\)\]{
  background-color: var(--o-gray-100);
}
.bg-\[var\(--o-gray-200\)\]{
  background-color: var(--o-gray-200);
}
.bg-\[var\(--o-webclient-bg\)\]{
  background-color: var(--o-webclient-bg);
}
.bg-background{
  background-color: var(--background);
}
.bg-card{
  background-color: var(--card);
}
.bg-emerald-50{
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
}
.bg-emerald-500{
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
.bg-inherit{
  background-color: inherit;
}
.bg-muted{
  background-color: var(--muted);
}
.bg-o-action{
  background-color: var(--o-action);
}
.bg-o-brand{
  background-color: var(--o-brand);
}
.bg-o-chatter{
  background-color: var(--o-chatter-bg);
}
.bg-o-elevated{
  background-color: var(--o-elevated-bg);
}
.bg-o-gray-200{
  background-color: var(--o-gray-200);
}
.bg-o-navbar{
  background-color: var(--o-navbar-bg);
}
.bg-o-view{
  background-color: var(--o-view-bg);
}
.bg-red-50{
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-slate-50{
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.bg-transparent{
  background-color: transparent;
}
.bg-white{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.object-contain{
  -o-object-fit: contain;
     object-fit: contain;
}
.p-0{
  padding: 0px;
}
.p-1{
  padding: 0.25rem;
}
.p-2{
  padding: 0.5rem;
}
.p-3{
  padding: 0.75rem;
}
.p-4{
  padding: 1rem;
}
.p-6{
  padding: 1.5rem;
}
.p-8{
  padding: 2rem;
}
.px-1{
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5{
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-0\.5{
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5{
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-10{
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-2{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-3\.5{
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.py-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8{
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-\[5px\]{
  padding-top: 5px;
  padding-bottom: 5px;
}
.pb-2{
  padding-bottom: 0.5rem;
}
.pb-4{
  padding-bottom: 1rem;
}
.pb-5{
  padding-bottom: 1.25rem;
}
.pl-8{
  padding-left: 2rem;
}
.pr-2{
  padding-right: 0.5rem;
}
.pt-0{
  padding-top: 0px;
}
.pt-2{
  padding-top: 0.5rem;
}
.pt-6{
  padding-top: 1.5rem;
}
.text-left{
  text-align: left;
}
.text-center{
  text-align: center;
}
.font-mono{
  font-family: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, monospace;
}
.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl{
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-\[10px\]{
  font-size: 10px;
}
.text-\[13px\]{
  font-size: 13px;
}
.text-base{
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium{
  font-weight: 500;
}
.font-normal{
  font-weight: 400;
}
.font-semibold{
  font-weight: 600;
}
.italic{
  font-style: italic;
}
.leading-5{
  line-height: 1.25rem;
}
.leading-none{
  line-height: 1;
}
.tracking-tight{
  letter-spacing: -0.025em;
}
.text-\[\#0c4860\]{
  --tw-text-opacity: 1;
  color: rgb(12 72 96 / var(--tw-text-opacity, 1));
}
.text-\[\#1a2e38\]{
  --tw-text-opacity: 1;
  color: rgb(26 46 56 / var(--tw-text-opacity, 1));
}
.text-\[\#5a6b73\]{
  --tw-text-opacity: 1;
  color: rgb(90 107 115 / var(--tw-text-opacity, 1));
}
.text-\[\#c5d5da\]{
  --tw-text-opacity: 1;
  color: rgb(197 213 218 / var(--tw-text-opacity, 1));
}
.text-\[var\(--o-action\)\]{
  color: var(--o-action);
}
.text-\[var\(--o-brand\)\]{
  color: var(--o-brand);
}
.text-\[var\(--o-danger\)\]{
  color: var(--o-danger);
}
.text-\[var\(--o-gray-300\)\]{
  color: var(--o-gray-300);
}
.text-\[var\(--o-gray-400\)\]{
  color: var(--o-gray-400);
}
.text-\[var\(--o-gray-500\)\]{
  color: var(--o-gray-500);
}
.text-\[var\(--o-gray-600\)\]{
  color: var(--o-gray-600);
}
.text-\[var\(--o-gray-700\)\]{
  color: var(--o-gray-700);
}
.text-\[var\(--o-gray-800\)\]{
  color: var(--o-gray-800);
}
.text-\[var\(--o-gray-900\)\]{
  color: var(--o-gray-900);
}
.text-\[var\(--o-on-accent\)\]{
  color: var(--o-on-accent);
}
.text-\[var\(--o-primary\)\]{
  color: var(--o-primary);
}
.text-\[var\(--o-warning\2c \#f0ad4e\)\]{
  color: var(--o-warning,#f0ad4e);
}
.text-card-foreground{
  color: var(--card-foreground);
}
.text-destructive{
  color: var(--destructive);
}
.text-emerald-700{
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}
.text-emerald-800{
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}
.text-emerald-900{
  --tw-text-opacity: 1;
  color: rgb(6 78 59 / var(--tw-text-opacity, 1));
}
.text-foreground{
  color: var(--foreground);
}
.text-muted{
  color: var(--muted);
}
.text-muted-foreground{
  color: var(--muted-foreground);
}
.text-o-action{
  color: var(--o-action);
}
.text-o-gray-400{
  color: var(--o-gray-400);
}
.text-o-gray-500{
  color: var(--o-gray-500);
}
.text-o-gray-600{
  color: var(--o-gray-600);
}
.text-o-gray-700{
  color: var(--o-gray-700);
}
.text-o-gray-900{
  color: var(--o-gray-900);
}
.text-primary{
  color: var(--primary);
}
.text-red-300{
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.text-red-600{
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-700{
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-slate-500{
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-slate-600{
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
.text-slate-900{
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.text-teal-700{
  --tw-text-opacity: 1;
  color: rgb(15 118 110 / var(--tw-text-opacity, 1));
}
.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-white\/90{
  color: rgb(255 255 255 / 0.9);
}
.underline{
  text-decoration-line: underline;
}
.underline-offset-2{
  text-underline-offset: 2px;
}
.underline-offset-4{
  text-underline-offset: 4px;
}
.opacity-0{
  opacity: 0;
}
.opacity-100{
  opacity: 1;
}
.opacity-50{
  opacity: 0.5;
}
.opacity-70{
  opacity: 0.7;
}
.shadow-none{
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm{
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[var\(--o-shadow-lg\)\]{
  --tw-shadow-color: var(--o-shadow-lg);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-\[var\(--o-shadow-md\)\]{
  --tw-shadow-color: var(--o-shadow-md);
  --tw-shadow: var(--tw-shadow-colored);
}
.outline-none{
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline{
  outline-style: solid;
}
.invert{
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-md{
  --tw-backdrop-blur: blur(12px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition-\[transform\2c opacity\]{
  transition-property: transform,opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200{
  transition-duration: 200ms;
}
.ease-out{
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
@keyframes enter{

  from{
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit{

  to{
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.duration-200{
  animation-duration: 200ms;
}
.ease-out{
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.running{
  animation-play-state: running;
}

/*
 * PREP SARVA UI chrome — uses tokens from styles/theme.css only.
 * Method: styles/METHOD.md (central CSS). Change brand/surfaces in theme.css;
 * module look in form/list/settings/utilities; do not add new hex here.
 */

/*
 * Odoo form controls — mirrored from web/static/src/views/fields/fields.scss
 * `.o_input`: bottom border only; focus uses --o-action.
 */

/*
 * PREP login / forgot — Supreme Modernize reference:
 * Supreme layout (centered card + radial wash); Prep teal accents.
 */

/* Settings header dropdown — Odoo o_menu_sections / section dropdown */
.o_menu_section_dropdown {
  position: fixed;
  z-index: 12000;
  min-width: 13.5rem;
  max-height: min(75vh, 36rem);
  overflow-y: auto;
  padding: 0.35rem 0;
  border: 1px solid var(--o-gray-300);
  border-radius: 3px;
  background: var(--o-elevated-bg);
  box-shadow: var(--o-shadow-md);
}

/* Soft gap between sections — no hairline rules (Odoo) */
.o_menu_section_dropdown_group + .o_menu_section_dropdown_group {
  margin-top: 0.35rem;
  padding-top: 0.15rem;
}

.o_menu_section_dropdown_heading {
  padding: 0.35rem 1rem 0.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--o-gray-500);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  line-height: 1.3;
}

.o_menu_section_dropdown_item {
  display: block;
  padding: 0.35rem 1rem 0.35rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--o-gray-800);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.35;
}

.o_menu_section_dropdown_item:hover {
  background: var(--o-gray-100);
  color: var(--o-gray-900);
}

.o_menu_section_dropdown_item--active {
  background: var(--o-gray-100);
  font-weight: 500;
  color: var(--o-gray-900);
}

/* —— Odoo-style toasts (top-right) —— */
.o_notification_manager {
  position: fixed;
  z-index: 11000;
  right: 1rem;
  top: calc(var(--o-navbar-height, 2.875rem) + 0.75rem);
  bottom: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(400px, calc(100vw - 2rem));
  pointer-events: none;
}

.o_notification {
  pointer-events: auto;
  display: flex;
  position: relative;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--o-border-radius, 0.25rem);
  background: var(--o-elevated-bg);
  border: 1px solid var(--o-gray-300);
  box-shadow: var(--o-shadow-md);
  color: var(--o-gray-900);
  animation: o_notification_in 0.2s ease-out;
}

@keyframes o_notification_in {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.o_notification_bar {
  flex-shrink: 0;
  width: 0.4rem;
  background: var(--o-gray-500);
}

.o_notification--success .o_notification_bar {
  background: var(--o-success-bright, #28a745);
}

.o_notification--danger .o_notification_bar {
  background: var(--o-danger, #dc3545);
}

.o_notification--warning .o_notification_bar {
  background: var(--o-warning, #f0ad4e);
}

.o_notification--info .o_notification_bar {
  background: var(--o-info, #17a2b8);
}

.o_notification_body {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 2rem 0.65rem 0.75rem;
}

.o_notification_title {
  margin-bottom: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--o-gray-900);
}

.o_notification_content {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--o-gray-800);
  word-break: break-word;
}

.o_notification_close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: var(--o-border-radius, 0.25rem);
  background: transparent;
  color: var(--o-gray-600);
  cursor: pointer;
}

.o_notification_close:hover {
  background: var(--o-gray-100);
  color: var(--o-gray-900);
}


/* —— Systray user menu (Odoo o_user_menu) —— */
.o_user_menu {
  position: relative;
}

.o_user_menu_toggler {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.o_user_menu_toggler:focus-visible {
  outline: 2px solid var(--o-action);
  outline-offset: 2px;
}

.o_user_menu_avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--o-avatar-bg);
  color: var(--o-white, #fff);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--o-gray-900) 12%, transparent);
}

.o_user_menu_presence {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0.625rem;
  height: 0.625rem;
  border: 2px solid var(--o-navbar-bg, var(--o-view-bg));
  border-radius: 50%;
  background: #34d399;
  pointer-events: none;
}

.o_user_menu_dropdown {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  min-width: 12rem;
  overflow: hidden;
  padding: 0.25rem 0;
  border: 1px solid var(--o-gray-300);
  border-radius: var(--o-border-radius, 4px);
  background: var(--o-elevated, var(--o-view-bg));
  box-shadow: var(--o-shadow-md);
}

.o_user_menu_header {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--o-gray-200);
}

.o_user_menu_name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--o-gray-900);
}

.o_user_menu_db {
  margin: 0.125rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.625rem;
  color: var(--o-gray-600);
}

.o_user_menu_group {
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--o-gray-200);
}

.o_user_menu_group_label {
  margin: 0;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--o-gray-600);
}

.o_user_menu_item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--o-gray-900);
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.o_user_menu_item:hover {
  background: var(--o-gray-100);
}

.o_user_menu_item_icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--o-gray-600);
}

.o_user_menu_item_label {
  flex: 1 1 auto;
  min-width: 0;
}

.o_user_menu_item_check {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--o-action);
}

.o_user_menu_item_check_spacer {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

/* —— Mobile user burger (Odoo o_burger_menu) —— */
.o_burger_menu_backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  background: rgb(0 0 0 / 0.4);
}

.o_burger_menu {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(22.5rem, 85vw);
  background: var(--o-view-bg);
  box-shadow: var(--o-shadow-md);
  animation: o-burger-slide-in 0.2s ease;
}

@keyframes o-burger-slide-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.o_sidebar_topbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 0.5rem 0 0.75rem;
  border-bottom: 1px solid var(--o-gray-200);
  background: var(--o-navbar-bg, var(--o-view-bg));
}

.o_burger_menu_user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.o_burger_menu_avatar {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.o_burger_menu_username {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--o-gray-900);
}

.o_sidebar_close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--o-gray-800);
  cursor: pointer;
}

.o_sidebar_close:hover {
  background: var(--o-gray-100);
}

.o_burger_menu_content {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--o-view-bg);
}

.o_burger_menu_companies,
.o_burger_menu_meta {
  padding: 1rem 1rem 0;
}

.o_burger_menu_section_title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--o-gray-900);
}

.o_burger_menu_meta_value {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  color: var(--o-gray-700);
}

.o_user_menu_mobile {
  margin-top: 0.5rem;
  padding: 0 0.75rem 1.25rem;
}

.o_user_menu_mobile .o_user_menu_group {
  border-bottom: 1px solid var(--o-gray-200);
}

.o_user_menu_mobile .o_user_menu_group_label {
  padding: 0.75rem 0.25rem 0.35rem;
  font-size: 0.75rem;
}

.o_user_menu_mobile .o_user_menu_item {
  padding: 0.85rem 0.25rem;
  font-size: 1.125rem;
}

.o_user_menu_mobile_item {
  display: block;
  width: 100%;
  padding: 0.85rem 0.25rem;
  border: 0;
  background: transparent;
  color: var(--o-gray-900);
  font: inherit;
  font-size: 1.125rem;
  text-align: left;
  cursor: pointer;
}

.o_user_menu_mobile_item:hover {
  background: var(--o-gray-100);
}

@media (min-width: 768px) {
  .o_burger_menu,
  .o_burger_menu_backdrop {
    display: none !important;
  }
}

/* —— Mobile app menu sidebar (Odoo o_app_menu_sidebar) —— */
.o_app_menu_sidebar_backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(0 0 0 / 0.4);
}

.o_app_menu_sidebar {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(22.5rem, 85vw);
  background: var(--o-view-bg);
  box-shadow: var(--o-shadow-md);
  animation: o-app-menu-slide-in 0.2s ease;
}

@keyframes o-app-menu-slide-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.o_app_menu_all_apps {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--o-border-radius, 4px);
  background: var(--o-action);
  color: var(--o-on-accent, #fff);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.o_app_menu_all_apps:hover {
  filter: brightness(0.95);
}

.o_app_menu_brand {
  display: flex;
  align-items: center;
  margin: 1rem 1rem 0;
}

.o_app_menu_brand_name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--o-gray-900);
  text-decoration: none;
}

.o_app_menu_list,
.o_app_menu_sublist {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 1rem;
}

.o_app_menu_sublist {
  padding: 0;
}

.o_app_menu_section_label {
  padding: 0.5rem 1rem;
  color: var(--o-gray-900);
  font-size: 0.9375rem;
}

.o_app_menu_section_label--root {
  padding-top: 0.85rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.o_app_menu_section_label--border,
.o_app_menu_item--border {
  border-top: 1px solid var(--o-gray-200);
  margin-top: 0.25rem;
}

.o_app_menu_item {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--o-gray-800);
  font-size: 0.9375rem;
  text-decoration: none;
}

.o_app_menu_item--root {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  font-weight: 700;
  color: var(--o-gray-900);
}

.o_app_menu_item--nested {
  padding-left: 1.5rem;
  font-weight: 400;
}

.o_app_menu_item--app {
  font-size: 1.05rem;
}

.o_app_menu_item:hover,
.o_app_menu_item--active {
  color: var(--o-gray-900);
  background: var(--o-gray-100);
}

@media (min-width: 768px) {
  .o_app_menu_sidebar,
  .o_app_menu_sidebar_backdrop {
    display: none !important;
  }
}

.focus\:border-0:focus.o_input,.focus\:border-0:focus
  .o_input:focus,.focus\:border-0:focus
  .o_input:focus-visible {
    border-width: 0 !important;
    background-color: transparent;
  }

.hover\:border-o-action-dark:hover{
  border-color: var(--o-action-dark);
}

.hover\:bg-\[\#c82333\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(200 35 51 / var(--tw-bg-opacity, 1));
}

.hover\:bg-\[var\(--o-gray-100\)\]:hover{
  background-color: var(--o-gray-100);
}

.hover\:bg-\[var\(--o-gray-200\)\]:hover{
  background-color: var(--o-gray-200);
}

.hover\:bg-\[var\(--o-gray-300\)\]:hover{
  background-color: var(--o-gray-300);
}

.hover\:bg-o-action-dark:hover{
  background-color: var(--o-action-dark);
}

.hover\:bg-o-gray-100:hover{
  background-color: var(--o-gray-100);
}

.hover\:bg-white\/10:hover{
  background-color: rgb(255 255 255 / 0.1);
}

.hover\:text-\[\#0c7884\]:hover{
  --tw-text-opacity: 1;
  color: rgb(12 120 132 / var(--tw-text-opacity, 1));
}

.hover\:text-\[var\(--o-action\)\]:hover{
  color: var(--o-action);
}

.hover\:underline:hover{
  text-decoration-line: underline;
}

.focus\:border-0:focus{
  border-width: 0px;
}

.focus\:bg-\[var\(--o-gray-100\)\]:focus{
  background-color: var(--o-gray-100);
}

.focus\:text-\[var\(--o-gray-900\)\]:focus{
  color: var(--o-gray-900);
}

.focus\:ring-0:focus{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-offset-0:focus{
  --tw-ring-offset-width: 0px;
}

.focus-visible\:outline-none:focus-visible{
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:outline:focus-visible{
  outline-style: solid;
}

.focus-visible\:outline-2:focus-visible{
  outline-width: 2px;
}

.focus-visible\:outline-offset-2:focus-visible{
  outline-offset: 2px;
}

.focus-visible\:outline-o-brand:focus-visible{
  outline-color: var(--o-brand);
}

.focus-visible\:ring-2:focus-visible{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-\[var\(--o-action\)\]:focus-visible{
  --tw-ring-color: var(--o-action);
}

.focus-visible\:ring-offset-1:focus-visible{
  --tw-ring-offset-width: 1px;
}

.disabled\:pointer-events-none:disabled{
  pointer-events: none;
}

.disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}

.disabled\:opacity-50:disabled{
  opacity: 0.5;
}

.peer:disabled ~ .peer-disabled\:cursor-not-allowed{
  cursor: not-allowed;
}

.peer:disabled ~ .peer-disabled\:opacity-70{
  opacity: 0.7;
}

.data-\[disabled\]\:pointer-events-none[data-disabled]{
  pointer-events: none;
}

.data-\[side\=bottom\]\:translate-y-1[data-side="bottom"]{
  --tw-translate-y: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=left\]\:-translate-x-1[data-side="left"]{
  --tw-translate-x: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=right\]\:translate-x-1[data-side="right"]{
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[side\=top\]\:-translate-y-1[data-side="top"]{
  --tw-translate-y: -0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[disabled\]\:opacity-50[data-disabled]{
  opacity: 0.5;
}

.data-\[state\=open\]\:animate-in[data-state="open"]{
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[state\=closed\]\:animate-out[data-state="closed"]{
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[state\=closed\]\:fade-out-0[data-state="closed"]{
  --tw-exit-opacity: 0;
}

.data-\[state\=open\]\:fade-in-0[data-state="open"]{
  --tw-enter-opacity: 0;
}

.data-\[state\=closed\]\:zoom-out-95[data-state="closed"]{
  --tw-exit-scale: .95;
}

.data-\[state\=open\]\:zoom-in-95[data-state="open"]{
  --tw-enter-scale: .95;
}

.data-\[side\=bottom\]\:slide-in-from-top-2[data-side="bottom"]{
  --tw-enter-translate-y: -0.5rem;
}

.data-\[side\=left\]\:slide-in-from-right-2[data-side="left"]{
  --tw-enter-translate-x: 0.5rem;
}

.data-\[side\=right\]\:slide-in-from-left-2[data-side="right"]{
  --tw-enter-translate-x: -0.5rem;
}

.data-\[side\=top\]\:slide-in-from-bottom-2[data-side="top"]{
  --tw-enter-translate-y: 0.5rem;
}

@media (prefers-reduced-motion: reduce){

  .motion-reduce\:transition-none{
    transition-property: none;
  }
}

@media (min-width: 640px){

  .sm\:order-none{
    order: 0;
  }

  .sm\:col-span-2{
    grid-column: span 2 / span 2;
  }

  .sm\:mx-auto{
    margin-left: auto;
    margin-right: auto;
  }

  .sm\:inline{
    display: inline;
  }

  .sm\:basis-auto{
    flex-basis: auto;
  }

  .sm\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm\:gap-3{
    gap: 0.75rem;
  }

  .sm\:p-8{
    padding: 2rem;
  }

  .sm\:p-9{
    padding: 2.25rem;
  }

  .sm\:px-4{
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sm\:px-8{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px){

  .md\:ml-0{
    margin-left: 0px;
  }

  .md\:block{
    display: block;
  }

  .md\:flex{
    display: flex;
  }

  .md\:hidden{
    display: none;
  }

  .md\:flex-nowrap{
    flex-wrap: nowrap;
  }

  .md\:px-4{
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 1024px){

  .lg\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px){

  .xl\:grid-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1400px){

  .min-\[1400px\]\:sticky{
    position: sticky;
  }

  .min-\[1400px\]\:top-0{
    top: 0px;
  }

  .min-\[1400px\]\:z-\[1\]{
    z-index: 1;
  }

  .min-\[1400px\]\:h-full{
    height: 100%;
  }

  .min-\[1400px\]\:max-h-none{
    max-height: none;
  }

  .min-\[1400px\]\:min-h-0{
    min-height: 0px;
  }

  .min-\[1400px\]\:w-0{
    width: 0px;
  }

  .min-\[1400px\]\:w-\[24rem\]{
    width: 24rem;
  }

  .min-\[1400px\]\:flex-1{
    flex: 1 1 0%;
  }

  .min-\[1400px\]\:shrink{
    flex-shrink: 1;
  }

  .min-\[1400px\]\:origin-right{
    transform-origin: right;
  }

  .min-\[1400px\]\:translate-x-full{
    --tw-translate-x: 100%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .min-\[1400px\]\:translate-y-0{
    --tw-translate-y: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .min-\[1400px\]\:flex-row{
    flex-direction: row;
  }

  .min-\[1400px\]\:overflow-hidden{
    overflow: hidden;
  }

  .min-\[1400px\]\:overflow-y-auto{
    overflow-y: auto;
  }
}

.\[\&\>span\]\:line-clamp-1>span{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.\[\&\>svg\]\:hidden>svg{
  display: none;
}

