/* ============ OMYT look ============
   Shapes and controls shared with the homepage: pill buttons,
   ink-black accents and soft floating cards. Colours live in the tokens of styles.css. */

/* Brand: the homepage logo */
.brand { gap: 7px; font-size: 19px; font-weight: 750; letter-spacing: -1px; line-height: 1; }
.brand-mark {
  width: 21px; height: 21px; border-radius: 0; box-shadow: none; background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M9 9L23 16L9 23' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='8' cy='8' r='5' fill='%23000'/%3E%3Ccircle cx='24' cy='16' r='5' fill='%23000'/%3E%3Ccircle cx='8' cy='24' r='5' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M9 9L23 16L9 23' stroke='%23000' stroke-width='1.6'/%3E%3Ccircle cx='8' cy='8' r='5' fill='%23000'/%3E%3Ccircle cx='24' cy='16' r='5' fill='%23000'/%3E%3Ccircle cx='8' cy='24' r='5' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-mark::before, .brand-mark::after { content: none; }

/* Small uppercase labels */
.sb-title, .tour-count { font-size: 10px; font-weight: 500; letter-spacing: 1.6px; }
.sb-title-row > span { font-weight: 700; color: var(--text); }

/* Pills */
.btn { height: 38px; padding: 0 20px; border-radius: 40px; font-weight: 500; font-size: 13px; }
.btn.ghost { box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text); }
.btn.primary:hover { filter: none; background: color-mix(in srgb, var(--accent) 86%, var(--surface)); }
.g-btn { border-radius: 30px; font-weight: 500; }
.g-btn.primary { padding: 0 16px; }
.g-btn.toggle.on { color: var(--on-accent); background: var(--accent); }
.g-btn.primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--surface)); }
.project-item, .sb-today, .sb-new, .k-add { border-radius: 30px; padding-left: 13px; padding-right: 13px; }
.project-item.active { font-weight: 500; }
.sb-today { font-weight: 500; }
.sb-new:hover { border-style: solid; }
.vb-own { border-radius: 30px; }

/* View switch and segmented controls: an ink thumb, like the homepage tabs */
.seg, .vseg { border-radius: 30px; }
.seg button, .seg-thumb, .vseg button, .vseg .seg-thumb { border-radius: 30px; }
.vseg button { font-weight: 500; }
.vseg .seg-thumb { background: var(--accent); box-shadow: none; }
.vseg button.on, .vseg button.on:hover { color: var(--on-accent); }
#viewSwitch { padding: 4px; }
#viewSwitch .seg-thumb { top: 4px; left: 4px; }

/* Floating cards */
#toolbar { border-radius: 40px; padding: 5px 10px; }
#toolbar .icon-btn, .zoom-label { border-radius: 30px; }
#sbOpen { border-radius: 50%; }
.modal { border-radius: 28px; padding: 26px 26px 20px; }
.modal-backdrop { background: rgba(20, 21, 19, .26); }
.toast { border-radius: 30px; padding-left: 18px; }
.toast-btn { border-radius: 30px; }
[data-tip]::after { border-radius: 30px; padding: 5px 11px; }
#panel::before { left: 26px; right: 26px; }

/* Board views */
.k-col { border-radius: 20px; }
.k-card { border-radius: 16px; }
/* the colour line hugs the rounded left edge of the card */
.k-card::before { top: 0; bottom: 0; width: 16px; border-radius: 16px 0 0 16px; background: none; border-left: 3px solid var(--c); pointer-events: none; }
.k-card.sel { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 30%, transparent), var(--shadow-md); }
.k-empty { border-radius: 16px; }
.g-tier.bottom.day .g-cell.now b { border-radius: 30px; padding: 0 6px; }

/* Links stay visible now that the accent is ink */
.cm-text a { text-decoration: underline; text-underline-offset: 3px; }
