@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/brand-fonts/schibsted-grotesk-00.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/brand-fonts/schibsted-grotesk-01.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: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/brand-fonts/schibsted-grotesk-02.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/brand-fonts/schibsted-grotesk-03.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: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(/brand-fonts/atkinson-hyperlegible-next-00.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(/brand-fonts/atkinson-hyperlegible-next-01.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: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/brand-fonts/atkinson-hyperlegible-next-02.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/brand-fonts/atkinson-hyperlegible-next-03.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;
}
/* cal.gui.do theme: Rosé Pine Dawn (light) / Rosé Pine (dark), teal accent like gui.do, gui.do fonts.
   Served by Caddy in place of cal.rs's /accent.css, which loads after the built-in styles. */

:root {
  --bg: #faf4ed;
  --surface: #fffaf3;
  --surface-hover: #f2e9e1;
  --text: #575279;
  --text-secondary: #797593;
  --text-muted: #797593;
  --border: #dfdad9;
  --border-hover: #cecacd;
  --accent: #286983;
  --accent-hover: #1f5468;
  --accent-subtle: rgba(40, 105, 131, 0.08);
  --accent-border: rgba(40, 105, 131, 0.3);
  --accent-muted: #56949f;
  --success: #286983;
  --error-bg: rgba(180, 99, 122, 0.1);
  --error-text: #b4637a;
  --shadow: 0 1px 3px rgba(87, 82, 121, 0.08), 0 1px 2px rgba(87, 82, 121, 0.05);
  --shadow-lg: 0 4px 6px rgba(87, 82, 121, 0.08), 0 2px 4px rgba(87, 82, 121, 0.05);
  --on-accent: #fff;
}

html.dark {
  --bg: #191724;
  --surface: #1f1d2e;
  --surface-hover: #26233a;
  --text: #e0def4;
  --text-secondary: #908caa;
  --text-muted: #908caa;
  --border: #26233a;
  --border-hover: #524f67;
  --accent: #9ccfd8;
  --accent-hover: #b9dde4;
  --accent-subtle: rgba(156, 207, 216, 0.1);
  --accent-border: rgba(156, 207, 216, 0.3);
  --accent-muted: #403d52;
  --success: #9ccfd8;
  --error-bg: rgba(235, 111, 146, 0.12);
  --error-text: #eb6f92;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.3);
  --on-accent: #191724;
}

/* Text on accent backgrounds: white on Dawn pine, dark base on Rosé Pine iris. */
.btn,
.action-card:hover .action-icon,
.avatar-circle,
.cal-cell.selected,
.embed-copy-btn.copied,
.priority-btn.active-high,
.slots-info-avatar,
.view-toggle button.active {
  color: var(--on-accent) !important;
}

body,
input,
select,
textarea,
button {
  font-family: "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, h4, .brand, .event-title, .profile-name {
  font-family: "Schibsted Grotesk", "Atkinson Hyperlegible Next", sans-serif;
  letter-spacing: -0.01em;
}

/* No logo slot: /logo is unset, and waiting for its 404 made the page jump on load. */
.logo {
  display: none !important;
}

/* No "Powered by" footer. */
.powered {
  display: none !important;
}

/* Profile banner: inline white text on an accent gradient. In dark mode the accent is light
   foam, so use a pine gradient there to keep the white text readable. */
html.dark div[style*="linear-gradient(135deg, var(--accent) 0%"] {
  background: linear-gradient(135deg, #31748f 0%, #286983 100%) !important;
}
