/* Shared shell: tokens, header, footer, buttons, cards. Every page extends templates/base.html. */
/* GoDisai blue and white: flat, no gradients. See docs/DESIGN.md. */
:root {
  --bg: #ffffff;
  --bg-grad: linear-gradient(transparent, transparent);
  --fg: #0d1626;
  --card: #ffffff;
  --muted: #596475;
  --line: #d5dfeb;
  --accent: #0056d2;
  --accent-strong: #0048b0;
  --accent-soft: #f0f6ff;
  --accent-fg: #ffffff;
  --display: "Baloo Thambi 2", "Noto Sans Tamil", Inter, system-ui, sans-serif;
  --hero-1: #0b2654;
  --hero-2: #0b2654;
  --hero-3: #0056d2;
  --ok: #15803d;
  --ok-soft: #e6f6ec;
  --warn: #9a4a07;
  --warn-soft: #fbebd3;
  --stop: #c0392b;
  --pen: #0056d2;
  --shadow: 0 1px 2px rgba(13, 22, 38, .06);
  --shadow-hover: 0 4px 14px rgba(13, 22, 38, .10);
}
/* Light theme only. */
:root { color-scheme: light; }
/* The site's cursor is a small compass, everywhere. Over anything clickable it turns into a filled blue compass
   instead of the pointing hand. Text fields keep the text cursor. (!important beats older per-page cursor rules.) */
html, html * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='white' stroke='%230b2654' stroke-width='2.5'/%3E%3Cpath d='M16 5l4 11h-8z' fill='%230056d2'/%3E%3Cpath d='M16 27l-4-11h8z' fill='%230b2654'/%3E%3Ccircle cx='16' cy='16' r='2' fill='white'/%3E%3C/svg%3E") 16 16, auto !important; }
a[href], a[href] *, button, button *, summary, summary *, label[for], select, [role="button"], [role="button"] *, .btn, .btn *, [data-buy] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%230056d2' stroke='%230b2654' stroke-width='2.5'/%3E%3Cpath d='M16 5l4 11h-8z' fill='%23fde68a'/%3E%3Cpath d='M16 27l-4-11h8z' fill='white'/%3E%3Ccircle cx='16' cy='16' r='2' fill='%230b2654'/%3E%3C/svg%3E") 16 16, pointer !important; }
input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, [contenteditable="true"] { cursor: text !important; }
/* Selecting text never paints a block of colour behind it: the selected words just turn blue. */
::selection { background: transparent; color: var(--accent); }
* { -webkit-tap-highlight-color: transparent; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { overflow-x: clip; }   /* nothing wider than a phone screen may drag the whole page sideways */
body {
  margin: 0;
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-grad), var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1400px; margin: 0 auto; padding: .75rem 1.25rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.topbar-inner > .brand { justify-self: start; }
.topbar-inner > .who { justify-self: end; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--fg); text-decoration: none; font-size: 1.05rem; }
.logo-mark { color: var(--accent); flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-ta { font: 800 1.45rem/1.05 var(--display); color: var(--fg); white-space: nowrap; }
.brand-ta b { color: var(--accent); font-weight: 800; }
.brand-en { margin-top: .2rem; font: 600 .6rem/1 Inter, system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 4px 14px rgba(0, 86, 210, .25); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 2.5rem 1.25rem 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-inner h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .8rem; }
.footer-inner p { margin: .5rem 0 0; font-size: .92rem; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.footer-inner ul a { color: var(--fg); text-decoration: none; }
.footer-inner ul a:hover { color: var(--accent); }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  color: var(--muted); background: var(--card); border: 1px solid var(--line); transition: color .15s, border-color .15s, transform .15s;
}
.social:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding: 1rem 1.25rem 2rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } }
.who { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); }
.top-nav { display: flex; gap: 2.2rem; align-items: center; }
/* The three main links: plain text, an accent underline on hover and on the current section. */
.nav-link { position: relative; display: grid; justify-items: center; padding: .25rem .2rem; color: var(--fg); text-decoration: none; line-height: 1.15; }
.nav-link span { font-weight: 700; font-size: .98rem; }
.nav-link small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.nav-link:hover small { color: var(--accent); }
.acct-menu a small { margin-left: auto; padding-left: .6rem; font-size: .72rem; color: var(--muted); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
/* Account menu: a <details> dropdown, so it works without JavaScript (js/menu.js only adds closing it). */
.acct { position: relative; }
.acct > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .3rem; padding: .2rem .45rem .2rem .2rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); position: relative; }
.acct > summary::-webkit-details-marker { display: none; }
.acct > summary:hover, .acct[open] > summary { border-color: var(--accent); }
.acct > summary svg { width: 14px; height: 14px; color: var(--muted); transition: transform .15s; }
.acct[open] > summary svg { transform: rotate(180deg); }
.acct .dot { position: absolute; top: 2px; left: 26px; width: 9px; height: 9px; border-radius: 50%; background: #dc2626; box-shadow: 0 0 0 2px var(--card); }
.acct-menu { position: absolute; right: 0; top: calc(100% + .45rem); z-index: 50; width: min(260px, calc(100vw - 1.5rem));
  display: grid; gap: .1rem; padding: .4rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16); }
