/*
 * Opennetworks design tokens, taken from the "Gemini Enterprise for Every Team" deck.
 * Use these variables everywhere. Never hard-code colours in components.
 */
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font: 'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-sans: var(--font);

  /* surfaces */
  --canvas: #F6F9FE;        /* page background (deck background) */
  --surface: #FFFFFF;       /* cards, tables, inputs */
  --surface-2: #F9FBFF;     /* table headers, hover rows */
  --panel-blue: #EEF4FE;    /* tinted panels, agent replies, board columns */
  --panel-green: #EEF7ED;   /* resolution panels */
  --line: #DCE6F5;          /* every card and table border */
  --line-strong: #C9D8F2;   /* inputs, secondary buttons */

  /* text */
  --ink: #0F2347;           /* headings, numbers */
  --text: #44506A;          /* body */
  --muted: #5E6B82;         /* labels, secondary */
  --faint: #8592AA;         /* placeholders, disabled */

  /* brand: Google blue + Opennetworks green (logo colours) */
  --blue: #4285F4;
  --blue-deep: #1A5FD0;
  --blue-tint: #E8F0FE;
  --green: #47A141;
  --green-deep: #2E7D32;
  --green-tint: #E6F4E5;
  --primary-bg: #1A5FD0;
  --primary-bg-hover: #1550B4;
  --on-primary: #FFFFFF;

  /* status */
  --red: #D93025;  --red-deep: #B3261E;  --red-tint: #FCE8E6;
  --amber: #F9AB00; --amber-deep: #8D5A00; --amber-tint: #FEF3D6;
  --slate-tint: #EEF1F6;
  --note: #FFF8E6;          /* internal notes */
  --note-line: #F6DFA5;

  /* navy: sidebar and hero panels (deck cover panel) */
  --navy: #0F2347;
  --navy-2: #16305C;
  --navy-3: #244A86;
  --navy-line: #2A4C86;
  --navy-deep: #0D2350;
  --navy-glow: #1A4A8F;
  --on-navy: #EAF1FF;
  --on-navy-2: #DCE7FA;
  --on-navy-muted: #9FB6DE;

  /* shape and depth */
  --r-xl: 28px;   /* hero panels */
  --r-lg: 20px;   /* cards */
  --r-md: 14px;   /* inner panels, ticket cards */
  --r-sm: 10px;   /* inputs */
  --r-pill: 999px;/* buttons, pills, tabs */
  --focus: 0 0 0 3px rgba(66, 133, 244, 0.35);
  --shadow-pop: 0 12px 32px rgba(15, 35, 71, 0.16), 0 2px 6px rgba(15, 35, 71, 0.08); /* menus, dialogs, toasts only */
  --toast-bg: #0F2347;
  --toast-text: #FFFFFF;
}

[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0B1A36;
  --surface: #10244A;
  --surface-2: #132A55;
  --panel-blue: #16305C;
  --panel-green: #163A2E;
  --line: #24406F;
  --line-strong: #2E4E85;
  --ink: #EAF1FF;
  --text: #C9D6EE;
  --muted: #9FB6DE;
  --faint: #7186AB;
  --blue: #8AB4F8;
  --blue-deep: #8AB4F8;
  --blue-tint: #1C3A6E;
  --green: #81C995;
  --green-deep: #81C995;
  --green-tint: #173B2B;
  --primary-bg: #8AB4F8;
  --primary-bg-hover: #A8C7FA;
  --on-primary: #0B1A36;
  --red: #F28B82;  --red-deep: #F28B82;  --red-tint: #4A1F24;
  --amber: #FDD663; --amber-deep: #FDD663; --amber-tint: #3F3214;
  --slate-tint: #1A2C4E;
  --note: #3A3016;
  --note-line: #6B5A2A;
  --navy: #081430;
  --navy-2: #132A55;
  --navy-3: #1E3F75;
  --navy-line: #24406F;
  --navy-deep: #06102A;
  --navy-glow: #163C78;
  --toast-bg: #EAF1FF;
  --toast-text: #0F2347;
}
