/* Groomers Club's default look (look.ts style "club"): built for someone who has never used a
   grooming app. Plain sans fonts, bigger text and buttons in sentence case, white cards with
   clear edges, a picture by every tab and section, and words by the top bar's icons. Colours are
   look.ts FRIENDLY_LIGHT / FRIENDLY_DARK. Classic (the first look) is app.css + grooming.css alone. */

[data-style="club"] {
  --font: "Haven Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Haven Jost", "Haven Inter", system-ui, sans-serif;
  --tile-edge: rgb(var(--ink) / 0.12);
  --edge: rgb(var(--ink) / 0.16);
  --line: rgb(var(--ink) / 0.26);
}
[data-style="club"] body { font-size: 15.5px; line-height: 1.55; }
[data-style="club"] :is(h1, h2, h3, .brand) { font-family: var(--f-head); letter-spacing: 0; }
[data-style="club"] h2 { font-weight: 600; }
[data-style="club"] .hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
[data-style="club"] .muted-sm { font-size: 13.5px; }
[data-style="club"] .empty { font-size: 14.5px; }
[data-style="club"] :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---- cards ---- */
[data-style="club"] .tile, [data-style="club"] .card {
  border-radius: 16px;
  background: var(--tile);
  border: 1px solid var(--tile-edge);
  box-shadow: 0 1px 2px rgb(var(--shade) / calc(0.12 * var(--shade-k))), 0 4px 14px rgb(var(--shade) / calc(0.07 * var(--shade-k)));
  backdrop-filter: none;
}
[data-style="club"] .gm-section { padding: 20px 22px; }
[data-style="club"] .gm-section h2, [data-style="club"] .gm-toolbar h2 { font-size: 20px; }
[data-style="club"] .gm-sec-head { gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--tile-edge); }
[data-style="club"] .sec-ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 13%, transparent); stroke: var(--accent); stroke-width: 1.9; }
[data-style="club"] .help-q { width: 28px; height: 28px; font-size: 15px; }
[data-style="club"] .gm-stack, [data-style="club"] .page { gap: 18px; }

/* ---- buttons ---- */
[data-style="club"] .pill { min-height: 46px; padding: 10px 22px; border-radius: 12px; font-size: 15.5px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: none; }
[data-style="club"] .pill.compact { min-height: 42px; padding: 8px 16px; font-size: 14.5px; }
[data-style="club"] .pill.ghost { border: 1.5px solid rgb(var(--ink) / 0.28); background: var(--tile); }
[data-style="club"] .pill.ghost:hover:not(:disabled) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--tile)); }
[data-style="club"] .pill:not(.ghost):not(.danger):hover:not(:disabled) { background: var(--accent-hi); }
[data-style="club"] .icon-btn { width: 40px; height: 40px; border-radius: 10px; }
[data-style="club"] .ico.sm { width: 17px; height: 17px; }
[data-style="club"] .link { font-size: inherit; }

/* ---- fields ---- */
[data-style="club"] .gm-input { padding: 9px 12px; border-radius: 10px; font-size: 15px; background: var(--tile); border: 1.5px solid rgb(var(--ink) / 0.22); }
[data-style="club"] .search { padding: 10px 14px; border-radius: 12px; background: var(--tile); border: 1.5px solid rgb(var(--ink) / 0.22); }
[data-style="club"] .search input { font-size: 15px; }
[data-style="club"] .field { padding: 9px 2px; }
[data-style="club"] .field input, [data-style="club"] .field select, [data-style="club"] .field textarea { font-size: 15.5px; }
[data-style="club"] .check { font-size: 14.5px; }