.acct-menu a, .acct-menu button { display: flex; align-items: center; gap: .55rem; width: 100%; box-sizing: border-box; text-align: left;
  padding: .55rem .7rem; border-radius: 9px; border: 0; background: none; color: var(--fg); font: inherit; font-size: .95rem;
  text-decoration: none; cursor: pointer; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--accent-soft); color: var(--accent); }
.acct-who { padding: .5rem .7rem .6rem; border-bottom: 1px solid var(--line); margin-bottom: .25rem; display: grid; }
.acct-who strong { color: var(--fg); }
.acct-who span { font-size: .85rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu .sep { height: 1px; background: var(--line); margin: .25rem .3rem; }
.acct-menu .badge { margin-left: auto; min-width: 1.25rem; padding: 0 .35rem; border-radius: 999px; background: #dc2626; color: #fff;
  font-size: .75rem; font-weight: 700; text-align: center; line-height: 1.25rem; }

.acct-nav { display: none; }
.acct-menu a[data-ico]::before { content: attr(data-ico); }
/* Menu icons: outline shapes shown through a mask, so they take the text colour. data-ico="i-name"; the header pills show none. */
.acct-menu [data-ico^="i-"]::before { content: ""; display: inline-block; width: 1.1em; height: 1.1em; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; opacity: .8; }
[data-ico="i-home"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8M5 10v10h14V10'/%3E%3C/svg%3E"); }
[data-ico="i-courses"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2zM4 19a2 2 0 0 1 2-2h13'/%3E%3C/svg%3E"); }
[data-ico="i-blog"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v16H5zM9 9h6M9 13h6'/%3E%3C/svg%3E"); }
[data-ico="i-series"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4zM10 9l5 3-5 3z'/%3E%3C/svg%3E"); }
[data-ico="i-prep"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM12 11.2a.8.8 0 1 0 0 1.6.8.8 0 0 0 0-1.6z'/%3E%3C/svg%3E"); }
[data-ico="i-design"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h7v7H4zM13 4h7v7h-7zM4 13h7v7H4zM13 13h7v7h-7z'/%3E%3C/svg%3E"); }
[data-ico="i-challenge"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0zM8 6H4v1a3 3 0 0 0 4 3M16 6h4v1a3 3 0 0 1-4 3M12 13v4M9 20h6'/%3E%3C/svg%3E"); }
[data-ico="i-stories"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6c-2-1.5-5-2-8-1.5v13C7 17.5 10 18 12 19.5 14 18 17 17.5 20 17.5v-13C17 4 14 4.5 12 6zM12 6v13.5'/%3E%3C/svg%3E"); }
[data-ico="i-db"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6c0-1.7 3.1-3 7-3s7 1.3 7 3-3.1 3-7 3-7-1.3-7-3zM5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E"); }
[data-ico="i-jobs"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16v11H4zM9 8V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2M4 13h16'/%3E%3C/svg%3E"); }
[data-ico="i-resume"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E"); }
[data-ico="i-qna"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
[data-ico="i-plans"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6 .9-4.4 4.2 1 6L12 16.8l-5.3 2.8 1-6L3.3 9.4l6-.9z'/%3E%3C/svg%3E"); }
[data-ico="i-user"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8zM4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
[data-ico="i-calendar"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v14H4zM4 10h16M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
[data-ico="i-admin"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6zM12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1'/%3E%3C/svg%3E"); }
[data-ico="i-signout"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M15 8l4 4-4 4M19 12H9'/%3E%3C/svg%3E"); }
.burger { width: 18px; height: 18px; transform: none !important; }
.acct.guest { display: none; }
.acct.guest > summary { padding: .35rem .6rem; }
.pill-link.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
@media (max-width: 760px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }                  /* the links move into the menu */
  .acct-nav { display: grid; gap: .1rem; }
  .acct.guest { display: block; }
}
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem;
}
.who .email { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-link {
  white-space: nowrap;
  color: var(--fg); text-decoration: none; font-weight: 500;
  padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
}
.pill-link:hover { border-color: var(--accent); color: var(--accent); }
.pill-link.solid:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-fg); }  /* keep the label readable on the filled button */
.pill-link .badge { display: inline-block; min-width: 1.25rem; margin-left: .3rem; padding: 0 .35rem; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: .75rem; font-weight: 700; text-align: center; line-height: 1.25rem; }

main { max-width: 1400px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent);
  color: var(--accent-fg); border: 0; border-radius: 10px; padding: .7rem 1.2rem;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  box-shadow: 0 1px 2px rgba(13, 22, 38, .12); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13, 22, 38, .16); }
.btn:focus-visible, .pill-link:focus-visible, .course:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--card); color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.muted { color: var(--muted); }
.msg {
  padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
form.inline { display: inline; margin: 0; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow); }
.narrow { max-width: 440px; margin: 3rem auto; text-align: center; }
.icon-badge {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 16px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon-badge.warn { background: var(--warn-soft); color: var(--warn); }

@media (max-width: 560px) {
  main { padding-top: 1.25rem; }
  .topbar-inner { padding: .6rem .9rem; gap: .5rem; }
}

/* "Notify me when the next batch opens" form (templates/courses/_notify_form.html) */
.notify { display: grid; gap: .5rem; margin: .25rem 0 .5rem; }
.notify input[type=email] { width: 100%; font: inherit; padding: .6rem .75rem; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg); }
.notify-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tamil text: mark it lang="ta" and add this class so it uses a Tamil font. */
.ta { font-family: "Noto Sans Tamil", Inter, system-ui, sans-serif; }

/* Small layout helpers used by templates instead of inline style attributes. */
.m0 { margin: 0; }
.mt0 { margin-top: 0; }
.mt-04 { margin-top: .4rem; }
.mt-05 { margin-top: .5rem; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.jc-center { justify-content: center; }
.w-6 { width: 6rem; }
.w-46 { max-width: 46rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }  /* spam-trap field, hidden from people */
/* Inline icons in page content: <span class="gi" data-ico="i-name" aria-hidden="true"></span>. Same set as the menu; they take the text colour. */
.gi { display: inline-block; flex: none; width: 1.1em; height: 1.1em; margin-right: .4em; vertical-align: -.18em; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.gi:last-child { margin-right: 0; }
.ico .gi, button .gi:only-child { margin: 0; }
[data-ico="i-lock"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 11h12v9H6zM8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
[data-ico="i-check"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
[data-ico="i-x"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
[data-ico="i-flame"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c1 3 5 5 5 10a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 0-3-1-6 1-9z'/%3E%3C/svg%3E"); }
[data-ico="i-pin"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6-5.5 6-11a6 6 0 0 0-12 0c0 5.5 6 11 6 11zM12 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E"); }
[data-ico="i-clock"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM12 7v5l3 2'/%3E%3C/svg%3E"); }
[data-ico="i-print"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V3h10v5M7 17H4v-7h16v7h-3M7 14h10v7H7z'/%3E%3C/svg%3E"); }
[data-ico="i-globe"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
[data-ico="i-cap"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5zM6 11.5V16c0 1.5 3 3 6 3s6-1.5 6-3v-4.5'/%3E%3C/svg%3E"); }
[data-ico="i-link"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
[data-ico="i-mic"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V6a3 3 0 0 0-3-3zM6 11a6 6 0 0 0 12 0M12 17v4'/%3E%3C/svg%3E"); }
[data-ico="i-refresh"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11a8 8 0 0 0-14.5-3.5L4 9M4 4v5h5M4 13a8 8 0 0 0 14.5 3.5L20 15M20 20v-5h-5'/%3E%3C/svg%3E"); }
[data-ico="i-shuffle"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h4l8 10h4M4 17h4l2-2.5M14 9.5L16 7h4M18 5l2 2-2 2M18 15l2 2-2 2'/%3E%3C/svg%3E"); }
[data-ico="i-upload"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4M7 9l5-5 5 5M5 20h14'/%3E%3C/svg%3E"); }
[data-ico="i-chart"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V10M12 20V4M19 20v-7'/%3E%3C/svg%3E"); }
[data-ico="i-flask"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 1.8 3h10.4a2 2 0 0 0 1.8-3l-5-9V3M8 14h8'/%3E%3C/svg%3E"); }
[data-ico="i-bell"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 17V11a6 6 0 0 1 12 0v6l2 2H4zM10 21a2 2 0 0 0 4 0'/%3E%3C/svg%3E"); }
[data-ico="i-bulb"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.5 10.9c.9.7 1.5 1.7 1.5 2.1h4c0-.4.6-1.4 1.5-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
[data-ico="i-snow"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M4.2 7.5l15.6 9M19.8 7.5l-15.6 9M9 5l3 2 3-2M9 19l3-2 3 2'/%3E%3C/svg%3E"); }
[data-ico="i-award"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a6 6 0 1 0 0 12 6 6 0 0 0 0-12zM8.5 14.5L7 21l5-3 5 3-1.5-6.5'/%3E%3C/svg%3E"); }
[data-ico="i-expand"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E"); }
[data-ico="i-compass"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM15.5 8.5l-2 5-5 2 2-5z'/%3E%3C/svg%3E"); }
[data-ico="i-laptop"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14v9H5zM3 19h18'/%3E%3C/svg%3E"); }
[data-ico="i-search"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM20 20l-4-4'/%3E%3C/svg%3E"); }
[data-ico="i-live"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='6' fill='black'/%3E%3C/svg%3E"); color: #dc2626; }

/* The GoDisai button: a solid block with an ink outline and a hard offset shadow, a small compass on the left, and it
   presses down when you point at it. .gd-btn is blue; .gd-btn.light is white. Used in the header and across the site. */
.gd-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem .55rem .7rem; border-radius: 12px;
  background: var(--accent); color: #fff !important; border: 2px solid var(--fg); box-shadow: 4px 4px 0 var(--fg);
  font: 800 .95rem/1 var(--display); letter-spacing: .01em; text-decoration: none !important; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.gd-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--fg); background: var(--accent-strong); }
.gd-btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--fg); }
.gd-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.gd-btn .gd-ico { width: 20px; height: 20px; flex: none; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.gd-btn:hover .gd-ico { transform: rotate(45deg); }   /* the needle swings toward where you are going */
.gd-btn.light { background: #fff; color: var(--fg) !important; }
.gd-btn.light:hover { background: var(--accent-soft); }
.gd-btn.big { padding: .85rem 1.4rem .85rem 1rem; font-size: 1.1rem; }
/* On a phone, or with a large text setting, a long label wraps inside the button instead of pushing it off the card */
@media (max-width: 480px) {
  .gd-btn { white-space: normal; max-width: 100%; line-height: 1.2; }
  .gd-btn.big { width: 100%; justify-content: center; text-align: center; font-size: 1rem; padding: .8rem 1rem; }   /* the main action spans the card */
  .topbar .gd-btn { white-space: nowrap; }
}
@media (max-width: 340px) {   /* the smallest phones, or a large text setting: the header still fits on one line */
  .topbar-inner { gap: .35rem; }
  .brand { gap: .4rem; } .brand .logo-mark { width: 30px; height: 30px; } .brand-ta { font-size: 1.2rem; }
  .topbar .gd-btn { padding: .45rem .7rem; } .topbar .gd-btn .gd-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gd-btn, .gd-btn .gd-ico { transition: none; } }
/* Header menu toggles (account, phone menu) in the same style, as small square buttons. */
.topbar .acct > summary { border: 2px solid var(--fg); border-radius: 12px; background: #fff; box-shadow: 3px 3px 0 var(--fg); padding: .25rem .45rem .25rem .25rem; transition: transform .12s, box-shadow .12s; }
.topbar .acct > summary:hover, .topbar .acct[open] > summary { border-color: var(--fg); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--fg); }
.topbar .acct.guest > summary { padding: .45rem .55rem; }
.topbar .acct > summary svg { color: var(--fg); }

/* Header log-in button: the full label on wide screens, a short one on phones so the menu still fits. */
.lbl-short { display: none; }
@media (max-width: 640px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
