/* Theme: Seaside. Turquoise water, coral and warm sand, with a breezy script and round shapes.
   Values follow docs/theming.md and also apply to this theme's preview tile in Settings. */
@font-face { font-family: "Seaside Heading"; src: url(../theme-fonts/pacifico-latin-400-normal.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Seaside Body"; src: url(../theme-fonts/quicksand-latin-500-normal.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Seaside Body"; src: url(../theme-fonts/quicksand-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Seaside Body"; src: url(../theme-fonts/quicksand-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root[data-theme="seaside"],
[data-theme-preview="seaside"] {
  --preview-art: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'%3E%3Cpath d='M0 5c5 0 5-4 10-4s5 4 10 4 5-4 10-4 5 4 10 4v5H0z' fill='%23fdf6ea'/%3E%3C/svg%3E") left bottom 30% / 40px 10px repeat-x, linear-gradient(transparent 70%, #fdf6ea 70%), radial-gradient(circle at 78% 50%, #ffd23f 0 11%, transparent 11.5%), linear-gradient(180deg, #19c3c0, #0f8f9a);
  --preview-ink: #fff;
  --font-heading: "Seaside Heading", cursive;
  --font-body: "Seaside Body", sans-serif;
  --paper: #fdf6ea; --surface: #fff; --surface-soft: #f8efe1; --surface-locked: #fffaf2;
  --chip: #f6ead8; --chip-soft: #d9f3f1; --tile-surface: #fffcf6; --tile-line: #f0dfc6; --line: #f0dfc6;
  --pine: #0e5e6f; --ink: #17414a; --muted: #4c6e76; --muted-soft: #8aa5ab; --icon-muted: #8aa5ab; --disabled: #b4c7cb;
  --on-dark: #fdf6ea; --rose: #d9473a; --accent-strong: #0e6f7a; --lime: #ffd23f; --flash: #ffd0c9;
  --feature-surface: #d9f3f1; --feature-ink: #17414a; --feature-action: #0e6f7a;
  --nav-bg: #0b7d86; --nav-label-color: #f0fffe; --nav-selected-bg: #fdf6ea; --nav-underline: var(--nav-selected-bg); --nav-selected-ink: #0e5e6f; --nav-current-ink: #ffffff;
  --nav-border-color: #0b7d86; --assistant-border: #0e5e6f;
  --card-radius: 28px; --field-radius: 18px; --shadow-color: #17414a;
  /* Card colours: coral, sand and sky beside the aqua special dates. */
  --card-meals-surface: #ffe6e1;   --card-meals-line: #f7cfc7;   --card-meals-accent: #c0392b;
  --card-bills-surface: #fbf0d9;   --card-bills-line: #efdcb4;   --card-bills-accent: #9a6a12;
  --card-outings-surface: #e2f1fb; --card-outings-line: #c6e1f3; --card-outings-accent: #1f6f9e;
  --card-dates-line: #b9e6e2;
}

/* Decoration hooks: on the page only, never on the preview tile. */
/* Deep water: dark enough for the light labels (4.8:1 or better). */
:root[data-theme="seaside"] .app-header { background: linear-gradient(180deg, #0b7d86, #0a6b73); }
:root[data-theme="seaside"] .app-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -10px;
  block-size: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 11'%3E%3Cpath d='M0 0h40v3c-5 0-5 7-10 7S25 3 20 3 15 10 10 10 5 3 0 3z' fill='%230a6b73'/%3E%3C/svg%3E") left top / 40px 11px repeat-x;
}
:root[data-theme="seaside"] .settings-link { color: #fdf6ea; }
:root[data-theme="seaside"] .plans-add-button { box-shadow: 0 0 0 4px #ffd23f, 0 10px 24px #d9473a55; }
/* The theme's own edge under the top bar stands in for the four-colour band. */
:root[data-theme="seaside"] .app-header-band { display: none; }