/* ---- top bar: words next to the icons ---- */
[data-style="club"] .topbar { padding: 10px 20px; background: var(--tile); border-bottom: 1px solid var(--tile-edge); box-shadow: 0 1px 6px rgb(var(--shade) / calc(0.08 * var(--shade-k))); }
[data-style="club"] .topbar-brand .gc-logo { height: 30px; }
[data-style="club"] .topbar-biz { font-family: var(--f-head); font-size: 18px; font-weight: 600; }
[data-style="club"] .topbar-who { font-size: 14px; }
[data-style="club"] .top-btn { display: inline-flex; align-items: center; width: auto; gap: 6px; padding: 0 12px; border: 1.5px solid rgb(var(--ink) / 0.2); color: var(--text); font-size: 14.5px; font-weight: 600; }
[data-style="club"] .top-btn .ico { stroke: currentColor; }
[data-style="club"] .top-lbl { display: inline; }

/* ---- the main tabs: big buttons with a picture, all in view ---- */
[data-style="club"] #page-grooming > .page-head { flex-wrap: wrap; gap: 14px 16px; padding-top: 6px; }
[data-style="club"] .page-title h1 { font-size: 30px; font-weight: 600; }
[data-style="club"] #gm-tabs {
  order: 3;
  flex: 1 0 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
}
[data-style="club"] #gm-tabs .tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 6px 10px;
  border-radius: 14px;
  background: var(--tile);
  border: 1.5px solid var(--tile-edge);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgb(var(--shade) / calc(0.1 * var(--shade-k)));
}
[data-style="club"] #gm-tabs .tab[hidden] { display: none; }
[data-style="club"] #gm-tabs .tab:hover { border-color: var(--accent); color: var(--text); }
[data-style="club"] #gm-tabs .tab.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 35%, transparent); }
[data-style="club"] .tab-ico { display: block; width: 26px; height: 26px; stroke: var(--accent); stroke-width: 1.8; }
[data-style="club"] #gm-tabs .tab.active .tab-ico { stroke: currentColor; }

/* Smaller tab rows (week / month, needs attention / all dogs, the website editor's). */
[data-style="club"] .tabs:not(#gm-tabs) { padding: 4px; border-radius: 12px; }
[data-style="club"] .tabs:not(#gm-tabs) .tab { padding: 8px 16px; border-radius: 9px; font-size: 14.5px; font-weight: 600; }
[data-style="club"] .tabs:not(#gm-tabs) .tab.active { background: var(--accent); color: var(--accent-ink); }

/* ---- lists and tables ---- */
[data-style="club"] .item-row { padding: 11px 12px; border-radius: 12px; }
[data-style="club"] .item-txt b { font-size: 15px; }
[data-style="club"] .item-txt small { font-size: 13.5px; }
[data-style="club"] .gm-table { font-size: 14.5px; }
[data-style="club"] .gm-table th { font-weight: 600; color: var(--muted); }

/* ---- dialogs ---- */
[data-style="club"] .gm-dialog { border-radius: 18px; background: var(--dialog-bg); box-shadow: 0 24px 60px rgb(var(--shade) / calc(0.3 * var(--shade-k))); }
[data-style="club"] .gm-dialog h2 { font-size: 22px; }
[data-style="club"] .gm-dialog h3 { font-size: 16.5px; }
[data-style="club"] .toast { font-size: 15px; padding: 12px 22px; }

@media (max-width: 640px) {
  /* Phones: the name on top, then one row of buttons, each a picture over its word. */
  [data-style="club"] .topbar { padding: 8px 10px; gap: 6px; }
  [data-style="club"] .topbar-biz { order: 0; flex: 1 1 auto; flex-basis: auto; font-size: 16px; }
  [data-style="club"] :is(.top-btn, #btn-site, #btn-signout) { order: 4; flex: 1 1 0; flex-direction: column; gap: 2px; width: auto; min-width: 0; height: auto; min-height: 50px; margin: 0; padding: 5px 2px; border-radius: 10px; font-size: 12px; font-weight: 600; }
  [data-style="club"] .topbar::after { content: ""; order: 3; flex-basis: 100%; }
  [data-style="club"] #gm-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  [data-style="club"] #gm-tabs .tab { padding: 10px 2px 8px; font-size: 13.5px; }
  [data-style="club"] .tab-ico { width: 24px; height: 24px; }
  [data-style="club"] .page-title h1 { font-size: 26px; }
  [data-style="club"] .gm-section { padding: 16px; }
}
